[Mediawiki-l] How to add sub-pages of "special:nnnpages" to navigation bar?

Brion Vibber brion at wikimedia.org
Tue Jun 12 13:58:47 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Monahon, Peter B. wrote:
> Peter Blaise says: After searching for a solution (MediaWiki.org and
> Google) and not finding one, I thought I'd explore this myself.  I can
> add special:allpages to the navigation menu, but I can't add any of the
> sub-pages that any user can select from within special:allpages, such as
> all talk pages and so on.  It seems that special:allpages brings all
> pages only in the namespece = 0, but if I want to just see talk pages,
> and that's namespace = 1, how would I add a link to that in the
> navigation menu?
> 
> I tried much iteration of the following:
> With a space on either side of the | (pipe character)
> -
> http://our-wiki-url/mediawiki/index.php?title=Special%3AAllpages&from=&n
> amespace=1 | Discussion/talk index 

The strings in MediaWiki:Sidebar ARE NOT TEXT STRINGS, they are MESSAGE
KEY NAMES.

You should list something like:

  ourwiki-url|ourwiki-text

then in MediaWiki:Ourwiki-url you put:


http://our-wiki-url/mediawiki/index.php?title=Special%3AAllpages&from=&namespace=1

and in MediaWiki:Ourwiki-text you put:

  Discussion/talk index

This keeps things clean and localizable.

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbqaXwRnhpk1wk44RAl6/AJ9iOwYcmoV7976vR8a/mOchpDp9dgCfairy
TYoW3G1nO93WRg0g9CGol5Y=
=i2+O
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list