$line =~ s#\{\{Plugin\|([^}]+)\}\}#$1 plugin#g;
$line =~ s@\{\{Issue\|([^}]+)\}\}@#$1@g;
- $line =~ s#\[\[[^|]+\|([^\]]+)\]\]#$1#g;
- $line =~ s#\[\[([^|]+)\]\]#$1#g;
+ $line =~ s#\[\[[^|\]]+\|([^\]]+)\]\]#$1#g;
+ $line =~ s#\[\[([^|\]]+)\]\]#$1#g;
$line =~ s#'''(.*?)'''#*$1*#g;
$line =~ s#''(.*?)''#$1#g;