Commit graph

2186 commits

Author SHA1 Message Date
jenkins-bot ac19e2402b Merge "Add a possibility to add a "cite this page" link without adding the NS as a content namespace" 2017-01-02 08:08:25 +00:00
Florian Schmidt c422031326 Add a possibility to add a "cite this page" link without adding the NS as a content namespace
Sometimes it's required or at least a good option to have a cite this page
link on pages, that aren't content pages (like the project namespace).

This change adds a new configuration option for this extensions to allow to
add namespaces as namespaces that should have a cite this page link, even if
they're not a content page.

Bug: T150053
Change-Id: I2523bd9124ab8998a7c327d8045d7585d4dcf8b4
2016-12-30 16:55:11 +01:00
Translation updater bot b9fa5fe4fb Localisation updates from https://translatewiki.net.
Change-Id: I72b49a08fa46029888193913a95cae0ab21847bf
2016-12-26 22:36:16 +01:00
Translation updater bot d76b3aa510 Localisation updates from https://translatewiki.net.
Change-Id: I59a98f11f9cc977ae27be9843b042cdd474aa4aa
2016-12-25 22:16:08 +01:00
Translation updater bot fcf5575e0d Localisation updates from https://translatewiki.net.
Change-Id: Ia41c4523de31ab2d03d3473faa55f50ed4cb739c
2016-12-17 22:20:06 +01:00
Translation updater bot 80b100c2b5 Localisation updates from https://translatewiki.net.
Change-Id: Ie406845d55b4e5be27efc13f8c923059569d554e
2016-12-16 22:13:25 +01:00
Translation updater bot f352c66b53 Localisation updates from https://translatewiki.net.
Change-Id: Id1abfe6f0b182d4daf235ce7c053465919cb2f72
2016-12-12 22:21:36 +01:00
Amir Sarabadani af6dc9c7d2 Align colors with Wikimedia color palette
One unnoticeable change

Change-Id: I5151de1201e78a33c464a3b34deb5ab557852101
2016-12-11 11:17:56 +04:00
Translation updater bot 5da67ac87d Localisation updates from https://translatewiki.net.
Change-Id: I15fefc5ac8a8852c66d31dd0df7a8fd586a8b39f
2016-12-05 22:46:09 +01:00
Translation updater bot b961db3e29 Localisation updates from https://translatewiki.net.
Change-Id: I7ed0f2a8104eed67a75abd77e445c7c7e2b32977
2016-11-29 22:19:02 +01:00
Translation updater bot cebca259ca Localisation updates from https://translatewiki.net.
Change-Id: Ie52b844e1a32d8d64fcea4f30dbe80503080f6c4
2016-11-27 22:26:27 +01:00
Translation updater bot 9b74814472 Localisation updates from https://translatewiki.net.
Change-Id: Iee1bc14ff8613ff92447a9106dc75e2975549969
2016-11-22 23:21:48 +01:00
Translation updater bot d4abd127d2 Localisation updates from https://translatewiki.net.
Change-Id: I474ef04c6a02fc7b3f05c826686274c56a20021b
2016-11-19 22:05:03 +01:00
Translation updater bot cfe75a59ca Localisation updates from https://translatewiki.net.
Change-Id: I294441b07f2e60b6e49b8be8dceef937f3ef659b
2016-11-15 22:50:50 +01:00
jenkins-bot 54a3b96ed9 Merge "Don't require write access for Special:CiteThisPage" 2016-11-15 20:43:10 +00:00
jenkins-bot 3f97506321 Merge "Allow blocked users to use Special:CiteThisPage" 2016-11-15 20:23:01 +00:00
Kunal Mehta 2c65135c62 Don't require write access for Special:CiteThisPage
If the database is locked/read-only, this page will still function.

Change-Id: I4f942a173a8a319218f755f27d8b2a3c60ca54d0
2016-11-15 11:55:41 -08:00
Kunal Mehta 5eb4059dc9 Allow blocked users to use Special:CiteThisPage
Bug: T150791
Change-Id: Ie9c2e54e47f387a03e2490edaf5052826dafc4ce
2016-11-15 11:35:17 -08:00
Translation updater bot 7816157f07 Localisation updates from https://translatewiki.net.
Change-Id: Ic29bd7c4da9dc1f1b4c0e284a3a131166d0b46ec
2016-11-13 22:41:04 +01:00
Umherirrender 44cec69751 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Id6011692c4bcaf9196cca43173069b5bfdb964a3
2016-11-13 12:53:10 +01:00
Translation updater bot 1515a8a700 Localisation updates from https://translatewiki.net.
Change-Id: I269aa4d013462dcb9a751379f5ea76d95107d18f
2016-10-28 22:37:41 +02:00
L10n-bot 38f3b131ac Merge "Localisation updates from https://translatewiki.net." 2016-10-25 21:21:43 +00:00
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