Mediawiki: Difference between revisions
No edit summary |
|||
Line 25: | Line 25: | ||
require_once("$IP/extensions/Math/Math.php"); | require_once("$IP/extensions/Math/Math.php"); | ||
</pre> | </pre> | ||
5. The next step is to execute the "maintenance/update.php" script via shell: | 5. Install [http://www.mediawiki.org/wiki/Texvc texvc] and [http://www.mediawiki.org/wiki/Extension:Math#A_quick_note_about_texvc ocaml] | ||
<pre> | |||
sudo apt-get install ocaml | |||
cd extensions/Math/math | |||
make | |||
</pre> | |||
6. The next step is to execute the "maintenance/update.php" script via shell: | |||
<pre> | <pre> | ||
php maintenance/update.php | php maintenance/update.php |
Revision as of 14:26, 17 December 2014
Help resources
Cheatsheet
Install mediawiki on ubuntu
http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux
Enable tex for formula
- http://www.mediawiki.org/wiki/Manual:Enable_TeX
- http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux
- http://www.siteground.com/tutorials/mediawiki/mediawiki_math.htm
1. The following line is coming from an earlier bookmarked tutorial (not sure if it is needed anymore)
apt-get install mediawiki-math
2. Download Math extension from this link
3. Then you should extract the archive in the "extensions" folder within your MediaWiki installation directory.
4. Next, you need to add the following line to your LocalSettings.php file:
require_once("$IP/extensions/Math/Math.php");
sudo apt-get install ocaml cd extensions/Math/math make
6. The next step is to execute the "maintenance/update.php" script via shell:
php maintenance/update.php
Done. Go to test it. [Tested on mediawiki 1.22 on Ubuntu 12.04]. Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Install mediawiki on debian
Link here [1]
Create tables
- http://www.tablesgenerator.com/mediawiki_tables
- The following is an example of a table from the main page of UbuntuGuide.org (link were not modified).
Introduction | Installation | Packages and Repositories |
File Managers | ||||
Desktop Add-ons | Virtual Machines | Games and Entertainment |
Internet |
Auto timeout
See http://www.mediawiki.org/wiki/Manual_talk:Configuration_settings#Auto-Logout On ubuntu, change /etc/php5/apache2/php.ini.
"session.cahce_expire=180".
"session.gc_maxlifetime = 1440"
Extensions
Google Analytics
http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration#Installation