« Utilisateur:Crochet.david.bot/Scripts » : différence entre les versions

Contenu supprimé Contenu ajouté
Mise à jour des scripts.
→‎Script : MàJ
Ligne 5 :
#!/bin/bash
 
VERT="\\033[1;32m"
python replace.py -lang:"fr" -recentchanges -fix:"A"
NORMAL="\\033[0;39m"
python replace.py -lang:"fr" -recentchanges -fix:"V"
ROUGE="\\033[1;31m"
python replace.py -lang:"fr" -recentchanges -fix:"B"
ROSE="\\033[1;35m"
python replace.py -lang:"fr" -recentchanges -fix:"Syntaxe Wiki"
BLEU="\\033[1;34m"
python replace.py -lang:"fr" -recentchanges -fix:"wikilienbeta"
BLANC="\\033[0;02m"
python replace.py -lang:"fr" -recentchanges -fix:"W"
BLANCLAIR="\\033[1;08m"
python replace.py -lang:"fr" -recentchanges -fix:"Y"
JAUNE="\\033[1;33m"
python replace.py -lang:"fr" -recentchanges -fix:"C"
CYAN="\\033[1;36m"
python replace.py -lang:"fr" -recentchanges -fix:"X"
 
python replace.py -lang:"fr" -recentchanges -fix:"E"
echo "$VERT" "fix:A" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"KA"
echo "$VERT" "fix:B" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"DB"
echo "$VERT" "fix:C" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"FC"
echo "$VERT" "fix:D" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"DatesD"
echo "$VERT" "fix:E" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"TE"
echo "$VERT" "fix:F" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"GF"
echo "$VERT" "fix:G" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"ZG"
echo "$VERT" "fix:H" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"IH"
echo "$VERT" "fix:I" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"HI"
echo "$VERT" "fix:J" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"wikilienJ"
echo "$VERT" "fix:K" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"JK"
echo "$VERT" "fix:L" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"syntaxechapitreL"
echo "$VERT" "fix:M" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Regles grammaticalesM"
echo "$VERT" "fix:N" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"AnneesN"
echo "$VERT" "fix:O" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"MO"
echo "$VERT" "fix:P" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"syntaxeleconP"
echo "$VERT" "fix:Q" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"MoisQ"
echo "$VERT" "fix:R" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"LR"
echo "$VERT" "fix:S" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"NS"
echo "$VERT" "fix:T" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Noms de chartsT"
echo "$VERT" "fix:U" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"OU"
echo "$VERT" "fix:V" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"QV"
echo "$VERT" "fix:W" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"ToponymieW"
echo "$VERT" "fix:Y" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"PY"
echo "$VERT" "fix:X" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"SieclesX"
echo "$VERT" "fix:Z" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"encodageZ"
echo "$VERT" "fix:Syntaxe Wiki" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"PhonetiqueSyntaxe Wiki"
echo "$VERT" "fix:wikilienbeta" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Swikilienbeta"
echo "$VERT" "fix:Dates" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Regles orthographiques generalesDates"
echo "$VERT" "fix:wikilien" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Uwikilien"
#echo "$VERT" "fix:syntaxechapitre" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Unitessyntaxechapitre"
echo "$VERT" "fix:Regles grammaticales" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"RRegles grammaticales"
echo "$VERT" "fix:Annees" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"VAnnees"
python interwiki.py -family:"wikipedia" -prefixindex:"user:Crochet.david"
#echo "$VERT" "fix:syntaxelecon" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Wsyntaxelecon"
python interwiki.py -family:"wikiquote" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:Mois" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"AMois"
python interwiki.py -family:"wikinews" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:Noms de charts" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"YNoms de charts"
python interwiki.py -family:"wikibooks" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:Toponymie" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"wikilienbetaToponymie"
python interwiki.py -family:"wikiversity" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:Siecles" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"BSiecles"
python interwiki.py -family:"wikisource" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:encodage" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"Syntaxe Wikiencodage"
python interwiki.py -family:"wiktionary" -prefixindex:"user:Crochet.david"
echo "$VERT" "fix:Phonetique" "$NORMAL" ; python interwikireplace.py -lang:"arfr" -recentchanges -async -cleanupfix:"Phonetique"
echo "$VERT" "fix:Regles orthographiques generales" "$NORMAL" ; python interwikireplace.py -lang:"csfr" -recentchanges -asyncfix:"Regles -cleanuporthographiques generales"
echo "$VERT" "fix:Unites" "$NORMAL" ; python interwikireplace.py -lang:"defr" -recentchanges -async -cleanupfix:"Unites"
day=$(date +%A)
python interwiki.py -lang:"el" -recentchanges -async -cleanup
if [ $day = "jeudi" ] ; then echo "$VERT" "fix:interwiki wikipedia" "$NORMAL" ; python interwiki.py -family:"wikipedia" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"en" -recentchanges -async -cleanup
if [ $day = "vendredi" ] ; then echo "$VERT" "fix:interwiki wikiquote" "$NORMAL" ; python interwiki.py -family:"wikiquote" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"es" -recentchanges -async -cleanup
if [ $day = "samedi" ] ; then echo "$VERT" "fix:interwiki wikinews" "$NORMAL" ; python interwiki.py -family:"wikinews" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"fi" -recentchanges -async -cleanup
if [ $day = "dimanche" ] ; then echo "$VERT" "fix:interwiki wikibooks" "$NORMAL" ; python interwiki.py -family:"wikibooks" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"fr" -recentchanges -async -cleanup
if [ $day = "lundi" ] ; then echo "$VERT" "fix:interwiki wikiversity" "$NORMAL" ; python interwiki.py -family:"wikiversity" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"it" -recentchanges -async -cleanup
if [ $day = "mardi" ] ; then echo "$VERT" "fix:interwiki wikisource" "$NORMAL" ; python interwiki.py -family:"wikisource" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"ja" -recentchanges -async -cleanup
if [ $day = "mercredi" ] ; then echo "$VERT" "fix:interwiki wiktionary" "$NORMAL" ; python interwiki.py -family:"wiktionary" -prefixindex:"user:Crochet.david" ; fi
python interwiki.py -lang:"pt" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity ar" "$NORMAL" ; python interwiki.py -lang:"ruar" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity cs" "$NORMAL" ; python interwiki.py -lang:"slcs" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity de" "$NORMAL" ; python interwiki.py -lang:"svde" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity el" "$NORMAL" ; python interwiki.py -lang:"betael" -localonly -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity en" "$NORMAL" ; python cosmetic_changesinterwiki.py -lang:"betaen" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity es" "$NORMAL" ; python cosmetic_changesinterwiki.py -lang:"fres" -recentchanges -async -cleanup
#echo "$VERT" "fix:interwiki wikiversity fi" "$NORMAL" ; python replaceinterwiki.py -lang:"frfi" -recentchanges -fix:"syntaxelecon"async -cleanup
#echo "$VERT" "fix:interwiki wikiversity fr" "$NORMAL" ; python replaceinterwiki.py -lang:"fr" -recentchanges -fix:"syntaxechapitre"async -cleanup
echo "$VERT" "fix:interwiki wikiversity it" "$NORMAL" ; python interwiki.py -lang:"elit" -recentchanges -async -cleanup
</source>
echo "$VERT" "fix:interwiki wikiversity ja" "$NORMAL" ; python interwiki.py -lang:"enja" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity pt" "$NORMAL" ; python interwiki.py -lang:"espt" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity ru" "$NORMAL" ; python interwiki.py -lang:"firu" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity sl" "$NORMAL" ; python interwiki.py -lang:"frsl" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity sv" "$NORMAL" ; python interwiki.py -lang:"itsv" -recentchanges -async -cleanup
echo "$VERT" "fix:interwiki wikiversity beta" "$NORMAL" ; python interwiki.py -lang:"jabeta" -localonly -recentchanges -async -cleanup
echo "$VERT" "fix:cosmeticchanges wikiversity beta" "$NORMAL" ; python cosmetic_changes.py -lang:"beta" -recentchanges
echo "$VERT" "fix:cosmeticchanges wikiversity fr" "$NORMAL" ; python cosmetic_changes.py -lang:"fr" -recentchanges </source>
 
==User_fixes.py==