Difference between revisions of "User:HR"

From Gangplank
Jump to navigation Jump to search
m
Line 1: Line 1:
= Introduction =
== Introduction ==
This page takes you through a set of tutorials aimed at complete newcomers interested in contributing.
This page takes you through a set of tutorials aimed at complete newcomers interested in contributing.
* https://en.wikipedia.org/wiki/Help:Introduction/All
* https://en.wikipedia.org/wiki/Help:Introduction/All


= Starting a new page =
== Starting a new page ==
There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.
There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Starting_a_new_page
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Starting_a_new_page


= Formatting =
== Formatting ==
You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two pairs of apostrophes like <nowiki>''this''</nowiki>.
You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two pairs of apostrophes like <nowiki>''this''</nowiki>.
* https://www.mediawiki.org/wiki/Help:Formatting
* https://www.mediawiki.org/wiki/Help:Formatting
* https://en.wikipedia.org/wiki/Help:Cheatsheet
* https://en.wikipedia.org/wiki/Help:Cheatsheet


== Syntax Highlighting ==
=== Syntax Highlighting ===
The SyntaxHighlight extension provides rich formatting of source code using the <nowiki><syntaxhighlight></nowiki> tag.
The SyntaxHighlight extension provides rich formatting of source code using the <nowiki><syntaxhighlight></nowiki> tag.
* https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
* https://www.mediawiki.org/wiki/Extension:SyntaxHighlight


=== Syntax highlighting with line numbers ===
==== Syntax highlighting with line numbers ====
<syntaxhighlight lang="cpp" line="1">
<syntaxhighlight lang="cpp" line="1">
#include <iostream>
#include <iostream>
Line 26: Line 26:
</syntaxhighlight>
</syntaxhighlight>


=== Syntax highlighting without line numbers ===
==== Syntax highlighting without line numbers ====
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
#include <iostream>
#include <iostream>
Line 36: Line 36:
</syntaxhighlight>
</syntaxhighlight>


== Images / Uploads==
=== Images / Uploads===
This page explains the '''image''' syntax when editing the wiki. You or another user must usually upload an image before you can use it on a page.
This page explains the '''image''' syntax when editing the wiki. You or another user must usually upload an image before you can use it on a page.
* https://www.mediawiki.org/wiki/Help:Images
* https://www.mediawiki.org/wiki/Help:Images
Line 44: Line 44:
[[File:Testbild.gif]]
[[File:Testbild.gif]]


== Poems ==
=== Poems ===
The '''Poem''' extension allows easy formatting of poems and similar material within Wikitext.
The '''Poem''' extension allows easy formatting of poems and similar material within Wikitext.
* https://www.mediawiki.org/wiki/Extension:Poem
* https://www.mediawiki.org/wiki/Extension:Poem
Line 55: Line 55:
</poem>
</poem>


== Tables ==
=== Tables ===
Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
* https://www.mediawiki.org/wiki/Help:Tables
* https://www.mediawiki.org/wiki/Help:Tables
Line 90: Line 90:
feugait nulla facilisi.
feugait nulla facilisi.


== Links ==
=== Links ===
There are five types of hypertext links in MediaWiki...
There are five types of hypertext links in MediaWiki...
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Internal
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Internal
Line 98: Line 98:
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interlanguage_links
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interlanguage_links


= Templates =
== Templates ==
If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.
If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.
* https://www.mediawiki.org/wiki/Help:Templates
* https://www.mediawiki.org/wiki/Help:Templates
{{User:Gel0zie5/Template:Welcome}}
{{User:Gel0zie5/Template:Welcome}}


== Infoboxes ==
=== Infoboxes ===
An infobox is a fixed-format table usually added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share and sometimes to improve navigation to other interrelated articles.
An infobox is a fixed-format table usually added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share and sometimes to improve navigation to other interrelated articles.
* https://en.wikipedia.org/wiki/Help:Infobox
* https://en.wikipedia.org/wiki/Help:Infobox
Line 109: Line 109:
* https://en.wikipedia.org/wiki/Category:Infobox_templates
* https://en.wikipedia.org/wiki/Category:Infobox_templates


= Properties =
== Properties ==
The user lives in [[Has town::Berlin]]. (Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.)
The user lives in [[Has town::Berlin]]. (Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.)
* https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki
* https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki


= Sidebar / Logo =
== Sidebar / Logo ==
'''MediaWiki:Sidebar''' defines the navigation bar, which provides links to the most important locations in the wiki and supplies site administrators with a place to add a persistent collection of links. For instance, most wikis will link to their community discussion page and some useful tools.
'''MediaWiki:Sidebar''' defines the navigation bar, which provides links to the most important locations in the wiki and supplies site administrators with a place to add a persistent collection of links. For instance, most wikis will link to their community discussion page and some useful tools.
* https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
* https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
Line 120: Line 120:
* https://www.mediawiki.org/wiki/Manual:$wgLogo
* https://www.mediawiki.org/wiki/Manual:$wgLogo


== Footer ==
= Subpages, Categories, Namespaces =
* https://www.mediawiki.org/wiki/Manual:Footer
== Subpages ==

== robots.txt ==
'''robots.txt''' files are part of the Robots Exclusion Standard, and can help with search engine optimization. They tell web robots how to crawl a site. A robots.txt file must be placed in the web root of a domain.
* https://www.mediawiki.org/wiki/Manual:Robots.txt

== Subpages, Categories, Namespaces ==
=== Subpages ===
'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).
'''Subpages''' introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).
* https://www.mediawiki.org/wiki/Help:Subpages
* https://www.mediawiki.org/wiki/Help:Subpages


== Categories ==
=== Categories ===
Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.
Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.
* https://www.mediawiki.org/wiki/Help:Categories
* https://www.mediawiki.org/wiki/Help:Categories


== Namespaces ==
=== Namespaces ===
Pages on a MediaWiki wiki are grouped into collections called “'''namespaces'''” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.
Pages on a MediaWiki wiki are grouped into collections called “'''namespaces'''” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Namespaces
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Namespaces
Line 135: Line 142:
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Using_custom_namespaces
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Using_custom_namespaces


= NavFrame =
== NavFrame ==
Dynamic navigation boxes use a combination of CSS and Javascript to make collapsible navigation boxes. The technical parts comprise style sheet declarations in MediaWiki:Common.css, and Javascript code in MediaWiki:Common.js.
Dynamic navigation boxes use a combination of CSS and Javascript to make collapsible navigation boxes. The technical parts comprise style sheet declarations in MediaWiki:Common.css, and Javascript code in MediaWiki:Common.js.
* https://en.wikipedia.org/wiki/Wikipedia:NavFrame
* https://en.wikipedia.org/wiki/Wikipedia:NavFrame
* https://www.mediawiki.org/wiki/Manual:Collapsible_elements
* https://www.mediawiki.org/wiki/Manual:Collapsible_elements


= General Data Protection Regulation (GDPR) =
== General Data Protection Regulation (GDPR) ==
* https://www.mediawiki.org/wiki/GDPR_(General_Data_Protection_Regulation)_and_MediaWiki_software
* https://meta.wikimedia.org/wiki/Privacy_policy
* https://meta.wikimedia.org/wiki/Privacy_policy/de
* https://meta.wikimedia.org/wiki/Privacy_policy/de
* https://www.hosteurope.de/blog/datenschutzerklaerung-die-besten-online-tools/
* https://www.e-recht24.de/muster-datenschutzerklaerung.html
* https://de.wikipedia.org/wiki/Datenschutzerkl%C3%A4rung
* https://de.wikipedia.org/wiki/Datenschutzerkl%C3%A4rung


= Extensions =
== Extensions ==
== Category Tag Cloud ==
=== Category Tag Cloud ===
* https://www.mediawiki.org/wiki/Extension:WikiCategoryTagCloud
* https://www.mediawiki.org/wiki/Extension:WikiCategoryTagCloud
<tagcloud style="background: gray;">
<tagcloud style="background: gray;">
Line 155: Line 162:
</tagcloud>
</tagcloud>


= Misc. Tests =
== Misc. Tests ==
== Transclude All Categories ==
=== Transclude All Categories ===
* https://stackoverflow.com/questions/37153928/how-to-show-all-categories-in-mediawiki-main-or-other-pages
* https://stackoverflow.com/questions/37153928/how-to-show-all-categories-in-mediawiki-main-or-other-pages
{{Special:AllPages|namespace=14}}
{{Special:AllPages|namespace=14}}


== Embed Videos ==
=== Embed Videos ===
* https://www.mediawiki.org/wiki/Extension:EmbedVideo
* https://www.mediawiki.org/wiki/Extension:EmbedVideo
A drawback with these embedded videos is that we have to cover each video provider in the privacy policy.
A drawback with these embedded videos is that we have to cover each video provider in the privacy policy.
Line 166: Line 173:
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}


= Backup & Restore =
== Backup & Restore ==
It is important to make regular backups of the data in your wiki.
It is important to make regular backups of the data in your wiki.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
Line 176: Line 183:
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly


= Installation & configuration =
== Installation & configuration ==
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings
* https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
* https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads


= See also =
== See also ==
* [[User:Annegret04]]
* [[User:Annegret04]]
* [[User:BrunoPocheron]]
* [[User:BrunoPocheron]]
Line 187: Line 194:
* [[User:Sanjakraljica]]
* [[User:Sanjakraljica]]


= References =
== References ==
'''Cite''' makes it possible to add footnotes to a page.
'''Cite''' makes it possible to add footnotes to a page.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Cite
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Cite
<div class="references-small"> <references /> </div>
<div class="references-small"> <references /> </div>


= External links =
== External links ==
* https://www.mediawiki.org/wiki/Help:Links
* https://www.mediawiki.org/wiki/Help:Links
* [https://en.wikipedia.org/wiki/The_Ministry_of_Silly_Walks The Ministry of Silly Walks]
* [https://en.wikipedia.org/wiki/The_Ministry_of_Silly_Walks The Ministry of Silly Walks]

Revision as of 05:25, 31 January 2021

Introduction

This page takes you through a set of tutorials aimed at complete newcomers interested in contributing.

Starting a new page

There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.

Formatting

You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two pairs of apostrophes like ''this''.

Syntax Highlighting

The SyntaxHighlight extension provides rich formatting of source code using the <syntaxhighlight> tag.

Syntax highlighting with line numbers

1#include <iostream>
2
3int main()
4{
5    std::cout << "Hello, world!\n";
6}

Syntax highlighting without line numbers

#include <iostream>

int main()
{
    std::cout << "Hello, world!\n";
}

Images / Uploads

This page explains the image syntax when editing the wiki. You or another user must usually upload an image before you can use it on a page.

If file uploads are enabled, you can upload certain types of files to the wiki. This is particularly useful for uploading images which you want to place on a page, but you can also upload other types of files.

Testbild.gif

Poems

The Poem extension allows easy formatting of poems and similar material within Wikitext.

This is the way we comb our hair [1],
Comb our hair[2],
Comb our hair.
This is the way we comb our hair
On a cold and frosty morning.

Tables

Tables may be created in wiki pages. As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.

Title
noframe
Image caption
SectionA
FieldNameA1 FieldParameterA1
FieldNameA2 FieldParameterA2
FieldNameA3 FieldParameterA3
SectionB
FieldNameB1 FieldParameterB1
FieldNameB2 FieldParameterB2

(The following text is here to show how a text can 'wrap' around the table to the right)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

Links

There are five types of hypertext links in MediaWiki...

Templates

If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.

User:Gel0zie5/Template:Welcome

Infoboxes

An infobox is a fixed-format table usually added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share and sometimes to improve navigation to other interrelated articles.

Properties

The user lives in Has town::Berlin. (Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.)

MediaWiki:Sidebar defines the navigation bar, which provides links to the most important locations in the wiki and supplies site administrators with a place to add a persistent collection of links. For instance, most wikis will link to their community discussion page and some useful tools.

The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations).

Footer

robots.txt

robots.txt files are part of the Robots Exclusion Standard, and can help with search engine optimization. They tell web robots how to crawl a site. A robots.txt file must be placed in the web root of a domain.

Subpages, Categories, Namespaces

Subpages

Subpages introduce some hierarchical organization into wiki pages, with levels of the hierarchy separated by slashes (/).

Categories

Categories, a software feature of MediaWiki, provide automatic indexes that are useful as tables of contents.

Namespaces

Pages on a MediaWiki wiki are grouped into collections called “namespaces” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.

NavFrame

Dynamic navigation boxes use a combination of CSS and Javascript to make collapsible navigation boxes. The technical parts comprise style sheet declarations in MediaWiki:Common.css, and Javascript code in MediaWiki:Common.js.

General Data Protection Regulation (GDPR)

Extensions

Category Tag Cloud

Misc. Tests

Transclude All Categories

Embed Videos

A drawback with these embedded videos is that we have to cover each video provider in the privacy policy. {{#ev:vimeo|https://vimeo.com/57378793%7C%7Cright}} {{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}

Backup & Restore

It is important to make regular backups of the data in your wiki.

Installation & configuration

See also

References

Cite makes it possible to add footnotes to a page.

External links