MZMcBride wrote: > Platonides wrote: >> CORS does seem to be the way to go. I have drafted a new proposal below >> which attempts to fix several bug in our way of doing central login. > > Two questions and a comment about this. > > First, would this impede the ability to switch to an AJAX login interface in > the future? LiquidThreads development is working toward this goal.[1]
That's interesting. There should be some synchronization so that CentralAuth could hook there, too. > Second, would this impede the ability to remove the "you've been logged in" > screen? Aryeh mentioned an idea that would allow MediaWiki to remove this > horrible workflow interrupter.[2] You may have noticed that I included a horrible page to log you in instead of the content (the "lightweight page"). That can be replaced with a javascript login, if it is clear how to do it. Showing a login dialog and setting your cookies is easy. But what do you do with the previous screen? You can return to it, but oh, you have several more tabs, and it needs rollback links with tokens everywhere, and there's now a need to highlight the links to pages smaller than 500 bytes, and replacing png equations with TeX. Plus you have a couple of gadgets which needs loading, and the site javascript, which already fired would have needed to do something different. Using a separate page avoids skips that trouble. The LQTv2 you mention will have that problem, too. Unless they join the you are logged in action with the comment submit, or so. > Lastly, due to the large nature of this project, the fact that it involves > both sysadmins and developers, and the fact that there are high-level > principles[3] that need to be kept in mind (as well as the need to track a > variety of bugs and mailing list posts), I'd strongly recommend creating a > "Requests for comment" subpage for this.[4] > > MZMcBride I don't expect anyone to read it there, but may be a good idea to summarise this discussion on a page. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l