Last modified: 2009-09-26 13:17:55 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 T22631, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20631 - Personal javascript preview not working
Personal javascript preview not working
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/wiki/Special:...
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-13 22:13 UTC by Platonides
Modified: 2009-09-26 13:17 UTC (History)
7 users (show)

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


Attachments

Description Platonides 2009-09-13 22:13:08 UTC
Steps to reproduce:
1. Go to http://en.wikipedia.org/wiki/Special:Mypage/vector.js
2. Edit the page and write alert("Bug 20631");
3. Preview

Expected:
 An alert box saying 20631.

Actual result:
 None.
Comment 1 Roan Kattouw 2009-09-14 12:40:32 UTC
Not working on Monobook either on both trunk and wmf-deployment; could this be a Wikipedia-specific customization?
Comment 2 Platonides 2009-09-14 13:17:56 UTC
It works on monobook for me. Remember to edit [[Special:Mypage/monobook.js]] instead of vector.js.
Comment 3 Roan Kattouw 2009-09-14 13:23:47 UTC
(In reply to comment #2)
> It works on monobook for me. Remember to edit [[Special:Mypage/monobook.js]]
> instead of vector.js.
> 

It works on Wikipedia, yes, but it doesn't work for me on either trunk or wmf-deployment, even when editing the correct page.
Comment 4 Brion Vibber 2009-09-17 21:22:41 UTC
Roan, make sure you've enabled user JS on your test site.
Comment 5 Helder 2009-09-19 00:57:23 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > It works on monobook for me. Remember to edit [[Special:Mypage/monobook.js]]
> > instead of vector.js.
> > 
> 
> It works on Wikipedia, yes, but it doesn't work for me on either trunk or
> wmf-deployment, even when editing the correct page.
> 

The preview is not working for me, even at en.wp. The code works only when I sabe the page.
http://en.wikipedia.org/w/index.php?title=User%3AHeldergeovane%2Fmonobook.js&diff=314828702&oldid=314828595

Helder
Comment 6 Platonides 2009-09-19 22:28:24 UTC
(In reply to comment #5)
> The preview is not working for me, even at en.wp. The code works only when I
> save the page.

You're right. Now it doesn't even work for monobook.
Perhaps it got broken trunk and the difference on vector was just that it had 
been synced earlier?
Comment 7 Alexandre Emsenhuber [IAlex] 2009-09-22 16:53:32 UTC
Fixed in r56770.
Comment 8 Chad H. 2009-09-22 19:02:42 UTC
*** Bug 4801 has been marked as a duplicate of this bug. ***
Comment 9 RockMFR 2009-09-24 02:47:55 UTC
This was a regression from r52864.
Comment 10 Helder 2009-09-26 12:09:00 UTC
Should this be working at en.wp?
Currently [[Special:Version]] shows MediaWiki 1.16alpha-wmf (r56901), but when I try to preview the code it doesn't shows an alert "Bug 20631"...

Helder
Comment 11 Roan Kattouw 2009-09-26 13:17:55 UTC
(In reply to comment #10)
> Should this be working at en.wp?
> Currently [[Special:Version]] shows MediaWiki 1.16alpha-wmf (r56901), but when
> I try to preview the code it doesn't shows an alert "Bug 20631"...
> 
The revision number applies to the wmf-deployment branch, not to trunk. Presumably r56770 on trunk wasn't merged to wmf-deployment.

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


Navigation
Links