Last modified: 2012-04-14 19:45:42 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 T20227, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18227 - JS/CSS pages in Mediawiki namespace should be previewed like User JS/CSS
JS/CSS pages in Mediawiki namespace should be previewed like User JS/CSS
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-28 10:22 UTC by Umherirrender
Modified: 2012-04-14 19:45 UTC (History)
2 users (show)

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


Attachments

Description Umherirrender 2009-03-28 10:22:10 UTC
css/js in mediawiki namespace should use the same way for preview than the user css/js.

It is very helpful, when see the result of editing a css/js page in the preview, like the user css/js it have yet. Thanks.
Comment 1 Umherirrender 2010-03-26 21:58:16 UTC
The method isCssOrJsPage in Title is for this case, but it seems, the method is not used yet.
Comment 2 Umherirrender 2012-04-14 19:18:04 UTC
Was fixed in the meantime.
Comment 3 Tim Weyer 2012-04-14 19:23:23 UTC
Do you know when was it fixed and where / in what version? It would just be interesting.
Comment 4 Umherirrender 2012-04-14 19:45:42 UTC
reopen, after a deeper look, it is not fixed. It has somethings changed, like hints for the user and wrapping the code in a pre and show it on preview, but the js/css is not preloaded like on the user js/css in a inline script/style tag. That makes it hard to find js syntax errors on preview.

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


Navigation
Links