Wikipedia talk:AutoWikiBrowser/Kingbotk plugin/Archive 4
This is an archive of past discussions on Wikipedia:AutoWikiBrowser. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
Milhist template updates?
First of all.. thank you for such an excellent and accurate plugin. I just recently discovered it and have been tagging away. The Milhist tag could use some updates to reflect new task forces however. These are the ones that seem to be missing:
Task forces (nations and regions)
- |no-task-force= (for articles that don't fit the current lists ie: Fiji)
- |Baltic=
- |Lebanese=
- |Middle-Eastern=
- |Romanian=
- |South-American=
- |Southeast-Asian=
- |Taiwanese=
Task forces (general topics)
- |Biography=
- |Films=
- |Fortifications=
- |Intel=
- |Land-vehicles=
- |National=
Task forces (periods and conflicts)
- |Muslim=
- |Crusades=
- |ARW= (American Revolutionary War)
Deprecated
- |AncientNE (ancient Near East seems to be no longer used.)
- |auto= (no longer recognized by template) - Auto stub? —Reedy 23:53, 14 February 2009 (UTC)
- Yes; auto stub is no longer used as a result. --Brad (talk) 18:38, 15 February 2009 (UTC)
I have been working milhist biography articles using the wpbio plugin along with it but since milhist has no bio tag is was somewhat bulky to use. Thanks again! --Brad (talk) 06:58, 17 December 2008 (UTC)
- Another noted issue is that task-force=yes is no longer required. An example of what happens now is that an article rated |Maritime=yes is ignored and the plug in adds |Maritime-task-force=yes in addition to |Maritime=yes. --Brad (talk) 13:13, 18 December 2008 (UTC)
rev 3966 - Removes the deprecated stuff. —Reedy 22:34, 15 February 2009 (UTC)
- rev 3968 - Removes the -task-force bit from the added parameters. Also remove deprecated templates now —Reedy 22:47, 15 February 2009 (UTC)
- rev 3969 - That adds the task forces... Just need to add them all on the right click menu... —Reedy 23:17, 15 February 2009 (UTC)
- Thanks! How can I update the plugin that currently runs in AWB? It's not very apparent to me. --Brad (talk) 00:58, 18 February 2009 (UTC)
- tools:~reedy/awbsnapshots/ - Download the one with the highest number there. You'll need to manually update the plugin from the plugins folder —Reedy 22:14, 18 February 2009 (UTC)
- Ok that updated fine. The problem left over now is that the plugin is still trying to insert, for example, |WWI=yes when |WWI-task-force=yes is already on the page. Basically the reverse of what the plugin was doing previously. That combined with the bad tag errors from hidden comments makes the plugin very difficult to deal with. Your effort to correct these problems won't be in vain as I intend to spend a very long time going through the milhist ratings. --Brad (talk) 21:30, 19 February 2009 (UTC)
- tools:~reedy/awbsnapshots/ - Download the one with the highest number there. You'll need to manually update the plugin from the plugins folder —Reedy 22:14, 18 February 2009 (UTC)
- Thanks! How can I update the plugin that currently runs in AWB? It's not very apparent to me. --Brad (talk) 00:58, 18 February 2009 (UTC)
- rev 3969 - That adds the task forces... Just need to add them all on the right click menu... —Reedy 23:17, 15 February 2009 (UTC)
B Class checklist
Milhist now uses a B-Class checklist which I'm sure everyone is familiar with where I don't have to explain it. It would be a plus if the milhist plugin would be able to place |B1=|B2=|B3=|B4=|B5= either with every tag or as a toggle on option. Of course there are already many different versions of the checklist laid down. --Brad (talk) 18:38, 15 February 2009 (UTC)
Blp vs. living=no
In this edit, the plugin was instructed to add living=no to the page but there was a blp tag so it preferred to removed the tag and add living=yes. It would be better if it added the living=no as it was instructed. -- Magioladitis (talk) 09:55, 7 February 2009 (UTC)
Baronets-work-group is now deprecated
I read in WP Biography that Baronets-work-group is now deprecated. Changes must be done in the plugin. -- Magioladitis (talk) 14:04, 10 February 2009 (UTC)
- Should it remove them? or just not allow them to be added? —Reedy 23:49, 14 February 2009 (UTC)
- It has to be removed from the "Workgroups" list and if the plugin to automatically replace it with "peerage-work-group". -- Magioladitis (talk) 23:56, 14 February 2009 (UTC)
Request to revert I apologise, but after a discussion in Wikipedia_talk:WikiProject_Peerage_and_Baronetage#Should_baronets-work-group_and_peerage-work-group_be_merged_or_not.3F, I realised that may the two work groups are merged but the working-groups tags remain unchanged. I am sorry for that. Thanks, Magioladitis (talk) 18:06, 19 February 2009 (UTC)
- Reverted, rev 3985 —Reedy 23:39, 19 February 2009 (UTC)
Automatic replacement of special characters in "listas="
Kingbotk has to be tuned in order to replace special characters (like á, é) with normal characters in "listas=". -- Magioladitis (talk) 23:58, 11 February 2009 (UTC)
- Tools.RemoveDiacritics() —Reedy 23:41, 14 February 2009 (UTC)
- Hmm. It should do... :/ as it routes out to Tools.MakeHumanCatKey in the WPBIO listas... —Reedy 23:47, 14 February 2009 (UTC)
Kingbotk crashes when living parameter is commented out
Kingbotk crashes in when living is commented out (some people do that when WPBiography is inside WPBS ([1]). -- Magioladitis (talk) 16:09, 13 February 2009 (UTC)
Any hidden comment
Using the milhist plug in I've noticed that <!-- Any Hidden Comment --> within a template will at least cause a bad tag error. I've also been having lock up problems but usually bad enough that I have to use the task manager to shut AWB down. This is difficult when the milhist project template supports a B-class checklist which places hidden comments within the template. --Brad (talk) 18:13, 14 February 2009 (UTC)
- The difference is that in the first case, AWB completely crashes and in the second we have an unreasonable bad tag situation. -- Magioladitis (talk) 23:48, 14 February 2009 (UTC)
- The plugin is basically a wrapper around some regular expressions; it's not a parser. If you've ever looked at the MediaWiki code you'd know that a parser is very complex :) I tried to make the regexes quite forgiving but inevitably they're going to reject a few parseable tags as bad. Should they be rejecting thousands of them they'll need a retune. Sam (Reedy) knows where I am if that is the case and any help is needed doing it.
- Any freezing up obviously is unacceptable. If that didn't get fixed yet and if it hasn't been reported as a bug please report it over at the AWB pages.
- I likely won't read any reply here and must apologise for my lack of involvement recently. I got a new programming job and the last thing I want to do at night after a hard day's work is more coding. I'm also very busy with other stuff unfortunately. I may return next year but then again I may not :) --kingboyk (talk) 19:06, 3 October 2009 (UTC)
Kingbotk crashes when "|1=" is missing inside WPBS
Kingbok plugin crashed every time the "|1=" is missing inside WPBS. This is serious because many editors forget to add it in the template and AWB fails to fix it. -- Magioladitis (talk) 18:19, 15 March 2009 (UTC)
- May I ask if this issue is now resolved? — Martin (MSGJ · talk) 14:05, 27 July 2009 (UTC)
Yes, it is. -- Magioladitis (talk) 14:51, 27 July 2009 (UTC)
It is for WPBS but not for WPB. The regex is still different. We are working on rewriting the plugin. -- Magioladitis (talk) 09:55, 15 June 2010 (UTC)
WikiProject Baseball support
I was reading the archives about adding support for other templates, the one I need support for is {{WikiProject Baseball}}. I have tried myself to write a file called Baseball.vb which I think is fine, BUT, I cannot do the other two required files because I simply do not understand them. I am wondering if someone can help me with this? I basically copied the India.vb file and rewrote it for baseball. And should I copy the text to wikipedia or upload the file somewhere for someone to look at? Thanks. —Borgarde 13:12, 16 February 2009 (UTC)
- If you can specify a bit more specifically what you need help with, i can help. And it would need zipping and putting on a webserver, or similar, so i can get access to the files. At least one of the others, you wouldnt need to deal with. Are you using Visual Studio? —Reedy 19:45, 16 February 2009 (UTC)
"Clean up" skipping pages
When I have "Clean up" checked, it skips the article and goes right to the talk page. I have no skip options selected. Anyone able to help? Thanks! shirulashem (talk) 19:37, 22 February 2009 (UTC)
- I suspect I was having the same problem here, but noticed the "Only genfixes" checkbox on the skip tab was selected and disabled for change. It got active again when I selected the "Apply general fixes" checkbox in the options tab, and then I unselected it, and had no problems from then on. Hope this helps. Waldir talk 00:19, 13 March 2009 (UTC)
- Yup, that worked! Thank you. shirulashem (talk) 12:53, 15 March 2009 (UTC)
A minor fix is needed
Check this edit. Kingbot has to clean double "|" to avoid funny situations. -- Magioladitis (talk) 15:20, 12 March 2009 (UTC)
Dab-Class assessment?
Is it possible that Dab (Disambiguation)-Class could be added to the checklist of available assessment classes (in the assessment form pop-up box)? The reason I ask is that AWB blanks plugin-provided edit summaries when a page is manually edited (and that action can't / won't be changed), and adding the Dab-Class to the available assessment classes would be a suitable workaround. Thanks. – TMF 13:00, 18 March 2009 (UTC)
- Should be doable easily enough... —Reedy 13:41, 18 March 2009 (UTC)
- rev 4088 - class=dab added —Reedy 18:50, 18 March 2009 (UTC)
- nice. i keep meaning to ask for this too. thank you. shirulashem (talk) 00:01, 19 March 2009 (UTC)
- rev 4088 - class=dab added —Reedy 18:50, 18 March 2009 (UTC)
Possible bug
Hi, while I was assessing articles today, I came across a potential bug in the plugin. On the assessment form, I clicked the "Start-Class" and "Low-importance" checkboxes; however, I then deselected the "Low-importance" checkbox since I became unsure of its importance and the project I'm assessing for has yet to establish a criteria for importance. When I hit "OK", though, the plugin still placed "Low-importance" in the edit box. I tested this on another article - this time with selecting and deselecting "Start-Class" and hitting "OK" - same result; that is, even though Start-Class was deselected, the plugin still entered Start-Class into the edit box. Ideally, if a Class or importance is deselected, it shouldn't be entered into the edit window. – TMF 13:03, 22 March 2009 (UTC)
Dab
I know this is minor, but do you want to move the Dab checkbox down on the assessment form to be next to List? I think it fits there better. Thx! shirulashem (talk) 23:21, 22 March 2009 (UTC)
Problem with new version
I upgraded to the latest version with the upgrade to AWB. I'm assessing articles and after about the 3rd article, it freezes after I select the assessment and it doesn't let me save the page. shirulashem (talk) 23:21, 29 March 2009 (UTC)
nested parameter should not be anymore to WPBiography
No reason to added the nested parameter anymore. It's automatic. Check Template:WPBiography. -- Magioladitis (talk) 15:55, 4 April 2009 (UTC)
If WeFoundBannerShells = BannerShellsEnum.FoundWikiProjectBannerShell Then _
Template.NewOrReplaceTemplateParm("nested", "yes", Me, True, False, PluginName:=PluginName)
Suspect we just need to remove that then.. —Reedy 17:46, 4 April 2009 (UTC)
ListasBot is cleaning the parameter from the template. This change in KingbotK has to proceed. -- Magioladitis (talk) 17:48, 7 May 2009 (UTC)
- So literally just stop adding it? —Reedy 00:07, 8 May 2009 (UTC)
- Yes. No longer needed. -- Magioladitis (talk) 00:19, 8 May 2009 (UTC)
- rev 4287, will put an updated snapshot out later —Reedy 00:22, 8 May 2009 (UTC)
WPVG - Template:WikiProject Video games - task forces
Can someone give me a gentle push towards how I can get this set up to work with {{WikiProject Video games}} and its task forces? –xeno (talk) 15:12, 6 April 2009 (UTC)
Another bug
Check this one out. -- Magioladitis (talk) 22:11, 11 April 2009 (UTC)
Comment requested
Comment is requested at Wikipedia:Bots/Requests for approval/ListasBot 5 regarding whether or not there should be a bot that would make non-visible changes to the {{WikiProjectBanners}} and {{WikiProjectBannerShell}} templates so that KingbotK would be better able to handle those pages. Matt (talk) 17:45, 30 April 2009 (UTC)
Dry Run
Think this might aswell be removed now AWB has had the preparse for a while?
—Reedy 22:23, 28 June 2009 (UTC)
I agree. Did you notice that I reported 3 bugs after the last rev of this plugin? -- Magioladitis (talk) 23:29, 28 June 2009 (UTC)
- Removed in rev 4645. Responses are already on bugs ;) —Reedy 00:08, 29 June 2009 (UTC)
Inherit GA/FA/FL class?
Is it possible to have the bot inherit any GA/FA/FL ratings that are already up there from other projects? Was requested for a task I'm running. –xenotalk 18:58, 22 July 2009 (UTC)
- The same user also wanted the option to inherit the "most common" class found among the other wikiproject templates. –xenotalk 01:52, 23 July 2009 (UTC)
I always had this question: If something is class B in one project does that mean it's class B in every project? I thought different projects has different standards. -- Magioladitis (talk) 06:05, 23 July 2009 (UTC)
- I think most projects pretty much use "about the same" classification for quality, whereas they have different standards for importance/priority. However, there can be disagreements, for example WT:MED thinks Rorschach test is a "B" and WT:PSYCH thinks it's only a "Start". Anyhow, it should be an option, deselected by default. Perhaps an options to take the lowest rating, highest rating, or most common rating. –xenotalk 12:58, 23 July 2009 (UTC)
- Assessing as FA/FL is easy with pre-parsing. Make list of articles transcluding said tags, convert to talk pages, tag as such. Can the functionality to auto-FA,auto-FL be added? –xenotalk 04:18, 26 July 2009 (UTC)
- I'm doing this a with conditional find/replace matrix. Anyone who wants the source code, just ask. –xenotalk 14:57, 4 October 2009 (UTC)
Put templates below the BLP template
A user raised a concern at my talk page, that the plugin usually puts the new template at the very top of the talk page. He thinks we should give the BLP ({{WPBiography}}) template primacy due to the special note that comes with living=yes. I would tend to agree. Can this be implemented? –xenotalk 20:20, 23 July 2009 (UTC)
- I think when blp is added it put the WPBiography on the top... or not? I agree with you. Per WP:TPL if WPBiography contains blp if goes above all other templates. -- Magioladitis (talk) 20:35, 23 July 2009 (UTC)
- Yes, but then if a bot later comes later, after the WP BIO /BLP tag was placed, it will put its template on top i.e. [2]. –xenotalk 12:59, 24 July 2009 (UTC)
I think an easy way to go about this would be to have the Bio plugin be able to be turned on, but tell it not tag any articles. This way it can remain on when running through a bunch of articles that may also contain BLPs. I assume the Bio plugin will give itself top placement. –xenotalk 05:53, 26 July 2009 (UTC)
- I solved this with a fairly simple F&R regex. –xenotalk 14:57, 4 October 2009 (UTC) (thusly...)
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Rule</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\{\{WikiProject Toronto(.*?)\}\}
\{\{</replace_>
<with_>{{WikiProject Toronto$1}}
{{</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Biocleanup</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\{\{WikiProject Toronto(.*?)\}\}(.*?)\{\{WPBiography(.*?)\}\}</replace_>
<with_>{{WPBiography$3}}
{{WikiProject Toronto$1}}$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>living[ ]*=[ ]*yes</ifContains_>
<ifNotContains_>blp[ ]*=[ ]*yes</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
|
Films plugin request
I've got a request from WP:USFILMS to add |American-task-force= to about 28,000 articles and a custom plugin would help now and likely in the future.
They don't use importance/priority. If there's any other questions, I will send a WikiProject co-ordinator around. –xenotalk 03:27, 27 July 2009 (UTC)
Full list of task forces |
---|
The following discussion has been closed. Please do not modify it. |
|American-task-force= |Argentine-task-force= |Australian-task-force= |Awards-task-force= |Baltic-task-force= |British-task-force= |Canadian-task-force= |Chinese-task-force= |Christian-task-force= |Festival-task-force= |Filmmaking-task-force= |French-task-force= |German-task-force= |Indian-task-force= |Italian-task-force= |Japanese-task-force= |Korean-task-force= |NZ-task-force= |Nordic-task-force= |Persian-task-force= |Southeast-task-force= |Soviet-task-force= |Spanish-task-force= |War-task-force= |
- I also asked above for a WikiProject Video games one. However, the film is priority as I don't have a task from WPVG on my plate. –xenotalk 03:27, 27 July 2009 (UTC)
- As per your questions, categories and templates have their own classes. (I don't think you should find [m]any within the category list I made, though.) Oh, and anything in User or User talk namespaces should not be tagged at all. Otherwise, the request is to add the task force parameter to the Film banner for all articles within the categories on the category list, and to add the banner and template for any articles which don't have the banner on their talk page. Many thanks in advance! Girolamo Savonarola (talk) 03:38, 27 July 2009 (UTC)
- This task is almost done using normal find & replace, so I'd prefer priority being given to the BLP thing, followed by auto-assessing. –xenotalk 21:44, 31 July 2009 (UTC)
- I don't think this is really required anymore. –xenotalk 14:57, 4 October 2009 (UTC)
Class=image for generic template?
right now the "Generic" template will change class on File/Images to "NA". Some projects use "Image". –xenotalk 04:25, 27 July 2009 (UTC)
Auto-tag as any class
The ability to auto-tag as any class would be nice, and probably a bit easier in the interim while #Inherit GA/FA/FL class? is looked at. With pre-parse and/or list comparer, it is quite easy to make a list of which articles within a WikiProject also transclude the featured article or list template. Obviously, the auto=yes paramater should be given in bot mode as it is with auto-stub. –xenotalk 21:13, 1 August 2009 (UTC)
- The problem remains: It's not clear that all projects have the same criteria for class B, A, etc. For example, class B involves material related to the project. Only stub-class can be really bot tagged -- Magioladitis (talk) 22:06, 4 September 2009 (UTC)
- The task is only run for projects that explicitly request it. See User:Xenobot/A, for a more in-depth description of how it works and how different projects have set up their criteria. I'm presently doing it with a find/replace matrix (source available upon request). "A" class is something I'm not inheriting, because that is the one that almost always has project-specific criteria. The rest usually fall in line. In any case, I'm using a parameter to flag the fact that it's inherited, so humans may review. –xenotalk 14:57, 4 October 2009 (UTC)
not previewing while assessing
I may have the thing set up wrong, I grant you, but when I am in assess mode the plug-in doesn't always give me a preview of the page, it skips straight from loading the page to asking me to assess, without giving me the chance to look at the page and therefore make an assessment. Hiding T 10:48, 19 August 2009 (UTC)
Not getting assessment page
I'm getting the opposite problem to the above. I can preview the page but when I click save or ignore to move to the assessment, AWB jumps to the next article rather than open the talk page (which I could see in the list pane on the left). It's probably me doing something wrong but any aasitance gratefully received. NtheP (talk) 08:58, 16 October 2009 (UTC)
- Nah, that's the same bug I've got. It's listed, but it's not currently a high priority. Hiding T 11:48, 16 October 2009 (UTC)