Content deleted Content added
Updating published sources: AccidentalLangLinkFixer: * Approved, after 14 edits in 98 days. |
Updating published sources: AccidentalLangLinkFixer: * Special case "<nowiki>[[Category:]]</nowiki>", which doesn't create a link either way. |
||
Line 116:
my $intxt=$tok->{'revisions'}[0]{'*'};
my ($outtxt,$nowiki)=$api->strip_regex(qr/^(?:\s|<!--.*?-->)*\[\[\s*(?:$llre|$clre)\s*:[^]]*\]\](?:\s|<!--.*?-->)*$/m, $intxt);
($outtxt,$nowiki)=$api->strip_regex(qr/\[\[\s*(?:$clre)\s*:\s*(?:\|[^]]*)?\]\]/, $outtxt, $nowiki);
($outtxt,$nowiki)=$api->strip_nowiki($outtxt,$nowiki);
my @summary=();
|