Last modified: 2013-11-08 15:51:00 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 T58718, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56718 - Special chars insertion on it.wikivoyage does not work
Special chars insertion on it.wikivoyage does not work
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://it.wikivoyage.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-07 13:59 UTC by Andyrom75
Modified: 2013-11-08 15:51 UTC (History)
0 users

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


Attachments

Description Andyrom75 2013-11-07 13:59:29 UTC
In the last few days the wiki markup that can be added in the edit box during the edit phase doesn't work anymore.

Look for example this link: https://it.wikivoyage.org/w/index.php?title=Test&action=edit&redlink=1

if you look below the edit box and click on one of the clickable wiki markup, instead of adding it in the edit box, the page just scroll up without doing anything.

Please support on the correction of it because it's one of the most used feature during the article modification. Thanks
Comment 1 Andre Klapper 2013-11-07 14:42:29 UTC
Confirming the problem in Firefox 25 with the "editpage-specialchars" <div>.
It's because the links are just:
  <a href="#">À</a>

https://it.wikivoyage.org/wiki/MediaWiki:Common.js loads https://it.wikivoyage.org/wiki/MediaWiki:Edittools.js which loads https://it.wikivoyage.org/wiki/MediaWiki:Gadget-charinsert.js where this code is defined and needs to be fixed - hence the problem seems to be on-wiki and out of scope for Bugzilla.

Are you aware of http://lists.wikimedia.org/pipermail/wikitech-l/2013-October/072779.html ? That would be my completely uneducated guess.
Comment 2 Andyrom75 2013-11-07 19:04:33 UTC
Hi Andre, I'm not sure to have understood what I should do.
As per the link you have adviced they say to add:

// Load jquery.ui.button so button styles work in wikitext
mw.loader.using( 'jquery.ui.button' );

to the site Common.js

But you say that is https://it.wikivoyage.org/wiki/MediaWiki:Gadget-charinsert.js  that needs to be fixed (how?).

Could you give me more information about it?
Comment 3 Andyrom75 2013-11-07 19:11:51 UTC
<a href="#">À</a> is created by the following instructions:

a.appendChild( document.createTextNode( name ) );
a.href = "#";
addHandler( a, 'click', handler );
paragraph.appendChild( a );


But I have not understood if I have to modify those line (and how) or to add "mw.loader.using( 'jquery.ui.button' );" to commons. (or maybe both or maybe none :-)) ...let me know.
Comment 4 Andre Klapper 2013-11-07 23:04:25 UTC
Personally I don't know - I am not a developer. You might want to ask the authors of the custom code on it.wikivoyage or reply to the wikitech-l@ message.
Comment 5 Andre Klapper 2013-11-07 23:55:25 UTC
Well, and as I said, my guess might be totally wrong.

Looking at recent changes in https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-charinsert.js&action=history (which works), I'd recommend to try applying https://en.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-charinsert.js&diff=580652385&oldid=559633727
Comment 6 Andyrom75 2013-11-08 02:15:57 UTC
Now it works! Thanks a lot for the suggestion!
Comment 7 Andyrom75 2013-11-08 10:10:53 UTC
Gosh... this morning it seems to have the same problem again.... any idea?
Comment 8 Andre Klapper 2013-11-08 12:03:27 UTC
Works for me.
Comment 9 Andyrom75 2013-11-08 15:51:00 UTC
Now works again.... maybe it has been a temporary bug.... anyway thanks for checking again

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


Navigation
Links