Hi all, I saw the German Wikipedia create WikiProject's "portals" [1] into the encyclopaedia's namespace (ns=0). What do you think about create a new namespace just for those pages (already 103 on de:) ? I see some benefits: * allow special settings for this namespace (for example, CSS), * don't count those page as article, * no more need of [[category:Portal|Foo]] to put [[Portal Foo]] at letter 'F' (the new title may be [[Portal:Foo]]), If no one disagree I'll patch Mediawiki to allow that.
Aoineko
Guillaume-
Hi all, I saw the German Wikipedia create WikiProject's "portals" [1] into the encyclopaedia's namespace (ns=0). What do you think about create a new namespace just for those pages (already 103 on de:) ?
...
If no one disagree I'll patch Mediawiki to allow that.
No need, there's already a $wgExtraNamespaces variable. Do you have server access? If so, you just need to edit InitialiseSettings.php, you can take the help namespace additions for meta as an example.
Regards,
Erik
On Tue, Sep 14, 2004 at 11:53:00AM +0200, Erik Moeller wrote:
Guillaume-
Hi all, I saw the German Wikipedia create WikiProject's "portals" [1] into the encyclopaedia's namespace (ns=0). What do you think about create a new namespace just for those pages (already 103 on de:) ?
...
If no one disagree I'll patch Mediawiki to allow that.
No need, there's already a $wgExtraNamespaces variable. Do you have server access? If so, you just need to edit InitialiseSettings.php, you can take the help namespace additions for meta as an example.
He can add the namespace using InitialiseSettings.php, but this won't help his case of special treatment of these pages except for not counting as articles. No special handling in sorting, no list of portals, etc.
Regards,
JeLuF
Jens-
He can add the namespace using InitialiseSettings.php, but this won't help his case of special treatment of these pages except for not counting as articles. No special handling in sorting, no list of portals, etc.
For some reason I was under the impression that the namespace text was ignored during category sorting. That does not appear to be the case. However, the namespace code *is* inserted into the CSS of every page, and that also applies to extra namespaces, allowing for stylic.
Regarding the category pages, the correct solution to me seems to be this: http://bugzilla.wikipedia.org/show_bug.cgi?id=450
Regarding the "list of all portals", a generic solution would probably be best. Namespace filters would make sense on many pages - Special:Allpages, Special:Newpages, Special:Recentchanges, Special:Most wanted ..
So, still some work for Aoineko to do if he wants to :-)
Regards,
Erik
Jens Frank wrote:
He can add the namespace using InitialiseSettings.php, but this won't help his case of special treatment of these pages except for not counting as articles. No special handling in sorting, no list of portals, etc.
You *can* get a "list of portals" (generally: list of articles in a given namespace) with my rewritten Special:Allmessages that's in 1.4-CVS.
wikitech-l@lists.wikimedia.org