copySectionLink.js issue with question marks
On articles such as Who Shot Johnny Rock?, the question mark gets put into the pilcrow links unencoded, which would make it incorrectly not a part of the page title. This can be observed by using linkclassifier and seeing that the pilcrow links on that particular page get flagged as self redirects (because such a redirect exists in that case).
It looks like this can be fixed with use of mw.util.wikiUrlencode.
I hope you don't mind me forking the script if you are too busy to work on this for the next week or so (I may eventually need such a fork to fix any compatibility issues that arise with non-WMF wikis, anyway). --SoledadKabocha (talk) 06:55, 25 November 2013 (UTC)
- Actually, forget about the wikiUrlEncode stuff... I just remembered I already had to deal with the non-WMF compatibility issues elsewhere. The script needs to be changed to not make any assumptions about the URL paths used by the wiki, specifically by setting the
hrefof each link to
window.location.pathname+window.location.search+'#'+$(this).attr('id')- this will fix the question mark encoding issue at the same time. --SoledadKabocha (talk) 07:07, 25 November 2013 (UTC)
Nomination for deletion of Template:List expand top
Template:List expand top has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:20, 3 December 2014 (UTC)
A barnstar for you!
|The Original Barnstar|
|Bility, I've been using copySectionLink for a few years now and love it. Just wanted to thank you again for this! —danhash (talk) 18:30, 30 January 2015 (UTC)|