Template talk:CheckElement

Removal of old symbols
I notice that the older symbols have been removed. Have all pages using the element and nuclide templates that reference these been changed over? Gah4 (talk) 02:37, 2 March 2017 (UTC)
 * The family of five templates check for unknown id (symbol, name). If unknown, the article is categorised: . The former symbols like Uus are also 'Unknown' today, they are removed from the internal templates' list. This category is empty, so there are no errors in articles (mainspace). Good.

But not in other namespaces: (including your sandbox). This category is not complete (does not check all five templates this way), so there could be more non-mainspace pages. I happen to know that all these pages listed are about those new element symbols (because yesterday, the category was empty).

Does this help? Should we check all non-articles listed? -DePiep (talk) 07:36, 2 March 2017 (UTC)


 * It seems that there are examples on how not to use some templates, which causes them to appear. Looks close enough for me.  Gah4 (talk) 16:34, 2 March 2017 (UTC)
 * You're right, the examples now are listed too (and even the template themselves for having no input). That is because yesterday I opened up that error-categorisation as wide as possible to catch any errors. So we know article space is OK. Do you want me to refine those other hits? (reduce number of trivial reportings?) Or is 'close enough' meaning 'OK as it is'? -DePiep (talk) 18:06, 2 March 2017 (UTC)


 * How often does get updated?  I suspect some have been fixed, but are still there. But yes, 'close enough' means OK as it is.  I don't remember now which page(s) caused me to add those back, but it didn't seem worth ruining all the pages without giving people time to fix them.   I got started on this working on tables for fission products and activation products. (Which don't have these high atomic number elements.)  I then found a bug in some of the templates that had Mr where Mn should have been, and wrote the test in my sandbox to be sure that there weren't others. Looks pretty good to me!  Gah4 (talk) 18:18, 2 March 2017 (UTC)
 * A day, maybe two (article categories hours). Is my inpression; we cannot enforce speed and patience is a friend. Priorities: 1. articles should be perfect. 2. you should be able to work useful in sandbox & testpages. Can you? From what I saw (glanced), your sandbox does messages & tests OK. Dunno about the fission checks. 3. Visual cleanups, empty a category to show super control. -DePiep (talk) 18:59, 2 March 2017 (UTC)


 * I learned about ?action=purge working on this, as changing a template doesn't immediately affect pages that it is used on. But I don't think that works for this one. I will check again in a few days.  Gah4 (talk) 21:55, 2 March 2017 (UTC)
 * You need something tricky to purge and update categories. I have done that, but the problems remain. Johnuniq (talk) 01:38, 4 March 2017 (UTC)
 * Do I understand, Johnuniq, that this would speed up new categorising (after a template change)? Or is it just upodating the category page, listing pages are they are processed (JQ) at the moment? -DePiep (talk) 09:29, 4 March 2017 (UTC)

The following example generates the error category, despite. Previewing the above in an otherwise blank sandbox shows the hidden error category at the bottom. This talk page was not in the category before I posted the above, but it will be when I save. If that can be fixed, I think Category:Pages with incorrect nuclide templates use will clear (after the tricky purging which I can do later). Johnuniq (talk) 01:38, 4 March 2017 (UTC)
 * OK I'll look into this. Nothing broken so far, just incorrect. -DePiep (talk) 09:29, 4 March 2017 (UTC)
 * One of the problems was that CheckElement did not report an error when you provided an invalid element name. I fix this, so now you get only one error message instead of a bunch of them. The root cause of the original problem appears to be that not all of the helper templates properly pass "nocategory" along, which they did not need to because CheckElement should prevent them from ever being called with invalid arguments. But just to be safe, I've tried to make sure all the helper templates handle "nocategory" correctly. Furthermore, the doc suggest you could use, where it should be.
 * Some examples:
 * → Expression error: Unexpected &lt; operator
 * I'll fix the doc now. — SkyLined (talk) 14:00, 15 February 2018 (UTC)
 * → Expression error: Unexpected &lt; operator
 * I'll fix the doc now. — SkyLined (talk) 14:00, 15 February 2018 (UTC)
 * I'll fix the doc now. — SkyLined (talk) 14:00, 15 February 2018 (UTC)
 * I'll fix the doc now. — SkyLined (talk) 14:00, 15 February 2018 (UTC)
 * I'll fix the doc now. — SkyLined (talk) 14:00, 15 February 2018 (UTC)