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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 16748 - Null revisions are stored in the database with rev_len=null
Null revisions are stored in the database with rev_len=null
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  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: ---

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

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.