<a href="https://en.wikipedia.org/wiki/Themistoklis_Sofoulis" id="mwjw" rel="mw:WikiLink" title="Themistoklis Sofoulis">Themistoklis Sofoulis</a> becomes <a href="https://en.wikipedia.org/wiki/Prime_Minister_of_Greece" id="mwkA" rel="mw:WikiLink" title="Prime Minister of Greece">Prime Minister of Greece</a>.