Commit graph

1594 commits

Author SHA1 Message Date
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
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 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
Translation updater bot 3a173ada5c Localisation updates from https://translatewiki.net.
Change-Id: I4605b0d2f2ae5b0e6670ec8cf9f1bd42ab92418b
2016-03-22 22:28:58 +01:00
Translation updater bot 15de1518ba Localisation updates from https://translatewiki.net.
Change-Id: Icd01c9a3551a39aaf2e37ed1bef41e48f66d7991
2016-03-20 22:37:34 +01:00
Translation updater bot aea3150143 Localisation updates from https://translatewiki.net.
Change-Id: I7ef42636df7e0ace70b2ad750b1026f2d6c5a453
2016-03-17 23:15:18 +01:00
Translation updater bot 16e5d2f8f0 Localisation updates from https://translatewiki.net.
Change-Id: Ia4e0d3bbcc4eda8cdb19882c7799294413d5cd5a
2016-03-15 22:58:11 +01:00
Translation updater bot 24cf5bd36d Localisation updates from https://translatewiki.net.
Change-Id: I6cf90c890e8ae4661919fe325c0364865c0a1065
2016-03-10 22:25:17 +01:00
Translation updater bot 3645bfc08d Localisation updates from https://translatewiki.net.
Change-Id: I632fa585e29c4e11e11cf9c65a4ac0464f305620
2016-03-08 22:39:22 +01:00
Translation updater bot 713b998d68 Localisation updates from https://translatewiki.net.
Change-Id: Ic8dba911694b69d02c1bbd6ac143bdb649a3b91a
2016-03-05 22:56:11 +01:00
Translation updater bot c881feec8f Localisation updates from https://translatewiki.net.
Change-Id: I17e23ee37bc0d4fa0818bf05e907a1da05d18e8c
2016-03-01 21:53:35 +01:00
Translation updater bot 92ecc59925 Localisation updates from https://translatewiki.net.
Change-Id: If907952bad35f0bd89d8fe21c45ddc5fa6284368
2016-02-27 21:54:36 +01:00
Translation updater bot 6687f8199b Localisation updates from https://translatewiki.net.
Change-Id: I8a83b17e12c304b0c61b03d88b6b5e535be4bc45
2016-02-23 22:31:46 +01:00
Translation updater bot 4710d304f0 Localisation updates from https://translatewiki.net.
Change-Id: I2fa4cd9e3804661b46fa1b70ee1e7b26ce8e465a
2016-02-21 22:24:46 +01:00
Translation updater bot 9745f95f2f Localisation updates from https://translatewiki.net.
Change-Id: Id45fe1e395cc474f295a6df19d886a5a15855798
2016-01-31 21:38:22 +01:00
Umherirrender 52f3c0ac29 Allow auto suggestion for subpages of Special:CiteThisPage
The autocomplete search allows special pages to define the list of
subpages to be excepted. Fill up the function to show auto suggestion
for subpages of Special:CiteThisPage

Change-Id: I2426f21358644d2e6212fb239b2a3ad56fb1398f
2016-01-30 21:08:53 +01:00
Translation updater bot bde8955d6a Localisation updates from https://translatewiki.net.
Change-Id: I7897e699f980499d8e248e7c358eeba3edb2c377
2016-01-27 21:39:11 +01:00
Translation updater bot 76d9a1bad6 Localisation updates from https://translatewiki.net.
Change-Id: I35c2131db918a2eea08e76482cf8be1da0529a35
2016-01-23 22:24:32 +01:00
Translation updater bot c49ceeddfc Localisation updates from https://translatewiki.net.
Change-Id: I6089b45edcd48ece467c2dd72328e0bc56eeb813
2016-01-19 21:17:22 +01:00
Translation updater bot e2160c0257 Localisation updates from https://translatewiki.net.
Change-Id: I7bd8dafbce8c64dddc30721ccc45095b592c1435
2016-01-18 21:34:32 +01:00
Translation updater bot ecee8843e8 Localisation updates from https://translatewiki.net.
Change-Id: I31dc13882b8c48403ce2a6c100f4ab221046ca64
2016-01-17 22:30:32 +01:00
Paladox f403a8d42e Add php code sniffer
Change-Id: I95b39047cf07694b276728d2831bc811ee9e329d
2016-01-16 12:52:10 +00:00
Translation updater bot ddb86d726d Localisation updates from https://translatewiki.net.
Change-Id: I5179182d46a17f7cc4bb9d736979766562a53d8d
2016-01-14 22:22:19 +01:00