[00:00:15] naaw: so that sounds like everything is already installed? [00:02:29] legoktm: Yes. I'm wondering whether I've stuffed something up using xampp, I.e. I'm doing something wrong and calling the system PHP somewhere instead of the xampp PHP [00:07:58] How can I test swiftmail is installed in my xampp PHP installation? [00:10:03] naaw: so composer doesn't install it to a specific PHP instance, it just sets it up in a file location, and any compatible php version should be able to use it [00:10:19] legoktm: Understood [00:11:16] legoktm: my original error message is "Fatal error: Class 'Swift_Message' not found in /opt/lampp/htdocs/w/extensions/SwiftMailer/SwiftMailerHooks.php on line 41" [00:22:45] legoktm: any ideas what I should be checking? [00:25:27] jackmcbarn: I have imported the modules and I am still getting the same error. [00:25:58] Jeroen: on one of the pages where you get the error, go into edit mode and save without changing anything [00:30:56] naaw: it looks like it's a bug with the extension :/ [00:33:23] jackmcbarn: It works now, I think, how can I make sure that all styles are working and the images work? [00:33:30] naaw: I uploaded a patch to fix it: https://gerrit.wikimedia.org/r/183405 [00:33:52] Jeroen: for styles, there's really no way other than looking [00:34:10] for images, you can check [[Category:Pages_with_broken_file_links]] [00:41:20] jackmcbarn: Seems that setting $wgUseInstantCommons to true works [00:52:16] legoktm: thanks so much! I'll check it out [00:59:51] o/ [00:59:58] when i create a open wiki [01:00:06] can i change it after to request accounts? [01:02:52] aelevadoan, https://www.mediawiki.org/wiki/Extension:ConfirmAccount ? [01:05:09] aelevadoan: yes [01:05:26] andre__: that plugin allows me to change from openwiki to request account creation ? [01:05:38] Betacommand: do you know another away apart from using a plugin? [01:06:34] aelevadoan: mediawiki doesnt use plugins it uses extensions, which achieve 90% of the features that people use [01:06:50] why dont you want to use an extension? [01:06:57] Betacommand: sorry, I meant extensions like the one andre__ recommended [01:07:08] i just wanted to know if there are other options [01:07:35] aelevadoan: that is the easiest way [01:07:45] legoktm: I cloned the SwiftMessage git repository and ran "git pull https://gerrit.wikimedia.org/r/mediawiki/extensions/SwiftMailer refs/changes/05/183405/1" as per the patch page. [01:07:56] and recommended method [01:08:11] legoktm: I then replaced my extensions/SwiftMailer directory with this one. [01:08:11] Betacommand: and with that extension can I pass from a wiki that requires account registration to an open wiki afterwards? [01:08:20] aelevadoan: yeah [01:08:26] ok, good [01:08:28] thanks [01:08:34] aelevadoan: extensions only function when enabled [01:08:47] if I need to use it, I will ask in the chat [01:08:53] Im just creating the wiki now [01:09:01] you either gain or lose functionality based on what it does [01:09:10] legoktm: I then restarted Apache for good measure but I still get the same error. [01:09:21] !spam | aelevadoan [01:09:21] aelevadoan: For information about combating and handling spam in MediaWiki, see and . [01:09:31] naaw: :( I'm not sure then, you should probably file a bug report [01:09:33] aelevadoan: ^ [01:11:39] Betacommand: thanks! [01:20:19] probably should update that command, as the latter link redirects to the former [01:32:40] What's a good place to attach a parser hook? [01:34:01] http://www.mediawiki.org/wiki/Extension:EmbedVideo#Installation suggests to require_once the extension file from LocalSettings.php. [01:35:19] But it's not needed if there is no parsing involved e.g. if served from cache. [02:18:52] I have a bit of a problem with my Wiki style: http://puu.sh/edFCf/9b27b27069.png [02:19:38] There is a backslash on the top left and something else. [02:21:45] Jeroen: Right-click -> inspect element on the slash. [02:22:03] what's the html around it? any div IDs or class IDs? [02:24:35] div id mw-head [02:24:53] jazzorius: [02:25:17] check your skin [02:26:25] Your skin has the HTML template. That's where the HTML is generated. Locate the part of the HTML that doesn't look right and find the code that's generating it. [02:30:43] Looks like nothing is wrong with it. [02:34:03] is your site public? [02:58:55] is the mediawiki XML format for dump files documented anywhere? My search fu is poor this evening. [03:03:58] wmat: Probably not, but it should be. [03:04:12] wmat: Typically it's easiest to just download a small dump and read its structure. [03:04:30] wget && bzcat should be all you need. [03:04:50] Well, for Wikimedia dumps. For MediaWiki XML dumps generically, they're not compressed, I don't think. [03:05:25] Fiona: thx, that's what I'll do [03:10:28] anyone using mediawiki which is bound to opendirectory auth? [03:16:39] jazzorius: No, it is not public. [03:22:08] Ownage: LDAP? [03:22:16] Oh, that's Active Directory. [03:22:21] What's OpenDirectory? [03:22:33] OSX's ldap implementation [03:22:37] Apple's implementation of LDAP [03:22:42] * Skizzerz got ninja'd [03:23:05] !ldap [03:23:05] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication To get support, open a new thread on the support page http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication [03:23:06] anyway, the existing LDAP auth plugins *should* work fine since the underlying protocol is all the same [03:23:32] It's interesting that one of you chose to name the operating system and the other chose to name the company. [03:23:46] And what Skizzerz said. [03:24:20] I already saw that [03:24:32] someone asking the same question as me, still unanswered from september [03:24:51] Yeah, that happens. :-) [03:24:56] Did you try the extension? [03:25:05] < Fiona> wmat: Typically it's easiest to just download a small dump and [03:25:16] yeah, I get invalid password. And I'm not getting any logs from it [03:25:17] ugh, sorry [03:25:27] No worries. [03:25:43] Ownage: Did you try with a different account? [03:25:52] Are you specifying the domain somewhere? [03:26:06] I've never actually used that plugin, but I hear good things. [03:26:47] well there are about 100 variables you can set, and about 50 of them seem to be documented in a simple comment style (online) [03:27:23] and since ldap is always fun to spend hours and hours on, I figured maybe if someone already has it working they could post a snippet of their file [03:28:07] Fiona: I found this, btw: http://meta.wikimedia.org/wiki/Help:Export#Export_format [03:28:13] Oh, nice. [03:28:22] Meta-Wiki also has a "Data dumps" page. [03:28:32] Anyway I think the first problem I should solve is that there's no log [03:28:40] !debug [03:28:40] 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 [03:28:57] There's a debug log variable you can set in LocalSettings.php. [03:29:31] The log destination will need to be in a place that's writeable by the Web server user probably. [03:33:09] What's the fastest way to generate a list of pages (these pages happen to be files) in a category so I can set it as a txt file and run deleteBatch.php on it? [03:46:17] @my last comment - nevermind I did it with the API and some editing in text editor [03:48:46] Good work. [03:49:16] Ownage: You can read the file includes/DefaultSettings.php to better understand the variables. [03:49:27] Also, if you're unhappy with the documentation, get editing. [03:49:30] It's a wiki, brah. [03:49:38] I've got log files working now, still trying to figure out the problem [03:49:45] Nice. [03:49:54] <^demon|away> Fiona: do you even document, brah? [03:49:58] all it says is 'failed to bind as uid=...' but no reason why; thanks for the tip [03:50:02] Most days I can't even. [03:50:08] Which presumably includes documentation. [03:50:38] Failed to bind? Okay, so then just grep through the source of the LDAP extension. [03:50:49] And find where that log line is written, and backtrace. [03:53:22] cool, making progress.. I'll let you know if/when I get through it, thanks for the help [03:56:07] No problem. [04:07:47] How can I disable the auto-lockout of accounts after 5 failed logins [04:08:25] I think that's an LDAP setting. [04:08:43] I don't think MediaWiki has that feature out of the box, anyway. [04:29:04] Ownage: you would need to change the LDAP settings [05:52:35] Finally got it! [05:56:24] Hello [05:56:57] I have subscribed to phabricator task T85794 [05:57:44] I am unable to find the code [05:57:53] Please direct me to it [06:21:27] Hello. I'm trying to enable the iegreview role in MW. I get the following error on running provision: https://dpaste.de/KEB8 [06:26:03] Niharika: you have the scholarship role enabled too. it has a resource with the same name. if you disable scholarships, it'll work. (this isn't your fault -- the two roles ought not to have that conflict.) [06:30:19] ori: Okay. Should I file a bug for that? [06:31:31] Niharika: ordinarily, yes, but i already have a patch [06:32:09] ori: Okay. Awesome. [08:18:14] What's a good plugin or method to deal with the display of a single line of strings which is too long for a page? [08:18:23] In my case, an authorized keys line [08:36:51] Ownage: what should be dealt with? [08:37:16] It shows as like 3 times as wide as the page, making the whole page look rediculous [08:37:38] some kind of word wrap, or scroll enclosure or automatic escaped breaks or something, I don't know [08:38:31] Ownage: try
[09:02:53] Thanks that worked out for me valhallasw`cloud [14:58:24] Okay, so I'm copying a wiki to my local host... I grabbed an xml dump and a tar.gz of the image dir. The images are in the image dir... how do I populate the image table as they all show as not uploaded. [15:01:19] Lcawte: There's a maintenance script you can use to just upload all of the images [15:02:02] yeah [15:02:09] maintenance/importImages.php [15:03:22] https://www.mediawiki.org/wiki/Manual:ImportImages.php [16:38:42] Hi all. I'm working on a custom skin for my wiki, but I can't seem to make the contents of MediaWiki:Sidebar actually affect the sidebar. Is there something special / different I need to to to make sure those customizations are included in the rendering of the page? [16:39:22] I looked at e.g. monobook but it seems to simply use $this->data['sidebar'] (https://github.com/wikimedia/mediawiki-skins-MonoBook/blob/master/MonoBookTemplate.php#L137) but in my case that doesn't reflect any changes I make to Mediawiki:Sidebar [16:39:45] in fact, if I try ?useskin=monobook, I don't see the effects of Mediawiki:Sidebar on the actual sidebar -- weird, I thought monobook supported this out of the box. maybe it's a syntax error? [16:45:05] What changes are you making, exactly? [16:46:21] oznogon: here's the current contents of mediawiki:sidebar: http://labcg.di.uminho.pt/MediaWiki:Sidebar [16:47:24] and here's usage of the monobook skin (note how the actual sidebar differs from mediawiki:sidebar): http://labcg.di.uminho.pt/MediaWiki:Sidebar?useskin=monobook [16:48:47] For one, I believe members needs a pipe followed by link text, like "Members|Members" [16:49:40] hmmm, let me try that, but I think it didn't work even before [16:50:36] ah, ok, so it works with monobook, but not with my custom skin [16:51:19] oznogon: thanks, that already helps :) I'll do some experiments [20:16:38] can i add caching after i configure my site or do i need it before i install [20:16:57] you can add it later [20:17:07] great thanks [22:49:30] yo folks :) [22:49:38] Hi willwh, what's up? [22:49:39] I just installed mediawiki on a nix box, and having some trouble getting widgets working [22:49:42] hi marktraceur :) [22:49:44] how are you? [22:49:48] Doing OK [22:49:52] great [22:49:57] Widgets...I don't think I ever got those working either [22:50:04] so I followed this: http://www.mediawiki.org/wiki/Extension:Widgets [22:50:14] important for me, need to be able to iframe and use remote images :) [22:50:18] willwh: What isn't working exactly? [22:50:32] the iframe widget form [22:50:34] for me* [22:50:48] on a page where I define an iframe, I just get "Error in widget Iframe" [22:50:51] Ah. [22:51:07] I set this; $wgShowDebug = true; [22:51:08] willwh: You control this wiki, right? Can you look at the error log to see if there's more information there? [22:51:14] !error [22:51:14] 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:51:17] and it doesn't actually show much helpful info [22:51:32] want me to gist what I have on that pageload? [22:51:38] That'd be super [22:51:41] from debug [22:52:15] https://gist.github.com/willwh/899e77a9349060ea58c5 [22:52:24] I really appreciate your time btw, great [22:52:43] No problem :) [22:53:40] Hm [22:53:46] Well, you're right, nothing interesting there [22:53:52] ah [22:53:54] googling around [22:54:01] reads like the git repo for smarty is useless [22:54:02] willwh: Can you check your browser's error log too? [22:54:09] and should be downloading the package manually [22:54:10] sec [22:56:58] ahaha :) [22:57:24] so do that, tar -xvf smart.tgz && mv smarty/libs $IP/extensions/Widgets/smarty [22:57:27] wsod [22:57:27] D: [22:57:28] Oh, cool. [22:57:33] off to tail me some error logs [22:57:40] Oh, not cool. [22:57:49] I thought you were saying it was fixed! [22:57:52] Jumped the gun. [23:01:27] ah [23:01:31] think I need to grab packages for both [23:01:51] i.e. I deployed Widgets from git and it's puking all over the place :P [23:02:30] Ah, yeah [23:06:38] marktraceur: bah [23:06:44] I grabbed the latest stable zip of Widgets [23:06:57] and then smarty 3.1.19 [23:07:02] still the same prob [23:07:11] Hm. [23:07:34] willwh: I dunno what could be wrong, Widgets isn't something I know much about [23:10:17] surprised it's difficult :p [23:10:59] I'm sure it's not, I just don't have the time right now, sorry [23:11:51] np