Lokal Profil has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/373857 )
Change subject: Correct api parameter used in serach page
......................................................................
Correct api parameter used in serach page
Filtering on no images is srwithoutimage (singular).
Bug: T174125
Change-Id: Ied5169c33417088ee4a64a0c94e07fa1350f27c0
---
M api/searchPage.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage
refs/changes/57/373857/1
diff --git a/api/searchPage.php b/api/searchPage.php
index 312a453..39d96de 100644
--- a/api/searchPage.php
+++ b/api/searchPage.php
@@ -82,7 +82,7 @@
$result[] = '<td><label>' . _i18n( 'search-table-tr-images' ) .
'</label></td>';
$result[] = '<td><!-- Not search images --></td>';
$result[] = '<td>';
- $result[] = '<input type="checkbox" name="srwithoutimages"
id="srwithoutimages" value="1"><label for="srwithoutimages">' . _i18n(
'search-table-checkbox-only-images' ) . '</label>';
+ $result[] = '<input type="checkbox" name="srwithoutimage"
id="srwithoutimage" value="1"><label for="srwithoutimage">' . _i18n(
'search-table-checkbox-only-images' ) . '</label>';
// $result = array_merge($result, $this->getImagesSelect());
$result[] = '</td>';
$result[] = '</tr>';
--
To view, visit https://gerrit.wikimedia.org/r/373857
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied5169c33417088ee4a64a0c94e07fa1350f27c0
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits