Page MenuHomePhabricator

kkwiki doesn't get MediaWiki:Common.js from DB after r29945
Closed, DeclinedPublic

Description

Author: alefzet

Description:
Messages cache broken after r29945. Changes in MediaWiki messages, altough displayed directly on pages in MediaWiki namespace, aren't rendered in interface.
Compare for example [http://crh.wikipedia.org/w/index.php?title=MediaViki:Monobook.css] for message in MediaWiki namespace and [http://crh.wikipedia.org/w/index.php?title=MediaViki:Monobook.css&usemsgcache=yes&action=raw&ctype=text/css] where performable javascript file sent by server is empty.
Cleaning of cache with &action=purge doesn't any effect.


Version: 1.13.x
Severity: blocker

Details

Reference
bz12717

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 10:07 PM
bzimport set Reference to bz12717.
bzimport added a subscriber: Unknown Object (MLST).

Looks fine to me; not empty at all.

Note that &action=purge would not clear an arbitrary action=raw URL.
Take great care when constructing raw action URLs to specify the exact caching options you require.

alefzet wrote:

After one edit text of MediaWiki:Common.js disappears from server output in kkwiki although kk:MediaWiki:Common.js is saved in database and normally viewed/edited. Just see http://kk.wikipedia.org/w/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook or index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook file in your Temporary Internet Files folder in Windows

Seems this bug affected all Wikimedia wikis if was made edit in last 8-9 day.

alefzet wrote:

Still broken for MediaWiki:Common.js Current workaround is MediaWiki:Common.js/kk

alefzet wrote:

Seems this bug affected only wikies with $wgLanguageCode = "kk";
MediaWiki doesn't get content of MediaWiki:Common.js from database and output only content of key from Messages file. Seems trouble is related LanguageKk.php and MessageCache.php. So I changed title of the bug.

alefzet wrote:

Today this issue is affected also MediaWiki:Common.css action=purge and null-edit does not help.

Cannot reproduce. Are you logged in or out?

Possibly related: On dewiki, i don't get the translation for the message "categorytree-not-found", unless i create the message page. Other messages for CategoryTree do seem to work.

for the record: please ignore #9 :)

Closed WORKSFORME, given that it cannot be reproduced.

aaron.schulz wrote:

content hidden as private in Bugzilla