Yaron Koren has uploaded a new change for review.
https://gerrit.wikimedia.org/r/80552
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticDrilldown
refs/changes/52/80552/1
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: newchange
Gerrit-Change-Id: Ib8c5dbbb114d123c7b03788604edb036a62f9d31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticDrilldown
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits