Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | $navigation = '<a href="' . $skin->makeSpecialUrl('Ask','offset=' . max(0,$offset-$limit) . '&limit=' . $limit . '&query=' . urlencode($query) . '&sort=' . urlencode($sort) .'&order=' . urlencode($order)) . '">' . wfMsg('smw_ask_prev') . '</a>';
|
69 | 69 | else $navigation = wfMsg('smw_ask_prev');
|
70 | 70 |
|
71 | | - $navigation .= ' <b>' . wfMsg('smw_ask_results') . ' ' . ($offset+1) . '– ' . ($offset + $iq->getDisplayCount()) . '</b> ';
|
| 71 | + $navigation .= ' <b>' . wfMsg('smw_ask_results') . ' ' . ($offset+1) . '– ' . ($offset + $iq->getDisplayCount() - 1) . '</b> ';
|
72 | 72 |
|
73 | 73 | if ($iq->hasFurtherResults())
|
74 | 74 | $navigation .= ' <a href="' . $skin->makeSpecialUrl('Ask','offset=' . ($offset+$limit) . '&limit=' . $limit . '&query=' . urlencode($query) . '&sort=' . urlencode($sort) .'&order=' . urlencode($order)) . '">' . wfMsg('smw_ask_next') . '</a>';
|