Page MenuHomePhabricator

Title::moveTo depends on $wgUser
Closed, ResolvedPublic

Description

Makes it ugly for reuse in jobs and scripts.


Version: 1.22.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49066

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:44 AM
bzimport set Reference to bz49086.
bzimport added a subscriber: Unknown Object (MLST).

Change 277723 had a related patch set uploaded (by Aashaka):
Use RequestContext::getMain()->getUser() instead of $wgUser in Title.php

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

Nikerabbit claimed this task.

MovePage can be used now and it does not have this problem.

Change 277723 abandoned by Jdlrobson:
Use RequestContext::getMain()->getUser() instead of $wgUser in Title.php

Reason:
Assuming work here is abandoned given the timeframe and inactivity and the fact the phab ticket is resolved. Please comment on task if this should be reconsidered.

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