Mediawiki: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 8: Line 8:


=== Enable tex for formula ===
=== Enable tex for formula ===
http://www.mediawiki.org/wiki/Manual:Enable_TeX
* http://www.mediawiki.org/wiki/Manual:Enable_TeX
http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux
* http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux
* http://www.siteground.com/tutorials/mediawiki/mediawiki_math.htm
 
# The following line is coming from an earlier bookmarked tutorial
<pre>
<pre>
apt-get install mediawiki-math
apt-get install mediawiki-math
</pre>
</pre>
and change
 
# Download Math extension from [http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Math this link]
# Then you should extract the archive in the "extensions" folder within your MediaWiki installation directory.
# Next, you need to add the following line to your LocalSettings.php file:
<pre>
<pre>
$wgUseTeX          = true;
require_once("$IP/extensions/Math/Math.php");
</pre>
</pre>
by '''sudo nano /etc/mediawiki/LocalSettings.php'''
# The next step is to execute the "maintenance/update.php" script via shell:
<pre>
php maintenance/update.php 
</pre>
Done. Go to test it.


== Install mediawiki on debian ==
== Install mediawiki on debian ==

Revision as of 11:25, 2 November 2014

Help resources

Cheatsheet

Wikipedia.org

Install mediawiki on ubuntu

http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux

Enable tex for formula

  1. The following line is coming from an earlier bookmarked tutorial
apt-get install mediawiki-math
  1. Download Math extension from this link
  2. Then you should extract the archive in the "extensions" folder within your MediaWiki installation directory.
  3. Next, you need to add the following line to your LocalSettings.php file:
require_once("$IP/extensions/Math/Math.php");
  1. The next step is to execute the "maintenance/update.php" script via shell:
php maintenance/update.php  

Done. Go to test it.

Install mediawiki on debian

Link here [1]

Create tables

Introduction Introduction Installation Installation Packages and Repositories Packages and
Repositories
File Managers File Managers
Desktop Add-ons Desktop Add-ons Virtual Machines Virtual Machines Games and Entertainment Games and
Entertainment
Internet 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"