Revert "Should fix an issue where qualityX classes are not add to links"

Fails when $wgParser is not properly initialized

This reverts commit 454e34792cdd184d764df352407135141956c285.

Bug: 57942

Change-Id: Ifffaaaf47619cf4cdcc9bf9b96d9cb5c1690bc2d