Commit graph

65 commits

Author SHA1 Message Date
Brad Jorsch cfa98448c3 Use CommentStore to access core comment fields when available
See core change Ic3a434c0.

Bug: T166732
Change-Id: I130510381ef97d8a2d29686843e2710cb5f72195
2017-08-30 13:27:46 -04:00
Max Semenik 0686f99653 DB_SLAVE -> DB_REPLICA
Change-Id: I371e092b3cd7f0af3770bf4e64b01a630e23ff92
2017-08-29 19:51:39 -07:00
Umherirrender a063e33ee8 Use short array syntax
Done by phpcbf over composer fix

Change-Id: I53fd1fc8d056b9b60194d2d630852cfca37aadea
2017-06-15 17:02:57 +02:00
pppery 66f52694a2 Make maintenance scripts use $this->requireExtension()
Bug: T152139
Change-Id: I9c3a6a186275b6554a761de8548bc16f8938d488
2016-12-12 22:42:00 +00:00
Paladox b3081e1798 Update mediawiki/mediawiki-codesniffer to 0.5.1
Change-Id: I4b2055a76db4362a8136e3fd595228cf07d083a9
2016-08-23 16:18:27 +02:00
Siebrand Mazeland ce1396aea7 Add support for PHP CodeSniffer checks
Also fix any remaining errors and warnings.

Change-Id: Ie49c6172e6bbf8040e5524d33d2f719e96784745
2016-01-06 09:59:47 -08:00
jenkins-bot 5f1447d698 Merge "No longer call removed SpecialPage::getLocalPageForName" 2015-08-22 23:29:39 +00:00
Alex Monk d010f3c0c9 No longer call removed SpecialPage::getLocalPageForName
Removed in I5122f0f2, which was after this script was written but long before
it was merged.

Bug: T54919
Change-Id: If67a5f137590414ba8c6c958d819e87099a3b010
2015-08-23 00:01:18 +01:00
jenkins-bot 01a024ffdc Merge "Fix addMissingLoggingEntries maintenance script handling of newlines" 2015-08-22 22:45:22 +00:00
Alex Monk e3db4db83e Fix addMissingLoggingEntries maintenance script handling of newlines
Bug: T54919
Change-Id: I0a979d9022ce3371813e214a7e4e1432e34c823b
2015-08-22 23:28:18 +01:00
jenkins-bot 75cb547f27 Merge "Add maintenance script to restore missing log entries for each filter history entry" 2015-08-11 19:46:45 +00:00
Krenair 1b9c71fabe Add maintenance script to restore missing log entries for each filter history entry
Quite a few of these occured on wikis between r48501 (2009-03-17) and r52734 (2009-07-03)

Bug: 52919
Change-Id: Ib33d0a1814fe131a5291ed7408057515482aa61f
2015-08-08 01:32:37 +01:00
Aaron Schulz 4219fa141c Fixed broken batching in –PurgeOldLogIPData
Bug: T95382
Change-Id: I133642e5dd8e75e98e6189ad10f54dbbea648c8d
2015-04-07 19:28:26 -07:00
Reedy b7fa8d5d20 $res is a bool, not a resultwrapper..
Display running count. Silent scripts are annoying

Change-Id: I4dcebbf1cd49dce6332ed1bdc0e2ba7aced4b8f1
2014-01-03 18:06:49 +00:00
Reedy cac808a35c Write maintenance script for AbuseFilter to purge old IP data from logs
Bug: 51573
Change-Id: I93392d77fb6172d55353d2ba7fb1be3a19f13b11
2013-11-19 21:44:14 +00:00