[03:15:39] I try to upload an image to my own mediawiki installation and it tells me "this photo already exists" and pulls a picture from the commons [03:15:48] I do have $wgUseInstantCommons = true; [03:16:01] Does this mean that it tries to upload it to commons instead of the local installation? [03:24:12] Combined2857: Using $wgUseInstantCommons = true; will just get the image from commons (read only), without upload it locally to your site. It will just check if the name exist there, then get the image from commons for read only. [03:25:07] ASammour: ah okay, so it does that to help you, in case you wanted to use the same image, so you can use the commons one from their website [03:25:10] makes sense thank you [03:26:54] Combined2857: Exactly. The main purpose of this is to make benifet of the huge number of files in commons, without need to upload the files locally. [04:21:34] This skin does not exist when I press "Download" :( https://www.mediawiki.org/wiki/Skin:DarkVector [04:21:48] I wish mediawiki had an official dark skin [10:46:08] hmm [11:18:11] Reedy, regarding the dupe task you mentioned (T221496) I think I have just found out why I had that issue with the constraint prior to the IGNORE error [11:18:12] T221496: 1.32's update.php is broken for PostgreSQL - https://phabricator.wikimedia.org/T221496 [11:18:29] the DETAIL: Key (log_user)=(0) is not present in table "mwuser". part [11:19:25] removeUnusedAccounts.php does not check for id 0, and deletes user 0, Anonymous, if the wiki set-up has disallowed anonymous edits from the beginning [11:19:54] (actually right now with 1.32.0 this script seems broken and is fixed by adding that id=0 check) [11:22:13] exception and the "patch" that fixes it: https://paste.ee/p/BQuOr [11:23:39] the script is broken on every wiki I have (all of them were upgraded to 1.32 from 1.30 or 1.29) [12:09:54] Is there a ready-made QuestyCaptcha list of questions and answers I can use? [12:39:20] Hello piippöl and big thank you thank yous for all the awesome free wiki engine [12:39:59] The situation is that I accidentally set a wiki CC BY-SA-NC [12:40:19] and the NC doesn't make any sense for the single purpose wiki's sole purpose [12:40:57] and there ain't any other editors so far, so I think it is legit to change lisence [12:41:27] if there were editors I'd need to ask for their permission to switch from BY-SA-NC to BY-SA [12:41:53] So question is: Where do I change the lisence? [12:44:05] found it $wgRightsUrl [12:44:17] and prlly need to set $wgRightsText [12:44:55] or is there an automated way to change the license of the contents of the wiki? [12:45:20] I'll ssh in now and look if these strings exist in LocalSettings.php [12:48:23] yeah. they have been set by the MW installer [12:48:39] how do I get the right values for BY-SA ? [12:49:51] 'cc-by-sa' => [ [12:49:51] 'url' => 'https://creativecommons.org/licenses/by-sa/4.0/', [12:49:51] 'icon' => '$wgResourceBasePath/resources/assets/licenses/cc-by-sa.png', [12:49:52] ], [12:50:19] Very big thanks Reedy [13:16:13] I don't understand how in wikipedia's main page they can seperate the content into boxes [13:16:33] do they achieve that through templates? and if yes where can I find them ? [13:17:42] Combined2857: its css [13:17:59] Combined2857: take a look at https://en.wikipedia.org/w/index.php?title=Main_Page&action=edit [13:20:00] Zppix: I try to copy paste this code and it does not produce that.I even try to copy paste the source of this page which is way simpler to my wiki ( i have no templates) and it's scrambled https://www.mediawiki.org/wiki/Template:Main_page [13:21:20] Combined2857: do you have ParserFunctions extension? [13:21:38] Zppix: yes but not enabled [13:21:54] Combined2857: if you enable it, it should work [13:23:03] I would suspect site css is needed [13:23:44] Reedy: if he's trying to use the template the template uses parserfunction things [13:23:49] s/he* [13:23:53] And it's full of css classes [13:24:19] I didn't say you were wrong [13:25:52] Hello, looking for help for our 1.31 site (PHP 7.0.24) as we just discovered some sort of image handling/parser problem. Posted about it here some hours ago with full details -- https://www.mediawiki.org/wiki/Topic:Uyxqs3wbmm1i53g4 -- but in brief the use of [File] or [Image] tags with the thumb option in particular lead to the wiki HTML being parsed as pointing to thumb.php rather than to [13:25:53] the actual thumbnail file. It seems to have happened after we upgraded from 1.25/1.26 to 1.31 without our realizing it, but it appears to be causing a lot of problems in high traffic situations (e.g. Varnish not caching the ouput, extra PHP calls). My question is how do we fix it so that the parser correctly points to already-extant files rather than to the script? [13:26:57] Zppix: nope it's still broken, take a look at the source of this page http://ewrikia.org/Test_2_plus [13:27:13] Zppix: it's the same source as this page https://www.mediawiki.org/wiki/Template:Main_page [13:28:14] Reedy: I misunderstood you then :P [13:28:44] Combined2857: is css on your site enabled [13:29:44] Zppix: i'm in shared hosting, I'm not sure how to enable it [13:30:59] Reedy: ^ I cant remember how to enable site css [13:33:16] Zppix: is that it ? https://www.mediawiki.org/wiki/Manual:$wgAllowUserCss [13:33:56] Combined2857: I wanna say its https://www.mediawiki.org/wiki/Manual:$wgUseSiteCss but im not 100% sure [13:35:19] vergil: replied [13:35:59] Zppix: I enabled both user and site css and that page is still broken :( are you sure I don't have to create the templates? [13:36:10] Ugh. I totally misunderstood the purpose of that. Thank you, Vulpix! [13:36:31] Reedy: any other ideas? [13:37:03] Combined2857: wait https://www.mediawiki.org/wiki/Extension:CSS [13:37:06] Do you have that [13:37:23] Zppix: nope ;P I will install it now [13:38:34] Combined2857: I dont see any other reason it shouldnt work [13:39:20] Combined2857: did you copy the template's subpage Template:Main_page/styles.css [13:44:10] Zppix: I'm trying to do it now, but I don't know how to copy code, it actually reads it and formats it in the template page instead of just containing it http://ewrikia.org/Template:Main_page/styles.css [14:55:06] Hello, we just updated to the latest mediawiki. On our chinese site (zh), we have a tab at the top that allows for selection of simplified or traditional chinese language. With the upgrade, there are now 9 options in that tab. How do we go back to just the two options? [17:04:21] does anyone know where does MediaWiki generate timestamps used in stuff like getNavigationBar()? several instances of MW on my server have been issuing queries with timestamps formatted like "2018-12-04+19:18:45+00" and this too floods the error log and this is 1.30 and 1.32 alike [17:04:40] what I do not understand is why only certain wikis do this [17:05:09] the oldest and the newest instances do not seem to have this issue [17:13:32] oh... this might be Googlebot or something like that using broken links, apologies for the noise [17:22:55] though on the other hand I am slightly bothered by the fact that this just goes in as is [17:40:08] Hello, we just updated to the latest mediawiki. On our chinese site (zh), we have a tab at the top that allows for selection of simplified or traditional chinese language. With the upgrade, there are now 9 options in that tab. How do we go back to just the two options? [17:42:22] Is your wiki public? [17:44:01] I thought most of those were supposed to be disabled by default [17:46:26] Remilia: Add the one's you don't want to $wgDisabledVariants [17:46:32] in LocalSettings.php [17:47:36] bawolff: I think you have the wrong highlight target [17:48:00] Sorry, you're right [17:48:13] Amie: Add the one's you don't want to $wgDisabledVariants [17:48:28] thank you bawolff! [20:17:58] Hi, what is the best way to insert footnotes ? I tried the help but it hasn't worked [20:21:58] !e cite | giby [20:21:58] giby: https://www.mediawiki.org/wiki/Extension:cite_ [20:30:12] Vulpix, Do I need to install the extension or is it include [20:30:52] You need to install it. If you downloaded the tarball of MediaWiki, it's included in the extensions folder but you still need to enable it [20:36:27] thanks Vulpix [20:42:22] How does one have the in a other language sidebar part for a page? [20:49:40] Hello, when i attempt to install mw via command line usingwget https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.1.tar.gz it displays what looks like spam [20:53:03] hello kevindank [20:53:06] what do you mean? [20:53:24] what are you trying to do after downloading with wget? [21:00:33] i mispelled something, that was my fault