Skip to content

Commit

Permalink
Save Anonymous username without translation
Browse files Browse the repository at this point in the history
When saving, write "Anonymous" without translating it. When displaying
"Anonymous", translate it.
  • Loading branch information
kensanata committed Jun 27, 2018
1 parent ef35e4e commit 8b85c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wiki.pl
Expand Up @@ -3923,7 +3923,7 @@ sub DoMaintain {
while ($line = shift(@rc)) {
my ($ts, $id, $minor, $summary, $host, @rest) = split(/$FS/, $line);
last if $ts >= $starttime;
push(@tmp, join($FS, $ts, $id, $minor, $summary, T('Anonymous'), @rest));
push(@tmp, join($FS, $ts, $id, $minor, $summary, 'Anonymous', @rest));
$changed = 1;
}
unshift(@rc, $line) if $line; # this one ended the loop
Expand All @@ -3935,7 +3935,7 @@ sub DoMaintain {
while ($line = shift(@rc)) {
my ($ts, $id, $minor, $summary, $host, @rest) = split(/$FS/, $line);
last if $ts >= $starttime;
push(@tmp, join($FS, $ts, $id, $minor, $summary, T('Anonymous'), @rest));
push(@tmp, join($FS, $ts, $id, $minor, $summary, 'Anonymous', @rest));
$changed = 1;
}
unshift(@rc, $line) if $line; # this one ended the loop
Expand Down

0 comments on commit 8b85c6e

Please sign in to comment.