mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
53b9f38888
Instead of having a single loadRequest method (which could end up loading from the DB...), split it in a DB-only method and a request-only one. Simplify the logic used to show the filter editor. Show the page without changes or warnings if the user lost editing rights in the meanwhile. Avoid two static properties, and pass them in when relevant instead. Bonus: optimize a query to sort by afh_id instead of afh_timestamp to avoid filesort. This will allow a subsequent patch to clean the $row object in loadRequest. Change-Id: Iabd0ae5b18571f8cad44ef2d86bcf2519e7f95ba |
||
---|---|---|
.. | ||
parserTests | ||
parserTestsEquivset | ||
phpunit | ||
selenium |