Merge "Check validity and availability of usernames during signup via AJAX"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 12 Mar 2014 04:57:58 +0000 (04:57 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 12 Mar 2014 04:57:58 +0000 (04:57 +0000)
1  2 
RELEASE-NOTES-1.23
resources/Resources.php

diff --combined RELEASE-NOTES-1.23
@@@ -41,8 -41,6 +41,8 @@@ production
  * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
    now formally deprecated.
  * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
 +* $wgRateLimitLog has been deprecated and replaced by
 +  $wgDebugLogGroup['ratelimit'].
  
  === New features in 1.23 ===
  * ResourceLoader can utilize the Web Storage API to cache modules client-side.
    creations, similar to the topOnly option.
  * Add mediawiki.ui.button styling to all pages so wiki content can use styled
    buttons.
+ * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
+   displaying the error live.
  
  === Bug fixes in 1.23 ===
  * (bug 41759) The "updated since last visit" markers (on history pages, recent
  * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
    hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
    no longer applies in such cases.
 +* (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
 +  warnings to be printed on Windows due to large path length.
  
  === Web API changes in 1.23 ===
  * (bug 54884) action=parse&prop=categories now indicates hidden and missing
@@@ -278,7 -276,6 +280,7 @@@ changes to languages because of Bugzill
    table.mw-prefixindex-list-table to avoid duplicate ids when the special page
    is transcluded.
  * (bug 62198) window.$j has been deprecated.
 +* Preference "Disable link title conversion" was removed.
  
  ==== Removed classes ====
  * FakeMemCachedClient (deprecated in 1.18)
diff --combined resources/Resources.php
@@@ -1249,9 -1249,16 +1249,16 @@@ return array
        'mediawiki.special.userlogin.signup.js' => array(
                'scripts' => 'resources/mediawiki.special/mediawiki.special.userlogin.signup.js',
                'messages' => array(
+                       'createacct-error',
                        'createacct-emailrequired',
+                       'noname',
+                       'userexists',
+               ),
+               'dependencies' => array(
+                       'mediawiki.api',
+                       'mediawiki.jqueryMsg',
+                       'jquery.throttle-debounce',
                ),
-               'dependencies' => 'mediawiki.jqueryMsg',
        ),
        'mediawiki.special.javaScriptTest' => array(
                'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
                ),
                'skinStyles' => array(
                        'default' => 'resources/oojs-ui/oojs-ui-apex.css',
 +                      'minerva' => array(),
                ),
                'messages' => array(
                        'ooui-dialog-action-close',