User talk:ShakataGaNai/Archives/2019/August

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


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.

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