Xqt added a comment.

  - MediaWiki markup parser dependency was introduced because the Pywikibot's 
regex parser failed for nested templates with depth 3 and the old compat parser 
was preplaced years ago due to other bugs, see T106763 
<https://phabricator.wikimedia.org/T106763>.
  - mwparserfromhell >= 5.0 is required due to T71384 
<https://phabricator.wikimedia.org/T71384> and solved issues with iterables
  - the exception on exit time occures because Pywikibot framework isn't fully 
loaded when the dependency is checked and the script is exited in this early 
state. This is indeed ugly but circular dependency of framework parts mainly of 
the logging module is still problematic in such cases (btw circular Import 
problems was the main reason to give up Python 3.5.0-3.5.2). Will be solved 
shortly I guess.
  
  What can we do on Pywikibot's side?
  
  - We can check the impacts for downgrade the mwpfh version to 4.2 but this is 
6 years old and I am not sure whether it works with newer Pythons and if we get 
back other bugs. Unfortunately we have lost the Travis CI for testing.
  - We can recover the old regex parser but a lot of bugs are unsolved then and 
we have a different behavior of the results
  - we can have our own MW markup parser but I have no time to recover it from 
compat and fix the known issues

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

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

To: Xqt
Cc: Majavah, JJMC89, Legoktm, Xqt, Aklapper, pywikibot-bugs-list, Multichill, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to