[01:53:50] It's surprising no one made a script for wikieditor that would allow to upload an image (or any file) directly and include it to the page. [02:07:40] MsUpload seems nice. [09:58:19] Can I add a button to WikiEditor for all the users? [10:00:09] Celelibi: https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization [10:00:40] Yeah, but this is for a single user, right? [10:01:50] Celelibi: it depends on where you put the code. See https://www.mediawiki.org/wiki/Manual:Interface/JavaScript [14:10:17] Hi you guys. [14:10:26] I'm here because I need help with my MediaWiki website [14:10:32] I run the site using GoDaddy. [14:10:38] But the site is very slow for some reason. [14:10:39] http://en.fictibase.kat2media.org/wiki/ [14:10:43] See how slow the site is. [14:10:50] When you click Random Page/etc. [14:11:09] How do I fix this and make it fast like Wiktionary or Wikipedia or MarioWiki or something? [14:11:45] Because this is a HUGE project that is going to cost a lot of money to run and I'm not looking forward to it causing problems. [14:15:06] Fictibase: take a look at https://www.mediawiki.org/wiki/Manual:Performance_tuning [14:15:12] do you have shell access? [14:15:53] Fictibase: there's also https://www.mediawiki.org/wiki/User:Aaron_Schulz/How_to_make_MediaWiki_fast if you don't mind sacrificing some functionality [14:16:53] Um, do you mind telling me what this code on the second link does exactly? [14:16:55] To your site> [14:17:55] if you type the variables into the search bar, it'll tell you [14:19:32] Job run rate seems useful [14:19:42] It sounds like too many jobs are being done per request [14:19:48] Since requests are very slow sometimes [14:22:00] That's not necessarily what is slowing it down. [14:22:06] Do you have shell access to the machine that's hosting it? [14:22:33] What does that mean? And where is Wiki.php? What folder is it in? [14:25:01] Do you have a separate VPS or dedicated server, or is this on shared hosting? [14:25:59] I honestly do not know what either of those mean but [14:26:12] But I am using Godaddy's CPanel FTP [14:26:42] And I'm the only owner of the site, except technically they have control over everything cuz i bought it as their product but yeah you know about that [14:27:39] And I installed MediaWiki v1.24.2 [14:27:53] And there's folders about it in the database such as mw-config and test and etc. [14:28:08] do GoDaddy even offer non-shared hosting Krenair ? [14:28:19] * Krenair shrugs [14:30:10] danhedron, looks like they do offer VPSes and dedicated servers [14:32:13] So how am I supposed to find Wiki.php > [14:32:14] ? [14:37:50] I'm not sure what you're referring to [14:37:55] what is the context? [14:39:22] http://i.imgur.com/8epRFpM.png [14:39:30] An image of all these folders [14:39:47] Out of all these, which can I find Wiki.php in? [14:39:48] Yes, I am quite familiar with the list [14:41:55] I can't think of a Wiki.php file though [14:42:05] I don't find Wiki.php in my MW directory [14:42:16] https://www.mediawiki.org/wiki/Manual:Wiki.php [14:42:21] There it tells about it [14:42:36] I want to find it so I can lessen the amount of jobs :( [14:42:41] I find it in my PHP folder [14:43:04] hm. [14:43:09] Ah, it was renamed [14:43:16] But no documentation update [14:43:17] Helpful [14:43:24] https://gerrit.wikimedia.org/r/#/c/145883/ [14:43:42] Ah [14:43:55] I don't really get all of this, but [14:43:59] What does that link mean? [14:44:37] that link is a code change in the code repository which was merged. [14:45:48] But [14:45:53] What was the folder renamed to? [14:52:33] Fictibase: "Rename Wiki.php to MediaWiki.php" [14:53:19] Which folder would this be in? [14:54:41] Fictibase: /includes [14:55:50] Thanks [15:02:31] Okay now [15:02:34] Now that that's done [15:02:38] I need to ask another thing [15:02:50] How do I put CAPTCHAs on the create account forms? [15:02:56] But ONLY on the create account forms? [15:03:19] I do not want to put captchas for editing [15:03:26] Just for the creation of account forms [15:12:35] Does anyone know how to do this? [15:13:15] Have you looked into the ConfirmEdit extension? [15:13:56] https://www.mediawiki.org/wiki/Extension:ConfirmEdit [15:14:27] You'll want to search that page for wgCaptchaTriggers if so [15:21:38] Is there a specific way to only make captchas for the creation of accounts, and for ip edits? [15:28:50] Fictibase: huh, captchas for edits sounds like a PITA ... almost seems like an "edit as IP use" option for accounts would be better [15:29:58] Yes, because spam IP addresses can be stopped. And spambots can be refrained from creation. [15:30:13] This is the goal for my wiki. [15:30:30] I for some reason like dealing with vandalism but spambots are a pain in the ass [15:52:52] So...Does anyone know how to???? [15:55:26] Fictibase: Have you tried ConfirmEdit extension? [15:56:29] Fictibase, did you read what I wrote about it? [15:56:54] Yes but I don't know what wgTriggers are [15:57:21] wgCaptchaTriggers [15:57:21] $wgCaptchaTriggers['createaccount'] = true; [15:57:42] $wgGroupPermissions['*']['skipcaptcha'] = false; [15:57:42] $wgGroupPermissions['user']['skipcaptcha'] = true; [15:57:43] Fictibase: ^ Try that? [15:58:07] those group permissions are default [15:58:22] in fact all of that config is default Glaisher [15:58:38] Hm [15:58:38] $wgGroupPermissions['user' ]['skipcaptcha'] = false; [15:58:39] says mw.org [15:58:54] everything else seems to be the default [15:59:07] oh, true for users, ok [16:00:37] Now how do you install ReCAPTCHA [16:00:48] ? :( It is just a google thing that i don't understand [16:01:05] Fictibase: Can you read the documentation page? [16:01:15] https://www.mediawiki.org/wiki/Extension:ConfirmEdit#ReCaptcha [16:01:51] Fictibase, I don't think you should be managing a wiki. [16:02:24] I'm getting ideas now! [16:02:31] require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php"; $wgCaptchaClass = 'ReCaptcha'; $wgReCaptchaPublicKey = 'your public key here'; $wgReCaptchaPrivateKey = 'your private key here'; [16:04:01] wikidrama? [16:04:51] hey dudes, something weird is happening, I think that is because the old js, could someone check? [16:05:07] https://pt.wikinews.org/wiki/Utilizador:Rodrigo_Tetsuo_Argenton/teste [16:06:07] if we click in "preview" we can see the click button working, but when we save the button disappears o.O [16:06:46] I got it to works os [16:06:48] work [16:06:55] Thank you guys [16:06:57] Goodbye! [16:07:03] bye [16:07:15] you are welcome heheheh :P [16:52:04] grrr [16:52:37] I think the Math extension has a bugged installation. [16:54:37] Upgrading say, first lines in the textarea: [16:54:38] Warning: in_array() expects parameter 2 to be array, null given in /.../public_html/w/extensions/Math/Math.hooks.php on line 234
[16:55:01] Preventing the creation of some math-related table. [16:56:02] doesn't sound like you have the latest copy of Math, Celelibi [16:56:06] what version is that? rel1_24? [16:56:28] The one that was proposed to me for my mediawiki 1.24. [16:56:56] I don't know which one that was exactly but probably rel1_24 [16:57:14] indeed that would make the right code match up with the error [16:57:30] it's because $wgMathValidModes is null [16:58:07] are you changing that variable at all Celelibi? [16:58:40] In my LocalSettings.php, yes. [16:58:51] But I tried several things. [16:59:04] What do you do to it? [16:59:18] $wgMathValidModes = array(MW_MATH_SOURCE, MW_MATH_MATHML); [17:00:15] huh [17:00:28] if you do php maintenance/eval.php [17:00:36] then var_dump( $wgMathValidModes ); [17:00:39] what does it give you? [17:00:51] (from your mediawiki core directory) [17:01:09] Wait, there's this which seems to address the issue: http://www.gossamer-threads.com/lists/wiki/mediawiki-cvs/559108 [17:02:41] uh oh, Paladox [17:03:47] BTW maintenance/eval.php is forbidden. [17:03:55] what? [17:04:30] one second. [17:04:45] Oh, the script must be run from command line. [17:04:52] I don't have access to command line on the server. [17:05:01] :| [17:06:18] what textbox is it showing this in, Celelibi? [17:06:40] Which textbox? The one when I upgrade? [17:10:16] Upgrading say, first lines in the textarea: [17:10:46] Yes, it say exactly the line I said before, and a whole bunch of normal things. [17:11:40] http://paste.debian.net/hidden/192e781f/ [17:41:45] is it just me, or is https://www.mediawiki.org/wiki/Extension:ParserPlayground basically defunct? [17:46:10] I'm trying to get https://domain/dir/syrnia to work and have the following as .htaccess in dir: https://dpaste.de/NbFq but I get a 404 every time, what am I doing wrong? [17:50:04] Nevermind figured it out, needed to add dir before syrw [19:06:13] great, I think I found an incompatibility between two modules. [19:08:16] between SyntaxHighlight_GeSHi and Gadgets. [19:11:53] Celelibi, hm... don't we use both in wikimedia prod? [19:12:22] I don't know. Maybe not the same version. [19:14:46] We use both of those on almost all Wikimedia wikis. [19:15:05] Everywhere exception login.wikimedia.org and vote.wikimedia.org [19:15:22] except* [19:41:32] Krenair: just because all the wikimedia wikis use two things doesn't mean those two things are properly compatible ;-) [19:42:14] Yeah, I'm wondering what Celelibi has run into [19:43:03] I get an error 500 when I try to put a new MediaWiki:Gadget-blah.js [19:43:34] the error seems to come from a hook that belong to SyntaxHighlight_GeSHi. [19:44:00] SamB_7, :) [20:08:21] qgil: for a second - in your recent Phab comment - I thought you were asking me about the budgetting - and I was like “well I don’t have $30k personally - but yeah - totally” [20:08:46] :) [20:08:58] qgil: so for what it’s worth - it’s in my budget ;) [20:09:16] I could probably chip in…say…$5? [20:09:22] so ya know..only $29,995 to go! [20:16:02] varnent, noted :P [21:53:30] thanks for the fix to T95629! [21:57:34] evening