Page MenuHomePhabricator

Install Scribunto on fr.wikisource
Closed, ResolvedPublic

Description

Several contributors in the French Wikisource are very interested by Scribunto extension and one, Rical have already written a module ( https://www.mediawiki.org/wiki/Module:MathRoman ).
Can fr.wikisource be one of the first wikis to use this extension ? We would be very happy to test it in our home environment and report bugs we found.

We have talk about this idea on our Scriptorium (Wikisource's Village Pump) and most of people there are impatient to use it ( https://fr.wikisource.org/wiki/Wikisource:Scriptorium/Ao%C3%BBt_2012#Scribunto_sur_Wikisource_fr_.3F ).

If it happen we would be happy to share our experience about this extension in order to help other wikis to use it, specially the others French-speaking wikis and Wikisources.


Version: unspecified
Severity: enhancement
URL: https://fr.wikisource.org/wiki/Wikisource:Scriptorium/Ao%C3%BBt_2012#Scribunto_sur_Wikisource_fr_.3F

Details

Reference
bz39744

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:47 AM
bzimport set Reference to bz39744.
bzimport added a subscriber: Unknown Object (MLST).

Core actually has functionality for integer to Roman numeral conversion.

Extension:ParserFunctions already exposes this functionality: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time

e.g. {{#time:xrY}}

It'll do over 10,000 in MediaWiki 1.20 after some updates I made

sumanah wrote:

It seems to me like the Roman numeral stuff is just one example of why this community wants Scribunto (once it's ready). Shouldn't we just leave this issue open till Scribunto is ready to deploy to community wikis?

Reopening because comment 1 doesn't actually address the reason for wanting Scribunto (early testing rather than Roman numeral conversion)

[ Pros arguments ]

It could be interesting to have *one* little community testing Scribunto, in addition to mediawiki.org deployment.

The fr.wikisource.org deployment would allow to test if Scribunto is usable in real conditions, and to watch how Lua newcomers deal with Lua syntax, Scribunto engine, etc.

This would complement the www.mediawiki.org performance/stress testing conditions.

[ Question to tpt ]

Could you demonstrate you have a community on fr.wikisource.org interested to WRITE Lua modules? For example, could you discuss a roadmap of some templates to replace by Lua code or new functionalities you plan to do with Scribunto?

(In reply to comment #4)>

It could be interesting to have *one* little community testing Scribunto, in
addition to mediawiki.org deployment.

The fr.wikisource.org deployment would allow to test if Scribunto is usable in
real conditions, and to watch how Lua newcomers deal with Lua syntax, Scribunto
engine, etc.

This would complement the www.mediawiki.org performance/stress testing
conditions.

+1. Two points to consider: 1) AFAIK, some early adopters of LQT got burned, and we don't want that to happen again 2) Should bug #39610 be considered a blocker for this (perhaps not, if the second option listed on that bug is chosen)?

(In reply to comment #4)

There are 3 contributors that are interested in writing lua modules : Phe, Rical and me.

Here is a list of project we can do:

  • Rewrite {{Auteur}} in lua with a sort key creation system (Rical + Tpt)
  • Rewrite {{ProofreadPage_header_template}} in lua with an enhanced output of metadatas. (Tpt)
  • Create a module of utilities in order to remove these templates: {{Str len}}, {{Substring}} and {{Ifeq}} (Tpt)
  • Create a Roman to Arabic numerals conversion tool (Rical) (useful for Autheur template)
  • rewrite {{EncL}} in order to have only 2 parameters instead of 4. (Phe)
  • write a documentation in French (all)

The discussion take place here: https://fr.wikisource.org/wiki/Wikisource:Scriptorium/Ao%C3%BBt_2012#Scribunto_sur_Wikisource_fr_.3F

sumanah wrote:

The conversation at https://fr.wikisource.org/wiki/Wikisource:Scriptorium/Ao%C3%BBt_2012#Scribunto_sur_Wikisource_fr_.3F is now continuing at https://fr.wikisource.org/wiki/Wikisource:Scriptorium#Scribunto_sur_Wikisource_fr_.3F .

Tpt, it would be a good idea if you could comment on that discussion to clarify that we just do not have a schedule, yet, for when we are going to deploy Scribunto to any wikis other than mediawiki.org and test2.wikipedia.org. (The English Wiktionary folks at https://bugzilla.wikimedia.org/show_bug.cgi?id=40031 were also confused about this; sorry! I'm updating some documents now.)