User talk:ShakataGaNai

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Broken 'share on Twitter' links[edit]

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: ". However the shortener outputs a 404 error in Chinese..

Wikinews:Tech/Domain Names says - Owned by ShakataGaNai

1) I can see MediaWiki:Gadget-enwn-shortener.js

2) MediaWiki:Common.js does this

if ( links[i].href.indexOf("") === 0) { /*isTwitter*/
links[i].href = "" + encodeURIComponent("Look what I found on Wikinews:" + mw.config.get( 'wgArticleId' ));
// is owned by ShakataGaNai

this seems to be the original reason for the issue I started this discussion with.

--Gryllida (talk) 05:52, 7 August 2019 (UTC)