Activities/Wikipedia/HowTo: Difference between revisions

Godiard (talk | contribs)
Line 105: Line 105:


  cd ..
  cd ..
./tools2/expandtemplates.py es_lat
When finish, you need change again to the data directory:
cd es_lat
And move your new file with the templates replaced and recreate the index:


  ./tools2/expandtemplates.py es_lat
  mv eswiki-20111112-pages-articles.xml.processed_expanded eswiki-20111112-pages-articles.xml.processed
../tools2/create_index.py --delete_all
 
The option --delete_all is used to remove the old index


If you want include images in your wikipedia activity can go again to your data directory and do:
If you want include images in your wikipedia activity can go again to your data directory and do: