[01:50:38] Where in the source code for MediaWiki might I find the code for Table of Contents? [01:51:59] Can anyone help me with this? [01:52:05] Yes, wait a sec. [01:52:13] Thabks [01:52:20] Thanks* [01:52:41] I'm guessing it's in parser somewhere [01:52:50] I'll try to find the specific place [01:54:21] TheRetroGamer: it's all over the place in includes/parser/Parser.php [01:55:00] Thanks. [01:55:16] maybe the formatHeadings function [02:48:45] !ping [02:48:45] Pong. [02:49:22] !ping [02:49:22] Pong. [02:58:35] !pong [02:58:35] Ping. [05:26:56] I would like to set $wgUseCategoryBrowser to 'true'. Does anyone know what file I should be doing this in? [05:30:53] Hi, how can I used the makeList function within a special page? I keep getting 'Call to undefined method SpecialViewPosts::makeList()' when using $this->makeList() [05:35:26] *use - Sorry. English IS my first language - Just a typo. [05:51:19] Are there any alternatives to the makeList function? [05:51:52] DbDAr, beware it's the middle of the night for some poeple [05:52:45] jeremyb - It's always the middle of the night somewhere I suppose. [05:53:27] DbDAr, right. but we have biases in this channel. (not intentionally) [05:54:04] not much asian coverage. a small bit of australia [05:54:10] Europe? [05:54:24] yes, we have europe. it's still early there though [05:54:39] 7am in london, 9am in greece/israel [05:54:58] but even europe is underrepresented [05:55:26] Ah, usually when I think Europe my mind jumps to Russia - I had once lived there. What time would you suggest I come back? [05:55:28] also, we're not all operating on a timezone that matches our geographical location :) [05:57:04] DbDAr, well ideally you'd just stick around. maybe ask again in 4 or 8 hours (or both). 8-12 hours from now (wild guess) is probably a good time. i could pick better if i knew your TZ :) [05:58:11] Haha, I'm actually in UTC. I'm up working late on a wiki project - I probably shouldn't. [05:59:22] well if i correctly intrepret that to mean you're sleeping soon then i think there should be someone more knowledgeable than I whenever you wake up [06:00:24] I hope so - Lately when I've shown up around here, there haven't been too many people around no matter the time of day. [06:02:12] Well, I'll be back in several hours. Thanks! [10:57:34] ::That's odd, it looks like mysqli is already in the source code but it's not being used in mw_config... can anyone clear me up on this? https://www.mediawiki.org/w/index.php?title=Talk:PHP_configuration&curid=15940&diff=1102249&oldid=793338 [11:05:46] kart_, Nikerabbit please make sure that your GSoC is evaluated ASAP (today, now) [11:06:27] other he will lose money (if he has passed) and Wikimedia will lose credibility by the GSoC organizers [11:07:59] Nemo_bis: mysqli is being used. If mysqli is not installed, it will fallback to mysql [11:08:48] I'll try to explain this to him with source code... [11:10:36] !class Database [11:10:36] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classDatabase.html [11:11:29] !class DatabaseBase [11:11:29] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classDatabaseBase.html [11:12:24] what's "mw_config"? [11:16:47] Vulpix: probably meant mw-config [11:17:50] well, I've replied now [13:14:43] Is the upload size in https://en.wikipedia.org/wiki/Special:Upload not dynamic? It says 100 MB (probably 100 MiB) but https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general&format=jsonfm says 1000 MiB [13:33:59] xzise: both are correct [13:35:36] xzise: see https://commons.wikimedia.org/wiki/Commons:Maximum_file_size [13:35:56] 1000 MiB is the max size allowed to users, but Special:Upload only allows 100 [13:36:42] Ah okay good to know thank you [14:34:25] hello everyone [14:34:31] recently setup a sitemap [14:34:46] qgil: ive poked kartik i cant do it [14:35:00] but the links it generates are formatted "index.php/Title" [14:35:10] and when google hits it, it throws a 304 [14:35:57] oh duh sorry, was thinking it was a redirect [14:36:37] a 304 would be okay [14:36:55] ya, conditional request [14:37:00] long day heh [14:37:41] hi Nikerabbit , Kartik replied my email and he says he will do it before the deadline (which is a bit more than 2h away...) [15:28:33] So here's Ulfr's dumb question of the day. I wrote this really spiffy recursive function that uses a $this context to call class member functions. When I tried to pull my nifty function out of the file to put it in an include, PHP decided it was having none of it. Is there any way in particular to set the scope correctly? [15:41:45] Abstract classes appears to have been the answer. Haven't the foggiest why or how though [15:45:06] !hss [15:45:06] ZOMG!! https://upload.wikimedia.org/wikipedia/mediawiki/6/69/Hesaidsemanticga2.jpg [15:47:35] slashdot.org/story/206223 hah [15:47:55] wtf is going on at wikipedia?> [15:48:05] people are being silly [15:48:33] The way ive heard it, a hand full of admins and a hand full of editors are trying to force their opinions into standards [15:48:37] yes no? [15:49:06] Milenko: i liked this summary: http://magnusmanske.de/wordpress/?p=226 [15:50:49] sheesh [15:51:01] sounds like someone at WMF has a supperiority complex [15:51:14] Milenko: by the way, the story you linked uses incorrect terminology; wikipedia 'administrators' are editors that the communities choose from among themselves [15:51:36] (referring to "between its editor and administrator communities") [15:51:58] Milenko: also, wikipediocracy is not exactly a credible source of information, if you ask me [15:52:07] well to be fair the admins and editors are separate once the admins are chosen to admin :D [15:52:16] is that where slashdot got their article? [15:52:28] the page you linked links there? [15:52:34] Oh god.. [15:52:40] wtf slashdot [15:57:01] heyho I'm trying to port infoboxes to my mediawiki installation.I enabled wgUseTidy and enabled scribunto.I tried different tutorials but all I get are infinite loops or pages that consist of curly braces [16:06:38] thomas_sch: Any chance you can show an example? [16:08:21] Ulfr_: sure http://wiki.libretro.com/index.php?title=Template:Infobox [16:08:42] ack, firewalled. apparently IT thinks your site is game related. [16:08:57] lol it kinda is [16:08:58] Sounds to me like your parser has a tummy ache, have you checked your error log/installed PCRE? [16:09:23] nope not yet will do [16:10:12] thomas_sch: ugh... http://wiki.libretro.com/index.php?title=Template:Infobox/row&action=edit [16:10:30] effectively, you have a template loop there [16:11:04] deleting the line and saving it should work? [16:11:31] depending on what do you mean by "work" [16:11:46] it will supress the loop, but the template probably won't work as expected [16:13:06] libretro? [16:13:27] Vulpix o.O Retroarch!? :D [16:13:46] yes retroarch [16:14:27] template loop detected [16:14:40] did you copy the wrong template to a different name? [16:14:45] causing it to reload itself o.o [16:15:13] Milenko: someone else tried to add infoboxes before me and left me with his attemps [16:15:49] hrm [16:16:43] Okie dokie, care if I take a look at it? [16:16:59] but I screwed up probably too :D I normally use dokuwiki *duck* [16:17:03] Milenko: feel free [16:17:18] ok.. so.. im gonna delete your Infobox's [16:17:35] okeydokey [16:17:51] Are you using LUA or no? [16:18:40] Vulpix: On a scale of Good idea to judging you for doing so, where does storing a JSON object in a database field sit [16:20:25] Milenko: sry short afk [16:20:32] Ok lol [16:20:40] yeah need to help my gf [16:21:26] Ulfr_: no idea, probably on a mediumblob column or something [16:21:44] Oh, I wasn't questioning the feasibiilty [16:22:08] I was just wondering if it was bad in terms of best practices etc. [16:22:48] MediaWiki already stores JSON objects IIRC, for some extensions [16:23:25] Milenko: back, didn't add lua to mediawiki [16:23:31] good [16:23:37] Cool. It was JSON or have awful normalization [16:23:38] http://wiki.libretro.com/index.php?title=Template:Infobox [16:24:31] wow [16:24:53] thx and brb [16:25:32] Just had to find an old revision not using LUA, and then from there going through individual included templates like Infobox/row and not using the redirected version :D [16:25:40] Milenko, no loops :-/ [16:25:48] I guess this kinda stuff will be replaced by JSON in future [16:25:54] errr by LUA in future [16:25:58] (slip of the fingers there) [16:26:03] well the LUA templates suck IMO. [16:26:09] Oh noes [16:26:16] I was about to start experimenting with them. [16:26:19] what's the issue(s)? [16:26:31] the implementation is horrible, and it shouldnt be considered a standard more so an experiment. [16:26:40] Oh f'rcrying... [16:26:50] why is the implementation horrible? ^^;; [16:26:53] * kim_bruning bites fingernails [16:27:00] can you show me an example of borkage? [16:27:00] ahh a german [16:27:04] I mean, depending on your server environment you may have a smooth setup and it will look pretty [16:27:18] guten tag thomas_sch ;-) [16:27:28] Milenko, Ohhhkay..... but what's the problems? [16:27:36] heyho [16:27:37] Milenko, what should I look out for? [16:27:48] thomas_sch, wie geht's? [16:28:16] kim_bruning: make sure your server supports it for one lol [16:28:46] Ulfr_: I don't know, in fact, I don't remember what extension is storing JSON in tables :S, maybe it's being used in the page_props table [16:28:46] Milenko, Okay, but that's obvious [16:28:54] righ [16:28:55] apt-get install luasomething [16:29:04] so besides that? [16:29:11] hi all, hopefully a simple question here - when I want to include a javascript file in my skin, normally i'd put that in the of my page, but, where in the mediawiki files do i put the