r17719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17718‎ | r17719 | r17720 >
Date:12:31, 16 November 2006
Author:mkroetzsch
Status:old
Tags:
Comment:
previous commit seems to have failed ...
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
@@ -42,7 +42,7 @@
4343 $docutitle = Title::newFromText(wfMsg('smw_ask_doculink'), NS_HELP);
4444 $html = wfMsg('smw_ask_docu', $docutitle->getFullURL()) . "\n" .
4545 '<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";
4747 $html .= "<br /><input type=\"submit\"/>\n</form>";
4848
4949 // print results if any
@@ -55,7 +55,7 @@
5656 $navigation = '<a href="' . $skin->makeSpecialUrl('Ask','offset=' . max(0,$offset-$limit) . '&limit=' . $limit . '&query=' . urlencode($query)) . '">' . wfMsg('smw_ask_prev') . '</a>';
5757 else $navigation = wfMsg('smw_ask_prev');
5858
59 - $navigation .= '&nbsp;&nbsp;&nbsp;&nbsp; <b>' . wfMsg('smw_ask_results') . " $offset &ndash; " . ($offset + $iq->getDisplayCount() - 1) . '</b>&nbsp;&nbsp;&nbsp;&nbsp;';
 59+ $navigation .= '&nbsp;&nbsp;&nbsp;&nbsp; <b>' . wfMsg('smw_ask_results') . ' ' . ($offset+1) . '&ndash; ' . ($offset + $iq->getDisplayCount()) . '</b>&nbsp;&nbsp;&nbsp;&nbsp;';
6060
6161 if ($iq->hasFurtherResults())
6262 $navigation .= ' <a href="' . $skin->makeSpecialUrl('Ask','offset=' . ($offset+$limit) . '&limit=' . $limit . '&query=' . urlencode($query)) . '">' . wfMsg('smw_ask_next') . '</a>';

Status & tagging log