Raimond Spekking has uploaded a new change for review. https://gerrit.wikimedia.org/r/82395
Change subject: Add i18n file ...................................................................... Add i18n file Change-Id: Ic779aea4cf43c23f4593208db9ee6c20b843b3b9 --- A StarterWiki.i18n.php M StarterWiki.php 2 files changed, 27 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/StarterWiki refs/changes/95/82395/1 diff --git a/StarterWiki.i18n.php b/StarterWiki.i18n.php new file mode 100644 index 0000000..a24c9cf --- /dev/null +++ b/StarterWiki.i18n.php @@ -0,0 +1,23 @@ +<?php +/** + * Internationalisation for StarterWiki + * + * @file + * @ingroup Extensions + */ +$messages = array(); + +/** English + * @author Daniel Friesen + */ +$messages['en'] = array( + 'starterwiki-desc' => 'Provides a set of maintenance scripts and functions to allow for creation of wiki databases based off a starter wiki', +); + +/** Message documentation (Message documentation) + * @author Daniel Friesen + */ +$messages['qqq'] = array( + 'starterwiki-desc' => '{{desc|name=Starter Wiki|http://www.mediawiki.org/wiki/Extension:StarterWiki}}', +); + diff --git a/StarterWiki.php b/StarterWiki.php index 2c048c1..c59bec1 100644 --- a/StarterWiki.php +++ b/StarterWiki.php @@ -17,9 +17,12 @@ 'url' => 'https://www.mediawiki.org/wiki/Extension:StarterWiki', 'version' => '1.2a', 'author' => "[http://danf.ca/mw/ Daniel Friesen]", - 'description' => "Provides a set of maintenance scripts and functions to allow for creation of wiki databases based off a starter wiki." + 'descriptionmsg' => 'starterwiki-desc' ); +## i18n +$wgExtensionMessagesFiles['StarterWiki'] = __DIR__ . '/StarterWiki.i18n.php'; + ## A list of pages to convert titles and override when cloning the database. ## Key is the ns:title on starter, value is the ns:title to use on the other wiki. $wgStarterWikiPageAliases = array( -- To view, visit https://gerrit.wikimedia.org/r/82395 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic779aea4cf43c23f4593208db9ee6c20b843b3b9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/StarterWiki Gerrit-Branch: master Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits