Consistency tweaks in preparation for adding extension to translatewiki.net

* Fix description message key
* Initialize messages array for healthy of translatewiki.net scripts
* Remove . from end of description message

Change-Id: Ib51e0f6dd58662a5653949d3c5fe402012425267
This commit is contained in:
raymond 2013-10-04 10:55:54 +02:00
parent 5052a345b7
commit a21b94abdc
2 changed files with 5 additions and 3 deletions

View file

@ -19,12 +19,14 @@
* @ingroup extensions
*/
$messages = array();
/**
* English
* @author Mark Holmquist <mtraceur@member.fsf.org>
*/
$messages['en'] = array(
'multimediaviewer-desc' => 'Adds a nicer-looking multimedia viewer for images.',
'multimediaviewer-desc' => 'Adds a nicer-looking multimedia viewer for images',
'multimediaviewer-pref' => 'Enable nicer image viewing',
'multimediaviewer-pref-desc' => 'Enables a nicer-looking multimedia viewer for images on pages that have thumbnails. Uses a third party lightbox library and JavaScript.',
'multimediaviewer-file-page' => 'Go to corresponding file page',
@ -35,7 +37,7 @@ $messages['en'] = array(
* @author Mark Holmquist <mtraceur@member.fsf.org>
*/
$messages['qqq'] = array(
'multimediaviewer-desc' => 'Description of the extension for Special:Version',
'multimediaviewer-desc' => '{{desc|name=Multimedia Viewer|url=https://www.mediawiki.org/wiki/Extension:MultimediaViewer}}',
'multimediaviewer-pref' => 'Preference title',
'multimediaviewer-pref-desc' => 'Description of preference',
'multimediaviewer-file-page' => 'Text for a link to the file page for an image.',

View file

@ -81,7 +81,7 @@ $wgHooks['BeforePageDisplay'][] = 'MultimediaViewerHooks::getModules';
$wgExtensionCredits['other'][] = array(
'path' => __FILE__,
'name' => 'MultimediaViewer',
'descriptionmsg' => 'multimediaviewer-extension-description',
'descriptionmsg' => 'multimediaviewer-desc',
'version' => '0.1',
'author' => array(
'MarkTraceur (Mark Holmquist)',