Last modified: 2006-07-11 19:35:07 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 6592 - Add ten most popular pages to Special:Statistics
Add ten most popular pages to Special:Statistics
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.8.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Rob Church
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-08 16:30 UTC by Thorsten Staerk
Modified: 2006-07-11 19:35 UTC (History)
1 user (show)

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


Attachments
adds "top ten pages" functionality to statistics (1.84 KB, patch)
2006-07-08 16:32 UTC, Thorsten Staerk
Details

Description Thorsten Staerk 2006-07-08 16:30:20 UTC
Your software is perfect, but lacking one final spot: 
When I look onto Statistics, I want to know which pages are my best, my most
often visited.

Please introduce a "top ten pages" list like in my patch. You can watch the
patch acting on www.staerk.de/thorsten.
Comment 1 Thorsten Staerk 2006-07-08 16:32:09 UTC
Created attachment 2057 [details]
adds "top ten pages" functionality to statistics
Comment 2 Thorsten Staerk 2006-07-09 11:17:44 UTC
Just tried this for yesterday's version 1.7.1 - works 
as well.
Comment 3 Jimmy Collins 2006-07-09 11:26:15 UTC
The sql statement better should limit to 10 rows:

$sql = "SELECT page_title, page_counter FROM $page where page_namespace=0 order
by page_counter desc LIMIT 10";
Comment 4 chris r 2006-07-09 11:45:06 UTC
no no, imho is the mediawiki from neutral point-of-view. it's all abaout quantity not quality. so 
u should create a special:mostwantedpages. wich than can be possibly can be condifured from 10 to 
100 most viewed articles.
Comment 5 Rob Church 2006-07-09 14:55:53 UTC
(In reply to comment #4)
> no no, imho is the mediawiki from neutral point-of-view. it's all abaout
quantity not quality. so 
> u should create a special:mostwantedpages. wich than can be possibly can be
condifured from 10 to 
> 100 most viewed articles.

This request is for adding a "ten most popular pages" to MediaWiki's Statistics
view. This would not appear when page view counters are switched off, and is a
convenience, cut-down view of Special:Popularpages. We're not duplicating the
existing functions here, we're just summarising, so to speak.
Comment 6 Rob Church 2006-07-11 15:07:23 UTC
Added in SVN trunk, r15535.
Comment 7 Thorsten Staerk 2006-07-11 19:21:46 UTC
cool, my first committed patch for mediawiki - where can I find your websvn ?
Comment 8 Rob Church 2006-07-11 19:23:12 UTC
I didn't use your patch.
Comment 9 Antoine "hashar" Musso (WMF) 2006-07-11 19:35:07 UTC
Comment on attachment 2057 [details]
adds "top ten pages" functionality to statistics

Made obsolete by r15535

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


Navigation
Links