Page MenuHomePhabricator

LuaSandboxComponent
ActivePublic

Details

Description

LuaSandbox is a PHP extension that allows executing Lua code in a safe and secure method.

It's primary use is to power Scribunto.

In Gerrit: mediawiki/php/luasandbox

Recent Activity

Sep 20 2024

larissagaulia moved T277063: Improve CI for PECL packages from Within 2 Qs to Backlog: non-prioritized on the MediaWiki-Platform-Team board.
Sep 20 2024, 11:13 AM · Developer Productivity, MediaWiki-Platform-Team, Excimer, LuaSandbox, Continuous-Integration-Config

Sep 19 2024

MSantos moved T373099: Support transclusion expansion time report with Parsoid parser from Needs Triage to Missing Functionality on the Parsoid board.
Sep 19 2024, 2:30 PM · LuaSandbox, Parsoid-Read-Views, Parsoid

Sep 17 2024

pmiazga moved T277063: Improve CI for PECL packages from Inbox, needs triage to Within 2 Qs on the MediaWiki-Platform-Team board.
Sep 17 2024, 3:56 PM · Developer Productivity, MediaWiki-Platform-Team, Excimer, LuaSandbox, Continuous-Integration-Config

Sep 15 2024

Krinkle added a project to T277063: Improve CI for PECL packages: Developer Productivity.
Sep 15 2024, 5:38 AM · Developer Productivity, MediaWiki-Platform-Team, Excimer, LuaSandbox, Continuous-Integration-Config

Sep 14 2024

Restricted Application added a project to T277063: Improve CI for PECL packages: MediaWiki-Platform-Team.
Sep 14 2024, 10:09 PM · Developer Productivity, MediaWiki-Platform-Team, Excimer, LuaSandbox, Continuous-Integration-Config

Aug 22 2024

RolandUnger created T373099: Support transclusion expansion time report with Parsoid parser.
Aug 22 2024, 12:19 PM · LuaSandbox, Parsoid-Read-Views, Parsoid

Jun 14 2024

Pppery reassigned T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false from Pppery to Theknightwho.
Jun 14 2024, 4:37 PM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
Pppery closed T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false as Resolved.
Jun 14 2024, 4:37 PM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto

May 24 2024

ReleaseTaggerBot added a project to T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false: MW-1.43-notes (1.43.0-wmf.7; 2024-05-28).
May 24 2024, 3:00 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
Maintenance_bot removed a project from T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false: Patch-For-Review.
May 24 2024, 2:30 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
gerritbot added a comment to T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.

Change #1030568 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@master] Avoid modules that should return `false` wrongly returning `true`

https://gerrit.wikimedia.org/r/1030568

May 24 2024, 2:10 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto

May 16 2024

MidnightLG added a comment to T178146: Add support for a newer Lua version than Lua 5.1 to luasandbox.
May 16 2024, 10:02 AM · LuaSandbox, Scribunto

May 11 2024

gerritbot added a project to T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false: Patch-For-Review.
May 11 2024, 8:20 PM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
gerritbot added a comment to T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.

Change #1030568 had a related patch set uploaded (by Theknightwho; author: Theknightwho):

[mediawiki/extensions/Scribunto@master] Avoid modules that should return `false` wrongly returning `true`

https://gerrit.wikimedia.org/r/1030568

May 11 2024, 8:20 PM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto

Apr 14 2024

Theknightwho updated the task description for T362487: mw.clone fails to preserve the identities of tables which have been set as keys.
Apr 14 2024, 12:52 PM · LuaSandbox, Scribunto
Theknightwho updated the task description for T362487: mw.clone fails to preserve the identities of tables which have been set as keys.
Apr 14 2024, 12:52 PM · LuaSandbox, Scribunto
Theknightwho updated the task description for T362487: mw.clone fails to preserve the identities of tables which have been set as keys.
Apr 14 2024, 12:46 PM · LuaSandbox, Scribunto
Theknightwho updated the task description for T362487: mw.clone fails to preserve the identities of tables which have been set as keys.
Apr 14 2024, 12:44 PM · LuaSandbox, Scribunto
Theknightwho created T362487: mw.clone fails to preserve the identities of tables which have been set as keys.
Apr 14 2024, 12:43 PM · LuaSandbox, Scribunto

Apr 8 2024

Theknightwho updated the task description for T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.
Apr 8 2024, 9:27 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
Theknightwho updated the task description for T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.
Apr 8 2024, 9:01 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
Theknightwho updated the task description for T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.
Apr 8 2024, 8:47 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto
Theknightwho created T362045: Lua (Scribunto): require incorrectly returns true when a module has a return value of false.
Apr 8 2024, 8:46 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Scribunto

Mar 29 2024

hashar closed T188482: Test against PHP extensions in 32-bit as Declined.
Mar 29 2024, 3:03 PM · wikidiff2, LuaSandbox, Continuous-Integration-Infrastructure

Mar 28 2024

tstarling closed T349462: Run Lua garbage collector prior to LuaSandbox OOM as Resolved.

Anything left to do here?

Mar 28 2024, 1:31 AM · LuaSandbox
Pppery added a comment to T349462: Run Lua garbage collector prior to LuaSandbox OOM.

Anything left to do here?

Mar 28 2024, 1:01 AM · LuaSandbox

Mar 19 2024

tstarling added a watcher for LuaSandbox: tstarling.
Mar 19 2024, 4:07 AM

Jan 1 2024

Aklapper changed the status of T178146: Add support for a newer Lua version than Lua 5.1 to luasandbox from Stalled to Open.
Jan 1 2024, 4:16 PM · LuaSandbox, Scribunto

Dec 20 2023

Maintenance_bot removed a project from T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: Patch-For-Review.
Dec 20 2023, 1:30 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984184 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@REL1_41] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984184

Dec 20 2023, 12:54 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto

Dec 19 2023

gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984306 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@REL1_39] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984306

Dec 19 2023, 10:07 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984185 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@REL1_40] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984185

Dec 19 2023, 10:01 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Reedy closed T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict as Resolved.
Dec 19 2023, 9:58 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984306 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Scribunto@REL1_39] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984306

Dec 19 2023, 9:45 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984185 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Scribunto@REL1_40] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984185

Dec 19 2023, 9:45 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a project to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: Patch-For-Review.
Dec 19 2023, 9:45 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 984184 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Scribunto@REL1_41] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/984184

Dec 19 2023, 9:45 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Theknightwho added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Thanks for the quick turnaround.

Dec 19 2023, 3:34 AM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Maintenance_bot removed a project from T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: Patch-For-Review.
Dec 19 2023, 3:30 AM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
ReleaseTaggerBot added a project to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: MW-1.42-notes (1.42.0-wmf.12; 2024-01-02).
Dec 19 2023, 3:00 AM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 983954 merged by jenkins-bot:

[mediawiki/extensions/Scribunto@master] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/983954

Dec 19 2023, 2:53 AM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto

Dec 18 2023

gerritbot added a project to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: Patch-For-Review.
Dec 18 2023, 11:46 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
gerritbot added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

Change 983954 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Scribunto@master] LuaBit: Minor cleanup

https://gerrit.wikimedia.org/r/983954

Dec 18 2023, 11:46 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Reedy added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

rELUA307a5b1be89c: Clean up lualibs seemingly tried to do some of this too...

Dec 18 2023, 11:42 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Reedy added a project to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict: Upstream.

I note these are technically 3rd party libraries. Luaforge seems to be gone these days, so I suspect our versions are now forks...

Dec 18 2023, 11:40 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Reedy added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Scribunto/+/refs/heads/master/includes/Engines/LuaCommon/lualib/luabit/hex.lua

Dec 18 2023, 11:35 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Izno added a comment to T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.

The hex library? Can you point to the relevant documentation in the reference manual? https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual

Dec 18 2023, 10:00 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto
Theknightwho created T353678: Scribunto hex library uses unnecessary global variables - incompatible with strict.
Dec 18 2023, 9:55 PM · MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Upstream, LuaSandbox, Scribunto

Dec 11 2023

Maintenance_bot removed a project from T349462: Run Lua garbage collector prior to LuaSandbox OOM: Patch-For-Review.
Dec 11 2023, 11:10 PM · LuaSandbox
gerritbot added a comment to T349462: Run Lua garbage collector prior to LuaSandbox OOM.

Change 968011 merged by jenkins-bot:

[mediawiki/php/luasandbox@master] Run the GC more aggressively, especially as usage approaches the limit

https://gerrit.wikimedia.org/r/968011

Dec 11 2023, 10:49 PM · LuaSandbox
  NODES
Note 35
Project 15