Page MenuHomePhabricator

Rockingpenny4 (Angel Sharma)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Feb 29 2024, 12:29 PM (8 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Rockingpenny4 [ Global Accounts ]

Schrodinger's cat

Recent Activity

Fri, Apr 19

Rockingpenny4 added a comment to T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.

Update: Merged a few more patches for Wikimedia
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/1019359
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/1017276

Fri, Apr 19, 1:03 AM · Google-Summer-of-Code (2024)

Fri, Apr 12

Rockingpenny4 added a comment to T361979: Extra line break is added when tagging redirects with redirect category tags.

Made a patch for this bug. Here's the relevant screencast:

Fri, Apr 12, 9:58 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Moderator-Tools-Team, PageTriage
Rockingpenny4 claimed T361979: Extra line break is added when tagging redirects with redirect category tags.
Fri, Apr 12, 1:23 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Moderator-Tools-Team, PageTriage

Sat, Apr 6

Rockingpenny4 added a comment to T353437: Maintenance tagging an article adds an unnecessary line break between top and template.

I see a bunch of bugs in your video. Such as duplicating that {{notability}} tag (should detect that it is there and not place it twice, T41319). Or not putting the existing tags in {{multiple issues}} (T361988). This whole section of the code needs a lot of work.

But those bugs are unrelated to this specific ticket and can be handled in other tickets.

Your changes look good. I gotta run, but I think this patch will be merged soon. Thanks for your work on it.

Thanks for the review , I will look into the associated tickets and figure out a fix for them.
Would also appreciate review on the patch I made for T336604 as well, if time allows.

Sat, Apr 6, 8:10 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage
Rockingpenny4 added a comment to T353437: Maintenance tagging an article adds an unnecessary line break between top and template.

I see a bunch of bugs in your video. Such as duplicating that {{notability}} tag (should detect that it is there and not place it twice, T41319). Or not putting the existing tags in {{multiple issues}} (T361988). This whole section of the code needs a lot of work.

But those bugs are unrelated to this specific ticket and can be handled in other tickets.

Your changes look good. I gotta run, but I think this patch will be merged soon. Thanks for your work on it.

Thanks for the review , I will look into the associated tickets and figure out a fix for them.

Sat, Apr 6, 7:55 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage

Fri, Apr 5

Rockingpenny4 added a comment to T353437: Maintenance tagging an article adds an unnecessary line break between top and template.

(Update) Modified the patch for multiple tagging as well and also tweaked the tests. Here's a video:

Should any other changes be made?

Fri, Apr 5, 11:48 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage
Rockingpenny4 added a comment to T353437: Maintenance tagging an article adds an unnecessary line break between top and template.

I'd recommend fixing both in the same patch, if you're willing.

The current patch is breaking a Jest test involving {{Multiple issues}}, so we kind of have to fix it in the same patch anyway.

Although I do think we need to make one change to the failing test too. Should remove the \n before {{Multiple issues.

		return toolbar.submit().then( () => {
			expect( applyTags ).toBeCalledWith( '\n{{Multiple issues|\n{{disputed|date=today}}\n{{linkrot|date=today}}\n}}\nThis is a page.', [ 'disputed', 'linkrot' ] );
		} );

A patch like yours that just changes Wikicode is a great candidate for TDD. You could write a couple extra tests, then just tweak your code until they all pass.

Here's my notes on how to run Jest tests locally: https://en.wikipedia.org/wiki/User:Novem_Linguae/Essays/Docker_tutorial_for_Windows_(WSL)#Jest

Fri, Apr 5, 10:27 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage
Rockingpenny4 added a comment to T353437: Maintenance tagging an article adds an unnecessary line break between top and template.

Hey! I have made a patch for this issue and it fixes line break for single tags :
.

Fri, Apr 5, 12:57 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage

Tue, Apr 2

Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Tue, Apr 2, 11:49 AM · PageTriage, Google-Summer-of-Code (2024)

Mon, Apr 1

Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mon, Apr 1, 8:49 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mon, Apr 1, 8:43 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mon, Apr 1, 8:31 PM · Google-Summer-of-Code (2024)

Apr 1 2024

Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Apr 1 2024, 4:14 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 3:57 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 3:20 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 3:01 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 2:35 PM · Google-Summer-of-Code (2024)
Rockingpenny4 added a subtask for T356436: Improve InlineComments extension: T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 2:32 PM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Rockingpenny4 added a parent task for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal: T356436: Improve InlineComments extension.
Apr 1 2024, 2:32 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Apr 1 2024, 2:31 PM · Google-Summer-of-Code (2024)

Mar 31 2024

Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 31 2024, 9:13 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 31 2024, 9:09 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 31 2024, 8:41 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 31 2024, 8:22 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 moved T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal from Intern Proposals (WIP) to Intern Proposal on the Google-Summer-of-Code (2024) board.
Mar 31 2024, 7:50 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 31 2024, 7:48 PM · PageTriage, Google-Summer-of-Code (2024)

Mar 29 2024

Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 29 2024, 10:56 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 29 2024, 10:44 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 29 2024, 6:36 AM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 29 2024, 6:31 AM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 29 2024, 6:23 AM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 renamed T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal from GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal [WIP] to GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 29 2024, 5:49 AM · PageTriage, Google-Summer-of-Code (2024)

Mar 26 2024

Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 26 2024, 8:43 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 26 2024, 7:12 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 26 2024, 3:11 PM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T358890: Deleting the last inline comments should restore the page to default display.

I have made a fix for this bug. Here is the relevant screencast:

Mar 26 2024, 2:25 PM · Patch-For-Review, MediaWiki-extensions-InlineComments
Rockingpenny4 added a comment to T358890: Deleting the last inline comments should restore the page to default display.

@Yaron_Koren , my apologies I seem to have misunderstood the original bug , should I make a separate task for this new bug and point my patch to it or club the fix for original bug with existing patch? Meanwhile I will work on a fix for this bug.

Mar 26 2024, 1:51 AM · Patch-For-Review, MediaWiki-extensions-InlineComments
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 26 2024, 12:58 AM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T358890: Deleting the last inline comments should restore the page to default display.

@Yaron_Koren on inspecting the CSS , element.style adds an extra top of 10px which is dissolved on reloading , so I have made a fix for that which does it immediately however it also subtracts the 10px from the initial comments without resolving.
Before :

After:

Mar 26 2024, 12:53 AM · Patch-For-Review, MediaWiki-extensions-InlineComments
Rockingpenny4 created T360965: Users should be able to edit comments in InlineComments.
Mar 26 2024, 12:02 AM · MediaWiki-extensions-InlineComments

Mar 25 2024

Rockingpenny4 added a comment to T355942: Add user mentions to InlineComments.

@Yaron_Koren there are multiple approaches for this fix , one such approach is using Discussion Tools extension along with Visual Editor and Echo , I feel using visual editor but hiding the toolbar defeats the purpose of the rich-text editor extension but it is needed for Discussion tools and echo extension is already integrated with it via topic subscriptions feature. Whereas on using a 3rd party autocompletion library like https://jqueryui.com/autocomplete/ etc we would need to populate the user data. Which approach would you suggest to be more favourable or would you suggest a custom approach?

Mar 25 2024, 11:23 PM · MediaWiki-extensions-InlineComments
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 25 2024, 9:08 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 25 2024, 5:21 PM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 claimed T353437: Maintenance tagging an article adds an unnecessary line break between top and template.
Mar 25 2024, 4:46 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, PageTriage

Mar 24 2024

Rockingpenny4 updated the task description for T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 24 2024, 12:03 AM · PageTriage, Google-Summer-of-Code (2024)
Rockingpenny4 created T360848: GSOC-2024 - Improve searchability and filtering of PageTriage feed proposal .
Mar 24 2024, 12:01 AM · PageTriage, Google-Summer-of-Code (2024)

Mar 23 2024

Rockingpenny4 added a comment to T336604: Dragging toolbar then zooming in can cause the toolbar to fall off the screen.

@Novem_Linguae I made a patch for fixing this issue , here is the relevant screencast .

Mar 23 2024, 5:42 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Moderator-Tools-Team (Kanban), PageTriage

Mar 19 2024

Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

Thanks a lot @Jdlrobson for your help , I will definitely keep the inputs in mind for future contributions.

Mar 19 2024, 10:27 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome

Mar 18 2024

Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

@Jdlrobson I have updated the patch according to the requested changes. Please review.

Mar 18 2024, 4:09 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome

Mar 15 2024

Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 15 2024, 4:52 PM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren thanks for the feedback, I have updated my merged patches along with some mock UI in the proposal. I think I can add more information and make it more detailed in the coming days.

Mar 15 2024, 4:44 PM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 15 2024, 4:40 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 15 2024, 2:57 PM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

@Jdlrobson Thanks that worked , I have made a patch for the fix. Here is the relevant screencast:

Mar 15 2024, 7:12 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

From my guess here , isWideScreen() is not updated on browser resize but rather on page reload

image.png (202×849 px, 41 KB)
, due to which showExpandSectionsClientPreference is not given the value of 'true' here
image.png (221×860 px, 19 KB)
. However, I am not entirely sure as I am not able to console.log any debug statements to the browser. Also from the description , by adding CSS do you mean using media queries for it?

Mar 15 2024, 2:15 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

From my guess here , isWideScreen() is not updated on browser resize but rather on page reload

image.png (202×849 px, 41 KB)
, due to which showExpandSectionsClientPreference is not given the value of 'true' here{F42633213}. However, I am not entirely sure as I am not able to console.log any debug statements to the browser. Also from the description , by adding CSS do you mean using media queries for it?

Mar 15 2024, 2:14 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

@Jdlrobson thanks , that did the job , however I'm not seeing my local changes reflect on the browser for some reason , I followed this command as well

image.png (270×888 px, 34 KB)

Mar 15 2024, 1:53 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.
Mar 15 2024, 12:25 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome

Mar 14 2024

Rockingpenny4 added a comment to T355093: Special:NewPagesFeed -> Filters -> DateControlSection components visually cut off on right side.

@Novem_Linguae please review the patch. Here is the relevant screenshot

image.png (680×827 px, 77 KB)

Mar 14 2024, 6:15 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), PageTriage
Rockingpenny4 claimed T336604: Dragging toolbar then zooming in can cause the toolbar to fall off the screen.
Mar 14 2024, 5:35 AM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Moderator-Tools-Team (Kanban), PageTriage
Rockingpenny4 added a comment to T326060: Special:MediaStatistics doesn't have anchor tags for its headings.

Does something like this look correct to you

Mar 14 2024, 3:45 AM · Patch-For-Review, good first task, MediaWiki-Special-pages
Rockingpenny4 added a comment to T357486: Expand all sections should show on resize.

@Jdlrobson my Special:MobileOptions on mediawiki docker setup looks like this

image.png (846×1 px, 220 KB)
, I followed https://www.mediawiki.org/wiki/Extension:MobileFrontend/en. Can you assist me with this?

Mar 14 2024, 2:00 AM · Verified, Web-Team-Backlog (FY2023-24 Q3 Sprint 6), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, good first task, MobileFrontend, patch-welcome

Mar 13 2024

Rockingpenny4 added a comment to T326060: Special:MediaStatistics doesn't have anchor tags for its headings.

@matmarex how can I populate my local database with existing data to test out if my fix is working or not?

Mar 13 2024, 11:24 PM · Patch-For-Review, good first task, MediaWiki-Special-pages
Rockingpenny4 added a comment to T326365: Section titles containing a question mark should be URL encoded in table of contents links.

@Novem_Linguae can you assist me on how the links are being converted and which section to look out for, as on searching I figured out the parser class is responsible for converting syntax to html if that's right?

Mar 13 2024, 10:27 PM · good first task, MediaWiki-Parser, Parsoid

Mar 12 2024

Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 12 2024, 3:27 AM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Jatinder190124 you can also review the PRs and see the approved changes by the maintainer that have been made to resolve the issues and open PRs are also a part of contribution but yes I should mention that they are open, I'll make the changes. Thanks.

Mar 12 2024, 3:26 AM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)

Mar 11 2024

Rockingpenny4 added a comment to T355943: Add date and time to newly-created comments in InlineComments.

@Yaron_Koren I think I have figured out an implementation for this issue . I declared an AddTimestamp api which fetches timestamp from wfTimestampnow() and formats it in the same format as AnnotationFormatter.php and displays it with the author name and registered the api in extension.json . I have attached a screencast of the feature , should I make a draft PR as of now as more changes to AnnotationFormatter are yet to be done, also this is for makeComment.js , I believe similar changes have to be made for addReply.js as well.

Mar 11 2024, 11:54 PM · Patch-For-Review, MediaWiki-extensions-InlineComments
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 11 2024, 10:23 PM · Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren , @Bawolff please have a look at my GSOC proposal and feedback on it will be really appreciated https://phabricator.wikimedia.org/T359889. Thanks!

Mar 11 2024, 10:12 PM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 11 2024, 10:08 PM · Google-Summer-of-Code (2024)
Rockingpenny4 updated the task description for T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 11 2024, 10:01 PM · Google-Summer-of-Code (2024)
Rockingpenny4 created T359889: Gsoc-2024 : Improve InlineComments Extension Project Proposal.
Mar 11 2024, 9:54 PM · Google-Summer-of-Code (2024)
Rockingpenny4 claimed T355093: Special:NewPagesFeed -> Filters -> DateControlSection components visually cut off on right side.
Mar 11 2024, 6:50 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), PageTriage

Mar 10 2024

Rockingpenny4 added a comment to T357337: [Project proposal] Improve searchability and filtering of PageTriage feed.

@Soda , I already have mediawiki setup and will proceed with the PageTriage Extension installation . I have previously contributed to WikiEduDashboard and InlineComments Extension under Wikimedia, that being said , will my previous contributions help my proposal being selected?

Mar 10 2024, 5:56 AM · Google-Summer-of-Code (2024), PageTriage

Mar 8 2024

Rockingpenny4 added a comment to T355943: Add date and time to newly-created comments in InlineComments.

@Yaron_Koren , on going through the codebase I understood a few things ,

  1. In makeComment.js the below code snippet gets the username and appends it to the textDiv when a comment is added.
Mar 8 2024, 11:51 PM · Patch-For-Review, MediaWiki-extensions-InlineComments

Mar 7 2024

Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/5661
https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/5601
https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/5687
https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/5581 [Draft]
These are some of the PR's that I have made for WikiEduDashboard .

Mar 7 2024, 9:42 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren , will my previous contributions to other projects like WikiEduDashboard under Wikimedia help my application in being accepted for this project?

Mar 7 2024, 5:46 AM · MediaWiki-extensions-AdminLinks
Rockingpenny4 updated Rockingpenny4.
Mar 7 2024, 4:14 AM

Mar 6 2024

Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren and @Bawolff I went through the extension on my local and currently an option to edit and delete comments is not available (a similar example , say google docs has those features) , we can go around that by resolving the comments but introducing these features will make it more user friendly . What are your opinions on it?

Mar 6 2024, 4:14 PM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)

Mar 5 2024

Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

Thanks a lot for your help @Yaron_Koren . I previously made some contributions to WikiEduDashboard and found this project listed for GSOC quite interesting. Should I try my hands on some of the bigger tasks like T355943 to get a better understanding of the codebase or would you suggest some other tasks for me to take up?

Mar 5 2024, 4:32 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren I configured the InlineComments extension on my local and went through the documentation and found out that it uses ContentHandler , however I was not able to figure out how to navigate to it on my localhost. Is there any reference for that I can go through?

Are you able to navigate to MediaWiki (If not, the answer depends on how you setup mediawiki, see https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker for more info)? You would just go to the main page of your wiki once set up. At the start there are no comments so you have to add one by highlighting text. You can only do this if you logged into an account, so make sure you did that.

Mar 5 2024, 4:27 PM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Rockingpenny4 committed rEADL71a4997b16e0: ALRow: Add row search class.
ALRow: Add row search class
Mar 5 2024, 4:08 PM
Rockingpenny4 added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren I configured the InlineComments extension on my local and went through the documentation and found out that it uses ContentHandler , however I was not able to figure out how to navigate to it on my localhost. Is there any reference for that I can go through?

Mar 5 2024, 4:50 AM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren I resolved the errors and now the composer test is not showing any linting errors, I have updated the patch as well.

Mar 5 2024, 3:41 AM · MediaWiki-extensions-AdminLinks

Mar 4 2024

Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

I went through the pipeline failure and there were some linting errors and I tried to fix it using

phpcbf --standard=PSR12  extensions/AdminLinks/includes/ALRow.php
Mar 4 2024, 10:32 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

I have updated the changes for it.

Mar 4 2024, 8:50 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

Any of 'data-rowName' , 'data-row-name' would be clear and simple enough I think.

Mar 4 2024, 8:36 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

I thought name was meant to be this->name of the row, so should I leave it as it is or add name? And I will fix the tabs and spaces.

Mar 4 2024, 8:28 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Rockingpenny4 - great, this looks like a reasonable approach to use.

Two things:

  • Please use tabs instead of spaces.
  • Using simply the row name as the class name is not a good solution, I don't think - there's a high chance that a row name like "main" will conflict with some other class called "main". I think there are only two real approaches: having it as a class name with a prefix like "admin-links-row-", or having it as a custom attribute like "data-row-name". They both have their advantages; I'm not sure which is the better solution. What do you think?
Mar 4 2024, 8:24 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren I have made the required changes and tested them locally and updated on the patch.

Mar 4 2024, 8:09 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren
I will definitely use tabs and make the indentation changes , both approaches will work but I would prefer custom attributes as it would make it easier for future developers to maybe add more information to rows and also convenient for designers.

Mar 4 2024, 2:49 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

Apologies for the inconvenience , I'm still figuring out gerrit , it looks like I made the changes but didn't click publish, here are the new changes : https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AdminLinks/+/1007973/3 .

Mar 4 2024, 5:31 AM · MediaWiki-extensions-AdminLinks

Mar 3 2024

Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AdminLinks/+/1007973

Mar 3 2024, 11:59 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

I changed the approach a bit as in the earlier approach, rawElement self opened and closed the p tag and another p tag was manually appended resulting in two p tags. In the new approach all the content is collected first inside the loop and passed as an argument. This ensures that the <p> tag is properly closed with all the content inside it.

image.png (270×480 px, 65 KB)
image.png (453×971 px, 150 KB)

Mar 3 2024, 9:56 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

I have attached screenshots above when spaces are included, it replaces spaces with underscore in class names and the website and the source HTML renders fine, should I attach a screenshot of that as well?

Mar 3 2024, 8:06 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

Okay then, are there any more changes to be made? If not, I will look into the InlineComments codebase and resolve some of the bigger issues.

Mar 3 2024, 7:38 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren I tested row names with spaces and special characters and it breaks with apostrophes so either we can specify to replace apostrophes with something else in classnames or we can use htmlspecialchars to escape them .

image.png (129×456 px, 9 KB)
image.png (129×456 px, 20 KB)

Mar 3 2024, 6:42 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren I have updated the original patch and while testing it locally, I created an instance of a row with name containing spaces but I wasn't able to explicitly access the class attribute's value .

Mar 3 2024, 5:21 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

@Yaron_Koren I have updated the original patch and while testing it locally, I created an instance of a row with name containing spaces but I wasn't able to explicitly access the class attribute's value .

Mar 3 2024, 5:20 PM · MediaWiki-extensions-AdminLinks
Rockingpenny4 added a comment to T327263: Add class to row's paragraph.

Great, should I go ahead and push the changes?

Mar 3 2024, 2:29 PM · MediaWiki-extensions-AdminLinks