Last modified: 2014-11-14 15:21:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75231, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73231 - Huggle fails to send the correct warning to vandals
Huggle fails to send the correct warning to vandals
Status: RESOLVED FIXED
Product: Huggle
Classification: Unclassified
Application (Other open bugs)
3.1.4
All All
: Normal normal
: ---
Assigned To: Peter Bena
https://es.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-10 17:45 UTC by MA
Modified: 2014-11-14 15:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MA 2014-11-10 17:45:27 UTC
Hi. I have just noticed today on eswiki that when you use the revert & warn feature, Huggle fails to issue the correct warning. As you can see, huggle first issue a level 1 warning, then a level 2 warning and finally a level 1 warning again, when it should be a level 3 warning (es:template:prueba3). Can this be fixed? Thank you.
Comment 1 Peter Bena 2014-11-11 14:02:55 UTC
You don't have section in configuration file that contains definitions for template parser. No wonder it's broken. You need to insert something like

warning-template-tags:
    1;<!-- Template:uw-vandalism1 -->,
    1;<!-- Template:uw-spam1 -->,
    1;<!-- Template:uw-biog1 -->,
    1;<!-- Template:uw-npa1 -->,
    1;<!-- Template:uw-disruptive1 -->,
    1;<!-- Template:uw-test1 -->,
    1;<!-- Template:uw-huggleafd1 -->,
    1;<!-- Template:Huggle/warn-1 -->,
    1;<!-- Template:Huggle/warn-blank-1 -->,
    1;<!-- Template:Huggle/warn-bio-1 -->,
    1;<!-- Template:Huggle/warn-unsor-1 -->,
    1;<!-- Template:Huggle/warn-test-1 -->,
    1;<!-- Template:uw-delete1 -->,
    1;<!-- Template:uw-unsourced1 -->,
    2;<!-- Template:uw-vandalism2 -->,
    2;<!-- Template:uw-huggleafd2 -->,
    2;<!-- Template:Huggle/warn-2 -->,
    2;<!-- Template:Huggle/warn-blank-2 -->,
    2;<!-- Template:Huggle/warn-bio-2 -->,
    2;<!-- Template:uw-spam2 -->,
    2;<!-- Template:uw-biog2 -->,
    2;<!-- Template:uw-disruptive2 -->,
    2;<!-- Template:uw-test2 -->,
    2;<!-- Template:Huggle/warn-unsor-2 -->,
    2;<!-- Template:Huggle/warn-test-2 -->,
    2;<!-- Template:uw-npa2 -->,
    2;<!-- Template:uw-delete2 -->,
    2;<!-- Template:uw-unsourced2 -->,
    3;<!-- Template:uw-vandalism3 -->,
    3;<!-- Template:uw-biog3 -->,
    3;<!-- Template:uw-huggleafd3 -->,
    3;<!-- Template:Huggle/warn-3 -->,
    3;<!-- Template:Huggle/warn-blank-3 -->,
    3;<!-- Template:Huggle/warn-bio-3 -->,
    3;<!-- Template:uw-spam3 -->,
    3;<!-- Template:uw-npa3 -->,
    3;<!-- Template:uw-disruptive3 -->,
    3;<!-- Template:uw-test3 -->,
    3;<!-- Template:Huggle/warn-unsor-3 -->,
    3;<!-- Template:Huggle/warn-test-3 -->,
    3;<!-- Template:uw-delete3 -->,
    3;<!-- Template:uw-unsourced3 -->,
    4;<!-- Template:uw-vandalism4 -->,
    4;<!-- Template:Huggle/warn-4 -->,
    4;<!-- Template:uw-spam4 -->,
    4;<!-- Template:uw-spam4im -->,
    4;<!-- Template:uw-huggleafd4 -->,
    4;<!-- Template:Huggle/warn-blank-4 -->,
    4;<!-- Template:Huggle/warn-bio-4 -->,
    4;<!-- Template:Huggle/warn-unsor-4 -->,
    4;<!-- Template:Huggle/warn-test-4 -->,
    4;<!-- Template:uw-biog4 -->,
    4;<!-- Template:uw-disruptive4 -->,
    4;<!-- Template:uw-test4 -->,
    4;<!-- Template:uw-vandalism4im -->,
    4;<!-- Template:Huggle/warn-4im -->,
    4;<!-- Template:Huggle/warn-blank-4im -->,
    4;<!-- Template:Huggle/warn-bio-4im -->,
    4;<!-- Template:Huggle/warn-unsor-4im -->,
    4;<!-- Template:Huggle/warn-test-4im -->,
    4;<!-- Template:uw-npa4 -->,
    4;<!-- Template:uw-delete4 -->,
Comment 2 Peter Bena 2014-11-11 14:04:11 UTC
That means, huggle don't know which template is which warnings, unless you tell it how to recognize it. These defs need to contains some identification strings that are present in each of these warnings, depends on the warning template.
Comment 3 MA 2014-11-11 17:27:59 UTC
Ok, I see. I was sysop on eswiki some time ago. As the /Config page over there is outdated I can no longer edit it; but it looks overall kind of outdated... Can you please provide us with a complete and updated config page to update the eswiki page? - I mean, which parts are outdated, missing, etc... so we can have a fully functioning Huggle on eswiki. Best regards.
Comment 4 Peter Bena 2014-11-12 07:50:13 UTC
I am trying to make huggle do that. When you login you should see number of warnings regarding configuration page.
Comment 5 Peter Bena 2014-11-12 07:59:55 UTC
I updated your configuration page so that it has at least some information but most of templates are probably still not there, also, you are using same template for all 3 warnings in some cases which makes it impossible for huggle to verify which level it is
Comment 6 MA 2014-11-14 15:21:46 UTC
I have also updated the /Config page and now seems to work fine. I'm then closing the bug. Thanks for your help.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links