Uploaded icons are empty

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Uploaded icons are empty

Post by edi »

Hi to all,
if I upload the two icons
TechDraw_ExtensionCreateHorizChainDimension.svg
(6.8 KiB) Downloaded 47 times
TechDraw_ExtensionCreateHorizCoordDimension.svg
(9.01 KiB) Downloaded 39 times
in wiki, they are empty.
The files can be used without problems in the FreeCAD source code, and can be opened in InkScape.
The first icon is used in https://wiki.freecadweb.org/TechDraw_Workbench and https://wiki.freecadweb.org/TechDraw_Ex ... nDimension
Who can help me ?
User avatar
Roy_043
Veteran
Posts: 8411
Joined: Thu Dec 27, 2018 12:28 pm

Re: Uploaded icons are empty

Post by Roy_043 »

Through trial and error (so I do not know why this works): You need to remove style="filter:url(#filter1958)".

This:

Code: Select all

  <g
     inkscape:label="Livello 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(0,-288.53332)"
     style="filter:url(#filter1958)">
Should be:

Code: Select all

  <g
     inkscape:label="Livello 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(0,-288.53332)">
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Uploaded icons are empty

Post by edi »

@Roy_043: Thank you for your help.

Unfortunately I have the next problem: I cannot replace/overload the old (empty) file with the new file. Trying this I receive the message: both files are the same.
I created new files, having an _ (underline) at the end. That works, but is no good solution.

Is it possible to delete and/or rename existing files in wiki ?
User avatar
Roy_043
Veteran
Posts: 8411
Joined: Thu Dec 27, 2018 12:28 pm

Re: Uploaded icons are empty

Post by Roy_043 »

Renaming is not possible. And to delete a file you need additional permissions. I was able to overwrite the files. But I also corrected the sodipodi:docname, so maybe that fooled the Wiki software. I have deleted the two files ending in _.
Post Reply