r78122 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78121‎ | r78122 | r78123 >
Date:11:31, 9 December 2010
Author:siebrand
Status:ok
Tags:
Comment:
* remove wfSeedRandom() which was marked for removal in 1.18.
* mark wfGetMimeMagic() for removal in 1.19.
* have wfLoadExtensionMessages() whine deprecated per comments and mark for removal in 1.20.
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -225,15 +225,6 @@
226226 }
227227
228228 /**
229 - * Seed Mersenne Twister
230 - * No-op for compatibility; only necessary in PHP < 4.2.0
231 - * @deprecated. Remove in 1.18
232 - */
233 -function wfSeedRandom() {
234 - wfDeprecated(__FUNCTION__);
235 -}
236 -
237 -/**
238229 * Get a random decimal value between 0 and 1, in a way
239230 * not likely to give duplicate values for any realistic
240231 * number of articles.
@@ -2216,7 +2207,7 @@
22172208
22182209 /**
22192210 * BC wrapper for MimeMagic::singleton()
2220 - * @deprecated No longer needed as of 1.17 (r68836).
 2211+ * @deprecated No longer needed as of 1.17 (r68836). Remove in 1.19.
22212212 */
22222213 function &wfGetMimeMagic() {
22232214 wfDeprecated( __FUNCTION__ );
@@ -3268,9 +3259,10 @@
32693260
32703261 /**
32713262 * Load an extension messages file
3272 - * @deprecated in 1.16 (warnings in 1.18, removed in ?)
 3263+ * @deprecated in 1.16, warnings in 1.18, remove in 1.20
32733264 */
32743265 function wfLoadExtensionMessages( $extensionName, $langcode = false ) {
 3266+ wfDeprecated( __FUNCTION__ );
32753267 }
32763268
32773269 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r78123Follow-up r78122: Remove wfLoadExtensionMessages from selected extensions (th...siebrand11:57, 9 December 2010

Status & tagging log