Content deleted Content added
Anomalocaris (talk | contribs) |
PrimeHunter (talk | contribs) →Template:Transclude list item excerpt causes Bogus file options lint errors: an empty fileargs= causes Module:Excerpt to add a pipe |
||
Line 62:
:<code><nowiki>[[File:Milan foggy panorama with Velasca Tower.jpg|thumbnail|A typical foggy day in central Milan.]]</nowiki></code>
So, [[Template:Transclude list item excerpt]] is sucking up valid Caption parameters from articles and stuffing them into file markup, but followed by a pipe, or in some way not in the final position, so the Caption parameter becomes bogus. —[[User:Anomalocaris|Anomalocaris]] ([[User talk:Anomalocaris|talk]]) 18:50, 27 August 2018 (UTC)
:The presence of an empty <code>| fileargs=</code> causes [[Module:Excerpt]] to add a pipe at the end of the image code: <code><nowiki>[[File:Milan foggy panorama with Velasca Tower.jpg|thumbnail|A typical foggy day in central Milan.|]]
</nowiki></code>. Either the module should be modified or the calls should omit the parameter when it's empty. Modifying the module is best but I'm not a Lua coder. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 19:48, 27 August 2018 (UTC)
|