Admin:notes
8/19 set $wgEnableUploads = true;
Did a file upload (image of Bill Williams) as BW.jpg. It wound up as wiki.fancyclopedia.org/images/a/aa/BW.jpg
Inserted it into the page as [[File:BW.jpg|thumb|Bill Williams]]. Can control size!
The a/aa/ bit in the location is a hashed pair of directory levels to handle wikis with large number of files. It's predictable, but not in a useful way. See doc on $wgHashedUploadDirectory.
8/18: String manipulation:
https://www.mediawiki.org/wiki/Extension:StringFunctions
8/18: Maps extension is enabled in home/fancyclopedia/wiki.fancyclopedia.org/LocalSettings.php right towards the bottom of the file. InteractiveTimeline a couple dozen lines earlier.
8/18: <img... used in Template:FancyImage is raw HTML Code is
<IMG src="http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}" >
The last bit appears to change spaces into '%20'
syntax: <img src="https://www.xyz.com/images/test.jpg" alt="xyz.com" style="width:128px;height:128px;">
8/17: A random photo displays in browser with URL
http://files.fancyclopedia.org/Ted%20Johnstone/normal%20David%20McDaniel-02.jpg
What works in FancyImage?
- [[File:Ted Johnstone/normal_David_McDaniel-02.jpg]] does not work
- [[File:files.fancyclopedia.org/Ted Johnstone/normal_David_McDaniel-02.jpg]] does not work
- [[File:http://files.fancyclopedia.org/Ted Johnstone/normal_David_McDaniel-02.jpg]] does not work
- [[File:http://files.fancyclopedia.org/Ted%20Johnstone/normal_David_McDaniel-02.jpg]] does not work
8/17: There seems to be a double structure in files.fancyclopedia.org. OTOH, there's just a series of folders under that, each named for the Fancy 3 page the files are associated with. But if you Single-click on the folder in an FTP browser, it takes you to a folder of the same name in a different hierarchy under files.fancyclopedia.org:
- 1997 TAFF Race --> Fandom/Fanfunds/TAFF/1997 TAFF Race
- Ted Johnstone --> Fandom/People/Ted Johnstone
What's the point of this? How is it done? (Did someone really create a huge pile of links? Really?)