Template talk:Check talk

Overriding checktalk?
Is there a way to override check talk if the template is included on a particular page as an example? --TheFarix (Talk) 13:05, 10 August 2006 (UTC)
 * only with subst:Check talk and removing categories, I suppose ;-) --katpatuka 08:56, 5 September 2006 (UTC)
 * I've created check talk wp. --Rschen7754 (talk - contribs) 03:26, 24 February 2007 (UTC)

#switch with namespaces variables
To avoid possible localization issues one could use the following namespaces variables for #switch: |        |         |         |         |         |         |    and a bit more down. --katpatuka 08:55, 5 September 2006 (UTC)

Make more readable
Could someone change the warning to read more prominently like so: 'This template is misplaced. It belongs on the talk page: .' ? Thanks. 10:15, 4 April 2007 (UTC)
 * editprotected done. CMummert · talk 12:30, 4 April 2007 (UTC)
 * Thanks. 17:25, 5 April 2007 (UTC)

Broken?
I noticed a while ago that this template doesn't seem to be working. Nothing seems to have been changed, so I'm wondering if this is a MediaWiki thing? If someone could fix this, it would be much appreciated. Dancter 06:25, 29 April 2007 (UTC)

Add protected page template
Editprotected This template needs a protected page template on it (even the little lock icon version would do). —  SMcCandlish  &#91;talk&#93; &#91;cont&#93; ‹(-¿-)› 11:13, 11 May 2007 (UTC)

✅ Added the protected template notice. Adambro 14:07, 11 May 2007 (UTC)

working
It isn't working guys. -- Andersmusician  $  17:16, 20 May 2007 (UTC)


 * ALso, check talk only works with Template:Infoboxrequested, see Category:Main pages with misplaced talk page templates, only shows articles with infobox requested. -- Andersmusician   $  17:22, 20 May 2007 (UTC)


 * I think it will work if the talk namespace check is changed to


 * /82.212.68.183 15:39, 16 June 2007 (UTC)

editprotected


 * I changed the code slightly and tested it on my user page, and I believe it's working now. &mdash; Carl (CBM · talk) 21:23, 16 June 2007 (UTC)

Confusing and misleading on some category pages
It obviously makes sense that a "talk page style" template shouldn't also be used on article space categories, but I've noticed this message appearing on things like stub categories (for example, ), where things like Wikiproject notices are completely appropriate. Since there's no way to distinguish in wikicode between project-space and article-space categories (wouldn't be a bad idea if this were possible, but that's one for the devs), I think it might be better to exclude the message from that namespace. Failing which, I'd suggest an 'override' parameter, or at the very least, a caveat about the use of this in templates that might be transcluded in such a way. Alai 02:01, 10 August 2007 (UTC)

Add category
Please add the following to the bottom of the template page:

Thanks. GregManninLB (talk) 17:01, 21 April 2008 (UTC)
 * I don't think this is a user warning template... --- RockMFR 17:20, 21 April 2008 (UTC)
 * Agree that doesn't seem to fit, but at the same time this template should go into a category. Unless there's something more specific, Category:Wikipedia utility templates or Category:Wikipedia metatemplates work for me. – Luna Santin  (talk) 22:26, 21 April 2008 (UTC)
 * ✅ Happy‑melon 15:16, 22 April 2008 (UTC)

Error class
Please change  to   for consistency. Thanks. —Ms2ger (talk) 18:53, 4 July 2008 (UTC)
 * Yes check.svg Done Happy‑melon 19:58, 4 July 2008 (UTC)

hay are you doind and what is this page all about —Preceding unsigned comment added by 64.136.26.235 (talk) 02:02, 8 September 2008 (UTC)

Allow for category override
Please change

to

and

to

This is per Template talk:Tlrow and will allow Tlrow to be used to document templates such as Controversial which use Check talk. Thank you. --Marc Kupper&#124;talk 18:53, 30 September 2009 (UTC)
 * Done, cheers, Skomorokh,  barbarian  22:22, 30 September 2009 (UTC)

Namespace switch
editprotected Please replace {{#switch:{{NAMESPACE}} |{{ns:0}} |Wikipedia |User |Image |Category |Mediawiki |Portal |Help = to {{#ifeq:{{NAMESPACE}} |{{SUBJECTSPACE}} | . This change adds a support for File namespace and make future maintainance easier. --fryed-peach (talk) 08:29, 30 October 2009 (UTC)


 * It also broke other templates that were using this. :D I put a quick fix in place, tell me if it isn't good enough. —Th e DJ (talk • contribs) 10:53, 30 October 2009 (UTC)


 * Thank you for the fixes! --fryed-peach (talk) 06:08, 2 November 2009 (UTC)

New code with ((cat handler))
I have reworked the code of this template and used cat handler for its internal logic. The new version is in check talk/sandbox.

I updated the two links in the message to be directly to the current help pages on templates and talk pages.

Both the old version and the new version keep quiet when on template pages, and of course also on talk pages.

I removed Category:Templates using check talk template from my new version, since that category is not needed and can cause categorization of templates that just show another template in their documentation. We can just as easily find the templates that use check talk by using "What links here", then choose to only list template space. That gives about 45 items, of which 40 are the templates that use check talk.

The old version of this template is showing the error message and adds the error category also on pages where we only demonstrate templates. The old version suppresses the error message and categorization on some pages, but that list is short and it is hard-coded in this template. The old version can also take the "category =" parameter to suppress the categorization, but it still shows the error message. And that parameter is somewhat messy to add to other templates since it involves undefined and empty but defined values... And we have to manually feed "category =" to the templates when we demonstrate them. And I could only find one template that uses that parameter in this template: controversial.

While cat handler has a central blacklist where we list pages where templates should not auto-categorize. Since cat handler is being used by many templates then its blacklist will be better maintained. I fed both the error message and the category to cat handler, thus both things will be suppressed when on blacklisted pages. For demonstration of templates when on pages that are not in the blacklist, then my new version supports both the old "category =" parameter, and the new standard "nocat=true" parameter. The "nocat=true" parameter is easier to forward from other templates. In my new version these parameters suppress both the error message and the categorization.

I will deploy this in a day or so.

--David Göthberg (talk) 08:30, 26 November 2009 (UTC)


 * ✅ Done - I got impatient. Now that I looked at this again some hours later it seemed straight forward and it fixes the stuff people have been asking for further up this page. So I boldly deployed it.
 * --David Göthberg (talk) 12:54, 26 November 2009 (UTC)


 * ✅ Done - I have done the same update to check talk wp. But it of course still keeps quiet on Wikipedia space pages. is only used by four templates, which are very easy to find with "What links here", so it too didn't need Category:Templates using check talk template. But I didn't add the messy "category =" parameter, since this template didn't use it, so I only added the "nocat = true" parameter.
 * --David Göthberg (talk) 14:53, 27 November 2009 (UTC)

Improper warning in editnotices of articles
When editing the article Paris Lees we get this warning:

'This template is misplaced. It belongs on the talk page: Talk:Paris Lees.'

This appears when Template:Editnotices/Page/Paris Lees is displayed. That editnotice contains which uses. Is it possible to amend Template:Check talk so that this warning is not shown for editnotices? It detracts from the important stuff in the two boxes. -- Red rose64 &#x1f339; (talk) 19:06, 28 May 2019 (UTC)

Error class
I notice that Check talk wp doesn't use the error class or Error, but Check talk does. Could we fix up check talk wp? &#123;{u&#124; Sdkb  }&#125;  talk 22:27, 17 June 2021 (UTC)