[Mediawiki-l] template

Rotem Liss rotemliss_net at fastmail.fm
Wed Oct 18 13:23:06 UTC 2006


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

Mauro do Carmo wrote:
> Hi everyone,
> 
> Let me put in another way:
> 
> Every body knows the namespace 'template', right?
> 
> My question is: can I change this name 'template' to something else? Like 'example'...
> 
> Thanks a lot,
> mauro.
> 

If you use version 1.8.x or trunk, edit the value of NS_TEMPLATE in the array
$namespaceNames in languages/messages/MessagesEn.php - change 'Template' to
'Example', 'Temp', etc..

If you have version 1.7.x or below, edit the value of NS_TEMPLATE in the array
$wgNamespaceNamesEn in languages/Language.php ? change 'Template' to 'Example',
'Temp', etc.

Note: edit *only* the value ? leave NS_TEMPLATE itself as it is, and don't touch
anything else in the file.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFNiq6qahN/0dU8mcRAjZfAKCnGAJPizLCDrRRsRWyw/tJEBbYCwCgxWIc
MIicr7AVbFV1JhKlp0fIC/U=
=vVXL
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list