Last modified: 2011-02-12 03:44:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29279, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27279 - URL prefix used twice if $wgScriptPath = "$wgServer/w"
URL prefix used twice if $wgScriptPath = "$wgServer/w"
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
OpenID (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Sergey Chernyshev
http://openfarmtech.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-09 12:49 UTC by elifarley
Modified: 2011-02-12 03:44 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description elifarley 2011-02-09 12:49:16 UTC
When I try to log in using my OpenID, my OpenID provider shows me this error:

return_to u'http://openfarmtech.orghttp://openfarmtech.org/w/index.php?title=Special:OpenIDLogin/Finish&janrain_nonce=2011-02-09T12%3A00%3A00cSPXXW9' not under trust_root u'http://openfarmtech.org/'

Variables:

$wgServer = "http://openfarmtech.org";
$wgArticlePath = "/wiki/$1";
$wgScriptPath       = "$wgServer/w";

Everything else on the wiki seems to be working fine.

If I change $wgScriptPath to "/w", I can log in, but then all my links will be relative, which makes it troublesome to browse the wiki via CoralDCN, so I really need to have $wgScriptPath = "$wgServer/w".
Comment 1 Brion Vibber 2011-02-12 03:44:01 UTC
$wgScriptPath, $wgArticlePath, etc must be local paths by definition; setting them to full paths will break a huge amount of stuff that assumes them to be local.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links