- for "login"
- for "sign up"
Notes
- needs to work in client only
Notes
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T219158 'IP visibility' and 'Terms of use' information on termbox editing | |||
| Resolved | • Hanna_Petruschat_WMDE | T221831 Add "You are not logged in" overlay popup on termbox editing | |||
| Resolved | • Matthias_Geisler_WMDE | T222692 research links, where do the urls come from (incl `returnto` params) |
In file MobileFrontend/src/mobile.editor.overlay/EditorOverlay.js:
LN 270: The url is build by mw.util.getUrl( 'AnyIdentifier', params )
LN 253ff: The parameter are set, which are
returnto (current page)
returntoquery (current page [target]parameter)
warning ( a message which seems to be unused currently )
type?='signup' ( to tell special page we need to be redirected to the signup form )
I think this might refer to a much older version of MobileFrontend I looked in the current master and found as follows:
The create anonymous edit warnning is built here: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/MobileFrontend/+/199dad4243045af2dc9be90b1dddab09069f978c/src/mobile.editor.overlay/EditorOverlayBase.js#523
mw.util.getUrl( 'Special:UserLogin') Is used to find both the login and signup page. The signup page additionally sets the URL param type='signup'
The returnto parameter that is built uses mw.config.get( 'wgPageName' ) as the default.