r89921 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89920‎ | r89921 | r89922 >
Date:09:50, 12 June 2011
Author:devayon
Status:deferred
Tags:
Comment:
Added minor documentation
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
@@ -490,7 +490,7 @@
491491 }
492492
493493 /**
494 - * TODO: document
 494+ * Generates the Search Box UI
495495 *
496496 * @param string $printoutstring
497497 * @param string $urltail
@@ -608,7 +608,7 @@
609609 '| ' . SMWAskPage::getEmbedToggle() .
610610 '</p>';
611611 }
612 -
 612+ \\show|hide inline embed code
613613 $result .= '<div id="inlinequeryembed" style="display: none"><div id="inlinequeryembedinstruct">' . wfMsg( 'smw_ask_embed_instr' ) . '</div><textarea id="inlinequeryembedarea" readonly="yes" cols="20" rows="6" onclick="this.select()">' .
614614 '{{#ask:' . htmlspecialchars( $this->m_querystring ) . "\n";
615615

Follow-up revisions

RevisionCommit summaryAuthorDate
r89929follow up to r89921jeroendedauw13:26, 12 June 2011