Wikipedia talk:AutoWikiBrowser

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by After Midnight (talk | contribs) at 18:58, 10 September 2006 (Watchlist problem: my experience). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Jump to navigation Jump to search
Archive
Archives

Frequently asked questions

  • When I start it up I get error "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application."
    This error means your computer does not have the .NET framework version 2 installed properly. Download
  • Will it ever work on linux?
    Probably not.
  • Does AWB work on other projects/languages?
    Many WikiMedia projects and languages are supported, see the "Select language and project" option in the file menu. Other languages will be added on request, though at the moment the interface is always in English.
  • I don't like or use Internet Explorer, please use FireFox instead.
    AWB does not use Internet Explorer, it does however happen to use the same web browser control that Internet Explorer does, the equivalent FireFox component does not provide the needed functionality.
  • How do I open the page in another browser if I can't use the one in AWB?
    Right click on the edit box in the bottom right side of your screen. Select "Open page in browser"
  • How do I edit a page that doesn't exist?
    Uncheck "Ignore non existing pages" in the "Skip articles" box.
  • How do I skip certain articles?
    Use the "Skip if contains" and "Skip if doesn't contain" in the "(2) Set options" tab
  • Can't you leave up a "stable" version, so I don't have to download new versions?
    It is important to keep people up to date with the latest versions, because their use of the software doesnt just affect them, but the whole of wikipedia. As any bugs that remain will be trivial, hopefully releases won't be so frequent anyway.

Discussion

Formatting templates

While I'm waiting to see what I can do on Wikinews with AWB, I'm trying out the MWiki-Browser. How would I go about formatting all occurrences of a template with it?

From

*{{source|url=http://somewhere.at.example.com|title=This is not the news you are looking for|author=|pub=Example.com|date=August 25, 2006}}

To

*{{source|url=http://somewhere.at.example.com

|title=This is not the news you are looking for

|author=

|pub=Example.com

|date=August 25, 2006}}


And, as a (hopefully) minor feature request, can the protection of articles be performed from AWB. This is probably only of use to Wikinews where all articles 10 days old are protected. --Brianmc 08:19, 26 August 2006 (UTC)[reply]

AWB now works with wikinews. I think the best way to do that would be using the advanced find and replace to only do replacments inside templates, though i haven't really done anything like it before so i'm not sure what would be the best way. Protection of articles would currently be quite technically difficult. Martin 08:37, 26 August 2006 (UTC)[reply]
Thanks for the information, I really need to read up on regex or find a friendly expert. :-) --Brianmc 10:56, 1 September 2006 (UTC)[reply]

Kingbotk has had a few false positives, where I've tagged talk pages for articles deleted since I built my list. Looking at the message displayed above the edit box for new talk pages, I think AWB could very easily trap and avoid this.

This is a currently redlink talk page and redlink article HTML:

please verify that a page called <i><a href="/w/index.php?title=There%27s_nothing_to_see_here%2C_move_along&action=edit" class="new" title="There's nothing to see here, move along">There's nothing to see here, move along</a></i> exists.

This at the time of writing is a blue link article but red link talk page HTML:

"please verify that a page called <i><a href="/wiki/About_a_Book_Club_%28Hope_%26_Faith_episode%29" title="About a Book Club (Hope & Faith episode)">About a Book Club (Hope & Faith episode)</a></i> exists"

It's a silly message really, because Mediawiki has had to look up whether the article exists or not!!! Anyway, it seems that class="new" is responsible for making the link red.

Presuming that the message comes from the Mediawiki namespace somewhere and not from the PHP code directly, we can also leave a message on the Mediawiki talk page asking to be alerted of changes or of course just watchlist it :) --kingboyk 12:46, 26 August 2006 (UTC)[reply]

Stupid me... much easier way is to just check if the "article" tab is red or not. --kingboyk 10:11, 28 August 2006 (UTC)[reply]

OS X?

I'm not sure if this has been asked before, but is there a version of Mac OS X? Geoking66 02:40, 27 August 2006 (UTC)[reply]

For there to be such a version the OS would need to support the .NET framework version 2 and have Internet Explorer. In other words, I doubt it. --kingboyk 09:59, 27 August 2006 (UTC)[reply]

Most (Mboverload) typos in one article?

Possibly Japanese settlers in New Guinea during 1919-1940 times "comunity → community (12), regulary → regularly, autorities → authorities (2), autority → authority, belived → believed (2), colaborators → collaborators (3), condemmed → cond" then the edit summary fins out of space. Approx 32 replacements. Rich Farmbrough 08:51 27 August 2006 (GMT).

Wow, that's mighty impressive, shame the article is probably going to get deleted! Martin 10:15, 27 August 2006 (UTC)[reply]

New version ignoring option?

The new version seems to be enabling "add replacements to edit summary" even though I have this option disabled in the settings. It's just doing it anyway. Am I missing something or is this a bug? --W.marsh 13:19, 27 August 2006 (UTC)[reply]

It is a new bug, I improved the edit summary system and missed something, the older version is ok. thanks Martin 13:25, 27 August 2006 (UTC)[reply]

here [1] it only added a summary with no change, link [USA] should be changed like in here [2] pl:gregul 06:30, 28 August 2006 (UTC)

It is most likely a bug in what ever find and replace strings were used, AWB has an option to ignore articles when no replacement was made anyway. Martin 10:42, 28 August 2006 (UTC)[reply]

Nested square brackets bug

I quote Timeshifter who I think explains the symptom well

The bot is causing some images to not show up. The image is Table 1 in the section called "Frequency of Incarceration." SmackBot deletes one of the brackets at the beginning of the external link in the caption. It also deletes the 3rd bracket at the end of the caption and link. It obviously is not recognizing the stacked brackets due to the combination of link and image coding ending at the same place. This is a serious problem because it is common to put a source link at the end of a sentence. Here is the correct image coding:

[[Image:USA._Prisoners_1995_to_2005.gif|right|frame| Table 1 from [http://www.ojp.usdoj.gov/bjs/abstract/pjim05.htm "Prison and Jail Inmates at Midyear 2005".] A U.S. Bureau of Justice Statistics report. The totals do not include people held in juvenile facilities. According to a 2006 OJJDP (Office of Juvenile Justice and Delinquency Prevention) report there were 97,000 held in juvenile facilities as of October 22, 2003. [http://ojjdp.ncjrs.org/ojstatbb/nr2006/html/chp7hl.html]]]

SmackBot ends up with this coding below, and it causes the image to not show up:

[[Image:USA._Prisoners_1995_to_2005.gif|right|frame|Table 1 from [http://www.ojp.usdoj.gov/bjs/abstract/pjim05.htm "Prison and Jail Inmates at Midyear 2005".] A U.S. Bureau of Justice Statistics report. The totals do not include people held in juvenile facilities. According to a 2006 OJJDP (Office of Juvenile Justice and Delinquency Prevention) report there were 97,000 held in juvenile facilities as of October 22, 2003. [[http://ojjdp.ncjrs.org/ojstatbb/nr2006/html/chp7hl.html]]



Clearly a somewhat rare occurrence to have two external links in an image link, but there it is. Rgds, Rich Farmbrough 09:22 28 August 2006 (GMT).

Ok, thanks I'll look into it. Martin 09:38, 28 August 2006 (UTC)[reply]
Fixed by Martin, I believe, see #small bug below. Rich Farmbrough 20:39 31 August 2006 (GMT).

Tip - Disappearing space on C:

This might be worthy of a mention on the project page.

Since I started using AWB in anger, free space on C: has become an issue. I cleared 2GB of space and soon that was gone too. I searched for large files, cleared my internet cache regularly, but still the drive would be full. Well, exploring in Cygwin it would seem that IE creates a sh*tload of files in the Temporary Internet Files folder which don't get cleared even if you tell IE to clear it's cache. What's more, they're hidden in Explorer even if you have it configured to show hidden files. Why they would do this I don't know - it's slightly sinister if you ask me - but, anyway, if you find that C: is gobbling up the gigs with no apparent cause this might be it.

It's covered in more detail here. The best tip seems to be:

  • Click Start, click Run, type the following command and click OK:
Shell:Cache\Content.IE5

--kingboyk 09:53, 28 August 2006 (UTC)[reply]

I haven't noticed a problem, but if it does does exist for some people it will only become noticed if they were doing 10s of 1000s of edits. The cache would probably clear itself after a period of time anyway, unless there is a massive flaw in how internet explorer works. Martin 10:49, 28 August 2006 (UTC)[reply]
I'd call 386,156 files in just one of the subfolders - having clicked "clear cache" multiple times - a massive flaw! I'm only part of the way through clearing this crud and I've clawed back gigabytes. This is insane! Anyrode, I hope the tip is useful to somebody, it's sure helped relieve my disk space issues. --kingboyk 10:55, 28 August 2006 (UTC)[reply]
But it should be noted that your bot has made enourmous number of edits in a relatively short period of time, for the average user doing a few 1000 edits this will never be an issue. Martin 11:09, 28 August 2006 (UTC)[reply]
It's not that I'm blaming you Martin (unless you work on the MSIE team :)) but I think that a "clear cache" button which leaves several gigs of cached files in place, to the extent that a user's C drive is full and programs start crashing, is quite manifestly broken. Perhaps we'll have to agree to disagree on this point :) --kingboyk 19:38, 28 August 2006 (UTC)[reply]
For me clearing the cache of IE (in IE) clears "Shell:Cache\Content.IE5" (accessed by the procedure you've shown above). On a second note, AWB just uses the BrowserControl which is shared with IE. So we are rather bound to that with all the drawbacks/bugs. If you can provide a better control for browsing (or refer to one) or a tweak to the AWB code, you are of course very welcome :-). --Ligulem 08:48, 29 August 2006 (UTC)[reply]
I know that - why does everyone seem to think I'm complaining?! Can't a guy indulge in a bit of gentle Microsoft bashing? :) --kingboyk 09:11, 29 August 2006 (UTC)[reply]
For your curiousity: The mozilla control which iirc can be downloaded here, while nice, does not provide the critical functionality that AWB needs. Martin 08:54, 29 August 2006 (UTC)[reply]
Ooh. Interesting, thanks. --kingboyk 09:11, 29 August 2006 (UTC)[reply]
Thanks for the tip. Rich Farmbrough 10:20 31 August 2006 (GMT).

small bug

There's a small bug if a URL is embedded in a image description link where AWB messes up the brackets: for example [3], you have [[image:x| ... [url...]]], and awb removes one of the right square brackets and adds a left square bracket before the url. Tim! 10:45, 28 August 2006 (UTC) This is the same as two sections up, sorry :) Tim! 10:47, 28 August 2006 (UTC)[reply]

Fixed in newest release. Martin 08:43, 29 August 2006 (UTC)[reply]

Weird bug with talk pages

I have a weird bug with AWB when prepending information to talk pages. When I want to prepend a msg to a list of talk pages, the diff blanks the whole page with just a "Modified" word. Here is the screenshot: (clicky).

Is it me or is there something weird?

Thanks, Grafikm (AutoGRAF) 11:34, 28 August 2006 (UTC)[reply]

I'm trying to release a new version at the moment that cleans up a few issues, but sourceforge is giving me an "internal server error", I'm sure it will work soon. Martin 11:45, 28 August 2006 (UTC)[reply]
Done it now, hopefully that will be the last release for a while. Martin 11:48, 28 August 2006 (UTC)[reply]
Woot, thanks!!! :) -- Grafikm (AutoGRAF) 12:06, 28 August 2006 (UTC)[reply]

Auto-update?

How about a one button "upload new version" to make re-installing a snap when an existing version is superseded? bd2412 T 15:26, 28 August 2006 (UTC)[reply]

Not really possible while it is hosted at sourceforge, hopefully the frequency of releases will slow down now anyway. Martin 08:43, 29 August 2006 (UTC)[reply]

Prepending to talk pages reloaded

While testing my bot that currently delivers newsletters, I encountered a weird thing. While prepending to an un-existing page, well, nothing gets prepended. The diff is loaded but is not saved. And of course, the option "Ignore non-existing pages" is unchecked, as can be seen. And it works for a blank article talk page too. Obviously, it is only true for auto-mode.

Is it a bug or a feature?

Thanks, Grafikm (AutoGRAF) 16:57, 28 August 2006 (UTC)[reply]

Hhhhmm, I tihnk it's fixed now, hopefully this really will be the last release for a while. Martin 08:43, 29 August 2006 (UTC)[reply]

(Hopefully very easy) feature request

Hi Martin: can you create a way to add the contents of first-level subcategories to the article list? For example: when you make a list from a category, you get all the pages in the category plus the subcategories as part of the list. Do you think it would be possible to be able to double-click on the category in the list of articles to add the contents of that category to the list? Or something of the like...? It would be much easier than copy/paste, especially if you wanted the pages in all the subcategories of something with a huge amount of subcategories, such as Category:Saints by country. —Mets501 (talk) 21:24, 28 August 2006 (UTC)[reply]

If you highlight the categories in the list and then open the context menu "Add selected to list..." and then "from category", this will get all the articles from those categories. Martin 21:34, 28 August 2006 (UTC)[reply]
/me slaps himself in the head. Thanks :-) —Mets501 (talk) 21:49, 28 August 2006 (UTC)[reply]

Unicode bug

When I was operating WinBot in 3.0.2.3 I was told that the unicodify in this edit was a bad one. So I am wondering if there is a bug in here? Many thanks. --WinHunter (talk) 03:44, 29 August 2006 (UTC)[reply]

IOW, the bug discussed at Wikipedia_talk:AutoWikiBrowser/Archive_8#AWB_bots_are_breaking_non-BMP_articles appears to be back. EdC 07:50, 29 August 2006 (UTC)[reply]
Ok, fixed in the newest verison. Martin 08:43, 29 August 2006 (UTC)[reply]

Linux?

Can I run it on Linux, using Mono and Wine. --Mihael Simonič 07:13, 29 August 2006 (UTC)[reply]

Afraid not. Martin 08:43, 29 August 2006 (UTC)[reply]

What about this: I have .NET farmework and IE6 instalated with Wine, mscoree.dll is also included in Mono. --Mihael Simonič 13:50, 29 August 2006 (UTC)[reply]

You like to make things complicated, I see :)) -- Grafikm (AutoGRAF) 13:59, 29 August 2006 (UTC)[reply]
Lol. It's not reasonable to expect Martin to support, erm, "esoteric" configurations like that. If you can get it to work, great - please report back - but the official line I suspect will remain the same :) --kingboyk 15:41, 29 August 2006 (UTC)[reply]

Plugins

Feature requests

  • (Being looked into) Access to XML settings. (If this isn't available I might try to go in the opposite direction, having the plugin control AWB's settings)
  • HasChanged boolean byval argument to ProcessArticle(), so that the plugin doesn't tell AWB to skip when AWB has made a change; or (easier) ignore the plugin's Skip value if AWB made a change
  • If the plugin has set a valid edit summary, have AWB not complain about empty edit summary box (but if in point above the Skip value is ignored and plugin returns an empty summary, AWB must use it's own summary)

--kingboyk 15:49, 29 August 2006 (UTC)[reply]

Reading and writing AML settings is a possibility, actually changing the AWB settings in a definite no. Having the "HasChanged" variable would be tricky, I know things like that look easy but they are not, largely because it is fundamentally against how AWB works, i.e. if you are doing job x, then the article either needs job x doing (so save it) or it doesn't (so ignore it), also, anything that is done with find+replace wuithin AWB can be done easily in the plugin anyway. Martin 16:50, 29 August 2006 (UTC)[reply]
True, true. Thanks. My plugin is working now anyway and hopefully will go into service later today - I have a backlog to catch up on! :) --kingboyk 17:15, 29 August 2006 (UTC)[reply]

I'm going to be a pain in the arse now and suggest that - given your (well argued) line about moving all work to the plugin and not using AWB's skip/find/replace features at all, the code which calls the plugin ought to be moved back to where it was :) i.e. AWB gets article text, sends it to plugin for processing, and if plugin says skip that's the job done. What do you think?

I took your advice by the way and moved my "skip this article" regex into the plugin. I hardly need worry about AWB settings now, it's all blank settings except for "make from file" and an edit summary of "Bot". --kingboyk 12:51, 30 August 2006 (UTC)[reply]

Well, you're the only person making a plugin, so i don't see the harm in moving it back. Also, I have added 3 methods to the interface for reading/writing XML and reseting the settings. It is a bit limited because of the complexity in dealing with plugins, I'll update my example when I have released the newest version. Martin 12:57, 30 August 2006 (UTC)[reply]
Got the newest version, thanks. WriteXML() fires when saving settings (as expected), but ReadXML() doesn't seem to fire when loading settings. Bug? Also, under what circumstances is Reset() called? --kingboyk 18:17, 30 August 2006 (UTC)[reply]
The read only fires when the XML node actually has some attributes. reset it called when the user clicks "reset" in the file menu. Martin 18:28, 30 August 2006 (UTC)[reply]
Cool. I shall now have a play with that, thanks Martin. --kingboyk 18:34, 30 August 2006 (UTC)[reply]

Hopefully the last feature I ask for until you've had a rest :) In Initialise() could the plugin somehow get access to the options/start tabs? I'd like to add a tab which shows the status of my plugin and statistics - what it's doing, how many articles it's done/skipped/major edit/minor edit, etc etc. --kingboyk 13:55, 30 August 2006 (UTC)[reply]

Plugins in testing

I have a plugin ready (User:Kingbotk/Living persons biography plugin) and am testing it, should anybody be interested :) --kingboyk 15:49, 29 August 2006 (UTC)[reply]

Small categorisation bug

When recategorising articles, could you please fix it so that links that start [[:Category are ignored, or at least create an option for this in settings? I'm not sure this is a very good explanation of what I mean, but hopefully it's understandable. Thanks, — FireFox (talk) 16:01, 29 August 2006

Why would you not want to change links like that? they will also need to be changed surely? Martin 16:42, 29 August 2006 (UTC)[reply]
Well not if they're in discussion, changing someone else's comments. — FireFox (talk) 16:44, 29 August 2006
I don't see a problem with changing a link in someone's comments if leaving it would result in the link being incorrect. This doesn't apply to automated bots of course, as a human needs to check the context. --kingboyk 10:19, 30 August 2006 (UTC)[reply]
Well I am mainly talking about an automated bot anyway, FFBot, so an option here would be helpful. — FireFox (talk) 13:00, 30 August 2006
Not if I say "blah blah look at category:trees it should be a sub cat of category:plants blah blah.." and someone recats trees to graphs. Rich Farmbrough 21:40 30 August 2006 (GMT).
Hence the "a human needs to check the context". A bot would get that edit wrong, a human shouldn't. --kingboyk 10:00, 31 August 2006 (UTC)[reply]

Another small categorisation issue

When categories have been foolishly placed in the middle of text it seems that their removal leads to extra carriage returns being inserted. If followed by spaces this can change formatting, e.g. this edit. Regards, Rich Farmbrough 10:01 30 August 2006 (GMT).

new feature

1) can this be implemented: change from i.e. [laser|lasery] to [laser]y ? to simplify the links

2) why can't general fixes/unicodify (like removing underscores) be done (by AWB) before "find and replace" ? this causes a need of consideration all unicode/special characters into the regexes used into "find and replace" (special wikipedia's characters can't be matched by "find" until you know them exactly, but it's hard to cosider them everywhere!) gregul

1) Already a feature under "Apply general fixes" Harryboyles 12:53, 30 August 2006 (UTC)[reply]
read again, it's done after "find and replace" so in fact it wont work when matched string contains those characeters, general fixes will change [laser|laser] to [laser] and not moregregul
It has to be done after the find+replace or it can cause some complications. Links aren't simplified any more than they currently are because this can often lead to some strange looking links. Martin 13:14, 30 August 2006 (UTC)[reply]
Actually, in this case it is fairly easy to allow an option to apply before or after the general fixes. Martin 13:27, 30 August 2006 (UTC)[reply]

3) what about moving pages, can this be done ? (if it isn't already included) gregul

4) can erasing redundant spaces be included into general fixes ? for example into expressions like this "blblb ", " blabll", '' ddd '', ''' eee ''' etc., also multiple spaces between the words would be erased as they aren't visible if more than 1 gregul

Buglet

I thought my plugin had a bug, because it was skipping red-link talk pages. However, in debugging mode I found nothing wrong... then noticed that when I click "Auto save" AWB then automatically checks "Skip articles when no change made", which for some reason is causing those pages to skip.

I've no idea why AWB would auto-check "Skip articles when no change made" but if there's no vital reason for doing so could you turn that off pse Martin? :) --kingboyk 13:43, 30 August 2006 (UTC)[reply]

Unfortunately it's not a bug, it's a defensive feature, otherwise some people have a nasty habit of setting a bot loose without it on and making a series of trivial edits. Martin 13:48, 30 August 2006 (UTC)[reply]
lol, OK. Do any of the objects I get passed in Initialise() give me access to that checkbox? --kingboyk 13:53, 30 August 2006 (UTC)[reply]
Answer to self, they ought to now I have access to the tabcontrol. --kingboyk 20:37, 31 August 2006 (UTC)[reply]

Skipping bug?

I just downloaded the new version and it seems to be skipping nearly everything, without regard to any setting as far as I can tell... Anyone know what I could be doing wrong, or if this could be a bug? --Galaxiaad 01:36, 31 August 2006 (UTC)[reply]

Probably you have "skip articles when no change made" selected? --kingboyk 10:09, 31 August 2006 (UTC)[reply]
Nope... argh! --Galaxiaad 14:31, 31 August 2006 (UTC)[reply]
Try the latest vesion. thanks Martin 14:56, 31 August 2006 (UTC)[reply]
Working. Thank you! --Galaxiaad 16:33, 31 August 2006 (UTC)[reply]

Categories - for discussion

Copied from my talk page, Rich Farmbrough 09:46 31 August 2006 (GMT).

Could your bot also stop being 'helpful' with categories? I am getting sick of reverting that three or four times a day. To get categories sorted alphabetically you often need to place them above templates, but your bot keeps moving them back to the bottom (which ends up giving me a mish-mashed order). Elric of Grans 23:04, 30 August 2006 (UTC)[reply]
Well it's done for now. I understand what your saying about categories, it raises two interesting points a. how should categories be ordered, and b. what to do about transcluded categories. The first has been thrashed out, and the conclusion reaced that alpahbetical order is not necessarily best (AWB used to order categories). The second is more probelmatical, I believe, for example that in general maintainance categories (and hence templates) should go after normal categories - and I thnk this is widely supported in principle. On the other hand it is common practice to put cleanup and wikify right at the top of articles. One off the things that AWB does in its general options is to put interwiki at the end, and non-trancluded categories immediately before, so I will copy part of your comment and this reply onto the AWB talk page for discussion. Rich Farmbrough 09:43 31 August 2006 (GMT).
Alphabetical sorting isn't best in my opinion, sorting by relevance/priority is better. Yes, that does raise the point that transcluded maintenace categories will be first if the template is at the top of the page but c'est la vie... convention is to put those templates at the top of the page and that's not AWB's fault. It's quite simply not an AWB issue. --kingboyk 10:03, 31 August 2006 (UTC)[reply]
It's not solely and AWB issue <grin>. I definatley don't think it's an AWP problem, nor do I want to go 'round the mulberry bush we've been round before - just invite new ideas. I liked your Freudean slip "at the top of the fault." <second grin> Rich Farmbrough 10:11 31 August 2006 (GMT).

Bolding first occurance of title in Image: name

Here I added formatting to an image filename. Whoops! Rich Farmbrough 10:06 31 August 2006 (GMT).


One more oddity

See SmackBot's edit to Linear B. It blanked most of the article. Obiously unusual characters in the page, but apart from that no idea why. Rich Farmbrough 12:16 31 August 2006 (GMT).

You've certainly been very unluckly with bugs today Rich! I'll have this sorted (well, I'll work around the problems in the .NET HTML decoder anyway). Martin 16:27, 31 August 2006 (UTC)[reply]
Shotgun effect, there's a lot of them thar ISBNs. Thanks for your hard work. Can you let me know if there's something I can scan for to spot where else this might have happened? Rich Farmbrough 20:43 31 August 2006 (GMT).

Just a minor niggle, but can AWB insert w:WP:AWB when not working on wikipedia? I get redlinks in the edit summary using it on Wikinews. --Brianmc 16:03, 31 August 2006 (UTC)[reply]

Could you create a soft redirect to this page instead, as some projects have their own AWB page, and others just soft redirect to here. thanks. Martin 16:25, 31 August 2006 (UTC)[reply]
Okay, Wikinews now has WP:AWB referring people to the project page. --Brianmc 10:48, 1 September 2006 (UTC)[reply]

Autonomous mode on other projects

Hi, I juse AWB on nl.wikipedia. It used to be possible to use my AWB on autonomous mode (bot-mode) on my bot-account there, but in the newer versions of the software it's not possible anymore, which is a problem for me. I see that someone else has the same problem (see here). Can anyone help and fix this, or is it not possible? NielsFTalk to me.. 19:28, 31 August 2006 (UTC)

The automode only becomes available when it has logged in (there is a log in button on the file menu, or it does it automatically when you start editing). Also make sure you have the newest version. Martin 19:38, 31 August 2006 (UTC)[reply]
Ah thanks, upgrading to the latest version did the trick! Thanks for your quick response. NielsFTalk to me.. 20:06, 31 August 2006 (UTC)

Plugin stuff

Besides getting notification of start/stop/exit, could the plugin get access to txtEdit please Martin? The ContextMenuStrip isn't very useful if I can't put text into the box (or, is there a routine to call to do that?) --kingboyk 20:39, 31 August 2006 (UTC)[reply]

Timer

I'm using 3.0.2.8 and I can't seem to get the timer to appear. I have tried turning it off and on again with no success. --After Midnight 0001 22:20, 31 August 2006 (UTC)[reply]

Hiding tabs from plugin

Any idea why the following code doesn't work Martin?

        Friend Shared Sub HideTabs()
            For Each tabp As TabPage In SettingsTabs
                tabp.Hide()
            Next
        End Sub

When this code does work:

        Friend Shared Sub HideTabs()
            For Each tabp As TabPage In SettingsTabs
                tabp.Text = "I love Bluemoose!"
            Next
        End Sub

--kingboyk 12:26, 1 September 2006 (UTC)[reply]

You can't use .Hide(), you have to remove the tabpage from the tabcontrol, then add it back if you want to show it, careful to add back in same order though. Martin 12:40, 1 September 2006 (UTC)[reply]
Would that break AWB in any way? Do you ever reference the controls through the tabcontrol.tabpages() collection or only by name? --kingboyk 12:46, 1 September 2006 (UTC)[reply]
It should be fine. Only one way to be sure though. Martin 12:53, 1 September 2006 (UTC)[reply]
Hehe, yep! --kingboyk 12:54, 1 September 2006 (UTC)[reply]

Possible bug in Categorisation

I am trying to remove Category:Giant Panda (Hip Hop) and AWB will not recognize the string. Is it possible that it has something to do with the parenthesis? --After Midnight 0001 21:16, 1 September 2006 (UTC)[reply]

Ok, I see whats wrong, fix will be in next release. thanks Martin 10:27, 2 September 2006 (UTC)[reply]
Ooh, small world - that's a CFD nomination of mine :) --kingboyk 10:46, 2 September 2006 (UTC)[reply]
New release 3.0.2.9 did the job. Thanks for the fix. --After Midnight 0001 21:23, 3 September 2006 (UTC)[reply]

Notification of new messages

When working on Wikinews and I get a new message on my talk page, AWB is trying to load up a Wikipedia page instead of a diff of my talk page on Wikinews. --Brianmc 07:27, 2 September 2006 (UTC)[reply]

Oh yeah, what a stupid error, fix in next release. thanks Martin 10:27, 2 September 2006 (UTC)[reply]
Found when someone went "where the $#@% did you get AWB for Wikinews?" :-) --Brianmc 15:30, 2 September 2006 (UTC)[reply]

Image bug

Hi Martin, I encountered a little image commenting out bug, see this diff. A random line break was previously added, so the formatting was

[[Image:Delmarquis1.jpg|thumb|250px|right|
Del Marquis in concert with [[Scissor Sisters]].]]'''Del Marquis''' (born '''Derek Gruen''' [[August 31]] [[1979]], [[New York]]) is ...

Just letting you know. —Mets501 (talk) 16:55, 2 September 2006 (UTC)[reply]

Problems

Hi, I have some small problems (my browser is Firefox):

  • I try to work with the catalan version and I receive a message. It appears a window telling me I received a new message. Cool, but now I already read it and I can't close it. I read it with both Firefox and IE and the message is still there. I'll have to kill AWB process. Done.
  • Now, I still have the same problem as some months before. My text editor is wordpad or notebook (I don't have word). I didn't answer then because I was going to change my PC and I decided waiting what's up with the new one, but still can not load the settings (it finds problems even after a <!-- !!!). The supposed working file you corrected, doesen't work. Therefore I was thinking on:
  • Since the important part of the file are catalan typos, I wanted to put them in a page (it could be here) as your Typos page, but I can not load them in AWB as you do in the english version. So, could you please add an option in wich either you can choose from wich page you want to dowload the typos list, or change the page deppending on the language...

Thank you!--Xtv - (my talk) - (que dius que què?) 16:01, 3 September 2006 (UTC)[reply]

  • Probably a caching issue in IE, don't think there is much that can be done.
  • The settings file is not designed to be edited manually, though it can be done, I don't recommend it.


Great! Thank you very much!--Xtv - (my talk) - (que dius que què?) 19:10, 3 September 2006 (UTC)[reply]

Redirects

I want to replace #REDIRECT [[(.*)]] (of course with the \ tags for regular expressions) with, e.g. car (just an example). If I enter this in "Find and Replace - Normal", that doesn't work. The problem is, AWB doesn't take care of this page and follows the redirect. On the redirected page ABW of course doesn't replace anything. Does anyone know how to make this work? Many thanks in advance, Pill- 18:04, 3 September 2006 (UTC)[reply]

Turn off the "Bypass redirects" option in the "General" menu. Martin 18:26, 3 September 2006 (UTC)[reply]

Feature request

Could we have an option under the "Make from" setting which fetches articles from a category and all it's subcategories? So for example, if you entered a category such as Category:Wikipedia maintenance, it would fetch all articles from that category, and then fetch all articles from the sub-categories too, etc etc until there were no more sub-categories. This would be very helpful for certain bot tasks. Thanks, — FireFox (talk) 10:21, 04 September 2006

I have already coded this, but not implemented as it is a little scary, apart from cyclical categorisation (which can be dealt with), it could be possible to have many hundreds of categories. I guess I would have to implement a limit on the number of results. Martin 11:13, 4 September 2006 (UTC)[reply]
Ah, ok :) — FireFox (talk) 11:17, 04 September 2006
You could write a plugin FF ;) --kingboyk 21:01, 4 September 2006 (UTC)[reply]

International issue

Even on fully localized projects, English names of special namespaces still could be used. For example, on de: you can use [[Image:Wiki.png]] instead of [[Bild:Wiki.png]]. But AWB does not support such ambiguousness and as result, some pages cannot be recategorized and some images cannot be removed. Of course, you still can use regexps, but it's kinda pain in the ass... MaxSem 14:51, 5 September 2006 (UTC)[reply]

Auto tag - Uncategorised

I was doing some removing of categories from articles, per WP:CFD and in some cases, the only category was removed, but in one case [4] the {{Uncategorised}} tag was added and the other [5] was not (I added it manually, so the diff shows it in there). They both had iw links, but the 2nd also had a stub tag. Does the stub tag keep the Uncategorised tag from getting applied, and if so, is that a possible upgrade opportunity? --After Midnight 0001 01:37, 6 September 2006 (UTC)[reply]

Yes, a stub tag will stop the uncategorised tag being applied, as AWB is just being ultra cautious (as often tags give an article a category). But I will tweak this at some point to ignore stub tags. Martin 08:35, 6 September 2006 (UTC)[reply]

Rats?

Any ideas:

From the Article ATR

ratsTherats ratsItalianrats-ratsFrenchrats ratsbasedrats ratsaircraftrats ratsmanufacturerrats ratsAereirats ratsdarats ratsTrasportorats ratsRegionalerats ratsorrats ratsAvionsrats ratsderats ratsTransportrats ratsRégionalrats (ratsATRrats) ratswasrats ratsformedrats ratsinrats rats1981rats, ratsfromrats ratstherats ratsconsortiumrats ratsformedrats ratsbyrats ratsAérospatialerats ratsofrats ratsFrancerats (ratsnowrats ratsEADSrats) ratsandrats ratsAeritaliarats (ratsnowrats ratsAleniarats ratsAeronauticarats), ratsofrats ratsItalyrats.


Does this on any article.... Restarted AWB

Same all the way through.....


Reedy Boy 17:31, 6 September 2006 (UTC)[reply]

What settings are you using? Martin 17:51, 6 September 2006 (UTC)[reply]
I would guess replace \b with rats. ATR is an anagram of RAT, so I smell a rat. Rich Farmbrough, 19:26 6 September 2006 (GMT).
Perhapsly someone vandalised the RETF page? Rich Farmbrough, 19:28 6 September 2006 (GMT).
Good thinking, there was a regex mistake on the typo page. thanks Martin 19:40, 6 September 2006 (UTC)[reply]

Request to add Chinese Project Support

Hello, I want to use AWB in Chinese Wikipedia, so I request to add Chinese (zh) project support. The namespace in Chinese project is in English (due to two different characters in the same project) , so I think Chinese project might be easier to be supported. You can contact me if needed. :) --Littlebtc 17:45, 6 September 2006 (UTC)[reply]

Ok, will do. Martin 19:40, 6 September 2006 (UTC)[reply]

Add to selected list from category

Hey, How come sometimes when you select multiple categories, right click, the 'Add to selected list from category' is greyed out and requires multiple re-highlights and or re-right clicking.

Anyone else noticed this? Would you be able to look into it please martin?

Cheers

Reedy Boy 19:00, 7 September 2006 (UTC)[reply]

I've noticed it on occasion, yes. IIRC it usually happens when some of the selected category names contain numbers?? --kingboyk 09:05, 8 September 2006 (UTC)[reply]

AWB wants to change

    • YRUU: ([waɪ.ɑr.ju.ju]) Young Religious Unitarian Universalists

into

    • YRUU: ([waɪ.ɑr.ju.ju]) Young Riousacrileg$2 Unitarian Universalists

Mistake on the typo list?

Reedy Boy 19:05, 7 September 2006 (UTC)[reply]

Yes, it was a typo list error, I've fixed it now. Martin 19:26, 7 September 2006 (UTC)[reply]

minor edits

Is there an option to mark the edits done through AWB such as spelling mistakes etc. as minor? I am unable to find it. Thanks -- Lost(talk) 06:24, 8 September 2006 (UTC)[reply]

In the "general" menu, there is an option. I think I will move it as some point to somewhere more logical. thanks Martin 08:20, 8 September 2006 (UTC)[reply]
Thank you. Found it -- Lost(talk) 09:02, 8 September 2006 (UTC)[reply]

Plugin example code

Martin, I think the example code needs a slight change regarding the ReadXML event. It needs to test the return value of MoveToAttribute() and if False, use the plugin's default value. In VB code like this is giving strange results:

        Friend Function XMLReadBoolean(ByVal reader As System.Xml.XmlTextReader, ByVal param As String) As Boolean
            reader.MoveToAttribute(param)
            Return Boolean.Parse(reader.Value)
        End Function
        Friend Function XMLReadString(ByVal reader As System.Xml.XmlTextReader, ByVal param As String) As String
            reader.MoveToAttribute(param)
            Return reader.Value
        End Function

So I'll be changing my functions to take an ExistingValue argument, and return that if MoveToAttribute() returns false. HTH HAND :) --kingboyk 10:29, 8 September 2006 (UTC)[reply]

In VB this code does the trick:

    Friend Module XMLUtils
        Friend Function XMLReadBoolean(ByVal reader As System.Xml.XmlTextReader, ByVal param As String, _
        ByVal ExistingValue As Boolean) As Boolean
            If reader.MoveToAttribute(param) Then Return Boolean.Parse(reader.Value) Else Return ExistingValue
        End Function
        Friend Function XMLReadString(ByVal reader As System.Xml.XmlTextReader, ByVal param As String, _
        ByVal ExistingValue As String) As String
            If reader.MoveToAttribute(param) Then Return reader.Value Else Return ExistingValue
        End Function
    End Module

--kingboyk 10:41, 8 September 2006 (UTC)[reply]

AWB process won't die

I've noticed that if I exit AWB (by closing the form) while it's trying to verify that I'm logged in, the process keeps on running for several minutes (until I kill it). Note that this is with no plugins installed, just plain AWB. --kingboyk 14:55, 8 September 2006 (UTC)[reply]

Alos, ff you don't notice this, you will be unable to extract the upgraded version.... Rich Farmbrough, 12:33 10 September 2006 (GMT).

hndis and surname

I recently separated the surname template so it no longer redirects to hndis. One of the "general fixes" for AWB appears to replace {{surname}} with {{hndis}}. How can that fix be disabled for AWB in general? -- JHunterJ 17:23, 9 September 2006 (UTC)[reply]

I've changed it in the next version, I'll release it now. Martin 18:36, 9 September 2006 (UTC)[reply]

Watchlist problem

Even when I have "Add all to watchlist" unchecked in the menu, all of the articles that I edit are still getting added to my watchlist. Is there a toggle somewhere that I've missed? --Elonka 21:06, 9 September 2006 (UTC)[reply]

Are you sure you have the option unchecked in your preferences too? — FireFox (talk) 21:12, 09 September 2006
I thought that the AWB options were independent of individual Wikipedia preferences? --Elonka 22:48, 9 September 2006 (UTC)[reply]
Yes they are, but once AWB has submitted a page for saving to Wikipedia your Wikipedia preferences take over. If they say "add all pages to the watchlist" that's what Mediawiki will do. AWB and Mediawiki are independent products and they don't share their settings in any way. --kingboyk 12:37, 10 September 2006 (UTC)[reply]
Okay, I may be mis-remembering, but I thought that the way it used to work was that they were entirely independent. In other words, I could have AWB working in the background, and any changes it made could be flagged to not show up on my watchlist. But at the same time, I could be normal editing in another window, and those changes automatically would show up in my watchlist. Otherwise I have to keep remembering to check or uncheck the watch box depending on which window that I'm in. In other words, what I would like (and the way that I thought it used to work) was that I could keep my normal Wikipedia preferences set as "add to watchlist", but if I keep the menu option unselected on AWB, that it's able to keep the watch box unchecked. AWB seems to be able to toggle the watch and "minor" boxes on... Isn't there a way that it can also turn them off? --Elonka 18:43, 10 September 2006 (UTC)[reply]
My experience has been similar to what Elonka seems to expect. In the past, when I have had the AWB preference set to "not add to watch list", it didn't add them, even though my standard setting outside of AWB was to add them. --After Midnight 0001 18:58, 10 September 2006 (UTC)[reply]

Bolding article name in Image bug

This seems to be a problem in the latest version (3.0.3.0) with this article Starstreak missile, at least. Rich Farmbrough, 12:34 10 September 2006 (GMT).