Forum:Eliminating TALK/DISCUSS tab for only one page

I know that one can use CSS code in the MediaWiki namespace to prevent talk/discuss tabs from appearing within a given namespace. For example, we use such code to prevent talk/discuss tabs in the Forum namespace for the Monobook skin. I was wondering if there is a way to prevent a single page from having a talk/discuss tab/link. For instance, is there a magic word that might do the trick the way  prevents section edit links, or the way   prevents a table of contents? Thanks! — Spike Toronto  4:25AM EDT, June 15, 2011 08:25, June 15, 2011 (UTC)


 * Not by default, although you can create a template that contains an empty div with an id that JS recognizes, which can then be used to remove the tab.


 * Oh, I would not want to do it by default. Occasionally, I create subpages in userspace that are used for admin coaching. Since such a page is used like a talk page — with the inclusion of  (which works great in Monobook, but seems to be of no effect in Oasis) — I would, on those occasions, like to remove the talk/discuss tab/link. Your idea of a template sounds promising! Although, I cannot begin to fathom how it would be written … :(   — Spike Toronto  8:55AM EDT, June 15, 2011


 * Sorry, to clarify I meant that the functionality to remove the discussion tab does not exist by default - you have to write the functionality yourself so you can use it where you want. Essentially, you create something like Template:NODISCUSSTAB, which would contain only . Then you add this script to Monobook.js:

 addOnloadHook(function {	if(document.getElementById('nodiscusstab')) {		$('#ca-talk').remove;	} });
 * Then, placing the template on a page will cause the JS to remove the talk tab.


 * Wow! I’m going to give it a try asap. How can we get it to also work in Oasis? Thanks! — Spike Toronto  9:07AM EDT, June 15, 2011


 * ToU violation in Oasis. Probably in Monobook too, now that I think about it, but I doubt Wikia is paying much attention to that. The current ToU was essentially written for Oasis, and I don't know if Wikia enforces it on Monobook as well or if they don't care.


 * Sadly, it did not work. I even tried changing talk to discussion in the Monobook.js code. I created Template:Nodiscusstab, added the following to MediaWiki:Monobook.js:

 addOnloadHook(function {	if(document.getElementById('nodiscusstab')) {		$('#ca-talk').remove;	} });
 * and inserted { {Nodiscusstab}} at the top of the page. Oh well … — Spike Toronto  9:31AM EDT, June 15, 2011