Content deleted Content added
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 64:
: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)
::Yeah, this a [[Module:Excerpt]] issue. Though this module does already trim whitespace and remove empty parameters (via the function {{tt|cleanupArgs}}) before passing any through to Module:Excerpt, so what PrimeHunter describes might not be the only issue - <u>'''[[User:Evad37|Evad]]''37'''''</u> <span style="font-size:95%;">[[[d:w:User talk:Evad37|talk]]]</span> 01:10, 28 August 2018 (UTC)
|