Content deleted Content added
Temporary somewhat working fix for the advanced-look processing/linter errors by avoiding (some) pipe replacement. This also disables the expansion of templates, as it was causing issues and im not entirely sure why its used right now other than for the old sake of {{#tag: |
Remove unused log and unused lines from pipe modification |
||
Line 130:
-- remove sizes, which sometimes get mistaken for captions
file = mw.ustring.gsub(file, '|%s*%d*x?%d+%s*px%s*([|%]])', '%1')
-- remove linebreaks
file = mw.ustring.gsub(file, '\n\n', '<br>')
Line 147 ⟶ 137:
file = mw.ustring.gsub(file, '%]%]$', '')
table.insert(files, file)
end
return files
|