From b70c8e8def12977cd88fa423e6624fcc67a6a682 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Thu, 10 Aug 2023 11:23:18 +0200 Subject: [PATCH] Add rolblack marker stripping back in --- wiki.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wiki.pl b/wiki.pl index 501470d4..ad4ffbae 100755 --- a/wiki.pl +++ b/wiki.pl @@ -1571,6 +1571,10 @@ sub StripRollbacks { splice(@result, $i, 1); # strip rolled back single pages } } + } else { # if rollbacks are not not shown, just strip the markers + for (my $i = $#result; $i >= 0; $i--) { + splice(@result, $i, 1) if $result[$i][1] eq '[[rollback]]'; # id + } } return @result; }