https://bugzilla.wikimedia.org/show_bug.cgi?id=25186
Summary: Toolbar API: Removing characters is broken
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: UsabilityInitiative
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Characters can't be removed with removeFromToolbar.
Since r65558, characters are no longer wrapped in an <a> but in a <span>, so
the code
if ( typeof data.character == 'string' ) {
// Character
//target += ' a[rel=' + data.character + ']';
from ./js/plugins/jquery.wikiEditor.toolbar.js (line 153) must get changed.
If you want to reproduce the bug just run the test script
(./js/tests/wikiEditor.toolbar.js), look at the ":))" after it should have been
removed and fix bug 25185 as well.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l