Difference between revisions of "User:BobBot"
(→Possible others) |
(→Jobs) |
||
Line 7: | Line 7: | ||
=== The Configuration Job === | === The Configuration Job === | ||
− | {| class="wikitable" | + | {| class="wikitable float-right" |
! Code: | ! Code: | ||
| [https://gist.github.com/xZise/8602652 gist] | | [https://gist.github.com/xZise/8602652 gist] | ||
Line 14: | Line 14: | ||
=== The Update Job === | === The Update Job === | ||
+ | {| class="wikitable float-right" | ||
+ | ! Code: | ||
+ | | [https://gist.github.com/xZise/8960127 gist] | ||
+ | |} | ||
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 23: | Line 27: | ||
=== The Language Job === | === The Language Job === | ||
− | {| class="wikitable" | + | {| class="wikitable float-right" |
! Code: | ! Code: | ||
| [https://gist.github.com/xZise/8898990 gist] | | [https://gist.github.com/xZise/8898990 gist] | ||
Line 32: | Line 36: | ||
* ''lang'' type: Each language is listed like <tt>| <language code> = {{{<language code>|}}}</tt> in a large parameter list or switch case where each language returns it's own result. | * ''lang'' type: Each language is listed like <tt>| <language code> = {{{<language code>|}}}</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> | <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> | ||
+ | |||
+ | === The Data Template Job === | ||
+ | {| class="wikitable float-right" | ||
+ | ! Code: | ||
+ | | [https://gist.github.com/xZise/8960037 gist] | ||
+ | |} | ||
+ | With this script I automatically add {{Tl|Data template used}} to all data templates. I consider all pages data templates if their page name ends with <tt>[[Template:Infobox|/Box]]</tt>, <tt>[[Template:Infobox/Body|/Data]]</tt>, <tt>[[Template:ReferenceFrames|/RefFrame]]</tt> or <tt>[[Template:BodyData|/Params]]</tt>. This could actually be a periodical job. | ||
=== Possible others === | === Possible others === | ||
* 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 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. | ||
* 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. | ||
− | |||
== Problems? == | == Problems? == | ||
If you think I messed up please contact me on my [[User talk:BobBot|talk page]] or my handler's [[User talk:XZise|one]]. You can see my [[Special:Contributions/BobBot|contributions here]]. | If you think I messed up please contact me on my [[User talk:BobBot|talk page]] or my handler's [[User talk:XZise|one]]. You can see my [[Special:Contributions/BobBot|contributions here]]. |
Revision as of 17:19, 12 February 2014
This is a bot owned by User:XZise.
Administrators: In the event I mess up, click the emergency stop button. |
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.
Contents
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
Code: | gist |
---|
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)
The Data Template Job
Code: | gist |
---|
With this script I automatically add {{Data template used}} to all data templates. I consider all pages data templates if their page name ends with /Box, /Data, /RefFrame or /Params. This could actually be a periodical job.
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.