[01:51:42] hi [01:52:01] how can i have a table collapse the first 3 or 4 rows? [01:52:44] and keep the last few depending how many i want [01:52:52] like in 10rows keep 3 visible [01:54:07] please [02:24:08] could someone explain the how to import the wikitionary sql and xml data into a database [02:24:31] BlackDex: did you read the articles I linked you to hours ago? [02:24:37] erm black_13 [02:24:52] i did did but didn't understand [02:25:56] i ran all the sql updates and created lots of data [02:26:36] and ran media wiki and imported lots of items into a database but how to get the data into a usable form [02:29:10] SQL: can you help me? [02:29:11] :p [02:35:26] biberao: depends on what you need help with. [02:36:09] have a table [02:37:09] {{{expand}}}
OneTwoThreeFour
}} [02:37:13] Me too. I like oak personally. [02:37:32] i want to be able to display some of the rows [02:37:37] and hide the others [02:37:38] ideas? [02:41:02] please :D [02:42:50] SQL: i have re-read [02:56:29] Recommended method for "general use, but slow for very big data sets. For very large amounts of data, such as a dump of a big Wikipedia, use mwdumper, and import the links tables as separate SQL dumps." [02:56:51] so do you use mwdumper first and then do all the sql imports [02:57:04] what is the sql schema? [02:57:19] $^*#& [02:57:37] SQL: sorry [02:57:44] im dense [03:10:42] SQL: :| [06:35:21] andre__: it doesn't actually show up in developer tools, .errorbox css, i can't seem to change it at all [09:01:31] I would like to add a link missing from the Wikipedia page for List of old-time radio shows. https://archive.org/details/OTRR_Romance_Ranchos_Singles [09:04:10] The OTR show 'Romance of the Ranchos' and the link posted above is public domain link for this show that is no longer covered by copyright law. This OTR show is completely missing from the Wikipedia page listing old-time radio shows [11:55:40] are there instructions on how to setup a mediawiki docker instance that explains how to setup the mariadb [13:20:36] black_13: I'm using https://github.com/addshore/mediawiki-docker-dev which Just Works (tm) [15:15:55] Is there a setting inside the mediawiki db that controls the hostname that is used for contructing URLs when clicking on pages like Special:Random? [15:16:43] I've copied a wiki to a new hostname (for testing) and have changed the hostname in the LocalSettings.php, but I still have issues with it using the old hostname in some places. [15:24:37] Nevermind, I made a configuration mistake within Apache. [15:24:40] ;) [15:30:04] any advice on how to get thumbnails to work for really hi-res images. they work fine for all normal images, but I have one image that is 4,032 × 3,024 pixels is says, "Error creating thumbnail: Unable to save thumbnail to destination" [15:31:50] revansx[m]: How do you have MW configured to do the conversion? Which backend? [15:32:15] imagemagick [15:32:26] apache php [15:32:27] sec [15:33:15] rhel7, php 5.6.38 (apache2handler) [15:33:36] mw 1.30.0 (830bb58) [15:33:55] Linux gr2202mezza01 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 [15:34:45] Linux 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 [15:34:55] does all that help? [15:36:45] It's a good start. How big is the image in bytes and also do you have enough space on the disk you're uploading too? [15:38:18] the image itself is uploaded fine. I definitely have enough space.. i'm wondering if maybe the imagemagick convert command doesn't have enough memory when it runs [15:38:26] sec on the actual size [15:38:47] image is only 3.73 MB [15:38:49] Also, are you sure the $wgTmpDirectory is set right and that the directory it points to is writable by the webserver process? [15:39:17] You might also check the /etc/ImageMagick/policy.xml file to see if you have any limits placed on ImageMagick itself [15:39:36] well.. not totally sure.. but if it wasn't, why would thumbnails work for everything else? [15:39:50] checking the xml [15:41:17] ok.. will check $wgTmpDirectory and ImageMagick/policy.xml... and report back later.. gotta go now.. thank you! [16:20:00] like #mw_panel if for the sidebar can i manipulate the same for an infobox_Section? [16:38:13] bawolff: here? [16:39:08] I am, but kind of busy [16:40:12] ok [16:52:28] i have this [link {{{username}}} {{templateicon}} is there a way to integrate a target _blank so it opens in a new tab? [17:35:47] That's the wrong syntax first of all [17:36:07] [link {{{username}}} {{templateicon}}] [17:36:11] the class= is important [17:36:29] Users can't add target = _blank, but you can configure your wiki [17:37:03] See $wgExternalLinkTarget [17:37:12] !wg ExternalLinkTarget | biberao [17:37:12] biberao: https://www.mediawiki.org/wiki/Manual:%24wgExternalLinkTarget [17:37:18] bawolff: let me paste it [17:37:59] one sec [17:38:59] {{#if:{{{weibo|}}}|[http://weibo.com/u/{{{weibo}}} {{WeI}}]}} [17:39:25] i wonder if i could someone had the _blank target [17:39:35] i used the snippet for sidebar [17:39:45] but not actually sure how to implement with this one [17:40:05] ideas please bawolff ? [18:00:57] My answer is still the same from before you pasted your snippet [18:02:35] ok [18:02:42] so ill have to enable for everything then [18:02:42] :p [18:04:00] or write a MW extension [18:09:15] ya [18:09:16] lOL [18:15:50] https://www.mediawiki.org/wiki/Snippets/Open_specific_external_links_in_new_window [18:19:19] tried that [23:43:21] hi, there is any faster/better way to identify broken links (to external website) in my wiki than write pywikibot bot?