https://bugzilla.wikimedia.org/show_bug.cgi?id=33554
Web browser: ---
Bug #: 33554
Summary: "$wgDebugRedirects = true" in LocalSettings.php does
not work: If redirected page is accessed using
original URL, the redirect still happens
automatically.
Product: MediaWiki
Version: 1.18
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Redirects
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Setting "$wgDebugRedirects = true" in "LocalSettings.php" does not work as it
described by the documentation:
http://www.mediawiki.org/wiki/Manual:$wgDebugRedirects
If redirected page is accessed using original URL, the redirect still happens
automatically.
It is either (1) problem with the code or (2) lack of explanation in
documentation.
STEPS TO REPRODUCE:
1. I have a MediaWiki instance installed into (similar) URL:
http://example.com/content/
2. I created a page which is directly accessible through:
http://example.com/content/index.php?title=Initial
3. Then I redirected (moved leaving a redirect) the page giving it new name:
http://example.com/content/index.php?title=Moved
4. Then I enabled ("$wgDebugRedirects = true;" in LocalSettings.php) the
feature to disable automatic redirects. According to the documentation, this
should disable redirects and show new location instead.
4.1 EXPECTED RESULT:
In the example above, when I enter the first URL, the wiki engine should not
show content of the page. It should simply show a some kind of auto-message
with a link to the new "Moved" page.
4.2 OBSERVED RESULT:
When the first URL is used, the wiki engine still redirects the page showing
its content. In other words, it behaves as if there were no changes to
"$wgDebugRedirects" variable.
--
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