Dvorapa created this task.
Dvorapa added projects: Pywikibot-core, Pywikibot-cosmetic-changes.py.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Steps to reproduce

  1. Add a tab character after a heading in an external text editor
  2. Remove whitespaces between heading marks (==) and the heading itself (==Heading== )
  3. Copy the whole text from the text editor to the wikitext editor and save
  4. Process the page with cosmetic_changes

Expected behavior
The heading should get whitespaces back and the trailing tab character should be removed per T179043

Current behavior
Look at this example case: https://cs.wikipedia.org/w/index.php?title=Mistrovstv%C3%AD_sv%C4%9Bta_v_h%C3%A1zen%C3%A9_mu%C5%BE%C5%AF_1970&diff=prev&oldid=15764165. Only the second part is done successfully, but the first part not.

Configuration
Python 3.6.4, Pywikibot latest master commit


TASK DETAIL
https://phabricator.wikimedia.org/T185392

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to