You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a rough plan to allow having the same users/registration/login on Tatoeba and the wiki, based on cookie sharing:
Disallow registration on the wiki.
Manually match existing tatowiki users with existing Tatoeba users (we only have 242 tatowiki users so far, including invalid spammer accounts).
Modify user ids in all the tables of tatowiki so that they are the same as Tatoeba’s user ids.
On Tatoeba, upon login or registration, create an additional encrypted cookie containing id and username.
On tatowiki, when accessing any page, check for the existence of that cookie. If that cookie is set and successfully decrypted, tatowiki automatically registers a new user if he doesn’t exist, and it automatically logs in the user if he’s not logged in.
Make sure the session timeout of tatowiki is lower or equal than Tatoeba’s.
On tatowiki, change the login link to point to the Tatoeba login page.
Another approach is to make tatowiki look up users from Tatoeba’s database. Users will still have to login separately, but they don’t have to register two times any more. It requires to:
Disallow registration on the wiki.
Modify user ids in all the other tables of tatowiki so that they are the same as Tatoeba’s user ids.
Modify tatowiki’s password hashing algorithm to match Tatoeba’s (Tatoeba uses something pretty custom).
Make tatowiki read users from the Tatoeba database (note that tatowiki is currently based on sqlite while Tatoeba uses MySQL).
The text was updated successfully, but these errors were encountered:
Just wanted to let you know that I was contacted spontaneously for help to translate wiki articles. Fortunately, it's for a Japanese translation of a text-only page so it shouldn't pose any problem.
That would be nice if we could have at least login integration relatively quickly.
I guess that with the recent emulation about U.I. translations, more people may want to also translate some wiki pages.
Here is a rough plan to allow having the same users/registration/login on Tatoeba and the wiki, based on cookie sharing:
Another approach is to make tatowiki look up users from Tatoeba’s database. Users will still have to login separately, but they don’t have to register two times any more. It requires to:
The text was updated successfully, but these errors were encountered: