Raimond Spekking has submitted this change and it was merged.
Change subject: Add namespace aliases for mzn
......................................................................
Add namespace aliases for mzn
Change-Id: I871fd627e7d3d492daae3f608453cf0df2330695
---
M Scribunto.namespaces.php
M tests/engines/LuaCommon/LuaInterpreterTest.php
2 files changed, 6 insertions(+), 1 deletion(-)
Approvals:
Raimond Spekking: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/Scribunto.namespaces.php b/Scribunto.namespaces.php
index 0b88612..87e4719 100644
--- a/Scribunto.namespaces.php
+++ b/Scribunto.namespaces.php
@@ -236,6 +236,11 @@
828 => 'Modul',
);
+$namespaceNames['mzn'] = array(
+ 828 => 'ماژول',
+ 829 => 'ماژول_گپ',
+);
+
$namespaceNames['nb'] = array(
828 => 'Modul',
829 => 'Moduldiskusjon',
diff --git a/tests/engines/LuaCommon/LuaInterpreterTest.php
b/tests/engines/LuaCommon/LuaInterpreterTest.php
index 7b4bf20..05519e7 100644
--- a/tests/engines/LuaCommon/LuaInterpreterTest.php
+++ b/tests/engines/LuaCommon/LuaInterpreterTest.php
@@ -116,7 +116,7 @@
$this->markTestSkipped( "Darwin is lacking POSIX timer,
skipping CPU time limiting test." );
}
- $interpreter = $this->newInterpreter( array( 'cpuLimit' => 1 )
);
+ $interpreter = $this->newInterpreter( array( 'cpuLimit' => 2 )
);
$chunk = $this->getBusyLoop( $interpreter );
try {
$interpreter->callFunction( $chunk, 1e9 );
--
To view, visit https://gerrit.wikimedia.org/r/205260
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I871fd627e7d3d492daae3f608453cf0df2330695
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Mjbmr <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: Mjbmr <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits