Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | $docutitle = Title::newFromText(wfMsg('smw_ask_doculink'), NS_HELP);
|
44 | 44 | $html = wfMsg('smw_ask_docu', $docutitle->getFullURL()) . "\n" .
|
45 | 45 | '<form name="ask" action="' . $spectitle->escapeLocalURL() . '" method="GET">' . "\n";
|
46 | | - $html .= '<textarea name="query" cols="40" rows="10">' . $query . '</textarea><br />' . "\n";
|
| 46 | + $html .= '<textarea name="query" cols="40" rows="6">' . $query . '</textarea><br />' . "\n";
|
47 | 47 | $html .= "<br /><input type=\"submit\"/>\n</form>";
|
48 | 48 |
|
49 | 49 | // print results if any
|
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | $navigation = '<a href="' . $skin->makeSpecialUrl('Ask','offset=' . max(0,$offset-$limit) . '&limit=' . $limit . '&query=' . urlencode($query)) . '">' . wfMsg('smw_ask_prev') . '</a>';
|
57 | 57 | else $navigation = wfMsg('smw_ask_prev');
|
58 | 58 |
|
59 | | - $navigation .= ' <b>' . wfMsg('smw_ask_results') . " $offset – " . ($offset + $iq->getDisplayCount() - 1) . '</b> ';
|
| 59 | + $navigation .= ' <b>' . wfMsg('smw_ask_results') . ' ' . ($offset+1) . '– ' . ($offset + $iq->getDisplayCount()) . '</b> ';
|
60 | 60 |
|
61 | 61 | if ($iq->hasFurtherResults())
|
62 | 62 | $navigation .= ' <a href="' . $skin->makeSpecialUrl('Ask','offset=' . ($offset+$limit) . '&limit=' . $limit . '&query=' . urlencode($query)) . '">' . wfMsg('smw_ask_next') . '</a>';
|