Revert "Revert "contint: reduce duplication with mediawiki::packages""

This reverts commit 682e4a69083b7e9105587913a9d8469d96dbf703.

Change-Id: Ib9dc222fd751dc86bf5e53bcfd84ccc6005c82b0