Page MenuHomePhabricator

SuperHamster (Kevin Payravi)
Software Engineer

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 25 2014, 2:11 AM (496 w, 10 h)
Availability
Available
IRC Nick
SuperHamster
LDAP User
KevinPayravi
MediaWiki User
SuperHamster [ Global Accounts ]

SuperHamster on most wikis. Kevin Payravi on the Wikimedia Commons.

I currently serve on the Board of Wikimedia DC and the steering committee for WikiConference North America. I also co-organize Wiki Loves Monuments in the United States.

Recent Activity

Aug 18 2023

SuperHamster added a comment to T344404: mw.loader.impl is not available on enwiki.

Can confirm, global user scripts now load properly on Wikipedia.

Aug 18 2023, 3:30 AM · Regression, JavaScript, MediaWiki-ResourceLoader, MediaWiki-Platform-Team

Jan 30 2023

SuperHamster added a comment to T327313: Populate caption/alt text from SDC.

The View it! API has been updated to support a ?caption=true query parameter. When provided, the API will return captions in all available languages for each image.

Jan 30 2023, 7:26 AM · View-it!
SuperHamster added a comment to T327320: Display image title on hover.

The title attribute has been added to images in both the carousel and full-gallery view. The on-hover UI is in-progress.

Jan 30 2023, 7:21 AM · View-it!
SuperHamster added a comment to T328250: Fix carousel width in Vector 2022 with limited width mode disabled.

This has been fixed via adding width: 0px; min-width: 100%; to the View it! gallery element. This causes the element to have no width for the sake of its parent elements calculating their widths, but it will appear at 100% width of the page contents.

Jan 30 2023, 7:19 AM · View-it!
SuperHamster updated the task description for T328250: Fix carousel width in Vector 2022 with limited width mode disabled.
Jan 30 2023, 7:17 AM · View-it!
SuperHamster created T328250: Fix carousel width in Vector 2022 with limited width mode disabled.
Jan 30 2023, 7:16 AM · View-it!
SuperHamster updated subscribers of T327321: Clicking image on-wiki triggers MediaViewer.

To get this to work, we would probably have to re-initialize MediaViewer after View it!'s carousel has loaded. I've done some investigating, and also got some guidance from @Tgr.

Jan 30 2023, 7:13 AM · View-it!

Jan 23 2023

SuperHamster updated the task description for T316900: Click to add P18 statement.
Jan 23 2023, 9:27 AM · View-it!
SuperHamster updated the task description for T317041: Campaigns feature.
Jan 23 2023, 9:26 AM · View-it!
SuperHamster added a comment to T316900: Click to add P18 statement.

When viewing a Wikidata item without a P18 statement, View it! carousel images will have a "+" icon as shown:

View it on Wikidata.png (562×948 px, 434 KB)

Jan 23 2023, 9:26 AM · View-it!
SuperHamster added a comment to T327310: Add alt text to copy output.

This would probably only be done in source editor, since the alt text is hidden away in a popup menu in Visual Editor.

Jan 23 2023, 8:46 AM · View-it!

Jan 12 2023

SuperHamster closed T325313: X button to hide as Resolved.
Jan 12 2023, 6:31 PM · View-it!
SuperHamster added a comment to T325313: X button to hide.

A "Close View it!" button has been added below the carousel, floated to the right side of the article title next to where article status icons usually go (featured articles, protection lock icons, etc.)

Jan 12 2023, 6:31 PM · View-it!
SuperHamster closed T326844: Change title blacklist to use q-numbers instead as Resolved.
Jan 12 2023, 6:29 PM · View-it!
SuperHamster created T326844: Change title blacklist to use q-numbers instead.
Jan 12 2023, 6:28 PM · View-it!
SuperHamster closed T325993: Image carousel shows up on Edit mode as Resolved.
Jan 12 2023, 6:26 PM · View-it!
SuperHamster added a comment to T325993: Image carousel shows up on Edit mode.

Carousel now works in source editor as well. To get the q-number, the DOM is queried to pull the q-number from the sidebar's "Wikidata item" link. This isn't ideal and more of a quick solution, pending using an API call (though querying the DOM has the added benefit of not having to wait for an API call to complete).

Jan 12 2023, 6:26 PM · View-it!
SuperHamster closed T325998: Insert image from carousel as Resolved.
Jan 12 2023, 6:21 PM · View-it!
SuperHamster added a comment to T325998: Insert image from carousel.

Copy-to-clipboard has been launched and works in both VE and source editor. The copy-to-clipboard button only appears when editing the page.

Jan 12 2023, 6:21 PM · View-it!

Jan 2 2023

SuperHamster added a comment to T325998: Insert image from carousel.

After discussion, we will be adding a "copy to clipboard" feature for images in the carousal. This is a solid and relatively quick solution that will work in both Visual Editor and source editor. More intricate functionality (like placing an image wherever your cursor is in VE) may be considered in the future.

Jan 2 2023, 11:43 PM · View-it!

Dec 31 2022

SuperHamster closed T326044: Fix carousel / gallery for Vector 2022 and Timeless as Resolved.
Dec 31 2022, 10:00 PM · View-it!
SuperHamster created T326044: Fix carousel / gallery for Vector 2022 and Timeless.
Dec 31 2022, 6:17 PM · View-it!
SuperHamster added a comment to T325993: Image carousel shows up on Edit mode.

Image carousel now works when editing via Visual Editor. This was done by setting pointer-event and opacity CSS on the View it! container, in order to overwrite the ve-init-mw-desktopArticleTarget-uneditableContent class that is applied to the container when VE is activated.

Dec 31 2022, 6:08 PM · View-it!
SuperHamster closed T325995: Hide image carousel on main page as Resolved.
Dec 31 2022, 5:55 PM · View-it!
SuperHamster added a comment to T325995: Hide image carousel on main page.

Added a blacklist to the script that currently just has Main_Page

Dec 31 2022, 5:55 PM · View-it!
SuperHamster closed T325994: Suppress expand arrows for pages with results under 21 as Resolved.
Dec 31 2022, 5:53 PM · View-it!

Dec 24 2022

SuperHamster added a comment to T315918: Create new user script to output image grid embedded on page.

Script is in-progress that outputs an expandable image carousal that can be expanded into a grid. The script pulls from the View it! API.

Dec 24 2022, 3:50 AM · View-it!
SuperHamster changed the status of T315918: Create new user script to output image grid embedded on page from Open to In Progress.
Dec 24 2022, 3:49 AM · View-it!
SuperHamster renamed T315918: Create new user script to output image grid embedded on page from Image grid on wiki page to Create new user script to output image grid embedded on page.
Dec 24 2022, 3:48 AM · View-it!

Dec 8 2022

SuperHamster added a comment to T321013: Automatically load more when scrolling results.

This has been implemented and successfully tested on both desktop and mobile.

Dec 8 2022, 9:43 AM · View-it!
SuperHamster added a comment to T319224: Reduce size of top text on results page.

The introductory logo+text now only appears on the homepage (i.e. user hasn't performed a search yet).

Dec 8 2022, 9:40 AM · View-it!
SuperHamster claimed T321013: Automatically load more when scrolling results.
Dec 8 2022, 7:35 AM · View-it!

Nov 7 2022

SuperHamster added a comment to T315362: Implement authentication in Toolforge.

Oauth authentication is now working; can try it out via https://view-it.toolforge.org/login.

Nov 7 2022, 7:18 PM · View-it!

Oct 31 2022

SuperHamster added a comment to T315362: Implement authentication in Toolforge.

Progress is being made; requested an OAuth consumer key (20f7833888703a9e334d3de1b4501941)

Oct 31 2022, 3:16 AM · View-it!

Oct 26 2022

SuperHamster added a comment to T315367: "returnto" URL parameter.

Since clicking the View it! portlet link now opens in a new tab (T317214), it may be a good idea to remove the "return to article" button, as all the user needs to do to return to the article is switch or close tabs. Removing the button also helps reduce how crowded the top of the page is getting, especially with advanced search enabled.

Oct 26 2022, 7:24 AM · View-it!

Oct 18 2022

SuperHamster moved T316900: Click to add P18 statement from Done to Backlog on the View-it! board.
Oct 18 2022, 10:19 PM · View-it!
SuperHamster reopened T316900: Click to add P18 statement as "Open".
Oct 18 2022, 10:19 PM · View-it!
SuperHamster moved T316901: "View" doesn't show up on mobile from Done to Backlog on the View-it! board.
Oct 18 2022, 10:18 PM · View-it!
SuperHamster reopened T316901: "View" doesn't show up on mobile as "Open".
Oct 18 2022, 10:18 PM · View-it!
SuperHamster added a comment to T317550: Category-only search filter option.

Support for P373 has been added to the UI.

Oct 18 2022, 9:46 PM · View-it!
SuperHamster closed T317563: Start code change log as Resolved.
Oct 18 2022, 9:43 PM · View-it!
SuperHamster added a comment to T317563: Start code change log.

Published changelog here: https://meta.wikimedia.org/wiki/View_it!_Tool/Changelog

Oct 18 2022, 9:43 PM · View-it!

Oct 6 2022

alexhollender_WMF awarded T317217: Make "View" appear disabled when there are no results a Like token.
Oct 6 2022, 5:27 AM · View-it!

Oct 3 2022

SuperHamster closed T318598: Rebrand /test/ as advanced search as Resolved.
Oct 3 2022, 7:18 AM · View-it!
SuperHamster added a comment to T318598: Rebrand /test/ as advanced search.

Advanced search has been added with a toggle and launched live for everyone:

Screen Shot 2022-10-03 at 2.17.07 AM.png (486×928 px, 146 KB)

Oct 3 2022, 7:18 AM · View-it!
SuperHamster closed T317557: Publish View it! code as Resolved.
Oct 3 2022, 7:16 AM · View-it!
SuperHamster added a comment to T317557: Publish View it! code.

Published at https://gitlab.wikimedia.org/kevinpayravi/view-it

Oct 3 2022, 7:16 AM · View-it!
SuperHamster added a comment to T317039: Text box for free-text filtering.

This has been implemented (see screenshot), in both the UI and API (API parameter is freetext).

Oct 3 2022, 5:54 AM · View-it!
SuperHamster closed T317217: Make "View" appear disabled when there are no results as Resolved.
Oct 3 2022, 4:02 AM · View-it!
SuperHamster closed T317561: Have frontend run on View it! API as Resolved.
Oct 3 2022, 4:02 AM · View-it!
SuperHamster added a comment to T317217: Make "View" appear disabled when there are no results.

This has been launched for Vector Legacy, Vector 2022, and Timeless.

Oct 3 2022, 4:01 AM · View-it!

Sep 26 2022

SuperHamster updated the task description for T318612: Scripts++ inclusion.
Sep 26 2022, 7:16 PM · View-it!
SuperHamster closed T317214: Open Toolforge in separate tab as Resolved.
Sep 26 2022, 6:20 PM · View-it!
SuperHamster added a comment to T317217: Make "View" appear disabled when there are no results.

I've got this working with Vector (the old version), though it's not pushed live yet. I may tune the gradient and text color.

Sep 26 2022, 8:29 AM · View-it!
SuperHamster added a comment to T317550: Category-only search filter option.

incategory search has been added to the View it! API.

Sep 26 2022, 12:09 AM · View-it!

Sep 20 2022

SuperHamster updated the task description for T315191: Extending search functionality on Toolforge.
Sep 20 2022, 1:59 AM · View-it!
SuperHamster updated the task description for T316894: Launch View it! tester group.
Sep 20 2022, 1:59 AM · View-it!
SuperHamster updated the task description for T317550: Category-only search filter option.
Sep 20 2022, 1:58 AM · View-it!

Sep 19 2022

SuperHamster added a comment to T315373: Create API endpoint for search functionality.

API endpoint has been expanded with offsets and filters.

Sep 19 2022, 5:03 PM · View-it!

Sep 15 2022

SuperHamster closed T315920: Make tool multilingual as Resolved.
Sep 15 2022, 4:45 PM · View-it!
SuperHamster added a comment to T315920: Make tool multilingual.

User script now supports multiple languages.

Sep 15 2022, 4:45 PM · View-it!

Sep 13 2022

SuperHamster added a comment to T317565: Get stats on per-wiki breakdown.

From T317589: Logging is working again, and I'll be able to extract this data manually as needed. I can probably put a quick script together that trawls through the logs and outputs counts for each project.

Sep 13 2022, 5:20 AM · View-it!
SuperHamster added a comment to T315920: Make tool multilingual.

Started a JSON page where translations for the user script will live:
https://meta.wikimedia.org/wiki/View_it!_Tool/translations.json

Sep 13 2022, 5:18 AM · View-it!
SuperHamster added a comment to T317589: Implement logging on new Node.js app.

Logs have been created, with each request formatted as:

===========================
Request at Tue Sep 13 2022 01:07:51 GMT+0000 (GMT):
User agent: Mozilla/5.0...
Path name: /
Query: q=Q2
Sep 13 2022, 5:17 AM · View-it!

Sep 12 2022

SuperHamster changed the status of T317589: Implement logging on new Node.js app from Open to In Progress.
Sep 12 2022, 11:30 PM · View-it!
SuperHamster created T317589: Implement logging on new Node.js app.
Sep 12 2022, 11:30 PM · View-it!
SuperHamster added a comment to T315373: Create API endpoint for search functionality.

I have created a Node/Express API with basic functionality, allowing you to pull 20 images for a Q-number. I'll soon expand this to allow filtering, pagination, and additional metadata if it's available. Once complete, the frontend UI can start using it as well.

Sep 12 2022, 7:13 AM · View-it!

Sep 10 2022

SuperHamster closed T316892: Open images in new tab as Resolved.
Sep 10 2022, 9:00 PM · View-it!
SuperHamster added a comment to T315191: Extending search functionality on Toolforge.

We now have a separate test page where work on this has begun:
https://view-it.toolforge.org/test/

Sep 10 2022, 8:48 PM · View-it!

Aug 30 2022

SuperHamster closed T315365: Error/null results handling as Resolved.
Aug 30 2022, 5:59 AM · View-it!
SuperHamster added a comment to T315365: Error/null results handling.

Tool now checks for valid Q-number format (user can provide either an integer, or a Q followed by an integer).

Aug 30 2022, 5:59 AM · View-it!
SuperHamster closed T316620: Add placeholder width for loading images as Resolved.
Aug 30 2022, 5:39 AM · View-it!
SuperHamster changed the status of T316620: Add placeholder width for loading images from Open to In Progress.
Aug 30 2022, 5:34 AM · View-it!
SuperHamster created T316620: Add placeholder width for loading images.
Aug 30 2022, 5:34 AM · View-it!
SuperHamster changed the status of T315191: Extending search functionality on Toolforge from Open to In Progress.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster changed the status of T315365: Error/null results handling from Open to In Progress.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster changed the status of T315904: Prep for upcoming demos from Open to In Progress.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315513: Create Wikipedia page as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315369: Backlog development as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315512: Meta page as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315514: Create sign-up for beta testing as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315188: Add Wikimania notes to wiki as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315511: Community Conversation 1 as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315515: Create update sign-up page as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315709: Add Phabricator link to pages as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315125: Create initial POC tool to return images that depict on Commons as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315949: Screenshots (take/upload) of View it! tool in action for Wiki/meta pages, demos, etc as Resolved.
Aug 30 2022, 3:18 AM · View-it!
SuperHamster closed T315941: Create Commons category for images as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315367: "returnto" URL parameter as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315356: Web copy for Toolforge as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315905: Update wiki pages as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315364: Basic user script version as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T316289: Create Feedback document as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315189: WREN meeting promotion as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315915: Make user script work on Wikidata as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T316581: Respond to meta talk page as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T316290: Document feedback as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T316491: Add number of image results to tab as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315712: Telegram announcements as Resolved.
Aug 30 2022, 3:17 AM · View-it!
SuperHamster closed T315361: Implement pagination in Toolforge as Resolved.
Aug 30 2022, 3:16 AM · View-it!