wiki.techinc.nl/includes/changes
Gergő Tisza 20d7a519ec
Fix history pager tools
Follows up Ia03038e86c6a607c8b75eefedbf0285ca1a2f8c8.

* Only generate a rollback link for the latest revisions in
  ContribsPager.
* Gate the entire ChangesList::insertPageTools beind the RC
  attribs check, not just the rollback link generation.
* In ContribsPager::formatRow, check for the existence of $page in
  a more reasonable place. This was already broken before Ia03038e
  so I suspect $page is never null in practice (in theory, a
  ContribsPager__reallyDoQuery hook handler could somehow produce
  a $row with no title information), but it can't hurt.
* Add some documentation and FIXMEs.
* Remove a comment from ChangesList - part of it is not true
  anymore after Ia03038e, part of it already didn't make sense
  before that.

Bug: T51541
Bug: T325753
Change-Id: If848e38b568492579382a2c920cb865fb0326d99
2022-12-22 14:36:14 -08:00
..
Hook Suppress RecentChange::doMarkPatrolled when autopatrol is requested 2022-12-03 17:16:50 +00:00
CategoryMembershipChange.php Make use of ??= in more places 2022-12-17 01:10:13 +00:00
ChangesFeed.php Feed: Move feed-related classes to Feed/ and namespace them 2022-10-20 17:25:49 +00:00
ChangesList.php Fix history pager tools 2022-12-22 14:36:14 -08:00
ChangesListBooleanFilter.php
ChangesListBooleanFilterGroup.php
ChangesListFilter.php Use native array_column() in ChangesListFilter code 2022-08-08 07:21:31 +00:00
ChangesListFilterGroup.php Remove unused key variable from foreach loops 2022-09-21 21:18:43 +02:00
ChangesListStringOptionsFilter.php
ChangesListStringOptionsFilterGroup.php Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
EnhancedChangesList.php Make use of ??= in more places 2022-12-17 01:10:13 +00:00
OldChangesList.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
RCCacheEntry.php
RCCacheEntryFactory.php Reorg: Move DummyLinker and Linker to linker/ 2022-12-08 06:38:17 +01:00
RecentChange.php Merge "Make use of ?:, ?? and ??= operators in mostly trivial cases" 2022-12-16 02:51:26 +00:00