Board Thread:Support Requests - Getting Technical/@comment-14250-20130808082058

Would anyone know if there is a way to encode it so that there is a button displayed in the topnav which incorporates these scripts to recognize which page a user is on?

I've tried it before but it only seems to treat the topnav menu code page itself as the data to return here.

I was thinking it would be cool to be able to automatically link to other versions of articles on other wikis when we know they coexist elsewhere. Like on w:c:ProWrestling there might be a 'Wikipedia' topnav link for people to compare a wrestler's article to the version there (or to see if it's there at all) or when articles on specific wikis exist in broader ones (like w:c:Batman:Batman and w:c:DC:Batman) a nopnav link to other known wikis creating automatic links would be much easier than manually scripting it in the article each time.

I just wish I could figure out how to work it. I know if you encode PAGENAME inside a template, it will read the page it is embedded on instead of the template itself, but that doesn't seem to work with Topnavs.

The only solution I can really think of is to put a template header perhaps at the top of every single article (is there a bot I can code to do that?) like "Template:NAMEheader" to implement the concept, but it would be ugly and tedious to initiate too. 