r98898 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98897‎ | r98898 | r98899 >
Date:20:27, 4 October 2011
Author:krinkle
Status:ok
Tags:
Comment:
Update README. Gadgets are no longer exempting themselfs from these special pages. ResourceLoader origins take care of that now.
Modified paths:
  • /branches/RL2/extensions/Gadgets/README (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/README
@@ -34,6 +34,8 @@
3535
3636 == Caveats ==
3737
38 -* Gadgets do not apply to Special:Preferences, Special:UserLogin and
39 - Special:ResetPass so users can always disable any broken gadgets they
40 - may have enabled, and malicious gadgets will be unable to steal passwords.
 38+* Gadget modules extend ResourceLoaderWikiModule and thus qualify as having
 39+ origin ORIGIN_USER_SITEWIDE. This means that gadgets are never loaded on (special) pages
 40+ that call OutputPage::disallowUserJs(). For example Special:Preferences, Special:UserLogin
 41+ Special:ResetPass and Special:Gadgets so users can always disable any broken gadgets
 42+ they may have enabled, and malicious gadgets will be unable to steal passwords.

Status & tagging log