Commit graph

759 commits

Author SHA1 Message Date
Brad Jorsch 4669e43135 ustring: Handle empty charset like Lua does
Both '[]' and '[^]' give a rather odd error, but it's probably best to
follow suit.

Bug: T95958
Change-Id: I3310da55f655537c9082fc9039003f6b2d31eff4
2015-04-13 18:20:33 -04:00
Translation updater bot 172ff40ee7 Localisation updates from https://translatewiki.net.
Change-Id: I383dd75237d80a3401370ba4c5990e4288e5b033
2015-04-13 22:34:59 +02:00
Translation updater bot 40d613117e Localisation updates from https://translatewiki.net.
Change-Id: Ifdcf7dd8925c614accdee70153559d48bc24c793
2015-04-12 21:56:25 +02:00
Translation updater bot 81e96adde2 Localisation updates from https://translatewiki.net.
Change-Id: I033047fe05065b61c04eb0b002249e581059f1f7
2015-04-11 21:33:25 +02:00
Translation updater bot 3a7a0ac85b Localisation updates from https://translatewiki.net.
Change-Id: If36ea1a1d67a63575f05c5d2c0d5468c94ddb260
2015-04-08 21:34:22 +02:00
Translation updater bot 468bfc1766 Localisation updates from https://translatewiki.net.
Change-Id: I8e1829bd90214ad6440cd7c7d7b6efb769797bc9
2015-04-06 21:48:52 +02:00
Translation updater bot e4b6918c8f Localisation updates from https://translatewiki.net.
Change-Id: I2fdf458d414f7dbde17bab0749d21c9cec85316c
2015-04-03 21:26:45 +02:00
Translation updater bot 29c24a0d78 Localisation updates from https://translatewiki.net.
Change-Id: Id9ff009f6e5cafc5490724832ae6c68a09948c0d
2015-04-01 22:38:16 +02:00
Jackmcbarn 6ffde66c77 SECURITY: Sanitize the content of Lua backtraces
Bug: T85113
Change-Id: Iede661a34f4ec2f384bd0407e2fb8f271ff54a77
2015-04-01 10:02:19 -07:00
Translation updater bot 849f0451b5 Localisation updates from https://translatewiki.net.
Change-Id: Ie0dc821ac0bf0fd087651583d962087045e794f1
2015-03-30 21:49:19 +02:00
jenkins-bot 33decbd83e Merge "Allow Lua console on protected module pages" 2015-03-30 15:35:12 +00:00
Translation updater bot edb7825421 Localisation updates from https://translatewiki.net.
Change-Id: Ib7410a2087a21db2ff25ed60b4b2cac2f2489c28
2015-03-29 15:07:36 +02:00
Mormegil a5ea880567 Allow Lua console on protected module pages
Lua debugging console is useful even if the module page is protected,
so we should display it on read-only edit pages.

However, the `EditPage::showReadOnlyForm::initial` hook does not allow
to insert HTML below the textarea, so we let the JS do it client-side.
(In fact, it might be a good idea to do the same in the base case
and never send the HTML from server, I guess.)

Bug: T93902
Change-Id: I953c4313fc67c6e708b5ef68db5380991a75b363
2015-03-28 23:28:27 +01:00
Translation updater bot 289f615139 Localisation updates from https://translatewiki.net.
Change-Id: I67ba9617af2ab0817c3f62b1b8c9cfdd5c9d605a
2015-03-25 22:20:27 +01:00
Translation updater bot 5603440cc2 Localisation updates from https://translatewiki.net.
Change-Id: I45a32a4a78f944ab7e0712676fe9463a1d99cb4c
2015-03-24 22:29:29 +01:00
Purodha 50cefd0a1a Scribunto API help text clarified
See
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-scribunto-console-param-title/en

Change-Id: Ia9da7271800325977fc564a256ad191c34f5502c
2015-03-24 08:22:34 +00:00
Translation updater bot 5b25b12778 Localisation updates from https://translatewiki.net.
Change-Id: Iafa64f0583eba81f20f3abeb804a03f4c4a7b4dd
2015-03-23 22:06:16 +01:00
Translation updater bot e79fb4d3eb Localisation updates from https://translatewiki.net.
Change-Id: Id26f833f51148f5744b3d9e317b5c330024bc245
2015-03-22 21:18:35 +01:00
Translation updater bot 558ae6ac51 Localisation updates from https://translatewiki.net.
Change-Id: I40c876091aa886261a65c52726bb0b886780e19f
2015-03-20 21:36:38 +01:00
Translation updater bot 0e1232ed01 Localisation updates from https://translatewiki.net.
Change-Id: Ib0ad188b71ddd9054b82993a340ef338cfac0ef6
2015-03-19 21:15:30 +01:00
jenkins-bot 2f8e30ce22 Merge "Localisation updates from https://translatewiki.net." 2015-03-18 15:18:49 +00:00
Translation updater bot bef3473f4d Localisation updates from https://translatewiki.net.
Change-Id: I88b2424e4b0437fda34b5b0737215122a944d74b
2015-03-18 16:07:07 +01:00
Brad Jorsch 1a4d99431e Make mw.scribunto.edit not try to set undefined mw.scribunto
Not sure how this was missed in I1577dab2.

Bug: T93051
Change-Id: Ie2f2c6f7cbd80bca2ca493f1fe5a4f2ca7d02387
2015-03-18 10:59:21 -04:00
Brad Jorsch 0c4e9ecf10 Fix parser tests, YET AGAIN
And now Ie9e334e broke the tests again. Why can't anyone be bothered to
fix things they should *know* by now are going to need fixing?

Bug: T90018
Change-Id: I7f71dda4af38b23f89c64b6116c1145c44f5c523
2015-03-18 10:42:57 -04:00
Kunal Mehta 3f5f3e247f Use full <?php instead of short <? in ustring generation scripts
Change-Id: Ida6bc4ee1803763b284fdaa7c63769a146fec6ad
2015-03-17 18:16:20 -07:00
jenkins-bot da44c9ed72 Merge "Rewrite error handling to avoid OutputPage::addInlineScript" 2015-03-17 09:38:22 +00:00
Translation updater bot 930e612680 Localisation updates from https://translatewiki.net.
Change-Id: I669c2b36ab75c5f2d8da1875e4bf9200938380c3
2015-03-16 21:59:53 +01:00
Brad Jorsch 3d51662881 Rewrite error handling to avoid OutputPage::addInlineScript
This is apparently unofficially deprecated, and we can do things a bit
more straightforwardly by using ParserOutput::addJsConfigVars() to
communicate the error messages to the JS.

This also takes the opportunity to move "ext.scribunto", which is mostly
about errors, to "ext.scribunto.errors".

Bug: T75618
Change-Id: I1577dab2dab1bd79cb127879de141fdbb8963aeb
2015-03-16 16:08:44 -04:00
Brad Jorsch cb4cf733f2 Fix parser tests, again
I736cb7f5 broke them again.

Bug: T90018
Change-Id: If77f5b40e2576d18ad908d8fd995cfa8eb8f8324
2015-03-16 16:05:42 -04:00
Translation updater bot f2b27915bc Localisation updates from https://translatewiki.net.
Change-Id: I99a91c143b37d14336156cfbe051ce7b8c1cadb1
2015-03-15 21:52:47 +01:00
Translation updater bot 4fe8641c3c Localisation updates from https://translatewiki.net.
Change-Id: I3224de7b16ddf32ec895166179a491e802410a3a
2015-03-14 21:36:28 +01:00
Translation updater bot 8fc7f2b96b Localisation updates from https://translatewiki.net.
Change-Id: I3f17e358fefd29950b2a7b12eb5e8f1af0f832f0
2015-03-14 08:34:14 +01:00
Translation updater bot b95fc2716c Localisation updates from https://translatewiki.net.
Change-Id: I7e7562dc097770e1ac26f3f0b49d8e9751cb4b3f
2015-03-12 21:30:15 +01:00
Translation updater bot 1f4a2b3970 Localisation updates from https://translatewiki.net.
Change-Id: I58c880f6de43e77418fd940544f96fc3a1a65149
2015-03-11 22:15:44 +01:00
Translation updater bot 7cda61f4a8 Localisation updates from https://translatewiki.net.
Change-Id: I5d184ba5440252e2e9c9f4514a4a23fca2c777c3
2015-03-09 22:09:20 +01:00
Translation updater bot 81619b95d6 Localisation updates from https://translatewiki.net.
Change-Id: I2e3e728bac976f0920d10aec35b0b8a12cc68930
2015-03-08 21:48:23 +01:00
Translation updater bot 0e56197561 Localisation updates from https://translatewiki.net.
Change-Id: I474bcbcc647ed6f962252a997b2e904b6c7f975b
2015-03-05 22:27:19 +01:00
Translation updater bot 316aa5d9a8 Localisation updates from https://translatewiki.net.
Change-Id: I53f9fa0623363e863b5a4dddb9d48df3e59c59db
2015-03-01 22:08:28 +01:00
Translation updater bot b15d28a9d7 Localisation updates from https://translatewiki.net.
Change-Id: I6d18bfda30cbcb23c4d3ee3df58c0185d0634bd3
2015-02-28 22:07:58 +01:00
Translation updater bot 10abeb5880 Localisation updates from https://translatewiki.net.
Change-Id: I6379b758c6408b9b16b7a1cbe26546820834d3b3
2015-02-26 21:38:18 +01:00
Translation updater bot 9e430d61aa Localisation updates from https://translatewiki.net.
Change-Id: Ib1a7cd874974c4a33df48980e12584545fb0c108
2015-02-25 22:56:50 +01:00
jenkins-bot eb568001a5 Merge "Update Scribunto tests after I562e437e" 2015-02-25 01:07:55 +00:00
Translation updater bot 824bae76e9 Localisation updates from https://translatewiki.net.
Change-Id: I14dc7a1cc19e49f31927a01cf4e315d96e2a27fe
2015-02-24 22:03:29 +01:00
Translation updater bot 8915ebec05 Localisation updates from https://translatewiki.net.
Change-Id: Ibfe47e02028c0be50b2c6bc3875d852b52d6b960
2015-02-23 21:58:45 +01:00
Translation updater bot 1a7538fb0e Localisation updates from https://translatewiki.net.
Change-Id: Ie37cc4d8aee3918080fdfaad2ebeab1e61181dbc
2015-02-22 21:36:24 +01:00
Translation updater bot c4e0f5026b Localisation updates from https://translatewiki.net.
Change-Id: I9a2fe271921dd3a5b6155e20619e1baeb9190480
2015-02-21 23:34:10 +01:00
Vivek Ghaisas bdec6124b5 Update Scribunto tests after I562e437e
The parser's output was changed in I562e437e to add clickable anchors
for section headers which made Scribunto parser tests fail.

Bug: T90018
Change-Id: Ia74877e0641f2763d42be4a8fad1aa8ecffe449e
2015-02-21 12:08:09 +05:30
Translation updater bot 21a5d22f5e Localisation updates from https://translatewiki.net.
Change-Id: I6295410af107eaf8a57516a177b2c45144a253ff
2015-02-20 22:29:00 +01:00
Marius Hoch 53ff0bf246 Revert "Revert "Make tests work when $wgLanguageCode != 'en'""
Should be good to apply now after Wikibase has been adopted to
this.

This reverts commit 06f03fe09b.

Bug: T69483
Change-Id: I28073a891b8847fc6aa5ad026bf702e4015f7d4a
2015-02-19 22:30:47 +00:00
Translation updater bot ad121101b5 Localisation updates from https://translatewiki.net.
Change-Id: I1938437702e486b84d47504d7c983b6cef609acd
2015-02-19 22:10:20 +01:00