Purodha
4c8673bbdb
TemplateData: add PLURAL to message Templatedata-modal-notice-import-numparams
...
See
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Templatedata-modal-errormsg-import-paramsalreadyexist/en
Change-Id: Ife5e9d0afd9320271c8921162487f8c0338f24cd
2015-03-26 21:39:29 +00:00
Translation updater bot
12a5a42aee
Localisation updates from https://translatewiki.net .
...
Change-Id: I2fabe5472882ea3ed136bada40ea5bd85e75281e
2015-03-25 22:20:59 +01:00
Translation updater bot
ae78d57522
Localisation updates from https://translatewiki.net .
...
Change-Id: I137073246ed2b39617b649f781fb1427b37d82d8
2015-03-24 22:34:58 +01:00
Purodha
6f9f9bb914
TemplateData: use consistent quotes
...
See
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Templatedata-exists-on-related-page/en
Change-Id: I3917bb59e481175314f3af4557784c1681e56dca
2015-03-24 08:35:07 +00:00
Translation updater bot
9732909c18
Localisation updates from https://translatewiki.net .
...
Change-Id: I518ac35d4e780e24a0bd6daae544ac300930047d
2015-03-23 22:08:20 +01:00
Translation updater bot
21292822a3
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b1f6e634ae4dc773c4958484c416f2f8ab057f9
2015-03-22 21:19:25 +01:00
Translation updater bot
1bfc39162c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ief8fd2d7698b8e2679e372576c44b89c407d168a
2015-03-20 21:37:26 +01:00
Amir E. Aharoni
b7d232ca72
Extra credits in en.json and qqq.json
...
Change-Id: I84a84cc9d00bf5cac6641fb39cfb76cf0d63c80b
2015-03-20 00:00:41 +02:00
Amir E. Aharoni
ca53d523ab
Remove extra 'or's from an English message
...
Change-Id: I09e358afbc2dd3bde277425e44e08186fd3f1fa9
2015-03-19 23:57:24 +02:00
Translation updater bot
cb268f26e5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia0029a3ba09b6164661a35dd0443e7bb91a894eb
2015-03-19 21:16:18 +01:00
Moriel Schottlender
3820295f23
Reorganize api calls and add sourceHandler and error message
...
Add a sourceHandler that deals with all source-related actions
like fetching template source and validating the existing
TemplateData string.
Also add a MessageDialog warning the user in case the TemplateData
is invalid. In this case, the user will be given the option either
to correct the JSON by hand or to start the editor to replace the
existing TemplateData with a new one.
Bug: T91730
Bug: T91325
Change-Id: I4e6d04f02565a02d8dcf5c70a575ab6433caa27f
2015-03-18 18:21:02 +00:00
Translation updater bot
eb4ccbc336
Localisation updates from https://translatewiki.net .
...
Change-Id: I8b05b2dd54683a6e45fe993ac83a817148a619ef
2015-03-18 16:07:40 +01:00
Translation updater bot
3098d44ba3
Localisation updates from https://translatewiki.net .
...
Change-Id: I4e098d00a7d1b723989392b398290a9ccac9c247
2015-03-16 22:00:09 +01:00
Kunal Mehta
d2343e9569
Use ResourceLoader::isModuleRegistered()
...
Change-Id: I91319d2d975620b047e7be933aba257f28eb7201
2015-03-15 16:54:16 -07:00
Translation updater bot
4936395dc2
Localisation updates from https://translatewiki.net .
...
Change-Id: Id7901293823b93337cac1a07f2e3df184288946a
2015-03-15 21:53:34 +01:00
Translation updater bot
1a3d9ddfab
Localisation updates from https://translatewiki.net .
...
Change-Id: I09cbb92e5dc10b5bbfa0ee5c474f967ad166ccf0
2015-03-14 08:35:32 +01:00
jenkins-bot
6cf5c66884
Merge "Prevent a dependent property from updating on infinite loops"
2015-03-12 21:18:26 +00:00
Moriel Schottlender
4141bed38b
Prevent a dependent property from updating on infinite loops
...
A dependent and dependee properties should only update one another
once in the model, and the UI should be responsible for resetting
the input when it is toggled.
Bug: T92558
Change-Id: I944aaf9c44d0f305a34458f0b8009a98c9570661
2015-03-12 14:01:38 -07:00
Translation updater bot
6110ef1b70
Localisation updates from https://translatewiki.net .
...
Change-Id: I5fc8d4b413e1302b59dffbb177f7e3ad37a99e3b
2015-03-11 22:16:21 +01:00
Moriel Schottlender
ffbc8e1520
TDG: Support optional text of 'deprecated' property
...
The deprecated property allows for either a boolean or text, so we
should allow the user to insert guidance text in case that property
is true. To achieve that, the model also defines 'textValue' for
boolean properties with text representation so an internal property can
be set to hold that value and inputs can be automatically built from the
property structure.
Bug: T90734
Change-Id: Iadc6abdcc0cf2721a311cf43847b306cb269b5e8
2015-03-11 17:08:26 +00:00
Translation updater bot
4b1d244201
Localisation updates from https://translatewiki.net .
...
Change-Id: I6cc0298deb4774e892a245c0eb3f921ea0d44212
2015-03-10 22:37:06 +01:00
jenkins-bot
772926de0c
Merge "Don't flicker "Manage TemplateData" button's disabledness state"
2015-03-10 00:14:33 +00:00
Translation updater bot
7f959308de
Localisation updates from https://translatewiki.net .
...
Change-Id: I81748f2171223a65cc8b06af6207198e65ae8e96
2015-03-08 21:49:27 +01:00
Bartosz Dziewoński
a3ddde4a8f
Don't flicker "Manage TemplateData" button's disabledness state
...
The code would call .setDisabled( true ), fire off an API request, and
then always call .setDisabled( false ) when the request finished,
regardless of the response.
Bug: T91324
Change-Id: Iee440a1fca966e0c66669ee5e78b6f5ab8f7f8d6
2015-03-07 20:20:32 +01:00
Timo Tijhof
3ecbaefef1
Document code with JSDuck
...
Change-Id: Ieb812a2fb85135f6db18a9a02c94efd83695a19e
2015-03-06 17:56:30 -08:00
Kunal Mehta
f80be6848f
Add composer entry point for phpcs and linting
...
Bug: T90943
Change-Id: Icb27b60bd0ff883c3b4a1b80bf3cb80117c2bdfe
2015-03-06 10:15:10 -08:00
Translation updater bot
5308e0e924
Localisation updates from https://translatewiki.net .
...
Change-Id: I91c3401976e601a619855cc6174062c79b292522
2015-03-05 22:28:22 +01:00
Moriel Schottlender
aed0e38edf
Make elseif into else because it is
...
Following up on I2bc79421be330, the condition was always true in
case the first one wasn't. This is just a beautification fixup.
Change-Id: I7463207f02de2116b96173d88199d46ce70ca174
2015-03-03 18:30:32 -08:00
Moriel Schottlender
7b741d3af4
Add paramOrder by default to TemplateData blobs
...
Make sure that paramOrder is initialized as an array even if the
params property of the TemplateData object is empty.
Bug: T91470
Change-Id: I2bc79421be33053e7e21170528fbbd1c01eaf4bb
2015-03-03 18:08:13 -08:00
Moriel Schottlender
3cc6afaa75
Use wikitext instead of page prop when checking for existing TemplateData
...
On the edit page, we show the user a message if a related page
(parent of /doc page, or vice versa) already has templatedata.
This check was wrongly detecting that the parent page has templatedata
when editing '/doc'. The check shouldn't use the 'templatedata' API
since that also includes transcluded templatedata.
Look in the wikitext content instead.
Change-Id: I9788e2beb0809ac3e676a90cd0dfe519c005afc9
2015-03-02 22:52:48 +00:00
Translation updater bot
08cd710c96
Localisation updates from https://translatewiki.net .
...
Change-Id: I6c4e27bd5cd488af12baa06fd96a1b9bc0d0f261
2015-03-02 22:12:00 +01:00
jenkins-bot
2538cf6150
Merge "Delete boolean values if they are false"
2015-03-02 03:23:53 +00:00
Translation updater bot
2d12b225ea
Localisation updates from https://translatewiki.net .
...
Change-Id: I51fe4e5ff3aaf4883a5b5bccfb934b528b3d17ae
2015-03-01 22:09:28 +01:00
Translation updater bot
883050edda
Localisation updates from https://translatewiki.net .
...
Change-Id: I9574b4ca0cd07074f02af2178926159db99aa9f8
2015-02-28 22:09:14 +01:00
Translation updater bot
b718a3235b
Localisation updates from https://translatewiki.net .
...
Change-Id: I914433f3572738c321f3c1aec6dbf4d04a481c1a
2015-02-27 21:57:53 +01:00
Translation updater bot
6a4abee253
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib4ffb871ffe8a229c9493b21ceae82a8a1f79883
2015-02-26 21:39:07 +01:00
Moriel Schottlender
9b3cf2b971
Delete boolean values if they are false
...
For values like 'deprecated', 'suggested' and 'required' make sure
that if they are marked as 'false' they are deleted from the result
string. If the original TemplateData already had either one of
those parameters marked as false don't delete so to avoid dirty
diffs.
Bug: T90283
Change-Id: I34c81d45e3967ce5398691d97d1a15908b8a2e57
2015-02-25 16:26:32 -08:00
Translation updater bot
cfcffeead6
Localisation updates from https://translatewiki.net .
...
Change-Id: I8d7d295c241d6e3afbd032829b2d34b5ca617854
2015-02-25 22:58:13 +01:00
Translation updater bot
4024c8c53a
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaecb6818f6d71f9cd694bfe4074f93f4a5c2bb30
2015-02-24 22:04:07 +01:00
Translation updater bot
3d354342a1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia7d4efa3dc4944ad25aa02a8dc4d43859639d49f
2015-02-23 21:59:45 +01:00
Translation updater bot
8d44a26c57
Localisation updates from https://translatewiki.net .
...
Change-Id: I8acb7d84a0de6d812863f5bef7b47cb7b30f293c
2015-02-22 21:36:49 +01:00
Translation updater bot
b6c28878c7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic4878ccd705e1db1a8dc0b3e603ab0bc1c2c19d4
2015-02-21 23:34:54 +01:00
Timo Tijhof
796e7b1a76
Correct jsduck documentation tags casing
...
Change-Id: Ic438492ea4e7060c3c5626ae9b5493f70cfb578e
2015-02-21 17:05:40 +00:00
James D. Forrester
bad08f37da
Convert to use extension registration
...
Bug: T87977
Change-Id: Ie1b822636289f9d7a1ec0a0b8175255441357cd3
2015-02-20 15:58:43 -08:00
James D. Forrester
4393235e66
Enable $wgTemplateDataUseGUI by default
...
It's stable enough now.
Change-Id: I45fd4d1f0d4eda4f9e55aeffb1dae4cc5c4ef553
2015-02-20 15:57:56 -08:00
jenkins-bot
b4999fc40b
Merge "Kill reference to $wgPageProps"
2015-02-20 23:56:12 +00:00
James D. Forrester
4596eb2e49
Kill reference to $wgPageProps
...
Apparently it hasn't existed since 2010.
Change-Id: I34ee6b0d2b95f1dbdf778585c3d6ef5ba3eeed64
2015-02-20 15:53:33 -08:00
James D. Forrester
2a0fd770d8
Update author credits
...
Change-Id: I93e2dd5ec4cdfad15a0ef150eb3a358f3f414f99
2015-02-20 23:47:18 +00:00
James D. Forrester
cda06241f1
Move to wfUseMW for compatibility detection
...
Change-Id: I46f9c148ec14eae557c4c9c44832a368e2d72e82
2015-02-20 23:44:43 +00:00
Translation updater bot
589780afc5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf4be2b8733afeb2d40b25169d7054d3eb93e225
2015-02-20 22:29:37 +01:00