TablePager: Modernize style loading
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 25 Aug 2014 14:19:45 +0000 (16:19 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 30 Aug 2014 22:48:43 +0000 (00:48 +0200)
commit1683741e7177eeff63e4653f4a4a633a90c9cf64
treea12933ee9b5261031767e85c9f7a18c731160808
parent21eb1ab07a8d95c58c6887078620ec90a05d27d7
TablePager: Modernize style loading

* Create a CSS module for pager styling (table and navigation),
  pulling in existing styles for shared.css. Load it on all pages
  where the pager itself is shown.
* Build a ParserOutput object encapsulating the return HTML and
  required modules, rather than only providing the HTML. Added some
  hacks for backwards-compatibility with old-style calls and
  soft-deprecated them (there are many usages in extensions).

Other cleanup:
* Remove styles in oldshared.css, they were all overwritten by
  shared.css or by styles for .mw-datatable.
* Remove inline styles where possible, explain them where impossible.
* On SpecialListFiles, display navigation bar above the table as well
  as below (this seems to be the convention for other pages).

Change-Id: Iae976f854b96b5c61691918787c4dff7db089c28
RELEASE-NOTES-1.24
includes/pager/TablePager.php
includes/specials/SpecialAllMessages.php
includes/specials/SpecialBlockList.php
includes/specials/SpecialListfiles.php
includes/specials/SpecialProtectedpages.php
resources/Resources.php
resources/src/mediawiki.legacy/oldshared.css
resources/src/mediawiki.legacy/shared.css
resources/src/mediawiki/mediawiki.pager.tablePager.css [new file with mode: 0644]