User:BobBot

From Kerbal Space Program Wiki
Revision as of 17:02, 10 February 2014 by XZise (talk | contribs) (Possible others)
Jump to: navigation, search

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.
  • Also adding {{Data template used}} to all infobox pages (pages ending with /Box) should be possible.

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.