m (→création pages) |
m (→création pages) |
||
Line 25: | Line 25: | ||
https://www.mediawiki.org/wiki/Manual:Pywikibot/pagefromfile.py | https://www.mediawiki.org/wiki/Manual:Pywikibot/pagefromfile.py | ||
upload pages to a wiki from a text file (en utf-8). | upload pages to a wiki from a text file (en utf-8). | ||
+ | |||
+ | |||
+ | python3 pwb.py pagefromfile -showdiff -file:pages.txt | ||
+ | |||
+ | pages.txt contient le code: | ||
+ | :<nowiki>{{-start-}} | ||
+ | '''User:Craftjenn/App FR''' les app intégrées, voir [[:fr:Présentation des Webapps]] et [[:fr:Manuel de l'utilisateur/Diverses astuces#Interface]] | ||
+ | {{-stop-}} | ||
+ | {{-start-}} | ||
+ | '''User:Craftjenn/App EN''' Integrated apps, more on [[:en:Webapps main]] | ||
+ | {{-stop-}}</nowiki> | ||
== Links == | == Links == |
Comment uploader plein d'images
python imageharvest.py http://www.sitename.org/folder
Voir https://cloud.ryzom.com/f/32851
la page doit exister User:Craftjenn/Uploader plein d'images/test import
bof https://www.mediawiki.org/wiki/Manual:Pywikibot/checkimages.py
https://www.mediawiki.org/wiki/Manual:Pywikibot/pagefromfile.py upload pages to a wiki from a text file (en utf-8).
python3 pwb.py pagefromfile -showdiff -file:pages.txt
pages.txt contient le code:
https://www.mediawiki.org/wiki/Manual:Pywikibot/imageharvest.py