r110291 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110290‎ | r110291 | r110292 >
Date:15:00, 30 January 2012
Author:nikerabbit
Status:resolved
Tags:i18nreview 
Comment:
Fix big issue with stats and other stuff
Modified paths:
  • /trunk/extensions/Translate/ffs/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/ffs/ToolserverTextdomains.php (modified) (history)
  • /trunk/extensions/Translate/ffs/WikiaExtensions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/MediaWikiExtensions.php
@@ -4,7 +4,7 @@
55 *
66 * @file
77 * @author Niklas Laxström
8 - * @copyright Copyright © 2008-2010, Niklas Laxström
 8+ * @copyright Copyright © 2008-2012, Niklas Laxström
99 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1010 */
1111
@@ -16,7 +16,7 @@
1717 protected $definitionFile = null;
1818 protected $useConfigure = true;
1919 protected $idPrefix = 'ext-';
20 - protected $namespaces = array( NS_MEDIAWIKI, NS_MEDIAWIKI_TALK );
 20+ protected $namespace = NS_MEDIAWIKI;
2121
2222 public function __construct() {
2323 global $wgTranslateExtensionDirectory;
Index: trunk/extensions/Translate/ffs/ToolserverTextdomains.php
@@ -5,7 +5,7 @@
66 * @file
77 * @author Niklas Laxström
88 * @author Krinkle
9 - * @copyright Copyright © 2008-2010, Niklas Laxström
 9+ * @copyright Copyright © 2008-2012, Niklas Laxström
1010 * @copyright Copyright © 2011, Krinkle
1111 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1212 */
@@ -17,7 +17,7 @@
1818 protected $useConfigure = false;
1919 protected $groups;
2020 protected $idPrefix = 'tsint-';
21 - protected $namespaces = array( NS_TOOLSERVER, NS_TOOLSERVER_TALK );
 21+ protected $namespace = NS_TOOLSERVER;
2222
2323 public function __construct() {
2424 global $wgTranslateGroupRoot;
Index: trunk/extensions/Translate/ffs/WikiaExtensions.php
@@ -4,7 +4,7 @@
55 *
66 * @file
77 * @author Niklas Laxström
8 - * @copyright Copyright © 2008-2010, Niklas Laxström
 8+ * @copyright Copyright © 2008-2012, Niklas Laxström
99 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1010 */
1111
@@ -15,7 +15,7 @@
1616 protected $useConfigure = false;
1717 protected $idPrefix = 'wikia-';
1818 protected $path = null;
19 - protected $namespaces = array( NS_WIKIA, NS_WIKIA_TALK );
 19+ protected $namespace = NS_WIKIA;
2020
2121 public function __construct() {
2222 global $wgTranslateGroupRoot;

Status & tagging log