Hello, you have come here looking for the meaning of the word Template talk:new en basic. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template talk:new en basic, but we will also tell you about its etymology, its characteristics and you will know how to say Template talk:new en basic in singular and plural. Everything you need to know about the word Template talk:new en basic you have here. The definition of the word Template talk:new en basic will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate talk:new en basic, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
Wouldn't you have to make sure than none of these templates are used by other templates, ultimately by one still in use? It seems like the inverse of template expansion. One could search template namespace for wikitext that invokes the template. Also use in other namespaces that normal users might see (like Appendix). Are there ways to partially automate the detection of completely out of use templates (and modules), those used only on user pages, etc? DCDuring (talk) 12:10, 21 March 2019 (UTC)Reply
I have always just searched the dump in those cases. One dirty way to do it would be to modify the template you are looking for to categorize all entries which include it and then look at the entries in the category. - TheDaveRoss12:16, 21 March 2019 (UTC)Reply
Yes, although I haven't done it with modules, so I have always used pages-articles for everything. I just search for the template name and manually review the pages which it finds to see if it is being used or not. If it were a common thing that wouldn't work, but I have only ever done so in cases with like 20 instances across current versions. - TheDaveRoss19:50, 22 March 2019 (UTC)Reply
@DCDuring I can get rid of those extra pages as well once I'm sure that these templates should all be eliminated. I think I can write a bot script using pywikibot to list all the references of each 'new *' template and check that it's only user and discussion pages. I'm a bit concerned that these templates somehow or other used by some JavaScript or Lua that someone is using but I assume somebody would have said something by now if that were the case. Maybe User:Rua knows? Benwing2 (talk) 19:20, 22 March 2019 (UTC)Reply
It looked to me that the new entry function is now performed by a Lua module, apparently for all languages, but my technical judgment is poor. And I would want premature deletion. DCDuring (talk) 19:33, 22 March 2019 (UTC)Reply
This may be tedious, but it seems to me to be the right way to reduce the chances that deleting a template (or module?) might break something. DCDuring (talk) 20:26, 30 March 2019 (UTC)Reply
@DCDuring UGH UGH UGH. Many of these are in fact used, by the table that comes up when you search for a non-existent entry (it says "These entry templates may help when adding word" and has table of various parts of speech related to the word "cross"). It is specified in MediaWiki:Searchmenu-new. I restored the ones used by the table. Personally however I'm not sure if this table is helpful, esp. since above it is a link to User:Yair rand/newentrywiz.js, which appears a lot better and supports many more languages. What do people think about deleting the table? Benwing2 (talk) 20:32, 30 March 2019 (UTC)Reply
Can we get an idea about how often any of these templates are used in a week or month. I'd favor creating a log of invocations or entries created if that were possible. I don't think that there is any way to use the dumps for this. Of the templates that are not statically transcluded in user-facing namespaces, ie, transcluded only in user and talk pages, how many are in fact not subst-ed in some time period? They would seem to be all be prime candidates for deletion. Could we add something to each of such templates or to the code supporting "subst:" that would populate such a log. DCDuring (talk) 22:54, 30 March 2019 (UTC)Reply
It turns out to be harder than I thought. If you look at the page creation log, you'll see that I created an entry for Mexican bush sage. I used the blue "Noun" button, but the edit summary is the default one that the system adds when there is none. I then created an entry for white sage using just a redlink and entering all the content by hand. There doesn't seem to be anything in the logs that can be used to tell them apart. Chuck Entz (talk) 02:48, 31 March 2019 (UTC)Reply
For a limited number of templates one was tracking, one could have the template insert a category line (eg, Category:Substed template tracking (TEMPLATENAME) on the page in which the template was substed. That would mean inserting the categorization code into each tracked template.
I wonder whether there is or could be something in the customization of the Wikimedia software that allowed logging of substs more directly.
Does anyone know whether substs appear in the dump of changes, ie, enwiktionary-20190320-stub-meta-history.xml.gz 3.0 GB? Though that is a large file probably would take a lot less than an hour to download and a lot less than an hour to find all substs, provided they are actually recorded. If one needs the file of changes with full text history, that is a much larger file, I think. Moreover, I don't know whether it can be run. Most recently it was skipped. DCDuring (talk) 03:12, 31 March 2019 (UTC)Reply
These aren't substs, they're preloads. The code that calls them is in the URL itself and processed directly by the system. What's more, preloads are used by the acceleration templates and other new-entry methods. There are preloads that don't include templates, but I'm not sure if any trace is left either way. I'm skeptical that something that doesn't show up in the logs would show up in the dumps. Chuck Entz (talk) 04:26, 31 March 2019 (UTC)Reply
@DCDuring: I haven't downloaded the full history (the actual file wasn't generated; it would be bigger than 3 GB: 29 GB in the last dump), but my guess would be that it is similar to the pages-articles and pages-meta-current dumps, in that you see the actual wikitext of the page, which never contains the name of the template that was substed. I don't know if there's any record of template substitutions. — Eru·tuon04:39, 31 March 2019 (UTC)Reply
@Erutuon, Chuck Entz: Thanks for humoring me. I tried substituting a template and looked at diff in the page history. There is no indication that the content was produced by substitution. That means we can only track the use of templates by inserting comments, categorization, and/or nondisplaying templates, the latter two to allow use of insource searching for comments, should comments be necessary. Should we find a given substed template to be in more than rare use, we would then have a bit of a cleanup job. Probably not worth it. DCDuring (talk) 05:02, 31 March 2019 (UTC)Reply