Main Page: Difference between revisions
No edit summary |
|||
| Line 62: | Line 62: | ||
<font color="orange">5 June 2021:</font> 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. | <font color="orange">5 June 2021:</font> 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: | [[File:RmodeImage8.png|right|r-mode image (135 x 135 px)]] | ||
<font color="orange">5 June 2021:</font> I successfully uploaded the "r-mode image" — shown here, on the right — from my Mac to the a2Hosting file system. | <font color="orange">5 June 2021:</font> I successfully uploaded the "r-mode image" — shown here, on the right — from my Mac to the a2Hosting file system. | ||
| Line 72: | Line 72: | ||
<li>That did not work, but the following did:<br />$wgLogos = [ '1x' => "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> | <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> | |||
<font color="orange">5 June 2021:</font> 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> | </ol> | ||
Revision as of 17:55, 5 June 2021
MediaWiki has been installed.
Consult the User's Guide for information on using the wiki software.
Getting started
- Configuration settings list
- MediaWiki FAQ
- MediaWiki release mailing list
- Localise MediaWiki for your language
- Learn how to combat spam on your wiki
Various Trials & Tests
I'm just testing to see if I'm properly editing.
.
Try another way: Template:Math
Another Test

4 June 2021: I successfully uploaded the "r-mode image" — shown here, on the right — from my Mac to the a2Hosting file system.
- I pointed my browser to the URL: Tohline.education/SelfGravitatingFluids; this opened the "Main Page" of my MediaWiki app
- I logged into the MediaWiki site; as a result, the "Upload file" link was added to the left-hand menu
- Clicking on this "Upload file" link, a familiar MediaWiki page opened; it allowed me to upload a selected r-mode image from my Mac
- From the a2Hosting's cPanel, I double-clicked on the "File Manager"; I located the file under public_html/SelfGravitatingFluids/images/3/3b
5 June 2021: I found this URL useful as I attempted to change my MediaWiki Logo image.
5 June 2021: via a cPanel-Terminal session, I changed directory to "~/public_html/SelfGravitatingFluids" and …
- Found index.php; its contents were not immediately useful.
- Found LocalSettings.php
- $wgServer = "https://tohline.education"
- $wgScriptPath = "/SelfGravitatingFluids"
- $wgResourceBasePath = $wgScriptPath
- $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/wiki.png" ];
5 June 2021: 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.

5 June 2021: I successfully uploaded the "r-mode image" — shown here, on the right — from my Mac to the a2Hosting file system.
- It is 135 x 135 pixels, which is the size used for the replacement MediaWiki Logo.
- From the a2Hosting's cPanel, I double-clicked on the "File Manager"; I located the file under public_html/SelfGravitatingFluids/images/8/8b
- Now, let's try opening the LocalSettings.php file and changing the $wgLogos specification to read:
$wgLogos = [ '1x' => "$wgResourceBasePath/images/8/8a/RmodeHBookImage6.png" ]; - That did not work, but the following did:
$wgLogos = [ '1x' => "images/8/8a/RmodeHBookImage6.png" ]; - 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:
$wgLogos = [ '1x' => "images/d/d3/RmodeImage8.png" ];
5 June 2021: Where do new MediaWiki pages get stored?
- Looks like one test example is at: ~/www/SelfGravitatingFluids/tests/phpunit/includes/page/
- Perhaps the real thing is at: ~/www/SelfGravitatingFluids/includes/page/
- Even more likely to be useful: ~/www/SelfGravitatingFluids/includes/content/
88% into TextContent.php … "Generates an HTML version of the content, for display. Used by fillParserOutput() to provide HTML for the ParserOutput object."