mediawiki-extensions-Scribunto/tests/engines/LuaSandbox
Brad Jorsch db07787390 Cleanup backwards-compatibility code
https://www.mediawiki.org/wiki/Extension:Scribunto says that master
requires 1.25+, so let's remove checks for stuff that was added before
that.

* PPFrame::getTTL() was in 1.24.
* PPFrame::setTTL() was in 1.24.
* PPFrame::isVolatile() was in 1.24.
* Parser::fetchCurrentRevisionOfTitle() was in 1.24.
* ObjectCache::getLocalServerInstance() was added in 1.27, so restore the call to ObjectCache::newAccelerator() as BC.

This also removes BC with the php-luasandbox extension older than 1.6, which
was released before MediaWiki 1.22.

Bug: T148012
Change-Id: I36e37f3b65d0f167e1d28b00e0842d9721feee31
2016-10-13 11:07:44 -04:00
..
LuaSandboxInterpreterTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
SandboxTest.php Cleanup backwards-compatibility code 2016-10-13 11:07:44 -04:00
SandboxTests.lua Refactor unit tests 2013-01-09 15:54:25 +00:00