From: Platonides Date: Tue, 26 Oct 2010 14:08:33 +0000 (+0000) Subject: Keep it in Title.php Having it on Defines would allow to use it wrong. X-Git-Tag: 1.31.0-rc.0~34301 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=c5f29c3845b38c4e47f036cd6a29a5f50ebbb72f;p=lhc%2Fweb%2Fwiklou.git Keep it in Title.php Having it on Defines would allow to use it wrong. Follow up r75379 (r74035, r74034) --- diff --git a/includes/Defines.php b/includes/Defines.php index 85db9901b9..f5afd26556 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -238,12 +238,6 @@ define( 'SLH_PATTERN', 1 ); */ define( 'RLH_FOR_UPDATE', 1 ); -/** - * @deprecated This used to be a define in Title.php, but was moved to - * Title::GAID_FOR_UPDATE in 1.17. This will probably be removed in 1.18 - */ -define( 'GAID_FOR_UPDATE', 1 ); - /**@{ * Autopromote conditions (must be here and not in Autopromote.php, so that * they're loaded for DefaultSettings.php before AutoLoader.php) diff --git a/includes/Title.php b/includes/Title.php index 4db46f278c..f3a79edede 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -13,6 +13,12 @@ if ( !class_exists( 'UtfNormal' ) ) { require_once( dirname( __FILE__ ) . '/normal/UtfNormal.php' ); } +/** + * @deprecated This used to be a define, but was moved to + * Title::GAID_FOR_UPDATE in 1.17. This will probably be removed in 1.18 + */ +define( 'GAID_FOR_UPDATE', Title::GAID_FOR_UPDATE ); + /** * Represents a title within MediaWiki. * Optionally may contain an interwiki designation or namespace.