{{PAGESIZE:...}} returns empty string when top revision of page has no associated revision length
Closed, ResolvedPublic

Description

Author: happy.melon.wiki

Description:
Enter:
<{{PAGESIZE:Foo bar}}>
<{{PAGESIZE:Foo_bar}}>
<{{PAGESIZE:Talk:Fartown Ground, Huddersfield}}>

Expected:
<20>
<20>
<559>

Actual:
<>
<>
<>

This can occur either when the top revision is a 'null' revision, noting moves/protections/deletions/etc; or when the top revision is from before the time when rev_len started to be recorded (cf bug12188). The latter is transitory and can be resolved by writing and running the script requested in bug18881; the former needs to be addressed properly.


Version: 1.15.x
Severity: enhancement

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz18998.

The issue with null revisions was fixed in r44885, which should apply to protection and moves.

happy.melon.wiki wrote:

I assume that with bug12188, this bug is also fixed.

Add Comment