Am 23.08.2011 10:49, schrieb Siebrand Mazeland:
Please put messages, aliases and magic words in different files, otherwise the Translate extension does not understand it.
Naming covention:
- messages: <extensiondir>/<extensiondirname>.i18n.php
- aliases: <extensiondir>/<extensiondirname>.alias.php
- messages: <extensiondir>/<extensiondirname>.magic.php
--
General file naming conventions are here to find http://www.mediawiki.org/wiki/Manual:Coding_conventions#File_naming
We still don't have a specific file naming convention for Extension, but most writers use /<UpperCamelCase/ExtensionsDirname>/</UpperCamelCaseExtensionsDirname>/.*
for example extensions/TitleKey/TitleKey.php
And a good reading are the few books of the MediaWiki Virtual Library
http://www.mediawiki.org/wiki/MVL and especially the http://www.mediawiki.org/wiki/MDG (MW Developer's Guide)
Tom