From 734910c83d530a36c259d8232288f19805b047be Mon Sep 17 00:00:00 2001 From: mohammad reza Date: Thu, 5 Jan 2017 19:12:25 +0330 Subject: [PATCH] Per https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Check_Wikipedia#.2388_has_false_positive --- bin/checkwiki.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/checkwiki.pl b/bin/checkwiki.pl index b069420..bafabd5 100755 --- a/bin/checkwiki.pl +++ b/bin/checkwiki.pl @@ -4873,8 +4873,8 @@ sub error_088_defaultsort_with_first_blank { my $test_text = substr( $text, $isDefaultsort, $pos2 ); my $sortkey = $test_text; - $sortkey =~ s/^([ ]+)?$current_magicword//; - $sortkey =~ s/^([ ]+)?://; + $sortkey =~ s/^{{([ ]+)?$current_magicword//; + $sortkey =~ s/^{{([ ]+)?://; if ( index( $sortkey, q{ } ) == 0 ) { error_register( $error_code, $test_text );