Jump to content

Template talk:new en basic

Page contents not supported in other languages.
Add topic
From Wiktionary, the free dictionary
Latest comment: 4 years ago by Suzukaze-c in topic RFD discussion: March 2019

RFD discussion: March 2019

[edit]

The following information has failed Wiktionary's deletion process (permalink).

It should not be re-entered without careful consideration.


"new en *" templates

The following appears to be the full list.

This templates are well over a decade old and associated with Wiktionary talk:Project-Nogomatch, which appears long dead. No uses in mainspace any more. Benwing2 (talk) 05:23, 21 March 2019 (UTC)Reply

Actually, this isn't the complete list. There are more such as Template:new en plural third bot, Template:new en plural bot, etc. and corresponding pages for other languages, see here. I don't know if any of them are in use; it seems their original purpose was in some article-creation gadgets. I suspect they aren't in use but don't know for sure. Benwing2 (talk) 05:30, 21 March 2019 (UTC)Reply
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. - TheDaveRoss 12:16, 21 March 2019 (UTC)Reply
Are you saying you search Template or Module namespace in the all-namespace current dump? DCDuring (talk) 16:10, 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. - TheDaveRoss 19:50, 22 March 2019 (UTC)Reply
If we get rid of these, can be also get rid of:
Failing to get rid of such pages and references clogs special pages. DCDuring (talk) 16:24, 21 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
@DCDuring Can you point me to the Lua module in question? Benwing2 (talk) 01:39, 26 March 2019 (UTC)Reply
The may be a module, but there is JS. See [1]. DCDuring (talk) 01:44, 26 March 2019 (UTC)Reply

──────────────────────────────────────────────────────────────────────────────────────────────────── Here is the full list, with #uses and refs.

Aliased template Canonical template #Uses Refs
Template:new alt Template:new alt 0
Template:new alt/documentation Template:new alt/documentation 1 Template:new alt
Template:new ca plural Template:new ca plural 0
Template:new ca plural/documentation Template:new ca plural/documentation 1 Template:new ca plural
Template:new ccTLD Template:new ccTLD 1 User:Connel MacKenzieBot/ccTLDs
Template:ccTLDs Template:new ccTLD 1 User:Connel MacKenzieBot/ccTLDs
Template:new ccTLD/documentation Template:new ccTLD/documentation 1 Template:new ccTLD
Template:new cmn pinyin Template:new cmn pinyin 0
Template:new cmn pinyin reading Template:new cmn pinyin 0
Template:new-cmn-pinyin Template:new cmn pinyin 0
Template:new de adj Template:new de adj 0
Template:new de comparative Template:new de comparative 0
Template:new de comparative/documentation Template:new de comparative/documentation 1 Template:new de comparative
Template:new de genitive Template:new de genitive 0
Template:new de noun f Template:new de noun f 0
Template:new de noun m Template:new de noun m 0
Template:new de noun n Template:new de noun n 0
Template:new de plural Template:new de plural 0
Template:new de plural/documentation Template:new de plural/documentation 1 Template:new de plural
Template:new de superlative Template:new de superlative 0
Template:new de superlative/documentation Template:new de superlative/documentation 1 Template:new de superlative
Template:new en -ed Template:new en -ed 0
Template:new en -ly Template:new en -ly 0
Template:Palkia-ly Template:new en -ly 0
Template:new en -ly/documentation Template:new en -ly/documentation 1 Template:new en -ly
Template:new en -ly 2 Template:new en -ly 2 0
Template:Palkia-ly-2 Template:new en -ly 2 0
Template:new en -ly 2/documentation Template:new en -ly 2/documentation 1 Template:new en -ly 2
Template:new en -ness Template:new en -ness 0
Template:new en -ness/documentation Template:new en -ness/documentation 1 Template:new en -ness
Template:new en able Template:new en able 0
Template:new en able/documentation Template:new en able/documentation 1 Template:new en able
Template:new en adj Template:new en adj 0
Template:new en adj/documentation Template:new en adj/documentation 1 Template:new en adj
Template:new en adj attr bot Template:new en adj attr bot 0
Template:new en adj attr bot/documentation Template:new en adj attr bot/documentation 1 Template:new en adj attr bot
Template:new en adv Template:new en adv 0
Template:new en adv/documentation Template:new en adv/documentation 1 Template:new en adv
Template:new en agent noun Template:new en agent noun 0
Template:en-agent Template:new en agent noun 0
Template:new en agent noun/documentation Template:new en agent noun/documentation 1 Template:new en agent noun
Template:new en alternative form Template:new en alternative form 0
Template:new en alternative form/documentation Template:new en alternative form/documentation 1 Template:new en alternative form
Template:new en alternative spelling Template:new en alternative spelling 0
Template:new en alternative spelling/documentation Template:new en alternative spelling/documentation 1 Template:new en alternative spelling
Template:new en basic Template:new en basic 0
Template:new en basic/documentation Template:new en basic/documentation 1 Template:new en basic
Template:new en basic bot Template:new en basic bot 0
Template:new en basic bot/documentation Template:new en basic bot/documentation 1 Template:new en basic bot
Template:new en compar Template:new en compar 0
Template:new en compar/documentation Template:new en compar/documentation 1 Template:new en compar
Template:new en non- Template:new en non- 0
Template:Palkia-non Template:new en non- 0
Template:new en non-/documentation Template:new en non-/documentation 1 Template:new en non-
Template:new en noun Template:new en noun 0
Template:new en noun/documentation Template:new en noun/documentation 1 Template:new en noun
Template:new en noun bot Template:new en noun bot 0
Template:new en noun bot/documentation Template:new en noun bot/documentation 1 Template:new en noun bot
Template:new en noun intro Template:new en noun intro 0
Template:new en noun intro/documentation Template:new en noun intro/documentation 1 Template:new en noun intro
Template:new en noun part Template:new en noun part 0
Template:new en noun part/documentation Template:new en noun part/documentation 1 Template:new en noun part
Template:new en plural Template:new en plural 0
Template:plural bot Template:new en plural 0
Template:new en plural/documentation Template:new en plural/documentation 1 Template:new en plural
Template:new en plural bot Template:new en plural bot 0
Template:new en plural third bot Template:new en plural third bot 0
Template:en-pl3ps Template:new en plural third bot 0
Template:new en plural third Template:new en plural third bot 0
Template:new en plural third bot/documentation Template:new en plural third bot/documentation 1 Template:new en plural third bot
Template:new en pres part Template:new en pres part 0
Template:new en pres part/documentation Template:new en pres part/documentation 1 Template:new en pres part
Template:new en superl bot Template:new en superl bot 0
Template:new en superl Template:new en superl bot 0
Template:new en superl bot/documentation Template:new en superl bot/documentation 1 Template:new en superl bot
Template:new en superl intro Template:new en superl intro 0
Template:new en superl intro/documentation Template:new en superl intro/documentation 1 Template:new en superl intro
Template:new en un- Template:new en un- 0
Template:new en un-/documentation Template:new en un-/documentation 1 Template:new en un-
Template:new en verb infl Template:new en verb infl 0
Template:new en verb infl/documentation Template:new en verb infl/documentation 1 Template:new en verb infl
Template:new en verb past Template:new en verb past 0
Template:new en verb past/documentation Template:new en verb past/documentation 1 Template:new en verb past
Template:new en verb past part Template:new en verb past part 0
Template:en-prespart Template:new en verb past part 0
Template:new en verb past part/documentation Template:new en verb past part/documentation 1 Template:new en verb past part
Template:new en verb pres part Template:new en verb pres part 0
Template:new en verb pres part/documentation Template:new en verb pres part/documentation 1 Template:new en verb pres part
Template:new en verb third Template:new en verb third 0
Template:new en verb third/documentation Template:new en verb third/documentation 1 Template:new en verb third
Template:new enm entry Template:new enm entry 0
Template:new enm entry/documentation Template:new enm entry/documentation 1 Template:new enm entry
Template:new entry Template:new entry 0
Template:new entry/documentation Template:new entry/documentation 1 Template:new entry
Template:new eo form Template:new eo form 0
Template:new eo verb form Template:new eo verb form 0
Template:new frm plural Template:new frm plural 0
Template:new frm plural/documentation Template:new frm plural/documentation 1 Template:new frm plural
Template:new he noun Template:new he noun 0
Template:new he noun/documentation Template:new he noun/documentation 1 Template:new he noun
Template:new he root Template:new he root 0
Template:new he root/documentation Template:new he root/documentation 1 Template:new he root
Template:new ht entry Template:new ht entry 0
Template:new ht entry/documentation Template:new ht entry/documentation 1 Template:new ht entry
Template:new io-a Template:new io-a 0
Template:new io-n Template:new io-n 0
Template:new io plural Template:new io plural 0
Template:new io-p form Template:new io plural 0
Template:new io verb form Template:new io verb form 0
Template:new io verb form/doc Template:new io verb form/doc 0
Template:new it plural Template:new it plural 0
Template:new oc plural Template:new oc plural 0
Template:new oc plural/documentation Template:new oc plural/documentation 1 Template:new oc plural
Template:new snowclone Template:new snowclone 0
Template:new snowclone/documentation Template:new snowclone/documentation 1 Template:new snowclone
Template:new surname Template:new surname 0
Template:new surname/documentation Template:new surname/documentation 1 Template:new surname
Template:new trans table Template:new trans table 0
Template:trans-all Template:new trans table 0
Template:new trans table/documentation Template:new trans table/documentation 1 Template:new trans table
Template:newsectionlink Template:newsectionlink 2 Template talk:etyl:fr-CA, Template talk:etyl:Late Latin
Template:newtext Template:newtext 1 Wiktionary:Beer parlour/2012/March
Template:newtext/documentation Template:newtext/documentation 1 Template:newtext

Benwing2 (talk) 17:21, 30 March 2019 (UTC)Reply

Deleted them all. If anyone complains, we can restore selectively. Benwing2 (talk) 19:22, 30 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
Unfortunately I have no idea how to do that ... Benwing2 (talk) 01:06, 31 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·tuon 04: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


@Benwing2 I stumbled upon Template:new trans table template at some point and thought it was pretty nifty. —Suzukaze-c 01:27, 29 December 2019 (UTC)Reply