Page MenuHomePhabricator

AWB deletes closing </p> tags
Closed, DeclinedPublic

Description

AWB deletes closing </p> tags with general fixes turned on. In case of the opening tag containing some attributes, e.g. align="center", this style will apply to unwanted subsequent text until some closing tag that somehow survives. Example edit: https://ru.wikipedia.org/w/index.php?diff=75385936&oldid=74894786

Event Timeline

MBH raised the priority of this task from to Needs Triage.
MBH updated the task description. (Show Details)
MBH added a project: AutoWikiBrowser.
MBH added a subscriber: MBH.
KPu3uC_B_Poccuu renamed this task from AWB deletes closing tag </p> to AWB deletes closing </p> tags.Jan 15 2016, 5:34 AM
KPu3uC_B_Poccuu updated the task description. (Show Details)
KPu3uC_B_Poccuu set Security to None.

<p align="center"> should be changed to something else.

<p align="center"> should be changed to something else.

Agreed. There are only a few minor cases where <p> is even needed. If needed, it should be separated into <p><center>

<p align="center"> should be changed to something else.

Agreed. There are only a few minor cases where <p> is even needed. If needed, it should be separated into <p><center>

What the hell? Not only deletion of the ending tags is unjustified in any case, also <center> is obsolete in HTML 5, so I don't get why there is even a discussion needed to get this fixed with invalid instructions for fixing our code.

Do you really think the only use of the <p> tag is centering?????? What the hell is this your 'fix' on fixing something that ain't broken? What is your problem with the way the <p> is used? Huh?

And not to mention I personally never use <p> like that, so I don't get why do you direct your ill-thought advises at me.

@KPu3uC_B_Poccuu I fixed the page in question. I think it's a rare issue but I ll investigate it further...

Do you really think the only use of the <p> tag is centering?????? What the hell is this your 'fix' on fixing something that ain't broken? What is your problem with the way the <p> is used? Huh?

<p> should be deleted because it's "raw" HTML, which has rare if no use in the mainspace, where AWB is most-run.

Page fixed. p tags are deprecated in Wikipedia.

In reply to T123706#1940990:

@KPu3uC_B_Poccuu: For future reference, please check the etiquette. Thanks for helping to keep Wikimedia Phabricator a respectful place.

So how exactly does your link answer my question about the source of your claim that <p> is deprecated on Wikipedia?