[00:53:38] I almost have 1000 edits on mediawiki.org :O [00:54:57] I have almost 500 edits on mediawiki.org :O [00:56:41] I think most of mine are warning templates [00:56:54] since I'm like the only admin there who uses warning/talk page notice templates [00:57:17] Somehow I only have like 900 [00:57:28] * Meiko gasps [00:57:50] I think MediaWiki.org is my second- or third-most edited wiki at Wikimedia [00:57:54] en.wiki is first [00:58:04] since every time I go on there I get like a thousand edits with huggle [00:58:33] https://www.mediawiki.org/wiki/Special:CentralAuth/GeorgeBarnick :O [00:59:34] I wish I could make mediawiki.org my home wiki lol [00:59:39] it's so much better than en.wiki [01:10:14] Meiko, 1,544 [01:10:21] Meiko: homewiki in SUL means nothing now [01:10:37] afaik [01:11:44] yeah i know [01:11:45] it used to be used for some things (e.g. being blocked on homewiki means you can't create account on another wiki or something), but isn't it just an indicator of the first wiki to be added to the global account? [01:11:59] it is [01:13:30] Like most people I suppose, here with a question - Anyone knowledgeable with AbuseFilter? I'm having trouble working out something very specific. [01:13:58] DannyBoy: You should compose a pastebin, probably, and we'll see if we can't help you. [01:14:44] marktraceur: https://dl.dropboxusercontent.com/u/67842559/approved.txt is what he needs [01:15:02] (prior discussion about this was at https://www.mediawiki.org/wiki/User_talk:GeorgeBarnick) [01:15:34] Yes, I've had trouble working out the logic behind such a system. [01:18:37] The site in question needs to be "safe" for children to use. I'm looking to have my wiki accepted into a program and blocking external links is essential. [01:23:13] And here's an odd error - When I attempt to delete any page, I get an error describing something about AbuseFilter. [01:26:15] Now users can't post li ks to where ever they want, and I cannot delete pages. Splendid. [01:26:34] *can *link [01:29:26] DannyBoy: whats the message> [01:30:34] Betacommand: Warning: Missing argument 5 for AbuseFilterHooks::onArticleDelete() in /home/shales6/wockypedia/extensions/AbuseFilter/AbuseFilter.hooks.php on line 327 Fatal error: Call to a member function merge() on a non-object in /home/shales6/wockypedia/extensions/AbuseFilter/AbuseFilter.hooks.php on line 341 [01:31:05] DannyBoy: what version of mediawiki are you running? [01:32:04] 1.19.11 [01:32:33] what did you download the 1.19 version of the abuse filter? [01:33:56] Ack, no I didn't. I wasn't aware my Mediawiki wasn't entirely up to date either. [01:34:07] thats your problem [01:34:36] if extension and core versions do not match, odds are they wont play nice together [01:34:53] at least for major release numbers [01:35:18] IE any 1.19.xx should work with a 1.19 extension [01:35:24] Would degrading the plugin or update Mediawiki be best? [01:35:44] DannyBoy: at this point I would just wait [01:35:57] 1.23 should be out in about 2 weeks [01:36:07] its the next stable LTS release [01:36:29] once its out upgrade everything it it [01:36:33] *to it [01:36:57] Problem is I need to have the delete function back, as well as see if this "hiccup" might be why the filters weren't working to start with. [01:37:14] but then dont forget to update all your other extensions too [01:37:15] uninstall abusefilter [01:37:26] DannyBoy: do what Meiko said [01:37:49] removing abusefilter will allow you to delete pages. Then when MediaWiki 1.23 comes out in a few weeks, update all the extensions and reinstall abusefilter [01:38:23] marktraceur: Got any suggestions for refreshed-beta that I showed you earlier? [01:38:58] Meiko: Not really, sorry! :) [01:39:09] I just plain *like* it [01:39:23] marktraceur: aw, because I really want to do something but have no ideas on anything to do on it :P [01:40:49] DannyBoy: in the future include that traceback in pastebin link when asking for help [01:41:12] Sure thing [01:41:32] Now my logs are all wacky now that abuse filter is gone. [01:42:29] marktraceur: Do you know enough about BetaFeatures that you could maybe help me make this version of Refreshed skin a BetaFeature on Brickimedia? [01:43:09] Because I hardly know how to make BetaFeatures work, let alone how to make a beta feature of an already-present extension, just on a different version [01:44:01] I know Typography Refresh was a betafeature, yet it isn't even an extension, so I don't even know how that was done :P [01:44:15] Meiko: I dunno if it's easy to do a skin as a beta feature! That's intriguing. [01:44:38] hmm [01:44:42] Meiko: Is the new version built in such a way that you could load it on top of the old version? [01:45:13] Last word on my subject - Would it really be all that bad trying the 1.19 version of AbuseFilter? Unless it has the potential to break anything, I don't see what would be wrong with that. [01:45:23] marktraceur: well, it's based on the same source as the old version. It's just on a different branch of the same repository on github [01:45:42] DannyBoy: There wouldn't be anything wrong with it I don't think [01:47:03] Meiko: I don't mean "instead of", I mean "load the old version, then load some CSS to make it the new version" [01:47:14] marktraceur: [01:47:22] wow stupid irc client [01:47:46] marktraceur: Not really. There's more than just CSS changes. Some PHP changes for the new versions functionality, as well as some JS [01:48:11] Meiko: And could *those* be loaded after the old version without issue? [01:48:26] I'm not sure. [01:48:34] Those are probably harder :) [01:48:49] Meiko: I think you should just register it as Refreshed (beta) and tell people to look for it [01:49:18] The main change is probably https://github.com/Brickimedia/Refreshed/commit/ccfffc5 which I don't think could be loaded separately from the rest of the skin [01:49:23] Meiko: To answer your earlier question, the typography refresh was loaded into Extension:VectorBeta [01:49:27] ohh [01:50:10] I'll probably just put refreshed-beta on our dev wiki (http://dev.brickimedia.org) instead of going the betafeature route [01:50:28] *nod* also an option [01:50:38] I gotta go though, see you later! [01:50:41] Bye! [01:52:11] So I've managed to somehow block every phrase except profanity. [01:53:13] That's funny [01:53:23] Did you put an ! in the abusefilter? [01:53:45] It yells at me anytime I do, "Unexpected T_OC" [01:54:40] weird [01:54:48] the ! is what you need though [01:55:47] Now I could go the opposite route and type every phrase in existence. I checked out the parser and found the issue. [02:00:03] Ah, there it is again: Unexpected "T_OP" at character 73. [02:12:00] okay, so I got this error message after installing: Fatal error: Class 'MysqlInstaller' not found in /home/a2074436/public_html/wiki/includes/installer/Installer.php on line 454 [02:12:10] here are the contents of line 454: $this->dbInstallers[$type] = new $class( $this ); [02:12:15] what should i change? [02:12:31] do i just rename the class? [02:13:09] Where'd you download MediaWiki from? [02:13:42] the mediawiki website [02:13:47] which version? [02:14:16] http://releases.wikimedia.org/mediawiki/1.19/mediawiki-1.19.15.tar.gz [02:14:25] odd [02:15:23] does anyone happen to know the design of the SpecialUpload class well? [02:17:10] or just the general guidelines for the use of static functions in the architecture [02:21:34] Those AbuseFilters aren't working yet again. [02:21:45] Now absolutely nothing is happening. [02:23:52] https://www.mediawiki.org/wiki/User_talk:GeorgeBarnick < Could somebody else possibly try running the first example given here and see how it goes for them? [02:24:03] I just extracted and uploaded to the server and ran install.php. is there something else i should have done first? [02:24:46] seankurth: I'm not sure. I usually use mw-config instead of install.php [02:25:24] oh. i'll try that then [02:28:18] hmm...i'm using dreamweaver to edit it, is it possible that it's showing line 454 in the wrong place and maybe that's why it keeps saying it can't find the class after I change the name? [02:29:12] No idea [02:31:51] I changed the name of the class (finally) but now it changed the error to say it can't find "MysqlMysqlInstaller". Every time I change the name it adds another "Mysql". [02:36:57] weird [02:37:04] I'd advise against changing anything in core though [02:37:08] it should work as it is [02:38:43] Okay. I'll try a fresh install then. Maybe 1.19 isn't compatible with whatever version of mysql is installed (I don't know which, it's hosted) [02:39:02] That's possible [02:39:28] Thank goodness - I finally got around to it. It seems the inclusion of !("sysop" in user_groups) was the culuprit - It only expects one ! statement, and whatever !("sysop" in user_groups) was trying to do can be done in "throttle" [02:41:08] If I exclude sysop from from the throttle list than I can still add external links where other can't. [02:42:06] also, should i be uploading everything to the root of wiki or does there need to be a mediawiki[whatever version] folder inside? [02:42:29] seankurth: there doesn't need to be any extra folder [02:42:44] ok cool, at least I know that's not the problem [02:44:09] Meiko - Might I ask, are you User:GeorgeBarnick, or did you just happen to read the change I made to that user's talk page and you became aware of the situation? [02:44:36] DannyBoy: I am User:GeorgeBarnick ( /whois Meiko ) [02:45:09] Ah, good. Well, thank-you for helping me out! Thoguh there was a bit of a bump there, I really never would have figured that out myself. [02:45:16] *though [02:46:04] no problem [02:51:08] bye [03:41:09] okay trying again :) by any chance, could someone here answer some questions about the architecture I have? [04:00:09] Me again - With more AbuseFilter issues. Now I cannot seem to /prevent/ users from posting anything specific - I can only define what they /can/ post. Any very speciffic examples of two or more plain, boring phrases being blocked? I've been trying on and off for several hours. [04:00:50] Of course most sites have their profanity filters set to private - So I cannot get a good look at anything similar. [06:52:37] does anybody know if MultiBoilerplate is still compatible with Mediawikis version 1.15 and later? [06:52:55] I've got it installed on mine, and there aren't any errors popping up in the logs [06:53:10] but it doesn't seem to be producing the list of boilerplates during page creation/editing [06:53:38] I've futzed with the documented variables, and tried definiing the boilerplates both in the Mediawiki namespace and via LocalSettings.php to no avail [06:54:09] also, are there any more current extensions that provide similar functionality? Looks like its last release was in '09 [06:58:16] can I ask what the major blocker is for https://bugzilla.wikimedia.org/show_bug.cgi?id=19986 in renameWiki.php [07:36:12] hello [07:54:00] how can i participate as a volunteer? [08:52:54] cortexA9: if you are a coder, start here: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [09:19:55] hi [09:20:05] how to display info about a page? [09:20:29] I mean "action=info" in url [09:24:55] Juandev: do you mean to ask how can a user who doesn't know about URL params do it? [09:25:00] click "Page information" in the sidebar [09:25:38] huh, never used that feature [09:26:05] so the system doesnt count less than 30 people watching the page. what a shame! [09:27:07] aharoni: thx anyway [11:14:51] I just noticed that I've set $wgHashedUploadDirectory = false; :( Is there way to change the setting to true? I couldn't find a thing about it! https://www.mediawiki.org/wiki/$wgHashedUploadDirectory [11:16:09] They say something about it here, but I am not sure that it'll work https://www.mediawiki.org/wiki/Manual_talk:$wgHashedUploadDirectory [11:32:57] moin [11:33:22] will remine_ultraviolet plugin work with ruby 1.9.x and redmine 2.5.1? i just cat get it to work :/ [11:33:47] ahh, nevermind :D) [11:33:54] wrong chan [12:22:39] I have broken somethings in my git. for initial patch i incidently did it on master and commited it and pushed it to gerrit and later used branches for every new patch. [12:23:45] now things are messed up. I don't want to get started again from scratch instead i would like to fix this and know what went wrong [12:23:49] can someone help please [12:58:19] kishanio, I'm afraid that nobody can help if you don't explain what the actual problem is :) [12:58:48] "messed up" is too vague [13:07:09] andre__: There were so many things that i did to fix it that idk if i broke it more. Anyways i got more paranoid so i just created a new repo. [13:09:06] andre__: Also BTW whenever bootstrapping vagrant for the first time. If somehow vagrant up is halted by port conflict or something none of the post puppet steps runs when we do vagrant up again. [13:21:47] hi [13:25:38] im getting an error no cache directory configured [13:25:41] i set it to none [13:26:45] ok fixed it [13:38:17] im subscribe to few newsletters like wikitech-1 and i enjoy reading them. but i feel a-bit cluttered whilst reading on mail client. Is it just me or everyone? [13:49:24] hello [13:49:32] I got this error PHP Notice: Uncommitted DB writes (transaction from DatabaseBase::query (LCStore_DB::get)). [13:50:20] when I try to logon through ldap autehntification [14:05:27] hey guys, how can I make the "realname" field mandatory at the registration process? [14:18:16] lmnsqshr, ... why? [14:19:02] I don't know, my boss said so [14:20:14] Krenair, I don't question my bosses request, he told me to make it mandatory so I need to do it but I don't know how [14:20:32] lmnsqshr, do you know where the real name information is used? [14:21:11] Krenair, he wants to use it so he knows the real names of the people [14:21:21] Krenair, it's an academic mediawiki [14:21:34] Krenair, maybe it's important to them, I don't know [14:21:51] lmnsqshr, I'm not aware of any way to make it required [14:21:56] without modifying the code [14:22:23] That's not a problem, I just don't know where to look in the code [14:22:28] do you think it will be much to change? [14:23:08] lmnsqshr: you could install SemanticSignup extensions [14:24:55] wmat, I already installed "CustomUserCreateForm" for another feature, I hope those won't interfere with each other [14:25:50] lmnsqshr: don't know, sorry [14:26:07] wmat, thanks I'll give SemanticSignup a try! [14:43:58] ccha2, https://bugzilla.wikimedia.org/show_bug.cgi?id=56269 ? [14:47:36] andre__: solved I launch maintenance/update.php to fixed it [14:47:44] need ldap_domains table [14:48:16] I activated all debug [14:48:32] andre__, thanks for moving our firefox bug to the right place btw [14:48:51] and saw mw tried to select on ldap_domains table which doesn't exist [14:48:56] Haven't dealt with that BZ before and was lost in the sheer number of components [14:48:59] Krenair: actually I was only guessing, but I do know that not much would happen in the "Untriaged" basket :) [14:51:15] hey, what is the best way to include a "note" on a wiki page (a box for a Warning, Notice, etc)? for example, with Dokuwiki you install a Note Plugin and then use This message is important!! [14:51:41] warning, notice, important, tip, etc etc [14:57:34] So, how easy is it to induce amnesia in a wiki? [14:57:57] If I wanted to say, flush the entirety of a recent changes log and leave only a select few pages with no edit history [14:57:59] is that possible? [15:04:18] Ulfr_: You could export those pages, wipe the wiki entirely, then import [15:04:25] Not sure that's the best option [15:04:29] !backup [15:04:29] See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [15:04:35] !import [15:04:35] To import pages a few pages, use Special:Import - you can also import pages directly from another wiki (see !importsources). For mass imports, use importDump.php - see for details. NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [15:05:59] Oh it doesn't mention export, that's silly [15:06:01] !export [15:06:01] To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [15:39:18] marktraceur: Thanks! Might be easier to build from scratch [16:08:54] hey, what is the best way to include a "note" on a wiki page (a box for a Warning, Notice, etc)? for example, with Dokuwiki you install a Note Plugin and then use This message is important!! [16:22:11] sauce: There are templates for such things [16:22:47] i'm new to mediawiki but i'm learning, are these templates built-in? i am reading this now: http://www.mediawiki.org/wiki/Template_talk:Note [16:23:32] Yeah, use that one - you might want to export it... [16:23:34] !export [16:23:34] To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [16:24:46] i gotcha [16:24:57] damn mediawiki is difficult at first [16:25:14] Heh [16:25:19] sauce: It gets better, I promise :) [16:25:33] i'm sure, but i'm the smartest one on my team [16:25:40] now i gotta train these guys how to use it [16:25:47] they're gonna look at me like wtf [16:26:00] Heh [16:26:08] sauce: Does your wiki have VisualEditor? [16:26:26] nope its mostly blank [16:26:31] OK [16:26:36] !visualeditor [16:26:36] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [16:26:45] That may make it easier on your friends :) [16:27:33] thank you sir i will check it out [16:28:56] the administration part of it is no cakewalk either [16:29:22] even getting it to work to where i can get a tooltip displayed is hard. i'm sure it will come easier with time but still [16:29:27] * sauce ends rant [16:47:18] Whats the most safest way to work on the existing branch? Right now i have a MW repo pointing to master and i need to checkout MW1.19 [16:48:46] guillom: could I get your advice on whether {{TOC left}} is annoying? I much prefer it but in https://www.mediawiki.org/w/index.php?title=Performance_guidelines&diff=next&oldid=1001495 a colleague called it annoying, so I would love your perspective [16:49:36] I personally like the table of contents *alongside* content rather than *interrupting* content...... [16:51:14] sumanah: Speaking generally, it's a matter of personal preference, as therefore it's usually best to stick to the MediaWiki default unless you have a very good reason to do differently in a specific case. [16:51:48] I don't know which one is better in this particular case [16:52:26] I think most people are used to the MediaWiki default, so if something breaks their habit, they might find that annoying. [16:52:34] Thanks guillom - I think I will leave it as Steven edited [17:23:19] robla: hey, I know you were interested in ensuring there was documentation of the current state of the thumbnail cache stuff - http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076423.html and https://www.mediawiki.org/wiki/File:Thumbnail-stack.svg (thanks bd808) seem good to me, so check 'em out! [17:24:14] sumanah: Where should that really be documented? Somewhere on wikitech? [17:24:17] bd808: https://wikitech.wikimedia.org/wiki/Upload.wikimedia.org - is currently where "Thumbnailing" redirects to [17:24:39] if I were you I would just copy and paste that lovely email & transclude that diagram onto that wikitech pg [17:25:06] s/lovely email/rambling brain dump/ [17:25:38] Ah ha. https://wikitech.wikimedia.org/wiki/Media_storage#Thumbnail_handling [17:26:27] That was from Aug 2013 so I did not trust it [17:28:45] sumanah: Yeah. My brain dump is from approximately the same era and source (Faidon). [17:29:43] That page could use some love due to data center moves and ceph being shelved for now. [17:57:44] REMINDER: IRC Office Hour on Phabricator starts in #wikimedia-office in ~5min [18:00:47] I am adding redlinks to the Performance guidelines page, e.g., How to use the parser cache, Cache purging strategy. [18:10:55] How to make abusefitler for hating web sites? [18:13:40] Kolega2357: "hating web sites"? What does that even mean? [18:14:02] blocking, maybe [18:14:03] ? [18:14:20] marktraceur I am think on Serbian Web Sites as http://www.e-novine.com/ and http://www.novinar.de/ [18:14:26] greg-g No [18:15:39] you can use spamblacklist [18:15:52] PiRSquared How? [18:16:01] PiRSquared https://sh.wikipedia.org/w/index.php?title=Posebno%3ATra%C5%BEi_poveznice&target=http%3A%2F%2Fwww.e-novine.com [18:16:15] What are you trying to do? [18:16:49] I want to create abuse filter to prevent using hating sites as www.e-novine.com [18:17:23] "e-novine.com" in added_links or something [18:17:42] you can use rlike if you would prefer regex (you can use \b) [18:17:55] For now only e-novine.com [18:17:57] for spam blacklist, edit the MediaWiki: page to add the regex [18:18:20] https://sh.wikipedia.org/wiki/MediaWiki:Spam-blacklist [18:18:28] but abusefilter would work too [18:18:41] PiRSquared better abuse fitler for these [18:19:24] Kolega2357: added_links rlike "\be-novine\.com\b" or something [18:19:32] you can figure it out [18:20:00] PiRSquared I am not right to edit MediaWiki on sh wikipedia. [18:20:47] I can edit that namespace on shwiki (as a global sysop), but you should just ask a local admin if you want that. [18:21:38] absuefilter would work just as well - Kolega2357 do you only want to prevent addition of this domain, or prevent saving current article text with this domain? [18:21:46] spam blacklist does the latter [18:22:32] compare added_links, all_links variables in AbuseFilter rules format [18:22:58] PiRSquared both in abuse filter. but you send me code for aubse fitler so that the local sysop create filter [18:23:11] I already did. [18:25:43] PiRSquared Can you send me code for abuse fitler (hating sites) www.e-novine.com on mail? [18:26:33] I already wrote the code above. Like ten lines above this one. And there was one using "in" instead of rlike a few lines above that. [18:26:41] Kolega2357: added_links rlike "\be-novine\.com\b" or something [18:27:11] use all_links to prevent even saving current version of spammed pages, use added_links to only stop additions [18:28:31] for [[MediaWiki:Spam-blacklist]] (which would prevent saving current version of spammed pages, like if you use "all_links" in an abusefilter), you would use the same regex or so \be-novine\.com\b [18:32:33] PiRSquared thank you very much [18:53:39] How do I make use of Templates? For example, this one: http://www.mediawiki.org/wiki/Template:Note [18:55:09] sauce: templates are most useful when you take advantage of named parameters [18:55:12] !templates [18:55:12] For more information about templates, see . See also: !templateproblems , !wptemplates [18:55:18] sauce: see there for details [18:56:22] i did an Export from http://www.mediawiki.org/wiki/Template:Note [18:56:35] and then an Import on my mediawiki [18:56:42] it didn't work out very well :( [18:58:32] sauce: using similar versions? [18:58:44] I haven't used import/export yet, so can't really help you there [18:59:00] i am using 1.22.5 [18:59:21] what method would you use to get the Template? [19:03:15] honestly, I'd just copy the souce and create a new page under the Template namespace [19:03:27] probably not best practice [19:13:31] I'm having an issue with the mass edit Regex extension. How do you replace all text? [19:14:17] using .* as the regular expression? That should probably work [19:14:55] Vulpix: Getting "Edit failed: [19:14:55] masseditregex-badregex: Invalid regex: .*" [19:15:19] Invalid regex? wtf? [19:19:11] ...weird. [19:21:35] tdannecy: /.*/ [19:21:46] or /^.*$/ [19:23:29] are those slashes *required* for an extension that's supposed to work using regular expressions? ._. [19:31:58] hello can someone quickly guide me on how to patch an existing gerrit commit on older version on MW [19:32:19] kishanio: You want the cherry-pick button. [19:34:41] marktraceur: urm im not sure. i know what cherry-pick is but havn't used it. And i also don't know if it would be helpful in this case. [19:34:42] What im trying to do is 1.) Switch to older version of MW1.19 2.) Amend to gerrit commit i did previously. [19:36:36] kishanio: Do you mean "add changes to a commit that you worked on before" or "add the commit you worked on before on top of the old release"? [19:36:41] Thanks for your help, PiRSquared . That worked. [19:37:03] Vulpix: yes, they are (I just checked the examples :P ) [19:38:37] marktraceur: Latter. I did submitted a patch 2 days back (https://gerrit.wikimedia.org/r/#/c/132912/) but after review i need to change few things and submit another patch. [19:38:45] dafuq [19:38:48] does that make sense? [19:39:05] Uh... [19:39:19] kishanio: Can you not git review -d 132912 and then amend? [19:46:12] marktraceur: i tried doing something similar to that. and now i tried this but it shows there are some untracked files that will be over-written by checkout. [19:46:25] idon't see them untracked in git status [19:46:58] i searched a-bit on stackoverflow and all there they suggest i should just remove them [19:47:19] im scared thats not what i want to do if would need them later [19:58:43] hi all [19:58:57] i have a problem with extension MobileFrontend on 1.22 [19:59:08] it shows me always the mobile version :( [20:04:20] after the require_once statement, to use luasandbox is all I need $wgScribuntoDefaultEngine = 'luasandbox'; [20:10:43] any idea to disable the extension mobileFrontend? [20:11:58] cave: edit the file LocalSettings.php and remove or comment out the require_once( .... MobileFrontEnd ... ) line (it should be near the end) [20:13:23] already done ;) [20:13:34] but its still in the mobile design [20:13:49] clear your browser cache [20:14:41] done [20:14:51] i tried additionally TOR Browser [20:15:25] double check that you have edited and saved the file LocalSettings.php [20:17:40] root@wiki:/var/www/wiki# grep Mobile LocalSettings.php [20:18:06] root@wiki:/var/www/wiki# grep require LocalSettings.php [20:18:06] require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php"; [20:18:06] require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php"; [20:18:06] require_once("$IP/extensions/SecurePasswords/SecurePasswords.php"); [20:18:08] 'lowercase' => 2, #How many lowercase letters to require [20:18:10] 'uppercase' => 2, #How many uppercase letters to require [20:18:12] 'digit' => 2, #How many digits to require [20:18:14] 'special' => 0, #How many special characters to require [20:18:37] its removed, and the folder is removed from the extension directory [20:21:41] try renaming LocalSettings.php and see if the wiki still works [20:21:48] any other idea? [20:22:10] there's no other idea. If the require is not there, it shouldn't be mobile [20:22:32] you're either editing the wrong file, or there's some intermediate cache out there [20:51:19] btw, for people who want to understand why I'm writing https://www.mediawiki.org/wiki/Performance_guidelines , or bikeshed it :) , or talk about the security guidelines or architecture guidelines, join me in #wikimedia-office in 10 min [20:57:35] I'm losing hair trying to get Extensions/MultiBoilerplate to work [20:58:06] !e MultiBoilerplate [20:58:07] https://www.mediawiki.org/wiki/Extension:MultiBoilerplate [20:58:14] It's installed, Special:Versions shows the extension, but the dropdown it's supposed to provide simply isn't appearing [20:58:41] el_seano: Did you add the pages to the config? [20:58:46] https://www.mediawiki.org/wiki/Extension:MultiBoilerplate#Usage [20:59:58] marktraceur: I've attempted both to no avail [21:00:11] "both"? Oh, the alternative. [21:00:22] el_seano: Can you pastebin what you put in? [21:00:27] sure, just a sec [21:01:28] btw, for people who want to understand why I'm writing https://www.mediawiki.org/wiki/Performance_guidelines , or bikeshed it :) , or talk about the security guidelines or architecture guidelines, join me in #wikimedia-office now [21:01:58] marktraceur: http://pastie.org/9176266 [21:02:25] el_seano: Hm, weird quote characters. [21:02:31] Use ascii single quotes - '' [21:02:38] hm, kay [21:02:45] might just be my putty, although I'm editing the configs in vim [21:02:58] Hm. [21:03:05] That's really weird, vim should know better [21:03:38] Oh, durr [21:03:38] marktraceur: no dice [21:03:42] The pastebin is stupid [21:04:14] I have subpages enabled on the main namespace, if that matters [21:04:56] I'm sure that's fine [21:05:37] huh, didn't notice the /etc/mediawiki-extensions dir [21:06:01] this is running on an Ubuntu 12.04 vm [21:06:08] ...are you using the Debian package for MediaWiki? [21:06:16] !debian [21:06:16] https://www.mediawiki.org/wiki/Debian/Ubuntu [21:06:25] Vulpix: i have found it, pound https is causing the problem [21:06:36] pound is no cache like squid [21:07:21] marktraceur: >_> I am [21:07:24] el_seano: OK, at least I know [21:07:33] I'm not sure what that does to the extension... [21:08:04] el_seano: And the extension page only lists 1.11 as supported, not sure how well 1.16 or whatever it is will hold up [21:08:16] I thought 1.11 was the minimum required version? [21:08:34] Yeah, but if nobody's tested this extension since then, it may not be true [21:08:49] drat [21:09:08] I did do some poking around on the sites listed as using it, and found a couple examples of live wikis that appeared to have the functionality in place [21:09:23] They may be running older versions than you are [21:09:36] <^d> It also was never moved from svn -> git. [21:09:41] marktraceur: checked that actually, a couple of them were using 1.20+ [21:09:53] <^d> So if people were grepping for things that could be changed they could've very well missed it and broken back-compat. [21:09:59] Oh hm. [21:10:18] ^d: is svn mothballed? [21:10:52] <^d> el_seano: yes. svn's been completely read-only for like a year now. [21:11:12] <^d> And largely abandoned from active development long before that. [21:11:18] b'aw [21:12:37] sounds like this extension is a rabbithole [21:12:50] Maybe, maybe not [21:13:01] would you guys happen to have any suggestions for similar functionality? [21:13:02] el_seano: Finding out what version of the extension the other wikis are using may help [21:13:18] marktraceur: can't remember offhand, but i'll pee [21:13:21] er, peek [21:13:39] *nod* peeking is better [21:14:00] heh [21:16:26] marktraceur: so here's an example of a 1.17 install using the same extension version [21:16:29] http://www.fairfaxpedia.com/mediawiki/index.php?title=Special:Version [21:16:48] OK [21:17:30] el_seano: And your MediaWiki version is 1.16? [21:17:49] 1.15.5-7 [21:18:11] el_seano: You might try downloading a later version and seeing whether it works better [21:18:39] marktraceur: heh, time practice upgrading, I suppose. [22:09:29] TimStarling: I think a way to summarize the thoughts in https://www.mediawiki.org/wiki/Talk:Performance_guidelines#Latency is "acceptable speed of service regardless of network latency is a goal we have" - do you agree with that assessment, and do you agree that we do have that goal? [22:10:44] I think that is reasonable up to 300ms RTT or so [22:12:37] if someone's on satellite with 2000ms RTT, then they can expect everything to be slow [22:12:43] but that's a small minority of users [22:14:49] <^d> If their internet works at all. (ref: satellite bugs with HugesNet and weird proxies) [22:29:35] any expert on MultimediaViewer around? [22:30:30] vander: yes [22:30:30] Thanks TimStarling for the check :) Hope you are doing well [22:30:35] tgr can I pm u? [22:30:42] sure [22:31:13] vander: Why not ask here? [22:31:31] to not flood channel :) [22:32:45] vander: But what if we are bored and want some interesting talk on the channel ;) [22:32:47] Noooobody else is talking. [22:32:58] Also the point of this channel is to get support for MediaWiki and extensions. [22:35:17] <^d> This channel's boring now. [22:37:20] * marktraceur lets monkeys loose in the channel [22:37:31] I'm sure sooner or later someone will screw up their short url config [22:37:51] bawolff: That should be one of the things on https://xkcd.com/1331/ [22:40:53] bawolff: I'm a totally newbie on mediawiki... Is just a question about MultimediaViewer. This is not loading correct on my server, but I think tgr point the solution :) [22:41:55] Hmm, I take it as a good sign that people outside wmf want to use it [22:42:40] bawolff: Yeah! Brickipedia is using it and it looks so much cooler with their font [22:42:53] http://georgebarnick.com/refreshed-beta/index.php?title=MultimediaViewer [22:43:42] *sad* I was expecting an encyclopedia about bricks, to answer all my brick questions. Am dissapointed [22:43:50] marktraceur: the issue was https://bugzilla.wikimedia.org/show_bug.cgi?id=62469 [22:44:05] which I wanted to fix but then totally forgot about :( [22:44:17] Ah. [22:45:30] Hello. [22:45:41] Hi Vivaporius. [22:45:55] I had a question about the wiki URLs. [22:46:03] Can't seem to get mine to work. [22:46:28] bawolff: Good call [22:46:33] Can you be more specific? [22:46:48] You see, my current URL is http://127.0.0.1/maikalpedia/index.php/Main_Page, the "right off the line" URL. [22:47:05] lol, that's hilarious [22:47:06] I'm trying to get it to go to http://maikalpedia.com/wiki [22:47:14] !shorturl [22:47:23] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [22:47:28] Well, I did. [22:47:29] $wgScriptPath = "/maikalpedia"; $wgScriptExtension = ".php"; $wgUsePathInfo = true; $wgArticlePath = "http://maikalpedia.com/wiki/$1"; [22:47:36] No dice. [22:48:01] Vivaporius: About five minutes before you came in, we were talking about if someone would come into the channel with your issue (In case you're wondering why I find it funny) [22:48:15] Vivaporius: what is your serverpath set to ? [22:48:36] 127.0.0.1 or "localhost" if I'm wrong [22:48:40] Vivaporius: do you actually have the domain maikalpedia.com yet? (I can't access it) [22:48:52] If not, $wgArticlePath is going to have to be different [22:48:53] No. I'm running it as a private wiki. [22:49:00] * marktraceur adds to [[meta:bash]] [22:49:06] I'm hosting it from my computer. [22:49:29] hi [22:50:06] Vivaporius: Ok, so unless your computer is configured to use an alternate domain name system (or you have it in your hosts file) [22:50:11] what would be to best way to have this text: [22:50:23] change $wgArticlePath to $wgArticlePath = "http://localhost/wiki/$1" [22:50:32] "term" "text describing the term" [22:50:41] https://meta.wikimedia.org/w/index.php?title=IRC/Quotes&diff=8526430&oldid=7619364 [22:50:56] Okay [22:51:59] having text side by side [22:52:07] Vivaporius: You also have the .htaccess (or some other apache config file) set up with either alias rules or rewrite rules? [22:53:40] I only editted it to get the modules I imported to work. [22:53:54] But yes. [22:55:02] Vivaporius: Sorry, I just said something wrong. $wgArticlePath isn't supposed to have a domain. It should be $wgArticlePath = 'wiki/$1'; [22:55:13] Using single quotes instead of double quotes is important [22:55:32] So it's just "wiki/$1", not "maikalpedia/$1/" write? [22:55:40] *' [22:56:09] Well it depends on what you want the url to look like [22:56:25] 'wiki/$1' will give you http://localhost/wiki/Article_name_here [22:56:52] i have a localhost/something/wiki [22:56:52] The other one will give you http://localhost/maikalpedia/Article_Name_Here/ [22:56:54] Ah. I'm still getting that "index.php" at the end. [22:56:57] couldnt make it work :| [22:57:18] Well now it just says "Bad title" [22:59:12] Ok, so if you go directly to http://localhost/wiki/Article_name_here what happens? [22:59:16] So effectively, I would need to acquire a domain name first, then my problems would be solved right? [22:59:32] "Object not found!" [22:59:50] Vivaporius: no, not really. That doesn't matter. The domain name is only needed if you want the localhost part to be something else [22:59:59] Ah. [23:00:16] Vivaporius: ok, so that's probably the rewrite rules missing [23:00:21] the problem is the rewrite [23:00:43] if i paste some apache code here could you guys help me please? [23:00:46] Yeah. I only created a .htaccess file because the Wikipedia modules weren't displaying properly. [23:01:25] biberao: of course. Please use a pastebin though [23:01:52] Vivaporius: Could you copy what's currently in your .htaccess into a pastebin (e.g. dpaste.com ) [23:02:02] Sure [23:02:39] ok thanks [23:02:41] will do [23:02:41] http://dpaste.com/1H890CP/ [23:02:55] bawolff: im doing a wiki farm [23:03:39] Vivaporius: That's interesting. Normally that sort of code shouldn't be neccessary [23:04:30] Well, the infoboxes I imported weren't working, so I had to add it to the file. [23:06:11] Vivaporius: Did that actually do anything to fix that? [23:06:32] Yes. The infoboxes appeared as they should have when I added that texted to the .htaccess file. [23:06:51] hmm, interesting. Anyways [23:08:14] Vivaporius: Anyways, try changing .htaccess to something like http://dpaste.com/2NXEQQ5/ [23:08:33] and see if the result of http://localhost/wiki/Article_name_here changes after that [23:09:58] bawolff: -> http://sprunge.us/KPdh [23:10:19] Vivaporius: Just replace the whole file (I just added three lines to the top, but I kept your existing file) [23:11:12] biberao: What problem are you having. Do the rewrite rules just not work? [23:11:17] yes [23:11:19] dont work [23:11:20] :| [23:11:31] i also added this [23:12:32] http://sprunge.us/ZGhI [23:13:26] Vivaporius: ok, well that's an improvement I guess (btw, I think you switched to private messages. Preferably use the public channel) [23:13:36] Ah [23:13:41] My bad. Sorry. [23:13:43] biberao: Is your wiki public [23:13:48] yes [23:13:51] for now [23:14:00] Vivaporius: That's ok, its just in case I say something stupid, other people can point it out :) [23:14:12] Aha. [23:14:36] biberao: Could I have the url - these things are easier to diagnose if I could see the site [23:14:55] can i pm? [23:15:03] biberao: ok [23:15:07] thanks [23:15:44] Vivaporius: Umm, so sounds like yours is going in a redirect loop for some reason [23:16:20] What do you have $wgServer, $wgArticlePath, and $wgScriptPath set to again. And what directory is the php code actually in, just to make sure I have it all correct [23:16:53] $wgScriptPath = "/maikalpedia"; $wgScriptExtension = ".php"; $wgUsePathInfo = true; $wgArticlePath = 'wiki/$1'; [23:17:23] The php code is located in "C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion" [23:18:14] I mean the mediawiki code (I assume that's where the php binary is) [23:18:45] Hmm...you see, I don't exactly know. [23:19:09] Vivaporius: Is it in a directory named maikalpedia somewhere? [23:19:16] Yes [23:19:23] C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\maikalpedia [23:19:50] You mean php.ini? [23:20:06] no, just index.php and other mediawiki files [23:20:11] I think you answered my question [23:20:26] Well, there it is. [23:20:39] Vivaporius: ok. And when you do http://localhost/maikalpedia/index.php?title=Main_Page&action=edit it displays an edit page and works fine? [23:21:05] Yes. Just fine. [23:28:17] Vivaporius: Hmm, I'm not sure what's happening [23:28:54] Oh well. Thanks for your help anyway. [23:29:16] I can edit it just fine, I just can't get past the URL. It's an eyesore [23:30:00] Sorry. I usually can guide people enough to get the url working [23:30:32] It's not your fault. Thanks for everything. [23:30:39] Goodbye. [23:44:37] Can anyone point me to documentation on the how to configure MW and other relevant apps (Apache, Varnish, etc.) for directing uploads to another web server rather than $wgUploadDirectory. We're currently using NFS for 5 wikis and I want to replace the single NFS server with one (and eventually) two web servers as a separate Varnish backend. [23:45:39] I'm looking at the actual wikipedia configs at https://noc.wikimedia.org/conf/ but a guide would be helpful. [23:49:32] jcl: Just point $wgUploadPath where you want uploads to be loaded from [23:49:43] jcl: Note that mediawiki needs access to the file at all nodes [23:50:26] jcl: Wikimedia ditched nfs a while back, and switched to using swift to store its upload (which is a distributed file store thing) [23:51:55] so I would just set $wgUploadDirectory to e.g. http://upload.ourdomain.com/en (or whatever language code at the end)? [23:52:30] and then set up that site on the new web server(s)? [23:52:57] fwiw, i have 5 wikis in 4 different languages, hence the language code [23:53:20] Yes, users would then load the images from that server [23:53:50] Which is good for segregating load and xss prevention and all that stuff [23:53:52] i figured i would need apache rewrite rules, a new varnish backend, etc. [23:54:47] cool, i'll give this a go in my test environment. thanks! the simpler the better. :)