User:HR: Difference between revisions

From Gangplank
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
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

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

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

=== 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.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Namespaces
* https://www.mediawiki.org/wiki/Namespaces
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Using_custom_namespaces


== Starting a new page ==
== Starting a new page ==
Line 12: Line 27:
* https://en.wikipedia.org/wiki/Help:Cheatsheet
* https://en.wikipedia.org/wiki/Help:Cheatsheet


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

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

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

==== Syntax highlighting without line numbers ====
<syntaxhighlight lang="cpp">
#include <iostream>

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

=== 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.
* https://www.mediawiki.org/wiki/Help:Images

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.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Managing_files
[[File:Testbild.gif]]

=== Poems ===
The '''Poem''' extension allows easy formatting of poems and similar material within Wikitext.
* https://www.mediawiki.org/wiki/Extension:Poem
<poem>
This is the way we comb our hair <ref>https://en.wikipedia.org/wiki/Hair</ref>,
Comb our hair<ref>[[wikipedia:Hair]]</ref>,
Comb our hair.
This is the way we comb our hair
On a cold and frosty morning.
</poem>


=== Tables ===
=== Tables ===
Line 90: Line 65:
feugait nulla facilisi.
feugait nulla facilisi.


=== Links ===
=== Templates ===
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#External_links
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#External_links_to_internal_pages
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interwiki_links
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interlanguage_links

== 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:HR/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 76:
* https://en.wikipedia.org/wiki/Category:Infobox_templates
* https://en.wikipedia.org/wiki/Category:Infobox_templates


=== Collapsable elements / NavFrame ===
== Properties ==
==== Collapsable elements ====
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.mediawiki.org/wiki/Manual:Collapsible_elements


{| class="mw-collapsible mw-collapsed wikitable"
== Sidebar / Logo ==
! The header || remains visible
'''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
| This content || is hidden
|-
| at first || load time
|}


==== NavFrame (depricated) ====
The URL of the site '''logo''' (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations).
* https://www.mediawiki.org/wiki/Manual:$wgLogo

== Footer ==
* https://www.mediawiki.org/wiki/Manual: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.
* 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 (/).
* https://www.mediawiki.org/wiki/Help:Subpages

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

=== 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.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Namespaces
* https://www.mediawiki.org/wiki/Namespaces
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Using_custom_namespaces

== 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


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


=== Properties ===
=== General Data Protection Regulation (GDPR) ===
Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.
* https://www.mediawiki.org/wiki/GDPR_(General_Data_Protection_Regulation)_and_MediaWiki_software
* https://meta.wikimedia.org/wiki/Privacy_policy
* https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki
The user lives in [[Has town::Berlin]].
* https://meta.wikimedia.org/wiki/Privacy_policy/de
* https://de.wikipedia.org/wiki/Datenschutzerkl%C3%A4rung


=== Licencing / Copyright ===
== Links ==
There are five types of hypertext links in MediaWiki...
* https://de.wikipedia.org/wiki/Wikipedia:Urheberrecht
* https://de.wikipedia.org/wiki/Wikipedia:Lizenzbestimmungen
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Internal
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#External_links
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#External_links_to_internal_pages
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interwiki_links
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interlanguage_links


=== Terms of Use ===
== Page redirects ==
Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.
* https://foundation.wikimedia.org/wiki/Terms_of_Use/en
* https://foundation.wikimedia.org/wiki/Terms_of_Use/de
* https://www.mediawiki.org/wiki/Help:Redirects


=== Disclaimer / Impressum ===
== 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.
* https://de.wikipedia.org/wiki/Wikipedia:Impressum
* https://en.wikipedia.org/wiki/Wikipedia:General_disclaimer
* https://www.mediawiki.org/wiki/Help:Images

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.
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Managing_files
[[File:Testbild.gif]]


== Extensions ==
== Extensions ==
Line 175: Line 130:
exclude=Random_Data
exclude=Random_Data
</tagcloud>
</tagcloud>

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


=== Embed Videos ===
=== Embed Videos ===
Line 187: Line 137:
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}}


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

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

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

==== Syntax highlighting without line numbers ====
<syntaxhighlight lang="cpp">
#include <iostream>

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

=== Poems ===
The '''Poem''' extension allows easy formatting of poems and similar material within Wikitext.
* https://www.mediawiki.org/wiki/Extension:Poem
<poem>
This is the way we comb our hair <ref>https://en.wikipedia.org/wiki/Hair</ref>,
Comb our hair<ref>[[wikipedia:Hair]]</ref>,
Comb our hair.
This is the way we comb our hair
On a cold and frosty morning.
</poem>

== Installation & configuration ==
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* 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:Robots.txt

=== Mediawiki elements ===
==== Sidebar ====
'''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

==== Logo ====
The URL of the site '''logo''' (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations).
* https://www.mediawiki.org/wiki/Manual:$wgLogo

==== Footer ====
* https://www.mediawiki.org/wiki/Manual:Footer

=== 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 197: Line 200:
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly


== Installation & configuration ==
== Legal Stuff ==
=== General Data Protection Regulation (GDPR) ===
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings
* https://www.mediawiki.org/wiki/GDPR_(General_Data_Protection_Regulation)_and_MediaWiki_software
* https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
* https://meta.wikimedia.org/wiki/Privacy_policy
* https://meta.wikimedia.org/wiki/Privacy_policy/de
* https://de.wikipedia.org/wiki/Datenschutzerkl%C3%A4rung

=== Licencing / Copyright ===
* https://de.wikipedia.org/wiki/Wikipedia:Urheberrecht
* https://de.wikipedia.org/wiki/Wikipedia:Lizenzbestimmungen

=== Terms of Use ===
* https://foundation.wikimedia.org/wiki/Terms_of_Use/en
* https://foundation.wikimedia.org/wiki/Terms_of_Use/de

=== Disclaimer / Impressum ===
* https://de.wikipedia.org/wiki/Wikipedia:Impressum
* https://en.wikipedia.org/wiki/Wikipedia:General_disclaimer


== See also ==
== See also ==
Line 216: Line 233:
* 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]
.


[[Category:Random Data]]
[[Category:Random Data]]

Latest revision as of 21:59, 18 October 2024

Introduction

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

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.

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''.

Magic words

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.

Templates

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

This is a templated text.

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.

Collapsable elements / NavFrame

Collapsable elements

The header remains visible
This content is hidden
at first load time

NavFrame (depricated)

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.

Transclude All Categories

Properties

Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.

The user lives in Has town::Berlin.

Links

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

Page redirects

Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.

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

Extensions

Category Tag Cloud

<tagcloud style="background: gray;"> min_count=1 min_size=55 exclude=Random_Data </tagcloud>

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}}

Syntax Highlighting

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

Syntax highlighting with line numbers

#include <iostream>

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

Syntax highlighting without line numbers

#include <iostream>

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

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.

Installation & configuration

Mediawiki elements

Sidebar

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

Backup & Restore

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

Legal Stuff

General Data Protection Regulation (GDPR)

Licencing / Copyright

Terms of Use

Disclaimer / Impressum

See also

References

Cite makes it possible to add footnotes to a page.

External links

.