Wikipedia talk:AutoWikiBrowser/Bugs/Archive 2

Unhandled Exception

 * I've just trimmed this a bit - Mart inp23 19:28, 15 April 2007 (UTC)
 * Definitely version 3.9? I thought we'd resolved any problems relating to Item[3]... --kingboyk 20:00, 15 April 2007 (UTC)
 * That was on the assumption that the problem was in the logging tab, and that wrapping all calls to Subitems into a Property with error handling would cause any errors to show up as a messagebox rather than a runtime error. Assumption may of course have been incorrect; problem might be elsewhere in the code. --kingboyk 20:11, 15 April 2007 (UTC)
 * What were you actually doing when this happened? Can you give us test data so that we can replicate the exception? Thanks, Mart inp23 20:09, 15 April 2007 (UTC)
 * Using my bot to subst user messages. --TeckWiz Parlate Contribs@(Lets go Yankees!) 20:34, 15 April 2007 (UTC)
 * Were you using 2 AWB's from one/the same directory by any chance? Reedy Boy 08:40, 16 April 2007 (UTC)
 * I don't think so. --TeckWiz Parlate Contribs@(Lets go Yankees!) 11:01, 16 April 2007 (UTC)
 * Any Repeats on this? Or shall i just close it? Reedy Boy 15:15, 11 May 2007 (UTC)
 * Marked as invalid and archived - more info needed Martinp23 21:24, 11 May 2007 (UTC)

Correcting hyperlinks incorrectly

 * Based on this revision of the AWB Sandbox: - It doesnt want to correct  to [].
 * Not sure if someone *may* have fixed this...
 * Poking User Reedy Boy 15:10, 11 May 2007 (UTC)
 * From my Talk

Right now it looks to me as if I had made a mistake, as one of the pages I ran it on changed [] to, not the other way around. However, I'll keep an eye out in case something does come up. My apologies. { Slash -|- Talk } 04:58, 12 May 2007 (UTC)

Marking as Invalid

Reedy Boy 08:50, 12 May 2007 (UTC)

Diff problem
Fixed. Max S em 07:11, 12 May 2007 (UTC)

Incorrect logs

 * I have a screenie. I'll hold off from editing the page for now, just to preserve the record; if someone says I should upload my screenshot, I will do so. The page I was editing was Malcolm Kendall-Smith. { Slash -|- Talk } 05:07, 11 May 2007 (UTC)
 * Sounds like that's not so much incorrect logging as AWB skipping a page it ought to retry? i.e. it thinks it saved it, but it doesn't. Or am I incorrect in that analysis? --kingboyk 12:39, 11 May 2007 (UTC)
 * Not only logging, it simply misses the problem and does not nudge. Max S em 18:50, 11 May 2007 (UTC)
 * I've some code to do something when it finds there has been a loss of session data.. It just doesnt do anything currently... Reedy Boy 18:54, 11 May 2007 (UTC)
 * Now set to just try and resave. Reedy Boy 09:36, 13 May 2007 (UTC)

Make list from user contribs
Fixed by Reedy Boy. — M ETS 501 (talk) 05:16, 13 May 2007 (UTC)

Regex issue #2
Asked him for clarification. Max S em 06:01, 14 April 2007 (UTC)

Incorrect template delimiting
{{AWB bug | status     = fixed | description = AutoWikiBrowser incorrectly assumes that any template-like delimiters ( '{{' or '}}' ) are the delimiters for the current template. For the same reasons, nested parameter code causes problems. For example, it will incorrectly parse these two examples into four distinct templates (highlighted): {{ header |notes=  {{ wikipedia  }} This is a note. }}  {{  dated prod|concern = {{{concern|non notable stub  }} } |month = ...

This bug affects:
 * 'Replace Special'→'Inside template calls {{..}} '
 * Template-parsing by automatic cleanup (such as re-ordering templates)

| duplicate  = On an affected page (such as Constitution of the United States of America), perform a 'Replace special' rule with the following settings: | OS         = Windows XP SP2 (IE 6.0) | version    = 3.2.0.0 | workaround = The following will heuristically work around the problem when performing user-defined patterns. It will not work with the automatic functions (unless it is done automatically), since there's no way to perform the workaround both before and after the automated functions (it's one or the other).
 * Check 'Regular expression'.
 * Select 'Inside template calls {{..}} ' from the Type menu.
 * Search "^.*$".
 * Replace "template".

This workaround will only work if the templates you are modifying are never nested (but can nest other templates), although the patterns could be changed to accomodate that for specific templates. If you expect nested nested templates, just run it an extra time for every extra level.

(These should be run with regular expressions enabled in single-line mode.)

}} This bug report is merged from "Incorrect behaviour for 'Inside template calls {{..}} '", "Persondata scrambling", and "Prod altering". — {admin} Pathoschild 04:53:35, 30 March 2007 (UTC)


 * Persondata extraction is fixed (this needs a review), working on the rest. Max S em 19:03, 11 April 2007 (UTC)
 * Replace special seems to be working as it should, too as of {{awbrev|1002}}. Now this all needs a long beta testing, I didn't even mark this as fixed. Where else needs to be fixed in template handling? Max S em 09:59, 12 April 2007 (UTC)
 * No more occurences found. Shall we close it as fixed? Max S em 15:56, 15 May 2007 (UTC)

Filter Makes Article Counter Go Crazy
Fixed. Max S em 14:46, 18 May 2007 (UTC)

"Find and replace"-Advanced

 * Fixed in . Max S em 16:32, 15 May 2007 (UTC)

Special replace
Owww, I suppose it's related to newline sequences, and Phil's bug too. Max S em 09:34, 5 May 2007 (UTC)
 * Already fixed. Max S em 19:09, 18 May 2007 (UTC)

Unicodify indirect equal sign inside templates
Unicodify now ignores templates and external links. — M ETS 501 (talk) 14:43, 19 May 2007 (UTC)

Preview breaks the process
- Simple fix. Reedy Boy 21:35, 19 May 2007 (UTC)

Multiple Just-in-time debugging exceptions with nearly every access of the net

 * I think you've got a buggy monobook... User:Flex/monobook.js... Try setting your skin preference back to the classic and try running AWB then. Reedy Boy 19:24, 21 May 2007 (UTC)


 * Thanks. It seems to be a result of including this script in my monobook.js. Any ideas why? --Fl e x (talk/contribs) 20:00, 21 May 2007 (UTC)


 * Bad Javascript

Try /* */

function welcome {

// Find the edit box var txt = document.editform.wpTextbox1;

//The welcome *template* you want to use var welcome_template = 'welcome'; var welcome_summary = 'welcome'; var welcome_watch   = false;

// The tag to be included is a welcome message var tag = ' --~';

// If the edit box doesn't already have this tag... if (txt.value.indexOf(tag) == -1) {

// Append the tag txt.value += tag;

// Add an edit summary document.editform.wpSummary.value    = welcome_summary; document.editform.wpWatchthis.checked = welcome_watch;

// Press the Save page button document.editform.submit; }

// If the tag was already there, turn the tab background red to indicate // that the script is functioning properly, but that there is no action // to do. This doesn't interrupt the user's work like an alert would. else { document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444"; document.getElementById('ca-unverified').style.backgroundColor           = "#ff4444"; } }

// Create a tab that calls this function when pressed // Create a tab that calls this function when pressed addOnloadHook( function    {    if(document.title.indexOf("Editing User talk:") == 0)     {      addPortletLink('p-cactions', 'javascript:welcome', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', , );    }  } );

/* This is to keep track of who is using this extension: User:Flex/welcome_newuser.js */

/* */ Some ';' missed off beneath //The welcome *template* you want to use Reedy Boy 20:04, 21 May 2007 (UTC)

Make sure you get all the code/just copy the changed lines :) Reedy Boy 20:08, 21 May 2007 (UTC)

Lines between text and categories
It was reported as fixed in the next release, which has not come out yet. — M ETS 501 (talk) 19:58, 24 May 2007 (UTC)
 * thanks --schlendrian •λ• 21:12, 24 May 2007 (UTC)

Unhandled exception after sorting log of successfully saved

 * Possible workaround, not a fix: right click, reset. --kingboyk 21:44, 18 May 2007 (UTC)
 * That does indeed work, but I still think we need a fix. Thanks Rjwilmsi 07:33, 19 May 2007 (UTC)
 * Did someone already fixed this? I can't reproduce it. Max S em 13:52, 19 May 2007 (UTC)
 * No, its one of those things that seems to only happen to a few people (i've had it before, but it went away). Its rather difficult to reproduce. Reedy Boy 17:37, 19 May 2007 (UTC)
 * I was under the impression that the extra error handling I'd introduced into the log tab (the old one) had solved any issues. I certainly haven't seen any issues with it for a long while. Perhaps assume it's fixed in v4 and the user can resubmit if it happens again? --kingboyk 22:01, 19 May 2007 (UTC)
 * Marking as fixed - Seems to be fine in SVN Version. Reedy Boy 08:01, 28 May 2007 (UTC)

User contrib
Already fixed. Plase search the archives before submitting a new bug. Max S em 09:47, 30 May 2007 (UTC)


 * Sorry for the dupe.... --ChoChoPK (球球PK) (talk | contrib) 11:10, 30 May 2007 (UTC)

Substing Bug for Non-English Characters
Fixed. Max S em 12:07, 29 May 2007 (UTC)

English usage error apparently introduced by AWB
The current AWB apparently recommends replacing "is comprised of" with "comprises". This recommendation is not correct - such a replacement changes the meaning. An example of the error introduced can be seen at this link. Please correct AWB.

Skaal - Williamborg (Bill) 17:47, 3 June 2007 (UTC)


 * The change was made by typo fixing, not AWB itself, so not a bug
 * The change didn't change the meaning, although the usage is apparently surprising to some English speakers. See comprise and other dictionaries.
 * The regexp has already been removed from the AWB typo list. -- JHunterJ 20:37, 3 June 2007 (UTC)

JIT debugger

 * Can you post the contents of the message so we have some idea of whats going on. Reedy Boy 19:07, 28 May 2007 (UTC)
 * Screenshot Will (We're flying the flag all over the world) 03:27, 30 May 2007 (UTC)


 * This is a similar problem to the one I reported here. The issue turned out to be the scripts in my monobook.js. They work fine with Firefox (indeed some only work with Firefox), but not with IE (either directly or indirectly through AWB). The fix I found was to disable my scripts when IE is the browser by wrapping the contents of my monobook.js with this:


 * //Detect IE5.5+
 * if (navigator.appVersion.indexOf("MSIE")==-1)
 * // Normal contents go here
 * }
 * }


 * HTH, --Fl e x (talk/contribs) 14:12, 1 June 2007 (UTC)
 * I fixed it, by disabling script debugging in IE7. Will (talk) 01:50, 3 June 2007 (UTC)

Incorrect tab order

 * Fairly simple fix, just needs the tab orders switching over! Reedy Boy 10:16, 5 June 2007 (UTC)
 * Reedy Boy 18:26, 5 June 2007 (UTC)

Inappropriate link compression
Fixed in. Max S em 09:59, 15 June 2007 (UTC)

iw hak: not sorted properly
Fixed. Max S em 17:07, 15 June 2007 (UTC)

Incorrect Underscore removal in URL's in wikilinks
This is partially fixed above in "Removing underscore in URL in Ref in Description in Image....", but processing [like that] needs further tweeks. Max S em 13:57, 24 June 2007 (UTC)
 * Fixed in : all crappy links are fixed before removing underscores from valid ones. Max S em 17:04, 24 June 2007 (UTC)

Incorrect bulleting
Fixed in. Max S em 18:15, 24 June 2007 (UTC)

Removing underscore in URL in Ref in Description in Image....
Fixed in. Max S em 13:49, 24 June 2007 (UTC)

Computer crash

 * AWB doesnt really need uninstalling, its more a delete of the folders. Are you sure there isnt some process thats locking it? - Reedy Boy 06:41, 21 June 2007 (UTC)

Skip if no typo fixed
Actually, many (if not all) skip options don't seem to work without plugins. Max S em 18:25, 29 May 2007 (UTC)
 * Yeah, I noticed that too. — M ETS 501 (talk) 20:44, 29 May 2007 (UTC)


 * I noticed what could be a bug in the opposite way. When "skip articles when no change made" is checked, AWB skips too often. Some version older than 3.9.1.0 would stop on page that requires iw sort, or things like Foo_bar → Foo bar, or DEFAULTSORT. Now it skips almost everything. --ChoChoPK (球球PK) (talk | contrib) 06:36, 31 May 2007 (UTC)


 * Its all inter-related. I've got an idea where the problem lies, but im not sure on its full implementation. Reedy Boy 07:50, 31 May 2007 (UTC)

Fixed (it needs testing, though). Max S em 15:34, 27 June 2007 (UTC)
 * Well done max! I'll have a play tonight to check for you. Reedy Boy 15:47, 27 June 2007 (UTC)
 * Well, we know its definately fixed now. Changes worked out. Reedy Boy 19:19, 27 June 2007 (UTC)

AWB too "greedy"

 * Yup, its messing up the includeonly/noinclude tags... Hmmm Reedy Boy 16:37, 14 June 2007 (UTC)
 * My test using WP:AWB/CFD shows that everything's OK... Wassup? Max S em 15:52, 27 June 2007 (UTC)
 * Try doing it with the normal category add/remove thingy. I got the same result using the method that isnt using the CFD plugin. Reedy Boy 15:57, 27 June 2007 (UTC)
 * Gah, it uses the same code for working with categories. Therefore, its result is the same. Max S em 16:18, 27 June 2007 (UTC)
 * Meh. Its ages since i tried. Yup, same as you. God knows!! Reedy Boy 18:09, 27 June 2007 (UTC)
 * AfterMidnight managed to find some duplicates of this bug. Fixed - Reedy Boy 13:59, 11 August 2007 (UTC)

Find/replace

 * I wonder if its just broken... Or like the skips, its related to the changes for logging and such? Reedy Boy 17:15, 21 June 2007 (UTC)
 * Strange, it works for me. Tracing shows that everything seems to be in order. Can anyone reproduce that? Max S em 14:12, 24 June 2007 (UTC)
 * I suppose he said 'seems', not does... Reedy Boy 18:24, 24 June 2007 (UTC)
 * I can't reproduce this. I posted my attempts in the Sandbox - got a different result for each case, which should indicate it is working correctly for 3.9.1.0. --After Midnight 0001 16:57, 24 June 2007 (UTC)
 * It is possible that the svn version is different to that of the last release.... But still.. Reedy Boy 18:24, 24 June 2007 (UTC)

Edit Summary Not Correctly Handling Link Replacement Regex
Links in edit summaries is a MediaWiki feature, so the question is what we can do about it. &gt;nowiki> tags and converting brackets to HTML entities like &amp;#91; does not work, what else? Max S em 15:36, 22 April 2007 (UTC)
 * Well, I can think of one easy answer: Automatically disable including the substitution in the edit summary when the regex contains a without a matching  . That would be significantly better than generating a misleading edit summary. -- JLaTondre 16:18, 22 April 2007 (UTC)
 * Yes, I think it probably would. --kingboyk 16:02, 23 April 2007 (UTC)

Fixed in. Max S em 11:47, 29 June 2007 (UTC)

Recognising end of URLs
at the end of the template is not recognised. This may be a symtpotm of the same out by one bug that means text immediately after a reference is not replaced. Rich Farmbrough, 11:29 27 April 2007 (GMT). | duplicate  = | OS         = win2k pro | version    = 3.9.1.0 | workaround = Turn off ignore wikilinks, urls etc. }} Cannot reproduce in the latest version. I suppose it's fixed? Max S em 13:31, 29 June 2007 (UTC)

Reprasing broken
Fixed in. Max S em 20:27, 28 June 2007 (UTC)

Drag'n'drop problems
Fixed in. Max S em 20:54, 28 June 2007 (UTC)

Conditional non-regex
Fixed in. Max S em 18:13, 29 June 2007 (UTC)

Regex tree expand when moving rules
- Commented out on move up and move down, and 2 other places. Reedy Boy 16:56, 29 June 2007 (UTC)

Advance regex list loading

 * - Dispenser, your using the SVN version arent you? Can you check if that is better? Cheers, Reedy Boy 18:59, 29 June 2007 (UTC)
 * 15 seconds with the alpha build and 17 seconds with SVN debug build and release build. Could you just hide the window when loading?  That'll prevent the redraws and loading will go much faster.  —Dispenser 20:08, 29 June 2007 (UTC)
 * I can only see the difference being something with the development environment. As no changes have been made with it... Reedy Boy 20:15, 29 June 2007 (UTC)
 * I've posted the script (150 KiB) if you want to look at it. —Dispenser 20:33, 29 June 2007 (UTC)
 * Thanks, I'll have a look Reedy Boy 20:38, 29 June 2007 (UTC)
 * I dont seem to have the problem using the latest SVN version... Reedy Boy 20:41, 29 June 2007 (UTC)
 * Its only when the Advanced Find and replace dialog is open. It really no biggie.  —Dispenser 21:05, 29 June 2007 (UTC)
 * Ok, the change i made should help improve to an extent. Reedy Boy 21:07, 29 June 2007 (UTC)

Login problems
Fixed in. Max S em 09:34, 1 July 2007 (UTC)

Doesn't remove duplicates
Should be fixed above in "Remove duplicates puts in old info". Max S em 09:12, 1 July 2007 (UTC)

Splash screen freezes (but not AWB)

 * Clicking on it tends to get rid of it. Reedy Boy 13:47, 1 July 2007 (UTC)
 * I made it close instead of hiding. Hopefully, it fixes this problem. Max S em 13:55, 1 July 2007 (UTC)

Remove duplicates puts in old info
Fixed in. Max S em 20:02, 30 June 2007 (UTC)

Minor design issues

 * Max already changed the first one, so the login button is only enabled if there are profiles. (Fixed after last release i believe)
 * And the 2nd one, for the last pre-release version i did, it was just because i was lazy, and just included the plugin in the root directory. As per prior official releases, this wont be the case. Reedy Boy 18:25, 1 July 2007 (UTC)
 * Ah, okay. Thanks. :) --S up? 18:47, 1 July 2007 (UTC)

Google search with allintitle:

 * Google link: http://www.google.com/search?q=allintitle%3A%22template%3A*%2Fdoc%22+site%3Aen.wikipedia.org


 * AWB Link: http://www.google.com/search?q=Allintitle:\"template:*/doc\"+site:http://en.wikipedia.org&num=100&hl=en&lr=&start=0&sa=N&filter=0


 * So AWB is encoding it differently it would seem... Reedy Boy 19:01, 3 July 2007 (UTC)
 * Its escaping regex characters it would seem... Reedy Boy 19:08, 3 July 2007 (UTC)

Now http://www.google.com/search?q=Allintitle:template:*/doc+site:http://en.wikipedia.org&num=100&hl=en&lr=&start=0&sa=N&filter=0

Just need to unicodify/whatever its called... Reedy Boy 19:28, 3 July 2007 (UTC)


 * Damned thing. It turns out that google just didnt like Allintitle - AWB turned the first letter to uppercase. I've prevented that now on google searches.


 * Fixed - Reedy Boy 20:15, 3 July 2007 (UTC)

Main article fix doesn't catch a full stop

 * - Fixed Reedy Boy 14:46, 3 July 2007 (UTC)
 * Thanks! mattbr 20:18, 3 July 2007 (UTC)

PS. Just to say I think the new diff generator thing is great! mattbr 12:09, 3 July 2007 (UTC)

Profiles can't be edited (unhandled exception)
Probably cause i made some changes and didnt test... Reedy Boy 19:22, 4 July 2007 (UTC)
 * I'm debugging the logging code Sam, so perhaps we can talk on MSN some time about plumbing the profiles code in to the log upload code (if you're not already working on it). --kingboyk 19:48, 4 July 2007 (UTC)
 * Just to confirm that I ran into the same error, in the same fashion. Apart from that, I'm impressed! --kingboyk 21:03, 4 July 2007 (UTC)


 * It will be something minor (ok its throw exceptions), im pretty sure it will be a quick fix. Its also pointed out a few more changes needed... Reedy Boy 09:32, 5 July 2007 (UTC)


 * Was trying to decrypt the password when the password was blank... Already fixed in other places, but not there!
 * Fixed - Reedy Boy 16:22, 5 July 2007 (UTC)

Always adds updated pages to watchlist

 * Fixed -
 * It was because the code actually only checked for one condition, and then set it as such. Meaning it could only be turned on. Same occured for minor edits. Both fixed! Thanks, Reedy Boy 16:26, 5 July 2007 (UTC)

Log tab & skipping code breakage
and might be the culprits. Hopefully Sam and I will be looking at this later today. --kingboyk 13:34, 17 July 2007 (UTC)

seems to work and I would hazard a guess that it's approximately the point at which the binaries committed in were compiled. --kingboyk 17:13, 17 July 2007 (UTC)

I've attempted to restore the broken functionality by manually taking the "best" versions of each file. I have a clean compile and basic functionality, but at least one new breakage to fix. If anybody needs it, is the last "good" revision before these changes. --kingboyk 21:07, 17 July 2007 (UTC)

I fixed, as far as I can tell, log tab & skipping code breakage by. I can't guarantee that nothing else has broken, because I had to do some merging of revisions, but I've not found anything yet. This of course is what testers are for :) Log uploading seems to be failing because we're not sending the correct token in WPEditor. More info at Wikipedia_talk:AutoWikiBrowser/Dev. --kingboyk 00:23, 18 July 2007 (UTC) PS Please leave this bug report in place for at least a few days Sam, although it does appear that this specific bug has been nailed
 * Martin suggested wrapping the token-acquiring code in a Urlencode, which appears to have done the trick. I've added some tracing ability to the uploader too, so if anything else does go wrong it will be easier for folks to file a meaningful report. This work will be committed soon. --kingboyk 17:23, 18 July 2007 (UTC)