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
Translation updater bot
1039a551ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Iac6d72dc410b3cdc8f6e85d598f93a55089a5d84
2015-02-19 22:11:07 +01:00
jenkins-bot
ca94adc3a9
Merge "Allow adding a new parameter again"
2015-02-19 02:10:11 +00:00
Moriel Schottlender
c525aef5b0
Allow adding a new parameter again
...
Due to a bug, new parameters could not be added unless they were
previously deleted. This commit fixes that bug.
Change-Id: I3784d1b3d650893f26abb63994d13c08b148075b
2015-02-19 02:02:15 +00:00
Moriel Schottlender
d59d517339
Warn if a TemplateData block already exists in related page
...
Check if there already is a TemplateData block in a related
page and warn the user if that is the case. Related pages are
either the /doc page or, if we are already in a /doc page, its
immediate parent.
Bug: T74062
Change-Id: I83212f14ecd2dcc18970d21ad0d833b461405390
2015-02-18 17:56:13 -08:00
jenkins-bot
c087fe89c7
Merge "Change global class variables to mw.TemplateData"
2015-02-19 01:49:42 +00:00
Moriel Schottlender
e6e728b58e
Change global class variables to mw.TemplateData
...
Nest all classes for the templatedata dialog in mw.TemplateData
namespace.
Change-Id: Ib514378c9fbc0fb993b3cbc2fa48ced920167226
2015-02-18 17:47:08 -08:00
Moriel Schottlender
4757a83f88
Display a message when no parameters are defined
...
If no parameters are defined in the TemplateData, have the table
display a specific message noting that.
Bug: T53429
Change-Id: I3c9ae31ef9eafab7f94325fcd58e14a3e45c9818
2015-02-18 17:43:16 -08:00
Moriel Schottlender
ba0349866f
Display TemplateData parameter table according to param order
...
Have the parameter order in the display table appear according to
the paramOrder setting. If the setting isn't explicitly set in the
TemplateData string, the parameters will be in order of appearance.
Change-Id: Ibbd5a7b28f722c51788b9ed0f5ac577902ce4b7a
2015-02-18 16:53:59 -08:00
Translation updater bot
985e8b56bf
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ae1fa3965936ee47c96fbdfe23b68b2c764e9f6
2015-02-18 22:06:37 +01:00
Translation updater bot
82986955b2
Localisation updates from https://translatewiki.net .
...
Change-Id: I79f53b348601b0135433e53d3e837c82f5b20cd8
2015-02-17 21:54:23 +01:00
Translation updater bot
7b6aa00ef8
Localisation updates from https://translatewiki.net .
...
Change-Id: I77889b4973f395d78d416620b84436aaabb74a82
2015-02-16 21:57:07 +01:00
Translation updater bot
4b1961dca9
Localisation updates from https://translatewiki.net .
...
Change-Id: I29fddfa00753297f22b9db1c2fd1d0a75bb33658
2015-02-13 22:21:58 +01:00
Translation updater bot
35b536763d
Localisation updates from https://translatewiki.net .
...
Change-Id: I37eb0bd606604f43ef4ac8f234875e865f0de95b
2015-02-12 21:36:22 +01:00
Translation updater bot
7b7d4836ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic4c33fbe6628061ecf6335bea7c5228a328335a0
2015-02-11 22:29:12 +01:00
Translation updater bot
75d6906924
Localisation updates from https://translatewiki.net .
...
Change-Id: I86b58db28492346504e3f086367edc5252ff978a
2015-02-10 22:17:10 +01:00
Translation updater bot
229006ce38
Localisation updates from https://translatewiki.net .
...
Change-Id: I0759b0421b1403edfc085f437115c08bde6db828
2015-02-09 21:37:34 +01:00
Translation updater bot
672b6b6a58
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieeb59d52baf4c71e6937fd4381a8904197ce52ef
2015-02-08 21:49:51 +01:00
Translation updater bot
0b3d8d5bb7
Localisation updates from https://translatewiki.net .
...
Change-Id: I91918cd3d938af317b870aa064bd40ce21dafea5
2015-02-07 21:48:50 +01:00
Translation updater bot
9dffcfbe51
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8273c0b15d298ed7a941b5f29f01ce9ef2d3828
2015-02-06 21:07:40 +01:00
Translation updater bot
32c9190f0b
Localisation updates from https://translatewiki.net .
...
Change-Id: I9a058b6478d5854867f642696588347ad7e05557
2015-02-05 23:07:20 +01:00
Translation updater bot
53bbb3b875
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf62250d795a663196d217b6c8a870136aa6c70b
2015-02-04 22:28:27 +01:00