[09:54:55] I find myself mildly alarmed. It's come to my attention that the revisions actor migration should be completely finished by the 1.34 upgrade, hence spending 12 hours removing badly encoded old users from my revisions table. As a result of that upgrade I shouldn't have rev_user and rev_user_text fields and should just have a consolidated rev_actor [09:54:55] field in my revisions table. What in the Flying Spaghetti Monster's name am I supposed to do when my upgrade is done and I don't have that? [10:08:50] Ulfr: do you mean those columns still exist, or that they contain non-null values, or that some rev-actor entires are null? [10:09:50] I mean this is my current revisions table: https://pastebin.com/qBJhrP2v [10:09:54] The latter would be bad, the middle fairly innocent but probably a bug (unused data), the former is expected. [10:10:34] I've been trying to get xtools to work, and it keeps saying there's no rev_actor field in my revisions table, and I KNOW I went through the migration for it, and I see the temp tables, but there's no actual migrating done [10:13:37] In theory migrateActors.php would have a clean run this time and I wouldn't need to spend 14 hours cleaning up after interns, but I'm kinda leery of doing so without consulting with adults [10:14:02] Ulfr: I believe xtools uses the custom db views from wm cloud replicas [10:14:35] rev-actor indeed does not exist on the revision schema in the plain 1.34 schema. [10:14:49] https://github.com/wikimedia/mediawiki/blob/1.34.2/maintenance/tables.sql#L357 [10:15:09] I assume you have the temp tables that are joined against [10:16:24] Those two temp tables do exist, yes. And I know xtools won't work well with a spinoff wiki, I'm just looking for something that will count edits made by folks and give a total now that countedits isn't working anymore. [10:16:34] Do you have any sign that the new structures are missing data or signs that MW is using old structures still? [10:17:16] Edit count is a built in field that the API can return from any MW install [10:18:11] Well, funny you should ask. I had a huge problem with old user_text values being encoded in utf-8 and then re-encoded in latin1 making character vomit. So that whole process was a hot mess to fix. and wait, there's an API call that will return how many edits a user has made in total? [10:18:38] Yes, no extension required afaik [10:19:11] It is stores as optimized field in the user table [10:19:32] ... [10:19:48] Is this a thing that's new? [10:20:50] If 12 years ago is new :) [10:21:09] https://www.mediawiki.org/w/api.php?action=query&list=users&ususers=Krinkle&usprop=groups%7Ceditcount [10:21:21] https://www.mediawiki.org/wiki/API:Users [10:21:52] Tools like xtools exist mainly for the additional insights by namespace and such [10:22:12] And will count every edit in the database on demand [10:22:44] This is what happens when you ask an intern to do bloody anything [10:22:49] You can see your own edit count also on Special:Preferences [10:23:41] Interns have built nice things in MediaWiki, but I hope this helps you further [10:24:15] Yeah, that's what got me in hot water. Editcount wasn't returning the same number as special:preferences and that made some contributors unhappy. Xtools is also apparently going to be used in part to make sure people who have awful english writing skills don't get to publish willy-nilly. And I don't hate all interns, just the ones that get in the [10:24:16] way and make a big mess. [10:24:39] In conclusion though I shouldn't feel alarmed that rev_actor does not exist at present in my wiki? because that seemed like a fairly important piece of data shuffling [10:25:49] That's right. But perhaps enable debugging toolbar for a bit and confirm that eg when viewing articles or viewing history page, that MW is indeed querying the new fields and tables [10:27:28] This spiffy new RecentChanges interface seems to work fine. Hopefully that's conclusive. I'll start poking about and double checking though. Thank you! [10:31:22] https://www.mediawiki.org/wiki/Debugging_toolbar [11:27:19] Hi, is there a quick solution to diable spamfilter? it blocks some things that I dont want it to block [11:27:32] I have admin rights tough [11:29:50] I chose spamfilter while installing mediawiki from debian 10 repos in browser, if that helps [11:42:22] tinfoil-hat: Can you share the error message? MediaWiki has no extension named "spamfilter" [11:45:27] it was an option from webinterface when installing from debian repos https://termbin.com/u99p [11:45:48] Vulpix: | [11:46:55] Ok, that's https://www.mediawiki.org/wiki/Extension:SpamBlacklist [11:47:21] You should locate a file named "LocalSettings.php", edit it, and remove the line wfLoadExtension( 'SpamBlacklist' ); [11:49:54] Vulpix: I just saw a folder in extensions with SpamBlacklist, I renamed it to SpamBlacklist.old and the mediawiki wasn't functional, after renaming again it wors again. I'll check the LocalSettings.php, thanks [11:50:55] Vulpix: got it, works as expected, ty <3 [11:51:40] yw [18:05:17] subbu: I did a search on global-search.toolforge for `figure-inline` (re) and happen to stumble on this edit which looks like something may've gone wrong in parsoid: https://vi.wikibooks.org/w/index.php?title=C%E1%BB%95ng_s%E1%BB%91_c%C6%A1_b%E1%BA%A3n&type=revision&diff=220747&oldid=220579 [18:05:48] adding to the wikitext: ` ` [18:41:46] Hello. Anyone here experience with using Strato as their web hoster? I decided to use them, for they advertised mediawiki as one of the many apps you can install. However I've found it not be working. So far I've gone through great lengths installing mediawiki manually, but now I'm stuck. I want to import templates, but get an error when I use my wiki's special:import page. [18:42:49] I tried using importDump.php (I have ssh access), but it complains: "This script must be run from the command line" (php-cli is not installed on the server) [18:43:26] Are there other ways of running the importDump.php script? [18:44:19] Or, alternatively, how do I go about creating a template manually? [18:44:38] (specifically talking about template:navbox) [18:45:01] What's the error when you use the wiki special:import page? [18:45:30] In theory, you can just copy in the template contents manually. But there's usually a tree of depenancies that importing a dump is easier [18:45:51] I'll have to re-run, but I'll upload the pic when the error returns. afaik, it's a strato web error asking me to contact their webmaster [18:46:00] lol [18:46:05] probably some sort of timeout issue [18:46:07] sec [18:46:09] Probably [18:46:18] It sounds like you've basically got numerous issues that can probably only be resolved (easily) by them [18:47:11] If they're providing php hosting, providing php-cli shouldn't really be an issue [18:47:18] yeah I've raised a ticket. [18:49:07] So far I've found this: https://www.mediawiki.org/wiki/Topic:Urnmvo8mmg06szj3 [18:49:37] That same issue was a few years ago, and it makes me think strato is not really wanting to install php-cli [18:50:49] Maybe :/. I can't say I've ever heard of them before [18:50:51] T213004 is still open [18:50:51] T213004: Fix for T184043 keeps some people from using maintenance scripts - https://phabricator.wikimedia.org/T213004 [18:51:24] And from the instructions on there... https://github.com/owncloud/core/issues/15054 [18:51:30] Other PHP apps basically saying to poke the provider too [18:53:38] okidoki [18:53:42] I'll just have to wait [18:53:59] I've been waiting for a few days now, and was getting a little impatient [18:54:03] :/ [18:55:28] Depending on what you exported for your xml dump, you might be able to change that (and only do latest revisions if you tried doing all revisions) [18:55:33] Btw, this is the error I was talking about https://usercontent.irccloud-cdn.com/file/5pkMRVO6/Strato%20error%20when%20importing%20XML... [18:55:59] https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps#Using_pywikibot,_pagefromfile.py_and_Nokogiri are other options [18:56:23] lol [18:56:35] Could be a timeout, could be a missing dependancy, could be a memory issue.. [18:58:56] ok [18:59:17] TBH, if the provider is rubbish, it's easier to vote with your feet and move [18:59:31] If you're paying for something that doesn't meet your needs... [19:00:20] Yeah I can fall back to that if all else fails. I do have another Linux VPS with them and am generally very happy. However this web hosting deal is different [19:01:00] Another question: I can copy and paste Module:Navbox from Mediawiki into my wiki (and there's no errors) [19:01:12] Can I also copy -paste Template:Navbox? [19:01:23] Or do I really need to do 'Export' and then 'Import'? [19:02:18] Basically looking for a way to manually do this...but unsure how It all works, I'm green at this [19:08:45] you can copy-paste, but then you have to manually track down all the "dependencies" [19:08:52] (all the other templates and modules that it might use) [19:10:59] well that's hopeful..It'll give me something to do tonight [19:11:02] :-) [20:04:19] subbu: filed https://phabricator.wikimedia.org/T261895 for now [23:43:33] MW 1.34.2: Working with Page Forms. Need to store text from a form in a text field in an argument like: ! City [23:43:44] This is in the Template portion [23:45:50] Is this right: | {{#arraymap:{{{Test|}}}|,|x|[[x]]}} instead of the if which seems to create a page? thanx