Migration des wikis : Différence entre versions
De Wicri Base 1.28
imported>Jacques Ducloy |
imported>Jacques Ducloy |
||
Ligne 4 : | Ligne 4 : | ||
curl http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&meta=siteinfo&siprop=namespaces | curl http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&meta=siteinfo&siprop=namespaces | ||
+ | |||
+ | curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml" | SxmlIndent | ||
+ | |||
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100" \ | curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100" \ |
Version du 20 mai 2017 à 22:22
Cette page est un recueil de notes pour la migration des wikis.
curl http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&generator=allpages
curl http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&meta=siteinfo&siprop=namespaces
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml" | SxmlIndent
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100" \
2>/dev/null |SxmlSelect -s api/query/allpages/p/attribute::title -p @s1