Fix up the preferred way to specify mw.util.$content
authorDaniel Friesen <pub-github@nadir-seen-fire.com>
Sun, 12 Aug 2012 09:23:50 +0000 (02:23 -0700)
committerDaniel Friesen <pub-github@nadir-seen-fire.com>
Thu, 30 Aug 2012 21:43:18 +0000 (14:43 -0700)
commit70051c7fad1830edc774c74cb362b39105f0fb76
tree3a3b7951c0b3f58a00c167e0680ab781aad75d89
parent687fcf8b466cf947b724b77ada2222b81f6e7ad7
Fix up the preferred way to specify mw.util.$content

- Setting a .mw-body class is the preferred way for $content to be defined
- You can set an extra .mw-body-primary if you use multiple .mw-body classes or for some legacy reasons .mw-body is at a different depth than the content area
- No extensions appear to be using util.$content in a way that would imply they want the body text rather than the overall content area
- Anyone that actually needs the body text can use #mw-content-text.

Change-Id: Ic7b756f139047e4100fcab8f63a968d45ca2b2fe
RELEASE-NOTES-1.20
resources/mediawiki/mediawiki.util.js
skins/Modern.php
skins/MonoBook.php