https://bugzilla.wikimedia.org/show_bug.cgi?id=49605
Web browser: ---
Bug ID: 49605
Summary: Special:MyLanguage should be a valid redirect target
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Translate
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Someone on #wikimedia-commons was complaining that you can't make redirects of
the form #REDIRECT[[Special:mylanguage/foo]]
It seems like it would be nice to allow this.
I think the best way to go about doing something like this would be to add a
method to SpecialPage class that subclasses can override. It could return
self::REDIRECT_NOT_ALLOWED if never allowed (e.g. Special:userlogout,
everything in $wgInvalidRedirectTargets), self::REDIRECT_AUTO which would do
whatever $wgDisableHardRedirects is set to, and self::REDIRECT_ALWAYS which
would always allow redirects.
Only downside is that the "redirected from" text would be missing, for these
types of redirects, but I don't think that should stop us from allowing them.
Thoughts?
--
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