Template talk:Eror

From Wiktionary, the free dictionary
Latest comment: 10 years ago by Metaknowledge in topic Template:Eror (redux)
Jump to navigation Jump to search

Problem[edit]

It is somewhat common in etymologies to write things like *{{term||þawaz|lang=gmw}} (ex). The code gmw is etyl-only, and since it doesn't link this isn't actually a problem. Nonetheless, {{term}} call {{Xyzy}} which calls this template. The example usage still might be a bad practice. I just wanted to point out one reason why Special:Whatlinkshere/Template:Eror is longer than one might expect. --Bequw τ 02:08, 11 October 2011 (UTC)Reply

What does this template:Eror do? Have errors semi-automatically link to it so they can be found? - -sche (discuss) 02:12, 11 October 2011 (UTC)Reply
Yes. If a call to {{term}} (or {{t}} or {{infl}} or the like) does not specify a script template to use, and specifies a language for which a default script template has not been set up, then {{Eror}} will be used as the script template. Special:WhatLinksHere/Template:Eror shows all pages where this occurs, and you can add .Eror:before { content: "invalid script"; color:red; font-size: 0.8em; } to Special:MyPage/common.css to help you find it on the page (though you often have to expand translations-tables and whatnot). —RuakhTALK 13:56, 11 October 2011 (UTC)Reply
Proto languages should only use {{proto}}. Or is this a problem for any reason? -- Liliana 13:08, 13 October 2011 (UTC)Reply
{{recons|þawaz|lang=gmw}} does the job (which is why I created the template in the first place). Mglovesfun (talk) 13:20, 13 October 2011 (UTC)Reply
There seems to be a mismatch here. {{proto|West Germanic|iwwiz|you}} links to [[Appendix:Proto-West Germanic/iwwiz]], while {{recons|jīz|lang=gmw}} links to [[Appendix:West Germanic/jīz]]. Am I doing something wrong? —RuakhTALK 13:38, 13 October 2011 (UTC)Reply

RFD (2)[edit]

The following information has failed Wiktionary's deletion process.

It should not be re-entered without careful consideration.


Template:Eror (redux)[edit]

This is no longer needed. {{Xyzy}} was converted over to use Module:language utilities, which handles error conditions instead. When someone specifies an invalid language, the result is a script error, so there is no need for a separate template. —CodeCat 20:37, 25 May 2013 (UTC)Reply

What does the script error do? Does it categorize? Mglovesfun (talk) 21:19, 26 May 2013 (UTC)Reply
Yes, in Category:Pages with script errors. It's part of Scribunto so it's been there from the beginning. —CodeCat 21:32, 26 May 2013 (UTC)Reply
Delete, though, it would be better to divide up Category:Pages with script errors by type of error. Mglovesfun (talk) 21:35, 26 May 2013 (UTC)Reply
I'm not sure if that is currently possible. On the other hand, as long as the one category is regularly monitored by many people, it can never build up to the point where we need to split it up. —CodeCat 21:44, 26 May 2013 (UTC)Reply
RFD-failed.Μετάknowledgediscuss/deeds 17:08, 19 July 2013 (UTC)Reply


RFC discussion: July 2011[edit]

The following discussion has been moved from Wiktionary:Requests for cleanup (permalink).

This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.


There are a few hundred of these: pages that invoke {{Xyzy}} with invalid language codes. Sometimes they're codes for language families rather than individual languages; sometimes they're three-letter alternatives to two-letter codes; sometimes it's just a missing parameter (for example, I just fixed a {{t+|qirr}} that was supposed to be {{t+|ku|qirr}}). —RuakhTALK 17:33, 25 July 2011 (UTC)Reply