r75379 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75378‎ | r75379 | r75380 >
Date:20:25, 25 October 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r74035, add GAID_FOR_UPDATE to the defines for back-compat
Modified paths:
  • /trunk/phase3/includes/Defines.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Defines.php
@@ -238,6 +238,12 @@
239239 */
240240 define( 'RLH_FOR_UPDATE', 1 );
241241
 242+/**
 243+ * @deprecated This used to be a define in Title.php, but was moved to
 244+ * Title::GAID_FOR_UPDATE in 1.17. This will probably be removed in 1.18
 245+ */
 246+define( 'GAID_FOR_UPDATE', 1 );
 247+
242248 /**@{
243249 * Autopromote conditions (must be here and not in Autopromote.php, so that
244250 * they're loaded for DefaultSettings.php before AutoLoader.php)

Follow-up revisions

RevisionCommit summaryAuthorDate
r75422Keep it in Title.php Having it on Defines would allow to use it wrong....platonides14:08, 26 October 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74035Follow up r74034: Refactor GAID_FOR_UPDATE into Title::GAID_FOR_UPDATE. Yay l...demon19:14, 30 September 2010

Status & tagging log