Tech, Bureaucrats, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Suppressors, Administrators, threadmoderator
118,923
edits
Line 59: | Line 59: | ||
<pre style="background:black!important;color:white"> | <pre style="background:black!important;color:white"> | ||
python pwb.py replace -regex "\[\[(.*?)\|''(.*?)''\]\]" "''[[\1|\2]]''" -summary:"Piped italics fix: P3" -start:! -pt:2 | python pwb.py replace -regex "\[\[(.*?)\|''(.*?)''\]\]" "''[[\1|\2]]''" -summary:"Piped italics fix: P3" -start:! -pt:2 | ||
</pre> | |||
=== Punctuation before citation === | |||
<pre style="background:black!important;color:white"> | |||
python pwb.py replace -regex "(\w|\]\]|\'\') \(\[\[(TV|AUDIO|COMIC|PROSE|GAME|REF|DOC|WC|NOTVALID)\]\]: \'\'\[\[(.*?) \((.*?)\)\|\3\]\]\'\'\)(\.|,|;)" "\1\5 ([[\2]]: ''[[\3 (\4)|\3]]'')" "(\.|,|;) \(\[\[(TV|AUDIO|COMIC|PROSE|GAME|REF|DOC|WC|NOTVALID)\]\]: \'\'\[\[(.*?) \((.*?)\)\|\3\]\]\'\'\)(\1)" "\1 ([[\2]]: ''[[\3 (\4)|\3]]'')" -pt:2 -start:! -summary:"Punctuation before citation" | |||
</pre> | </pre> | ||
edits