Wikipedysta:ToSter/wpsk user.js: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
m skracam długość opisu rozszerzenia
ToSter (dyskusja | edycje)
mNie podano opisu zmian
Linia 45:
str = str.replace( /\{\{[Dd]uża grafika\|([^\|\}]+?)\.([^\|]+?)([\|\}])/g, '{{Duża grafika|$1<%%%DOT%%%>$2$3' );
str = str.replace( /\{\{[Dd]uża grafika\|([^\|\}]+?\d)r([^\|]+?)([\|\}])/g, '{{Duża grafika|$1<%%%R%%%>$2$3' );
str = str.replace( /\{\{[Ww]ikisłownik\|([^\|\}]+?) - ([^\|]+?)([\|\}])/g, '{{Wikisłownik|$1 <%%%SDASH%%%> $2$3' );
str = str.replace( /<ref name\s*=\s*"([^"]+?) - ([^"]+?)"/g, '<ref name="$1 <%%%SDASH%%%> $2"' );