Migration des wikis : Différence entre versions

De Wicri Base 1.28
imported>Jacques Ducloy
imported>Jacques Ducloy
Ligne 18 : Ligne 18 :
 
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=2"  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
 
) |SxmlSelect -s api/query/allpages/p/attribute::title -p @s1
  
 
</source>
 
</source>

Version du 20 mai 2017 à 23:08

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