Hello,
Since few days I have some bugs executing template.py with cosmetic changes. Is it related to this vandalism ?
I had something with ascii (sorry I haven't saved the logs) and remenber it was corrected few months ago.
I have also this traces : ERROR: Fatal error: Traceback (most recent call last): File "/data/project/herculebot/pywikibot-core/scripts/template.py", line 382, in <module> main() File "/data/project/herculebot/pywikibot-core/scripts/template.py", line 377, in main bot.run() File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/scripts/replace.py", line 826, in run callback=self._replace_sync_callback, quiet=True) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/tools/__init__.py", line 1450, in wrapper return obj(*__args, **__kw) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/tools/__init__.py", line 1450, in wrapper return obj(*__args, **__kw) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/page.py", line 1270, in save cc=apply_cosmetic_changes, quiet=quiet, **kwargs) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/page.py", line 127, in wrapper handle(func, self, *args, **kwargs) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/page.py", line 109, in handle func(self, *args, **kwargs) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/page.py", line 1278, in _save summary = self._cosmetic_changes_hook(summary) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/page.py", line 1325, in _cosmetic_changes_hook self.text = ccToolkit.change(old) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/cosmetic_changes.py", line 301, in change new_text = self._change(text) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/cosmetic_changes.py", line 295, in _change text = self.safe_execute(method, text) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/cosmetic_changes.py", line 282, in safe_execute result = method(text) File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywikibot/cosmetic_changes.py", line 680, in removeEmptySections current_heading = sections[i][0]
I now there was recent changes with empty sections, that caused bugs (removing non commented code);
Regards
Hercule
2018-07-01 17:16 GMT+02:00 Michael Schönitzer < michael.schoenitzer@wikimedia.de>:
According to wikitech-l, there is already a bot cleaning this up…
2018-07-01 17:03 GMT+02:00 Maximilian Doerr maximilian.doerr@gmail.com:
As far as I know, it’s a laborious process. I just cleaned up my tasks and some users helped me with that process. One should create a Phabricator bot that automatically reverts the user’s contributions.
Cyberpower678 English Wikipedia Account Creation Team English Wikipedia Administrator Global User Renamer
On Jul 1, 2018, at 10:56, Roy Smith roy@panix.com wrote:
A rogue user https://phabricator.wikimedia.org/p/Vvjjkkii/ vandalized a bunch of tasks in phabricator, including several that I opened. I see that account has now been disabled, but is there some easy way to revert the damage they did to my tasks? Or do I need to laboriously edit each task and fix each field by hand?
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud
-- Michael F. Schönitzer
Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin Tel. (030) 219 158 26-0 http://wikimedia.de
Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen Wissens frei teilhaben kann. Helfen Sie uns dabei! http://spenden.wikimedia.de/
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud