Wikipedia talk:AutoWikiBrowser/Feature requests/Archive 5

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1 Archive 3 Archive 4 Archive 5 Archive 6 Archive 7 Archive 10

Implemented

Appending reference section

Status Feature added in next release
Description Add the <references/> with section header to articles which use Extension:Cite, but lack said tag. An implementation currently exists in DumZiBot. For more background see User talk:NicDumZ#Question. — Dispenser 13:00, 27 March 2008 (UTC)
Added in revision 4.5.0.0
I also have and implementation of this, in C#, but I have found it difficult to be able to automatically determine the correct placement of the references header with 100% accuracy, which means that sometimes my script has to give up on attempting to add to the references section. Still, I have some code which can correctly add a references section to the majority of articles that are missing it. Rjwilmsi 08:49, 23 November 2008 (UTC)
rev 3819 Added logic within general fixes to add {{reflist}} where it's missing (most situations caught). Logic restricted to en wiki only. Rjwilmsi 20:00, 23 January 2009 (UTC)
I suspect the Metadatasorter might be a better way to put it in order... Reedy 20:18, 23 January 2009 (UTC)

Broken hyperlinks

Status Feature added in next release
Description While working on my external links script I came across some broken link which were only caused by syntax. the format of the links are [http://...index.html''title text''].[1] The reason why they show up correctly is because the mediaWiki parser changes ''text'' to <i>text</i> and the link does not included <> eg *[http:// www.stickycarpet.com/dam/dam194X.htm Complete 194X series] . Please a general rule that'll fix this. —Dispenser 22:25, 14 July 2007 (UTC)
Added in revision 4.5.0.0
If anyone wants a regex its \[\w://[^][<>"\s]*?''[^][]*\]Dispenser 18:44, 31 July 2007 (UTC)
The stickycarpet.com domain has been nominated for blacklisting due to spam problems so I have disabled the link above to www.stickycarpet.com/dam/dam194X.htm so as not to trigger the Mediawiki spam filter. Reference: meta:Talk:Spam blacklist#stickycarpet.com (permanent link). --A. B. (talk) 01:38, 11 August 2007 (UTC)
Reedy, if you want a failsafe version it would be (\[\w://[^][<>"\s']*?)(''[^][]*\]) to be replaced with $1 $2Dispenser 22:15, 23 August 2007 (UTC)
Thanks. MaxSem is fiddling with general fixes atm. I'll point him here and ask him to add it :) Reedy Boy 22:20, 23 August 2007 (UTC)
Rule:    Add space to external links separated by a HTML entity and double-quote
Replace: \[(\w://[^][<>" ]*)([<>"][^][]*)\]
With:    [$1 $2]

Rule:    Add space to external links separated by wikimarkup converted into HTML entities
Replace: \[(\w://[^][<>" ]*?)(''[^][]*)\]
With:    [$1 $2]

Tests:

  1. span tag
  2. > sign
  3. < sign
  4. "Quotemark
  5. Wiki italics
  6. Wiki bold
  7. Wiki bold & italics
  8. [2]

As you can see not at full proof as I'd like, however, I'd say that the " and double don't have flaws. —Dispenser (talk) 07:15, 18 November 2007 (UTC)

# Commons fixes for URLs
text = re.sub(r'(http:?/+)+', 'http://', text)                      # Silently correct http://http:// mistakes
text = re.sub(r"(\[\w+://[^][<>\"\s]*?)''", r"\1 ''", text)         # Italics and bold misforgivings in the php render

Some code from my tools. — Dispenser 04:43, 26 February 2008 (UTC)

I've used the (http:?/+)+ fix in AWB: based on the March database dump there were 976 articles matching the pattern (http:?/+)\1 (replacing with http://). Of these, about still 454 contained errors yesterday, which I've now fixed. I think this can be included as a new general fix. I'll have a look at the second one this evening. Rjwilmsi 07:03, 11 June 2008 (UTC)
I've had a look at the second one: in itself it's not a terribly useful fix as [www.site.com''my cool site''] is displayed and linked the same way as [www.site.com ''my cool site'']. Still, it perhaps makes things neater (like Category: instead of category:) so can be a new general fix too. However, a related fix is (\[\w+://[^][<>\"\s]*?)\|'' to $1 '' and this fixes [www.site.com|''my cool site''] which links with the bar at the end of the URL (i.e. incorrectly), to [www.site.com ''my cool site''] . So I certainly I propose this as a general fix. Thanks Rjwilmsi 20:15, 11 June 2008 (UTC)

The two fixes I proposed worked without error, please now add them as general fixes. Thanks Rjwilmsi 22:27, 3 July 2008 (UTC)

So which 2 do we want to implement?
text = re.sub(r'(http:?/+)+', 'http://', text)                      # Silently correct http://http:// mistakes

and

(\[\w+://[^][<>\"\s]*?)\|'' to $1 ''

? Reedy 09:05, 15 September 2008 (UTC)

Yes please, those being the two I've tested. Thanks Rjwilmsi 12:45, 15 September 2008 (UTC)
Will look at getting those implemented tonight. Reedy 12:57, 15 September 2008 (UTC)
rev 3376. Anything else from this request to be implemented? Or is that it for this? Reedy 19:43, 15 September 2008 (UTC)
rev 3379 adds another test. Reedy 20:23, 15 September 2008 (UTC)

Available in 4.5.0.0 release. Rjwilmsi 19:28, 27 January 2009 (UTC)

Using AWB on 3rd-party site that uses .php5 extension

Status Feature added in next release
Description I'd like to use AWB on a third-party site to simplify some mass changes I have planned (template removal) but the site relies on the ".php5" extension to function properly. This is a hosted site and unfortunately this cannot be changed. As a result, I get the "Error connecting to wiki" error message. I know the custom site info is set properly in the AWB preferences. Is there somewhere I can tweak the AWB settings to look for the ".php5" extension instead of ".php" or am I just SOL on this? Thanks! -- B.Rossow talkcontr 20:50, 14 January 2009 (UTC)
Added in revision
Cant do atm, but could put a check box in to say use ".php5" i suspect... Reedy 20:57, 14 January 2009 (UTC)
Thanks for the quick reply. I figured that was the answer. A checkbox in a future update would be greatly appreciated! -- B.Rossow talkcontr 21:05, 14 January 2009 (UTC)

For my info, just entry points - index.php, api.php Reedy 17:04, 17 January 2009 (UTC)

Done rev 3824 Reedy 20:20, 25 January 2009 (UTC)

Ref ordering

Status Feature added in next release
Description Often times, multiples references are not sorted in order. For example you might have a text like this:

Fact 1 is established.[1] Fact two is also established.[2] Organization D said that Fact 1 is indicative of phenomena A,[3] B,[4] and C.[5] While the relation between fact 1 and 2 is unclear,[2][1] there is consensus amongst the Foobar community that the relation cannot be derived by the Foo–Bar theorem.[2][5][3][1]

References
  1. ^ a b c Fact1
  2. ^ a b c Fact2
  3. ^ a b PhenA
  4. ^ PhenB
  5. ^ a b PhenC

I propose that AWB orders the refs so they always appear in order (i.e. like this):

Fact 1 is established.[1] Fact two is also established.[2] Organization D said that Fact 1 is indicative of phenomena A,[3] B,[4] and C.[5] While the relation between fact 1 and 2 is unclear,[1][2] there is consensus amongst the Foobar community that the relation cannot be derived by the Foo–Bar theorem.[1][2][3][5]

References
  1. ^ a b c Fact1
  2. ^ a b c Fact2
  3. ^ a b PhenA
  4. ^ PhenB
  5. ^ a b PhenC

Headbomb {ταλκκοντριβςWP Physics} 14:42, 29 December 2008 (UTC)

Added in revision
This would be doable, but is there consensus in favour of such changes - this could create large diffs in articles without actually changing very much? Rjwilmsi 22:58, 12 January 2009 (UTC)
I support this addition. We have to improve the way references are given in articles. -- Magioladitis (talk) 23:00, 12 January 2009 (UTC)
I checked somethings about this and I don't think the actually diffs wouldn't be very large. Most (all?) instances of bad ordering is caused by misplaced tags of the <ref name = <Kerr2000"/> kind, not those of the <ref name="Kerr2000">Large amount of text</ref> kind. So what would show up in the diffs is moving strings of roughly 20 characters, not the references with the citetion templates. Headbomb {ταλκκοντριβς – WP Physics} 03:59, 15 February 2009 (UTC)
I have something working to do this, but it takes a few seconds to run. I need to see if I can improve the performance before adding it to AWB. Rjwilmsi 08:03, 18 February 2009 (UTC)
rev 3983 Working code added, but sometimes an article needs two saves to get all changes – need to review and maybe add second parse or something. Rjwilmsi 00:41, 19 February 2009 (UTC)
As I've just mentioned to Rjwilmsi, this policy is the height of pointlessness and it is messing with articles with no gain. The example is fin ebut when you have the same source giving different facts in different areas of the article it looses all meaning - and this idea is already rather thin on the ground. Is reshuffling references really a top priority for Wikipedia's work? Its not like we have too many editors, isn't there something useful? Not bothered if you continue as it isn't doing any harm, except wasting effort.- J.Logan`t: 14:42, 19 February 2009 (UTC)

rev 3986 Added logic to handle three or more consecutive references. Done. Rjwilmsi 23:46, 19 February 2009 (UTC)

Non breaking spaces

Status Feature added in next release
Description Could (as part of the "apply general fixes" feature) AWB add non breaking spaces? Per Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces there should be a &nbsp; between a measurement and a unit so that it doesn't wrap onto the next line leaving 4 on one line and kg on the next. User:AndyZ/peerreviewer picks up on this so perhaps there would be a hint in the code there? Thanks, James086Talk | Email 12:41, 8 October 2007 (UTC)
Added in revision

If we ask nicely, i suppose, we can probably use the regex's/whatever and add via a similar method... Reedy Boy 22:00, 8 October 2007 (UTC)

Yes please! Would that mean something like the "Find and replace" feature? James086Talk | Email 00:14, 9 October 2007 (UTC)

Yes and no. You could probably do it manually via that method, but to include it automatically in the general fixes, i presume, it would be a set of regular expressions looking for certain matches, and then replacing the space in it with a non-break space Reedy Boy 09:38, 9 October 2007 (UTC)

Please do not add this feature. Breaking spaces are a good thing. Non-breaking spaces make Wikipedia difficult to read on small screens. Lightmouse (talk) 17:35, 4 July 2008 (UTC)

Not really in this case. A linebreak between a measurement and the unit is more difficult to read than the same without the linebreak, and measurement + unit is often so short it does not matter when it comes to small screens. Denying this feature because of screen real estate would be kind of similar to restricting usage of long words. Plrk (talk) 21:56, 4 July 2008 (UTC)

Agree with Plrk – the MOS is clear that a non-breaking space should be used for units. The objective now is to provide >99.9% reliable regexes to apply this, so that they can start to be added into AWB. Rjwilmsi 22:02, 4 July 2008 (UTC)

Just incase anyone's unclear on this, Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces states that nbsp's are only needed for abbreviations and symbols, so spelled-out unit won't need them. Epbr123 (talk) 23:10, 4 July 2008 (UTC)

Thanks, Epbr123 for pointing out the guidance. The issue of nbsp is much discussed on Wikipedia but hardly anywhere else. Perhaps it is regarded as less important and I suspect the 'do not care much' view is common. For example, BBC news is not too worried about them, it allows line breaks in the middle of units. I know that dissenting on this topic is rare but I happen to be a dissenter. The best that I can hope for is that you do not exceed the guidance. Lightmouse (talk) 23:54, 4 July 2008 (UTC)
Clearly we won't exceed the MOS guidance, and yes I think we had all understood that this applies to abbreviated units only. To kick things off, here's a suggestion for handling SI base units. We would of course need to avoid changing things in templates, URLs and links etc. and there would be false positives on million for metre and 1980s for seconds:
<find>\b(\d?\.?\d+)\s*((?:c|m|k|n)(?:m|g)|A|K|mol|cd)\b</find>
<replace>$1&nbsp;$2</replace>
<Comment>add a non-breaking space between amount and unit such as 3.54mm, 50km, 5 cm, 3.2mol etc.</Comment>
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>

How does it look? Thanks Rjwilmsi 01:28, 5 July 2008 (UTC)

You can replace [0-9] with \d
Lightmouse (talk) 06:48, 5 July 2008 (UTC)
Okay Rjwilmsi 07:43, 5 July 2008 (UTC)

rev 3851 Logic similar to the above added to cover the most common base units (but not plain 'm' and 's' due to '50m people' and '1980s' etc.). Rjwilmsi 19:59, 27 January 2009 (UTC)

This feature is now working (svn3888). I know this is a minority view but I really don't like it. It makes the edit mode text harder to read. Lightmouse (talk) 12:10, 31 January 2009 (UTC)
A possible refinment could be to use the now fixed {{val}} template (with numbers with 12 significant digits or less), or the use of {{nowrap}} instead of &nspb;. I'm just suggesting things, since I really don't mind seing &nbsp;s in the edit window.Headbomb {ταλκκοντριβς – WP Physics} 23:12, 15 February 2009 (UTC)

Move dablinks at the very top of the article

Status Feature added in next release
Description According to MoS (WP:ACCESS templates as {{for}}, {{otheruses}}, etc. should be placed at the very first line of the article before other tags of article content. Can AWB move these templates on the very top? -- Magioladitis (talk) 23:13, 12 January 2009 (UTC)
Added in revision > 4.5.0.0
I'm working on this. Rjwilmsi 13:31, 29 January 2009 (UTC)
rev 3881 Done. Templates supported are (?:For2?|[Dd]ablink|[Dd]istinguish2?|[Oo]therpeople[1-4]|[Oo]therpersons|[Oo]therplaces[23]?|[Oo]theruses-number|[Oo]theruses[1-4]?|[Rr]edirect-acronym|[Rr]edirect[2-4]?|[Dd]n|[Aa]mbiguous link|[Dd]isambig-acronym). Rjwilmsi 21:19, 30 January 2009 (UTC)

Replace nofootnotes with morefootnote if references exists

Status Feature added in next release
Description That's an easy one. If there is at least one <ref></ref> replace {{nofootnotes}} with {{Morefootnotes}}. I would also suggest if there "many", let's say five, to get a warning, in the same box that indicated that no categories were found, like "consider removing morefootnotes" -- Magioladitis (talk) 02:34, 3 February 2009 (UTC)
Added in revision
rev 3979 Adds the logic to replace {{nofootnotes}} with {{Morefootnotes}} as needed. Now need to do the warning bit... Rjwilmsi 19:02, 18 February 2009 (UTC)
rev 3980 Warning if >4 references but one of the above templates. Rjwilmsi 19:22, 18 February 2009 (UTC)

Removing ordinal indicators from dates

Status Feature added in next release
Description Per Wikipedia:Manual of Style (dates and numbers)#Dates: "Wikipedia does not use ordinal suffixes or articles". Could removal of ordinal indicators be automated? As far as I can determine, the only instance where straightforward removal of an ordinal suffix would result in an error is for dates in "the Xth of May" format (e.g. "the 14th of February"). Perhaps AWB could check for the presence of an "of" after the ordinal suffix and skip these cases... Black Falcon (Talk) 19:00, 3 May 2008 (UTC)
Added in revision >4.5.0.0
An additional consideration is the fact that text within quotes shouldn't be changed. However, the new version of AWB now includes logic to mask quotes, therefore this could be implemented. However, I would not intend to implement this until we are able to differentiate between trivial and visible general fixes (as in this fix would be a visible one). Thanks Rjwilmsi 19:11, 26 January 2009 (UTC)

rev 3874 New ('significant') general fixes to remove ordinals from American/International dates, and to remove 'of' between a month and a year per WP:MOS standards. Text in quotes, external links, templates etc. excluded. Rjwilmsi 00:37, 30 January 2009 (UTC) rev 3892 Don't catch "the Xth Month" or "the Month Xth" as changing such sentences makes them read badly. Rjwilmsi 15:15, 31 January 2009 (UTC)

Split 'Auto tag' into 'Auto tag remove' and 'Auto tag add'

Status Feature added in next release
Description Split 'Auto tag' into 'Auto tag (add)' and 'Auto tag (remove)'. I think there are far too many tags on articles and I would like to be able to remove them automatically. I have no interest in adding more so I don't use the current 'Auto tag' feature because it adds them. We discussed this before. I hope you don't mind me asking again. Lightmouse (talk) 14:27, 9 January 2009 (UTC)
Added in revision

The 'Auto tag' feature says that it does two things:

  • add tags
  • remove tags

I would be delighted to be able to remove excessive tags but I do not want to add tags. Can this feature be split? Lightmouse (talk) 12:27, 21 August 2008 (UTC)

I've done a bit of code refactoring for this, and it should be possible. Could split off function wise, but a few if's could sort it Reedy 15:31, 14 September 2008 (UTC)

It will be nice if you can get it working. Lightmouse (talk) 09:12, 16 September 2008 (UTC)

First of all, if you don't want to add tags automatically, there must be a reason for it. If you've encountered instances where AWB added unneeded tags, tell us where. Improvements to existing fnctionality are highly welcome regardless of implementation ofthis request. MaxSem(Han shot first!) 09:31, 16 September 2008 (UTC)

I have seen pages with:

  • multiple tags
  • low added value tags like:
    • 'this page is in the middle of an edit' even though the editor that added the tag has not changed it in 3 weeks
    • 'this is a short page, please make it longer'

I am sure there are more examples of tag use that I wouldn't like. Excessive tagging is probably due to misplaced enthusiasm by editors, rather than AWB. I have used 'merge' tags on a few occasions but in general I would like to see a net decrease in tags. Consequently, the remove tags part of the feature is something I welcome. Lightmouse (talk) 12:41, 17 September 2008 (UTC)

rev 3846 splits up the Tag Adding/Removing in the code, doesn't do anything gui wise though Reedy 14:27, 27 January 2009 (UTC)

Thanks. It currently has one checkbox with the label: 'Auto tag'. I imagine two checkboxes with labels 'Auto add tags' and 'Auto remove tags'. Or something like that. I look forward to seeing it on the gui when you have time. Lightmouse (talk) 14:39, 27 January 2009 (UTC)

As far as I understand the change is only in the code for easier implementation in the short future. Do you think we need too checkboxes as well? Is there any reason someone would not remove an orphan tag? -- Magioladitis (talk) 14:45, 27 January 2009 (UTC)

Thinking it through: I would class removing tags as a 'general fix'. So it should probably be added to that. The existing 'Auto tag' checkbox would be reduced in scope to adding tags only, but the label would not need to change. Lightmouse (talk) 14:59, 27 January 2009 (UTC)

Also makes more sense to me (or something nearer that). Dating tags and such too should be a GF Reedy 15:39, 27 January 2009 (UTC)
rev 3848. Still needs overhauling though (also removes more tags now) Reedy 16:29, 27 January 2009 (UTC)

Thanks. I look forward to getting it. I don't propose any tests but will run some if you want. Lightmouse (talk) 17:49, 27 January 2009 (UTC)

It correctly removed a stub tag from a large article. Thanks. Lightmouse (talk) 18:33, 1 February 2009 (UTC)

Differentiate between trivial and visible general fixes

Status Feature added in next release
Description There have been a number of good new additions to the AWB general fixes just recently. Some of these general fixes are more than just trivial changes, and in fact make a visible or significant change to the article (e.g. correcting a malformatted external link). Therefore I would like to differentiate between trivial and visible general fixes, and then introduce a third skip option which would say "skip if only trivial general fixes". Of course, we would need to agree which general fixes are trivial, and which make a visible difference. Thanks. Rjwilmsi 09:54, 21 September 2008 (UTC)
Added in revision >4.5.0.0

General fixes are by definition trivial, although that doesn't stop us from including them as a test in the DB scanner. — Dispenser 01:25, 13 October 2008 (UTC)

Disagree. Example: general fixes to correct misformatted external links like http:/www.site.com that would give a reader who clicked on it a 'page not found' error before correction. It's these sort of fixes that merit an edit even if there are no other changes. Thanks Rjwilmsi 11:38, 25 October 2008 (UTC)

rev 3857 Initial implementation of the above. FixSyntax and AddMissingReflist are marked as 'significant' general fixes. Other fixes need to be reviewed to see if they are significant too. Rjwilmsi 18:59, 28 January 2009 (UTC)

Custom Module to have similar 'Ignore...' settings as in 'Normal settings', 'Find & Replace' dialog

Status Feature already exists in AWB
Description Module to have similar 'Ignore...' settings as in 'Normal settings', 'Find & Replace' dialog. Can you make it so that module users can ignore certain things like 'inside links', 'inside quotes'? Some of the existing code for that dialog may be useful. In any case, can you make the regex visible so I can add it to my code? Lightmouse (talk) 13:54, 17 January 2009 (UTC)
Added in revision
The idea is you do it all yourself. If you want to "hide" links, etc (quotes except blockquotes aren't hidden by AWB), use the HideText object. Reedy 14:01, 17 January 2009 (UTC)

Yes, I like the flexibility to do it all myself. I believe that I have the hide text object in User:Lightmouse/AWB/scripts/add metric units, somebody kindly helped me with that. I am really now focussing on hiding quotes using my AWB scripts and in my monobook script. I just thought the Find and Replace dialog was a good example but I would prefer to do it myself. Regards Lightmouse (talk) 14:06, 17 January 2009 (UTC)

Since the functionality is already available, what's the request here (the hide quotes feature request is already known)? Rjwilmsi 14:14, 17 January 2009 (UTC)

The request was to allow the same functionality for modules. You have persuaded me that module writers should code for themselves and it isn't necessary so I suppose the answer to the request is 'Won't do'. I would be grateful if you could tell me how to code for hiding quotes, I know this isn't a regex help page but I don't know where else to go. My 'ArticleText = ht.Hide(ArticleText); doesn't protect quotes. Lightmouse (talk) 14:28, 17 January 2009 (UTC)

ht.HideMore and ht.AddBackMore would do Blockquotes... Reedy 14:34, 17 January 2009 (UTC)

Thank you. I added ht.HideMore at the top and ht.AddBackMore at the bottom. I am half way there, it knew that the quote is different but it replaced it with something else:

  • ⌊⌊⌊⌊M0⌋⌋⌋⌋

Any suggestions? Lightmouse (talk) 15:03, 17 January 2009 (UTC)

That's how HideMore works – it replaces things with tags like the above, then AddBackMore replaces them with what was there in the first place.
NB, I'm going to look at changing AWB to hide quotes from typo fixing (using a similar solution, which would be available to custom modules). Rjwilmsi 16:03, 17 January 2009 (UTC)

I had AddBackMore after AddBack. I put AddBackMore first and it works now. Thanks! Your other comment noted. Can you suggest a solution to protect quotes when using my monobook script? Lightmouse (talk) 16:44, 17 January 2009 (UTC)

I suspect converting HideText to javascript would be MORE than a ballache... Reedy 17:02, 17 January 2009 (UTC)

Somebody gave me some code that involves these lines: var linkmap=[]; txt.value=txt.value.replace(/Image:[^|]+/gi, function(img){ linkmap.push(img); return "\x02"+(linkmap.length-1)+"\x03"; }); txt.value=txt.value.replace(/\x02([0-9]+)\x03/g, function(x, n){ return linkmap[n]; I don't understand what it does but perhaps quote and cquote templates would need similar code. Lightmouse (talk) 17:09, 17 January 2009 (UTC)

I am marking this feature request as 'functionality already in existence' in AWB, as following the 4.5 release of AWB it is possible to hide quotes by calling the HideMore function. Any custom module writer who has problems using this functionality can contact one of the AWB developers for further help; the custom module user guide can then be updated with more examples. Rjwilmsi 19:40, 27 January 2009 (UTC)

Thanks. Lightmouse (talk) 10:20, 30 January 2009 (UTC)

I've added a brief example to the Custom Modules page here. Thanks Rjwilmsi 12:27, 30 January 2009 (UTC)

Listbuilder: links on pages excluding red links

Status Feature added in next release
Description In the list comparer, "make from", it would be nice to have, next to the "links on page" also an option "blue links on page". As an application example, all the blue links in the article List of chess grandmasters should coincide with the articles in the category Category:Chess grandmasters. Obviously the listcomparer is ideal for checking this. Currently, it only works to check whether all articles from Category:Chess grandmasters are in the List of chess grandmasters, but not the other way around.Voorlandt (talk) 13:51, 5 April 2008 (UTC)
Added in revision
Wonder if theres a way to modify the API query to deal with this.. i suspect not.. Reedy 21:56, 11 June 2008 (UTC)
Cant really be done without scraping the page (ie the colour of the html links, or checking each wikilink). You could put in a MW bug/request for an option to select only bluelinks.. Dont know if would get implemented. Reedy 10:20, 10 July 2008 (UTC)

[3] - Put in bug for developers to comment as to whether its feasible (its doable), just whether its too DB friendly Reedy 22:11, 15 October 2008 (UTC)

Seems its doable. Reedy 22:18, 15 October 2008 (UTC)

MaxSem: Any suggestions on the best way to implement this. Just needs to work through it and look for the attribute if its there... Reedy 18:26, 16 October 2008 (UTC)

Thanks a lot for looking into this, glad to see that it is not too far off now! Voorlandt (talk) 20:40, 16 October 2008 (UTC)
Well overdue - rev 4010 Reedy 23:12, 25 February 2009 (UTC)

{{commons|Category:XXX}} > {{commonscat|XXX}}

Status Feature added in next release
Description In general fixes, I hope add replace {{commons|Category:XXX}} > {{commonscat|XXX}}.--OsamaK 18:28, 29 October 2007 (UTC)
Added in revision

I think that could work. {{commonscat}} will work if the commons cat is the same as the name as the wiki page. Snowman (talk) 00:50, 26 February 2008 (UTC)

Am I right to assume that this should be restricted to the English Wikipedia only? And secondly, can somebody provide me with some examples of correct edits making such changes. Rjwilmsi 19:04, 26 January 2009 (UTC)

rev 4025 Done. Rjwilmsi 18:39, 26 February 2009 (UTC)

Hyphen to en dash replacement

Status Feature added in next release
Description Per WP:DASH, can we add the following replacements? I'm adding these from my prefs file; I've tested them extensively and they have minimal (if any) false positives.
    <Replacements>
      <Replacement>
        <Find>(pages\ ?=\ ?|pp\.?\ )([0-9]+)-([0-9]+)</Find>
        <Replace>$1$2&amp;ndash;$3</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
      <Replacement>
        <Find>([1-9]?[0-9])\ ?-\ ?([1-9]?[0-9])(\ |\&amp;nbsp;)(years|months|weeks|days|hours|minutes|seconds|kg|mg|kb|km|GHz|Hz|kHz|miles|mi\.|%)\b</Find>
        <Replace>$1&amp;ndash;$2$3$4</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
      <Replacement>
        <Find>(\[?\[?(January|February|March|April|May|June|July|August|September|October|November|December)\ [1-3]?[0-9]\]?\]?,\ \[?\[?[1-2][0-9][0-9][0-9]\]?\]?)\ ?-\ ?(\[?\[?(January|February|March|April|May|June|July|August|September|October|November|December)\ [1-3]?[0-9]\]?\]?,\ \[?\[?[1-2][0-9][0-9][0-9]\]?\]?)</Find>
        <Replace>$1&amp;ndash;$3</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
      <Replacement>
        <Find>(\$[1-9]?[0-9]?[0-9]?[0-9])\ ?-\ ?(\$?[1-9]?[0-9]?[0-9]?[0-9])</Find>
        <Replace>$1&amp;ndash;$2</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
      <Replacement>
        <Find>([0-1]?[0-9]:[0-5][0-9]\ ?([AaPp][Mm])?)\ ?-\ ?([0-1]?[0-9]:[0-5][0-9]\ ?([AaPp][Mm])?)</Find>
        <Replace>$1&amp;ndash;$3</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
      <Replacement>
        <Find>([Aa]ge[sd])\ ([1-9]?[0-9])\ ?-\ ?([1-9]?[0-9])</Find>
        <Replace>$1 $2&amp;ndash;$3</Replace>
        <IsRegex>true</IsRegex>
        <Enabled>true</Enabled>
        <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
      </Replacement>
    </Replacements>
Added in revision

I often find em-dashes used erroneously in these situations. Why not generalize the above to find and correct them (to en-dashes) too?--BillFlis (talk) 13:23, 7 May 2008 (UTC)

That's a good idea. The hyphen above could be replaced with (-|—|&mdash;|&#8212;).—Chowbok 14:14, 7 May 2008 (UTC)
Of course you mean (?:-|—|&mdash;|&#8212;) so you don't have to change $3 to $4 everywhere, etc.--BillFlis (talk) 14:41, 7 May 2008 (UTC)
Looks fine to me (and we know you know what you're doing regex wise ;))... MaxSem, you ok with it too? Reedy 18:22, 7 May 2008 (UTC)
Yes, that's better. Thanks!—Chowbok 18:38, 7 May 2008 (UTC)
So far I don't see a definite consensus at WT:AWB/T#Entries to move hyphens to en dashes. MaxSem(Han shot first!) 18:28, 7 May 2008 (UTC)
Nobody's objected to the idea of doing the substitution; the only disagreement is whether we should use "–" or "&ndash;" for en dashes. I would argue that since en and em dashes are already excepted from the UTF-8 substitution routines, we should by the same logic use "&ndash;"... but I'll leave this up to the discretion of the AWB developers.—Chowbok 18:38, 7 May 2008 (UTC)
I've changed my mind. Let's go ahead and put this in with the 8-bit en dashes instead of the entities.—Chowbok 15:46, 29 May 2008 (UTC)
well since the originator has decided to go with 8-bit, the only point of contention on the issue, it seems a good idea to implement this. -ΖαππερΝαππερ BabelAlexandria 17:18, 11 August 2008 (UTC)

rev 4029 Initial implementation of this. Still room for expansion, but let's see how we go first. Rjwilmsi 22:31, 26 February 2009 (UTC)

A small improvement to "find and replace" function

Status Feature added in next release
Description If an editor replaces "foo" with nothing instead of stating "Replaced foo ->", AWB could output "Removed foo". -- Magioladitis (talk) 13:53, 28 January 2009 (UTC)
Added in revision
Agreed, is a good idea. Unfortunately its not as simple as i expected, due to it only showing "Replaced:" once, then groups, i'll have to do some rework of the way the summaries are built up. Reedy 15:23, 28 January 2009 (UTC)
rev 4183 Not that difficult. Rjwilmsi 21:06, 9 April 2009 (UTC)

Section edit summaries

Status Feature added in next release
Description When AWB makes changes which only affect a single section, it should use the /* */ syntax in the edit summary to indicate this.
Added in revision

Hopefully not too complicated to implement, and I think it would be very helpful for people tracking certain parts of an article being able to disregard certain edits by AWB. BigBlueFish (talk) 10:55, 23 April 2008 (UTC)

Good idea. I second this one. Rjwilmsi (talk) 12:42, 23 April 2008 (UTC)

This was a complicated problem to work out, but I think I've got it. You have a regular expression that splits sections out like (^|(?<=\n))==([^\n]+)== *\n([^\n]|\n(?!==[^\n]+== *\n))* which breaks the article up into a list of level two sections. You search each new section in the original text, if it exist/stays the same you remove it the from the list. If you are left with one you can use either the heading of the section or repeat the search with level 3 headings. If the list is empty you restart the search comparing the old text to the new, checking if sections were removed. — Dispenser 07:56, 7 January 2009 (UTC)

I'll have a go at this one based on level two headings. Rjwilmsi 12:27, 8 April 2009 (UTC)
rev 4172 Added for level 2 headings. Further recursion to level 3 etc. could be added, but let's see how this logic goes first. Rjwilmsi 17:52, 8 April 2009 (UTC)

Fix accessdate tags

Status Feature added in next release
Description As a general fix include a fix to correct misspellings of accessdate as accesdate or acessdate, and fix dates formatted as YYYY/MM/DD or YYYY_MM_DD.

Suggested regex: find: "acc?ess?date( )?=( )?(200[0-9])[/_]([-0-9][0-9])[/_]([0-9][0-9])" replace: "accessdate$1=$2$3-$4-$5"

Also, replace acessyear and accesyear with accessyear.

Thanks Rjwilmsi (talk) 21:18, 30 April 2008 (UTC)

Added in revision
I've got quite keen on this one - User:Rjwilmsi/accessdate. There's an issue with the citation template which I think would need to be resolved before this could be an AWB general fix. Rjwilmsi (talk) 22:17, 11 May 2008 (UTC)
rev 4130, rev 4133, rev 4134. Rjwilmsi 07:08, 8 April 2009 (UTC)

Placement of portal template

Status Feature added in next release
Description Forwarding on a request... that the {{XX Portal}} template be moved under "See also" within an article when found elsewhere (namely at the top). I'm guessing that if the "see also" doesn't exist, that the section be created with the template underneath. I wasn't aware that it was supposed to be placed there, as I've generally seen it at the top of pages, however, Template:Portal does have the mention of the correct placement. SkierRMH 15:33, 28 October 2007 (UTC)
Added in revision
I'm working on this. Rjwilmsi 16:32, 8 April 2009 (UTC)
rev 4175. Done for {{portal}}. Rjwilmsi 19:30, 8 April 2009 (UTC)
rev 4203 support moving multiple portal templates in an article. Rjwilmsi 21:52, 13 April 2009 (UTC)

Remove {{uncategorized}} when a category exists

Status Feature added in next release
Description Remove {{uncategorized}}, {{uncat}}, etc. when a category exists -- Magioladitis (talk) 21:44, 16 December 2008 (UTC)
Added in revision
Think the tagger code needs overhauling TBH... Reedy 00:03, 20 December 2008 (UTC)
rev 3846 splits up the Tag Adding/Removing in the code. Helps towards the ease of adding the above Reedy 14:26, 27 January 2009 (UTC)
rev 4137 That should do it. Just need to add all the synonyms of {{uncategorised}}. Rjwilmsi 18:19, 3 April 2009 (UTC)
rev 4138 Adds all the redirects. Rjwilmsi 18:30, 3 April 2009 (UTC)

Add template to list of sources

I would also like to suggest adding template to the drop down list of sources. Although this would also be for the source drop down on the main page this would allow users to compare against templates (Military infobox template with no DEFAULTSORT template for instance).--Kumioko (talk) 18:55, 23 February 2009 (UTC)

What transcludes page? (with Template:Target as the target page) Reedy 19:54, 23 February 2009 (UTC)
Thanks, thats just proof that you (or I in this case)learn something new everyday.--Kumioko (talk) 22:32, 23 February 2009 (UTC)

Increase limit on size of article list

Status Feature added in next release
Description I'm thinking this should be an easy one. It seems that the limit on how big the list of articles you can work on at any one time is set at 25,000. And while I agree most people wouldn't need to work on more than 25,000 articles at one time, I've run into an instance where I would. I'm developing a bot running under AWB, designed to help with the backlog of Biography articles without listas parameter -- a list that's currently sitting at about 312,000 articles. Any chance of having that limit turned up? Thanks, Matt (talk) 06:23, 13 March 2009 (UTC)
Added in revision
This was the issue.., Most wouldnt need it, few would, and like you say, it easy and nicely doable. It was to be "nicer" to the WMF serves and prevent huge lists when users didnt need it. Its whether im happy about doing it in core, or just write a simple plugin (< 5 mins work) that would give you unlimited category traversal... Reedy 10:00, 13 March 2009 (UTC)
I'd be happy with a plugin. Didn't know this could be done with a plugin. I'd say if you choose to do it in core, make it a configurable option with a default of 25,000 (or even less). That should help prevent the WMF servers from being taxed quite as much by people who don't even bother to look at the option. Matt (talk) 22:52, 13 March 2009 (UTC)
While a Plug-In sounds nice; wouldn't it also be reasonable to assume that all bots might need a large article list, so let that group and admins get unlimited and regular users 25,000? Or is that thinking not possible? Either way, a plug-in does sound nice. §hepTalk 23:16, 13 March 2009 (UTC)
Not all bots need large lists. I am pro a plugin but not everyone should be able to load it. -- Magioladitis (talk) 23:31, 13 March 2009 (UTC)
Simplest way... Plugin that does it unlimited (recursive and non recursive) category traversal.. With a Bot/Admin check? Reedy 00:09, 14 March 2009 (UTC)
Would be possible to limit the access to Admins and bot which really need it and have taken approval for that? (Am I becoming to bureaucratic?) -- Magioladitis (talk) 00:14, 14 March 2009 (UTC)
I guess all the bots which needed will get the approval and the rest won't load it. I think a plugin with Bot/Admin check is ok. -- Magioladitis (talk) 08:03, 14 March 2009 (UTC)
That's what I was thinking. §hepTalk 00:35, 15 March 2009 (UTC)


"Category (NL, Admin & Bot)" and "Category (NL, Admin & Bot, recursive)". NL being no Limits. rev 4070, rev 4071, uploaded a snapshot Reedy 20:15, 15 March 2009 (UTC)

Thanks, §hepTalk 20:42, 15 March 2009 (UTC)
It works! Granted, it's slow, but I suppose that's to be expected when you're queueing up 285,000 articles. Thanks! Matt (talk) 06:22, 16 March 2009 (UTC)


Add defaultsort to pages with special letters and no defaultsort

Status Feature added in next release
Description Wikipedia:WikiProject_Check_Wikipedia#Title_with_special_letters_and_no_DEFAULTSORT Reedy 22:14, 16 March 2009 (UTC)
Added in revision
rev 4147 Added, but if article has {{lifetime}} it won't add a defaultsort. Need some more thought on that (would have broken existing logic otherwise). Rjwilmsi 23:19, 5 April 2009 (UTC)
rev 4148 Works with lifetime too. Done. Rjwilmsi 23:48, 5 April 2009 (UTC)

Good. It seemed to me that it already worked (WP:WPCHECK#Title with special letters and no DEFAULTSORT (AWB)). Sorry about that. -- User:Docu

It works fairly well with pages listed at check #37. One just has to keep in mind that pages like Sébastien Squillaci need a human name sortkey. -- User:Docu


For Vietnamese names, it could convert Cần Thơ to Can Tho. -- User:Docu
rev 4214 Done. Rjwilmsi 17:53, 15 April 2009 (UTC)
Thanks, I wasn't aware this is a list. For Vietnamese, just three are missing:
ƠưƯ => OuU
-User:Docu
rev 4219 Those three added too. Rjwilmsi 17:49, 16 April 2009 (UTC)

More reflist changes

Status Feature added in next release
Description Seems "<references>" and "<references></references>" are in use.. Should be replaced with {{reflist}} (or <references /> as they aren't correct syntax. Also generates cite errors if not right Reedy 22:34, 16 March 2009 (UTC)
Added in revision

rev 4082 Reedy 23:47, 16 March 2009 (UTC)

Status Feature added in next release
Description MaxSem has added a cache, use it! Reedy 21:38, 24 March 2009 (UTC)
Added in revision

rev 4141, rev 4142 Reedy 17:36, 4 April 2009 (UTC)

(Yet) more reference related changes.

Status Feature added in next release
Description Just a couple of things that have occurred to me:
  1. An alert to warn "<ref>s after <references/>"
  2. Recognising that the {{GR}} template adds references regardless of whether an appropriate section is available. A new section should be added to avoid cite errors. - Jarry1250 (t, c) 19:33, 26 March 2009 (UTC)
Added in revision
For first part rev 4162 provides the warning. For second rev 4163 provides existing warnings over no {{reflist}} or refs after {{reflist}} for {{GR|1}} etc. but not {{GR|r1}}. Rjwilmsi 18:05, 7 April 2009 (UTC)

Remove empty {{Article issues}}

Status Feature added in next release
Description I already have requested that but it was lost somewhere in archives: Remove {{Article ?issues}} (no parameters given. Empty articleissues makes no sense. -- Magioladitis (talk) 16:33, 2 April 2009 (UTC)
Added in revision
 Done rev 4136. Rjwilmsi 17:51, 3 April 2009 (UTC)

Add {{otheruse}} and {{2otheruses}} in the supported DABlinks

Status Feature added in next release
Description DABlinks are placed on the top. Support this function for {{otheruse}} as well. (Check here) For the latter one I would suggest to rename it as well to it original name {{Two other uses}} (Check here) -- Magioladitis (talk) 16:42, 2 April 2009 (UTC)
Added in revision
I'd like to see two things before this is implemented:
  1. you update the documentation at Wikipedia:Template_messages/General#Disambiguation_and_redirection to include these templates as top only; check that the templates are not commonly used in sections.  Done The table needed update. Magioladitis (talk) 12:19, 3 April 2009 (UTC)
  2. resolve your AWB bug over dablinks. Thanks Rjwilmsi 11:37, 3 April 2009 (UTC)
Bug resolved so can proceed. rev 4159 adds the two extra dablinks. rev 4160 adds the rename of {{2otheruses}} to {{Two other uses}}. Rjwilmsi 17:25, 7 April 2009 (UTC)

Converting single issue Articleissues (part II)

Status Feature added in next release
Description Check this one. When counting parameters in Articleissues, "article" and "section" parameters have to be excluded. (comment Be careful because parameter "sections" exists as well and should be take into count.) -- Magioladitis (talk) 16:51, 2 April 2009 (UTC)
Added in revision

And prepare to deal this this weird situation. There will be no "date" parameter in Articleissues. -- Magioladitis (talk) 17:10, 2 April 2009 (UTC)

I can do the first part. What should AWB do with the weird situation – remove the date=... bit? Thanks Rjwilmsi 11:41, 3 April 2009 (UTC)
Yes, remove it in any occurrence and in the case of {{Articleissues|date=anything}} completely remove the template. - Magioladitis (talk) 12:17, 3 April 2009 (UTC)
rev 4140 Done as part of that. Rjwilmsi 06:03, 4 April 2009 (UTC)

Match en dashes/emdashs from titles with those in the text

Status Feature added in next release
Description In pages like Alpher–Bethe–Gamow paper, AWB should search for instances of "Alpher-Bethe-Gamow paper" and switch them to "Alpher–Bethe–Gamow paper". Headbomb {ταλκκοντριβς – WP Physics} 11:41, 3 April 2009 (UTC)
Added in revision
rev 4145. Rjwilmsi 21:32, 5 April 2009 (UTC)

Remove arbitrary spaces after bullet

Status Feature added in next release
Description Remove arbitrary number of spaces of single (or no) one after bullet as I partially did here (check the original code because the result is not visible in diff) Magioladitis (talk) 18:45, 3 April 2009 (UTC)
Added in revision
rev 4146 Done. Rjwilmsi 21:44, 5 April 2009 (UTC)

Remove <font> tags

Status Feature added in next release
Description Do something like this and this to remove unnecessary html coding. -- Magioladitis (talk) 21:53, 3 April 2009 (UTC)
Added in revision
rev 4142 Done. Rjwilmsi 18:51, 7 April 2009 (UTC)

Section header level (WikiProject Check Wikipedia #7)

Status Feature added in next release
Description WikiProject Check Wikipedia#Headlines start with three "=" (error number 7) lists articles where the first headline level doesn't start with "==".

A simple fix for these would be to remove two "=" from all sections [4], [5] while making sure that there is no headline with "==" in the article [6].

sample for user_fixes.py (pywikipediabot)
fixes['headlines3'] = {
    'regex': True,
    'allowoverlap': True,
    'msg': {
        '_default':u'fix headlines ([[Wikipedia:WikiProject_Check_Wikipedia|WikiProject Check Wikipedia]])',
    },
    'replacements': [
        (u'(\=+)\=\=([^\=]+)\=\=(\=+)', r'\1=\2=\3'),
    ],
        'exceptions': {
                    'text-contains': [
                                '[\r\n]\=\=([^\=]+)\=\=',
                        ]
        }

}

--April 4, 2009 - User:Docu (sample updated April 5, 2009)

Added in revision
rev 4153 Done. Rjwilmsi 18:31, 6 April 2009 (UTC)
Thanks. In new pages, this type of issue still occurs frequently.
I noticed that the exception can be more limited as frequently "==External links==", "==See also==", "==References==" are inserted with "==". However, even with all these fixes, there are still about 3000 articles listed in the above check that need to be fixed differently. -- User:Docu

Headlines end with colon (WikiProject Check Wikipedia #57)

Status Feature added in next release
Description WikiProject Check Wikipedia#Headlines end with colon "=" listed a few pages with titles ending with a colon. The colon can generally be removed. This could be included in AWB as well. -- User:Docu
Added in revision
rev 4161 Done. Rjwilmsi 17:40, 7 April 2009 (UTC)
Great thanks. Once this and the other changes go live, we could ask sk to add a notice to WP:CHECKWIKI's news section for all languages. -- User:Docu

Change -- (two dashes) to — (em dash)

Status Feature added in next release
Description (suggested by bender235) A new general fix to change two regular dashes into one em dash per MOS:EMDASH. In order to avoid possible false positives, it should only match precisely two dashes and probably should be surrounded by alpha-numeric characters. I would suggest the follow regrex:

find: (?<=\w)\s*--\s*(?=\w)
replace:
Obviously, the fix should only be applied to article space to avoid changing signatures. --ThaddeusB (talk) 00:06, 18 April 2009 (UTC)

Added in revision
rev 4224 Done as requested, logic applied to the same restricted view of the article that typo fixing sees i.e. images, templates, quotes etc. all hidden. Rjwilmsi 14:06, 18 April 2009 (UTC)

Pre-parse list to purge it of negatives such as 'no change'

Status Feature already exists in AWB
Description Pre-parse list to purge it of negatives such as 'no change'. The total task time is the sum of the time to process the positives and the time to process the negatives. I would like to be able to pre-parse a list to remove the negatives. This would cut down the total processing time. Since there are no edits, such pre-parsing can be done without a bot flag and without human supervision. I think somebody else asked for such a thing but I couldn't find the request. Lightmouse (talk) 19:48, 15 March 2009 (UTC)
Added in revision
Errm.. If you preparse a list with any skip options you want on it, it'll remove those as it processes it.. Thats the whole point of it Reedy 19:58, 15 March 2009 (UTC)
But it's really good that Lightmouse asked this question because I had totally missed that feature until now. Awesome!--Fabrictramp | talk to me 20:05, 15 March 2009 (UTC)

Ooo. I use skip all the time but hadn't thought of using skip for preparsing. I will try it. I withdraw the request for now. Thanks. Lightmouse (talk) 20:27, 15 March 2009 (UTC)

I have tried this feature and I am very happy with it. Thanks. Feel free to remove the request. Lightmouse (talk) 07:29, 19 April 2009 (UTC)

Remove text that says Double-click on a line to undo all changes on that line, or single click to focus the edit box to that line.

Status Feature added in next release
Description Remove text that says Double-click on a line to undo all changes on that line, or single click to focus the edit box to that line.. This text uses up valuable space (about 10% of the 'Show changes' section). It adds no value for experienced users. It may provide a benefit to some beginners (not all - it did not help me, I found out another way) but a significant reduction in screen space for all users is a high price to pay. —Preceding unsigned comment added by Lightmouse (talkcontribs)
Added in revision

We must develop a mechanism that will display this message several times at first, and then will not do it. MaxSem(Han shot first!) 05:18, 12 May 2008 (UTC)

Saving in a settings xml wouldnt be appropriate. However, saving in the "Properties.Settings.Default" which we use for window size, state, etc etc, may make sense? Reedy 08:05, 12 May 2008 (UTC)

Further thoughts:

  • There are other elements that consume space that do not add value for the experienced user.
    • Column titles 'Current revision' and 'Your text'
    • The black box border around the column titles.
    • The black box border around the whole of the 'Show changes' text. This looks like it uses up space on all four sides of the frame.
  • Some applications have a 'Tips' dialog appear each time the application starts. They often have a check box for 'Show tips'. Such a dialog may be a suitable place for the message telling a new user what to do. Just a thought. Lightmouse (talk) 18:18, 12 May 2008 (UTC)
Here's a good idea: we could insert an anchor halfway one the line with "Current revision/Your text" such the text is cut off halfway. This arrangement hints to new users to scroll up to see the cutoff text any everything before it, while allowing people like Lightmouse who don't know about the custom CSS option to have more text when loading. — Dispenser 23:43, 13 May 2008 (UTC)

Seems a better idea to me. Then its there if anyone needs/wants it, but if its focused on that by default... Reedy 16:12, 22 May 2008 (UTC)

Someone fancy telling me what to do put the anchor in, etc... ;) (obv its <a>...) Reedy 10:04, 6 June 2008 (UTC)

It would be very nice if we could have more 'diff' visible on the screen rather than help text. Any way of moving forward with this one? Lightmouse (talk) 16:24, 27 June 2008 (UTC)

Diff scroll patch - Couldn't use an anchor (didn't know howto set to the top of the page, so its a javascript solution. I've also replace some HTML with CSS and adding more classes from MW diff, so user CSS is compatible. Lastly I'd recommend loading the style.css using a link element (<link rel="stylesheet" href="AWBPath/diff.css" type="text/css">) in the header and moving the CSS to the file. — Dispenser 03:16, 15 September 2008 (UTC)

rev 4225 After user has made 10 edits, stop showing the help text at the top of the diff. Rjwilmsi 16:14, 18 April 2009 (UTC)

Additional characters for DEFAULTSORT

Status Feature added in next release
Description Please add ṅ ẏ ḻ ṟ ṉ => n y l r n from [7]. This should help sort the reminder of this cat. -- User:Docu (April 24)
Added in revision
rev 4248 Done. Rjwilmsi 06:28, 24 April 2009 (UTC)

Move nofootnotes to the references section

Status Feature added in next release
Description According to its manual {{nofootnotes}} and {{Morefootnotes}}, should be placed at the references section and not at the top. Can AWB move these templates in the correct place? -- Magioladitis (talk) 14:46, 26 January 2009 (UTC)
Added in revision
How would AWB know what section is the references section of an article when 'References', 'Notes', 'Footnotes' etc. can all be used as that section's heading? I need more info & examples before I can implement this. Thanks Rjwilmsi 13:33, 29 January 2009 (UTC)
Since there is no general rule, the usual for me is to put in what occurs first from 'References', 'Notes', 'Footnotes'. If there is nothing of them I put it under the text before the nav templates. AWB can just leave it unchanged if none of the three exists. -- Magioladitis (talk) 02:31, 3 February 2009 (UTC)
Personally I prefer to have this at the top of the article, as this touches the entire article. Is there a guideline for the placement of the banner? Headbomb {ταλκκοντριβς – WP Physics} 05:39, 24 April 2009 (UTC)
Read the documentation please. It reads "To add this template to an article, copy and paste {{No footnotes|{{subst:DATE}}}} into the references section of the article." The reason is that we want the banner appear where the footnotes are supposed to be. Try reading {{unreferenced}} and {{refimprove}} as well and make sure that you are using the correct template to warn users. -- Magioladitis (talk) 05:44, 24 April 2009 (UTC)

rev 4264 The template will be moved from the zeroth section to the top of the first of the 'References', 'Notes' or 'Footnotes' sections if found. Rjwilmsi 18:27, 27 April 2009 (UTC)

Paste list

Status Feature added in next release
Description It would be awesome if I could just paste list from clipboard. Some tools, like WP:CHECK, generates plaintext lists on remote servers. Right now, if I want to use them, I have to copy them, paste into new text file, save it (and set proper encoding), choose "From text file", load it in AWB. It would be much easier, if I could just choose "From clipboard" and click "Make". Matma Rex pl.wiki talk 20:21, 3 May 2009 (UTC)
Added in revision
You *CAN* just paste from clipboard. Reedy 20:35, 3 May 2009 (UTC)
Eh, right. But it only pastes single article, even if I copied hundred lines. See [8] - when I ctrl+v on AWB, I get only "1 Brygada Strzelców Karpackich". But, even weirder, when I right-click it and choose "Copy", I have the whole list again in clipboard. It seems like AWB does not correctly handle "\n" instead of "\r\n", and new Opera 10 (which I use) copies "\n"s. When I tried copying from Firefox, it worked. It seems like we accidentally found new bug :) Matma Rex pl.wiki talk 14:19, 4 May 2009 (UTC)
It works for me when I paste into the list box. Interesting discovery BTW. -- User:Docu
rev 4281, that adds \n to the splitting list.. My internet is being crap, so haven't had chance to check it Reedy 10:20, 5 May 2009 (UTC)

Works for me now. Reedy 20:38, 10 May 2009 (UTC)

Add ability to sort summaries

Status Feature added in next release
Description Currently there is no way to sort the summeries in AWB. This change would add a button to the summeries option allowing users to sort the summeries.
Added in revision

I think that this is already possible by going to options (the drop down menu at the top of the screen, not the tab) and selected "edit summaries" or something similar (not positive that's where it is though; I'm not using AWB at the moment). –Drilnoth (T • C • L) 00:23, 10 May 2009 (UTC)

You can edit the list this way but the only way to sort is to copy it to excel or something and sort it that way and then copy and paste it back.--Kumioko (talk) 00:37, 10 May 2009 (UTC)

rev 4311 Reedy 20:36, 10 May 2009 (UTC)

Remove {{expand}} when a stub template exists

Status Feature added in next release
Description {{expand}} reads: "{{Expand}} should not be used on articles concurrently with stub templates - a stub template is an explicit request for expansion. It should only be used on articles that are beyond stub length, in place of a stub template." If the Article issues then AWB has to remove the expand parameter from it. -- Magioladitis (talk) 01:13, 10 May 2009 (UTC)
Added in revision
rev 4307 Done for en-wiki only, but note I have not allowed for people misusing expand tags by placing them in sections and meaning them as 'expand section' templates. Rjwilmsi 09:57, 10 May 2009 (UTC)
Thanks. Template misuse is a big problem. I am trying to think of ways to automatically fix some of it. -- Magioladitis (talk) 10:18, 10 May 2009 (UTC)

Format references

Status Feature added in next release
Description I would like to suggest new logic be added to place brackets around reference links without them. This page is included as an example.--Kumioko (talk) 00:58, 25 May 2009 (UTC)
Added in revision
If we do that they will just appear as numbered items, as they have no description. Is that really an improvement to the article? Rjwilmsi 07:02, 25 May 2009 (UTC)
True, perhaps that could be added as an alert then.--Kumioko (talk) 12:08, 25 May 2009 (UTC)
What wording would you like for the alert (keep it short)? Rjwilmsi 19:26, 25 May 2009 (UTC)
How about something like "Unformatted references found" or "Unbracketted references found". --Kumioko (talk) 19:48, 25 May 2009 (UTC)

Okay, I'll get this done in the next few days. Rjwilmsi 17:29, 27 May 2009 (UTC) rev 4387 display alert "unformatted references found" if references section of article contains bare URLs. Rjwilmsi 18:18, 28 May 2009 (UTC)

Replace BASEPAGENAME

Status Feature added in next release
Description Replace all instances of {{BASEPAGENAME}} with {{subst:BASEPAGENAME}}; this came up in some general fixes where there is a very poorly done DEFAULTSORT, but it could be a nice fix in general. –Drilnoth (T • C • L) 15:29, 10 May 2009 (UTC)
Added in revision
Got a link to say it should always be substituted? Rjwilmsi 17:12, 10 May 2009 (UTC)
Not specifically, but is there any reason that it shouldn't, at least in mainspace pages (which is what I meant, just didn't mention)? –Drilnoth (T • C • L) 20:24, 10 May 2009 (UTC)
At some point, wasn't there a fix that substituted PAGENAME ? If yes, I think it should be the same for BASEPAGENAME. -- User:Docu
PAGENAME/PAGENAMEE are still done. Reedy 21:38, 10 May 2009 (UTC)
Also, the mainspace doesn't use subpages so BASEPAGENAME is essentially the same as PAGENAME in ns:0. –Drilnoth (T • C • L) 21:46, 10 May 2009 (UTC)

rev 4342 BASEPAGENAME treated the same as PAGENAME. Rjwilmsi 16:51, 20 May 2009 (UTC)

Missing opening or closing brackets, table and template markup (WikiProject Check Wikipedia # 10, 28, 43, 46, 47)

Status Feature added in next release
Description At Wikipedia talk:WikiProject Check Wikipedia#Missing opening or closing brackets, table and template markup, I enumerated the various steps involved in fixing broken syntax like these. Possibly there is a way AWB could preload the sections and assist manual fixes of these. -- User:Docu
Added in revision
Plugin to read the section shown on CheckWikipedia page and highlight it in AWB edit box using find? Reedy might be able to.
I also intend to look through those errors and add logic to AWB general fixes to correct common ones with known patterns. Rjwilmsi 11:12, 9 April 2009 (UTC)
rev 4195 Provide logic to look for unbalanced square or curly brackets, provide warning to user, and optionally highlight them to user in edit box (first one found only). Activate new flag under Options menu, disable Highlight first unbalanced brackets if found.
Items remaining:
  • Some problem that means highlighted unbalanced bracket sometimes loses focus
  • Need to have logic to enforce the fact that auto focus end of edit box and Highlight first unbalanced brackets if found are mutually exclusive.
  • Include more logic to correct the most common bracket errors. Rjwilmsi 20:58, 12 April 2009 (UTC)
Excellent, thanks for implementing this. At WT:CHECKWIKI, we are looking forward for a new build to test it. -- User:Docu
rev 4202 add some regexes that fix a number of common bracket errors around references and external links. Rjwilmsi 18:23, 13 April 2009 (UTC)
rev 4210 logic to enforce the fact that auto focus end of edit box and Highlight first unbalanced brackets if found are mutually exclusive. Rjwilmsi 21:17, 14 April 2009 (UTC)
rev 4211 Focus on the unbalanced bracket is now how I want it. Rjwilmsi 23:05, 14 April 2009 (UTC)

Remove selflinks

Status Feature added in next release
Description A general fix to remove links to the current article and replace them with standard text... e.g., in the article Dog replace [[Dog]] with Dog. –Drilnoth (T • C • L) 20:57, 8 May 2009 (UTC)
Added in revision

Why I think there is an active discussion about that and that there was no consensus for that action? Is there anything written in the Manual of Style about that? -- Magioladitis (talk) 21:20, 8 May 2009 (UTC)

Where is the discussion? I guess that I missed it. Could you point me to it? Thanks. –Drilnoth (T • C • L) 21:22, 8 May 2009 (UTC)
There is a discussion in Wikipedia_talk:WikiProject_Check_Wikipedia under the "Title in text". There is a WP:NOHARM argument and more. WP:BOLDTITLE doesn't say anything for this change. You can participate there. You have to know that I weak support this change but this is not the place for this discussion. -- Magioladitis (talk) 22:08, 8 May 2009 (UTC)
Ah, right. That had slipped my mind; there doesn't seem to be consensus for or against the change there, so leave it as it is. –Drilnoth (T • C • L) 22:10, 8 May 2009 (UTC)
Hmm... it seems that this is already present in the recent SVN builds. I've been using it a little; if I notice many of these replacements that shouldn't have been changed I'll mention something here but so far it seems to be working perfectly. –Drilnoth (T • C • L) 02:49, 10 May 2009 (UTC)
Now it seems like it doesn't make the first instance of the article's name bold if it was previously bolded via a wikilink; it just removes the link. –Drilnoth (T • C • L) 02:53, 10 May 2009 (UTC)

AWB always used to do this, what happened? Rich Farmbrough, 13:35 11 May 2009 (UTC).

I think it is doing this again, I have made several edits since the release of the update yesterday and it is removing the self links again.--Kumioko (talk) 14:07, 11 May 2009 (UTC)
In updating the logic for the bolding of the first use of the article title I've inadvertently removed the 'first self link to bold' logic, so I'll reinstate it. Rjwilmsi 08:17, 14 May 2009 (UTC)
That one fixed at Bugs#Bold_names. Rjwilmsi 14:51, 19 May 2009 (UTC)

Remove duplicate parameters from templates

Status Feature added in next release
Description For example, in this edit AWB should have noticed it had two parameters named "update".
Added in revision

If the values of the parameters are different, only a warning can be given.-- Magioladitis (talk) 15:31, 11 May 2009 (UTC)

Better than nothing. --Pascal666 20:37, 11 May 2009 (UTC)
I can do remove if parameter and value are exactly the same, warn if parameters the same but different values. Rjwilmsi 22:13, 11 May 2009 (UTC)
That would be perfect. -- Magioladitis (talk) 22:15, 11 May 2009 (UTC)

This may already be partially implemented. rev 4312 just automagically made this edit. Perhaps the problem with my example above is that AWB was adding a parameter without checking if it already existed (in which case this would be a bug not a feature request). --Pascal666 05:35, 12 May 2009 (UTC)

rev 4140 Added for {{article issues}} and citation templates. Rjwilmsi 17:40, 27 June 2009 (UTC)

Count header link removal as a MOS fix

Status Feature added in next release
Description Basically what it says. Even with the minimum number of links requirement, the removal of links from section headers still get a good number of false positives, especially in articles about days and years. If this could be considered a MOS fix the same way that the date ordinal fixing is so that it can be turned off easily for bot use, that would be great. Thanks! —Preceding unsigned comment added by Drilnoth (talkcontribs)
Added in revision
Better to add exceptions. 'XXXX in poetry' and what else? Rjwilmsi 15:31, 29 June 2009 (UTC)
I'd say that most any article with a year # or month name in its title could get false positives, as would many, many lists (so skip articles with "list of..." in their titles). –Drilnoth (T • C • L) 15:34, 29 June 2009 (UTC)

rev 4660, rev 4661 Exceptions added: month name in title, year in title, title starts with 'List of'. Rjwilmsi 16:01, 29 June 2009 (UTC)

Awesome! Thanks. –Drilnoth (T • C • L) 16:04, 29 June 2009 (UTC)

Add option to stop AWB from taking the section header name in the edit summary

Status Feature added in next release
Description Something must have happened to the API, now AWB takes the section header in the edit summary, i.e. [9]. See related discussion: Wikipedia talk:AutoWikiBrowser#Edit summary issue (perm). –xeno talk 23:51, 13 May 2009 (UTC)
Added in revision
Nothing has changed in the API. Rjwilmsi explicitally implemented it - rev 4172 Reedy 23:55, 13 May 2009 (UTC)
Having this as an on/off option would be nice, so people who want it can use it and people who don't want it don't have to. I'm personally against its use, but I understand that others would like it. –Drilnoth (T • C • L) 01:24, 14 May 2009 (UTC)
While I appreciate the effort put into implementing this complicated feature, I'd like to reiterate my desire to make section edit summaries optional. In addition to issues related to edits made in the "section after the last section" or adding a new section, it also takes up precious space from the very limited number of characters available. And, of course, it messes up Xeno's meticulously crafted edit summaries. MANdARAX  XAЯAbИAM 02:14, 14 May 2009 (UTC)
Okay, I'll introduce an option to turn it off for those who write their own better edit summaries. Rjwilmsi 08:02, 14 May 2009 (UTC)
Thanks kindly =) –xeno talk 13:51, 14 May 2009 (UTC)
Any new SVN with the fix ( feature ? ) -- Tinu Cherian - 14:15, 14 May 2009 (UTC)
Patience. I haven't done it yet. When I mark this as fixed you'll see what SVN version includes it... Rjwilmsi 17:50, 14 May 2009 (UTC)

rev 4324 Provide option to not use section edit summaries. Rjwilmsi 20:01, 14 May 2009 (UTC)

Thanks again! –xeno talk 14:16, 15 May 2009 (UTC)

Correct case for %%key%%

Status Feature added in next release
Description The value in %%key%% (or inserted with right click / Insert tag / Human name DEFAULTSORT or Human name disambig tag) should follow the rule that the first letter of every word should be upper case and every other letter should be lower case. Currently (SVN 4340), AWB appears to correctly implement upper/lower case only for surnames. For example, it correctly does Maurice DuBois and Chris d'Lacey but gets LuAnn Ridgeway and Jan van Eyck wrong. MANdARAX  XAЯAbИAM 06:18, 20 May 2009 (UTC)
Added in revision

rev 4336 Applies this logic to the defaultsort key within the MetaDataSorter (AWB automatic addition/correction of defaultsort). I'll look into whether insertion via right click calls the same logic. Rjwilmsi 07:50, 20 May 2009 (UTC)

This has been requested under Wikipedia_talk:AutoWikiBrowser/Feature_requests#Formatting_for_defaultsort_and_lifetime_templates too. Rjwilmsi 07:57, 20 May 2009 (UTC)
I originally mentioned this as a reply to that request, but I moved it to a separate request because it's very different. I'm not suggesting that any changes be made as general fixes. I just want the value with correct capitalization to be available to users. Sort keys are tricky because there are so many complicated rules with many exceptions. My suggestion is to implement a simple rule with no exceptions. Rev 4336 does not fix %%key%% or right click insertion, as I tested it with SVN 4340. MANdARAX  XAЯAbИAM 08:40, 20 May 2009 (UTC)
rev 4341 Defaultsort added via context menu uses Proper Case for sortkey. Rjwilmsi 13:02, 20 May 2009 (UTC)
The same logic is used for inserting the disambig. Marking as added. Rjwilmsi 16:59, 20 May 2009 (UTC)

Detect multiple DEFAULTSORT

Status Feature added in next release
Description AWB doesn't detect the presence of multiple DEFAULTSORTs. Multiple DEFAULTSORTs also seem to prevent AWB from detecting duplicate categories. An example is this version of the James M. Phillips page. --Auntof6 (talk) 07:04, 6 June 2009 (UTC)
Added in revision

If would add to this: If both DEFAULTSORT and Lifetime exist then subst Lifetime to reveal categories and remove duplicated defaultsort. -- Magioladitis (talk) 07:54, 6 June 2009 (UTC)

rev 4445 Part fix: if all the DEFAULTSORTs are the same then remove all but one. Rjwilmsi 10:06, 6 June 2009 (UTC)
Thanks! Out of curiosity, what's missing that makes this is a partial fix? Thanks! --Auntof6 (talk) 10:43, 6 June 2009 (UTC)
If there are two {{DEFAULTSORT}} with different sortkeys then AWB won't remove either, as it how would it know which to remove? However I think the occurrence of this is so infrequent that it's not worth the effort to write lots of logic to handle it. Rjwilmsi 10:48, 6 June 2009 (UTC)
I thought I read somewhere that only the last one in an article is used. I'll see if I can find where I read that. If true, AWB could remove all but the last. --Auntof6 (talk) 11:14, 6 June 2009 (UTC)
It is the last used, but maybe not be the correct one. I agree with the partial implementation. -- Magioladitis (talk) 11:22, 6 June 2009 (UTC)
True, it might not be the correct one. I was just thinking that it's at least the one that's actually in effect. In any case, in most of the cases I've seen, they were all the same, so this will help. --Auntof6 (talk) 11:39, 6 June 2009 (UTC)
It would be extremely unlikely that you would find different sort keys. Such situations are quickly remedied, as the page would appear in Category:Pages with DEFAULTSORT conflicts, which I and several others monitor frequently. MANdARAX  XAЯAbИAM 17:54, 6 June 2009 (UTC)
Maybe an alert could be added in the cases where there are multiple defaultsorts but it can't remove them because they are different.--Kumioko (talk) 18:16, 7 June 2009 (UTC)
rev 4479 Alert per request, even though per Mandarax you'll likely not encounter it. Rjwilmsi 16:30, 8 June 2009 (UTC)

Date ordinals

Status Feature added in next release
Description I mentioned this in passing up a ways, but I wanted to ensure that it had been seen. I'd really appreciate it if the "FixDateOrdinalsAndOf" general fix could be deactivated in the "options" drop down box the same way that "sort interwikis" can. This particular fix gets enough false positives (things like book and film names, quotations, etc.) that it can't be done reliably by bot, but this is the only general fix that I need to have disabled at this point which can only be turned off via a custom module. It would be really nice to be able to use actual gen fixes and just deactivate this one, since there are a number of AWB features (like some of the skip options) which require general fixes to be used, and custom modules aren't general fixes. Thanks! –Drilnoth (T • C • L) 17:03, 20 May 2009 (UTC)
Added in revision
Disagree. The fix is designed to be 100% accurate and is not applied to quotations nor book titles etc. within the appropriate templates. False positives may arise because the article doesn't use the right templates, so it's the article, not AWB that needs correcting. SmackBot applies these fixes seemingly without problems e.g. [10]. Rjwilmsi 11:22, 21 May 2009 (UTC)
So does that mean that Kenneth W. Royce is formatted wrong, and the book titles should be in some template? This edit change ordinals incorrectly there when it was properly part of a book name. There are tons of books, films, etc. which aren't in templates; is there some template that they should be in? Anyway, what would be the harm in adding this feature? User talk:Drilnoth#April 15th also has some discussion about this after it had been mentioned up aways. –Drilnoth (T • C • L) 15:50, 21 May 2009 (UTC)
Any news on this? It would be much appreciated. Thanks! –Drilnoth (T • C • L) 15:56, 26 May 2009 (UTC)

Still believe all such fixes should be applied by bots to maximise the value of their edits, but rev 4490 you have your option "Do not apply WP:MOS fixes". Rjwilmsi 18:44, 12 June 2009 (UTC)

Thank you! I think that many MOS fixes can be applied by bot normally, but changing the "of"s and "th"s gets into typo-fixing, IMO, and so shouldn't be done by bot. Now I may finally be able to get rid of using a custom module! :) Thanks. –Drilnoth (T • C • L) 18:47, 12 June 2009 (UTC)

Sections containing brackets

Status Feature added in next release
Description There are sections in the United States Naval Aviator article that contain brackets. I think that AWB has an edit for this but may not go down far enough in the sections. Could we fix this so that it will remove brackets down to 4 levels.--Kumioko (talk) 02:36, 27 May 2009 (UTC)
Added in revision
You mean the logic to delink section headers? Rjwilmsi 11:26, 27 May 2009 (UTC)
Yes, sorry my fault I wasn't more clear.--Kumioko (talk) 12:47, 27 May 2009 (UTC)

Within Parsers.FixHeadings() RegexRemoveHeadingsInLinks, (which should be named RegexRemoveLinksInHeadings) is already supposed to support headings to level 4. There are no unit tests to cover it at level 4 though. We should add

Assert.AreEqual("===hello world ===", Parsers.FixHeadings("===hello [[world]] ===", "a"));
Assert.AreEqual("====hello world ====", Parsers.FixHeadings("====hello [[world]] ====", "a"));
Assert.AreEqual("====United States Marine Corps====", Parsers.FixHeadings("====[[United States Marine Corps]]====", "a"));

and see if they pass. If they don't then RegexRemoveHeadingsInLinks has a bug. I'm not at my PC so can't do this myself. Rjwilmsi 17:27, 27 May 2009 (UTC)

Sounds good thanks.--Kumioko (talk) 18:48, 27 May 2009 (UTC)

rev 4390 A bug really, now fixed. Diff of AWB edit. Rjwilmsi 18:48, 28 May 2009 (UTC)

Thanks again, I notice that there are stils some quotes contained in the headings and I think they should also be removed although I cannot find a reference at the moment. I will keep looking but I wanted to mention it in case someone else knows.--Kumioko (talk) 19:52, 28 May 2009 (UTC)

Please remove this or provide an opt-out option. AWB shouldn't do things like this, and there are plenty of other cases where doing this automatically is a Bad Thing. –Drilnoth (T • C • L) 19:19, 1 June 2009 (UTC)

I think instead of links on the headers there should be a "main article" link under the header. -- Magioladitis (talk) 21:24, 1 June 2009 (UTC)
I agree with you, but there are too many instances where links are in section headers but there aren't {{main}} links to have AWBots making the change... removing all of the links to those main articles, which certainly isn't correct. As I said, I'd be fine with this if there was a way to turn it on and off when wanted. –Drilnoth (T • C • L) 21:40, 1 June 2009 (UTC)
rev 4420 only remove links in headings if < 6 matches in article, otherwise (badly done) articles with 'list of...' and lots of links in headings will be further messed up. That's a reasonable solution as such articles need individual fixing to use {{main}} etc. Rjwilmsi 22:58, 1 June 2009 (UTC)
Sounds good; thank you. –Drilnoth (T • C • L) 23:00, 1 June 2009 (UTC)

Remove "format=HTML" in citation templates

Status Feature added in next release
Description This request actually consists of two parts:
  1. Removing instances of "format=HTM" and "format=HTML" from within citation templates. The documentation pages for citation templates indicate that HTML is implied to be the default page format and discourage explicitly indicating "format=HTML" (see, for instance, Template:Cite news#Usage). The presence of "format=HTML" adds unnecessary clutter to references for readers and in the edit window.
  2. Removing instances of "format=" from within citation templates that link to an HTML page. Same reason as above. The only difference is that this change will have a visible effect only in the edit window.

BLACK FALCON (TALK) 21:43, 18 June 2009 (UTC)

Added in revision
rev 4560 resolves first request. Rjwilmsi 07:35, 20 June 2009 (UTC)
Might this also be extended to language=English? Just in the citation templates, of course. - Jarry1250 (t, c, rfa) 08:56, 20 June 2009 (UTC)
rev 4569 Removes language=English on en-wiki only. Rjwilmsi 13:32, 20 June 2009 (UTC)
rev 4572 remove empty 'format=' field when URL is to HTML or HTM page. Rjwilmsi 14:05, 20 June 2009 (UTC)

Some additional edits

Status Feature added in next release
Description I have recently started working closer with featured content reviews and there are some things that have come up that I think would be good additions to AWB.
  1. Some pages have redundant pp. after page in citations (page= pp or page = pp.). Since page= creates the pp in the reference it renders like pp. pp.
  2. There seems to be quite a number of articles that have sentences that start with a number. Per the MOS on numbering Sentences that start with a number should have the number spelled out (should look like Twenty vice 20)
  3. Move inline citations after periods and commas. Per the MOS the inline citation should immediately follow a period or a comma, not before it.
  4. Would it also be possible to add something in for disambiguous pages, dead reference links, references without accessdate and/or publisher and images without captions? Even if its just an alert anything would help.--Kumioko (talk) 14:50, 19 June 2009 (UTC)
Added in revision
Hmm. 1 can certainly be a general-fix frond if not a general fix </plug>; 3 : WP:REFPUNC does not advise the changing from one style to another. 2 and 4 seem slightly less obvious. - Jarry1250 (t, c, rfa) 18:55, 19 June 2009 (UTC)
Here is the reference I was talking about on the page you just gave "When a reference tag coincides with punctuation, the reference tag is normally placed immediately after the punctuation, except for dashes". I do see where it says that some prefer the other style and the page should go with whichever style is more dominant in the article however when articles are going up for Good or featured status or are being peer reviewed that is one of the things that is consistently brought up that must be changed. --Kumioko (talk) 19:19, 19 June 2009 (UTC)
I completely support #1 and #3, but I am wondering whether #2 is unambiguous enough to include as an AWB general fix. How could we account for articles about mathematics, for instance, where it may be valid to start a sentence with a number (as in an equation)? Also, could we account for bulleted lists within articles that specify quantities or percentages? –BLACK FALCON (TALK) 20:08, 19 June 2009 (UTC)
Thats true and it could start with a date too, especially date related articles. (for example, 1999 was a year when...)--Kumioko (talk)

rev 4573 Adds request 1. Request 2: 'no way'. Request 3: no consensus to always do this even though it's the majority opinion. Rjwilmsi 14:25, 20 June 2009 (UTC)

Thanks, is there anything you can do for #4?--Kumioko (talk) 18:17, 22 June 2009 (UTC)
Warning if {{dead link}} found on page? Rjwilmsi 21:27, 22 June 2009 (UTC)
rev 4605 Warning if article has {{dead link}}. Rjwilmsi 19:38, 26 June 2009 (UTC)
Sweet, thanks.--Kumioko (talk) 17:34, 23 June 2009 (UTC)

Support new Mediawiki maxlag parameter

Status Feature added in next release
Description See Wikipedia:Bot_owners'_noticeboard#Maxlag_parameter and mw:Maxlag_parameter. --kingboyk 14:48, 23 April 2007 (UTC)
Added in revision

I suppose that it could be accomplished using the nudge timer? Does it work ok currently? MaxSem 18:26, 4 May 2007 (UTC)

I think it's probably a bit broken in terms of implementation. The basic idea certainly works, as it one's of several features which ran in my plugin without incident for some time, and which got moved over to AWB. The nudge timer would probably have to be modified somewhat anyway, so that it knows it's waiting on a maxlag retry (good) rather than possible network/server problems (bad). We also presumably have the page save timer for auto-save, that would be able to be removed. --kingboyk 16:30, 18 May 2007 (UTC)
The api stuff is being implementing caring for maxlag... Reedy 22:15, 21 February 2009 (UTC)

Partially implemented

Merge multiple tags into one template:articleissues tag

Status This feature is partially implemented
Description If an article has 3 or more tags, then make it easy to merge them all into a single {{articleissues}} tag. --Gary King (talk) 20:42, 6 February 2008 (UTC)
Added in revision >4.5.0.1
I'm not familiar with these tags, so would somebody please provide a list of the relevant tags or a link to such a list and some examples of edits that correctly combined these tags. Thanks Rjwilmsi 19:06, 26 January 2009 (UTC)
To do this you need a list of templates supported by {{articleissues}}. In most cases:

{{cleanup|date=January 2008}} {{story|date=January 2009}} becomes {{articleissues|cleanup=January 2008|story=January 2009}}. I don't find it so important to implement. For me would be better if we could implement the following: Id Articleissues has only one issue (this means only one "|") then convert it to the original template. This means that {{articleissues|cleanup=January 2008}} has to change to {{cleanup|date=January 2008}}-- Magioladitis (talk) 20:08, 26 January 2009 (UTC)

rev 3930 Implemented 'Articleissues has only one issue' fix. Thanks Rjwilmsi 19:12, 2 February 2009 (UTC)
Great. For the original request I would like to comment that there is no consensus for that, so it can't be a general fix in AWB. A bot request can be made as a start. -- Magioladitis (talk) 22:45, 2 February 2009 (UTC)


  • I think it's obvious that empty Articleissues tags have to be removed as I did here. This can be added it in AWB.-- Magioladitis (talk) 22:59, 3 February 2009 (UTC)
It can handle the line break but not article issues with a space in. I'll add an update to match on {{Articleissues}} and {{Article issues}}. Rjwilmsi 22:40, 5 February 2009 (UTC)
Reedy did it under rev 3950. rev 3951 updates the unit tests too. Rjwilmsi 20:53, 6 February 2009 (UTC)

Renaming of the new keywords

Status This feature is partially implemented
Description Before the keywords that I've proposed are implemented in "stone", I would like to change them. I've realized that it would reduce the learning curve if they were the same as wikipedia's magic words. Some maybe useful to convert hard-coded strings to variables, while others maybe used to work around bugs. I list bellow what I believe are the most useful keywords to implement
Page names

It's probably a good idea to include the "E" version as well.

  • %%PAGENAME%%
  • %%BASEPAGENAME%%
  • %%NAMESPACE%%
  • %%SUBPAGENAME%%
  • %%FULLPAGENAME%%
Time

Apparently there been bug in with subst: in the ref tags, they maynot be all that useful since they rely on the user correctly keeping time.

  • %%CURRENTDAY%%
  • %%CURRENTMONTHNAME%%
  • %%CURRENTYEAR%%
Other

Useful to convert hard-coded edit links.

  • %%SERVER%%
  • %%SCRIPTPATH%%
  • %%SERVERNAME%%

Dispenser 02:00, 18 June 2007 (UTC)

Added in revision

Well, if they were the same as the wikipedia ones, there would be nothing to do in AWB, as wikipedia would process it - Ie there would be no point doing it in AWB aswell. Reedy Boy 10:16, 18 June 2007 (UTC)

Unless you want to want to change to a variable. Like changing http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:AutoWikiBrowser/Feature_requests&action=edit to {{fullurl:{{PAGENAMEE}}|action=edit}}
Note that SmackBot has several hundred regex rules which put subst:CURRENTMONTHNAME etc in pages: becasue of the above mentioned bug in Wikimedia I then need to use a regex to replace this a month literal - which I inevitably forget to update fully. So having an AWB variable for currentmonth/year would fix one of the known problems for me, not as well as if the mediawiki bug were fixed though.
Note 2. The above proposal is to use the same naming convention - the mediawiki magic words need "__" or "{" around them, not "%%".
Rich Farmbrough, 10:34 15 October 2007 (GMT).
It will be helpful to add magic words to AWB, for example, some time I want to include page's name in the summery. If you apply this, I'll can write summery as "Editing %%PAGENAME%%"..--OsamaK (talk) 04:52, 19 December 2007 (UTC)

Still wanted, presumably? Reedy 21:10, 14 September 2008 (UTC)

[11] - Implemented as such. Looks fine on that, just needs some tests implementing into AWB for it. Reedy 22:00, 14 September 2008 (UTC)

rev 3359, just needs some tests implementing in AWB Reedy 22:05, 14 September 2008 (UTC)
rev 3360, tests added Reedy 22:16, 14 September 2008 (UTC)
Only one problem CURRENTMONTHNAME is implemented as CURRENTMONTHABBREV, see WP:MAGIC#Time. — Dispenser 23:10, 14 September 2008 (UTC)
MaxSem has made a change. If we put it using the template braces, it makes it then impossible to do searching for that text, so in AWB, %%%% around the keywords would need to be used. He has also disabled the date stuff for the time being, it needs to be the wiki/server local, not the users. rev 3364 Reedy 08:34, 15 September 2008 (UTC)
Those values are always in UTC, the Local time are the ones that depend on the server's location. — Dispenser 13:32, 15 September 2008 (UTC)

Filter out non main space right click context menu + minor UI change

Status This feature is partially implemented
Description Can you please restore the "Filter out non main space" option back to the List right-click context menu? I used it quite often while using AWB and miss it now that it's not there. Also, could you add an ellipsis to the Filter button so that it's easier to tell that when you click on the button, it brings up a dialog box? Harryboyles 16:27, 16 July 2008 (UTC)
Added in revision
As of the current SVN revision, I've removed that button... Reedy 19:33, 16 July 2008 (UTC)

Not needed as it already exists in the List menu and it's sticky there too. I'll keep the thing about ellipsis in mind as I go through the interface. — Dispenser 17:02, 14 September 2008 (UTC)

When you go through the interface, please use the test:
  • is the command complete?
rather than the test:
  • does a dialog appear?
These two tests often give the same answer but not always. The purpose of the ellipsis is to indicate that the user will need to provide more interaction (including confirmation) before the command is completed. For example, in many applications, the 'Properties' and 'About' commands will have no ellipsis because the user interaction is complete, but they will produce a dialog with no further interaction. See http://msdn.microsoft.com/en-us/library/aa511502.aspx#ellipses Lightmouse (talk) 09:09, 16 September 2008 (UTC)
I was wondering about the latter. Looks like I'll be reading up on the official documentation. I just wish MS could get their own copy dialog right. — Dispenser 02:00, 13 October 2008 (UTC)

Quite. MS doesn't always follow its own guidelines and different products have different implementations. Other corporations are similar. We can be happy if our only usability problem is choosing between a corporation's guidance and its flagship implementation. Lightmouse (talk) 13:33, 14 October 2008 (UTC)

Your linked reference

Exception: Don't display shortcut key assignments within context menus. Context menus don't display the shortcut key assignments because they are optimized for efficiency.

Then at the IE 8 blog, under the fake heading "WHAT CAN I DO WITH TAB GROUPS?" there's a screen shot showing the tab bar context menu with shortcut keys. Although admittedly that's the only place they can put them since they killed off their menu bar. — Dispenser 20:15, 22 November 2008 (UTC)

Create a 'View' menu

Status This feature is partially implemented
Description Create a 'View' menu. Many applications have a 'View' menu. If AWB is similar to other applications, it is easier to learn/train and easier to design/maintain. The View menu contains things that change appearance but make no difference to the function. For example, I would suggest moving the following out of the 'Options' menu into a 'View' menu:
  • Show toolbar
  • Show control panel
  • Enlarge edit box
  • Show edit box toolbar

I would consider moving things from elsewhere in the interface into the 'View' menu e.g.:

  • Show false positives button (is currently 'Display false positives button' in preferences)

Lightmouse (talk) 13:34, 9 January 2009 (UTC)

Added in revision
Sounds a good idea to me... Reedy 14:24, 9 January 2009 (UTC)
rev 3666 does the first 4.. Reedy 11:43, 10 January 2009 (UTC)
rev 3667 does the false positives. Any others? Reedy 11:58, 10 January 2009 (UTC)

Do you have a method of searching the GUI code for the terms 'Display' or 'Show'? If you haven't, I can go through it in more detail later. I found another instance in 'Preferences' but I thought it might be best where it is (I haven't got access to AWB right now to tell you exactly). Incidentally, I usually consider verb forms of 'Display' to be inferior synonyms of 'Show'. Lightmouse (talk) 13:09, 10 January 2009 (UTC)

I can do what would pretty much be a normal find in Visual Studio... Nothing fancy.. Will have a look if i get chance Reedy 13:33, 10 January 2009 (UTC)

I now have the 'View' menu (svn 3672). Nice. Thank you. Lightmouse (talk) 14:56, 11 January 2009 (UTC)

Add a date to some maintenance tags

Status This feature is partially implemented
Description Do what Legobot II does! See Wikipedia:Bots/Requests for approval/Legobot II 2. AWB already replaces {{Unreferenced}} with {{unreferenced|date=CURRENTMONTH CURRENTYEAR}} so I guess we can expand this. -- Magioladitis (talk) 00:31, 12 January 2009 (UTC)
Added in revision
            RegexTagger.Add(new Regex("\\{\\{(template:)?(wikify(-date)?|wfy|wiki)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Wikify|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(Clean( ?up)?|CU|Tidy)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Cleanup|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(Linkless|Orphan)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Orphan|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(Uncategori[sz]ed|Uncat|Classify|Category needed|Catneeded|categori[zs]e|nocats?)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Uncategorized|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(Unreferenced(sect)?|add references|cite[ -]sources?|cleanup-sources?|needs? references|no sources|no references?|not referenced|references|unref|unsourced)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Unreferenced|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(Trivia2?|Too ?much ?trivia|Trivia section|Cleanup-trivia)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{Trivia|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(deadend|DEP)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{deadend|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(copyedit|g(rammar )?check|copy-edit|cleanup-copyedit|cleanup-english)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{copyedit|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");
            RegexTagger.Add(new Regex("\\{\\{(template:)?(sources|refimprove)\\}\\}", RegexOptions.IgnoreCase | RegexOptions.Compiled), "{{refimprove|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}");

AWB already does all of those... Can easily be expanded Reedy 12:58, 12 January 2009 (UTC)

So, just 6 to add? Reedy 13:00, 12 January 2009 (UTC)
Done most of them in rev 3683. Merge is going to be harder due to other parameters that are likely to be used (needs a slightly more complex regex). TBH, these should all be loaded and created on the fly to include all redirects... Reedy 13:18, 12 January 2009 (UTC)
LOL -- Magioladitis (talk) 13:15, 12 January 2009 (UTC)
Wonder if we should have a typo style page for these... Reedy 13:19, 12 January 2009 (UTC)
That sounds good. In the beginning I thought that we could only fix the ones that are more often used but now I am becoming more greedy. With a typo style page we can get them all. :) -- Magioladitis (talk)
A while ago there was a feature request to have a typo-style page for rules to shorten external urls (e.g. simplify Amazon links etc.). It was turned down at the time but perhaps it's a good thing to do: a 'format fixes' page with sections to read in fixes for tags, external URLs etc. If the typo list works I suppose that could too. Rjwilmsi 17:49, 12 January 2009 (UTC)
pt-wikipedia (i think), were trying to do something similar on their Typos page, for category and some other changes... Obviously this didnt work due to hidetext.. Reedy 20:21, 12 January 2009 (UTC)
Of course SmackBot does this for some 200 plus templates. Maintaining the template lists and dealing with exceptions takes some considerable time, although I am re-writing some sections of the code to make it easier. Rich Farmbrough, 23:17 13 January 2009 (UTC).
Presumably there'd be a category that could actually be loaded (maintenance templates that should be dated)... API can load the list and create regexes... And then redirects... Hmmmmm Reedy 22:33, 14 January 2009 (UTC)
Perhaps this could be done in such a way that AWB and Smackbot could both go to one place to see any changes rather than have to update both at the same time. Like a category as mentioned or a flag on the talk page of the template maybe. Also, I believe that there are quite a number of templates that are duplicative and or unneeded and perhaps someonne should review them for the possibility of consolidation or elimination.--Kumioko (talk) 22:11, 28 January 2009 (UTC)

Replace multiple maintenance templates with Template:Article issues

Status This feature is partially implemented
Description I would like support for a few templares.
  1. {{articleissues}}:Condense 3 or more template into this
  2. {{weasel}}:Search for things like "it has been said" without citations, adds this tag if their are a certain number of weasel words per total words
  3. {{peacock}}:Adds the tag in the same manner as above
  4. {{POV-check}}:Looks for words (outside of quotes) that fall under WP:AVOID, adds tag in samr manner as above

Ipatrol (talk) 04:34, 1 March 2009 (UTC)

Added in revision

I think that automatic tagging based on expressions without reading the context is a bit dangerous to have many false positives. You can request a bot as a beginning. -- Magioladitis (talk) 00:23, 5 March 2009 (UTC)

Keep in mind that an editor can review the changes and remove the tags if they are unwarrented in the editbox. However, articleissues would be nice on substubs where tags can crowd content.---Ipatrol (talk) 13:25, 7 March 2009 (UTC)

When an article has two or more top-of-page templates supported by Template:Article issues (see here, these templates should be replaced by Template:Article issues, including the dates in which the original templates were added. This would aim to make articles look more tidy by consolidating maintenance templates. --Oldak Quill 01:14, 1 April 2009 (UTC)


If we do this it has to be done for three or more. Not two. -- Magioladitis (talk) 09:26, 1 April 2009 (UTC)
rev 4140 Changes for {{articleissues}}:
genfixes
  • convert {{article issues}} with one issue to the underlying template
  • remove duplciate fields in cite / {{article issues}} templates, or second fields with no value given
  • move the supported cleanup template(s) in the zeroth section of the article into an existing {{article issues}} template (other wise article/section templates get confused)
  • add an {{article issues}} template if three or more supported cleanup templates are found in the zeroth section of the article
  • add dates to undated fields in {{article issues}} templates
  • remove the invalid 'date' field from {{article issues}}
  • wikify tags from within {{article issues}} removed by tagger as appropriate
queries that remain:
  • are field names in {{article issues}} case sensitive (assumed yes for the moment)?
  • do all field except expert= accept a date (assumed yes for the moment)?
Rjwilmsi 23:16, 3 April 2009 (UTC)
Thank you for your efforts on this. --Oldak Quill 01:36, 7 April 2009 (UTC)

The answer to the second question is yes. In the first the answer is a question: What is better? Right now it's case sensitive but if you think it's better to change it I would be very happy. This would save us from some code checks in {{Article issues}}. I really hope you take a look at the code there and simplify it. PS Nice piece of job. Next level: Add a blank page to AWB and it will make the article for you :) -- Magioladitis (talk) 23:37, 3 April 2009 (UTC)

It's no concern of mine whether it's case sensitive or not, I just need to know all the supported variations to include them in AWB. I can go through the template source and extract them, which I didn't do before (just used documentation), so either the template has to change or I need to further update AWB. Just decide and let me know. Thanks Rjwilmsi 14:38, 5 April 2009 (UTC)
Since you are keen on regex and I am not, can you please take a look at the {{Article issues}} and transform the parameters and change then in order to be non case sensitive? This will solve problems with "POV" and "pov", "Cleanup", "cleanup". Unless you sense that this may cause other problems, which I don't see right now. -- Magioladitis (talk) 15:00, 5 April 2009 (UTC)
rev 4155 I'll take the other approach, and make sure AWB converts all added fields to lowercase, with the exception of COI, OR and POV. Rjwilmsi 20:28, 6 April 2009 (UTC)

Remove double "|" inside templates

Status This feature is partially implemented
Description Remove double "|" inside templates. This will save us from some funny situations like this one Magioladitis (talk) 18:21, 15 March 2009 (UTC)
Added in revision
So literally just "||" on the same line? (I suppose whitespace ones, ie "| |" should be removed also? Reedy 19:09, 15 March 2009 (UTC)
rev 4075. Rjwilmsi 21:23, 15 March 2009 (UTC)
Many uses of templates legitimately include || for nulls for optional arguments e.g. bibleverse template on Abrahamic religions. I'll have to remove the above, and say no to this request. rev 4077 reverts. Rjwilmsi 21:50, 15 March 2009 (UTC)

Is it possible to implement it for infoboxes and WPBS? -- Magioladitis (talk) 22:27, 15 March 2009 (UTC)

I think the templates that contain the "=" sign can't have double | or am I wrong? -- Magioladitis (talk) 22:45, 15 March 2009 (UTC)

One last solution I am proposing is to implement it as part of the KingbotK plugin only for WPBS, WPBiography and their redirects. Thanks. -- Magioladitis (talk) 22:52, 15 March 2009 (UTC)

rev 4140 Implemented for the common {{article issues}} and citation family of templates. Not possible to implement more widely without having to explicitly name hundreds of templates. Rjwilmsi 23:18, 3 April 2009 (UTC)

Multiple links

Status This feature is partially implemented
Description Counter: It would be nice to see a number next to the "multiple link" in question that would tell you how many time that link is there. Electron (2) is probably not a problem, but proton (24) is most probably a case of overlinking.
  • It would also be nice if AWB could have the options of ignoring the multiple links due to the "See also" section.
  • Links written using different capitalizations and pluralizations are considered to be "different links". "Proton", "proton", "protons" and "Protons" should all be in the same "multiple link" entry.
    Headbomb {ταλκWP Physics: PotW} 22:45, 21 July 2008 (UTC)
Added in revision
while capitalization is almost never an issue, defining plurality can be. The Crow and The Crows are two very different articles. -ΖαππερΝαππερ BabelAlexandria 16:03, 6 August 2008 (UTC)
Well it could be done in a sort of "overlink breakdown" such as
  • Laser (16) (target article, including capitalization and plural variation)
  • laser (6) (target article, specific spelling 1)
  • unpiped (2)
  • lasers (3)
  • highly coherent monochromatic light beam (1)
  • Laser (3) (target article, specific spelling 2)
  • laser (3)
  • lasers (1) (target article, specific spelling 3)
  • unpiped (1)
  • Lasers (7) (target article, specific spelling 4)
  • laser (3)
  • Laser (4)
Headbomb {ταλκWP Physics: PotW} 06:50, 10 August 2008 (UTC)
I can provide a count of duplicate links and treat 'Proton' and 'proton' as the same. Will do in the next few days. Rjwilmsi 11:07, 9 April 2009 (UTC)
rev 4181 Counter added to multiple links display, to show how many links on page in total in format 'Proton (3)'. Also, re case matching, the links are now compared with the first character in upper case so [[proton]] and [[Proton]] are the same but [[PROTON]] or [[proTON]] are not the same as [[proton]]. Can't do the plurals logic as explained with the 'the Crow' example above. Not sure about hiding the 'see also' section – these are still duplicate links. Rjwilmsi 19:57, 9 April 2009 (UTC)

Formatting for defaultsort and lifetime templates

Status Feature added in next release
Description Per Defaultsort there is some formatting cleanup that could be added to AWB. Below are a few that do not appear to currently be captured as edits in AWB.
  1. the name should not contain epithets such as "Saint"
  2. Punctuation, such as apostrophes and colons should be removed
  3. For a surname which begins with Mc or Mac, the category sort key should always be typed as Mac with the remainder of the name in lowercase — for example, Macdonald, Maccluskey or Macmorris — regardless of how the surname is actually spelled.
  4. The first letter of each word should be in upper case, and all subsequent letters should be in lower case, regardless of the correct spelling of the name. This means names such as McDonald would be displayed as Macdonald.--Kumioko (talk) 13:34, 11 May 2009 (UTC)
Added in revision

I don't understand why this should be in general fixes. -- Magioladitis (talk) 15:30, 11 May 2009 (UTC)

If Defaultsort states that the above rules be applied then should we not include them in the AWB generals fixes? I don't understand whats not to understand?--Kumioko (talk) 16:18, 11 May 2009 (UTC)
I am not sure if these changes apply for a big percentage of articles and if it s worth to add them as general fixes or create a bot to do the job. -- Magioladitis (talk) 16:34, 11 May 2009 (UTC)

One of the genfixes removes accents from defaultsort, so there is precedent. --NE2 16:38, 11 May 2009 (UTC)

Yup, we currently remove any non english (a-z) etc characters and replace them with the plain text version. This is only due to a problem with MySQL and the way it sorts on letters, meaning defaultsort wouldnt sort like expected. Reedy 17:02, 11 May 2009 (UTC)
Thousands of articles have special characters and defaultsort is needed. I supported this addition from the very first moment. But how many articles have "Saint" in bot their title and in defaulsort? Anyway, if it can be implemented, I 've no problem. -- Magioladitis (talk) 17:06, 11 May 2009 (UTC)

Saint is not always an epithet. In the Saint October case, no defaulsort should be added. In general this request sounds to me more like a Bot request that will work with false positives. -- Magioladitis (talk) 21:51, 11 May 2009 (UTC)

Fair enough, taking Saint out of the equation I think that some of these could be added as edits to AWB. Doing as part of a bot is also a good idea. I can create some regex code to do some of this (convert Mc to Mac and make 2 to nth charachter lower case) if you want me too.--Kumioko (talk) 15:53, 12 May 2009 (UTC)
rev 4336 and rev 4341 apply the case rules for defaultsort (point 4).
I think 1 and 3 could be applied if AWB first checked that the article was about a person: look for persondata or XXXX births category etc. Rjwilmsi 11:27, 21 May 2009 (UTC)
What can be done for this request has been done. There are too many opinions on defaultsorts to do more at the moment. Rjwilmsi 09:51, 15 August 2009 (UTC)

Pagination

  1. Add a non-breaking space where there is no space between p. or pp. and the page number(s)?
  2. Replace a space that follows p. or pp. with a non-breaking space?
  3. Where a list of numbers is separated by commas without spaces, insert spaces? For example:
    • Change 22,27,143 to 22, 27, 143
  4. Conform page or number ranges to the rule that drops repeating numerals prior to the 2 final numerals? For example:
    • Change 296–299 to 296–99
    • Change 1296–1302 to 1296–302

Requested of SmackBot by Finell,copied here by Rich Farmbrough, 11:39 11 May 2009 (UTC).

1&2 seem simple, 3 would need to distinguish between thousands separators, 4 - same problem with false positives - may be standard citation speak but does it help Wikipdedia's readership? Rich Farmbrough, 11:39 11 May 2009 (UTC).
Just my 2 cents but I think implementing #4 would make things very confusing when dealing with date ranges.--Kumioko (talk) 13:22, 11 May 2009 (UTC)
Setting the non breaking space seems feasible, the others not. Rjwilmsi 22:11, 11 May 2009 (UTC)
Also #4 is a style issue best left to editors. AWB shouldn't choose or impose a style.Headbomb {ταλκκοντριβς – WP Physics} 22:13, 20 May 2009 (UTC)

 Done rev 4616 Implement requests 1 and 2. Rjwilmsi 13:43, 27 June 2009 (UTC)

Bold text in headers

Status This feature is partially implemented
Description General fix to remove all bold-text generating syntax (HTML <b></b> and wikitext ''') from section headers; this syntax is almost always unnessecary (right now AWB just removes it from the start and end). WP:CHECKWIKI #44. –Drilnoth (T • C • L) 15:27, 10 May 2009 (UTC)
Added in revision
Do you have some examples (old diffs will do) to act as test cases? Rjwilmsi 17:13, 10 May 2009 (UTC)
Sure; I'll make some example fixes using the CHECKWIKI list. –Drilnoth (T • C • L) 20:27, 10 May 2009 (UTC)
[12], [13], [14], and [15] are some samples. If headings are level 3 or below there seems to be no visual change; level 2 headings do show up as bold with the syntax present, but this is virtually always unnecessary. –Drilnoth (T • C • L) 20:37, 10 May 2009 (UTC)

rev 4348 Part implementation: remove bold from level 3 headers and below, as it makes no visible difference. Rjwilmsi 20:58, 22 May 2009 (UTC)

Awesome! That's great. –Drilnoth (T • C • L) 22:06, 22 May 2009 (UTC)

Working with Alerts

Status Feature added in next release
Description Currently AWB will notify users of "Alerts" in RED in the "Alerts" section but I would like to suggest some improvements to this. 1) Is there someplace where we can see what all the alerts are? If not I recommend making it visible, such as a page similar to the typos. 2) Allow users to add their own alerts (for example no persondata temaplate or infobox). 3) Allow users the option of stopping if a certain alert is present, for example Long article with a stub.--Kumioko (talk) 16:42, 18 May 2009 (UTC)
Added in revision
I'll add the list of alerts to the AWB manual. Rjwilmsi 19:28, 18 May 2009 (UTC)
Existing alerts are now in the manual.
  • What format of alert would you want users to be adding? List of regular expressions? Rjwilmsi 07:54, 20 May 2009 (UTC)
For this one I was thinking it would be nice if users could set an edit as an alert rather than have it stop on the article every time. Maybe in the Find and replace Normal setting and advance settings you could add a checkbox to allow users to "Set as Alert".--Kumioko (talk) 15:26, 20 May 2009 (UTC)
  • Would a new skip option 'skip if no alerts' satisfy point 3 (potentially combined with use of pre-parse mode)? Rjwilmsi 07:54, 20 May 2009 (UTC)
I was actually thinking the other way around. As far as I know, right now if an Alert comes up for an article that does not have another edit made, it will skip that article. Sometimes I would like to look for an alert though, especially the missing introduction one, or the unbalanced brackets. The more I think about this one the more I think a check box stating something like "Stop on Alert" might do.--Kumioko (talk) 15:26, 20 May 2009 (UTC)
Hmm, AWB works on a skip basis. I think pre-parse mode and 'skip if no alerts' would work quite well for you. Rjwilmsi 15:17, 26 May 2009 (UTC)

rev 4508 Option to skip pages if no alerts. Rjwilmsi 08:12, 14 June 2009 (UTC)


Not implemented

some development to ignore images

Status Feature already exists in AWB
Description I think that option should ignore all these configurations: Grafika:.*?\.... (sample regex maybe there are better, that's example for .pl) because images are included in tables and galleries as well (maybe this regex won't match for galleries but sth should be applied for them anyway) --84.234.42.68 15:33, 28 April 2007 (UTC)
Added in revision
I believe AWB already uses the locale name for images rather than just assuming 'image:' and also I know that it does catch galleries. Rjwilmsi 08:52, 23 November 2008 (UTC)
Sure does. AWB tries to use the namespace variable if at all possible (regexes are just built on the fly, rather than defined at compile time) Reedy 13:32, 23 November 2008 (UTC)

List comparer "Save List" buttons

Status Feature already exists in AWB
Description What precisely is the point of comparing lists if I can't save the results? Didn't there used to be a "Save List" button under each results column of the List Comparer? If so, why were they rmvd? Ling.Nut (talkWP:3IAR) 06:55, 20 September 2008 (UTC)
Added in revision
Its still there on my svn version.... Reedy 09:27, 20 September 2008 (UTC)
Mine is 4.4.0.0 and all I see is a "Clear All" button. I can't do <CTRL - A> the <CTRL-C> as a workaround, either. In short, I can't save the results. Ling.Nut (talkWP:3IAR) 11:18, 20 September 2008 (UTC)
What resolution are you on? Can you take us a screenshot of your list comparer window please? Reedy 15:25, 20 September 2008 (UTC)
I'll email ping you. Screenshot emailed later... Ling.Nut (talkWP:3IAR)

Seems to be a resolution related problem as the buttons are there on my version... Reedy 19:56, 9 October 2008 (UTC)

In my computer works fine as well. -- Magioladitis (talk) 14:52, 26 January 2009 (UTC)

Wikify click function

Status Feature already exists in AWB
Description The idea is to help when making maintenance edits in very large texts. We currently have more than 3000 articles that need wikifying at pt.wiki [16] . If it was possible to (right) click on a word that needs an internal link and AWB would add it, that would be great. Maybe some function that can be selected or de-selected at will. Not sure if it is easy or not, bu that would make our life a lot easier. GoEThe (talk) 11:10, 19 January 2009 (UTC)
Added in revision
Are you aware of the button on the edit box toolbar (View --> show edit box toolbar) to wikify links? Rjwilmsi 19:15, 19 January 2009 (UTC)
No, I wasn't aware of that. Is there a keyboard shortcut? I couldn't find this info on the manual. Anyway, the button will already be a great help. Thanks! 16:00, 24 January 2009 (UTC) —Preceding unsigned comment added by GoEThe (talkcontribs)
No, there isnt... Want one adding, presumably? Reedy 19:29, 25 January 2009 (UTC)
Hmmm, the button is working fine. No need. Thanks for your help. GoEThe (talk) 11:26, 26 January 2009 (UTC)

automatically ignore when no changes

Status This feature request is a duplicate
Description It would help a lot to have AWB automaticlly "ignore" pages with no changes. This would especially help when 90+ percent of the articles have no change and there are is a large number of articles. In such cases, the user could start the process and check on it to verify changes and let it run when there are no changes and not have to sit there and keep clicking the "ignore" button. Bubba73 (talk), 03:17, 26 January 2009 (UTC)
Added in revision
Pre-processing added for next version. Reedy 09:30, 26 January 2009 (UTC)
You could also just check the box next to "No changes are made", that alleviates most of the need to click ignore. §hepTalk 20:36, 26 January 2009 (UTC)

Add Person data template to AWB

Status This feature request is a duplicate
Description Can a new option be added to AWB to allow users to insert the Person data. As I see it this could be done automatically where there is sufficient data in the infobox or as an insert tag option similar to the DEFAULTSORT tag. I know that we can add the meta-data template but it seems like we can make that more automated. There is already a java script that does some on the Person data page.--Kumioko (talk) 20:46, 14 February 2008 (UTC)
Added in revision
Duplicate of later #Populate_PERSONDATA_template_with_data_from_the_infobox_or_categories. Rjwilmsi 19:37, 27 January 2009 (UTC)

Added Infobox and person data support

Status This feature request is a duplicate
Description I think it would be great to program in some additional support for adding infoboxes and person data templates. Currently all the data must be manually input when the infobox or person data template is added by some of the info (like the name, or info from categories) could be programmed in allowing the infobox and person data templates to be added faster and more accurately.--Kumioko (talk) 13:07, 16 April 2008 (UTC)
Added in revision
Any comment on whether this might happen or not?--Kumioko (talk) 20:00, 22 April 2008 (UTC)
AWB isn't likely to implement this as its to specific for the general sotware to have. So I've filed this under the plugin section. If you'd like to implement this, there plenty of tools you can use and you aren't restricted to C# or VB.NET if you use the external processing function. Also, next time when you fill out a feature request be a bit more specific on what you want. — Dispenser 02:07, 23 April 2008 (UTC)

Duplicate of #Populate_PERSONDATA_template_with_data_from_the_infobox_or_categories. Rjwilmsi 19:37, 27 January 2009 (UTC)

Populate PERSONDATA template with data from the infobox or categories

Status This feature is not going to be implemented
Description I would like to see some functionality in AWB that would add the Person data template for biographical artcles with the data populated using either categories or INFOBOX data. I have added this data to several articesl and have found it to be extremely time consuming to do manually. ----Kumioko (talk) 11:11, 18 July 2008 (UTC)
Added in revision
Has anynoe considered this request yet. At the very least AWB should include the article name when the persondata template is added.--Kumioko (talk) 15:56, 2 October 2008 (UTC)

I think someone can make a module for that but it shouldn't be a built-in feature. -- Magioladitis (talk) 16:24, 4 January 2009 (UTC)

If someone wants to do that, better create a bot. This needs to get through BAG team. -- Magioladitis (talk) 20:56, 25 January 2009 (UTC)

Expand out contractions

Status This feature is not going to be implemented
Description Per Wikipedia:MOS#Avoid contractions, have AWB expand contractions (change can't into can not etc.) in articles when they are not between quotation marks or within a quote template. One technique to try may be if there are an even number of " before the contraction in the article then remove it, if an odd number then leave it. Would this be plausible or would there be so many exceptions that it is too difficult to implement? James086Talk | Email 09:05, 21 February 2008 (UTC)
Added in revision

It would be possible to achieve via WP:RETF, when we patch it not to touch quotes. MaxSem(Han shot first!) 20:48, 3 March 2008 (UTC)

The next version of AWB includes logic to hide quotes from the typo fixing module, therefore this would be best achieved by expanding the RegExtypofix rules, should there be a strong consensus in favour of this. Rjwilmsi 09:19, 24 January 2009 (UTC)

Move text under categories above external links

Status This feature is not going to be implemented
Description Sometimes people add text at the bottom of the article UNDER categories. AWB places text about it, but it would be better IF external links section exists to put it above it. See here and here. Magioladitis 22:31, 6 November 2007 (UTC)
Added in revision
Unfortunately I see no way for AWB to determine between additional text that is not part of the external links and additional text that is in fact an expansion of the existing external links, therefore I don't think we can make any changes to current functionality. Rjwilmsi 09:16, 24 January 2009 (UTC)

Automatic inclusion of template:intro-missing

Status This feature is not going to be implemented
Description Could AWB check if there's any content before the first set of ===s – excluding templates – and if not, add {{intro-missing}}? Or am I missing the point of this? Seegoon (talk) 01:09, 6 July 2008 (UTC)
Added in revision
There's no documentation for {{intro-missing}} to explain how it should be applied, so more information is needed before this feature might be added. Rjwilmsi 09:47, 24 January 2009 (UTC)
Sometimes this tag should not be applied. In the case of a stub there is no reason to add tenths of tags. I think this is not a good template to add automatically. Some other problems from my experience: Inexperiened editors add in the a bio article about "foo" the following:

==foo== Foo was a blah blah blah

So the problem here is not that the there is an intro missing but that they should not be a header. -- Magioladitis (talk) 16:38, 24 January 2009 (UTC)

I'm going to decline this feature request on the basis that there will be no way for AWB to tell with high accuracy whether an introductory section is in fact missing, or that a header simply needs to be removed. Rjwilmsi 19:35, 27 January 2009 (UTC)

return inaccessible pages to the search list

Status This feature is not going to be implemented
Description When AWB encounters an article that it can't access, generally because the wiki database is locked, it deletes the article from the search list and moves on. Since this is a much faster process than actually searching the article, a minute of locked database can means dozens of articles that are never searched. Why not add an option to have such articles returned to the bottom of the search list, or maybe just left in place, so they can be searched later? kwami (talk) 00:58, 11 October 2008 (UTC)
Added in revision
This can be a real pain. The other day when the servers went down, I lost maybe a dozen pages before I noticed what had happened. (I let AWB run in the background while I do other things, because it takes so godawful long to open a page.) Since there were 8000 articles on my list, and this happened after I had gone through 2000, I'm not going to find them again. kwami (talk) 19:07, 22 October 2008 (UTC)
There is the log... Reedy 21:59, 23 November 2008 (UTC)

I don't see the need to change anything here – the articles log is filterable to find any inaccessible articles, and they can be added back to the list from there. Rjwilmsi 12:17, 30 January 2009 (UTC)

Removing deleting media

Status This feature is not going to be implemented
Description I would wish for AWB to remove links/references to deleted images/media/whatever. This is an example of what I am talking about: <!-- Deleted image removed: File:samsuiwomen.jpg|Samsui Women (undated), [[Singapore Art Museum]]. --> User:Zscout370 (Return Fire) 08:34, 2 January 2009 (UTC)
Added in revision
You can remove links to deleted media with the Images area. There is a remove option and you can remove files/images with that... Is that what you were after? Reedy 14:58, 2 January 2009 (UTC)
And then the IFD plugin which will allow you to do it even more en-mass Reedy 20:36, 6 January 2009 (UTC)
With that, can it remove any deleted media or do I have to choose a specific file. My goal is to remove multiple images en mass, as you hinted at. User:Zscout370 (Return Fire) 17:59, 7 January 2009 (UTC)
You'd just need to put the File name in (in the required format). But it could do infinte files at the same time if you so wished Reedy 18:04, 7 January 2009 (UTC)
"it could do infinte files at the same time if you so wished" that is what I want to do. So just pick a file and put it in the same boxes that I use to switch images? User:Zscout370 (Return Fire) 18:23, 7 January 2009 (UTC)
In the IFD plugin? Reedy 19:12, 7 January 2009 (UTC)
Yes. I have the plug in loaded. I am not sure if I am being clear, but I know AWB will remove images if specified. However, I want to remove that whole string, including the comments. User:Zscout370 (Return Fire) 20:56, 7 January 2009 (UTC)

As per IRC, i'll consider making an IFD++ to remove <!-- [[Image:DeletedImage.jpg]] --> Reedy 15:42, 9 January 2009 (UTC)

This would be handy to be able to remove deleted/commented images, I have always wondered why they left the comments on there.. it messes some articles with unneeded whitespace. --Typ932 T·C 12:03, 10 January 2009 (UTC)
If nobody wants these deleted image comments left behind, then the bot(s) that comment them out should surely be changed to just remove them? Rjwilmsi 09:52, 24 January 2009 (UTC)
The comments are left in order to help people upload new versions of the files with the same filename. If there were just to be removed this would be done by the bots themselves in the first place. Commented out files should not be removed immediatelly after deletion of the file but after some time. Moreover, some bots comments out not deleted media until a fair-use raitonale is given or a caption is added. -- Magioladitis (talk) 22:51, 24 January 2009 (UTC)
Per comment from Magioladitis, blanket deletion of commented out images does not seem appropriate. AWB can't determine when it might become appropriate to remove a particular commented out image, so I'm going to decline this FR. Somebody could write a bot to remove commented out images after x days if the community think that's warranted.
However, if asked, I can provide a regex to use in the find & replace screen of AWB if particular users have particular commented out images they want to quickly remove using AWB. Thanks Rjwilmsi 18:10, 2 February 2009 (UTC)

AWB for Mac?

Status This feature is not going to be implemented
Description Would it be possible to write a version of AWB for Mac OSX? ErikTheBikeMan (talk) 14:39, 1 February 2009 (UTC)
Added in revision
(See the FAQ) The current AWB requries the .NET framework. Maybe someday Mono will have enough .NET support for AWB to run under it. The AWB developers would be very happy if this happened, but it's outside our control. Current AWB works fine using VMWare though. Rjwilmsi 15:40, 1 February 2009 (UTC)
And/or we get full API migration (should help along the process) Reedy 19:01, 1 February 2009 (UTC)

More "skip" options.

Status Feature already exists in AWB
Description Right now, there are only two "skip" options one to skip articles that contain X, the other to skip articles that don't contain X. I'd like the option of skipping articles that contain both X and Y in separate places, or that contain either X or Y, or that don't contain either X or Y. bd2412 T 07:21, 11 February 2009 (UTC)
Added in revision <!-Version of AWB the fix will be included in; AWB developer will complete when it's added -->

All of the above can be achieved using regular expressions with the existing AWB release. If you don't know regex leave me a message with your particular needs and I can help you out. Rjwilmsi 07:51, 11 February 2009 (UTC

Please treat <poem> like a quote template

Status Feature already exists in AWB
Description Please treat <poem> like a quote template. I can protect quotes using 'ht.Hide' and/or 'ht.HideMore'. Can one of these be extended to include <poem>? An example of <poem> is in And did those feet in ancient time Lightmouse (talk) 12:49, 14 February 2009 (UTC)
Added in revision <!-Version of AWB the fix will be included in; AWB developer will complete when it's added -->
Rjwilmsi has already added it Reedy 12:51, 14 February 2009 (UTC)

Thanks. I am using svn3950 and it doesn't appear to be in that. Which version is it in? Lightmouse (talk) 13:00, 14 February 2009 (UTC)

Put a 3963 version up. Was added in 3953 Reedy 13:03, 14 February 2009 (UTC)

Thanks. I will download and test it later. You guys do great work. Lightmouse (talk) 13:06, 14 February 2009 (UTC)

Format Infobox

Status This feature is not going to be implemented
Description Format Infobox and Taxobox as indicated below.
Added in revision

A very high proportion of articles begin with either an Infobox or a Taxobox template. Some are tidy and easy to read, but many are a ragged mess. I have thought about how it might be possible to tidy-up these templates using regex expressions, but for various reasons this turns out to be very difficult. However, an algorithm for tidying these template should be pretty straightforward and might be built into AWB.

I would move to suggest that the best arrangment for such templates is to have each parameter on a new line immediatley preceeded by a space, the pipe (vertical bar) character and a single space. The parameter name should then apprear, followed by a variable number of spaces, an equals sign, a single space and then the parameter value. The parameter value may itself contain a template, in which case it should be reproduced exactly as it was left by the previous editor, but if it contains new line with a pipe as the first non-whitespace character, the line should be padded with preceeding spaces to align the pipe with the opening curly brackets of the template.

For example:

{{Infobox_nrhp 
 | name           = Burns Cottage
 | nrhp_type      =
 | image          =
 | caption        =
 | location       = [[Atlanta, GA]]
 | lat_degrees    = 33 
 | lat_minutes    = 43 
 | lat_seconds    = 36.9 
 | lat_direction  = N
 | long_degrees   = 84 
 | long_minutes   = 21 
 | long_seconds   = 19.86 
 | long_direction = W
 | area           =
 | built          = 1911
 | architect      = Morgan, Thomas H.; McWhirter, Robert M.
 | added          = [[December 1]], [[1983]]
 | governing_body = Private
 | refnum         = 83003572<ref name="nris">{{cite web
                                              | url       = http://www.nr.nps.gov/
                                              | title     = National Register Information System
                                              | date      = 2007-01-23
                                              | work      = National Register of Historic Places
                                              | publisher = National Park Service
                                             }}</ref>
}}

Just as a comment, this would need to be opt-outable. I agree it would be nice to auto-tidy some infoboxes, but non-tidy infoboxes also have their uses in helping you to identify "old" ones that need their content updating. FlagSteward (talk) 11:45, 7 June 2008 (UTC)

Very true. I wonder, would it be possible to have a completely general "format template" button that formats the template on which the cursor is currently resting? Gaius Cornelius (talk) 16:55, 8 June 2008 (UTC)
I am somewhat concerned that if a particular editor has used a style of infobox whereby it is all on a single line or the pipe is at the end of the line, AWB uses who modify the Infobox by changing whitespace only will be accused of a pointless change and/or unnecessarily changing the existing style of the article. If such a feature were to be implemented I think we would need to see evidence of a strong consensus in favour of doing this and a further explanation of the particular value of a change that won't be visible to anybody reading the article. I can understand that a standardisation of Infobox formatting might be helpful to editors, but I'm not sure that's enough to justify reformatting them all. Rjwilmsi 09:32, 24 January 2009 (UTC)
Not everyone's edit window uses a monospaced font (Safari on Mac OS X, for example) making this a very bad idea. — Bellhalla (talk) 04:39, 30 January 2009 (UTC)
I don't like this idea. -- Magioladitis (talk) 09:15, 20 February 2009 (UTC)

For the reasons above we can't implement this feature request. Thanks Rjwilmsi 18:34, 20 February 2009 (UTC)

Ignore duplicate wikilinks in infoboxes, etc.

Status This feature is not going to be implemented
Description AWB should probably ignore wikilinks in infoboxes and other templates and not consider them as duplicate. — RevRagnarok Talk Contrib 22:17, 8 March 2007 (UTC)
Added in revision
I could change the logic to only look for duplicate wikilinks outside of templates, but is this what everybody would want? Rjwilmsi 19:03, 26 January 2009 (UTC)
I don't agree with this change. For example some people have the same birth and death city and they are both linked. Or football players have the same team linked many times. This is overlinking even if it is in an infobox. If someone needs a different way to fix wikilinks can create a module, but this shouldn't be in the general fixes. -- Magioladitis (talk) 20:02, 26 January 2009 (UTC)

Add consecutive internal links to AWB suggested edits

Status This feature is not going to be implemented
Description MOS:LINK advises to "Avoid placing two links next to each other in the text so that they look like one link (such as internal links)." — I believe a suggestion to correct such confusing consecutive links should be added to AWB's suggested edits. Everyme 11:23, 25 October 2008 (UTC)
Added in revision
How would you propose to fix such examples? I suppose it's delink the first term or delink the second? For inclusion in AWB there would need to be an agreed answer to ALWAYS do one action. Such fixes could be controlled by an optional checkbox that the user would tick if they wanted to fix such links. If there's no 100% answer, AWB could be used to insert a comment after the links to prompt an editor to review the linking. Rjwilmsi 11:29, 25 October 2008 (UTC)
Sounds good. I'd say most cases are of the type where the first link (which should be removed) goes to a parent topic, whereas the first one goes to a much more directly relevant article. Like galaxy M31. But yes, there are of course exceptions and human judgement is necessary to discern which link should go. Everyme 11:36, 25 October 2008 (UTC)
Sometimes it's better to merge the internal links. Especially when dealing with cities and countries separated by a comma. Athens, Greece is better to change to Athens, Greece instead of Athens, Greece. -- Magioladitis (talk) 09:24, 27 October 2008 (UTC)
Perhaps consecutive links could be flagged up as requiring attention by highlighting them in another colour. (BTW, I disagree about how to handle Athens, Greece. The point of this sort of link is the link to "Athens". The "Greece" is merely contextual information, not requiring a link at all - if anyone wants to know more about the country Athens is in, they can use the link in the "Athens" article. Similarly with Athens, Georgia where the "Georgia" part must be present for disambiguation but doesn't have a link of its own). Colonies Chris (talk) 13:47, 28 October 2008 (UTC)
I agree with Chris: "Greece" is a common term that hardly needs linking, and in any case will be treated in the linked article on "Athens". But more broadly, consecutive links each require human supervision to correct; sometimes the whole clause requires rewording to avoid the double link, almost always with considerable improvement to the expression. Flagging seems to be a good idea. Tony (talk) 12:39, 1 November 2008 (UTC)
If this suggestion is taken up, a nice little enhancement would be to highlight pairs of links which (a) are separated by only <comma, space> and (b) the second of the links is to a US state. This would draw attention to a of lot of ambiguous links caused by linking city and state separately - e.g. [[Jackson]], [[Mississippi]] instead of [[Jackson, Mississippi]], Colonies Chris (talk) 15:20, 22 November 2008 (UTC)
Well, I would prefer the latter than the first one, based on the MoS stated above. -- Magioladitis (talk) 20:58, 25 January 2009 (UTC)

This kind of changes should be done manually and not automatic. There can be no specific rules to do it. Linking heavily depends on the context. -- Magioladitis (talk) 03:06, 3 February 2009 (UTC)

There is no clear consensus of how this is done and always depends on the context. A semi-automated bot could do this job partially. -- Magioladitis (talk) 00:23, 30 April 2009 (UTC)

Image to File

Status This feature is not going to be implemented
Description It would be useful to have AWB automatically replace [[Image:Some picture.jpg]] with [[File:Some picture.jpg]] but not |Image = to |File =. I realise that a simple searc and replace would do that just as well but an automatic feature would be more useful. Enter CambridgeBayWeather, waits for audience applause, not a sausage 05:38, 22 February 2009 (UTC)
Added in revision
This is an iffy one. AWB supports both, but from what i recall, there is no reason to go through and change the Image to the file (no benefit in doing so)... Reedy 10:36, 22 February 2009 (UTC)
Would it be possible to make the change if another modification is made (not general fixes). §hepTalk 17:42, 22 February 2009 (UTC)
I'm not aware of any consensus or standard to change existing uses of 'Image:' to the new 'File:'. Rjwilmsi 21:22, 22 February 2009 (UTC)

Seems like a good general fix that wouldn't hurt if done with substantive edits. --NE2 22:13, 22 February 2009 (UTC)

I wouldnt be so adversed it being done with other fixes/changes, if the file is indeed a file, not an image, ie a PDF or similar... But it depends on community consensus really Reedy 22:38, 22 February 2009 (UTC)
Thanks. I hadn't really thought about needing consensus. I just assumed that the use of image had been deprecated. Enter CambridgeBayWeather, waits for audience applause, not a sausage 23:45, 23 February 2009 (UTC)
I thought similarly today, trying to get search and replace to do that while I am in the process of doing other changes to articles anyway. There seems to be a ignore build in on the term 'image' Agathoclea (talk) 23:15, 28 February 2009 (UTC)
  • Agree, I thought 'image' had been deprecated in favour of 'file' too. Nevertheless, there is an editor who has been going about doing exactly those sorts of changes since 25 March, and nothing else. So Reedy, you're saying it's not actually productive? Ohconfucius (talk) 04:14, 26 March 2009 (UTC)
These changes are non-constructive.Thanks for reporting. I'll contact the editor. -- Magioladitis (talk) 08:30, 26 March 2009 (UTC)
I wrote a message to its talk page. The specific editor has been making a string of non-constructive edits. -- Magioladitis (talk) 08:40, 26 March 2009 (UTC)
Cheers. Yeah, it is more not constructive.. I can understand it, if its for a PDF file and such... But yeah, mass editing is a no no Reedy 12:12, 26 March 2009 (UTC)

Flashing in start bar when a change has been found

Status Feature already exists in AWB
Description I like to do other things while AWB does its thing, but I don't know when it has found something and has stopped. Would it be possible to make the start bar flash or something similar when it has come to a stop?--Jonru (talk) 11:08, 20 June 2009 (UTC)
Added in revision
Already exists. Options, Preferences, Editing and saving tab. Tick the flash button at the bottom. Reedy 12:55, 20 June 2009 (UTC)
Oops! Sorry! Thanks for the reply :)--Jonru (talk) 13:43, 20 June 2009 (UTC)

Additional right click functionality

Status New
Description This change would add a function to the list of options when the mouse is right clicked on the edit text area to no wiki selected text (I recommend adding this after the comment selected option). Currently it is possible to comment out selected text but not to no wiki it so it is still visible.--Kumioko (talk) 13:31, 30 June 2009 (UTC)
Added in revision
Theres a nowiki option on the Toolbar? Reedy 14:01, 30 June 2009 (UTC)
Thanks I never noticed that before. Consider this request withdrawn then. --Kumioko (talk) 14:22, 30 June 2009 (UTC)

Allow users to change the highlighting color

Status New
Description Now that the text editor has been upgraded in AWB I would like to ask that functionality be added to AWB to allow the users to highlight specific changes in a different color so they stand out more. For example I find it difficult to see the first highlighted unbalanced bracket found when there are other changes as well. If I could change this to a different color or if AWB changed to a different color based on the type of edit, it would make it a lot easier to see and make changes. Here is an example of what I am thinking about.
  • Alerts could be one color
  • General AWB edits could be another color color
  • User defined or Module edits could be another color --Kumioko (talk) 13:25, 29 June 2009 (UTC)
Added in revision
How can you not see the first unbalanced bracket? The edit box shows it in red and does not colour highlight other changes, only syntax highlighting, which you can disable if you don't like it. Rjwilmsi 15:25, 29 June 2009 (UTC)
I do not see anything highlighted. For example the Daniel Sickles article gets the unbalanced brackets message and I cannot find it anywhere in the article. I am currently using SVN 4312 although I recently downloaded an update that I thought was 45 something.--Kumioko (talk) 16:31, 29 June 2009 (UTC)
Download a snapshot. You'll see what I mean. Rjwilmsi 16:57, 29 June 2009 (UTC)
Do you know what the most recent one is so I can make sure I grab the right one. Not really sure about how the snapshots work. --Kumioko (talk) 17:00, 29 June 2009 (UTC)
Nevermind I figured it out and I see what you mean. I guess I had an older version. Thanks again. --Kumioko (talk) 17:07, 29 June 2009 (UTC)

Audio signal when stopping

Status Feature already exists in AWB
Description When AWB is browsing through a list of articles, it emits some Windows default "click" sound every time it loads a new article. I think this is not very useful and becomes irritating very soon. A better scheme would be a scheme where AWB would only emit a sound when it encounters an article that needs manual inspection. —ZeroOne (talk / @) 07:59, 23 April 2009 (UTC)
Added in revision

I think this has to do Windows and it can't be fixed. -- Magioladitis (talk) 09:16, 23 April 2009 (UTC)

Ah, it seems that the sound does come from IE. Maybe someone knows how to disable it, then? Also, AWB still could emit a distinctive sound when it stops! —ZeroOne (talk / @) 10:07, 23 April 2009 (UTC)
This is a matter of configuring your Windows sound settings to your liking. Not AWB. Rjwilmsi 11:13, 23 April 2009 (UTC)
Nope, I can't configure Windows to emit a sound when AWB reaches a page that needs me to manually click "Save". I can, most likely, configure Windows to not emit a sound when a new page is selected in IE but it has already been established that that is beyond AWB. —ZeroOne (talk / @) 12:50, 23 April 2009 (UTC)
I will look into AWB beeping when an article is loaded ready to saving. Rjwilmsi 14:58, 19 May 2009 (UTC)

AWB already has the beep for ready to save.. Its just off by default. Options --> Preferences, Editing and saving tab, When ready to save, tick beep, ok, save your settings. As for the IE click, check the FAQ on WP:AWB Reedy 15:40, 19 May 2009 (UTC)

Remove empty parameters in citation templates

Status This feature is not going to be implemented
Description On some long pages, empty parameters (like |coauthors = |) can sometimes take up a lot of extra space if they aren't removed when the citation is added, which can affect loading time (I think) and can make it harder to edit the article because of all of the useless additional text. Typically, having such empty parameters in infoboxes is good, but if AWB could be programmed so that one of its general fixes was to remove empty parameters from citation templates, that would be great. Thanks! –Drilnoth (TC) 12:15, 8 April 2009 (UTC)
Added in revision
I could easily do this, but am concerned that leaving empty parameters may be considered helpful so that other users who see them might be encouraged to fill them in. I will implement this if there is discussion on the citation template talk pages showing a strong consensus in favour. Thanks Rjwilmsi 16:31, 8 April 2009 (UTC)
Currently, all of the citation templates say that empty parameters should be removed when you add the template, which is where I got this idea from. It could make sense to leave some of the more common parameters (like author, url, etc.) in, but maybe take out the more uncommon ones like doi, chapterurl, lastauthoramp, others, and editor. Those aren't commonly used so I don't think that they'd be controversial; sometime in the next few days I'll ask around to see if there's a consensus. Thanks! –Drilnoth (TC) 16:43, 8 April 2009 (UTC)
"priority=" and "class=" parameters in WPBiography should not be removed. In fact KingbotK plugin adds them in every opportunity. I think this should not be a general fix. A bot can be made to remove empty parameters from the requested templates after discussion and approval by BAG. -- Magioladitis (talk) 18:25, 8 April 2009 (UTC)
Of course they shouldn't... that's why I corrected my request to specify only parameters in references, not all empty parameters because, as in your example, there are many times where they are useful. –Drilnoth (TC) 18:37, 8 April 2009 (UTC)
Agreed. In references they hace to be cleaned. -- Magioladitis (talk) 18:48, 8 April 2009 (UTC)
Please don't! I use them (and have seen them used very often) as placeholders and reminders of what is missing for the citation to be complete. Some parameters could be cleaned up, (last2/first2 and the like, coauthors, which only end up there because of copy/paste from the documentation) but others (isbn, doi, year, author, last/first ...) should definitely not be removed. Headbomb {ταλκκοντριβς – WP Physics} 06:35, 24 April 2009 (UTC)

Bot Halt, or like feature

Status Feature added in next release
Description I'd like a feature while running a bot for it to halt on certain conditions to allow me to exam the page more closely. I would like an option to test a regex on the page after processing has completed. This could conceivably be worked in as a skip option, where I could re-run the page after the initial pass. — Dispenser 05:27, 5 March 2008 (UTC)
Added in revision

What my plugin does is open bad pages in the browser; they can be fed back into AWB later if need be*. That way the bot doesn't stop processing, a feature which would annoy more people than it would help I suspect. Would that be a better option? Either way we could certainly consider a "halt or open in browser on hitting regex x" feature I guess. --kingboyk (talk) 09:35, 5 March 2008 (UTC) *I use the skip log for feeding pages back in. --kingboyk (talk) 09:36, 5 March 2008 (UTC)

I'm thinking how that a halt feature might introduce more complexities and clutter than its worth. The ideas of skipping when the output matches a regex is more flexible. — Dispenser 22:34, 5 March 2008 (UTC)
AWB already has the "skip if contains", and you can make them regex... Reedy Boy 22:42, 5 March 2008 (UTC)
But those are processed before my regexes are applied. I'd like something where I can check to make sure the output is correct. — Dispenser 05:24, 6 March 2008 (UTC)
Hmm.. I suppose, it wouldnt be difficult to have a "early and/or late" check, like there is with the normal FaR - ie they can be applied before or after the general fixes...? Reedy Boy 08:32, 6 March 2008 (UTC)

What I am really asking for is a if is a set of Skip if contains and Skip if doesn't contains that are evaluated after the regexes have finished parsing. There's been a similar request here before to have this too. It's a good idea since bot ops can ensure the saved page is correct. — Dispenser 00:47, 12 May 2008 (UTC)

Suppose, it could have an option for early/late checking.. Like general fixes do..? Reedy 22:20, 15 October 2008 (UTC)

rev 4873 Option to apply Skip if contains and Skip if doesn't contains after processing the page. Rjwilmsi 10:37, 12 July 2009 (UTC)

Add tooltip texts to "Page is redirect" and "No alerts"

Status Feature added in next release
Description "Skip -> Page is redirect" and "Skip -> No alerts" lack tooltip texts. Add something like "Automatically skips articles if they are redirects" and "Automatically skips articles if they are no alerts" -- Magioladitis (talk) 08:04, 12 July 2009 (UTC)
Added in revision

rev 4872 used "if there are no alerts". Rjwilmsi 09:23, 12 July 2009 (UTC)

Replace redirect for some templates

Status Feature added in next release
Description For some templates with many synonyms (redirects) it may be a good idea to replace one version with a better (less confusing, controversial etc.) one, or rather with the "real" template. I'm thinking especially of automatically replacing {{fact}} with {{citation needed}}. (Yes, that template has been renamed.) Change {{cn}} to {{citation needed}}. (The short version makes me think of China.) I guess there are tons of other cases. The change would be visible only in the wiki-source, not on the article page.--ospalh (talk) 11:22, 6 July 2009 (UTC)
Added in revision

Ospalh, I prefer {{fact}} with {{tl|citation needed} because is sorter and used in thousands of articles. moreover, I don't think there a consensus for that. As a general advice I think it's better before adding a request in here to seek consensus in the template pages. Friendly, Magioladitis (talk) 11:32, 6 July 2009 (UTC)

The move discussion was almost unanimous, as typing the old {{fact}} and {{cn}} still works. And User:SmackBot is already changing it, but it could use the help I feel AWB may be able to offer. See for example changes to Guitar or Earth radiation picked pretty much at random from its contributions.--ospalh (talk) 16:37, 6 July 2009 (UTC)
This runs afoul of WP:R2D. –xenotalk 16:47, 6 July 2009 (UTC)
Seems like a bad idea to just go around changing it. SmackBot might be allowed to as long as its dating tags anyway, but having this in AWB by default seems like a bad idea to me (although it would be trivial to code it into custom find/replace regex). –Drilnoth (T • C • L) 17:08, 6 July 2009 (UTC)
I don't think that WP:R2D is relevant here. That's about fixing redirects for things like performance by adding a pipe to links or changing the visible text. To the contrary, one point in WP:R2D is that adding piped targets "makes the article more difficult to read in page source form." The reason for the {{fact}} to {{citation needed}} move was to make the article easier to understand in the source form. To a new editor it's not neccessarily clear that a {{fact}}, as opposed to a {{citation needed}}, in the source means that somebody should dig up a citation for that sentence. (And {{cn}} is just cryptic.) So I see the change as a real (but small) improvement. With that it doesn't seem like a bad idea to include this fix in AWB. When SmackBot is "allowed" to change it when making other fixes, AWB could just as well go around and make this fix along with the other fixes.--ospalh (talk) 21:03, 6 July 2009 (UTC)
Can you give us a link with the discussion in which this was decided? Thanks, Magioladitis (talk) 08:48, 7 July 2009 (UTC)
Sure.--ospalh (talk) 12:21, 8 July 2009 (UTC)
OK! Let's implement it then. This is a consensus in the template's talk page and they are some very good arguments. -- Magioladitis (talk) 16:41, 8 July 2009 (UTC)

rev 4819 Implemented as requested. Rjwilmsi 15:15, 9 July 2009 (UTC)


Paste More (context menu in the Edit box)

Status Feature added in next release
Description The feature is good as far as it goes, but I find it a hassle to right click, click Paste More, then double click the entry I want to insert.

How about changing the menu from having 10 edit boxes to having 10 regular menu items, and a configure box (at the bottom, after a separator line) to bring up the UI to add/edit entries. Then the menu items can get keyboard shortcuts (e.g. Ctrl+0..9) so inserting the text is easy. It might need an Edit menu item adding to the application menu to make that happen, I'm not sure. You might also have to limit how much of the text gets shown as menu text to prevent the menu from getting infeasibly wide, but that (and the option to allow the user to choose that limit) could come later. ClickRick (talk) 11:45, 29 June 2009 (UTC)

Added in revision 5.0

Added in rev4877 ClickRick (talk) 01:02, 14 July 2009 (UTC)

Replace Image with File

Status This feature is not going to be implemented
Description WP recently changed the file extention from Image to File and I think that AWB should also replace these. --Kumioko (talk) 13:18, 29 June 2009 (UTC)
Added in revision
Yup, but there is no benefit from doing so, and IIRC the WP:MOS says theres no need to change between them (i believe) Reedy 13:20, 29 June 2009 (UTC)
Oh ok --Kumioko (talk) 13:27, 29 June 2009 (UTC)
Yep; I think that it should be changed if you're editing anyway, but there seems to be resistance to having it built into tools (I discovered this while working on WP:CODEFIXER). –Drilnoth (T • C • L) 13:29, 29 June 2009 (UTC)
We discussed this before and the answer is that it's no good. -- Magioladitis (talk) 13:57, 29 June 2009 (UTC)


Replacing categoring and keeping pipes

Status Feature added in next release
Description Check this one. I would like to be able to keep the piping in the category. I would prefer if that was optional. -- Magioladitis (talk) 11:34, 13 June 2009 (UTC)
Added in revision

I don't understand what you're asking for: if you remove a category its sortkey has to go with it. Rjwilmsi 18:13, 13 June 2009 (UTC)

I would like to be able to replace category A with category B without losing the sortkey. -- Magioladitis (talk) 18:43, 13 June 2009 (UTC)
rev 4506 option to remove sortkey when replacing categories. Rjwilmsi 21:29, 13 June 2009 (UTC)
thanks. -- Magioladitis (talk) 22:22, 13 June 2009 (UTC)

Commons category

Status Feature added in next release
Description When AWB finds {{Commons|Category:Gander International Airport|Gander International Airport}} it gets replaced with {{commons cat|Gander International Airport|Gander International Airport}} but it should give {{commons cat|Gander International Airport}} provided the wording is the same on both sides of the pipe. Enter CambridgeBayWeather, waits for audience applause, not a sausage 07:56, 10 June 2009 (UTC)
Added in revision

Agreed, per documentation at Template:Commons_cat. I'll do this in the next few days. Rjwilmsi 13:34, 10 June 2009 (UTC)

rev 4485 Done. Rjwilmsi 17:30, 10 June 2009 (UTC)
Thanks. Enter CambridgeBayWeather, waits for audience applause, not a sausage 17:51, 10 June 2009 (UTC)

Basic CheckWiki list provider

Status Feature added in next release
Description Add a simple list provider to take a url like "http://toolserver.org/~sk/checkwiki/enwiki/enwiki_error_list_error_047.html" and add the contents to the list. - Jarry1250 (t, c) 12:36, 7 June 2009 (UTC)
Added in revision

I had a go at doing this myself; a basic implementation (which works at the very least) is:

(Lengthy code removed.)

This should save some time for all the people using AWB for CheckWiki fixes, probably a request about it up there ^ somewhere. - Jarry1250 (t, c) 12:36, 7 June 2009 (UTC)

rev 4474, i redid the code to simplify it and make it more reusable. Did a specific version of it inheriting from a base HTMLScraper Implementation. Cheers Reedy 14:38, 7 June 2009 (UTC)

Show what links here for images

Status Feature added in next release
Description An idea that I think would be really cool is a tab that shows what links to an article currently being edited, what transcludes the current page, and/or (what I really want) what articles include the current image. The idea just hit me that I could use AWB to help with the image backlogs at CAT:CSD, Especially with the Category:Orphaned fairuse images, because you can see at a glance whether an image is orphaned or not. Harryboyles 11:09, 20 May 2007 (UTC)
Added in revision

yeah, i asked for something like this a while ago... don't know what happened to it... -ΖαππερΝαππερ BabelAlexandria 20:39, 24 July 2007 (UTC)

I think having a What Links Here tab next to the History tab would useful (for me at least). It would simply mimic the result of "What links here" link on a page normally. In fact, I think I could do it myself and submit it as a patch, shouldn't be too hard. Maybe make it optional. - Jarry1250 (t, c) 17:18, 6 June 2009 (UTC)
Nearly done (haven't made it optional yet though). "Any objections?", he asks, bringing it out of the archives. I'm thinking of a new tab to the right of "History", by the way, reading "What links here". It would definitely also work for images. - Jarry1250 (t, c) 18:56, 6 June 2009 (UTC)
Okay, so this patch would create that tab (compulsory) and make it work:

(Lengthy code removed.)

- Jarry1250 (t, c) 19:34, 6 June 2009 (UTC)

rev 4476/rev 4477 Reedy 15:12, 7 June 2009 (UTC)

yay! -- ΖαππερΝαππερ BabelAlexandria 16:39, 7 June 2009 (UTC)


Suppress JS errors on history tab

Status Feature added in next release
Description Because it's a real pain when you get four errors every time you click on it because of IE. This patch may well do it. (Alas, you can't copy and paste that directly because it's misinterpreted @@ as "please highlight this line.) - Jarry1250 (t, c) 17:51, 5 June 2009 (UTC)
Added in revision

rev 4440, we already had it enabled for the main web control :) Reedy 18:57, 5 June 2009 (UTC)

minuses

Status Feature added in next release
Description I'm listing this as a feature request rather than a typo just to make sure it gets proper exposure, and it's not as trivial a fix as taoster → toaster. Often, exponents are written as x-2 rather than x−2 [x<sup>-2</sup> vs. x<sup>−2</sup>]. I think there would be an incredibly low false positive rate if AWB recognized -(number) and changed it to −(number) [<sup>-(number)</sup> vs. <sup>−(number)</sup>]. Headbomb {ταλκκοντριβς – WP Physics} 22:33, 4 June 2009 (UTC)
Added in revision
Extend Parsers.Mdashes, seems perfectly reasonable. Rjwilmsi 23:02, 4 June 2009 (UTC)
rev 4446 I take it from Wikipedia:MOSNUM#Common_mathematical_symbols that the correct symbol is a unicode minus, so hyphens, en-dashes and em-dashes are converted. This will not be applied within <math> tags. Rjwilmsi 10:27, 6 June 2009 (UTC)
Also the string <sup>-</sup> could be converted to <sup>−</sup>. I have never seen, and cannot even imagine, one such use of a hyphen where a minus is not meant. Headbomb {ταλκκοντριβς – WP Physics} 20:12, 30 June 2009 (UTC)

Substituted templates

Status Feature added in next release
Description Upon detecting any of the below in an article, it would be nice if AWB would add the article to Category:Substituted templates and disable all other automatic changes (both user defined and general fixes). Automatic changes on articles with substituted templates just tend to make a bigger mess of things. Note the last item below is a regex.
<noinclude>
</noinclude>
<includeonly>
</includeonly>
<onlyinclude>
</onlyinclude>
{{{[1-9]}}}

--Pascal666 16:27, 4 June 2009 (UTC)

Added in revision

Mainspace only for category? And the sorting general fix will still have to be applied to get the new category in the right place. Rjwilmsi 21:00, 4 June 2009 (UTC)

rev 4430 Partial implementation:
  • on en-wiki mainspace add articles matching 'noinclude' etc. to 'substituted templates' category, if not already in that category
  • in HideMore hide 'noinclude' etc. too (allows find&replace / custom modules to avoid such tags)
I don't think it's appropriate to unilaterally disable all general fixes just because some part of the article uses such tags, as this category says articles using these items are to be cleaned up not to use them. Rjwilmsi 21:49, 4 June 2009 (UTC)
The biggest problem is that AWB tends to pull stuff out of the subst'd template and place it where it "belongs" but where it won't get removed when the subst'd template is finally fixed. For example, AWB pulled several categories out of a #if here, the template was desubst'd here, but I had to remove the cats here. AWB pulled languages out of a noinclude here, the template was desubst'd in October 2007 here, and it wasn't until May 2009 I finally noticed what had happened and pulled out the language links here. When a template gets subst'd into an article AWB has no way of knowing what is article and what is template, and generally does a good job of shuffling the two together making it even harder to fix. --Pascal666 23:01, 4 June 2009 (UTC)
You might have mentioned that before. rev 4436 Don't sort any cats/interwikis/dablinks etc. when mainspace article has 'noinclude' or programming element etc. Rjwilmsi 06:43, 5 June 2009 (UTC)
Thank you, however please note that #if can be used in articles and its presence does not necessarily mean that the article has had a template substituted into it. The keywords I listed in the original request are the only ones that have no use in articles, only in templates. I apologize if my example of prior bad behavior by AWB confused the issue. --Pascal666 07:03, 5 June 2009 (UTC)
Best to discuss one issue at a time. rev 4438 drop checks for '#if'. Rjwilmsi 17:18, 5 June 2009 (UTC)

Recently added text at Category:Substituted templates said "These keywords should never be found in the main namespace." I have removed that sentence because it is incorrect, contradicting pages such as Help:Template#Template-like constructions and WP:Transclusion#Partial transclusion. Pages containing these constructs are not necessarily the result of substituted templates and should not be added to the category just because they contain them. MANdARAX  XAЯAbИAM 19:07, 5 June 2009 (UTC)

Sorry, I had not run into these before. So if one of the keywords listed above is found, AWB will have to check if the page is actually transcluded somewhere and only apply this general fix if not. --Pascal666 08:58, 6 June 2009 (UTC)
rev 4443 Category addition commented out for the moment. New logic to avoid pulling categories out of noinclude etc. remains. Rjwilmsi 09:34, 6 June 2009 (UTC)

Standard level 2 headers

Status Feature added in next release
Description There are many cases where an article's only level 2 headers are for things like "references", "see also", or "external links", since many bots correct such sections to use the proper header level. When such headers (at level 2) are present, could AWB be made to ignore them when determining when to decrease the header level for other headers? E.g., an article has two headers at level three and then "references" at level two. AWB would change them all to be level 2. –Drilnoth (T • C • L) 16:19, 4 June 2009 (UTC)
Added in revision
Extend logic within Parsers.FixHeaders, sounds reasonable. Rjwilmsi 06:44, 5 June 2009 (UTC)
rev 4447 As requested. Rjwilmsi 10:44, 6 June 2009 (UTC)
Thanks! –Drilnoth (T • C • L) 18:51, 12 June 2009 (UTC)

Bug: Unforeseen problem with feature request which has been discovered since code was implemented and which should be fixed, but which does not fit the definition of "bug" :)  : It shouldn't change any headers, regardless of level, that are underneath those common headers. This is an error, for example. –Drilnoth (T • C • L) 20:49, 15 June 2009 (UTC)

rev 4539 only apply 'headings up one level fix' if all level 3 headings and lower are before the first of references/external links/see also. Hilarious that when the solution is implemented per your stated requirement, and it later fails to satisfy a requirement you failed to mention, you call it a bug. You could work for the client on my current project (real life job)... Rjwilmsi 21:51, 15 June 2009 (UTC)
Thanks for the update. I've also updated my request –Drilnoth (T • C • L) 22:05, 15 June 2009 (UTC)
No problems. The previous was written while sporting a cheeky grin. Your userpage doesn't specify if you're British: if not, my sense of humour may evade you. Rjwilmsi 22:22, 15 June 2009 (UTC)
I thought that you were being humorous (wasn't positive... just thought)... and that's why I responded with a bit of humor myself. –Drilnoth (T • C • L) 22:26, 15 June 2009 (UTC)

Summary editor Enter, scroll

Status Feature added in next release
Description Could the summary editor be fixed to allow newlines to be added with the Enter key? I think this used to work, but now, pressing Enter while in the text area instead "activates" the OK button. (As a workaround, use Ctrl-Enter.)

Also, could a scroll bar be enabled? Most people probably don't have so many possible summaries, but it would be helpful for those of us who do.

I'm using SVN 4369, but the situation was the same with 4340. MANdARAX  XAЯAbИAM 01:14, 25 May 2009 (UTC)

Added in revision
Presumably you only need/want vertical scroll bars? (As long text wraps around). Enabled a vertical scrollbar, and also allowed enter to be pressed in the control to make a newline, rather than pressing ok. rev 4383. The enter pressing ok might've been my fault when tweaking stuff... No harm done Reedy 14:52, 26 May 2009 (UTC)
Yes, I was only requsting a vertical scoll bar. Thanks! MANdARAX  XAЯAbИAM 17:25, 26 May 2009 (UTC)

Merging duplicate references

Status Feature added in next release
Description Perhaps AWB already does this, but I would be nice if duplicate refs would be merged. Aka it would change

Bob had a dog.[1] His name was Popo.[2] He pooped a lot.[3].

  1. ^ Jim, Bob (2004). "Popo, the Dog that Pooped", p. 23.
  2. ^ Jim, Bob (2004). "Popo, the Dog that Pooped", p. 23.
  3. ^ Jim, Bob (2004). "Popo, the Dog that Pooped", p. 23.
to

Bob had a dog.[1] His name was Popo.[1] He pooped a lot.[1].

  1. ^ a b c Jim, Bob (2004). "Popo, the Dog that Pooped", p. 23.

Headbomb {ταλκκοντριβς – WP Physics} 22:30, 20 May 2009 (UTC)

Added in revision
I thought it did? Or at least, to some extent User:Reedy 22:32, 20 May 2009 (UTC)
I looked through the archives and didn't find anything. Headbomb {ταλκκοντριβς – WP Physics} 23:01, 20 May 2009 (UTC)
Think Rjwilmsi just added it (ie with no FR, i might be wrong though). [17] - It does clear them up if they are all named and the same... Reedy 23:08, 20 May 2009 (UTC)

I added logic to tidy duplicate references that already have names. AWB does not yet do anything with unnamed duplicate references but I have logic to do this, and intend to add it soon-ish. Rjwilmsi 11:10, 21 May 2009 (UTC)

Is "blah" really the name used by AWB??? Headbomb {ταλκκοντριβς – WP Physics} 14:22, 21 May 2009 (UTC)
Nope, its what came to my mind first ;) 14:41, 21 May 2009 (UTC)

Could this be added using names like "autogenerated1", "autogenerated2", etc.? There is now a truly massive list at WP:CHECKWIKI (39638 times right now), and combining them with undescriptive names would make more sense to me than leaving them separated. That list is too big for any human to do without an über automated tool, so having AWBots able to do this would be very useful. The specific names could then be made more descriptive by a human editor at some later date (which is still easier than doing the whole merge, IMO). –Drilnoth (T • C • L) 21:09, 1 June 2009 (UTC)

tools:~dispenser/view/Reflinks - I'm sure that names the references automagically when it combines them... Reedy 21:19, 1 June 2009 (UTC)
I could add the same logic to AWB but who will provide me indemnity against some other editor saying 'the reference names are meaningless and hard to understand...'? Rjwilmsi 22:36, 1 June 2009 (UTC)
I know that I'd certainly defend your position... having the refs combined with undescriptive names makes articles look much better for readers, and updating the names in edit mode is much easier than combining them entirely by hand. The name is a much smaller problem than having the duplicates in the first place. Alternatively, we could open an RFC about this. –Drilnoth (T • C • L) 22:58, 1 June 2009 (UTC)
I agree, but would prefer that a discussion take place to check that this is the general opinion rather than get flamed. Rjwilmsi 10:58, 2 June 2009 (UTC)
I really don't see what would be controversial about this. If possible, it should retrieve |last=Last and |year=Year to place them in <ref name="LastYear"> (and if there are duplicates, <ref name="LastYearA">, <ref name="LastYearB"> and so on). Failing that, it should use generic names like <ref name="ReferenceA">, <ref name="ReferenceB">, and so on. If that's hard to read, I don't know what isn't.Headbomb {ταλκκοντριβς – WP Physics} 23:42, 4 June 2009 (UTC)
That's a good idea... trying to retrieve a name from citation templates. Then if there's no template it could use a more generic name. –Drilnoth (T • C • L) 00:11, 5 June 2009 (UTC)

rev 4437 and rev 4442 Work in progress. Rjwilmsi 11:48, 6 June 2009 (UTC)

Sounds good. Thanks! –Drilnoth (T • C • L) 13:39, 6 June 2009 (UTC)
rev 4481 Approaching release quality. Rjwilmsi 15:34, 10 June 2009 (UTC)
Awesome! I'll give it some good testing before I actually start my bot doing that (by the way, when its ready, will it need another line in the custom module? If not, which line would be needed? I'd assume FixReferenceTags, but I can understand if you've put this in a separate part of the code). Thanks! –Drilnoth (T • C • L) 15:42, 12 June 2009 (UTC)

rev 4535 Promoted to live. New function DuplicateUnnamedReferences within Parsers. Test it carefully before running in bot mode. Rjwilmsi 18:55, 15 June 2009 (UTC)

That's the plan; thanks. I'll let you know if I see any bugs. –Drilnoth (T • C • L) 20:34, 15 June 2009 (UTC)
Could this be even further improved with some sort of highlighting in the edit box, and maybe an alert, to prompt the AWB editor to provide a better name? —ClickRick (talk) 09:01, 25 June 2009 (UTC)

Date formatting per MOS

Status This feature is not going to be implemented
Description Wikipedia:Manual of Style (dates and numbers)#Dates contains a table which lists several incorrect date styles. Based on the results of this test, AWB currently corrects only four of these incorrect styles. I believe that an additional two could be added to AWB without significantly affecting the likelihood for false positives:
  1. Change the DAYth of MONTH to DAY MONTH; example: the 9th of May to 9 May
  2. Change MONTH DAY YEAR to MONTH DAY, YEAR; example: May 9 2009 to May 9, 2009

I do not believe that the other corrections (MONTH, YEAR to MONTH YEAR and DAY MONTH, YEAR to DAY MONTH YEAR) could be made without causing many false positives (e.g. "In May, 2009 people were admitted to hospital for flu symptoms." or "On 9 May, 2009 soldiers from the 5th Division crossed the river.") –BLACK FALCON (TALK) 18:19, 24 June 2009 (UTC)

Added in revision
I would add that the dates should be consistent throughout the article. So if the article has 15 dates on it, 14 of them are formatted as Month Day, Year and 1 is formatted as Day Month Year then the Day Month Year format should be changed to match. Basically it shoudl take the prevailing date format used thruoghout the article if not a quote. If it helps here is a line of java code to help construct an equivilant filter for AWB.

//Replace 1 January XXXX date style with January 1, XXXX

ArticleText = Regex.Replace(ArticleText, @"(?i)([0-3][\d]|[\d])(?:st|nd|rd|th|)\s(January|February|March|April|May|June|July|August|September|October|November|December)", "$2 $1,");

--Kumioko (talk) 18:24, 24 June 2009 (UTC)

Black Falcon's two requests are reasonable. However, fro Kumioko's request, I don't think AWB should be converting between valid date formats. There is too much contention in this area, and too many users who would find reasons to complain. Rjwilmsi 10:37, 25 June 2009 (UTC)

I understand, thought I would throw it out there thuogh. --Kumioko (talk) 16:55, 25 June 2009 (UTC)

This should implemented as a typo fixing rule so that users could see and ignore false positives. Consider:

  • following the 9th of May beer festival -> following 9 May beer festival missing 'the', would be incorrect for AWB to change as specified.
  • On May 9 2004 people got drunk Not up to AWB to choose whether a comma is good or not.

I think the existing AWB logic goes as far as can be done with high accuracy and low controversy. Rjwilmsi 15:39, 29 June 2009 (UTC)

Add quotes to named refs

Status This feature is not going to be implemented
Description Named references should almost always have quote marks in the name, so code like <ref name=myname /> should be <ref name="myname" /> and <ref name=myname>(citation)</ref> should be <ref name="myname">(citation)</ref>. See Wikipedia:Footnotes#Naming a ref tag so it can be used more than once for details. –Drilnoth (T • C • L) 22:28, 8 May 2009 (UTC)
Added in revision
As of rev 3873 AWB already has logic to add quotes where the reference name contains spaces or non-ASCII characters. What more do you need? Rjwilmsi 23:13, 8 May 2009 (UTC)
Yeah, the quote marks are otherwise unnecessary - but I like them. In fact, we weren't even using them in our examples until I changed it a couple of weeks back (given our editor base). - Jarry1250 (t, c) 11:55, 9 May 2009 (UTC)r
They're not really nessecary, but consensus seems to be that they should be used, as can be seen in both the guideline and in practice (long standing pages use quote marks, but new pages are sometimes created without). More standardization would just be a good idea, IMO. –Drilnoth (T • C • L) 13:24, 9 May 2009 (UTC)
When I did this myself a while ago some users objected. See my talk page archive. Rjwilmsi 14:14, 9 May 2009 (UTC)
I think AWB should work according to Manual of Style for general fixes. The subject has to be discussed there and the addition or not of this feature should depend on that. -- Magioladitis (talk) 14:28, 9 May 2009 (UTC)
It's already in a style guideline (WP:Footnotes), but when I have more time I'll bring it up for more discussion at a MOS page or similar. Thanks! –Drilnoth (T • C • L) 14:56, 9 May 2009 (UTC)
WP:REFNAME reads "The ref name need not be placed within quotes unless it contains a space or some non-ASCII characters" -- Magioladitis (talk) 15:36, 9 May 2009 (UTC)
Ah, okay. It doesn't prohibit using quote tags, either, so more discussion is indeed needed before implementing it as a standard change. Thanks for pointing out that line. –Drilnoth (T • C • L) 16:10, 9 May 2009 (UTC)

No for the moment - AWB already adds quotes to named refs where they are indeed neeeded. Rjwilmsi 14:38, 19 May 2009 (UTC)

Generic template removal

(Request template removed; fix below works fine) I'm hoping this can be added because I'd like to be able to go through a list of pages and remove a certain template, regardless of its parameters. The closest option currently is just to use Find and Replace to get rid of the template, but this really only works if the template is the exact same each time. With the template I'm trying to remove, {{AFC submission}}, the parameters change with each use of the template, since it has a timestamp parameter and a creator parameter. If there's some way to do this using RegEx then I apoloize for my ignorance and would appreciate being told how to do this. Thanks much, Robert Skyhawk So sue me! (You'll lose) 23:22, 6 February 2009 (UTC)

I think the following works: \{\{foo\|([^\}]*)\}\} I'm sure there's a much more elegant way to do it, but essentially this finds the opening brackets with the template name, then a string of any length that doesn't contain a closing bracket, then the closing brackets. --NE2 01:27, 7 February 2009 (UTC)
That actually works great, thanks. Robert Skyhawk So sue me! (You'll lose) 04:05, 7 February 2009 (UTC)
Strongly suggest you use \{\{foo\|([^\}\{]*)\}\} as templates can be nested. Rich Farmbrough, 16:12 28 February 2009 (UTC).