Last modified: 2014-06-11 13:49:28 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 T68273, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66273 - Huggle 3 should not add pages I revert to my watchlist
Huggle 3 should not add pages I revert to my watchlist
Status: RESOLVED FIXED
Product: Huggle
Classification: Unclassified
Application (Other open bugs)
3.0.1
All All
: Normal normal
: ---
Assigned To: Peter Bena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-06 18:29 UTC by Helder
Modified: 2014-06-11 13:49 UTC (History)
3 users (show)

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


Attachments

Description Helder 2014-06-06 18:29:47 UTC
Huggle 2.1.23 doesn't do that, and MediaWiki's rollback doesn't do it either. If HG3 is using the edit API
https://www.mediawiki.org/w/index.php?title=API:Edit#Editing_pages
there is the option to set 'watchlist' to 'nochange'.

See also bug 66215.
Comment 1 Peter Bena 2014-06-09 12:53:44 UTC
http://git.io/wRUXpA
Comment 2 Helder 2014-06-09 17:40:04 UTC
This still happens after I updated to Version: 3.0.1 build: 1575 3.0.1-55-ga347836 without python support, compiled using QT 4.8.6 Running on QT 4.8.6
Comment 3 Peter Bena 2014-06-09 17:43:14 UTC
maybe a bug in mediawiki? how you rollback things? using rollback or SR, edit queries are appending the string you provided in this bug report so either you provided wrong one or it's a problem of mediawiki, you can run huggle with multiple -vvvvvvv options to see exactly what api's it uses
Comment 5 Helder 2014-06-09 18:06:31 UTC
For the edit
https://pt.wikipedia.org/w/index.php?diff=prev&oldid=39112166
the logs were like this:
seg jun 9 15:03:43 2014   DEBUG[6]: Finished request https://pt.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids%7Cflags%7Ctimestamp%7Cuser%7Cuserid%7Csize%7Csha1%7Ccomment&rvlimit=20&titles=Rio%20Nilo&format=xml
seg jun 9 15:03:43 2014   DEBUG[1]: Rolling back Rio Nilo
seg jun 9 15:03:43 2014   DEBUG[6]: Processing api request https://pt.wikipedia.org/w/api.php?action=rollback&format=xml
seg jun 9 15:03:43 2014   DEBUG[5]: IRC User wikichanges-b7e0006c-747b-4079-9618-f7eb695fa615 quit: Excess Flood
seg jun 9 15:03:45 2014   DEBUG[6]: Finished request https://pt.wikipedia.org/w/api.php?action=rollback&format=xml
seg jun 9 15:03:45 2014   DEBUG[5]: IRC User wikistream-wmflabs quit: Excess Flood
seg jun 9 15:03:45 2014   DEBUG[6]: Processing api request https://pt.wikipedia.org/w/api.php?action=query&prop=revisions&rvlimit=1&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent&titles=Usu%C3%A1rio%28a%29%20Discuss%C3%A3o%3A201.80.140.237&format=xml
seg jun 9 15:03:46 2014   DEBUG[6]: Finished request https://pt.wikipedia.org/w/api.php?action=query&prop=revisions&rvlimit=1&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent&titles=Usu%C3%A1rio%28a%29%20Discuss%C3%A3o%3A201.80.140.237&format=xml
seg jun 9 15:03:46 2014   DEBUG[2]:  Message to 201.80.140.237 with parameters: &createonly=1
seg jun 9 15:03:46 2014   DEBUG[6]: Processing api request https://pt.wikipedia.org/w/api.php?action=edit&format=xml
seg jun 9 15:03:47 2014   DEBUG[6]: Finished request https://pt.wikipedia.org/w/api.php?action=edit&format=xml
seg jun 9 15:03:47 2014   Successfully delivered message to: 201.80.140.237
seg jun 9 15:03:56 2014   DEBUG[5]: IRC User wikichanges-b7e0006c-747b-4079-9618-f7eb695fa615 quit: Excess Flood
seg jun 9 15:03:58 2014   DEBUG[5]: IRC User wikistream-wmflabs quit: Excess Flood
Comment 6 Peter Bena 2014-06-09 19:09:14 UTC
ok that means you are using rollback which seems to do a same, is there a documentation for mediawiki regarding that, I can't see that at https://www.mediawiki.org/wiki/API:Rollback
Comment 7 Helder 2014-06-10 10:51:09 UTC
When I use the "[rollback more than 10 edits]" buttons in a page like
https://pt.wikipedia.org/w/index.php?diff=39114241&uselang=en
which points to
https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:P%C3%A1gina_de_testes/1&action=rollback&from=200.164.64.145&token=3e6057f6f4ac178e1cc28cf1681790b3%2B\
the page is not added to my watchlist. Similarly, if I use
https://pt.wikibooks.org/wiki/Utilizador:Helder.wiki/Tools/AjaxRollbackLinks.js
and click in the same link, the page is not added to my watchlist either.
Comment 8 Helder 2014-06-10 11:07:46 UTC
The API seems to be working in the following situation: I went to
https://pt.wikipedia.org/wiki/Especial:ApiSandbox#action=rollback&format=json&title=Wikip%C3%A9dia%3AP%C3%A1gina%20de%20testes%2F3&user=189.102.95.123&token=9d7071d4bcef40af391ad968fcea9858%2B\&summary=API%20TEST&markbot=&watchlist=nochange
and filled the parameters
* title: Wikipédia:Página de testes/3
* user: 189.102.95.123
* token: 9d7071d4bcef40af391ad968fcea9858+\
* summary: API TEST
* markbot: [x]
* watchlist: nochange
and submitted to make this rollback:
https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia%3AP%C3%A1gina_de_testes%2F3&diff=39117211&oldid=39101463

The API response was
{
    "rollback": {
        "title": "Wikip\u00e9dia:P\u00e1gina de testes/3",
        "pageid": 3416004,
        "summary": "API TEST",
        "revid": 39117211,
        "old_revid": 39101463,
        "last_revid": 39097451
    }
}
and the page was not added to my watchlist.

The token I provided was obtained from
https://pt.wikipedia.org/w/api.php?action=query&prop=revisions&rvtoken=rollback&titles=Wikip%C3%A9dia:P%C3%A1gina%20de%20testes/3
Comment 9 Peter Bena 2014-06-11 13:16:00 UTC
try using latest head now
Comment 10 Helder 2014-06-11 13:47:22 UTC
I was able to revert the edits
https://pt.wikipedia.org/w/index.php?diff=39125372
https://pt.wikipedia.org/w/index.php?diff=39125465
without having the pages added to my watchlist!

So it seems to be working now :-)

PS: What did you change?
Comment 11 Helder 2014-06-11 13:49:28 UTC
On the other hand, the user page was added to my watchlist when I sent a warning
https://pt.wikipedia.org/w/index.php?diff=39125373

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


Navigation
Links