mediawiki-extensions-Cite/tests/phpunit
WMDE-Fisch 179d402344 Add ReferencePreviews config checks to Cite extension
PHP classes and test are somewhat copies from the Popups codebase.
Some refactoring was applied. More could be done. Not to sure if
this should happen more in follow ups though.

Could also reduce the complexity of checks on the JS side. Most of
these things can only change on page load. The only dynamic part
left is the anon user setting managed by the Popups extension.

Note, that I needed to add a new PHP config for here although the
other still exists and is needed in the Popups extension. This
will change, when the user settings code also moves.

I guess it's okay for now though. Both settings default to true
and are not overridden in the config repos.

Also needed to add the Gadget extension as phan dependency.

Bug: T362771
Depends-On: Ia028c41f8aaa1c522dfc7c372e1ce51e40933a5e
Change-Id: Ie6e8bc706235724494036c7f0d873f5c996c46e6
2024-04-25 12:50:27 +02:00
..
integration Add ReferencePreviews config checks to Cite extension 2024-04-25 12:50:27 +02:00
unit CiteParserHooksTest: make test compatible with removal of dynamic property 2024-04-12 15:23:14 -04:00
CiteCSSFileModuleTest.php Move Parsoid-specific CSS into a subdirectory 2024-03-11 12:42:25 +00:00
CiteDbTest.php Stop writing to tablesUsed in tests 2024-01-20 12:23:34 +01:00
CiteHooksTest.php tests: Widen @covers annotations 2023-12-14 01:54:48 +00:00
CiteIntegrationTest.php Rename ReferencesFormatter to ReferenceListFormatter 2024-02-07 18:20:02 +01:00
ReferenceMessageLocalizerTest.php Drop unused cite_reference(s)_link_prefix messages 2024-01-04 13:17:42 +01:00
TestUtils.php Encapsulate ref object: limited to ReferenceStack 2024-01-09 09:59:16 +01:00