ICANNWiki:Documentation: Difference between revisions

// via Wikitext Extension for VSCode
+Documentation/CLS // via Wikitext Extension for VSCode
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Note|For content-related matters, please refer to [[ICANNWiki:Content Guide]].}}
This meta space is dedicated to ICANNWiki documentation, listing features, resources and concepts that are implemented into the project. Useful for maintainers and sysops, primarily.
This meta space is dedicated to ICANNWiki documentation, listing features, resources and concepts that are implemented into the project. Useful for maintainers and sysops, primarily.


For content-related matters, please refer to [[ICANNWiki:Content Guide]].
For our guide for wiki developers on how to avoid Cumulative Layout Shifts (CLS), see: [[ICANNWiki:Documentation/CLS]]


==All users==
==All users==
Line 48: Line 50:
** Shortcuts to relevant projects: doi, rfc, wikibooks, wikicities, wikinfo, wikipedia, wikiquote, wikisource, wiktionary.
** Shortcuts to relevant projects: doi, rfc, wikibooks, wikicities, wikinfo, wikipedia, wikiquote, wikisource, wiktionary.
** Usage: <nowiki>[[rfc:1040]]</nowiki>
** Usage: <nowiki>[[rfc:1040]]</nowiki>
===Content templates===
Manual list:
* '''Template:OtherUses'''
** <nowiki>{{OtherUses|TargetPage}}</nowiki>  results in: ''For another use, see TargetPage.''
** <nowiki>{{OtherUses|Page1|Page2|Page3|Page4|Page5}}</nowiki> results in: ''For other uses, see Page1, Page2, Page3, Page4, Page5.''
* '''Template:Nosource'''
**  <nowiki>{{nosource|reason=|date=}}</nowiki>


===Needed pages trackers===
===Needed pages trackers===
Line 53: Line 64:
* [[Special:WantedPages]]
* [[Special:WantedPages]]


==='''Semi-automated wiki maintenance===
===Semi-automated wiki maintenance===
These self-updating pages point to varied issues in the wiki that need fixing at a given point in time.
These self-updating pages point to varied issues in the wiki that need fixing at a given point in time.
* [[:Category:Pages with broken file links]]
* [[:Category:Pages with broken file links]]
Line 66: Line 77:
* [[Special:WantedTemplates]]
* [[Special:WantedTemplates]]
* [[Special:UnusedCategories]]
* [[Special:UnusedCategories]]
* When our Lua templates fail to recognize a string, they generate an entry in: [[:Category:(Unrecognized)]]
** A more complete list with less relevant indicators can be found at: [[Special:TrackingCategories]]
** A more complete list with less relevant indicators can be found at: [[Special:TrackingCategories]]


===ICANNWiki's presence elsewhere===
===ICANNWiki's presence elsewhere===
* [https://en.wikipedia.org/wiki/ICANNWiki ICANNWiki on Wikipedia]
* [https://en.wikipedia.org/wiki/ICANNWiki ICANNWiki on Wikipedia]
* [https://en.wikipedia.org/wiki/List_of_wikis ICANNWiki on Wikipedia's list of wikis]
* [https://www.instagram.com/icannwiki/ ICANNWiki on Instagram]
* [https://www.instagram.com/icannwiki/ ICANNWiki on Instagram]
* [https://www.linkedin.com/company/icannwiki/ ICANNWiki on LinkedIn]
* [https://www.linkedin.com/company/icannwiki/ ICANNWiki on LinkedIn]
Line 75: Line 88:


==SysOps and devs==
==SysOps and devs==
===Critical resources===
 
===Information===
 
====Critical resources====
* '''Mediawiki installation data''': [[Special:Version]]
* '''Mediawiki installation data''': [[Special:Version]]
* '''Mediawiki metadata (API-JSON)''': [https://icannwiki.org/api.php?action=query&meta=siteinfo&format=json]
* '''Mediawiki metadata (API-JSON)''': [https://icannwiki.org/api.php?action=query&meta=siteinfo&format=json]
* '''Master actions log''': [[Special:Log]]
* '''Master actions log''': [[Special:Log]]
* '''Complete user list''': [[Special:ListUsers]]]] and the subset [[Special:ActiveUsers]]
* '''Complete user list''': [[Special:ListUsers]] and the subset [[Special:ActiveUsers]]
* Indexing of '''[[Special:ListGrants]]''' and the '''[[Special:ListGroupRights]]'''
* Indexing of '''[[Special:ListGrants]]'''
* All '''system messages''' can be modified in [[Special:AllMessages]]
* Indexing of '''[[Special:ListGroupRights]]''' with "Namespace restrictions"
* '''User registration''' is manually reviewed to combat abuse in [[Special:ConfirmAccounts]]
* '''User registration''' is manually reviewed to combat abuse using [[Special:ConfirmAccounts]].
* '''User investigation''', including email accounts, can be carried out with [[Special:UserInformation]] (exercise discernment).


===System inspection===
====System inspection====
* '''Wiki-wide statistics''': [[Special:Statistics]]
* '''Wiki-wide statistics''': [[Special:Statistics]]
* '''List Namespaces''': [[Special:NamespaceInfo]]
* '''List Namespaces''': [[Special:NamespaceInfo]]
* '''List pages by Namespace''': [[Special:PrefixIndex]]
* '''List pages by Namespace''': [[Special:PrefixIndex]]
* '''List pages by properties''': [[Special:PagesWithProp]] (like "hiddencat", not semantics related)
* '''Meta information about pages''': [[Special:PageInfo]]
* '''Meta information about pages''': [[Special:PageInfo]]
* '''Review all page protections''': [[Special:ProtectedPages]]
* '''Review all page protections''': [[Special:ProtectedPages]]
* '''Search files by extension''' [[Special:MIMESearch]] and '''see relevant extension statistics''' [[Special:MediaStatistics]]
* '''Search files by extension''' [[Special:MIMESearch]] and '''see relevant extension statistics''' [[Special:MediaStatistics]]


====Magic words====
===Structure===
* [https://en.wikipedia.org/wiki/Help:Magic_words Help:Magic words]: Magic words list
** <nowiki>{{NAMESPACENUMBER}}</nowiki>
** <nowiki>{{NUMBEROFARTICLES}}</nowiki>
 
===Functionality===
{| class="wikitable"
{| class="wikitable"
|+  
|+  
! Functionality !! Source
| Favicon || [[:File:Favicon.ico]] and [[:File:Favicon.svg]]
|-
|-
| Favicon || [[:File:Favicon.ico]] & [[:File:Favicon.svg]]
| Change page content model || [[Special:ChangeContentModel]] (such as CSS, JSON, Wikitext, etc.)
|-
|-
| Left-hand sidebar || [[MediaWiki:Sidebar]]
| Merge page histories || [[Special:MergeHistory]]
|-
|-
| Right-hand sidebar || CSS exclusion of IDs in [[MediaWiki:Common.css]]
| Debug output to browser console || Append '''<nowiki>?debug=true</nowiki>''' to the end of the URL
|-
|-
| Welcome message || [[MediaWiki:Confirmaccount-welc]] (upon account confirmation)
| Expose element names in pages || append '''<nowiki>?uselang=qqx</nowiki>''' to the end of the URL
|-
|-
| Message to blocked users || [[MediaWiki:Blockedtext]]
| Fetch the raw version of a file from the wiki || append '''<nowiki>?action=raw</nowiki>''' to the end of the URL
|-
|-
| Upload instructions || [[MediaWiki:Uploadtext]]
| Access article by its ID || '''<nowiki>https://icannwiki.org/index.php?curid=NUMBER</nowiki>''' Replace NUMBER with the page's ID
|}
 
===Actions===
{| class="wikitable"
|+
! Extension !! Description !! Comments
|-
|-
| Captchas || [https://www.mediawiki.org/wiki/Extension:ConfirmEdit Extension:ConfirmEdit] Configure difficulty in LocalSettings.php or system messages
| [[Special:CheckUser]] || Displays technical information about a user || [https://www.mediawiki.org/wiki/Extension:CheckUser Extension:CheckUser]
|-
|-
| Article by ID || <nowiki>https://icannwiki.org/index.php?curid=NUMBER</nowiki> Replace NUMBER with the page’s ID
| [[Special:Nuke]] || Mass deletion tool; recent changes only || Irreversible
|-
|-
| Gadgets index || [[Special:Gadgets]] & [[Special:GadgetUsage]] Lists available and used gadgets
| [[Special:ReplaceText]] || Perform regex/text replacements across the entire wiki || Shows preview before acting
|-
|-
| Rename user || [[Special:RenameUser]]
| [[Special:BatchUpload]] || Batch file uploading || [https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload Extension:SimpleBatchUpload]
|-
|-
| Change content model || [[Special:ChangeContentModel]] (such as CSS, JSON, Wikitext, etc.)
| [[Special:AbuseFilter]] || Triggers actions on edits matching defined patterns || [https://www.mediawiki.org/wiki/Extension:AbuseFilter Extension:AbuseFilter] Can auto-warn, block, or tag edits; requires filter definitions
|-
|-
| Merge page histories || [[Special:MergeHistory]]
| Captchas || Reliant on [https://www.mediawiki.org/wiki/Extension:ConfirmEdit Extension:ConfirmEdit] || Customizable
|-
|-
| Debug output || append <nowiki>?debug=true</nowiki> to URL Shows detailed debug info in browser console
| [https://www.mediawiki.org/wiki/Extension:Approved_Revs Extension:Approved Revs] || Can mark a revision as “approved” for default view || Controls what revision the general public sees
|-
|-
| Expose element names || append <nowiki>?uselang=qqx</nowiki> to URL Reveals internal message keys and element IDs
| [https://www.mediawiki.org/wiki/Extension:SpamBlacklist Extension:SpamBlacklist] || Whitelist/blacklist URLs and email addresses || Configured via: [[MediaWiki:Spam-blacklist]], [[MediaWiki:Spam-whitelist]], [[MediaWiki:Email-blacklist]], [[MediaWiki:Email-whitelist]]
|}
|}


* '''Captchas''' are managed and can have their difficulty lowered or increased by: [https://www.mediawiki.org/wiki/Extension:ConfirmEdit]
===System messages===
* '''Access an article by its ID number''': [https://icannwiki.org/index.php?curid= https://icannwiki.org/index.php?curid=NUMBER]
* '''Migrate a page to another content model''': [[Special:ChangeContentModel]]
* To output rich information to the browser's monitor, append '''<nowiki>?debug=true</nowiki>''' to the end of the URL.
* To expose the names of elements and variables within a page, append '''<nowiki>?uselang=qqx</nowiki>''' to the end of the URL.
 
===Extensions===
{| class="wikitable"
{| class="wikitable"
|+  
|+  
! Extension !! Description !! Comments
! Feature !! Source
|-
|-
| [[Special:CheckUser]] || Displays technical information about a user ||
|Change system messages || [[Special:AllMessages]]
|-
|-
| [[Special:Nuke]] || Mass deletion of articles tool (recent changes only) || Irreversible
| Left-hand sidebar || [[MediaWiki:Sidebar]]
|-
|-
| [[Special:ReplaceText]] || Perform regex/text replacements across the entire wiki || Useful for large-scale text fixes; preview before run
| Right-hand sidebar || CSS exclusion of IDs in [[MediaWiki:Common.css]]
|-
|-
| [[Special:BatchUpload]] || Batch file uploading || [https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload Extension:SimpleBatchUpload]
| Welcome message || Upon account confirmation: [[MediaWiki:Confirmaccount-welc]]
|-
|-
| [[Special:AbuseFilter]] || Triggers actions on edits matching defined patterns || [https://www.mediawiki.org/wiki/Extension:AbuseFilter Extension:AbuseFilter] Can auto-warn, block, or tag edits; requires filter definitions
| Message to blocked users || [[MediaWiki:Blockedtext]]
|-
|-
| [https://www.mediawiki.org/wiki/Extension:Approved_Revs Extension:Approved Revs] || Can mark a revision as “approved” for default view || Controls what revision the general public sees
| Upload page instructions || [[MediaWiki:Uploadtext]]
|-
|-
| [https://www.mediawiki.org/wiki/Extension:SpamBlacklist Extension:SpamBlacklist] || Whitelist/blacklist URLs and email addresses || Configured via: [[MediaWiki:Spam-blacklist]], [[MediaWiki:Spam-whitelist]], [[MediaWiki:Email-blacklist]], [[MediaWiki:Email-whitelist]]
|}
|}
====Our customized messages====
Automated list:
<div class="mw-allpages-body">
<DPL>
namespace=MediaWiki
ordermethod=title
order=ascending
redirects=exclude
mode=unordered
nottitlematch=%.js%
nottitlematch=%.css%
nottitlematch=%smw-
</DPL>
</div>


===Acronym tooltips===
===Acronym tooltips===
Line 169: Line 196:
** [[MediaWiki:Bottom-notice-ns-0]]: Main Namespace
** [[MediaWiki:Bottom-notice-ns-0]]: Main Namespace
** [[MediaWiki:Bottom-notice-ns-4]]: ICANNWiki Namespace
** [[MediaWiki:Bottom-notice-ns-4]]: ICANNWiki Namespace
** [[MediaWiki:Top-notice-ns-2]]: User Namespace
** [[MediaWiki:Top-notice-ns-102]]: Property Namespace
** [[MediaWiki:Top-notice-ns-102]]: Property Namespace


Line 174: Line 202:
* [[Special:ProcessingErrorList]]
* [[Special:ProcessingErrorList]]
* [[Special:Categories]]
* [[Special:Categories]]
* [https://www.semantic-mediawiki.org/wiki/Help:Special_properties List of applicable Special properties]
===Gadgets===
Gadgets are powerful self-contained JS actions that are loaded ahead of [[MediaWiki:Common.js]], being loaded almost in tandem with the DOM. They need to be declared individually in [[MediaWiki:Gadgets-definition]], and the most useful arguments to use with them are "default" (which effectively turns them into a ResourceLoader) and "hidden" (cannot be disabled by users).
* '''List''': [[Special:Gadgets]]
* '''Usage''': [[Special:GadgetUsage]]


==List of Lua modules==
==List of Lua modules==
Line 182: Line 216:
Automated list:
Automated list:
{{Special:AllPages/Property:}}
{{Special:AllPages/Property:}}
==External resources==
===Magic words===
* [https://en.wikipedia.org/wiki/Help:Magic_words Help:Magic words]: Magic words list
** <nowiki>{{NAMESPACENUMBER}}</nowiki>
** <nowiki>{{NUMBEROFARTICLES}}</nowiki>
===MediaWiki Customization===
* [https://en.wikipedia.org/wiki/Wikipedia:Customisation#Tidying_up_the_user_interface Tidying up the user interface]
===Fandom===
* [https://dev.fandom.com/wiki/Global_Lua_Modules Global Lua Modules]
* [https://dev.fandom.com/wiki/JavaScript_Cookbook JavaScript Cookbook]
* [https://dev.fandom.com/wiki/List_of_JavaScript_enhancements JavaScript enhancements]


<!-- Categories -->
<!-- Categories -->
[[Category:ICANNWiki]]
[[Category:ICANNWiki]]