[00:00:04] It's not that url though haha [00:03:54] depends where you put the mediawiki files under that directory [01:24:48] hello [01:37:08] hi [01:45:01] !debug [01:45:01] 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 [01:46:51] hi legoktm [02:48:15] Hi. [02:51:56] /whois Katie [02:52:13] as expected... [02:52:53] hi Katie [02:52:58] hi ebernhardson [02:53:39] ebernhardson: :-) [03:22:11] if it's a girl nick in a wiki?edia channel it's usually mzmcbride [03:22:52] Could be ashley [03:23:09] c is pretty girly. [03:23:31] Katie: i'm very hairy [03:23:40] Pix. [03:42:00] there are actually quite a few ladies on irc :P [03:42:15] (well, i can think of about a half dozen off the top of my head) [03:45:17] Many of them dont use overly feminine nicknames though [10:25:13] This is frustrating. After a few weeks of inactivity I go to my wiki, http://pipad.org/wiki/index.php/Main_Page and it is down. [10:25:19] This has happened several times. [10:25:29] I don't understand why it falls over when it is left alone. [10:26:07] Usually it is fixable by restarting Apache or mysql, I think [10:26:07] (Cannot contact the database server) [10:26:18] pi-: is there any indication of the reason in your web server error logs [10:26:19] Unfortunately, that's very unlikely to be MWs fault [10:26:38] no, I've just checked my Apache log and nothing! [10:27:25] I tried: sudo apache2ctl graceful; sudo mysql restart [10:27:26] what about /var/log/messages or syslog or kern.log or daemon.log [10:27:46] it might have been oom-killer taking out mysql due to a lack of memory [10:29:07] aah "Oct 18 20:06:55 PiDroplet kernel: [629665.121475] Out of memory: Kill process 2036 (apache2) score 117 or sacrifice child" in kern.log [10:29:37] What is the deal here? Is it a memory leak? [10:29:48] My site gets practically zero activity [10:29:53] So it certainly won't be overloaded [10:30:20] hmm but I've restarted Apache and MySQL, and the problem still persists [10:32:03] pi-: it sounds like your server doesn't have enough ram [10:32:21] so oom-killer takes services out... [10:33:04] you can limit the max no of apache and mysql processes to prevent this or increase the amount of ram [10:33:24] chrisc: yes, I just noticed there is a complete crash dump further up the same log file to that effect [10:33:53] I would rather not upgrade, I want to keep my running costs minimal [10:34:04] I will try limiting the number of processes [10:34:11] so limit the max number of processes [10:35:00] it'll probably be bots causing the problem, requesting lots of pages at once... [10:37:15] I will edit my robots.txt [10:37:35] How can I limit the number of processes? I've been looking in my local settings and I can't see any option there [10:38:45] you can do it for apache and mysql in the config files [10:39:07] * chrisc assuming you are using apache [11:04:37] apache2.conf: MaxKeepAliveRequests 100 <-- is this the one? [11:06:39] http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxclients probably this one [11:14:18] If I am limiting number of processes in Apache, do I also have to do the same thing for mysql? (I would guess that it comes as a consequence so I don't) [11:19:21] yes [11:19:33] but the key one is apache [11:19:52] in fact you probably only really need to do it for apache [11:29:16] It isn't clear to me which directive I need for Apache [11:29:26] Someone in #httpd suggests 'MaxSpare* depending on MPM in use' [11:29:39] So now I have at least three candidate directives [11:30:36] If anyone is familiar with doing this and can remember which one to set, please do say! [11:31:00] It's running on Ubuntu if that narrows it down [11:31:25] dpkg -l | grep apache [11:31:32] should tell you which variant you have installed [11:45:08] http://hastebin.com/vuyipafuka.rb [12:07:48] pi-: it'll be these: [12:07:49] StartServers 5 [12:07:49] MinSpareServers 5 [12:07:50] MaxSpareServers 10 [12:07:50] MaxClients 150 [12:07:51] StartServers 5 [12:07:54] MinSpareServers 5 [12:07:56] MaxSpareServers 10 [12:07:59] MaxClients 150 [12:08:11] * chrisc oops didn't mean to paste twice [12:08:41] set MaxClients to 10 or 5 -- this needs to be low, how much RAM does your server have? [12:10:59] 512MB [12:11:03] Thanks! [12:11:28] so if weach apache process is 100MB then you perhaps only want 5 at most [12:11:35] s/weach/each/ [12:12:30] if the server is running some thing like plesk / cpanel then that probably uses all the 512MB before you run anything else on the server [12:14:17] grief [12:14:36] Luckily I'm not running anything 'Advanced' like that [12:14:50] @-) [12:15:10] they are horrible ;-) [12:15:22] I take it those settings are your own... Can I get away with just setting 1 1 1 5? [12:15:37] yes I expect so [12:16:19] change them and then test with: apachectl configtest [12:17:20] thanks! [12:17:25] np [14:54:45] i have a question [14:54:46] Hi LittleMan, just ask! There is no need to ask if you can ask [14:55:38] Can anyone help me quick? [14:55:52] hi, what's the best way to get the latest revision of an article before a given date ? [14:55:57] no one can answer a question you haven't asked [14:56:19] is there anyway to get rid of mediawiki from the url? [14:57:01] !shorturls [14:57:02] 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 [14:58:25] rom1504: No direct way, via the standard web interface, other than walking through the history [14:58:50] can you get revisions with the api? [14:59:11] yes [14:59:20] would likely require a little scripting if you need to do it often though [14:59:26] yes I can do that with the API in 2 steps : get the revisions, find the one I want, then get the content of this revision [14:59:39] but I wonder if there's a way to do the same with just one api call [15:00:16] i was thinking of getting a list of a given article's revisions with the api [15:00:24] idk if that can be done though [15:00:30] yeah sure [15:00:35] https://www.mediawiki.org/wiki/API:Revisions [15:00:59] i doubt there is a single call you can do for something that specific [15:02:08] ah yes there is, found it, just pass the rvstart parameter [15:02:22] hmm no rvend [15:02:25] "rvend: Timestamp to end listing at." [15:02:38] reverse the direction [15:02:48] and rvlimit == 1 [17:02:45] Could someone review https://gerrit.wikimedia.org/r/#/c/247294/ please. [17:26:43] Can someone (Reedy?) approve an oauth consumer application on http://meta.wikimedia.beta.wmflabs.org for me please? It's "Staging Wikimaps Warper Oct 2015" and is for commons.beta only, thanks :) [18:07:36] Hi, I currently have mw-config on a server, I would like to transfer it to GitHub. How could I do that? (making it public, e.g. LocalSettings.php) [18:22:45] chippy: Done [18:22:56] Reedy, many thanks :) [18:24:29] Reedy, for the future, is here in irc the best place to ask about beta commons etc? [18:24:38] Errm [18:24:49] Here or #wikimedia-releng [18:24:57] Though, everyone in there would likely be in here anyway [18:25:06] I know there's a fair few wm irc rooms around [18:25:24] okay cool, thanks again! [18:26:38] It's mostly just finding someone with the right access [18:28:20] okay, was wondering if there was a strict on/off topic thing in the various wm channels [18:29:15] no, it's just argueing about which bot is where :) [18:29:33] hehe [18:29:34] lol [18:29:38] chippy: it's relatively ontopic in here [18:29:51] Unless it was really busy in here, no one would say anything [18:29:57] And even then.. [18:34:06] thanks :) [18:36:02] Reedy: is #wikimedia-releng an appropriate place to beg for a quick merge to the running branch ?:) [18:36:58] is this somewhere where I can get help for errors [18:37:49] I need help, my accnos file is coming up blank [18:40:06] Katelynk: are you using mediawiki? [19:03:40] saper: Isn't that SWAT? ;) [19:09:44] the spam in mediawiki.org is very high those days :( [19:15:12] Reedy: I think https://phabricator.wikimedia.org/T107399 was wrong... it breaks UserLogin, Preferences and what-not (T115692) [20:14:41] Why does mediawiki hate absolute positioning :( [20:15:20] wow [20:15:41] every time I message on here I immediately wind up finding out I either looked stupid or made a rookie mistake IMMEDIATELY afterwards [20:15:45] carry on! [20:16:21] :) [20:22:52] Ulfr: we have an automatic mediawiki problem solver bot with telepathic communication of the solution, that's how :p [20:23:18] !tp [20:23:18] There is no such key, you probably want to try: !, !$wgServer, !?>, !1.17, !1.18, !1.20, !1.21, !1.22, !1.23, !1.24, !2.0, !5.4, !abusefilter, !access, !ack, !actionpaths, !actions, !adminsettings, !adsense, !ajax, !allowoverride, !amend, !ampersand, !analytics, !ancient, !anglebrackets, !announce, !annoyinglittlebug, !api, !apiclient, !apiinternal, !auth, !authentication, !autoblock, !autoconfirmed, !autoload, !autopromote, !autothumb, !autowikibrowser, !backup, !blacklist, !blank, !bleedingedge, !blocking, !bluespice, !boilerplate, !bom, !bot, !botbrain2, !botnoob, !branchpoints, !browser, !bug, !bug1, !bugsearch, !bugsong, !bugzilla, !bulkpagecreator, !bunching, !butterflies, !cache, !captcha, !card, !cat, !categories, !cc/js, !centralauth, !chansearch, !charinsert, !cheatsheet, !checkuser, !ci, !cia, !cite, !class, !cloak, !cms, !code, !codereview, !codesearch, !collapse, !collapsible, !commit, !compare, !composer, !compression, !config, !cookies, !cooluris, !copyhelp, !copying, !copyinghelp, !copytemplates, !core, !corehack, !corn, !createpage, !credit, !cron, !css, !csv2wiki, !damneditcount, !db, !dbtable, !debbug, !debianubuntu, !debug, !defaultsettings, !deleteuser, !deployments, !details, !developers, !devsecurity, !diff3, !dirtydiffs, !dismissablesitenotice, !displaytitle, !documentation, !domdocument, !dontdothat, !downgrade, !download, !doxygen, !dpl, !dump, !dumphtml, !e_test, !easy, !echo, !editbuttons, !editing, !edittoken, !email, !enotif, !enwp, !errors, !es, !etherpad, !events, !evilglobals, !exclamation, !export, !ext, !extensiondistributor, !extensionmatrix, !extensions, !externalauth, !externaleditor, !externalimages, !extranamespace, !faq, !farm, !feeds, !filecache, !filepermissions, !filetype, !fileupload, !fileurl, !firebug, !fishbowl, !flaggedrevs, !flash, !flow, !footer, !foreignfilerepos, !gadget, !gadgets, !gallery, !gci, !gerritapi, !gerritdocs, !gerriterror, !gerrithelp, !gerritkeys, !gerritsearch, !gethelp, !gfi, !git, !git-access, !gitaccount, !gitauthor, !gitblit, !gitcheat, !gitemail, !github, !gitrepo, !git-review, !giturl, !gnu, !google, !googleanalytics, !googleit, !grabber, !grep, !gsoc2015, !hacker, !hdss, !helpfor, !hetdeploy, !hhvm, !hidetabs, !highlight, !hook, !hooks, !hosting, !hosts, !howto, !hss, !html, !html9, !htmlform, !htmllogs, !i18n, !icon, !iframe, !iis, !iis404, !imageauth, !imagelink, !imagemagic, !imagemap, !images, !img_auth, !import, !importhelp, !importimages, !importsources, !index.php, !info, !infobox, !inputbox, !install, !instantcommons, !interface, !interlanguage, !internalapi, !interwiki, !invalidupload, !javascript, !jenkins, !jjb, !job, !jobqueue, !jobs, !jquery, !jsduck, !kiwix, !labs, !langlinks, !largeuploads, !ldap, !ldapdebug, !ldapsupport, !libraries, !line, !link, !links, !list, !listinfo, !lists, !lmddgtfy, !lmgtfy, !lockdown, !logo, !logs, !lowercase, !lst, !lts, !lua, !magicwords, !mailarchive, !maintenance, !man, !manapi, !maps, !master, !math, !mediawiki, !meetings, !memcached, !migrate, !mime, !mleb, !moderation, !morbo, !move, !multiplecommits, !multiplewiki, !mw, !mwbot, !mwhelp, !mysql, !namespaceprotection, !namespaces, !networkauth, !newbug, !newgit, !newwindow, !nightly, !noshell, !notes, !nuke, !nullpath, !oauth, !ogg, !ooui, !openbasedir, !openid, !opsschool, !opw, !outreachy, !oversight, !package, !packagefix, !packages, !padindex, !pagecss, !paranoid, !parser, !parserconf, !parserfunctions, !parsoid, !parsoid-test, !parsoid-web, !passwordsql, !paste, !pastebin, !pastelocalsettings, !patch, !patrol, !pdhelp, !performance, !phabnew, !phabricator, !php, !php4, !php531, !phpmyadmin, !phpshell, !phpsucks, !pipetrick, !plainlinks, !player, !poem, !ppp, !prefsrant, !preload, !preventaccess, !profiling, !protect, !protocols, !punehackathon, !purge, !putty, !python, !pywikibot, !pywikipediabot, !qqx, !query, !rangeblocking, !rcbot, !realprogrammers, !rebase, !reboot, !recaptcha, !redirect, !refresh, !releasecandidate, !renameuser, !repeat, !reportbug, !reports, !repos, !requestcontext, !research, !resetpass, !resetpassword, !resourceloader, !rest, !revdelete, !revert, !reviewqueue, !rewriteproblems, !rfc, !rights, !roadmap, !robots, !rollback, !rt, !rtfm, !s, !safemode, !sal, !sandbox, !sanitizer, !sb, !scap, !scarytranscluding, !schema, !screenshot, !search, !security, !selinux, !semanticmediawiki, !serversuperglobal, !sharedlogins, !shell, !shellrequest, !shorturls, !sidebar, !sitenotice, !siwae, !skinning, !skins, !sm, !smartqs, !smtp, !smw, !songs, !sortkey, !sourcecode, !sourceforge, !spam, !specialpages, !speed, !sqlsearch, !srv193, !stalemaintpages, !start, !stash, !stringfunctions, !stroopwafels, !submodules, !subpages, !subst, !subversion, !sul, !sumanah, !support, !supported, !svg, !svnauthor, !svnprops, !svn-rev, !svnsearch, !syntax, !syntaxhighlight, !sysadmin, !t_paamayim_nekudotayim, !table, !tables.sql, !tabs, !tag, !task, !technews, !technext, !templateproblems, !templates, !ternary, !test, !testing, !testswarm, !testwiki, !threads, !thumb, !tidy, !timestamp, !timezone, !toolserver, !transclusion, !translatewiki, !tryflow, !tso, !tss, !tunemysql, !twn, !ui, !undo, !unicorn, !uninstall, !unreviewedcode, !update.php, !upgrade, !upload, !uploadbyurl, !useragent, !userapproval, !vagrant, !variables, !vebug, !vector, !version, !versionlifecycle, !viewvc, !visualeditor, !wallofshame, !webinspector, !webrequest, !webscale, !welcome, !wf, !wg, !wiki2pdf, !wiki2xml, !wikia, !wikiacode, !wikibugs, !wikidata, !wikieditor, !wikilove, !wikimania, !wikipmediawiki, !wm-bot, !wmf, !wmf-deployment, !wmo, !workflow, !workforus, !wp, !wtf, !wysiwyg, !xampp, !xkcd, !xy, !yoda, [20:23:26] !telepath [20:23:26] All our telepaths are on vacation, so we can't help you unless you provide more details. [20:23:46] ;) [20:23:51] It's like a freaking glitch in the matrix, I stare at a problem for some unreasonable length of time, get fed up, come in here to beg for a solution, and then start waiting patiently and the answer kicks me in the teeth [20:24:36] Ulfr: Ever heard of Rubber Duck Debugging? [20:25:06] Reedy: No, but I'm intrigued [20:25:24] https://en.wikipedia.org/wiki/Rubber_duck_debugging [20:25:53] *Quacks* [20:27:05] Reedy: That sounds like an extremely valid tactic, however a rubber duck can't sass me like you lot can [20:27:33] qgil: Can we get WMF to get some rubber ducks with Katies sass in to send to disheartened users? :D [20:27:52] oh god. just turned firebug script panel on with IRC running. abandon ship! [20:27:54] brb. [20:28:35] Katies sass? [20:32:11] Reedy: Well, to be fair there are some times when explaining it to a rubber ducky wouldn't help, like that one time bawolff told me about something that let me sleep for an extended period of time for a month. Atleast I think it was that guy [20:32:32] * bawolff fixes insomnia! [20:35:28] no, bawolff fixed an incredibly obscure file access limitation that was crashing my site [20:35:33] that WAS you, right? [20:36:05] I don't remember that [20:36:14] so quite possibly not me [20:36:32] it was awhile ago and whoever it was just kinda google-fu'd in a way I hadn't before and shablam! no more mysql crash [20:37:21] fixing mysql crashes also doesn't sound like me. [20:37:34] On account of not really knowing much about mysql [20:38:08] well, you just honesty'd your way out of free pizza [20:38:10] good job! [20:38:21] Oh, well in that case [20:38:26] totally was me [20:38:29] kidding before [20:38:31] Too late! I'm wise to your tricks [20:54:40] I think I sprained a lobe. Does anyone here understand what .position and .offset actually MEAN in the parlance of jquery? [20:55:26] I want to know what a div element's position is within only relative to the container it's in, so I only need the number for how far it is from the left edge of the picture it's on top of [20:55:27] How do I do dis [21:02:30] ...Apparently absolute positioning has changed since I learned about it and I'm overthinking it [21:02:35] Wow. That's kinda neat. [21:03:57] hi [21:04:19] do u have any quickly upgrading methode via SSH [21:04:23] ? [21:04:34] it's really s***ks [21:05:32] Sia-: you swap out the php files (except LocalSettings.php) and run update.php [21:05:54] I'm really not sure how it could possibly be faster [21:06:03] how? [21:06:28] using standard unix commands [21:06:54] bawolff or suing computer to join the host right? [21:07:02] or using keyboard? [21:07:23] Well you said ssh, so I assume using a keyboard [21:09:01] fastest way would be to download new tarball, untar it in a different tmp directory, copy over LocalSettings.php and the images directory (and possibly extensions), switch the tmp directory name with the original directory name its installed under [21:09:25] if you want a more streamlined upgrade experiance, you could install using git or something [21:10:07] that is manually, and is too slow [21:12:37] bawolff: pfft, I'm super lazy. I keep extensions and images outside the mw directly and symlink so it's lickety split [21:13:32] Ulfr: makes life easier [21:13:51] Only infrequently and usually not intentionally [21:14:53] Ulfr: You actually don't have to symlink, their are config options to tell mediawiki where those directories are located [21:15:05] and if you put it somewhere else, then its really easy to manage your install using git [21:15:10] or some other version control [21:19:07] bawolff: ...now I need to go play with my configs again and I'll probably break something totally unrelated [21:26:36] bawolff: Do you think he even noticed