Rical (Rical)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Dec 12 2014, 5:26 PM (214 w, 6 h)
Availability
Available
LDAP User
Rical
MediaWiki User
Rical [ Global Accounts ]

Recent Activity

Sun, Jan 13

Rical added a comment to T213645: Simplify dropboxes acces in all wikis.

Ok, I understand. T66474 : Global namespace (looks local, lives centrally) will probably solve this ability.

Sun, Jan 13, 8:39 PM
Rical created T213645: Simplify dropboxes acces in all wikis.
Sun, Jan 13, 6:58 AM

Wed, Jan 9

Rical added a comment to T168726: Create syntax documentation page for Special:PageData.

You have well advanced on PageData, but I don't find a very simple example. Could you give us a link to it? Thanks in advance.

Wed, Jan 9, 10:28 AM · Documentation, MediaWiki-Special-pages

Sat, Jan 5

Rical added a comment to T107595: [RFC] Multi-Content Revisions.

There are other data than those provided for RFCs related to the content of a page.
They will be available thanks to T168726: Create a syntax documentation page for Special:PageData.
A PageData could contain:

  • The first and current versions of several Lua modules,
  • The history of mediawiki versions in each wiki to help coders to better describe new bugs,
  • The options for managing these exchanges: central or local, priorities of certain modules as main, structures used ...
  • Places to find translations i18n ...

These datas are related to the content of the page but not to the revisions.
These 2 tasks could benefit from similar and compatible functions and codings.

Sat, Jan 5, 9:43 AM · Core Platform Team (MCR), Multi-Content-Revisions (New Features), Core Platform Team Backlog (Epic), Epic, User-Daniel, Wikidata-Sprint-2015-11-17, Wikimedia-Developer-Summit-2016, Wikidata, Wikidata-Sprint-2015-09-15, TechCom-RFC

Nov 27 2018

Rical closed T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en') as Resolved.

The status of this function is enough advance in Central modules to close it.

Nov 27 2018, 7:13 AM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata
Rical closed T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en'), a subtask of T112073: Lua in Wikibase (tracking), as Resolved.
Nov 27 2018, 7:13 AM · MediaWiki-extensions-WikibaseClient, Tracking, Wikidata

Nov 20 2018

Rical added a comment to T209186: Create a "unit-testing" framework for DOM transformers.

I am Rical and I receiveded an email titled :
[Gerrit] mediawiki...parsoid[master]: Added new genTest capabilities creating two dom dump files
sended at 19/11/2018 à 21:40
In which I read : "Sbailey would like Rical to review this change."
I sometime read some change in gerrit, but I am not able to rigthly understand and comment them.

Nov 20 2018, 9:23 PM · Patch-For-Review, Parsoid-PHP

Oct 18 2018

Rical added a comment to T176643: Allow for an easy copy-paste representation of information on "Special:Version".

About the date-time data like " 18:59, 23. Aug. 2017 " is not so easy to adapt in any other format. ( But it could continue if needed for someone. )
In understanding, an UTC date-time could be better, like in present Special:Version dedicated page. Example:
MediaWiki * 1.32.0-wmf.26 (a9add89) * 2018-10-17T20:29:05
Thanks in advance from coders for this easier format.

Oct 18 2018, 2:13 PM · MediaWiki-Special-pages

Jun 26 2018

Rical added a comment to T198107: Begin to use central modules.

The present Module:Central has 2 roles:
*Be an exemple of converted application, a temporary role.
*Install some libraries as support of central modules. They are built to become the main base for central modules in a stable repository in long term.

Jun 26 2018, 4:45 PM · Wikimedia-General-or-Unknown
Rical added a comment to T198107: Begin to use central modules.

Thanks for the parent task and Scribunto.
The Module:Central is heavy and I continue to update it.
The Lua-coders or some of them will need my support to convert there modules to become central = multilingual, advanced facilities for arguments and reports of errors.

Jun 26 2018, 11:19 AM · Wikimedia-General-or-Unknown

Jun 25 2018

Rical updated the task description for T198107: Begin to use central modules.
Jun 25 2018, 4:37 PM · Wikimedia-General-or-Unknown
Rical added a comment to T135845: Convert any module as central or centralisable.

From the question "how to name the central space and its shortcut?" we can ask 2 questions:

  • The shortcut cannot be "c" for commons, it could be "ct" for central or "gb" for global.
  • Where to find a list of shortcut ? like for languages: fetchLanguageNames.
Jun 25 2018, 4:00 PM · Community-Tech (2015-2017), Developer-Advocacy, MediaWiki-extensions-Scribunto
Rical added a comment to T198107: Begin to use central modules.

@Aklapper could you really make this task a sub task of T135845. I missed to do that and I don't find how.

Jun 25 2018, 3:00 PM · Wikimedia-General-or-Unknown
Rical added a comment to T198107: Begin to use central modules.

You are right, but I understand this task as a sub task of T135845.
In the past I already invited some Lua-coders to share this task, without succes.
It is a way to clearly engage other subscribers to cooperate.

Jun 25 2018, 2:34 PM · Wikimedia-General-or-Unknown
Rical added a comment to T198107: Begin to use central modules.

The Module:Central already exist in en.wikipedia. Then it can not be tried there.
That is linked with 2 aspects:

  • How to name central modules.
  • This question will desapear when central libraries will be parts of scribunto.
Jun 25 2018, 2:15 PM · Wikimedia-General-or-Unknown
Rical created T198107: Begin to use central modules.
Jun 25 2018, 2:02 PM · Wikimedia-General-or-Unknown

Jun 12 2018

Rical added a comment to T141177: Wikipedia main content losts sources because too reverts, try to preserve them.

As of June 2018, these filters only concern the usual modifications.
The suport of the sources will be available later.

Jun 12 2018, 10:22 AM · Research ideas
Rical added a comment to T141177: Wikipedia main content losts sources because too reverts, try to preserve them.

The project New filters for edit review will support this task as of June 2018.

Jun 12 2018, 7:04 AM · Research ideas

Jun 6 2018

Rical added a comment to T149532: Why Multi-Content-Revisions? Use cases and requirements..

To help Lua-coders to better report tasks, T149532#2878699
in the Module:Central-s-fr
I included a guide at the begin of the function:
activity.phabricator_tasks_report() -- Monitor states of known phabricator tasks

Jun 6 2018, 4:55 AM · MediaWiki-Page-editing, MediaWiki-ContentHandler, Wikidata, Wikimedia-Developer-Summit (2017)

May 30 2018

Rical added a comment to T168726: Create syntax documentation page for Special:PageData.

Where to find a very simple example of use of PageData in Lua?
Could you create a such example, with create, read and write datas ? Thanks in advance.

May 30 2018, 5:25 AM · Documentation, MediaWiki-Special-pages

Apr 29 2018

Rical added a comment to T108292: [Task] create concept for feeding back data quality issues to data providers and getting feedback from data consumers.

This post is out of scope, but I search the right place for this goal:
I'm assigned to the task T141177: "Wikipedia main content losts sources because too reverts, try to preserve them".
Then I need to know if the estimation of Wikipedia main content sources are already take in account in ORES. Thanks in advance for your attention.

Apr 29 2018, 12:13 PM · Wikimedia-Hackathon-2017, Wikidata

Apr 26 2018

Rical added a comment to T193122: The usual editor window receives string searches like whole the page around.

There is another question: When we click on the button "Publish page", we must click another time to really record the change.

Apr 26 2018, 9:33 PM · CodeEditor
Rical created T193122: The usual editor window receives string searches like whole the page around.
Apr 26 2018, 9:44 AM · CodeEditor

Apr 21 2018

Rical renamed T173404: Ask a summary for any change, even in discussions from In a rare case, the parser entangled old and new paragraphs to Ask a summary for any change, even in discussions.
Apr 21 2018, 10:37 AM · MediaWiki-Parser

Apr 16 2018

Rical added a comment to T141177: Wikipedia main content losts sources because too reverts, try to preserve them.

Sources are they already estimated in ORES?

Apr 16 2018, 9:26 PM · Research ideas

Mar 21 2018

Rical added a comment to T121470: Central Global Repository for Templates, Lua modules, and Gadgets.

@Yurik where to find an example of module already shared using TNT?
To see what include the module to share it. And for a template also. Thanks in advance.

Mar 21 2018, 11:08 PM · Language-strategy, Core Platform Team Backlog (Watching / External), Community-Tech (2015-2017), Epic, Wikimedia-General-or-Unknown, Category, Community-Wishlist-Survey-2015
Rical added a comment to T121470: Central Global Repository for Templates, Lua modules, and Gadgets.

To try to solve the languages questions, I could propose a dedicated i18n table or even a strict rule.
In Central modules, see T135845, I use i18n tables to translate sentencies, which could be aproximative.
Here you probably need accurate translations in a dedicated i18n table.
My way to name modules in any wikis is:
Module:Central is for the central one.
Module:Central-s-fr is for fr.wikisource.org ... and so on.

Mar 21 2018, 5:37 PM · Language-strategy, Core Platform Team Backlog (Watching / External), Community-Tech (2015-2017), Epic, Wikimedia-General-or-Unknown, Category, Community-Wishlist-Survey-2015
Capankajsmilyo awarded T135845: Convert any module as central or centralisable a Love token.
Mar 21 2018, 9:52 AM · Community-Tech (2015-2017), Developer-Advocacy, MediaWiki-extensions-Scribunto

Mar 20 2018

Restricted Application added a project to T53657: Firstname and Lastname properties: Wikidata.
Mar 20 2018, 10:38 AM · Wikidata, Wikidata.org
Rical added a comment to T173404: Ask a summary for any change, even in discussions.

Some minutes ago a case happended in this diff and destroyed 7 lines.
As usual, I added a section -- after an other section --, then I can comment the new section.
Then 7 lines with 7 links to 7 sources of the precedent section are displayd in the new section.
And these 7 lines desapeard in the precedent section and in the new.
The part which desapeard was the fist line which begin with a square blue point.

Mar 20 2018, 10:22 AM · MediaWiki-Parser

Feb 13 2018

Rical added a comment to T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').

I duplicated some versions for tests mainly in :

Feb 13 2018, 3:55 PM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata
Rical added a comment to T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').

Each call of datas.property(pp) defines one property in the pp table.
The calling process contains a table to define all eventual properties.

p.args_known = { -- Table of the definitions of all known arguments at module level. 
    -- All arguments have a keyword identical to the registration name, except synonyms.
    ["country"]		= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "country", ["prop"] = "P27", },
    ["countryRANK"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "country", ["prop"] = "P27", ["RANK"] = "RANK_NORMAL", },
    ["birthyear"]	= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "birthyear", ["prop"] = "P569", ["format"] = "year", },
    ["deathyear"]	= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "deathyear", ["prop"] = "P570", ["format"] = "year", },
    ["lastname"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "lastname", ["prop"] = "P734", },
    ["lastname2"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "lastname", ["prop"] = "P734", ["syn"] = 2, },
    ["firstname"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "firstname", ["prop"] = "P735", },
    ["firstname2"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "firstname", ["prop"] = "P735", ["syn"] = 2, },
    ["title"]		= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "label", ["prop"] = "P735", ["syn"] = 2, },
    ["personlang"]	= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "personlang", ["prop"] = "P1412", },
    ["QITEM"]		= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "QITEM", ["prop"] = "Q16222597", },
    ["label"]		= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "label", ["prop"] = "label", },
    ["sitelink"]	= { ["typ"] = "dat", ["need"] = 0, ["keyword"] = "sitelink", ["prop"] = "sitelink", },
    ["description"]	= { ["typ"] = "dat", ["need"] = 2, ["keyword"] = "description", ["prop"] = "description", },
    }

I have used this structure for years and have change it when I need or when new mw.wikibase functions have appeared.
This code is in the very heavy
https://fr.wikisource.org/wiki/Module:Central-s-fr
If you need I could code a dedicated small test module.

Feb 13 2018, 3:11 PM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata
Rical added a comment to T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').

For some weeks in Module:Central, this function use:

function datas.property(pp) -- Get datas from mw.wikibase for one property of the page.
    datas.QITEM      = mw.wikibase.getEntityIdForCurrentPage() -- like "Q42"
    datas.item       = mw.wikibase.getEntity(QITEM)
    pp.label         = datas.item:getLabel.QITEM)
    pp.sitelink      = datas.item:getSitelink()
    pp.labelwithlang = datas.item:getLabelWithLang()
    pp.description   = mw.wikibase.description.QITEM) 
    pp.labelbylang   = mw.wikibase.getLabelByLang(QITEM)
    pp.labelcontent  = mw.wikibase.getLabelByLang(, langs.content_lan, QITEM)
    pp.labelpage     = mw.wikibase.getLabelByLang(, langs.page_lan, QITEM)
    pp.labeluser     = mw.wikibase.getLabelByLang(, langs.user_lan, QITEM)
    pp.val           = datas.item:formatPropertyValues( pp.prop ) -- like "P123"
     ...
    return pp
end
Feb 13 2018, 10:10 AM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata

Feb 12 2018

Rical added a comment to T85305: Phabricator email notifications should bundle events as the web interface does.

Emails content is a mix of the old and the new version of the edited task description. With colors used to show changes in the task, this could be usefull.
Unfortunately the email is only in black and white, then it become very confusing.
Please, in emails, respect the colors or report only the new version of the description.
My preference is the new version only.

Feb 12 2018, 10:56 PM · Developer-Wishlist (2017), Upstream, Phabricator (Upstream)
Rical updated the task description for T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').
Feb 12 2018, 10:02 PM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata

Feb 9 2018

Rical added a comment to T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').

@Uzume, first, thank your for your attention. You are right this new function is not accurately defined.
The keypoint is to give at Lua coders a simple and standardised way to acces all datas.
Probably many points are to discuss.
Labels, descriptions, sitelinks ... help Lua coders like true properties.
If a property as no value the function returns nil and the coder adapt the module.
For multiple value a table-sequence could replace a simple value, then coders can easy adapt their modules.
Also ranks could be add as arguments to select the admissible confidence need by the module, from RANK_PREFERRED to RANK_DEPRECATED?
Perhaps we could add a composite option argument to define ranks, snaks.
In snaks, ['Claims'] is necessary in the internal struture of the base but not for Lua coders.
In snaks, if the property P123 is repeated why ask the second at the Lua coders.
Do you known a better place to discuss all these and others questions?

Feb 9 2018, 9:09 AM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata

Jan 28 2018

Rical updated the task description for T182147: more convenience functions for Lua.
Jan 28 2018, 6:33 AM · Wikibase-Lua, MediaWiki-extensions-WikibaseClient, Wikidata

Jan 23 2018

Rical updated the task description for T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').
Jan 23 2018, 3:00 PM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata
Rical created T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en').
Jan 23 2018, 8:02 AM · Wikibase-Lua, Need-volunteer, MediaWiki-extensions-WikibaseClient, Wikidata

Jan 16 2018

Rical added a comment to T181486: Missing terms in wb_terms table.

From about 2017-12-28, MariaDB is in version 10.0.23 in wikipedia.org and change between 10.0.31 and 10.0.32 in wikisource.org and mediawiki.org.
probably because not enough stable.

Jan 16 2018, 8:29 PM · User-Addshore, wikidata-tech-focus, Wikidata-Turtles-Tech-Debt, Wikidata-Ministry-Of-Magic-Tech-Debt, Wikidata

Jan 12 2018

Rical added a comment to T155624: Special:Version not showing SHA info for Mediawiki version on fr.wikisource.

The test is in https://fr.wikisource.org/wiki/Utilisateur:Rical/MediawikiVersion
But the bug has already disappeared.
Sorry for this time. This is ready for next cases.

Jan 12 2018, 9:17 AM · Wikimedia-General-or-Unknown
Rical added a comment to T155624: Special:Version not showing SHA info for Mediawiki version on fr.wikisource.

in the https://fr.wikisource.org/wiki/Spécial:Version
At the same UTC time : 2018-01-12T07:43:00 there two different values:

  • from Special:Version = 1.31.0-wmf.15 (0953700)
  • from Central module = 1.31.0-wmf.16 (a31d45c)

I try to fast form a dedicated test.

Jan 12 2018, 8:02 AM · Wikimedia-General-or-Unknown

Jan 10 2018

Rical added a comment to T107595: [RFC] Multi-Content Revisions.

As assigned to T135845, I would use dedicated pages to exchange structured datas between several central or local Lua modules.
These pages could content:

  • the first and actual versions of several modules
  • the story of mediawiki versions in each wiki to help coders to better describe new bugs
  • the options to manage these exchanges: central or local, priorities of some modules as managers, used structures...
  • the places where find i18n translations...
Jan 10 2018, 8:21 PM · Core Platform Team (MCR), Multi-Content-Revisions (New Features), Core Platform Team Backlog (Epic), Epic, User-Daniel, Wikidata-Sprint-2015-11-17, Wikimedia-Developer-Summit-2016, Wikidata, Wikidata-Sprint-2015-09-15, TechCom-RFC

Jan 3 2018

Rical added a comment to T173404: Ask a summary for any change, even in discussions.

Some minutes ago an other case happended in this diff.
As usual, I added a section after an other, then I can comment the new section.
But this time, that added also after my edit some lignes which do not appear in the diff. The first added is : ↑ (en) K.S. Jayaraman, « Cold fusion success in Japan gets warm reception in India », 27 mai 2008 : « a historic experiment...LENR has matured sufficiently...Prime Minister »
Perhaps in this case 3 direct links to web pages have "invite" the parser to add 7 other sources.
I do not correct the result until you see it.

Jan 3 2018, 8:35 AM · MediaWiki-Parser

Dec 28 2017

Rical added a comment to T181486: Missing terms in wb_terms table.

Your help answer the question. Many thanks.
Sorry to have disturb this task.

Dec 28 2017, 7:10 PM · User-Addshore, wikidata-tech-focus, Wikidata-Turtles-Tech-Debt, Wikidata-Ministry-Of-Magic-Tech-Debt, Wikidata
Rical added a comment to T181486: Missing terms in wb_terms table.

The bug happens when I query the first data from wikibase, not when I configure the link using wikibase.getEntityIdForTitle().
No matter Firefox or Chromium.

Dec 28 2017, 1:14 PM · User-Addshore, wikidata-tech-focus, Wikidata-Turtles-Tech-Debt, Wikidata-Ministry-Of-Magic-Tech-Debt, Wikidata
Rical added a comment to T181486: Missing terms in wb_terms table.

I work on a the Module:Central able to convert any scribunto Lua module as multilingual with automatic import of arguments and wikidatas, see T135845. I try it 100 times each day.

Dec 28 2017, 11:41 AM · User-Addshore, wikidata-tech-focus, Wikidata-Turtles-Tech-Debt, Wikidata-Ministry-Of-Magic-Tech-Debt, Wikidata
Rical added a comment to T181486: Missing terms in wb_terms table.

In fr.wikisource.org with 10.0.32-MariaDB which differ from 10.0.31-MariaDB in www.mediawiki.org,
I get and error, 10 minuts after a good run:

Dec 28 2017, 9:02 AM · User-Addshore, wikidata-tech-focus, Wikidata-Turtles-Tech-Debt, Wikidata-Ministry-Of-Magic-Tech-Debt, Wikidata
Rical added a comment to T176643: Allow for an easy copy-paste representation of information on "Special:Version".

In fr.wikisource.org with 10.0.32-MariaDB which differ from 10.0.31-MariaDB in www.mediawiki.org,
I get and error, 10 minuts after a good run:

  • Erreur Lua dans Module:Central-s-fr à la ligne 1709 : attempt to index global 'wikibase' (a nil value).
Dec 28 2017, 8:38 AM · MediaWiki-Special-pages

Nov 28 2017

Rical added a comment to T175180: Deploy ORES (revscoring 2.0).

About sources in edits, ORES could better estimate souces, edits, intentions of the author of the edit, and intentions of the patroler, depending also of each article.

Nov 28 2017, 9:05 AM · Patch-For-Review, ORES, Scoring-platform-team (Current)
Rical added a comment to T175180: Deploy ORES (revscoring 2.0).

In T141177, I expressed that Wikipedia main content losts sources when edits are reverted.
ORES seems a good way to answer to that.

Nov 28 2017, 7:57 AM · Patch-For-Review, ORES, Scoring-platform-team (Current)

Nov 12 2017

Rical added a comment to T54570: When user makes new password, the user is stopped by error: "incorrect password", even when the password is correct.

With another password, I can login fine.

Nov 12 2017, 11:40 AM · MediaWiki-User-login-and-signup
Rical added a comment to T54570: When user makes new password, the user is stopped by error: "incorrect password", even when the password is correct.

I believe that happens to me today and yesterday in 1.31.0-wmf.7 (03448d8)
18:09, 7 November 2017.
Perhaps because I chose the same password?

Nov 12 2017, 9:43 AM · MediaWiki-User-login-and-signup

Oct 29 2017

Rical added a comment to T155624: Special:Version not showing SHA info for Mediawiki version on fr.wikisource.

@Seb35: From 2016-06-19, I look at mw version number each day or about.
The last non standard was "MediaWiki_1.29/wmf.19" on 2017-04-07.

Oct 29 2017, 9:08 AM · Wikimedia-General-or-Unknown

Sep 30 2017

Rical added a comment to T67258: Information can be passed between #invoke's (tracking).

What can we share between #invokes?
Images from Commons, items from Wikibase,
templates, modules and submodules from Scribunto.

Sep 30 2017, 2:04 PM · MediaWiki-extensions-Variables, Tracking, MediaWiki-extensions-Scribunto

Sep 21 2017

Rical added a comment to T176362: Implement ClassNameTests in Scribunto to enhance central modules stability.

My motivation was to check all tests cases on each re-compilation, but in new conditions for each new use in new main modules, to enhanse the stability.
My implementation compare also tables, and any types, between case.result{ } and case.expect{ }.
Lua-coders cannot check hundreds of cases after each compilation. Only automatic repeats of tests are efficient.
Functions provide(), run()... are a good guide to structure tests.
Repeat all cases and report detected errors to lua-coders in p.tests(frame) mode seems a minimum to insure a good stability for central modules.
Then I continue in my strategy, with or whithout Mediawiki.

Sep 21 2017, 5:45 PM · MediaWiki-extensions-Scribunto
Rical updated the task description for T176362: Implement ClassNameTests in Scribunto to enhance central modules stability.
Sep 21 2017, 11:04 AM · MediaWiki-extensions-Scribunto

Sep 20 2017

Rical created T176362: Implement ClassNameTests in Scribunto to enhance central modules stability.
Sep 20 2017, 8:58 PM · MediaWiki-extensions-Scribunto

Sep 16 2017

Rical added a comment to T4085: Add a {{USERLANGUAGE}}/{{USERLANG}} magic word.

Many thanks for this overview of languages.
For 2 days, I made the function form2en() dedicated to tests many functions, always in english, to increase the stability of central modules, using ClassNameTests.

Sep 16 2017, 2:05 PM · Performance, I18n, MediaWiki-Internationalization
Rical added a comment to T4085: Add a {{USERLANGUAGE}}/{{USERLANG}} magic word.

Now, the page language come from frame:preprocess("{{PAGELANGUAGE}}").
For the same reasons as the user language, the page language could use the new way to give it to Scribunto modules.

Sep 16 2017, 10:11 AM · Performance, I18n, MediaWiki-Internationalization

Sep 6 2017

Rical added a comment to T137584: Allow Scribunto code to add a category without changing output.

To delay categories at the end of the wikitext is a simple way.
If this way answer the question, is this task needed?

Sep 6 2017, 5:07 PM · MediaWiki-extensions-Scribunto
Rical added a comment to T137584: Allow Scribunto code to add a category without changing output.

To solve this question in central modules, I collect all categories in a table.
Then, just before return the wikitext, I place them after this wikitext.

Sep 6 2017, 2:52 PM · MediaWiki-extensions-Scribunto

Aug 28 2017

Rical added a comment to T173730: There is no search button in Revision history of pages.

I tried some ways to see modified history, even unattended.
A normal case is to ask that:

  1. Display the history of a page. 2) Change month/year to 2017/july.

How do you activate this change to display the new history?

Aug 28 2017, 11:28 PM · MediaWiki-History-or-Diffs

Aug 24 2017

Rical added a comment to T173730: There is no search button in Revision history of pages.

About buttons to view more diffs, you are rigth, that depends on the number of diffs.

Aug 24 2017, 12:15 PM · MediaWiki-History-or-Diffs

Aug 22 2017

Rical updated the task description for T173730: There is no search button in Revision history of pages.
Aug 22 2017, 8:30 AM · MediaWiki-History-or-Diffs

Aug 21 2017

Rical triaged T173730: There is no search button in Revision history of pages as High priority.

Is it so difficult to try to use the history of any page?
This stalled task delays its debug and that disturbs many users.

Aug 21 2017, 6:41 PM · MediaWiki-History-or-Diffs
Rical created T173730: There is no search button in Revision history of pages.
Aug 21 2017, 3:30 PM · MediaWiki-History-or-Diffs

Aug 16 2017

Rical updated the task description for T173404: Ask a summary for any change, even in discussions.
Aug 16 2017, 4:06 PM · MediaWiki-Parser
Rical created T173404: Ask a summary for any change, even in discussions.
Aug 16 2017, 9:01 AM · MediaWiki-Parser

Aug 15 2017

Rical added a comment to T4085: Add a {{USERLANGUAGE}}/{{USERLANG}} magic word.

Create a page to permit each language seems to me very strange.
Another way could be to define the basic language of the wiki on the first line.
Then, on the second line, a list of all other languages to permit.
This way could permit to administrators to easy know or change this list without long researches.

Aug 15 2017, 2:37 PM · Performance, I18n, MediaWiki-Internationalization
Rical added a comment to T4085: Add a {{USERLANGUAGE}}/{{USERLANG}} magic word.

That permit to really try the user language for central modules.
user_lang = modes.frame:preprocess( "{{int:Lang}}" )
creating https://fr.wikisource.org/wiki/MediaWiki:Lang/en
creating https://fr.wikisource.org/wiki/MediaWiki:Lang/es
creating https://fr.wikisource.org/wiki/MediaWiki:Lang/fr
also in some other wikis if needed.
Thanks

Aug 15 2017, 1:23 PM · Performance, I18n, MediaWiki-Internationalization

Aug 14 2017

Rical added a comment to T141177: Wikipedia main content losts sources because too reverts, try to preserve them.

For an easier implementation ORES provides the machine learning as a service.

Aug 14 2017, 6:17 AM · Research ideas

Aug 7 2017

Rical added a comment to T135845: Convert any module as central or centralisable.

For tests cases see details in talk Lua_reference_manual.
It seems that need a new phab task "Run tests cases in modules for Mediawiki tests cases".

Aug 7 2017, 8:14 AM · Community-Tech (2015-2017), Developer-Advocacy, MediaWiki-extensions-Scribunto

Aug 5 2017

Rical added a comment to T163923: Create Special:PageData as a canonical entry point for machine readable page data..

How to use Special:PageData? How to create them? How to read them?
Could you answer these questions in the Lua reference manual? and/or elsewhere?

Aug 5 2017, 6:40 PM · MW-1.30-release-notes (WMF-deploy-2017-06-13_(1.30.0-wmf.5)), User-notice, User-Ladsgroup, Wikidata-Former-Sprint-Board, Patch-For-Review, Wikidata, MediaWiki-Special-pages, MediaWiki-General-or-Unknown
Rical added a comment to T135845: Convert any module as central or centralisable.

The draft of Module:Central already runs recursive Test cases = groups of groups of cases.
Search "Library:testsCases".
How to permit to Mediawiki to call these recursive Tests cases?
That fails:

local testframework = require 'Module:TestFramework'
Aug 5 2017, 4:15 PM · Community-Tech (2015-2017), Developer-Advocacy, MediaWiki-extensions-Scribunto

Jul 27 2017

Rical added a comment to T63958: Use existing $dateFormats to format dates on Wikidata.

Scibunto modules need also to extract any part of the date (and/or time).
This is very difficult if the only available date is language-formated.
Then I suggest to give also to modules the ISO 8601 format.

Jul 27 2017, 11:57 AM · Patch-For-Review, I18n, Wikidata, MediaWiki-extensions-WikibaseRepository

Jul 21 2017

Rical added a comment to T133186: Add text render from OCG/wikipedia-telnet as an standard API option, similar to text (HTML) or wikitext in action=parse.

Central modules implement:
~ Modes: read, edit, doc, tests... to choose some kinds of wikitext results.
~ Options: docdata, box1, catview... to adapt details of presentations.
~ Translatable in many languages, for arguments names and organisation of results.
~ Modes, options and languages are parametrables.
They could answer these propositions...
If you choose to transpose them in MediaWiki API,
or if your use central modules as wikitext generators for a part of MediaWiki API.

Jul 21 2017, 11:43 AM · OfflineContentGenerator, MediaWiki-API
Restricted Application added a project to T140326: Phabricator task graphs need a limit on how big they draw: Release-Engineering-Team (Kanban).
Jul 21 2017, 9:49 AM · RelEng-Archive-FY201718-Q1, Upstream, Phabricator (Upstream)
Restricted Application added a project to T137713: Discover TemplateData at Wikimania 2016's Hackathon: User-Ryasmeen.
Jul 21 2017, 9:48 AM · User-Ryasmeen, Community-Relations-Support (Apr-Jun-2016), Wikimania-Hackathon-2016, Citoid, VisualEditor-MediaWiki-References, VisualEditor
Restricted Application updated subscribers of T111494: BadMethodCallException on history of a Flow page.
Jul 21 2017, 9:39 AM · WorkType-NewFunctionality, WMF-deploy-2015-09-15_(1.26wmf23), WMF-deploy-2015-09-08_(1.26wmf22), WMF-deploy-2015-09-01_(1.26wmf21), Patch-For-Review, Collaboration-Team-Archive-2015-2016, Wikimedia-production-error, StructuredDiscussions
Restricted Application added a project to T59656: Special:ItemDisambiguation ranking: User-Addshore.
Jul 21 2017, 9:36 AM · User-Addshore, Wikidata-Sprint-2015-06-16, Wikidata, MediaWiki-extensions-WikibaseRepository

Jul 16 2017

Rical added a comment to T149532: Why Multi-Content-Revisions? Use cases and requirements..

To debug Mediawiki, developers need the version of MW when a bug appeared. But that in not so easy with a deployment at several times for some projects and sometime sub versions changing faster than a day.
Then I began for 5 months to manually record MW versions in this draft of central module, search "monitor_MW_Versions".
For 5 months I searched how to automatize that.
This task is probably an answer: some Scribunto modules often used could record any unknown version in a Special:PageData see T168726#3377055.
Then this dedicated page is read many times, but writed only once when the MW version change.

Jul 16 2017, 2:59 PM · MediaWiki-Page-editing, MediaWiki-ContentHandler, Wikidata, Wikimedia-Developer-Summit (2017)

Jun 25 2017

Rical added a comment to T168726: Create syntax documentation page for Special:PageData.

Are PageData interactive? Any modules can read them.
But some modules could update statistics in them, or could list called pages for 3 days.
Some modules could register their versions to help Lua coders to manage modules versions and their use.

Jun 25 2017, 4:46 PM · Documentation, MediaWiki-Special-pages

Jun 20 2017

Rical added a comment to T163923: Create Special:PageData as a canonical entry point for machine readable page data..

Given the large number of applications, a coding convention seems desirable in the PageData pages.
The usual standards could be a coding convention including JS, Lua ... where some eventual wikicode can be inside values.
Do we need a coding convention, limited but extensible, and discussions to extend it?

Jun 20 2017, 8:13 AM · MW-1.30-release-notes (WMF-deploy-2017-06-13_(1.30.0-wmf.5)), User-notice, User-Ladsgroup, Wikidata-Former-Sprint-Board, Patch-For-Review, Wikidata, MediaWiki-Special-pages, MediaWiki-General-or-Unknown

May 24 2017

Rical added a comment to T166202: Strings defined as long comments give a Lua modules syntax error.

Sorry and thanks! My brain don't seen my mistake.

May 24 2017, 5:47 PM · MediaWiki-extensions-Scribunto
Rical created T166202: Strings defined as long comments give a Lua modules syntax error.
May 24 2017, 8:06 AM · MediaWiki-extensions-Scribunto

May 22 2017

Rical added a comment to T63958: Use existing $dateFormats to format dates on Wikidata.

Central modules will need some date formats inside one module:
for content, page and user languages, see T135845
and to display categories in user language and link them in wiki language, see T68051.

May 22 2017, 11:21 AM · Patch-For-Review, I18n, Wikidata, MediaWiki-extensions-WikibaseRepository

May 19 2017

Rical added a comment to T121470: Central Global Repository for Templates, Lua modules, and Gadgets.

How to name this Central Global Repository ? Central ? Global ?
With which short name? c ?

May 19 2017, 8:38 PM · Language-strategy, Core Platform Team Backlog (Watching / External), Community-Tech (2015-2017), Epic, Wikimedia-General-or-Unknown, Category, Community-Wishlist-Survey-2015

May 17 2017

FNDE awarded T156048: Add syntax highlighting to wiki diff of source code pages (like Gerrit) a Like token.
May 17 2017, 9:32 PM · Wikimedia-Hackathon-2017, MediaWiki-User-preferences, Accessibility, MediaWiki-History-or-Diffs, Developer-Wishlist (2017)

May 11 2017

Rical added a comment to T163974: MediaWiki 1.29.0-wmf.21 breaks JavaScript collapsing ({{boîte déroulante}}) on fr.wikisource for some users.

Many thanks! Dropboxes are rigth.

May 11 2017, 5:12 PM · JavaScript, Wikimedia-General-or-Unknown
Rical added a comment to T165000: The version date of MW 1.29.0-wmf.21 (d6c07d1) is in the future !.

I well understand what you say, then this case seems more strange. I am aware time zones and in Ubuntu I easy see times in Los Angeles, UTC, Paris (me) and Saigon.
Also when I seen what I say, I first doubt about myself, then I verified at least 4 times from 00:20 to 00:48 : at my first look at, when I recorded the version time, when I created this task and just before submit it.

May 11 2017, 4:58 PM
Rical added a comment to T165000: The version date of MW 1.29.0-wmf.21 (d6c07d1) is in the future !.

You are rigth when you ask an accurate version to locate a bug, but after each deployment, MediaWiki itself don't answer this question!
For this reason I suggest to automatise it.

May 11 2017, 3:43 PM
Rical created T165000: The version date of MW 1.29.0-wmf.21 (d6c07d1) is in the future !.
May 11 2017, 12:48 AM
Rical added a comment to T163974: MediaWiki 1.29.0-wmf.21 breaks JavaScript collapsing ({{boîte déroulante}}) on fr.wikisource for some users.

Today, this bug continue in mediawiki 1.29.0-wmf.21 (d6c07d1). You can see an exemple in my user page not changed for November 2015‎ has you can see in the Revision history of "Utilisateur:Rical".

May 11 2017, 12:16 AM · JavaScript, Wikimedia-General-or-Unknown

May 8 2017

Rical updated subscribers of T164559: In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature.
May 8 2017, 10:00 PM · Readers-Web-Backlog, Page-Previews
Rical added a comment to T164559: In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature.

Today, and waiting 20 to 30 seconds after activation in my case, the Popups gadget or the feature run as expected in wikipedia and wikisource. This delay explains perhaps my tests results and depend probably of the charge of servers.

May 8 2017, 9:57 PM · Readers-Web-Backlog, Page-Previews

May 7 2017

Rical renamed T164559: In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature from In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) the Popups gadget and the Hovercards Beta Feature do not work to In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature.
May 7 2017, 8:00 PM · Readers-Web-Backlog, Page-Previews

May 5 2017

Rical renamed T164559: In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature from MediaWiki 1.29.0-wmf.21 (29800e6) don't use Popups gadget and beta in fr.wikipedia to In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) the Popups gadget and the Hovercards Beta Feature do not work.
May 5 2017, 3:03 PM · Readers-Web-Backlog, Page-Previews
Rical created T164559: In fr.wikipedia MW 1.29.0-wmf.21 (29800e6) do not show the right Popups gadget nor the Hovercards Beta Feature.
May 5 2017, 7:41 AM · Readers-Web-Backlog, Page-Previews

Apr 29 2017

Rical added a comment to T163974: MediaWiki 1.29.0-wmf.21 breaks JavaScript collapsing ({{boîte déroulante}}) on fr.wikisource for some users.

My test case is in the central module Module:Central-s-fr. See also T104109 if the size of code could explain this case (1.2 Mo of code on disc, and 980 ko of resulting content in html).
At any time you can edit and preview this page. (but not record to not disturb my job.)

Apr 29 2017, 12:37 PM · JavaScript, Wikimedia-General-or-Unknown