Page MenuHomePhabricator

Editing js/css page in MediaWiki namespace should result in squid purge
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: major

Details

Reference
bz68057

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:34 AM
bzimport set Reference to bz68057.
bzimport added a subscriber: Unknown Object (MLST).

Moving to Page editing; the ContentHandler are fine in this regard (they identify the script, we're just not using it).

Aklapper lowered the priority of this task from High to Medium.Nov 2 2015, 2:36 PM
Aklapper subscribed.
Krinkle claimed this task.

Change 623096 merged by jenkins-bot:
[mediawiki/core@master] cache: Add purges from HtmlCacheUpdater for NS_MEDIAWIKI js/css pages

https://gerrit.wikimedia.org/r/623096