Can I use wfMsgExt with parameters? Is there no Doku about this all? Gruß jan
-----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Roan Kattouw Gesendet: Mittwoch, 6. Mai 2009 16:32 An: Wikimedia developers Betreff: Re: [Wikitech-l] PLURAL: 2009/5/6 Jan Luca <[email protected]>: > Hello, > > > > Do you must include the Language > class(http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/languages/clas > ses/) to use PLUARL in Extensions? > No. You can just use wfMsg('messagename', array('parsemag')); IIRC, and any {{PLURAL:}} calls in the messages should automatically be expanded. As a general rule, you never need to include() or require_once() any files: the autoloader does that automatically. Roan Kattouw (Catrope) _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
