Last modified: 2006-07-02 21:26:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6267 - PageCSS doesn't work when parser cache is on
PageCSS doesn't work when parser cache is on
Product: MediaWiki extensions
Classification: Unclassified
PageCSS (Other open bugs)
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-06-10 16:32 UTC by Makoto Imaizumi [Suisui]
Modified: 2006-07-02 21:26 UTC (History)
0 users

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

Temporary fix by disabling page cache. (395 bytes, patch)
2006-06-18 21:54 UTC, Edward Z. Yang

Description Makoto Imaizumi [Suisui] 2006-06-10 16:32:15 UTC
using PageCSS, when preview, it works well.
but after save it, it doesn't work.

That's because parser cache doesn't see page css.

This extension is very useful for make a site with MediaWiki. I highly recommend
to fix it. Thanx.
Comment 1 Brion Vibber 2006-06-10 21:36:55 UTC
Indeed, that won't work.

Also the extension as written is insecure; do not use it on a 
publicly editable wiki.
Comment 2 Edward Z. Yang 2006-06-18 04:05:20 UTC
Comment 3 Brion Vibber 2006-06-18 06:42:06 UTC
No, the extension should be fixed: for now it could disable 
parser cache on pages where it's used.
Comment 4 Edward Z. Yang 2006-06-18 21:46:12 UTC
Clarified summary.
Comment 5 Edward Z. Yang 2006-06-18 21:54:00 UTC
Created attachment 1986 [details]
Temporary fix by disabling page cache.
Comment 6 Brion Vibber 2006-07-02 21:26:06 UTC
Fixed in r15244. I moved the disableCache() call into the 
actual hook function so it won't disable caching for pages 
that don't use it.

(Note there are still potential problems with this extension.)

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