[Mediawiki-l] Re: How can I drive these Language.php changes into my Wiki?

John Blumel johnblumel at earthlink.net
Wed Apr 20 18:58:29 UTC 2005


On Apr 20, 2005, at 2:24pm, Rowan Collins wrote:

> As others have pointed out, they have a pink background. However, to
> make it even easier, I've written my very first (and consequently
> painfully hacked together) JavaScript bookmarklet, which should hide
> every row that's not pink. Just make a bookmark with this (should all
> be one line) as its target, and click it when you're on the
> Special:Allmessages page. (Tested on Mozilla only)

Well, that seems to work quite well on Firefox.

However, it's caused me to notice that non-standard messages don't show 
up under Special:Allmessages. For example, I've added to my LS file,

$wgNavigationLinks = array (
   array( 'text'=>'mainpage',      'href'=>'mainpage' ),
   array( 'text'=>'portal',        'href'=>'portal-url' ),
   array( 'text'=>'currentevents', 'href'=>'currentevents-url' ),
   array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
   array( 'text'=>'randompage',    'href'=>'randompage-url' ),
   array( 'text'=>'help',          'href'=>'helppage' ),
   array( 'text'=>'sitesupport',   'href'=>'sitesupport-url' ),
   array( 'text'=>'sandbox',       'href'=>'sandbox-url' ),
);

and set MediaWiki:Sandbox = Sandbox and MediaWiki:Sandbox-url = 
Project:Sandbox but neither of these messages show up on 
Special:Allmessages (MW v1.4.0). Apparently, it only shows those with 
Language.php entries.


John Blumel




More information about the MediaWiki-l mailing list