mediawiki.util: Remove deprecated noop function mw.util.init()
authorFomafix <fomafix@googlemail.com>
Mon, 6 Aug 2018 17:26:12 +0000 (19:26 +0200)
committerKrinkle <krinklemail@gmail.com>
Mon, 6 Aug 2018 20:34:22 +0000 (20:34 +0000)
The function mw.util.init() is since 06a0dec0 (Release 1.30) a
deprecated no-op function.

Change-Id: Ie3806e7fba0e63a75e9a830b2eb4485011e43cf1

RELEASE-NOTES-1.32
resources/src/mediawiki.util.js

index 00a6ce9..495c0b1 100644 (file)
@@ -241,6 +241,8 @@ because of Phabricator reports.
 * MagicWord::clearCache() has been removed.  Instead, create a new
   MagicWordFactory, such as by calling
   resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
+* mw.util.init() has been removed. This function is not needed anymore and was
+  a no-op function since 1.30.
 
 === Deprecations in 1.32 ===
 * Use of a StartProfiler.php file is deprecated in favour of placing
index 1db8904..9eea6f3 100644 (file)
                }() );
        }
 
-       /**
-        * Former public initialisation. Now a no-op function.
-        *
-        * @method util_init
-        * @deprecated since 1.30
-        */
-       mw.log.deprecate( util, 'init', $.noop, 'Remove the call of mw.util.init().', 'mw.util.init' );
-
        $( init );
 
        mw.util = util;