Go to file
Brad Jorsch adb7b5f939 Make pairs() work with various library objects
Users are reporting disappointment that using pairs on title objects
doesn't let them see the fields available. It's easy enough to add a
__pairs metamethod to allow pairs to work on title objects, so let's do
that.

The same can be done for mw.uri objects.

For mw.message objects, we can easily enough change the implementation
to be like mw.language objects, which doesn't have this problem.

For mw.site.stats, we may as well just remove the load-on-demand feature
since it will be demanded as soon as the environment is cloned for the
first module.

Change-Id: Ie5a3b5684b2bb6c090f9994baa03977687688929
2013-04-02 17:23:42 +00:00
common Merge "Add text module" 2013-03-27 16:55:07 +00:00
engines Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
modules (bug 45887) Improve error popup discoverability 2013-03-08 11:16:26 -05:00
tests/engines Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
.gitignore Lua ustring implementation 2013-02-12 14:26:29 -05:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
Scribunto.i18n.php Localisation updates from http://translatewiki.net. 2013-03-31 18:53:49 +00:00
Scribunto.magic.php Localisation updates from http://translatewiki.net. 2013-03-06 21:56:46 +00:00
Scribunto.namespaces.php Add namespace translations for 'ilo' 2013-03-27 11:17:26 +01:00
Scribunto.php Merge "Add text module" 2013-03-27 16:55:07 +00:00