Xqt added a comment. I was investigationg in this problem: The main problem is the new NESTED_TEMPLATE_REGEX which consumes a lot of time resolving nested template recursivly. e.g. this [1] version needs 6 seconds to process, whereas [2] needs high increasing 149 secondes, both running cosmetic_changes.removeUselessSpaces() only. There was only that [3] small difference between the versions. In result the bug can be solved by going back from umpteenth attempt using regex for nested template to the previous iterative solution by inline markers which is very faster.
[1] https://de.wikipedia.org/w/index.php?title=Benutzer:Xqt/Labor&oldid=143951267 [2] https://de.wikipedia.org/w/index.php?title=Benutzer:Xqt/Labor&oldid=143951307 [3] https://de.wikipedia.org/w/index.php?title=Benutzer%3AXqt%2FLabor&type=revision&diff=143951307&oldid=143951267 TASK DETAIL https://phabricator.wikimedia.org/T105621 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: gerritbot, Aklapper, Xqt, pywikibot-bugs-list, jayvdb, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
