<a href="https://en.wikipedia.org/wiki/Abdul_Hamid_I" id="mwPw" rel="mw:WikiLink" title="Abdul Hamid I">Abdul Hamid I</a> becomes <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Sultan_of_the_Ottoman_Empire" id="mwQA" rel="mw:WikiLink" title="Sultan of the Ottoman Empire">Sultan of the Ottoman Empire</a> and <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Caliph_of_Islam" id="mwQQ" rel="mw:WikiLink" title="Caliph of Islam">Caliph of Islam</a>.