Last modified: 2006-02-05 23:15:26 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 T6881, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4881 - "Blocklist empty" displayed even if blocklist not empty
"Blocklist empty" displayed even if blocklist not empty
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.marveldatabase.com/wiki/in...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-05 22:31 UTC by Jamie Hari
Modified: 2006-02-05 23:15 UTC (History)
0 users

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


Attachments
diff for Block.php 1.29 to 1.29.2.1 (1.49 KB, patch)
2006-02-05 23:14 UTC, Brion Vibber
Details

Description Jamie Hari 2006-02-05 22:31:27 UTC
The blocklist is empty - message displayed even when the list is not empty.

Fairly self-explanitory, I am sure this is probably just boolean isEmpty()
problem or something... Should be easy to fix.
Comment 1 Brion Vibber 2006-02-05 23:04:51 UTC
This is due to an incorrect backport of the fix for bug 1487 from HEAD to REL1_5 during 
beta stage. The function being called doesn't return a value in 1.5, so always 
evaluates to false.
Comment 2 Brion Vibber 2006-02-05 23:14:44 UTC
Created attachment 1372 [details]
diff for Block.php 1.29 to 1.29.2.1

Backports the return value in Block::enumBlocks so that the usage of it in
Special:Ipblocks works correctly.
Comment 3 Brion Vibber 2006-02-05 23:15:26 UTC
Fixed in REL1_5, will be in 1.5.7. Apply patch above to fix a local installation 
separately.

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


Navigation
Links