Last modified: 2014-04-10 19:52:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 25973 - Give a login link to Anoneditwarning and Anonprevieweditwarning
Give a login link to Anoneditwarning and Anonprevieweditwarning
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
Other Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
  Show dependency treegraph
Reported: 2010-11-17 10:38 UTC by Niri
Modified: 2014-04-10 19:52 UTC (History)
4 users (show)

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


Description Niri 2010-11-17 10:38:47 UTC

1. Log-out of Wikipedia
2. Go to any article's Edit page (For ex: )
3. Click ( ) link from the 1st line of Infobox text ( You are not currently logged in. )
4. Provide valid user-name and password and click Login
5. Observe the 'return to' URL in the last line "Return to Main Page" (redirects to )

Actual result:
Redirects to Wikipedia's main page

Expected result:
Should redirect to the page the user was previously accessing, i.e.,

- Niri
Comment 1 Bawolff (Brian Wolff) 2010-11-17 19:29:42 UTC
This is something the Wikipedians did themselves ( [[MediaWiki:Anoneditwarning]] ), so not really a mediawiki issue...

On the other hand, we should maybe include the proper link to the log in page in the default anoneditwarning message (and ditto for [[mediawiki:anonpreviewwarning]]).
Comment 2 Roan Kattouw 2010-11-28 15:21:49 UTC
The proper link can't be generated with wikitext alone (the &returnto parameter can be, but &returntoquery can't), so I guess we should introduce a {{LOGINLINK}} magic word or something.
Comment 3 Mark A. Hershberger 2011-02-08 21:10:09 UTC
See bug #27264
Comment 4 Bawolff (Brian Wolff) 2014-04-10 19:52:01 UTC
I disagree with wontfix-ing this. I see no reason to not pass a login link to those messages via a $1

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