Difference between revisions of "FAQInstructors"
I.konyukhov (talk | contribs) Tag: Manual revert |
I.konyukhov (talk | contribs) |
||
Line 227: | Line 227: | ||
! Task |
! Task |
||
! Markup |
! Markup |
||
− | ! Note |
||
|- |
|- |
||
| Internal hyperlink |
| Internal hyperlink |
||
| <nowiki>[[keyword]]</nowiki> |
| <nowiki>[[keyword]]</nowiki> |
||
− | | |
||
|- |
|- |
||
| Internal hyperlink to a section |
| Internal hyperlink to a section |
||
| <nowiki>[[keyword#section_heading|link title]]</nowiki> |
| <nowiki>[[keyword#section_heading|link title]]</nowiki> |
||
− | | |
||
|- |
|- |
||
| Internal hyperlink showing a different word |
| Internal hyperlink showing a different word |
||
| <nowiki>[[keyword|its appearance]]</nowiki> |
| <nowiki>[[keyword|its appearance]]</nowiki> |
||
− | | |
||
|- |
|- |
||
| Internal hyperlink with a tooltip |
| Internal hyperlink with a tooltip |
||
| <nowiki>[[keyword|<span title="A tooltip">its appearance</span>]]</nowiki> |
| <nowiki>[[keyword|<span title="A tooltip">its appearance</span>]]</nowiki> |
||
− | | |
||
|- |
|- |
||
| Internal hyperlink in bold |
| Internal hyperlink in bold |
||
| <nowiki>'''[[keyword]]'''</nowiki> |
| <nowiki>'''[[keyword]]'''</nowiki> |
||
− | | |
||
|} |
|} |
||
Revision as of 19:30, 13 December 2021
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:
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:
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 |
|
Numbered lists:
Example Syntax | Example Output |
---|---|
# a ## b ## c ### d |
|
Definition lists:
Example Syntax | Example Output |
---|---|
; defined term : definition ; defined term 2 : definition 2 |
|
Mixed lists:
Example Syntax | Example Output |
---|---|
* a *# b *# 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 |
---|---|
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