Last modified: 2012-05-08 13:54:42 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 T24608, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22608 - AjaxLogin: Successful login does not update personal tools
AjaxLogin: Successful login does not update personal tools
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AjaxLogin (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Jack Phoenix
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-21 13:11 UTC by Chad H.
Modified: 2012-05-08 13:54 UTC (History)
3 users (show)

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


Attachments

Description Chad H. 2010-02-21 13:11:29 UTC
Gentlemen,

When using AjaxLogin (r62754) and I log in correctly, the personal tools in the upper right corner do not update with my username/watchlist/preferences/etc. This does not update until I load the next page. 

This is poor usability because it gives no indication to the user that they've successfully logged in.
Comment 1 Andrew Garrett 2010-02-24 11:43:27 UTC
Assuming AjaxLogin uses jQuery, here's two lines to stick after a successful login to fix this bug:

 $j('.p-personal').html('<div class="mw-ajax-loader" />');
$j('.p-personal').load(window.location.href+' .p-personal > *' );

See, I did your work for you!
Comment 2 Mark A. Hershberger 2011-06-07 02:48:43 UTC
Created an AjaxLogin component for this extension

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


Navigation
Links