Difference between revisions of "MediaWiki"

From Max's Wiki
Jump to navigation Jump to search
Tag: visualeditor
Line 48: Line 48:
 
* [https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-ubuntu-14-04 How To Install MediaWiki on Ubuntu 14.04]
 
* [https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-ubuntu-14-04 How To Install MediaWiki on Ubuntu 14.04]
 
* [https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/ NGINX - MediaWiki]
 
* [https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/ NGINX - MediaWiki]
 +
 +
'''Configuration'''
 +
 +
Parsoid
 +
 +
https://www.mediawiki.org/wiki/Extension:VisualEditor
 +
 +
https://www.mediawiki.org/wiki/Parsoid/Setup
 +
 +
https://www.mediawiki.org/wiki/Parsoid/Troubleshooting
 +
 +
Installation
 +
# sudo apt-key advanced --keyserver keys.gnupg.net --recv-keys 90E9F83F22250DD7
 +
# sudo apt-add-repository "deb <nowiki>https://releases.wikimedia.org/debian</nowiki> jessie-mediawiki main"
 +
# Update and install
 +
## sudo apt-get update
 +
## sudo apt-get install apt-transport-https
 +
## sudo apt-get update && sudo apt-get install parsoid
 +
# Edit config file at: /etc/mediawiki/parsoid/config.yaml
 +
# Adjust the following: uri: '<nowiki>http://yoursite.com/w/api.php'</nowiki> and  domain: 'yoursite.com'  # optional
 +
# Add configurations into LocalSettings.php
 +
# sudo service parsoid restart
 +
 +
Troubleshooting
 +
 +
If getting: "Error loading data from server: no_vrs: The VirtualRESTService for the document server is not defined; see <nowiki>https://www.mediawiki.org/wiki/Extension:VisualEditor</nowiki>. Would you like to retry?" (https://www.mediawiki.org/wiki/Topic:Trpwvcu1lk3k3omr):
 +
 +
The server name is not properly configured in LocalSettings.php. See Linking with Parsoid at https://www.mediawiki.org/wiki/Extension:VisualEditor
 +
 +
If getting: "Error loading data from server: api error-visualeditor-docserver-http: HTTP 404. Would you like to retry?":
 +
 +
Reboot parsoid service.

Revision as of 07:29, 25 January 2018

At a Glance:

  1. Import Pages

or http://manaiakalani.info/wiki/index.php?title=Special:Import

Edit Sidebar:

  1. https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
  2. http://manaiakalani.info/wiki/index.php?title=MediaWiki:Sidebar

Version Info: http://manaiakalani.info/wiki/index.php?title=Special:Version

Update: http://manaiakalani.info/wiki/mw-config/

MediaWiki Version Info: https://en.wikipedia.org/wiki/Special:Version

Show all pages: http://manaiakalani.info/wiki/index.php?title=Special:AllPages

tar xvf

Edit CSS

  1. http://manaiakalani.info/wiki/index.php?title=MediaWiki:Common.css
  2. http://www.inmotionhosting.com/support/edu/mediawiki/change-media-wiki-appearance/changing-css-media-wiki

Infobox

  1. http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/
  2. https://en.wikipedia.org/wiki/Template:Infobox
  3. https://www.mediawiki.org/wiki/Extension:Scribunto

Skins

  1. https://www.mediawiki.org/wiki/Skin:Booty
  2. https://www.mediawiki.org/wiki/Extension:Skinny
  3. http://www.funtoo.org/Welcome
  4. https://github.com/mtyeh411/mediawiki-bootstrap

Editors

  1. https://www.mediawiki.org/wiki/Extension:VisualEditor
  2. https://www.mediawiki.org/wiki/Manual:Extensions
  3. https://www.mediawiki.org/wiki/Extension:VisualEditor#Setting_VisualEditor_up
  4. https://www.mediawiki.org/wiki/Parsoid#Getting_started

Short URL

Other Links

Configuration

Parsoid

https://www.mediawiki.org/wiki/Extension:VisualEditor

https://www.mediawiki.org/wiki/Parsoid/Setup

https://www.mediawiki.org/wiki/Parsoid/Troubleshooting

Installation

  1. sudo apt-key advanced --keyserver keys.gnupg.net --recv-keys 90E9F83F22250DD7
  2. sudo apt-add-repository "deb https://releases.wikimedia.org/debian jessie-mediawiki main"
  3. Update and install
    1. sudo apt-get update
    2. sudo apt-get install apt-transport-https
    3. sudo apt-get update && sudo apt-get install parsoid
  4. Edit config file at: /etc/mediawiki/parsoid/config.yaml
  5. Adjust the following: uri: 'http://yoursite.com/w/api.php' and domain: 'yoursite.com' # optional
  6. Add configurations into LocalSettings.php
  7. sudo service parsoid restart

Troubleshooting

If getting: "Error loading data from server: no_vrs: The VirtualRESTService for the document server is not defined; see https://www.mediawiki.org/wiki/Extension:VisualEditor. Would you like to retry?" (https://www.mediawiki.org/wiki/Topic:Trpwvcu1lk3k3omr):

The server name is not properly configured in LocalSettings.php. See Linking with Parsoid at https://www.mediawiki.org/wiki/Extension:VisualEditor

If getting: "Error loading data from server: api error-visualeditor-docserver-http: HTTP 404. Would you like to retry?":

Reboot parsoid service.