jenkins-bot has submitted this change and it was merged.

Change subject: Quote RC_EXTERNAL in queries
......................................................................


Quote RC_EXTERNAL in queries

Change-Id: Id3fbd1b3023165c8f787b75ce9a2a882fb9215ba
---
M includes/specials/SpecialMobileWatchlist.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  WMDE-Fisch: Looks good to me, but someone else must approve
  Florianschmidtwelzow: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialMobileWatchlist.php 
b/includes/specials/SpecialMobileWatchlist.php
index d095701..ce60fee 100644
--- a/includes/specials/SpecialMobileWatchlist.php
+++ b/includes/specials/SpecialMobileWatchlist.php
@@ -240,7 +240,7 @@
                                        'wl_namespace=rc_namespace',
                                        'wl_title=rc_title',
                                        // FIXME: Filter out wikidata changes 
which currently show as anonymous (see bug 49315)
-                                       'rc_type!=' . RC_EXTERNAL,
+                                       'rc_type!=' . $dbr->addQuotes( 
RC_EXTERNAL ),
                                        // Filter out category membership 
changes
                                        'rc_type!=' . $dbr->addQuotes( 
RC_CATEGORIZE ),
                                ),

-- 
To view, visit https://gerrit.wikimedia.org/r/274099
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id3fbd1b3023165c8f787b75ce9a2a882fb9215ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: WMDE-leszek <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: WMDE-Fisch <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to