FAQInstructors

From IU
Jump to navigation Jump to search

Introduction to MediaWiki

The MediaWiki software is used by tens of thousands of websites and thousands of companies and organizations. It powers Wikipedia and also this website. MediaWiki helps you collect and organize knowledge and make it available to people. It's powerful, multilingual, free and open, extensible, customizable, reliable, and free of charge.

The structure of the content

Structure of syllabi

Core courses

Elective courses

Structure of Teaching Regulation Document

Individual instructors' pages

Content editing

How to log in the system?

Use your regular credentials for this purpose: user@innopolis.ru and the password from your account. If you cannot log in, please contact the IT-department @iuithelp

How to create a page?

From the search box

If you search for a page that doesn't exist, then you will be provided with a link to create the new page.

Using the URL

You can use the wiki's URL for creating a new page.

The URL to an article of the wiki is usually something like this:

If you replace ARTICLE with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet.

To get more detailed information you can refer to the user's manual: Help: Starting a new page

How to edit a page?

Clicking the "Edit" page tab at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit. Moreover, if you need not edit the whole page but only its part, you can click on "Edit" link related to this certain part and work only with it. If the text is so long it helps to save a time.

Note that only the authorized users are able to edit the content.

Here you can get more information about the editing process: Help:Editing pages

How to work with text and its structuring?

Detailed user guide on text formatting: MediaWiki: User guide

How to structurize a text?

Headings are created using sequences of "=" characters, placed before the heading title and after the heading title, on the same line. The level of headings is determined by the number of "=" characters.

Examples:

Level Example
2. ==Plants==
3. ===Plants===
4. ====Plants====

Start level: 2

Do not use headings of level 1, such as "=Title="; start with level 2 instead. The heading at level 1 is used for the title of the page.

Maximum level: 6

The maximum level of a heading is 6, rendered using ======Heading L6======. Entering a heading with 7 equals-signs such as =======Heading L7======= results in the creation of a heading of the level 6, with one equal-sign becoming part of the text of the heading: "=Heading L7=".

See more details here: MediaWiki user guide: sections and headings

How to format text?

The following is an overview of text formatting available in Mediawiki:

Basic text formatting
Formatting Markup Note
Boldface '''text'''
Italics ''text''
Boldface and italics '''''text'''''
Boldface combined with wikilink '''[[text]]''' The reverse order of ticks and brackets does not work: [['''text''']]

Other text formatting such as underline or blockquote needs to be done using HTML tags, including U for underline, TT for typewriter text, S for strikethrough, SUB for lower index and SUP for upper index.

How to use HTML tags?

Text formatting can also be done using HTML and CSS. Some of the most useful HTML elements are:

Most needed HTML markup
Task Markup Note
Preformatted text
<pre>
 preformatted
</pre>
The effect in wiki differs from the one in HTML; in wiki, the text within the PRE element is treated as within NOWIKI element, leaving all the HTML and wiki markup uninterpreted.
Blockquote
<blockquote>Longer passage.</blockquote>
Comments
<!-- comment -->
Avoid nesting, such as
<!-- <!-- comment --> -->
Generic inline element
<span style="TODO"></span>
Can be styled arbitrarily using cascading style sheets - CSS.
Generic block element
<div style="TODO"></div>
Can be styled arbitrarily using cascading style sheets - CSS.

Some HTML elements are not allowed, such as A and IMG.

How to work with lists?

Lists formatting:

Bullet lists:

Example Syntax Example Output
* a
** b
** c
*** d
  • a
    • b
    • c
      • d

Numbered lists:

Example Syntax Example Output
# a
## b
## c
### d
  1. a
    1. b
    2. c
      1. d

Definition lists:

Example Syntax Example Output
; defined term : definition
; defined term 2 : definition 2
defined term
definition
defined term 2
definition 2

Mixed lists:

Example Syntax Example Output
 * a
 *# b
 *# c
  • a
    1. b
    2. c

How to insert a link?

There are five types of hypertext links in MediaWiki, but two of them are the mostly used:

  • Internal links to other pages in the same wiki (commonly called "wikilinks")
  • External links to pages at other websites

Internal hyperlinks

Task Markup Note
Internal hyperlink [[keyword]]
Internal hyperlink to a section [[keyword#section_heading|link title]]
Internal hyperlink showing a different word [[keyword|its appearance]]
Internal hyperlink with a tooltip [[keyword|<span title="A tooltip">its appearance</span>]]
Internal hyperlink in bold '''[[keyword]]'''

External hyperlinks

Task Markup Note
External hyperlink [URL_containing_no_spaces title of the URL]

You can also fing some more details here: Help: links

How to format tables?

The following code

{| class="wikitable" style="height:14em;"
|-
! Left !! Center !! Right
|-
| Top left cell || Top center cell || Top right cell
|- style=height:7em
| Middle left cell || Middle center cell || Middle right cell
|-
| Bottom left cell || Bottom center cell || Bottom right cell
|}

gives the following:

Left Center Right
Top left cell Top center cell Top right cell
Middle left cell Middle center cell Middle right cell
Bottom left cell Bottom center cell Bottom right cell

Basics: MediaWiki User guide: Tables

Advanced: Wiki: Tables

How to work with math formulas?

How to put a source code?

The following code:

‎<syntaxhighlight lang="python" line>
def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass
‎</syntaxhighlight>

gives:

def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass

How to add TikZ-flowchart?

How to past pictures?

How to add video?

How to past sound?

How to embed a Google document into mediawiki page?

Content import / export

How to import content?

From Latex file

The developed feature for importing latex syllabus

From Word document

How to export content?

To Word document

To PDF-file

Printing