Difference between revisions of "MediaWiki"

From rbachwiki
Jump to navigation Jump to search
Line 6: Line 6:
Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed
Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed
</pre>
</pre>
[https://www.mediawiki.org/wiki/Extension:GoogleDocs4MW#Installation Download Extension]
=== Usage ===
=== Usage ===
<pre>
<pre>

Revision as of 17:00, 8 February 2022

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)