User:En/WisdomBot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Purpose: todo)
m (whoops)
Tag: Replaced
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Language subpage}}
{{delete}}
<div style="max-width: 950px; margin:auto; padding-block:1em; line-height:1.7em;">__NOTOC__
<div style="font-size:25px;text-align:center">Main task currently paused due to [[User:Wisdurm/Sandbox|translation templates troubles]]</div>
{{metanotice|text='''This bot is due to have all of it's code rewritten from scratch'''<br>
Due to changes in templates around the VDC, as well as just the quality of the previous code this bot is currently being rewritten.
|id=[[File:Under construction.png|30px]]|rgb=255, 165, 0}}
{{note|<big>This bot is not perfect'''</big><br>
While I am doing my best to account for all possible shenanigans a {{#expr: {{CURRENTYEAR}} - 2005 -1}}+ year old wiki worked on by {{NUMBEROFUSERS}} users can throw at the bot, sometimes pages this bot updates might have mistakes. However, small, easily and quickly fixable formatting errors are 100% worth it considering the amount of time saved by automating many of these tasks. There are over 2000 pages for instance which still use {{tl2|lang}}, which would take an eternity to update by hand.}}
== Purpose ==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:icon-gnome-document-properties.png]]</div>
<div>
The current purpose of this bot is to transition pages using {{tl|lang}} to {{tl|multipage}}. Some work has already been done. <span class="mw-customtoggle-paused">[[File:Icon-help.png|15px|link=]]</span><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-paused">{{note|Currently paused due to {{tl2|page}}}}</div>
Other possible tasks which could be done or are being worked on include but are not limited to:
*Auto compressing files <span class="mw-customtoggle-impossible1">[[File:Icon-help.png|15px|link=]]</span><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-impossible1">{{note|Confirmed currently impossible due to the servers blocking image uploads}}</div>
*Automatically generating entity pages from an FGD (documentation such as how to use an entity would and should obviously still be done manually, this would just automate the boring and repetitive tasks such as copying and pasting keyvalues and whatnot)
*Combatting spammers <span class="mw-customtoggle-impossible2">[[File:Icon-help.png|15px|link=]]</span><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-impossible2">{{note|Also confirmed currently impossible due to the servers blocking quite a few functions from the library I use (or maybe the library is just outdated, no way to know for sure though)}}</div>
* Porting all of Half-Wit 2 to the VDC
=== Deprecated templates to update ===
* Replacing instances of {{tl2|Shaderparam}} with {{tl2|this is a}}
* Replacing instances of {{tl2|Game name}} and {{tl2|Game color}} with {{tl2|Software}} counterparts
</div>
</div>
 
== General information ==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:Icon-gnome-chat.png]]</div>
<div>
* '''When was this bot created?''' This bot was created on Jan 1st, 2024.
* '''Why the name WisdomBot?''' Because it's like Wisdurm but not? Idk I had to come up with something...
* '''Why is there an emergency shutoff?''' While I can shut down the bot very easily myself, the shutoff allows other wiki members to stop the bot should they notice it malfunctioning while I am not currently watching it.
{{Note|This bot keeps a log of the pages it's edited. It however doesn't save a log when it crashes, which happens quite often due to the clustered nature of this wiki. Many of the earlier edits also weren't logged since even the code for saving logs used to suck.}}
</div>
</div>
 
== Past edits ==
<div style="display:flex; gap:1em; align-items:center;">
[[File:icon-gnome-document-open.png]]
<div>As of writing (since there is no way to update this in real time) this bot has made over [[Special:Contributions/WisdomBot|2000 edits]], which include actions such as:
*Updating almost all pages using {{tl2|entity}}, {{tl2|format}}, {{tl2|Base brush multi}}, {{tl2|Base point multi}}, {{tl2|Brush ent}} and {{tl2|Point ent}}, as well as most of their derivatives like {{tl2|hl2 point}}, to use {{tl2|this is a}}.
*Replacing all instances of {{tl2|Game name}} with {{tl2|software}} counterparts
*With the help of {{u|Thunder4ik}}, moving all pages from [[:Category:Level Design Tutorials]] to [[:Category:Level_Design]]
*Moving around 250ish pages using {{tlc|lang}} to {{tlc|multipage}} compliant page names, while also updating the templates.
*Changing the name parameter of the [[:Category:Shader parameters|Shader parameters]] and [[:Category:QC Commands|QC Commands]] category [https://developer.valvesoftware.com/w/index.php?title=$scale&curid=62377&diff=397653&oldid=375378 for] [https://developer.valvesoftware.com/w/index.php?title=$ssbump&curid=62379&diff=397849&oldid=375388 40ish] [https://developer.valvesoftware.com/w/index.php?title=$body&curid=62301&diff=397641&oldid=374546 pages] so that they are sorted correctly in the category.
</div></div><!-- Not sure why there needs to be two closing divs but the page freaks out otherwise. Pretty sure most divs on this page are useless anyways but I they were on PipeBot's page and MailmanMicky was really good at formatting -->
 
== What user groups is this bot in? ==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:Icon-gnome-systemusers.png]]</div>
<div>This bot is a part of the {{code|emailconfirmed}} and {{code|Autoconfirmed users}} <p style="display:inline;font-size:4px">volvo tak</p> user groups. It is not a part of the {{code|bots}}, {{code|administrators}}, {{code|bureaucrats}} or {{code|suppressors}} user groups.</div>
</div>
 
== How is this bot operated? ==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:Icon-gnome-preferences-systemnetwork.png]]</div>
<div>This bot is run as a simple exe file on [[User:Wisdurm|my]] computer. It utilizes the {{DotNetWikiBot|4}} Framework.</div>
</div>
 
== Why is this bot offline? (this does not update live) ==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:Icon-gnome-terminal.png|48px]]</div>
<div>See the notice at the top of the page.</div>
</div>
 
== Subpages==
<div style="display:flex; gap:1em; align-items:center;">
<div>[[File:Gnome-preferences-system-windows.png]]</div>
* [[User:WisdomBot/Sandbox|Sandbox for edits (eg. testing the bot)]]
<div style="padding-bottom: 80px;opacity:0"></div></div>
<hr>
<br>
<div style="max-width: 500px; margin:auto;"><div style="max-width: 100px; margin:auto;"><span class="mw-customtoggle-copy">[[File:Edit-copy.png|50px|link=]]</span></div><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-copy">{{note|This page had some formatting copied from [[User:PIPEbot]]'s old page, it looked good and I figured it doesn't really matter.}}</div></div>

Latest revision as of 07:50, 21 July 2024

Warning icon.png
This article has been marked as a candidate for speedy deletion.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.