Tech, Bureaucrats, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Suppressors, Administrators, threadmoderator
118,971
edits
Tag: sourceedit |
No edit summary Tag: sourceedit |
||
Line 14: | Line 14: | ||
<pre style="background:black;color:white"> | <pre style="background:black;color:white"> | ||
python replace.py -catr:"Example" -regex "\{\{[Ww]ikipediainfo([\s\S]*)\[\[Category:(.*?)\]\]" "{{wikipediainfo\1[[Category:\2]]\n[[Category:Example from the real world]]" -excepttext:"Example from the real world" -pt:1 | python replace.py -catr:"Example" -regex "\{\{[Ww]ikipediainfo([\s\S]*)\[\[Category:(.*?)\]\]" "{{wikipediainfo\1[[Category:\2]]\n[[Category:Example from the real world]]" -excepttext:"Example from the real world" -pt:1 | ||
</pre> | |||
=== Locations visited by the good Doc === | |||
<pre style="background:black;color:white"> | |||
replace.py "-cat:Example" "-regex" "\[\[Category:Locations visited by the(.*?)Doctor\]\]" "[[Category:Example visited by the\1Doctor]]" "-pt:1" | |||
</pre> | </pre> | ||
Line 22: | Line 28: | ||
python replace.py -regex "\[\[(.*?) \((.*?)\)\|''\1''\]\]" "''[[\1 (\2)|\1]]''" "\[\[(.*?)\|''\1''\]\]" "''[[\1]]''" -summary:"Cosmetic changes" -pt:1 -start:! | python replace.py -regex "\[\[(.*?) \((.*?)\)\|''\1''\]\]" "''[[\1 (\2)|\1]]''" "\[\[(.*?)\|''\1''\]\]" "''[[\1]]''" -summary:"Cosmetic changes" -pt:1 -start:! | ||
</pre> | </pre> | ||
= Videos = | = Videos = |
edits