Page MenuHomePhabricator

Watchlist preferences do not pick up pages created or edited through the API
Closed, DuplicatePublic

Description

At the moment, Wikidata has four/five preferences options for automatically adding pages to the watchlist:

  1. "Add pages and files I edit to my watchlist"
  2. "Add pages and files I move to my watchlist"
  3. "Add pages I create and files I upload to my watchlist"
  4. "Add pages where I have performed a rollback to my watchlist" (if the user has these privileges)
  5. "Add new files I upload to my watchlist"

I currently have 'edit', 'move', 'create', and 'upload' ticked.

When creating new pages other than by the normal on-wiki interface - in this case, by using Magnus's quick-statements/WIDAR tool - the newly created pages are not watchlisted.

Likewise, edits done through WIDAR/mix-and-match do not seem to cause the target pages to be watchlisted.

I have not yet tested whether moving a page on another wiki will cause the linked WD page to be watchlisted.

It would be good if these preferences were consistent for both "on-wiki" and "off-wiki" edits, given how widely used these tools are for editing Wikidata. (I'm not sure if this is a Wikidata-specific issue or a MediaWiki one, but tagging as WD for now.)

Event Timeline

The JS UI uses the API to edit. All of the toold you reference will also be using the API.
I just tested creating an item using the API and wbeditentity with the watch items I create checked and it watched the item correctly after creation.
As far as I know the same should be for all of the other cases, if the work in the JS UI for wikidata they should work for all tools.

Doing things on other sites, such as wikipedia & moving, is not designed to change the watchlist on Wikidata.org (and as far as I know that will likely never be the plan)

Could you double check your cases? as I have been unable to reproduce!

Here's one I did this evening:

https://www.wikidata.org/w/index.php?title=Q26204001&action=history

I created this using the QuickStatements tool, using the AGbot account, and then made several more edits to it with the same tool in the same session. This account has "Add pages I create and files I upload to my watchlist" and "Add pages and files I edit to my watchlist" set. However, the page was not added to the watchlist.

Checked using a different tool (edit made through PetScan/WIDAR) - different browser & computer to last time, and different account to previous report. It has "Add pages and files I edit to my watchlist", "Add pages and files I move to my watchlist", and "Add pages I create and files I upload to my watchlist" ticked in preferences.

https://www.wikidata.org/w/index.php?title=Q26708150&type=revision&diff=371280019&oldid=370449762 did not trigger watchlisting, page remains unwatched.

I wasn’t aware this had been a known issue for so long… but be that as it may, it was recently fixed in T217144: QuickStatements-created items will now be added to your watchlist if you have the respective preference enabled.