Updating mw.util.test.js + fixing minor bugs that were discovered through it
authorKrinkle <krinkle@users.mediawiki.org>
Sun, 23 Jan 2011 01:42:33 +0000 (01:42 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sun, 23 Jan 2011 01:42:33 +0000 (01:42 +0000)
commit1d7db551895308cf5ce15bbf2c3a204c801c3c3c
tree21c22e4007640d69846a3f32bd279bb8ced77d18
parente5bb119085275add6a49669bde7f1742ee122b60
Updating mw.util.test.js + fixing minor bugs that were discovered through it
Updating mw.util.test.js
* Adding tests for modules now loaded by default [[RL/DM]]. Still not all of them, but it's getting there
* Changing order to either alphabetical order or order from source code (instead of random or chronological)
* adding addHead() function
* Fixing a bug caused by addHead() with  (which selected all rows instead of rows that contain actual tests) - also removed the need for the "+1" adjustment later on in the code (which was needed since  contained the first row with the column headings)
Fixed bugs that were found through testing:
* No title attribute was set for skins without portlets. (it was after the portlet-presence check).
  Now older skins get the title attribute as well.
* Modern's article-container ('#mw_contentholder') is added to the definition for mw.util. in mw.util.init()
resources/mediawiki.util/mediawiki.util.js
resources/mediawiki.util/mediawiki.util.test.js