Last modified: 2007-02-22 11:39:35 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 8919 - Suppress paging links and related messages where there are no rows to list for query pages
Suppress paging links and related messages where there are no rows to list fo...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-08 09:53 UTC by Raimond Spekking
Modified: 2007-02-22 11:39 UTC (History)
0 users

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


Attachments
a patch for it. just putting a line when $num == 0 (402 bytes, patch)
2007-02-18 19:55 UTC, Makoto Imaizumi [Suisui]
Details
fixed patch with MsgHTML (406 bytes, patch)
2007-02-18 20:47 UTC, Makoto Imaizumi [Suisui]
Details

Description Raimond Spekking 2007-02-08 09:53:33 UTC
Please disable the message with number of results and navigation bars if special
page is empty:

  Showing below up to 0 results starting with #1.
  View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).

  View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).

This looks a bit silly ;-) 

Instead introduce a new message like "This list is empty"
Comment 1 Makoto Imaizumi [Suisui] 2007-02-18 19:55:14 UTC
Created attachment 3241 [details]
a patch for it. just putting a line when $num == 0

I've maked a patch for it
with wfMsg('table_pager_empty')
Comment 2 Rob Church 2007-02-18 20:18:42 UTC
(In reply to comment #1)
> with wfMsg('table_pager_empty')

Try to avoid echoing raw messages as HTML without any sort of escaping
whatsoever. Consider wfMsgHtml() for this case.

Comment 3 Makoto Imaizumi [Suisui] 2007-02-18 20:47:34 UTC
Created attachment 3242 [details]
fixed patch with MsgHTML

thankx I've fixed the patch with MsgHTML.
Comment 4 Raimond Spekking 2007-02-21 10:43:40 UTC
Based on Sui Mins patch fixed in r20019
Comment 5 Raimond Spekking 2007-02-22 11:39:35 UTC
r20034 for Special:Listusers

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


Navigation
Links