Difference between revisions of "User:BobBot"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Jobs: !It's aliveeeeee;)
(Jobs)
Line 6: Line 6:
 
If you have other tasks which I might can do, contact me on my [[User talk:BobBot|talk page]]. I'm not planning to run a task regularly like [[User:RoboJeb|Robo Jeb]] usually does.
 
If you have other tasks which I might can do, contact me on my [[User talk:BobBot|talk page]]. I'm not planning to run a task regularly like [[User:RoboJeb|Robo Jeb]] usually does.
  
=== In development ===
+
=== The Configuration Job ===
Currently two jobs are in development. They are mostly done and quite possibly ready as soon as they are needed.
+
{| class="wikitable"
 +
! Code:
 +
| [https://gist.github.com/xZise/8602652 gist]
 +
|}
 +
The Configuration Job will assists in moving all part configuration files. Basically all files in [[:Category:Part configuration files]] need to be moved if they are not in the new directory system which is <span style="white-space:nowrap;">''Parts/&#123;&#123;&#123;parent&#125;&#125;&#125;/&#123;&#123;&#123;part&#125;&#125;&#125;/part.cfg''</span>.
  
==== The Configuration Job ====
+
=== The Update Job ===
The Configuration Job will assists in moving all part configuration files. Basically all files in [[:Category:Part configuration files]] need to be moved if they are not in the new directory system which is <span style="white-space:nowrap;">''Parts/&#123;&#123;&#123;parent&#125;&#125;&#125;/&#123;&#123;&#123;part&#125;&#125;&#125;/part.cfg''</span>. The code I'm working on to use can be viewed on [https://gist.github.com/xZise/8602652 this gist].
 
 
 
==== The Update Job ====
 
 
The Update Job is not completely finished and tested but will assist when a new version of Kerbal Space Program is released. It will do the following tasks:
 
The Update Job is not completely finished and tested but will assist when a new version of Kerbal Space Program is released. It will do the following tasks:
 
* Update {{Tl|Check version/Cur}}
 
* Update {{Tl|Check version/Cur}}
Line 20: Line 21:
 
* Create a new page with the name of the version which redirects to [[version history]], like [[0.23]] is redirecting.
 
* Create a new page with the name of the version which redirects to [[version history]], like [[0.23]] is redirecting.
 
There is no code uploaded yet.
 
There is no code uploaded yet.
 +
 +
=== The Language Job ===
 +
{| class="wikitable"
 +
! Code:
 +
| [https://gist.github.com/xZise/8898990 gist]
 +
|}
 +
The Language Job adds a language if needed to all required places. On [[Project:Adding a New Language]] is a list of tasks what to do. I also edit templates {{Tl|lang}}, {{Tl|if lang}} and {{Tl|if lang link}} if the language code is yet unknown. Currently there are two different types of how the templates work. To automatically add a template, add it to [[:Category:BobBot if lang type]] or [[:Category:BobBot lang type]]. (Both categories don't exist yet, but I'll create them, when I got the bot flag; They will be hidden)
 +
 +
* ''if lang'' type: Each language is listed like <tt>| <language code></tt> in a switch case where multiple languages share one result.
 +
* ''lang'' type: Each language is listed like <tt>| <language code> = &#123;&#123;&#123;<language code>|&#125;&#125;&#125;</tt> in a large parameter list or switch case where each language returns it's own result.
 +
<small>(''lang'' and ''if lang link'' (might need to be edited to make it compatible) would be ''lang'' type, and ''if lang'' would be ''if lang'' type)</small>
  
 
=== Possible others ===
 
=== Possible others ===
I might later also mark every small image with {{Tl|NoThumbnailsPlease}} to have some base. If new thumbnails get added later they can be marked manually.
+
I might later also mark every small image with {{Tl|NoThumbnailsPlease}} to have some basis to work on. If new thumbnails get added later they can be marked manually.
 
 
I could also assist in adding new languages. On [[Project:Adding a New Language]] is a list of tasks what to do. I might need to edit {{Tl|lang}}, {{Tl|if lang}} and {{Tl|if lang link}} if the language code is yet unknown.
 
  
 
Another possibility would be to go through [[:Category:Move requests]] and check what I can do there.
 
Another possibility would be to go through [[:Category:Move requests]] and check what I can do there.

Revision as of 13:30, 9 February 2014

Hi, I'm Bob Kerman and actually a bot. Currently I don't have yet a bot flag, but my boss Jebediah Kerman ehrm xZise is handling this.

Jobs

If you have other tasks which I might can do, contact me on my talk page. I'm not planning to run a task regularly like Robo Jeb usually does.

The Configuration Job

Code: gist

The Configuration Job will assists in moving all part configuration files. Basically all files in Category:Part configuration files need to be moved if they are not in the new directory system which is Parts/{{{parent}}}/{{{part}}}/part.cfg.

The Update Job

The Update Job is not completely finished and tested but will assist when a new version of Kerbal Space Program is released. It will do the following tasks:

  • Update {{Check version/Cur}}
  • Add the (possibly) next version to {{Check version/Rev}}
  • Create a category for the (possibly) next version. Category:Check version/X, where X is the version number.
  • Go through all part files in GameData/Squad/Parts and check them with the version on the wiki
  • Create a new page with the name of the version which redirects to version history, like 0.23 is redirecting.

There is no code uploaded yet.

The Language Job

Code: gist

The Language Job adds a language if needed to all required places. On Project:Adding a New Language is a list of tasks what to do. I also edit templates {{lang}}, {{if lang}} and {{if lang link}} if the language code is yet unknown. Currently there are two different types of how the templates work. To automatically add a template, add it to Category:BobBot if lang type or Category:BobBot lang type. (Both categories don't exist yet, but I'll create them, when I got the bot flag; They will be hidden)

  • if lang type: Each language is listed like | <language code> in a switch case where multiple languages share one result.
  • lang type: Each language is listed like | <language code> = {{{<language code>|}}} in a large parameter list or switch case where each language returns it's own result.

(lang and if lang link (might need to be edited to make it compatible) would be lang type, and if lang would be if lang type)

Possible others

I might later also mark every small image with {{NoThumbnailsPlease}} to have some basis to work on. If new thumbnails get added later they can be marked manually.

Another possibility would be to go through Category:Move requests and check what I can do there.

Problems?

If you think I messed up please contact me on my talk page or my handler's one. You can see my contributions here.