Last modified: 2008-12-21 22:36:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16748 - Null revisions are stored in the database with rev_len=null
Null revisions are stored in the database with rev_len=null
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/wiki/Benutzer...
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-21 21:33 UTC by P.Copp
Modified: 2008-12-21 22:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Proposed fix: add rev_len field to Revision::newNullEdit() (746 bytes, patch)
2008-12-21 21:44 UTC, P.Copp
Details

Description P.Copp 2008-12-21 21:33:53 UTC
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.
Comment 1 P.Copp 2008-12-21 21:44:08 UTC
Created attachment 5607 [details]
Proposed fix: add rev_len field to Revision::newNullEdit()
Comment 2 Roan Kattouw 2008-12-21 22:36:11 UTC
Patch committed in r44885.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links