[00:03:57] (03CR) 10Legoktm: [C: 032] "I tagged 0.1.3 with the PHP_SAPI guard, and submitted 2 more patches for further improvements, but this is good enough to go now." [vendor] - 10https://gerrit.wikimedia.org/r/414602 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:05:48] (03CR) 10Legoktm: [C: 032] "Rebased for 1.33." [core] - 10https://gerrit.wikimedia.org/r/414603 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:14:21] (03CR) 10VolkerE: stylelint: Replaced CSSLint with StyleLint (032 comments) [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [00:20:11] (03Merged) 10jenkins-bot: Add wikimedia/password-blacklist 0.1.3 [vendor] - 10https://gerrit.wikimedia.org/r/414602 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:20:17] (03Merged) 10jenkins-bot: Add PasswordPolicy to check the password isn't in the large blacklist [core] - 10https://gerrit.wikimedia.org/r/414603 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:22:35] (03CR) 10jenkins-bot: Add PasswordPolicy to check the password isn't in the large blacklist [core] - 10https://gerrit.wikimedia.org/r/414603 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:24:35] (03CR) 10Jforrester: "Yay." [core] - 10https://gerrit.wikimedia.org/r/414603 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [00:26:43] 10Accessibility, 10Design, 10MediaWiki-User-preferences: Accessibility settings/preferences - https://phabricator.wikimedia.org/T91201 (10Quiddity) Note: A related idea was recently suggested at [[https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(idea_lab)#Feature_Request:_Add_a_'Reading-mode'_button_to_... [00:28:44] (03PS2) 10Jforrester: RevisionStore: Avoid exception on prev/next of deleted revision [core] - 10https://gerrit.wikimedia.org/r/475459 (https://phabricator.wikimedia.org/T208929) (owner: 10Daniel Kinzler) [00:30:08] (03CR) 10Jforrester: Move queries for first/prev/next revision into RevisionStore. (031 comment) [core] - 10https://gerrit.wikimedia.org/r/475467 (owner: 10Daniel Kinzler) [00:31:17] (03CR) 10Jforrester: [C: 031] RevisionStore: Avoid exception on prev/next of deleted revision [core] - 10https://gerrit.wikimedia.org/r/475459 (https://phabricator.wikimedia.org/T208929) (owner: 10Daniel Kinzler) [00:32:20] Hi. Anyone awake? [00:34:20] (03PS3) 10Rafidaslam: Allow user that has no old password to create a password [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475590 (https://phabricator.wikimedia.org/T209320) [00:35:24] mogmog123, Morning [00:36:08] I missed all of the fun :( [00:39:41] 10MediaWiki-extensions-GlobalPreferences: Allow signatures to be global - https://phabricator.wikimedia.org/T188200 (10kaldari) FYI, this has been made into [[https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2019/Miscellaneous/Global_signature|a proposal at the 2019 Community Wishlist]]. [01:01:19] (03CR) 10Krinkle: "Wow, I didn't know we logged that much for API reqs. If I understand correctly, this is available on mwlog1001 only (not in Logstash), but" [core] - 10https://gerrit.wikimedia.org/r/474933 (https://phabricator.wikimedia.org/T207941) (owner: 10Gilles) [01:28:36] 10MediaWiki-Database, 10MediaWiki-Templates, 10Wikimedia-production-error: Lock wait timeout exceeded (WikiPage::insertRedirectEntry) when editing a self-redirecting template - https://phabricator.wikimedia.org/T120140 (10Krinkle) >>! In T120140#4644077, @aaron wrote: > Are these jobs that try to also move u... [01:32:50] 10Wikimedia-General-or-Unknown: fdc.wikimedia.org Atom feed url for watchlist is not working in "Feedly.com" RSS reader - https://phabricator.wikimedia.org/T54516 (10Quiddity) [01:32:50] 10MediaWiki-Recent-changes, 10Growth-Team: RSS RecentChanges does not work on login-required wiki - https://phabricator.wikimedia.org/T92469 (10Quiddity) [01:37:35] 10MediaWiki-General-or-Unknown, 10WorkType-NewFunctionality: "Revision history" pages should not offer global "recent changes" feed - https://phabricator.wikimedia.org/T20802 (10Quiddity) 05Open>03Invalid Afaict, that second link is no longer part of the page. [01:46:32] 10MediaWiki-extensions-GlobalPreferences, 10Community-Tech, 10Community-Tech-Sprint, 10Wikimedia-production-error: [BUG] GlobalPreferencesFactory emits "PHP Error: in_array() expects parameter 2 to be an array or collection" - https://phabricator.wikimedia.org/T204781 (10Krinkle) [02:44:46] hello [02:45:02] is anyone who knows lua code available right now? [03:25:11] hello [03:25:29] is anyone who knows lua code available rn? [03:25:54] your message was received [03:26:34] probably the answer is no, not right now [03:26:56] I'd help if I knew a decent amount of lua and it wasn't half 3 in the morning :p [03:27:10] Krenair: Lol [03:37:14] lol i'll wait [03:49:21] 10Google-Code-in-2018, 10MediaWiki-extensions-General, 10translatewiki.net, 10I18n, and 3 others: Move all apihelp translatable messages to separate files - https://phabricator.wikimedia.org/T189982 (10Zoranzoki21) [03:51:57] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Incubator configuration updates - https://phabricator.wikimedia.org/T37161 (10Hydriz) [03:52:03] 10Wikimedia-Extension-setup, 10incubator.wikimedia.org: Enabling of Extension:Translate on the Wikimedia Incubator - https://phabricator.wikimedia.org/T36213 (10Hydriz) [03:52:07] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Set wgNarayamUseBetaMapping to true on Incubator - https://phabricator.wikimedia.org/T35001 (10Hydriz) [03:52:14] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Enable Narayam on Incubator - https://phabricator.wikimedia.org/T34418 (10Hydriz) [03:52:21] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Enable MoodBar on Incubator - https://phabricator.wikimedia.org/T34417 (10Hydriz) [03:52:25] 10MediaWiki-extensions-WikimediaIncubator, 10incubator.wikimedia.org: [[Special:ViewUserLang]] Error on test.wikipedia.org - https://phabricator.wikimedia.org/T32566 (10Hydriz) [03:52:43] 10Internet-Archive, 10incubator.wikimedia.org: Deploy InternetArchiveBot on the Wikimedia Incubator (incubatorwiki) - https://phabricator.wikimedia.org/T208158 (10Hydriz) [03:52:54] 10MediaWiki-extensions-WikimediaIncubator, 10Language-strategy, 10Release-Engineering-Team, 10incubator.wikimedia.org, and 2 others: Make creating a new Language project easier - https://phabricator.wikimedia.org/T165585 (10Hydriz) [03:53:13] 10MediaWiki-extensions-WikimediaIncubator, 10incubator.wikimedia.org: Fake Wikipedia logo links to Wikidata shown on Incubator - https://phabricator.wikimedia.org/T69519 (10Hydriz) [03:53:17] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: MoodBar and WikiLove don't work on Incubator with WikimediaIncubator extension installed - https://phabricator.wikimedia.org/T34772 (10Hydriz) [03:53:19] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Fatal exception error on Special:Preferences on Wikimedia Incubator - https://phabricator.wikimedia.org/T44068 (10Hydriz) [03:53:21] 10Wikimedia-Extension-setup, 10incubator.wikimedia.org: Enable GeoCrumbs on Incubator - https://phabricator.wikimedia.org/T46725 (10Hydriz) [03:53:23] 10MediaWiki-extensions-WikimediaIncubator, 10incubator.wikimedia.org, 10I18n: Languages not supported in MediaWiki should not fall back to English - https://phabricator.wikimedia.org/T35028 (10Hydriz) [03:53:25] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Editing certain namespace pages at Incubator gives a time out error - https://phabricator.wikimedia.org/T32514 (10Hydriz) [03:53:27] 10Wikimedia-Extension-setup, 10incubator.wikimedia.org: Set up SignWriting extension on Incubator for testing - https://phabricator.wikimedia.org/T24216 (10Hydriz) [03:53:30] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Incubator needs database maintenance - https://phabricator.wikimedia.org/T30465 (10Hydriz) [03:53:32] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Additional transwiki import sources on Incubator - https://phabricator.wikimedia.org/T22973 (10Hydriz) [03:53:34] 10Wikimedia-Site-requests, 10incubator.wikimedia.org, 10I18n: Enable WebFonts on Incubator - https://phabricator.wikimedia.org/T34455 (10Hydriz) [03:53:38] 10MediaWiki-extensions-CentralAuth, 10incubator.wikimedia.org: SUL doesn't autologin on Incubator - https://phabricator.wikimedia.org/T16509 (10Hydriz) [03:53:42] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Set $wgMaximumMovedPages for Incubator - https://phabricator.wikimedia.org/T17396 (10Hydriz) [03:53:44] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: New group (translator) on Incubator - https://phabricator.wikimedia.org/T17443 (10Hydriz) [03:53:48] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Install DynamicPageList on the Wikimedia Incubator - https://phabricator.wikimedia.org/T13963 (10Hydriz) [03:53:50] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Add localization settings to the LocalSettings.php file of Incubator - https://phabricator.wikimedia.org/T13834 (10Hydriz) [03:53:52] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Disable uploads and add a namespace on the Incubator - https://phabricator.wikimedia.org/T13168 (10Hydriz) [03:53:54] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Create the group "test-sysop" for the Wikimedia Incubator - https://phabricator.wikimedia.org/T12727 (10Hydriz) [03:53:56] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Set wgUploadNavigationUrl for Incubator - https://phabricator.wikimedia.org/T14831 (10Hydriz) [03:53:58] 10Wikimedia-Extension-setup, 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Install DynamicPageList on Incubator - https://phabricator.wikimedia.org/T13112 (10Hydriz) [03:54:00] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Re-enable upload on Incubator - https://phabricator.wikimedia.org/T14642 (10Hydriz) [03:54:02] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Enable subpages on the Incubator - https://phabricator.wikimedia.org/T12749 (10Hydriz) [03:54:04] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Set favicon for Wikimedia Incubator - https://phabricator.wikimedia.org/T8921 (10Hydriz) [03:54:06] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Set {{SITENAME}} of the Incubator to Wikimedia Incubator - https://phabricator.wikimedia.org/T8874 (10Hydriz) [03:54:08] 10Wikimedia-Interwiki-links, 10incubator.wikimedia.org: Some interproject links from Incubator go to nonexistent projects, not to en by default - https://phabricator.wikimedia.org/T9216 (10Hydriz) [03:54:10] 10Wikimedia-Interwiki-links, 10incubator.wikimedia.org: Interwiki links to the language projects (except for Wikipedia) are broken in MediaWiki.org and Incubator - https://phabricator.wikimedia.org/T9185 (10Hydriz) [03:54:12] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org, 10WorkType-NewFunctionality: missing.php redirect function should work also for closed wikis - https://phabricator.wikimedia.org/T58876 (10Hydriz) [03:54:14] 10MediaWiki-extensions-WikimediaIncubator, 10ContentTranslation, 10incubator.wikimedia.org, 10WorkType-NewFunctionality: Make ContentTranslation work in the Wikimedia Incubator - https://phabricator.wikimedia.org/T89089 (10Hydriz) [03:54:16] 10Wikimedia-Extension-setup, 10incubator.wikimedia.org: Enable the WikiLove extension for incubator - https://phabricator.wikimedia.org/T33209 (10Hydriz) [03:54:18] 10MediaWiki-Search, 10Discovery-Search, 10incubator.wikimedia.org: Allow extensions to append stuff to search queries, e.g. for search by prefix - https://phabricator.wikimedia.org/T32229 (10Hydriz) [03:54:20] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Enable upload of XML files on Incubator (for MediaWiki dumps) - https://phabricator.wikimedia.org/T32228 (10Hydriz) [03:54:22] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Fix import source on Incubator - https://phabricator.wikimedia.org/T23409 (10Hydriz) [03:54:24] 10Wikimedia-Extension-setup, 10incubator.wikimedia.org: Enable the Incubator-specific extension on the Wikimedia Incubator - https://phabricator.wikimedia.org/T20788 (10Hydriz) [03:54:26] 10Wikimedia-Site-requests, 10incubator.wikimedia.org: Remove the reupload right from autoconfirmed at Incubator - https://phabricator.wikimedia.org/T32492 (10Hydriz) [03:54:28] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 10incubator.wikimedia.org, 10Community-Wishlist-Survey-2016, 10Goal: [Goal] Sitelinks and arbitrary accesses to Incubator, OldWikisource and BetaWikiversity - https://phabricator.wikimedia.org/T54971 (10Hydriz) [03:56:14] 10Wikimedia-General-or-Unknown, 10Tracking: Wikimedia Incubator site settings and related tasks (tracking) - https://phabricator.wikimedia.org/T30486 (10Hydriz) 05Open>03Resolved a:03Hydriz Now tracked in #incubator.wikimedia.org. [03:56:39] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Create the group "test-sysop" for the Wikimedia Incubator - https://phabricator.wikimedia.org/T12727 (10Hydriz) [03:56:41] 10Wikimedia-Interwiki-links, 10incubator.wikimedia.org: Some interproject links from Incubator go to nonexistent projects, not to en by default - https://phabricator.wikimedia.org/T9216 (10Hydriz) [03:56:43] 10Wikimedia-Interwiki-links, 10incubator.wikimedia.org: Interwiki links to the language projects (except for Wikipedia) are broken in MediaWiki.org and Incubator - https://phabricator.wikimedia.org/T9185 (10Hydriz) [03:56:45] 10Wikimedia-General-or-Unknown, 10incubator.wikimedia.org: Set {{SITENAME}} of the Incubator to Wikimedia Incubator - https://phabricator.wikimedia.org/T8874 (10Hydriz) [03:56:48] 10Wikimedia-General-or-Unknown, 10Tracking: Wikimedia Incubator site settings and related tasks (tracking) - https://phabricator.wikimedia.org/T30486 (10Hydriz) [04:08:02] 10MediaWiki-Internationalization, 10incubator.wikimedia.org, 10translatewiki.net, 10I18n, 10RTL: Wikimedia Incubator and translatewiki cannot set the rtl direction for N'Ko (nqo) language, probably because there's no MessagesNqo.php - https://phabricator.wikimedia.org/T152908 (10Hydriz) [04:08:04] 10incubator.wikimedia.org: EducationProgram test fail with permission error caused by WikimediaIncubator - https://phabricator.wikimedia.org/T69608 (10Hydriz) [04:08:09] 10ContentTranslation, 10incubator.wikimedia.org, 10WorkType-NewFunctionality: Make ContentTranslation work in the Wikimedia Incubator - https://phabricator.wikimedia.org/T89089 (10Hydriz) [04:09:16] hello [04:09:42] i need help regarding a gci task related to lua [04:13:15] Hi Rachit [04:13:22] I might be able to help [04:13:51] https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech this is my module sandbox [04:13:52] 10MediaWiki-extensions-WikimediaIncubator, 10Edit-Review-Improvements-Integrated-Filters, 10Growth-Team: RecentChanges don't load on on Incubator - https://phabricator.wikimedia.org/T176986 (10Hydriz) [04:14:18] https://en.wikipedia.org/w/index.php?title=User:Bleed.tech/sandbox&action=edit this is my user sandbox [04:14:51] ok [04:15:01] ebel 123 i submitted it but my mentor said "When you make test cases for your functions, you should consider what happens when the user supplies bad input, such as nil, blank or invalid values for the parameter. Your code traps the missing parameter case (nil) but misses the blank and invalid (e.g. text) cases. I've added two more tests to your sandbox to show the errors you get. You can fix the problem by attempting the conv [04:15:35] You can fix the problem by attempting the conversion to a number earlier in your code. The tonumber() function returns nil if it could not convert, so your trap for nil will then catch all of the bad input and use zero instead. [04:15:55] that is whar he said [04:16:08] Try putting "if cel==nil then cel=0 end" after tonumber() [04:17:01] ok done. [04:17:45] Works now? [04:18:22] but he said to convert to a number earlier in your code [04:18:47] wait [04:18:53] yes it does work now [04:19:04] thank you Ebel1234 [04:19:11] Ebel123 :) [04:19:51] Great! [04:30:14] (03PS1) 10Zoranzoki21: Move all apihelp translatable messages to separate files [extensions/TitleBlacklist] - 10https://gerrit.wikimedia.org/r/475610 (https://phabricator.wikimedia.org/T189982) [05:19:39] 10MediaWiki-extensions-WikimediaIncubator, 10Language-strategy, 10Release-Engineering-Team, 10incubator.wikimedia.org, and 2 others: Make creating a new Language project easier - https://phabricator.wikimedia.org/T165585 (10Amire80) [05:42:06] 10Wikidocumentaries: Define saving an image in Wikidocumentaries - https://phabricator.wikimedia.org/T197968 (10Susannaanas) [06:04:05] 10Wikidocumentaries: Define saving an image in Wikidocumentaries - https://phabricator.wikimedia.org/T197968 (10Susannaanas) [06:09:38] 10Wikidocumentaries: Define saving an image in Wikidocumentaries - https://phabricator.wikimedia.org/T197968 (10Susannaanas) [06:11:44] (03CR) 10Reedy: "I think we should remove the 10K one eventually, yeah" [core] - 10https://gerrit.wikimedia.org/r/414603 (https://phabricator.wikimedia.org/T151425) (owner: 10Reedy) [06:12:12] 10Wikidocumentaries: Define saving an image in Wikidocumentaries - https://phabricator.wikimedia.org/T197968 (10Susannaanas) [06:52:24] 10MediaWiki-extensions-Linter: Otrs-wiki lint errors are not being updated - https://phabricator.wikimedia.org/T210342 (10TheDragonFire) [07:05:07] 10MediaWiki-extensions-WikimediaIncubator, 10Language-strategy, 10Release-Engineering-Team, 10incubator.wikimedia.org, and 2 others: Make creating a new Language project easier - https://phabricator.wikimedia.org/T165585 (10Hydriz) @Amire80 Anything that the extension can do in this task? It seems to me th... [07:05:31] 10MediaWiki-Special-pages, 10Wikidata, 10Chinese-Sites: Two talk pages (Talk:沙溪兴教寺 and User talk:Yuriy kosygin) shown in Special:Shortpages and Special:Unconnectedpages on zh.wikipedia - https://phabricator.wikimedia.org/T185404 (10Liuxinyu970226) [07:39:23] hey [07:43:12] boy is it lonely at this hour [07:49:25] it is also the weekend [07:49:44] 10SpamBlacklist, 10Stewards-and-global-tools: Spam Blacklist shouldn't be fooled by similar-looking Unicode characters - https://phabricator.wikimedia.org/T14896 (10MaxSem) [07:50:58] p858snake|_: fair enough [08:12:33] hi i need a generic help [08:14:03] Hello [08:14:10] I am a gci student [08:14:53] Hello! I'm back to fight with my task [08:15:11] lol [08:15:22] how many tasks have you done? [08:16:51] takidelfin you there? [08:16:57] yup [08:17:05] How is your task btw? [08:17:27] I have submitted it for review :) [08:17:37] working on lua #4 [08:17:52] i mean will start rn [08:18:17] what about you? [08:19:14] Fixing linter bugs :D [08:19:32] how many tasks have you completed btw? [08:19:56] does it matters 🤔 [08:20:04] ~ 26 [08:20:51] that is a pretty good number :) [08:22:10] 10MediaWiki-extensions-WikimediaIncubator, 10Language-strategy, 10Release-Engineering-Team, 10incubator.wikimedia.org, and 2 others: Make creating a new Language project easier - https://phabricator.wikimedia.org/T165585 (10Amire80) Nothing immediate, but it's close enough to the topic. This project is ne... [08:24:36] hi people [08:31:48] hi shreyasminocha [08:32:34] nice too see you again [08:33:06] shreyasminocha: hello o/ [08:33:19] \o [08:33:46] (03PS2) 10Takidelfin: stylelint: Replaced CSSLint with StyleLint [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) [08:34:14] (03CR) 10Takidelfin: "recheck" [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [08:36:16] shreyasminocha you too :)) [08:38:10] shreyasminocha i need help [08:38:44] my step says "Edit p.times in your module sandbox so that it will display 6 times 1 equals 6, etc. Save it. Check it in your user sandbox by refreshing the page and fix any errors." [08:39:22] p.times = function(frame) [08:39:40] ignore the last message^ [08:40:09] can you tell me how do i do that step shreyasminocha takidelfin [08:42:47] you have to use string concatenation like you did yesterday [08:42:58] try to figure it out yourself, it's the same concept [08:44:21] the format is x times y equals x*y. try to figure out which variables store x and y. then use string concatenation like last time to create the string [08:44:54] yeah [08:47:10] :( [08:47:35] :( [08:47:56] was i rude? [08:49:06] :D [08:50:44] i'll take that to be a "no" [08:51:20] hi shreyasminocha [08:51:36] yeay [08:51:36] hi [08:53:07] did you see my doubt? [08:53:14] i replied [08:53:29] sorry I lost the server so couldn't see it [08:53:38] 14:10 < rachit_> can you tell me how do i do that step shreyasminocha takidelfin [08:53:41] 14:12 < shreyasminocha> you have to use string concatenation like you did [08:53:44] yesterday [08:53:46] 14:12 < shreyasminocha> try to figure it out yourself, it's the same concept [08:53:50] 14:14 < shreyasminocha> the format is x times y equals x*y. try to figure out [08:53:52] which variables store x and y. then use string [08:53:55] concatenation like last time to create the string [08:54:32] .."6".."1"= 6? [08:54:51] nope [08:54:53] it is 61 [08:55:06] because yo are concating a string [08:55:27] To add 6 to 1 you need to do: 6 + 1 [08:55:49] .."6*1"=6? [08:56:09] Edit p.times in your module sandbox so that it will display 6 times 1 equals 6, etc. Save it. Check it in your user sandbox by refreshing the page and fix any errors. [08:56:12] rachit: not sure at which step you are, but if you have started accepting a parameter, you want to use the value of that parameter. you wouldn't always be printing the table for just 6 [08:56:40] `6 times 1 equals 6` you want it to show the times table in that format [08:56:48] ya [08:56:58] whenever text has the grey-ish background behind it, understand that you should take it literally [08:58:00] 6 times 1 equals 6 doesn't have a grey-ish background [08:58:17] nope [08:58:26] nvm [08:58:52] it does [08:58:56] in the instructions page [08:59:12] I am on step 8 [08:59:21] i know [09:00:11] https://imgur.com/a/G9F7Sp8 [09:00:46] whenever something's formatted like that, take it literally [09:00:58] as when we guys surround something with `s [09:01:15] so you want to print stuff in the form `6 times 1 equals 6` [09:01:28] ok [09:01:30] yeah [09:01:35] identify which things are dynamic [09:01:43] identify which variables contain those dynamic things [09:01:49] tonumber? [09:02:04] local num? [09:02:05] *variables* [09:02:24] yes [09:02:37] num is one of them [09:02:41] which is the other? [09:02:46] out [09:02:58] no, out is what stores the final output [09:03:09] you aren't understanding my question [09:03:20] see, you want to print something of the format `6 times 1 equals 6` [09:03:27] ya [09:03:29] now the text in this will be the same each time [09:03:33] but the numbers will not [09:03:41] right [09:03:46] so you will have to get the numbers from variables ofc [09:03:54] xyz? [09:04:03] p.times = function(frame) [09:04:03] local num = tonumber( frame.args.num ) or 2 [09:04:03] local out = "6 Times table
" [09:04:03] for i = 1, 10 do [09:04:04] out = out .. i * num .. "
" [09:04:05] end [09:04:08] return out [09:04:11] end [09:04:17] i don't see any x, y, or z here [09:04:44] think, think [09:05:03] um [09:05:37] if then else? [09:05:42] no [09:05:43] you identified one of the variables correctly: num. which numbers in `6 times 1 equals 6` can be obtained from `num`? [09:06:24] 2? [09:07:01] see, currently you're simply doing `out = out .. i * num .. "
"`. but you want to be clearer. more clear than just writing the answer. what you're doing in this line is multiplying i * num. that is, `num` times `i` equals [09:07:47] oh okay [09:07:47] but rather than just writing the product `i * num`, you want to write a clear string that says something of the form `6 times 1 equals 6` [09:07:53] yes [09:08:25] something with ..6*1..? [09:09:43] if you hardcode 6 * 1, each time you'll get the same answer. you need to use the variables to generate your string. i've given you a big clue. [09:10:29] is the other variable I? [09:10:33] i [09:10:37] yes! [09:10:38] ? [09:10:55] hopefully you understand why [09:11:15] .."I".."num"? [09:11:43] try [09:12:10] it needs to be written before
? [09:12:27]
creates a line break [09:12:44] ya ik [09:12:50] so after that right? [09:13:04] try both [09:13:14] i don't want to give you the answer right away [09:13:26] hopefully you don't mind [09:14:49] none of that works right shreyasminocha :( [09:15:11] do you get errors or incorrect output? [09:15:35] error on the left side and incorrect output on the right side of
[09:16:04] you shouldn't get an error putting it on the left side [09:16:10] but yes, i expected the incorrect output [09:16:19] do you understand what you're doing wrong? [09:16:23] out = out .. i * num.."i".."num" "
" [09:16:34] isn't this right? [09:16:41] I think I do [09:16:45] you're missing a .. between "num" and "
" bro [09:16:54] ohh [09:17:15] (you'll still get incorrect output though. don't be disheartened) [09:17:31] yeah the output is wrong [09:17:38] any guesses as to why? [09:18:32] I don't have to do "I".."num" ig? [09:18:51] we're going step by step. we want to see the values of i and num [09:19:06] but what you're doing is literally printing "Inum" [09:20:06] any guesses as to why? [09:20:48] quotation marks? [09:20:54] perfect [09:22:05] no you're getting [09:22:10] now* [09:22:18] but it's very unreadable because of the lack of spaces [09:22:39] yes [09:23:11] how do I put spaces without quotation marks? [09:23:30] concatenate another tiny string with just spaces ;) [09:24:50] done :) [09:24:54] now you can clearly see the components! [09:25:03] yes :)) [09:25:07] thank you [09:25:15] now you just gotta rearrange them in the format `x times y equals ` [09:25:21] you got this rachit [09:25:41] yes [09:31:22] shreyasminocha [09:31:25] yo [09:31:33] shouldn't my code be "out = out ..i.." "..num.." ".. i * num"
"" [09:32:25] missing the .. between i * num and "
" [09:33:27] did that but there is an output error [09:34:14] your .. is inside the string bro [09:34:28] it's supposed to be between num and open quotation mark :) [09:35:29] yeah typing error [09:35:33] np [09:35:42] thank you again lol [09:35:54] now you need to get your output in the format [09:36:01] `6 times 1 equals 6` [09:36:08] `6 times 2 equals 6` [09:36:10] 12 [09:36:15] and so on [09:36:22] same thing: string concatenation [09:40:19] hi refeed [09:40:33] shreyasminocha, hello! [09:40:37] refeed:o/ [09:40:51] takidelfin, o/ [09:40:56] rachit: shreyasminocha: and? [09:41:35] hello refeed [09:41:45] takidelfin: `and?` wdym? [09:41:48] rachit, hello! [09:42:14] How is their task ;-; [09:42:42] they're going fine [09:42:47] waiting for their reply [09:44:46] rachit: hey [09:44:57] hello [09:45:06] you're almost there. just two minor things [09:45:39] firstly, in the heading "6 Times table", you don't want to hardcode it. you want to show the correct number instead of 6. i'm sure you know which variable to use, don't you? [09:45:45] yeah [09:46:01] you need to do this as you did with celsius task [09:46:21] contcate a variable to a string [09:46:40] yeah, they've got the hang of that now :) [09:47:29] rachit: second, you want to invert the order when you print "9 times 2 equals 18". why? because in their example, they used the number "6" and in their example output they said "6 times 1 equals 6" [09:48:15] so it's safe to assume that they want it as `6 times 1 equals 6`, `6 times 2 equals 6`, and so on rather than `1 times 6 equals 6`, `2 times 6 equals 6` and so on [09:48:30] (oops, i wrote 6 instead of 12) [09:49:16] shreyasminocha can you check the first error you pointed out [09:49:20] have I don't it right? [09:49:33] done* [09:49:38] lgtm apart from a missing space [09:49:54] gj [09:50:48] ty [09:51:15] and i'll edit the second thing as well :) [09:51:23] :) awesome [09:52:28] shreyasminocha can you check? [09:52:43] perfect [09:52:49] :D [09:53:03] thnx :') [09:53:20] see? you figured all of this out almost independently :) [09:53:44] ty :D [09:55:07] eh there is one thing I couldn't understand [09:55:18] . Amend the code in your module sandbox so that it uses a numeric for loop around line 4 which loops from 1 to 5 so that the output will be five lines, the first one displaying "Hello Dad", the next "Hello Mum", and so on, showing the members of the family table. [09:55:46] i get what i'm supposed to do [09:56:15] but can you give me a clue on how to use 'for' [09:56:40] check https://www.lua.org/pil/4.3.4.html [09:57:52] for i=1,5 do print(i) end ? [09:58:48] you don't have to print numbers [09:59:01] but you have to print the i-th element of the family array [09:59:12] 'the first one displaying "Hello Dad"' [09:59:19] 'the next "Hello Mum", and so on, showing the members of the family table.' [09:59:48] yes [10:01:29] shreyasminocha what should i do then? [10:01:57] print the i-th element of the family array [10:02:04] do you know how to get an element of an array? [10:02:33] nope [10:02:56] wait yeah i do [10:03:09] how? [10:04:11] family[1] [10:04:16] will refer to dad [10:04:25] yep [10:04:38] (dad is the first element right) [10:04:43] (i don't remember) [10:04:46] yes [10:04:50] for i=1,5 do print(family[i-th]) end [10:04:53] am i closer [10:04:54] ? [10:05:14] closer, yes [10:05:17] but not quite [10:05:35] any other hint? [10:05:43] like you did family[1], family[i] will refer to the i-th element :) [10:05:54] um [10:06:06] if you do family[i-th], it will try to subtract th from i and get the resulting element :) [10:06:23] You have got a big cardboard box with 10 small boxes in it [10:06:29] oh [10:06:41] these small boxes have got number 1,2,3 etc [10:07:03] takidelfin yeah i got how the family members have numbers assigned to them [10:07:06] ah [10:07:08] okay [10:07:11] :D [10:07:19] :) thanks anyway [10:07:36] Ping me if you need help [10:07:43] I'm gonna do some GCI tasks now [10:07:47] sure thanks [10:07:55] atb :p [10:08:12] * shreyasminocha is waiting on a review :/ [10:08:31] * shreyasminocha is patient [10:08:46] haha [10:08:58] shreyasminocha for i=1,5 do print(family[i]) end this? [10:09:20] lgtm. try it out? [10:09:32] isn't working [10:09:35] output error [10:10:05] oh, oh, oh [10:10:24] looks like in these sandboxes, print isn't a function [10:10:36] ohh [10:10:39] you'll have to concatenate stuff to msg like you were doing in the rest of the function [10:10:47] and the other function [10:10:51] my bad [10:11:26] ill have to do like msg = msg .. "Hello " .. family[1] .. "
" ? [10:11:30] till 5 [10:11:42] means 5 lines of msg=msg code? [10:12:02] where will i use 'for' then [10:12:17] instead of manually writing msg = msg .. five times [10:12:25] you can put that line inside the for [10:12:57] and use the for loop's counter instead of hardcoding the number [10:13:44] how? [10:14:15] for i=1,5 do [10:14:27] -- msg = msg .. stuff [10:14:29] end [10:14:46] (btw the first two -- signify comments) [10:14:56] okay [10:15:01] ya ik [10:15:13] just confirming [10:16:22] 10MediaWiki-extensions-Other: MW MultiMaps extension: adding support for multiple URLs in Leaflet - https://phabricator.wikimedia.org/T210033 (10FellTiger) a:03FellTiger Thanks for the assistance. I just wanted to assure that nobody objects to the addition of this feature from the start already. [10:16:48] for i=1,5 do-- msg = msg .. "Hello "..family[i] end shreyasminocha [10:17:03] remove the -- or your code wouldn't run :) [10:17:18] btw i recommend writing for loops, if-else blocks etc over multiple lines [10:17:25] can prevent confusion [10:17:45] hmm [10:19:14] shreyasminocha can you check if its correct [10:19:48] yep [10:21:45] (03PS8) 10D3r1ck01: tests: Add unit tests for SpamlistLookup::factory() [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/473296 [10:22:43] (i meant that it is correct) [10:23:03] shreyasminocha how do i put upperlimit to 'for' ?] [10:23:21] `for i=1,5`. here, 5 is the upper limit [10:23:35] oh ok [10:23:52] (03CR) 10jerkins-bot: [V: 04-1] tests: Add unit tests for SpamlistLookup::factory() [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/473296 (owner: 10D3r1ck01) [10:24:18] (03CR) 10jerkins-bot: [V: 04-1] tests: Add unit tests for SpamlistLookup::factory() [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/473296 (owner: 10D3r1ck01) [10:25:04] shreyasminocha lua #4 is completed [10:25:23] Thank you :D [10:25:27] :) [10:53:24] 10MediaWiki-extensions-Page_Forms: Show nicer error message for incorrect timezones (input type=datetime|include timezone) - https://phabricator.wikimedia.org/T210343 (10Samwilson) [10:53:52] 10MediaWiki-extensions-Page_Forms, 10Wikimedia Australia: Show nicer error message for incorrect timezones (input type=datetime|include timezone) - https://phabricator.wikimedia.org/T210343 (10Samwilson) Tagging WMAU as this is currently happening for https://wikimedia.org.au/wiki/Form:Event [11:12:38] 10MediaWiki-Installer, 10MediaWiki-Special-pages, 10MediaWiki-User-login-and-signup: {{NUMBEROFACTIVEUSERS}} doesn’t get updated when $wgMiserMode = false - https://phabricator.wikimedia.org/T140079 (10Zoglun) We encounter a new error in MW 1.31. The active user number droped from 1.3k to 50 after `php /var... [11:29:23] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 10Epic, 10User-notice: [Epic] Unit support - https://phabricator.wikimedia.org/T77977 (10Liuxinyu970226) [11:38:55] 04(no projects): Add which sitelink is moved by the Move Sitelinks gadget - https://phabricator.wikimedia.org/T210345 (10Melderick) [11:39:27] (03CR) 10Urbanecm: [C: 032] Allow user that has no old password to create a password [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475590 (https://phabricator.wikimedia.org/T209320) (owner: 10Rafidaslam) [11:40:45] (03Merged) 10jenkins-bot: Allow user that has no old password to create a password [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475590 (https://phabricator.wikimedia.org/T209320) (owner: 10Rafidaslam) [11:43:30] hello guys [11:43:44] urbanecm are you there? [11:43:50] Hi rachit [11:44:24] u just reviewd my task and you told me to use or '0 part" [11:45:13] although you have approved my task but do you still want me to change it to 'or 0'? urbanecm [11:45:45] 10MediaWiki-Installer, 10MediaWiki-Special-pages, 10MediaWiki-User-login-and-signup: {{NUMBEROFACTIVEUSERS}} doesn’t get updated when $wgMiserMode = false - https://phabricator.wikimedia.org/T140079 (10Ciencia_Al_Poder) >>! In T140079#4772255, @Zoglun wrote: > We encounter a new error in MW 1.31. > The acti... [11:46:04] 10MediaWiki-extensions-WikibaseClient, 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 10Epic, 10Tracking: [Epic] data quality and trust - https://phabricator.wikimedia.org/T76230 (10abian) [11:46:08] 10MediaWiki-Page-protection, 10Wikidata: Protection of classes of Wikidata items based on attributes of their statements - https://phabricator.wikimedia.org/T209243 (10abian) [11:47:32] It was meant as a note, your code works exactly how it would work after using my suggestion. As it have no differences from "what the code does" side, I approved the task. But as GCI is also about learning new things, I decided to tell you about easier solution. [11:47:52] oh ohk [11:47:58] thank you :D [11:48:09] You're welcome. [11:48:58] urbanecm also I have submitted another task so please review it whenever you are free :) [11:49:14] Let's do it immediately :) [11:49:44] haha thank you :d [11:50:29] It looks you didn't understand what "level 2" and "level 3" headlines are. Are you familiar with HTML? [11:52:21] rachit, ^^ [11:52:25] ye [11:52:27] yes [11:52:43] ohh I got it [11:52:45] sorry [11:52:51] ill edit it rn [11:53:34] urbanecm do I have to use

and

[11:53:36] ? [11:54:15] Are you doing a lua task? [11:54:32] No, in wikitext (a markup language Wikipedia uses) "== something ==" is equivalent to "

something

" in HTML. [11:54:51] and "=== something ===" to "

something

" and so on [11:55:01] oh ok [11:55:05] ill edit it rn [11:55:39] ok :) [11:55:57] Hi Nathan_fraignt , yeah, they're doing lua task #4 [11:56:24] Yeah, I was wondering, since that would mean you owuldn´t have to use

, but you already answered :) [11:57:00] urbanecm done :) [11:58:16] rachit, {{approved}} [11:58:30] Thank you :)) [11:58:58] Urbanecm, in tracker, where do I find the code that sends the notifications if you are the owner of a ticket? [11:59:37] https://github.com/wikimedia/wikimedia-cz-tracker/blob/master/trackersite/tracker/models.py#L941-L957 [11:59:52] Thanks [11:59:54] yw [12:00:51] urbanecm rexxs had sent me a link for a task called "getting on the IRC" it is opening but the claim task button isn't working [12:01:03] does that mean that the task is removed? [12:01:14] It probably means that you´ve done 2 beginner tasks [12:01:27] Or that you already claimed it [12:01:31] right [12:01:47] 2 beginner tasks already done [12:01:50] (I think urbanecm can see if you´ve done 2 beginner tasks) [12:01:59] In that case, you can´t claim it anymore [12:02:02] thanks Nathan_fraignt [12:02:05] Np [12:06:50] 10MediaWiki-extensions-WikibaseRepository, 10Wikidata, 10Story: [Story] nudge editors to add a reference when adding a new claim - https://phabricator.wikimedia.org/T76231 (10abian) Now the properties needing a reference may be those with a [[https://www.wikidata.org/wiki/Help:Property_constraints_portal/Cit... [12:09:54] (03CR) 10Shreyasminocha: "> Patch Set 1: Code-Review-1" [jsdoc/wmf-theme] - 10https://gerrit.wikimedia.org/r/475582 (https://phabricator.wikimedia.org/T209561) (owner: 10Shreyasminocha) [12:16:23] Hi! Is anyone available to help me with a GCI Task regarding lua [12:17:14] Nathan_fraignt you there? [12:17:39] I am, just ask away! (I´m doing some coding at the same time, so answers might not be there instantly) [12:18:09] (03PS1) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [12:18:38] 10Google-Code-in-2018, 10WMCZ-Tracker, 10User-Urbanecm: Allow topic admins/ticket owners to override watching set up by system - https://phabricator.wikimedia.org/T208656 (10Nathan_fraignt) a:03Nathan_fraignt [12:19:22] 8. Change the function p.sentence in your module sandbox so that it takes the first letter of the string supplied and turns it into a capital (this is called "sentence case"). You need to get the first letter and capitalise it, then get the rest of the string, and concatenate the two parts. [12:19:34] my step says ^ [12:19:54] Can you send your urls, so I can see what you´ve done? [12:19:55] how should I do it ? [12:20:13] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox [12:20:18] https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech [12:21:05] Alright, well the first things should probably be thinking about the small steps you need to do in order to capitalise the first letter of a string. [12:21:08] https://en.wikipedia.org/wiki/User:RexxS/GCI-Task05 this is the url to my task and I am on step 8 [12:21:33] For instance: step 1: Getting the string, step 2: Getting the first letter of the string [12:21:41] Try to think in small steps that a computer can do [12:21:50] um [12:22:02] So how would you do step 8, if you can only do one small thing/step at a time? [12:22:31] is it something to do with string.upper? [12:23:08] Probably, but you shouldn´t think in terms of code to begin, you should try to make the problem less complicated [12:23:37] first I will capitalize the first letter i.e "t" [12:23:58] (urbanecm: I submitted a patch for T208656: https://gerrit.wikimedia.org/r/c/wikimedia-cz/tracker/+/475615 , it´s probably not perfect yet, but have a look!) [12:23:59] T208656: Allow topic admins/ticket owners to override watching set up by system - https://phabricator.wikimedia.org/T208656 [12:24:05] will do [12:24:05] How will you get the first letter? [12:24:21] by the code local out = string.sub(str, 1, 1) [12:24:56] Alright, so you have step 1: getting the first letter. You should also store the other part of the string somewhere (the part without the first letter) [12:25:11] and then I would concatenate it with the rest of the part i.e "his is easy." [12:25:12] (03CR) 10Amire80: [C: 032] Move all apihelp translatable messages to separate files [extensions/TitleBlacklist] - 10https://gerrit.wikimedia.org/r/475610 (https://phabricator.wikimedia.org/T189982) (owner: 10Zoranzoki21) [12:25:50] Yes, exactly [12:26:32] Be carefull to not name 2 variables the same, that will overwrite them [12:26:54] And try to make the name descriptive, for instance, name the first letter: first_letter [12:27:42] let me try [12:28:48] Nathan_fraignt how will I capitalize that letter? [12:29:57] Alright, if you don´t know the langauge you´ll look those kinds of things up on google, language documentation, etc. In this case though, I think you already mentioned the correct function [12:30:13] (03CR) 10Nathan fraignt: Change: All notifications will now go via watcher object (031 comment) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [12:30:14] string.upper( s ) [12:30:25] Yes! [12:30:30] ok [12:33:06] (03Merged) 10jenkins-bot: Move all apihelp translatable messages to separate files [extensions/TitleBlacklist] - 10https://gerrit.wikimedia.org/r/475610 (https://phabricator.wikimedia.org/T189982) (owner: 10Zoranzoki21) [12:33:11] (03CR) 10Gergő Tisza: [C: 04-1] "> Yes, I did change it because of that, but also because it requested the 1024px images for small thumbnails." [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/475338 (https://phabricator.wikimedia.org/T71237) (owner: 10Flutterish) [12:34:26] Nathan_fraignt I couldn't find a way to use the function string.upper( s ) [12:35:03] Alright, what does string.upper() take? What is the thing that you put between the brackets? [12:35:13] the letter? [12:35:22] Yes [12:35:24] (03CR) 10jenkins-bot: Move all apihelp translatable messages to separate files [extensions/TitleBlacklist] - 10https://gerrit.wikimedia.org/r/475610 (https://phabricator.wikimedia.org/T189982) (owner: 10Zoranzoki21) [12:35:34] Or the var that has the letter [12:35:36] but it is showing an error [12:35:51] oh ok let me try that [12:36:39] Nathan_fraignt, your patch will stop admins to get notifications on all tickets that already exist [12:37:25] Hmm, good point. Did not think about that. Should I make a command that generates watcher objects from all tickets? [12:37:50] Nathan_fraignt my code isn't working -local out = string.sub(str, 1, 1) string.upper(out) [12:38:23] Nathan_fraignt, I recommend https://docs.djangoproject.com/en/2.1/topics/migrations/#data-migrations instead [12:38:23] The string.upper() function returns a string, that means you need to ¨catch¨ that return value [12:38:36] Thanks urbanecm, I´ll have a look [12:38:39] yw [12:38:52] 10MediaWiki-General-or-Unknown, 10TestMe: Sometimes sysops are temporarily not able to assign themself flood flag on wikis where they should - https://phabricator.wikimedia.org/T26826 (10Zoranzoki21) 05Open>03declined The answer was not given for 3 years, nobody reported the problem, so I closing this task... [12:39:01] So the normal way to that is to do first_letter_upper = string.upper(first_letter) [12:39:43] so do I have to change the out variable to first_letter_upper? [12:39:56] No, you´ll create a new variable [12:40:15] ok let me try [12:40:17] 10MediaWiki-Categories: Allow more/fewer than 200 pages to be viewed at once in a category - https://phabricator.wikimedia.org/T13281 (10Aklapper) p:05Normal>03Low @MB-one: Do you [[ https://www.mediawiki.org/wiki/Phabricator/Project_management#Setting_task_priorities | plan to work on fixing this task ]], a... [12:40:24] (and I would suggest renaming the out variable to something that describes what´s actually in it) [12:40:33] 10MediaWiki-Internationalization, 10I18n, 10TestMe: Hard coded brackets in includes/specials/SpecialActiveusers.php - https://phabricator.wikimedia.org/T41846 (10Zoranzoki21) 05Open>03declined >>! In T41846#4484697, @MarcoAurelio wrote: > Cannot reproduce in the [[ https://gerrit.wikimedia.org/r/plugins/... [12:40:42] ok [12:41:41] Nathan_fraignt there's some error [12:42:17] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech can you check it once ? [12:42:32] you used the variable first_letter, which you did not declare. In your case, it should be the variable out . [12:42:54] But again, I highly recommend renaming the variable out to something more descriptive [12:44:20] (03CR) 10Urbanecm: [C: 04-1] " Nathan_fraignt, your patch will stop admins to get notifications on all tickets that already exist" [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [12:44:51] Nathan_fraignt did that but now my letter disappeared [12:44:59] please check my sandbox once [12:45:31] You are still returning the variable out, but that is not the variable you want to return [12:46:17] yea sorry [12:46:20] edited [12:46:38] but the letter still hasn't capitalized Nathan_fraignt [12:47:18] No, because you are returning first_letter, not the variable you want to return. [12:47:32] Which would be the captialized version of first_letter [12:47:35] that's my variable no? [12:47:45] 10MediaWiki-extensions-Other: MW MultiMaps extension: adding support for multiple URLs in Leaflet - https://phabricator.wikimedia.org/T210033 (10Aklapper) Ah. :) In that case you'll probably need to wait for maintainers to reply. Not sure how active @Pastakhov is these days. [12:47:45] It´s one of your variables, but not the one you want to return [12:47:51] oh so first_letter_uppercase? [12:47:59] hi Nathan_fraignt and rachit [12:48:03] i'm back again [12:48:07] Hi takidelfin [12:48:15] Hey takidelfin [12:48:35] rachit: Lua tasks? :D [12:48:53] yes task #5 [12:49:15] thanks Nathan_fraignt! got it :) [12:49:26] what are you upto takidelfin? [12:49:52] Nice rachit! [12:58:14] takidelfin [12:58:22] yup? [12:58:27] What does %d+ match in a Lua pattern? [12:58:34] all digits [12:58:51] what about %w+ [12:58:56] Like: ddd 123 25 ddd - matches 123 [12:59:07] %w+ matches all letters [12:59:13] in a sequence [12:59:20] ohh ohl [12:59:22] ohk [12:59:27] thank you [12:59:32] :) [12:59:40] That was answer for your task? [13:00:07] Check out the Lua Patterns docs to learn more: http://www.lua.org/manual/5.2/manual.html#6.4.1 [13:00:32] * http://www.lua.org/manual/5.3/manual.html#6.4.1 [13:00:44] rachit: ^ -- use the link above [13:00:58] thank you so much ! this is very helpful :) [13:02:19] Urbanecm, what would be a safe way to get the NOTIFICATION_TYPES from models.py into the migration? Can I just import it? [13:03:19] Asking cause I don´t know if that would be save if notifications types is edited afterwards. Or maybe I can just copy it into the file? [13:05:23] NOTIFICATION_TYPES are constants? [13:05:38] It is a constant, yes [13:05:53] so I think you can import it [13:07:14] Problem is, if the Notifications are edited in a migration after this one, this migrations will add unknown notifications [13:07:46] Since the migrations run in order [13:07:52] :/ [13:08:03] hi I had a doubt [13:08:04] I think it´ll be fine, but I´d like urbanecm´s view on this [13:08:10] rachit: ? [13:08:26] Nathan_fraignt: :D [13:08:28] my step says "14. In a new paragraph in your user sandbox, write the pattern you would use to extract the day, month and year from an American-style date like "October 31, 2018"." [13:08:39] what do I have to do exactly> [13:08:41] ? [13:08:49] write a pattern [13:08:55] it is like RegEx [13:09:06] ? [13:09:09] You need to use these %w+ %d+ [13:09:09] Rachit, in your sentence function, you return first_letter_upper .."his is easy." . Meaning that it will only work when the sentence is ¨this is easy¨ [13:09:38] yea.. [13:09:40] so? [13:10:04] like: `Cake 15$` <-- pattern: `(%w+) (%d+)$` [13:10:19] So, your function probably won´t be accepted. Just trying to help you ^^ [13:10:28] this pattern extracts 'Cake' and a cost of a cake '15' [13:10:39] um wait [13:10:58] first Nathan_fraignt can you tell me how to solve it? [13:11:11] the return thingy [13:11:23] rachit: just change his to this [13:11:43] Well, you should figure it out yourself. But you basically need to get the other part of the inputted sentence, and add that after the first letter [13:13:05] um takidelfin after changing his to this now I have two 't's in the output [13:13:33] Nathan_fraignt haven't I done it already? [13:13:33] ah [13:13:39] sorry [13:13:48] I missunderstood your problem [13:13:56] Could you give me a link to our sandbox? [13:14:00] * module sandbox [13:14:07] 10Android-app-Bugs, 10Wikipedia-Android-App-Backlog: connectedDevDebugAndroidTest task fails due to okhttp create() static method being removed by ProGuard - https://phabricator.wikimedia.org/T210347 (10svata.novak) [13:14:16] https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech [13:14:28] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox [13:14:54] Rachit, you need to get the second part of the inputted string. This does not have to be ¨this is easy¨ it should also work with ¨this is hard¨ or ¨i like icecream¨ [13:14:55] 10Android-app-Bugs, 10Wikipedia-Android-App-Backlog: connectedDevDebugAndroidTest task fails due to okhttp ResponseBody.create() static method being removed by ProGuard - https://phabricator.wikimedia.org/T210347 (10svata.novak) [13:15:21] um ok let me try [13:15:21] yeah [13:15:24] I hope that makes it clearer, if not, maybe takidelfin can explain it better [13:15:37] you need to substing a str variable [13:15:43] from index 2 [13:17:31] https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech [13:17:41] can you check it ? [13:18:57] Nathan_fraignt takidelfin ^ [13:19:21] As far as I can see it looks good now [13:19:33] okay [13:20:04] yeah [13:20:23] takidelfin can you explain me the step I asked for ? [13:20:34] "14. In a new paragraph in your user sandbox, write the pattern you would use to extract the day, month and year from an American-style date like "October 31, 2018"." [13:20:37] ok, I ll try [13:20:39] so [13:20:45] you need to write a lua pattern [13:20:58] that will extract month, year and day from string [13:21:04] this string is a date [13:21:13] October 31, 2018 [13:21:24] or January 21, 2017 [13:21:25] oh ok [13:21:27] so [13:21:35] ok ill try [13:21:40] ;D [13:21:45] ping me if you are stuck [13:23:55] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox [13:24:09] please check the last para [13:24:17] why isn't it working? [13:24:48] takidelfin ^ [13:24:51] umm [13:25:23] ate|mdydate=October 31 2018}} [13:25:32] you misses 'd' before mdydate [13:25:38] *missed [13:25:42] rachit: [13:26:03] why do I need dmdydate? [13:26:19] its month day year right? [13:26:52] ahh [13:26:59] You are doing another step [13:27:00] k [13:27:02] so [13:27:20] I am doing step 14 [13:27:20] because your function takes mdydate as a parametr [13:27:33] * dmydate [13:27:41] an you are trying to pass mdydate into it [13:27:44] *and [13:28:07] oh I changed it considering the order of month and day changed [13:28:10] let me try [13:28:13] Also, step 14 says that you need to write a pattern in your user sandbox , not in the module sanbox [13:28:16] *sandbox [13:28:32] :) [13:28:55] I am writing it in the user sandbox only [13:29:05] but its still showing an error [13:29:14] can you check it once [13:29:29] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox [13:29:38] takidelfin [13:30:27] takidelfin you there? [13:30:39] yup [13:31:13] uh.. [13:31:24] At first: You need to modify your lua pattern [13:31:28] it is in string.match [13:31:47] but, you task says that you need to put this new pattern in your user sandbox [13:31:56] not in lua module sandbox [13:32:25] just write a pattern that you would pass into string.matc [13:32:27] *match [13:33:08] how? [13:34:25] really sorry but idk how to do that can you brief me on it takidelfin [13:34:45] local day, month, year = string.match(dmydate, "(%d+) (%w+) (%d+)") [13:34:59] there is your pattern stored [13:35:05] look at second argument of string.match [13:35:17] ya [13:35:18] "(%d+) (%w+) (%d+) [13:35:34] this pattern matches: digits word digits [13:35:41] yea [13:35:46] and this corresponds to 13 January 2018 [13:35:56] right [13:36:08] and you need to write a pattern that matches January 13, 2018 [13:36:14] yes [13:36:20] ^-- this colon is important [13:36:34] ok [13:36:42] you mean comma? [13:36:43] so, modify the pattern in string.match [13:37:08] to match January 13, 2018 [13:37:12] i need to modify or make a new one? [13:37:37] to test your pattern copy this function [13:37:39] change the name [13:37:45] and then start playing with a pattern [13:37:58] but remember to remove it after you will find right one [13:38:15] because you need to put final pattern in a paragraph in your user sandbox [13:38:57] tip: You shouldn't match ',' in a pattern. So put it outside matchin brackets '(' and ')' [13:39:10] these brackes extract the matched string to a variable [13:39:21] canyou check my sandboxes once [13:39:26] k [13:39:54] um, you have removed a space character. [13:40:03] now your pattern will not work [13:40:09] in the module sandbox? [13:40:30] but you are on a correct way [13:40:34] rachit: yes [13:40:52] edited that [13:41:14] but still the answer is not correct [13:41:20] i mean the output [13:41:24] now look at my 'tip' [13:41:38] because this ' , ' is crucial [13:41:59] in the module sandbox [13:42:01] ? [13:43:00] takidelfin did that [13:43:10] 10Wikimedia-Site-requests: Revert FlaggedRevs changes on the Hungarian Wikipedia - https://phabricator.wikimedia.org/T210224 (10Bencemac) @Aklapper All I can say is that the majority (who participated in the discussion) still want the reverting. [13:43:58] 10SpamBlacklist, 10Stewards-and-global-tools, 10Trust-and-Safety: Spam Blacklist shouldn't be fooled by similar-looking Unicode characters - https://phabricator.wikimedia.org/T14896 (10Pigsonthewing) A //decade-old// ticket reporting a backdoor to the spam blacklist? Remarkable. [13:44:03] rachit: ;) [13:44:06] correct pattern [13:44:06] gj [13:44:22] but it doesn't work [13:44:27] in the output [13:44:33] yeah, because you are still passing a wrong argument [13:44:42] I told you to copy a function and paste it [13:44:47] then modify the name [13:46:00] also [13:46:14] first argument in string.match [13:46:18] is undefined variabl [13:46:32] because you have got dmydate defined [13:46:38] not mdydate [13:48:10] not working... [13:48:18] i mean i don't understand [13:48:23] whats wrong [13:48:44] takidelfin [13:49:34] you have pasted the function in a wrong scope :( [13:49:53] you need to paste it outside a function unpackdate [13:50:03] and remember to change name from unpackdate to something esle [13:50:06] *else [13:50:28] what is a scope? [13:51:38] takidelfin [13:51:39] http://lua-users.org/wiki/ScopeTutorial [13:52:12] Maybe this will help you understand what is the scope [13:53:22] maybe I should use other word to refer to 'placing' of function definition [13:53:23] 🤔 [13:54:29] takidelfin i am so sorry [13:54:38] i am just very confused rn [13:54:41] :{ [13:54:43] :( [13:54:49] :( [13:55:10] can you check my module sandbox and start again please? [13:55:18] okay :) [13:55:20] i am so sorry [13:55:23] * Urbanecm waves [13:55:40] urbanecm help required [13:55:47] rachit: move p.trial function outside p.unpackdate [13:55:53] * takidelfin waves too [13:56:07] takidelfin, if I'm looking correctly, just indentation is wrong [13:56:39] 🤦‍♂️ yes... Sorry , thats my fault [13:56:58] Thats why indentation is important :/ [13:56:59] takidelfin isn't it already outside p.unpackdate [13:57:04] yeah it is [13:57:13] just your identation confused me [13:57:15] sorry [13:57:15] :( [13:57:23] wdym :( [13:57:31] urbanecm can you help please? [13:57:41] if you ask a question :) [13:58:23] the step 14 task # 5 says "14. In a new paragraph in your user sandbox, write the pattern you would use to extract the day, month and year from an American-style date like "October 31, 2018"" [13:58:59] Urbanecm: Could I publish one little change to rachit's module sandbox? Just identation change (to prevent mistakes) [13:59:24] It's fine with me as long as it's fine with rachit, as it is his sandbox [13:59:49] can you check my module sandbox and user sandbox and tell me where am i going wrong? [13:59:50] rachit, and what you don't understand on that step? [14:00:19] i don't understand on how to imply it [14:00:51] rachit: Could I fix these indentaion issues in your Lua code? [14:01:09] sure [14:02:04] urbanecm you there> [14:02:08] ? [14:02:09] yeah [14:02:21] i need a little guidance [14:02:36] do you understand what the step wants you to do? [14:02:41] ya [14:02:55] do you know what pattern is? [14:03:02] not exactly [14:03:26] rachit: http://lua-users.org/wiki/PatternsTutorial [14:03:33] Introduction to patterns in Lua [14:03:40] Lua patterns can match sequences of characters, where each character can be optional, or repeat multiple times. If you're used to other languages that have regular expressions to match text, remember that Lua's pattern matching is not the same: it's more limited, and has different syntax. [14:03:46] ~ link above [14:03:46] i saw that but couldn't understand much [14:04:02] Okay. I just found again your user and module sandbox [14:04:08] I see you have an error in step before 14th [14:04:41] If you open your user sandbox, do you see the red bold errors? [14:04:47] yes [14:04:52] (that is because he/she modified it when trying to find right pattern) [14:05:09] right [14:05:19] he* lol [14:05:32] it's because you declare variable on line 60 with one name, and uses it with different name on the next line [14:06:34] can you fix it, please? [14:06:35] and this causes errors in your user sandbox [14:06:56] edited that but still not working [14:07:22] that's because another issue [14:07:32] edited [14:07:46] step 13 isn't an error anymore [14:07:54] great [14:07:59] let's move to step 14 [14:08:03] yes [14:08:20] step 14 is theoretical and doesn't want you to write any code [14:08:28] um ok [14:08:46] Your function parses date that looks like "31 October 2018". In English, you can write dates like "October 31, 2018" [14:08:53] (you can write date like ... too) [14:08:55] yes [14:09:11] what pattern you would use to parse this text? [14:09:40] simply answer here, no need to edit your sandboxes now [14:10:14] %w+ %d+ %d+? [14:10:26] almost :) [14:10:38] check your pattern character by character and find a little mistake in it [14:11:16] idk the plus signs? [14:11:41] No [14:12:04] what else ? :( [14:12:05] %d means "any digit, but only once". [14:12:14] %d+ means "match as many digits as possible" [14:12:14] yes [14:12:36] yes [14:12:43] so whats the mistake ? [14:12:51] but your date doesn't contain only alphanumeric characters and digits [14:12:59] there is also one other character your pattern doesn't contain [14:13:07] remember that patterns matches almost everything literally [14:13:17] Nathan_fraignt, are you still here? I have thought about your patch and maybe a better solution than you choose is available. I'd like to discuss my idea with you [14:13:58] is it . ? [14:14:07] (03PS5) 10Flutterish: SVG files display at max resolution [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/475338 (https://phabricator.wikimedia.org/T71237) [14:14:07] do you see a dot in the date? [14:14:18] yes [14:14:24] o? [14:14:31] really? where? [14:14:50] no i mean the date matches everything [14:14:54] isn't it a comma? [14:15:08] in the date?yes [14:15:11] XX January, 2018 [14:15:53] yes comma [14:16:22] do you think your pattern will match it? [14:16:33] oh wait [14:16:48] %w+ %d+, %d+? [14:17:02] that's better [14:17:19] all that step 14 wants you to do is to answer this question on a new line of your user sandbox [14:17:37] (03CR) 10jerkins-bot: [V: 04-1] SVG files display at max resolution [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/475338 (https://phabricator.wikimedia.org/T71237) (owner: 10Flutterish) [14:17:51] "(%w+) (%d+), (%d+)") [14:17:54] ? [14:18:20] urbanecm [14:18:26] I'm still here :) [14:18:41] the ") isn [14:18:45] isn't part of a pattern [14:18:54] but yes, what you wrote just before a sec is correct [14:18:56] (03PS6) 10Flutterish: SVG files display at max resolution [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/475338 (https://phabricator.wikimedia.org/T71237) [14:19:00] paste it into your _user sandbox_, please [14:19:02] \o/ [14:19:14] rachit: congratulations [14:19:27] https://en.wikipedia.org/wiki/User:Bleed.tech/sandbox#Task_5 is this correct? [14:20:04] yeah, pattern is good. Ad Q1 and Q2, can you explain more what the plus sign is about please? [14:21:11] plus sign means 1 or more repetitions of characters in the class right ? urbanecm [14:21:37] Yep. Can you edit your answer to include this? [14:21:54] ok sure [14:21:59] thank you :) [14:22:18] thank you takidelfin :D [14:22:37] and a huge sorry for the inconveniences caused [14:23:23] yw [14:24:14] only 17 days left for gci [14:24:17] :( [14:24:21] 10Google-Code-in-2018, 10WMCZ-Tracker, 10Patch-For-Review, 10User-Urbanecm: User that was created by OAuth cannot set password - https://phabricator.wikimedia.org/T209320 (10Urbanecm) 05Open>03Resolved [14:24:37] 10Google-Code-in-2018, 10WMCZ-Tracker, 10Patch-For-Review, 10User-Urbanecm: After an account is registered, it isn't automatically logged in - https://phabricator.wikimedia.org/T210334 (10Urbanecm) 05Open>03Resolved [14:25:09] 10WMCZ-Tracker: Squash "Ticket changed" and "Ticket changed [for requestor]" notification types in frontend - https://phabricator.wikimedia.org/T208658 (10Urbanecm) 05Open>03Invalid Isn't necessary anymore. [14:25:39] Urbanecm i have submitted my task,please check it whenever you are free :') [14:25:39] takidelfin, you can contribute to Wikimedia even when no GCI's running :D [14:25:57] ok [14:26:43] Urbanecm: :D Hopefuly [14:26:59] It depends only on your availability, nothing more :D [14:27:22] rachit, approved [14:27:45] I have learnt almost 4 now languages (Lua, Ruby, Crystal, And now learning Python) during 1.5 month. big wow for me [14:28:11] So contributing more will help me learn more languages yeay [14:29:02] *I dont know why I put 'now' after 4 [14:31:24] I read it as "new", maybe that's what you meant? [14:32:02] yes D: [14:33:03] Urbanecm: Umm, does flake8 require a config ? Because when I try running flake 8 --select=W504 it does not work ;-; [14:33:32] what does "it doesn't work" mean? [14:34:07] it does not return anything [14:34:20] and when I try running it without arguments [14:34:27] It returns a list of E241 violations [14:34:46] That is why I'm assuming that there is missing config [14:35:21] (I'm working on Pywikibot flake8 W504 ) [14:35:31] (Maybe there is a command like bundle for Rails) [14:41:39] (03PS1) 10Urbanecm: Convert notification to Czech [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475616 [14:49:17] :/ [14:52:45] Urbanecm, I´m back! Let´s hear your idea! [14:58:45] :( [14:59:36] Urbanecm: Okay, I have got it. It is `flake8 --ignore W503 --select W504` [14:59:48] maybe somehow a hacky way, but it works [15:01:20] Nathan_fraignt, what about sending all notifications to admin in case they have not any Watcher object connected with particular ticket and only notifications matching the Watcher object in case they have? [15:01:51] This will save database space, as you won't have to have explicit Watcher objects for everything, but will still allow admins to override their notifications at any level [15:02:23] Your solution won't allow an admin to get all notifications about topic A, but only "ticket_new" for topic B [15:02:34] Urbanecm, that´s quite smart. And just create a watcher object when an admin saves the watch ticket form [15:03:00] saves the watch ticket form and doesn't have everything checked [15:03:10] Yes [15:03:17] I´ll work on it [15:03:35] noice tips here I see [15:03:54] takidelfin, nice to see your issue was resolved. Sorry, I forgot you asked me something :D [15:04:25] Ok, that's nice Nathan_fraignt . Looking forward to see new patch! [15:07:27] 10MediaWiki-General-or-Unknown, 10MediaWiki-extensions-Translate, 10Language-Team (Language-2018-October-December), 10MW-1.33-notes (1.33.0-wmf.4; 2018-11-13), 10User-notice: A translatable subpage page should not be messed while moving subpages - https://phabricator.wikimedia.org/T114592 (10Nikerabbit)... [15:10:54] Urbanecm, what is the best way to test/debug the fire_notification function? [15:11:30] I personally just make changes in the local webinterface, connect to mysql directly and look into tracker_notification table [15:11:58] hmm [15:12:06] but you can also call the function in manage.py shell [15:12:14] you can? [15:12:35] yes, you can invoke a shell by doing python manage.py shell and in this shell you can run arbitrary code [15:12:38] Urbanecm: I have got one question related to this Python code. I think that this code contains a syntax error https://usercontent.irccloud-cdn.com/file/RwR8KMYq/screenshot_20181125_151635.png [15:12:49] because there is 'string' 'string' [15:12:57] without any operator [15:13:05] let me see takidelfin [15:13:09] But I don't know ;-; [15:13:45] its between ´(´ ´)´ [15:13:55] the brackets make it so you can format a string on multiple lines [15:14:21] At least I think that is what you mean [15:14:28] https://ctrlv.cz/YO0a [15:14:38] you can use this syntax to put strings together [15:15:09] Gotta go, dinner, be back in a minute [15:15:12] oh, okay! Thanks :D [15:15:29] I haven't saw something like this in other languages [15:15:42] Cya, eetsmakelijk! (No clue how to say that in English, it means ¨to enjoy your dinner¨) [15:15:59] haha [15:16:03] Smacznego! [15:24:28] Hello!\ [15:25:12] is anyone there? [15:26:56] Hi prtksxna [15:27:28] urbanecm are you there? [15:27:36] Nathan_fraignt, https://en.wiktionary.org/wiki/enjoy_your_meal :) [15:27:38] yep [15:27:40] Hey rachit o/ [15:27:53] 04(no projects): Allow edits that touch multiple pages and that can still be undone with single click - https://phabricator.wikimedia.org/T210348 (10ChristianKl) [15:27:59] I had a doubt urbanecm [15:28:02] Thanks hahaha :) [15:28:06] prtksxna, do you think you can review https://gerrit.wikimedia.org/r/c/jsdoc/wmf-theme/+/475582? [15:28:24] Nathan_fraignt, it was an answer to "how to express it in English" +;) [15:28:25] Urbanecm: Yep, came online just to review that :) [15:28:44] Yeah I got it :) I knew the expression, just couldn [15:28:48] ´´ t think of it [15:28:57] step 3 of lua #4 says "3. Based on the function above, create a new function p.fallbacks in your module sandbox that takes a parameter |langcode= (which represents a language code), and uses mw.language.getFallbacksFor( langcode ) to return a list of all of the fallback language codes for that code. Save your module sandbox." [15:29:22] can you tell me how to set the parameter of the function urbanecm [15:29:33] in module sandbox? [15:30:39] urbanecm are you there? [15:33:05] (03CR) 10Prtksxna: [V: 032 C: 032] "Thanks for working on this Shreyasminocha!" [jsdoc/wmf-theme] - 10https://gerrit.wikimedia.org/r/475582 (https://phabricator.wikimedia.org/T209561) (owner: 10Shreyasminocha) [15:33:24] thanks prtksxna [15:33:48] rachit, do you know how you call functions? [15:33:59] 10CommRel-Specialists-Support, 10Research, 10Tech-Ambassadors: Help mapping synonyms - https://phabricator.wikimedia.org/T210085 (10Lsanabria) es-r3 is complete. [15:34:17] Urbanecm: in the user sandbox yes [15:34:37] do you remember how you called the Temperature function, that needed parameter called "celsius"? [15:35:05] yes [15:35:18] 10Google-Code-in-2018, 10JSDoc WMF theme, 10Patch-For-Review, 10Technical-Debt: Implement linting for JSDoc Wikimedia theme own specific styles and scripts - https://phabricator.wikimedia.org/T209561 (10Prtksxna) 05Open>03Resolved [15:35:21] I did that in the user sandbox using invoke code right? [15:35:53] yeah [15:36:04] and do you know how you accessed the parameter's value in the module? [15:36:16] yes [15:36:43] Celsius=? [15:37:11] 10Google-Code-in-2018, 10JSDoc WMF theme: JSDoc WMF theme: Fix JS and CSS linting issues - https://phabricator.wikimedia.org/T210349 (10Prtksxna) [15:37:45] 10Google-Code-in-2018, 10JSDoc WMF theme, 10Patch-For-Review, 10Technical-Debt: Implement linting for JSDoc Wikimedia theme own specific styles and scripts - https://phabricator.wikimedia.org/T209561 (10Prtksxna) See also: {T210349} [15:38:42] urbanecm are you there? [15:38:48] yeah [15:39:03] no, you accessed the parameter's value by different syntax [15:39:21] 10ContentTranslation: Reorganize Language team's stats dashboards scripts - https://phabricator.wikimedia.org/T210350 (10Amire80) [15:40:01] urbanecm what was it? [15:40:08] read through your code [15:40:41] we're not here to do your tasks for you, we can answer you questions you have, but we cannot write code you need to use line by line [15:40:55] 10CX-analytics, 10Language-Team (Language-2018-October-December): Identify common abuse filters that affect translations - https://phabricator.wikimedia.org/T189475 (10Amire80) [15:41:00] 10WMCZ-Tracker: Internacionalize notifications - https://phabricator.wikimedia.org/T196425 (10Urbanecm) [15:42:21] Urbanecm: Done! Thanks for the reminder :D [15:42:21] urbanecm is it if then else? [15:42:43] no, that's for tests [15:43:02] tonumber ? [15:44:03] do you really think something that's called "tonumber" will give you value of a parameter? [15:44:31] not really... [15:44:42] fah? [15:45:41] please think about an answer for 5 minutes before you post it here. How did you access the value of parameter "celsius" in previous lua tasks? [15:45:53] parameter also can be called argument [15:49:47] (03PS2) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [15:50:29] Alright Urbanecm, It took a bit longer than expected, but I think I kinda got it. Again, probably not perfect yet. [15:50:40] Looking [15:51:26] urbanecm: all I did in the previous task was to put |celsius=number in the user sandbox [15:51:38] yes, that's how you passed the parameter to the function [15:51:46] my question is how you accessed it in your code - module sandbox [15:53:02] Nathan_fraignt, looks your function isn't sending anything to ticket.requested_user [15:53:14] aka the ticket owner/requestor [15:53:32] Which function? [15:53:36] fire_notification [15:54:03] The owner should have watchers [15:54:07] urbanecm I don't know :( [15:54:11] I think [15:54:51] ah, I didn't open the view [15:55:36] thanks, mea culpa [15:56:12] In theory, the owner of a ticket should have all the watchers. I might be able to do the same with the owner as with the admins (so don´t give them watchers unless they change them), but part of the task was to make so that only one thing handles the notifications [15:56:13] I think [15:56:48] ¨This should make notifications easier, as there will be only one way how to get a notification - by having *Watcher object.¨ [15:57:12] No, this solution is right, I just didn't notice you added this into the view [15:57:18] legoktm: Hello! Could you please review my task? [15:57:20] (s/right/fine/g) [15:58:08] urbanecm, the temperature function uses the variable cel,fah and if then else code right? [15:58:29] yes... [15:58:32] so? [15:59:07] rachit, you declared cel variable and assigned value of parameter celsius to it. How did you do it? [15:59:27] Nathan_fraignt, while I'm reviewing your patch, can you look on T196425 and tell me if this is doable using info I provided in the task's description? I plan to convert into a GCI task too, I'm just not sure if it's understandable to somebody else than ,e [15:59:28] T196425: Internacionalize notifications - https://phabricator.wikimedia.org/T196425 [15:59:29] *me [15:59:45] I´ll have a look [16:00:11] thanks [16:00:16] urbanecm, cel = frame.args.celsius? [16:00:51] yeah, that's the row you did the assignment at. Which piece of this line contains the parameter value itself? [16:01:15] Celsius no? [16:02:20] pure celsius won't work [16:02:35] frame.args.celsius ? [16:02:36] you need to prefix the name of the parameter with somethign [16:02:38] yeah [16:02:39] exactly [16:02:53] okay [16:03:08] Urbanecm, As far as I understand, the task is to change the Czech texts to English, but with the localization function. Also, the parameters within the Czech text are in different order than those in English [16:03:52] yes, it's to make it easier for those who cannot speak Czech to touch notification-related code [16:04:15] Yeah, I´m happy I did not have to touch messages in models.py [16:04:19] urbanecm,how do I imply it on my current step [16:04:42] my current step 3 of task 5 says " Based on the function above, create a new function p.fallbacks in your module sandbox that takes a parameter |langcode= (which represents a language code), and uses mw.language.getFallbacksFor( langcode ) to return a list of all of the fallback language codes for that code. Save your module sandbox." [16:04:55] yeah [16:05:25] so you need to create a new function that will accept parameter langcode and print a list of fallback language codes for that language [16:05:39] with knowledge you earned in previous tasks it should be doable [16:05:49] ok ill try [16:06:18] 10CX-analytics, 10Language-Team (Language-2018-October-December): Adjust MT graph to clarify the presented concepts - https://phabricator.wikimedia.org/T210135 (10Amire80) [16:07:53] 10Google-Code-in-2018, 10Wikidata, 10Wikidata Query UI, 10Need-volunteer: Improve code examples of the Wikidata Query UI - https://phabricator.wikimedia.org/T207749 (10abian) Google Code-in task: https://codein.withgoogle.com/tasks/5408647254376448/. [16:10:50] urbanecm, https://en.wikipedia.org/wiki/Module:Sandbox/bleed.tech can you tell me where am I going wrong? [16:13:49] takidelfin,are you there? [16:13:56] ye [16:14:06] can you help me ? [16:15:10] takidelfin ? [16:15:40] Nathan_fraignt, I can successfully set Tracker to send me only comment notifications on particular ticket [16:15:55] However, Tracker allow users to watch whole topics or even grants [16:16:21] I don't see watch settings link on a topic page [16:17:11] also, I cannot completely mute a ticket. A solution can be to create dummy notification type "mute" and add it in case admin saves an empty form [16:17:19] 10Google-Code-in-2018, 10MinervaNeue, 10Readers-Web-Backlog, 10Need-volunteer: PHPUnit test case warning about Special:Notifications missing aliases in SkinMinervaTest - https://phabricator.wikimedia.org/T202308 (10Shreyasminocha) a:03Shreyasminocha [16:17:52] rachit: langcode is a array [16:17:56] * an [16:18:53] Hmmm, I´ll look into muting first [16:19:06] can you guide me on how to fix it ? takidelfin [16:19:28] Try googling how to iterate over Lua array [16:19:32] (for i) [16:20:10] or look on your previous functions, you already did it once [16:20:29] up to you Nathan_fraignt [16:20:52] * Urbanecm is going to walk a dog, brb [16:23:36] ~ waves ~ [16:26:17] 10MediaWiki-General-or-Unknown: Allow edits that touch multiple pages and that can still be undone with single click - https://phabricator.wikimedia.org/T210348 (10MarcoAurelio) [16:27:46] (03PS3) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [16:37:32] * Urbanecm is back [16:43:07] (03PS4) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [16:44:06] Urbanecm, it is now possible to select nothing, topics can now be watched. You also said something about grants, but AFAIK they always worked fine since they do not have an owner [16:44:57] Sorry, you're right, don't know why I talked about them [16:45:11] No problem at all [17:09:07] * Nathan_fraignt is now having dinner [17:21:45] (03CR) 10Urbanecm: [C: 04-1] Change: All notifications will now go via watcher object (032 comments) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [17:22:11] Nathan_fraignt, reviewed. I hope my inline comment on line 946 is understandable, ask if it isn't [17:54:04] 10ContentTranslation: CX2: Unable to type diacritics in the translation - https://phabricator.wikimedia.org/T209874 (10He7d3r) I was not able to reproduce the bug using Visual Editor (on Firefox). The problem happens with Firefox 63.0.3 (64-bit), on Ubuntu 18.04.1 LTS. This is the keyboard layout: {F27312035} W... [17:56:07] (03PS9) 10D3r1ck01: tests: Add unit tests for SpamlistLookup::factory() [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/473296 [18:06:50] RexxS: /o [18:06:53] * o/ [18:12:26] hey takidelfin [18:26:26] 10WMCZ-Tracker: Datatables isn't working on /users/ - https://phabricator.wikimedia.org/T210351 (10Urbanecm) [18:26:55] (03CR) 10VolkerE: [C: 04-1] "Everything else looks good." (031 comment) [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [18:29:56] (03PS5) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [18:30:39] Urbanecm, New patch. Honestly don´t know if it´s bug free. This task is turning out to be a lot harder than expected :) [18:30:46] (03CR) 10jerkins-bot: [V: 04-1] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [18:31:19] Oh let me fix the style first [18:32:53] Yeah, it's one of the most difficult Tracker tasks, which correspond with me giving you 7 days (the maximum) to complete the task [18:33:33] Let´s see if I can still do it within one [18:33:54] I hope you find the difficulty challenging rather than annoying :) [18:34:45] (03PS6) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [18:35:11] Mostly challenging, but the fact that I don´t know how some of the code works can be kinda annoying at times :) [18:35:44] :) [18:36:13] I´m getting more and more familiar with Tracker codebase, but every now and then you have a function that just takes ages before you understnad why it´s there (and then come to the conclusion that you didn´t need it at all) [18:36:36] Urbanecm: Umm, I have got one question related to W504 Line break after binary operator. https://hastebin.com/gehuhafudu.python [18:36:36] Which variant looks better? [18:37:37] I´d say #2 [18:38:07] Me too [18:38:10] But to be honest I wouldn´t write it like either of them (although completely refractoring is not something you need to do I think) [18:38:14] okay :D [18:39:12] Urbanecm, looks like the bot is happy, I´m gonna do some chores and take a shower. Good luck with reviewing, I´ll probably be back in ~2 hours [18:39:17] * Nathan_fraignt is now away [18:39:25] ~o~ [18:39:50] (03CR) 10Bartosz Dziewoński: [C: 032] mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less [core] - 10https://gerrit.wikimedia.org/r/475509 (owner: 10VolkerE) [18:39:56] * Urbanecm suggests Nathan_fraignt to use /away MESSAGE [18:40:18] * Nathan_fraignt Did not know that existed [18:41:33] You can then use /back to mark you're back [18:42:24] sadly legoktm is still away :/ [18:43:16] (03CR) 10Bartosz Dziewoński: [C: 032] Change check to canHaveTalkPage before calling getTalkPage() [skins/CologneBlue] - 10https://gerrit.wikimedia.org/r/475584 (https://phabricator.wikimedia.org/T172146) (owner: 10Arcayn) [18:46:59] (03CR) 10Bartosz Dziewoński: [C: 032] "Seems harmless. Note that this would behave differently if the 'sandbox' key was already set (e.g. by another extension), but we don't rea" [extensions/SandboxLink] - 10https://gerrit.wikimedia.org/r/475596 (owner: 10John Erling Blad) [18:47:40] 10WMCZ-Tracker: addexampledatay command doesn't set the password correctly - https://phabricator.wikimedia.org/T210352 (10Urbanecm) [18:48:57] 10ContentTranslation: Reorganize Language team's stats dashboards scripts - https://phabricator.wikimedia.org/T210350 (10Amire80) [18:48:59] 10CX-analytics, 10Language-Team (Language-2018-October-December): Adjust MT graph to clarify the presented concepts - https://phabricator.wikimedia.org/T210135 (10Amire80) [18:49:21] 10WMCZ-Tracker: addexampledata command doesn't set the password correctly - https://phabricator.wikimedia.org/T210352 (10Urbanecm) [18:49:55] 10CX-analytics, 10Language-Team (Language-2018-October-December): Adjust MT graph to clarify the presented concepts - https://phabricator.wikimedia.org/T210135 (10Amire80) I did the first two trivial points. For the rest, we should do if together with T210350 because it will require redeployment. [18:50:48] hello bawolff! [18:51:31] Hey [18:52:05] 10Google-Code-in-2018, 10JSDoc WMF theme: JSDoc WMF theme: Fix JS and CSS linting issues - https://phabricator.wikimedia.org/T210349 (10D3r1ck01) Imported as: https://codein.withgoogle.com/tasks/5320968315600896/ [18:52:05] oh crap [18:52:19] Someone did one of my gci tasks, and i totally didn't notice [18:52:24] And now its been almost 72 hours :( [18:52:28] :( [18:52:37] * bawolff feels bad [18:52:49] oops [18:53:12] Oh wait, it hasn't been 72 hours [18:53:18] Well this is confusing [18:53:20] (>ლ) [18:53:39] submitted for review on November 24, 2018 at 11:26 [18:53:46] Ok, so /me not totally terrible [18:53:46] ・-・ [18:53:57] that was only yesterday [18:54:26] Then why is google yelling at me, that it needs review in the next 12 hours [18:54:41] 24 hours and you get an email [18:54:57] just mark it as spam [18:55:02] lol [18:55:40] ah ok, I was worried I was getting into trouble :) [18:56:08] I'm waiting just 10 hours ;-; [18:56:19] hmm, "2. You agree to respond to contestant requests within thirty-six (36) hours." [18:56:37] 24 + 12 = 36 [18:56:39] oh, i thought it was 72 [18:56:46] * bawolff should read the rules [18:56:48] so it seems Google has the math right [18:56:52] tam dam dam [18:57:44] 10WMCZ-Tracker: In watch.html, the "All" notification should be checked if all other notifications are - https://phabricator.wikimedia.org/T210353 (10Urbanecm) [18:57:46] 10CX-analytics, 10Language-Team (Language-2018-October-December): Adjust MT graph to clarify the presented concepts - https://phabricator.wikimedia.org/T210135 (10Amire80) @Milimetric, do you know why is "undefined" shown there? I cannot see anything like that in the [[ https://analytics.wikimedia.org/datasets... [19:01:41] 10WMCZ-Tracker: Users created by addexampledata comment don't have TrackerPreferences object - https://phabricator.wikimedia.org/T210354 (10Urbanecm) [19:02:09] 10CX-analytics, 10Language-Team (Language-2018-October-December): Adjust MT graph to clarify the presented concepts - https://phabricator.wikimedia.org/T210135 (10Amire80) The current query filters things out like this: `cxc_origin not in ('disable-mt', 'no-mt', 'user', 'source', 'source-mt')` If I don't filt... [19:03:47] (03Merged) 10jenkins-bot: mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less [core] - 10https://gerrit.wikimedia.org/r/475509 (owner: 10VolkerE) [19:03:49] (03Merged) 10jenkins-bot: Change check to canHaveTalkPage before calling getTalkPage() [skins/CologneBlue] - 10https://gerrit.wikimedia.org/r/475584 (https://phabricator.wikimedia.org/T172146) (owner: 10Arcayn) [19:06:05] (03CR) 10jenkins-bot: mediawiki.ui: Move remaining mixin to buttons.less; remove mixins.less [core] - 10https://gerrit.wikimedia.org/r/475509 (owner: 10VolkerE) [19:10:48] (03Merged) 10jenkins-bot: SandboxLink: Remove explicit state [extensions/SandboxLink] - 10https://gerrit.wikimedia.org/r/475596 (owner: 10John Erling Blad) [19:16:29] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MediaWiki-extensions-General, 10Patch-For-Review, 10Technical-Debt: Remove unchecked calls to Title::getTalkPage from extensions - https://phabricator.wikimedia.org/T172146 (10Stibba) [19:18:40] (03CR) 10Urbanecm: [C: 04-1] Change: All notifications will now go via watcher object (034 comments) [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [19:18:55] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MediaWiki-extensions-General, 10Patch-For-Review, 10Technical-Debt: Remove unchecked calls to Title::getTalkPage from extensions - https://phabricator.wikimedia.org/T172146 (10Stibba) The getTalkPage in the WikiLove extension is to a User talk page... [19:20:15] (03CR) 10Urbanecm: [C: 032] Convert notification to Czech [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475616 (owner: 10Urbanecm) [19:21:09] (03Merged) 10jenkins-bot: Convert notification to Czech [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475616 (owner: 10Urbanecm) [19:33:20] :( [19:33:49] takidelfin: ? [19:34:16] Waiting for a task review [19:36:00] I see that VolkerE left you a comment hours ago [19:36:23] (on gerrit, not on gci site) [19:36:34] yup [19:37:13] I would expect that you at least replied to his concerns :P [19:37:58] Hi people :) [19:38:03] hello TheJair [19:38:04] hi TheJair [19:38:10] Hello! [19:38:47] Does anything special happen if a mentor doesn't reply to a submitted review within 36 hours? [19:39:20] I´d think it would be accepted [19:39:44] an angry Google drone comes to his house? [19:39:46] Since anything else (like just abandoning) would be negative to the student [19:39:51] Probably [19:40:06] Yeah but that would be a bit weird if the task isn't done yet [19:40:23] (03PS7) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [19:40:35] well, but it's not the student fault's either [19:40:51] true [19:41:31] I think we'd try to get the task reviewed by another mentor [19:41:50] and apologise for the delay [19:42:13] Platonides: An agry gci admin starts emailing me ;) [19:42:51] (03PS8) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [19:43:26] Urbanecm, published a new patch. Sorry for taking so much of your time :) [19:44:15] Not a problem :) [19:44:40] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MediaWiki-extensions-General, 10Patch-For-Review, 10Technical-Debt: Remove unchecked calls to Title::getTalkPage from extensions - https://phabricator.wikimedia.org/T172146 (10Platonides) [19:45:32] bawolff: go review https://codein.withgoogle.com/dashboard/task-instances/4974272951877632/ :P [19:46:29] Platonides: I'm busy figuring out why everyone's account keeps getting hacked ;) [19:46:48] who cares? ;) [19:47:05] may I help with any of them? [19:47:33] But yes, I'm going to get to that soon once I finish going through my bug backlog [19:47:54] hey Platonides and bawolff [19:48:05] hey shreyasminocha [19:48:33] hi shreyasminocha [19:48:33] Hi shreyasminocha [19:48:41] Platonides: I'm fine with other people reviewing any of them if you feel like it, although I really am going to start reviewing it in like 15 minutes [19:48:56] hey TheJair, Urbanecm. thought i'll check irc before going to sleep :P [19:49:12] Not a good idea if you want to sleep within several minutes :D [19:49:13] I suspect setting up the environment it would take me more time [19:49:13] Shreyasminocha, did any tasks today? :) [19:49:45] Nathan_fraignt: got my previous one reviewed at 9:30 pm. i've selected one to work on, couldn't being [19:49:48] begin* [19:50:01] Urbanecm: that's really true :D [19:50:06] Ah, sad. I didn´t finish any today either [19:50:28] it's okay :) [19:50:51] That doesn't need to be necessarily true, I'm reviewing your patch rn :D [19:51:14] Not yet at least :) [19:51:26] :) [19:51:40] Still hopeful, maybe I can do a quick one after it (although I do really need to sleep before 22:00) [19:51:45] (i'm telling you Nathan_fraignt's just trying to be humble :D he does all these tasks and doesn't tell us ;D) [19:52:13] Nah man, I´m stuck with one task, this whole day :) [19:52:33] But it´s supposed to be one of the hardest (according to Urbanecm) so I guess it´s alright [19:53:04] 10video2commons: Add logged username in the interface - https://phabricator.wikimedia.org/T210355 (10Framawiki) p:05Triage>03Low [19:53:37] i choose tasks on the basis of their priority on phab [19:53:51] (and also if i'm interested in doing them obv) [19:54:21] anyone else? [19:54:38] I choose them based on their description and prefer tasks in projects I´ve worked on before [19:54:48] And I try to find a balance between hard and easy tasks [19:55:13] "balance between hard and easy tasks" i need to get some of that [19:55:31] Hahah emphasis on I TRY [19:55:35] I just try out a bunch of different sorts of tasks [19:55:41] I did a bit too much easy style fixes tbh [19:55:53] (03CR) 10Takidelfin: stylelint: Replaced CSSLint with StyleLint (031 comment) [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [19:55:56] these days i'm not getting enough easy tasks [19:56:25] Do some PEP8 style fixes [19:56:54] yeah, i guess doing some of those too is necessary for mental well-being [19:56:56] (03CR) 10Platonides: [C: 04-2] Change getTalkPage() to getTalkPageIfDefined() (031 comment) [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 (owner: 10Pjht) [19:57:01] haha:) [19:57:42] shreyasminocha, looks you didn't complete https://codein.withgoogle.com/tasks/6093941754560512/ too :) [19:58:24] that was the first one i did :D [19:58:50] i was introduced to Urbanecm via that [19:59:55] shreyasminocha, wasn't it https://gerrit.wikimedia.org/r/c/labs/tools/wikinity/+/469310? :) [20:00:33] oh ya! :) :) [20:00:33] I don't see any commit that might match the task on https://gerrit.wikimedia.org/r/q/project:wikimedia-cz%252Ftracker+owner:shreyasminocha%2540protonmail.com [20:00:35] There are LOTS of line length violations in Tracker [20:00:41] lol [20:01:12] That's true, unfortunately [20:01:31] Maybe you can do the same as pywikibot and import them to gci in multiple tasks, like this: https://codein.withgoogle.com/tasks/5715704318787584/?sp-organization=4956074911203328&sp-is_beginner=False&sp-search=python [20:01:36] that's when you change the max_length parameter on the linter config ;) [20:01:54] And just start cleaning them file by file [20:01:54] hahah [20:02:13] i saw this task that said "fix 60 line length violations" [20:02:23] and another that said "30 ..." [20:02:36] Yeah, I'm thinking how many line length violations should be worth one task completed. Any idea? :) [20:02:58] 10? [20:03:06] I think either one file with 60+ or multiple with a max of 50/5 files [20:03:13] 50 violations or 5 files [20:03:14] that is [20:03:29] I'd also rate https://codein.withgoogle.com/tasks/5763295794429952/ as easy :) [20:03:34] I agree with Nathan_fraignt [20:03:38] Or maybe a bit lower if shreyasminocha´s guess is 10 [20:03:57] But it's fairly easy [20:04:03] ~10 would make a 1/2 day task [20:04:15] (that's "1 or 2", not "half") [20:04:16] 10 line violations = 5 minutes work [20:04:24] i mean yeah, ofc :D [20:04:36] but all these tasks have lot of extra time available [20:04:44] True [20:04:44] i'm guessing there must be a reason [20:05:10] One of reasons is that we cannot set the field to <3 [20:05:24] o rly? [20:05:37] No. The number of days must be 3 or higher and 7 or less [20:05:50] I guess also so that you don't immediately have to start working on them [20:06:54] And if a you submit it for review, but the mentor answers in a different time zone, and you have to sleep + school, it can be 20 hours later. [20:07:00] 10Wikimedia Design Style Guide: Something strange with WikimediaUI-components_overview.svg - https://phabricator.wikimedia.org/T210357 (10Iniquity) [20:07:05] Which means that if that happens twice you need at least 2 days. [20:07:08] yeah [20:08:49] Nathan_fraignt, submitting a task for review pauses the timer [20:08:57] oh, never mind [20:09:05] :) [20:09:33] Now i just need to figure out how to run scribunto unit tests [20:10:10] the name "scribunto" keeps reminding me of "ubuntu" [20:10:35] bawolff, by submitting a patch to gerrit? :D [20:10:54] it does help to be able to run tests locally though imo [20:11:07] 10Google-Code-in-2018, 10Wikimedia-Site-requests: Add the extension "SandboxLink" for nowiki - https://phabricator.wikimedia.org/T210325 (10Framawiki) Offering to Google Code in participants. Please do not claim this task unless you're GCI student, thanks! [20:11:16] Urbanecm: I like your style :) [20:11:17] :D [20:11:21] That's my approach usually too [20:11:47] I need to verify the test fails if I run it with a super old version of lua [20:11:59] (03PS3) 10Takidelfin: stylelint: Replaced CSSLint with StyleLint [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) [20:12:14] (03CR) 10Takidelfin: "recheck" [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [20:12:53] /o\ [20:13:58] takidelfin: is that you holding your head? [20:14:09] bawolff, `composer test` looks like an opinion [20:14:14] it is upside down \o/ [20:14:26] like a handstand [20:14:31] yeah, but looks like someone holding their head in despair [20:14:34] 🤔 [20:14:38] ... or a handstand :D [20:15:06] shreyasminocha, Nathan_fraignt: I updated the flake8 task's description to make it a little bit more accessible [20:15:11] *11 [20:15:41] Urbanecm: nice, although not sure what was there to clarify [20:15:49] 10Internet-Archive, 10Tracking: Add IABot support for other wikis (tracking) - https://phabricator.wikimedia.org/T136130 (10Cyberpower678) [20:15:51] 10InternetArchiveBot (v2.0): Deploy InternetArchiveBot on the Catalan Wikiquote (cawikiquotewiki) - https://phabricator.wikimedia.org/T184855 (10Cyberpower678) 05Open>03Resolved [20:16:18] not clarify, the task required students to fix 3 errors, which means you'd have to fix all the line length violations [20:16:43] ohk [20:18:24] 'How did your holidays pass?' is it correct? and does it look good ( I mean a style )? :D [20:18:38] "how were your holidays" might be better [20:18:48] thanks :) [20:21:55] 10Internet-Archive, 10Tracking: Add IABot support for other wikis (tracking) - https://phabricator.wikimedia.org/T136130 (10Cyberpower678) [20:21:59] 10Wiktionary, 10InternetArchiveBot (v2.0): InternetArchiveBot Wiktionary support (enwikt, frwikt) - https://phabricator.wikimedia.org/T181879 (10Cyberpower678) 05Open>03Resolved [20:22:26] 10Internet-Archive, 10Tracking: Add IABot support for other wikis (tracking) - https://phabricator.wikimedia.org/T136130 (10Cyberpower678) [20:22:28] 10Bengali-Sites, 10InternetArchiveBot (v2.0): Deploy InternetArchiveBot on the Bengali Wikipedia (bnwiki) - https://phabricator.wikimedia.org/T169482 (10Cyberpower678) 05Open>03Resolved [20:22:34] 10WMCZ-Tracker: Return user to page they were on while clickin on login after successful authentication - https://phabricator.wikimedia.org/T210358 (10Urbanecm) [20:24:12] 10Internet-Archive, 10Tracking: Add IABot support for other wikis (tracking) - https://phabricator.wikimedia.org/T136130 (10Cyberpower678) [20:24:14] 10Internet-Archive, 10WMUA-Hackathons, 10InternetArchiveBot (v2.0): Deploy InternetArchiveBot on the Ukrainian Wikipedia (ukwiki) - https://phabricator.wikimedia.org/T151446 (10Cyberpower678) 05Open>03Resolved [20:24:36] Nathan_fraignt, there's a bug in your patch [20:24:43] :O [20:24:57] Oh no [20:25:09] It doesn't send anything to ticket owner at least if topic admin restricted their watch settings [20:25:24] Alright, will figure it out and fix it [20:25:30] 10Internet-Archive, 10Tracking: Add IABot support for other wikis (tracking) - https://phabricator.wikimedia.org/T136130 (10Cyberpower678) [20:25:32] 10InternetArchiveBot (v2.0): Deploy InternetArchiveBot on Cantonese Wikipedia (zh-yuewiki) - https://phabricator.wikimedia.org/T188206 (10Cyberpower678) 05Open>03Resolved [20:26:01] (don't fall for it, he's just trying to pass the turing test) [20:26:20] :D [20:27:34] Nathan_fraignt, in all cases. [20:28:03] Sounds like the bug is somewhere in fire_notification() [20:28:46] 10Trust-and-Safety, 10Security: Ciphers claimed that his account was compromised - https://phabricator.wikimedia.org/T210361 (10alanajjar) [20:29:20] * Urbanecm wonders why Nathan_fraignt defines users as a dict on line 954 [20:29:51] * Nathan_fraignt thinks Urbanecm should learn the difference between a set and a dict [20:30:05] AFAIK {x} is a set, {x:y} is a dict [20:30:20] But I might be completely wrong [20:30:46] ... [20:30:48] Didn't know I can declare a set that way :D [20:30:53] https://www.programiz.com/python-programming/set [20:31:03] :D [20:31:14] Glad to see I learned my mentor something :) [20:34:03] But to be honest I don´t see why the watch settings of an admin interfere with that of a user [20:34:43] Urbanecm, any ideas? [20:34:52] It doesn't, the bug is present regardless on admin's settings [20:35:18] I just knew I restricted admins settings, so I noted the bug occurs at least in those cases [20:35:29] Hmm, so you basically mean that notifs aren´t send to the owner of a ticket? [20:35:39] yes [20:36:30] It looks the condition in ticket owner if is wrong [20:37:03] Do you mean line 948-954 in models.py? [20:37:11] yeah [20:37:17] Yeah, that´s my guess also [20:37:45] I think you should remove ticket owner from users set when the condition is true [20:37:51] but you _add_ ticket owner instead :) [20:38:23] Could be, but could it be because of the muted Watcher? [20:38:59] Since what you say shouldn´t make any difference, in theory, (right? or am I missing something?) [20:39:42] In case I have currently on my computer, I don't have any watcher with notification_type=="mute" [20:40:39] yeah, nvm, that wouldn´tmatter anyways, since then they are supposed to not recieve messages [20:40:44] yep [20:40:59] I´ll try your thing, but I can´t wrap my head around how that would make a difference [20:41:01] (03CR) 10Brian Wolff: [C: 04-1] "Hi. My apologies for the delay in reviewing this." [extensions/Scribunto] - 10https://gerrit.wikimedia.org/r/475586 (https://phabricator.wikimedia.org/T209232) (owner: 10Mogmog123) [20:41:29] If you look at how you process admins [20:41:39] you remove admins from admins set if they have some watcher [20:41:41] bawolff: heh [20:41:49] Oh wait [20:41:52] Yeah think I got it [20:41:58] Yeah sorry [20:42:00] Got it [20:42:01] np [20:42:33] (03PS9) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [20:43:11] yeah no, this is it. Sorry for being so dumb lol [20:43:23] (03PS2) 10Pjht: Change getTalkPage() to getTalkPageIfDefined() [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 [20:43:25] or at least I feel dumb atm [20:43:25] (03CR) 10jerkins-bot: [V: 04-1] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:44:03] you feel similar to how I felt after the set thing. Honestly I don't think anyone of us is actually dumb :) [20:44:04] (03CR) 10Pjht: Change getTalkPage() to getTalkPageIfDefined() (031 comment) [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 (owner: 10Pjht) [20:44:26] Hmm that bot message is not good [20:44:52] Nah I don´t think that either, which is why I said that I at least __feel__ dumb [20:45:10] (03CR) 10Urbanecm: "recheck" [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:45:27] I think it's T207310 [20:45:29] T207310: Tests in Tracker fail from time to time from non-obvious reason - https://phabricator.wikimedia.org/T207310 [20:45:52] let's see if it succeeds next time [20:46:07] Yeah it must be, the 2 lines I changed shouldn´t change a thing for the bots tests [20:46:27] (03CR) 10jerkins-bot: [V: 04-1] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:46:43] hmm, second fail [20:46:50] (03CR) 10Urbanecm: "recheck" [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:47:07] let's see what third run of tests will so [20:47:07] Third time´s the charm [20:47:20] And if not than it probably is my fault [20:47:33] yeah [20:47:41] (03CR) 10jerkins-bot: [V: 04-1] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:47:49] sad [20:47:54] yeah [20:48:04] I'll walk a dog, see you in a while [20:48:22] ERROR: test_access_rights (trackersite.tracker.tests.ImportTests) [20:48:31] Sure, cya [20:49:59] (03PS10) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [20:50:46] (03PS11) 10Nathan fraignt: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) [20:50:48] (03CR) 10jerkins-bot: [V: 04-1] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [20:52:15] Done, bot is happy urbanecm! [20:56:51] Nice to see that Nathan_fraignt [21:07:02] Volker_E: hi! Could you review my patch again? https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CookieWarning/+/475599 :D [21:11:50] (03CR) 10Urbanecm: [C: 032] Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [21:11:54] Congrats, Nathan_fraignt [21:12:37] Woah, thanks. Submitting it for review on GCI! [21:12:44] (03Merged) 10jenkins-bot: Change: All notifications will now go via watcher object [wikimedia-cz/tracker] - 10https://gerrit.wikimedia.org/r/475615 (https://phabricator.wikimedia.org/T208656) (owner: 10Nathan fraignt) [21:12:59] 10Google-Code-in-2018, 10WMCZ-Tracker, 10User-Urbanecm: Allow topic admins/ticket owners to override watching set up by system - https://phabricator.wikimedia.org/T208656 (10Urbanecm) 05Open>03Resolved [21:13:17] Approved [21:14:25] Thanks! [21:15:03] Yw [21:18:15] (03CR) 10Esanders: Move VE's ConfirmEdit support to this extension (031 comment) [extensions/ConfirmEdit] - 10https://gerrit.wikimedia.org/r/475505 (https://phabricator.wikimedia.org/T141676) (owner: 10Esanders) [21:18:57] (03CR) 10jerkins-bot: [V: 04-1] Localisation updates from https://translatewiki.net. [core] - 10https://gerrit.wikimedia.org/r/475621 (owner: 10L10n-bot) [21:25:34] (03CR) 10Raimond Spekking: [V: 032] Localisation updates from https://translatewiki.net. [core] - 10https://gerrit.wikimedia.org/r/475621 (owner: 10L10n-bot) [21:25:47] (03CR) 10Raimond Spekking: [V: 032 C: 032] "false positive" [core] - 10https://gerrit.wikimedia.org/r/475621 (owner: 10L10n-bot) [21:29:35] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [skins/MinervaNeue] - 10https://gerrit.wikimedia.org/r/475624 (owner: 10L10n-bot) [21:43:09] (03CR) 10Platonides: [C: 031] Change getTalkPage() to getTalkPageIfDefined() [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 (owner: 10Pjht) [21:43:56] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/475657 (owner: 10L10n-bot) [21:45:10] (03CR) 10jerkins-bot: [V: 04-1] Change getTalkPage() to getTalkPageIfDefined() [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 (owner: 10Pjht) [21:46:13] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/ArticleCreationWorkflow] - 10https://gerrit.wikimedia.org/r/475630 (owner: 10L10n-bot) [21:46:30] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [core] - 10https://gerrit.wikimedia.org/r/475621 (owner: 10L10n-bot) [21:47:06] legoktm: Could you review my patch please? https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CookieWarning/+/475599 [21:47:34] Jenkins test passed succesfuly :D [21:48:37] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/Cargo] - 10https://gerrit.wikimedia.org/r/475628 (owner: 10L10n-bot) [21:52:32] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/AbuseFilter] - 10https://gerrit.wikimedia.org/r/475631 (owner: 10L10n-bot) [21:55:42] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/CentralAuth] - 10https://gerrit.wikimedia.org/r/475632 (owner: 10L10n-bot) [21:58:04] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/CheckUser] - 10https://gerrit.wikimedia.org/r/475634 (owner: 10L10n-bot) [22:02:21] 10MediaWiki-API: API should return a helpful error message when URL is too long - https://phabricator.wikimedia.org/T209590 (10Huji) @Anomie: when I try `https://fa.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=File:Pandora Tomorrow box art.jpg&format=json` with my browser, I get a valid API respo... [22:07:42] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/Echo] - 10https://gerrit.wikimedia.org/r/475641 (owner: 10L10n-bot) [22:07:51] `Your text is very simple and easy to read, likely to be understood by an average 5th-grader (age 10).` I don't think it is good for me ._. [22:10:23] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/CodeReview] - 10https://gerrit.wikimedia.org/r/475636 (owner: 10L10n-bot) [22:12:11] 10SpamBlacklist, 10Stewards-and-global-tools, 10Trust-and-Safety: Spam Blacklist shouldn't be fooled by similar-looking Unicode characters - https://phabricator.wikimedia.org/T14896 (10Bawolff) So a quick hack fix would be in includes/parser/Sanitizer.php ~ line 2047 in Sanitizer::cleanUrl() to add a line `$... [22:16:58] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/Flow] - 10https://gerrit.wikimedia.org/r/475642 (owner: 10L10n-bot) [22:19:34] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/GWToolset] - 10https://gerrit.wikimedia.org/r/475643 (owner: 10L10n-bot) [22:21:40] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/GrowthExperiments] - 10https://gerrit.wikimedia.org/r/475650 (owner: 10L10n-bot) [22:23:41] (03PS12) 10Acamicamacaraca: Add GRAMMAR parser function support for Serbian [extensions/WikimediaMessages] - 10https://gerrit.wikimedia.org/r/457543 (https://phabricator.wikimedia.org/T35546) [22:24:28] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/GeoData] - 10https://gerrit.wikimedia.org/r/475649 (owner: 10L10n-bot) [22:26:23] (03PS10) 10D3r1ck01: tests: Add unit tests for SpamlistLookup::factory() [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/473296 [22:28:18] 10WMCZ-Tracker: In watch.html, the "All" notification should be checked if all notifications are - https://phabricator.wikimedia.org/T210353 (10Urbanecm) [22:28:23] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/475656 (owner: 10L10n-bot) [22:29:37] 10WMCZ-Tracker: In watch.html, the "All" notification should be checked if all notifications are - https://phabricator.wikimedia.org/T210353 (10Urbanecm) [22:30:41] 10Google-Code-in-2018, 10WMCZ-Tracker, 10User-Urbanecm: In watch.html, the "All" notification should be checked if all notifications are - https://phabricator.wikimedia.org/T210353 (10Urbanecm) I imported this as https://codein.withgoogle.com/tasks/5390623558336512/ and I will mentor it. [22:31:44] 10Google-Code-in-2018, 10WMCZ-Tracker, 10User-Urbanecm: Return user to page they were on while clicking on login after successful authentication - https://phabricator.wikimedia.org/T210358 (10Urbanecm) [22:32:24] 10Repository-Ownership-Requests: Nominate Alangi Derick for +2 on mediawiki/* - https://phabricator.wikimedia.org/T209775 (10Bawolff) 05Open>03Resolved a:03Bawolff Its been a week. Closing as success. [22:33:59] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/Popups] - 10https://gerrit.wikimedia.org/r/475661 (owner: 10L10n-bot) [22:35:16] 04(no projects): Allow edits that touch multiple pages and that can still be undone with single click - https://phabricator.wikimedia.org/T210348 (10Aklapper) How does one edit 'touch' multiple pages? Clear steps to reproduce welcome. Please see https://www.mediawiki.org/wiki/How_to_report_a_bug [22:44:18] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/ProofreadPage] - 10https://gerrit.wikimedia.org/r/475665 (owner: 10L10n-bot) [22:46:51] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/UrlShortener] - 10https://gerrit.wikimedia.org/r/475670 (owner: 10L10n-bot) [22:53:32] 10Google-Code-in-2018, 10WMCZ-Tracker, 10User-Urbanecm: Return user to page they were on while clicking on login after successful authentication - https://phabricator.wikimedia.org/T210358 (10Urbanecm) https://codein.withgoogle.com/tasks/4579093363294208/ [22:56:36] (03PS3) 10Pjht: Change getTalkPage() to getTalkPageIfDefined() [extensions/GoogleNewsSitemap] - 10https://gerrit.wikimedia.org/r/475594 [22:58:29] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/TitleBlacklist] - 10https://gerrit.wikimedia.org/r/475672 (owner: 10L10n-bot) [23:00:53] (03CR) 10Gergő Tisza: "Sorry for taking forever to review!" [oauthclient-php] - 10https://gerrit.wikimedia.org/r/408853 (https://phabricator.wikimedia.org/T186739) (owner: 100x010C) [23:08:44] 10MediaWiki-Interface, 10MediaWiki-User-management, 10Security: Editing sitewide JS/CSS pages should require elevated security - https://phabricator.wikimedia.org/T197137 (10Platonides) For what is worth, someone at WMF seems to have decided to start enforcing 2FA for this. Last week, WMFOffice started maili... [23:10:11] 10video2commons: Add logged username in the interface - https://phabricator.wikimedia.org/T210355 (10zhuyifei1999) 05Open>03Invalid Filed https://github.com/toolforge/video2commons/issues/100 Closing as issues regarding v2c's internals are not tracked here. [23:35:14] 10Google-Code-in-2018, 10MediaWiki-User-management, 10Security: audit password policy check for constant time string comparisons - https://phabricator.wikimedia.org/T207777 (10Aklapper) [23:37:52] 10Google-Code-in-2018, 10MediaWiki-User-management, 10Security: audit password policy check for constant time string comparisons - https://phabricator.wikimedia.org/T207777 (10Aklapper) Imported and published as https://codein.withgoogle.com/tasks/5147920727801856/ [23:52:16] takidelfin: looking now [23:53:52] (03PS4) 10Legoktm: Replaced CSSLint with StyleLint [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [23:54:54] 10Google-Code-in-2018, 10Pywikibot, 10Pywikibot-archivebot.py: Add "level=n" option to the template for specifying the heading level of the sections to be archived - https://phabricator.wikimedia.org/T119791 (10Aklapper) @Dvorapa: You have two more weeks for #GCI-2018, if you still plan to. :) [23:54:58] (03CR) 10Legoktm: [C: 032] Replaced CSSLint with StyleLint [extensions/CookieWarning] - 10https://gerrit.wikimedia.org/r/475599 (https://phabricator.wikimedia.org/T206506) (owner: 10Takidelfin) [23:55:05] 10Google-Code-in-2018, 10Pywikibot, 10Pywikibot-cosmetic-changes.py: Edit pages only if edit size/number of characters changed is above threshold - https://phabricator.wikimedia.org/T151438 (10Aklapper) @Dvorapa: You have two more weeks for #GCI-2018, if you still plan to. :) [23:55:53] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MediaWiki-extensions-General, 10MW-1.33-notes (1.33.0-wmf.6; 2018-11-27), and 2 others: Remove unchecked calls to Title::getTalkPage from extensions - https://phabricator.wikimedia.org/T172146 (10Aklapper) [23:58:27] 10Google-Code-in-2018, 10Analytics, 10Analytics-Dashiki, 10goodfirstbug: Add external link to tabs layout - https://phabricator.wikimedia.org/T146774 (10Aklapper) @Milimetric: If you'd still be interested in mentoring this in #GCI-2018, you'd have two more weeks [to register as a mentor](https://www.mediaw...