Template:CheckMissing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added detail on cache refreshing) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn | <includeonly>{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big> (See [[Template:CheckMissing]] for possible reasons and solutions)<br>|noresultsheader= |namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; }}</includeonly><noinclude> | ||
{{DisplayBox|bgcolor=#ddffdd|This template is for use on a composer page. It checks to see if all the works in | {{DisplayBox|bgcolor=#ddffdd|This template is for use on a composer page. It checks to see if all the works in <tt>Category:<Composer> compositions</tt> are linked from the composer page. If not, the missing works are listed, with the header | ||
:See [[Template:CheckMissing]] for possible reasons and solutions. | :See [[Template:CheckMissing]] for possible reasons and solutions. | ||
Line 7: | Line 7: | ||
*They are spelled or capitalized differently. Check for a superfluous redirect. | *They are spelled or capitalized differently. Check for a superfluous redirect. | ||
*The page has not been completely automated, and the work needs to be manually added to one of the above lists. | *The page has not been completely automated, and the work needs to be manually added to one of the above lists. | ||
*Not enough time has elapsed for the cache to refresh; try <tt>Edit</tt> followed by <tt>Save changes</tt>. | *Not enough time has elapsed for the cache to refresh; try <tt>Edit</tt> followed by <tt>Save changes</tt>, or add <tt><nowiki>?action=purge</nowiki></tt> to the URL of the page to force a cache refresh. You may have to do this twice to obtain that the cache is completely refreshed. | ||
Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt> | Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt> | ||
Line 14: | Line 14: | ||
[[Category:DPL templates]] | [[Category:DPL templates]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
<!--OLD CODE | <!--OLD CODE | ||
{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn | {{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn | ||
|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br> | |linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br> | ||
See [[Template:CheckMissing]] for possible reasons and solutions.|noresultsheader=All works are listed above. | See [[Template:CheckMissing]] for possible reasons and solutions.|noresultsheader=All works are listed above. | ||
|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; |noresultsheader= |columns=3|rowcolformat=width=100%}} | |mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; |noresultsheader= |columns=3|rowcolformat=width=100%}}--> | ||
</noinclude> | </noinclude> |
Revision as of 16:27, 4 July 2020
This template is for use on a composer page. It checks to see if all the works in Category:<Composer> compositions are linked from the composer page. If not, the missing works are listed, with the header
- See Template:CheckMissing for possible reasons and solutions.
Possible reasons why a work would be listed both below and above:
- They are spelled or capitalized differently. Check for a superfluous redirect.
- The page has not been completely automated, and the work needs to be manually added to one of the above lists.
- Not enough time has elapsed for the cache to refresh; try Edit followed by Save changes, or add ?action=purge to the URL of the page to force a cache refresh. You may have to do this twice to obtain that the cache is completely refreshed.
Syntax: {{CheckMissing}} No parameters are used.