https://bugzilla.wikimedia.org/show_bug.cgi?id=4801

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |krinklem...@gmail.com
         Resolution|                            |FIXED
            Summary|Source code of user JS/CSS  |Source code of user JS/CSS
                   |subpages should be shown in |pages should be shown in
                   |preview                     |preview as source code not
                   |                            |wikitext.

--- Comment #13 from Krinkle <krinklem...@gmail.com> 2011-02-14 11:59:01 UTC ---
(In reply to comment #11)
> It's a bit confusing, and I apologize for contributing to the confusion.  I
> agree with Helder above: let's have this bug be about the display of the 
> CS/JSS
> _source code_ on preview (which I think would be a good idea, with or without 
> a
> separate "test" button).

Indeed. Changing summary again and marking as fixed.

As of 1.17 previewing pages like MediaWiki:Common.js output in <pre> instead of
render like Wikitext, so there's no need to start witih /* <pre> */ or /*
<nowiki> */ anymore.

I can't find the exact revision this was implemented though.
It's live on the 1.17wmf1 wikis.(In reply to comment #12)

> Does anybody knows why the preview of, for example,
> [[b:pt:MediaWiki:Common.js]] shows the source code above the edit box, but the
> same still doesn't happens with user js like 
> [[b:pt:Special:MyPage/vector.js]]?

The behavour is consistent:
* If you modify pages that are 'yours' they are executed and now shown
* If you modify other pages (ie. when you're a sysop and edit other people's
vector.js or when one alters MediaWiki:Common.js) the code is not executed but
shown.

If you would like to see this behaviour different, please open a seperate bug.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to