Translation updater bot
451f841cd5
Localisation updates from https://translatewiki.net .
...
Change-Id: I4257b20fc943caf0c92c79ca78257dae27e3ecd7
2013-12-15 20:58:54 +00:00
Translation updater bot
4e831ba58d
Localisation updates from https://translatewiki.net .
...
Change-Id: I62a84ec27d6d53b317c0a4fbcdcfd5e614da256b
2013-12-11 20:28:53 +00:00
Translation updater bot
4cd9b6e00a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib9dd2c55fbd304106338943a438ee83a97be4e1c
2013-12-08 20:28:28 +00:00
Translation updater bot
abc2762de3
Localisation updates from https://translatewiki.net .
...
Change-Id: If162ba6f874bf87344e604fd4497eaddb671725e
2013-12-07 01:52:32 +00:00
Translation updater bot
7c7f8a24a7
Localisation updates from http://translatewiki.net .
...
Change-Id: Idc2e5be08554a47d960f6c9ce3e8e0530d2e228e
2013-11-18 20:40:06 +00:00
Translation updater bot
99f9641bd7
Localisation updates from http://translatewiki.net .
...
Change-Id: Ib091fb5fa21176de2b3204f80f050e06c826b621
2013-11-13 20:24:18 +00:00
Translation updater bot
596cbf9c75
Localisation updates from http://translatewiki.net .
...
Change-Id: Iadb4e8c9f486c453d646d8eb35a3856175cef3b1
2013-11-12 20:32:35 +00:00
Translation updater bot
39f27782a6
Localisation updates from http://translatewiki.net .
...
Change-Id: I02d421102391cc86d9954a29cf158a86a02fb1ee
2013-11-10 20:29:43 +00:00
Translation updater bot
94f1072cb1
Localisation updates from http://translatewiki.net .
...
Change-Id: Iea118b18eb1f97cbc9c05890da07e13d5630127a
2013-11-09 19:13:35 +00:00
jenkins-bot
5b9a84e25a
Merge "Add Root#paramOrder to spec and implemention thereof"
2013-11-07 19:39:14 +00:00
Timo Tijhof
a800a46c7f
Add Root#paramOrder to spec and implemention thereof
...
* Detail the new property in the spec.
* The property is optional (as all new properties have to be
for backwards compatibility).
* Validate value if present, and for normalisation fill it
with inferred order from the JSON parser. This means the API
output will always contain #paramOrder, however the strict
specification for it is optional and users must still account
for absence of this property.
Bug: 53608
Change-Id: I7bcd7c9146f5ae75c4bad22b0a9cd4400f196c8c
2013-11-07 20:34:45 +01:00
Translation updater bot
288d7cea95
Localisation updates from http://translatewiki.net .
...
Change-Id: Id4df9d60a0ad06fe4f623a07e5d06f3193d01b78
2013-11-03 19:58:48 +00:00
Translation updater bot
88547821f6
Localisation updates from http://translatewiki.net .
...
Change-Id: Ic80fcd03019f474e3e4360dad83882a58a0bd368
2013-11-02 20:03:27 +00:00
Translation updater bot
e2d99f03dc
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie99b55d7660b74f4a43718ad3c29d65db003aacf
2013-10-31 20:22:46 +00:00
Translation updater bot
bd4a1a74cc
Localisation updates from http://translatewiki.net .
...
Change-Id: I54a63083388a5f936550f9c86c58b90a1414382e
2013-10-30 19:37:01 +00:00
Timo Tijhof
46509ebd2a
Require Set#params to be non-empty and improve error
...
* An empty array for a Set is invalid and the implementation now
enforces this.
* Add new error message for invalid value. When Sets contain a
reference to a key that doesn't exist, it should say that that
reference in the Set is invalid instead of saying that Params
is invalid for not having it.
> { params: {}, sets: [ { params: [ "quux" ] } ] }
- Required property "params.quux" not found.
+ Invalid value for property "sets.0.params[1]".
Also:
* Abstracted handling of $case and the different assertions
on it in a helper function so that we don't have to repeat
it everywhere.
* Use the same hack as in other tests to display the status error
message in the phpunit output (true === isGood ?: getHtml).
Maybe use '' === getHtml instead, though that is also evil
since Status fatals if you call getMessage/getHtml for a good
Status object.
Change-Id: I06a6615f728cd287a4839e09eedc2d0eeb537949
2013-10-30 00:10:38 +00:00
Translation updater bot
2e75f125ba
Localisation updates from http://translatewiki.net .
...
Change-Id: I7ee5e6a523cc7f1783bf42e6f8b4d3dbe03f0bf3
2013-10-25 18:59:36 +00:00
Translation updater bot
26dacfcc70
Localisation updates from http://translatewiki.net .
...
Change-Id: I5a74b2f691196739a5656060045d600278b61d87
2013-10-24 20:50:37 +00:00
Translation updater bot
4c848ea297
Localisation updates from http://translatewiki.net .
...
Change-Id: I35cc27931b8fbedad86bd920e903dfce5870c832
2013-10-22 19:21:35 +00:00
Translation updater bot
c321aa7ee7
Localisation updates from http://translatewiki.net .
...
Change-Id: I61ff9acb427bf2cb14b0d294fdefe035cc35df63
2013-10-21 19:40:38 +00:00
Translation updater bot
d45255b146
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie69c1aa4569f74fda1c71e2c03f40f6e20e93c44
2013-10-20 21:47:57 +00:00
Translation updater bot
bbae7751ec
Localisation updates from http://translatewiki.net .
...
Change-Id: I6f8f1450c65c958a9676f2d4e11412ee61b05021
2013-10-17 19:34:34 +00:00
Translation updater bot
d4e02e3e23
Localisation updates from http://translatewiki.net .
...
Change-Id: I9f3af8f0623f334e395dfefe9dd7fc9fd4b7e43a
2013-10-15 19:32:44 +00:00
Translation updater bot
c94013fdb1
Localisation updates from http://translatewiki.net .
...
Change-Id: I333a92c12cad2eeb2954f81c7f29fa12b6a838b1
2013-10-13 19:30:43 +00:00
Translation updater bot
835dfb3719
Localisation updates from http://translatewiki.net .
...
Change-Id: I9587c211d4160392bc740820afe331f5d68d3f89
2013-10-11 19:13:12 +00:00
Translation updater bot
2a3f47f8cb
Localisation updates from http://translatewiki.net .
...
Change-Id: I8f712b5b382c858d1cb6c501c7762faefaabad0e
2013-10-10 19:04:41 +00:00
Translation updater bot
0c59b67757
Localisation updates from http://translatewiki.net .
...
Change-Id: Ibc9a7f59ace70e4ca06be1182703ef3a76e5de37
2013-10-09 19:39:30 +00:00
Translation updater bot
18d93c1944
Localisation updates from http://translatewiki.net .
...
Change-Id: I9486e89626ae46e064d73d19d7154be510103054
2013-10-08 19:08:18 +00:00
Translation updater bot
a554e87917
Localisation updates from http://translatewiki.net .
...
Change-Id: I0a9edbe97ec5785cdf45e38e83868a3f2b2cfc1c
2013-10-08 01:00:37 +00:00
jenkins-bot
f115835eca
Merge "Localize default "empty" value and status (deprecated, optional, required)"
2013-10-07 18:56:32 +00:00
Timo Tijhof
ddd6b2761e
Localize default "empty" value and status (deprecated, optional, required)
...
* Fixed 'should be not be' in other 'qqq' messages.
* Fixed absence of ->text() in other wfMessage uses
(defaulted to parse, which was wrong as these are Html::element
uses that take text input, so it was being double escaped).
Bug: 50370
Change-Id: Iba1a10f14e258a588435cd03017177acfb96d0f3
2013-10-07 18:54:56 +00:00
Translation updater bot
5fb125284c
Localisation updates from http://translatewiki.net .
...
Change-Id: I3de92aed0cf72047bfa981da52fba3e59ca7b15f
2013-10-06 18:50:08 +00:00
Translation updater bot
f5964289ba
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie64232e08663cfd0bf99182cb5c4146e5f22d9eb
2013-10-03 18:14:31 +00:00
Translation updater bot
ced57d2f06
Localisation updates from http://translatewiki.net .
...
Change-Id: I0cc8f7f8d30e88de45eb86066319798c8c15dac3
2013-10-02 14:28:14 +00:00
Translation updater bot
5966ee9e4c
Localisation updates from http://translatewiki.net .
...
Change-Id: Id8350bee1c7e1708987f3ba853dac2b4a43a7155
2013-10-01 19:24:16 +00:00
Translation updater bot
c7a3c83ff5
Localisation updates from http://translatewiki.net .
...
Change-Id: I3ed4339d635c48157a85d62f20bbea1109fe233c
2013-09-29 20:17:05 +00:00
Timo Tijhof
f8eb557a64
Account for absence of template description in #getHtml
...
The description property is optional and is explicitly set to
null by the parser in normalisation if there is none.
The HTML rendering of parameter descriptions (as oppposed to the
description of the template as a whole) already covered for this.
Used the same logic for the template parameter.
Also fixed:
* Localize the text "no description"
* Use !== null instead of isset() since the property is always
set, we just need to know whether it is null or an object.
Bug: 54422
Change-Id: I86a40dbd1225feb54123e77a856b4ad6d525461b
2013-09-25 20:23:46 +00:00
Translation updater bot
db3d942b69
Localisation updates from http://translatewiki.net .
...
Change-Id: I2e1ede7d148f8655cabde41365bb8a47da10b388
2013-09-09 19:29:34 +00:00
Translation updater bot
a729731fb9
Localisation updates from http://translatewiki.net .
...
Change-Id: I024ca92f7b925d06d7ef221a7c07ec091843e87f
2013-09-01 19:27:43 +00:00
Translation updater bot
dd13dfc6bd
Localisation updates from http://translatewiki.net .
...
Change-Id: I30afbe36918e9d8cfab596899ef6559c66a37f2a
2013-08-30 19:25:23 +00:00
Translation updater bot
6e33d0bf86
Localisation updates from http://translatewiki.net .
...
Change-Id: I4a5b5fd6987e57c86a7f2bddc7e50038941b5479
2013-08-29 19:22:20 +00:00
Translation updater bot
f3724eee4a
Localisation updates from http://translatewiki.net .
...
Change-Id: Idf7e94dd685508f32b2b6c766a4f6f3b9ab8224f
2013-08-25 20:07:28 +00:00
Translation updater bot
139a33c720
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia37feb0e391e4a8fc7b7c28ebe0e8cb03b91fbc0
2013-08-22 19:49:44 +00:00
Translation updater bot
d1cac29a90
Localisation updates from http://translatewiki.net .
...
Change-Id: I4b77912822de049f6cb4ffdb615293a5bd47c0a4
2013-08-17 19:25:07 +00:00
Translation updater bot
06bb6da115
Localisation updates from http://translatewiki.net .
...
Change-Id: I4fbb3b4efef0938a8885c1afce4125d50e73dea0
2013-08-09 19:47:20 +00:00
Translation updater bot
3978bc3b67
Localisation updates from http://translatewiki.net .
...
Change-Id: Id64d7aa9bb7c179fa5cb8198b5a5b6aba3827ac5
2013-08-07 19:46:29 +00:00
Translation updater bot
bfaa905839
Localisation updates from http://translatewiki.net .
...
Change-Id: If2a3356920072f92c3d1691cb236a00911f3db25
2013-08-06 19:30:04 +00:00
Translation updater bot
f634ee9998
Localisation updates from http://translatewiki.net .
...
Change-Id: I35582d22cdc10cbbb8ace21f875b78e631f6b935
2013-08-05 19:39:12 +00:00
Translation updater bot
f048ea613c
Localisation updates from http://translatewiki.net .
...
Change-Id: I8f57e162e4bebf653e9e0768fea882f5e6bd03af
2013-08-04 18:56:09 +00:00
Translation updater bot
b8d1fc39ef
Localisation updates from http://translatewiki.net .
...
Change-Id: Iaee862f505135489fb6e8d48ca97f3afa4104460
2013-08-03 19:45:22 +00:00
Translation updater bot
877de81d51
Localisation updates from http://translatewiki.net .
...
Change-Id: Icaf07b52be9ce3d407c3565a265442757690e538
2013-08-02 21:38:41 +00:00
MatmaRex
6281fe626f
Bail when JSON length exceeds database limits
...
This might not be necessary on non-MySQL databases, but I'm sure that
at least their limits aren't lower than MySQL's, so let's stay on the
safe side.
Bug: 51740
Change-Id: I9c7115a951f126844bc70755bff12e8cd5fc2be1
2013-08-01 23:39:47 +02:00
Translation updater bot
051aefe194
Localisation updates from http://translatewiki.net .
...
Change-Id: I22b3f6950eefa8b2e41244282611a642835ab482
2013-07-31 20:00:21 +00:00
Translation updater bot
f4974ff1ed
Localisation updates from http://translatewiki.net .
...
Change-Id: I3ad910ec679118f2ef5d91e8c63d6f8a9ffd6ed8
2013-07-24 19:56:48 +00:00
Translation updater bot
f28c181499
Localisation updates from http://translatewiki.net .
...
Change-Id: If42359aa23a300d4be79cdceef3b233b5ffb2955
2013-07-23 18:43:53 +00:00
Translation updater bot
831c0401fd
Localisation updates from http://translatewiki.net .
...
Change-Id: I7345723476ac5dec39156b81eb1ea2914713980e
2013-07-14 19:19:14 +00:00
Translation updater bot
06ec95de0f
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia053078cd97daf2069466b28ec7060ade6bf78ff
2013-07-07 19:45:47 +00:00
Translation updater bot
3a549c215a
Localisation updates from http://translatewiki.net .
...
Change-Id: I25fc976c589b1c3cb7ea5c43f6ed3b8eb3af889e
2013-07-06 19:04:02 +00:00
Translation updater bot
913460f0e2
Localisation updates from http://translatewiki.net .
...
Change-Id: Idb0f3d62b8208585c8736bf1c605f164fd26ee81
2013-07-01 20:00:02 +00:00
Translation updater bot
bee15b9939
Localisation updates from http://translatewiki.net .
...
Change-Id: I1118a1372ff4d08fcb17ef3e4239074cd9dce579
2013-06-28 13:58:00 +00:00
Translation updater bot
959034d021
Localisation updates from http://translatewiki.net .
...
Change-Id: I99eac12dc6f09deab0b37cce69470b11241f35a9
2013-06-27 19:55:56 +00:00
Translation updater bot
0c5eeafc1a
Localisation updates from http://translatewiki.net .
...
Change-Id: Id929486fba172e419b6ad2ab6595115061fbb175
2013-06-25 19:58:17 +00:00
Translation updater bot
393f138434
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia8adc7edd2128fbbe5316b27ec26f30d901f4974
2013-06-20 19:00:02 +00:00
Translation updater bot
a66c67181f
Localisation updates from http://translatewiki.net .
...
Change-Id: If50900abf7925388542a4910b487104d9b104feb
2013-06-12 19:58:44 +00:00
Translation updater bot
faea734d18
Localisation updates from http://translatewiki.net .
...
Change-Id: Id54246273725bbc4fa323c9f469a41e18e2b057e
2013-06-11 20:56:29 +00:00
Translation updater bot
0556aa6cbe
Localisation updates from http://translatewiki.net .
...
Change-Id: I58803931e0026d9ba9303398627f49e1992ea755
2013-06-10 07:30:45 +00:00
Translation updater bot
a2c0ec0228
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie2c619dfb328350ad3a66e22781de9de69225f6b
2013-06-04 09:32:08 +00:00
Translation updater bot
43a8b551bd
Localisation updates from http://translatewiki.net .
...
Change-Id: Ibecb438a12e44f9ba50a4b9ae611588373754d1c
2013-06-03 19:06:45 +00:00
Translation updater bot
bf8c67652a
Localisation updates from http://translatewiki.net .
...
Change-Id: If45ce281b64ad19cb48aa85fa3be02b8aa39f770
2013-06-03 11:56:13 +00:00
Translation updater bot
040b967800
Localisation updates from http://translatewiki.net .
...
Change-Id: I5fb67249e56a43270a571c3ef6c49dfcb6aba116
2013-05-29 08:41:31 +00:00
Translation updater bot
cfa4f51c26
Localisation updates from http://translatewiki.net .
...
Change-Id: I05ffd7e6fe818f0c6acb22ff429c815d6ea5c487
2013-05-24 08:38:17 +00:00
Translation updater bot
0efa7df7a5
Localisation updates from http://translatewiki.net .
...
Change-Id: I3fb27843c118201eb81e81ef1ebe266863d13e48
2013-05-21 05:58:59 +00:00
Translation updater bot
1adb71a39a
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia95c42eed593700ffce7efb8b24d5a141bdeecbe
2013-05-16 20:18:33 +00:00
Translation updater bot
6116171d69
Localisation updates from http://translatewiki.net .
...
Change-Id: I388324d9186a16c6688ba2fe9db28a94e1d2354a
2013-05-15 21:10:06 +00:00
Translation updater bot
53eed0e687
Localisation updates from http://translatewiki.net .
...
Change-Id: I79bcd30791c285a2510f1026148001e7aefea0cb
2013-05-13 19:52:42 +00:00
Translation updater bot
a4ae8d91bb
Localisation updates from http://translatewiki.net .
...
Change-Id: I69eca3c77b4aaceba5ce0d7b474f21a5ad4e6ec3
2013-05-11 19:41:50 +00:00
Translation updater bot
09a84e1d9b
Localisation updates from http://translatewiki.net .
...
Change-Id: Id35816afc9df8471edbf934b16b07be346779770
2013-05-10 19:56:18 +00:00
Timo Tijhof
5e50116d6d
TemplateDataBlob: Implement 'type' and 'label'
...
InterfaceText now defaults to null instead of {en:""} which
was awkward to deal with in the frontend.
As specified:
- label is InterfaceText
- type is a string and must be a one of the recognized types
Updated example for the hypothetical variant of Template:Unsigned
and removed other no longer needed example.
HTML output has been revised per conversation with Trevor,
James and Timo:
- Not sortable.
- Add label to html output.
- Aliases in the main parameter column (one per line),
but muted in styling.
- Add type to html output.
The css module styles content from the server, not content
generated by javascript. Moved module to position => top to
fix flash of unstyled content.
Change-Id: I16d3f9e460c5513935b9b55fe4cec0092b38e6c2
2013-05-09 02:49:56 +00:00
Translation updater bot
e3272a50a7
Localisation updates from http://translatewiki.net .
...
Change-Id: If380597afc6d026489c13b6ecaf3ea1e155c57e4
2013-05-05 21:10:47 +00:00
Translation updater bot
a714c01ca8
Localisation updates from http://translatewiki.net .
...
Change-Id: I350558d26464ed12e64c03f5b74ed6a577d8897e
2013-05-02 20:49:35 +00:00
Translation updater bot
1462a2b568
Localisation updates from http://translatewiki.net .
...
Change-Id: If5221b93b01db1392ef1bc88c64068f029ae90aa
2013-04-28 23:58:08 +00:00
Translation updater bot
a5c72eaa4d
Localisation updates from http://translatewiki.net .
...
Change-Id: I89ef79050cdf7128ba5e363330c9369fa4bb6622
2013-04-15 21:03:47 +00:00
Translation updater bot
bdcc0db751
Localisation updates from http://translatewiki.net .
...
Change-Id: I50dc3221373aa19a2f09e17bc986819b600359ac
2013-04-07 20:57:43 +00:00
Translation updater bot
fbc799a1e9
Localisation updates from http://translatewiki.net .
...
Change-Id: I4cd14bdfb754b5c8dada7c1747b750cecba2d8bd
2013-04-04 20:08:11 +00:00
Translation updater bot
bb57e205c1
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie127d6e0d5e5365ef58f2292c367e7338524c0d8
2013-04-03 19:52:55 +00:00
Translation updater bot
bdd5cbdded
Localisation updates from http://translatewiki.net .
...
Change-Id: I9c1fedf7eba0af14ad1c4a0fe31846f9cb7b12ff
2013-03-31 18:55:27 +00:00
Translation updater bot
72f5a346bf
Localisation updates from http://translatewiki.net .
...
Change-Id: I5a111357bd35f6ad7ce232c5ca32b92b7337e75f
2013-03-30 18:15:22 +00:00
Translation updater bot
b61d4e993f
Localisation updates from http://translatewiki.net .
...
Change-Id: I1a78d98f3ee8c752b2e8eb19733464edf106a8a1
2013-03-28 19:15:50 +00:00
Translation updater bot
5d0f0b78fd
Localisation updates from http://translatewiki.net .
...
Change-Id: I2b576cbf378b83458289a361f779815ac1acf9aa
2013-03-27 21:04:31 +00:00
Translation updater bot
5d65a44317
Localisation updates from http://translatewiki.net .
...
Change-Id: I7059c88d1729678dda479000eb3bbab1a3219d30
2013-03-25 20:13:05 +00:00
Translation updater bot
f9b074ed2e
Localisation updates from http://translatewiki.net .
...
Change-Id: I93e649164bc4e180445aa489c18219a5655907e3
2013-03-22 20:21:21 +00:00
Translation updater bot
74314a5761
Localisation updates from http://translatewiki.net .
...
Change-Id: I0451bbbcc98933abdab702d2004ec11e66ae99f1
2013-03-21 22:43:58 +00:00
Translation updater bot
4affa728c8
Localisation updates from http://translatewiki.net .
...
Change-Id: I62fa4d8943609e89d51cf6f3f59380fc5efb42b4
2013-03-20 21:02:08 +00:00
Translation updater bot
9cb8d38371
Localisation updates from http://translatewiki.net .
...
Change-Id: Iaa60f91f5014274616e54f5f8ab218a40097f279
2013-03-19 21:44:46 +00:00
Translation updater bot
fe7dd60fb9
Localisation updates from http://translatewiki.net .
...
Change-Id: Ica51f2858e35ecd81ca8c687ad7b2581c8855814
2013-03-18 21:08:33 +00:00
raymond
5abfff9f0a
Consistency tweak in preparation for adding extension to translatewiki.net
...
* Remove full stop from description message
* Remove TitleCase
Change-Id: Iab58e92e2a3a5c77cfd1cd7eba6f77f01d396aff
2013-03-15 14:41:38 +01:00
Timo Tijhof
b7080c5f90
Initial TemplateData commit
...
Registers a parser tag <templatedata> that should have a JSON
blob as content. The blob is then validated and normalised when
MediaWiki parses the page (e.g. during save and preview).
If there are validation errors, the save is aborted from the
extension hook and an error is displayed.
If all goes well, the normalised blob is stored in the database
(which can be retrieved through the API). And an HTML
representation of the template parameters is returned to the
wikitext parser to show where the <templatedata> was in the page.
The blob format is specified in spec.templatedata.json and
is validated in TemplateDataBlob::parse.
Bug: 44444
Change-Id: Icf305892a9512545a63f5a5280cc0d340c61585f
2013-03-14 19:19:55 +00:00