Last modified: 2012-12-30 20:48:03 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 T33813, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31813 - Upload via API: always hidden in recentchanges when made under bot account
Upload via API: always hidden in recentchanges when made under bot account
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-19 04:30 UTC by Edward Chernenko
Modified: 2012-12-30 20:48 UTC (History)
7 users (show)

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


Attachments

Description Edward Chernenko 2011-10-19 04:30:56 UTC
API action=edit currently has 'bot' parameter, which allows programmer to choose whether to hide an edit from RecentChanges or not.

However, action=upload provides no way to do so. Uploads from bot account are always hidden.


This feature is needed by bots which upload files by request of the users (e.g., autogenerated screenshots of web pages, graphs, cropped existing images etc.).

These bots do few edits, and yet these edits must be visible in RecentChanges (because who knows what user will do with this tool). The only alternative is to ask users' passwords instead of using bot account (for obvious reasons this is unpreferrable).
Comment 1 John Kettovsky 2011-10-19 05:23:18 UTC
This feature is does not require a urgent developers work.

Obiously path to resolve this issue is creating new account without "bot" rights but with "writeapi" right. In Wikimedia wikis one editor can use many bot accounts. This is not a notable issue, only small nice enhancement.
Comment 2 Bryan Tong Minh 2012-09-23 21:34:02 UTC
Well, seriously...

	public static function newLogEntry( $timestamp, &$title, &$user, $actionComment, $ip,
		$type, $action, $target, $logComment, $params, $newId=0, $actionCommentIRC='' ) {
[...]
			'rc_bot'        => $user->isAllowed( 'bot' ) ? $wgRequest->getBool( 'bot', true ) : 0,
[...]

I thought this was easy to fix, but apparently RecentChange needs some fixing first.

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


Navigation
Links