mediawiki.util: Clean up mw.util.$content
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 18:33:15 +0000 (20:33 +0200)
committerOri.livneh <ori@wikimedia.org>
Tue, 6 May 2014 10:12:16 +0000 (10:12 +0000)
commitdbc16057d91d73428bf161f57565f67173eda473
treea626808f135e2b30e5f4494c8960e94125fa33d7
parent446227fe220881729e46a862591f23569e90525f
mediawiki.util: Clean up mw.util.$content

* Document how to use it (including the tricky bit with it needing
 a dependency on mediawiki.page.startup).

* Refer to mw.hook and #mw-content-text as recommended method of
  getting just the wikipage content.

* Remove the deprecated backwards-compatibility selectors.
  The core skins (Vector, Monobook, Modern, CologneBlue) all
  have mw-body now. Third-party skins should adopt those if they
  haven't already.

Change-Id: I30bdd893e0a0a340076efa7ce32fbd4b775bc3db
RELEASE-NOTES-1.24
resources/src/mediawiki.page/mediawiki.page.startup.js
resources/src/mediawiki/mediawiki.util.js