Keep it in Title.php Having it on Defines would allow to use it wrong.
[lhc/web/wiklou.git] / includes / Title.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.