aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/editpage/Constraint
Commit message (Expand)AuthorAgeFilesLines
* editpage: Refactor user right, rate limit and block checks to use AuthorityBartosz Dziewoński2025-04-055-267/+120
* editpage: Make BrokenRedirectConstraint provide its own error messageSomeRandomDeveloper2025-02-211-2/+4
* Fix broken redirect warning showing for special or interwiki targetsSomeRandomDeveloper2025-01-221-1/+1
* Add a warning when trying to create a double redirectSomeRandomDeveloper2025-01-171-0/+99
* Remove 2-line PHPDocs that just repeat the types from the codethiemowmde2025-01-171-1/+0
* Add a warning when trying to create a broken redirectSomeRandomDeveloper2024-11-261-0/+78
* Use explicit nullable type on parameter argumentsAndre Klapper2024-10-231-1/+1
* tests: Use namespaced classesUmherirrender2024-10-214-0/+5
* Move section-check logic to ExistingSectionEditConstraintDannyS7122024-07-121-0/+15
* Move AS_REVISION_WAS_DELETED handling into constraintDannyS7122024-07-121-1/+12
* Rename AutoSummaryMissingSummaryConstraintDannyS7122024-07-121-6/+6
* EditPage::internalAttemptSave() - move more logic to constraintsDannyS7122024-07-112-4/+14
* Replace some uses of deprecated PermissionManager::getPermissionErrors()Bartosz Dziewoński2024-06-271-8/+8
* tests: Use namespaced classes (2)Umherirrender2024-06-131-0/+1
* Update tests for PHPUnit 9.6 (part 2)Daimona Eaytoy2024-01-171-5/+4
* Update tests for PHPUnit 9.6 (part 1)Daimona Eaytoy2024-01-161-6/+11
* EditPage: replace usage of User::pingLimiterdaniel2024-01-022-48/+30
* tests: Use namespaced classesUmherirrender2023-12-111-0/+2
* Change EditPage 'edit' rights check to do per page instead of generalBrian Wolff2023-11-042-61/+111
* Bump codesniffer to 42.0.0Amir Sarabadani2023-09-271-8/+4
* Namespace User under \MediaWiki\UserJames D. Forrester2023-09-193-0/+3
* rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms libraryAmir Sarabadani2023-05-042-2/+2
* Reorg: Move ReadOnlyMode classes to db/Amir Sarabadani2023-04-282-0/+2
* tests: Make some PHPUnit data providers staticTim Starling2023-03-242-2/+2
* Reorg: Namespace the Title classJames D. Forrester2023-03-029-0/+9
* unit tests: Use MainConfigNames constant to refer configsUmherirrender2022-08-171-1/+2
* EditPage: Disentangle edit summary and section titleBartosz Dziewoński2022-07-193-9/+6
* CreationPermissionConstraintTest: remove unused $titleDannyS7122022-06-291-3/+0
* Improve error messages in EditFilterMergedContentHookConstraintDaimona Eaytoy2022-03-222-113/+3
* Add convenience methods for asserting status.daniel2022-03-161-3/+3
* Tests: use UserIdentityValue instead of mock User objectsDannyS7122021-05-031-5/+3
* Merge "Remove unnecessary ->equalTo() from tests"jenkins-bot2021-04-234-9/+9
|\
| * Remove unnecessary ->equalTo() from testsThiemo Kreuz2021-04-234-9/+9
* | Remove some meaningless $this->equalTo() from testsThiemo Kreuz2021-04-223-29/+11
|/
* phpunit: Mass-replace setMethods with onlyMethods and adjustDaimona Eaytoy2021-04-164-13/+7
* Set $status->value in EditFilterMergedContentHookConstraint::checkConstraint(...Func2021-04-151-2/+2
* Update creation of edit constraints following switch to AuthorityDannyS7122021-03-221-23/+0
* Convert EditConstraints to AuthorityPetr Pchelko2021-03-035-182/+81
* tests: Remove @param docs from test code that just repeat the signatureThiemo Kreuz2021-01-211-4/+0
* Merge "Add tests for EditConstraintFactory"jenkins-bot2020-12-261-0/+125
|\
| * Add tests for EditConstraintFactoryDannyS7122020-12-261-0/+125
* | Bring SpamRegexConstraint test coverage to 100%DannyS7122020-12-261-1/+1
|/
* ImageRedirectConstraint: accept Content objectsDannyS7122020-12-091-22/+25
* UserRateLimitConstraint: move detection of content model change to constraintDannyS7122020-12-011-4/+12
* Move more logic into edit constraintsDannyS7122020-12-011-3/+26
* Add AccidentalRecreationConstraintDannyS7122020-11-161-0/+47
* EditPage: Add two more constraintsDannyS7122020-11-112-0/+151
* Merge "EditPage: Move $sectionHeadingToCheck handling to SpamRegexConstraint"jenkins-bot2020-11-111-0/+2
|\
| * EditPage: Move $sectionHeadingToCheck handling to SpamRegexConstraintDannyS7122020-11-111-0/+2
* | Move EditPage::runPostMergeFilters to a constraintDannyS7122020-11-101-0/+112
|/