Last modified: 2011-08-24 16:45:11 UTC
This page is empty, however more indexes should be shown: http://fr.wikisource.org/w/index.php?title=Sp%C3%A9cial:IndexPages&limit=500&key=BNF BTW this doesn't work either: http://fr.wikisource.org/w/index.php?title=Sp%C3%A9cial:IndexPages&limit=500&offset=100&key=BNF
Actually the last URL works, but not http://fr.wikisource.org/w/index.php?title=Sp%C3%A9cial:IndexPages&limit=500&offset=500&key=BNF
It doesn't work when offset >= limit, otherwise it works.
In addition, some pages do not appear in the results. For example, this page contains the text BNF but doesn't appear in the search: http://fr.wikisource.org/wiki/Livre:Barchou_de_Penho%C3%ABn_-_Histoire_de_la_conqu%C3%AAte_de_l%E2%80%99Inde_par_l%E2%80%99Angleterre,_tome_1.djvu
Any news about this?
May be related to this, there is a bug when searching from http://fr.wikisource.org/w/index.php?title=Sp%C3%A9cial:IndexPages&limit=100&offset=100 : E. g. searching for "Rousseau" leads to http://fr.wikisource.org/w/index.php?key=Rousseau instead of http://fr.wikisource.org/wiki/Sp%C3%A9cial:IndexPages?key=Rousseau
Created attachment 8955 [details] Patch for Special:IndexPages It seems to me that version in trunk did not perform search at all. I fixed following issues: * Disable offset in reallyDoQuery if search was performed. So it won't be applied twice. * List of pages is stored in $this->searchList instead of $searchList, so it will be used in getQueryInfo method. * When no matching indexes were found the page says so, instead of displaying all indexes. * When search button was clicked twice, user was redirected to main page. * When search button was clicked twice, the previous page limit was lost. * isCacheable returns false, due to search capabilities.
Applied by John Du Hart in r95347.