[01:12:02] hi all, I've uploaded a PDF file to my wiki and I'm getting this error: Fatal error: Call to a member function on a non-object in mediawiki/includes/ImagePage.php on line 247 [01:12:15] I'm running 1.6, does anyone know what is causing it? [01:13:21] checkers, 1.6 is basically obsolete. It was probably fixed a year ago. I sure can't remember jack about it. [01:49:11] 03(NEW) Messed up title in whatlinkshere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14840 normal; normal; MediaWiki: Special pages; (shushruth) [02:13:10] Hello Everyone. [02:13:44] I'm not very if it's possible, and it's not very important that it has to happen but is it possible to remove the discussion feature on wikis? [02:14:24] sure* [02:14:55] You want to remove the Talk page? [02:15:10] Yes, basically. [02:15:27] Hmmm there is but I fairly sure there is a way don't remember how. [02:15:31] Looking... [02:15:39] Thank you. I will help in searching [02:16:43] Sadly I believe I found it. [02:17:00] For everyone looking, the link is located here: http://www.mwusers.com/forums/showthread.php?t=6471 [02:17:09] Sorry for wasting your time [02:19:05] RomanG: you might wish to do more than just hide the discussion tabs [02:19:23] Ah Splarka. Hello. [02:19:37] You mean as in protect the pages from editing? [02:19:49] yes [02:19:57] http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_editing_of_an_entire_namespace [02:20:32] There we go :) [02:20:51] hmm [02:21:09] $wgNamespaceProtection[NS_TALK] = array( 'sysop' ); [02:21:11] Just so you know who I am (guy from yesterday) [02:21:32] That's applying the permission only sysop can access the page? [02:21:33] would protect just Talk, and not Template_talk, User_talk, etc [02:21:37] no [02:21:41] just prevents anyone but sysops editing them [02:21:47] you'd also want to do this... [02:21:50] Oh well that works fine too. [02:22:00] body.ns-0 #ca-talk { dipslay:none!important; } [02:22:08] to hide the links to talk pages, only in the main namespace [02:22:23] is it possible to resize images by specified width and height (not necessarily proportional to the original image)? [02:22:27] the first goes in LocalSettings, the second bit in MediaWiki:Monobook.css [02:22:41] I believe it is. You can use the extended image codes I think. [02:22:55] and how? [02:22:55] I don't know much about Wiki Markup though so I think Splarka can assist you. [02:23:22] thanks in advance Splarka? [02:23:27] *Splarka reads up [02:23:32] no you can't stretch images [02:23:34] Sorry I can't answer that. I know it's in a manual on MediaWiki. [02:23:40] not with core anyway [02:23:45] Oh he meant stretching. [02:23:52] is there an extension or what? [02:23:56] I thought he meant making smaller .. nah you can't do that. [02:24:02] probably, people want to do it sometimes [02:24:43] note, you can specify a height in image syntax, but it doesn't stretch [02:24:52] compare: [[Image:Wiki.png|30x40px]] [[Image:Wiki.png|40x30px]] [02:25:02] it specifies a maximum [02:25:05] I know.... [02:25:16] k [02:25:34] the first ends up as 30x34, the second as 26x30 [02:26:26] That's what I was thinking of. :D [02:27:42] Splarka, is it possible that we can speak over private chat? [02:27:54] I heard it's rude to not ask before sending a message. [02:29:14] it seems that no extension does that... [02:35:53] 03aaron * r37765 10/trunk/extensions/FlaggedRevs/language/QualityOversight.i18n.php: Update message [02:42:09] 03aaron * r37766 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Remove near-useless code that may generate image inconsistencies [02:43:57] 03werdna * r37767 10/trunk/extensions/AbuseFilter/ (5 files): [02:43:57] Abuse filter updates: [02:43:57] * Disallow more than 100 condition-checks per action. [02:43:57] * Disallow filters which are misbehaving (more than 5 matches, constituting more than 5% of recent actions) [02:43:58] * Display statistics for all filters (percentage of times the condition limit is reached, and percentage of times some filter is matched), and individual filters (percentage of times it's matched). [02:48:21] 03aaron * r37768 10/trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php: UI fix, duplicate label [03:12:05] 03(mod) Allow anon users to define which version should be displayed by default - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14321 (10JSchulz_4587) [03:13:45] 03(mod) semi-autopatroll - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14016 +comment (10JSchulz_4587) [03:18:19] 03(FIXED) Stable version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3303 +comment (10JSchulz_4587) [03:23:37] 03(mod) Requested change of methods in EditPage from private to protected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14490 +comment (10JSchulz_4587) [03:25:50] 14(INVALID) CategoryPageView does not work on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13882 +comment (10JSchulz_4587) [03:26:07] 03nad * r37769 10/trunk/extensions/EmailPage/EmailPage.php: don't show action or tellbox link if no send mail perms [03:32:48] 03nad * r37770 10/trunk/extensions/EmailPage/EmailPage.php: oops forgot to use $wgEmailPageGroup not $wgEmailArticleGroup [03:36:11] 03(NEW) Error in refreshlinks.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14841 15enhancement; normal; MediaWiki: Maintenance scripts; (lugusto) [03:40:50] 03(mod) Requested change of methods in EditPage from private to protected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14490 (10hoggwild5) [04:09:18] 03(mod) LanguageConvertor should always use interface language for conversion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14823 (10shinjiman) [04:38:14] 03aaron * r37771 10/trunk/phase3/includes/EditPage.php: private -> protected (bug 14490) [04:38:16] 03(FIXED) Requested change of methods in EditPage from private to protected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14490 +comment (10JSchulz_4587) [07:24:01] The API is uncooperative [07:24:42] how so [07:24:44] Is there any way to force the MediaWiki engine to update all Category Tables? [07:24:55] I created a host of pages using the action=edit API [07:25:06] All of them belonging to a category [07:25:16] using http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Category:Categoryname [07:25:22] err [07:25:25] using [ [Category:Categoryname]] [07:26:06] unfortunately, the engine hasn't picked up on this [07:26:43] even though the pages when visited "admit" to being in the category, the category page doesn't display them as members [07:27:01] If I edit and save them manually, they update, yeah [07:27:08] but there are like 50 or 60 of them. :/ [07:27:09] til it get's ran through the job queue afaik [07:27:37] hm [07:27:52] well, when I first checked the job queue was 0 [07:27:57] now, all of a sudden it is 7 [07:29:39] hello everyone [07:31:52] hello Splarka [07:33:08] r [07:36:53] and it won't run the job queue [07:37:14] even though I try explicitly from the command line ;_; [07:38:48] so to reiterate, is there any way to "touch" a large number of pages, or elseways cause them to be reevaluated? [07:40:23] I think you can purge all by changing $wgCacheEpoch briefly [07:40:40] http://www.mediawiki.org/wiki/Manual:$wgCacheEpoch [07:40:47] (although they won't update until next viewed) [07:41:01] hurm odd [07:41:12] Special:Statistics says 610 jobs in the queue, but the job table is empty [07:41:25] wito: ahh, see also: http://www.mediawiki.org/wiki/File_cache#Invalidation [07:41:44] OverlordQ: it uses an estimate, not an actual count [07:42:01] ah [07:43:13] ah yea, good ol estimateRowCount [07:44:17] more like giveIncorrectRowCount amirite [07:44:36] heh [07:47:19] well [07:47:22] that failed miserably [07:47:31] http://vegwiki.no/index.php/ [07:50:59] I think the correct phrase for the occasion is: "Youre doing it wrong" [07:51:15] ya think? [07:51:20] the problem is [07:51:29] I've rolled back the changes I did to LocalSettings.php [07:51:35] so that's not the issue per se. [07:51:47] ugh [07:51:51] you probably have [07:52:02] we should really remove the job queue number from statistics [07:52:09] magic invisible text at the beginning of the file before the php tag [07:52:42] It also did not solve my problem [07:53:08] fucking emacs [07:54:22] well [07:54:29] it still didn't solve the original problem [07:55:03] which is? [08:00:31] API edits with a [ [Category:*]] aren't added to their categories [08:07:44] hmm, categorization works on test.wp anyway with api edit [08:07:56] (but the job queue is zero) [08:08:07] yeah, my job queue is stuck at 7 [08:09:05] in special:statistics? [08:09:08] yep [08:09:21] [10:41:44] flyingparchment> OverlordQ: it uses an estimate, not an actual count [08:09:26] oh [08:10:29] but if i run maintenance/runJobs.php, it should be 0, no?= [08:10:59] even a conservative estimate would have to be 0 after that, or am I misunderstanding what it does? [08:11:38] it uses the estimate that the database tells it [08:24:38] ARGH [08:24:40] FOR THE LOVE OF [08:24:57] you'd think maintenance/rebuildall.php rebuilt everything [08:26:00] what should I work on? [08:28:31] a mute extension, lets you ignore other users so their comments on talk pages dont show up [08:30:16] Werdna: clean up the bugzilla [08:31:55] but that's boring. [08:32:01] maybe I'll toy with the iPhone SDK [08:32:04] Werdna: an --agressive option for refreshLinks.php [08:32:13] :P [08:32:20] I've refreshed the link tables 3 times now [08:32:32] pages still not showing up in the category [08:33:27] try refreshCategories? [08:33:32] rotfl [08:33:48] cannot stat refreshCategories.php [08:33:55] no such file or directory [08:35:56] Werdna: ^_^ You can always rewrite MediaWiki so that the code isn't ugly [08:36:19] 03(mod) Block element written inline splits multiline paragraphs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5718 +comment (10mormegil) [08:36:19] 14(DUP) till end of line ends up in new paragraph - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14489 +comment (10mormegil) [08:39:36] OF fucking thank you php [08:39:48] "{{$a/$b}}" is a syntax error [08:39:57] why? [08:40:00] and if I try to escape { with \ it is shown there literally [08:40:03] Werdna: no fucking idea [08:40:09] Parse error: syntax error, unexpected '/', expecting '}' in /var/www/sandwiki/extensions/Translate/Stats.php on line 101 [08:40:41] Nikerabbit: escape the {s [08:40:44] What are you trying to output? [08:40:50] "{{{$a}/{$b}}}" works though [08:40:54] Werdna: I can't! [08:41:18] Nikerabbit: make sure you escape all of the {s, and the / [08:41:59] ^_^ I think he means that when he uses \{ the \ shows up literally instead of escaping { [08:42:25] '{{'.$a."/$b}}" ? [08:42:44] ^_^ But when all else fails sprintf( '{{%s/%s}}', $a, $b ); [08:43:15] Can't believe I've started to like the sprintf I used to hate [08:47:48] 03(NEW) Check for unified status on logout - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14842 15enhancement; normal; MediaWiki extensions: CentralAuth; (overlordq) [08:53:45] 03werdna * r37772 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthHooks.php SpecialCentralAuth.php): (bug 14842) Don't show unified logout images for non-unified accounts. [08:54:09] lol [08:54:11] <3 Werdna [08:54:16] oops [08:54:39] that last commit has a few revisions in it. [08:54:56] http://translatewiki.net/sandwiki/index.php?title=Special%3ATranslationStats mmm [08:55:08] finally! [08:55:27] and it only took me an hour and a half. :P [08:55:38] 03(FIXED) Check for unified status on logout - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14842 +comment (10Andrew) [08:55:43] link rebuild + cache invalidation, apparently [08:55:53] 03rotem * r37773 10/trunk/extensions/timeline/Timeline.i18n.php: Update for he. [08:56:50] andrew@gcentral_router:~/mediawiki-extensions/CentralAuth$ svn propedit -r 37772 --revprop svn:log [08:56:55] damn, you can't do it [08:57:17] 03(mod) Error in refreshlinks.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14841 +comment (10niklas.laxstrom) [08:59:24] could try propset instead of edit [08:59:41] svn: Repository has not been enabled to accept revision propchanges; [08:59:54] ah he :) [09:08:08] 04(REOPENED) Install DynamicPageList extension on Icelandic and Spanish Wiktionaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7952 +comment (10Andrew) [09:08:09] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:08:58] 04(REOPENED) Set up DynamicPageList on the Bosnian Wikipedia (bs) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8240 +comment (10Andrew) [09:09:07] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:09:23] 04(REOPENED) Install DynamicPageList on Dutch Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6163 +comment (10Andrew) [09:09:32] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:09:40] 04(REOPENED) Activate DynamicPageList on en.wikisource, de.wikisource, he. wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8563 +comment (10Andrew) [09:09:50] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:09:58] 04(REOPENED) DynamicPageList - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11112 +comment (10Andrew) [09:10:05] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:10:13] 04(REOPENED) Enable DynamicPageList extension for Polish Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11788 +comment (10Andrew) [09:10:13] 03(mod) DynamicPageList requests (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10Andrew) [09:12:15] hi folks, just a quick question: is external links stored in a table somewhere in mediawiki? or is it just part of the article text? [09:13:38] nevermind, found the descriptions [09:17:57] can someone help me to track down this bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=14840 ? [09:22:50] hmm lovely [09:22:54] bug I made myself... [09:25:32] 03nikerabbit * r37774 10/trunk/phase3/includes/specials/SpecialWhatlinkshere.php: * Fix double escaping issues introduced in r34320 (bug 14840) [09:26:12] 03(FIXED) Messed up title in whatlinkshere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14840 +comment (10niklas.laxstrom) [09:26:14] 03brion * r37775 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryAllpages.php): [09:26:14] Revert r37748 "(bug 14020) Added an API interface to Special:Unwatchedpages in [09:26:14] the form of the apfilterwatched parameter to list=allpages. If $wgMiserMode is [09:26:14] true or if the user doesn't have the 'unwatchedpages' right, apfilterwatched is [09:26:14] ignored and a warning is output." [09:26:15] This is broken -- watched page filter results in a huge wash of duplicate rows -- one for each watcher for each page. [09:47:32] 03brion * r37776 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthHooks.php SpecialCentralAuth.php): [09:47:32] Revert r37772 for now "(bug 14842) Don't show unified logout images for non-unified accounts." [09:47:32] Seems to have some unrelated changes to logging with no explanation -- what's going on here? [09:57:30] Hello happy people. [09:58:03] hello [10:00:00] I'm reverse proxying MediaWiki, hence it shows: "127.0.0.1 Talk for this IP Log in / create account". I was wondering if there's a simple way to make it use X-Forwarded-For, instead of REMOTE_HOST. [10:01:09] http://www.mediawiki.org/wiki/Manual:$wgSquidServers [10:01:38] > Any IPs listed in this array will be treated as trusted surrogates (reverse proxies). IP addresses displayed for users connected via these Squid servers therefore will match individual user IP's, not the Squid's IP. [10:02:27] XFF is not automatically trusted because vandals were sending falsified XFF headers to bypass blocks [10:03:06] i don't think it was ever possible to do that [10:03:10] except via a bug that was fixed [10:03:13] whats wrong if dates show up as empty strings? like this html code from preferences:   <-- note that there is no text [10:04:01] ZorroIII: does php maintenance/language/date-formats.php work? [10:04:20] flyingparchment: http://en.wikipedia.org/wiki/User:Brion_VIBBER/Cool_Cat_incident_report ? [10:04:39] Splarka: that's the bug that was fixed [10:04:58] Splarka: you could send X_Forwarded_For (with underscores instead of dashes) and PHP wouldn't filter it properly [10:05:36] heh [10:05:40] lovely PHP [10:05:47] *Splarka restates then [10:06:01] XFF is not automatically trusted because vandals [COULD] send falsified XFF headers to bypass blocks [10:06:10] Nikerabbit: no, i get: [10:06:11] en date: | | | | [10:06:11] en time: | | | | [10:06:11] en both: | | | | [10:13:07] ZorroIII: well, it's borked then :o [10:13:09] Nikerabbit: I did a svn update and it appears to fix the issue [10:13:26] Hello [10:13:43] broken serialised caches or missing files or something else then [10:22:14] mau [10:35:53] does MediaWiki require PHP short tags? [10:35:54] 03huji * r37777 10/trunk/extensions/Translate/: Message index can be in /data folder, so svn:ignore has to be updated. [10:36:05] shouldn't [10:37:45] find . -name "*.php" -o -name "*.inc" -exec grep -E '<\?[^p]' \{\} \+ [10:37:54] three hits in dumphtml extension [10:38:16] is that included in the default 1.12.0 install? [10:38:51] wito: what? [10:38:56] the extension? [10:38:58] yes [10:38:58] no [10:39:03] then I'm good [10:39:17] Nikerabbit: might as well fix it while you're grepping ;) [10:39:35] flyingparchment: feel free [10:39:42] i don't have a phase3 co here [10:40:13] you don't need one, only that extension :D [10:40:40] dump is the edition. [10:40:44] how should that be fixed [10:40:55] [10:44:07] 03nikerabbit * r37778 10/trunk/extensions/DumpHTML/wm-scripts/index.inc: * Fix shorttags [10:45:19] thnks [10:50:28] Hello everyone [10:50:42] can someone explain to me the way fetchTemplate works? [10:51:14] Parser::fetchTemplate [10:56:39] umar: uh... you are talking about that perl module thingy? [10:56:54] i don't think many people here have ever used it. it's in no way official [10:57:01] probably best to talk to the author... [10:57:20] umar: or... maybe I'm confused :) [10:57:32] Duesentrieb: Hi; i am talking about the function fetchTemplate in the Parser.php class [10:57:54] uh... yea... sorry :) [10:57:57] *Duesentrieb hides [10:58:05] no problem! [10:58:12] *umar peeks [10:58:54] well, what exactly do you weant to know abotu "how" it works? [10:59:01] 03(mod) Show if current version is sighted in user contribs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14814 (10pbirken) [10:59:08] i want to know whether fetchtemplate is called for each level of transclusion... [11:00:03] i mean: pageA includes pageB include pageC includes pageD, when we view pageA or anything like that, then is fetchTemplate called to get pageb, which again calls fetchtemplate for pagec, and so on? [11:00:20] i think yes, at some point, but there's a lot of caching going on, so if A includes B, B will probably not be reloaded for every use of A [11:00:55] but that stuff *is* indeed quite complicated. can't say i really understand it [11:01:12] maybe try to catch TimStarling. not sure who else knows the details of this [11:01:19] i want to know where exactly is the code which fetches all the templates and all for the first time [11:01:46] TimStarling not around now? [11:01:55] if pageD has {{#ifeq:{{NAMESPACE}}|Talk|foo|bar}} and pageC has {{#ifeq:{{{1}}}|foo|foo|bar}} how can it cache? doesn't it have to go to the beginning each time? [11:02:21] oop subst/{{{1}}}/{{pageD}} [11:02:39] (but ya know what I mean) [11:02:49] Splarka: well, the case of parser functions or template names comming from parameters is special [11:03:00] but for "normal" inclusions, the dependencies are cached, afaik [11:03:07] i am feeling like a mere user now! [11:03:24] 03mark * r37779 10/trunk/routing/lvs/net/ipv4/ipvs/ip_vs_wcsh.c: Some cleanups, additional debug message and comments [11:03:40] we are all just users. the question is *what* we use :) [11:04:36] i meant, in the stuff of parameters to templates and all, i don't know much detail, can't even figure out what was meant with those two lines [11:06:43] fetchTemplate is called in braceSubstitution, i would expect a loop that calls fetchtemplate over and over again [11:11:35] both the lines {{#ifeq:{{NAMESPACE}}|Talk|foo|bar}} and {{#ifeq:{{PageD}}|foo|foo|bar}} output bar on the page, with the first one having an outline also [11:11:43] figured out sth! [11:12:56] 03(mod) DynamicPageList requests (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12423 (10j_dunnewold) [11:14:25] heh [11:14:44] well, I meant, a third or fourth level template call can change its tune depending on the final page [11:15:13] more simply, lets say you have 3 things. [[Foo]], [[Template:Bar]], and [[Template:Baz]] [11:15:41] [[Foo]] contains {{bar}}, and [[Template:Bar]] conains {{baz}} [11:16:14] and [[Template:Baz]] contains {{#ifeq:{{NAMESPACE}}|Template|This is the template namespace|This is not the template namespace.}} [11:16:38] on [[Foo]] it will show the latter, on [[Template:Baz]] it will show the former [11:16:53] yet Template:Baz has nothing dynamic on it [11:17:17] on Foo, it has to expand the templates all the way to see the difference [11:17:30] er, Template:Bar has nothing dynamic, I mean [11:17:31] *Splarka yawns [11:22:45] thanks Splarka [11:23:33] i am trying this out now [11:25:11] oic....! [11:25:17] interesting! [11:25:38] so u can't just cache template page's text when u encounter them [11:26:40] anyway, my basic source of trouble remains [11:27:08] do u know exactly how they expand all the way back? [11:28:00] preprocessor. [11:28:26] which function does that [11:28:38] braceSubstitution, which calls fetchTemplate [11:29:02] what don't you understand? [11:29:12] *Werdna tickles brion [11:29:17] brion: did you see my comments on wikitech-l? [11:29:25] *brion giggles [11:29:32] mmm, might have, don't recall :) [11:29:37] it's in one eye out the other with me [11:29:40] *brion looks [11:29:40] brion: re r37772 [11:29:53] i want to know how u make the list of pages that include a page [11:30:07] the one where I sneakily put some log changes in with a bugfix. [11:30:24] brion: also I hate you, I was looking through your flickr photos and it looks like you're having a good time in egypt. [11:30:58] :D [11:31:23] well the [[diarrhea]] is mostly gone now, so yeah :) [11:31:28] if all goes to plan, I'll be there next year :P [11:31:30] ooh, ouch. [11:31:37] i see fetchTemplate makes a call to addTemplate, and it makes an entry like $this->mTemplates[$ns][$dbk] = $id; [11:31:41] i didn't get the worst of it, it seems :) [11:31:53] *Werdna consoles brion [11:32:07] so i expect there is some place which calls fetchtemplate over and over again to get the whole list. i cant figure out how this is happening [11:32:17] Werdna: ok go ahead and recommit, sounds legit :) [11:32:38] brion: I was going to work on letting grouppermissions be settable on-wiki, but then I remembered code slush [11:33:47] 03(NEW) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 15enhancement; normal; Wikimedia: General/Unknown; (conrad.irwin) [11:34:15] :) [11:35:26] 03werdna * r37780 10/trunk/extensions/CentralAuth/CentralAuthHooks.php: Re-commit r37772 after discussion with brion: (bug 14842) Don't show unified logout images for non-unified accounts. [11:35:57] brion: If I want to generate a diff of an action in the EditFilter hook, what should I use? [11:36:04] 03werdna * r37781 10/trunk/extensions/CentralAuth/ (CentralAuth.php SpecialCentralAuth.php): Fix up logging for lockandhide action - lockandhide is too long for logging table, change to lockandhid [11:36:36] It should be a machine-processable diff (it's going to be used in AbuseFilter to allow filtering based on diff content. [11:37:07] well, you could either attempt to use the diff classes from DiffEngine... [11:37:11] ...or something else... :) [11:37:23] Doesn't DiffEngine generate it in a human-readable format? [11:37:41] i.e.
blah ... [11:38:32] 03dale * r37782 10/branches/MetavidWiki-exp/MetavidWiki/ (6 files in 5 dirs): [11:38:32] updated metavid category page [11:38:32] improved unified media search [11:38:35] I'd call that machine readable :D [11:38:35] Can I shell out to diff or something? :) [11:38:53] One trick I thought of using was using wfMerge() [11:39:33] because diff3 with $source = $changed1 is the same as diff [11:39:43] but I thought that might be shot down as sloppy code. [11:40:23] 03dale * r37783 10/branches/MetavidWiki-exp/skins/mvpcf/ (images/delete.png style.css): minor style updates [11:40:42] wait, that's not right. But there is some setup in which you can use diff3 to get a regular diff, I think. [11:42:41] brion: Can the DifferenceEngine class generate a simple diff? [11:47:36] there's a wide variety of scary little classes in there [11:47:42] they're not always very fast though [11:47:47] that's what I figured. [11:48:02] you could shell out to diff, but that just feels dirty ;) [11:48:11] Yeah, but we do it for diff3 anyway. [11:48:18] we've got wfMerge, why not wfDiff? [11:50:15] *Werdna is in favour of doing dirty things if it does the job. [11:52:14] and I swear, if anybody quotes that out of context, I WILL kill them. [11:52:50] darn, have to do it anonymously then [11:59:29] how rude [12:01:44] 03huji * r37784 10/trunk/phase3/includes/CategoryPage.php: Counts should be shown using localized digits, just as totals do. [12:02:01] hi all! [12:02:38] i need help in configuring MediaWiki, someone availible for me? [12:03:04] 03huji * r37785 10/trunk/phase3/ (2 files in 2 dirs): Putting 'whatlinkshere-barrow' in optinal rather than ignored list; such directional items may need to be translated in RTL languages. [12:03:04] Nikerabbit: have a minute? [12:03:24] Hojjat: perhaps [12:03:40] Nikerabbit: I'm not sure if what I did in 37784 is completely correct [12:04:00] that will through the numbers out localized, but this may break the IF (although it didn't in my tests) [12:04:08] I have a bad feeling that my tests weren't enough [12:04:32] the IF -> the {{#if: used in the langauge files for the count messages [12:04:54] ??r? [12:04:58] Nikerabbit: I guess you know what the conecpt is? [12:05:14] who is familiar with the FlaggedRevs extension? [12:05:36] Hojjat: translations should not have parser functions [12:05:50] which means? [12:06:43] no {{#if:}}s [12:07:20] ok, I didn't understand! But may be I will if you asnwer this: should {{#if:??}} work? [12:07:26] ?? being a non-English digit? [12:07:50] Hojjat: no idea what #if does to strings [12:07:59] oh.. [12:08:07] but in translations there should only be plural and grammar [12:08:12] how can i configure MediaWiki to show the article version flagged "stable" by default for all users? [12:08:19] well, in my tests, it works. I can't find a case were it doesn't. [12:08:32] Nikerabbit sorry.. I meant PLURAL [12:08:55] plural works of course [12:09:02] with "localized" digits? [12:09:08] else we would have many broken plurals :D [12:09:10] Hojjat: yes [12:09:19] Nikerabbit: okay, so I stay clear :) [12:09:29] and what I did really fixes the bug :D [12:09:33] thanhks Nikerabbit [12:10:05] rootkid_: I am [12:10:12] 03aaron * r37786 10/trunk/phase3/includes/PageHistory.php: Cleanup index clause [12:10:23] can i query you? [12:10:57] a little [12:11:36] Nikerabbit: r37777 may be of your interest too :) [12:20:08] 03werdna * r37787 10/trunk/phase3/includes/ (DefaultSettings.php GlobalFunctions.php): Add wfDiff function, similar to wfMerge (some copied), used in AbuseFilter extension to generate a line-by-line machine-readable diff between two texts. Shells out to diff utility. [12:31:12] 03werdna * r37788 10/trunk/phase3/includes/GlobalFunctions.php: Fix handling of non-unified diffs in wfDiff [12:38:14] 03(FIXED) Add option for Images upload directory permissions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6295 +comment (10innocentkiller) [12:39:01] What's the CSS style used to emulate
, but without the ugly box?
[12:39:13] 	white-space: pre
[12:39:20] 	whoa, that was quick
[12:39:32] 	thanks
[12:39:37] 	03mark * r37789 10/trunk/routing/lvs/net/ipv4/ipvs/ip_vs_wcsh.c: Implement 'sphash' boolean module parameter: includes source port in the connection hash when set
[12:40:25] 	beeaaautiful.
[12:43:50] 	thx 4 help! bye...
[12:47:01] 	AaronSchulz: If you are around, I encountered an error between Flagged Revs and Semantic Media Wiki. The error that was generated is at http://pastebin.com/m3f4a1746 - perhaps you have encountered this and have a fix. If not, I'll be trying to isolate and fix the problem today.
[12:56:10] 	Someone knows or this is the irc chat were roankattouw is chatting always on? Or is he somewhere else?
[12:58:56] 	#mediawiki-nl
[13:00:21] <[KrusheR]>	hi
[13:04:08] <^demon>	brion: You around?
[13:08:04] 	14(WFM) Special:ListUsers returning without results. Empty GET parameter. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14348  (10innocentkiller)
[13:20:53] 	gah
[13:20:55] 	stab.
[13:21:18] 	:p
[13:21:21] 	How do I make an 
[13:22:55] 	never mind, there's Xml::option function to the rescue
[13:24:30] 	Hello all.
[13:24:41] *Werdna 	backs away from silas, wary of albino monks.
[13:30:35] 	i want a if for this action: when {{{1}}} has any value then do this
[13:31:06] 	{{#if:{{{2}}}|what to do if it has a value|What to do if it has no value}}
[13:31:09] 	!parserfunctions
[13:31:09] --mwbot--	"Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!).  For help using parser functions, please see . For details about the extension, see .
[13:34:35] 	oh, its a extension
[13:34:46] 	which i can check so i have installed it?
[13:34:53] 	Special:Version
[13:36:47] 	ok, is installed, but my if does not work
[13:36:55] 	{{#if:{{{1}}}|
|}} [13:39:50] when {{{1}}} have a value, i would write the html code
[13:39:56] is my #if correct? [13:40:57] 03werdna * r37790 10/trunk/extensions/AbuseFilter/ (5 files): [13:40:57] Abuse filter updates: [13:40:57] * Allow matching on the changes made in an edit (added/removed lines, etc) [13:40:57] * Improve display of variables in details view - standardise the table size, add white-space: pre, font-family: monospace. [13:40:57] * Improve modifiers: add htmlencode/htmldecode/urlencode/urldecode. [13:40:59] * Add 'abuse filter tools', currently consisting of a testing ground for the modifiers. In future, may include facilities for testing filters against user contributions, recent changes, or other sources. [13:43:30] I was wondering about uploading files other than images, and making the icon of the file appear in the page it is linked to. For example: when upload a pdf file with [[Image:file.pdf]] making that a PDF logo appear instead of the string "Image::file.pdf". Ideas? [13:48:27] 03siebrand * r37791 10/trunk/phase3/languages/messages/MessagesBcl.php: Remove 2 messages in English [14:10:01] 03guyvdb * r37792 10/branches/visual_diff/phase3/includes/Diff.php: small revert for increased speed [14:13:02] <^demon> brion: Bug 14418 (rd_interwiki schema change) has a patch on it now. Might not be complete though :( [14:17:30] hello, i have a problem [14:18:35] i have a #if to open a
tag and i have after this a #if to close the
tag [14:19:07] the mediawiki close my div before my 2. #if wit start [14:19:10] any ideas? [14:20:23] try and do it a different way? :p [14:20:54] why do the open and close tags depend on different things? [14:26:11] cirwin: i have make a example [14:26:29] ok [14:26:41] http://www.pfenz.de/wiki/Stadtwiki:Sandkasten [14:26:47] {{Stadtwiki:Sandkasten/Vorlagentest|Test}} [14:27:05] http://www.pfenz.de/wiki/Stadtwiki:Sandkasten/Vorlagentest [14:27:28] it makes more sense to always ahve a div [14:27:35] and just change the style= as necessary [14:28:21]
[14:28:28] center;}}"> [14:29:06] i can test it [14:29:25] then you always have
with no if [14:30:00] i have only one
and
[14:30:07] yes [14:30:41]
[14:30:41]

Any Text for Meadawiki #if test [14:30:41] </div> [14:31:13] but in the html code i have a close div tag before my text "Any Text for ..." [14:33:06] in my wikicode i have not close div tag before my text [14:34:49] a empty div

gives me a new line, but i do not want a new line in one facility [14:35:16] then don't put divs in there... [14:35:58] #if;#switch;#if [14:36:01] the
and
must be in the same part of the function [14:36:06] like scope rules in C [14:36:30] beacuse mediawiki will assume "end of if statement => end of scope => close all open elements" [14:36:53] so is fine [14:37:05] {{#if:..|
}} is fine [14:38:02] wenn #switch is true without #default i need the output of #switch in a div container [14:38:06] any idea? [14:38:32] cirwin: i see [14:40:14] cirwin: can i build a #if in this form [14:40:18] {{if [14:40:20] sry [14:40:20] Is it possible to have usernames be case insensitive? [14:40:31] CorneliusWasmund: not really [14:41:03] gegema: that'd be a nightmare! [14:41:09] oh [14:41:11] sorry [14:41:13] misreading [14:41:50] {{#if{{{1}}}=(Value1 or Value2 or Value3)|Trueaction|Falseaction}} [14:42:07] What I head meant was during login. Currentlyt if User=boB, bob would not work to log in, just wondering if it was possible to work around that [14:43:33] hey root-80686 [14:43:49] CorneliusWasmund: hi from Alex [14:44:10] you stay at the moment in berlin? [14:44:50] cornelius yes, you use {{#if:{{{1|{{{2|{{{3}}}}}}}}}|true|false}} [14:45:03] {{{3|}}} even [14:45:08] CorneliusWasmund: no, at Wikimania [14:45:30] hello [14:45:49] how to write rewrite rules to make urls from root? [14:46:02] i mean http://wiki.server.com/Main_Page? [14:46:12] cirwin: but i have arround 20 values ... :( idea for a better way? [14:46:39] in all howtos there is http://wiki.server.com/wiki/Main_Page [14:46:44] no way? [14:47:02] there is some kind of case switches in ParserFunctions extension [14:47:20] uio [14:47:22] RewriteEngine On [14:47:23] RewriteCond %{REQUEST_FILENAME} !-f [14:47:23] RewriteCond %{REQUEST_FILENAME} !-d [14:47:23] RewriteRule ^(.+)$ /index.php/$1 [L,QSA] [14:47:24] ; [14:47:42] $wgScriptPath = ""; [14:47:42] $wgScript = "$wgScriptPath/index.php"; [14:47:42] $wgRedirectScript = "$wgScriptPath/redirect.php"; [14:48:36] root-80686, and all files in server root? [14:49:04] Enlightened: yes [14:49:15] root-80686, thanks, i will try that out [14:49:56] into document root of the specific vhost [14:52:25] Can I turn off the feature in MW User:Preferences that aloows a loggedin user to change their email address. We are limiting certain domains at registration and do not want registered users changing their email address to something else. [14:55:43] 03aaron * r37793 10/trunk/ (4 files in 3 dirs): [14:55:43] * Highlight flagged user contribs (bug 14814) [14:55:43] * Necessary hooks added [14:56:08] 03(FIXED) Show if current version is sighted in user contribs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14814 +comment (10JSchulz_4587) [15:01:57] root-80686, i get no input file selected :( [15:02:16] http://wiki.vdsplanet.ru/Main_Page [15:04:03] 03(NEW) New import sources for it.wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14844 normal; normal; Wikimedia: Site requests; (nnico) [15:04:56] cirwin: thanks for your good help [15:05:04] no problem [15:07:08] <^demon> AaronSchulz_: Ping [15:09:28] Enlightened: ?? [15:09:35] please describe your problem [15:10:15] Enlightened: I see the error message. [15:10:23] have your properly set up .htaccess? [15:10:54] hm,, [15:10:58] I see that the request is not rewritten to be handled by index.php, so it must be something wrong with your rewrite rules [15:11:08] that ones I sent to you work here in several wikis [15:14:32] root-80686, look it please now [15:14:33] http://wiki.vdsplanet.ru/test [15:17:18] ah, you're using FastCGI [15:17:53] change RewriteRule ^(.+)$ /index.php/$1 [L,QSA] to RewriteRule ^(.+)$ /index.php [L,QSA] [15:18:06] ^demon: ? [15:19:20] <^demon> AaronSchulz: Just installed flagged revs on my localhost to play with it. Got a E_NOTICE and not sure how to fix it. $uid on line 138 of FlaggedRevsPage isn't defined. [15:21:25] root-80686, it works i think. but when i click links it turns back to index.php? [15:21:36] let me see [15:21:50] 03aaron * r37794 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.class.php FlaggedRevsPage.php): [15:21:50] * CSS for non-reviewers too [15:21:50] * Fix old bogus var [15:21:59] there was some change in this behaviour between 1.10 and 1.11 [15:22:01] ^demon: fixed [15:22:05] <^demon> Thanks :-) [15:22:38] Enlightened: have you adopted the changes to LocalSettings.php I sent to you? [15:22:59] root-80686, yes [15:25:02] Enlightened: this one is missing: $wgArticlePath = "/$1"; [15:27:43] root-80686, thank you very much, that works [15:28:56] np [15:29:00] :) [15:30:16] hi everyone im trying to create a namespace for each different type of documentation project we want to put in mediawiki im having trouble understanding the concepts i think... http://pastebin.com/mb31e7bd is my code but i dont really understand how i create Foo:whatever and is Foo supposed to show up as a tab? i was sortah hoping someone could help me understand this all a bit better i've read the namespace information in [15:31:12] <^demon> You'll also need $wgExtraNamespaces[101] = 'Foo_talk'; [15:31:26] haptiK: they don't show up as a tab [15:31:33] they just exist in the background [15:31:45] the current way of adding a tab is with javascript [15:32:01] which isn't ideal [15:32:13] yah i dont want a tab [15:32:26] ^demon: Im not really interested in talk pages [15:32:44] so how do i create Foo:Bar just browse to it and create the page ? [15:32:48] yes [15:32:51] <^demon> haptiK: Even if you don't use them, you should create it. [15:32:52] same as i would with Foo? [15:33:03] yes [15:33:20] ok and one last question how do i create a table of contents? [15:33:20] <^demon> Foo_talk:Bar would show up in the Main namespace since the Foo_talk namespace would be undefined. [15:33:37] ^demon: ok np [15:33:53] <^demon> It's automatically generated if you have enough headers. __FORCETOC__ will make it appear regardless of the number of headings. [15:35:07] enough headers? what do you mean by that [15:35:19] should i just generate some test content under a namespace and see what happens? [15:35:25] oh headers [15:35:27] h1 h2 etc [15:35:44] cool [15:35:45] thanks [15:35:53] thanks everyone you've been a big help [15:40:54] 03(NEW) Bug in prefs javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14845 15enhancement; normal; MediaWiki: User preferences; (seventowers) [15:42:58] are talk pages also wgNamespacesWithSubpages ? [16:01:11] AaronSchulz: Are you around? I think I found a bug that involves FlaggedRevs and Semantic MediaWiki and I'm having trouble isolating it. The error message is http://pastebin.com/m3f4a1746 [16:09:37] anyone have any thoughts about the calendar extensions? I'm looking at http://www.mediawiki.org/wiki/User:Simsong/Calendar right now, but any comments on anything anyone has used or is using would be appreciated. [16:35:30] 03(mod) You got follow up! - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8662 +comment (10nurtsch-cv60) [16:36:41] 03(mod) CategoryPageView does not work on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13882 (10alan.trick) [16:41:11] 03(NEW) "Portal" namespace for Nynorsk Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14846 normal; normal; Wikimedia: Site requests; (rthattai) [16:41:36] 03(mod) You got follow up! - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8662 +comment (10atluxity) [16:43:49] <_supastuff_> hi guys. I'm a first time user. I installed the latest ver and it functions well. my only question is where can I set it so it stops automatically redirecting requests for www.example.com/wiki/ to example.com/wiki/ ? [16:44:04] <_supastuff_> I looked through the docs but couldn't find a reference [16:44:46] are you referring to the "www"? [16:44:52] <_supastuff_> yeah, exactly [16:45:17] <_supastuff_> for some reason it redirects to the url with the www. part stripped [16:45:22] that's not related to MW [16:45:33] could be Apache [16:45:42] (the server) [16:45:42] <_supastuff_> couldn't find anything related in the web server config, I'll look deeper. thanks! [16:45:53] yw. [16:46:21] _supastuff_: what is servername and what is serveralias ? [16:46:37] <_supastuff_> I use a web server called nginx actually, so it works a bit differently there [16:48:48] <_supastuff_> I found the code which casues it to happen. can I override $wgServerName in LocalSettings? [16:50:48] _supastuff_: if it can be set in LocalSettings, you can override it, so probably [16:52:39] <_supastuff_> great, works nicely now [16:53:01] <_supastuff_> just had to set wgServer in LocalSettings [16:55:34] 03ialex * r37795 10/trunk/phase3/includes/GlobalFunctions.php: fix in debug output [17:02:34] _supastuff_: make sure you override wgServer and wgServerName consistently [17:02:58] (wgServer is basically wgServerName with http:// up front) [17:04:46] Hi, How do i link to a Foo:Bar [[Foo:Bar]] just seems silly [17:05:33] haptiK, what? That's how you do it . . . [17:05:46] but how do i describe the link [17:05:59] i cant put View the Foo:Bar here [17:06:49] Technical_documentation:Contents [17:06:53] thjats not very descriptive [17:07:01] it looks ridiculous [17:08:01] i dont get this [17:09:15] Contents of technical documentation but that just links to Contents not Technical_documentation:Contents [17:10:38] [[Foo:Bar|View]] [17:10:57] or [17:11:03] nm [17:11:36] ahhhhhhh [17:11:47] Thank you [17:12:58] <_supastuff_> Duesentrieb: will do. thanks! [17:19:14] Embarrassed here... I forgot how to make a date enter automatically in a template. Say I have Template:Foo and place it on a page today. Today's date (an optional parameter, if-date) appears on it. Tomorrow = tomorrow's date, etc. Should it just be five tildes? [17:24:55] is it possible to have a 3rd level [17:25:04] Foo:Bar/Baz or something? [17:25:52] sure [17:25:57] !subpages | haptiK [17:25:57] --mwbot-- haptiK: By default some namespaces have subpages enabled and others don't. You can enable or disable them using $wgNamespacesWithSubpages in LocalSettings.php. [17:26:16] ahh thats what that means [17:26:21] because i've already set that up [17:31:09] *Sasoriza waves [17:33:30] I thought it was a FlaggedRevs page, but where would I find the code to the Special:Stabilization page? [17:38:40] http://img45.imageshack.us/img45/5397/beyza20xd8.png how can i do [17:40:18] <[KrusheR]> how do i shoot web [17:40:58] mkadir: I think it's an extension. [17:41:17] what is the name [17:41:26] exstensions name [17:41:47] i'll look it up. one second. [17:41:52] ok [17:42:03] <[KrusheR]> it's pretty cool, indeed [17:42:28] Hi [17:42:55] mkadir: http://www.mediawiki.org/wiki/Extension:Search_Suggest [17:43:05] I'm not sure if that's the exact one, but it appears to do the same thing. [17:43:13] I cannot find any guide to setup short URL, or how to setup the .htaccess , anywhere, can somebody please help me? [17:43:29] tomowe: thanks a lot [17:43:36] no problem. [17:44:06] 03siebrand * r37796 10/trunk/phase3/languages/messages/MessagesFa.php: Localisation updates. Remove non-existing parameter [17:44:07] is anyone here running both semantic media wiki and flagged revs? [17:44:20] i'm having trouble with the Special:Stabilization page. [17:47:46] too bad AaronSchulz isn't here...I've tried for 2 hours just to track this bug down. nothing. [17:48:27] looks like he is here [17:49:22] oh. lol. AaronSchulz: have you ever seen anything like http://pastebin.com/m3f4a1746 before? [17:49:35] Thank you ivemade it!!! [17:51:29] tomowe: its running [17:51:32] thanks [17:51:36] np. [17:57:25] I love you [17:57:39] thanks for make mediawiki [18:00:43] hi all, how to make a link redirect to wikipedia article? [18:00:50] is done by template? [18:00:57] anyone has an example? [18:02:10] leonardo_: you can use the shortcut [[wikipedia:]] [18:02:22] ok [18:02:24] thanks [18:02:27] will test [18:02:28] or you can create a template that uses the shortcut [18:02:52] right [18:05:58] Sasoriza: with [[wikipedia:]] appear on link the name wikipedia [18:06:11] template is done to hide it [18:06:21] need parserfunction to hide it [18:06:23] ? [18:06:42] do you know any example done? [18:07:41] is there a way to make a summary of all articles available in the website automatically? [18:08:02] Special:Allpages [18:10:26] Not really a summary, more of a list. [18:12:32] 03ialex * r37797 10/trunk/phase3/docs/ (6 files): [18:12:32] Doc tweaks: [18:12:32] * Moved doc about primary scripts to scripts.txt [18:12:33] * Lines ending to 80 chars [18:13:14] Thank you [18:13:44] anyone knows a template done that hide the wikipedia from [[wikipedia:]] links? [18:15:45] [[Wikipedia:Some page|Some page]] ? [18:20:16] why the edit buttons is visible here http://wiki.arabeyes.org/index.php?title=Technical_Dictionary&action=edit&useskin=monobook but isn't working http://wiki.arabeyes.org/index.php?title=Technical_Dictionary&action=edit here [18:20:57] alnokta2: I can see an edit button in both [18:21:36] alnokta2: i get two errors [18:21:40] Werdna, i mean bold, italic buttons [18:22:10] if (wgBreakFrames) { (wikibits.js?1 (line 52)) : undefined variable wgBreakFrames [18:22:43] mwEditButtons[mwEditButtons.length] = (wikibits.js?1 (line 337)) : undefined variable mwEditButtons [18:24:05] ialex, those will make it work in one skin and not the other? [18:24:20] how to remove the default namespaces? [18:25:13] alnokta2: and [[special:allpages&namespace=100&from=A | A]] doesn't work as expected [18:25:55] [{{fullurl:Special:allpages|namespace=100&from=A}} A] should work though [18:27:31] ialex, thanks :) [18:29:32] excuse my ignorance, but how to set to an article a namespace? [18:30:21] phoenixsampras, just make the title : namespacename:articlename [18:30:48] hi alnokta2 [18:31:12] hello Nikerabbit [18:31:37] Nikerabbit, how is bw? [18:31:54] alnokta2: understaffed? [18:32:03] alnokta2: wow, thank you [18:32:25] Nikerabbit, you mean stuffed ? :P [18:32:35] alnokta2: no? [18:32:42] ok [18:33:45] alnokta2: how is you? [18:35:08] Nikerabbit, i'm good, although my jalapenos aren't [18:35:17] are they cranky? [18:36:36] well, the flowers keeps on falling [18:38:36] http://profile.imageshack.us/user/alnokta/images [18:41:58] nice herbs [18:42:52] food for rabbits [18:43:39] rabits are evil [18:44:44] :< [18:45:15] but birds are worse [18:45:37] i used to suffer from them until i discovered cds trick [18:45:40] leonardo_: If I understand you correctly, you can create a template like {{w}}, which simply uses the shortcut, i.e. {{w|some link}} [18:46:18] sasoriza: i found it: http://en.wikipedia.org/wiki/Wikipedia:Interwikimedia_links [18:46:25] thanks [18:46:27] k [18:46:48] 03ialex * r37798 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings-core.php): [18:46:48] * Added $wgDefaultDirectoryChmod and $wgDiff [18:46:48] * Fixed array type of $wgContentNamespaces [18:50:11] hi brion [18:51:00] hi brion [18:51:31] hi ialex [18:51:38] hello Nikerabbit [18:51:59] Not quite sure why I'm getting these errors with Extension:RandomImage: http://rafb.net/p/epSRKh19.html [18:52:06] nobody ever says hello to me when I never quit :o [18:52:21] hi Nikerabbit... feel better? [18:52:40] hello Nikerabbit :) [18:53:16] Hi, what is the recommended way to get tex rendering? [18:53:20] hi to all [18:53:27] hi Nikerabbit [18:53:34] jbalint: follow the instructions in math/README [18:53:41] Duesentrieb: thx, will take a look [18:54:02] jbalint: which, sadly, means "install all the required cruft and compile it yourself" [18:54:10] oi, alright [18:54:25] hrm, looks like i have some compiled stuff in there already [18:55:19] hello Duesentrieb you're not in alexandria? [18:55:40] rainman-sr: no. no time, no money. hhopefully next year... [18:56:18] jbalint: if you have an executable called texvc, you should be ready to go. provided it matches your system. [18:56:40] Duesentrieb: looks like its from an old system (wont execute), about to rebuild now. [18:56:52] Duesentrieb, same here.. buenos aires sounds pretty cool :) [18:57:19] which Alexandria are you guys talking about [18:58:27] Sasoriza, wikimania2008.wikimedia.org [18:58:32] ah [18:59:15] is there a way to enable the search automatically when i type in the browser: www.herbswiki.com/peyote and it shows all the "peyote" results ? [19:01:46] phoenixsampras, i don't think so, but you can add you wiki to search engines search bar in e.g. firefox [19:02:05] hows that possible? [19:02:45] thx Duesentrieb, working well! [19:02:58] congrats :) [19:03:06] phoenixsampras, just go to your wiki, and click the drop-down menu where the search engines are, and you should get "Add " [19:03:55] hi [19:04:37] rainman-sr: Wow thanks!! [19:04:51] why i dont have nothing when i type index.php?title=Special:Categories&limit=50 ? [19:05:22] Anyone know of a javascript collapsible "easy timeline"? [19:05:23] Where can i change the spaces btwn tabs? [19:05:43] Or Ajax even [19:05:46] hi. Where do I set CSS properties for users that are logged in? [19:08:18] main.css? [19:08:50] !css | mib_hdrr6fus [19:08:50] --mwbot-- mib_hdrr6fus: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [19:09:09] mib_hdrr6fus: there's really no good reason to edit css *files* ever. [19:09:19] unless you are writing a skin from scratch [19:09:36] i only want to change the space bwtn tabs [19:09:42] I am adapting MonoBook to my own needs [19:09:46] i'm trying to guess [19:09:52] where to do [19:09:59] I want to hide column-one for users that are not logged in [19:10:40] Duesentrieb Do you know where i could do that? [19:12:25] how to create categories? [19:13:23] phoenixsampras: Just type [[Category:Foo]] and save or follow the link [19:13:26] mib_hdrr6fus: did you read the general info on css above? [19:13:32] mib_hdrr6fus: that's where you do it... [19:13:39] Sasoriza: thank you!! whats the difference between Namespace and Category? [19:13:39] !categories | phoenixsampras [19:13:39] --mwbot-- phoenixsampras: http://www.mediawiki.org/wiki/Help:Categories [19:13:48] !namespaces | phoenixsampras [19:13:48] --mwbot-- phoenixsampras: For help with understanding and manipulating namespaces, please consult . See also !extranamespace [19:14:24] !css | Pedric [19:14:24] --mwbot-- Pedric: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [19:18:00] thank you guys.. im reading... [19:18:24] I've been trying to figure this out for months: How to transclude with a ParserFunction content of a page below a header... sort of like #titleparts but along the lines of #rel2abs [19:18:41] !Subcategories [19:18:41] --mwbot-- I don't know anything about "subcategories". [19:18:47] !Subcategorie [19:18:47] --mwbot-- I don't know anything about "subcategorie". [19:19:16] I'd give my right arm if someone had a solution [19:19:53] !Language [19:19:53] --mwbot-- I don't know anything about "language". You might try: !colon !langlinks [19:20:04] !colon !langlinks [19:20:04] --mwbot-- To escape the usual function of [[Image:]] links, [[Category:]] links, [[en:Interlanguage]] links, and create an inline simple link, prefix a colon. [[:Image:Wiki.png]], [[:Category:Cats]], [[:en:Foobar]]. A colon can also be used to transclude an article in the main namespace, eg {{:Main_Page}}. [19:20:36] how to set the language of a specific article? [19:25:16] phoenixsampras: you don't. [19:26:02] {{Languages|Help:Categories}} maybe ? [19:26:17] phoenixsampras: subcategories are just categories that have been categorized [19:26:27] oh, i was scrolled up, sorry [19:26:41] phoenixsampras: that's a wiki-specifc template. [19:26:49] (a rather complex one at that) [19:27:08] phoenixsampras: having pages in different languages on one wiki isn't really suppoerted by mediawiki. [19:27:19] do you have any advice to implement a simple multilang wiki? [19:27:26] phoenixsampras: you can try to work around this by using some conventions and templates, like mediawiki.org does [19:27:39] i see [19:27:45] there are also some extensions that try to support this [19:28:12] !ex Multilang | phoenixsampras [19:28:12] --mwbot-- phoenixsampras: I don't know anything about "ex". You might try: !actions !bizzwiki !boilerplate !bundels !centralauth !dpl !e !editbuttons !extensionmatrix !extranamespace !feeds !filetype !interwiki !ldap !moderation !parserfunctions !renameuser !sidebarex !threads !userapproval [19:28:18] !ex Polyglot | phoenixsampras [19:28:18] --mwbot-- phoenixsampras: I don't know anything about "ex". You might try: !actions !bizzwiki !boilerplate !bundels !centralauth !dpl !e !editbuttons !extensionmatrix !extranamespace !feeds !filetype !interwiki !ldap !moderation !parserfunctions !renameuser !sidebarex !threads !userapproval [19:28:22] err, dam [19:28:24] sorry [19:28:27] !e Polyglot | phoenixsampras [19:28:27] --mwbot-- phoenixsampras: http://www.mediawiki.org/wiki/Extension:Polyglot [19:28:34] !e Multilang | phoenixsampras [19:28:34] --mwbot-- phoenixsampras: http://www.mediawiki.org/wiki/Extension:Multilang [19:29:14] phoenixsampras: generally, mediawiki expects you top have one wiki per language. multilingual wikis are more or less hackish. [19:29:49] hm... gotta go afk for a bit [19:29:50] bbl [19:43:14] n8 [19:50:15] Hello [19:50:32] y0 [19:50:42] Does anyone has any experience with the Secure HTML extension? [19:51:38] !ask | LegendRunner [19:51:38] --mwbot-- LegendRunner: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [19:51:53] I know I know [19:52:02] but much further I wont come [19:52:05] well Okay, my bad [19:52:13] http://www.mediawiki.org/wiki/Extension:Secure_HTML [19:52:20] then just ask what it is that you're wondering about with the extension [19:52:27] that extension, if I want to add a html thing, it says Error: Invalid Hash [19:52:48] looked on the discussion page.. but there isnt a real good answer or explanation [19:55:24] sounds like a programming error [19:55:25] and to be honest, on a side note, I find the instructions a bit hard to understand [19:55:32] in my html? [19:55:38] in the extension [19:55:48] well, I tried the html hello [19:55:50] aw [19:55:59] some people did got it to work tho [19:56:09] you shouldn't need the extension to use [19:56:17] yeah it was to try it out [19:56:30] on the liquid threads extension, with my wiki on https, all of the links have padlocks next to them. any way to disable or fix this? inner wiki links do not have this padlock, though, so I'm guessing it's the extension...somewhere. [19:56:32] I want to have a paypal button on, but dont know how to add html to a page [19:57:10] There's an extension to do that [19:57:19] Actually, I have an extension for adding a donate button to the sidebar [19:57:25] o.0 [19:57:28] Though, it uses a hook that brion reverted [19:57:46] you mean.. an extension to add html? [19:57:57] Hell no... [19:58:02] That's unsafe [19:58:14] sorry Im sort of a newb [19:58:22] hear me, sort of, I am. [19:58:41] is there any other way to simply add html to a page? [19:59:03] MW does have an option to add html, and there's a /SecureHTML/ extension... but allowing HTML to be added is unsafe, it allows XSS attacks which can be used to harm the users on your wiki [19:59:21] yeah I know the XSS part [19:59:42] so, the extension for paypal donation button in the side bar is a solution [20:00:16] Mhmm,, though you may need to patch MW atm since brion removed the hook it needs to add the portlet to the sidebar [20:00:35] Can't you just enable HTML in LocalSettings.php? I did something like that once. [20:01:03] I see 2 extensions for paypal by the way [20:01:07] ok. i need to make a change to liquid threads. rather than using the full URL in the links, i need to use the relative path. [20:01:15] any ideas on how to find and make that change? [20:01:25] Dentman, LegendRunner was trying to use the SecureHTML extension but it reports a Hash error [20:02:09] yeah well, I tried secureHTML extension to add html [20:02:11] http://www.mediawiki.org/wiki/Extension:PayPal This one is good enough [20:02:29] 03huji * r37799 10/trunk/phase3/ (RELEASE-NOTES skins/common/prefs.js): (bug 14845) Bug in prefs javascript [20:02:40] 03(FIXED) Bug in prefs javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14845 +comment (10huji.huji) [20:03:00] actually...how do I remove the padlock from https urls? [20:03:06] Can anyone actually poke brion about those hooks? [20:03:14] Splarka been around lately? [20:04:46] Dantman, thanks, this extension looks good, gonna try it out now =) [20:05:03] silly of me not to look for paypal extension, rather then html extension >>< [20:05:04] use css tomowe, css is used to add them [20:08:54] AaronSchulz, TimStarling: the CU extension is GPL, or not? (it's missing on mw.org) [20:09:58] ah, go it, it was just missing in that infobox, it's clearly noted in the text, doh! [20:10:07] why the Category Tree shows "Category Herbs not found" but there is 1 article with that category ? [20:10:40] Bdka, anything you don't know its license assume PD :P [20:10:56] heh [20:12:30] phoenixsampras: Did you create the category page? [20:12:58] opsss... is that necessary ? [20:13:02] phoenixsampras: link? [20:13:10] phoenixsampras: yes, create the category page :) [20:13:14] http://img141.imageshack.us/img141/6232/beyza21ww6.png i want to do. how can i do [20:13:21] tomowe: hi [20:13:45] (unless i messed up, this is no longer neccessary in the 1.13 apjha version of CT) [20:13:47] moin Bdka [20:14:11] when's that puppy coming out anyway (officially) [20:14:23] Omaygad it works [20:14:31] !sidebar | mkadir [20:14:31] --mwbot-- mkadir: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [20:14:35] Duesentrieb: i love you , thank you [20:14:41] ok [20:15:30] Anyone else discovered that when using top row buttons (like button_sig.png) in Opera 9.51, cursor jumps at the beginning of wpTextBox textarea. Earlier cursor stayed right next to added text [20:15:34] actually... i don't know how the search box was moved up. normally it shows below all the custom entries... [20:15:39] maybe some new magic? [20:16:55] oh, yes MediaWiki:Sidebar has a * SEARCH entry. That seems to be magic. Hrmmm.... nasty *nasty* hack [20:17:09] *Duesentrieb grumbles [20:17:33] is there a way to show all categories? [20:18:16] Just got confirmation from another user that his latest Opera acts same. Is button js modified lately or is this just Opera-strangelets? [20:18:35] 03ialex * r37800 10/trunk/phase3/includes/DefaultSettings.php: Per r37799: $wgStyleVersion++; [20:19:00] yourwikiurl/Special:Categories [20:19:18] FF3 acts as before (cursor stays beside added text) [20:19:45] is there a way to show all categories using categorytree? [20:20:03] yourwikiurl//Special:CategoryTree [20:20:14] er, 1 / [20:20:45] 03(mod) Support Microsoft SQL Server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 +comment (10roan.kattouw) [20:21:33] 03(NEW) Add to permitted HTML elements - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14847 15enhancement; normal; MediaWiki: Page rendering; (326374) [20:21:43] what does means: "Parents: nothing found" ? [20:23:07] Need a parent cat [20:23:21] it means you are an orphan? [20:24:17] huhu Duesentrieb :-) [20:24:31] 03(mod) Add rd_interwiki colum to redirect table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14418 (10roan.kattouw) [20:30:20] phoenixsampras: it means that there are no super-categories [20:30:34] Can {{anchorencode}} return sections of a page? [20:31:20] Sasoriza: what do you mean? as far as i know, it simply encodes whatever you pass to it. [20:31:31] just like {{urlencode}} [20:31:38] yeah... but the # keeps throwing me [20:31:46] (or was that {{#urlencode}}? i hate old style magic templates) [20:31:57] it was #urlencode [20:32:00] Sasoriza: uh? how so? [20:32:06] Sasoriza: what are you trying to do? [20:32:23] trying to transclude a section of a page without headers [20:32:49] as a relative path [20:33:07] vanilla mediawiki doesn't support that [20:33:26] and if it did, i doubt you would need {{anchorencode}} for that [20:33:42] ya [20:33:42] you only need that to build full urls, really. [20:34:02] Haven't found anything else that works... like #rel2abs, or whatever [20:34:41] you can't transinclude a section of a page without some some extension to do it [20:34:56] err without using some extension to do it [20:35:07] the simplest and cleanest way is to put that section into a subpage [20:35:16] then you can include it on the main page, and wherever else you ewant [20:35:38] i can't even find the extension for that right away... and i think it's rather messy. [20:35:53] using subpages for this should work rathenr nicely [20:36:06] But what if I wanted to transclude that? As in, Foo > Foo/baz (where Foo/baz gets transcluded). [20:36:26] The idea is to take some of the work out of it. [20:37:01] #rel2abs should have worked, but, nope [20:37:27] that just translates relative paths to full paths [20:37:48] there is nothing to transclude a section from a page [20:37:56] without an extension [20:38:34] 03siebrand * r37801 10/trunk/phase3/languages/messages/ (76 files): Localisation updates for core messages from Betawiki (2008-07-17 22:24 CEST) [20:38:43] 03(mod) Support Microsoft SQL Server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10Simetrical+wikibugs) [20:40:54] Sasoriza: if you have a page called Foo and a page called Foo/bar, you can include the latter in the former by writing {{:Foo/bar}}. With subpages enabled, i think it's evedn sufficient to write {{/bar}} or maybe {{:/bar}}, not quite sure. [20:41:30] the leasing : is needed to indicate that this "template" is not in the template namespace, but in the main namespace [20:41:39] right [20:42:00] I was just trying to find a way avoiding subpages [20:42:00] : is not needed for namespaces with subpages enabled [20:42:34] Sasoriza: don't. use 'em [20:42:41] 03siebrand * r37802 10/trunk/extensions/ (79 files in 74 dirs): Localisation updates for extension messages from Betawiki (2008-07-17 22:24 CEST) [20:42:45] anyone that works on liquidthreads extension here? [20:43:25] However, interwiki presentation poses a problem. [20:43:48] so use an extension that can include sections of a page or use some extension that allows some trickery, the first would be better though [20:44:07] Sasoriza: huh? how so? [20:44:21] If they don't have subpages. [20:44:51] ... [20:44:51] sorry for the pasting, but @import "/seiten/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0"; is user style sheets in monobook, right? [20:45:22] 03(mod) Support Microsoft SQL Server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10roan.kattouw) [20:45:30] Pedric: it's all dynamic styles, which includes user styles, and possibly some other stuff [20:46:08] that line overrides a.new link colors... [20:46:47] find out why :) [20:47:07] FFs DOM inspector has already brought me that far... [20:48:35] Don't use DOM inspector. Use Firebug. [20:48:56] how you enable categorytree to display all categories separated by alphabet A B C D ? [20:48:56] DOM inspector is an old and not-as-featureful version of Firebug. [20:48:59] (IIRC.) [20:49:24] it was sufficient for the moment [20:49:51] darkcode: Know of any such extensions? [20:50:12] But I'm kinda stuck where that CSS code comes from... [20:51:28] MedyaViki:Mka i cant create it. why [20:52:15] new sidebar [20:52:26] 03siebrand * r37803 10/trunk/extensions/ (18 files in 18 dirs): Localisation updates for extension special pages from Betawiki [20:53:14] Duesentrieb: MedyaViki:Mka i cant create it. why [20:54:04] i don't know. why did you create it? [20:54:17] Hey, Alexfusco5... sorry I haven't been around. Been busy, traveling and whatnot. [20:54:30] np [20:54:47] hi [20:54:51] 'sidebar [20:54:58] !sidebar [20:54:58] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [20:55:36] 03(mod) Support Microsoft SQL Server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10a-joelpe) [20:55:45] I just enabled xcache, and I don't really feel an improvement, still like 1-2sec to render a page, is it normal? [20:55:45] hi [20:56:18] I'm on a quad core 2ghz opteron machin with 8gig of ram [20:59:18] KU0N: xcache should give you an improvement, though it does depend on where your bottleneck is. [20:59:36] KU0N: for example, if your database access is slow, xcache is not going to help (much) [20:59:57] KU0N: also check performance when not logged in. should be considerably faster [21:00:22] Duesentrieb: I'm always logged in, as I have to use http auth (it's a private dev wiki) [21:01:02] well, for logged in users, less acaching is possible, because of personalization [21:01:04] Duesentrieb: is there any setting to have mediawiki tell me like db xms, 25%, rendering xms 50%... [21:01:11] yea of course [21:02:10] !tuning | KU0N [21:02:10] --mwbot-- KU0N: [21:02:14] I don't think the DB is the bottleneck, as it's a HUGE server with like 128CPU and a lot of ram, but I just wanna check. [21:02:26] If the DB is slow I'll just ask the DBA. [21:03:02] KU0N: also check the delivery time reported at the bottom of the html output [21:03:09] 128 CPUs? [21:03:22] yea Simetrical it's a BIG sun box [21:03:26] Whee. [21:03:31] shit [21:03:47] 274ms Duesentrieb [21:04:05] A poorly-configured database can cause trouble even on a large server. [21:04:11] of course Simetrical :) [21:04:20] If you're using default MySQL settings, you could be running it on a supercomputer and it would still be bog-slow. [21:04:24] Simetrical: but I mean, if it's slow, I can ask the DBA [21:04:30] no, we are not using mysql [21:04:39] I don't even think mysql could scale on that hardware [21:04:56] is APC better than xcache? [21:04:58] as apposed to what? [21:05:09] Duesentrieb: we use postgresql and oracle [21:05:18] *Dantman|Coding has a preference for eAccelerator [21:05:56] mom, tel [21:06:32] Didn't pgsql have an insane ammount of bugs for MW? I see piles of bugzilla issues on things like image deletion not working [21:06:47] KU0N, MySQL runs Wikipedia. It can scale fine. [21:07:01] Note that other databases are not as well-supported in MediaWiki, although pgsql should be fairly good. [21:07:29] pgsql is doing fine it seems [21:07:32] Anyway, see the link above about tuning to see how to enable MediaWiki profiling. [21:07:47] Yeah, support for that is pretty good. Don't try Oracle unless you're a do-it-yourself kind of guy, though. :P [21:17:36] Werdna: could you add plural support for a few AbuseFilter messages? [21:17:50] Werdna: see http://translatewiki.net/wiki/Translating:Tasks#Messages_needing_PLURAL_support [21:18:07] Werdna: feel free to work on others in the list too :) [21:19:27] can anyone help me using hooks? [21:19:51] where do I have to run wfRunHooks()? [21:21:52] ruther1983: What are you trying to do? [21:23:01] Can a template include a javascript? [21:23:21] i want to use the getStartBody() function of the pager.php file to add text on beginning of each article [21:23:32] *Lady_Aleena is not doing this template now, just needs to know for the future. [21:23:56] Lady_Aleena, no. JavaScript must be written to MediaWiki:Common.js or some other JS page. [21:24:12] !hooks | ruther1983 [21:24:12] --mwbot-- ruther1983: Hooks allow you to run functions at various points in the main MediaWiki code. For more information about using hooks in MediaWiki, see . [21:25:14] Simetrical, so no "Click here to create the category." which takes the user to the edit page, automatically inserts text in the edit box, and saves it. [21:26:28] I was so hoping that it could be done to make things faster for them. [21:27:42] Lady_Aleena, you can. You just have to add the JavaScript in Common.js. [21:27:56] Otherwise ordinary users could add JavaScript, which would be a really bad idea. [21:28:02] ok thanks mwbot! i will try it in LocalSettings.php [21:28:42] Simetrical, so, when I go to write this template, I would need to ask for the script to be included in the Common.js? [21:29:10] *Lady_Aleena would also have to beg someone to write it. [21:29:16] Lady_Aleena, yes. [21:29:20] If you're not a sysop. [21:29:39] You could make a Gadget, but that wouldn't be great for your purposes. [21:30:59] The template is for an administrative area of Wikipedia which could use a little automation. [21:32:02] Lady_Aleena: there's a bunch of js wizards on wikipedia. it's sure doable, though probably a bit messy. [21:32:56] {{#ifexists:{{Category:X}}|[[Category:X]]|Click [[Category:X |here]] to create the category.}} [21:33:12] That's the plan anyway. [21:35:24] When they get their act together, I will be back here begging for help. I just needed to know beforehand if it were doable. [21:36:09] Maybe not here, probably in scripts. Thank you for giving me hope. [21:37:43] Simetrical: after enabling profiling, DB is taking like 5% [21:37:48] Reasonable. [21:40:52] I have LoadBalancer::getConnection and LoadBalancer::openConnection taking 40% [21:41:02] I'm on a single server, is that necessary ? [21:41:07] I have no idea what it is [21:41:24] 40% of real time? [21:41:29] That's unreasonable. [21:41:34] Very unreasonable. [21:42:01] each one is doing 23% [21:42:09] so more like 46% for both [21:42:13] KU0N: that's the time it takes to connect to a database [21:42:30] so, the creating the db session seems to take long [21:43:11] session init is something that is particularly fast with mysql btw... if the problem is not something else, like the database queuering connection request because of load, or packet loss, or whatever [21:43:39] just asked the DB, the server is optimized for few persistant connections [21:43:42] DBA* [21:43:55] which is exactly not what you are doing [21:44:09] php -> not persistent [21:44:11] he said he could do something about it, but he'd prefer if I can ask mediawiki to use persistant connection [21:44:17] so it's not possible? [21:44:39] not out of the box [21:44:50] PHP can do persistant connections, but MediaWiki doesn't make use of them [21:44:55] ok [21:45:04] I'll just ask my DBA then [21:45:26] i think there's actually a reason persistent connections don't work (well) with mediawiki. but i don't know details [21:46:05] I won't mess with it, my DBA just said he can have a pool of connection at the ready and it should be much faster [21:51:20] Duesentrieb: don't know what the DBA did, but I went from 270ms to 50ms [21:51:38] sounds good :) [21:51:54] 03siebrand * r37804 10/trunk/extensions/WhoIsWatching/SpecialWhoIsWatching.i18n.php: [21:51:54] Add newline after sentence to facilitate localisation [21:51:54] No localisation updates required. [21:52:28] KU0N, where is this, out of curiosity? [21:53:03] where is what? [21:56:24] KU0N, your operation. Like, what company are you with? [21:56:31] ha, in switzerland [21:57:48] Most people who come in here are setting up wikis for their own personal websites, not for a 128-CPU Sun box with a DBA on tap. :) [21:58:02] indeed :) [21:58:18] switzerland... big boxen... CERN? [21:58:24] ha yea, we wanna use mediawiki as central knowledge base for an MMORPG [21:58:39] Ah, nice. I've seen a couple of other gaming companies do that, like for Oblivion. [21:58:41] Duesentrieb: no, even if I work with CERN and EPFL sometimes, this time it's for entertainment [21:59:45] the big server is our company main DB server with I think something like 200TO of data (we are hosting medical data) [21:59:54] ANet uses mediawiki for guildwars [21:59:55] and now we started working on a game project [21:59:57] you can set up your toy MMORPG wiki on a big iron server and let a DBA jump hoops? hm... nice... [22:00:05] can i do that too, please? [22:00:49] I think the MMORPG isn't a toy, it's a product his company is launching. [22:00:51] Or at least I assume so. [22:01:21] yea, we have like $20-50m budjet for it, so it's not really a toy. [22:01:31] budget* [22:01:47] Isn't $20-50m a pretty huge budget for a game? [22:01:55] no it's common [22:02:18] Sounds fun. [22:04:25] I know someone who works in the financial industry. He writes software for bond dealers, I think. He once remarked that it didn't use the Internet (but I knew that some of the customers were on the other side of the world). [22:04:31] I asked him how that could be. [22:04:38] He said "Oh, they use dedicated lines, not the Internet." [22:04:58] yea [22:05:10] for our game, we will have private lines as well [22:05:17] o_O [22:05:30] sounds like a game involving missle silos. [22:05:57] nah, privates lines are not so expensive [22:06:06] the most expensive thing in a game is art [22:06:09] and IT [22:06:14] and coding [22:06:19] I think it's in that order [22:06:25] Very interesting. [22:06:37] depends of the game [22:06:40] Not surprising that art is so expensive these days. [22:06:43] IT is high only on MMO [22:06:47] With the fancy high-res 3D stuff. [22:07:14] How about playtesting and QA? I hope that's fairly expensive, because otherwise I can't for the life of me see why so many game companies skimp on it. :P [22:07:15] yea, today you have to do a like 1'000'000 poly model for each thing in the game, then this high res model is baked on a low res model (like 5000poly) [22:07:37] yea I think QA is next after coding [22:07:55] hello [22:07:57] as most of the coders do QA at the end, you can put QA before coding maybe [22:07:59] hi A_Bach [22:08:32] QA is one of the key element of a good game. [22:08:44] look at blizzard, starcraft 2 is "ready" [22:08:51] but they will do QA for like one more year [22:09:11] many other game companies would have released it like 1 year ago already [22:09:17] so it's like 2 years of QA [22:09:46] It really makes a huge difference. [22:09:51] yea [22:09:57] The dev commentary on HL2E2 was enlightening. [22:10:07] Or no, I'm thinking of Portal. [22:10:07] ^_^ I prefer the live testing aproach... but then again, It's a different market I go for [22:10:24] They spent the whole time talking about how they observed that players made this assumption and got confused, so they tweaked it in this fashion. [22:10:31] Dantman|Coding: for an MMO, live testing is also vital, as stress tests [22:10:56] ^_^ It's also great for low budget startups [22:11:05] yea [22:11:24] Get it working, get it out, let the users test it, and fix the issues they find, and push out improvements [22:12:06] One of these days I'm going to get back on that game I've wanted to create [22:14:11] i want a proper PAW zombie MMO [22:15:40] hi, I'm planing to setup a new wiki pretty soon (<2 weeks) would it be wise to wait for 1.13 or will this still take a few more weeks? [22:15:44] anyway, thanks all for your help, I must go, bye [22:16:53] jamasi_: upgrading is generally pretty painless. [22:17:32] !picture [22:17:32] --mwbot-- I don't know anything about "picture". [22:17:44] !images [22:17:44] --mwbot-- For instructions to use images in MediaWiki, see . For more technical details about image uploads, see and . Note that uploads are disabled per default (see !uploads). [22:17:48] mkadir: ---^ [22:18:58] Duesentrieb: I know, I'm just lazy... [22:19:04] Duesentrieb: i cant see all images [22:19:30] If you'd tell me MW1.13 will be out before monday then I'll wait. [22:20:25] jamasi_: with wikimania going on, i find that extremly unlikely :) [22:20:31] I sure hope not... I'd like to get those 3 hooks in before 1.13 gets out [22:20:36] 4* [22:20:43] jamasi_: looking at the repos, it hasn'e even been branched yet. [22:21:23] ok, that's an answer I can get something off. [22:21:40] (I just read something about a "code slush") [22:22:53] yes. code slush before branching. branching is imminent, but wikimania is probably going to stall everything for at least a week [22:23:09] after branching, expect another one or two weeks of polishing [22:24:35] ok, thanks will go with 1.12 then. [23:48:44] hello