[Mediawiki-l] portal namespace

Mr Scsi mrscsi at gmail.com
Tue Aug 15 20:02:59 UTC 2006


> Message: 10
> Date: Tue, 15 Aug 2006 20:03:07 +0100
> From: "Rob Church" <robchur at gmail.com>
> Subject: Re: [Mediawiki-l] portal namespace
> To: "MediaWiki announcements and site admin list"
>         <mediawiki-l at wikimedia.org>
> Message-ID:
>         <e92136380608151203u3082f2b9pb7a8f37d9198f81c at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 15/08/06, Mr Scsi <mrscsi at gmail.com> wrote:
> > I have 1.7.1 running with a fairly generic installation.
> > I tried following the instructions at:
> > http://en.wikipedia.org/wiki/Wikipedia:Portal/Instructions
> >
> > But my test portal page never develops like it should.
> > Do I need to enable a portal namespace? (if so how)
> >
> > Does it need subpages enabled? (again how)
>
> Assuming no other custom namespaces...
>
> $wgExtraNamespaces[100] = "Portal";
> $wgExtraNamespaces[101] = "Portal_talk";
> $wgNamespacesWithSubpages[100] = true;
>
> ...placed in LocalSettings.php should do it. You'll need to run
> maintenance/namespaceDupes.php to update the database so the existing
> pages are moved from article space to the Portal namespace.



I added those 3 lines and ran the dups script:

... 1942 (0,"Portal:Topic") -> (100,"Topic") [[Portal:Topic]]
... 1946 (0,"Portal:Topic/box-footer") -> (100,"Topic/box-footer")
[[Portal:Topic/box-footer]]
... 1945 (0,"Portal:Topic/box-header") -> (100,"Topic/box-header")
[[Portal:Topic/box-header]]
Checking namespace 101: "Portal_talk"
... no conflicts detected!

Looks good!

I went back and checked out my page and it still looks odd,  not like the
example given on the instructions page.
In the article I see the portal template code.
Now I'm wondering if I'm missing templates? Or some template configureation?



More information about the MediaWiki-l mailing list