Fix Wikipedia reduction script.