Last modified: 2010-05-15 15:37:56 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 3421 - LivePreview breaks User CSS/JS previews
LivePreview breaks User CSS/JS previews
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: 14486 (view as bug list)
Depends on:
Blocks: css
  Show dependency treegraph
Reported: 2005-09-11 04:30 UTC by Jamie Bliss
Modified: 2010-05-15 15:37 UTC (History)
2 users (show)

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

A workaround (922 bytes, patch)
2005-09-11 04:32 UTC, Jamie Bliss

Description Jamie Bliss 2005-09-11 04:30:41 UTC
If a site administrator has LivePreview enabled, you cannot preview User JS/CSS
pages ([[User:Bob/monobook.js]], [[User:Bob/monobook.css]])
Comment 1 Jamie Bliss 2005-09-11 04:32:59 UTC
Created attachment 873 [details]
A workaround

A patch that disables LivePreview if Title::isCssJsSubpage() (called as
$this->mTitle->isCssJsSubpage()) is true.
Comment 2 Jamie Bliss 2005-09-11 04:34:49 UTC
(In reply to comment #1)
> A patch that disables LivePreview if Title::isCssJsSubpage() (called as
> $this->mTitle->isCssJsSubpage()) is true.

It should be noted that this patch should be tested for backwards compatibility
due to the fact that it uses Title::isCssJsSubpage(). (I wonder because there's
comments everywhere about a stupid PHP bug preventing one from using it. Seems
to work ok for me.)
Comment 3 Chad H. 2008-06-15 20:42:08 UTC
*** Bug 14486 has been marked as a duplicate of this bug. ***
Comment 4 Alexandre Emsenhuber [IAlex] 2009-09-26 08:57:52 UTC
fixed in r56939.

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