[MediaWiki-commits] [Gerrit] Fix link generator - change (mediawiki...Flow)

2013-08-27 Thread Matthias Mullie (Code Review)
Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/81383


Change subject: Fix link generator
..

Fix link generator

buildUrl will build link to Special:Flow/title; don't want to toss in title
as Special:Flow already, but just as the article title

Change-Id: Ibdfd282243034a277e53bfa94384a67f8dff7a06
---
M includes/UrlGenerator.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/83/81383/1

diff --git a/includes/UrlGenerator.php b/includes/UrlGenerator.php
index 8f54e67..4a0e573 100644
--- a/includes/UrlGenerator.php
+++ b/includes/UrlGenerator.php
@@ -34,6 +34,6 @@
$query['workflow'] = $workflow-getId()-getHex();
}
 
-   return self::buildUrl( $workflow-getTitle(), $action, $query );
+   return self::buildUrl( $workflow-getArticleTitle(), $action, 
$query );
}
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibdfd282243034a277e53bfa94384a67f8dff7a06
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie mmul...@wikimedia.org

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Fix link generator - change (mediawiki...Flow)

2013-08-27 Thread EBernhardson (WMF) (Code Review)
EBernhardson (WMF) has submitted this change and it was merged.

Change subject: Fix link generator
..


Fix link generator

buildUrl will build link to Special:Flow/title; don't want to toss in title
as Special:Flow already, but just as the article title

Change-Id: Ibdfd282243034a277e53bfa94384a67f8dff7a06
---
M includes/UrlGenerator.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  EBernhardson (WMF): Verified; Looks good to me, approved



diff --git a/includes/UrlGenerator.php b/includes/UrlGenerator.php
index 8f54e67..4a0e573 100644
--- a/includes/UrlGenerator.php
+++ b/includes/UrlGenerator.php
@@ -34,6 +34,6 @@
$query['workflow'] = $workflow-getId()-getHex();
}
 
-   return self::buildUrl( $workflow-getTitle(), $action, $query );
+   return self::buildUrl( $workflow-getArticleTitle(), $action, 
$query );
}
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibdfd282243034a277e53bfa94384a67f8dff7a06
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie mmul...@wikimedia.org
Gerrit-Reviewer: EBernhardson (WMF) ebernhard...@wikimedia.org

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits