Last modified: 2008-10-27 18:41:30 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 T18028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16028 - Proposal: a new JavaScript variable for redirects
Proposal: a new JavaScript variable for redirects
Status: RESOLVED DUPLICATE of bug 11040
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-18 19:31 UTC by sylvain.brunerie
Modified: 2008-10-27 18:41 UTC (History)
0 users

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


Attachments

Description sylvain.brunerie 2008-10-18 19:31:23 UTC
[Apologies for my bad English...]

I think there should be a JavaScript variable (like wgAction, wgTitle, WgUserName...) indicating:
* if the current page is a redirect page or not
* if we have been redirected

It may be, for example, a variable named wgRedirect and declared as follows:
* 0 = Nothing
* 1 = Redirect, but not redirect page
* 2 = Redirect page
Or something like this.

Thanks.
Comment 1 Chad H. 2008-10-27 18:41:30 UTC

*** This bug has been marked as a duplicate of bug 11040 ***

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


Navigation
Links