Difference between revisions of "Admin:notes"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 1: Line 1:
 +
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!
 +
-------------------------
 
8/18: String manipulation: <br> https://www.mediawiki.org/wiki/Extension:StringFunctions
 
8/18: String manipulation: <br> https://www.mediawiki.org/wiki/Extension:StringFunctions
 
-------------------------
 
-------------------------

Revision as of 16:34, 18 August 2020

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

Bill Williams

. Can control size!


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?)