mediawiki-extensions-AbuseF.../includes/Views
Daimona Eaytoy 53b9f38888 Refactor data load in ViewEdit
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
2020-01-21 14:15:41 +01:00
..
AbuseFilterView.php build: Upgrade phan 2020-01-19 18:48:51 +00:00
AbuseFilterViewDiff.php build: Updating dependencies 2020-01-21 07:38:54 +00:00
AbuseFilterViewEdit.php Refactor data load in ViewEdit 2020-01-21 14:15:41 +01:00
AbuseFilterViewExamine.php Mostly remove $wgUser 2019-08-27 13:20:37 +02:00
AbuseFilterViewHistory.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewImport.php Use permissions accessors 2019-08-27 13:21:55 +02:00
AbuseFilterViewList.php build: Upgrade phan 2020-01-19 18:48:51 +00:00
AbuseFilterViewRevert.php build: Upgrade phan 2020-01-19 18:48:51 +00:00
AbuseFilterViewTestBatch.php Don't use mFilter in ViewTestBatch 2019-12-16 12:17:49 +01:00
AbuseFilterViewTools.php Don't show the form for restoring autopromotion to unprivileged users 2019-09-13 20:31:17 +02:00