Last modified: 2011-01-25 01:32:04 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 T22230, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20230 - Setup some kind of pagination on CentralNotice
Setup some kind of pagination on CentralNotice
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-14 00:00 UTC by Casey Brown
Modified: 2011-01-25 01:32 UTC (History)
2 users (show)

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


Attachments
screenshot of some issues with pagination on CentralNotice (112.26 KB, image/jpeg)
2009-08-14 00:00 UTC, Casey Brown
Details
Really long template listing (164.95 KB, image/jpeg)
2010-06-01 23:49 UTC, Tomasz Finc
Details

Description Casey Brown 2009-08-14 00:00:52 UTC
Created attachment 6457 [details]
screenshot of some issues with pagination on CentralNotice

Tomasz mentioned that it might be a good idea to build in some type of pagination in CentralNotice.  We're getting quite a few "notices" it seems we might be reached the limit (see the bottom, near strategy2 in the attached screenshot).

We can delete "notices", because they're just settings for when "templates" will be shown -- but we'll probably run into a similar issue with "templates" (we have tons right now), and I'd rather not have us delete those.
Comment 1 Tomasz Finc 2010-06-01 23:49:13 UTC
Created attachment 7421 [details]
Really long template listing

Notice how small the scroll bar is.
Comment 2 Tomasz Finc 2010-06-01 23:51:12 UTC
Or you can take a look at http://meta.wikimedia.org/wiki/Special:NoticeTemplate and watch your CPU spin up.
Comment 3 Mike.lifeguard 2010-06-02 00:01:13 UTC
(In reply to comment #2)
> Or you can take a look at http://meta.wikimedia.org/wiki/Special:NoticeTemplate
> and watch your CPU spin up.

Or take a look at http://toolserver.org/~lifeguard/r/CN.png

I was going to add it as an attachment, but: "The file you are trying to attach is 10211 kilobytes (KB) in size. Non-patch attachments cannot be more than 1000 KB."
Comment 4 Ryan Kaldari 2010-06-05 01:17:17 UTC
I've added pagination for templates in revision 67371. By default it shows 20 templates at a time, newest ones first.
Comment 5 p858snake 2010-06-05 10:11:34 UTC
Perhaps some sort of pagination based on keyword might be better than this, so for example all the notices tagged with, for example, "Fund-rising_2008", all appear as one "set", and if we wanted we could add pagination to that.
Comment 6 Ryan Kaldari 2010-06-07 03:33:47 UTC
I think keyword filtering and pagination are two different features, and we would ideally have both (rather than just one or the other). I would suggest opening a new bug request for keyword filtering so that we can work on that separately.
Comment 7 MZMcBride 2010-06-07 03:42:18 UTC
r67507 looks related as well.
Comment 8 Ryan Kaldari 2010-06-07 05:11:28 UTC
That revision was mostly just cleaning up the code and moving away from the old instance variable naming convention. I did add an extra copy of the pagination links at the bottom of the page as well so you can paginate from either end of the page.

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


Navigation
Links