MediaWiki

From rbachwiki
Revision as of 19:38, 10 May 2022 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Install GoogleDocs Extension

Download and place the file(s) in a directory called GoogleDocs4MW in your extensions/ folder.
Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'GoogleDocs4MW' );
Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed

Download Extension

Usage

Supported parameters are:

Name	Default
width	500
height	300
style	width:100%
As an example using all of the parameters:

<googlespreadsheet width="600" height="200" style="width:50%">Google Docs' key goes here</googlespreadsheet>

Link to Another Page

[[BackWiki:CSS]]

// use alternate text

[[BackWiki:Css|My CSS Page ]]

Linking to Other Websites

http://google.com

 // use alt text

[http://www.google.com Text To Display]

HTML TAGS

// html tags must be wrapped in html tag
<html> <a href="http://www.google.com"> Text</a></html>

Basic Text Formatting

// italic
''sorround text with 2 single quotes''
// bold
'''Surround with 3 single quotes'''
// bold and itallic
''''' 5 single quotes '''''
// horizontal rule
----
// <!-- Comment will not display -->

Creating Lists

// lists
* list one
*list item 2
** list item one second level
*** list item one third level

// numbered list
# one level
## 2nd level
### 3 level

// defination list
; list heading like dt
: list item like dd

// line break inside list
<br />

// indenting list items
this is non idnedted text
: indented one level
:: indented 2 level


Move to a different server

  • Move to Bluhost
  • Do installation of same version
  • create blank database then import old database
  • rename the old database to the installed one
  • in bluhost you need to add the user to the database 9databases- add user to database) ====

Move to new server

  • install php-pear
apt install php-pear
apt install php7.4-dev
pecl install pecl_http
configuration option "php_ini" is not set to php.ini location
You should add "extension=raphf.so" to php.ini