I was recently checking out a wiki and when I looked at some of the images it uses did I notice two things:
- The image was stored under https://raw.githubusercontent.com/wiki/:user/:repository/images/:image_name
- The image - while being a png - was animated.
While the 2nd one might not be that interesting (Animated png are a thing after all) did the first one peek my interest, as you usually have images saved on your personal name and as a random hash or similar.
So I quickly forked the wiki to take a look at what is going on here and I was surprised to see, that the wiki apparently has a
images folder which contained the images used in the wiki.
Is this a undocumented thing? Can you apparently have folders inside your wiki that may contain files? I am aware, that a wiki is essentially just another repository, which is hosted inside your repository and has some more wiki-focused stuff, but would it be theoretically possible to have pages inside folders on the wiki?
Are there any more feature I didn’t know of that are documented somewhere?