Page MenuHomePhabricator

Configuration issues on ruwiki
Open, HighPublic

Description

From https://en.wikipedia.org/w/index.php?title=Wikipedia:Huggle/Feedback#Bugs_from_ruwiki

Warning tag parser is not configured on ruwiki:
Levels sometimes not working. https://ru.wikipedia.org/wiki/User_Talk:83.220.239.26

Revert pattern is not configured:
RPM always is 0, level always is 0. How i can fix it? [[:ru:User:IluvatarBot/Уровень вандализма|Similar template]] in the ruwiki is updating every hour by my bot.--[[User:Iluvatar|Iluvatar]] ([[User talk:Iluvatar|talk]]) 12:30, 24 May 2018 (UTC)

im templates are wrong
In the ruwiki is not working sending final template (User => Manual template => Final). What the problem is? ([[:ru:Template:Uw-vandalism4im|im-template is exist]]).--[[User:Iluvatar|Iluvatar]] ([[User talk:Iluvatar|talk]]) 13:58, 24 May 2018 (UTC)

Event Timeline

Petrb renamed this task from Warning tag parser is not configured on ruwiki to Configuration issues on ruwiki.May 25 2018, 9:15 AM
Petrb updated the task description. (Show Details)
Petrb triaged this task as High priority.May 25 2018, 9:19 AM

This task could use some volunteer who speaks Russian

@Iluvatar see https://www.mediawiki.org/wiki/Manual:Huggle/Deploying/DefaultConfig.yaml config on ruwiki is missing whole section "revert-patterns", this contains patterns used to recognize a revert, usually regexes that match classic rollback or undo summaries

That's the reason why RPM counter is broken (and many other things, including scoring will not work properly)

This is broken too

warning-template-tags:
    - '1;<!-- Uw-vandalism1 -->'
    - '1;<!-- Uw-spam1 -->'
    - '1;<!-- Uw-test1 -->'
    - '1;<!-- Uw-delete1 -->'
    - '1;<!-- Uw-tdel1 -->'
    - '2;<!-- Uw-vandalism2 -->'
    - '2;<!-- Uw-spam2 -->'
    - '2;<!-- Uw-test2 -->'
    - '2;<!-- Uw-delete2 -->'
    - '2;<!-- Uw-tdel2 -->'
    - '3;<!-- Uw-vandalism3 -->'
    - '3;<!-- Uw-spam3 -->'
    - '3;<!-- Uw-test3 -->'
    - '3;<!-- Uw-delete3 -->'
    - '3;<!-- Uw-tdel3 -->'

Do you actually have these comments in warning templates on Russian wiki? I doubt that. These patterns aren't regexes but parts of text which is present in various warning templates and used by Huggle to recognize them in talk page of target user. If these patterns are missing, Huggle won't be able to evaluate current level of user

This task could use some volunteer who speaks Russian

(you can use https://meta.wikimedia.org/wiki/Tech/Ambassadors/List#Signup_table if you want someone from a particular wiki)

Do you actually have these comments in warning templates on Russian wiki? I doubt that.

Yes, of course our templates contain these comments. And yes, it's just a tag for parse.
See 1 or 2.

config on ruwiki is missing whole section "revert-patterns",

Oh, thanks!

The problem is not resolved :)
Maybe the problem is related to cyrillic symbols or encoding? Although tags not cyrillic...

OK - there is actually a unit test for this, maybe we can expand it.

Can you send me a wikicode of a talk page which should result in certain level warning at certain time? Just send me a date and source of whole talk page and tell me which warning level should Huggle see.

The problem does not always exist. I can not determine the pattern.

  1. See source code.

<!-- Uw-vandalism1 -->
<!-- Uw-vandalism2 -->
<!-- Uw-vandalism1 -->
<!-- Uw-vandalism2 -->
<!-- Uw-vandalism1 -->
<!-- Uw-vandalism1 -->

  1. See source code

<!-- Uw-vandalism1 -->
<!-- Uw-vandalism1 -->

Config:

warning-template-tags:
    - '1;<!-- Uw-vandalism1 -->'
    - '2;<!-- Uw-vandalism2 -->'
    - '3;<!-- Uw-vandalism3 -->'

But sometimes everything works fine (uw1, uw2, uw3 and report)

Please keep in mind that Huggle considers only recent templates, see this option

---
# Define how old templates are considered valid in days, older templates are ignored
# By default templates older than 30 days are ignored
# template-age: -30

Ok, but templates in both examples were placed on the same day
Example 1: May 16, 2018;
Example 2: today.