Jump to content

MediaWiki: Difference between revisions

From Game in the Brain Wiki
Add: images/GIFs, YouTube (EmbedVideo note), diagrams, Admin Special Pages with account management
No edit summary
Line 1: Line 1:
= How to Use This Wiki =
== How to Use This Wiki ==


== Creating a New Page ==
== Creating a New Page ==
Line 5: Line 5:
The simplest way to create a page is via the URL:
The simplest way to create a page is via the URL:


# Go to your browser's address bar
Go to your browser's address bar
# Type: <code>https://wiki.gi7b.org/index.php/Your_Page_Name</code>
 
# MediaWiki will show "this page does not exist"
Type: <code>https://wiki.gi7b.org/index.php/Your_Page_Name</code>
# Click the '''Create''' tab at the top
 
# Write your content and click '''Save page'''
MediaWiki will show "this page does not exist"
 
Click the '''Create''' tab at the top
 
Write your content and click '''Save page'''


Use underscores for spaces in page names. The title displays with spaces automatically.
Use underscores for spaces in page names. The title displays with spaces automatically.
Line 17: Line 21:
To create a page that belongs to a section, use a slash in the name:
To create a page that belongs to a section, use a slash in the name:


https://wiki.gi7b.org/index.php/Open_Source/My_New_Guide
: <code>https://wiki.gi7b.org/index.php/Open_Source/My_New_Guide</code>


This creates <code>My_New_Guide</code> as a subpage of <code>Open_Source</code>. MediaWiki automatically adds a breadcrumb link back to the parent page.
This creates <code>My_New_Guide</code> as a subpage of <code>Open_Source</code>. MediaWiki automatically adds a breadcrumb link back to the parent page.
Line 25: Line 29:
Inside any wiki page, link to another page using double brackets:
Inside any wiki page, link to another page using double brackets:


[[Page Name]]
: <code><nowiki>[[Page Name]]</nowiki></code>
[[Page Name|Display Text]]
: <code><nowiki>[[Page Name|Display Text]]</nowiki></code>


External links:
External links:


[https://example.com Display Text]
: <code><nowiki>[https://example.com Display Text]</nowiki></code>


== Formatting Reference ==
== Formatting Reference ==
Line 65: Line 69:
=== Images and GIFs ===
=== Images and GIFs ===


Upload files first via [[Special:Upload]]. Then embed using the <code>[[File:...]]</code> syntax.
Upload files first via [[Special:Upload]]. Then embed using the <code><nowiki>[[File:...]]</nowiki></code> syntax.


{| class="wikitable"
{| class="wikitable"
Line 92: Line 96:
; Upload as an image : Create your diagram in any tool (draw.io, Excalidraw, LibreOffice Draw, Inkscape), export as PNG or SVG, and upload via [[Special:Upload]]. SVG scales cleanly at any size.
; Upload as an image : Create your diagram in any tool (draw.io, Excalidraw, LibreOffice Draw, Inkscape), export as PNG or SVG, and upload via [[Special:Upload]]. SVG scales cleanly at any size.


; ASCII diagram in a code block : For simple flow diagrams, use a <code><pre></code> block:
; ASCII diagram in a code block : For simple flow diagrams, use a <code><nowiki><pre></nowiki></code> block:


<pre>
<pre>
[Input] --> [Process] --> [Output]
[Input] --> [Process] --> [Output]
                |
|
                v
v
          [Error handler]
[Error handler]
</pre>
</pre>


Line 107: Line 111:
The EmbedVideo extension is '''not currently installed''' on this wiki. Without it, YouTube links display as plain clickable links only:
The EmbedVideo extension is '''not currently installed''' on this wiki. Without it, YouTube links display as plain clickable links only:


[https://www.youtube.com/watch?v=VIDEO_ID Watch the video]
: <code><nowiki>[https://www.youtube.com/watch?v=VIDEO_ID Watch the video]</nowiki></code>


'''To enable YouTube embedding (admin action):''' Install the [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo extension]. Once installed, embed a video with:
'''To enable YouTube embedding (admin action):''' Install the [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo extension]. Once installed, embed a video with:


<nowiki>{{#ev:youtube|VIDEO_ID}}</nowiki>
: <code><nowiki>{{#ev:youtube|VIDEO_ID}}</nowiki></code>


Or with custom dimensions:
Or with custom dimensions:


<nowiki>{{#ev:youtube|VIDEO_ID|640x360}}</nowiki>
: <code><nowiki>{{#ev:youtube|VIDEO_ID|640x360}}</nowiki></code>


The video ID is the part after <code>?v=</code> in the YouTube URL. For example, in <code>https://www.youtube.com/watch?v=QK2z_UimUls</code> the ID is <code>QK2z_UimUls</code>.
The video ID is the part after <code>?v=</code> in the YouTube URL. For example, in <code>https://www.youtube.com/watch?v=QK2z_UimUls</code> the ID is <code>QK2z_UimUls</code>.
Line 186: Line 190:
== Further Reading ==
== Further Reading ==


* [[mediawikiwiki:Special:MyLanguage/Help:Contents|MediaWiki User's Guide]]
[[mediawikiwiki:Special:MyLanguage/Help:Contents|MediaWiki User's Guide]]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]
 
[https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]

Revision as of 14:32, 22 February 2026

How to Use This Wiki

Creating a New Page

The simplest way to create a page is via the URL:

Go to your browser's address bar

Type: https://wiki.gi7b.org/index.php/Your_Page_Name

MediaWiki will show "this page does not exist"

Click the Create tab at the top

Write your content and click Save page

Use underscores for spaces in page names. The title displays with spaces automatically.

Subpages

To create a page that belongs to a section, use a slash in the name:

https://wiki.gi7b.org/index.php/Open_Source/My_New_Guide

This creates My_New_Guide as a subpage of Open_Source. MediaWiki automatically adds a breadcrumb link back to the parent page.

Linking to Pages

Inside any wiki page, link to another page using double brackets:

[[Page Name]]
[[Page Name|Display Text]]

External links:

[https://example.com Display Text]

Formatting Reference

Markup Result
== Heading == Level 2 heading
=== Subheading === Level 3 heading
'''bold''' Bold text
''italic'' Italic text
# item Numbered list item
* item Bullet list item
[[Page]] Internal link
[https://url Text] External link
<code>text</code> Inline code
<pre>block</pre> Preformatted code block
<s>text</s> Strikethrough

Embedding Media

Images and GIFs

Upload files first via Special:Upload. Then embed using the [[File:...]] syntax.

Markup Effect
[[File:photo.png]] Full-size image, inline
[[File:photo.png|thumb|Caption here]] Thumbnail with caption, floats right
[[File:photo.png|300px]] Fixed width
[[File:photo.png|center|500px|Caption]] Centred, fixed width, with caption
[[File:animation.gif|thumb|My gif]] Animated GIF — plays automatically, same syntax as images

Supported upload formats: PNG, JPG, GIF, SVG, WebP (depending on server config). GIFs animate in place with no extra steps.

Tip: To link to the file's description page without embedding it, use a colon prefix: [[:File:photo.png|link text]]

Diagrams

There is no diagram extension installed on this wiki. The current options are:

Upload as an image
Create your diagram in any tool (draw.io, Excalidraw, LibreOffice Draw, Inkscape), export as PNG or SVG, and upload via Special:Upload. SVG scales cleanly at any size.
ASCII diagram in a code block
For simple flow diagrams, use a <pre> block:
[Input] --> [Process] --> [Output]
|
v
[Error handler]
Install an extension (admin)
The Mermaid extension adds code-block-based diagram syntax for flowcharts, sequence diagrams, Gantt charts, and more. Once installed, diagrams are written in fenced blocks and rendered automatically.

YouTube Videos

The EmbedVideo extension is not currently installed on this wiki. Without it, YouTube links display as plain clickable links only:

[https://www.youtube.com/watch?v=VIDEO_ID Watch the video]

To enable YouTube embedding (admin action): Install the EmbedVideo extension. Once installed, embed a video with:

{{#ev:youtube|VIDEO_ID}}

Or with custom dimensions:

{{#ev:youtube|VIDEO_ID|640x360}}

The video ID is the part after ?v= in the YouTube URL. For example, in https://www.youtube.com/watch?v=QK2z_UimUls the ID is QK2z_UimUls.

Admin: Special Pages

Special Pages are system-generated pages for administration and maintenance. Access them at Special:SpecialPages or via the sidebar.

Account Management

Page What it does
Special:CreateAccount Create a new user account manually
Special:UserRights Assign or remove user groups (e.g. promote a user to sysop/admin)
Special:ListUsers Browse all registered accounts and their groups
Special:Block Block a user or IP address from editing
Special:Unblock Reverse a block
Special:ChangeCredentials Change your own password or credentials
Special:PasswordReset Send a password reset to a user's email

Content & Files

Page What it does
Special:Upload Upload images, GIFs, and other files
Special:ListFiles Browse all uploaded files
Special:AllPages Browse every page on the wiki
Special:RecentChanges See all recent edits across the wiki
Special:Nuke Mass-delete pages by a user (useful after spam)

Maintenance

Page What it does
Special:Statistics Page count, edit count, user count
Special:Version MediaWiki version and installed extensions
Special:Interwiki Manage interwiki link prefixes
Special:Log Unified log of all admin actions (blocks, deletions, rights changes)

To access admin-only special pages your account must be in the sysop group. Assign this via Special:UserRights.

Naming Conventions on This Wiki

Pages on this wiki follow a Topic-YYMMDD naming convention where the date identifies when the page was created or the work was done. Example: Claude_Code_Isolation_and_Burner_Workflow_260211.

Section index pages (this page, Open_Source, Repositories, etc.) are the exception — they have short, stable names with no date.

Further Reading

MediaWiki User's Guide

MediaWiki FAQ