Page MenuHomePhabricator

Wrong footer detection in Proofreadpage
Closed, ResolvedPublic

Description

For a wikitext like:

'<noinclude><pagequality level="1" user="Mpaa" /></noinclude>Some text<noinclude>Footer text with final div</div></noinclude>'

the </div> tag is wrongly considered as part of the closing mark-up of the footer, instead of part of the footer text.

I.e., page.footer should be:
Footer text with final div</div>
and not only:
Footer text with final div

Details

Related Gerrit Patches:

Event Timeline

Mpaa created this task.Aug 11 2019, 7:16 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 11 2019, 7:16 PM
Restricted Application added a subscriber: pywikibot-bugs-list. · View Herald TranscriptAug 11 2019, 7:17 PM

Change 529616 had a related patch set uploaded (by Mpaa; owner: Mpaa):
[pywikibot/core@master] proofreadpage.py: fix footer detection

https://gerrit.wikimedia.org/r/529616

Xqt closed this task as Resolved.Aug 16 2019, 12:39 PM
Xqt assigned this task to Mpaa.
Xqt triaged this task as Medium priority.

Change 529616 merged by jenkins-bot:
[pywikibot/core@master] proofreadpage.py: fix footer detection

https://gerrit.wikimedia.org/r/529616