Code.
[[Image:https://raw.github.com/adrelanos/testw/master/whonix.jpg|Whonix Concept]]
Example...
In github source code, the picture is visible:
https://github.com/adrelanos/testw/blob/master/README.mediawiki
No picture in github wiki:
https://github.com/adrelanos/testw/wiki/Home.mediawiki
I'm having the same problem. Also tried [[File:https://raw.github.com/.../image.png|Caption]] but it doesn't work either.
Found a workaround for this issue. Skip File: and Image: altogether and instead of raw.github.com, use the regular link but replace /blob/ with /raw/.
Example:
[[https://github.com/user/repo/raw/master/your_folder/image.png]]
Good luck!
Thanks a lot hongen!! Really helped a lot!
Yes, using @hongen's approach is currently the only reliable way to make this work. I'm aware of the annoyance and hope to make this much easier soon.
Ticket closed by accident?
Since @hongen's response does solve the issue, I closed it. I also submitted a fix to https://help.github.com/articles/how-do-i-add-images-to-my-wiki, so it should be accurate by the end of the day.
This method should work indefinitely. We'll fix it soon so that you can just use the regular blob url.
Despite doing everything shown here to resolve this it still does not work for README.wiki files to populate the README file shown on the repository home page. Is still on track to be fixed?
@Alexia Having the same problem. Tried all variations, but can't include any kind of Image in .mediawiki sources.
See also: https://gist.github.com/5chdn/6c86c09b386ecd3c2f15a40e4ee8b116
Most helpful comment
Found a workaround for this issue. Skip File: and Image: altogether and instead of raw.github.com, use the regular link but replace /blob/ with /raw/.
Example:
[[https://github.com/user/repo/raw/master/your_folder/image.png]]
Good luck!