Patch by William Demchick
changes to talk page in addition to watchlist edits.
* (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
* (bug 28272) Special:Allmessages should have only one "Go" button
+* (bug 29101) Special:FileDuplicateSearch shows silly message
=== API changes in 1.19 ===
* BREAKING CHANGE: action=watch now requires POST and token.
if( $this->file ) {
$this->hash = $this->file->getSha1();
- } else {
+ } elseif( $this->filename !== '' ) {
$wgOut->wrapWikiMsg(
"<p class='mw-fileduplicatesearch-noresults'>\n$1\n</p>",
array( 'fileduplicatesearch-noresults', wfEscapeWikiText( $this->filename ) )