Anonymous

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

From Zelda Wiki, the Zelda encyclopedia
no edit summary
No edit summary
No edit summary
Tag: Manual revert
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__HIDDENCAT__
{{Maintenance Category}}
The following pages have template misuse warnings. Unlike full [[:Category:Pages with script errors|script errors]], warnings are displayed only to editors so as to not disrupt the reader experience. Oftentimes, validation errors are not so critical that readers need to know about them.
The following pages use templates in ways that the template code has deemed invalid.


Warning messages are displayed above page previews, unless the preference <code>Show previews without reloading the page</code> is enabled. If that's the 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."  
===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>.
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]]
[[Category:Pages with template errors]]