From d9cdc43b0ec3cb9bf042dcde9db3c59722c2b289 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Thu, 11 Aug 2011 03:12:12 +0000 Subject: [PATCH] Renaming jquery.mwPrototypes to jquery.mwExtension * Originally they were a few prototypes on the native String object, however they were converted to be (static) members extending the jQuery object. Calling them prototypes is confusing. A grep search on /trunk/ didn't reveal any direct uses of this module (it's loaded by default through mediawiki.util's dependencies) --- RELEASE-NOTES-1.19 | 1 + resources/Resources.php | 6 +++--- .../{jquery.mwPrototypes.js => jquery.mwExtension.js} | 0 tests/qunit/index.html | 4 ++-- .../{jquery.mwPrototypes.js => jquery.mwExtension.js} | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) rename resources/jquery/{jquery.mwPrototypes.js => jquery.mwExtension.js} (100%) rename tests/qunit/suites/resources/jquery/{jquery.mwPrototypes.js => jquery.mwExtension.js} (98%) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 25c619ff47..86fcf352b2 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -60,6 +60,7 @@ changes to languages because of Bugzilla reports. * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language. === Other changes in 1.19 === +* jquery.mwPrototypes module was renamed to jquery.mwExtension. == Compatibility == diff --git a/resources/Resources.php b/resources/Resources.php index d51d586b91..6bcf5ad4cc 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -145,8 +145,8 @@ return array( 'jquery.mockjax' => array( 'scripts' => 'resources/jquery/jquery.mockjax.js', ), - 'jquery.mwPrototypes' => array( - 'scripts' => 'resources/jquery/jquery.mwPrototypes.js', + 'jquery.mwExtension' => array( + 'scripts' => 'resources/jquery/jquery.mwExtension.js', ), 'jquery.qunit' => array( 'scripts' => 'resources/jquery/jquery.qunit.js', @@ -579,7 +579,7 @@ return array( 'jquery.client', 'jquery.cookie', 'jquery.messageBox', - 'jquery.mwPrototypes', + 'jquery.mwExtension', ), ), 'mediawiki.uri' => array( diff --git a/resources/jquery/jquery.mwPrototypes.js b/resources/jquery/jquery.mwExtension.js similarity index 100% rename from resources/jquery/jquery.mwPrototypes.js rename to resources/jquery/jquery.mwExtension.js diff --git a/tests/qunit/index.html b/tests/qunit/index.html index a5819209c3..a88a662140 100644 --- a/tests/qunit/index.html +++ b/tests/qunit/index.html @@ -25,7 +25,7 @@ - + @@ -63,7 +63,7 @@ - + diff --git a/tests/qunit/suites/resources/jquery/jquery.mwPrototypes.js b/tests/qunit/suites/resources/jquery/jquery.mwExtension.js similarity index 98% rename from tests/qunit/suites/resources/jquery/jquery.mwPrototypes.js rename to tests/qunit/suites/resources/jquery/jquery.mwExtension.js index bb6d2a1b17..f68bd582e3 100644 --- a/tests/qunit/suites/resources/jquery/jquery.mwPrototypes.js +++ b/tests/qunit/suites/resources/jquery/jquery.mwExtension.js @@ -1,4 +1,4 @@ -module( 'jquery.mwPrototypes.js' ); +module( 'jquery.mwExtension.js' ); test( 'String functions', function() { -- 2.20.1