Page MenuHomePhabricator

Andriy.v
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
Jul 13 2019, 6:23 AM (249 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Andriy.v [ Global Accounts ]

Recent Activity

Jan 30 2024

Andriy.v added a comment to T355972: Additional requirements to obtain autoconfirmed rights in ukwiki.

@Andriy.v Technically any edit on any namespace counts! Do you agree with the 10 edits sitewide?

Jan 30 2024, 5:48 PM · Wikimedia-Site-requests

Jan 29 2024

Andriy.v renamed T355972: Additional requirements to obtain autoconfirmed rights in ukwiki from Additional condition to obtain autoconfirmed rights in ukwiki to Additional requirements to obtain autoconfirmed rights in ukwiki.
Jan 29 2024, 8:13 AM · Wikimedia-Site-requests

Jan 27 2024

Andriy.v updated the task description for T355972: Additional requirements to obtain autoconfirmed rights in ukwiki.
Jan 27 2024, 11:42 PM · Wikimedia-Site-requests

Jan 26 2024

Andriy.v updated the task description for T355972: Additional requirements to obtain autoconfirmed rights in ukwiki.
Jan 26 2024, 9:34 PM · Wikimedia-Site-requests
Andriy.v created T355972: Additional requirements to obtain autoconfirmed rights in ukwiki.
Jan 26 2024, 9:24 PM · Wikimedia-Site-requests

Jan 16 2024

Andriy.v closed T320104: Migrate uarchivebot from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

Migration to k8s is completed.

Jan 16 2024, 7:02 AM · Grid-Engine-to-K8s-Migration

Jan 4 2024

Andriy.v closed T319998: Migrate redirtalkdeleter from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

Scheduling works too. Migration to k8s is completed.

Jan 4 2024, 6:01 PM · Grid-Engine-to-K8s-Migration

Jan 3 2024

Andriy.v closed T320004: Migrate resizeimagesbot from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

Ok, I've migrated the tool to k8s.

Jan 3 2024, 10:49 PM · Grid-Engine-to-K8s-Migration
Andriy.v added a comment to T319998: Migrate redirtalkdeleter from Toolforge GridEngine to Toolforge Kubernetes.

https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts_(advanced) might be better for running your own pywikibot scripts.

toolforge jobs run delete-redirtalk-test --command "pwb replace -page:'Користувач:Andriy.v/Чернетка' 'asd' '' -always -summary:test" --image tool-pywikibot/pywikibot-scripts-stable:latest

replace.py needs -family:wikipedia and -lang:uk (or some other project and language) in the command to work with --image tool-pywikibot...

Yes, with -family:wikipedia and -lang:uk it works. But, still I don't know how to run customized pywikibot scripts with k8s. I tried with

toolforge jobs run delete-redirtalk-test --command "python3 ./pywikibot-core/pwb.py myScript" --image python3.11

but it do not work. Now I see in delete-redirtalk-test.err file

Traceback (most recent call last):
  File "/data/project/redirtalkdeleter/./pywikibot-core/pwb.py", line 236, in <module>
    if not check_modules():
           ^^^^^^^^^^^^^^^
  File "/data/project/redirtalkdeleter/./pywikibot-core/pwb.py", line 183, in check_modules
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

That looks like you're missing a library, so you'd need to install it with pip install

Have you tried running scripts like:

tools.TOOLNAME@tools-sgebastion-10:~$ toolforge jobs run my-cool-job --command "$HOME/pwbvenv/bin/python3 $HOME/my-cool-script.py" --image python3.11
Jan 3 2024, 8:06 PM · Grid-Engine-to-K8s-Migration

Jan 1 2024

Andriy.v added a comment to T319998: Migrate redirtalkdeleter from Toolforge GridEngine to Toolforge Kubernetes.

https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts_(advanced) might be better for running your own pywikibot scripts.

toolforge jobs run delete-redirtalk-test --command "pwb replace -page:'Користувач:Andriy.v/Чернетка' 'asd' '' -always -summary:test" --image tool-pywikibot/pywikibot-scripts-stable:latest

replace.py needs -family:wikipedia and -lang:uk (or some other project and language) in the command to work with --image tool-pywikibot...

Jan 1 2024, 9:49 PM · Grid-Engine-to-K8s-Migration

Dec 13 2023

Andriy.v added a comment to T319998: Migrate redirtalkdeleter from Toolforge GridEngine to Toolforge Kubernetes.

I do not know if you have the access to my Toolforge tools, but first of all I want to show my actual situation. I have a "pywikibot-core" directory obtained with the instruction on https://wikitech.wikimedia.org/w/index.php?title=Help:Toolforge/Pywikibot&oldid=1939360#Clone_pywikibot_git_repo and I introduced in directiory "scripts" a custom script that is running every day on Grid Engine by use code

0 23 * * * jsub -once -quiet -N delete_redirtalk python3 $HOME/pywikibot-core/pwb.py my_script -namespaces:1,5,7,9
Dec 13 2023, 9:24 PM · Grid-Engine-to-K8s-Migration

Dec 9 2023

Andriy.v added a comment to T320004: Migrate resizeimagesbot from Toolforge GridEngine to Toolforge Kubernetes.

Hello! I'm the maintainer of the tool. This tool is created to run a custom python script with pywikibot library and some others python libraries (include SQLAlchemy). For now I do not even tried to migrate this tool, because I was unsuccessful with the migration of more simle tools (see T319998 and T320104). Please help me with this one too.

Dec 9 2023, 10:12 AM · Grid-Engine-to-K8s-Migration
Andriy.v added a comment to T319998: Migrate redirtalkdeleter from Toolforge GridEngine to Toolforge Kubernetes.

Hello! I'm the maintainer of the tool. I tried to performe the migration process by myself, but I have some difficulties to do it on Toolforge jobs framework. This tool is created to run a custom python script with pywikibot library. I done everything described in https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts, but still not able to run properly the script on jobs framework and don't know where is a problem.

Dec 9 2023, 10:04 AM · Grid-Engine-to-K8s-Migration
Andriy.v added a comment to T320104: Migrate uarchivebot from Toolforge GridEngine to Toolforge Kubernetes.

Hello! I'm the maintainer of the tool. I tried to performe the migration process by myself, but I have some difficulties to do it on Toolforge jobs framework, I had some progress with raw Kubernetes API option, but the problem occurs with the bot login process (is the OAuth necessary here?). My tool was created to run the Pywikibot script archivebot.py on Grid Engine.

Dec 9 2023, 9:57 AM · Grid-Engine-to-K8s-Migration

Jul 1 2023

Andriy.v added a comment to T156351: Add wiki-specific CSS styles for Parsoid Cite output so that it renders exactly like core Cite output.

After SSastry (WMF) changes, the selector @counter-style is now marked as error and each time I trying to save the page it give me an alert message. It possible to fix this issue?

Jul 1 2023, 10:14 AM · Parsoid-Read-Views (Phase 1 - DiscussionTools support), Parsoid, Cite, Parsoid-Rendering

Jun 21 2023

Andriy.v created T340068: Regular expression "х[ÿý]и" matches "х и" in Abusefilter.
Jun 21 2023, 9:27 PM · PHP 7.4 support, serviceops, AbuseFilter

Mar 24 2023

Andriy.v created T333032: Duplication of "confirmed" user group in special:AbuseFilter permission error text.
Mar 24 2023, 8:32 PM · MediaWiki-User-management

Mar 15 2023

Andriy.v added a comment to T332235: Saved comment on DiscussionTools window loading indefinitely.

Do you see any errors in the console (F12)?

We probably need better error catching for autosave recovery, especially now that we are using localStorage.

No error, but this warning:

Mar 15 2023, 10:50 PM · Editing-team, DiscussionTools
Andriy.v updated the task description for T332235: Saved comment on DiscussionTools window loading indefinitely.
Mar 15 2023, 10:19 PM · Editing-team, DiscussionTools
Andriy.v created T332235: Saved comment on DiscussionTools window loading indefinitely.
Mar 15 2023, 10:18 PM · Editing-team, DiscussionTools

May 28 2022

Andriy.v created T309429: special:UnreviewedPages works only for article namespace in ukwiki.
May 28 2022, 9:30 AM · MediaWiki-extensions-FlaggedRevs, MediaWiki-Special-pages

Jan 14 2022

Andriy.v created T299218: Using {{PAGESINCATEGORY:{{PAGENAME}} }} in articles with apostrophe in their name.
Jan 14 2022, 1:18 PM · MediaWiki-Parser

Aug 1 2021

Andriy.v added a comment to T244567: Some files cannot be deleted "Error deleting file: An unknown error occurred in storage backend "local-multiwrite". " (due to missing physical file for old image entries).

Same error «local-multiwrite» for https://ru.wikipedia.org/wiki/Файл:Карта_Швеции.png, cannot delete, cannot revert to old version (empty 'oldimage' field). Two entries in upload log, only one of them corresponds to page's history.

Aug 1 2021, 12:08 PM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Structured-Data-Backlog, Structured Data Engineering, MediaWiki-File-management, Commons, Wikimedia-production-error, SRE-swift-storage, MediaWiki-Page-deletion
Andriy.v created T287828: Unable to delete `Балістичні таблиці P1720666.JPG` on uk.wikipedia - An unknown error occurred in storage backend "local-multiwrite".
Aug 1 2021, 11:55 AM · SRE, SRE-swift-storage

Sep 28 2020

Andriy.v added a comment to T264012: "new line" button in wikiEditor.

@Aklapper : Probably yes, i've write here because the immediate solution i thinked is to change all <br> tags to <br />. Also because i don't understand the difference between these two kind of syntax and why <br> syntax is better than <br />.

Sep 28 2020, 5:54 PM · WikiEditor
Andriy.v added a comment to T264012: "new line" button in wikiEditor.

@Aklapper : Hi, https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js is a gadget, which is used to highlight text inside tags, brackets, braces, ecc. This gadget is particulary usefull mostly to find unclosed previously mentioned elements and prevent or fix Lint errors. The gadget highlight text, which is inside any kind of HTML tag, including <br>. So if you use <br> to make a new line, the gadget will highlight all text next to this tag until it find </br> tag, which i never seen to use, so it makes useless the function of this gadget. To avoid this problem the solution is to change all <br> tags to <br /> (and so for others similar tags like <hr>), or to modify the gadget to bypassing this kind of tags.

Sep 28 2020, 5:37 PM · WikiEditor
Andriy.v created T264012: "new line" button in wikiEditor.
Sep 28 2020, 3:56 PM · WikiEditor

Mar 29 2020

Andriy.v created T248778: Template:; isuue.
Mar 29 2020, 11:13 AM · MediaWiki-Templates