Changes between Version 15 and Version 16 of AWIKIServer


Ignore:
Timestamp:
08/08/15 23:54:31 (4 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AWIKIServer

    v15 v16  
    3434 * sudo apt-get install devscripts dpkg-dev
    3535 * sudo apt-get install dh-buildinfo ocaml-nox xsltproc docbook-xml docbook-xsl
    36  * sudo apt-get remove mediawiki-extensions-base
    37  * wget wget http://releases.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz
     36 * wget http://releases.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz
    3837 * wget faikvm.com/mediawiki-debian.tar.gz
    3938 * tar -xzf mediawiki-1.25.1.tar.gz
     
    4847  * DROP DATABASE my_wiki;
    4948  * quit
    50  * sudo /root/install_mediawiki
     49 * sudo /root/install_mediawiki.sh
     50
     51== Enabling the Vector skin ==
     52 * as root, add {{{wfLoadSkin( 'Vector');}} to /etc/mediawiki/LocalSettings.php .
    5153
    5254== Bugs ==
     
    6163=== Universal Language Selector ===
    6264 * cd /var/lib/mediawiki/extensions
    63  * git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UniversalLanguageSelector.git
    64  * add 'require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";' before the {{{?>}}} in /etc/mediawiki/LocalSettings.php
     65 * sudo git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UniversalLanguageSelector.git
     66 * as root, add {{{require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";}}} before the {{{?>}}} in /etc/mediawiki/LocalSettings.php
     67 * cd ~
    6568
    6669=== Parsoid ===
    6770 * sudo apt-get install npm nodejs
    68  * git checkout https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid
    69  * wget faikvm.com:/parsoid-debian.tar.gz
     71 * git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid
     72 * wget http://faikvm.com/parsoid-debian.tar.gz
    7073 * cd parsoid
    7174 * tar -xzf ../parsoid-debian.tar.gz
     
    7376 * cd ..
    7477 * sudo dpkg -i parsoid_0.3.0_i386.deb
    75  * cd /usr/lib/parsec
     78 * cd /usr/lib/parsoid
    7679 * sudo npm install
    77  * change the '/w/' to '/wiki/' in /etc/mediawiki/parsoid/settings.js
    78  * sudo /etc/init.d/parsec start
     80 * as root, change the '/w/' to '/wiki/' in /etc/mediawiki/parsoid/settings.js
     81 * sudo service apache2 restart
     82 * sudo service parsec start
    7983
    8084==== Bugs ====
    8185 * EATS ALL RAM. takes up 600 megs of ram to start. turn on your swap file...
     86  * on createvm hosts:
     87   * cd /home
     88   * sudo dd if=/dev/zero of=swapfile bs=1048576 count=1024
     89   * sudo chmod 600 swapfile
     90   * sudo mkswap swapfile
     91   * sudo swapon swapfile
     92   * cd ~
    8293 * npm install -- installs dependencies not found in debian. they need audited and packaged.
    8394
    8495== Installing ==
    8596 * cd /var/lib/mediawiki/extensions
    86  * git clone -b REL1_25 https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
     97 * sudo git clone -b REL1_25 https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
    8798 * cd VisualEditor
    88  * git submodule update --init
    89 
    90  * tell
    91 
     99 * sudo git submodule update --init
    92100 * add the following to /etc/mediawiki/LocalSettings.php to enable the Visual Editor:
    93101{{{
     
    98106$wgDefaultUserOptions['visualeditor-enable'] = 1;
    99107
    100 // Don't allow users to disable it
    101 $wgHiddenPrefs[] = 'visualeditor-enable';
     108// Don't allow users to enable it
     109// $wgHiddenPrefs[] = 'visualeditor-enable';
    102110
    103111// OPTIONAL: Enable VisualEditor's experimental code features