Wikipedia talk:AutoWikiBrowser/Archive 10

message: 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
*
To
*
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)
replies: text: 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)
replies: text: Thanks for the information, I really need to read up on regex or find a friendly expert. :-) --Brianmc 10:56, 1 September 2006 (UTC)
thread_title:  Formatting templates 

message: 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)
replies: text: 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)
replies: text: Okay, Wikinews now has WP:AWB referring people to the project page. --Brianmc 10:48, 1 September 2006 (UTC)
thread_title:  Edit summary link 

message: 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)
replies: text: 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)
replies: text: 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)
replies: text: It should be fine. Only one way to be sure though. Martin 12:53, 1 September 2006 (UTC)
replies: text: Hehe, yep! --kingboyk 12:54, 1 September 2006 (UTC)
thread_title:  Hiding tabs from plugin 

message: 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)
replies: text: Ok, I see whats wrong, fix will be in next release. thanks Martin 10:27, 2 September 2006 (UTC)

text: Ooh, small world - that's a CFD nomination of mine :) --kingboyk 10:46, 2 September 2006 (UTC)
replies: text: New release 3.0.2.9 did the job.  Thanks for the fix. --After Midnight 0001 21:23, 3 September 2006 (UTC)
thread_title:  Possible bug in Categorisation 

message: 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)
replies: text: Oh yeah, what a stupid error, fix in next release. thanks Martin 10:27, 2 September 2006 (UTC)
replies: text: Found when someone went "where the $#@% did you get AWB for Wikinews?" :-) --Brianmc 15:30, 2 September 2006 (UTC)
thread_title:  Notification of new messages 

message: Hi Martin, I encountered a little image commenting out bug, see this diff.  A random line break was previously added, so the formatting was
 Del Marquis (born Derek Gruen August 31 1979, New York) is ...
Just letting you know. —Mets501 (talk) 16:55, 2 September 2006 (UTC)
thread_title:  Image bug 

message: 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 
replies: text: Great! Thank you very much!--Xtv - (my talk) - (que dius que què?) 19:10, 3 September 2006 (UTC)
thread_title:  Problems 

message: 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)
replies: text: Turn off the "Bypass redirects" option in the "General" menu. Martin 18:26, 3 September 2006 (UTC)
thread_title:  Redirects 

message: Even on fully localized projects, English names of special namespaces still could be used. For example, on de: you can use  instead of . 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)
thread_title:  International issue 

message: 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  the  tag was added and the other  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)
replies: text: 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)
thread_title:  Auto tag - Uncategorised 

message: 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)
replies: text: Ok, will do. Martin 19:40, 6 September 2006 (UTC)
thread_title:  Request to add Chinese Project Support 

message: 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)
replies: text: 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)
thread_title:  Add to selected list from category 

message: AWB wants to change
** YRUU: () Young Religious Unitarian Universalists
into
** YRUU: () Young Riousacrileg$2 Unitarian Universalists
Mistake on the typo list?
Reedy Boy 19:05, 7 September 2006 (UTC)
replies: text: Yes, it was a typo list error, I've fixed it now. Martin 19:26, 7 September 2006 (UTC)
thread_title:  [[Acronym and initialism]] Random Edit 

message: 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)
replies: text: 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)
replies: text: Thank you. Found it -- Lost(talk) 09:02, 8 September 2006 (UTC)
thread_title:  minor edits 

message: 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)
thread_title:  Plugin example code 

message: I recently separated the surname template so it no longer redirects to hndis.  One of the "general fixes" for AWB appears to replace  with .  How can that fix be disabled for AWB in general? -- JHunterJ 17:23, 9 September 2006 (UTC)
replies: text: I've changed it in the next version, I'll release it now. Martin 18:36, 9 September 2006 (UTC)
thread_title:  hndis and surname 

message: I just tried running AWB for the first time. After having set up my procedure, when I press "Start the process", I keep getting the error message "You are not enabled to use this." It then opens a window to Wikipedia:AutoWikiBrowser/CheckPage, on which I am clearly listed as a registered/enabled user. Did I set up my procedure wrong? --Ginkgo100 talk · e@ 22:21, 10 September 2006 (UTC)
thread_title: Not enabled to use this?