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
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%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.andrea84@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
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-bounces@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.andrea84@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
Hi! I've learn by reading the first examples written by the extension developers and, for language syntax, with Google.
Some people in the English Wikipedia have written a tutorial: https://en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling that is maybe now the best entry point. But, as for everything in the computing world, the best way to learn is to read code and try ;-). Create a module in test2.wikipedia.org and do your tests here.
The most important page is https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual that document the library provided by Scribunto. I have it open each time I edit modules.
I didn't know any project to add missing {{Authority Control}} to article of the English Wikipedia. So, I think you can work on it. Thanks!
Thomas
PS: Is ISNI only for people? If yes, It would be nice to use a bot to add "person" as GND type to all items with an ISNI id because there are a lot of items in this case according to https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violation... I can do it if needed.
From: kleinm@oclc.org To: wikisource-l@lists.wikimedia.org Date: Tue, 21 May 2013 18:36:40 +0000 Subject: Re: [Wikisource-l] Lua modules for Wikisource
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-bounces@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%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.andrea84@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
________________________________ From: Thomas PT Sent: Tuesday, May 21, 2013 12:28 PM To: discussion list for Wikisource, the free library; Klein,Max Subject: RE: [Wikisource-l] Lua modules for Wikisource
Hi! I've learn by reading the first examples written by the extension developers and, for language syntax, with Google.
Some people in the English Wikipedia have written a tutorial: https://en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling that is maybe now the best entry point. But, as for everything in the computing world, the best way to learn is to read code and try ;-). Create a module in test2.wikipedia.org and do your tests here.
The most important page is https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual that document the library provided by Scribunto. I have it open each time I edit modules.
I didn't know any project to add missing {{Authority Control}} to article of the English Wikipedia. So, I think you can work on it. Thanks!
Lots of bots to write Thomas
PS: Is ISNI only for people? If yes, It would be nice to use a bot to add "person" as GND type to all items with an ISNI id because there are a lot of items in this case according to https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P213 https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violation... I can do it if needed.
I need to verify that ISNI is for People only. I think it might include Corporations too.
________________________________ From: kleinm@oclc.org To: wikisource-l@lists.wikimedia.org Date: Tue, 21 May 2013 18:36:40 +0000 Subject: Re: [Wikisource-l] Lua modules for Wikisource
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-bounces@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%C3%A9https://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.andrea84@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
Is there any project to build a shared library of Lua routines for wikisource projects? I feel that Lua could give to source projects an excellent opportunity to align templates, formats and metadata structures. In the meantime, I'm browsing fr.source :-)
Alex
2013/5/22 Klein,Max kleinm@oclc.org
*From:* Thomas PT *Sent:* Tuesday, May 21, 2013 12:28 PM *To:* discussion list for Wikisource, the free library; Klein,Max *Subject:* RE: [Wikisource-l] Lua modules for Wikisource
Hi!
I've learn by reading the first examples written by the extension developers and, for language syntax, with Google.
Some people in the English Wikipedia have written a tutorial: https://en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling that is maybe now the best entry point. But, as for everything in the computing world, the best way to learn is to read code and try ;-). Create a module in test2.wikipedia.org and do your tests here.
The most important page is https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manualthat document the library provided by Scribunto. I have it open each time I edit modules.
I didn't know any project to add missing {{Authority Control}} to article of the English Wikipedia. So, I think you can work on it. Thanks!
Lots of bots to write
Thomas
PS: Is ISNI only for people? If yes, It would be nice to use a bot to add "person" as GND type to all items with an ISNI id because there are a lot of items in this case according to https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P213 https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violation... I can do it if needed.
I need to verify that ISNI is for People only. I think it might include Corporations too.
From: kleinm@oclc.org To: wikisource-l@lists.wikimedia.org Date: Tue, 21 May 2013 18:36:40 +0000 Subject: Re: [Wikisource-l] Lua modules for Wikisource
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-bounces@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%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.andrea84@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
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Hi Alex,
I think this proposal goes into that direction: https://wikisource.org/wiki/Wikisource:Wikisource_common_template_set
Cheers, David --Micru
On Thu, May 23, 2013 at 6:52 AM, Alex Brollo alex.brollo@gmail.com wrote:
Is there any project to build a shared library of Lua routines for wikisource projects? I feel that Lua could give to source projects an excellent opportunity to align templates, formats and metadata structures. In the meantime, I'm browsing fr.source :-)
Alex
2013/5/22 Klein,Max kleinm@oclc.org
*From:* Thomas PT *Sent:* Tuesday, May 21, 2013 12:28 PM *To:* discussion list for Wikisource, the free library; Klein,Max *Subject:* RE: [Wikisource-l] Lua modules for Wikisource
Hi!
I've learn by reading the first examples written by the extension developers and, for language syntax, with Google.
Some people in the English Wikipedia have written a tutorial: https://en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling that is maybe now the best entry point. But, as for everything in the computing world, the best way to learn is to read code and try ;-). Create a module in test2.wikipedia.org and do your tests here.
The most important page is https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manualthat document the library provided by Scribunto. I have it open each time I edit modules.
I didn't know any project to add missing {{Authority Control}} to article of the English Wikipedia. So, I think you can work on it. Thanks!
Lots of bots to write
Thomas
PS: Is ISNI only for people? If yes, It would be nice to use a bot to add "person" as GND type to all items with an ISNI id because there are a lot of items in this case according to https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P213 https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violation... I can do it if needed.
I need to verify that ISNI is for People only. I think it might include Corporations too.
From: kleinm@oclc.org To: wikisource-l@lists.wikimedia.org Date: Tue, 21 May 2013 18:36:40 +0000 Subject: Re: [Wikisource-l] Lua modules for Wikisource
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-bounces@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%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.andrea84@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
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
2013/5/23 David Cuenca dacuetu@gmail.com:
Hi Alex,
I think this proposal goes into that direction: https://wikisource.org/wiki/Wikisource:Wikisource_common_template_set
You may be also interested in knowing that here iat the Wikimedia Hackaton in Amsterdam, the idea of having a centralized place for Lua models (also as in "a centralized place for *all* projects) has been the object of a question to which the answer is "it is something we are considering for the future".
C
2013/5/21 Klein,Max kleinm@oclc.org:
What tutorials did you use, or how did you learn to write the Lua modules?
My 2 cents, if you like to learn a language using a book for Lua I'll suggest: "Programming in Lua" from R. Ierusalimschy (one of the Lua creators). I am finding it very nice to read and easy to follow.
Cristian
I'm going to take my initial, painful steps into Lua; @Cristian, how many users are using/going to use Scribuntu into it.wikipedia? I see that Modulo: namespace already has been populated a little bit, I'll take a good look to scripts, even if wikipedia templates/scripts are always very complex and very difficult to understand for me. Anyway.... go ahead, I'll try to follow you :-)
Alex
2013/5/23 Cristian Consonni kikkocristian@gmail.com
2013/5/21 Klein,Max kleinm@oclc.org:
What tutorials did you use, or how did you learn to write the Lua
modules?
My 2 cents, if you like to learn a language using a book for Lua I'll suggest: "Programming in Lua" from R. Ierusalimschy (one of the Lua creators). I am finding it very nice to read and easy to follow.
Cristian
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
@ David: once more I rediscovered the wheel... thanks for link, I put it as top link in my "useful links" list :-)
Alex
2013/5/23 Alex Brollo alex.brollo@gmail.com
I'm going to take my initial, painful steps into Lua; @Cristian, how many users are using/going to use Scribuntu into it.wikipedia? I see that Modulo: namespace already has been populated a little bit, I'll take a good look to scripts, even if wikipedia templates/scripts are always very complex and very difficult to understand for me. Anyway.... go ahead, I'll try to follow you :-)
Alex
2013/5/23 Cristian Consonni kikkocristian@gmail.com
2013/5/21 Klein,Max kleinm@oclc.org:
What tutorials did you use, or how did you learn to write the Lua
modules?
My 2 cents, if you like to learn a language using a book for Lua I'll suggest: "Programming in Lua" from R. Ierusalimschy (one of the Lua creators). I am finding it very nice to read and easy to follow.
Cristian
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Lua-modules has been used on sv.wikisource to create CR-templates. It's advanced mathematics to see if something is free in both Sweden/Finland and USA, especially since we have to consider URAA.
________________________________ Från: Alex Brollo alex.brollo@gmail.com Till: "discussion list for Wikisource, the free library" wikisource-l@lists.wikimedia.org Skickat: torsdag, 23 maj 2013 17:24 Ämne: Re: [Wikisource-l] Lua modules for Wikisource
@ David: once more I rediscovered the wheel... thanks for link, I put it as top link in my "useful links" list :-)
Alex
2013/5/23 Alex Brollo alex.brollo@gmail.com
I'm going to take my initial, painful steps into Lua; @Cristian, how many users are using/going to use Scribuntu into it.wikipedia? I see that Modulo: namespace already has been populated a little bit, I'll take a good look to scripts, even if wikipedia templates/scripts are always very complex and very difficult to understand for me.
Anyway.... go ahead, I'll try to follow you :-)
Alex
2013/5/23 Cristian Consonni kikkocristian@gmail.com
2013/5/21 Klein,Max kleinm@oclc.org:
What tutorials did you use, or how did you learn to write the Lua modules?
My 2 cents, if you like to learn a language using a book for Lua I'll suggest: "Programming in Lua" from R. Ierusalimschy (one of the Lua creators). I am finding it very nice to read and easy to follow.
Cristian
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
At the beginning, Lua is far from easy for a willing user; I have some js and python experience, nevertheless I found first steps very hard and sometimes very frustrating. I incourage any of you really geek to convert into Lua some very simple templates; some from Lua scripts written by experts are simply discouraging for a beginner.
Therefore, my suggestion is to begin the adventure of "shared wikisource scripts" with the most banal ones.
Alex
2013/5/24 La Vallen la.vallen@yahoo.se
Lua-modules has been used on sv.wikisource to create CR-templates. It's advanced mathematics to see if something is free in both Sweden/Finland and USA, especially since we have to consider URAA.
*Från:* Alex Brollo alex.brollo@gmail.com *Till:* "discussion list for Wikisource, the free library" < wikisource-l@lists.wikimedia.org> *Skickat:* torsdag, 23 maj 2013 17:24 *Ämne:* Re: [Wikisource-l] Lua modules for Wikisource
@ David: once more I rediscovered the wheel... thanks for link, I put it as top link in my "useful links" list :-)
Alex
2013/5/23 Alex Brollo alex.brollo@gmail.com
I'm going to take my initial, painful steps into Lua; @Cristian, how many users are using/going to use Scribuntu into it.wikipedia? I see that Modulo: namespace already has been populated a little bit, I'll take a good look to scripts, even if wikipedia templates/scripts are always very complex and very difficult to understand for me. Anyway.... go ahead, I'll try to follow you :-)
Alex
2013/5/23 Cristian Consonni kikkocristian@gmail.com
2013/5/21 Klein,Max kleinm@oclc.org:
What tutorials did you use, or how did you learn to write the Lua
modules?
My 2 cents, if you like to learn a language using a book for Lua I'll suggest: "Programming in Lua" from R. Ierusalimschy (one of the Lua creators). I am finding it very nice to read and easy to follow.
Cristian
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
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
On Mon, 20 May 2013 17:54:08 +0200, Andrea Zanni zanni.andrea84@gmail.com wrote:
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
It is my understanding, though maybe it is a misunderstanding, that there will be a common place for xwiki modules, and gadgets, though I think that it is only slated for 'at some point of time'.
In asking ...
https://meta.wikimedia.org/wiki/Requests_for_comment/Global_bits_and_pieces
has been created with conversations from other places
Regards, Billinghurst
wikisource-l@lists.wikimedia.org