WikiText

## Subpages

1. WikiText/Blacklist
2. WikiText/Bot

## Links

Main article: w:c:Community:Help:Links
* `[[Color]]s` will display as Colors. Note how the s automatically becomes a part of the link.
* `[[:File:Site-logo.png]]` creates a link to the file, rather than putting the file on the page.
* `[[:Category:Browse]]` creates a link to the category, instead of actually categorizing.
* `[[w:c:domain:article name]]` if you wish to link to another wiki on Fandom.
* `[[Community Central:Admins and mods|]]` → Admins and mods. When you go back to edit the text, you'll find that the pipe trick has resulted in the full form, kbd>[[Community Central:Admins and mods|Admins and mods]].
* `[[Forum:Background colors/pictures, HTML|]]` → Background colors/pictures. Removes the namespace and everything after the comma
* `[[Forum:Background (color2)|]]` → Background. The namespace gets lopped off, but also the parenthetical.
* `[[Help:Infoboxes#Custom\_theming]]` → Help:Infoboxes#Custom\_theming. If you want to link to a section of a page, make sure the page section is marked by a header.
* `[[#Linking\_to\_a\_page\_section]]` → #Linking\_to\_a\_page\_section. Link to a section on the currently viewing page.
* `[[Help:Contents|<span style="color: green;">Help:Contents</span>]]` → Help:Contents. If you want to change the color of one individual link (as opposed to every link on that wiki), you will need to use span tags and CSS on the pipe side of your link.

## Magic words

*Read more: MediaWiki: Magic words 2022*
* `\_\_NOTOC\_\_` hides table of contents
* `\_\_FORCETOC\_\_` forces TOC to appear at its normal position, aka before the first header, overriding *\_\_NOTOC\_\_*
* `\_\_TOC\_\_` places a TOC at the current position. Overrides `\_\_NOTOC\_\_`
* `\_\_NOEDITSECTION\_\_` hides the section edit links beside headings. (See more.)
* `\_\_NEWSECTIONLINK\_\_` adds a link beside the "Edit" tab for adding a new section on a non-talk page. (Not sure what this means.)
* `\_\_NONEWSECTIONLINK\_\_` removes the link beside the "Edit" tab on pages in talk namespaces.
* `\_\_NOGALLERY\_\_` used on category pages. Replaces thumbnails in the category view with normal links.
* `\_\_HIDDENCAT\_\_` used on a category page. Hides the category from the lists of categories in its members and parent categories. (See user preferences.)
* `\_\_EXPECTUNUSEDCATEGORY\_\_` removes a category page from Special:UnusedCategories
* `\_\_NOCONTENTCONVERT\_\_` or `\_\_NOCC\_\_` on wikis with language variants/dialects won't perform any content language conversion in article display.
* `\_\_NOTITLECONVERT\_\_` or `\_\_NOTC\_\_` on wikis with language variants → won't perform language conversion on the title.
* `\_\_STATICREDIRECT\_\_` won't allow MediaWiki to automatically update the link on redirect pages, when someone moves a page and checks "Update any redirects that point to the original title"
* `\_\_NOGLOBAL\_\_` disables the global user page. If present on the central user page, will prevent it from being displayed on remote wikis, and it also determines whether a link to a user page on remote wiki should be red or blue.
* `\_\_DISAMBIG\_\_` Identifies a disambiguation page.
* `\_\_EXPECTED\_UNCONNECTED\_PAGE\_\_`. Some wiki pages do not merit a Wikidata item, such as discussion archives, template subpages, etc. To prevent a wiki page from being listed in Special:UnconnectedPages, use this magic word anywhere on the page. Pages that don't meet Wikidata's notability criteria should not receive a Wikidata item.

* `{{CURRENTYEAR}}`
* `{{CURRENTMONTH1}}`
* `{{CURRENTMONTHNAME}}`
* `{{CURRENTMONTHABBREV}}`
* `{{CURRENTDAY}}`
* `{{CURRENTDAYNAME}}`
* `{{CURRENTTIME}}`
* `{{CURRENTWEEK}}`
* `{{CURRENTTIMESTAMP}}`

* `{{SITENAME}}`
* `{{DISPLAYTITLE:title}}`
* `{{DEFAULTSORT:sortkey}}`
* `{{DEFAULTCATEGORYSORT:sortkey}}`

* `{{REVISIONID}}`
* `{{REVISIONDAY}}`
* `{{REVISIONMONTH1}}`
* `{{REVISIONYEAR}}`
* `{{REVISIONTIMESTAMP}}`
* `{{REVISIONUSER}}`
* `{{REVISIONSIZE}}`

* `{{NUMBEROFPAGES}}`
* `{{NUMBEROFARTICLES}}`
* `{{NUMBEROFFILES}}`
* `{{NUMBEROFEDITS}}`
* `{{NUMBEROFVIEWS}}`
* `{{NUMBEROFUSERS}}`
* `{{NUMBEROFADMINS}}`
* `{{NUMBEROFACTIVEUSERS}}`
* `{{PAGESINCAT:categoryname|subcats/files/pages/all}}`
* `{{NUMBERINGROUP:groupname}}`

* `{{FULLPAGENAME}}`
* `{{PAGENAME}}`
* `{{BASEPAGENAME}}`
* `{{ROOTPAGENAME}}`
* `{{SUBPAGENAME}}`
* `{{SUBJECTPAGENAME}}` or `{{ARTICLEPAGENAME}}`
* `{{TALKPAGENAME}}`

* `{{NAMESPACE}}`
* `{{PROTECTIONLEVEL:action|page name}}`
* `{{PROTECTIONEXPIRY:action|page name}}`
* `{{!}}`
* `{{REVISIONDAY2:pagename}}`
* `{{REVISIONMONTH1:pagename}}`
* `{{REVISIONYEAR:pagename}}`
* `{{REVISIONTIMESTAMP:pagename}}`
* `{{REVISIONUSER:pagename}}`
* `{{CURRENTYEAR}}`
* `{{CURRENTYEAR}}`

## MediaWiki namespace

This namespace is used to change how the user interface of the mediawiki software is displayed, and are considered message files. A list of all messages can be found here: Special:AllMessages, also called *"System Messages"*.

* Namespace is admin-only, though most is Fandom staff-only

MediaWiki:Wiki-navigation
Define the topmost navigation bar
MediaWiki:Newarticletext
The message that appears when following a link to a page that doesn't exist yet
MediaWiki:Noarticletext
The notice that appears when you have followed a non-existent page
MediaWiki:Licenses
Defines the options users see for file copyright tags when uploading a file
MediaWiki:Deletereason-dropdown
Defines the default reasons when deleting a page
Customize the dropdown options of common reasons for deleting a page
MediaWiki:Filedelete-reason-dropdown
defines the default reasons when deleting a file
MediaWiki:Ipbreason-dropdown
defines the default reasons when blocking a user
MediaWiki:Protect-dropdown
defines the default reasons when protecting a page
Blog-empty-user-blog
Communitypage-policy-module-link-page-name
Communitypage-subheader-welcome
Communitypage-tasks-header-welcome
Community-to-do-list
MediaWiki:Edittools
Little box beneath edit window or upload form, where you can preload in common wikitext tags such as `~~~~` or `#REDIRECT: [[]]`
https://finalfantasy.fandom.com/wiki/Forum:Edittools
MediaWiki:Editor-template-list
Dropdown of templates that can be preloaded
Classic editor UI (Source code)
Syntax: `\*Template:Character`
`[{{fullurl:{{FULLPAGENAMEE}}|action=edit&preload=Template:Newpage\_actor}} Actor]`
MediaWiki:Uploadtext
The text at the top of the uploadforms
MediaWiki:Description
Content displayed as the search engine description
Explain what the site is about
For the main page for some wikis
MediaWiki:TitleBlacklist
Blocks the creation, movement and upload of certain pages whose title matches one or more regular expressions
Titles and users that match a regular expression here cannot be created.
Use `#` for comments
`<autoconfirmed|noedit>` for anti-spambot.
Case-sensitive by default
https://www.mediawiki.org/wiki/Extension:TitleBlacklist
* https://www.mediawiki.org/wiki/Help:System\_message#Overriding\_messages\_on-wiki
* https://community.fandom.com/wiki/Help:System\_messages

If you do not immediately see the change, you may need to bypass your cache by *purging* your page

### CSS

You can customize the graphic design of your wiki using CSS. I recommend separating your CSS code to different pages such as MediaWiki:Mbox.css, to make the code cleaner to read.

NB! Separate CSS pages must be imported to work
When you separate your CSS on different pages, it won't be implemented unless you import that CSS page into the MediaWiki:Common.css: `@import url("/MediaWiki:Mbox.css?ctype=text/css&action=raw");`
MediaWiki:Common.css
CSS that will be applied to all skins, i.e. the entire wiki
Customize the wiki's CSS and visual design
MediaWiki:Common.js
Customize the wiki's JavaScript (behaviors)
MediaWiki:Fandomdesktop.css
## Read more

* https://en.wikipedia.org/wiki/Help:Reftags
* https://community.fandom.com/wiki/Help:Infoboxes/Tags
* https://death-mage.fandom.com/wiki/User\_blog:SandyTree/Template\_creation#Code
* https://community.fandom.com/f/p/4400000000003313047/r/4400000000011377419
* https://en.wikipedia.org/wiki/Help:Transclusion#Subpages