Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Vorwerk
0d9e1b134a Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with
UserOptionsManager::setOption()

Bug: T277818
Change-Id: I5ac58c4be5046d4457de24b63b062aa238e972b6
2021-08-16 06:00:28 +00:00
Reedy
5fea24f67c Replace usage of wfWaitForSlaves()
Bug: T181673
Change-Id: I3d2c1e7421b71364e01f00c5445cebc9c65326d4
2020-06-06 17:41:39 +01:00
Max Semenik
78d5e296b4 Don't use Maintenance::$mDescription directly
Change-Id: If28d9b7ee17ff559b35f3edc8b47ece298ea2c03
2019-06-14 17:48:30 -07:00
Umherirrender
03bc19fab2 Use ::class for class name resolution
Available since php5.5

Change-Id: Ie71b7f9d289a34532f6e3e1f32ac25bf08b9903f
2019-03-02 20:11:12 +01:00
Umherirrender
8614515a7c Use local variable in maintenance script
Change-Id: I0a2fa4cbe52e9f3b5c21a21951f1b40beb69978d
2018-05-01 21:58:31 +02:00
Brad Jorsch
a445aa8b52 Update for the actor table change
Core change I8d825eb0 begins the process of changing core database
tables from using xx_user and xx_user_text fields to using xx_actor.
This updates the extension to continue to function during and after the
transition.

Bug: T167246
Change-Id: Ic06c15c262bc47b66ace76207d77a76f46be305e
2018-04-24 23:40:00 +00:00
Kunal Mehta
67d470a9e7 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Id75a37eab27282ca7797fa3e6ceb92750c59477f
2018-03-03 19:27:21 +00:00
Niklas Laxström
9fc7ad5d84 Use a replica dedicated to slow queries (if available)
Bug: T187880
Change-Id: I2987b5ae9446cb0bf503978ee62861f2f969b1df
2018-02-21 16:11:08 +01:00
Kartik Mistry
b02cfed1c4 Added option to continue script from particular User ID
Change-Id: I0bdfab6585a110c30cc61c9b1129a08143ef2d4b
2018-02-21 18:44:28 +05:30
Amire80
b9db9caa17 Remove the 20 edits threshold from ULSCompactLinksDisablePref.php
Change-Id: I0ce645201f2a7dab72fb68f855c0f2be59dcf55e
2017-10-16 17:10:36 +03:00
Amire80
3df02cf213 Update timestamp in CLL preferences script to 20170101
This is how it was announced on the German Wikipedia for deployment.

Bug: T177836
Change-Id: I3ea36dc27341d50f3454564f6e00291f3c934750
2017-10-10 17:03:44 +03:00
Kunal Mehta
0e7d8a7a9d build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Public

Change-Id: Ic8acf95cfd8edf88125128fe527e357fa5d0a8ec
2017-06-25 18:39:02 +00:00
Amire80
3e17adcf5f Add a maintenance script for opt-in
To test, do
mwscript extensions/UniversalLanguageSelector/maintenance/ULSCompactLinksDisablePref.php XXwiki

(Where "XXwiki" is the database name, like "enwiki".)

To actually run,
mwscript extensions/UniversalLanguageSelector/maintenance/ULSCompactLinksDisablePref.php XXwiki --really

Bug: T133031
Change-Id: Ic4a5cd9561535aa1c8e049843b15c1731977ef7b
2017-02-20 14:39:35 +02:00