https://bugzilla.wikimedia.org/show_bug.cgi?id=4801
--- Comment #8 from Helder <[email protected]> 2009-09-20 18:32:54 UTC --- (In reply to comment #7) > Anyway, it actually still works on my local wiki's custom skin, which I forked > from MonoBook back in February 2008. So most of the code is clearly still > working, it's just the skin-specific parts that are broken. > > Oh, and the "expected behaviour" suggested by Helder above is actually a > feature request, or perhaps a request to _remove_ a feature. The intended > behavior when previewing user JS/CSS files is to embed the script or > stylesheet > on the preview page, in effect previewing its effects rather than its source > code (which can be seen in the edit box anyway). That said, it might indeed > be > a good idea to make it do both (or perhaps even to separate the functions, > introducing a new submit button labeled something like "Test script" or "Test > stylesheet"). > > I'd do it if I didn't have a headache already. > Hello! Well, I thought it was expected both things, because many of the Common.js files currently have <source lang="JavaScript"> at the beginning, and this is used because some time ago the code was shown above the edit box. For example, at en.wp, the code is there since 7 May 2008: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&diff=prev&oldid=210884538 So, if the code is to be shown above the edit box, the feature request would be just to have the automatic highlighting, without the need of using the <source> tag... (should I open a new bug for this?) If the code shouldn't be above the edit box, then I think the preview button should be renamed when viewing css/js pages, as suggested by Ilmari Karonen... Helder -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
