User talk:ShakataGaNai/Archives/2019/August
Latest comment: 5 years ago by Gryllida in topic Broken 'share on Twitter' links
This is an archive of past discussions from User talk:ShakataGaNai/Archives/2019. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current page. |
Broken 'share on Twitter' links
At the bottom of every published article there is link 'share on twitter', it takes me to [1]. This suggests to add a message at Twitter which says "Look what I found on Wikinews: http://enwn.net/+2874250 ". However the enwn.net shortener outputs a 404 error in Chinese..
Wikinews:Tech/Domain Names says enwn.net - Owned by ShakataGaNai
1) I can see MediaWiki:Gadget-enwn-shortener.js
2) MediaWiki:Common.js does this
if ( links[i].href.indexOf("http://twitter.com/?status") === 0) { /*isTwitter*/ links[i].href = "http://twitter.com/?status=" + encodeURIComponent("Look what I found on Wikinews: http://enwn.net/+" + mw.config.get( 'wgArticleId' )); //enwn.net is owned by ShakataGaNai }
this seems to be the original reason for the issue I started this discussion with.