https://bugzilla.wikimedia.org/show_bug.cgi?id=52356
Web browser: ---
Bug ID: 52356
Summary: Login check without javascript broken
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: CentralAuth
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Without javascript, the central login check is failing to run correctly.
Local wiki writes an image call that looks something like
title=Special:CentralAutoLogin/start&type=1x1&from=enwiki
However, CentralAutoLogin checks for
} elseif( $request->getVal( 'from' ) === wfWikiId() && $wgCentralAuthLoginWiki
!== wfWikiId() ) {
Which is true in this case, and so the browser is redirected to the central
wiki, to Special:CentralAutoLogin/start, which fails.
The pure javascript version of the check makes a call to:
index.php?title=Special:CentralAutoLogin/start&type=script
So the code above doesn't evaluate true, and everything works.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l