r71395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71394‎ | r71395 | r71396 >
Date:11:52, 21 August 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Add class FreeColMessageChecker to AUTOLOAD config. setup.php now obsolete.
Modified paths:
  • /trunk/extensions/Translate/groups/FreeCol/FreeCol.yml (modified) (history)
  • /trunk/extensions/Translate/groups/FreeCol/setup.php (deleted) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/FreeCol/setup.php
@@ -1,20 +0,0 @@
2 -<?php
3 -/**
4 - * Support for FreeCol
5 - * http://www.freecol.org
6 - *
7 - * @file
8 - * @ingroup Extensions
9 - *
10 - * @author Niklas Laxström
11 - * @copyright Copyright © 2008-2009, Niklas Laxström
12 - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
13 - */
14 -
15 -
16 -$dir = dirname( __FILE__ );
17 -
18 -/**
19 - * Add the FreeColMessageChecker class to the autoloader.
20 - */
21 -$wgAutoloadClasses['FreeColMessageChecker'] = dirname( __FILE__ ) . '/Checker.php';
Index: trunk/extensions/Translate/groups/FreeCol/FreeCol.yml
@@ -32,6 +32,9 @@
3333 - FreeColEscapesCheck
3434 - FreeColVariablesCheck
3535
 36+AUTOLOAD:
 37+ FreeColMessageChecker: Checker.php
 38+
3639 TAGS:
3740 optional:
3841 - colopedia.abilityGrantedBy

Status & tagging log