Page MenuHomePhabricator

Null revisions are stored in the database with rev_len=null
Closed, ResolvedPublic

Description

Currently, null revisions created by page protections or moves are stored without specifying a value for the rev_len field, thus it is stored as NULL.
This causes weird bugs like the one shown in the URL above, where the {{PAGESIZE}} parser function don't work correctly.


Version: 1.14.x
Severity: normal
URL: http://de.wikipedia.org/wiki/Benutzer:P.Copp/temp/Bug16748

Details

Reference
bz16748

Event Timeline

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

Proposed fix: add rev_len field to Revision::newNullEdit()

Attached: