* @return string HTML
*/
protected function footerHtml( $term, $iwPrefix ) {
-
$href = Title::makeTitle( NS_SPECIAL, 'Search', null, $iwPrefix )->getLocalURL(
[ 'search' => $term, 'fulltext' => 1 ]
);
*
* @param string $iwPrefix Interwiki prefix
* @return OOUI\IconWidget
- **/
+ */
protected function iwIcon( $iwPrefix ) {
-
$interwiki = $this->iwLookup->fetch( $iwPrefix );
$parsed = wfParseUrl( wfExpandUrl( $interwiki ? $interwiki->getURL() : '/' ) );
$iwIconUrl = $parsed['scheme'] .
$parsed['delimiter'] .
$parsed['host'] .
- ( isset ( $parsed['port'] ) ? ':' . $parsed['port'] : '' ) .
+ ( isset( $parsed['port'] ) ? ':' . $parsed['port'] : '' ) .
'/favicon.ico';
$iwIcon = new OOUI\IconWidget( [