Commit graph

7 commits

Author SHA1 Message Date
Translation updater bot 986f8cbaed Localisation updates from http://translatewiki.net.
Change-Id: I85b3eb670a7b3c00752e263950b62aa951f01b1b
2012-07-02 22:01:26 +00:00
Siebrand Mazeland 844cf4e73e Add file header.
Change-Id: I4dc3ee7b4533a5b86baf023a798f9fe584f13497
2012-07-02 23:41:14 +02:00
Derk-Jan Hartman 253e36fff5 Don't use php shorttags, because not everyone has them enabled.
Change-Id: Ia6c992d32af25932fd3d91c970058849f1766e9e
2012-07-02 23:15:26 +02:00
Translation updater bot 9080ece112 Localisation updates from http://translatewiki.net.
Change-Id: I5ffed16964243ae072dc609e305e2f1bf5389e70
2012-07-01 14:14:36 +00:00
Translation updater bot 82d2d88ab0 Localisation updates from http://translatewiki.net.
Change-Id: If376578dc926e6aaef83b282b2ae7b442d1c1f75
2012-06-30 11:37:45 +00:00
Tim Starling 6bc11ff615 New parser interface
* Implemented the new parser interface based on a frame object, as
  described in the design document and wikitech-l.
* Added parser tests for the new interface.
* Removed {{script:}} parser function
* Allow named parameters to {{#invoke:}}
* Don't trim the return value
* If a function invoked by #invoke returns multiple values, concatenate
  them into a single string.
* If there is an error during parse, show the error message as an HTML
  comment as well as via JavaScript. This makes parser test construction
  easier, and probably makes debugging easier also.
* Rename mw_internal to mw_php to clarify its role. It is now strictly a
  private Lua -> PHP interface function table.
* Protect mw.setup() against multiple invocation.
* Fixed a bug in Scribunto_LuaStandaloneInterpreter::receiveMessage():
  large packets caused fread() to return with less than the requested
  amount of data, which previously caused an exception. It's necessary
  to check for EOF and to repeat the read to get all data. The receive
  function on the Lua side does not suffer from this problem.
* In the standalone engine, fixed a bug in the interpretation of null
  return values from PHP callbacks. This should return no values to Lua.
* Updated the Lua unit tests to account for the fact that functions are
  now forced to return strings.
* Updated the getfenv and setfenv tests to account for the extra stack
  level introduced by mw.executeFunction().

Change-Id: If8fdecdfc91ebe7bd4b1dae8489ccbdeb6bbf5ce
2012-05-22 14:18:49 +10:00
Tim Starling a1e4c450cb File moves for extension rename, and removed unused directory 2012-04-06 05:06:27 +00:00
Renamed from Scripting.magic.php (Browse further)