Last modified: 2010-05-15 15:56:45 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 T9592, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7592 - 'Login required to edit' 'return to' target is incorrect
'Login required to edit' 'return to' target is incorrect
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.6.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-15 21:47 UTC by KAM
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description KAM 2006-10-15 21:47:02 UTC
When anonymous editing is disabled on Mediawiki, if a user is not logged in and
clicks on the edit tab of a page, they get a message entitled 'Login required to
edit' and the text 'You have to login to edit pages. Return to <main page name>'
where  'Login' is a link to the login/creat acct page and the target <main page
name> is the name of the Main Page of the wiki.  The target should instead be
the name of the original page they were trying to edit. Additionally if instead
the user clicks on the 'login' link and logs in correctly, they get the 'Login
successful' page again with the text 'Return to <main page name>'. Again the
target should instead be the name of the original page they were trying to edit.

Note that if instead of clicking on the edit tab, the user clicks on
'Login/create account' then logs in successfully, the 'Login successful' page
contains the correct message 'Return to <original page name>'.

Steps to reproduce:
1. Make sure you are NOT logged in on a wiki where anonymous editing is disabled.
2. Go to a page (we'll call it 'Page1') and click on the edit tab.
3. Wiki displays the message 'Login required to edit. You have to login to edit
pages. Return to <main page name>' .  Should instead he 'Return to <Page1>'
4. Click on login and now login successfully.
5. Wiki displays the message 'Login successful'.  'Return to <main page name>'.
 Should instead be 'Return to <Page1>'




Instead
Comment 1 Sasa Stefanovic 2006-10-15 22:01:26 UTC
Something similar happends on sr: wiki every time i delete some page. It always
shows "Return to Main page" instead of something other.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-16 00:52:23 UTC
Appears to have been fixed since 1.6.8.  If you want the fix, upgrade.  Open a
new bug if this occurs anywhere in the latest version.

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


Navigation
Links