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

Change subject: Added DB table name escaping for '_none' option, to allow for 
prefixes
......................................................................


Added DB table name escaping for '_none' option, to allow for prefixes

Change-Id: Ib8c5dbbb114d123c7b03788604edb036a62f9d31
---
M specials/SD_BrowseData.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/specials/SD_BrowseData.php b/specials/SD_BrowseData.php
index 2dff5e7..2fe2b09 100644
--- a/specials/SD_BrowseData.php
+++ b/specials/SD_BrowseData.php
@@ -297,7 +297,7 @@
                                }
                        }
                        if ( $includes_none ) {
-                               $property_table_name = 
$af->filter->getTableName();
+                               $property_table_name = $dbr->tableName( 
$af->filter->getTableName() );
                                if ( $af->filter->property_type === 'page' ) {
                                        $property_table_nickname = "nr$i";
                                        $property_field = 'p_id';

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8c5dbbb114d123c7b03788604edb036a62f9d31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticDrilldown
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to