Fix wikipedia link cleaning

The old code only got the first link when doing the replacement.
This makes sure links get replaced globally.