Last modified: 2014-03-07 16:01:36 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 T59958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57958 - Custom edittools in Modern.js have disappeared
Custom edittools in Modern.js have disappeared
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-04 03:22 UTC by Eric
Modified: 2014-03-07 16:01 UTC (History)
2 users (show)

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


Attachments
Screenshot of edittools in IE (12.44 KB, image/png)
2013-12-04 13:45 UTC, Eric
Details

Description Eric 2013-12-04 03:22:33 UTC
Sometime in the past few days my custom edittools in Modern.js have disappeared from the Insert menu (from the character subset menu in the page-editing environment). Can anyone tell me what the issue might be? I have verified that the current version of Java is installed on my machine (Windows 7 64-bit), and, I believe, that it is functioning properly.
Thanks in advance for any info.
--Eric
Comment 1 Andre Klapper 2013-12-04 11:57:07 UTC
Hi Eric, 
unfortunately this report is not very useful because it does not describe the problem well. If you have time and can still reproduce the problem, please read https://www.mediawiki.org/wiki/How_to_report_a_bug and add a more useful description to this report.
Comment 2 Eric 2013-12-04 13:14:53 UTC
(In reply to comment #1)
> Hi Eric, 
> unfortunately this report is not very useful because it does not describe the
> problem well. If you have time and can still reproduce the problem, please
> read
> https://www.mediawiki.org/wiki/How_to_report_a_bug and add a more useful
> description to this report.

Yes, I know it's not much to go on, but the info I gave above is all I have right now. I covered what's asked for in the reporting guidelines as best I could. I can't provide a screenshot from before. All I can do is post the code, but I don't know how much help that would be as it was working a few days ago.
Code for my modern.js:
window.charinsertCustom = { "Insert": "{\{SharedIP|+}} {\{SharedIPEDU|+}} {\{subst:uw-vandalism1|+}} {\{subst:uw-vandalism2|+}} {\{subst:uw-vandalism3|+}} {\{subst:uw-vandalism4|+}} {\{subst:Uw-editsummary|+|message_to_user}} {\{xt|+}} {\{subst:Please_see|+}}" } ;
Comment 3 Eric 2013-12-04 13:43:23 UTC
New info: just discovered that the edittools menu is intact in IE 11. It is not intact in Firefox 25 or Chrome 31. Screenshot from IE attached. The tools circled in light orange are the standard insert menu; the rest are my custom ones.
Comment 4 Eric 2013-12-04 13:45:06 UTC
Created attachment 13978 [details]
Screenshot of edittools in IE

Screenshot showing my full set of edittools intact in Internet Explorer 11.
Comment 5 Derk-Jan Hartman 2013-12-04 13:49:51 UTC
It might help if you could mention the website where you are experiencing this...
Comment 6 Eric 2013-12-04 14:00:06 UTC
(In reply to comment #5)
> It might help if you could mention the website where you are experiencing
> this...

Oh, sorry, it en.wikipedia.org! I thought this was only for Wikipedia...
Comment 7 Eric 2013-12-04 14:40:57 UTC
Restored the toolset with advice from another user. Added the line
if(window.updateEditTools) window.updateEditTools();
after the assignment to window.charinsertCustom. The user who helped me said it's possible that something changed with the JS loading that is making modern.js be processed after the main edittools script is run where it used to be run before.

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


Navigation
Links