[00:33:51] !log tools.toolhub-extension-demo Upgraded to PHP 7.4 and latest HEAD on all git clones [00:33:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.toolhub-extension-demo/SAL [13:14:51] Hi, I have submitted an approved membership request to have a toolaccount (https://toolsadmin.wikimedia.org/tools/membership/) and I have a Wikimedia developer account. But, I do not understand why my login and password do not work into the LDAP login form here : https://toolsadmin.wikimedia.org/auth/login/ Can someone help me ? [13:16:34] grapheSuppressio: are you sure you're using the correct username? developer accounts have two usernames (the main username and the shell name), this one takes the main username [13:17:04] yeah I think so. Is it the same password ? [13:18:29] login works fine in any place of Wikimedia project except here... [13:19:14] developer accounts are separate from the accounts you use to log in to the other projects.. [13:19:18] what's your username? [13:19:24] GrapheSuppression [13:40:47] can you tell me why I can't connect ? [13:43:56] Can you sign in to https://wikitech.wikimedia.org/ with the same credentials you're using to log into toolforge? [13:44:09] That's the account/pass you should be using. [13:56:19] This tell me that : Incorrect username or password entered. Please try again. Usernames are case-sensitive. See phab:T165795 for more details. [13:56:20] T165795: Ldap auth extension vs. ldap vs. username Case - https://phabricator.wikimedia.org/T165795 [13:58:27] Ah, OK. Can you reset your password on Wikitech? [13:59:16] Oh, actually, I can see that GrapheSuppression isn't a Wikitech user. [14:00:00] The person shouldn't have approved your application. :x [14:00:53] You'll probably have to first sign up on Wikitech and then re-apply on toolforge. [14:01:04] taavi: does that sound right? [14:02:58] okay, but when I try si sign up on wikitech it tell me that my name "GrapheSuppression" already is used... [14:04:03] I already tried to reset my password here, but I did not received any email... [14:04:42] Do you remember signing up for a wikitech account? [14:05:15] absolutely not [14:07:06] And when it says "GrapheSuppression" is already used, is that for the Username field or the UNIX shell username field? [14:07:48] someone with access will have to carry out https://wikitech.wikimedia.org/wiki/Password_and_2FA_reset#Attaching_an_account_to_Wikitech [14:09:02] cc andrewbogott (who approved the toolforge request) [14:09:22] it is the username which is already in use [14:09:32] username field* [14:11:52] Ah, OK. It's probably what AntiComposite said. You're account is in a weird state because it was approved without having Wikitech account. One of the admins should be able to help you out when they're around. [14:12:30] kindrobot: not all developer accounts have wikitech accounts, this is a normal state [14:12:50] Oh, my bad! [14:12:53] it's just a state without a password reset flow [14:13:40] !log admin attached GrapheSuppression developer account to wikitech [14:13:42] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [14:15:46] grapheSuppressio: you can now do a password reset via https://wikitech.wikimedia.org/wiki/Special:PasswordReset [14:26:42] already done that but no email [14:38:30] is there any other solution ? [14:43:18] or at least How can i create a ticket to have support ? [15:00:35] !log restarted nova services in eqiad1 in an attempt to eke out another day or two of stability [15:00:36] andrewbogott: Unknown project "restarted" [15:00:58] !log admin restarted nova services in eqiad1 in an attempt to eke out another day or two of stability [15:01:00] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [15:01:53] grapheSuppressio: I'm looking, give me a minute [15:02:04] ok thanks [15:02:58] what username and shell name did you register? [15:04:21] grapheSuppressio: ^ ? [15:04:55] I didn't have the oppotunity to choose a shell username, but my username is : "GrapheSuppression" [15:06:01] ok, I see you. You do not appear to have an email address registered, can you please pm me yours? [15:06:28] graphe.suppression@proton.me [15:07:25] ok, I'm not positive that that helped but can you try a password reset on wikitech again? [15:08:19] done, now I will received an email ? [15:11:22] I hope so! [15:11:55] still nothing... Is there a delay ? [15:12:03] I added your email to ldap, I'm not sure if wikitech shadows that or if it re-reads every time. [15:12:08] I'd give it a minute, and also check your spam folder [15:12:43] ok i will check again and come back to you in ten minutes [15:14:53] bd808, any idea if adding an email to ldap after the wikitech account is created will inject the email into wikitech or if it keeps it in the mw database? [15:15:28] or, I guess a more timezone-appropriate reedy? [15:26:22] nothing in my inbox... [15:31:31] andrewbogott: I am pretty sure that adding the email via wikitech's UI gets it copied into LDAP, but I'm not sure that there is anything that would re-sync things in the other direction. [15:32:06] bd808: ok, that sounds right to me too. So what do we do about existing accounts w/out email? [15:32:09] andrewbogott: I use `mwscript resetUserEmail.php --wiki=labswiki $USER $EMAIL --no-reset-password` to fix missing emails in the wikitech db [15:32:23] Hey, that's just what I was going to ask for :) [15:33:02] I just did one last week so I still had it in .bash_history on cloudweb1003 :) [15:33:37] If I leave off the -no-reset-password will it send a reset email [15:33:44] ? Since that's what we're ultimately trying to do anyway [15:34:47] grapheSuppressio: check inbox yet again? And if nothing, you can try a reset on wikitech (again) [15:35:38] i checked and nothing, reset again [15:35:53] oh yeah have one [15:35:59] at last! [15:36:08] Is that everything you need for now? [15:37:07] and this works https://toolsadmin.wikimedia.org/ !! Thank you verry much [15:39:24] great! [15:44:57] #someday one of us will work on T174469 (or a better solution will be implemented elsewhere) [15:44:58] T174469: LDAP account that is not attached on wikitech has no means for password reset - https://phabricator.wikimedia.org/T174469 [15:45:50] Although for this one the missing email was the bigger issue [15:46:45] Which is probably a bug in Striker that also needs tracking down. It was at least my intent years ago that you would not be able to create a Developer account via Striker without setting the account email. [15:47:23] I wondered about that, I haven't seen another account without email in ages [20:12:30] Hi, is there a way to access revision content using wiki replicas ? [20:12:44] (apparently stored in the content database) [20:13:02] nope [20:13:19] you’ll need something else for those, e.g. the API or some dumps [20:13:21] so i can do that only with the api ? [20:13:40] okay but with the api I can't down some long revision [20:13:53] is there a way to pass this limitation ? [20:14:24] hm, that doesn’t sound right [20:14:29] do you have an example of a revision that doesn’t work? [20:14:49] page "Emmanuel Macron" in the french wikipedia [20:16:34] the output at https://fr.wikipedia.org/w/api.php?action=query&titles=Emmanuel%20Macron&prop=revisions&rvprop=content&rvslots=main&formatversion=2 looks complete to me [20:16:37] (compared to https://fr.wikipedia.org/w/index.php?title=Emmanuel_Macron&action=edit) [20:18:45] a call with python return me taht : - result -- {'*': 'This result was truncated because it would otherwise be larger than the limit of 12,582,912 bytes.'} [20:19:41] then you’re probably including some other things in the same API request? [20:19:52] (I’m pretty sure a single revision can’t exceed the size limit) [20:19:57] all revisions on this page [20:19:59] or maybe you’re querying for several revisions at once [20:20:00] ok yeah [20:20:24] ok so i need to make like 5 or 6 requests for one page ? [20:20:30] yes [20:20:39] or like one request for 50 revisions [20:20:40] in fact the response already contains the information you need to continue [20:20:41] ok thanks [20:20:50] ideally there’d be some library to take care of it for you [20:20:57] for JS I can offer https://github.com/lucaswerkmeister/m3api-query/ :) [20:21:08] maybe pywikibot can do it in python, I don’t know [20:21:15] i use mwapi in python [20:21:50] if i put a limitation of the number of revisions to get in a query, then i can continue with the information contained in my query ? [20:21:50] ok, mwapi won’t do that, but it at least has `continuation=True` support in its methods [20:22:05] you can continue whether you put a limitation on it or not [20:22:28] and if the response gets truncated then the continuation will automatically be set to resume from the first revision that didn’t fit in the previous response [20:23:00] ok! [20:23:10] (see the “query with continuation” example at https://pypi.org/project/mwapi/ for how to use continuation) [20:23:16] the annoying thing is that you’ll still see this warning [20:23:30] even though, if you’re following continuation, in theory you’re doing everything correctly and the warning is redundant [20:23:37] (m3api-query hides the warning for you) [20:23:41] (*would hide) [20:26:53] ok thank you for you're help, I will so some tries [20:27:17] good luck!