Category:Articles using invalid arguments in template calls: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
m (HylianKing moved page Category:Pages with invalid function arguments to Category:Pages with invalid arguments without leaving a redirect)
No edit summary
Tag: Manual revert
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The following pages invoke modules via templates, but the module has determined (probably using [[Module:UtilsArg/Validate]]) that it was given invalid arguments. For more details, preview the page and look at the warning message above the editing area.
{{Maintenance Category}}
The following pages use templates in ways that the template code has deemed invalid.


[[Category:Pages with coding errors]]
===Fixing Invalid Arguments===
<section begin="warnings" />
====Viewing Warnings====
Pages in this category should have [[Module:Error#Warn|editor warnings]] that describe which template usages are invalid and how to fix them.
 
Warning messages are displayed above page previews, unless the preference <code>Show previews without reloading the page</code> is enabled. In this case, the warnings can also be viewed in the Lua logs at the very bottom of the preview page beneath the editing area, under "parser profiling data."
 
Unfortunately warning messages cannot be viewed when using VisualEditor, even in source mode. To switch to the regular source editor, go to [[Special:Preferences]], <code>Editing</code> tab, and from the <code>Preferred editor</code> dropdown select <code>Source editor</code>.
 
====Transcluded Errors====
If a page appears in this category but no editor warning appears when previewing the page, it may be that the error is being transcluded from another page. This happens quite often with errors in [[Data:Translations]] being transcluded into articles via {{Template|Nomenclature}}, and on redirect pages that use {{Template|Synonym}}.
 
In this case, you can use [[Special:ExpandTemplates]] to find out where the error is coming from. Put the name of the article in the '''context''' title field and the article wikitext in the '''input wikitext''' field, then submit the form. Search for <code>{{PAGENAME}}</code> in the '''Result''' section. The category name will appear where the error is.<section end="warnings"/>
 
Once the transcluded page (e.g. Data:Translations) is fixed, you must null edit the transcluding page (e.g. an article with Nomenclature) to clear it from this category.
 
[[Category:Pages with template errors]]

Revision as of 09:38, 24 June 2023

The following pages use templates in ways that the template code has deemed invalid.

Fixing Invalid Arguments

Viewing Warnings

Pages in this category should have editor warnings that describe which template usages are invalid and how to fix them.

Warning messages are displayed above page previews, unless the preference Show previews without reloading the page is enabled. In this case, the warnings can also be viewed in the Lua logs at the very bottom of the preview page beneath the editing area, under "parser profiling data."

Unfortunately warning messages cannot be viewed when using VisualEditor, even in source mode. To switch to the regular source editor, go to Special:Preferences, Editing tab, and from the Preferred editor dropdown select Source editor.

Transcluded Errors

If a page appears in this category but no editor warning appears when previewing the page, it may be that the error is being transcluded from another page. This happens quite often with errors in Data:Translations being transcluded into articles via {{Nomenclature}}, and on redirect pages that use {{Synonym}}.

In this case, you can use Special:ExpandTemplates to find out where the error is coming from. Put the name of the article in the context title field and the article wikitext in the input wikitext field, then submit the form. Search for Articles using invalid arguments in template calls in the Result section. The category name will appear where the error is.

Once the transcluded page (e.g. Data:Translations) is fixed, you must null edit the transcluding page (e.g. an article with Nomenclature) to clear it from this category.

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "Articles using invalid arguments in template calls"

The following 2 pages are in this category, out of 2 total.