Commit graph

2164 commits

Author SHA1 Message Date
Translation updater bot 96cd45e191 Localisation updates from https://translatewiki.net.
Change-Id: Ia0a12029eede15bae686ab35b864993aedfb904c
2016-10-25 23:06:20 +02:00
Kunal Mehta 29141dd983 Fix fatal on Special:CiteThisPage
If the form was just viewed, the empty string would bypass validation
and be passed to onSubmit, and $this->title would end up as null. Avoid
that by specially checking for the empty string, and harden in execute()
by checking for an instanceof Title rather than !== false.

Change-Id: Ib43c6ff4a64f6a1d9ad5fc0390d7bc6fe5b07cb4
2016-10-25 12:43:35 -07:00
Chad Horohoe 4b7947a2eb Whoops, track not trace
Change-Id: Iee8bfe889f92c1f2a1fb9d555618567c758c751e
2016-10-24 17:02:16 -07:00
Chad Horohoe 0f5cd0d50c Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: Ic3f7bf7e0876d3b6e9c7f27576e100fa1d1fc16f
2016-10-24 16:37:14 -07:00
jenkins-bot a223da3a8d Merge "Convert Special:CiteThisPage to use FormSpecialPage" 2016-10-20 21:07:35 +00:00
harej 2f5e43b490 Convert Special:CiteThisPage to use FormSpecialPage
I also changed the style of the output to make it more consistent with the OOjs UI theme.

Bug: T147046
Depends-On: I9bc930e5dca557571b4658444fea6aec59c5797a
Change-Id: I0a2aaf7b94c37b1408311b2244c308a3f76a33eb
2016-10-20 20:59:27 +00:00
Translation updater bot d2139bc49f Localisation updates from https://translatewiki.net.
Change-Id: Icfe920a6e852c8cd711af1328b9226849beb2b32
2016-10-19 23:24:02 +02:00
Translation updater bot 40aebb55b2 Localisation updates from https://translatewiki.net.
Change-Id: Ic0ca925c3fb7445d50cdd0716bc622d387767314
2016-10-13 22:45:18 +02:00
Translation updater bot 4882d5750e Localisation updates from https://translatewiki.net.
Change-Id: Ib3a3dcff62f513b60c31f7b46941052a7afda745
2016-10-11 22:42:38 +02:00
Translation updater bot 618c105fd5 Localisation updates from https://translatewiki.net.
Change-Id: I073651f46be298c7c8843e397b6909982d10906f
2016-10-09 22:44:58 +02:00
Translation updater bot c03fb6f812 Localisation updates from https://translatewiki.net.
Change-Id: I13aa97b2c4c691dcc3f700a581d270628dbaca7f
2016-10-05 22:39:06 +02:00
Translation updater bot 729a55c364 Localisation updates from https://translatewiki.net.
Change-Id: I0de09e402bc039e6f8b9f65c18e77187e497c223
2016-10-02 10:35:57 +02:00
Translation updater bot a85d677c40 Localisation updates from https://translatewiki.net.
Change-Id: I014d0e5be34b43de0c1cbedb33626070f261db23
2016-09-28 22:23:36 +02:00
Translation updater bot 38a65f68c4 Localisation updates from https://translatewiki.net.
Change-Id: Id151175ee03f9d5f655e72e7519e81c955f741f5
2016-09-27 22:34:59 +02:00
Translation updater bot fe80d1214e Localisation updates from https://translatewiki.net.
Change-Id: I2d29fdd5788882a683d6a793b7d2830b14c600ee
2016-09-26 22:36:52 +02:00
Translation updater bot 93d6baa654 Localisation updates from https://translatewiki.net.
Change-Id: I37291cfea532b8187fe61364ce4f771806840fb9
2016-09-24 22:39:34 +02:00
Translation updater bot afef71d02f Localisation updates from https://translatewiki.net.
Change-Id: If231b9ac4eb4fe695df5c5ff88e59664b2d0b64e
2016-09-23 22:32:15 +02:00
jenkins-bot f323f74e51 Merge "Rewrite to avoid messing with global state" 2016-09-22 22:05:30 +00:00
Kunal Mehta 096f6e91fc Rewrite to avoid messing with global state
The main goal of this rewrite is to not use or mess with any global
state.

The ParserGetVariableValueTs and ParserGetVariableValueVarCache hooks
were replaced with setting the timestamp via
ParserOptions::setTimestamp(). This also means that {{#time:...}} from
ParserFunctions extension will correctly use the page's timestamp
instead of the current one.

Disabling tidy is also done using ParserOptions instead of changing
global state.

Change-Id: Ib2810aa5891c57831380a1a4718656cc09932b96
2016-09-19 16:29:14 -07:00
jenkins-bot 32a47712b3 Merge "Remove pre-1.24 compat code" 2016-09-19 22:06:20 +00:00
Kunal Mehta 3e9bbe6b6d Remove pre-1.24 compat code
Extension already requires 1.25+.

Change-Id: I3f8453606b92e1a3147af01dee928804a8b910bf
2016-09-19 14:20:12 -07:00
Translation updater bot feb6fe34e0 Localisation updates from https://translatewiki.net.
Change-Id: If51bc622fe5f1f230d300aaf4c5c9b663205a355
2016-09-19 22:51:22 +02:00
Translation updater bot 1f0243fedc Localisation updates from https://translatewiki.net.
Change-Id: I3f429c22ac29a5d55e5ecaeb622e5c2394fdc8ea
2016-09-11 22:48:20 +02:00
Translation updater bot 5dc30a0481 Localisation updates from https://translatewiki.net.
Change-Id: I1f56e5805ebd902d3f8eb70167cf0b1d5a90d1ae
2016-09-10 23:27:31 +02:00
Translation updater bot f592f501e9 Localisation updates from https://translatewiki.net.
Change-Id: Ic7383bc4e0fd959967e70099cfe46da8bc48629a
2016-07-30 22:23:25 +02:00
Translation updater bot 4eb1728e67 Localisation updates from https://translatewiki.net.
Change-Id: I179ff51992dace19fb8005bbca573bdbe172d32b
2016-07-28 23:02:05 +02:00
Translation updater bot f608c42327 Localisation updates from https://translatewiki.net.
Change-Id: I06d130589317387206eadd713f9ca319e323aa3e
2016-07-27 22:36:14 +02:00
jenkins-bot 920914dcb4 Merge "Use BaseTemplateToolbox hook so link appears in the right place" 2016-07-19 23:11:33 +00:00
Translation updater bot 66ab72b5ca Localisation updates from https://translatewiki.net.
Change-Id: I44a58455ff0a8519b565e238e8302fc71528679d
2016-07-15 22:26:30 +02:00
Kunal Mehta 12623a5acd Use BaseTemplateToolbox hook so link appears in the right place
The SkinTemplateToolboxEnd hook is nasty and requires echo-ing raw HTML.
It also has the problem that if there are any other extensions using
that hook, the CiteThisPage link will easily end up in the wrong place
and under the wrong heading.

This is trivial to fix though by using the BaseTemplateToolbox hook,
which is designed for actually adding links to the toolbox!

Bug: T140290
Change-Id: I9557130c40e17edc12a225a3b7b1cdec028f93d0
2016-07-13 15:27:14 -07:00
Translation updater bot da65570edb Localisation updates from https://translatewiki.net.
Change-Id: Iff16926f23f477e0cd33c5824f318db208dfb2ff
2016-07-10 22:18:50 +02:00
Translation updater bot f19d505325 Localisation updates from https://translatewiki.net.
Change-Id: I19f4e01f973035170127f1f7b5f650d73111aaa3
2016-07-01 23:18:04 +02:00
Translation updater bot 91ffdd1332 Localisation updates from https://translatewiki.net.
Change-Id: Id3333819f90af623f9bacff48ccbab1ba18d834c
2016-06-16 22:25:40 +02:00
Translation updater bot 7aad61bdac Localisation updates from https://translatewiki.net.
Change-Id: If31b119e2775458022294b4b3290ee929c9f3abc
2016-06-10 22:13:58 +02:00
Translation updater bot 12eae32afd Localisation updates from https://translatewiki.net.
Change-Id: I32d5934e59d51deee6c4c8df22a860fdcaceb6ba
2016-06-05 22:18:34 +02:00
Translation updater bot 5056a67f83 Localisation updates from https://translatewiki.net.
Change-Id: Id5d93a0a74683b3be7933573206c325f9d04eda0
2016-05-31 22:41:18 +02:00
Kunal Mehta bb42c48c67 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: Ideb4e4acda5dd80b4b6cd5fb1d983b8cec198c6b
2016-05-27 18:18:11 -07:00
Translation updater bot 4b078081de Localisation updates from https://translatewiki.net.
Change-Id: Ic99d8ca61a353523b8f6754ae122a892ea24eea7
2016-05-22 22:22:50 +02:00
Translation updater bot d8ca96b7b0 Localisation updates from https://translatewiki.net.
Change-Id: Ie7e4577fc94b6857a59c5ef7c860d7fc88d3b564
2016-05-21 22:20:21 +02:00
Translation updater bot 93aa415492 Localisation updates from https://translatewiki.net.
Change-Id: I7aa70c236b106184e9e9472b520cb8185b9924e9
2016-05-20 22:25:37 +02:00
Kunal Mehta a7fc55d07d build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: Ib4160f107ae6ac2bea84ee3e1ccaf6de47372c2b
2016-05-09 16:36:56 -07:00
Translation updater bot 038e795959 Localisation updates from https://translatewiki.net.
Change-Id: Ib1cf4ba15263ef430e8a09f58273ccb1c6396a82
2016-05-04 22:22:06 +02:00
Translation updater bot e3b61d4b6c Localisation updates from https://translatewiki.net.
Change-Id: I235820d15fb7b6e237f6bd0e6bfc4866e7fbff1c
2016-04-26 22:26:40 +02:00
Translation updater bot 548ed0efa1 Localisation updates from https://translatewiki.net.
Change-Id: I49374e5608e77bdd1ad326f018b6602cc9757d72
2016-04-20 23:09:25 +02:00
Translation updater bot b481f50457 Localisation updates from https://translatewiki.net.
Change-Id: I4b504db1171e093a2f9ee8e1c1f5d7ab2db525e6
2016-04-17 22:14:05 +02:00
Translation updater bot 87ce2746d6 Localisation updates from https://translatewiki.net.
Change-Id: I9e5722f0a63b4c0465f7df95d4146f2ed2f25da8
2016-04-15 22:16:56 +02:00
Translation updater bot 1728a99a78 Localisation updates from https://translatewiki.net.
Change-Id: Ibc70ce88f261f851fc09b6a4baf5caf78c6a9ae5
2016-04-11 22:33:58 +02:00
Translation updater bot 11dfcbf160 Localisation updates from https://translatewiki.net.
Change-Id: I72fde33f25f2440e7bcde97d11bb37b35a51a063
2016-04-10 19:58:25 +02:00
Translation updater bot 45dee4e47e Localisation updates from https://translatewiki.net.
Change-Id: Idf5133e66eeda83d55dba5b4fdf34d870633642e
2016-04-06 23:10:07 +02:00
Translation updater bot 2eba0bc927 Localisation updates from https://translatewiki.net.
Change-Id: I2ecc2af292c94a06345238cfe9d890be3d73c2bb
2016-03-27 21:09:57 +02:00