Difference between revisions of "User:Deadfire"

m (picture and instructions on modifying you custom.css and custom.js for dark mode)
(take this!)
 
(45 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
[[File:SubAdd 1bol.jpg|Substantial Addition Award, 2nd ribbon]]
 
[[File:SubAdd 1bol.jpg|Substantial Addition Award, 2nd ribbon]]
 
[[File:AP.jpg|All Purpose Award, 1st ribbon]]
 
[[File:AP.jpg|All Purpose Award, 1st ribbon]]
[[File:EC1 2s.jpg|Edit Count (1,000)]]
+
[[File:DA.jpg|Direction Appreciated Award, 1st ribbon]]
[[File:TIS4 2d.jpg|Time in Service (7 years)]]
+
[[File:EC3.jpg|Edit Count (10,000)]]
 +
[[File:TIS4 4d.jpg|Time in Service (9 years)]]
 
</div>
 
</div>
<div style="width:45%; margin:auto; overflow:hidden; display:inline-block; text-align:center;" id="awardsboard"><div id="awardsboardheader">Userbars</div>
+
<div style="width:45%; margin:auto; overflow:hidden; display:inline-block; text-align:center;" id="awardsboard"><div id="awardsboardheader">Userboxes</div>
[[Image:BTW EditorBar5.jpg]]
+
{{Userbox |border-c=#000 |border-s=1 |id-c=#FFC103 |id-f=24px |id-fc=#000 |info-c=#FFFFE0 |info-s=18 |info-fc=#000 |id-a=center |info-a=center |id=[[Image:Shield-star-outline.svg|45px]] |info='''Senior Editor'''}}
 
</div>
 
</div>
  
 
=About Me=
 
=About Me=
I am Deadfire, also known as DeadfirePrime. [https://www.twitch.tv/deadfireprime You can sometimes find me streaming on Twitch answering lore questions when I am playing games], [https://twitter.com/DeadfirePrime tweeting funny BT related things on Twitter] or hanging about in Discord by using the user ''Deadfire#9356''. I founded the competitive Mechwarrior Online unit the ''228th IBR'', however I'm been a fan of Battletech since 1992, however it wasn't till I got my first sourcebook when I was turned into a lore fanatic and I read it so many times I could recite entire passages from it. (Funny enough it was [[Field Manual: ComStar]])
+
I am Deadfire, also known as DeadfirePrime. [https://www.twitch.tv/deadfireprime You can sometimes find me streaming on Twitch answering lore questions when I am playing games], [https://twitter.com/DeadfirePrime tweeting funny BT related things on Twitter] or hanging about in Discord by using the user ''Deadfire''. I've been a fan of Battletech since 1992, and I was turned into a lore fanatic via my first sourcebook (Funny enough it was [[Field Manual: ComStar]]).
  
 
=My Role on Sarna=
 
=My Role on Sarna=
Line 19: Line 20:
 
* Work with Sarna Admins and other Senior editors to understand template needs and the data that is needed to be shown/recorded.
 
* Work with Sarna Admins and other Senior editors to understand template needs and the data that is needed to be shown/recorded.
 
* Adding infobox template field information to our Semantic/Automation suite (as needed).
 
* Adding infobox template field information to our Semantic/Automation suite (as needed).
* Create, manage, and work with Concepts (A concept is a page in the Concept: namespace that is always described by a semantic query. These pages can be viewed as "dynamic categories", (or as collections of pages) that are not created manually, but that are computed by our Semantic/Automation suite from the description given by a query.)
 
 
* Importing existing templates and modules from other MediaWiki sites and adapt them for Sarna's use.
 
* Importing existing templates and modules from other MediaWiki sites and adapt them for Sarna's use.
 
* Create, Manage, and work with Portals (Portals serve as enhanced "main pages" for specific broad subjects).
 
* Create, Manage, and work with Portals (Portals serve as enhanced "main pages" for specific broad subjects).
 
* Assist the Sarna Admins with category functions of Sarna (related to [https://docs.google.com/spreadsheets/d/1xzSYha-llYHSY2rUkTfm9reefuH4aTX9zXBNYUy1tkg/edit?usp=sharing Sarna's "Soft-divide"].)
 
* Assist the Sarna Admins with category functions of Sarna (related to [https://docs.google.com/spreadsheets/d/1xzSYha-llYHSY2rUkTfm9reefuH4aTX9zXBNYUy1tkg/edit?usp=sharing Sarna's "Soft-divide"].)
* Work with the following Mediawiki extensions:
+
 
 +
Additionally I work with the wiki's various Mediawiki extensions such as:
 
** [https://www.mediawiki.org/wiki/Extension:TemplateStyles Extension:TemplateStyles] (an extension that allows to specify that a stylesheet should be loaded from a wiki page, allowing the template to have custom styles without having to modify the site's main CSS file).
 
** [https://www.mediawiki.org/wiki/Extension:TemplateStyles Extension:TemplateStyles] (an extension that allows to specify that a stylesheet should be loaded from a wiki page, allowing the template to have custom styles without having to modify the site's main CSS file).
 
** [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TemplateData Extension:TemplateData] (an extension that provides the information about templates).
 
** [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TemplateData Extension:TemplateData] (an extension that provides the information about templates).
Line 33: Line 34:
 
** [https://www.mediawiki.org/wiki/Extension:AbuseFilter Extension:AbuseFilter] (an extension that allows privileged users to set specific actions to be taken when actions by users, such as edits, match certain criteria).
 
** [https://www.mediawiki.org/wiki/Extension:AbuseFilter Extension:AbuseFilter] (an extension that allows privileged users to set specific actions to be taken when actions by users, such as edits, match certain criteria).
  
'''To sum''', my responsibilities are ''Identifying the needs of templates, creating templates, automate templates and other site functions for Sarna Users (as much as possible), and attempt to thoroughly document their use.''
+
'''To sum''', my responsibilities are to identify the needs of the BattleTechWiki (and it's users) in regards to:  
 
+
* Creation, modification, automation, and documentation of it's MediaWiki templates.  
=Interesting helpful things=
+
* MediaWiki extensions and other MediaWiki functionality.
 
+
* MediaWiki presentation and stylization of its contents.
* [https://en.wikipedia.org/wiki/Special:Export Wikipedia export tool] (aka how to get the templates they use on their Wikimedia)  
 
 
 
* [[Special:Import]] - Admin Only page on this wiki where you can import those pages (and templates) you exported from other mediawiki sites using their export page (like the one I linked above)
 
 
 
* For advanced Templates [https://www.ryadel.com/en/how-to-add-wikipedia-mbox-templates-to-your-own-mediawiki/ you need to do this] which again needs admin.
 
 
 
* [https://www.tablesgenerator.com/mediawiki_tables For making Mediawiki Tables you can use this site to assist you in doing so]
 
 
 
* [https://www.mediawiki.org/wiki/Help:Magic_words Magic words are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names.]
 
 
 
* [https://www.mediawiki.org/wiki/Help:Formatting You can format your text by using wiki markup.]
 
 
 
=Dark Mode=
 
[[File:Sarna Dark Mode.png|frameless|left]]
 
If you wish for a dark theme for Sarna that works with any of the themes and doesn't change anything (Other than have a toggle between the two modes) You can copy my custom [[User:Deadfire/common.css|common.css]] and [[User:Deadfire/common.js|common.js]]. If you are confused on how to do so you will need to be logged in and go to [[Special:Preferences#mw-prefsection-rendering|Appearance Tab in you Preferences]] and look where it says "Shared CSS/JSON/JavaScript for all skins:" and use the links under that (Custom CSS | Custom JavaScript)
 
  
=Projects I work on=
+
=My User subpages=
* [[BattleTechWiki:Project_Clans]]
+
{{list subpages|Deadfire|User}}
  
 
=Things I work on=
 
=Things I work on=
 
+
{{To do}}
 +
==Projects I work on==
 +
* [[BattleTechWiki:Project Cleanup]]
 +
* [[BattleTechWiki:Project Maintenance]]
 +
* [[BattleTechWiki:Project Templates]]
 +
* [[BattleTechWiki:Project Userboxes]]
 +
* [[BattleTechWiki:Project Infoboxes]]
 +
* [[BattleTechWiki:Project Semantic]]
 +
* [[BattleTechWiki:Project Portals]]
 +
==Interface Settings and Stylesheets==
 +
* [[MediaWiki:Common.js/edit.js]] (Which is comparable to [[w:MediaWiki:Gadget-extra-toolbar-buttons-core.js]])
 
==Templates==
 
==Templates==
 
* [[Special:Templates]]
 
* [[Special:Templates]]
Line 63: Line 59:
 
* [[Special:UnusedTemplates]]
 
* [[Special:UnusedTemplates]]
 
* [[Special:WantedTemplates]]
 
* [[Special:WantedTemplates]]
 
== Sarna's Portal and soft-divide ==
 
* [[/portal concept]]
 
* [[Portal:Locations]]
 
 
 
==Special Pages to Check and Fix==
 
==Special Pages to Check and Fix==
 
* [[Special:BrokenRedirects]]
 
* [[Special:BrokenRedirects]]
Line 74: Line 65:
 
* [[Special:WantedFiles]]
 
* [[Special:WantedFiles]]
  
==Automation==
+
=How to change Sarna's Appearance (or skin) and using Dark Mode=
[[/Text replacement suggestions|Text replacement suggestions]]
+
[[File:Sarna Dark Mode.png|frameless|left]]
 +
To change skins you need to be logged in and go to the [[Special:Preferences#mw-prefsection-rendering|Appearance Tab in your Preferences]]. From there you can select one of the installed skins (the default is "SarnaAdSense" changing from that will remove the google ads).
  
==Tracking Categories to Check and Fix==
+
If you wish for a dark theme for Sarna that works with any of the skins and doesn't change anything (Other than have a toggle between the two modes) You can copy my custom [[User:Deadfire/common.css|common.css]] and [[User:Deadfire/common.js|common.js]] and where it says "Shared CSS/JSON/JavaScript for all skins:" and use the links under that (Custom CSS | Custom JavaScript) to paste my custom code in. For best results change your skin first to one that is not the default (As much as the changes do work with the "SarnaAdSense" skin, the ads may make things not render correctly)
[https://www.sarna.net/wiki/Category:Pages_with_script_errors Category:Pages with script errors]
 
  
=Sandboxes=
+
=Interesting helpful things=
* [[User:Deadfire/Sandbox|Primary Sandbox]]
+
* [https://en.wikipedia.org/wiki/Special:Export Wikipedia export tool] (aka how to get the templates they use on their Wikimedia)
* [[User:Deadfire/copyright_templates|Copyright Tags]]
+
* [[Special:Import]] - Admin Only page on this wiki where you can import those pages (and templates) you exported from other mediawiki sites using their export page (like the one I linked above)
* [[User:Deadfire/userbox_templates|Userbox Tags]]
+
* For advanced Templates [https://www.ryadel.com/en/how-to-add-wikipedia-mbox-templates-to-your-own-mediawiki/ you need to do this] which again needs admin.
 +
* For making Mediawiki Tables you can use these to assist you in doing so [https://www.tablesgenerator.com/mediawiki_tables tablesgenerator.com] or [https://tableconvert.com/mediawiki-generator tableconvert.com/]
 +
* [https://www.mediawiki.org/wiki/Help:Magic_words Magic words are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names.]
 +
* [https://www.mediawiki.org/wiki/Help:Formatting You can format your text by using wiki markup.]
 +
* [https://regex-generator.olafneumann.org/ Regex Generator]
 +
* [https://www.yerich.net/userbox/ Super-simple Userbox maker]
 +
* [https://icon-sets.iconify.design/mdi/ I use this to find and create the icons we are using for our templates]
 +
* [[Special:ApiSandbox#action=purge&format=json&forcelinkupdate=1&forcerecursivelinkupdate=1&continue=&generator=querypage&gqppage=Uncategorizedtemplates&gqplimit=50|API request to force link updates]]

Latest revision as of 08:46, 23 April 2024

Awards Board

Founder's Honorable Mention Award (2015) Founder's Honorable Mention Award (2016) Substantial Addition Award, 2nd ribbon All Purpose Award, 1st ribbon Direction Appreciated Award, 1st ribbon Edit Count (10,000) Time in Service (9 years)

Userboxes
Shield-star-outline.svgSenior Editor

About Me[edit]

I am Deadfire, also known as DeadfirePrime. You can sometimes find me streaming on Twitch answering lore questions when I am playing games, tweeting funny BT related things on Twitter or hanging about in Discord by using the user Deadfire. I've been a fan of Battletech since 1992, and I was turned into a lore fanatic via my first sourcebook (Funny enough it was Field Manual: ComStar).

My Role on Sarna[edit]

As the Senior Editor for Templates and Automation I have the following responsibilities:

  • Design, develop, create and modify Sarna's mediawiki templates (and modules) using wiki markup, HTML5, CSS3 and LUA.
  • Work with Sarna Admins and other Senior editors to understand template needs and the data that is needed to be shown/recorded.
  • Adding infobox template field information to our Semantic/Automation suite (as needed).
  • Importing existing templates and modules from other MediaWiki sites and adapt them for Sarna's use.
  • Create, Manage, and work with Portals (Portals serve as enhanced "main pages" for specific broad subjects).
  • Assist the Sarna Admins with category functions of Sarna (related to Sarna's "Soft-divide".)

Additionally I work with the wiki's various Mediawiki extensions such as:

    • Extension:TemplateStyles (an extension that allows to specify that a stylesheet should be loaded from a wiki page, allowing the template to have custom styles without having to modify the site's main CSS file).
    • Extension:TemplateData (an extension that provides the information about templates).
    • Extension:TemplateWizard (an extension that adds a popup dialog box for adding template code to wikitext).
    • Extension:WikiEditor (an extension that provides the editing toolbar).
    • Extension:Semantic MediaWiki & it's sub-extensions (an extension that lets you store and query data with­in the wiki's pages).
    • Extension: Page Forms (an extension allows you to have forms for creating and editing pages on your wiki, as well as for querying data, all without any programming).
    • Extension:Lingo (a glossary extension. It lets you define a list of abbreviations and their definitions on a page and then displays these definitions whenever an abbreviation is hovered over in an article).
    • Extension:AbuseFilter (an extension that allows privileged users to set specific actions to be taken when actions by users, such as edits, match certain criteria).

To sum, my responsibilities are to identify the needs of the BattleTechWiki (and it's users) in regards to:

  • Creation, modification, automation, and documentation of it's MediaWiki templates.
  • MediaWiki extensions and other MediaWiki functionality.
  • MediaWiki presentation and stylization of its contents.

My User subpages[edit]

Things I work on[edit]

Projects I work on[edit]

Interface Settings and Stylesheets[edit]

Templates[edit]

Special Pages to Check and Fix[edit]

How to change Sarna's Appearance (or skin) and using Dark Mode[edit]

Sarna Dark Mode.png

To change skins you need to be logged in and go to the Appearance Tab in your Preferences. From there you can select one of the installed skins (the default is "SarnaAdSense" changing from that will remove the google ads).

If you wish for a dark theme for Sarna that works with any of the skins and doesn't change anything (Other than have a toggle between the two modes) You can copy my custom common.css and common.js and where it says "Shared CSS/JSON/JavaScript for all skins:" and use the links under that (Custom CSS | Custom JavaScript) to paste my custom code in. For best results change your skin first to one that is not the default (As much as the changes do work with the "SarnaAdSense" skin, the ads may make things not render correctly)

Interesting helpful things[edit]