Raimond Spekking has submitted this change and it was merged.

Change subject: Post $wgMessagesDirs above $wgExtensionMessagesFiles
......................................................................


Post $wgMessagesDirs above $wgExtensionMessagesFiles

Done for all extensions that were migrated to use JSON i18n, so fixing
this for consistency sake.

Change-Id: I94dcd585dcb1d67e5dc7f374e7dbde5fb7bb6f19
---
M HostStats.php
1 file changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Raimond Spekking: Verified; Looks good to me, approved



diff --git a/HostStats.php b/HostStats.php
index 2fc48e1..c77ac5f 100644
--- a/HostStats.php
+++ b/HostStats.php
@@ -1,12 +1,12 @@
 <?php
 /**
- * The HostStats extension adds a special page that displays 
+ * The HostStats extension adds a special page that displays
  * the statistics of the host that the wiki is running on.
- * 
- * This extension may expose some private information about 
- * your server, so please use it with care, especially when 
+ *
+ * This extension may expose some private information about
+ * your server, so please use it with care, especially when
  * you change $wgHostStatsCommands below.
- * 
+ *
  * @file
  * @ingroup Extensions
  */
@@ -29,7 +29,7 @@
 
 $dir = dirname(__FILE__) . '/';
 $wgAutoloadClasses['SpecialHostStats'] = $dir . 'SpecialHostStats.php';
-$wgExtensionMessagesFiles['HostStats'] = $dir . 'HostStats.i18n.php';
 $wgMessagesDirs['HostStats'] = __DIR__ . '/i18n';
+$wgExtensionMessagesFiles['HostStats'] = $dir . 'HostStats.i18n.php';
 $wgSpecialPages['HostStats'] = 'SpecialHostStats';
 $wgSpecialPageGroups['HostStats'] = 'wiki';

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I94dcd585dcb1d67e5dc7f374e7dbde5fb7bb6f19
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/HostStats
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>

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

Reply via email to