Help talk:Creating multilingual tags with interwiki links

Latest comment: 10 years ago by Jarekt in topic Lua

central interwiki repository

edit

Many thanks to Jarekt for this page and for harmonizing city templates. However I hope that we would will much better solutions if a central interwiki repository is finally created. There are projects, even though they do not seem to proceed very fast.--Zolo (talk) 17:41, 29 December 2010 (UTC)Reply

quicker formula ?

edit

Since the purpose is to create the links as quickly as possible, should the excel formula be condensed in one single cell ? Unless I am mistaken with the translation, it could be:

=CONCATENATE(" |",RIGHT(LEFT(A1,FIND(":",A1)-1),FIND(":",A1)-3),"=","[[:",RIGHT(LEFT(A1,FIND(":",A1)-1),FIND(":",A1)-3),":",RIGHT(LEFT(A1,LEN(A1)-2),LEN(A1)-FIND(":",A1)-2),"|",RIGHT(LEFT(A1,LEN(A1)-2),LEN(A1)-FIND(":",A1)-2),"]]")

French:

=CONCATENER(" |";DROITE(GAUCHE(A1;TROUVE(":";A1)-1);TROUVE(":";A1)-3);"=";"[[:";DROITE(GAUCHE(A1;TROUVE(":";A1)-1);TROUVE(":";A1)-3);":";DROITE(GAUCHE(A1;NBCAR(A1)-2);NBCAR(A1)-TROUVE(":";A1)-2);"|";DROITE(GAUCHE(A1;NBCAR(A1)-2);NBCAR(A1)-TROUVE(":";A1)-2);"]]") --Zolo (talk) 16:53, 5 March 2011 (UTC)Reply

Lua

edit

Should we move them to Lua ? It is a bit more work, but that makes tracking easier ([1] - [2]). --Zolo (talk) 17:38, 29 November 2013 (UTC)Reply

This whole page is out of date, since there is no more interwiki links on wikipedia pages. Ideally we could have something that can regenerate those templates based on wikidata. Ideally we could access wikidata interwikis when template is called but more static approach where we call some lua or js function that creates the template based on wikidata code would be a big step forward. --Jarekt (talk) 19:32, 29 November 2013 (UTC)Reply
Return to "Creating multilingual tags with interwiki links" page.