[Migrated] Templates that end in Breaks (CHECKWIKI error 59)
Open, Needs TriagePublic

Description

A simple find and replace that finds <br> at the end of a value in a template, and removes it as it is un-nescesary. See Error 59 in WikiProject: Check Wikipedia.
If Not: honorific prefix
Find (with regex multiline, case sensitive) :[\t ]*<[\s\/\.]*br[\s\/\.]*>[\t ]*([\t\n ]*?)(\]\]|}}|\|)
Replace (with regex and multiline, case sensitive: $1$2
@Tim1357 00:11, 21 October 2009 (UTC)

Reguyla created this task.May 27 2015, 11:29 PM
Reguyla added a project: AutoWikiBrowser.
Reguyla moved this task to General fixes on the AutoWikiBrowser board.
Reguyla added subscribers: Reguyla, Aklapper.

@Magioladitis 11:25, 8 March 2010 (UTC) wrote:
We already fix it for files. I think it should be easy to implement.

@Magioladitis 08:09, 17 September 2010 (UTC) wrote:
I had to remove http://en.wikipedia.org/w/index.php?title=Jesper_Tyd%C3%A9n&diff=prev&oldid=385225373 the break line tag manually. Moreover, it was duplicated to the Persondata entry and I had to remove it from there too. I guess this addition will also fix https://en.wikipedia.org/wiki/WP:CHECKWIKI error 59.

@Magioladitis 00:00, 24 September 2010 (UTC) wrote:
Better in 7171 but there is a comma at the end. Check http://en.wikipedia.org/w/index.php?title=Wikipedia%3AAutoWikiBrowser%2FSandbox&action=historysubmit&diff=386644715&oldid=386644570 here.

@Rjwilmsi 10:32, 6 October 2010 (UTC) wrote:
{{awbsvn|7223}} for PersonData comma issue.

@Magioladitis 08:55, 12 October 2010 (UTC) wrote:
We just need to avoid: honorific prefix, honorific-prefix as the request says. I left a note to Infobox officeholder and they 'll probably fix this too.

@Magioladitis 06:09, 2 May 2013 (UTC) wrote:
Honorific-prefix, honorific-suffix changed and don't need break lines at the end anymore.

@Magioladitis 12:40, 12 October 2010 (UTC) wrote:
{{tl|nihongo}} is also a template that uses break line tags as I was hinted in my talk page.

@Rich_Farmbrough 16:35, 22 October 2010 (UTC) wrote:
*The point with hon-pref and hon-suf is that in some circs they want the pref and/or suff on the same line as the name, in others they don't. It would be bnest for the template to have the smarts to distinguish, but that would need work and consensus.

@Magioladitis 14:21, 31 March 2013 (UTC) wrote:
We now have a custom module for error 59.

@Magioladitis 06:07, 2 May 2013 (UTC) wrote:
Since bots run the custom module for a while now I wonder it it could be now part of general fixes.