Hi Tpt,

Thank you so much for writing the Authority Control Lua modules. I would 
actually like to learn to write it them myself.

What tutorials did you use, or how did you learn to write the Lua modules?

Also on a sidenote, there is a need for a bot to run on Wikipedias that puts 
Templates that use Wikidata fallback on pages where Wikidata data exists, but 
the Wikipedia isn't grabbing it. That's something I plan to get around to, 
unless anyone knows of any starts on it?

Maximilian Klein
Wikipedian in Residence, OCLC
+17074787023

________________________________
From: wikisource-l-boun...@lists.wikimedia.org on behalf of Thomas PT
Sent: Monday, May 20, 2013 9:07 AM
To: discussion list for Wikisource, the free library
Subject: Re: [Wikisource-l] Lua modules for Wikisource

Hi!
In French Wikisource, we have some templates already rewritten in lua like:
https://fr.wikisource.org/wiki/Module:Header_template The header template use 
by Proofread Page
https://fr.wikisource.org/wiki/Module:Classement Create clean default 
DEFAULTSORT
https://fr.wikisource.org/wiki/Module:Table for TOCs
https://fr.wikisource.org/wiki/Module:MathRoman : outputs roman number.

For commons, the issue is that, as I know, Lua doesn't support 
internationalization very well (but I think it could be done with some hacks).

Thomas

PS: I've also rewritten for French and English Wikipedia the Authority control 
template. It supports validation of some ids and fallback to Wikidata. See 
https://en.wikipedia.org/wiki/Module:Authority_control/sandbox and 
https://fr.wikipedia.org/wiki/Module:Autorit?<https://fr.wikipedia.org/wiki/Module:Autorit%C3%A9>
 . The "fallback to Wikidata" feature is live on the French Wikipedia but not 
on the English one. I can help to adapt it to other languages.

________________________________
From: zanni.andre...@gmail.com
Date: Mon, 20 May 2013 17:54:08 +0200
To: wikisource-l@lists.wikimedia.org
Subject: [Wikisource-l] Lua modules for Wikisource

Hi all,
is there any Wikisource which had Lua deployed?
I'm looking for a book/header templates re-written in Lua to copy and localize 
:-)
(so far, I've seen only this one in the Italian Wikipedia 
http://it.wikipedia.org/w/index.php?title=Modulo:Tracce&action=edit)
And I'd love to see Book and Creator templates on Commons Lua-style :-)

Aubrey

_______________________________________________ Wikisource-l mailing list 
Wikisource-l@lists.wikimedia.org 
https://lists.wikimedia.org/mailman/listinfo/wikisource-l
_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l

Reply via email to