Page MenuHomePhabricator

User::addRight: no such method
Closed, ResolvedPublic

Description

Author: jernst+wikimedia.org

Description:
maintenance/archives/moveCustomMessages.inc has the following line in it:

$wgUser->addRight( "bot" );

That method does not exist anywhere. Chances are this file will not run as intended.


Version: 1.5.x
Severity: normal

Details

Reference
bz3649

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:51 PM
bzimport set Reference to bz3649.
bzimport added a subscriber: Unknown Object (MLST).

Yep, that doesn't work anymore. It was part of the 1.2 -> 1.3 transition, meant
mainly for Wikipedia when first splitting the template pages out from localized
messages.

It's not really necessary anymore, and of course never got updated to current schema.
If anyone wants it for reference it's in CVS; no reason to keep it about.

Removed the file on REL1_5 and HEAD.