[00:03:07] 14(INVALID) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 +comment (10bj) [00:03:10] Has anyone installed OCaml and the Math extension? [00:04:11] Jazz: ask your real question [00:04:49] I am trying to install teh ability to use the tag [00:05:35] I understand that it's not as easy as $wgUseTeX = true; in LocalSettings.php [00:06:43] Jazz: has some instructions on what you need to do. [00:07:39] Thanks, Pathoschild. It leads me to /math/README [00:07:44] that's where i was [00:07:50] Pathoshild [00:07:52] the README says i need to install OCaml [00:07:55] Diderot: Oui? [00:07:58] J'ai perdu un cahier, tu sais pas ou il est? [00:08:12] Diderot: Oui, il est dans ton sac. [00:08:16] Dans Pathoschild . [00:08:20] o.o [00:08:21] Non, malheureusement :'( [00:08:45] Il s'est enfui, dans ce cas. :( [00:09:09] Pathoschild aime manger les cahiers. >:| [00:09:15] o.o [00:09:26] I am on a shared host (lunarpages). Now I downloaded the OCaml binary for Linux (RPM package) but where do I upload it? In wiki/includes? [00:10:01] No~n, c'est juste qu'ils disparaissent comme par magie quand je suis dans le coin. [00:10:29] Uh huh. [00:10:49] Jazz: That sounds like something you'll need to install, which means you need root access (ie, no shared hosts, unless you can get your host to install it). [00:11:02] there's a texvc linux binary somewhere [00:11:03] *huggle frappe Pathoschild avec un Diderot. [00:11:08] o.o ! [00:11:44] Oh no..that means it will take several days. Thanks anyway, Pathoschild [00:11:52] Welcome. [00:12:09] it won't take several days if you use the existing texvc linux binary [00:15:31] i have installed media wiki [00:15:53] but the help link links to an internal empty help page [00:16:01] is that what is suppsoed to happen? [00:16:26] flyingparchment: The existing texvc binary is where? [00:16:35] i don't know off hand, try google [00:17:14] So that has OCaml bundled in already? [00:17:39] it doesn't need ocaml to run, only to build [00:19:47] OK. So if i get the texvc binary, then I don't need to build (coz it's a binary). Ergo don't need OCaml. Have I understood you correctly flyingparchment? [00:19:55] fyes [00:19:59] -f [00:20:03] great thanks [00:20:08] one last question though [00:20:24] once i get this texvc binary from somewhere on the Net, where do I upload it? [00:22:15] Is includes/ the right place to put the binary? [00:24:06] I need help I am sure ubuntu is installing ok as I have done countless installs now so why wont Linux MCE installer start the wizard to begin installtion? [00:25:20] Jazz: it should go in math/ [00:25:26] adrian: what is linux mce? [00:25:45] OK. Thanks, flyingparchment. I found the binary. I'll upload it and try. [00:26:11] flyingparchment: Media centre edition [00:26:22] adrian: what does that have to do with mediawiki? [00:27:11] I am desperately looking anywhere for help and I am a litle new to linux and these chat forums! Do excuse me if I am in the wrong place. [00:29:38] flyingparchment, It's not working. I did some digging around. The readme for the texvc binary says that for texvc to work, the followoing programs must be available in current PATH [00:29:51] latex [00:29:53] dvips [00:29:59] convert [00:30:00] gs [00:31:26] Now what do i do? Even if I download all these programs from the net, how do i set them in teh current PATH? [00:37:38] Man...this is a night mare [01:03:19] 03(NEW) odd "#x00B;&hellip" text visible in smw_badqueryatom warning tooltip - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11823 normal; normal; MediaWiki extensions: Semantic MediaWiki; (info) [01:23:49] 03(mod) odd "#x00B;&hellip" text visible in smw_badqueryatom warning tooltip - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11823 (10info) [01:25:52] 03skierpage * r27071 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php: Fix HTML character references in smw_badqueryatom (bug 11823); the rest of the language files need the same fix. [02:25:10] I'm running mediawiki 1.10.0 and I would like to delete the history of some pages. I know that I could delete the page and recreate it with the same text, but is there a better/faster way? [02:25:51] !oversight [02:25:51] Oversighting removes revisions from access by normal users and sysops. More information is available here: . [02:28:35] my goal is actually to help make my database smaller. Do you know if it's possible to delete the revisions moved by oversight once they have been moved to the archive table? [02:29:08] there's a script in the maintenance folder, i believe [02:29:37] deleteOldRevisions.php, though i'm not sure how that interacts with oversight [02:30:57] you'd be better off running compressOld.php, it'll reduce the database size by 50-80% without losing any data [02:31:12] hello tim! [02:31:23] hi [02:33:49] TimStarling: will that work pretty well with the default options? [02:34:02] probably [02:34:13] it's been a while since I used it, you might want to back up your database first if possible [02:34:36] thanks [02:43:30] Can anybody recommend a BreadCrumbs extension for 1.11.0? [02:51:25] can someone tell me why I'm not able to duplicate Template:Infobox country on my wiki? http://bahaikipedia.org/User:David/sandbox4 [02:51:46] crios: there's one in the svn that isn't bad; depends what you want it to do [02:51:50] it can't display the html correctly i think [02:51:56] you need to enable tidy [02:52:03] !tidy [02:52:03] For more information about HTML Tidy, see . [02:52:21] ah ok thanks [02:52:22] :D [02:58:44] ah great that fixed it thank you very much :D [03:20:11] 03(mod) Can not delete images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11767 (10x_ray) [03:29:58] TimStarling: http://bugzilla.wikimedia.org/show_bug.cgi?id=11767 [03:30:05] odd, is concat() in PG? [03:39:25] re [03:43:48] guess not [03:45:03] http://www.postgresql.org/docs/8.2/interactive/functions-string.html [03:47:33] bbl [03:48:07] is there some extension that prevents direct downloading of uploaded files? [03:48:55] I can restict every wiki-page but of course everyone can access uploaded files if the full url is known... [03:49:45] or is there a way to configure mw+apache in a way that only sends files after beeing redirected from mw...? [04:36:41] 03(NEW) 'smw_emptysubquery' appears instead of warning string due to typo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11824 minor; normal; MediaWiki extensions: Semantic MediaWiki; (info) [04:38:22] rigid, you can use Apache mod_rewrite to require HTTP_REFERER of a particular site. [04:40:42] See http://httpd.apache.org/docs/2.0/rewrite/rewrite_guide.html, "blocked inline images". Someone who knows the HTTP protocol can easily bypass by creating a request with this header (e.g. with curl). [04:47:55] 03skierpage * r27072 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php: Fix garbled string name smw_emtpysubquery (bug 11824); needs to be fixed in other language files. [04:50:40] 03(NEW) Background color to warn when editing through protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11825 15enhancement; normal; MediaWiki: Page editing; (FT2.wiki) [05:12:44] 03(mod) Background color to warn when editing through protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11825 +comment (10HighInBC) [07:22:16] 03nikerabbit * r27073 10/trunk/phase3/languages/classes/LanguageCs.php: * Wont work [07:49:21] 03nikerabbit * r27074 10/trunk/phase3/languages/messages/MessagesMs.php: * Extra brace [07:53:17] 03nikerabbit * r27075 10/trunk/extensions/I18nTags/ (I18nTags.i18n.php I18nTags.php I18nTags_body.php): * Update, use class etc [08:03:56] <_wooz> lo [08:07:32] 03raymond * r27076 10/trunk/tools/toolserver-sso/web/WEB-INF/classes/ (i18n.properties i18n_de.properties): * Add German [08:26:03] morning! [08:43:44] 03rotem * r27077 10/trunk/phase3/languages/messages/MessagesHe.php: Several fixes. [08:55:43] hop [09:00:39] hi [09:01:03] how do i save / reload the content of mediawiki articles ? [09:01:37] click edit button? [09:10:08] dumpBackup.php (found it ;-) [09:26:05] 03skierpage * r27078 10/trunk/extensions/SemanticMediaWiki/languages/ (8 files): Fix HTML character references in smw_badqueryatom (bug 11823); fix garbled string name smw_emtpysubquery (bug 11824). [09:29:00] Hi to all. :) [09:30:16] 03(FIXED) 'smw_emptysubquery' appears instead of warning string due to typo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11824 +comment (10info) [09:30:45] 03(mod) Fix namespace names in the Hungarian localization - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11488 +comment (10grin) [09:31:10] 03(FIXED) odd "#x00B;&hellip" text visible in smw_badqueryatom warning tooltip - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11823 +comment (10info) [09:38:32] what should I do when mediawiki is behind an Apache proxy (proxypass) ? all users appear to have the IP address of the proxy. [09:43:57] :) [09:45:24] dachary: there is apache module which adds XFF headers [09:45:28] mediawiki knows how to read them [09:45:53] 03(mod) Fix namespace names in the Hungarian localization - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11488 (10gtisza) [09:48:23] cool [09:48:24] thanks [09:50:13] dachary: though it might be that current apache has already support for that [09:50:21] so all you need, grep for 'Proxy' in defaultsettings.php.. [09:50:22] :) [09:56:20] *Werdna tickles domas [09:57:33] hi guys [09:57:56] ugh [09:58:03] ouch [09:58:15] I think I have found something very ugly in the code [09:58:15] IS ANYONE AROUND? [09:58:45] something very much breaking modularity/object orientation/separation of concerns [10:00:29] domas: I'm around [10:00:35] good. [10:00:42] I think it's too early in the day [10:01:34] it doesn't work that well in this channel [10:01:46] but when I come to #wm-t and start asking is anyone around, and telling that I need developer [10:01:51] then people start teaching me how to behave on IRC [10:01:57] and that developers would show up some day and help me [10:01:59] yummy. [10:02:18] 03nikerabbit * r27079 10/trunk/extensions/Translate/ (9 files): * All kinds of updates and fixes [10:02:30] wm-t? [10:02:35] wikimedia-tech [10:02:55] ah [10:02:59] I just use this channel [10:03:06] wikimedia-tech forked of this one [10:03:19] when? [10:03:36] um [10:03:38] few years ago [10:03:45] I get a fair amount of starting pointers from Duesentrieb and TimStarling the other day [10:03:55] get=got [10:04:05] in this channel [10:04:10] yeah [10:04:15] this channel is good [10:04:21] I got starting pointers here too [10:04:26] :) [10:04:41] yeah, then all you have to do is apply your skills [10:04:49] and beautiful things start to happen [10:04:52] yup! [10:05:12] ok, does anyone here want a proper hacking task? [10:05:30] wikipedia would thank you! [10:06:19] domas: why not hack it yourself? [10:06:46] cause I'm known to be lazy [10:06:56] and this needs more than changing one line [10:07:04] but would make saves on wikipedia twice faster. [10:07:05] :) [10:07:39] 03nikerabbit * r27080 10/trunk/extensions/CrossNamespaceLinks/SpecialCrossNamespaceLinks_body.php: E_STRICT [10:08:54] the way I see it, opensource dev goes like this: if you want something to happen fast, you got to do it yourself [10:09:07] most people hacking on the code add stuff that they need/want [10:13:57] 03(NEW) if a bad query returns nothing, you don' t get warning tooltip with query errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11826 normal; normal; MediaWiki extensions: Semantic MediaWiki; (info) [10:14:59] dpy: donÄt get fooled by domas whining - he's a mediawiki veteran. he's the database guru [10:15:20] Duesentrieb: you just volunteered for my task [10:15:27] hahaha [10:15:29] it is quite fun! [10:16:14] Duesentrieb: do you know that in LocalFile.php there is some hard-coding involging image/svg ? [10:16:34] LocalFile::maybeUpgradeRow [10:16:44] domas: no problem. it'll go to the end of my todo list. ask again in 6 months or so. [10:16:45] hi [10:17:03] I have no idea what it does, but I think it should use some hook to SvgHandler to determine that [10:17:05] what it the best setting of mysql for a new installation (I have 4.1) [10:17:18] between latin1, utf8 and binary [10:17:22] dpy: image/svg used to be all hardcoded, in about 20 places. i'm not surprised some of that has survived. [10:17:29] i have not looked at it since the rewrite [10:17:48] well I'm almost done with Dia [10:17:48] Duesentrieb: hehe :) [10:17:56] Duesentrieb: usually my primary perf.eng. work in on stock mediawiki [10:18:02] but this time extensions inflate stuff too much [10:18:08] it was fairly straightforward... all that remains now is getWidth and getHeight of a dia file [10:18:24] steko: setting where? in the mysql config, or the mediawiki installer? also, what language are you going to be using? [10:18:50] Duesentrieb: in the mediawiki installer (sorry it wasn't clear) [10:18:54] for an italian wiki [10:19:02] steko: using "real utf-8" is the right thing in theory, but in practice, does not work with utf-8 codes that use 4 bytes (like some chinese) [10:19:41] steko: i'm not sure about the distinction of latin-1 and binary - the default used to be latin-1 with binary collation. which should be safe, but it's an ugly hack. [10:19:45] i don't think I'll have to deal with chinese. so utf8 is the right choice [10:19:52] steko: anyway... aqsk domas, he's the db wiz :) [10:19:54] ? [10:20:12] also depends on the actual mysql config... not sure [10:20:31] gtg [10:20:37] Duesentrieb: thanks [10:20:57] domas: what about the binary encoding for mysql? [10:21:22] what about it? [10:21:27] I saw there are problems with key length and utf8 encoding? [10:21:42] mmmm, yes, these do not exist on 5.1/innodb :) [10:21:42] domas: I mean, is it a good choice for a new wiki? [10:21:50] I'd just go with binary for now [10:21:56] thats what our site works on :) [10:22:11] that is a good tip then :) [10:22:20] well, we run 4.0 [10:22:23] =) [10:22:41] i have only 4.1 (cheap hosting) [10:23:31] *Werdna cuddles domas [10:23:35] the problem with long titles is quite fun [10:23:43] the reason we have long titles is that unicode takes more space [10:23:50] so we have (255) instead of say (80) [10:24:07] domas: I know, I encountered this problem twice this year [10:24:10] it's tricky [10:24:13] if you use unicode schema, title length could be reduced [10:24:34] and still have same functionality [10:24:39] does binary encoding solves this problems? [10:24:52] yes [10:25:00] binary doesn't get x3 size [10:25:04] :) [10:25:28] could I apply it also to an existing wiki? [10:25:46] at another site I have utf8 tables [10:25:52] and "x3" problems [10:26:52] mmmm [10:27:00] you could ALTER tables manually, I suppose ;-) [10:27:17] anyway, generally, if you have utf8 support by database, you don't need (255) titles [10:28:35] domas: but I have problems like [10:28:37] 1071: Specified key was too long; max key length is 255 bytes [10:28:47] for what? [10:28:48] which I think are utf8 related [10:28:57] heh, never saw the 255 limit [10:29:00] :))) [10:29:09] wasn't that 3.23 thingy [10:29:22] domas: unfortunately, not only 3.23 [10:29:28] also 4.1+ [10:29:33] I have to go now [10:29:36] thanks ! :D [10:35:30] hey has anyone created an expandable toc? and have the code they could share with me or help me with it? [10:36:59] what is that? [10:38:16] Nikerabbit: I assume, [+] and [-] on TOC [10:38:26] yeh that exactly domas [10:38:39] sorry Nikerabbit was looking at something else which is why i didnt reply [10:39:28] mediawiki ships with collapsable toc by default [10:39:40] no all you can do is hide it [10:39:44] not collapse it [10:39:50] header by header [10:40:22] well, collapse all contents if you want to nitpick [10:43:31] domas: to support proxy one must add something like [10:43:33] $wgSquidServers = array( '192.168.10.11' ); [10:43:38] yes, probably [10:43:47] in LocalSettings.php [10:44:09] a bit counter intuitive but easy once you know it [10:45:24] i've loaded Main_Page with importDump and it does not show (i see the default). The other pages show ok. Any idea why ? [10:47:26] importPhase2 [10:47:34] what is it ? [10:48:09] not good :-) [10:48:11] heh [10:48:18] phase2 is old wikipedia's software :) [10:48:28] yes, figured that out [10:49:12] I checked out phase3 from svn [10:49:20] please tell me that is latest [10:49:35] dachary: cause main_page existed before? *shrug* [10:49:38] I don't want to hack on yesterdays code [10:50:24] domas: maybe [10:50:34] does not seem to have an option that says : override [10:51:23] lol im not nitpicking Nikerabbit but theres a big difference from collapsing headers and the whole menu :P [10:53:49] Quick, question, how do I backup the MySQL database that holds all the data in my Wiki? [10:53:51] =) [10:53:57] MrCheerful: mysqldump database > file [10:53:58] :) [10:54:10] mysqldump --opt database | gzip > file.gz [10:54:17] Oh, that was easy [10:54:18] or php dumpBackup [10:54:19] :) [10:54:31] that'd produce xml dump [10:59:31] just found the root crontab [11:00:09] the person who left was backing up the wiki MySql database at 1.10am everyday [11:00:27] domas: indeed that was because the Main_Page already existed [11:00:50] is there a maintainance script to remove a page ? [11:01:01] dunno [11:01:07] *dachary looking [11:01:41] nukePage.php looks promising [11:01:45] :-) [11:02:50] good [11:04:06] now trying to figure out why recentchanges.php does not populate the Special:Recentchanges using the history of the imported pages. Hints are welcome ;-) [11:06:13] because it won't, probably [11:09:13] it doesn't. [11:09:15] it's not coded to [11:10:51] recentchanges is a source [11:10:54] not a target [11:10:56] ;-) [11:17:43] how can i tell a pipe to wait before starting ? [11:18:16] ( sleep; blah ) | meh [11:18:24] blah | ( sleep; meh ) [11:26:58] 03(mod) Make Monobook.php more readable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6872 +comment (10alyx486) [11:30:29] 03nikerabbit * r27081 10/trunk/phase3/includes/EditPage.php: profiling calls [12:15:19] How can I change the language of my wiki? [12:15:50] Found it in the FAQ. :) [12:18:02] it workssssssssss [12:18:11] Duesentrieb: it works! [12:19:04] I need to optimize though, getImageSize gets called a number of times and it is mega expensive [12:34:01] dpy: getImageSize should only be called when the image is uploaded. the size is stored in the database [12:34:33] dpy: anyway... put your stuff on mediawiki.org, that would be great :) [12:34:33] Hello, can somebody tell my the name of the extension to shorten the Pathname of mediawiki (without index.php)? [12:34:55] @search url [12:34:55] Results: [logo, purge, shorturls, simpleurl] [12:35:03] !shorturls | WP-Gast [12:35:03] WP-Gast : To customize the format of URLs on your wiki, please see . [12:35:50] WP-Gast: it's not an extension, because it's not really done my mediawiki. it's apache configuration. [12:37:47] Duesentrieb: Vielen Dank :) . [12:42:25] does anyone know why my wiki will give me a page error if I try and use a . in the page title? [12:42:29] Duesentrieb: I see tree calls each time the Image:Foo.dia page is loaded [12:43:27] dpy: well... sure, it calls a getSize, but that one should use the *stored* size, which was read from the database... [12:43:46] dpy: generally, *no* access to the file should happen unless the file is freshly uploaded, or needs to be rendered [12:44:23] t0lk: does the *wiki* give you an error, or is it the web server? [12:47:44] web server [12:47:45] i think [12:48:24] see this example: http://bahaikipedia.org/Test.page [12:48:50] but the page exists in the wiki [12:48:53] you just can't access it [12:50:44] Duesentrieb: I got it... it's invoked for each revision of the file... [12:52:05] t0lk: don't map to the document root. it will cause a lot of confusion. like this. [12:52:09] My WgLogo is right there in the right path with the right name. What's the possible reasons it won't show on my wiki? [12:52:11] !shorturl | t0lk [12:52:11] t0lk : To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at http://www.mediawiki.org/wiki/Manual:Short_URL. There are instructions for most different webserver setups. [12:52:16] see all the fat warning boxes [12:52:18] How can I prevent public registration at my wiki? [12:52:25] !access | KOJV [12:52:25] KOJV : For information on preventing access to your wiki, please see . [12:52:27] How can I prevent guest editing at my wiki? [12:52:34] Thank you Duesentrieb. [12:53:12] KOJV: about the logo: look at the html source. find the url of the logo. copy that url into the browser's address bar. see what happens. [12:56:13] 03kim * r27082 10/trunk/extensions/Wikidata/OmegaWiki/Copy.php: get rid of one more echo (oops) [12:58:35] re [13:00:57] ah ok thank you Duesentrieb [13:03:56] 03daniel * r27083 10/trunk/mwdumper/pom.xml: added support for apache maven builds [13:06:57] My WgLogo is right there in the right path with the right name. What's the possible reasons it won't show on my wiki? [13:07:53] KOJV: the URL is wrong. because $wgStylesPath doesn't exist. [13:08:21] Duesentrieb, sorry that's wgStylePath. $wgStylePath/common/images/hsb.gif [13:08:47] Duesentrieb, and the error remains even if I replace $wgstylepath for skins. [13:09:40] KOJV: then make sure $wgStylePath is actually set in your localsettings file, *before* you use it to set the logo url. [13:09:51] Duesentrieb, okay, thanks. [13:09:58] KOJV: alternatively, simply give the FULL (web) path of the logo, using no variables [13:10:03] $wgStylePath = "$wgScriptPath/skins"; [13:10:07] or a full URL even [13:10:08] Duesentrieb, okay. [13:12:40] Strange, several $wg's are missing from the config. Even though I just set this wiki up. :S [13:14:21] KOJV: what do you mean by "missing"? [13:14:29] not all possible configurations are there by default. [13:14:36] particilarly, the ones using the default are not there. [13:15:25] Duesentrieb, okay but they were there by default at my last wiki setup. [13:16:21] KOJV: things change... [13:16:43] yep! [13:16:59] eventually [13:33:35] 03(NEW) Enable import on b:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11827 15enhancement; normal; Wikimedia: Interwiki links; (danny_b) [13:33:57] 03siebrand * r27084 10/trunk/phase3/ (22 files in 2 dirs): [13:33:57] Localisation updates from Betawiki. [13:33:57] * an, ast, dsb, ext, ff, frp, glk (new) hr, hsb, is, it, la, ln, myv, nl, pdc (new), rm (new), sdc, shi, sv, vls [13:35:30] 03(NEW) Enable import on wikt:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11828 15enhancement; normal; Wikimedia: Interwiki links; (danny_b) [13:36:25] brb (the dog) [13:37:00] 03(NEW) Enable import on w:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11829 15enhancement; normal; Wikimedia: Interwiki links; (danny_b) [13:53:37] 03(NEW) Enable import on s:cs: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11830 15enhancement; normal; Wikimedia: Interwiki links; (danny_b) [14:21:45] Would anyone be interested in participating on a wiki-as-a-social-experiment...i.e. a wiki with no explicit purpose, no rules other than "don't do anything that'll get me arrested or sued" (and I stay out of it other than that), just let people interact and see what happens? [14:22:50] interesting concept [14:23:03] 03siebrand * r27085 10/trunk/extensions/ (48 files in 45 dirs): [14:23:03] Localisation updates from Betawiki. [14:23:03] * Fixes and additions to 45 extensions for ast, gl, hsb, hy, it, nl, pl, rm, sv, vls [14:27:25] i'm trying to get pdf export to work on media wiki v1.10 w/o success; http://www.mediawiki.org/wiki/Extension:Pdf_Export. even after following all directions, no PDF file is being output. can someone help me? [14:29:30] Duesentrieb, well anyway, I got it in order now by copying stuff from my old wiki config to the new wiki config. Thanks for helping, it's very much appreciated! [14:35:26] Oh wow, this is awesome. [14:35:37] I found a decent web IRC client so now I can connect from school. [14:36:57] are you ALLOWED to connect from school? [14:37:08] Nope. [14:37:13] then don't [14:37:19] just because you can get away with something doesn't make it right [14:37:20] Why? [14:37:50] 04(REOPENED) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 +comment (10azatoth) [14:38:05] *Schroeder absolutely despises that childish and immature attitude [14:38:45] Ok. [14:38:48] But I really don't care. [14:39:10] of course not, because you're childish and immature [14:39:51] They didn't say we couldn't. I just presume we aren't because port 6667 is blocked. [14:40:44] so you know better, but you're doing it anyway [14:40:45] seems I was right [14:41:52] meh [14:53:30] i'm on windows 2000, i'm trying to write to a file using php fwrite, how do i set up permissions so that php in mediawiki can write to a file/directory? [14:53:31] Does anyone know why on some of my pages the TOC is a table and others its a DIV? [14:53:35] your mum [14:53:48] fuck your nipples [14:53:59] brion-office: ping [14:54:16] your-mum:KAWING! [14:55:42] wot [14:55:56] nvm, the troll quit [14:57:57] zer0z: set the permissions so it's writable by the user the web server is running as [14:59:39] 03(mod) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 (10bj) [14:59:51] oh [14:59:55] Windows 2000 [14:59:58] forget it then [15:05:48] Schroeder: why shouldn't that apply on w2k? [15:06:10] I don't know if it does or not [15:06:23] I don't know a thing about it [15:09:12] w2k has acls, so it does apply [15:09:42] actually, file permissions under windows are much better than under (traditional) unix/linux. windows has full ACLs for about 10 years now. [15:10:02] it's just that no one seems to use them properly, and people log in with admin accounts. [15:16:52] does anyone know if you can use html tags inside a wgExtenstionCredits description field? [15:16:54] Schroeder I have Apache.exe running as SYSTEM, and SYSTEM already has full control on the folder I want to write in [15:18:05] zer0z: as I said, I know jack shit about Win 2K permissions [15:24:02] anyone seen yurik around lately? [15:24:26] re [15:26:21] at the risk of sounding like a noob, what does re stand for? [15:31:18] Apollo: returned [15:31:21] as in 'i'm back' [15:31:32] ah. cool, thanks :-) [15:54:31] <|EPO|> greetings wiki folks [15:54:50] <|EPO|> anyone up for some questions about the search system? [15:57:40] I know the TOC is put together in the Parser but how and where is it output? [15:58:14] locke_, which TOC? of a category? [15:58:37] or of an article? [16:00:25] lch: I created a skin and I would like to load my header then TOC then load some of the other things in my skin then call "html('bodytext') ?>" to load the rest of my wiki page [16:00:34] <|EPO|> hmm [16:00:57] <|EPO|> if I make a search will the search function look for how early in the article my search word is placed? [16:01:40] right now everything is loaded through $this->html('bodytext') so i have no control over the placement of the TOC except through CSS but for what i am doing i need more control as far as code... [16:01:46] <|EPO|> and I suppose it will also look for how often the word is mentioned..? [16:02:01] locke_, I would have just said "isn't CSS enough for that?" ;P [16:03:21] exactly but its not because my layout can be switched from liquid to fixed so absolute positioning is out [16:04:04] i need the div of my toc to me loaded in a specific place [16:05:01] so i was wondering if i could get the toc info from the parser and just call a function like $this->html('bodytext') before it and just supress $this->html('bodytext') from outputting a toc [16:12:20] 03(ASSIGNED) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 major->minor; +comment (10nospam) [16:12:24] locke_, have you looked at the Parser.php ? [16:12:37] yes [16:12:39] the stripToc function looks interesting [16:13:10] yes it does i was just trying to get some more insight before tearing it all apart incase someone here had more experience with this sort of thing [16:14:05] well, I got none :P [16:14:38] and formatHeadings is a little much [16:15:35] 03(mod) rescaling of animated gif increase size - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11822 (10nospam) [16:15:48] but according to stripToc, I think you might be successful if you place at the right place [16:18:11] thanks. is MWTOC a call for the toc or i are you just speaking figuritively? [16:19:37] look at the Parser.php source, in the stripToc function [16:19:57] it seems to me like the MWTOC thing is a token that is going to be replaced by the real toc later [16:20:14] I might be wrong, though [16:20:48] ok cool. thanks a lot for your assistance [16:21:31] i think when you call MWTOC is has to be in wikitext so putting it in the skin code wont work, fyi [16:27:47] good morning gentlemen [16:27:58] i was wondering if anyone could be of some assistance [16:28:55] I administrate a wiki which currently has some thousands of "infinite" period bans set [16:29:48] I have been unable to source a simple method by which I can purge the banlist; manually unbanning each user or writing a bot appear to be my options. [16:30:21] Of course, I would rather this was not the case, so if anyone has a better solution, please inform me of it. [16:33:14] yirimyah: use SQL [16:45:24] hey, is it possible to make mediawiki searches case insensitive? [16:46:01] check the mediawiki-l list, there was a discussion about that recently [16:46:05] acook: above [16:46:55] do you recall what day? [16:47:18] in the past few days i think [16:49:03] hmm, something about insensitve article names... [16:49:56] is there a way to find out what version of mediawiki is being run from inside the wiki? [16:50:13] yes, special pages, version [16:50:21] ah, thanks [16:50:29] or Special:Version [16:51:22] in a related question, if i dump my database from a 1.11.0 wiki and try to import it into teh db of a 1.6.9 wiki will that work? [16:52:29] *MinuteElectron can't be bothered to read the mailing lists, too much stuff. [16:52:37] frieze: Not a cats chance in hell. [16:53:27] didn't think so [16:53:32] [16:53:36] I hate upgrading things [16:53:57] hmmm, mediawiki's search is case insensitive [16:54:26] [17:10:33] ughh [17:16:21] 03(WONTFIX) generators and revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11819 +comment (10roan.kattouw) [17:16:29] AzaTht http://bugzilla.wikimedia.org/show_bug.cgi?id=11819 [17:18:47] 03(NEW) for embedded pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11831 15enhancement; high; MediaWiki: Templates; (kovo1) [17:29:56] 03(mod) Support global (crosswiki) blocking - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8707 (10lilewyn) [17:50:48] is " ; " = " # " in bash ? [17:54:52] yes [17:54:55] # is comment [17:55:41] ok [17:56:27] wth [18:19:39] anyone familiar with the BeforePageDisplay hook? would it be a good place to set a special image for display, if the http referrer variable is set? [18:20:06] if the referrer variable is set to third-party site... [18:20:30] http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay [18:21:03] hi [18:29:27] hi [18:43:23] 03(mod) site_stats.ss_good_articles and site_stats. ss_total_pages not synchronized with the real count - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10834 +comment (10mashiah.davidson) [18:54:42] 03(NEW) Import localization files for Crimean Tatar - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11832 15enhancement; normal; MediaWiki: Internationalization; (alessandro_gor) [19:21:16] 03catrope * r27086 10/branches/apiedit/phase3/ (224 files in 19 dirs): apiedit: Merging revisions 26122-27085 from trunk [19:42:12] Duesentrieb: http://www.mediawiki.org/wiki/Extension:Dia [19:45:43] Hojjat: here I am :) [19:45:51] dpy: that loks very nice! and considering you have only been hacking mediawiki for a couple of days... wow! [19:46:00] stick around, we need people like you :) [19:46:37] Filnik|busy: good [19:46:45] ;) [19:47:52] 03filnik * r27087 10/USERINFO/filnik: Adding my personal inforamation [19:48:04] dpy: by the way: extensions are not "generally" maintained in the wikimedia svn. generally, the ones that are there are those written by people who have svn access, so they stuffed them in. it doesn't make much sense to put it there if you can't maintain it there. so... perhaps remove the links for now, or point them to plain files on your own site. [19:48:05] Filnik|busy: Look above [19:48:06] Hojjat: ;) [19:48:15] Hojjat: yeah, it pings me :) [19:48:18] :) [19:48:34] dpy: but... well, supply a couple more nice things, and you'll get svn access :) [19:48:43] Duesentrieb: the problem of my site is that I can't host it 24/7 [19:48:53] the host goes down at night CET [19:49:11] huh? [19:49:17] a part time server? [19:49:24] does that apply to your wiki too? [19:49:32] *Hojjat goes out! [19:49:34] Duesentrieb: yes, I only put it up so you could download it and maybe stuff it in svn [19:49:55] Duesentrieb: I don't think it needs much maintenance for now... [19:50:15] dpy: yea, well... that means i should really test it first. also... you wouldn't be able to maintain it. that would suck :/ [19:50:20] dpy: well, people will provide translations [19:50:31] i'm amazed at the languages my extensions have been translated into [19:50:46] ugh [19:50:51] well, ok, there's not so much output there anyway. but still :) [19:51:05] Duesentrieb: I'm working on a 24/7 host, but it'll be at least a month before we get there... [19:51:25] dpy: i can put your bundle in an inofficial place for now, if you like. [19:51:47] Duesentrieb: basically the server makes too much noise at night :) [19:51:55] hehe [19:51:59] Duesentrieb: I gladly accept the offer [19:52:07] well... renting webspace somewhere isn't hard... and cheap enough [19:52:17] I'll unlink the svn links then [19:52:46] Duesentrieb: I like to be in control, I have W.R.A.P. board here, but it isn't installed yet [19:53:18] is it possible to wrap mediawiki in another application? [19:53:38] dpy: i have no idea what that is :) anyway... http://tools.wikimedia.de/~daniel/misc/Dia.tgz [19:54:31] dpy: hm... i see no license mentioned. [19:54:46] dpy: it should be GPL [19:54:52] maff: no. [19:55:01] mediawiki is mostly GPL although a few pieces are under other licenses [19:55:29] Duesentrieb, bummer. [19:55:37] Duesentrieb: ContactPage doesn't have a license then either, I think [19:55:49] dpy: that's quite possible :) [19:55:51] Was hoping to integrate it into an intranet [19:56:00] it *is* GPL though (because i say so) [19:56:07] Duesentrieb: it's in the README [19:56:19] NotACow: afaik extensions (if published) must be gpl, because they use the mediawiki framework [19:56:26] Duesentrieb: probably so [19:56:32] Duesentrieb: one sec, I'll update the bundle [19:56:43] Duesentrieb: there are a few files in the base product that are public domain [19:56:59] Duesentrieb: and i think i saw one that was some other license that was more or less the same as GPL but not exactly GPL [19:57:00] NotACow: yea, but that doesn't matter [19:58:45] there's one bit under MIT [19:58:59] Duesentrieb: it's updated at: http://www.dwarfhouse.org/mtoele/Dia.tgz could you host it some place for a few weeks, please ? [19:59:00] which is a "license to steal" iirc [19:59:12] and some others under BSD [19:59:33] and a few things udner LGPL [19:59:34] dpy: none. [20:00:06] is it possible to center justify text? [20:00:44] gongoputch: enclose in
or use a style that has text-align: center [20:00:45] gongoputch:
yes
[20:00:51] Duesentrieb: ? [20:01:10] thanks! [20:01:12] dpy: *gah* uh, my typing is really bad. [20:01:16] dpy: "done" :P [20:01:33] ah tnx! I also put the license on the extension page [20:01:35] dpy: my fingers seem to be connected to my beain in an odd way. [20:01:42] cool [20:02:06] Duesentrieb: what's the URI of your site? [20:02:14] so I can update the extension page [20:02:28] dpy: my personal website, or the place where i put your bundle? [20:02:39] where the bundle is yes [20:02:41] dpy: i already updated the page (and i posted the url here earlier) [20:06:00] I see, I have updated it again, I've put yours as a temporary mirror... [20:06:42] Duesentrieb: I also happen to have a patch for ee, if that is appreciated? [20:07:13] ee? [20:07:32] hm? what? mirror? [20:08:07] you know ee ? [20:08:14] external editor ? [20:08:25] it hasn't been touched since 2005 [20:14:40] dpy: ah... i know it exists, never lookd into it. i don't think many people use it - too complicated to set up. [20:15:03] dpy: please file patches on bugzilla. add keywords "patch" and "needs-review". [20:15:46] ok, no prob [20:16:44] Duesentrieb: how was it too hard to set up? it worked right away here... [20:17:15] I only had to add http authentication support... [20:17:26] hi [20:18:28] have some prob: on my recent changes list the time is not correct for changes, the funny thing, for some users the time is one hour back and for my account one hour before the correct time [20:18:33] whats wrong? [20:18:47] if i sign something, the time is correct by the way [20:22:00] DarsVaeda: the time offset in automatic listings is a per-user option. [20:22:22] DarsVaeda: it also does not automatically update on DST changes (or maybe that was fixed, not sure) [20:22:33] DarsVaeda: go to your preferences, and set your time offset [20:22:48] so its alway the personal time of a user? [20:23:11] yes [20:23:17] by why is mine one hour in future when my signings are correct? [20:23:32] because signatuires are *not* in the personal timezone [20:23:48] they are rendered into plain text [20:23:53] so they have to be the same for everyone [20:23:56] oh ok [20:24:07] thanks [20:28:50] anyone seen yurik lately? [20:33:24] 03(NEW) Patch: HTTP Authentication support for ee.pl/ee.ini - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11833 15enhancement; normal; MediaWiki extensions: General/Unknown; (EleotleCram) [20:35:31] Duesentrieb: http://bugzilla.wikimedia.org/show_bug.cgi?id=11833 (I've used keywords 'patch needs-review') [20:36:31] dpy: that attachement is odd. it's not a patch. what is it? [20:37:08] dpy: ideally, make patches with svn diff [20:37:30] that way, the diff includes also the revision patched against, etc [20:41:07] huh [20:41:13] it should!!!!!!! [20:41:24] well, it ain't :P [20:41:34] it is here [20:41:47] http://www.dwarfhouse.org/mtoele/ee-httpauthentication.patch.gz [20:41:54] Oh it's a .gz [20:42:03] You should gunzip [20:42:07] oh [20:42:09] sorry [20:42:20] I can't change it anymore, now, can I ? [20:44:36] 03(mod) Patch: HTTP Authentication support for ee.pl/ee.ini - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11833 +comment (10EleotleCram) [20:44:57] hey cool [20:45:25] I am only now noticing wikibugs [20:47:06] Apollo I wondered the same, I haven't seen him around for a while [20:47:20] If you really need him: yuriastrakhan@gmail.com [20:49:33] 03catrope * r27088 10/branches/apiedit/phase3/includes/api/ (7 files): apiedit: Removing evil ?>'s [20:54:19] roankattouw, cool, thanks :-) [20:54:41] Apollo what d'you need him for? Something about the API? [20:55:13] yeah [20:55:25] he'll probably be on soon I bet [20:55:35] but if not, I might shoot him an email :-) [21:00:48] RoanKattouw: if I understanded you corrently, it's then better to do x number of queries requesting the last rev of x pages, than to build it up in a generator? [21:00:58] AzaTht yes [21:01:02] for the servers [21:01:05] Yeah [21:01:17] We don't want 5000 DB requests in such a short time [21:01:21] it will be the same ammount of data in need to grabbing [21:01:33] Yes but it's throttled more [21:01:41] RoanKattouw: possible I do all the 5000 requests at once [21:01:44] If people want to make 5000 requests, we can't stop them [21:02:02] as I'm doing it in javascript, it's all or nothing [21:02:06] If people can get the API to do 5000 DB request with one web request, DOS attacks are very easy [21:02:20] And AzaTht think about load balancing [21:02:23] you could add an limit [21:02:30] Multiple requests can be divided among multiple servers [21:02:33] true [21:02:51] There's an unwritten policy around here: DB queries in loops are evil. Period. [21:03:16] If you don't honor that rule, Domas puts you on his death list ;) [21:04:11] why are people removing ?>'s? [21:04:24] Because they are evil [21:04:28] why? [21:04:32] At the end of a file that is [21:04:35] me like them [21:04:40] Say you have ?> and then some newlines [21:04:49] well, don't put newlines then [21:05:09] If you know there's one newline in the entire MW source, how do you track it down? [21:05:19] Even worse if you're not on a Linux/Unix box [21:05:34] Even AWK needs time to go through our entire repository [21:06:01] don't add one [21:06:05] If you remove the ?> on the end, trailing newlines being output and disabling header() functionality is not an issue [21:06:17] :) [21:06:18] yeah yeah [21:08:44] 03(mod) Split patrolling into new page patrolling and recent changes patrolling - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1405 +comment (10kaldari) [21:09:39] eww patrolling [21:13:47] n8 [21:29:35] is SearchEngine.php use by the standard search box? [21:29:46] Dunno [21:30:06] Apollo: Dig through SpecialSearch.php .. I'm not sure [21:44:59] 03(NEW) Add localization settings to the LocalSettings. php file of Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11834 15enhancement; normal; Wikimedia: General/Unknown; (robin_1273) [21:49:33] 03brion * r27089 10/trunk/extensions/CentralNotice/svg/ (. mockup-template.svg run-template.php temp-people.png): Some interim work on a rasterize-via-svg fancy new notice thingy [21:49:46] hi, i'm trying to run the config for mediawiki and i keep getting an error "PHP 5.2.4 installed Could not find a suitable database driver!", any hints? [21:50:10] Administrator the MySQL/MSSQL/PostgreSQL module isn't installed [21:50:29] PHP needs either the MySQL module or the PostGreSQL module to access your DB [21:50:35] (MSSQL isn't supported) [21:50:47] Which one you need depends on which DB server you use [21:51:32] i'm running Apache and under HTTP Header Info i am showing mysqli [21:51:44] Check your phpinfo [21:51:59] nite all... [21:52:00] (Create a phpinfo.php page that contains ) [21:52:09] 03david * r27090 10/trunk/extensions/LiquidThreads/LICENSE: added LICENSE. [21:52:10] if it's properly included would it show up under Additional modules? [21:52:34] Vagabond dunno where it would show [21:52:41] Just Ctrl+F for MySQL [21:53:16] ok, it does say that i have mysql support enabled [21:54:10] well, SearchEngine->searchText has one line of code, return null; [21:54:17] Do you have the mysql.connect_timeout setting in the phpinfo? [21:54:28] so, I don't think that's doing much [21:54:57] no i don't see it [21:55:10] Vagabond then the MySQL module isn't enabled [21:55:14] PHP 5 I presume? [21:55:20] yes it is [21:55:42] Windows or Linux/Unix? [21:55:46] windows [21:57:35] When you installed PHP, did you choose the MySQL extension? [21:57:43] 03(mod) Split patrolling into new page patrolling and recent changes patrolling - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1405 +comment (10cbrown1023) [21:57:59] no i didn't i was manually adding it [21:58:03] Hmm [21:58:12] I think the easiest way is a reinstall than [21:58:14] *then [21:58:22] i'll give it a go then, thanks [21:58:42] It can be done by messing with config files and all that, but reinstall is easier and far less error-prone [21:59:12] No problem [21:59:13] Gotta go now [22:01:55] 03(NEW) E-mail should have more available options - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11835 15enhancement; normal; MediaWiki: Email; (axel9891) [22:20:30] Hey guys, a while back someone game me a link to MediaWiki + XAMPP installation guide.. anyone have that link by chance? [22:21:03] XDuxaX: not offhand, but it should be trivial enough... [22:21:30] XDuxaX: set up XAMPP, don't forget to set a root pw for mysql, unpack mediawiki into a webdir, go there witha a browser, fill out form. [22:22:37] XDuxaX: http://www.mediawiki.org/wiki/Manual:Streamlined_Windows_Install_Guide#Easy_simple_.22lazy_man.27s.22_setup_.28using_XAMPP.29 [22:23:07] huh... http://www.nat32.com/xampp/wiki.htm [22:31:47] dpy: the Dia extension page sais "1.9 (maybe older versions too)" - you sure abotu that? what version of MW did you develop against? iirc, media handlers where introduced only in 1.11 [22:32:38] Duesentrieb: copy paste bug, I think [22:32:58] :P [22:33:53] I've upped it to 1.11 [22:34:11] actually I'm using svn checkout of phase3 [22:35:32] is there any way to override the Special page permissions - without hacking SpecialPage.php? [22:35:54] i need certain pages to be viewable only by certain user groups... [22:37:21] *jlerner wonders about using SpecialPage_initList hook [22:37:59] jlerner: something like SpecialUnwatchedpages.php does? [22:38:20] jlerner: the Lockdown extension can do that [22:38:47] *jlerner looks [22:39:51] Duesentrieb: excellent [22:39:59] you've written so many extensions.. ;-) [22:40:07] not really [22:40:32] less than 10 i guess [22:40:39] good stuff [22:40:58] it's relatively simple to write extension for WM [22:41:08] the architecture behind it is decent [22:42:28] yah [22:43:03] BrokenArrow: looking at SpecialUnwatchedpages.php, just out of curiousity... [22:57:08] k [22:57:12] I'm signing off [22:57:18] night all [23:25:34] hello [23:26:11] I have imported "current" dump using MWDump and I don't have anything in categories [23:26:42] is there a way to update this data? [23:29:07] Derbeth: you can try either loading the corresponding categorylinks.sql file or running maintenance/refreshLinks.php [23:30:50] how can I get this categorylinks.sql file? [23:30:59] refreshLink seems to work very, very slow [23:32:25] Derbeth: where did you get the "current" dump from? [23:33:52] oh, I see [23:56:21] <[ace]an[9el]> how do you export/import system messages in mediawiki? [23:56:33] [ace]an[9el]: like you import/export any page [23:58:43] <[ace]an[9el]> Special:Export/Allmessages ? [23:59:29] [ace]an[9el]: i doubt that will work [23:59:54] <[ace]an[9el]> I guess it isn't possible