[Wikisource-l] Playing with Lua, javascript and pagelist tag

2013-05-31 Thread Alex Brollo
I'm testing a template [:it:s:Template:Pg]] (calling a Lua module) that fastly converts book page numbers, passed as the unique parameter to the template, into links to right djvu pages, without any need to add delta parameters and linking any format for page number (arabic, roman, other...)

[Wikisource-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-05-31 Thread David Cuenca
Hi all, After a talk with Brad Jorsch during the Hackathon (thanks again Brad for your patience), it became clear to me that Lua modules can be localized either by using system messages or by getting the project language code (mw.getContentLanguage().getCode()) and then switching the message.

Re: [Wikisource-l] Centralized Lua modules for Wikisource (OPW mentor needed)

2013-05-31 Thread Alex Brollo
I agree fully Micru. Obviously, my dream is something much simpler and clear-cut: a unique wikisource for all languages, since an unique project for any textual media is needed IMHO just as a common project for any non-textual media is running: Commons; and a common project for data now exists: