Translations:User:Xephyr826/Manual:Special pages/115/en

The SpecialPage->including function returns a boolean value telling you what context the special page is being called from: false if it is a separate web page, and true if it is being included from within another web page.