Page MenuHomePhabricator

Geertivp (Geert Van Pamel)
Board member of WMBE

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Dec 12 2017, 12:48 AM (330 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Geertivp [ Global Accounts ]
  • Running a private MediaWiki instance since 2005
  • Ran MediaWiki for 13 years on a Tru64 AlphaServer
  • Currently on Linux Mint with Raspberry Pi and Oracle VM Virtualbox
  • Wikipedian since 2005
  • Knowledge:

MediaWiki
Wikidata
SPARQL
HTML
CSS
Linux
Apache
MySQL/MariaDB
PHP
Java, Perl
Raspberry Pi
Raspbian
Oracle VM Virtualbox
TCP/IP networking (WAN/LAN/routing/security/programming)
Data modelling

  • Has implemented quite some patches for MediaWiki
  • CSS specialist
  • Programming
  • Wants to learn:

JavaScript
Write (complex) MediaWiki templates to present Wikidata items

Recent Activity

Feb 7 2024

Geertivp added a comment to T270377: VisualEditor throws "Error contacting the Parsoid/RESTBase server (HTTP 500)" on fresh installation.

The problem being yesterday solved... today I thumble into another problem:
http://192.168.1.42/wiki/index.php?title=Parsoid&veaction=edit

{"messageTranslations":{"en":"The requested relative path (/v3/page/Parsoid) did not match any known handler"},"httpCode":404,"httpReason":"Not Found"}

Feb 7 2024, 9:43 AM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Feb 6 2024

Geertivp added a comment to T270377: VisualEditor throws "Error contacting the Parsoid/RESTBase server (HTTP 500)" on fresh installation.

I was able to solve this problem on an existing MW 1.35. The problem unexpectedly occurred after an upgrade from Linux Mint 20.3 to 21.3, which involved an upgrade from PHP 7.4 to 8.1. The Visual Editor worked well with PHP 7.4 but systematically failed on 8.1.

Feb 6 2024, 10:18 PM · MW-1.41-notes, Editing-team (Third-party), VisualEditor

Jan 3 2024

Geertivp added a comment to T354230: thumb getmagicword should return local names.
Jan 3 2024, 12:04 PM · Pywikibot

Jan 2 2024

Geertivp created T354230: thumb getmagicword should return local names.
Jan 2 2024, 10:40 PM · Pywikibot

Dec 31 2023

Geertivp added a comment to T354110: Request feature: Make a list of user file uploads or user pages created.

This is equivalent functionality delivered via xtools:

Dec 31 2023, 9:36 AM · AutoWikiBrowser

Dec 30 2023

Geertivp created T354110: Request feature: Make a list of user file uploads or user pages created.
Dec 30 2023, 9:17 AM · AutoWikiBrowser

Nov 24 2023

Pppery awarded T223136: Move Categories from body text into database table a Dislike token.
Nov 24 2023, 7:44 PM · MediaWiki-Page-history, MediaWiki-Page-derived-data, Schema-change, MediaWiki-Page-diffs, MediaWiki-Categories

Oct 16 2023

Geertivp added a comment to T348840: Firefox ignores CSS column-count rendering.

I have done some more research. The following code works for all browsers, and is better recognised by the Visual editor:

Oct 16 2023, 7:40 PM · Browser-Support-Firefox, CSS
Geertivp added a comment to T348840: Firefox ignores CSS column-count rendering.

This problem seems to exist already since 2008 in Firefox... time to fix...

Oct 16 2023, 6:38 PM · Browser-Support-Firefox, CSS

Oct 13 2023

Geertivp created T348840: Firefox ignores CSS column-count rendering.
Oct 13 2023, 9:16 AM · Browser-Support-Firefox, CSS

Sep 29 2023

Geertivp added a comment to T347672: ListeriaBot Toolforge Webservice request timed out.

Problem had already been logged on 2023-09-27 via https://github.com/magnusmanske/listeria_rs/issues/109. Why does it take 2 days to resolve the operational problem?

Sep 29 2023, 12:04 PM · Tools
Geertivp added a comment to T347672: ListeriaBot Toolforge Webservice request timed out.

Problem was resolved since 2023-09-29 11:30. Can anybody document the solution?

Sep 29 2023, 11:49 AM · Tools
Geertivp created T347672: ListeriaBot Toolforge Webservice request timed out.
Sep 29 2023, 8:56 AM · Tools

Aug 27 2023

Geertivp created T345042: How to translate MediaWiki Magic words with Pywikibot?.
Aug 27 2023, 1:17 PM · Pywikibot-Scripts, Pywikibot

Jun 20 2023

Geertivp added a comment to T337529: Campaign create message misleads.

I can't remove the duplicate campaigns. In addition, I can't get the category updated. The campaign list stays empty. Possibly caused by the duplicate campaigns using the same category?

Jun 20 2023, 12:14 PM · Wiki-Mentor-Africa, ISA

Feb 17 2023

Geertivp added a comment to T329922: SecurePoll should use active wiki (or allow users to select a wiki).

As an alternative, the polling system could use the Wikipedia where the user has the most contributions.

Feb 17 2023, 10:26 AM · MediaWiki-extensions-SecurePoll
Geertivp added a comment to T329922: SecurePoll should use active wiki (or allow users to select a wiki).

Technically, the Home is frequently (and often wrongly) set to the English Wikipedia, because new accounts e.g. created via the Events & Progams dashboard are always created on the English Wikipedia, while the user is possibly most of the time active on other Wikipedia language's. Therefore tools should create the account on the correct Wikipedia language. I have filed T307878 for this problem.

Feb 17 2023, 10:24 AM · MediaWiki-extensions-SecurePoll
Geertivp updated the task description for T307878: The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account.
Feb 17 2023, 10:22 AM · Education-Program-Dashboard

Feb 12 2023

Geertivp added a project to T329380: ListeriaBot returns "Last line: ERROR: Login failed": Wikidata.

@Lydia_Pintscher Strange server error? Who can solve this? The application ListeriaBot has stopped since 8 Februari... GLAM projects are using this tool a lot to organise edit-a-thons...

Feb 12 2023, 12:42 PM · Wikidata, Tools

Feb 10 2023

Geertivp updated subscribers of T329380: ListeriaBot returns "Last line: ERROR: Login failed".

@Magnus - As per http://magnusmanske.de/wordpress/?p=650, bugs should be registered only via https://github.com/magnusmanske/listeria_rs/issues, and no longer via https://bitbucket.org/magnusmanske/listeria.

Feb 10 2023, 6:10 PM · Wikidata, Tools

Jan 31 2023

Geertivp triaged T328476: Outreachdashboard nginx 504 Gateway Time-out as Unbreak Now! priority.
Jan 31 2023, 5:55 PM · Education-Program-Dashboard
Geertivp created T328476: Outreachdashboard nginx 504 Gateway Time-out.
Jan 31 2023, 5:51 PM · Education-Program-Dashboard

Jan 8 2023

Geertivp created T326510: How can I obtain the resolution or the image size from an SDC image via Pywikibot?.
Jan 8 2023, 11:10 PM · SDC-Statements, Pywikibot, Structured-Data-Backlog

Dec 22 2022

Geertivp renamed T307878: The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account from The Outreachdashboard (Campaign and Events tool) should use the browser language settings when creating a user account, or logging in to The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account.
Dec 22 2022, 8:53 AM · Education-Program-Dashboard
Geertivp added a comment to T307878: The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account.

See also https://meta.wikimedia.org/wiki/Talk:Programs_%26_Events_Dashboard#Non-English_users_are_confused_when_requesting_or_creating_a_user_account

Dec 22 2022, 8:44 AM · Education-Program-Dashboard

Dec 10 2022

Geertivp created T324882: ListeriaBot returns 502 Bad Gateway error - Requires probably a server restart.
Dec 10 2022, 8:04 AM · Wikidata, Tools

Sep 2 2022

Geertivp added a comment to T314942: Pywikibot client to load ISBN related data into Wikidata.
  1. I believe my script is actually solving T282719, and I have been taking care to implement the required data quality rules (only loading validated data, not creating duplicate statements). The other tasks are loosely related to ISBN, and could be omitted from the script, when you feel the need.
  2. The mainlang global variable is indeed the default description language, when the ISBN digital libraries would not return a language value. It determines in which language the label is written when creating a new instance. Therefore it is important to group ISBN numbers by language when exececuting the script, to ensure creating the label in the correct language. It is also used to search for items, and for displaying properties and items in the user language.
    • I would propose that you reinstate the original code line inputfile = sys.stdin.read(). This allowed to run the script for 1000s of ISBN numbers, when needed, on multiple lines (e.g. the full references section of any Wikipedia page containing ISBN numbers, via regex).
    • You changed it into: inputfile = pywikibot.input('Get list of item numbers'), which basically allows to process only 1 single ISBN number (one single input line), which I don't find a good solution...
  3. I am currently working on "Known problems" like ensuring the inverse relationship between "Written work" and "Edition", making sure that the "Is a written work" and "Edition" statements exists at the level of Written work.
    • Other known problems can't be solved by the script, because they are caused by external, or complex internal data quality problems, and should stay. Examples: a Publisher is not found, because the statement "Is a publisher" was not assigned to its item.
    • Some other known problems could be moved to "To do", when they would require additional development.
    • I would personally want to add here another interesting functionality: "Implement a webservice on toolforge.org, based on the current shell script", accepting input from a textbox instead of from stdin.
  4. The documentation links could be split into specific or general documentation (the general, non script specific documentation could also be removed -- I included it for myself to easily find the documentation).
  5. The environment restrictions are indeed common for all Pywikibot scripts, so could be left out of the script.
  6. Since I am still the only author at https://github.com/geertivp/Pywikibot I have changed the license to MIT. So you can change the license to MIT in the source code as well.
Sep 2 2022, 2:51 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Aug 26 2022

Geertivp updated Geertivp.
Aug 26 2022, 9:52 PM

Aug 25 2022

Geertivp added a comment to T314942: Pywikibot client to load ISBN related data into Wikidata.

I have uploaded https://gerrit.wikimedia.org/r/c/pywikibot/core/+/826631

Aug 25 2022, 5:50 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022
Geertivp added a comment to T314942: Pywikibot client to load ISBN related data into Wikidata.

Thanks, @Xqt. I believe I might use https://gerrit-patch-uploader.toolforge.org, as a first step? In this case I do not need to install additional tools and learn complicated commands? I might later use the more advanced tools, once I get more experience?

Aug 25 2022, 4:12 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Aug 16 2022

Geertivp added a project to T314942: Pywikibot client to load ISBN related data into Wikidata: WikiCite.
Aug 16 2022, 9:53 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Aug 15 2022

Geertivp added a comment to T314942: Pywikibot client to load ISBN related data into Wikidata.

I have an account on Gerrit, but I have never used it... if you could provide me with a "next step", this would be great... Thanks for your support.

Aug 15 2022, 1:57 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Aug 14 2022

Geertivp added a comment to T314942: Pywikibot client to load ISBN related data into Wikidata.

If you believe my script is good enough, I would be delighted that you assist me?

Aug 14 2022, 9:35 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Aug 11 2022

Geertivp added a member for Wikimania-Hackathon-2022: Geertivp.
Aug 11 2022, 12:15 PM
Geertivp removed a member for Wikimania-Hackathon-2022: Geertivp.
Aug 11 2022, 12:15 PM
Geertivp added a member for Wikimania-Hackathon-2022: Geertivp.
Aug 11 2022, 12:13 PM

Aug 10 2022

Geertivp added a project to T314942: Pywikibot client to load ISBN related data into Wikidata: Pywikibot.
Aug 10 2022, 6:43 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022
Geertivp added a project to T314942: Pywikibot client to load ISBN related data into Wikidata: Pywikibot-Scripts.

Correction

Aug 10 2022, 6:22 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022
Geertivp removed projects from T314942: Pywikibot client to load ISBN related data into Wikidata: Pywikibot-Scripts, Pywikibot.
Aug 10 2022, 6:19 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022
Geertivp created T314942: Pywikibot client to load ISBN related data into Wikidata.
Aug 10 2022, 3:21 PM · WikiCite, Pywikibot, Pywikibot-Scripts, Wikimania-Hackathon-2022

Jun 10 2022

Geertivp added a comment to T286349: Pasting an Excel table in MediaWiki Visual editor does not work any more.

The problem occurred again, unexpectedly... strange...

Jun 10 2022, 10:58 PM · Editing-team, VisualEditor

May 28 2022

Geertivp renamed T223111: Commons file upload tool should show all descriptions input fields for each Babel language from Commons file upload tool does not automatically show all descriptions input fields for each Babel languages to Commons file upload tool should show all descriptions input fields for each Babel language.
May 28 2022, 7:20 PM · Wikimedia-Hackathon-2019, Commons-Mass-Description

May 8 2022

Geertivp added a comment to T307878: The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account.

In addition to that, if the browser is not set to the native user language correctly, the user can still change ones language interactively in the Outreach application. Then the application should login to this specific language Wikipedia, often different from EN...

May 8 2022, 10:48 PM · Education-Program-Dashboard
Geertivp created T307878: The Outreachdashboard (Campaign and Events tool) should use the home Wiki language when creating a user account.
May 8 2022, 8:46 PM · Education-Program-Dashboard

May 6 2022

Geertivp created T307768: Outreachdashboard application Internal Sever error.
May 6 2022, 9:19 AM · Education-Program-Dashboard

Apr 14 2022

Geertivp added a comment to T306207: MediaWiki Visual editor drops valign="top" from table row.

Real-live example of a manual correction after the valign="top" was lost:

I believe that the error might also occur when switching back and forth between the Visual editor and the Tag editor?

Apr 14 2022, 6:54 PM · VisualEditor
Geertivp created T306207: MediaWiki Visual editor drops valign="top" from table row.
Apr 14 2022, 6:01 PM · VisualEditor

Mar 1 2022

Geertivp added a comment to T106641: '' is frequently used unnecessarily in VisualEditor and put in <nowiki>.

Another issue was typing a #REDIRECT [[xxx]] in the tag editor that generated <nowiki>#</nowiki>REDIRECT [[xxx]] (obvisouly wrong) when the code was immediately saved.

Mar 1 2022, 8:28 PM · VisualEditor

Feb 28 2022

Geertivp added a comment to T302490: Add other user links in Campaign Dashboard application.

I believe that Education-Program-Dashboard might be a better tag... (already present) -- so you might remove Outreach-Programs-Projects?

Feb 28 2022, 2:22 PM · Education-Program-Dashboard

Feb 25 2022

Geertivp added a comment to T9184: Optionally exclude subpages from Special:Allpages and Special:Prefixindex.

I would propose to add a parameter "level=1" to the Special:PrefixIndex to e.g. limit the list to the first level (main subpages); level=2 would also show the sub-subpages, etc. When there are too many sublevels an unrestricted subpage list confuses the users. Then we could have the same list generating statement on the next sublevel, etc. making it more easy to easily navigate through subpages.

Feb 25 2022, 2:29 PM · Discovery-Search, MediaWiki-Search
Geertivp added a comment to T95702: Be able to use the auto-cite tool to insert a citation template outside of a reference.

Why are we waiting to implement this easy solution to have inline citations after a bullet point? I can't motivate this missing functionality to participants of Wikipedia writing sessions...

Feb 25 2022, 12:14 PM · Design, VisualEditor-MediaWiki-References, VisualEditor, Citoid
Geertivp added a comment to T302490: Add other user links in Campaign Dashboard application.

You might choose to only implement the User page and the User talk page link (which are the most important). Sending an e-mail could be done indirectly via the User edits page; and this is only available for users that have activated their e-mail address. This would require only a single additional click.

Feb 25 2022, 11:37 AM · Education-Program-Dashboard

Feb 24 2022

Geertivp created T302490: Add other user links in Campaign Dashboard application.
Feb 24 2022, 12:35 PM · Education-Program-Dashboard

Feb 23 2022

Geertivp updated the task description for T302355: Create instant Cite references with the Visual editor omitting the ref-tag.
Feb 23 2022, 8:59 AM · VisualEditor-MediaWiki-References, Cite, VisualEditor

Feb 22 2022

Geertivp created T302355: Create instant Cite references with the Visual editor omitting the ref-tag.
Feb 22 2022, 11:51 PM · VisualEditor-MediaWiki-References, Cite, VisualEditor

Feb 15 2022

Geertivp added a comment to T106641: '' is frequently used unnecessarily in VisualEditor and put in <nowiki>.

Unwanted <nowiki> tags and line spacing are also generated when pasting wiki text in the Visual editor using Google Chrome Control-Shift-V (paste without formatting).

Feb 15 2022, 9:49 AM · VisualEditor

Jan 23 2022

Geertivp created T299857: MediaWiki should accept the browser Accept-Language header when not logged in.
Jan 23 2022, 10:40 AM · I18n

Jan 14 2022

Geertivp added a comment to T279386: Creating a round in Montage with a list of files produces import warning and disqualifies all entries.

Thanks, it was not clear to me what "file list" could have meant; I thought about a physical file containing the image list... but no: it was just the bare "list of files" as such. Maybe the label of this option could be better just "copy/paste" or "in situ". I will try that option next time. The errors you encountered were probably caused because the encoding via the browser is not UTF-8. You should have used wget on Linux, which works great. I have also a proper UTF-8 copy on a my laptop.

Jan 14 2022, 10:37 AM · Tools, Wiki-Loves-Monuments, Montage

Jan 13 2022

Geertivp updated the task description for T299167: Allow for multiple categories in montage when creating round 1.
Jan 13 2022, 10:16 PM · Montage
Geertivp added a comment to T279386: Creating a round in Montage with a list of files produces import warning and disqualifies all entries.

Here is the file: https://wikimedia.be/public/wlh/Montage_list_Wiki_Loves_Heritage_2021.txt

Jan 13 2022, 10:05 PM · Tools, Wiki-Loves-Monuments, Montage
Geertivp created T299167: Allow for multiple categories in montage when creating round 1.
Jan 13 2022, 8:11 PM · Montage
Geertivp added a comment to T279386: Creating a round in Montage with a list of files produces import warning and disqualifies all entries.

I encounter the same problem with a correct formatted file... problem is not solved...

Jan 13 2022, 7:52 PM · Tools, Wiki-Loves-Monuments, Montage

Oct 14 2021

Geertivp added a comment to T212428: includes/Revision/RevisionStore.php: Main slot of revision (number) not found in database!.

@Mauricioadriano I proposed a workaround on 4 dec 2020, and at least 4 others confirmed that this solved their instance problem.

Oct 14 2021, 7:25 AM · Unstewarded-production-error, affects-translatewiki.net, User-brennen, Platform Team Initiatives (MCR), MediaWiki-Core-Revision-backend, Multi-Content-Revisions (Reactive), Wikimedia-production-error

Sep 21 2021

Geertivp created T291462: embed.html Wikidata Query SELECT only shows large Wikidata logo.
Sep 21 2021, 8:22 AM · Wikidata, Wikidata Query UI

Aug 26 2021

Geertivp created T289761: Consolidating wikidata user interface label editor update history.
Aug 26 2021, 8:54 AM · Wikidata

Aug 13 2021

Geertivp closed T286349: Pasting an Excel table in MediaWiki Visual editor does not work any more as Declined.

The problem seems to have disappeared. Pasting an Excel sheet with the Visual editor even works now with Firefox.

Aug 13 2021, 11:43 AM · Editing-team, VisualEditor

Jul 31 2021

Geertivp added a comment to T286349: Pasting an Excel table in MediaWiki Visual editor does not work any more.

I am using standard versions of Excel and Chrome and Opera.

Jul 31 2021, 9:01 AM · Editing-team, VisualEditor

Jul 16 2021

Geertivp added a comment to T286651: ISA Tool not available nginx 502 Bad Gateway problem.

The problem has been solved, but please, can somebody document the root cause, and its solution? (and maybe indicate which hotline can be contacted in case the problem occurs again?).

Jul 16 2021, 12:37 PM · ISA

Jul 14 2021

Geertivp changed the subtype of T286651: ISA Tool not available nginx 502 Bad Gateway problem from "Bug Report" to "Production Error".
Jul 14 2021, 7:41 PM · ISA
Geertivp created T286651: ISA Tool not available nginx 502 Bad Gateway problem.
Jul 14 2021, 2:22 PM · ISA

Jul 8 2021

Geertivp created T286349: Pasting an Excel table in MediaWiki Visual editor does not work any more.
Jul 8 2021, 4:11 PM · Editing-team, VisualEditor

Jul 3 2021

Geertivp added a comment to T286015: Wikimedia Commons Module creator uses a wrong regex for property Property:P1053.

I logged https://commons.wikimedia.org/wiki/Module_talk:Creator#Wikimedia_Commons_Module_creator_uses_a_wrong_regex_for_property_Property:P1053, but no response till now.

Jul 3 2021, 5:44 PM · Commons
Geertivp added a comment to T286123: Pywikibot hangs sometimes.

I have encountered a hanging script when my local network had a connectivity problem.

Jul 3 2021, 5:42 PM · Pywikibot-redirect.py, Pywikibot

Jul 2 2021

Geertivp created T286015: Wikimedia Commons Module creator uses a wrong regex for property Property:P1053.
Jul 2 2021, 8:44 AM · Commons

Jul 1 2021

Geertivp created T285969: Upload wizard structured data on Commons does not allow to enter values for statements.
Jul 1 2021, 5:33 PM · Wikidata, SDC General

Jun 19 2021

Geertivp added a comment to T285112: Wikimedia Meet 404ing.

Why is this tool not proactively monitored?

Jun 19 2021, 9:33 AM · User-Ladsgroup, Wikimedia Meet

May 31 2021

Geertivp placed T223141: Use Wikidata statements to build infoboxes up for grabs.

It would be nice if someone could list here specific documentation how to implement a new data driven infobox on Wikipedia.

May 31 2021, 6:58 PM · Wikimedia-Hackathon-2019, Wikidata

Apr 14 2021

Geertivp added a comment to T212428: includes/Revision/RevisionStore.php: Main slot of revision (number) not found in database!.

I get really confused now.

Apr 14 2021, 9:24 PM · Unstewarded-production-error, affects-translatewiki.net, User-brennen, Platform Team Initiatives (MCR), MediaWiki-Core-Revision-backend, Multi-Content-Revisions (Reactive), Wikimedia-production-error
Geertivp added a comment to T212428: includes/Revision/RevisionStore.php: Main slot of revision (number) not found in database!.

This is a known bug in the update script. The slots table was created in 1.31.10 (minor version). Normally there are only database changes in a major version. The update.php script should have automatically run the populateContentTables.php script during the upgrade, but it does not.

Apr 14 2021, 6:11 PM · Unstewarded-production-error, affects-translatewiki.net, User-brennen, Platform Team Initiatives (MCR), MediaWiki-Core-Revision-backend, Multi-Content-Revisions (Reactive), Wikimedia-production-error

Feb 5 2021

Geertivp closed T273917: pywikibot User send_email function cannot handle a mass mailing? as Resolved.

Thanks, problem solved, see https://be.wikimedia.org/wiki/Pywikibot/Mass_user_mailing/Send_email.py

Feb 5 2021, 11:15 AM · Massmailer

Feb 4 2021

Geertivp added a comment to T273917: pywikibot User send_email function cannot handle a mass mailing?.

Apparently the noratelimit right was removed from the group bots in Wikidata, see T258354 ?

Feb 4 2021, 11:03 PM · Massmailer
Geertivp added a comment to T273917: pywikibot User send_email function cannot handle a mass mailing?.

Could it be acceptable to add e.g. ?

Feb 4 2021, 10:54 PM · Massmailer
Geertivp added a comment to T273917: pywikibot User send_email function cannot handle a mass mailing?.

How could I request the noratelimit right?

Feb 4 2021, 7:01 PM · Massmailer
Geertivp created T273917: pywikibot User send_email function cannot handle a mass mailing?.
Feb 4 2021, 6:36 PM · Massmailer

Dec 4 2020

Geertivp added a comment to T212428: includes/Revision/RevisionStore.php: Main slot of revision (number) not found in database!.

I got a similar error halfway running update.php when upgrading from 1.31 to 1.35. It seems that the slots table was created in 1.31.10 (minor version) and that the populateContentTables.php script normally should have been executed automatically by the update.php script. Luckily by running the populateContentTables.php manually I could run update.php a 2nd time to execute the rest of the upgrade (without requiring to restore the database to the initial backup). Here is the log tail from the 1st run of update.php

Modifying table site_stats ...done.^M
Populating ar_rev_id.^M
Populating ar_rev_id...^M
MediaWiki\Revision\RevisionAccessException from line 1296 of /data/html/mediawiki-1.35.0/includes/Revision/RevisionStore.php: Main slot of revision not found in database. See T212428.^M
Dec 4 2020, 6:11 PM · Unstewarded-production-error, affects-translatewiki.net, User-brennen, Platform Team Initiatives (MCR), MediaWiki-Core-Revision-backend, Multi-Content-Revisions (Reactive), Wikimedia-production-error

Nov 18 2020

Geertivp updated Geertivp.
Nov 18 2020, 4:10 PM
Geertivp updated Geertivp.
Nov 18 2020, 4:09 PM
Geertivp added a comment to T268133: preg_replace regex bug in function sanitizeKeyForAPI in module FormatMetadata.php with huge performance impact.

Sam, thanks for your help. Everything set now...

Nov 18 2020, 2:00 PM · Commons, MediaWiki-File-management
Geertivp added a comment to T268133: preg_replace regex bug in function sanitizeKeyForAPI in module FormatMetadata.php with huge performance impact.

I am running a personal server on (a pre-release version of) MW 1.31 where indeed the . was not yet backslashed... so therefore I had to reverse the -. into .-

Nov 18 2020, 1:37 PM · Commons, MediaWiki-File-management
Geertivp added a comment to T268133: preg_replace regex bug in function sanitizeKeyForAPI in module FormatMetadata.php with huge performance impact.

The remark about elif was only a slight CPU-friendly optimisation.
elif is indeed a Perl construct.
Could be coded instead as a nested else ... if with {}.

Nov 18 2020, 12:26 PM · Commons, MediaWiki-File-management
Geertivp added a comment to T268133: preg_replace regex bug in function sanitizeKeyForAPI in module FormatMetadata.php with huge performance impact.

Reedy, this is not the core of the problem... the real problem is the bad regex construct (bad placement of the -)

Nov 18 2020, 12:23 PM · Commons, MediaWiki-File-management
Geertivp created T268133: preg_replace regex bug in function sanitizeKeyForAPI in module FormatMetadata.php with huge performance impact.
Nov 18 2020, 12:18 PM · Commons, MediaWiki-File-management

Sep 27 2020

Geertivp added a comment to T252306: PAWS gives API-errors on some cases.

The problem only seems to occur for sitelinks to special namespaces.

Sep 27 2020, 8:54 AM · Pywikibot, Pywikibot-Wikidata

Sep 24 2020

Geertivp added a comment to T252306: PAWS gives API-errors on some cases.

What I did:

Now the item.get() above works... thank for your clarification, Chicocvenancio
So the problem does not have to do with P18 referring to Commons... (because I did already have an account there)

Sep 24 2020, 10:00 PM · Pywikibot, Pywikibot-Wikidata
Geertivp added a comment to T252306: PAWS gives API-errors on some cases.

I deleted the PAWS base dir user-config.py. Executing the above code.
The Commons login works:

True

Sep 24 2020, 8:35 PM · Pywikibot, Pywikibot-Wikidata

Sep 23 2020

Geertivp added a comment to T252306: PAWS gives API-errors on some cases.

But the GeertivpBot user appears on commons.wikimedia.org => Already created at 16 jul 2020 09:08
See https://www.wikidata.org/wiki/Special:CentralAuth/GeertivpBot
I still do not understand what happens?

Sep 23 2020, 7:53 PM · Pywikibot, Pywikibot-Wikidata
Geertivp added a comment to T252306: PAWS gives API-errors on some cases.

At the end of the script I have added the following credential status reporting:

Sep 23 2020, 8:27 AM · Pywikibot, Pywikibot-Wikidata
Geertivp added a comment to T168222: Querying wikidata with pywikibot fails for items with images when user is not registered for commons.

At the end of the script I have added the following credential status reporting:

Sep 23 2020, 8:25 AM · PAWS, Pywikibot-login.py, Pywikibot, Pywikibot-Wikidata

Sep 19 2020

Geertivp added a comment to T168222: Querying wikidata with pywikibot fails for items with images when user is not registered for commons.

I have tried the following:

Sep 19 2020, 9:29 PM · PAWS, Pywikibot-login.py, Pywikibot, Pywikibot-Wikidata

Sep 14 2020

Geertivp added a comment to T168222: Querying wikidata with pywikibot fails for items with images when user is not registered for commons.

Simple code example that fails with "mwoauth-invalid-authorization-invalid-user" in a PAWS Jupyter workbook because there is a P18 property, but runs correctly in a standalone Pywikibot client...

Sep 14 2020, 8:19 AM · PAWS, Pywikibot-login.py, Pywikibot, Pywikibot-Wikidata