Difference between revisions of "MediaWiki"
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:
or http://manaiakalani.info/wiki/index.php?title=Special:Import
Edit Sidebar:
- https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
- 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
- http://manaiakalani.info/wiki/index.php?title=MediaWiki:Common.css
- http://www.inmotionhosting.com/support/edu/mediawiki/change-media-wiki-appearance/changing-css-media-wiki
Infobox
- http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/
- https://en.wikipedia.org/wiki/Template:Infobox
- https://www.mediawiki.org/wiki/Extension:Scribunto
Skins
- https://www.mediawiki.org/wiki/Skin:Booty
- https://www.mediawiki.org/wiki/Extension:Skinny
- http://www.funtoo.org/Welcome
- https://github.com/mtyeh411/mediawiki-bootstrap
Editors
- https://www.mediawiki.org/wiki/Extension:VisualEditor
- https://www.mediawiki.org/wiki/Manual:Extensions
- https://www.mediawiki.org/wiki/Extension:VisualEditor#Setting_VisualEditor_up
- https://www.mediawiki.org/wiki/Parsoid#Getting_started
Short URL
- Google Search - mediawiki nginx short url
- Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module
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
- sudo apt-key advanced --keyserver keys.gnupg.net --recv-keys 90E9F83F22250DD7
- sudo apt-add-repository "deb https://releases.wikimedia.org/debian 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: 'http://yoursite.com/w/api.php' 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 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.