Fix git repository viewer URLs so they support more variants of the Wikimedia URLs