Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Wikipedia/HowTo
(view source)
Revision as of 06:56, 23 December 2011
347 bytes added
,
06:56, 23 December 2011
→Optimze the data and download images
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:
Godiard
628
edits