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 (275 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 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 · MediaWiki-Search, Discovery-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 · MW-1.37-notes, MW-1.36-notes, affects-translatewiki.net, Platform Team Workboards (Clinic Duty Team), 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 · MW-1.37-notes, MW-1.36-notes, affects-translatewiki.net, Platform Team Workboards (Clinic Duty Team), 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 · MW-1.37-notes, MW-1.36-notes, affects-translatewiki.net, Platform Team Workboards (Clinic Duty Team), 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 · MW-1.37-notes, MW-1.36-notes, affects-translatewiki.net, Platform Team Workboards (Clinic Duty Team), 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

Sep 10 2020

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

The local Pywikibot works, even if it is an older version.
It is the PAWS Jupyter Pywikibot that does not work...
https://hub.paws.wmcloud.org/user/GeertivpBot/notebooks/missing_person_label.ipynb

Sep 10 2020, 9:14 PM · PAWS, Pywikibot-login.py, 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.

For the private client:

Sep 10 2020, 2:42 PM · PAWS, Pywikibot-login.py, Pywikibot, Pywikibot-Wikidata
Geertivp added a project to T168222: Querying wikidata with pywikibot fails for items with images when user is not registered for commons: PAWS.
Sep 10 2020, 3:38 AM · PAWS, Pywikibot-login.py, 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.

I get this problem only for items with pictures when running the Pywikibot script using Wikidata item.get() from a PAWS Jupyter notebook.
When running the same script on a standalone Pywikibot client, the error never shows up.
In both cases I am using exactly the same user-config.py file and the same Pywikibot script.
This is very embarrassing... since more and more Wikidata items get a picture P18 assigned.
Note that I do not reference ['claims']['P18'] from my script...
This means that I can only run the script on a standalone platform to avoid those errors...
Please correct this suspected bug on the PAWS Jupyter platform. All users of PAWS Jupyter notebook using Wikidata item.get() are suffering from this problem.
The problem seems to exist already for more than 3 years?

Sep 10 2020, 3:09 AM · PAWS, Pywikibot-login.py, Pywikibot, Pywikibot-Wikidata

Jun 9 2020

Geertivp added a comment to T248440: Extract CSV file from Wikipedia/Commons/MediaWiki Special pages.

List all the users that contributed to an article:

curl -s 'https://nl.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Project:Wikidata&format=json&rvlimit=9999' |jq -r '.query.pages[].revisions[].user' |sort -u
Jun 9 2020, 5:28 PM · Wikimedia-Hackathon-2020, MediaWiki-Special-pages

May 11 2020

Geertivp added a comment to T248440: Extract CSV file from Wikipedia/Commons/MediaWiki Special pages.

Other example for article deletion log:

May 11 2020, 11:28 AM · Wikimedia-Hackathon-2020, MediaWiki-Special-pages

May 9 2020

Geertivp added a comment to T248440: Extract CSV file from Wikipedia/Commons/MediaWiki Special pages.

@Bawolff Could you give an example how to download a JSON file by API? Then we might be able to convert or import the JSON file to CSV with an external tool?

May 9 2020, 6:26 PM · Wikimedia-Hackathon-2020, MediaWiki-Special-pages
Geertivp added a comment to T246148: Newly generated video doesnt have timed text..

I would believe this is a manual operation, since the video frames and the the timestamps change...

  • Once the timestamps are generated again, text can be manually copy/pasted?
  • Does there exist a tool to autogenerate the timestamps based on video frames?
May 9 2020, 4:23 PM · Wikimedia-Hackathon-2020, VideoCutTool

May 8 2020

Geertivp set the color for Wikimedia-Hackathon-2020-Organization to Red.
May 8 2020, 9:12 PM
Geertivp added a member for Wikimedia-Hackathon-2020: Geertivp.
May 8 2020, 3:24 PM

May 6 2020

Geertivp added a project to T248440: Extract CSV file from Wikipedia/Commons/MediaWiki Special pages: Wikimedia-Hackathon-2020.
  1. One possibility would be to write a MariaDB SQL Query to execute via https://quarry.wmflabs.org - Then we need to know the internal datamodel of MediaWiki.
May 6 2020, 5:12 PM · Wikimedia-Hackathon-2020, MediaWiki-Special-pages
Geertivp updated Geertivp.
May 6 2020, 6:48 AM

May 5 2020

Geertivp added a comment to T223125: PDF metadata import fails with Wikipedia Cite automatic URL reference.

It appears that the source PDF document did not have any property filled in. You can better add (standard) properties (Title, author, subject, keywords) with e.g. Acrobat Reader before publishing the document on a webserver.

May 5 2020, 7:34 AM · Wikimedia-Hackathon-2019

May 1 2020

Geertivp added a comment to T251539: All WDFIST queries fail with strange "query_failed" error since several days.

I added a "support" button at page https://meta.wikimedia.org/wiki/WDFIST to avoid confusing users, like me. Thanks.

May 1 2020, 11:08 AM · Tools

Apr 30 2020

Geertivp added a comment to T251539: All WDFIST queries fail with strange "query_failed" error since several days.

Created ticket https://bitbucket.org/magnusmanske/fist/issues/13/all-wdfist-queries-fail-with-strange

Apr 30 2020, 7:41 PM · Tools