Migration des wikis
De Wicri Base 1.28
Révision datée du 20 mai 2017 à 23:30 par imported>Jacques Ducloy
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
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=10" 2>/dev/null |SxmlSelect -s api/query/allpages/p/attribute::title -p @s1
(
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=1" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=2" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=3" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=4" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=5" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=8" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=9" 2>/dev/null
) |SxmlSelect -s api/query/allpages/p/attribute::title -p @s1
(
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=11" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=12" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=13" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=14" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=15" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=102" 2>/dev/null
curl "http://ticri.univ-lorraine.fr/wicri-base.de/api.php?action=query&list=allpages&format=xml&aplimit=100&apnamespace=103" 2>/dev/null
) |SxmlSelect -s api/query/allpages/p/attribute::title -p @s1