Page MenuHomePhabricator

MediaWiki-extensions-LuaComponent
ArchivedPublic

Details

Description

This is *NOT* the extension used by Wikimedia projects. That's Scribunto.

Recent Activity

Mar 31 2020

Pppery archived MediaWiki-extensions-Lua.
Mar 31 2020, 6:35 PM

Jul 27 2017

Johan moved T170039: Pages display Lua error in mw.wikibase.entity.lua from Announce in next Tech/News to In current Tech/News draft on the User-notice board.
Jul 27 2017, 12:42 PM · User-notice-archive, Wikidata-Former-Sprint-Board, Scribunto, MediaWiki-Parser, MediaWiki-extensions-Wikibase-Client, Wikidata
PokestarFan added a project to T170039: Pages display Lua error in mw.wikibase.entity.lua: MediaWiki-extensions-Lua.

You forgot to add Lua!

Jul 27 2017, 3:54 AM · User-notice-archive, Wikidata-Former-Sprint-Board, Scribunto, MediaWiki-Parser, MediaWiki-extensions-Wikibase-Client, Wikidata

Oct 31 2016

Yewnyx updated the task description for T149552: mediawiki-php-luasandbox produces broken build artifact for HHVM on CentOS.
Oct 31 2016, 8:39 AM · HHVM, LuaSandbox
Yewnyx created T149552: mediawiki-php-luasandbox produces broken build artifact for HHVM on CentOS.
Oct 31 2016, 8:30 AM · HHVM, LuaSandbox

Oct 16 2016

Od1n created T148313: Put wrapped data in mw.loadData cache.
Oct 16 2016, 3:32 AM · Performance Issue, Scribunto

Sep 16 2016

IKhitron renamed T145865: Ignore RTL on Javascript and Lua contentmodels preview diffs from Ignore RTL on Javascript and Lua contentmodels version diffs to Ignore RTL on Javascript and Lua contentmodels preview diffs.
Sep 16 2016, 1:43 PM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Page-diffs, RTL, I18n
IKhitron reopened T145865: Ignore RTL on Javascript and Lua contentmodels preview diffs as "Open".

Well, @eranroz, here is the screenshot:

Untitled.jpg (869×1 px, 237 KB)

The problem is in preview diff, not history diff.

Sep 16 2016, 1:43 PM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Page-diffs, RTL, I18n
IKhitron closed T145865: Ignore RTL on Javascript and Lua contentmodels preview diffs as Invalid.

Hi. You are right in your examples. Possibly it was some glitch or some conditions should exists, maybe even in revisions slider. It was all rtl, in many diffs and many pages. I'll close this task, @eranroz, and if I'll see this again, I"ll create a screenshot.

Sep 16 2016, 1:37 PM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Page-diffs, RTL, I18n
eranroz added a comment to T145865: Ignore RTL on Javascript and Lua contentmodels preview diffs.

Please clarify. For Lua pages I see LTR directionality in diffs:
https://he.wikipedia.org/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%AA%D7%91%D7%A0%D7%99%D7%AA_%D7%9E%D7%99%D7%93%D7%A2&curid=1241947&diff=19266710&oldid=19239873

Sep 16 2016, 1:30 PM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Page-diffs, RTL, I18n
IKhitron created T145865: Ignore RTL on Javascript and Lua contentmodels preview diffs.
Sep 16 2016, 11:54 AM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Page-diffs, RTL, I18n

Jul 15 2016

Swpb renamed T140489: Lua templates invoke modules/parser functions from pages that are transcluded as arguments from Lua templates invoke modules from pages that are transcluded as arguments to Lua templates invoke modules/parser functions from pages that are transcluded as arguments.
Jul 15 2016, 6:21 PM · Scribunto
Swpb created T140489: Lua templates invoke modules/parser functions from pages that are transcluded as arguments.
Jul 15 2016, 6:19 PM · Scribunto

Jun 13 2016

Multichill added a comment to T137640: Learning Lua.

Perhaps such sessions could be created on other cool but knowledge requiring things we have now? Like SPARQL queries.

Jun 13 2016, 8:17 PM · Scribunto, Wikimania-Hackathon-2016
Multichill added a project to T137640: Learning Lua: MediaWiki-extensions-Lua.
Jun 13 2016, 8:07 PM · Scribunto, Wikimania-Hackathon-2016

Jun 10 2016

Yurik created T137584: Allow Scribunto code to add a category without changing output.
Jun 10 2016, 5:50 PM · Patch-Needs-Improvement, MediaWiki CodeJam Dec 2023, Platform Engineering, Scribunto

May 7 2016

IKhitron created T134660: Lua DISPLAYTITLE precondition predicate.
May 7 2016, 5:17 PM · Scribunto, MediaWiki-General

Nov 27 2015

MrStradivarius added a member for MediaWiki-extensions-Lua: MrStradivarius.
Nov 27 2015, 7:27 AM

Nov 26 2015

Quiddity created T119735: mw.wikibase.getEntity(nil) returns an entity object on Flow page preview, but nil on page save.
Nov 26 2015, 6:39 PM · Growth-Team-Filtering, Growth-Team, Wikibase-Lua, Wikidata, MediaWiki-extensions-Wikibase-Client, Scribunto, StructuredDiscussions

Jul 27 2015

Jdlrobson created T107073: Cannot edit certain pages (non-existent pages) due to lua error.
Jul 27 2015, 7:25 PM · Scribunto, Web-Team-Backlog-Archived

Jul 18 2015

Aklapper renamed T106207: Lua error in Module:Fallback: ""attempt to index a nil value"" from Lua error in Module:Fallback to Lua error in Module:Fallback: ""attempt to index a nil value"".
Jul 18 2015, 12:32 PM · Scribunto, Commons

Jul 15 2015

Anomie added a comment to T105754: Lua is eating the number 2 when ending mw.text.trim(mw.ustring.gsub()).

If this is a normal code injection it stays surprising to get a second parameter into mw.text.trim(parameter1).

Jul 15 2015, 12:32 AM · Scribunto

Jul 14 2015

Jackmcbarn added a comment to T105754: Lua is eating the number 2 when ending mw.text.trim(mw.ustring.gsub()).

gsub returns 2 values and trim takes 2 parameters. It would be surprising if it threw the second one away for no good reason.

Jul 14 2015, 4:18 PM · Scribunto
JackPotte added a comment to T105754: Lua is eating the number 2 when ending mw.text.trim(mw.ustring.gsub()).

If this is a normal code injection it stays surprising to get a second parameter into mw.text.trim(parameter1).

Jul 14 2015, 1:20 PM · Scribunto

Jul 13 2015

Anomie closed T105754: Lua is eating the number 2 when ending mw.text.trim(mw.ustring.gsub()) as Invalid.

mw.ustring.gsub returns two values: the string, and the total number of matches. In this case, "S'initier au boulier en 10 leçons/Leçon 2" and 2.

Jul 13 2015, 11:53 PM · Scribunto
JackPotte created T105754: Lua is eating the number 2 when ending mw.text.trim(mw.ustring.gsub()).
Jul 13 2015, 10:34 PM · Scribunto

May 18 2015

Yurik updated subscribers of T99489: Possibility to make API calls from Lua scripts.
May 18 2015, 9:33 AM · MediaWiki-extensions-Graph, Scribunto
Yurik added a comment to T99489: Possibility to make API calls from Lua scripts.

I presume this is the same issue I proposed earlier - to allow forvarious readonly api.php?action=query and similar. Are there any specific API calls that should not be allowed this way?

May 18 2015, 9:32 AM · MediaWiki-extensions-Graph, Scribunto
Bawolff added a comment to T99489: Possibility to make API calls from Lua scripts.

I do not think this should actually make external api calls. It should do internal api calls. (Although last I heard there were some issues with $wgParser recursion when doing that sort of thing during a parse. Not sure if that's fixed)

May 18 2015, 5:54 AM · MediaWiki-extensions-Graph, Scribunto
Gerardduenas updated subscribers of T99489: Possibility to make API calls from Lua scripts.
May 18 2015, 5:36 AM · MediaWiki-extensions-Graph, Scribunto
Gerardduenas updated the task description for T99489: Possibility to make API calls from Lua scripts.
May 18 2015, 5:34 AM · MediaWiki-extensions-Graph, Scribunto
Gerardduenas set Security to default on T99489: Possibility to make API calls from Lua scripts.
May 18 2015, 5:27 AM · MediaWiki-extensions-Graph, Scribunto
Gerardduenas created T99489: Possibility to make API calls from Lua scripts.
May 18 2015, 5:27 AM · MediaWiki-extensions-Graph, Scribunto

May 15 2015

Lydia_Pintscher closed T99120: Wikidata page shows "Lua error: not enough memory" as Declined.

Thanks for the report. This needs to be fixed on-wiki in the Lua module.

May 15 2015, 1:13 PM · Scribunto, Wikidata

May 14 2015

aude updated subscribers of T99120: Wikidata page shows "Lua error: not enough memory".
May 14 2015, 10:20 PM · Scribunto, Wikidata
aude added a comment to T99120: Wikidata page shows "Lua error: not enough memory".

I took a look at the lua module that is ultimately used here.

May 14 2015, 10:17 PM · Scribunto, Wikidata
Ijon created T99120: Wikidata page shows "Lua error: not enough memory".
May 14 2015, 7:38 PM · Scribunto, Wikidata

Apr 28 2015

Harej created T97419: Issues when transcluding a template that invokes a randomizing Lua module.
Apr 28 2015, 3:39 PM · Scribunto

Apr 4 2015

Josve05a added a comment to T95071: Module not recognised as such when moved from non-Module namespace.

The problem was that it interpreted it as "wikitext" and not "scribunto" since it was moved from userspace to module-space. This should have been changed upon the move. A deletion of the page and recreation was neeeded to fix it.

Apr 4 2015, 3:17 PM · MediaWiki-ContentHandler, Scribunto
Josve05a added a comment to T95071: Module not recognised as such when moved from non-Module namespace.

The same code in https://sv.wikipedia.org/wiki/Modul:Sandl%C3%A5dan/Huon and https://sv.wikipedia.org/wiki/Modul:Break2 are working, with no differences. So why is there something wrong with just this page?

Apr 4 2015, 4:13 AM · MediaWiki-ContentHandler, Scribunto
Josve05a created T95071: Module not recognised as such when moved from non-Module namespace.
Apr 4 2015, 1:10 AM · MediaWiki-ContentHandler, Scribunto

Feb 21 2015

Mjbmr created T90346: Add support for getting category members using Lua.
Feb 21 2015, 2:03 PM · Scribunto

Dec 29 2014

gpaumier added a comment to T85461: Lua error: too many language codes requested.

See also https://www.mediawiki.org/wiki/Extension_talk:Scribunto/Lua_reference_manual#Lua_error:_too_many_language_codes_requested.

Dec 29 2014, 7:03 PM · Scribunto
Elitre created T85461: Lua error: too many language codes requested.
Dec 29 2014, 6:23 PM · Scribunto

Nov 22 2014

Reedy added a comment to T66421: Allow to import modules from Wikidata/other chapter per require().
  • This bug has been marked as a duplicate of bug 50329 ***
Nov 22 2014, 3:21 AM · Scribunto
bzimport added a project to T66421: Allow to import modules from Wikidata/other chapter per require(): MediaWiki-extensions-Lua.
Nov 22 2014, 3:21 AM · Scribunto