[01:34:57] I'm having a display issue with webfonts (http://guild.wyrmsnest.com/Main_Page) <- see there. Do I need to tweak a folder permission or something? (FF and Chrome both report a failure to download the font) [01:40:45] Seems to mostly be an issue on FF, though Chrome works for some people and not nothers... [01:48:35] Had some good time configuring EventLogging on Mediawiki installation - i wonder how such things released totally configured to be used in Wikipedia ... [02:06:36] Grrrr.... I cannot get this stupid font to work... [02:21:10] Mwahahahahahaha! [02:21:21] Fixed it. :) [07:11:45] Hallo, ich habe folgendes Problem: ich habe meine Sidebar geändert und wenn ich nun die Hauptseite aufrufe, ist von der geänderten Sidebar nichts mehr zu sehen, klicke ich zb. auf den Link "Letzte Änderungen" in der Sidebar .. ist mein "neues Menü" zu sehen, woran liegt das? Danke schon mal für Hilfe [09:01:18] hello, im looking for a theme that utilize bootstrap3. there are many options available but i cannot choose (confusion). any recommendation? [09:04:16] that would be great if i can use a custom theme like http://bootswatch.com/readable/ [09:11:57] i tried https://www.mediawiki.org/wiki/Skin:Strapping. it came up ok, but since the theme (above one) is v3 based, it did work with it [17:15:16] Is there someway to quickly enable a mediawiki beta feature using javascript userscript? [17:19:43] ebraminio, can probably set their preference, sure [17:23:10] ebraminio, I assume you know about mw.Api's saveOption? [17:23:41] Krenair: Thank you, I just become aware of it :) [17:24:09] you'll need to depend on the 'mediawiki.api.options' module for it [17:39:12] Krenair: Thank you Krenair, you did a great help :) [17:46:35] How to do image preview as it is in mediawiki.org wiki? [17:46:35] How to exclude several namespaces (eg Files) from maintenance/generateSitemap.php? [17:50:26] I think you need to use wgSitemapNamespaces [18:37:14] I upgraded my 1.18 install of mediaWiki, and i cant get the ConfirmEdit sextion to function at all. [18:37:28] Uncaught exception 'Exception' with message '/srv/www/htdocs/MMO/extensions/ConfirmEdit/extension.json does not exist!' [18:37:52] thats when i use the approprate wfLoadExtension( "ConfirmEdit"); in my LocalSettings.php [18:38:19] the extention.json file is indeed not present in the tarball of 1.25.1 [18:38:51] eadthem: use the old require_once [18:39:20] that causes a diffrent error Fatal error: Class 'ReCaptcha' not found in /srv/www/htdocs/MMO/extensions/ConfirmEdit/includes/ConfirmEditHooks.php on line 16 [18:39:41] !e ConfirmEdit [18:39:41] https://www.mediawiki.org/wiki/Extension:ConfirmEdit [18:40:03] yes im on that page right now [18:40:23] Wasn't ReCaptcha removed? [18:40:36] not that i can tell [18:40:36] Or not [18:40:38] I'm pretty sure its still there [18:40:40] you need to wfLoadExtension or require_once the captcha type I guess [18:41:06] i wish tbh that the old recaptcha addon i had was still in, it worked right first try, and this new ConfirmEdit extention seams much less useable. [18:41:08] bawolff: We removed soemthing [18:41:14] I oculdn't remember which :P [18:41:16] wfLoadExtension probably wouldn't find the extension.json file, as its in the subdirectory [18:41:50] ya i just changed to that [18:42:04] wfLoadExtension( 'ConfirmEdit/ReCaptcha' ); require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php"; $wgCaptchaClass = 'ReCaptcha'; [18:42:19] the site loads fine with no errors now, but the captcha is not displayed [18:42:30] You should probably only do one of wfLoadExtension, or the require_once [18:42:35] probably not both [18:42:47] the manual says both ive tryed one or the other as well [18:43:01] o wait :p it dose say one or the other [18:43:34] but nether cause it to appear [18:45:54] https://dpaste.de/tntD [18:45:59] theres the related config file lines [18:54:19] are there any other captcha systems other than ConfirmEdit? [18:59:36] do you mean "other than ReCapcha"? [19:01:30] i mean other than ConfirmEdit [19:01:54] Ive used recaptcha for years, im sure its not the issue here [19:02:54] is this the channel to ask questuions about mediawiki development? [19:03:49] jk_: maybe try #wikimedia-dev first [19:04:09] ok, thx. [19:04:28] Is there any way that I can export all pages in a certain category to .txt files? I'd like one .txt file per page [19:07:21] i guess there is a extension for thit purpos [19:07:59] or use the api [19:08:00] Ah, I meant by default installation [19:08:15] It's not my wiki so I don't have access to add more extensions [19:09:26] iAdam1n: You can use the api to get a json file, from there with a little preprocessing you can make a text file [19:09:44] Well I don't know the api or how ;p [19:09:46] iAdam1n: if you know how to program, probably fairly easy. If you don't, might be a little difficult [19:09:55] yeah, thanks though [19:10:07] So it's not possible via default methods? [19:11:07] iAdam1n: The closest you can get is https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=category:East%20Slavic%20history&cmlimit=max [19:11:23] thanks [19:11:34] if using curl is a default method?:) [19:11:46] if you want the wiki text (the wiki code, not the generated output with HTML stripped) you can get it with action=raw on each page [19:11:48] Add a &format=json at the end of that url to download [19:12:19] There's some other formats the api supports, some of them might be closer to what you consider plain text, see the api docs for details [19:12:22] anyone here hacking mediawiki? [19:12:39] jk_: yep [19:12:49] hacking as in improving I should say [19:12:50] i want to extend (add some extra attributes) due a fileupload. is it possible to extend the uploadpopup window with own html. how could i achiev that? [19:13:00] *not as in violating its security [19:13:27] The file upload code is a tad icky [19:13:33] let me check if that's possible [19:14:31] Where do you file a bug report aganst a broken extention [19:14:33] ? [19:14:36] i tried hooking on onUploadVerification [19:14:51] eadthem: at https://phabricator.wikimedia.org [19:15:19] jk_: You'd probably want to use one of the hooks run from the file includes/specials/SpecialUploads.php [19:15:34] yes [19:15:50] but i only can abort an upload then.... [19:16:21] I think UploadFormInitDescriptor can add fields [19:16:39] i'll check this.... [19:17:00] If you're not familar with the HtmlForm class, you'll probably want to read up on it first [19:18:53] thank you for now:) [19:19:06] i have to leave the train :) [19:19:14] look promising:) [19:19:16] bawolff is there a accutal bug tracker, or are they called tasks? [19:19:22] https://phabricator.wikimedia.org/tag/mediawiki-extensions-confirmedit-%28captcha-extension%29/ [19:19:38] eadthem: They are called tasks, but its used mostly for tracking bugs [19:20:24] eadthem: https://phabricator.wikimedia.org/maniphest/task/create/ [19:21:05] problem is even if i do this, i still cant bring my site online, I wish i had known it was broken before i upgraded. [19:24:00] eadthem: In your site, if you go to view source of the login page, is the text "var RecaptchaOptions" somewhere in the page source? [19:25:07] The only instance of the word captch is ,"wgCreateacctImgcaptchaHelp":""}); [19:25:17] i found no instance of RecaptchaOptions [19:28:10] Ok, I'm going to try installing the extension on my wiki, and see what happens [19:28:35] its in the stock bundle that comes with the 1.25.1 tarball [19:28:51] Warning: call_user_func() expects parameter 1 to be a valid callback, class 'ConfirmEditHooks' not found in /var/www/w/git/includes/registration/ExtensionRegistry.php on line 189
[19:28:56] is already not a good sign :s [19:29:17] i also got that warning [19:30:31] yesterday i had it half working, but i hard coded some varables to get that much, i wiped that out with a fresh copy today, and redid the manual instructions [19:30:40] and then again with the latist GIT head [19:30:54] and again with Head but using ReCaptchaNoCaptcha with the same resulets [19:31:27] which NoCaptcha is not supose to work with 1.25.1 but i tryed it as the regular one wasnt working:p [19:34:39] eadthem: Looking at your LocalSettings.php you posted earlier, do you have both require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php"; and require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php"; [19:34:53] no [19:34:59] try adding both of them [19:36:36] PHP Fatal error: require_once(): Failed opening required 'ReCaptcha/recaptchalib.php' [19:44:06] https://phabricator.wikimedia.org/T106992 [19:44:38] eadthem: What's your default include path? [19:44:53] not sure what your asking [19:45:26] (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') [19:45:54] yeah that's what I was wondering [19:47:02] im wondering if this would possably work fine if it was in its own root on its own domain [19:47:21] and perhaps its not working because its in the final.servegame.com/mmo/ subfolder [19:47:58] eadthem: Could you try replacing line 147 of includes/ConfirmEditHooks.php with [19:48:00] require_once( __DIR__ . "../ReCaptcha/recaptchalib.php" ); [19:48:01] require_once( "ReCaptcha/recaptchalib.php" ); [19:48:11] because thats the line i tryed hardcodeing yesterday that got it half working [19:48:20] it displayed but didnt work right [19:49:31] require_once(): Failed opening required '/srv/www/htdocs/MMO/extensions/ConfirmEdit/includes../ReCaptcha/recaptchalib.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') [19:49:57] require_once( __DIR__ . "/../ReCaptcha/recaptchalib.php" ); [19:49:59] this worked [19:50:06] i added a slash to yours [19:50:17] eadthem: Instead of using the version bundled with 1.25.1, could you try downloading the extension from https://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmEdit (Select master from the drop down) [19:50:35] :p i had alredy tryed that [19:50:39] let me try it again [19:53:34] all mediawiki pages now show You need to set $wgReCaptchaPrivateKey and $wgReCaptchaPublicKey in LocalSettings.php to use the reCAPTCHA plugin. [19:53:43] which is false, i have those 2 varables defined [19:54:18] ok nvm [19:54:20] it works [19:55:06] ok so the directory error was fixed in master [19:55:16] eadthem: Works as in totally, or just that error went away? [19:55:25] and the instructions need to say also require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php"; [19:55:47] i added a typo to the private key when i switched things out for the git master [19:56:02] works as in totaly [19:56:31] yay [20:02:52] o shuld i of left it open? [20:03:33] dam i cant undo [20:06:04] Thank you bawolff [20:06:18] No problem. Sorry the default thingy was broken [20:06:34] well it wont be in the next release, thats what matters. [20:06:53] Shuld a note about line 147 be added to the instructions? [20:13:30] I added a note on the page [20:13:38] telling people just to download the new version [20:14:33] that works [20:33:37] eranroz: Hi. Sorry, where is VE channel? [20:33:52] #mediawiki-visualeditor [22:06:36] hi [22:06:49] so I'm trying to pre-fill the reason field on Special:Block from a query string [22:07:32] I tried &wpReason=foobar, but that doesn't work because it's a select or other type field [22:07:38] &wpReason-other didn't work either [22:07:42] any ideas? [22:11:32] legoktm: i think you need to patch includes/speacials/SpecialBlock.php [22:12:00] hmm, i was hoping to avoid that :P [22:12:36] (function setParameter is already prepered) [22:19:47] Hello. I have a really weird caching problem with mediawiki: the css only loads once after I restart the server and then load.php return an empty response. [22:19:55] I can't figure out why [22:20:18] oh, and it only happens on http, everything seems fine when using https... [22:34:00] found the culprit: mod_pagespeed was messing up with mediawiki caches... [22:34:08] \o/