https://bugzilla.wikimedia.org/show_bug.cgi?id=37016
Web browser: ---
Bug #: 37016
Summary: Use LogPage::addRelations in Renameuser logging
Product: MediaWiki extensions
Version: master
Platform: All
URL: https://gerrit.wikimedia.org/r/#/c/5288/3
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Renameuser
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
While working on logging, Aaron Schultz suggested an addition to Renameuser
logging on https://gerrit.wikimedia.org/r/#/c/5288/3/Renameuser_body.php
(comments 3 and 4:
* I recommend using LogPage::addRelations( 'oldname', array( $oldusername ),
$logid ). This way, you can also list renames to/from a user using
LogEventsList::showLogExtract() by adding le_field, le_log_id conditions to
$conds. RevisionDelete uses this to get log entries that effect specific
revision IDs.
* Of course, you'd also need LogPage::addRelations( 'newname', array(
$newusername->getText() ), $logid ).
As this was out of scope of a update, leaving this issue.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l