Editing
A2HostingEnvironment
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===June 5=== I found [https://www.siteground.com/kb/how_to_change_my_mediawiki_logo_image/ this URL] useful as I attempted to change my MediaWiki Logo image. Via a cPanel-Terminal session, I changed directory to "~/public_html/SelfGravitatingFluids" and … <ol> <li>Found <font color="green">index.php</font>; its contents were not immediately useful.</li> <li>Found <font color="green">LocalSettings.php</font> <ol type="a"> <li>$wgServer = "https://tohline.education"</li> <li>$wgScriptPath = "/SelfGravitatingFluids"</li> <li>$wgResourceBasePath = $wgScriptPath</li> <li>$wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/wiki.png" ];</li> </ol> </li> </ol> I realized that, when using the cPanel-File_Manager, I must click on the **name** (e.g., SelfGravitatingFluids) of a directory folder as well as the tiny folder icon in order to see all of the directory's files and sub-directories. [[File:RmodeImage5big.png|right|200px|r-mode image (300 x 300 px)]] I successfully uploaded the "r-mode image" — shown here, on the right — from my Mac to the a2Hosting file system. <ol> <li>It is 135 x 135 pixels, which is the size used for the replacement MediaWiki Logo; actually, what is displayed here is a 300 x 300 pixel image.</li> <li>From the a2Hosting's cPanel, I double-clicked on the "File Manager"; I located the file under public_html/SelfGravitatingFluids/images/8/8b; actually, the displayed image is in ~/images/9/97</li> <li>Now, let's try opening the <font color="green">LocalSettings.php</font> file and changing the $wgLogos specification to read:<br />$wgLogos = [ '1x' => "$wgResourceBasePath/images/8/8a/RmodeHBookImage6.png" ];</li> <li>That did not work, but the following did:<br />$wgLogos = [ '1x' => "images/8/8a/RmodeHBookImage6.png" ];</li> <li>I added the "Self-Gravitating Fluids" label to the same image, then repeated the above-enumerated upload steps. Now the appropriate Logo can be found at the following location:<br /><font color="red">$wgLogos = [ '1x' => "images/d/d3/RmodeImage8.png" ];</font></li> </ol> Where do new MediaWiki pages get stored? <ol> <li>Looks like one ''test'' example is at: ~/www/SelfGravitatingFluids/tests/phpunit/includes/page/</li> <li>Perhaps the real thing is at: ~/www/SelfGravitatingFluids/includes/page/</li> <li>Even more likely to be useful: ~/www/SelfGravitatingFluids/includes/content/<br /> <font color="maroon">88% into ''TextContent.php'' …</font> "Generates an HTML version of the content, for display. Used by fillParserOutput() to provide HTML for the ParserOutput object." </li> </ol>
Summary:
Please note that all contributions to JETohlineWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JETohlineWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Tiled Menu
Table of Contents
Old (VisTrails) Cover
Appendices
Variables & Parameters
Key Equations
Special Functions
Permissions
Formats
References
lsuPhys
Ramblings
Uploaded Images
Originals
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information