[01:03:10] I got distracted by life. [01:03:12] Let's see. [01:03:26] CoreyChambers: Is your wiki public? [01:03:30] Can you provide a link? [01:31:34] how do you oversight/hide a log/revision? [06:36:49] hey i'm searching various wiki solutions, is there something more simple but graphicly pleasing, and maybe easier/quicker for users to use than mediawiki? [14:40:23] If I want to make MediaWiki's classes available to my bot framework, what's the best way to do that? Is there a certain file I can require_once, to take care of that? Thanks. [14:40:35] it's a PHP bot framework [14:50:36] leucosticte: maybe includes/AutoLoader.php [15:15:10] leucosticte: as a warning, MediaWiki really isn't designed for that sort of thing, and you may see unexpected breakages [15:20:27] jackmcbarn: yeah, I was just playing around with it, trying to get it to work. require_once'ing AutoLoader.php by itself doesn't work, because it depends on stuff in other files [15:20:43] what class(es) do you want specifically? [15:27:37] Hi, I'm looking for documentation on writing auth extensions, similar to the OpenID extension. [15:40:44] jackmcbarn: MagicWord. I'm writing code to recognize whether a revision is a redirect or not. [15:46:40] What? http://skilledtests.com/wiki/index.php5 vs http://skilledtests.com/wiki/index.php [15:55:20] Nemo_bis yeah, I know. I can't explain it [15:58:25] before I had MW 1.19.x and it was OK [15:58:43] and then I upgraded straight to MW 1.23.x [16:53:59] if someone has a clue, ping me [17:29:14] im having an issue with a custom theme and mediawiki 1.22.7 using nginx and php 5.6 with short urls [17:29:37] the issue is even though I required my skin in localsettings.php it will not load the css [17:29:55] anyone have any tips or advice to help out [17:30:54] arch3y: Sounds like you're resourceloader definitions or pathing is wrong. [17:31:00] is $wgStylePath right [17:31:11] let me check [17:31:59] stylepath is default of $wgScriptPath/skins [17:32:12] and scriptpath is blank [17:32:59] other themes work that are custom and the default themes load without a problem [17:34:23] I have enabled debugging and compared a working theme vs my broken theme and nothing pops out [17:34:47] my wikilogo is set to the same icon in the skins/custom_theme/logo.png [17:35:17] im sure its something simple im missing but Im kind of confused as were to look [17:35:50] Check you ResourceLoader module definitions... [17:36:16] Lcawte: is that in my localsettings.php still new to mediawiki [17:36:35] No... it's in the custom theme's file. [17:36:43] ah gotcha [17:36:59] What is this custom theme? [17:38:15] yeah basically we are taking the archlinux wiki and themeing it [17:38:31] we have already pulled the code from their git and have chnaged a few thigns in their theme file [17:38:52] and that theme works just fine and the only diff between both resourceloader files is the paths [17:40:17] here is their code all we have done is copy it and change modify the skin a bit https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/ [17:41:12] so for example this is the resourceloader file correct https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/skins/ArchLinux.php [17:46:49] their wiki's running 1.22, dunno if relevant [17:47:01] MC8: So is arch3y's :) [17:47:18] aw, I thought I was onto something :p [17:48:12] its behind a bit, I know it needs an upgrade [17:48:37] Did you say you had their copy working on your wiki without any problems? [17:48:45] correct [17:48:58] in fact I have their wiki set to my default skin [17:49:24] all we did was copy their files change a few css things colors basically and images and pointed the resourceloader to the new dir [17:49:31] in the same skins dir [17:50:05] Eww, ok, so that skin isn't even using ResourceLoader... [17:50:28] ah ok [17:50:44] see I was not aware as this is the first time Ive ever used mediawiki [17:51:01] Oh hang on, yes it is... it's not using ResourceLoader for it's IE fixes, my bad... [17:51:09] its nice but the docs are a mess as there is way too much to go through hence being here [17:51:17] ah gotcha [17:51:40] I don't see any definitions for it though, where's the $wgResourceModules stuff? [17:53:11] wouldnt that be on line 45 were they are loading the skin dir [17:53:53] would it help to turn on debugging for the resourceloader [17:54:23] err... where's the setup instructions for this? [17:55:02] for their wiki to install it you mean [17:55:10] or to setup the resourcedbugger [17:55:17] as there arent any [17:55:44] but theorectically if I copy their master code and setup mediawiki with it all it really is, is themes and extensions [17:57:56] There are missing bits of the setup, which is probably what's breaking this skin. I'm going to check if they've hacked those in. [17:58:29] ok thanks I did add it via the require at the bottom of my settings file [17:58:53] Error creating thumbnail: Error code: -1 [17:58:56] for every image [17:59:24] oh, it's a rewrite rule, images won't work either [17:59:39] arch3y: So here we go... the resources for the skin have been core hacked into /resources/Resources.php ... https://projects.archlinux.org/vhosts/wiki.archlinux.org.git/tree/resources/Resources.php#n89 [18:00:02] Lcawte: gotcha [18:00:20] so now I think if I hack in our theme to the samefile we should be good [18:00:22] correct [18:00:45] arch3y: That's not how skins work post 1.22 and not how custom skins should be made anyway. The skin could do with bringing up to standard... it does look nice... [18:01:19] yeah I agree [18:01:33] Im just worried about messing it up with an upgrade [18:01:41] they definetly put a lot of time into it for sure [18:01:51] arch3y: I'd advise you add the definitions for your custom skin to LocalSettings.php, if you want I can write that for the arch wiki skin and then you can tweak it as you see fit. [18:02:11] Lcawte: if you could Id appreciate it aslong as it wont put you out too much [18:05:51] arch3y: http://pastebin.com/4Hm6yT09 should do it [18:06:22] gotcha thanks I will see if this helps I think it will [18:06:27] thanks for the help [18:07:24] If I remember I might fix the skin (potentially by forking it, who knows) [18:08:00] as you can see it looks like they are gettign ready to go to 1.23 but they arent ready yet it seems [18:08:27] 1.24 should be out December/January ish iirc. [18:09:02] cool sounds good thanks for the info [18:15:19] hmm well now no themes load yay checking for errors and things I only changed the word archlinux lol [18:15:55] php error fixing [18:34:25] Lcawte: thanks alot I ended having to hack it in as I got undefined index with resoureloader but it will be ok until we update [18:34:37] thanks alot for the help I was beating my head against the wall [18:34:58] probably due to the fact I know zero about how mediawiki works lol [20:45:58] hello, I wasn't here for a while. Question: Where to file a bug for the PDF book rendering function (collation?). I forgot, where [20:47:02] Wikinaut: collection* [20:47:10] MediaWiki extensions -> Collection [20:49:28] MatmaRex: thx [20:55:50] MatmaRex: In case that you are curious: https://bugzilla.wikimedia.org/show_bug.cgi?id=71094 [21:13:09] i'm stuck :/ my usual tech support is off on holiday, my hosting comp has pushed me onto php5 and I think that's disagreeing with my version of mediawiki. I tried running it from /mw-config/ and it sort of works but I see red and orange boxed with no content and I get to step 3 or so and then I can't progress. anyone who could help? [21:13:38] i mean, I tried running an *update from /mw-config/ [21:14:26] do you know what version of MediaWiki you are using? [21:15:07] LocalSettings.pho suggests I'm on 1.17.0 [21:15:20] but if there's a better way of knowing, I'll gladly check [21:16:05] 1.17 requires PHP 5.2.3 or higher [21:16:37] Are you getting any PHP errors? [21:16:49] on /mw-config/ [21:16:58] PiRSquared: I'm curious about the reverse: can I use MediaWiki 1.12 with PHP 5.5? [21:17:29] I'm on php 5.5 now, sorry, was unclear [21:18:03] hang on, I'll upload a screenshot of what I see, it doesn't look like ... anything [21:18:08] Carmela: probably not, but you'd have to test it [21:18:48] actually it might work [21:19:15] this is what I see: www.akerbeltz.org/sealach/mw.jpg [21:19:27] akerbeltz: can you configure it to show PHP errors? [21:19:48] Use something similar to the instructions here: [21:19:49] !blankpage [21:19:49] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [21:20:06] error_reporting( -1 ); ini_set( 'display_errors', 1 ); [21:21:17] just checked image. That is weird. [21:21:52] I have added those two lines to my localesettings.php [21:22:01] result looks pretty crazy :/ [21:22:34] can you see this? http://www.akerbeltz.org/mw-config/?page=ExistingWiki [21:23:35] if not, new screenshot www.akerbeltz.org/sealach/mw2.jpg [21:23:58] eww [21:25:02] other than my hosting comp doing this switch to 5.5, I have changed nothing else and it's been working fine [21:25:16] you might try upgrading another way if we can't find a way around this [21:25:29] Do you still have the old PHP version installed somewhere? [21:27:57] I can change the php my site uses via my hosts online interface, I tried that, tried 5.2 (and one in between, .3. or .4) but it has no effect except that on .2 mediawiki tells me it can't run (though it did before) and on the intermediary I get the same display issue of my site, haven't tried upgrading with it though [21:27:58] akerbeltz: try to fix this in your includes/MagicWords.php file https://gerrit.wikimedia.org/r/#/c/107259/1/includes/MagicWord.php [21:28:08] the patch probably won't apply though [21:28:16] something similar [21:29:04] * includes/MagicWord.php [21:29:19] BTW, I would make a backup of your DB in case this doesn't work [21:30:09] this is getting hairy... maybe I should better wait for my tech friend to come back [21:30:39] I think I'll do that, she's back Monday... I'll bookmark the pages you linked [21:30:56] might be back in here with her but she's defo better at this than me [21:31:11] you might have to completely reinstall MediaWiki manually [21:31:30] ok [21:31:44] thanks for ur help [21:31:48] bye [21:32:10] bye [22:19:27] hi [22:19:48] Hi biberao2. [22:20:14] im having an issue with the shorturls [22:21:05] i cant it to work properly [22:21:17] it either gets "Wiki" instead of wiki [22:21:27] or it gets wiki/index.php/Main_Page [22:21:39] If you want your virtual path to be /wiki/, [22:21:48] you need to have your index.php file live in a folder that is not named wiki. [22:21:50] Such as w. [22:22:00] Compare with https://en.wikipedia.org/w/index.php?title=Main_Page [22:22:03] See the /w/? [22:22:07] yes [22:22:09] That's the real path. [22:22:22] The virtual path is /wiki/: https://en.wikipedia.org/wiki/Main_Page [22:22:28] That sounds like your issue. [22:23:16] ive seen like /wiki/ and all inside /wiki/ [22:24:04] Where? [22:24:12] It's probably possible, but it's definitely not recommended. [22:24:16] !rewriteproblems [22:24:16] 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root (see !nullpath); 4) Use different, non-overlapping paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. See also !shorturls [22:24:23] See point 4. [22:29:27] im screwed :D [22:29:28] hehe [22:34:37] Error creating thumbnail: [22:34:37] Error code: -1 [22:34:41] for every thumbnail [22:34:42] Carmela: but that will require access to the config of the webserver [22:34:44] correct [22:34:48] pictures work correctly [22:35:01] what does error -1 mean? [22:35:38] SPh|nemitt: Dunno. [22:35:39] !debug [22:35:39] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [22:35:46] You probably need to look at system logs? [22:35:59] And you need to figure out if the error is coming from ImageMagick or PD or whatever. [22:36:05] There are different thumbnailers. [22:36:15] biberao2: Yes. [22:38:15] thought so [22:38:15] :D