Avoid dupe code by using prepare-mediawiki macro

Change should be a noop.

Change-Id: I7fb572b59300de322a123ca68ad5cdf00ee15572