« 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"
CYAN="\\033[1;36m"
echo "$VERT" "fix:A" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:B" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:C" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:D" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:E" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:F" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:G" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:H" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:I" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:J" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:K" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:L" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:M" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:N" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:O" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:P" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Q" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:R" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:S" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:T" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:U" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:V" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:W" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Y" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:X" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Z" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Syntaxe Wiki" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:wikilienbeta" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Dates" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:wikilien" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
#echo "$VERT" "fix:syntaxechapitre" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
echo "$VERT" "fix:Regles grammaticales" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
python interwiki.py -family:"wikipedia" -prefixindex:"user:Crochet.david"▼
▲#echo "$VERT" "fix:syntaxelecon" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
python interwiki.py -family:"wikiquote" -prefixindex:"user:Crochet.david"▼
python interwiki.py -family:"wikinews" -prefixindex:"user:Crochet.david"▼
▲echo "$VERT" "fix:Noms de charts" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
python interwiki.py -family:"wikibooks" -prefixindex:"user:Crochet.david"▼
▲echo "$VERT" "fix:Toponymie" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
python interwiki.py -family:"wikiversity" -prefixindex:"user:Crochet.david"▼
python interwiki.py -family:"wikisource" -prefixindex:"user:Crochet.david"▼
▲echo "$VERT" "fix:encodage" "$NORMAL" ; python replace.py -lang:"fr" -recentchanges -fix:"
python interwiki.py -family:"wiktionary" -prefixindex:"user:Crochet.david"▼
echo "$VERT" "fix:Phonetique" "$NORMAL" ; python
echo "$VERT" "fix:Regles orthographiques generales" "$NORMAL" ; python
echo "$VERT" "fix:Unites" "$NORMAL" ; python
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
echo "$VERT" "fix:interwiki wikiversity ar" "$NORMAL" ; python interwiki.py -lang:"
echo "$VERT" "fix:interwiki wikiversity cs" "$NORMAL" ; python interwiki.py -lang:"
echo "$VERT" "fix:interwiki wikiversity de" "$NORMAL" ; python interwiki.py -lang:"
echo "$VERT" "fix:interwiki wikiversity el" "$NORMAL" ; python interwiki.py -lang:"
echo "$VERT" "fix:interwiki wikiversity en" "$NORMAL" ; python
echo "$VERT" "fix:interwiki wikiversity es" "$NORMAL" ; python
▲echo "$VERT" "fix:interwiki wikiversity it" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity ja" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity pt" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity ru" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity sl" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity sv" "$NORMAL" ; python interwiki.py -lang:"
▲echo "$VERT" "fix:interwiki wikiversity beta" "$NORMAL" ; python interwiki.py -lang:"
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==
|