Last modified: 2010-05-15 15:37:56 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 T5421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3421 - LivePreview breaks User CSS/JS previews
LivePreview breaks User CSS/JS previews
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.5.x
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: ---


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

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.


Navigation
Links