Apparently the extension works when you try to change the author of a given revision - the revision table is effectively updated. However, the history page for the article is left as if nothing was changed. I tried to purge the cache, rebuild all the things I could think of, to no avail... Is there a something I missed ? Thanks !
Extension talk:ChangeAuthor
Appearance
Hello, apparently the issue comes from the new Actor model (see Actor migration). A first fix consists in updating the revision_actor_temp as well (in ChangeAuthor.php l.374):
// Now also change the revision_actor_temp table :
$dbw->update(
'revision_actor_temp',
/* SET */[
'revactor_actor' => $users[1]->getActorId()
],
[ 'revactor_rev' => $id ], // WHERE
__METHOD__
);
Eventually, we also need to update the rev_actor
column of the revision
table, when that column will be there.
The extension could potentially start modifying the revactor_actor field in the revision_actor_temp table, or eventually, the rev_actor field in the revision table (after it is time to get rid of the temporary tables named "revision_comment_temp" and "revision_actor_temp").
It could also allow changing the author of deleted revisions in the archive table directly without having to first undelete them.
Of course, author changes can easily be reverted. Actually, there should be a "revert" link next to each ChangeAuthor log entry. The author of log entries themselves cannot be changed.
when installed on mw1.31, it gives an error [e0cda25b70c0f1a51375b7e7] 2019-04-01 15:49:22: Fatal exception of the type "Wikimedia \ Rdbms \ DBUnexpectedError"
When I click the download link, it said this extension does not exists.
This is extension is not in Git/Gerrit, so it might be outdated. But you can download it from the SVN repository. I've updated the instructions now.
There are no older topics