Extension talk:ChangeAuthor

About this board

No change in the history of the page after change of author with the extension

2
BertrandGorge (talkcontribs)

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 !

BertrandGorge (talkcontribs)

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.

Reply to "No change in the history of the page after change of author with the extension"

Revision and revision_actor_temp tables

1
GTrang (talkcontribs)

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.

Reply to "Revision and revision_actor_temp tables"
93.81.224.145 (talkcontribs)

when installed on mw1.31, it gives an error [e0cda25b70c0f1a51375b7e7] 2019-04-01 15:49:22: Fatal exception of the type "Wikimedia \ Rdbms \ DBUnexpectedError"

Reply to "error"

This extension does not exist.

2
203.106.42.130 (talkcontribs)

When I click the download link, it said this extension does not exists.

SVG (talkcontribs)

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.

Reply to "This extension does not exist."
There are no older topics
Return to "ChangeAuthor" page.