[00:18:39] Hi, I'm getting InvalidArgumentException: The given PageIdentity does not represent a proper page while trying to create a property on own wiki. [00:19:00] https://pastebin.com/Tde2YtX6 [00:19:34] Create a new Property [00:19:35] Language: [00:19:35] en-gb [00:19:36] Label: [00:19:36] instance of [00:19:37] Description: [00:19:37] test [00:19:38] Aliases, pipe-separated: [00:19:38] instances of [00:19:39] Data type: [00:19:39] item [00:20:02] Version of MediaWiki in use is 1.37. [07:05:10] I set up MediaWiki locally with Docker and now I have a Scribunto module for the LibreOffice Calc functions that does what I want :) Very interesting solution. Now to talk to our sysadmin... [07:06:43] The script for the curious: https://paste.simplylinux.ch/view/82c1f4cd [07:08:03] I extract the function name translations from our translation repository using Python, dumping a JSON. For now, I just converted it to a Lua table with this as a quick solution: http://mageddo.com/tools/json-to-lua-converter [07:52:52] there are likely lua libraries to read json [07:52:59] which seem like a more natural way to do that [07:54:46] sure, but I wouldn't want to impose our sysadmin to install such extra stuff [07:54:59] so I would just use a local setup [08:03:03] https://stackoverflow.com/a/54392761/3057764 seems promising :D [08:45:39] Went with this as it produces indented output https://github.com/SirAnthony/slpp [12:25:34] hi [12:26:03] i want to delete a media upload [12:26:10] please help me [12:27:41] Guest14: where? [12:28:43] from wikimedia [12:31:30] Guest14: Follow https://commons.wikimedia.org/wiki/Commons:Deletion_requests [13:22:00] Hi, I'm having issue with Wikibase when I want to create property. [13:22:03] InvalidArgumentException: The given PageIdentity does not represent a proper page [13:22:41] This is full trace: https://pastebin.com/Tde2YtX6 [13:23:08] Version of MediaWiki is 1.37, I made sure that all extensions are downloaded from REL1_37 branch. [13:23:25] I would love to upgrade to the 1.38, but SMW isn't supporting it in full. [13:23:54] So, I'm stuck with 1.37 while SMW doesn't make 1.38 or future 1.39 fully supported. [13:24:34] I've followed exact instructions for installing Wikibase. Creating items is working without any problems, but properties can't be created, no matter what I choose. [21:02:34] Anyone here could tell me how safe/clean it is to "DELETE FROM user WHERE ..." directly in the mediawiki database to delete unconfirmed spam users who didn't contribute any content? Just looking for a quick way to clean up a thousand spam accounts... [21:20:28] urlisse: depends on the MW version and installed extensions, but you'd definitely also want to probably *first* clean up tables like logging and such; at one point there existed a DeleteUser extension, but I dunno how (un)maintained it is these days; it's "officially" not supported and I can see why it'd be problematic to delete the user account of a long-time contributor w/ significant amounts of edits and/or log entries etc. but obviously such spam [21:20:28] accounts are a wholly different use case [21:27:09] ashley: thanks for the tip. I just inherited this mediawiki site and need to wrap my head around its schema. I will look into understanding those dependencies better. Since these are spam accounts, I would hope that deleting them would not result in a cascade delete mess or something like that... [21:28:54] https://www.mediawiki.org/wiki/Extension:UserMerge merge the users into a single "deleted" account or similar [21:29:15] ty p858snake, I totally forgot about that thing [21:49:52] urlisse: the removeUnusedAccounts.php maintenance script sounds like something you'd want [21:50:04] if they truly have no edits, that'll nuke all of them safely in one go [21:50:59] there won't be a cascade delete mess because the mediawiki schema doesn't use foreign keys -- so instead you'd have dangling data left somewhere potentially because there's no defined link on the db layer between those tables [21:52:14] which could cause subtle breakages when doing specific things or when visiting specific pages