[05:28:32] hi, i want to extend the upload procedure.... i guess i can hook in onUploadFormInitDescriptor to extend the uploadform. but the main problem is, that i need the uploaded file to gather some informationen, display some checkboxes and let the user choose some options. i have no clue how to add an extra step in the uplaod dialog and especially push data to the dialog after the file was uploaded ( in the UploadVerification hook i get the temp file).... can someoen [05:28:32] give me a push in the right direction?:) [05:29:01] i would need something like the categorie selector in the uploadwizard but AFTER the file was uploaded. [05:30:15] jk_: The file is already uploaded when you select categories in UploadWizard. [09:25:47] Hello all ! [09:27:12] I start to work on migrating old wiki before it crash : i need to migrate 1.7.1 wiki with some configs to a new server Debian7 with 1.19. Note that there is some special config like a public part and a private part (with LDAP auth required). Is there some guides to do this ? [09:27:58] and don't want to loose files and i think some skins (but I want to put real tools for users like a better editor) [09:28:32] old admins let no docs nor infos about installation or configs :-( [09:28:42] Hi. Do you think that cache tables can decrease performance of mediawiki? if yes then which tables are safe to delete so that they get recreated automatically over time? [09:48:37] How do I change the logo of my Wiki? I have uploaded a picture but dont see anywhere to change the logo [09:50:52] Ryvius: In your Localsettings.php, search for $wgLogo = "$wgScriptPath/resources/assets/wiki.png"; [09:51:20] So there's no easy way in the Preferences...? Okay... [09:56:29] Oh I found it, thanks [10:32:28] can i find out the name of the current page in LocalSettings no problem? thanks [10:32:41] i actually need its namespace [10:48:40] nope no way/ [15:25:12] Anyone know what are allowable characters in namespaces? I am finding conflicting information. Some that says only characters, numbers, underscore, and space. Then some other sources that say any valid characters besides colon. [15:32:31] Mihau: I believe colon, octothorpe, and maybe question marks are disallowed [15:32:36] Maybe a few more special characters [15:32:39] Let me pull it up :) [15:33:37] Thanks. I have looked in the Title and Namespace classes along with their documentation. Title specifies restrictions on links related to namespaces, but nothing exactly about how their allowed to be named. [15:33:47] *they're [15:59:11] Do you think that cache tables can decrease performance of mediawiki? if yes then which tables are safe to delete so that they get recreated automatically over time? [16:43:24] gleki: Any cache table should be fine to be cleared [16:43:48] If it causes mediawiki problems (other than speed type issues while caches are repopulated), like fatal errors, exceptions etc, then this is a bug in mediawiki [16:44:08] Don't delete them though [16:44:24] Use truncate or similar [16:44:32] The tables missing from the database will likely cause issues [16:45:02] uh, don't drop them, use DELETE FROM/TRUNCATE [17:24:35] hi [17:24:44] Hello. [17:25:10] I copied my wiki to ssl and it comes out like this: https://www.bksys.at/ecowiki/Main_Page [17:25:26] Do you know what's wrong? [17:25:43] non ssl is fine: http://www.bksys.at/ecowiki/Main_Page [17:26:21] your ssl cert isn't trusted [17:26:30] not really a mediawiki issue [17:26:32] it's a cacert cert. [17:26:47] Do you see the page? [17:26:54] Nope, untrusted certificate. [17:27:15] Well, that's not my problem. The problem is that the page lacks structure. [17:27:28] It's like lynx might display it. [17:27:28] check your webserver config [17:27:42] Ok. I thought you might know what the issue is ... [17:28:03] your requests for css/js/whatever aren't returning what they should [17:28:52] you'll probably see why or at least have a good starting point if you check your web server logs [17:28:59] ok [17:33:31] <_kikiTT1> Hello Folks. Is there a way I can get the ResourceLoader to load a module in debug mode. Just one .js file (WebCola) which is getting broken by the ResourceLoader [17:34:20] <_kikiTT1> I've tried to create another dependent module, a 'loader' if you like. that calls mw.loader.implement with the cola.js [17:34:44] <_kikiTT1> That works, but is subject to a race.. sometimes the js that needs cola runs before cola.js is loaded [17:35:12] <_kikiTT1> webcola ref: http://marvl.infotech.monash.edu/webcola/ [17:35:44] <_kikiTT1> What's the correct way to do it? [17:36:14] I use mw.loader.implement then mw.loader.using to use whatever module you created with implement [17:37:17] <_kikiTT1> mw.loader.using ? [17:37:25] <_kikiTT1> ah ok let me look that up in the source. [17:37:36] <_kikiTT1> * Execute a function as soon as one or more required modules are ready. [17:37:44] <_kikiTT1> ok.. that looks good [17:37:46] mw.loader.using( 'modulename', function () { /* code goes here */ } ); [17:37:48] <_kikiTT1> thank you! [17:38:22] just bear in mind, if mw.loader.using tries to call a module that hasn't been registered yet it'll throw and error [17:38:44] so try and make sure it's always implemented before you try to use it as a dependency [17:40:37] <_kikiTT1> it's kind of like a $(document).ready() for mw :-) OK. I'll make some tests, I assume coding my mw.loader.implement following by using will work., although.. saw some async stuff in the mw.loader code. [17:42:03] yeah, it loads scripts async after the DOM is loaded [17:42:31] and technically before iirc, but I think that's on the todo list [17:44:42] <_kikiTT1> Maybe I should just load cola.js in the head of the skin of something [17:48:43] Looks like firefox is blocking http content on my ssl wiki. Is there an easy way to make mediawiki use https links for css etc. instead? [17:50:50] or relative links? [17:53:26] Like, I have this link in https://www.bksys.at/ecowiki/Main_Page [17:58:47] I'll use the non ssl page for now ... [18:17:16] Hi guys, I am currently trying to install mediawiki in my fedora 22 VPS but its not working !! [18:17:48] I setup a LAMP Server and did everything required but when I navigate my browser to the mediawiki installation url, nothing shows [18:17:56] please help me fix the issue. Thanks. [18:21:38] arunpyasi: is there 404? or just blank page? [18:21:40] !blank [18:21:41] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [18:24:03] GEOFBOT: I haven't installed it using web interface, after I create a database and restarted httpd, then when I opened the browser, it doesn't pop and I can't find the Localsetting.php [18:24:42] The LocalSettings you have to access with ftp or ssh [18:25:33] GEOFBOT: yeah, I am in ssh but cannot see where it is. [18:26:10] there is no that file [18:27:44] GEOFBOT: I see this error Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 [18:27:44] Fatal error: Unknown: Failed opening required '/var/www/html/mediawiki/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0 [18:28:24] I have /var/www/html/mediawiki/ set to apache as ownership [18:32:36] arunpyasi: Be sure that the chmod permissions are correct [18:33:01] GEOFBOT: yeah, I thought that might have affected and switched to 777 [18:33:22] SELinux may be the issue, as you are on fedora [18:33:52] GEOFBOT: oh yeah !!! [18:33:56] I forgot that crap [18:34:04] Thanks, I will try it [18:34:16] Try restorecon -FR [mediawiki dirs[ [18:35:13] yup that did the job. Thanks GEOFBOT for your awesome help [18:37:08] no problemo [19:20:04] GEOFBOT: is it good to delete mw-config/index.php file for security issue ? [19:21:06] Always better to remove code :). But it's not unsafe to have it there-- a random key is needed to use it as long as you have a LocalSettings.php in the webroot. [19:21:16] ^ [19:21:48] Aah thats cool [19:22:06] so, no need to delete :D