Keep it in Title.php Having it on Defines would allow to use it wrong.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 26 Oct 2010 14:08:33 +0000 (14:08 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 26 Oct 2010 14:08:33 +0000 (14:08 +0000)
Follow up r75379 (r74035, r74034)

includes/Defines.php
includes/Title.php

index 85db990..f5afd26 100644 (file)
@@ -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)
index 4db46f2..f3a79ed 100644 (file)
@@ -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.