Last modified: 2013-01-15 19:37:31 UTC
ops.. sorry for the empty description. 1) Go to https://en.wikipedia.org/wiki/Special:Preferences?uselang=en#mw-prefsection-editing and make sure "Use live preview (requires JavaScript) (experimental)" is DISABLED. 2) Go to https://en.wikipedia.org/wiki/Special:MyPage/common.js?action=edit and type "alert( 'works' );" 3) Click on "Show preview" 4) The message appears as expected 5) Now go back to your preferences and DISABLE "Use live preview (requires JavaScript) (experimental)". 6) Type "alert( 'works' );" on your common.js again 7) Hit "Show preview" 8) Nothing happens (well, there will be an API request and the following will be added to the page, but the code is not executed: <pre class="mw-code mw-js" dir="ltr">console.log( 'works' );</pre> )
(In reply to comment #1) > 5) Now go back to your preferences and DISABLE ... I mean, ENABLE.
*** This bug has been marked as a duplicate of bug 43981 ***