How to embed an external media into the wiki?

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
foadsf
Posts: 102
Joined: Fri Mar 06, 2015 10:02 pm
Contact:

How to embed an external media into the wiki?

Post by foadsf »

I want to add some of the Repology badges to the FreeCAD Wiki, but I can't. As this page explains, apparently the $wgAllowExternalImages needs to be enabled. I have no idea what it is and how it works. I would appreciate it if you could help me know.

P.S. I know I have to upload images here but then it will automatically update

P.S.2. I have also asked the question here in the discussions section of the wiki.
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: How to embed an external media into the wiki?

Post by renatorivo »

You can only use images that have been uploaded to other wiki, but you are not creating a reference to a wiki
As for internal files, the syntax is
[[File:filename.svg|20px|link=]]
Example in https://www.freecadweb.org/wiki/Talk:Download

If you upload the image, it doesn't update automatically, so it's better to use a link to the page.
Post Reply