Last modified: 2014-07-15 19:00:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70057, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68057 - Editing js/css page in MediaWiki namespace should result in squid purge
Editing js/css page in MediaWiki namespace should result in squid purge
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-15 18:58 UTC by Helder
Modified: 2014-07-15 19:00 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2014-07-15 18:58:05 UTC
The code at
https://github.com/wikimedia/mediawiki-core/blob/7313978c1959c716d6a1224b3ec8f4b7ead8134e/includes/Title.php#L3522-L3527
checks if $this->isJsSubpage() or $this->isCssSubpage(), but it doesn't seems to consider JS and CSS in the MediaWiki namespace.
Comment 1 Krinkle 2014-07-15 18:59:20 UTC
Yep!
Comment 2 Krinkle 2014-07-15 19:00:18 UTC
Moving to Page editing; the ContentHandler are fine in this regard (they identify the script, we're just not using it).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links