[MediaWiki-l] [Wikitech-l] MediaWiki:Common.js and MediaWiki:Common.css blocked on Special:Login and Special:Preferences
legoktm.wikipedia at gmail.com
Thu Nov 6 17:26:28 UTC 2014
On 11/6/14 6:58 AM, Mark A. Hershberger wrote:
> TL;DR: Should we merge https://gerrit.wikimedia.org/r/#/c/165979/ and
> release it with MediaWiki 1.24?
> A lot of sites have used MediaWiki:Common.js and MediaWiki:Common.css to
> customize the appearance of their site.
> In a recent security release, support for JS and CSS with on-wiki
> origins was removed from being displayed on the Special:Login and
> Special:Preferences page.
To be clear, only CSS was removed. JS was already not allowed on
> Because of how the on-wiki MediaWiki:Common.* pages are used and the
> access restrictions on them, I think it is reasonable to allow JS and
> CSS from them while continuing to disallow individual's JS and CSS on
> the Special:Preferences and Special:Login page.
> Alexia filed a bug and Kunal (Legoktm) has provided a patch to allow
> site-wide styling back on those pages.
Right, the patch only re-adds site-wide CSS, not JS.
More information about the MediaWiki-l