Page MenuHomePhabricator

Fix config on Wikidata and import warning templates
Open, HighPublic

Description

Configuration file on wikidata needs to be recreated (the .yaml version) and optimized for wikidata.

  • Create new config file (Project:Huggle/Config.yaml)
  • Configure all settings properly
  • Import / create missing warning templates
  • Test if everything works properly

Event Timeline

Petrb created this task.Dec 18 2017, 1:51 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 18 2017, 1:51 PM
Petrb triaged this task as High priority.Jan 20 2018, 7:05 PM
Petrb added a comment.Jan 21 2018, 4:59 PM

In dry mode I get this, is there anything wrong with these API?

Sun Jan 21 17:57:13 2018   If I wasn't in dry mode I would execute this query (post=true) https://www.wikidata.org/w/api.php?action=flow&format=xml&assert=user
data: submodule=new-topic&page=User talk:Moebeus&nttopic=January 2018&ntcontent={{subst:huggle/warn-1|1=Q4381497|2=https://www.wikidata.org/w/index.php?title=Q4381497&diff=622308528}}&ntformat=wikitext&token=token_was_removed+\
Sun Jan 21 17:57:13 2018   If I wasn't in dry mode I would execute this query (post=true) https://www.wikidata.org/w/api.php?action=rollback&format=xml&assert=user
data: title=Q4381497&token=token_was_removed+\&watchlist=preferences&user=Moebeus&summary=Reverted edits by [[Special:Contributions/Moebeus|Moebeus]] [[Project:Huggle|HG]] (3.3.4)
Petrb added a comment.Jan 21 2018, 5:04 PM

Config is missing warning templates though: https://www.wikidata.org/wiki/User_talk:Petrb

Petrb renamed this task from Huggle doesn't save edits on Wikidata to Fix config - Wikidata.Jan 21 2018, 5:11 PM
Petrb renamed this task from Fix config - Wikidata to Fix config on Wikidata and import warning templates.
Petrb updated the task description. (Show Details)

@Addshore I think you could help here a bit as you know wikidata more than me, are there even any warning templates there?

Petrb added a comment.Jan 21 2018, 5:14 PM

BTW Huggle on wikidata is pretty cool, did you try it? I did for few minutes, the edits per minute is crazy. Also I noticed that API response time is pretty high! Looks like web servers that handle API requests are pretty loaded on wikidata.

Sure working just well: https://www.wikidata.org/wiki/User_talk:93.37.80.92

I guess I can make the other warnings as well, just copy from enwiki...

All well, completed upto waning level 4

Petrb added a comment.May 19 2018, 4:45 PM

So I rolled out the new config file: https://www.wikidata.org/wiki/Wikidata:Huggle/Config.yaml

Some stuff still needs to be configured, like AIV etc. for now I will just leave it disabled I guess?

Restricted Application added a subscriber: RichSmith. · View Herald TranscriptMay 19 2018, 4:45 PM
Petrb updated the task description. (Show Details)May 19 2018, 4:45 PM