Last modified: 2010-05-15 15:56:45 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
Something similar happends on sr: wiki every time i delete some page. It always shows "Return to Main page" instead of something other.
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.