Yaron Koren has uploaded a new change for review.
https://gerrit.wikimedia.org/r/205764
Change subject: Fixes for handling of '_single' in drilldown URL
......................................................................
Fixes for handling of '_single' in drilldown URL
Change-Id: I948b811c073a34e6ee33cd9d488f17d1b1b6bb30
---
M drilldown/CargoSpecialDrilldown.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo
refs/changes/64/205764/1
diff --git a/drilldown/CargoSpecialDrilldown.php
b/drilldown/CargoSpecialDrilldown.php
index 40953dc..017cd8a 100644
--- a/drilldown/CargoSpecialDrilldown.php
+++ b/drilldown/CargoSpecialDrilldown.php
@@ -891,8 +891,8 @@
}
$header = "";
- $this->show_single_cat = $wgRequest->getCheck( '_single' );
- if ( !$this->show_single_cat ) {
+ $this->showSingleTable = $wgRequest->getCheck( '_single' );
+ if ( !$this->showSingleTable ) {
$header .= $this->printTablesList( $tables );
}
// If there are no fields for this table,
@@ -1012,7 +1012,7 @@
*/
function linkParameters() {
$params = array();
- if ( $this->show_single_cat ) {
+ if ( $this->showSingleTable ) {
$params['_single'] = null;
}
$params['_table'] = $this->tableName;
--
To view, visit https://gerrit.wikimedia.org/r/205764
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I948b811c073a34e6ee33cd9d488f17d1b1b6bb30
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits