User:HR: Difference between revisions
mNo edit summary |
mNo edit summary |
||
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 11: | Line 26: | ||
* 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 === |
|||
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=== |
=== Images / Uploads=== |
||
Line 44: | Line 35: | ||
[[File:Testbild.gif]] |
[[File:Testbild.gif]] |
||
=== |
=== Links === |
||
There are five types of hypertext links in MediaWiki... |
|||
The '''Poem''' extension allows easy formatting of poems and similar material within Wikitext. |
|||
* https://www.mediawiki.org/wiki/ |
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Internal |
||
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#External_links |
|||
<poem> |
|||
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#External_links_to_internal_pages |
|||
This is the way we comb our hair <ref>https://en.wikipedia.org/wiki/Hair</ref>, |
|||
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interwiki_links |
|||
Comb our hair<ref>[[wikipedia:Hair]]</ref>, |
|||
* https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links#Interlanguage_links |
|||
Comb our hair. |
|||
This is the way we comb our hair |
|||
=== Magic words === |
|||
On a cold and frosty morning. |
|||
* https://www.mediawiki.org/wiki/Help:Magic_words |
|||
</poem> |
|||
=== Tables === |
=== Tables === |
||
Line 90: | Line 81: | ||
feugait nulla facilisi. |
feugait nulla facilisi. |
||
=== |
=== 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: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 92: | ||
* 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. |
* 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) === |
|||
The user lives in [[Has town::Berlin]]. (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:// |
* https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki |
||
* 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 |
|||
== Extensions == |
== Extensions == |
||
Line 175: | Line 125: | ||
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 132: | ||
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}} |
{{#ev:youtube|https://www.youtube.com/watch?v=MvgN5gCuLac}} |
||
== |
=== 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 195: | ||
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly |
* https://www.mediawiki.org/wiki/Manual:$wgReadOnly |
||
== |
== Legal Stuff == |
||
=== General Data Protection Regulation (GDPR) === |
|||
* https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents |
|||
* https://www.mediawiki.org/wiki/ |
* https://www.mediawiki.org/wiki/GDPR_(General_Data_Protection_Regulation)_and_MediaWiki_software |
||
* https:// |
* 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 == |
Revision as of 16:52, 31 January 2021
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.
- 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
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''.
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.
Links
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
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 | |
---|---|
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.
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.
- https://en.wikipedia.org/wiki/Help:Infobox
- https://en.wikipedia.org/wiki/Help:Designing_infoboxes
- https://en.wikipedia.org/wiki/Category:Infobox_templates
Collapsable elements
The header | remains visible |
---|---|
This content | is hidden |
at first | load time |
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://www.mediawiki.org/wiki/Manual:Collapsible_elements
Transclude All Categories
- Category:2009
- Category:2010
- Category:2011
- Category:2012
- Category:2013
- Category:2014
- Category:2016
- Category:2017
- Category:2019
- Category:2020
- Category:2021
- Category:Bibliography
- Category:Characteristics of light
- Category:Characteristics of lighting
- Category:Concepts
- Category:Connections
- Category:Creating Complexity
- Category:Discursive Practices
- Category:Exercises
- Category:Gangplank Meetings Chronology
- Category:Haptic Control
- Category:Journal of the meeting August 2021
- Category:Lanbox
- Category:Lighting Control
- Category:Lighting designs described as experienced
- Category:Manifesto's
- Category:Meetings
- Category:Networking
- Category:Participants
- Category:Patches
- Category:Performance
- Category:Project Weeks
- Category:Projects
- Category:Pure Data
- Category:Pure Data Patches
- Category:Random Values
- Category:Reflecting Light
- Category:Reflecting Light Fanzine
- Category:Research
- Category:Research lines
- Category:Toolbox
- Category:Tools
- Category:Tools/Pure Data
- Category:Workshops
Properties
The user lives in Has town::Berlin. (Properties is Semantic Mediawiki stuff and not working here. Semantic Mediawiki is an extension.)
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
- 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.
Logo
The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations).
Backup & Restore
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/Fullsitebackup
- https://www.mediawiki.org/wiki/Manual:DumpBackup.php
- https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup
- https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Lock_the_database
- https://www.mediawiki.org/wiki/Manual:$wgReadOnlyFile
- https://www.mediawiki.org/wiki/Manual:$wgReadOnly
Legal Stuff
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://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
References
Cite makes it possible to add footnotes to a page.