'size' => 50,
'value' => $this->filename,
'cssclass' => 'mw-ui-input-inline'
'size' => 50,
'value' => $this->filename,
'cssclass' => 'mw-ui-input-inline'
$htmlForm = HTMLForm::factory( 'inline', $formFields, $this->getContext() );
$htmlForm->addHiddenFields( $hiddenFields );
$htmlForm->setAction( wfScript() );
$htmlForm = HTMLForm::factory( 'inline', $formFields, $this->getContext() );
$htmlForm->addHiddenFields( $hiddenFields );
$htmlForm->setAction( wfScript() );
} elseif ( $this->filename !== '' ) {
$out->wrapWikiMsg(
"<p class='mw-fileduplicatesearch-noresults'>\n$1\n</p>",
} elseif ( $this->filename !== '' ) {
$out->wrapWikiMsg(
"<p class='mw-fileduplicatesearch-noresults'>\n$1\n</p>",
if ( $thumb ) {
$out->addModuleStyles( 'mediawiki.special' );
$out->addHTML( '<div id="mw-fileduplicatesearch-icon">' .
if ( $thumb ) {
$out->addModuleStyles( 'mediawiki.special' );
$out->addHTML( '<div id="mw-fileduplicatesearch-icon">' .
$this->msg( 'fileduplicatesearch-info' )->numParams(
$img->getWidth(), $img->getHeight() )->params(
$this->getLanguage()->formatSize( $img->getSize() ),
$this->msg( 'fileduplicatesearch-info' )->numParams(
$img->getWidth(), $img->getHeight() )->params(
$this->getLanguage()->formatSize( $img->getSize() ),
- array( 'fileduplicatesearch-result-n', wfEscapeWikiText( $this->filename ),
- $this->getLanguage()->formatNum( $numRows - 1 ) )
+ [ 'fileduplicatesearch-result-n', wfEscapeWikiText( $this->filename ),
+ $this->getLanguage()->formatNum( $numRows - 1 ) ]
$title = Title::newFromText( $search, NS_FILE );
if ( !$title || $title->getNamespace() !== NS_FILE ) {
// No prefix suggestion outside of file namespace
$title = Title::newFromText( $search, NS_FILE );
if ( !$title || $title->getNamespace() !== NS_FILE ) {
// No prefix suggestion outside of file namespace
}
$search = SearchEngine::create();
$search->setLimitOffset( $limit, $offset );
// Autocomplete subpage the same as a normal search, but just for files
}
$search = SearchEngine::create();
$search->setLimitOffset( $limit, $offset );
// Autocomplete subpage the same as a normal search, but just for files