mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
637a88316b
Using Title::newFromText is parsing the string, which is expensive. Just use Title::makeTitle when the result is known. editPage() can take a Title or WikiPage instead of a string, avoid creation of Title there. The default ns on editPage() is only needed when giving a string Change-Id: Ie303b9e6d6b8d6ac80286059f8e86bfc76b779af |
||
---|---|---|
.. | ||
integration | ||
unit | ||
AbuseFilterConsequencesTest.php | ||
AbuseFilterCreateAccountTestTrait.php | ||
AbuseFilterFilterUserTest.php | ||
AbuseFilterRowsAndFiltersTestTrait.php | ||
AbuseFilterUploadTestTrait.php | ||
ConsequenceGetMessageTestTrait.php | ||
DegroupTest.php | ||
LazyVariableComputerDBTest.php | ||
RCVariableGeneratorTest.php | ||
SchemaChangesHandlerTest.php | ||
UpdateHitCountWatcherTest.php |