Page MenuHomePhabricator

[edit=sysop] and [edit=autoconfirmed] without :move=autoconfirmed or move=sysop not listed in log
Closed, ResolvedPublic

Description

Author: michael.frey

Description:
When I don't set a move protection (check "Unlock move permissions" and choise move "default"), Mediawiki doesn't make a log entrance when I change the edit protection.

To show that Issue:
http://de.wikibooks.org/wiki/Benutzer:MichaelFrey/_Spielwiese
http://de.wikibooks.org/w/index.php?title=Spezial%3ALogbuch&type=protect&user=&page=Benutzer%3AMichaelFrey%2F+Spielwiese

The Page is edit sysop, move default and that works, but this current block isn't listed in the log.

That's not critical, because sysops are confirmed users and this setting is unusual, but in a bigger wikis with more sysops can it be important to know how locked when what page.


Version: 1.12.x
Severity: enhancement

Details

Reference
bz12790

Event Timeline

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

This happened because when the code depended on the last value of number of changed rows in the database, and this value was zero when move-protection was not used, regardless of whether edit-protection was used or not. This is fixed with r30158.