Activities/Wikipedia/HowTo: Difference between revisions
| Line 189: | Line 189: | ||
If after finish the process of the files, the images are not displayed in the pages, check if the image identifier is included in the set imageKeywords in the file mwlib/parser.py. For example, in the Quechua wikipedia, the image identifier is "rikcha" and we needed add it because was not included. | If after finish the process of the files, the images are not displayed in the pages, check if the image identifier is included in the set imageKeywords in the file mwlib/parser.py. For example, in the Quechua wikipedia, the image identifier is "rikcha" and we needed add it because was not included. | ||
== More tools == | |||
=== Verify big images === | |||
There are cases where a small group of images are very big, if you want remove them to have a smaller activity, can do: | |||
mkdir big-images | |||
find images -size +100k -exec mv {} big-images \; | |||
(in this example, moving images with more than 100k to another directory) | |||
== Old information == | == Old information == | ||
http://wiki.laptop.org/go/User:Godiard/WkipediaDataRebuild | http://wiki.laptop.org/go/User:Godiard/WkipediaDataRebuild | ||