Jheald added a comment. |
It would also be useful for the GUI to show Wikipedia sitelinks as links rather than full URLs.
The shorter form is especially valuable when one is trying to include a lot of columns in a table report, without losing the grid structure (which happens if there are too many columns with unbreakably long text).
Of course one can more or less extract the page name with something like
BIND(REPLACE(REPLACE(str(?article), 'https://en.wikipedia.org/wiki/', ''),'%20',' ') AS ?en_wiki)
but this very basic workaround still leaves eg brackets and international characters in percent encoding; and of course it loses the clickability of the link.
It would be nice to be able to have a wiki article name by default show up in the GUI simply as linked text.
Cc: Tgr, Smalyshev, Jonas, Aklapper, Jheald, EBjune, Acer, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, Base, matthiasmullie, aude, Deskana, Manybubbles, Ricordisamoa, Fabrice_Florin, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs