Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
{{WhatLinksHere}} | {{WhatLinksHere}} | ||
</noinclude> | </noinclude> | ||
Line 8: | Line 7: | ||
---- | ---- | ||
<html> | <html> | ||
<h4>What links here</h4> | |||
<iframe id="iframeWin" | <iframe id="iframeWin" | ||
src="/wiki/Special:WhatLinksHere/</html>{{PAGENAME}}<html>" | src="/wiki/Special:WhatLinksHere/</html>{{PAGENAME}}<html>" | ||
Line 24: | Line 24: | ||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; | ||
content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('contentSub').style.display = "none"; | //iframeWin.contentWindow.document.getElementById('contentSub').style.display = "none"; | ||
iframeWin.contentWindow.document.getElementsByClassName("usermessage").style.display = "none"; | //iframeWin.contentWindow.document.getElementsByClassName("usermessage").style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[1].style.display = "none"; | iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[1].style.display = "none"; |
Revision as of 17:44, 10 July 2023
Usage
What links here
What links here