Hie, I am a newbie in wikimedia community and I was working on this bug to start of.
https://bugzilla.wikimedia.org/show_bug.cgi?id=11269
It required two parts to be done and I was able to fix the first part (please see comments on bug). However, while working on the second part which requires a set of page numbers to be generated while listing the pagination, I was able to do most of it except how to get the upper limit of page numbers.
I figured, this will require a query on the table to get total number of results in it. However the QueryPage::reallyDoQuery() function takes input the limit and the offset value only. I tried to do something like "SQL_CALC_FOUND_ROWS" but was not able to figure out how to implement this. Please give some suggestions.
Thanks.
Hi Aditya,
On Wed, Feb 12, 2014 at 7:34 AM, Aditya Chaturvedi aditya.iiita102@gmail.com wrote:
I am a newbie in wikimedia community and I was working on this bug to start of. Please give some suggestions.
I think a better place to ask would be the Wikitech list (https://lists.wikimedia.org/mailman/listinfo/wikitech-l) or on IRC (freenode) on #wikimedia-dev or #wikimedia-tech
-prtksxna
First, https://www.mediawiki.org/wiki/Wikipmediawiki Second, as regards your last comment on the bug, I think an approximate number is more than enough. I don't remember if we have such an implementation anywhere, or rather the only one I can think of (Special:AllPages) was removed.
Nemo