Commit graph

224 commits

Author SHA1 Message Date
Translation updater bot 4d186cb231 Localisation updates from http://translatewiki.net.
Change-Id: I18b1f823cc321d92e778e5f35a36b95941ddb99d
2013-04-03 19:50:56 +00:00
Translation updater bot 2a1e1b57a3 Localisation updates from http://translatewiki.net.
Change-Id: Iabf82ced63c5325a494d86f5c13f63a9a0a897f1
2013-04-02 19:11:18 +00:00
Translation updater bot 9e6d0848ee Localisation updates from http://translatewiki.net.
Change-Id: Id3a7ec403c9a6cfc922c3a59323bd520bdbc88a8
2013-03-31 18:53:49 +00:00
Translation updater bot f1849c00b9 Localisation updates from http://translatewiki.net.
Change-Id: If0264b66c1cb7e4c2e534303168abf6e3bc50814
2013-03-29 20:43:34 +00:00
Translation updater bot 45cda698ec Localisation updates from http://translatewiki.net.
Change-Id: I98fa964e241d1beb7285f3f369e9bb25399dfa05
2013-03-27 21:02:34 +00:00
Translation updater bot 9dc2e235a3 Localisation updates from http://translatewiki.net.
Change-Id: I5d640a256f44ecc3e1a8170f0de615d980882d23
2013-03-25 20:08:50 +00:00
Translation updater bot 3ce106223a Localisation updates from http://translatewiki.net.
Change-Id: I2b8a67f17c14f82f2071253b41278919f527fde2
2013-03-21 22:42:59 +00:00
Translation updater bot c4e94724b8 Localisation updates from http://translatewiki.net.
Change-Id: I279639ebbc3c50a81a385986d9eb1ed06de025ee
2013-03-20 20:57:59 +00:00
Translation updater bot 5e930029e7 Localisation updates from http://translatewiki.net.
Change-Id: I805dc4c37b58aa5ad14f8511bf1e54e9ca0d3af2
2013-03-19 21:44:02 +00:00
Translation updater bot 300fc07ff0 Localisation updates from http://translatewiki.net.
Change-Id: I3d1c6ddbd23c90c88b7068fcd3c3dee2bc9286fb
2013-03-18 21:07:57 +00:00
Translation updater bot 1c7d72809c Localisation updates from http://translatewiki.net.
Change-Id: Ib0c5d00a229104882fb9e4ac5267163d2b4bcde6
2013-03-17 20:57:06 +00:00
Translation updater bot 850320573e Localisation updates from http://translatewiki.net.
Change-Id: I3cae8cb00516da8831b40396f3b73aca12c17642
2013-03-16 21:30:35 +00:00
Translation updater bot fb5ac6492b Localisation updates from http://translatewiki.net.
Change-Id: I31fe8a7647fdf54314d3e05cc3dcdb40ee274cb0
2013-03-15 20:03:25 +00:00
Translation updater bot 198829a006 Localisation updates from http://translatewiki.net.
Change-Id: I417641df59d0535a593b3712d2772de0f5c0f628
2013-03-14 20:48:51 +00:00
Demon 7fca5c1dbe Merge "(bug 45845) Allow for docs at non-subpages" 2013-03-13 22:37:16 +00:00
Translation updater bot fef33ba6db Localisation updates from http://translatewiki.net.
Change-Id: I128c1f7f8a33d2f68be6f91153ea0c2f0cefb0c0
2013-03-13 21:15:34 +00:00
Translation updater bot d892725a98 Localisation updates from http://translatewiki.net.
Change-Id: I034d644ee7e49951763bb61d4ca6086dd65d9ce1
2013-03-12 21:17:52 +00:00
Brad Jorsch ded331ddc9 (bug 45845) Allow for docs at non-subpages
It has been claimed that some wiki might want to place module
documentation at a location other than as a subpage of the module, for
example under "Project:Module documentation/$1". It's possible to
support this, so we may as well.

This also involves renaming the "scribunto-doc-subpage-*" messages to
"scribunto-doc-page-*", since the interpretation of
scribunto-doc-subpage-name would be drastically changed.

Note that any wiki that has customized scribunto-doc-subpage-name will
need to re-customize scribunto-doc-page-name, the old value will not be
transferred.

Bug: 45845
Change-Id: Ic453561691e04b5250d219cc7d871c17e60b9912
2013-03-12 14:33:40 -04:00
Translation updater bot 4822d97ec4 Localisation updates from http://translatewiki.net.
Change-Id: I05fefa28e6a00068ce8d525f0059c34ee91b737c
2013-03-10 21:40:17 +00:00
Translation updater bot a40f72300d Localisation updates from http://translatewiki.net.
Change-Id: Ie9f43f06af1f3e55501525e3973e7b1d1ba6c50e
2013-03-08 17:08:59 +00:00
Translation updater bot b65adb78f5 Localisation updates from http://translatewiki.net.
Change-Id: Ib3da3c433918dd58ccae7d57d262191bd8ba3917
2013-03-07 21:56:02 +00:00
Translation updater bot 337a752022 Localisation updates from http://translatewiki.net.
Change-Id: Ice25093fe23f55308bd20dd27553787251af254a
2013-03-06 21:56:46 +00:00
Translation updater bot 6313cb5765 Localisation updates from http://translatewiki.net.
Change-Id: I8edf3090f2d7dd02b614ca3e415caafc63e2d11f
2013-03-04 21:34:57 +00:00
Translation updater bot a36e8969e1 Localisation updates from http://translatewiki.net.
Change-Id: I94257ca5c3821040ae4a8e763a0d20a3e3b6d272
2013-03-02 20:36:31 +00:00
jenkins-bot b243204697 Merge "Update i18n" 2013-03-01 22:18:43 +00:00
Translation updater bot ee30a05228 Localisation updates from http://translatewiki.net.
Change-Id: If27797e0bb96d69a313fc848274fdb515df20d8a
2013-03-01 21:26:29 +00:00
Brad Jorsch 233ff6640b Update i18n
Add missing /qqq messages, and remove an unused message.

Bug: 39125
Change-Id: Ib1c21cc4eb334b42408e24051809ab3c0d8da796
2013-03-01 10:54:16 -08:00
Translation updater bot 31ee3b1e4b Localisation updates from http://translatewiki.net.
Change-Id: Ic2e4bffe181a71e67e8b9e1d59ede11567e73224
2013-02-28 20:51:37 +00:00
Translation updater bot 07d6ed437a Localisation updates from http://translatewiki.net.
Change-Id: I9347f23807bc0ae76633cb3e17b8733b7be72b2a
2013-02-26 20:52:32 +00:00
Translation updater bot 36eb8c0fb6 Localisation updates from http://translatewiki.net.
Change-Id: I0c8512ce296944d93c46ce4351de60a1478e810a
2013-02-24 20:44:10 +00:00
Siebrand Mazeland cd43c9ffb5 Use XHTML <hr /> tag
Change-Id: Ia818d24e1070087c6571556172213307dfb9a723
2013-02-24 16:28:09 +01:00
Translation updater bot 1bbfcf3fcb Localisation updates from http://translatewiki.net.
Change-Id: I645cf954e5d17d940c765642de3cdb2957a00d79
2013-02-23 20:40:46 +00:00
Translation updater bot 8adf901706 Localisation updates from http://translatewiki.net.
Change-Id: I9724ddf2213914c5da262352a18307231cdc8bee
2013-02-22 20:13:41 +00:00
Brad Jorsch 30a75fb0f1 Add module documentation support
Add the ability for modules to be documented using a /doc subpage, which
is automatically transcluded onto the module page.

To get the transcluding to work right, I wound up having to change from
the deprecated-in-1.21 ArticleViewCustom hook to ContentHandler, as
there didn't seem to be any other way to get the ParserOutput into the
links tables. Which means Scribunto now needs MediaWiki 1.21 rather
than 1.20.

Change-Id: Id487097c2a505c11f92a3404f5d3ee98beb2570c
2013-02-22 05:01:29 +00:00
Translation updater bot 5f8c96aa3d Localisation updates from http://translatewiki.net.
Change-Id: Ia9abe0cf88192dd494b68796214b0f84ce28ba82
2013-02-21 20:20:46 +00:00
Translation updater bot 3f575edd66 Localisation updates from http://translatewiki.net.
Change-Id: Ia10472ba3e9b9f0ea770ff8c1596665914f7b71d
2013-02-19 20:39:54 +00:00
Translation updater bot d1c42ed5c7 Localisation updates from http://translatewiki.net.
Change-Id: Ic4eaf1ddbb827df5d2cc6e32f186ad8f7ab2d876
2013-02-18 20:59:06 +00:00
Translation updater bot 799440eb4f Localisation updates from http://translatewiki.net.
Change-Id: Ic733b6784390a9bb9b9b6e95a6b97a4d620b05c0
2013-02-17 20:49:33 +00:00
Translation updater bot 60949bbfd4 Localisation updates from http://translatewiki.net.
Change-Id: I21f4d1dfe8aaff5d55117bd267a4615bb8544b27
2013-02-15 20:37:00 +00:00
Translation updater bot 14455fec4c Localisation updates from http://translatewiki.net.
Change-Id: I6eaf5f10aa1eacf917aca7a4160e560ee9ed9ce2
2013-02-14 20:32:06 +00:00
Translation updater bot aeb3360bd6 Localisation updates from http://translatewiki.net.
Change-Id: I70aa102b496adf1923058c362ce50dedd2df38dd
2013-02-13 21:46:14 +00:00
Translation updater bot 228dcc45ef Localisation updates from http://translatewiki.net.
Change-Id: Ic4a130e871ced2a18cb1d9eeee74290bdab614f0
2013-02-13 21:05:03 +00:00
jenkins-bot 9f86e1490a Merge "Handle session loss in the console" 2013-02-12 23:21:54 +00:00
Translation updater bot b228d5e60a Localisation updates from http://translatewiki.net.
Change-Id: Ic547180375f173024c63913f107ca021d5901451
2013-02-12 20:27:17 +00:00
Brad Jorsch e878314048 Handle session loss in the console
If the session data gets lost, the console forgets the content and
previous commands. Detect this situation and handle it.

Change-Id: I82fb5e111c09091d4f9a87d2e1b1c245eced1420
2013-02-11 13:23:10 -05:00
Translation updater bot 5860942eaa Localisation updates from http://translatewiki.net.
Change-Id: I22e6123e19e77dd915f78dc2b296bd812165a77a
2013-01-17 21:28:54 +00:00
Translation updater bot a2df9086fa Localisation updates from http://translatewiki.net.
Change-Id: Ib1dc18ef4d8ab067db3e55ba76235fa6df3f1e0c
2013-01-13 20:40:47 +00:00
Translation updater bot 6e3c5da6b8 Localisation updates from http://translatewiki.net.
Change-Id: Ia7c5dc47f52000ec05b3189449edcc12ea95a58b
2013-01-03 23:13:20 +00:00
Translation updater bot 0d3f6ee2a0 Localisation updates from http://translatewiki.net.
Change-Id: Iabfcc545d6f570b5cfbd83289d3138a864cb4359
2012-12-31 21:01:22 +00:00
Translation updater bot 288d636f46 Localisation updates from http://translatewiki.net.
Change-Id: I61c6368da452ddb8dd751314194e80c85509c499
2012-12-29 19:45:50 +00:00
Translation updater bot 2aa1f897cc Localisation updates from http://translatewiki.net.
Change-Id: If00e44e7fdfefbd2b87301e1f4dbd3488cd87b9b
2012-12-27 21:26:50 +00:00
Translation updater bot ce61573ec5 Localisation updates from http://translatewiki.net.
Change-Id: I8b07012db015760ec7cc0475f69260e36158e6c8
2012-12-23 21:57:52 +00:00
Translation updater bot c17b6a12e7 Localisation updates from http://translatewiki.net.
Change-Id: Iaa7cccba055f021691ef7e92f490de771f46c8ab
2012-12-22 22:19:07 +00:00
Translation updater bot 565c090f76 Localisation updates from http://translatewiki.net.
Change-Id: Iae0dbde50466609e29b2e17f2b684f4047c018a6
2012-12-18 20:39:43 +00:00
Translation updater bot bbd155c72a Localisation updates from http://translatewiki.net.
Change-Id: I644d9959a543693add908e4a0aadfd3faad21005
2012-12-04 21:07:32 +00:00
Translation updater bot 037463715c Localisation updates from http://translatewiki.net.
Change-Id: I6d8fad75ee4d4f23f1dbc6eda37cecdc017b349f
2012-11-27 21:09:21 +00:00
Translation updater bot 54aef84b55 Localisation updates from http://translatewiki.net.
Change-Id: Ib77390bf10acdcd236e444144b6619f693a0e26c
2012-11-19 20:19:31 +00:00
Translation updater bot c2aa4c7c39 Localisation updates from http://translatewiki.net.
Change-Id: Id4b1bb86b43fb60efd81c2a11da4a1d9990bb5a5
2012-11-02 20:20:32 +00:00
Translation updater bot f3c9525a2b Localisation updates from http://translatewiki.net.
Change-Id: I47231de2f7d4c3bcae0578dc3debf76560e60cb8
2012-10-31 20:40:52 +00:00
Translation updater bot 396bf79e27 Localisation updates from http://translatewiki.net.
Change-Id: I493e7a04b756e2488aa613c0a22663ee44756c3b
2012-10-22 01:43:21 +00:00
Translation updater bot 26e1149f64 Localisation updates from http://translatewiki.net.
Change-Id: I9ee9799add485fbac4274d38468297cc5ea4a954
2012-10-02 13:55:11 +00:00
Translation updater bot 303b8c0517 Localisation updates from http://translatewiki.net.
Change-Id: I0bb1c31875ae5739a162ca87b1ad6a2ab2b43bda
2012-09-26 19:52:17 +00:00
Translation updater bot 071f22b295 Localisation updates from http://translatewiki.net.
Change-Id: I7881ef8c8ad93a8647618de5b45f65740ab6e5cc
2012-09-23 19:05:01 +00:00
Translation updater bot 895c023996 Localisation updates from http://translatewiki.net.
Change-Id: I525c685727dad72d3e03d39c00d3d136d7eba2dd
2012-09-19 20:42:53 +00:00
Translation updater bot a2d18c9613 Localisation updates from http://translatewiki.net.
Change-Id: Id385858058d4654b63809078fa30d82fec06b11f
2012-09-16 19:55:29 +00:00
Translation updater bot 48f735fec8 Localisation updates from http://translatewiki.net.
Change-Id: I9ebadad0f6e83634aa9a677e4ca4b68ad2af81be
2012-09-15 19:53:13 +00:00
Translation updater bot 250bfc4e72 Localisation updates from http://translatewiki.net.
Change-Id: Idd46e729928cb3d272a5e8ef1c33c0f62edbe4fc
2012-09-14 21:10:41 +00:00
Translation updater bot ed05cb627f Localisation updates from http://translatewiki.net.
Change-Id: Ia17a6972df0832aa4262948c7d864bffb8ce74b0
2012-09-13 20:45:12 +00:00
Translation updater bot 01fc480cb2 Localisation updates from http://translatewiki.net.
Change-Id: I3f87ced73d7c8ce12926e7b2900d5a6983f94f17
2012-09-12 19:55:16 +00:00
Tim Starling 776cc1f93d (bug 39606) Add a tracking category for script errors
Change-Id: I5a925ccd41e494a7b06d98b1e1656250b80c143a
2012-09-06 14:56:42 +10:00
Translation updater bot 2bc7fac2f7 Localisation updates from http://translatewiki.net.
Change-Id: I3e61139bc26df539dea57fc306b60f568c4f1992
2012-09-05 19:24:20 +00:00
Translation updater bot aea0553458 Localisation updates from http://translatewiki.net.
Change-Id: I05222a32f2b3d0f3d359904b45b5cc486c1a1f3c
2012-08-31 19:52:29 +00:00
Translation updater bot deaf8ecaf0 Localisation updates from http://translatewiki.net.
Change-Id: I7a327cdcd903c40a8e7d62a526609054905f7d8b
2012-08-29 19:22:59 +00:00
Translation updater bot 8403384819 Localisation updates from http://translatewiki.net.
Change-Id: Ifeac328990da73d38e65087b6378fa0f1bd63b3b
2012-08-25 19:02:31 +00:00
Translation updater bot f204940db2 Localisation updates from http://translatewiki.net.
Change-Id: Ib995e4d86f412a69c4c8a2d7540e2116103050bf
2012-08-22 19:54:19 +00:00
Translation updater bot dd1bf82ab8 Localisation updates from http://translatewiki.net.
Change-Id: I21fd2e389d2c532c813394363e08183c859ce7c9
2012-08-21 20:09:41 +00:00
Translation updater bot 73b5e91465 Localisation updates from http://translatewiki.net.
Change-Id: Ib2a37996dbdba125a96b4734577ba1b17a98d48c
2012-08-20 19:21:38 +00:00
Translation updater bot 01fc0d0a1f Localisation updates from http://translatewiki.net.
Change-Id: I1badb00cf5810ce9a3188cb7783d47b8e4251d75
2012-08-19 14:50:06 +00:00
Translation updater bot b4731fec23 Localisation updates from http://translatewiki.net.
Change-Id: I8e91cf2de63bde362f939968b3fddff92257e5e5
2012-08-17 13:08:33 +00:00
Siebrand 0a9082d8b2 Merge "Rephrased two messages to make them clearer" 2012-08-17 08:06:30 +00:00
Siebrand 8fd06a55dc Merge "Rephrase scribunto-ignore-errors" 2012-08-17 08:06:08 +00:00
Translation updater bot 7b63a55daa Localisation updates from http://translatewiki.net.
Change-Id: Ibfaac777ddd24a61188a207cd48fe2ca04b8885d
2012-08-16 20:28:51 +00:00
Translation updater bot 58e6a872ec Localisation updates from http://translatewiki.net.
Change-Id: I319433962b104a733f483e200c6752f8fbd51fc6
2012-08-15 19:55:52 +00:00
Translation updater bot 8fa74a8bb3 Localisation updates from http://translatewiki.net.
Change-Id: I01df5ef832e4c8d00a48900e475ad5ef1afeaa40
2012-08-14 19:42:30 +00:00
Translation updater bot 429f70e3f6 Localisation updates from http://translatewiki.net.
Change-Id: Icfe5e62fd4f32a7ccf7ee92354ca8eb2e3eae97d
2012-08-13 19:53:20 +00:00
Translation updater bot bfd5191513 Localisation updates from http://translatewiki.net.
Change-Id: Ia706b5dded9c57e16b1ff6d85659ccc546e70b59
2012-08-12 20:27:47 +00:00
Translation updater bot fab97f7845 Localisation updates from http://translatewiki.net.
Change-Id: Iad343ae19ed6329eae4fe640cc94b99708d56e70
2012-08-11 19:23:20 +00:00
Translation updater bot 9b06b8203f Localisation updates from http://translatewiki.net.
Change-Id: Icbcce1922ac4faece618d22fa68284e66eb56b15
2012-08-11 00:04:14 +00:00
Translation updater bot 2b93b663e5 Localisation updates from http://translatewiki.net.
Change-Id: I1e7ea1c8fa681bf55146b0929bc0d5b164d806a9
2012-08-10 19:23:59 +00:00
Translation updater bot 4e675441eb Localisation updates from http://translatewiki.net.
Change-Id: I89b70cb314b7763c8bd43982e4f90ac5578d0534
2012-08-09 19:32:23 +00:00
Translation updater bot a1fe28ea22 Localisation updates from http://translatewiki.net.
Change-Id: I90999e173f0ba8b3b8c1979f7e9b18f405d515a0
2012-08-08 19:19:44 +00:00
Amir E. Aharoni 7f3444a3d1 Rephrase scribunto-ignore-errors
The message should be more self-explanatory now.
(I guessed what it is supposed to mean according to
the qqq documentation.)

Change-Id: I2021ffb1a3165e01d93c4c34fdbf39080d18eb2c
2012-08-08 12:18:24 +03:00
Amir E. Aharoni b8fb66dbda Rephrased two messages to make them clearer
Change-Id: Ia649c67c9b2cce51cc9e794da4d679008a4c8667
2012-08-08 12:15:56 +03:00
Translation updater bot 25541e8a2a Localisation updates from http://translatewiki.net.
Change-Id: If2304da28c6ca8d8d88adb55cfccc730f6cdc0e4
2012-08-07 20:10:33 +00:00
Translation updater bot 822a5bb1e8 Localisation updates from http://translatewiki.net.
Change-Id: I3b36d22117b572a24990098011ca7b75173b7c96
2012-08-06 19:28:38 +00:00
Translation updater bot b1e45f2c90 Localisation updates from http://translatewiki.net.
Change-Id: I9382222f5a6799c3c16926563f126a19c39d9ae1
2012-08-05 19:30:37 +00:00
Translation updater bot 2c4cac2ea8 Localisation updates from http://translatewiki.net.
Change-Id: I80b64c4a2f14300a604602d23c01f6645a40e816
2012-08-03 16:20:34 +00:00
Translation updater bot d63b6fbf30 Localisation updates from http://translatewiki.net.
Change-Id: I364490317b464cd87491f47d582105c99f278b63
2012-08-01 20:09:07 +00:00
Translation updater bot 4e91fc6808 Localisation updates from http://translatewiki.net.
Change-Id: Ic319b22a2b8421019c905a0807217551f956341a
2012-07-23 13:44:54 +00:00
Tim Starling b5c36bad59 Debug console module
* Added a debug console to the edit page, allowing unsaved modules to be
  tested.
* Removed the "preview" button from the edit page.
* Only show the "ignore code errors" checkbox on module edit pages, not
  all edit pages.
* Added Lua function mw.log() for sending messages to the debug log.

Change-Id: Ia51f439e573a1deb5b83f94ddd1a86792d5569c1
2012-07-14 14:35:55 +10:00
Translation updater bot 16e9eba133 Localisation updates from http://translatewiki.net.
Change-Id: I8fe56aa5b3c7825b20c4e33e2874c543f101124d
2012-07-11 20:00:33 +00:00
Translation updater bot fb8b86931c Localisation updates from http://translatewiki.net.
Change-Id: I7cdd8c5430ef08faa82a689d08e618f81462ef79
2012-07-08 19:23:09 +00:00
Translation updater bot 751ea278ff Localisation updates from http://translatewiki.net.
Change-Id: I1f7b8dd6267b5afddf8b31955838a4bf208a8901
2012-07-06 21:20:43 +00:00
Translation updater bot c248cccf5c Localisation updates from http://translatewiki.net.
Change-Id: I63e22a36016c7436c886c52776242a2ab935f9db
2012-07-05 19:46:15 +00:00
Translation updater bot d86dcb0b70 Localisation updates from http://translatewiki.net.
Change-Id: I103eabfb4d3e45f50573f0088208861697a4f31d
2012-07-04 20:09:43 +00:00
Translation updater bot dfa09541e5 Localisation updates from http://translatewiki.net.
Change-Id: I579f7efb14104f4d5bb37a7b6aff67b22babae9d
2012-07-03 20:57:37 +00:00
Tim Starling be8f6ca34d Allow users to ignore parse errors
Allow users to save a module with a parse error in it, by checking an
"ignore error" box. This was a requested feature in Berlin, there was a
desire to be able to save incomplete drafts of modules. I tested the
effect of #invoking a module with a parse error in it, it shows a normal
script error.

Change-Id: If2978a226ac50150ebeb7837e8dd370a669db771
2012-07-03 13:02:03 +10:00
Translation updater bot c161d29775 Localisation updates from http://translatewiki.net.
Change-Id: Ia5f61acba06fa80990010972c02e7b3201fe3615
2012-07-02 22:15:05 +00: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 35df9011f5 Localisation updates from http://translatewiki.net.
Change-Id: I869017bb695c52f6f16f984905372832c3200716
2012-06-28 19:49:07 +00:00
Translation updater bot 825f7937e3 Localisation updates from http://translatewiki.net.
Change-Id: I64c06ba75a61a835ee4874b69836d980800bd21f
2012-06-25 20:18:25 +00:00
Translation updater bot 47091cecdb $COMMITMSG
Change-Id: I13c67d45b89d5ef291dcf4d0203a8898e1434704
2012-06-23 20:14:39 +00:00
Translation updater bot f845c6b62e Localisation updates from http://translatewiki.net.
Change-Id: Ia66a84181cd2f033a53a130249655f6a4f47d182
2012-06-21 20:26:01 +00:00
Translation updater bot 751d517ace Localisation updates from http://translatewiki.net.
Change-Id: If439bc218cffd8082cee790ef588ea40122a6dcd
2012-06-20 20:26:59 +00:00
Translation updater bot 10028eb8ba Localisation updates from http://translatewiki.net.
Change-Id: I3a323120699e8128a2d6903267e1589261745a33
2012-06-19 19:29:49 +00:00
Siebrand Mazeland d97b59395a Update punctuation and casing for error messages.
Change-Id: I97f7732010ebfebcf494ac9e308275b34dbb9609
2012-06-19 16:49:49 +02:00
Translation updater bot 3fd6deea93 Localisation updates from http://translatewiki.net.
Change-Id: I4bae79625c97fd7ac55e9ea7b1f6acdabc2a6494
2012-06-17 20:33:18 +00:00
Translation updater bot f66392bdde Localisation updates from http://translatewiki.net.
Change-Id: I689c625516880fe23738a046e74a930888e68503
2012-06-15 22:06:10 +00:00
Tim Starling 35cc7c4630 Added CPU usage to limit report
Also changed scribunto-lua-in-function-at to not say "anonymous" since
it also applies to functions which are not anonymous as declared, only
anonymous as called.

Change-Id: Ib99cc6d12fbb40a295e1fda35ac48bcf097fdb66
2012-04-30 16:37:41 +10:00
Victor Vasiliev f311f8bc96 Minor code cleanup.
* Remove an unused message.
* Remove an unused skin reference which caused notices.

Change-Id: I5d051f3a04da089e1789fd785a80c91b5be9a340
2012-04-29 18:26:04 +04:00
Tim Starling da06273ede Nicer errors with backtraces etc.
* Added error backtrace collection to MWServer:handleCall()
* When there is an error on parse, show a short and simple inline error
  message to the user, which when clicked, expands to a full error with
  HTML-formatted backtrace.
* When an error is encountered during module validation, have the code
  editor jump directly to the line. Requires r115011.
* Expose the code location of most errors to Scribunto, by parsing the
  standard error message format.
* During module validation, abbreviate the error location if the error
  is in the same module.
* Do not execute the module during validation, just parse it. Execution
  does not really work without an active parse operation in progress.
  It already caused a fatal error if you called require() from the main
  chunk, and problems would have become more visible as more
  parser-related APIs were added.
* LuaSandbox does not yet provide backtraces, but this is planned.

Change-Id: Id9f6564a41b310792b3fe3ebb527cbf8f8771bd1
2012-04-23 21:58:30 +10:00
tstarling cebe775ee8 Added more Lua environment features
Package library:

* Added a simulation of the Lua 5.1 package library.
* Removed mw.import(), replaced it with a package loader. Packages can be
  retrieved from the wiki, using require('Module:Foo'), or from files
  distributed with Scribunto, using require('foo'). The "Module:" prefix allows
  for source compatibility with existing Lua code.
* Added a couple of libraries from LuaForge: luabit and stringtools.
* Made fetchModuleFromParser() return null on error instead of throwing an
  exception, to more easily support the desired behaviour of the package loader,
  which needs to return null on error.
* Renamed mw.setupEnvironment() to mw.setup() since it is setting up things
  other than the environment now.
* In MWServer:handleRegisterLibrary(), remove the feature which interprets dots
  in library names, since LuaSandbox doesn't support this.

Improved module isolation and related refactoring:

* Expose restricted versions of getfenv() and setfenv() to user Lua code.
  Requires luasandbox r114952.
* Don't cache the export list returned by module execution for later function
  calls. This breaks isolation of #invoke calls, since the local variables are
  persistent.
* Removed ScribuntoFunctionBase and its children, since it doesn't really have
  a purpose if it can't cache anything. Instead, invoke functions using a module
  method called invoke().
* Removed Module::initialize(), replaced it with a validate() function. This is
  a more elegant interface and works better with the new module caching scheme.
* Use a Status object for the return value of Engine::validate() instead of an
  array. Use the formatting facilities of the Status class.

Other:

* Removed "too many returns" error, doesn't fit in with Lua conventions.
* Use the standalone engine by default, so that the extension will work without
  configuration for more people.
* Added an accessor for $engine->interpreter
* Fix mw.clone() to correctly clone metatables
* If the standalone interpreter exits due to an error, there are some contexts
  where the initial error will be caught and ignored, and the user will see the
  error from checkValid() instead. In this case, rethrow the original error for
  a more informative message.
* Load mw.lua into the initial standalone environment, to reduce code
  duplication between mw.lua and MWServer.lua.
* Fixed a bug in Scribunto_LuaStandaloneInterpreter::handleCall() for functions
  that return no results.
* Fixed a bug in encodeLuaVar() for strings with "\r". Added test case.
* In MWServer.lua, don't call error() for internal errors, instead just print
  the error and exit. This avoids a protocol violation when an error is
  encountered from within handleCall().
* Added lots of documentation. Lua doc comments are in LuaDoc format.

Change-Id: Ie2fd572c362bedf02f45d3fa5352a5280e034740
2012-04-18 13:46:18 +10:00
tstarling 54cedd69b8 Introduced standalone interpreter, implemented module isolation
* Introduced a Lua implementation based on shelling out to a standard Lua binary.
* Bundled several Lua binaries for common platforms. I haven't added a 32-bit Linux binary yet, but that will come.
* Refactored the existing Lua class, bringing out functionality common to all Lua implementations into a set of common base classes.
* Moved the bulk of the implementation-specific functionality into a set of "interpreter" classes.
* Renamed LuaSandboxEngine to Scribunto_LuaSandboxEngine
* Don't create an engine object unconditionally when the ParserLimitReport hook is called.
* Implemented isolation of module global variable namespaces. This means that separate {{#invoke}} calls can't pass data to each other -- this was a desired feature in planning since it allows more flexibility in wikitext parser design. Isolation for mw.import() means that modules cannot accidentally create global variables which affect other modules -- exports are solely via the return value.

Change-Id: I3fa35651fe5b1fbfd85adeadc220b1ea31cd6f0b
2012-04-13 20:45:26 +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.i18n.php (Browse further)