Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334887 )

Change subject: Use existing description message in extension.json
......................................................................

Use existing description message in extension.json

Add $wgMessagesDirs to load the message files

Change-Id: Ia0aa5c7af6296b3778dd6868a4e0daf4836df6b7
---
M ShoutWikiAds.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ShoutWikiAds 
refs/changes/87/334887/1

diff --git a/ShoutWikiAds.php b/ShoutWikiAds.php
index ece932a..596b047 100644
--- a/ShoutWikiAds.php
+++ b/ShoutWikiAds.php
@@ -16,10 +16,12 @@
        'name' => 'ShoutWiki Ads',
        'version' => '0.4.3',
        'author' => 'Jack Phoenix',
-       'description' => 'Delicious advertisements for everyone!',
+       'descriptionmsg' => 'shoutwikiads-desc',
        'url' => 'https://www.mediawiki.org/wiki/Extension:ShoutWiki_Ads',
 );
 
+$wgMessagesDirs['ShoutWikiAds'] = __DIR__ . '/i18n';
+
 // Autoload the class so that we can actually use its functions
 $wgAutoloadClasses['ShoutWikiAds'] = __DIR__ . '/ShoutWikiAds.class.php';
 

-- 
To view, visit https://gerrit.wikimedia.org/r/334887
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0aa5c7af6296b3778dd6868a4e0daf4836df6b7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ShoutWikiAds
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to