The not-namespaced classes are deprecated since change I735222c437
(commit ea2979b8ca) and other changes.
Also use the recommendation for @covers from
https://docs.phpunit.de/en/10.3/annotations.html#covers
> Please note that this annotation requires a fully-qualified class
> name (FQCN). To make this more obvious to the reader, it is
> recommended to use a leading backslash (even if this not required
> for the annotation to work correctly).
Update the test class names and file names
from SpecialBooksourcesTest to SpecialBookSourcesTest,
from SpecialRecentchangesTest to SpecialRecentChangesTest and
from SpecialRandomTest to SpecialRandomPageTest
to match the corresponding special page class names.
Change-Id: I3c0e80c6219c5085e28338601617599e09bd05de
We renamed many classes to be namespaced, but the `@covers` and
`@coversDefaultClass` annotations weren't updated properly.
PHPUnit didn't support short cover annotations with `use` statements,
these didn't trigger any errors yet, because they are class alias.
This patch is populated by a modified version of PhpunitAnnotationsSniff.
Change-Id: I6c602290a30099239b17d2dc0d67b1488b4eaeeb
This restores a rewritten version of
commit 78483caaaf.
- Special:Contribute the default entry point in the menu when enabled
- Otherwise it will link to Special:Contributions (default behaviour)
Depends-On: I65336cfd56e1f6b92c1b3bc83cb5d91bbca065bf
Bug: T319327
Change-Id: I67779b88c4904462f9d847b3edb08a65306b2bfb
* Add new special page SpecialContribute
* Added messages and aliases for EN language
* Add classes to carry cards Data
* Added Hook ContributeCardsHook for adding/removing updating cards
* Moved HTML to template
* Added main page and 1st tab styles
* Removed the dependency on minerva skin code
* Added Unit Tests
* Fixed Jenkins, and qqq messages
* Added an override for getShortDescription in special pages to generate unified tab message keys
Bug: T286466
Change-Id: I7f064a954a77373dfec86efae7e378402f500198