Last modified: 2014-02-20 23:15:39 UTC
entering a full url when specifying a site link, instead of picking the page title from a suggestion list will save a lot of hassle .. At the moment I use http://www.wikidata.org/wiki/Q9458#sitelinks and remove http://www.wikidata.org/wiki/ to get the specific value I need. Thanks, Gerard
So instead of picking a siteid and article name combination you could simply specificy a link such as 'http://en.wikipedia.org/wiki/Apple' and wikidata would convert that into 'enwiki' and 'Apple'?
yes :) Gerard
Nice idea for an enhancement, I like such features. It would be fairly easy to do with a single regular expression. Basically assuming every site link follows the enwiki URL schema (which it does, but ...). The right way to do it would be to iterate all of [[w:d:Special:Interwiki]]. We do have mw.config.get( 'wbSiteDetails' ) and could try to iterate it and use it to parse what the user entered. Can we rely on this and use it?
I've had a discussion about this with the designers. Let's talk before we move forward with this please.