default number of results to display

From semantic-mediawiki.org

> The default number of pages displayed is always 10. How can I increase this number?

I suspect you mean the dropdown which says 10, selecting a different number should modify the list length. If you mean to have a different default (other than 10) then you would need to look at [0] and modify the source [1] accordingly.

[0] https://datatables.net/examples/advanced_init/length_menu.html

[1] https://github.com/SemanticMediaWiki/SemanticResultFormats/blob/master/formats/datatables/resources/ext.srf.formats.datatables.js

23:08, 23 February 2019

Thanks MWJames, and sorry about the long delay. Do I read your suggestion right that I should update the ResultFormats source code according to the documentation from the datatables people? This would mean having to do this change every time I update SRF (or learn how to make the update good enough it becomes part of SRF :-) ). Just to be sure I am not missing something... Thanks!

05:42, 24 April 2019

Did you figure it out? You're probably not going to reply. It saddens me that a feature that has been requested this many times has not been implemented.

08:54, 19 February 2022

FWIW: in the current version of Datatables (SMW 4.1 onwards), you can use:

|datatables-pageLength=50
14:39, 28 August 2023