Open JoKalliauer opened 3 years ago
What is "the *.xml"? Do you mean the Template sheet?
What is "the *.xml"? Do you mean the Template sheet?
Sorry I meant the Excel-Spreedsheet (*.xls)
I'm unable to reproduce this with the current information. Having tried:
To enter "[[Category:CatName]]" in Libre office and then continuing to Pattypan's "Validate & Upload" flow.
To enter "[[Category:CatName]]" in the "write wikicode" section in the "choose columns" step during the "Generate Spreadsheet" flow.
Would you be able to share the contents of your Template sheet?
I forgot to mention, that I use the {{Information
-template, anyhow here the full information to reproduce it: (Some information might be meticulous and irrelevant)
cd ~/prgm/pattypan
java -Duser.language=de -jar pattypan.jar "${@}"
generate Table
{{Information}}
-template[[Category:Screenshots of Pattypan]]
in the spreadsheet in the field below the categories
-fieldvalidate and upload
'=={{int:filedesc}}==
{{Information
|description = ${description}
|date = ${date}
|source = {{own based|https://github.com/yarl/pattypan/releases/tag/v20.04}}
|author = [https://github.com/yarl Paweł Marynowski] and others
|permission = {{free screenshot|MIT}}
|other versions =
}}
=={{int:license-header}}==
{{free screenshot|MIT}}
<#if categories ? has_content>
<#list categories ? split(";") as category>
[[Category:${category?trim}]]
</#list>
<#else>{{subst:unc}}
</#if>
So [[Category:${category?trim}]]
has the [[Category:
hardcoded, and there is imho no check if ${category?trim}
does start with [[
or with Category:
source: https://github.com/yarl/pattypan
license: Expat-License
author: Paweł Marynowski and others
pattypan: 20.04
OS: Fedora 32
Spread-sheet-tool: LibreOffice 7.0 calc
If you enter
[[Category:CatName]]
into the*.xls
it gets[[Category:[[Category:CatName]]]]