Fo0bar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/125585
Change subject: Global $wgGoogleSiteSearchCharset in GoogleSiteSearch()
......................................................................
Global $wgGoogleSiteSearchCharset in GoogleSiteSearch()
$wgGoogleSiteSearchCharset was not being used due to not being pulled in
as a master, resulting in a PHP Undefined variable notice.
Change-Id: I3baf37044a45390ac7f73e8540af0a570f06bad0
---
M GoogleSiteSearch.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GoogleSiteSearch
refs/changes/85/125585/1
diff --git a/GoogleSiteSearch.php b/GoogleSiteSearch.php
index 4cd5e99..416a691 100644
--- a/GoogleSiteSearch.php
+++ b/GoogleSiteSearch.php
@@ -65,6 +65,7 @@
function GoogleSiteSearch( $t, $out, $term ) {
global $wgGoogleSiteSearchCSEID;
global $wgGoogleSiteSearchOnly;
+ global $wgGoogleSiteSearchCharset;
# Return immediately if the CSE ID is not configured
if ( !$wgGoogleSiteSearchCSEID ) {
--
To view, visit https://gerrit.wikimedia.org/r/125585
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3baf37044a45390ac7f73e8540af0a570f06bad0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GoogleSiteSearch
Gerrit-Branch: master
Gerrit-Owner: Fo0bar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits