Commit Graph

16 Commits

Author SHA1 Message Date
Umherirrender
0c8eb5d7c0 Replace use of Xml methods for building Html markup
Bug: T341775
Change-Id: I506f544fae3ead363e3bcd86d33b9cc30c909763
2025-12-28 14:10:23 +01:00
Edward Chernenko
6f95b63a0b Update for MediaWiki 1.43
1) replaced use of "ipblocks" table (removed from MediaWiki core).
2) removed unnecessary GROUP BY (user_name is already unique),
which was causing errors in MySQL strict mode.

Bug: T379715
Bug: T309096
Change-Id: Ib3e9dd01a52466aa19b20e1f7fbfe9bb0f5dd02f
2025-12-01 14:53:49 +00:00
Pskyechology
26735a18a2 Use namespaced imports
Also bumps MW requirement to 1.40 as the namespaces were introduced in that version.
Remove unnecessary GROUP BY, which causes errors in MySQL strict mode.

Change-Id: I9cfc32b13518da39b97662e424682d4d7a7cf862
2025-07-06 01:17:57 +03:00
ZoruaFox
00af3f2598 Fix wfGetDB deprecated on 1.39 and later versions.
The global function wfGetDB() has been deprecated since 1.39,
use LoadBalancer::getConnection() instead of old function.

Bug: T369145
Change-Id: Ided5ed8d1e54428541f067c75fbe7fdfeefc460f
2024-07-03 22:17:33 +00:00
libraryupgrader
548a1f177c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 41.0.0 → 43.0.0
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.27.0
* grunt-banana-checker: 0.10.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: Iee9ef20b4984ad7459d77cc77c59394667954370
2024-04-22 02:10:29 +00:00
Luca Mauri
4212d24b49 Fix "Cannot access non-public property Parser::$mStripState"
Discussed under https://www.mediawiki.org/wiki/Topic:Xc6c9apmxydt7817

Bug: T333675
Change-Id: Ifd38878edfd6481de85efd716e4f954cd1e449bb
2023-09-03 18:04:04 +00:00
Vedmaka
d4dae78b27 Make $wgContribScoreCacheTTL affect caching of embedded Special:ContributionScores page
Change-Id: I526362c422f611e3f8882be5575618f530b868b2
2022-12-11 10:43:17 +00:00
Umherirrender
c68abe1641 Replace deprecated IDatabase::fetchObject
Bug: T286694
Change-Id: I78ae801c9fec3de0495f355b90edaac703faa169
2022-02-04 23:16:47 +01:00
jenkins-bot
120ae2bac0 Use MainWANObjectCache to improve performance
Bug: T278030
Change-Id: I7e8487ff9b2e7c9038bd058aa11cd844450b165a
2021-10-06 04:50:00 +00:00
Chris Rishel
35ea80cb36 Adds configuration directive to filter specified usernames from the contribution scores tables.
Bug: T292266
Change-Id: I641fbd3d8b088132cba4f142ee99a8837a02afb3
2021-10-04 08:17:14 +00:00
Func
6024bfd83b Introduce a config, to use the rough number of edits in user table
Bug: T278030
Change-Id: Ibd6d0380cc091e4720fb038bd8c663a6ebb4a6ea
2021-07-01 08:34:58 +00:00
Func
b0e2a7c59a Minor cleanups on ContributionScores extension
Change-Id: If35b44623ce27fa80c44f6bd18ceffdf9d9811b9
2021-05-15 14:31:22 +00:00
ZabeMath
bb3429ecff Use User->isRegistered(), not deprecated isLoggedIn()
Bug: T270450
Change-Id: I1018c6a76af5685026d956f5c010b5537cf3011e
2021-05-06 17:57:17 +02:00
Func
571a707b3b Query for array of join with ActorMigration::getJoin() to improve performance
There is no need for comment text, RevisionStore::getQueryInfo() is overkill, and will cause more time in database query.

Bug: T278030
Change-Id: I9c062cd66677aa7d473a3283f29b0e39c5b4ea02
2021-04-02 15:40:27 +00:00
Func
4dc3f4fc3e Update ContributionScores for expiring user groups
Bug: T160020
Change-Id: I66c9108133d2bdd5dc29336a525480764c95f5c2
2021-03-14 03:32:57 +00:00
zoranzoki21
9d46bcf5c7 Fix few PHPCS excludes
Change-Id: I999ff9d6ffbc727d74221a62080895af21495772
2021-02-06 15:52:52 +01:00