[02:46:19] Hey folks! Trying to delete a page using Extension:DeletePagesForGood, and i get this error: [02:46:49] Category::refreshCounts: Cannot flush pre-lock snapshot because writes are pending (ActionDeletePagePermanently::deletePermanently, ActionDeletePagePermanently::deletePermanently, ActionDeletePagePermanently::deletePermanently, [03:46:52] Hey Yaron are you around? I'm having an issue with DataTransfer, I keep getting a "0 pages" error on import [05:36:07] Trying to change a user's email: got this: [05:36:25] [c537db69627005a26662fd9a] [no req] LogicException from line 2924 of /home/nchakdhb/lostjewel/includes/user/User.php: Cannot set a password for a user that is not in the database. [05:36:33] Can I get some help? [08:18:28] hello [08:19:16] Here for GCI [09:39:25] hi and welcome blackm [10:10:58] hello everyone [10:11:18] any mentor online? [13:03:14] how to config git-review? [13:04:13] i a getting error Dell@DESKTOP-CP3C122 MINGW64 ~ [13:18:26] any mentor online i need help [13:20:35] devansh: Hi, what is your exact question? [13:20:47] If you get an error, please provide steps to reproduce and the exact error message - thanks :) [13:21:36] devansh: https://www.mediawiki.org/wiki/Gerrit/Tutorial#Configuring_git-review basically [13:21:52] I want to add a file to a repository (txt file) how can i do that [13:22:09] devansh, see https://www.mediawiki.org/wiki/Gerrit/Tutorial [13:22:23] it's covered in https://www.mediawiki.org/wiki/Gerrit/Tutorial [13:22:29] I cannot find it there [13:22:36] section is https://www.mediawiki.org/wiki/Gerrit/Tutorial#Make_and_commit_your_change [13:22:43] third command [13:23:15] * andre__ realizes more and more that the Gerrit tutorial could be... better :-/ [13:24:16] I want to ass a file Devansh.txt. Can you please tell me the command [13:24:53] It is really very confusing in the tutorial. [13:25:23] devansh, please take a look at the third command listed in the section https://www.mediawiki.org/wiki/Gerrit/Tutorial#Make_and_commit_your_change [13:25:41] if something is unclear, could you point out which exact sentence, so we could improve the tutorial? [13:25:58] which steps / commands have you followed so far? what was the last command that you entered? [13:26:23] git add Example/Example.body.php will this command create a new folder Example and then add the file in it [13:27:02] devansh: Have you tried? :) [13:27:11] yes [13:27:25] devansh: and what happened? [13:27:52] devansh: What is the output of "git diff --cached", listed as the next step? [13:28:08] $ git add Devansh.txt [13:28:32] i am trying [13:28:52] Good :) Now what is the output of "git diff --cached"? [13:30:14] no output [13:30:47] devansh, and the file "Devansh.txt" exists already? [13:30:58] yes [13:31:06] where should i save the file [13:31:11] devansh: Which operating system do you use? [13:31:17] windows [13:31:25] fatal: C:UsersDellDesktopDevansh.txt: 'C:UsersDellDesktopDevansh.txt' is outside repository [13:31:31] i am getting this [13:31:51] then you did not create that file in the code repository where you checked out that code repository [13:32:13] devansh: to which location / folder on your did you check out the git repository? [13:32:21] *on your computer, I meant [13:32:57] C:\Users\Dell [13:33:04] devansh: and which exact git code repository did you check out? [13:33:33] devansh: You probably ran a "git clone" command at some point, what was the exact and complete command that you entered? [13:33:42] https://gerrit.wikimedia.org/r/admin/projects/sandbox [13:34:14] devansh: Okay. And which complete and exact command did you use to check out that repository? [13:35:02] git clone "https://devansh2002@gerrit.wikimedia.org/r/a/sandbox" [13:36:06] devansh: In that case you should have a folder somewhere that is called "sandbox". If you are in a folder called "Desktop" then that is not a folder called "sandbox" and you are not in your git repository checkout folder. [13:36:24] git diff --cached [13:36:33] Is this correct? [13:36:57] devansh: What is "this"? [13:37:03] You pasted a command. I don't know what you want to do. [13:37:16] My question was into which location you cloned the code repository [13:37:41] the file got added [13:37:51] i have followed your instructions [13:37:57] devansh: Also, where exactly did you find the command " git clone https://devansh2002@gerrit.wikimedia.org/r/a/sandbox "? Which exact steps do you follow and where? Can you provide a link to the steps that you follow? [13:38:32] i found this command on the website https://gerrit.wikimedia.org/r/#/admin/projects/sandbox [13:38:43] okay [13:38:59] devansh, so where is your "sandbox" folder on your computer? [13:39:16] when you ran "git clone", it created a folder called "sandbox" on your computer. [13:39:20] c:\users\dell\sandbox [13:39:44] That is why you get "fatal: C:\Users\Dell\Desktop\Devansh.txt is outside repository" [13:39:55] C:\Users\Dell\Desktop is not C:\Users\Dell\Desktop\sandbox [13:40:00] yes now my issue is ressolved [13:40:03] so you are outside of the git repository [13:40:09] ah, great :) Happy to hear that! [13:40:09] yes [13:40:18] now i am commiting [13:40:33] THANK YOU very much [13:40:39] yay! you are very welcome :) [13:42:01] I think the tutorial on the site are somewhat confusing at the setting up git-review part [13:42:24] Probably. :( Do you have any ideas how to improve it? [13:45:04] i the Setting up git-review part it is not mentioned how can we get into directory of the project that we have cloned [13:47:06] I have used the help of https://www.mediawiki.org/wiki/Gerrit/git-review#Windows Setting up git-review part to get it done [13:47:31] devansh: Currently, https://www.mediawiki.org/wiki/Gerrit/Tutorial#Setting_up_git-review says "Make sure that you are in the directory of the project that you cloned (otherwise you will get an error "fatal: Not a git repository")." [13:48:02] Is that what you meant? [13:48:19] Yes it says that but i was not knowing how to get in the directory of project [13:48:32] cd MyNewProj command must be used [13:48:45] this was not available in tutorial [13:49:01] Hmm, that might depend on your operating system, but pretty often it is "cd YourProject", right. [13:49:16] devansh, Would you like to edit https://www.mediawiki.org/wiki/Gerrit/Tutorial and add a sentence explaining that? [13:49:49] You could use wiki markup for that, something like: cd YourClonedProject [13:50:11] see the preview of your edit, before you save your change on that page [13:50:50] ok i will try [14:03:51] hey andre__ i cannot edit the page since the page is semi protected [14:04:26] ah, meh, true :( [14:04:28] sorry [14:04:46] you can make the changes [14:22:04] andre__ sir how can i complete commiting the code i could not find a way to save commiting [14:22:29] devansh, which last step in the tutorial did you perform? [14:22:41] I don't know what "save committing" means.... [14:23:07] i performed the git commit command [14:23:29] devansh: good. and what is the problem? [14:23:36] a window opened where i entered the commited messages [14:23:55] now whats the next step the window is still open [14:24:23] ah, so you are at "You will then be asked in an editor to add a descriptive message for this commit message. " ? [14:24:46] yes sir [14:24:58] True, the steps do not mention that you save your commit message and then close your editor, and then continue with the steps in the tutorial. Good point. [14:26:10] devansh, also, no need for "sir". You don't know if I am a "sir" or "madam" or something else. :) [14:26:29] ok sorry for that [14:26:48] np [14:27:59] https://imge.to/i/vfLLbT [14:28:29] Now what will be the next step [14:30:33] devansh: you save your commit message, you close the editor, and you follow the next step in the tutorial [14:31:12] how will we save the commit message [14:31:26] devansh: I don't know, that depends on the editor that you chose to use [14:32:42] I guess you used your favorite text editor, so I hope you know how you can save a file and close your favorite text editor in your favorite text editor :) [14:33:38] We don't know which text editor you are using so we cannot tell you, I'm afraid... [14:34:46] it is git bash [14:35:00] that is not an editor [14:35:21] Again: We don't know which text editor you use. "git" and "bash" are not text editor software. [14:36:04] *If* you decided to use vim as a text editor, then closing and saving is probably this command: [14:36:08] :wq! [14:36:56] but the screenshot that you posted so far does not show any commit message, so you first have to edit your commit message [14:42:33] vim was the text editor [14:42:51] your instructions worked thank you [14:43:24] I have submitted the task for review [14:43:40] devansh, what is the link to your change in gerrit? [14:43:54] https://gerrit.wikimedia.org/r/c/557254/ [14:44:04] ah, thanks [14:44:33] devansh: Does not perfectly follow https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines but might be okay. Congrats to your first patch in Gerrit, you made it! :) [14:45:36] I will take more care next time for the commiting part. [14:46:01] I have learned many new things today. [18:03:11] I'm using the Page Forms extension and wondering if anyone knows, How do i make the contents of a field into a category link on the page template?