Contenuto cancellato Contenuto aggiunto
- redirect nei template
Correggo tag deprecato
Riga 8:
REGEXP FALSOREDIRECT
 
--><ref><sourcesyntaxhighlight lang=python> /replace.py -file:indirizzo_locale/lista -regex "#[r|R][edirect|EDIRECT](.*?)\[\[(.*?)\]\]" "{{falsoredirect|\2}}" </sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 17:
REGEXP {{Term|animale(i)}}
 
--><ref><sourcesyntaxhighlight lang=python>replace.py -ref:template:term -regex "\{\{term\|[\[\[animal[i|e]\]\]|animal[i|e]\}\}" "{{term|zoologia}}" -namespace:0 </sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 26:
REGEXP TERM ANIMALE2
 
--><ref><sourcesyntaxhighlight lang=python>replace.py -ref:template:term -regex "\{\{Term\|\[\[animal[i|e]\]\]\}\}" "{{Term|zoologia}}" -namespace:0</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 35:
REGEXP TERM ANIMALE3
 
--><ref><sourcesyntaxhighlight lang=python>replace.py -ref:template:term -regex "\{\{Term\|animal[e|i]\|(.*?)\}\}" "{{Term|zoologia|\1}}" -namespaces:0</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 44:
REGEXP TLD
 
--><ref><sourcesyntaxhighlight lang=python>replace.py -file:cod.txt -regex "\{\{in\|(.*?)\}\}" "{{in|int|cod}}" -putthrottle:1</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 53:
REGEXP TLD
 
--><ref><sourcesyntaxhighlight lang=python>replace.py -ref:template:v -regex "\{\{v\|" "* {{Vd|" -putthrottle:1</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 62:
REGEXP {{Nota disambigua}}
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -regex "\{\{nota disambigua\|([^\|]*)\|\[\[([^\]\|#]*[#\|]?[^\]]*)\]\]\}\}" "{{nota disambigua|\1|\2}}"
-ref:Template:nota_disambigua -summary:"Bot: correggo con nuova sintassi il
{{nota disambigua}}" -putthrottle:1 </sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 73:
REGEXP INSERIMENTO {{in}} SENZA PARTE DEL DISCORSO
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -putthrottle:1 -regex -ref:Template:-LINGUA- "\{\{-LINGUA-\}\}" "{{in|LINGUA|np}}"
-excepttext:"\{\{\-[adj|agg|adjc|adjc form|agno|comp|noun|noun
form|abbr|acronym|art|avv|adv|adverb|phrase|chat|cifr|cod|conf|let|esclam|loc adjc|loc avv|locconj|loc interj|loc noun|loc
verb|num|name|neo|verb|vb|verb form|suff|conj|prep|prp|pref|prefix|suffix|slogan|interj|inter|pronoun|poss|post|prov]\-\}\}"
-summary:"Bot: sostituisco {{[[template:-LINGUA-|-LINGUA-]]}} con {{[[template:in|in]]|LINGUA|np}}"
</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 88:
REGEXP INSERIMENTO {{in}} SENZA PARTE DEL DISCORSO
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -regex ":\*\{\{[Ss]ound\}\}(.*?)\[\[([Mm]edia|[Ff]ile):(.*?)\|(.*?)\]\]" "{{Sound|\3}}"
-ref:Template:Sound -putthrottle:1 -summary:"Correggo sintassi del template Sound" -namespace:0</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 98:
REGEXP INSERIMENTO {{in}} SENZA PARTE DEL DISCORSO
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -regex "\{\{[Tt]erm\|peggiorativo\|(.*?)\}\}" "{{pegg}}" -ref:Template:Term -putthrottle:1
-summary:"sostituisco template term con il template pegg" -namespace:0</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 109:
REGEXP INSERIMENTO {{in}} SENZA PARTE DEL DISCORSO
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -cat:Pagine_senza_definizione -regex "\{\{[Nn](odef|oref|oetim)\}\}" "{{N\1|it}}" -putthrottle:1</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA
Riga 119:
REGEXP ORFANIZZAZIONE PROGETTI WMF
 
--><ref><sourcesyntaxhighlight lang=python> replace.py -regex "\[\[Wiki(books|news|versity|versità|media|media Commons|quote|source|species|notizie|media Foundation)\]\]"
"[[Wikizionario:Wiki\1|]]" -summary:"orfanizzo" -excepttitle:Utente:Rael/wimmo2 -ref:Wikquellacheè</sourcesyntaxhighlight></ref><!--
 
REGEXP FINITA