Page MenuHomePhabricator

Flow API - need a way for bots to edit posts, without notifying author by default, maybe without affecting 'updated' topic ordering
Open, LowPublic

Description

As a (hypothetical) bot-owner, I sometimes need to mass-edit links and templates that editors have used within talkpages.

I would like to be able to do this:

  • Without changing the timestamp of the original post
  • Without Echo-notifying the author
  • Without bumping the Topic in a board ("Recent activity")

Examples include:

  • renaming user without leaving a redirect (in ping-template user mention)
  • updating links - Wikipedia:Project -> Project: ; User:Box/someuserbox -> Template:Userbox/someuserbox ; renaming project ; remove various redirects; rename links when the page becomes disambiguation pages
  • (please add some here)
  • ....

Event Timeline

Quiddity created this task.Apr 1 2015, 4:57 PM
Quiddity raised the priority of this task from to Low.
Quiddity updated the task description. (Show Details)
Quiddity added a subscriber: Quiddity.
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptApr 1 2015, 4:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Sunpriat updated the task description. (Show Details)Apr 1 2015, 5:28 PM
Sunpriat set Security to None.
Sunpriat added a subscriber: Sunpriat.
Sunpriat updated the task description. (Show Details)Apr 1 2015, 5:55 PM

Without "Echo-notifying the author" seems reasonable (if it is bot-flagged, and using the 'bot' API parameter). Though, it could be argued that this should be a preference, similar to how you can see bot edits on the watchlist if you opt it.

"Without bumping the Topic in a board" is probably reasonable, though it requires saving two timestamps.

I don't agree with "Without changing the timestamp of the original post" . Any edit results in a new revision with a new timestamp, and I don't think we should hide that fact. It's pretty self-explanatory, and not hidden on regular pages.

In T94711#1171968, @Mattflaschen wrote:

Without "Echo-notifying the author" seems reasonable (if it is bot-flagged, and using the 'bot' API parameter). Though, it could be argued that this should be a preference, similar to how you can see bot edits on the watchlist if you opt it.
"Without bumping the Topic in a board" is probably reasonable, though it requires saving two timestamps.
I don't agree with "Without changing the timestamp of the original post" . Any edit results in a new revision with a new timestamp, and I don't think we should hide that fact. It's pretty self-explanatory, and not hidden on regular pages.

100% agreed. Thanks for thinking it through more clearly than I. :)

In T94711#1171968, @Mattflaschen wrote:

"Without bumping the Topic in a board" is probably reasonable, though it requires saving two timestamps.

Actually, I don't think this requires saving two timestamps. We just need to consider this when deciding whether to call updateLastModified/updateLastUpdated.

Mattflaschen-WMF renamed this task from Flow API - need a way for bots to edit posts, without adjusting the timestamp to Flow API - need a way for bots to edit posts, without notifying author, maybe without affecting 'updated' topic ordering.Oct 23 2015, 3:47 PM
Mattflaschen-WMF renamed this task from Flow API - need a way for bots to edit posts, without notifying author, maybe without affecting 'updated' topic ordering to Flow API - need a way for bots to edit posts, without notifying author by default, maybe without affecting 'updated' topic ordering.