Skip to content

Commit c51c4fe

Browse files
authored
Update PhabricatorMediaWikiAuthProvider.php
1 parent 81d3dbc commit c51c4fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/oauth/PhabricatorMediaWikiAuthProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ protected function getProviderConfigurationHelp() {
8787
"NOTE: Before Phabricator can successfully authenticate to your MediaWiki,".
8888
" a wiki admin must approve the oauth consumer registration using the form".
8989
" which can be found at the following url: %s",
90-
$wiki_uri.'/index.php?title=Special:OAuthConsumerRegistration/propose',
91-
$login_uri,
92-
$wiki_uri.'/index.php?title=Special:OAuthManageConsumers/proposed');
90+
$this->getWikiURI().'/index.php?title=Special:OAuthConsumerRegistration/propose',
91+
PhabricatorEnv::getURI($this->getLoginURI()),
92+
$this->getWikiURI().'/index.php?title=Special:OAuthManageConsumers/proposed');
9393
}
9494

9595
protected function newOAuthAdapter() {

0 commit comments

Comments
 (0)