Commit graph

8 commits

Author SHA1 Message Date
Umherirrender fb52519d7c Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I813e0d8fb266474eab5ad59ba33f6cd089099212
2024-10-20 13:20:47 +02:00
Fomafix 5769ac4966 Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA )
Change-Id: Ib0fadf7b2f3ca30eb34822a2883107fa60a6f004
2024-06-07 09:05:08 +00:00
Bartosz Dziewoński f2a60308aa Use expression builder instead of addQuotes()
Bug: T350960
Change-Id: Ib994ad36427f1404e3cc011a6187799842e08df0
2023-11-11 00:30:41 +01:00
thiemowmde 8f81812242 Enable and enforce a few extra PHPCS sniffs
This is not really anything new. Most code already followed these
sniffs. This patch just fixes the remaining exceptions. Also:
* Remove PHPDoc blocks that don't add anything but just repeat the
  strict types.
* Remove @file comments in favor of class-level comments.
* Add strict types where possible, most notably some `void`.

Change-Id: Iff6872dff68170b0fc4e82ac2ba3cad385e8773e
2023-09-06 18:15:22 +02:00
gerritbot cfd2e5b664 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I2a7aaadc47dd068ccea8fd8110054433973df52c
2023-08-19 18:11:41 +00:00
Bartosz Dziewoński ba0e71fd33 Migrate usage of Database::select to SelectQueryBuilder
Bug: T312348
Change-Id: I59057174c102c29877608db2a6c26b7a50bd34cf
2022-08-12 23:54:22 +02:00
Reedy 166812da07 Namespace extension
Change-Id: I779e97e512ec0c4f74fb6a4b706772fb1428e40f
2021-11-25 22:53:34 +00:00
Reedy 249c2b2ffb Add maintenance script to validate TemplateData pages
Outputs page titles where the TemplateData is invalid JSON.

Change-Id: I0862dd5e3e466f85c4d1307cd630116258d3d3b4
2021-07-15 09:05:25 +00:00