https://bugzilla.wikimedia.org/show_bug.cgi?id=59718

--- Comment #2 from Daniel Zahn <[email protected]> ---
total number in list: 13220 

ending in api.php: 10268

reduced list to SQL: for wiki in $(cat mediawikis_2013_checked_api.txt); do
echo "INSERT IGNORE INTO mediawikis (statsurl,method) VALUES
(\"$wiki\",\"8\");"; done > mediawikis_2013_checked_api.sql

mysql wikistats < mediawikis_2013_checked_api.sql

duplicates are skipped, results in new wikis without names in the table:

8997

importing new wikis, get names and stats from APIs:

sudo -u wikistatsuser /usr/bin/php /usr/lib/wikistats/update.php mw import

(which is a special import run that also sets the name)

minimal fix to the import itself: https://gerrit.wikimedia.org/r/#/c/157322/

now running ...

A(126/8992)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to