Commit graph

556 commits

Author SHA1 Message Date
glaisher fae0586c00 Add "sortable" class to display table
This will make the display table sortable; table which appears when
<templatedata> tag is used on a page.

Bug: 50435
Change-Id: If72a44eab3229139791ea2d06ef6a74e2ce2e0c9
2014-11-15 22:21:30 +05:00
Translation updater bot a3a3f601f5 Localisation updates from https://translatewiki.net.
Change-Id: Ifdaddd0e1c7186d9acedcb589a5a0323a61d35ad
2014-11-14 22:26:58 +01:00
Translation updater bot 5ed35b5800 Localisation updates from https://translatewiki.net.
Change-Id: I7530824f10800b14fc1b1e3ed8162c81b64f9c1c
2014-11-13 23:11:43 +01:00
Translation updater bot 8490a91df4 Localisation updates from https://translatewiki.net.
Change-Id: I3cd06144dc6597844d009ce410c7525776ecf9f0
2014-11-12 21:54:36 +01:00
Translation updater bot 1e87d3ec20 Localisation updates from https://translatewiki.net.
Change-Id: Ie3299ddd77a4a983f4539e1e3a1a2b4871c4a1cf
2014-11-11 22:14:29 +01:00
Translation updater bot 1d22ab882c Localisation updates from https://translatewiki.net.
Change-Id: Id539cb65b2b8bf0a40999bd35ef82175128e9e53
2014-11-10 22:11:51 +01:00
Translation updater bot 8e02ef66e4 Localisation updates from https://translatewiki.net.
Change-Id: I1084390d69d65d7e092b1e430a0ac61146f1d35a
2014-11-09 21:54:13 +01:00
Translation updater bot 7bfc382f21 Localisation updates from https://translatewiki.net.
Change-Id: I13ac174af25e295d3b4b9c4472d9691ba42854aa
2014-11-08 22:19:36 +01:00
Marielle Volz d6cac31082 Implement new "maps" property in Root
Add "maps" as an allowed root value to template data JSON.

Maps allow applications to map equivalencies between their
application-specific parameters and valid template parameters.

Each Map has arbitrary keys (from the consuming application) that
are mapped to one or more template parameters.

* Added root.maps to TemplateDataBlob
  * Validates that values are strings or arrays
  * Validates that values are valid params
* Added templatedata-invalid-param to i18n/en.json
  * Richer error message for when invalid value is a param
* Fixed existing tests to work with new "maps" property
* Added two new tests for maps
  * Test for invalid value (!string or !array)
  * Test for invalid parameter
* Added specification for root.maps property and Map object

Change-Id: I3bf5e002ad6c1632e02c4c2e393b244c51f77177
2014-11-08 20:29:51 +00:00
Timo Tijhof e03a12b393 test: Apply Sanitizer::decodeCharReferences for clearer tests
These wiktext-isms from the Status object make the tests rather
obfuscated and hard to read/maintain.

Change-Id: I6438c33229ac013489893f8a2241510d9b5a7765
2014-11-08 19:44:56 +00:00
Translation updater bot a1d5bc034d Localisation updates from https://translatewiki.net.
Change-Id: Id2153a475efd483884a7149fbafac631b1d86f1f
2014-11-05 21:48:41 +01:00
Translation updater bot 41e5365804 Localisation updates from https://translatewiki.net.
Change-Id: I740d9cd32c12bb82a13a5fe2bcd720d685339d35
2014-11-04 23:32:06 +01:00
Translation updater bot 1d913ecb51 Localisation updates from https://translatewiki.net.
Change-Id: I71dc938e98c2fdbb989a0d07311d8f85aaf3ef31
2014-11-02 21:59:52 +01:00
Translation updater bot 26ffc6c518 Localisation updates from https://translatewiki.net.
Change-Id: I2e6b49a42b36fe22a0c39a5d41d91844c08ac284
2014-11-01 22:39:47 +01:00
Translation updater bot 17643b1608 Localisation updates from https://translatewiki.net.
Change-Id: I886cd8fa69e0ebaeb8cc3d29030d7020e1fbc9d3
2014-10-31 21:47:08 +01:00
Translation updater bot be012d7bda Localisation updates from https://translatewiki.net.
Change-Id: I328d3571613c062aa89faf0a4d255506f49a7607
2014-10-30 23:31:38 +01:00
Brad Jorsch a9ac3e201f Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 14:59:23 -07:00
Translation updater bot a6b2e6a718 Localisation updates from https://translatewiki.net.
Change-Id: I199b2221dc0fd61ef9ef3eda5b189f8cf0462241
2014-10-28 15:20:24 +01:00
Translation updater bot db63f6fb16 Localisation updates from https://translatewiki.net.
Change-Id: I24bc568a1c4e3425bf95a3f117a78da47ef25fb1
2014-10-27 20:19:13 +01:00
Translation updater bot 3c06ee57c1 Localisation updates from https://translatewiki.net.
Change-Id: I628a7770603f45d4c94d39a08b4859db988d8a92
2014-10-26 21:11:48 +01:00
Translation updater bot f918b9e2e2 Localisation updates from https://translatewiki.net.
Change-Id: I9268676bb66d892fabe0753726e279f7b68e26ed
2014-10-25 22:48:42 +02:00
Translation updater bot f419897409 Localisation updates from https://translatewiki.net.
Change-Id: I88017b23baed371a3df1b70f58d35d8c98c5c196
2014-10-24 22:21:46 +02:00
Translation updater bot 06e441c100 Localisation updates from https://translatewiki.net.
Change-Id: Iee595191bc653a15051369f2da4c80786b04bc41
2014-10-23 23:27:07 +02:00
Translation updater bot 86fd8e5002 Localisation updates from https://translatewiki.net.
Change-Id: I532c5f9da075dc87a69f29efb90ed86b8a1ecd5d
2014-10-22 22:03:59 +02:00
Translation updater bot 695da40846 Localisation updates from https://translatewiki.net.
Change-Id: I4832b6ee10c7c160483e476d7bb79a578b0f6cbd
2014-10-21 23:02:30 +02:00
jenkins-bot 8210018147 Merge "Let help link target be locally over-ridden; default to the MW help page" 2014-10-21 17:53:50 +00:00
jenkins-bot c7e39b68bf Merge "Re-label "Manage template documentation" to "Manage TemplateData"" 2014-10-21 17:47:05 +00:00
Translation updater bot f2b206ec2b Localisation updates from https://translatewiki.net.
Change-Id: Id7a6b7d498d52ffc8c7d2f6a631c58cb9197e8e5
2014-10-19 22:10:03 +02:00
Translation updater bot ed73b03a0e Localisation updates from https://translatewiki.net.
Change-Id: I0337aea5bb9a89ce715a5712ec3f9856a603f586
2014-10-15 22:08:30 +02:00
Translation updater bot 74780e5d71 Localisation updates from https://translatewiki.net.
Change-Id: I6aebf2acc3f4038140bfa61cb2675afa79f5c3c5
2014-10-14 23:02:33 +02:00
Translation updater bot f9c3fa23e2 Localisation updates from https://translatewiki.net.
Change-Id: I2b856d298320e6cd31265743ca2071dddb073424
2014-10-12 22:19:23 +02:00
Translation updater bot 9f3f214b8f Localisation updates from https://translatewiki.net.
Change-Id: I4043427e059f1b4246c2bb490b89070e43e841bd
2014-10-11 22:45:00 +02:00
Translation updater bot dbc94928d4 Localisation updates from https://translatewiki.net.
Change-Id: I03cfcd1157ecf58c82095a6444431a4eea43c534
2014-10-10 22:01:22 +02:00
jenkins-bot d91de59dcc Merge "Add <noinclude> tags to new <templatedata> strings" 2014-10-10 00:01:40 +00:00
Moriel Schottlender 5de265eab4 Add <noinclude> tags to new <templatedata> strings
If the template is not in a subpage, all new <templatedata> strings
will be wrapped with <noinclude>.

This will not happen to existing <templatedata> strings, since there
is no way of knowing if existing strings are already inside a
<noinclude> chunk - especially if those tags also include a bit of
other text. This will be applied for all new templatedata tags that
are inserted in the main template page.

Bug: 69149
Change-Id: I083a76858513760910973cd788687822fda0e879
2014-10-09 18:15:55 -04:00
Translation updater bot 2bf1641140 Localisation updates from https://translatewiki.net.
Change-Id: I0ecf8e9d998e9b8c31c4a015a0f57ff7a5195afd
2014-10-09 21:22:48 +02:00
Translation updater bot 39e93162cb Localisation updates from https://translatewiki.net.
Change-Id: I3d5d5b187d7e720046e250bf00f101cddc694c67
2014-10-08 21:28:03 +02:00
Translation updater bot 9da016f09a Localisation updates from https://translatewiki.net.
Change-Id: I72da422a3012df8622aeaf23211297209a3f0086
2014-10-07 21:02:17 +02:00
Translation updater bot d86327bdfe Localisation updates from https://translatewiki.net.
Change-Id: I567938bd219f0425dcdad3b986149855b88529d8
2014-10-05 22:16:05 +02:00
Translation updater bot 033919164d Localisation updates from https://translatewiki.net.
Change-Id: I98b341dca173223624bc3f673db1ce82d561f227
2014-10-02 23:27:52 +02:00
Translation updater bot aa5c43aba3 Localisation updates from https://translatewiki.net.
Change-Id: I1f96f9e7717595b9deaa12893d28dcc773f18afa
2014-09-29 23:33:22 +02:00
Translation updater bot 87d45c955c Localisation updates from https://translatewiki.net.
Change-Id: I5ecddc301205c7d0b76551fc6059e7381e68a8dc
2014-09-28 22:36:30 +02:00
Translation updater bot 87e5c50d31 Localisation updates from https://translatewiki.net.
Change-Id: I6e01f04ec1c52f0078c85aa6f2ab864ca2cca571
2014-09-27 20:31:59 +02:00
Translation updater bot 53ab68ee23 Localisation updates from https://translatewiki.net.
Change-Id: Ie7813592461b90fcf9c2921a1b3b68deecb89c80
2014-09-25 23:07:39 +02:00
James D. Forrester f7706868f3 Let help link target be locally over-ridden; default to the MW help page
Bug: 67621
Change-Id: Ic205a8bd51516d3fa580955b310014e4fe30ec6d
2014-09-25 11:05:39 -07:00
James D. Forrester 41e8f193ac Re-label "Manage template documentation" to "Manage TemplateData"
Bug: 63389
Change-Id: I49c2f78376918ba3ad59afcb943fc7df67e627f7
2014-09-25 11:00:51 -07:00
Timo Tijhof 9dd5cb4087 spec: Fix Markdown syntax to be compatible with gitblit
It requires void tags to be XML-compatible.

Change-Id: Ic785424b6586b3757e1b7883308a54e7275499e4
2014-09-24 14:11:50 -07:00
jenkins-bot d64512efda Merge "spec: Rewrite, reshape, reform! (Markdown)" 2014-09-24 21:09:04 +00:00
Timo Tijhof c5dfe5b2a9 spec: Rewrite, reshape, reform! (Markdown)
Change-Id: I4eae6e6719242524d9d9f770e2701f302dd40cd8
2014-09-24 14:06:42 -07:00
Translation updater bot 6c0fe30adb Localisation updates from https://translatewiki.net.
Change-Id: Id969f0854e36112b7f0cfd0cdb978ba8e0952a07
2014-09-24 22:19:50 +02:00