User:Esby-mw-bot/command log

From Wikimedia Commons, the free media repository
Jump to: navigation, search

This log is manually maintained by user:esby

The tasks for now are to sort out Category:Supported_by_Wikimedia_France which contains 11k files for now into sub categories per event covered. Esby (talk) 12:26, 19 June 2012 (UTC)

reminder

Skeleton for creating a french chapter related category Skeleton for creating a french chapter related category


{{Supported by Wikimedia France}}
__HIDDENCAT__
{{cat see also|{{{catname}}}}}

Link to the bot contributions

done

00001

cd ~/commons-mw-bot
rm *.wiki
mw pullcat "Category:110_ans_d'automobile_au_Grand_Palais" # which is containing 475 files
ls | wc # outputs 475 entries, everything is ok.
grep -l "Supported by Wikimedia France" * | wc # outputs 474 entries - one file is missing.
grep -L "Supported by Wikimedia France" * # [[:File:110_ans_de_l'automobile_au_Grand_Palais_-_Pontiac_Torpedo_Silver_streak_-_1948_-_002.jpg]] is missing the template
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|110 ans d'automobile au Grand Palais - Supported by Wikimedia France}}/g" *
mw st | wc # 474 files (which is ok; the missing file will be corrected manually)
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00001]]' # there appears to be a bug in -m implementation with spaces not being handled correctly

✓ Done

note: I upgradded to the latest version of mw - reinstalled my vm with debian.

00002

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo 2008]" # done
ls | wc # outputs 787 files vs 787 files in cat - ok.
grep -l "Supported by Wikimedia France" * | wc # outputs 676 files
grep -L "Supported by Wikimedia France" * | wc # outputs 111 files, 102 files are corresponding to Guillaume Jaquet uploads (no templates), 5 files by user:okki (template needs to be added there, the rest by non members of the chapter.
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo 2008 - Supported by Wikimedia France}}/g" *
mw st | wc #  679 files modified
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00002]]' # 

✓ Done

note: implemented cmcontinue on mw. so more than 500 files per categories can be pulled out.

00003

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2008" # contains 154 files and 1 page
ls | wc # outputs 155 wiki-files
grep -l "Supported by Wikimedia France" * | wc # outputs 147 files
grep -L "Supported by Wikimedia France" * | wc # outputs 8 files 
cat `grep -L "Supported by Wikimedia France" *` | grep -i Author | outputs User:Dinkley (*2), User:Pyerre(*2),  User:Gribeco, Raphaël Labbé (flickr)(*2) to which has to be added one 1 page (no author) - none of those files needs the template, so everything is ok.
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Salon du livre, Paris, 2008 - Supported by Wikimedia France}}/g" *
mw st | wc #  147 files - which is ok
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00003]]' # 147 files committed

✓ Done

00004

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo 2010" # contains 892 files.
ls | wc # outputs 892 files, which is ok
grep -l '{{Supported by Wikimedia France}}' * | wc # outputs 599 files
grep -L '{{Supported by Wikimedia France}}' * | wc # outputs 293 files - 290 are already in [[Category:Japan Expo 2010 - Covered by Wikimedia France]]
the following files do not have the template:
File:Japan_Expo_2010_-_2010-07-02_-_City_Hunter_XYZ.jpg by User:Jesmar
File:Japan_Expo_2010_-_2010-07-02_-_Kame_House.jpg by User:Jesmar
File:Natsuko_Aso_-_Japan_Expo_2010.jpg by User:Ceridwen
the template is not supposed to be present on those files, everything is ok.

/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo 2010 - Covered by Wikimedia France}}/g" *
mw st | wc # outputs 599 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00004]]' # 599 files commited

✓ Done

00005

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Eurockéennes 2007" # 399 files in the category
ls | wc # outputs 399 files
grep -l "Supported by Wikimedia France" * | wc # outputs 381 files 
grep -L "Supported by Wikimedia France" * | wc # outputs 18 files - on them 13 are by user:rama and should have the template
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Eurockéennes 2007 - Supported by Wikimedia France}}/g" *
mw st | wc #  394 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00005]]' # 394 files commited

✓ Done

00006

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo 2009" # contains 566 files
ls | wc # outputs 566 files, which is ok.
grep -l '{{Supported by Wikimedia France}}' * | wc # outputs 561 files
grep -L '{{Supported by Wikimedia France}}' * | wc # outputs 5 files - 2 by flickr/pixeltoo - 1 by user cerdidwen -  1 by jamiecat - 1 by user:effeminateNico - none are supposed to have the template, which is ok.

/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo 2009 - Covered by Wikimedia France}}/g" *
mw st | wc # outputs  561 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00006]]' #  561 files description committed

✓ Done

00007

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2009" # 
ls | wc # outputs 81 files
grep -l "Supported by Wikimedia France" * | wc # outputs 67 files which are by user:Okki
grep -L "Supported by Wikimedia France" * | wc # outputs 14 files which are by various author not related to the chapter
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Salon du livre, Paris, 2009 - Supported by Wikimedia France}}/g" *
mw st | wc #  67 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00007]]' # 67 files committed.

✓ Done

00008

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival_BD_Sollies_Ville_2008" # 
ls | wc # outputs 199 files
grep -l "Supported by Wikimedia France" * | wc # outputs 193 files - but some files are only categorized and do not have the template 
grep -L "Supported by Wikimedia France" * | wc # outputs 6 sub category
/usr/bin/perl -p -i -e "s/\\[\[Category:Supported by Wikimedia France\]\]//g" * # we remove the category
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}//g" * # we remove the template to add it again later) 
/usr/bin/perl -p -i -e "s/{{Personality rights}}//g" * # we remove the template to add it again later) 
grep '{{Self|GFDL|Cc-by-sa-3.0-migrated|Cc-by-2.5}}' * | wc # we check how many files have the same licence - 193 here
/usr/bin/perl -p -i -e "s/\{\{Self\|GFDL\|Cc-by-sa-3.0-migrated\|Cc-by-2.5\}\}/\{\{Personality rights\}\}\n\{\{Self\|GFDL\|Cc-by-sa-3.0-migrated\|Cc-by-2.5\}\}\n\{\{Supported by Wikimedia France\|Sollies Ville 2008 - Wikimedia France\}\}\n/g" *
# checked that the files looks good with mw diff and cat of a few ones
mw st | wc #  193 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00008]]' # 

✓ Done

00009

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2010" # which contains 531 files
ls | wc # outputs 531 files - everything is ok
grep -l "Supported by Wikimedia France" * | wc # outputs 425 files
grep -L "Supported by Wikimedia France" * | wc # outputs 106 files
cat `grep -L "Supported by Wikimedia France" * ` | grep -i Author | sort | uniq -c
 5 |Author=[[User:Dinkley|Dinkley]]
 1 |Author=[[User:Frachet|Frachet]]
14 |Author=[[User:Ji-Elle|Ji-Elle]]
11 |Author=[[User:Pyerre|Pyerre]]
74 |Author=[[User:Thesupermat|Thesupermat]]
 1 |Author=[[User:Twentycent90|Twentycent90]]
Asked thesupermat if the template should be present on the file. 
Will proceed the files having the template (by user:Okki)

/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Category:Salon du livre, Paris, 2010 - Supported by Wikimedia France}}/g" *
mw st | wc #  outputs 425 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00009]]' # 
killed the commit - replacement command was wrong - replaced manually the 8 files that were changed. Fixed the rest of the description
/usr/bin/perl -p -i -e "s/Category:Salon du livre, Paris, 2010 - Supported by Wikimedia France/Salon du livre, Paris, 2010 - Supported by Wikimedia France/g" *
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00009]]' # rest of files committed

✓ Done

00010

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival BD O Tour de la Bulle - Montpellier 2008" # contains 215 files
ls | wc # outputs 215 files
grep -l "Supported by Wikimedia France" * | wc # outputs 214 files
grep -L "Supported by Wikimedia France" * | wc # outputs 1 files
All files are missing the template.
File:Georges_Frêche_-_O_tour_de_la_bulle_-_2008.jpg is missing the category.

/usr/bin/perl -p -i -e "s/\\[\[Category:Supported by Wikimedia France\]\]//g" * # we remove the category
/usr/bin/perl -p -i -e "s/{{Personality rights}}//g" * # we remove the template to add it again later)
grep '{{Self|GFDL|Cc-by-sa-3.0-migrated|Cc-by-2.5}}' * | wc # 186 files
grep '{{self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}}' * | wc # 29 files - sum is 215

/usr/bin/perl -p -i -e "s/\{\{Self\|GFDL\|Cc-by-sa-3.0-migrated\|Cc-by-2.5\}\}/\{\{Personality rights\}\}\n\{\{Self\|GFDL\|Cc-by-sa-3.0-migrated\|Cc-by-2.5\}\}\n\{\{Supported by Wikimedia France\|Festival BD O Tour de la Bulle - Montpellier 2008 - Supported by Wikimedia France\}\}\n/g" *
/usr/bin/perl -p -i -e "s/\{\{self\|GFDL\|cc-by-sa-3.0,2.5,2.0,1.0\}\}/\{\{Personality rights\}\}\n\{\{Self\|GFDL\|cc-by-sa-3.0,2.5,2.0,1.0\}\}\n\{\{Supported by Wikimedia France\|Festival BD O Tour de la Bulle - Montpellier 2008 - Supported by Wikimedia France\}\}\n/g" *
#checked everything was alright with mw diff and cat of a few files, including files of the two variants

mw st | wc #  215 files
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00010]]' # 

✓ Done

00011

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival du jeu vidéo 2008" # 82 files in the category
ls | wc # outputs 82 files
grep -l "Supported by Wikimedia France" * | wc # outputs 82 files
grep -L "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Festival du jeu vidéo 2008 - Supported by Wikimedia France}}/g" *
mw st | wc #  82 files
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00011]]' # 

✓ Done

00012

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fort en Jazz 2009" # 566 files
ls | wc # outputs 566 files
grep -l "Supported by Wikimedia France" * | wc # outputs 563 files
grep -L "Supported by Wikimedia France" * | wc # outputs 3 files with a less relationship to the concert, could be intented. not categorizing
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Fort en Jazz 2009 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00012]]' # 

00013

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo Sud 2010" # 247 files in category
ls | wc # outputs 247 files
grep -l "Supported by Wikimedia France" * | wc # outputs 247 files
grep -L "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo Sud 2010 - Covered by Wikimedia France}}/g" *
mw st | wc #  247 files
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00013]]' # 247 files commited

✓ Done

00014

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival de la chanson française 2009" # 669 files
ls | wc # outputs 669 files
grep -l "Supported by Wikimedia France" * | wc # outputs 669 files
grep -L "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Festival de la chanson française 2009 - Supported by Wikimedia France}}/g" *
mw st | wc #  669 files
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00014]]' # 669 files to commit

✓ Done

00015

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Exposition \"Au service des Tsars\"" # 22 files
ls | wc # outputs 22 files
grep -l "Supported by Wikimedia France" * | wc # outputs 19 files by thesupermat
grep -L "Supported by Wikimedia France" * | wc # outputs 3 files by thesupermat, assuming the template should be present here too
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Exposition \"Au service des Tsars\" - Supported by Wikimedia France}}/g" *
vi `grep -L "Supported by Wikimedia France" *` # manually adding the 3 templates
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00015]]' # 

00016

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Bayrou's meeting in Paris for the 2007 French presidential election, 18 April 2007" # 48 files - 1 subcat , the subcat is to be removed (done)
ls | wc # outputs 48 files - removed the subcat since it was not related to the meeting except for one photo.
grep -l "Supported by Wikimedia France" * | wc # outputs 38 files
grep -L "Supported by Wikimedia France" * | wc # outputs 10 files - 7 files by user:med , 2 files by jastrow  - 1 by a flickr author. The two files by jastrow depict someone in particular, assuming the missing template is wanted here.
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Bayrou's meeting in Paris for the 2007 French presidential election, 18 April 2007 - Covered by Wikimedia France}}/g" *
mw st | wc #  38 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00016]]' # 

✓ Done

00017

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fête_de_la_musique_2012_-_Brest" # 
ls | wc # outputs 80 files
grep -l "Supported by Wikimedia France" * | wc # outputs 20 files
grep -L "Supported by Wikimedia France" * | wc # outputs 60 files, all files are by thesupermat, got a mail from him asking to put the template on those files - date is also missing, putting it

/usr/bin/perl -p -i -e "s/Date=/Date=2012-06-21/g" *
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}//g" * # we remove the template to add it again later) 
/usr/bin/perl -p -i -e "s/{{Personality rights}}//g" * # we remove the template to add it again later) 
grep '{{cc-by-sa-3.0}}' * | wc # 80 - all files have the same licence
grep -L {{Personality rights}} * #
#File:Brest_-_Fête_de_la_musique_2012_-_Kick_me_out_-_016.jpg.wiki
#File:Brest_-_Fête_de_la_musique_2012_-_Scène_Liberté_-_001.jpg.wiki
#File:Brest_-_Fête_de_la_musique_2012_-_Scène_Liberté_-_002.jpg.wiki

/usr/bin/perl -p -i -e "s/\{\{cc-by-sa-3.0\}\}/\{\{Personality rights\}\}\n\{\{cc-by-sa-3.0\}\}\n\{\{Supported by Wikimedia France\|Fête de la musique 2012 - Brest - Supported by Wikimedia France\}\}\n/g" * # re adding the template and informations
# we remove the template {{Personality rights}} from the three previous files
vi File:Brest_-_Fête_de_la_musique_2012_-_Kick_me_out_-_016.jpg.wiki File:Brest_-_Fête_de_la_musique_2012_-_Scène_Liberté_-_001.jpg.wiki File:Brest_-_Fête_de_la_musique_2012_-_Scène_Liberté_-_002.jpg.wiki

mw st | wc #  80 files to commit
mw diff | more # check the changes performed
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00017]]' # 

✓ Done

00018

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:July 14, 2008 military parade on the Champs Élysées" # 64 files
ls | wc # outputs 64 files
grep -l "Supported by Wikimedia France" * | wc # outputs 57 files
grep -L "Supported by Wikimedia France" * | wc # outputs 7 files - 2 are not related to wmfr chapter
File:EC_725_Cougard_(3).JPG.wiki
File:GMP_Bastille_Day_2008-crop.jpg.wiki
File:Lieutenant_de_police.jpg.wiki
File:Nicolas_Sarkoky_Bastille_Day_2008_n2-Georgelin.jpg.wiki
File:Nicolas_Sarkoky_Bastille_Day_2008_n2-Sarko_cropped.jpg.wiki
File:Nicolas_Sarkoky_Bastille_Day_2008_n2-Sarko.jpg.wiki
File:Tigre_de_l'armée_allemande.JPG.wiki

/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|July 14, 2008 military parade on the Champs Élysées - Supported by Wikimedia France}}/g" *
/usr/bin/perl -p -i -e "s/- Supported by Wikimedia France}}/- Covered by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00018]]' # 

✓ Done

00019

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:La Folle Journée 2009" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 70 files ( 10 of them were already processed during this bot flag request)
grep -L "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|La Folle Journée 2009 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00019]]' # 

00020

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2012" # 351 files
ls | wc # outputs 351 files
grep -l "Supported by Wikimedia France" * | wc # outputs 111 files - 95 images by thesupermat 16 by garitan
grep -li "Supported by Wikimedia France" * | wc # outputs 115 files 
cat *.wiki | grep -i Author | sort |uniq -c
#      1 |author=[[User:Dinkley|Dinkley]]
#     83 |author=[[User:Garitan|Garitan]]
#      1 |Author= [[User:Garitan|Garitan]]
#      1 |author=[[User:Gind2005|Gind2005]]
#      8 |author=[[User:Lefalher|Lefalher]]
#    244 |Author=[[User:Thesupermat|Thesupermat]]
#      3 |author=[[User:Tibault35|Tibault35]]
#     10 |author=[[User:Turb|S. Veyrié]]

#mailed thesupermat to ask if the template should be on all uploads
#answer:the 70-200 template usage exclude supported by wmlfr the usage for now.

cat `grep -li '70-200' *  ` | grep -i author | sort | uniq -c
# 145 |Author=[[User:Thesupermat|Thesupermat]]

/usr/bin/perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/gi" * # we add supported by wmfr on top of the 70-200 template

grep -l "Supported by Wikimedia France" * | wc # outputs 256 files , which is ok 95 + 16 + 145
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/\{\{Supported by Wikimedia France|Salon du livre, Paris, 2012 - Supported by Wikimedia France\}\}/gi" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00020]]' # 

Time2wait.svg On hold

00021

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Brest 2008" # 
ls | wc # outputs 173 files
grep -l "Supported by Wikimedia France" * | wc # outputs 45 files 
grep -L "Supported by Wikimedia France" * | wc # outputs 128 files - some are by thesupermat, assuming the template not present is normal, the rest are by various wikimedians
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Brest 2008 - Supported by Wikimedia France}}/g" *
mw st | wc #  45 files modified
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00021]]' # 
note: File:Brest Collage.jpg miss the template, adding it manually.

✓ Done

00022

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Paris - Cap Nord 2010" # 240 files
ls | wc # outputs 240 files
grep -l "Supported by Wikimedia France" * | wc # outputs 226 files
grep -L "Supported by Wikimedia France" * | wc # outputs 14 files -1 1s per groume, the rest per chapter member, adding the template to the 13 files with vim
vi `grep -L "{{Supported by Wikimedia France}}" *`
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Paris - Cap Nord 2010 - Supported by Wikimedia France}}/g" *
mw st | wc #  239 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00022]]' # 

✓ Done

00023

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Utopiales 2011" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Utopiales 2011 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00023]]' # 

Time2wait.svg On hold

00024

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Images made by courtesy of the Bibliothèque Mazarine" # 
ls | wc # outputs 53 files
grep -li "Supported by Wikimedia France" * | wc # outputs 53 files
grep -Li "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{supported by Wikimedia France}}/{{Supported by Wikimedia France|Images made by courtesy of the Bibliothèque Mazarine}}/g" *
mw st | wc #  53 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00024]]' # 

✓ Done Note: the image source project is a partnership, this category is already hidden, no needs for a dual category for the chapter.

00025

nothing to do here. the category is added via a template ({{By courtesy of the Bibliothèque Sainte-Barbe}}. Adjusted the template to categorize in all medias by Wikimedia France

00026

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Challenge Réseau Ferré de France–Trophée Monal 2012" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Challenge Réseau Ferré de France–Trophée Monal 2012 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00026]]' # 

✓ Done

00027

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Debout la République's rally, 2 June 2009" # 17 files
ls | wc # outputs 17 files
grep -l "Supported by Wikimedia France" * | wc # outputs 14 files
grep -L "Supported by Wikimedia France" * | wc # outputs 3 files 2 files by jastrow template should be here
vim `grep -L "Supported by Wikimedia France" *`
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Debout la République's rally, 2 June 2009 - Supported by Wikimedia France}}/g" *
mw st | wc #  16 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00027]]' # 
killed the bot, should have been covered by nomenclature.
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France\|Debout la République's rally, 2 June 2009 - Supported by Wikimedia France}}/{{Supported by Wikimedia France\|Debout la République's rally, 2 June 2009 - Covered by Wikimedia France}}/g" *
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00027]]' # commit started again

✓ Done

00028

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Chibi Japan Expo 2007" # 
ls | wc # outputs 35 files
grep -l "Supported by Wikimedia France" * | wc # outputs 35 files
grep -L "Supported by Wikimedia France" * | wc # outputs 0 files
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Chibi Japan Expo 2007 - Supported by Wikimedia France}}/g" *
mw st | wc #  35 files to commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00028]]' # 

✓ Done

00029

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival BD Sollies Ville 2008 Caricaturistes" # 
mw pull_commandat "Category:Jerome Jouvray Sollies Ville Séquence" # 
mw pull_commandat "Category:Ptiluc Sollies Ville 2008 Dédicace" # 
mw pull_commandat "Category:Roland Niels Sollies Ville 2008" # 


ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/\[\[Category:Supported by Wikimedia France\]\]/{{Supported by Wikimedia France|Festival BD Sollies Ville 2008 - Supported by Wikimedia France}}/g" *


mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00029]]' # 
#wrong category name
/usr/bin/perl -p -i -e "s/2008 - Supported by/2008 - Covered by/g" * # we remove the template to add it again later) 
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00029]]' # 

# we need to update the old category name
rm *.wiki 
mw pull_commandat "Category:Sollies Ville 2008 - Wikimedia France" # 
/usr/bin/perl -p -i -e "s/Sollies Ville 2008 - Wikimedia France/Festival BD Sollies Ville 2008 - Covered by Wikimedia France/g" * # we remove the template to add it again later) 
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00029]]' # 

mw pull_commandat "Category:Festival BD Sollies Ville 2008 Poor Quality"
/usr/bin/perl -p -i -e "s/\[\[Category:Supported by Wikimedia France\]\]//gi" * # we remove the template from those images
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00029]]' # 

✓ Done


00030

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Ariane 60th launch"
ls| wc # outputs 88
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc # 88
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc # 0
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc # 0
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc # 0
mw.getauthor #88|Author=[[User:LionelAllorge|LionelAllorge]]
# end of verification
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Ariane 60th launch - Supported by Wikimedia France\}\}/g" *
# check
mw st| wc # 88
mw diff| more # ok
# end of check
# commit
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00030]]'
# end of commit

✓ Done Note:

  • the replace generated is not good, it contains Category.
  • the command option were not good (-b --message and not --b -message)

00031


cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Cohen-Solal's rally for the 2008 French town elections, 3 March 2008"
ls| wc # outputs 10 files
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc # 10
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc # 0 
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc # 0
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc # 0
mw.getauthor #
# end of verification
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Cohen-Solal's rally for the 2008 French town elections, 3 March 2008 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc # 10
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00031]]'
# end of commit

✓ Done

00032

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Dans l'ombre des dinosaures"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc # 25
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc # 1 
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc # 0
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc # 0
mw.getauthor #
# end of verification
mw pull "Category:Dans l'ombre des dinosaures"
# Warning - unsafe - check manually before executing
#echo '{{cat see also|Dans l'ombre des dinosaures - Supported by Wikimedia France}}' >> `mw.getfilename "Category:Dans l'ombre des dinosaures"` # file edited by hand
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Dans l'ombre des dinosaures - Supported by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00032]]'
# end of commit

✓ Done

00033

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Delanoë's rally for the 2008 French town elections, 27 February 2008"
ls| wc # outputs 27
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #26
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #1 - manually adding the template to File:Lionel_Jospin_2008_-_2.jpg.wiki
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# Warning - unsafe - check before executing or add manually to Category:Delanoë's rally for the 2008 French town elections, 27 February 2008
#
# {{cat see also|Delanoë's rally for the 2008 French town elections, 27 February 2008 - Covered by Wikimedia France}
#
# unsafe command follows
mw pull "Category:Delanoë's rally for the 2008 French town elections, 27 February 2008"
echo '{{cat see also|Delanoë's rally for the 2008 French town elections, 27 February 2008 - Covered by Wikimedia France}}' >> `mw.getfilename "Category:Delanoë's rally for the 2008 French town elections, 27 February 2008"`
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Delanoë's rally for the 2008 French town elections, 27 February 2008 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00033]]'
# end of commit

✓ Done

00034

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fête de l'Humanité 2006" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Fête de l'Humanité 2006 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00034]]' # 

✓ Done

00035

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo 2011" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo 2011 - Covered by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00035]]' # 

✓ Done

00036

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fête de l'Humanité 2008" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Fête de l'Humanité 2008 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00036]]' # 

✓ Done

00037

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Matsuri 2010"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# Warning - unsafe - check before executing or add manually to Category:Japan Matsuri 2010
#
# {{cat see also|Japan Matsuri 2010 - Covered by Wikimedia France}}
#
# unsafe command follows
mw pull "Category:Japan Matsuri 2010"
echo '{{cat see also|Japan Matsuri 2010 - Covered by Wikimedia France}}' >> `mw.getfilename "Category:Japan Matsuri 2010"`
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Japan Matsuri 2010 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check

#fixing date in author for my uploads
sed -i '/Esby/c |Author={{User:Esby/credit}}' *


# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00037]]'
# end of commit

✓ Done

00038

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Europe Écologie's rally, 3 June 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Europe Écologie's rally, 3 June 2009 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00038]]'
# end of commit

✓ Done

00040

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Saint-Antoine-l'Abbaye"
mw pull_commandat "Category:Abbatial church of Saint-Antoine-l'Abbaye"
mw pull_commandat "Category:Stained glass windows of Abbatial church of Saint-Antoine-l'Abbaye‎"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement

/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|User:Yann/Images scanned with the support of Wikimédia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00040]]'
# end of commit

✓ Done

00041

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Launch rally of the Front de Gauche, 8 March 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc # 15
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
/usr/bin/perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Launch rally of the Front de Gauche, 8 March 2009 - Coverted by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00041]]'
# end of commit

✓ Done Note: errored on Coverted -> Covered. Fixed manually on the files since the bot is already launched.

00042

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival automobile international 2012" # 
mw pull_commandat "Category:Festival automobile international 2012 - Alfa Romeo Giulia SS"
mw pull_commandat "Category:Festival automobile international 2012 - Bertone Jaguar B99"
mw pull_commandat "Category:Festival automobile international 2012 - BMW 328‎"
mw pull_commandat "Category:Festival automobile international 2012 - BMW 328 Hommage‎"
mw pull_commandat "Category:Festival automobile international 2012 - Casques Ruby‎"
mw pull_commandat "Category:Festival automobile international 2012 - Citroën C-Sportlounge‎"
mw pull_commandat "Category:Festival automobile international 2012 - Citroën DS5‎"
mw pull_commandat "Category:Festival automobile international 2012 - Icona Fuselage‎"
mw pull_commandat "Category:Festival automobile international 2012 - Kia GT‎"
mw pull_commandat "Category:Festival automobile international 2012 - Kia Pop‎"
mw pull_commandat "Category:Festival automobile international 2012 - Mercedes"
mw pull_commandat "Category:Festival automobile international 2012 - Mini Paceman‎"
mw pull_commandat "Category:Festival automobile international 2012 - Peugeot 508 RH"
mw pull_commandat "Category:Festival automobile international 2012 - Peugeot HR1‎"
mw pull_commandat "Category:Festival automobile international 2012 - Peugeot H1‎"
mw pull_commandat "Category:Festival automobile international 2012 - Photocall‎"
mw pull_commandat "Category:Festival automobile international 2012 - Renault R-Space‎"
mw pull_commandat "Category:Festival automobile international 2012 - Renault Sherpa light Scout‎"
mw pull_commandat "Category:Festival automobile international 2012 - Renault Zoe Preview‎"
mw pull_commandat "Category:Festival automobile international 2012 - Zero Engineering Type 5‎"


ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Festival automobile international 2012 - Covered by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00042]]' # 

00043

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival du Bout du Monde 2011"
mw pull_commandat "Category:17 Hippies - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Afrocubism - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Aloe Blacc - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Bernard Lavilliers - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Bonga - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Hanggai - Festival du Bout du Monde 2011"
mw pull_commandat "Category:I Muvrini - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Lail Arad - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Moriarty - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Moussu T e lei Jovents - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Professor - Festival du Bout du Monde 2011"
mw pull_commandat "Category:Yael Naim - Festival du Bout du Monde 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Festival du Bout du Monde 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00043]]'
# end of commit

00044

✓ Done not needed: transformed the category into a project supported one.

00045

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Chibi Japan Expo 2008"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Chibi Japan Expo 2008 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00045]]'
# end of commit

✓ Done

00046

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fête de la Fraternité 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Fête de la Fraternité 2009 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00046]]'
# end of commit

✓ Done

00047

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Japan Expo Sud 2011" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Japan Expo Sud 2011 - Covered by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00047]]' # 

✓ Done Note: removed a duplicated file comming from my flickr imported by another used while the files are already present on commons.

00048

mw pull "File:Swaminarayan temple, Kheda district Gujarat.jpg"
mw pull "File:Swaminarayan temple, Kheda district, Gujarat.jpg"
mw pull "File:Traditional folk dance, Kheda district, Gujarat.jpg"
mw pull "File:Traditional folk dance, Kheda, Gujarat.jpg"
mw pull "File:Traditional folk dance, Kheda, Gujarat.jpg"
mw pull "File:Women in sari Ahmedabad.jpg"
mw pull "File:Gujarati carrying water pot.jpg"
mw pull "File:Gujarati travesti playing drum.jpg"
mw pull "File:Gujarati Drummers Kheda.jpg"
mw pull "File:Traditional welcome performance, Kheda district, Gujarat.jpg"
mw pull "File:Traditional welcome performance, Mitral, Kheda district, Gujarat.jpg"
mw pull "File:Traditional welcome performance, Mitral Kheda district, Gujarat.jpg"
mw pull "File:Traditional welcome performance, Mitral, Kheda district Gujarat.jpg"
mw pull "File:Traditional_magic_performance,_Kheda_district,_Gujarat.jpg"
mw pull "File:Body painting Gujarat.jpg"
mw pull "File:Girls school, Run, Kheda district, Gujarat.jpg"
mw pull "File:Traditional folk dance Kheda Gujarat 3.jpg"
mw pull "File:Traditional folk dance, Run, Kheda district, Gujarat.jpg"
mw pull "File:Welcome with traditional dance, Kheda district, Gujarat 2.jpg"
mw pull "File:Welcome with traditional dance Kheda district, Gujarat.jpg"
mw pull "File:Welcome with traditional dance Kheda district Gujarat.jpg"
mw pull "File:Welcome with traditional dance, Kheda district Gujarat.jpg"
mw pull "File:International Walk Dec 1991 Kheda district 4.jpg"
mw pull "File:International Walk Dec 1991 Kheda district 3.jpg"
mw pull "File:International Walk Dec 1991 Kheda district 2.jpg"
mw pull "File:International Walk Dec 1991 Kheda district.jpg"
mw pull "File:Welcome with traditional dance, Kheda district, Gujarat.jpg"
mw pull "File:Traditional folk dance Kheda Gujarat 2.jpg"
mw pull "File:Traditional folk dance Kheda Gujarat.jpg"
mw pull "File:Adalaj step-well.jpg"
mw pull "File:Narayan Desai spinning.jpg"
mw pull "File:Narayan Desai and others leaders of Gandhian movements.jpg"
mw pull "File:Camel with a fancy dress rider.jpg"
mw pull "File:Indian girls stage performance-edit.jpg"
mw pull "File:Indian girls stage performance Gujarat.jpg"
mw pull "File:Indian girls Gujarat stage performance.jpg"

perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|User:Yann\/Images scanned with the support of Wikimédia France\/Slides of India\}\}/g" *


mw pull "File:Film Gandhi Smarak Sangrahalaya Samiti.jpg"
mw pull "File:Birth place of Mahatma Gandhi.jpg"
mw pull "File:Karamchand Gandhi 2.jpg"
mw pull "File:Putlibai Gandhi 2.jpg"
mw pull "File:Alfred High School Rajkot.jpg"
mw pull "File:Gandhi law student.jpg"
mw pull "File:Gandhi office Johannesburg.jpg"
mw pull "File:Phoenix settlement.jpg"
mw pull "File:Tolstoy Farm.jpg"
mw pull "File:Gandhi Zulu rebellion.jpg"
mw pull "File:Reception to Gokhale.jpg"
mw pull "File:Epic March 1913 South Africa.jpg"
mw pull "File:Great March South Africa 1913.jpg"
mw pull "File:Gandhi as satyagrahi.jpg"
mw pull "File:Gandhi and Kasturba.jpg"
mw pull "File:Sabarmati Ashram Ahmedabad.jpg"
mw pull "File:Gandhi during the Kheda satyagraha.jpg"
mw pull "File:Gandhi cap.jpg"
mw pull "File:Gandhi fasting with Indira.jpg"
mw pull "File:Gandhi at the Belgaum Congress 1924.jpg"
mw pull "File:Gandhi with Tagore and Andrews.jpg"
mw pull "File:Gandhi with Deshbandu C. R. Das.jpg"
mw pull "File:Gandhi and Sadar Patel Bardoli Satyagraha.jpg"
mw pull "File:Salt Satyagraha.jpg"
mw pull "File:Gandhi picking up salt at Dandi.jpg"
mw pull "File:Arrest of Gandhi during Salt Satyagraha.jpg"
mw pull "File:Karachi Congress.jpg"
mw pull "File:Gandhi before boarding ship at Bombay.jpg"
mw pull "File:Gandhi hugging a child.jpg"
mw pull "File:Gandhi at the Round Table Conference.jpg"
mw pull "File:Gandhi outside Buckingham Palace.jpg"
mw pull "File:Gandhi visiting Lancashire Cotton Mill.jpg"
mw pull "File:Gandhi with women workers.jpg"
mw pull "File:Gandhi planting a tree 2.jpg"
mw pull "File:Central Prison Yeravda.jpg"
mw pull "File:The Mango Tree, Yeravda Prison.jpg"
mw pull "File:Gandhi in Bihar after the earthquake.jpg"
mw pull "File:Gandhi, Harijan Work at Madras.jpg"
mw pull "File:Gandhi the scavenger.jpg"
mw pull "File:Gandhi tending a leper.jpg"
mw pull "File:Gandhi, travelling third class.jpg"
mw pull "File:Gandhi at the spinning wheel.jpg"
mw pull "File:Gandhi's journals.jpg"
mw pull "File:Gandhi Right against Might.jpg"
mw pull "File:Gandhi's books.jpg"
mw pull "File:Gandhi's Sevagram Hut.jpg"
mw pull "File:Gandhi and Kasturba 1942.jpg"
mw pull "File:Gandhi and Nehru.jpg"
mw pull "File:Kasturba washing Gandhi's feet.jpg"
mw pull "File:Gandhi with calf.jpg"
mw pull "File:Gandhi at Faizpur Village Congress Exhibition.jpg"
mw pull "File:Gandhi collecting funds for harijan work.jpg"
mw pull "File:Madurai Temple.jpg"
mw pull "File:Gandhi and Subhas Bose.jpg"
mw pull "File:Gandhi at Haripura Congress.jpg"
mw pull "File:Gandhi at Peshawar meeting.jpg"
mw pull "File:Gandhi with Abdul Ghaffar Khan.jpg"
mw pull "File:Gandhi fasting at Rajkot.jpg"
mw pull "File:Gandhi meeting political prisoners at Dum Dum.jpg"
mw pull "File:Gandhi at the Laxminarayan Temple.jpg"
mw pull "File:Jinnah and Gandhi talk with Viceroy 1939.jpg"
mw pull "File:Gandhi and Vinoba.jpg"
mw pull "File:Gandhi and Cripps.jpg"
mw pull "File:Gandhi with Maulana Azad and Acharya Kripalani 1942.jpg"
mw pull "File:People teargassed at Gowalia Tank Maidan.jpg"
mw pull "File:Aga Khan Palace, Puna.jpg"
mw pull "File:Gandhi and Mahadev Desai.jpg"
mw pull "File:Kasturba Gandhi passes away.jpg"
mw pull "File:Samadhis of Kasturba Gandhi and Mahadev Desai.jpg"
mw pull "File:Jinnah and Gandhi Bombay 1944.jpg"
mw pull "File:Gandhi at Simla welcomed by the crowd.jpg"
mw pull "File:Gandhi addressing members of the Indian National Army.jpg"
mw pull "File:Gandhi and Abdul Ghaffar Khan during prayer.jpg"
mw pull "File:Gandhi and Nehru 1946.jpg"
mw pull "File:Gandhi addressing AICC in Bombay 1946.jpg"
mw pull "File:Gandhi on the way to Noakhali.jpg"
mw pull "File:Gandhi witnessing ravage of partition riots.jpg"
mw pull "File:Gandhi in Noakhali, 1946.jpg"
mw pull "File:Gandhi in Bihar 1947.jpg"
mw pull "File:Gandhi at a scene of communal violence.jpg"
mw pull "File:Gandhi with Lord and Lady MountBatten.jpg"
mw pull "File:Gandhi at the Asian Relations Conference.jpg"
mw pull "File:Gandhi and Nehru and refugees.jpg"
mw pull "File:Indian Independence Day at the Red Fort.jpg"
mw pull "File:Gandhi at a meeting a Calcutta Maidan.jpg"
mw pull "File:Prayer meeting at Birla House with Gandhi.jpg"
mw pull "File:Gandhi fasting 1948.jpg"
mw pull "File:Gandhi being carried to the prayer ground.jpg"
mw pull "File:Gandhi visiting Mehrauli 1948.jpg"
mw pull "File:Gandhi going to prayer 1948.jpg"
mw pull "File:Gandhi wake.jpg"
mw pull "File:Gandhi funeral.jpg"
mw pull "File:Gandhi cremation.jpg"
mw pull "File:Consigning Gandhi's ashes to the Ganges.jpg"
mw pull "File:Gandhi's samadhi Rajghat.jpg"

perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|User:Yann\/Images scanned with the support of Wikimédia France\/Mahatma Gandhi\}\}/g" *


mw pull "File:Lâcher de taureaux à Arles.jpg"
mw pull "File:Lâcher de taureaux dans l'arène, Arles.jpg"
mw pull "File:Arène de Arles.jpg"
mw pull "File:Tipi south of France.jpg"
mw pull "File:Tipis sud de la France.jpg"
mw pull "File:Nogaret Hérault Haut-Languedoc.jpg"
mw pull "File:Nogaret Haut-Languedoc Hérault.jpg"
mw pull "File:Nogaret Roqueredonde Hérault.jpg"
mw pull "File:Illuminations de nuit Lyon.jpg"
mw pull "File:Illuminations de nuit, Lyon.jpg"
mw pull "File:Vitraux avec Saint Jacques en pélerin.jpg"
mw pull "File:Stèle en pays basque.jpg"
mw pull "File:Abbaye de Bonnecombe, abbatiale.jpg"
mw pull "File:Abbaye de Bonnecombe, cloître.jpg"
mw pull "File:Abbaye de Bonnecombe.jpg"
mw pull "File:Abbaye de Bonnecombe cloître.jpg"
mw pull "File:Mer de nuages dans le Rouergue.jpg"
mw pull "File:Paysage dans le Rouergue.jpg"
mw pull "File:Primatiale Saint-Jean-Baptiste.jpg"
mw pull "File:Passerelle du Palais de Justice Lyon.jpg"
mw pull "File:Tour Part-Dieu et la Saône.jpg"
mw pull "File:Renault 20 TL.jpg"
mw pull "File:Apprentissage de la voile dans les Calanques.jpg"
mw pull "File:Façade de l'abbatiale de St-Antoine, côté droit.jpg"
mw pull "File:Façade de l'abbatiale de St-Antoine, côté gauche.jpg"
mw pull "File:Façade de l'abbatiale de St-Antoine.jpg"
mw pull "File:Abbatiale de St-Antoine côté sud.jpg"
mw pull "File:Clocher de l'Abbatiale côté est, St-Antoine.jpg"
mw pull "File:Porte du Rempart, St-Antoine l'Abbaye.jpg"
mw pull "File:Tziganes aux Saintes-Maries de la Mer.jpg"
mw pull "File:Tzygane cuisinant des sardines.jpg"
mw pull "File:World Trade Centre Twin Towers New York.jpg"
mw pull "File:Hotel Chelsea Manhattan New York.jpg"
mw pull "File:Villa Long Island.jpg"
mw pull "File:House Long Island.jpg"
mw pull "File:W 23rd street in Manhattan, NY.jpg"
mw pull "File:W 24th street, Looking east from 6th Avenue, Manhattan, NY.jpg"
mw pull "File:Sixth Avenue, North from 18th st., Manhattan, NY.jpg"
mw pull "File:W 23rd street, Manhattan, NY.jpg"
mw pull "File:Sixth Avenue, looking south from 19th street, Manhattan, NY.jpg"
mw pull "File:Sixth_Avenue,_looking_south_from_22nd_street,_Manhattan,_NY.jpg"
mw pull "File:Limousine at JFK airport.jpg"
mw pull "File:Limousine at JFK airport, NY.jpg"
mw pull "File:Limousine at JFK airport NY.jpg"
mw pull "File:Joue pas avec ma vie.jpg"
mw pull "File:Occupation du site de Serre de la Fare.jpg"
mw pull "File:Occupation du site de Serre de la Fare 2.jpg"
mw pull "File:Occupation du site de Serre de la Fare 3.jpg"
mw pull "File:Manifestation contre le barrage de Serre de la Fare.jpg"
mw pull "File:Manifestation contre le barrage de Serre de la Fare 1.jpg"
mw pull "File:Manifestation contre le barrage de Serre de la Fare 2.jpg"
mw pull "File:Manifestation contre le barrage de Serre de la Fare 3.jpg"
mw pull "File:Superphénix 1984.jpg"
mw pull "File:Superphénix et Malville.jpg"
mw pull "File:Superphénix, back side, 1984.jpg"
mw pull "File:Superphénix back side, 1984.jpg"
mw pull "File:Superphénix front side, 1984.jpg"
mw pull "File:Si Tchernobyl vous a fait rire.jpg"
mw pull "File:Calico she-cat with a white kitten.jpg"
mw pull "File:Calico she-cat with short hair.jpg"
mw pull "File:White kitten with long hair.jpg"
mw pull "File:Calico cat and white cat.jpg"
mw pull "File:White cat and kitten.jpg"
mw pull "File:San Sebastian at night.jpg"
mw pull "File:Edelweiss bouquet.jpg"
mw pull "File:Rose trémière et abeille.jpg"
mw pull "File:Unidentified pink flower.jpg"
mw pull "File:Rose trémière blanche.jpg"
mw pull "File:Rose trémière rose.jpg"
mw pull "File:Géranium rose.jpg"
mw pull "File:Cactus à fleurs rouges.jpg"
mw pull "File:Orchidée rose.jpg"

perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|User:Yann\/Images scanned with the support of Wikimédia France\/Various\}\}/g" *


mw pull "File:Refuge des Aiguilles d'Arves, Savoie.jpg"
mw pull "File:Refuge_du_Col_de_la_Croix_du_Bonhomme.jpg"
mw pull "File:Heart in rock.jpg"
mw pull "File:Crevasse de glacier.jpg"
mw pull "File:Crevasse, Tré-la-Tête.jpg"
mw pull "File:Crevasse Tré-la-Tête.jpg"
mw pull "File:Climber.jpg"
mw pull "File:Mont Tondu.jpg"
mw pull "File:Tré-la-Tête.jpg"
mw pull "File:Massif du Mt Thabor.jpg"
mw pull "File:Massif des Arves 1.jpg"
mw pull "File:Massif des Arves.jpg"
mw pull "File:Chaine de Belledonne.jpg"
mw pull "File:Massif des Écrins.jpg"
mw pull "File:Les Bans.jpg"
mw pull "File:Refuge de la Pilatte.jpg"
mw pull "File:Sérac sur le glacier des Bans.jpg"
mw pull "File:Sérac dans le massif du Mont-Blanc.jpg"
mw pull "File:Sérac dans le massif du Mont-Blanc 2.jpg"
mw pull "File:Cascade dans le massif des Écrins.jpg"
mw pull "File:Dent d'Arclusaz.jpg"
mw pull "File:Massif des Bauges.jpg"
mw pull "File:Mont Colombier, Bauges.jpg"
mw pull "File:Glacier de la Selle et le Rateau.jpg"
mw pull "File:Face sud de la Meije depuis le Rateau.jpg"
mw pull "File:Aiguille du Plat de la Selle depuis le glacier de la Selle.jpg"
mw pull "File:Face sud du Rateau.jpg"
mw pull "File:Ascension du Rateau.jpg"
mw pull "File:Ascension du Rateau face sud.jpg"
mw pull "File:Sérac massif des Écrins.jpg"
mw pull "File:Arête sud du Rateau.jpg"
mw pull "File:Arête nord du Rateau.jpg"
mw pull "File:Brèche du Rateau.jpg"
mw pull "File:Face sud de la Meije, glacier suspendu.jpg"
mw pull "File:Mont-Blanc, Mont Tondu, Aiguille des Glaciers.jpg"
mw pull "File:Mont Tondu 2.jpg"
mw pull "File:Glacier de Tré-la-Tête.jpg"
mw pull "File:Aiguille de la Bérangère.jpg"
mw pull "File:Mont-Blanc et Tré-la-Tête.jpg"
mw pull "File:Mont Blanc depuis le Buet.jpg"
mw pull "File:Meije et Rateau depuis les Bans.jpg"
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|User:Yann\/Images scanned with the support of Wikimédia France\/Montagne\}\}/g" *




00049

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Inauguration des gares de la LGV Rhin-Rhône"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Inauguration des gares de la LGV Rhin-Rhône - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00049]]'
# end of commit

✓ Done

  1. note: pretty sure there was another cat to process, similar to this one

00050

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Europe Écologie rally in Antony for the 2010 French regional elections"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Europe Écologie rally in Antony for the 2010 French regional elections - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00050]]'
# end of commit

✓ Done

00051

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Chibi Japan Expo 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Chibi Japan Expo 2009 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00050]]'
# end of commit

00052

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Hanvec"
mw pull_commandat "Category:Calvaire à Hanvec"
mw pull_commandat "Category:Calvaire-fontaine de Saint-Conval"
mw pull_commandat "Category:Église d'Hanvec"
mw pull_commandat "Category:Forêt du Cranou"
mw pull_commandat "Category:Gare d'Hanvec"
mw pull_commandat "Category:Town hall of Hanvec"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Hanvec - Supported by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00050]]'
# end of commit

00053

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Manga Expo 2007"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Manga Expo 2007 - Supported by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00050]]'
# end of commit

✓ Done

00054

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Calvaire de la chapelle Saint-Anne de Lampaul-Guimiliau" # 
mw pull_commandat "Category:Enclos paroissial de Lampaul-Guimiliau - Extérieur" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Lampaul - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00054]]' # 

✓ Done

00055

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat 'Category:Exposition "L’Épée. Usages, mythes et symboles"' # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Exposition "L’Épée. Usages, mythes et symboles" - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00055]]' # 

✓ Done

00056

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:MoDem launch rally for the 2010 French regional elections"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|MoDem launch rally for the 2010 French regional elections - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00056]]'
# end of commit

✓ Done

00057

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Montreuil Children's Book Fair 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Montreuil Children's Book Fair 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00057]]'
# end of commit

✓ Done

00058

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Cour_d'honneur_des_Invalides"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Cour_d'honneur_des_Invalides - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00058]]'
# end of commit

✓ Done

00059

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Cathédrale Saint-Louis-des-Invalides (Église des Soldats)" # 
mw pull_commandat "Category:Pipe organ of Cathédrale Saint-Louis-des-Invalides"
mw pull_commandat "Category:Cathédrale Saint-Louis-des-Invalides (Église des Soldats) - Chemin de Croix"
mw pull_commandat "Category:Cathédrale Saint-Louis-des-Invalides (Église des Soldats) - Chaire"
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Cathédrale Saint-Louis-des-Invalides (Église des Soldats) - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00059]]' # 

✓ Done

00060

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Mondial de l’Automobile de Paris 2010"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Mondial de l’Automobile de Paris 2010 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00060]]'
# end of commit

✓ Done

00061

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Rétromobile 2012" 
mw pull_commandat "Category:Paris - Retromobile 2012 - Acoma Mini-Comtesse‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Alfa Romeo 8C2300 Mille Miglia - 1931‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bentley 3 litres - 1924‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bentley 3 litres - Le Mans team car - 1925‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bentley Speed six - 1929‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bentley TT 3 Litres - 1921‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - BMW 2002 Turbo - 1974‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - BMW 700 RS - 1961‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Brabham BMW 2002 BT7 - 1965‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Brabham BMW BT7 - 1965‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bugatti type 28 Torpedo‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bugatti type 46 - 1930‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bugatti type 55‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Bugatti type 57SC Atlantic - 1936‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Citroën DS 23 Tissier six-roues travelling‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Citroën SM véhicule assistance‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Clément Bayard Type 4M3B - 1912‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Cyclecar Mathis type P‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Decauville voiturette - 1898-1899‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delage 2LCV V12 - 1924‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delage D6 3 Litre - 1947‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delage D8-120 Cabriolet Chapron‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye 135 M Compétition Chapron cabriolet - 1938‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye 135 MS Cabriolet par Franay - 1947‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye 135 MS Cabriolet par Pourtout - 1948‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye type 165 cabriolet - 1939‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye V12 type 145 - 1937‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Delahaye V12 type 145 - 1938‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - DUKW‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ferrari 206 SP Dino - 1967‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ferrari 250 GT California Spyder - 1959‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ferrari 275 GTB C - 1965‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ferrari Dino 246 GT - 1973‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Fiat 1100 Zagato coupé - 1950‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ford GPA‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ford GT 40 - 1965‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Grand Prix Panhard – Levassor 12.5 Litres - 1908‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Hispano-Suiza T24-8 10HP Victoria‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Hispano-Suiza type H6 B - 1923‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Hispano-Suiza type H6 C - 1938‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Hobbycar‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Hydromobile‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Impérial Coupé Hard-top Newport C69 - 1955‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Jaguar Lister Costin - 1959‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - La Comète‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - La Trippel type SG6 38‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Lancia Aprilia Pininfarina Cabriolet prototype - 1947‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Lancia Aurelia B24 - 1957‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Laurin & Klement‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ligier JS11 15 - 1980‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Mercedes-Benz 300 SL - 1952‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Mercedes-Benz SSK - 1928‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Moteur Renault 12 F - 1915‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Moteur Renault 9 cylindres en étoile - 1934‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Olivier Panis - Fiskens‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Peugeot 201 Cabriolet - 1930‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Peugeot 202 BH Berline découvrable - 1948‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Porsche 356 B coupé 1600 S - 1962‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Porsche Carrera S coupé - 2012‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault 5‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault 5 Alpine‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault 5 Le Car‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault Alpine‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault F1 F 26 - 2006‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault moteur F1 V10‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault Nerva Grand Sport - 1937‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Renault Type K - 1902‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Rolls Royce 40 50 Silver Ghost - 1920‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Rosengart LR4 Torpedo - 1933‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Sauber Mercedes C9 - 1989‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Saurer 1CRD‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Siata 208S - 1953‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Talbot Lago Monoplace décalée‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Talbot Lago T26 Grand Sport - 1950‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Talbot Lago type 26 grand sport - 1947‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Talbot-Lago T26C-GS‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Tracteur Martinet‎"
mw pull_commandat "Category:Paris - Retromobile 2012 - Voisin type C25 aérodyne - 1934‎"# 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Rétromobile 2012 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00061]]' # 

✓ Done

00062

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011" # 
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Aprilia‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Benelli‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - BMW‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Boxer‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Can-Am‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Ducati‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Eurocka‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Gendarmerie‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Generic‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Gilera‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Harley-Davidson‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Honda‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Hôtesse‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Kawasaki‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Keeway‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - KTM‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - LML‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - MBK‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Moto Guzzi‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - MV Agusta‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Peugeot‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Piaggio‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Polaris‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Rieju‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Royal Enfield‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Sherco‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Suzuki‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - SYM‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Triumph‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Ural‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Velosolex‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Vespa‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Victory‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Yamaha‎"
mw pull_commandat "Category:Salon de la Moto et du Scooter de Paris 2011 - Zero engineering‎"
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Salon de la Moto et du Scooter de Paris 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00062]]'
# end of commit

00063

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2012" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Salon du livre, Paris, 2012 - Supported by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00063]]' # 

00064

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Paris Manga 11"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Paris Manga 11 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00062]]'
# end of commit

00065

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Huchon's rally in Paris for the 2010 French regional elections, 11 March 2010" # 
ls | wc # outputs 
grep -l "Supported by Wikimedia France" * | wc # outputs 
grep -L "Supported by Wikimedia France" * | wc # outputs 
/usr/bin/perl -p -i -e "s/{{Supported by Wikimedia France}}/{{Supported by Wikimedia France|Huchon's rally in Paris for the 2010 French regional elections, 11 March 2010 - Covered by Wikimedia France}}/g" *
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00065]]' # 

00066

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival_de_Cornouaille_2010"
mw pull_commandat "Category:Alain Le Goff - Cornouaille 2010‎"
mw pull_commandat "Category:Bagad Ar Re Goz - Cornouaille 2010‎"
mw pull_commandat "Category:Bayati - Cornouaille 2010‎"
mw pull_commandat "Category:Gilberto Gil - Cornouaille 2010"
mw pull_commandat "Category:Les Goristes - Cornouaille 2010‎"
mw pull_commandat "Category:Spontus - Cornouaille 2010‎"
mw pull_commandat "Category:Youssou N'Dour - Cornouaille 2010‎"
mw pull_commandat "Category:Bagad_Ar_Re_Goz_-_Cornouaille_2010" # 
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Festival_de_Cornouaille_2010 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
#template is missing from a 16 files
vi `grep -Li '{{Supported by Wikimedia France' *.wiki | grep File `
mw st | wc #  
mw commit -b --message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00066]]' # 

00067

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Monuments historiques in Quimper"
mw pull_commandat "Category:Ancien évêché de Quimper"
mw pull_commandat "Category:Musée départemental breton"
mw pull_commandat "Category:Cathédrale Saint-Corentin de Quimper"
mw pull_commandat "Category:Vitraux de la cathédrale Saint-Corentin de Quimper"
mw pull_commandat "Category:Chapelle de Ti Mamm Doué"
mw pull_commandat "Category:Château de Lanniron"
mw pull_commandat "Category:Couvent des Ursulines de Quimper"
mw pull_commandat "Category:Église de Locmaria"
mw pull_commandat "Category:Église de Saint-Alor"
mw pull_commandat "Category:Grand Séminaire de Quimper"
mw pull_commandat "Category:Immeuble Rue Sainte Catherine, Quimper (PA00090358)"
mw pull_commandat "Category:Immeuble rue Sainte-Catherine, Quimper"
mw pull_commandat "Category:Immeuble rue Sainte-Catherine, Quimper (PA00090360)"
mw pull_commandat "Category:Lycée La Tour d'Auvergne"
mw pull_commandat "Category:Maison 10 rue du Salé, Quimper (PA00090373)"
mw pull_commandat "Category:Maison 14 rue Kéréon, Quimper (PA00090351)"
mw pull_commandat "Category:Maison 19 place Terre-au-Duc, Quimper (PA00090375)"
mw pull_commandat "Category:Maison 22 rue Elie-Freron, Quimper (PA00090345)"
mw pull_commandat "Category:Maison 3 rue du Lycée, Quimper (PA00090353)"
mw pull_commandat "Category:Maison 4 rue du Lycée, Quimper (PA00090354)"
mw pull_commandat "Category:Maison des Cariatides (Quimper)"
mw pull_commandat "Category:Maison conventuelle des Dames de la Retraite"
mw pull_commandat "Category:Remparts de Quimper"
mw pull_commandat "Category:Théâtre de Quimper"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Monuments historiques in Quimper - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00067]]'
# end of commit

00070

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon international de l'agriculture 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Salon international de l'agriculture 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00070]]'
# end of commit

00071

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Salon du livre, Paris, 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Salon du livre, Paris, 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00071]]'
# end of commit

00072


cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Sarnez's rally for the 2008 French town elections, 4 March 2008"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Sarnez's rally for the 2008 French town elections, 4 March 2008 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00072]]'
# end of commit

00073

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Afripedia"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *

#Note
# the template was not present, files were added in category.
# Adding the templates to the 4 files manually
vi *.wiki

# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Afripedia - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00073]]'
# end of commit

00074

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Socialist rally in Paris for the 2007 French parliamentary election, 29 May 2007"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Socialist rally in Paris for the 2007 French parliamentary election, 29 May 2007 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00074]]'
# end of commit

00075


cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Exposition \"Sous l'égide de Mars\""
mw pull_commandat "Category:Sous l'égide de Mars - Armet dit du duc d'Anjou"
mw pull_commandat "Category:Sous l'égide de Mars - Armet à décor repoussé"
mw pull_commandat "Category:Sous l'égide de Mars - Armure aux lions"
mw pull_commandat "Category:Sous l'égide de Mars - Armure de Maximilien II dite armure d'Hercule"
mw pull_commandat "Category:Sous l'égide de Mars - Armure de parement"
mw pull_commandat "Category:Sous l'égide de Mars - Armure dite d'Henri II"
mw pull_commandat "Category:Sous l'égide de Mars - Armure dite de parement"
mw pull_commandat "Category:Sous l'égide de Mars - Bourguignotte du roi Henri II"
mw pull_commandat "Category:Sous l'égide de Mars - Bourguignotte Medicis"
mw pull_commandat "Category:Sous l'égide de Mars - Colletin dit de Louis XIII"
mw pull_commandat "Category:Sous l'égide de Mars - Demi armure dite d'Henri III"
mw pull_commandat "Category:Sous l'égide de Mars - Demi armure à décor repoussé"
mw pull_commandat "Category:Sous l'égide de Mars - Ecu d'Henri II"
mw pull_commandat "Category:Sous l'égide de Mars - Ecu d'Henri II - INV 34-85"
mw pull_commandat "Category:Sous l'égide de Mars - Ecu de Charles IX"
mw pull_commandat "Category:Sous l'égide de Mars - Ecu en cartouche dit de Charles Quint"
mw pull_commandat "Category:Sous l'égide de Mars - Ensemble à la Chimère"
mw pull_commandat "Category:Sous l'égide de Mars - Ensemble équestre pour le roi Erik XIV de Suède"
mw pull_commandat "Category:Sous l'égide de Mars - Rondache - I77"
mw pull_commandat "Category:Sous l'égide de Mars - Selle de parement"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Supported by Wikimedia France\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *

#some files are missing the template but they are only using {{cc-by-sa-3.0}} while the others are using {{self|cc-by-sa-3.0}}
perl -p -i -e "s/\{\{cc-by-sa-3.0\}\}/{\{cc-by-sa-3.0\}\}\n\{\{Supported by Wikimedia France\}\}/g" *.wiki
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Exposition \"Sous l'égide de Mars\" - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00075]]'
# end of commit

00076

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Pécresse's rally in Paris for the 2010 French regional elections, 13 March 2010"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Pécresse's rally in Paris for the 2010 French regional elections, 13 March 2010 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00075]]'
# end of commit

00077

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:UMP rally in Issy-les-Moulineaux for the 2010 French regional elections"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|UMP rally in Issy-les-Moulineaux for the 2010 French regional elections - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -message='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00077]]'
# end of commit

00078

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Rétromobile 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Rétromobile 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00078]]'
# end of commit

00079

  • [[:Category:<to_define>]] - <date>
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival de Cornouaille 2011"
mw pull_commandat "Category:Bagad Penhars & Co - Cornouaille 2011"
mw pull_commandat "Category:Ceol Street - Cornouaille 2011"
mw pull_commandat "Category:Dom Duff - Cornouaille 2011"
mw pull_commandat "Category:Francis Jackson Project - Cornouaille 2011"
mw pull_commandat "Category:Frères Quéré - Cornouaille 2011"
mw pull_commandat "Category:Gilles le Bigot Group - Cornouaille 2011"
mw pull_commandat "Category:Hiks - Cornouaille 2011"
mw pull_commandat "Category:James Blunt - Cornouaille 2011"
mw pull_commandat "Category:Kreiz Breizh AKademi - Cornouaille 2011"
mw pull_commandat "Category:Krismenn - Cornouaille 2011"
mw pull_commandat "Category:Nolwenn Leroy - Cornouaille 2011"
mw pull_commandat "Category:Stockbridge Pipe Band - Cornouaille 2011"
mw pull_commandat "Category:ZÕN - Cornouaille 2011"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Festival de Cornouaille 2011 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00079]]'
# end of commit

00080

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:UMP launch rally for the 2010 French regional elections in Paris"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|UMP launch rally for the 2010 French regional elections in Paris - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00080]]'
# end of commit

00081

  • [[:Category:<to_define>]] - <date>
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Europe Écologie closing rally in Paris for the 2010 French regional elections"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Europe Écologie closing rally in Paris for the 2010 French regional elections - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00081]]'
# end of commit

00082

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival automobile international 2012 - Nascafe Racer Bell & Ross"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Festival automobile international 2012 - Nascafe Racer Bell & Ross - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00082]]'
# end of commit

00083

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Dôme_des_Invalides_(cupola)"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Dôme_des_Invalides_(cupola) - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00083]]'
# end of commit

00084

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Minghella Film Festival"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Minghella Film Festival - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00084]]'
# end of commit

00085

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:May 1, 2007, rally of the National Front in Paris"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|May 1, 2007, rally of the National Front in Paris - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00085]]'
# end of commit

00086

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:June 19, 2010, Launch Republique Solidaire in Paris"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|June 19, 2010, Launch Republique Solidaire in Paris - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00086]]'
# end of commit

00087


cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Festival BD Sollies Ville 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *

sed -i '/Esby/c |Author={{User:Esby/credit}}' *

perl -p -i -e "s/not-eligible\}\}/not\-eligible\}\}\n\{\{Supported by Wikimedia France\}\}/g"

# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Festival BD Sollies Ville 2009 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00086]]'
# end of commit

00088

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:June 12, 2012, Press Conferrence FFE"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|June 12, 2012, Press Conferrence FFE - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00087]]'
# end of commit

00089

Some files were not categorized the first time. Some sub categories not created.

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Rétromobile 2012"
mw pull_commandat "Category:Paris - Retromobile 2012 - Citroën Traction Avant Faux-cabriolet 7A - 1934"
mw pull_commandat "Category:Paris - Retromobile 2012 - Ferrari 206 SP"
mw pull_commandat "Category:Paris - Retromobile 2012 - Skoda - licence Hispano Suiza 25 100 HP"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Rétromobile 2012 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00089]]'
# end of commit

00090

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Convention de l'animation de l'EPITA 2009"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Epitanime 2009 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00090]]'
# end of commit

00091

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Paris Manga 13"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Paris Manga 13 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00091]]'
# end of commit

00092

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:États généraux du multilinguisme dans les outre-mer"
mw pull_commandat "Category:Audio files from the États généraux du multilinguisme dans les outre-mer‎"
mw pull_commandat "Category:Linguistic card from the États généraux du multilinguisme dans les outre-mer‎"
mw pull_commandat "Category:Videos from the États généraux du multilinguisme dans les outre-mer‎"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *


perl -p -i -e "s/\[\[Category:Supported by Wikimedia France\]\]/\{\{Supported by Wikimedia France\}\}/gi" *
perl -p -i -e "s/\{\{Supported by Wikimedia France\|Linguistic card from the États généraux du multilinguisme dans les outre-mer\]\]/\{\{Supported by Wikimedia France\}\}/gi" *
perl -p -i -e "s/\{\{Supported by Wikimedia France\|Linguistic card from the États généraux du multilinguisme dans les outre-mer\]\]/\{\{Supported by Wikimedia France\]\]/gi" *

# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|États généraux du multilinguisme dans les outre-mer - Supported by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00092]]'
# end of commit

00093

Mainly changes in the supported by wmfr category structures to use the new category tree.

mw pull_commandat "Category:Festivals_Covered_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France\|Festivals Covered by Wikimedia France\}\}/\{\{Supported by Wikimedia France\|Festival, Concert, Book fair coverage by Wikimedia France\}\}/gi" *.wiki 
mw pull_commandat "Category:Political meetings Covered by Wikimedia France"
perl -p -i -e "s/\{\{Supported by Wikimedia France\|Political meetings Covered by Wikimedia France\}\}/\{\{Supported by Wikimedia France\|Political rally coverage by Wikimedia France\}\}/gi" *.wiki 
mw pull_commandat "Category:Event Covered by Wikimedia France"
perl -p -i -e "s/\{\{Supported by Wikimedia France\|Event Covered by Wikimedia France\}\}/\{\{Supported by Wikimedia France\|Other events covered by Wikimedia France\}\}/gi" *.wiki 
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00093]]'
# end of commit
  • Category:Military parade of 14 July 2012 in Marseille

00094

cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Military parade of 14 July 2012 in Marseille"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Military_parade_of_14_July_2012_in_Marseille_by_Rama\}\}/g" *
perl -p -i -e "s/Author\= \[\[User:Rama\|Rama\]\]/Author\= \{\{u\|Rama\}\}/gi" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00094]]'
# end of commit

00095

  • Category:Tonnerres de Brest 2012 - Krys Ocean Race

00095

  • Sollies Ville 2008 - Wikimedia France to fix.

00096


cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Fireworks of 14 July 2012 in Marseille"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Fireworks of 14 July 2012 in Marseille by Rama\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00096]]'
# end of commit

00097

  • Files concerned by Tonnerres de Brest 2012
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Supported_by_Wikimedia_France"
rm `ls  | grep -v Tonnerres ` # to delete files that does not have Tonerres in the filename
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Tonnerres de Brest 2012 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00097]]'
# end of commit

00098

  • Les Invalides - WLM - upload by The Supermat
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Supported_by_Wikimedia_France"
rm `grep -L Invalides *`
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Les Invalides - WLM 2012 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00098]]'
# end of commit

00099

  • Castelnaud-la-Chapelle - WLM - upload by The Supermat
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Château de Beynac"
mw pull_commandat "Category:Chapelle des Milandes‎"
mw pull_commandat "Category:Château de Castelnaud‎"
mw pull_commandat "Category:Château de Lacoste (Castelnaud-la-Chapelle)‎"
mw pull_commandat "Category:Château de Fayrac‎"
mw pull_commandat "Category:Château des Milandes‎"


# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Castelnaud-la-Chapelle - WLM 2012 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00099]]'
# end of commit

00100

  • Château_de_Chantilly - WLM - upload by The Supermat
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Château_de_Chantilly"
mw pull_commandat "Category:Château de Chantilly - Park"
mw pull_commandat "Category:Musée vivant du cheval"
mw pull_commandat "Category:Château de Chantilly - Château d'Enghien"
mw pull_commandat "Category:Chapelle du Château de Chantilly"
mw pull_commandat "Category:Grands appartements du Château de Chantilly"
mw pull_commandat "Category:Interior of the Château de Chantilly - Le vestibule d'Honneur"
mw pull_commandat "Category:Libraries of the Château de Chantilly"
mw pull_commandat "Category:Petits appartements du Château de Chantilly"
mw pull_commandat "Category:Musée Condé"
mw pull_commandat "Category:Statue of Anne de Montmorency in Chantilly"
mw pull_commandat "Category:Sculptures in the Park of the Château de Chantilly"
mw pull_commandat "Category:Fanfareau et Brillador, deux chien de Chantilly"


# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Château de Chantilly - WLM 2012 - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#000100]]'
# end of commit

00101

  • Guimiliau
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Guimiliau"
mw pull_commandat "Category:Enclos paroissial de Guimiliau"
mw pull_commandat "Category:Fontaine Saint Miliau"
mw pull_commandat "Category:Gare de Guimiliau"
mw pull_commandat "Category:Town hall of Guimiliau"
mw pull_commandat "Category:Calvaire de Guimiliau"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (all pictures)"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (extérieur)"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (intérieur)"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (ossuaire)"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (porche)"
mw pull_commandat "Category:Enclos paroissial de Guimiliau (portail)"
mw pull_commandat "Category:Calvaire de Lampaul-Guimiliau‎" 
mw pull_commandat "Category:Enclos paroissial de Lampaul-Guimiliau - Extérieur‎"
mw pull_commandat "Category:Enclos paroissial de Lampaul-Guimiliau - Intérieur‎"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Guimiliau - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00101]]'
# end of commit

00102

  • Category:Abbaye de Cadouin
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Abbaye de Cadouin"
mw pull_commandat "Category:Église abbatiale de Cadouin"
mw pull_commandat "Category:Cloître de Cadouin"
mw pull_commandat "Category:Sculptures du cloître de Cadouin"
mw pull_commandat "Category:Enceinte de l'abbaye de Cadouin"
mw pull_commandat "Category:Modillons de l'abbaye de Cadouin"
mw pull_commandat "Category:Stained glass windows of abbaye de Cadouin"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Abbaye de Cadouin - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00102]]'
# end of commit

00103

  • Category:Château de Biron
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Château de Biron"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Château de Biron - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00103]]'
# end of commit

00104

  • Tuileries
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Jardin des Tuileries"
mw pull_commandat "Category:Jardin des Tuileries in art"
mw pull_commandat "Category:Events in Jardin des Tuileries"
mw pull_commandat "Category:Fountains in Jardin des Tuileries"
mw pull_commandat "Category:Large round basin of Jardin des Tuileries"
mw pull_commandat "Category:Octagonal basin of Jardin des Tuileries"
mw pull_commandat "Category:Rectangular north basin of Jardin des Tuileries"
mw pull_commandat "Category:Rectangular south basin of the Jardin des Tuileries"
mw pull_commandat "Category:Small north round basin of Jardin des Tuileries"
mw pull_commandat "Category:Small south round basin of Jardin des Tuileries"
mw pull_commandat "Category:Galerie nationale du Jeu de Paume"
mw pull_commandat "Category:Historical images of Jardin des Tuileries"
mw pull_commandat "Category:Musée de l'Orangerie"
mw pull_commandat "Category:Collections of Musée de l'Orangerie"
mw pull_commandat "Category:Paintings in Musée de l'Orangerie"
mw pull_commandat "Category:Paintings by Paul Cézanne in the Musée de l'Orangerie"
mw pull_commandat "Category:Paintings by Amedeo Modigliani in the Musée de l'Orangerie"
mw pull_commandat "Category:Paintings by Claude Monet in the Musée de l'Orangerie, Paris"
mw pull_commandat "Category:Red Boats at Argenteuil (1875) by Claude Monet"
mw pull_commandat "Category:Paintings by Pierre-Auguste Renoir in the Musée de l'Orangerie"
mw pull_commandat "Category:Baigneuse aux cheveux longs by Pierre-Auguste Renoir"
mw pull_commandat "Category:Femme Nue dans un Paysage"
mw pull_commandat "Category:Gabrielle et Jean by Pierre-Auguste Renoir"
mw pull_commandat "Category:Jeunes Filles au piano by Pierre-Auguste Renoir"
mw pull_commandat "Category:Jeunes Filles au piano by Pierre-Auguste Renoir (Musée d'Orsay)"
mw pull_commandat "Category:Portrait de deux fillettes by Pierre-Auguste Renoir"
mw pull_commandat "Category:Paintings by Henri Rousseau in the Musée de l'Orangerie"
mw pull_commandat "Category:Place de la Concorde (Paris)"
mw pull_commandat "Category:Quality images of Place de la Concorde in Paris"
mw pull_commandat "Category:Eiffel Tower from Place de la Concorde"
mw pull_commandat "Category:Fédération Internationale de l'Automobile"
mw pull_commandat "Category:Fountains in the Place de la Concorde"
mw pull_commandat "Category:Historical images of Place de la Concorde"
mw pull_commandat "Category:Hôtel de la Marine (Paris)"
mw pull_commandat "Category:Hôtel Cartier"
mw pull_commandat "Category:Hôtel de Coislin (Paris)"
mw pull_commandat "Category:Hôtel de Crillon"
mw pull_commandat "Category:Hôtel du Plessis-Bellière (Paris)"
mw pull_commandat "Category:Marly Horses"
mw pull_commandat "Category:Marly horses in the Park of Marly"
mw pull_commandat "Category:Obélisque de la Concorde"
mw pull_commandat "Category:Obélisque de la Concorde (hieroglyphs)"
mw pull_commandat "Category:Roue de Paris"
mw pull_commandat "Category:Réverbère de la place de la Concorde"
mw pull_commandat "Category:Statues of towns on place de la Concorde"
mw pull_commandat "Category:Place du Carrousel (Paris)"
mw pull_commandat "Category:Cour Napoléon (Palais du Louvre)"
mw pull_commandat "Category:Louvre Pyramid"
mw pull_commandat "Category:Replicas of the Louvre Pyramid"
mw pull_commandat "Category:Pavillon Colbert (Palais du Louvre)"
mw pull_commandat "Category:Pavillon Denon (Palais du Louvre)"
mw pull_commandat "Category:Pavillon Richelieu (Palais du Louvre)"
mw pull_commandat "Category:Pavillon Sully (Palais du Louvre)"
mw pull_commandat "Category:Pediment by Barye and Simart (Louvre)"
mw pull_commandat "Category:Pavillon Turgot (Palais du Louvre)"
mw pull_commandat "Category:Statue of Louis XIV by Gianlorenzo Bernini (Paris)"
mw pull_commandat "Category:Jardins du Carrousel"
mw pull_commandat "Category:Arc de Triomphe du Carrousel"
mw pull_commandat "Category:Details of Arc de Triomphe du Carrousel"
mw pull_commandat "Category:Historical images of Arc de Triomphe du Carrousel"
mw pull_commandat "Category:Quadriga of Arc de Triomphe du Carrousel"
mw pull_commandat "Category:L'Histoire by Antoine François Gérard"
mw pull_commandat "Category:La France Victorieuse by Antoine-François Gérard"
mw pull_commandat "Category:Statues in the Jardin des Tuileries"
mw pull_commandat "Category:Cain by Vidal"
mw pull_commandat "Category:Replica of the Fame riding Pegasus"
mw pull_commandat "Category:Hannibal (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:L'Hiver (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:La Loire et le Loiret (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:La Seine et la Marne (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:Le Nil (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:Le Tibre (statues in the Jardin des Tuileries)"
mw pull_commandat "Category:Replica of the Mercury Riding Pegasus"
mw pull_commandat "Category:Monument à Charles Perrault (Gabriel Pech)"
mw pull_commandat "Category:Terrasse des Feuillants"

ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Jardin des Tuileries - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b -m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00104]]'
# end of commit

00105

  • Category:Église Saint-Mélaine de Morlaix
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Monuments_historiques_in_Morlaix"
mw pull_commandat "Category:Chapelle Notre-Dame-de-la-Fontaine de Morlaix"
mw pull_commandat "Category:Chapelle Sainte-Geneviève de Morlaix"
mw pull_commandat "Category:City walls of Morlaix"
mw pull_commandat "Category:Couvent des Jacobins (Morlaix)"
mw pull_commandat "Category:Couvent des Ursulines (Morlaix)"
mw pull_commandat "Category:Église Notre-Dame de Ploujean"
mw pull_commandat "Category:Église Saint-Mathieu de Morlaix"
mw pull_commandat "Category:Église Saint-Mélaine de Morlaix"
mw pull_commandat "Category:Exterior of Église Saint-Mélaine de Morlaix"
mw pull_commandat "Category:Interior of Église Saint-Mélaine de Morlaix"
mw pull_commandat "Category:Hôtel de François du Parc"
mw pull_commandat "Category:Immeuble 13 rue Ange-de-Guernisac (Morlaix)"
mw pull_commandat "Category:Immeuble, 49 rue Ange-de-Guernisac (Morlaix)"
mw pull_commandat "Category:Immeuble 14 Grand'rue (Morlaix)"
mw pull_commandat "Category:Maison Le Clique"
mw pull_commandat "Category:Maison Cornic"
mw pull_commandat "Category:Maison de la duchesse Anne"
mw pull_commandat "Category:Maison Pénanault"
mw pull_commandat "Category:Maison à pondalez"
mw pull_commandat "Category:Manoir Traon Feunteniou"
mw pull_commandat "Category:Manufacture des tabacs de Morlaix"
mw pull_commandat "Category:Théâtre municipal de Morlaix"
mw pull_commandat "Category:Viaduc de Morlaix"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Monuments_historiques_in_Morlaix - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00105]]'
# end of commit

00106

  • Category:Petit Palais
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Petit Palais"
mw pull_commandat "Category:Bassin du Petit Palais"
mw pull_commandat "Category:Collections of Petit Palais"
mw pull_commandat "Category:Ceramics by Jean-Joseph Carriès in the Petit Palais"
mw pull_commandat "Category:Engravings by Albrecht Dürer in the Petit Palais"
mw pull_commandat "Category:Greek antiquities in the Petit Palais"
mw pull_commandat "Category:Ancient Greek pottery in the Petit Palais"
mw pull_commandat "Category:Paintings in the Petit Palais"
mw pull_commandat "Category:Paintings by Gustave Courbet in the Petit Palais"
mw pull_commandat "Category:Roman antiquities in the Petit Palais"
mw pull_commandat "Category:Statues in the Petit Palais"
mw pull_commandat "Category:Ugolino and His Sons by Jean-Baptiste Carpeaux"
mw pull_commandat "Category:Vases in the Petit Palais"
mw pull_commandat "Category:Details of Petit Palais"
mw pull_commandat "Category:Facade of Petit Palais"
mw pull_commandat "Category:Floor mosaics of Petit Palais"
mw pull_commandat "Category:Interior of Petit Palais"
mw pull_commandat "Category:Jardin des abords du Petit-Palais"
mw pull_commandat "Category:Jardin du Petit Palais"
mw pull_commandat "Category:Péristyle du jardin du Petit Palais"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Petit Palais - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00106]]'
# end of commit

00107

  • Category:Grand Palais
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Grand Palais"
mw pull_commandat "Category:Details of Grand Palais"
mw pull_commandat "Category:Historical images of Grand Palais"
mw pull_commandat "Category:Interior of Grand Palais"
mw pull_commandat "Category:Grand Palais at night"
mw pull_commandat "Category:Quadrigas of Grand Palais"
mw pull_commandat "Category:Harmony Triumphing over Discord (Grand Palais)"
mw pull_commandat "Category:Immortality Outstripping Time (Grand Palais)"
mw pull_commandat "Category:Remote views of Grand Palais"
mw pull_commandat "Category:Roof of Grand Palais"
mw pull_commandat "Category:Saut Hermès"
mw pull_commandat "Category:Staircase of Grand Palais"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Grand Palais - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00107]]'
# end of commit

00108

  • Category:Pont Alexandre III
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Pont Alexandre III"
mw pull_commandat "Category:Pont Alexandre III at night"
mw pull_commandat "Category:Quality images of Pont Alexandre III"
mw pull_commandat "Category:Sculptures on Pont Alexandre III"
mw pull_commandat "Category:Golden statues on Pont Alexandre III"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Pont Alexandre III - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00108]]'
# end of commit

00109

  • Château du Taureau
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Château_du_Taureau"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Château_du_Taureau - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00109]]'
# end of commit

00110

  • Abbaye de Saint-Mathieu de Fine-Terre
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Abbaye de Saint-Mathieu de Fine-Terre"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Abbaye de Saint-Mathieu de Fine-Terre - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00110]]'
# end of commit

00111

  • Notre-Dame de Croaz Batz
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Notre-Dame de Croaz Batz"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Notre-Dame de Croaz Batz - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00111]]'
# end of commit

00112

  • Église Saint-Pierre-du-Trépas de Saint-Père
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Église Saint-Pierre-du-Trépas de Saint-Père"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Église Saint-Pierre-du-Trépas de Saint-Père - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00112]]'
# end of commit

00113

  • Ancien évêché (Sarlat-la-Canéda)
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Monuments historiques in Sarlat-la-Canéda"
mw pull_commandat "Category:Ancien évêché (Sarlat-la-Canéda)"
mw pull_commandat "Category:Cathédrale Saint-Sacerdos de Sarlat"
mw pull_commandat "Category:Château de Temniac"
mw pull_commandat "Category:Cimetière Saint-Benoît (Sarlat)"
mw pull_commandat "Category:Couvent Sainte-Claire (Sarlat-la-Canéda)"
mw pull_commandat "Category:Église de La Canéda"
mw pull_commandat "Category:Église Notre-Dame de la Nativité de Temniac"
mw pull_commandat "Category:Église Sainte-Marie (Sarlat)"
mw pull_commandat "Category:Hôtel de Vienne (Sarlat)"
mw pull_commandat "Category:Hôtel de Gisson (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Grézel (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Génis (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Plamon (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Royère (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Saint-Clar (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de Vassal (Sarlat-la-Canéda)"
mw pull_commandat "Category:Hôtel de ville de Sarlat-la-Canéda"
mw pull_commandat "Category:Hôtel Monméja (Sarlat-la-Canéda)"
mw pull_commandat "Category:Maison Anne de Dautrery (Sarlat-la-Canéda)"
mw pull_commandat "Category:Maison de La Boétie (Sarlat)"
mw pull_commandat "Category:Maison, 6 rue du Siège (Sarlat-la-Canéda)"
mw pull_commandat "Category:Monastère des Récollets (Sarlat-la-Canéda)"
mw pull_commandat "Category:Église des Récollets (Sarlat)"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #
# end of verification
# replacement - use those two if there are files concerned by the templates
perl -p -i -e "s/\{\{Wikimedia France - CANON.SX230}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.SX230\}\}/g" *
perl -p -i -e "s/\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}/\{\{Supported by Wikimedia France\}\}\n\{\{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II\}\}/g" *
# always use this one in every case
perl -p -i -e "s/\{\{Supported by Wikimedia France}}/\{\{Supported by Wikimedia France\|Ancien évêché (Sarlat-la-Canéda) - Covered by Wikimedia France\}\}/g" *
# check
mw st| wc #
mw diff| more #
# end of check
# commit
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00113]]'
# end of commit

00114

  • Category:Images supported by Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II
cd ~/commons-mw-bot
rm *.wiki
mw pull_commandat "Category:Images supported by Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II"
ls| wc # outputs
# verifications
grep -li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -Li '{{Supported by Wikimedia France}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.70-200mm.f2.8.IS.USM.II}}' *.wiki | wc #
grep -li '{{Wikimedia France - CANON.SX230}}' *.wiki | wc #
mw.getauthor #

00115 - WLM related

This user forgot to add the WLM template (with cz parameter) to his upload.
This was reported by Aktron over irc (#wikimedia-commons).

{{Wiki Loves Monuments 2012|cz}}

will be added before the licence header of each description.
this concerns 150 files.
Esby (talk) 12:40, 30 September 2012 (UTC)


00116

  • Notre Dame de Paris
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Cathédrale Notre-Dame de Paris - 2012 - Covered by Wikimedia France/g" `grep -l Notre *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00116]]'

00117

  • Vincennes
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Vincennes - 2012 - Covered by Wikimedia France/g" `grep -l Vincennes *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00117]]'

00118

  • Quimper
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Quimper - 2012 - Covered by Wikimedia France/g" `grep -l Quimper *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00118]]'

00119

  • Landivisiau
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Landivisiau - 2012 - Covered by Wikimedia France/g" `grep -l Landivisiau *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00119]]'

00120

  • Île de Batz
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Île de Batz - 2012 - Covered by Wikimedia France/g" `grep -l Batz *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00120]]'

00121

  • Festival de Cornouaille
mw pull_commandat "Category:Supported_by_Wikimedia_France"
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Festival de Cornouaille - 2012 - Covered by Wikimedia France/g" `grep -l Cornou *`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00121]]'

to do / a faire

00122

  • Protestantism in Alsace
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Protestantism in Alsace - Supported by Wikimedia France 2014/g" * # on related files
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Protestantism in Alsace - Supported by Wikimedia France 2014/g" * # on related files
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00122]]'

00123

  • Site d'Alesia
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Site d'Alesia - Supported by Wikimedia France/g" *
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00123]]'

00124

  • Dijon
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Dijon - Supported by Wikimedia France/g" `ls | grep Dijon`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00124]]'

00125

  • categories using "Covered by Wikimedia France" --Converted into--> "Supported by (...)"
(pulling the all category manually)
ls *.wiki | grep Covered | cut -d "." -f 1 | sed "s/_/ /g" | sed "s/Category:/mw pull_commandat \"Category:/" | sed "s/dia France/dia France\"/" > go.sh
./go.sh
perl -p -i -e "s/Covered by Wiki/Supported by Wiki/" *.wiki
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00125]]'

NOTE: this is going to create red links (into the new categories that don't exist yet) that will be fixed in a second time

00126

  • Brest
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Brest - Supported by Wikimedia France - 2013/g" `ls | grep Brest`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'
  • Donzy
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Donzy - Supported by Wikimedia France - 2013/g" `ls | grep Donzy`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'
  • Louvre
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Louvre - Supported by Wikimedia France - 2013/g" `ls | grep Louvre`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'
  • PA00089998
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France/{\{Supported by Wikimedia France\|Guimiliau - Supported by Wikimedia France - 2013/g" `ls | grep PA00089998 | grep -v Colombe`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'
  • Saint Thegonnec
(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Saint Thegonnec - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Thegonnec`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

Quimper

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Quimper - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Quimper`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

PA00085796

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Église Saint-Germain-l'Auxerrois de Paris - Supported by Wikimedia France - 2013\}\}/g" `ls | grep PA00085796`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

PA00086975

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Château de Fontainebleau - Supported by Wikimedia France - 2013\}\}/g" `ls | grep PA00086975`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

Landivisiau

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Landivisiau - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Landivisiau`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

PA00113028

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Suilly-la-Tour - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Suilly-la-Tour`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

Lampaul-Guimiliau

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Lampaul-Guimiliau - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Lampaul-Guimiliau`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'

Kerlouan

(pulling the files manually)
perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|Kerlouan - Supported by Wikimedia France - 2013\}\}/g" `ls | grep Kerlouan`
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00126]]'


00127

script mw.subst

#!/bin/bash
catname=$1
gexp=$2

if [ -z $catname ]; 
then 
  echo "error: empty catname (first parameter)... exiting..." 
  exit
fi

if [ -z $gexp ];
then
  gexp=$catname
fi


perl -p -i -e "s/\{\{Supported by Wikimedia France\}\}/{\{Supported by Wikimedia France\|$catname - Supported by Wikimedia France - 2013\}\}/g" `ls | grep $gexp`


  • Brest
(pulling the files manually)
mw.subst Santec
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00127]]'
  • Saint-Thégonnec
(pulling the files manually)
mw.subst "Saint Thegonnec" Saint-Thégonnec"
mw commit --b --m='french_chapter_related_maintenance_-_[[User:Esby-mw-bot/command_log#00127]]'

00128

commiting User:Esby-mw-bot/command_log#00128

reminder

Skeleton for creating a french chapter related category


{{Supported by Wikimedia France}}
__HIDDENCAT__
{{cat see also|{{{catname}}}}}

Link to the bot contributions