Last modified: 2014-02-20 23:15:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49983, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47983 - accept a link instead of a value from the dropdown box
accept a link instead of a value from the dropdown box
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-02 09:24 UTC by Gerard Meijssen
Modified: 2014-02-20 23:15 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gerard Meijssen 2013-05-02 09:24:43 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
Comment 1 Addshore 2013-07-22 15:23:54 UTC
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'?
Comment 2 Gerard Meijssen 2013-07-22 15:50:32 UTC
yes :)
Gerard
Comment 3 Thiemo Mättig 2014-02-20 21:03:59 UTC
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?
Comment 4 Lydia Pintscher 2014-02-20 23:15:39 UTC
I've had a discussion about this with the designers. Let's talk before we move forward with this please.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links