Migrate usage of wikibits in legacy protect.js and upload.js
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 7 Nov 2013 17:35:24 +0000 (18:35 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 7 Nov 2013 17:38:04 +0000 (18:38 +0100)
commitaf4ef8153354b02ec910fd98ec7af024c64ab104
tree226f97e652ce59702d7f9e43d64718ca7e16ad28
parent584775e59d553b3447f615422e1b929506470f97
Migrate usage of wikibits in legacy protect.js and upload.js

Follows-up fcf4934a52.

protect:
* Use jQuery instead.
* Removing now-obsolete dependency.
* Make cell.appendChild more obvious and potentialy faster
  by grouping the dom actions in 1 sequence.

config:
* Removing obsolete dependency.

upload:
* Use jquery.spinner instead.
* Removing now-obsolete dependency.

jquery.spinner:
* While at it, updated documentation to be included in our
  jsduck index, similar to jquery.localize.

jsduck/external.js:
* Added @static to jQuery.ajax which was missing, it showed up
  between instance methods like jQuery#injectSpinner.

The only module left using mediawiki.legacy.wikibits is
mediawiki.legacy.ajax which remains in tact for now.

Bug: 56726
Change-Id: I712112626a99dc2d0090f554c56052770cd0ae88
maintenance/jsduck/config.json
maintenance/jsduck/external.js
resources/Resources.php
resources/jquery/jquery.spinner.js
skins/common/protect.js
skins/common/upload.js