Page MenuHomePhabricator

Buttons don't work in 'Edit' window
Closed, ResolvedPublic

Description

Author: nospam

Description:
WSWYG buttons don't work in Uzbek Wikipedia already since 2006. Please refer to http://uz.wikipedia.org/wiki/Vikipediya:Forum/Texnikaviy_savollar Subtitle: Tahrir does not work for me!

Checked with Mozilla Firefox 2.x (MS Windows/Linux), MSIE6 and MSIE7 (MS Windows/Linux) - for none of them work.


Version: unspecified
Severity: major
URL: http://uz.wikipedia.org

Details

Reference
bz14285

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:14 PM
bzimport set Reference to bz14285.
bzimport added a subscriber: Unknown Object (MLST).

Here's your problem:

at http://uz.wikipedia.org/wiki/MediaWiki:Common.js ...

editingTools.innerHTML = editingTools.innerHTML + StrikeTextButton;
editingTools.innerHTML = editingTools.innerHTML + ShablonTextButton;

The use of innerHTML in this way wipes out the event handlers on all the buttons in Firefox. You should append these extra tools using DOM functions to avoid breaking them.

Mark RESOLVED. Solution explained in comment 1.