Page MenuHomePhabricator

Custom edittools in Modern.js have disappeared
Closed, DeclinedPublic

Description

Author: e.martinson

Description:
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


Version: unspecified
Severity: normal

Details

Reference
bz57958

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:15 AM
bzimport set Reference to bz57958.
bzimport added a subscriber: Unknown Object (MLST).

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.

e.martinson wrote:

(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|+}}" } ;

e.martinson wrote:

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.

e.martinson wrote:

Screenshot of edittools in IE

Screenshot showing my full set of edittools intact in Internet Explorer 11.

Attached:

edittools_in_IE_11.png (164×1 px, 12 KB)

It might help if you could mention the website where you are experiencing this...

e.martinson wrote:

(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...

e.martinson wrote:

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.