Last modified: 2014-05-30 23:27:00 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 T65650, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63650 - ManualLogEntry::setDeleted doesn't mark log deleted on insert
ManualLogEntry::setDeleted doesn't mark log deleted on insert
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Logging (Other open bugs)
1.22.5
All All
: Normal normal (vote)
: ---
Assigned To: Chris Steipp
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-07 20:45 UTC by Chris Steipp
Modified: 2014-05-30 23:27 UTC (History)
0 users

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


Attachments

Description Chris Steipp 2014-04-07 20:45:39 UTC
Doing something like,

$logEntry = new ManualLogEntry( ... );
$logEntry->setDeleted( Revision::SUPPRESSED_USER );
$logEntry->insert();

inserts a row in the logging table with the log_deleted column still set to the default 0, instead of the expected 12.
Comment 1 Gerrit Notification Bot 2014-04-28 22:31:23 UTC
Change 130232 had a related patch set uploaded by CSteipp:
Allow adding Deleted log entries

https://gerrit.wikimedia.org/r/130232
Comment 2 Gerrit Notification Bot 2014-05-30 21:58:57 UTC
Change 130232 merged by jenkins-bot:
Allow adding Deleted log entries

https://gerrit.wikimedia.org/r/130232

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


Navigation
Links