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 9=== Download and Install Extension:Math <ol> <li>From Safari on my iMac, I went to the page titled, [https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Math Download MediaWiki extension]; this means that the downloaded file(s) will initially end up on my iMac, under folder … ~/myMediaWiki/Math</li> <li>It asked for MediaWiki version number … <ul> <li>Under the ''Tools'' subsection of the Main_Page sidebar, click on '''special pages''';</li> <li>Then, under the ''Data & Tools'' subheading, click on '''Version'''.</li> <li>ANS: the a2Hosting installation was <font color="red">Version = 1.36.0</font>, which is the version number labeled "latest stable MediaWiki" on the extension download page. </ul> <table border="0" align="center" width="80%"> <tr><td align="left"> [[File:READMEdownloadMathExtension.png|600px|README download Math Extension (9 June 2021)]] </td></tr> </table> </li> <li>I directed the "snapshot URL" download link to put the ~.tar.gz file directly into the ~/myMediaWiki/Math folder on my iMac. From the command line of my iMac's ''terminal'' screen I typed: <font color="darkgreen">tar -xzvf Math-REL1_36-8c7c35b.tar.gz</font>. Looks like this file was unwrapped properly; the unpacking involved (1) creation of a subfolder named "Math" and (2) storing all files in this newly created folder. Note that, since the unpacking self-generated the new "Math" subfolder, I ended up with a ~/Math/Math/ folder construction.</li> <li>Using ''FileZilla'' on my iMac, I transferred (via SFTP) the original ~.tar/gz file into the extensions subfolder of my SelfGravitating wiki site on the a2Holding server. Then, using the cPanel terminal app, I changed into the ~/SelfGravitatingFluids/extensions folder and typed the same command, namely: <font color="darkgreen">tar -xzvf Math-REL1_36-8c7c35b.tar.gz</font>. A new "Math" subfolder was created within the "extensions" subfolder and all of the "unpacked" files appear to have been properly stored there.</li> <li> Carry out the last couple of 8 June ''contemplated steps''. <ul> <li>Add the following code at the bottom of your ~/SelfGravitatingFluids/LocalSettings.php: <ul> <li>wfLoadExtension( 'Math' );</li> </ul> </li> <li>Run the update script which will automatically create the necessary database tables that this extension needs. According to [https://www.mediawiki.org/wiki/Manual:Update.php this documentation], updating involves the following: (1) Change to the '''maintenance''' directory, then at the command-line prompt, type '''php update.php'''.</li> </ul> </li> <li> <font color="red">'''HOORAY!!'''</font> As is illustrated in Table 1, the LaTex instructions appear to work: (''left'') a few lines of plain text, and (''right'') the "Extension:Math" rendering results. NOTE: These (admittedly simple) math expressions are ''not'' embedded .png images but, rather, have each letter placed individually; this is illustrated by the fact that the light-blue background color is able to color throughout the expressions. <table border="1" align="center" cellpadding="8"> <tr><td colspan="2" align="center">'''Table 1'''</td></tr> <tr><td align="center">Plain Text</td><td align="center">Rendering</td></tr> <tr> <td align="left"> <pre> I'm just testing to see if I'm properly editing. <math> E = mc^2 </math> <div align="center"> <math>H = \int\frac{dP}{\rho}</math> . </div> </pre> </td> <td align="left" bgcolor="lightblue"> I'm just testing to see if I'm properly editing. <math> E = mc^2 </math> <div align="center"> <math>H = \int\frac{dP}{\rho}</math> . </div> </td> </tr> </table> </li> </ol> {{SGFfooter}}
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