Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made error #006 support the Hebrew character set, and re-enabled it for hewiki #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions checkwiki.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4810,7 +4810,6 @@ sub error_006_defaultsort_with_special_letters{
# {{ORDENA:Alfons I}}
if ( ($page_namespace == 0 or $page_namespace == 104)
and $project ne 'arwiki'
and $project ne 'hewiki'
and $project ne 'plwiki'
and $project ne 'jawiki'
and $project ne 'yiwiki'
Expand Down Expand Up @@ -4846,6 +4845,7 @@ sub error_006_defaultsort_with_special_letters{
$testtext =~ s/[ăîâşţ]//g if ($project eq 'rowiki');
$testtext =~ s/[АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдежзийклмнопрстуфхцчшщьыъэюя]//g if ($project eq 'ruwiki');
$testtext =~ s/[АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдежзийклмнопрстуфхцчшщьыъэюяіїґ]//g if ($project eq 'ukwiki');
$testtext =~ s/[אבגדהוזחטיכךלמםנןסעפףצץקרשת]//g if ($project eq 'hewiki'); # Hebrew has its own character set
$testtext =~ s/[~]//g if ($project eq 'huwiki'); # ~ for special letters

#if ($testtext ne '') error_register(…);
Expand Down Expand Up @@ -5820,7 +5820,6 @@ sub error_037_title_with_special_letters_and_no_defaultsort{
and $category_counter > -1
and $project ne 'arwiki'
and $project ne 'jawiki'
and $project ne 'hewiki'
and $project ne 'plwiki'
and $project ne 'trwiki'
and $project ne 'yiwiki'
Expand Down Expand Up @@ -5865,6 +5864,7 @@ sub error_037_title_with_special_letters_and_no_defaultsort{
$testtext =~ s/[ÆØÅæøå]//g if ($project eq 'nowiki');
$testtext =~ s/[ÆØÅæøå]//g if ($project eq 'nnwiki');
$testtext =~ s/[ăîâşţ]//g if ($project eq 'rowiki');
$testtext =~ s/[אבגדהוזחטיכךלמםנןסעפףצץקרשת]//g if ($project eq 'hewiki'); # Hebrew has its own character set
$testtext =~ s/[АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдежзийклмнопрстуфхцчшщьыъэюя]//g if ($project eq 'ruwiki');
$testtext =~ s/[АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдежзийклмнопрстуфхцчшщьыъэюяiїґ]//g if ($project eq 'ukwiki');

Expand Down