[07:50:16] Krinkle, can you take a look at this patch? 617121: Use getConnectionRef in TranslateUtils::getSafeReadDB | https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/617121 [09:44:06] it seems like putting a space at the beginning of a line in wikitext before the first character results in that line being wrapped in
? where is that documented?
[13:37:10] 	 abijeet: done
[18:29:51] 	 I have a revision (a page move) that, when viewed in the wiki, gives this notice: The revision #9066 of the page named "Memory Problems" does not exist. When updating the wiki and running populateContentTables.php, it gives an error of "Failed to populate content table revision row batch starting at
[18:29:52] 	 9036 due to exception: MediaWiki\Storage\BlobAcce
[18:29:52] 	 ssException: Unable to fetch blob at tt:6595 in /var/www/randomwiki.com/htdocs-new/includes/Storage/SqlBlobStore.php:295". However, it shows up in the page history. What can I do to fix this?
[18:30:08] 	 I did already read this page: https://www.mediawiki.org/wiki/Topic:Vdfrw1pgsuw01icy
[18:30:22] 	 But I'm not sure how to apply it.
[18:32:03] 	 Because it's a page move and not a modification of the text.
[18:48:39] 	 nihonjoe: did you run purgeOldText.php in the past, or any script that attempts to delete old revisions of pages?
[18:49:18] 	 No, that has not been run.
[18:55:08] 	 Apparently, your text table is missing an entry with id 6595
[18:56:34] 	 Should I create a dummy entry for 6595, then? 
[18:58:56] 	 Or will that potentially cause additional issues?
[19:01:29] 	 If that revision is a result from a page move, it should have the same contents as the previous one. You could see where does the previous revision point to, and update the faulty one accordingly
[19:03:02] 	 I'm wondering if there was corruption at some point, as the very first item in the history for the page is the page move, and I can't see any deleted revisions on the page or on the previous page.
[19:03:27] 	 The old revision link isn't a link because of that.
[19:10:53] 	 nihonjoe: do you mean the page history has only one entry?
[19:12:23] 	 No, there are more recent entries in the history. The oldest entry is the page move, with nothing prior to that. That's why I think something hinky may have happened pefore that, because a page move shouldn't be the first entry unless there are some deleted revisions somewhere.
[19:15:01] 	 Ahh, ok
[19:15:39] 	 Well, in that case, I'd suggest deleting that revision entirely, since it's probably gone forever
[19:16:01] 	 I tried to make a functioning OO.ui.SearchInputWidget *that includes search sugges*
[19:16:16] 	 https://beta.familysearch.org/wiki/en/User:Freephile/common.js
[19:16:22] 	 So, delete the page move revision entirely? Should I check to see if anything else refers to it?
[19:16:38] 	 Does anyone know how to do this?
[19:16:55] 	 There is no 'manual': https://www.mediawiki.org/wiki/OOUI/Using_OOUI_in_MediaWiki#MediaWiki-specific_OOUI_widgets
[19:33:23] 	 Aside: OOUI docs / src code has a peculiar syntax where the configuration for "classes" is listed as a 'string', but marked as 'string[]'  I guess that is a way of saying the config value should be an array of strings?  A simple string value does not work. So, in other words, 'foo' won't be added as a class, but ['foo'] will. https://gerrit.wikimedia.org/g/oojs/ui/+/f914a3b2176a60c8efe9d7cf645405f23b277328/src/Element.js#14 
[19:44:21] 	 nihonjoe: You can delete the entire page, and then restore all revisions except the buggy one
[19:44:45] 	 I'd recommend this if you don't want to fiddle with the database
[19:45:05] 	 That makes sense.
[20:07:15] 	 freephile: string[] does indeed mean "array of strings"
[20:07:56] 	 Thanks Skizzerz:
[20:08:23] 	 that syntax style is derived from C and other strongly-typed languages (java, c#, etc. also use it to denote an array of a type)
[20:08:49] 	 if all you're familiar with are loosely typed languages then yeah I can see where you'd be confused by the syntax
[20:10:11] 	 what I find confusing is $foo[] = $bar;
[20:10:34] 	 Vulpix: Deleting the row worked. Thanks!
[21:24:16] 	 Hi, There is any way to sort pages in category by custom key (function)?
[21:26:33] 	 Nik35: I assume you don't mean custom collation by locale?
[21:30:46] 	 Not sure what that means, but what i mean that if for example i have some pages in this form: "a-30", b"-5", "c-2", I want to order them by the number after the "-" (not my real exmaple, just to demonstrate)
[21:31:18] 	 Nik35: see this https://www.mediawiki.org/wiki/Help:Categories#Sort_key
[21:31:28] 	 it's not a custom function, but you can specify the sort key for each category
[21:32:12] 	 That require to change the text in all of the pages in this category, right?
[21:35:16] 	 yes, it looks like it
[21:35:40] 	 ty!
[21:46:13] 	 worked, ty :)
[22:51:21] 	 Error creating thumbnail: Unable to save thumbnail to destination
[22:51:34] 	 can anyone help me with this error?
[22:56:33] 	 BeepBot: have you checked the logs?
[22:56:45] 	 it sounds like a permissions issue
[22:56:53] 	 where can i?
[22:57:29] 	 depends on your setup but easiest way I've found is to set $wgDebugLogFile. but first I'd make sure perms on images/ dir are correct
[22:58:22] 	 what permissions should be set?
[22:58:49] 	 because i had images upload on for all
[23:01:49] 	 @ningu
[23:13:52] 	 BeepBot: the directory permissions in the file system
[23:14:46] 	 the file it self permission? which file?
[23:14:53] 	 the images directory
[23:14:56] 	 and its subdirectories
[23:15:32] 	 lemme check
[23:21:17] 	 @ningu i had made all permissions to read/write
[23:21:35] 	 for the user that php is running under?
[23:21:59] 	 ya
[23:22:07] 	 ok, well then I'd check logs
[23:23:08] 	 i mean i just found out the image i upload does goes in a folder in the file manager.
[23:23:11] 	 its li
[23:23:38] 	 in like /images/8/88
[23:25:32] 	 yes, but the error indicates it's not able to write the thumbnail
[23:26:24] 	 what do i do then?
[23:26:38] 	 make sure the permissions are set right on all the subdirectories
[23:26:43] 	 if that doesn't work, check the logs
[23:29:49] 	 where do i check logs?
[23:31:40] 	 I already said above what config parameter you use to set up the logs
[23:31:49] 	 google is your friend
[23:34:41] 	 Skinning question: when using makeListItem, is there any way to pass additional data? I'd like to put in some role attributes for menuitem in this case.