User:MMABot
This user account is a bot that uses Java, operated by TreyGeek (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy. The bot is currently inactive but retains the approval of the community. Administrators: if this bot is malfunctioning or causing harm, please block it. |
About this bot
[edit]This bot has been created to help the members of the MMA WikiProject with standardization of the record table, record box and Infobox across all MMA fighter pages. The bot is written in Java and uses a 'home grown' Java API for WikiMedia.
Justification
[edit]As of December 14, 2012, there are 1,925 articles on MMA fighters (based on the numbers from "Category:Mixed martial artists by nationality"[1] counted by MMABot). The MMA WikiProject has an agreed upon format for a fighter's "mixed martial arts record" table. However, over the years there have been a number of different variations of this table, its headers, the columns, and information contained in the tables resulting in inconsistencies across the 1900+ MMA fighter articles. Additionally, when the WikiProject agrees upon changes to the record history it has been an impossible task to make changes to all articles.
Operation
[edit]This bot makes edits automatically but is supervised. Meaning it will pull down an article's contents, make the appropriate changes, and update the version on Wikipedia without human intervention. It's operation is started and stopped manually by User:TreyGeek and its progress will be monitored by him as well.
Tasks
[edit]The tasks this bot will perform is listed below. More details, such as implementation information, can be found on the talk page.
MMABot v1.0 tasks
[edit]Task Number | Task | Status | Brief Description |
---|---|---|---|
1 | Standardize record section headers | Approved | Convert "MMA record" section header to "Mixed martial arts record" as well as correct any incorrect capitalization as per MOS:CAPS. |
2 | Standardize & cleanup MMA record tables | Approved | A MMA record table lacking the {{MMA record start}} and {{end}} templates will have them added and the non-templated headers removed. For all tables with the MMA table template the following tasks are performed: Remove any row-wide center alignment tags. If needed, add center alignment tags to the record, round, and time columns only. Remove any left alignment tags. Correct any misaligned 'record' and 'result' columns. Remove any {{yes}} or {{no}} tags in the record column. "Raw" dates in the table are converted to using the {{dts}} template. In the method column, any text between parenthesis will be put in lowercase letters only (with exception to methods that are proper nouns such as "Mr. Wonderful", "D'arce", etc.). The location column will have "United States" or "Canada" added if it is missing and the location is a state or province. If the notes column is missing from the table, it is added. |
3 | Remove flags from location column of record table | Approved | If the location column of the record table contains a flagicon it will be removed. |
4 | Cleanup martial arts Infobox | Approved | All flag icons in the Infobox will be removed. Any color icons in the rank field of the Infoxbox will be removed. |
5 | Verfication of record (win/loss) between recordbox and infobox | Approved | A check of the win/loss numbers between the recordbox and infobox is performed. If the numbers do not match, a message is given to the operator for a manual examination. |
MMABot v2.0 tasks
[edit]Task Number | Task | Status | Brief Description |
---|---|---|---|
6 | Remove future fights from fight record | Withdrawn | As per the following discussions: 1, 2, and 3; MMABot will remove future fights from a fighter's record table. |
7 | More cleanup of MMA record table | Approved | The deprecated "link=off" parameter for the {{dts}} template will be removed. Any fighter name or event that is "red linked" will be de-linked. Variation of "US" in the location column will be changed to "United States". As per WP:OVERLINK the names of countries (ie "United States", "England", "Brazil", etc) will be delinked. As per MMA WikiProject promotions and organizations which are linked in the event column will be delinked. Any names in the opponent field which are incorrectly linked will be corrected. |
8 | More cleanup of Infobox & Recordbox | Approved | The deprecated total win/loss parameters are removed from both the infobox and {{MMArecordbox}}. As per this discussion MMABot will remove any information used in the fighting style parameter of the Infobox. Links to a fighter's Sherdog profile will be matched between the "External links" section and the infobox parameter. |
9 | Add MMA WikiProject Banner to talk pages | Approved | If an article's talk page does not include the {{WikiProject Mixed martial arts}} banner, it will be added. |
10 | Flagging unsourced articles | Removed | If an article lacks any <ref> tags the {{BLP unsourced}} template will be added to the top of the article. |
MMABot v3.0 tasks
[edit]NOTE: MMABot v3.0 will run separately from MMABot v1.0 and v2.0 since it edits a different set of articles.
Task Number | Task | Status | Brief Description |
---|---|---|---|
11 | Convert MMA event results to new templated table format | Approved | The MMA WikiProject has agreed to a new format for displaying MMA event results across all MMA event articles (discussions here and here). MMABot will iterate through each MMA event article who have a subcategory of Category:Years in mixed martial arts and reformat the results into the agreed upon format. There are currently four different formattings of event results that I am aware of and have programmed MMABot to convert. If MMABot finds a format it doesn't not recognize it will leave me a console message about it and will skip the article. |
12 | Remove Flagicons from results | Approved | As per MOS:FLAG and an RFC at the MMA WikiProject, MMABot has a separate function that will remove flag icons from next to fighter's names in MMA event results tables. |
13 | List main event first | Approved | Event results vary in chronological order with the main event listed either first or last. MMABot, if it is able to, will standardize the order the bouts so the main event is first and the "curtain jerker" bout last. If it can't tell the proper order, it will leave them in the original order and display a console message to me for a manual examination. |
14 | Strip coloring templates from tables | Approved | In a few cases, MMA event results currently include colorizing templates such as {{yes2}}, {{no2}} and others. MMABot will remove these templates from the results as per the new format. |
15 | Delink red-linked fighters | Approved | For each MMA fighter that is wiki-linked in the event results, MMABot will verify if the fighter has an article. If not, thus is a red-linked fighter, MMABot will remove the wiki-link. (NOTE, this task is similar to part of MMABot v2.0, task 7 except this one operates on MMA event articles as opposed to fighter articles.) |
16 | Methods to lower-case | Approved | Method details, text inside parenthesis, as per MOS:CAPS and WP:MMA will be converted to lower-case. (NOTE, this task is similar to part of MMABot v1.0, task 2 except this one operates on MMA event articles as opposed to fighter articles.) |