https://bugzilla.wikimedia.org/show_bug.cgi?id=32486

--- Comment #3 from Daniel Friesen <[email protected]> 
2011-11-21 23:37:44 UTC ---
By any chance is your $wgArticlePath set to "/$1"?

If so, and you're accessing urls like
"http://wiki.example.com/img_auth.php/a/ab/File_name.ext"; then it sounds like
MediaWiki is interpreting that url as an article path since the script you're
using is not index.php.

We may want to add handling that will intelligently understand what the real
.php file being referenced in the URL is and make use of that instead of ONLY
checking for $wgScript. If not auto-detection then maybe we should add a $wg
variable that lists all known php script paths. Then we can add img_auth.php
and api.php to it, users who do things like i.php can add both to it, and
extensions that define new .php files can add theirs as well in case.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to