Commit graph

12 commits

Author SHA1 Message Date
Ebrahim Byagowi 77b047b12b Remove page href from arrows
As having href causes arrows to be clickable before JavaScript
handler be loaded.

And since that disables visited logic, let's remove it.

Change-Id: Ice4c979d020342890fffd587bb5bee88fcc2a1ae
2024-11-05 13:06:36 +03:30
Fomafix 8c27daf29e Add parser tests
Change-Id: I13e373a38b6486f938ca7d86620e3672de4408bb
2024-11-04 15:38:45 +00:00
Fomafix 5d3c9b7788 Use namespace for ServiceWiringTest
Change-Id: I4cebe9b0f28160a13f0cd8360c90b3463eaf94fb
2024-09-20 09:32:34 +00:00
Fomafix 58afeaf93c Use IConnectionProvider instead of ILoadBalancer
Change-Id: Id1071e0a61030c2ddd01fecebf6bf8a99c5948e0
2024-09-04 13:28:31 +00:00
Fomafix fcaea55e3d Use $this->getServiceContainer() tests
Consistently use
	$this->getServiceContainer()
instead of
	MediaWikiServices::getInstance()
in tests.

Change-Id: I409e4c25b301c9110348bedb7f4457030bbc17e5
2023-10-14 20:25:53 +00:00
Fomafix 8bd82c12f6 Use namespaced classes
Change-Id: I9fabf791aae691dfa7d071a1d99d17f4f7379682
2023-10-03 09:36:31 +00:00
Umherirrender 9d9b921b0b tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: If047c9c0bb337cea21e3825456eb3954dd1b693a
2023-05-20 11:19:06 +02:00
gerritbot 0cf8b3dfe5 Update moved class Category
See T321882. Moved in I0b86acfdea

Bug: T321681
Change-Id: If48e9163bcfcfe03098f61b7cc52137e4ecaae82
2023-05-12 14:33:05 +00:00
Umherirrender 9d98cc1ae6 Add a CategoryCache service for use on Special:TrackingCategories
Replace the dynamic property on SpecialTrackingCategories object,
this was used to store preloaded Category objects.
Dynamic properties are deprecated in php8.2
The preload and storage is now done with the service.

Adjust doc to LinkTarget (Id0cc2ca)

Bug: T324897
Change-Id: I891ad79bc357d32585ef4d9206d398c5a75222aa
2023-01-13 23:05:36 +01:00
Matěj Suchánek 89c61833c2 Migrate to new phan
Bug: T216908
Change-Id: I28faf3638dfbc20b84ba78d476b02f7bbc8cbd6a
2019-03-17 21:25:03 +01:00
Kunal Mehta d7b731bf3b Don't manually suppress PhanDeprecatedClass
Already disabled by default in mediawiki-phan-config 0.3.0.

Change-Id: Ic8844c404776b4a84902bdbaaefb5e367c8b39c6
2018-06-08 13:43:11 -07:00
Kunal Mehta 4e1158b7d2 Add phan configuration
Change-Id: I8d438ad061500bc56f5e3e527f18296485988d6f
2018-04-08 18:50:31 -07:00