Commit graph

200 commits

Author SHA1 Message Date
Timo Tijhof ccacbe4b41 license: Add COPYING file for GNU GPL v2
The only file with a license mention so far was ApiTemplateData.php.
It was documented on mediawiki.org[1] as "GPL v2".

[1] https://www.mediawiki.org/wiki/Extension:TemplateData

Change-Id: I85cdd5d511f8578888127888d11c2642aad49842
2014-03-13 23:19:19 +01:00
Translation updater bot 1b025643f9 Localisation updates from https://translatewiki.net.
Change-Id: I99397f2fe4a47d91c040efc6baf2e6f287356c63
2014-03-13 15:46:09 +00:00
Ltrlg 6a014700da Do not add 'required' if not set and false wanted
The 'required' property of a 'Param' is optional and defaults to false.
Thus there is no reason for adding it when it was not set and the user wants it to be false.

Bug: 61761
Change-Id: I2b2fae5d2d8b1dac2ad2e1a965d9ba5bd7372eef
2014-03-07 23:19:52 +00:00
Translation updater bot 6e78aaa9b1 Localisation updates from https://translatewiki.net.
Change-Id: I95e466aa281f1e65fed6d6cb00ced2c030c5135c
2014-03-07 21:45:19 +00:00
Translation updater bot b037278657 Localisation updates from https://translatewiki.net.
Change-Id: Ib12a412fc0c5cd1cf6da7dd235024db917c5438a
2014-03-05 21:11:50 +00:00
Translation updater bot 9bc69ee94d Localisation updates from https://translatewiki.net.
Change-Id: I347ba903adf0cf332233bcd5fbaa7be7e056d149
2014-03-04 20:46:10 +00:00
Translation updater bot 3d1c6d1e6a Localisation updates from https://translatewiki.net.
Change-Id: Ib4c36046fd7bb20c2eed05cb60f89d5b7c4dd073
2014-03-03 21:08:48 +00:00
Translation updater bot 4645d0a31f Localisation updates from https://translatewiki.net.
Change-Id: I3414468ed1b4be17d53244f364ef4e4141964484
2014-03-02 20:45:05 +00:00
Translation updater bot 2632c3712f Localisation updates from https://translatewiki.net.
Change-Id: Ie113bb70deef2f810b00cc9475eb322d9194b88a
2014-02-26 22:03:52 +00:00
jenkins-bot cd22ac9761 Merge "Update specs example to use new types (without "string/" prefix)" 2014-02-25 15:22:14 +00:00
Ltrlg c5ebfe7370 Update specs example to use new types (without "string/" prefix)
Follows-up 6cdb47d097 which dropped the prefixes. The example
was still using 'string/wiki-user-name' instead of 'wiki-user-name'.

Change-Id: Ia6f353600cea6e3da53ea0cabc45a77d35642e40
2014-02-25 15:21:15 +00:00
Translation updater bot c39f0a8833 Localisation updates from https://translatewiki.net.
Change-Id: I01213edf4cd2195a52e0d743ae2bbba3d69474af
2014-02-23 21:49:35 +00:00
Translation updater bot bcaec4826f Localisation updates from https://translatewiki.net.
Change-Id: I3ea09406f3e2f2033d819c5947fcb46d483e1c82
2014-02-21 22:32:00 +00:00
Translation updater bot 950f69722a Localisation updates from https://translatewiki.net.
Change-Id: Idcf994d3b9a0367516f20c730fcdbde26006c5fa
2014-02-20 21:07:06 +00:00
Translation updater bot bfcc2752a8 Localisation updates from https://translatewiki.net.
Change-Id: I8635cc55b2bb02892c728227f7df763a19c06591
2014-02-19 20:20:20 +00:00
Translation updater bot 56b9bc568a Localisation updates from https://translatewiki.net.
Change-Id: I94f62c09ef416b088722947e98b96e1428f9933a
2014-02-15 21:07:52 +00:00
Translation updater bot 21934f804c Localisation updates from https://translatewiki.net.
Change-Id: I9e1205446563b9e7b1fe82fbdb608e065058f979
2014-02-14 20:21:38 +00:00
Translation updater bot b3cc98da33 Localisation updates from https://translatewiki.net.
Change-Id: Iacebccaf66f409c7b4fe7dc4e6ad6aab753ac9e4
2014-02-13 21:19:58 +00:00
jenkins-bot d09a78c9f0 Merge "Prevent the dialog from applying changes on bad input" 2014-02-12 22:49:37 +00:00
Translation updater bot 8a5504966d Localisation updates from https://translatewiki.net.
Change-Id: I7a970c9ea4925de7be80a8d6c69a8160b2e4f978
2014-02-10 20:50:14 +00:00
Translation updater bot b700be5f3f Localisation updates from https://translatewiki.net.
Change-Id: I5a596769344f5b2d1bdee995cb058366cb702fdc
2014-02-07 21:31:01 +00:00
Translation updater bot 3dc09e8c52 Localisation updates from https://translatewiki.net.
Change-Id: Iabf1fc3fb1256df178039b6dfe21d4c3adc260d1
2014-02-06 20:43:06 +00:00
Translation updater bot 6569ada72b Localisation updates from https://translatewiki.net.
Change-Id: I259b47c88a243cc71733447aaf6dfa1eb20c794e
2014-02-05 21:43:28 +00:00
Translation updater bot 59b55bda6e Localisation updates from https://translatewiki.net.
Change-Id: I0bfe21fd0239ee42e4141a630bc1aa9c691ee0eb
2014-02-04 21:06:08 +00:00
jenkins-bot 5d05bd69bb Merge "Adjusting error message for invalid inputs" 2014-02-04 00:09:57 +00:00
Translation updater bot 732d01351e Localisation updates from https://translatewiki.net.
Change-Id: I5c7bb0f214680614c28159ed0835ae1ac6590559
2014-02-03 21:22:27 +00:00
Moriel Schottlender b22c73fc2d Prevent the dialog from applying changes on bad input
Make sure the dialog does not change the json string if the
editor form contains any errors.

Change-Id: Ib4d36f70e1f9d5b34605b4e54fd12b6e2405c37a
2014-01-20 06:22:42 -05:00
Moriel Schottlender f9bc87e2b8 Adjusting error message for invalid inputs
The invalid characters ('|', '=', and '}}') will be displayed through
individual parameters, for consistency, and to avoid parsing problems
in translatewiki.

Change-Id: Ic87541419aab5664f3530209e1ad8689deec33a5
2014-01-18 12:57:35 -05:00
Moriel Schottlender 3dfa316fad Make {{ a parameter in the error message in the editor dialog
Translatewiki warns of an unbalanced parenthesis problem in the
translation string. Turning the {{ into a parameter solves this issue.

Change-Id: I2fd69b3e901175dad22d285aa2373916acd4f208
2014-01-18 00:09:29 -05:00
Translation updater bot 591df71a1e Localisation updates from https://translatewiki.net.
Change-Id: I09239a3796d67f4d743476e0ce04af5f5ef4f89d
2014-02-01 19:46:41 +00:00
Translation updater bot 60ac66a399 Localisation updates from https://translatewiki.net.
Change-Id: Ib299bd3b77a2e2529f6aa9932965b0a124b8a510
2014-01-28 21:23:44 +00:00
Translation updater bot 21b050f1eb Localisation updates from https://translatewiki.net.
Change-Id: Ifc48cfb494d3f1762ace151ac6f271436fd96d6c
2014-01-26 16:26:17 +00:00
Translation updater bot bf790d0288 Localisation updates from https://translatewiki.net.
Change-Id: I4ec58ae31c6f383554eac30218a4cb28aa260747
2014-01-24 20:13:41 +00:00
Translation updater bot f7e13d3e9d Localisation updates from https://translatewiki.net.
Change-Id: Ic91101dfa5b630ff05de3e973fd81deaa89fef60
2014-01-23 20:20:52 +00:00
Translation updater bot aef8dd237e Localisation updates from https://translatewiki.net.
Change-Id: Ia6b429db31784de9452e087329bf2195339e4415
2014-01-21 19:54:09 +00:00
Translation updater bot da9edc88f8 Localisation updates from https://translatewiki.net.
Change-Id: I753d38fdda6ee73c1a0186251072134d4b748c11
2014-01-20 20:27:22 +00:00
Translation updater bot d600e64c04 Localisation updates from https://translatewiki.net.
Change-Id: I8b61ef5e24f67fd81d01bdc35ed3bff476ce22cb
2014-01-19 20:20:22 +00:00
Translation updater bot 28f8ad1880 Localisation updates from https://translatewiki.net.
Change-Id: I17fa4c880cb6eef9d5ad56f6169b8a7502f3e086
2014-01-18 21:16:56 +00:00
Translation updater bot 841060e4a6 Localisation updates from https://translatewiki.net.
Change-Id: I317c378673f3ef72968202ebb397a1796f228948
2014-01-17 20:41:47 +00:00
Timo Tijhof 1d419069d5 api: Pass through $data directly instead of copying by property
* Prevent mistakes such as fixed by Ic5b42c4189.
* Expose the previously-suppressed Root#sets property.

Change-Id: I0d5bf9f7b742db8b49d0af23371389b0a4cdf7a4
2014-01-17 15:53:08 +00:00
Translation updater bot 87af5a1265 Localisation updates from https://translatewiki.net.
Change-Id: I0c8e3bc3ade48ae2da8d105839f6e38cb33c9c0f
2014-01-16 23:09:09 +00:00
Translation updater bot c4bd533a59 Localisation updates from https://translatewiki.net.
Change-Id: Ib24bd0f6b9b81780323f55c23b3effe41b0c2732
2014-01-15 21:04:45 +00:00
jenkins-bot b82082c46c Merge "Implement edit interface for TemplateData documentation" 2014-01-15 02:41:16 +00:00
Moriel Schottlender 8c27921232 Implement edit interface for TemplateData documentation
This adds a TemplateData manager to the edit page in the Template
namespace.

If a <templatedata> tag already exists, the tool will parse it and
display it in a visual interface that the user can then manipulate in
their own language. If there is no <templatedata> tag, the dialog will
appear empty and allow users to add and tweak their desired template
parameter data.

The tool also allows rudimentary parameter import, which picks up the
parameters from a current template into the GUI to make the user's life
easier when producing TemplateData.

The template documentation editor feature is off by default. To enable it
use $wgTemplateDataUseGUI = true in LocalSettings.

Bug: 50436
Change-Id: I863a8199c0b08cc52b320ed00dcba912dd2aeefc
2014-01-14 18:39:20 -08:00
Trevor Parscal 253c11e53f Send paramOrder through the API
Change-Id: Ic5b42c4189868412138680654c499b6c8bc8f47e
2014-01-14 11:49:21 -08:00
Timo Tijhof cc44db625b Add .jshintrc
Change-Id: Ia0df2fa9b2708a7b671052225e8a41094ae19522
2014-01-10 23:26:55 +01:00
Translation updater bot b41c2a54fb Localisation updates from https://translatewiki.net.
Change-Id: I262b79e417757e7d98b7f43a86d273d2827691fb
2014-01-08 20:37:54 +00:00
Translation updater bot 8fb88a3ba1 Localisation updates from https://translatewiki.net.
Change-Id: I99143fd52512d0262b08188eb12b8b356750d2dd
2014-01-03 20:44:24 +00:00
Translation updater bot e80811be47 Localisation updates from https://translatewiki.net.
Change-Id: I314db1b59f57338f1e6a623777a3f419bae281a2
2014-01-01 20:00:04 +00:00
Translation updater bot 7832d3d04a Localisation updates from https://translatewiki.net.
Change-Id: I65732e65259848b37c18a5c0b50bfab3daf33d42
2013-12-30 20:01:17 +00:00