[00:02:45] 03(mod) Provide a link to the help page from redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11546 +comment (10ceci_est_mon_adresse-wikipedia) [00:15:21] 03(NEW) Need "Has alternate form" or "Has form" relation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11548 15enhancement; normal; MediaWiki extensions: Semantic Forms; (yaron57) [00:19:49] 03brion * r26335 10/trunk/extensions/SpamBlacklist/ (SpamBlacklist.php SpamBlacklist_body.php): Break spam blacklist log info out to a sep file [00:36:43] 03(mod) Spam blacklist broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11545 (10brion) [00:41:26] Can anyone see any problems with this query: SELECT * FROM `report` WHERE read = 0 AND groupfor IN ('bureaucrat', 'sysop') [00:42:27] Not particularly, no. [00:42:30] Seems okay. [00:42:33] no [00:42:54] I'm getting a syntax error in the bit after the WHERE [00:43:15] read is an INT(1), and groupfor is a VARCHAR(100) [00:43:39] Could read be a reserved word? Maybe try `read` = 0? [00:44:16] http://rafb.net/p/VFz9Uv93.html [00:44:20] Thats the error [00:44:22] Ok, one second [00:45:17] Simetrical: Yep that was it. Thanks! [00:46:50] hmm [00:48:25] 03yaron * r26336 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: setSemanticData() takes in "is_list" argument [00:49:09] 03brion * r26337 10/trunk/extensions/SpamBlacklist/SpamBlacklist_body.php: * (bug 11545) Don't let everything through if there's a bogus whitelist entry [00:49:23] 03yaron * r26338 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Calls to setSemanticData() on template parse set "is_list" parameter [00:49:26] 03(FIXED) Spam blacklist broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11545 +comment (10brion) [00:53:42] can something like __MAXTOCLEVEL3__ or __MAXTOCLEVEL2__ be added to change the $wgMaxTocLevel on a per-page basis? [00:54:23] You could make an extension to do so quite easily [00:54:55] hm [00:55:00] ok [01:02:28] 03yaron * r26339 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: [01:02:28] setSemanticTypeHook() now takes in additional 'is_list' argument, moved [01:02:28] SMW 0.7-specific code to its own section, minor PHP fixes [01:04:43] I got a question... I am trying to edit a page... and am trying to do [[Image:http://etc...jpg]] but though I get the image I get "[Image:" around the picture. [01:05:10] 03yaron * r26340 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: [01:05:10] Split functions into SMW 0.7 and SMW 1.0 versions, thanks to code from [01:05:10] Louis Gelbarg (bug 11506) [01:05:11] [image: &pic& ] [01:06:13] 03yaron * r26341 10/trunk/extensions/SemanticForms/includes/SF_FormEditTab.php: sffGetDefaultForm() takes in one less argument (part of bug 11506) [01:07:02] Che-Anarc: if you want to include an external image, just put the address on a line by itself [01:07:41] Somehow with that I get the link... maybe I messed up withsomewhere else? [01:07:54] Its a long doc.... man I hate not having admin right over the wiki. [01:07:59] 03aaron * r26342 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.php): *Allow for no tags (just one level) [01:11:45] ping brion [01:11:56] ? [01:12:36] 03yaron * r26343 10/trunk/extensions/SemanticForms/languages/SF_LanguageZh_tw.php: Finally fixed encoding problem on this file [01:12:37] I'm curious about the go button namespace bug, if it's fixed then typing in "column" wouldn't take you to the Column article? [01:12:54] that is, you'd have to type in ":column"? [01:13:16] 03yaron * r26344 10/trunk/extensions/SemanticForms/INSTALL: New version: 0.6.5 [01:27:20] 03aaron * r26345 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php: *Allow tags to be empty [01:43:06] are there plans to get OutputPage::addScript() to work more like addStyle()? [01:48:37] Anyway to resize / control dimensions of images when editng a page with extranal images. [01:49:10] Che-Anarc, no. The feature is kind of sucky. The real support is for locally-uploaded images. [01:53:02] alxndr: hypothetically [01:53:08] i'm still a little leery of that, personally [01:53:19] but searching the other search namespaces ain't a bad idea, itself [01:53:21] brion, the go/namespace question or the addscript? [01:53:25] ah [01:54:48] yeah, it seemed weird since it would seem to mean you'd have to always specify the namespace when using the go button to actually go somewhere [01:55:36] well only if you do something so foolish as to remvoe the main namespace from your search set :) [01:55:58] which i'm not convinced is a good thing to support ;) [01:56:02] well since that's where the bug came from, someone's gonna do it, right? [01:57:41] well i'd say it's worth looking at in the bug [01:57:50] er, in a patch [01:58:06] but it might be best in the end to say 'well it'll always search main namespace' [01:58:24] and just extending it to also search the other searchable namespaces [02:00:35] 03aaron * r26346 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php: *Log cleanup [02:02:27] brion, one more question, is there a way for an extension to override a function of Linker? [02:03:18] alxndr: a skin is a descendent of Linker, and thus can override its functions [02:03:41] yeah, I'm trying to do this with an extension though [02:03:57] ugh [02:04:00] guess i might have to change that [02:10:53] 03(NEW) Minor edit: change CSS class img.thumbborder to just . thumbborder - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11549 15enhancement; normal; MediaWiki: General/Unknown; (rememberthedot) [02:21:46] Extensions are easier than they sound, just really badly documented on where to start [02:21:58] Whats the global that contains the current page name? [02:23:31] Nevermind, I did an ugly hack :) [02:23:46] $wgTitle->getPrefixedText() [02:24:42] Thanks [02:37:14] 03(FIXED) Small bug in new sffLinkText - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11507 +comment (10yaron57) [02:40:14] 03(FIXED) Special:AddData doesn't work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11535 +comment (10yaron57) [02:46:11] *amidaniel stabs threads [02:48:11] Anyone any good at diagnosing deadlocks in java? :) [02:49:31] G'ah nvm .. found the problem [02:50:54] 03(mod) Special:CategoryRedirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10448 (10fearow00) [02:57:06] what's a good way to turn user-entered text into the namespace const it might be? [03:00:07] amidaniel: Me [03:00:26] alxndr: Through the Title object I suppose [03:02:41] really, how? (i'm talking about "main" > NS_MAIN) [03:02:42] alxndr, I suppose $t = Title::newFromText( "$userns:x" ); $ns = $t->getNamespace(); would be one. [03:02:57] "main" isn't a valid NS prefix, though. [03:03:04] So that would fail. [03:03:06] well if it were [03:03:38] there's a more direct method [03:03:50] in $wgContLang [03:03:57] If the transparent part of images appear black (like on this page: http://www.lindox.info/wiki/PulseAudio) and I'm not using ImageMagick, this is a PHP bug right? [03:04:06] is it possible to link a subcategory to a specific category only, so there could be duplicate of 2 page with the same name but different content, because of different theme for exemple [03:05:03] I am trying to set a category tree that will link to 2 or more different stance of a same “theme”, example : I have the tree autumn > activities > 12-17 years old, and/ or the tree spring > activities > 12-17 years old. I want 2 different stance of 12-17years old page, how can I set that page? [03:05:17] firewing1: Could be your browser [03:05:25] Tagnik, give the subcategories different names, like "Autumn activities". [03:06:03] ok yeah that what i feared. it's the only way right Simetrical ? [03:06:18] Tagnik: Or make 12-17 a category, and activities a category, and use DPLs to find which are in both 12-217 and activities [03:06:20] TheFearow, I'm using Firefox 2.0.0.6 [03:06:52] DPLs ? [03:06:53] Tagnik, an extension. [03:07:05] Check out the DynamicPageList extension [03:07:09] great thx [03:07:18] a lot for the help [03:07:53] Anytime [03:08:22] TheFearow, do you see the black too or is it only my side? [03:08:37] i see it. [03:08:38] Checking now [03:08:49] I see it [03:08:52] 03brion * r26347 10/trunk/extensions/CentralNotice/ (4 files): [03:08:52] Added some cache headers and a bumpable epoch. [03:08:52] Forced shared caching assumes a version of PHP that doesn't send out unnecessary session cookies... how to best handle ensuring this? [03:08:52] Ideally we wouldn't even have a session. Maybe we have to turn this into an entry point to force it for sure. [03:08:53] Todo: handle Last-Modified requests... and all the infrastructure for changing.. and... :) [03:08:56] Its a serverside rendering issue by the looks [03:09:07] 03tstarling * r26348 10/trunk/extensions/OggHandler/cortado/ (159 files in 21 dirs): Copy of Cortado source, r5565. URL: https://core.fluendo.com/svn/cortado/trunk [03:09:17] It works on the non-thumbnail, so its some thumbnail rendering issue [03:09:19] So serverside yes [03:12:33] 03tstarling * r26349 10/trunk/extensions/OggHandler/cortado/src/com/fluendo/player/Cortado.java: Applying cortado-tweak.diff: don't use static class variables. [03:15:41] TheFearow; any idea what causes it? [03:15:41] 03tstarling * r26350 10/trunk/extensions/OggHandler/cortado/src/com/fluendo/plugin/AudioSink.java: [03:15:41] Applying cortado-truncation-bugfix.diff, as per r26204: [03:15:41] Fix for bug 11232. Improved port of GStreamer's GstBaseAudioSink [03:15:41] (gstbaseaudiosink.c in gst-plugins-base). AudioSink should block on EOS until [03:15:41] playback is finished. This behaviour is also mentioned in GStreamer's [03:15:44] part-element-sink.txt. [03:19:06] downhillgames: I'd say corrupt imagemagick or whatever image engine your PHP is using, or a bug in it [03:19:23] TheFearow, downhillgames, I'm using GD [03:24:36] That might be broken/buggy then [03:25:24] 03tstarling * r26351 10/trunk/extensions/OggHandler/ (README cortado-truncation-bugfix.diff cortado-tweak.diff): Don't need these patches anymore. Updated README file. [03:27:15] does rendering the thumbnail require some additional execute or write permission in the folder ? [03:29:14] Tagnik, even if it did "apache" has write perms to images/thumb/ [03:31:21] kk [03:32:27] Where is MediaHandler contained? [03:32:39] I have a feeling my bug has something to do with it [03:35:40] found it - includes/media/Bitmap.php [03:36:32] TheFearow: You rang? [03:39:06] Hello again Thefearow, i read about DPL'S and have it installed now, it work perfecly, but from what i understand it will help me call pages with some critera, but i will style need to callmy pages differently for different category? like 12-17_years_old_automne for automne activities, and 12-17_years_old_spring for else right? [03:40:02] ohhh nm [03:40:11] i just reread what you told me up there [03:40:13] i got it [03:40:16] thx [03:46:09] We have an alllinks module? O.o [03:46:28] How odd ... not really sure what to do with that :D [04:02:55] Hmmm... Wierd - Somebody using vbulletin had the same problem, and it was because of the lack of a few lines dealing with transparency [04:03:07] they're not in includes/Image.php, but adding them makes no difference [04:13:22] hi [04:13:35] I have q question [04:13:43] I have a question [04:14:56] WonYong, go ahead and ask. [04:15:19] I use interwiki bot between my mediawiki and wikipedia(all languages) [04:15:29] I want to [04:16:23] I installed wikipedia interwiki tables [04:17:02] but how to set family.py? [04:17:26] Your question is probably more likely to be answered in #pywikipediabot [04:17:46] ah, thanks :) [04:19:16] Is there any way to virtualy change an article name, so there is articlename1 and articlename2, but they both seems to be names "articlename" [04:19:19] ? [04:19:28] named* [04:25:42] Tagnik: {{DISPLAYTITLE:titletoshowhere}} [04:25:51] Itll only work on the latest version though [04:26:30] ok great again [04:26:35] thx [04:28:40] 03tstarling * r26352 10/trunk/extensions/OggHandler/README: updated ffmpeg bug URL [04:42:13] ok it work perfectly TheFearow, just had to add $wgAllowDisplayTitle in setting, unfortunately the name wont change in the category tree, but i guess there is no solution for that [04:42:40] Yeah [04:42:49] Hmmm, I think its enabled by default in 1.11, but I could be wrong [04:42:59] alright gnight and thx a tons, [04:43:02] yes it is [04:43:09] but i had 10.x.x version [04:43:31] you made me save a bunch of time, i realy appreciate, thx !! [05:43:48] 03david * r26353 10/branches/liquidthreads/extensions/LqtPages.php: Fixed link from comment history to thread history, which was broken. Made the 'from talk:...' visible during history pages. [06:06:57] where do I add this: require_once($IP.'/extensions/inputbox/inputbox.php'); in LocalSettings.php? [06:10:53] Is anyone looking for creative ways to use MediaWiki? [06:11:06] I think it can save the world [06:11:31] how explain. [06:12:18] what is Wiki software, really? [06:12:32] it combines the simple, powerful strengths of the Web [06:12:41] (hyperlinks, flexible publishing, etc.) [06:13:02] and makes them effortlessly free and easy for people to leverage in manipulating content [06:13:15] it's the first software that is made of pure freedom [06:13:32] what does this mean? it means that the first true mass conciousness will be implemented as a Wiki, or as something similar [06:13:38] http://www.wikitaba.org [06:13:39] is there a software to publish our own wiki - like wordpress for blogging ? [06:13:43] here's a start [06:13:58] *slavie|away strips the weasel words and lofty rhetoric from murftropolis' statements, and gets "It's makes web publishing easy, which will save the world and right all wrongs." [06:14:05] It* [06:14:50] thank slavie [06:14:55] where do I add this: require_once($IP.'/extensions/inputbox/inputbox.php'); in LocalSettings.php? [06:14:59] Welcome. [06:15:15] I have weasels in my throat and they mix their words in with mine when I speak [06:15:36] Don't worry, it's a pretty common phenomenon on wikis. [06:15:49] actually, I think they help me get my thoughts across [06:15:58] I don't feel I'm exaggerating the importance of Wiki [06:17:28] :P [06:18:21] ShawnRisk: Anywhere should be fine, but try to keep your custom settings together. I'd suggest a section called "Custom settings" at the very bottom. [06:18:41] set mode to +t :( [06:18:48] That way you can easily copy & paste your settings into updated an LocalSettings.php when you upgrade MediaWiki. [06:18:49] Pathoschild: yes but I put that in and it didn't work [06:18:50] please [06:19:11] Killer-X: Why? [06:19:12] channel mode +t :| [06:19:22] anyone can change topic [06:19:25] Yep. [06:19:29] :+ [06:19:35] Pathoschild: any ideas? [06:19:51] Nope. [06:20:15] Killer-X: We even let anyone change our website. Weird, huh? ;) [06:20:27] no [06:20:35] becuuase it will cause misunderstanding so [06:26:34] instead of the link to the .svg version of an image just using the SVG with PNG fallback would be nicer i think [06:28:51] where is ?> in the localsettings.php I don't have that [06:31:19] ShawnRisk: You shouldn't need the closing ?> tag [06:31:27] okay [06:31:51] you always need the closing ?> tag in php [06:31:59] morning [06:32:01] or else you have crappy malformed php [06:32:09] amidaniel: I am trying to add require_once($IP.'/extensions/inputbox/inputbox.php'); to localsettings.php but it isn't working [06:32:14] if it works without the closing tag it shouldnt [06:33:47] well it isn't working [06:34:05] I just add that line without ?> as there isn't any [06:35:35] can you show me your localsettings.php file? [06:36:01] ShawnRisk: Check your letter case [06:36:18] Is the file located at *exactly* ./extensions/inputbox/inputbox.php ? [06:36:34] yes [06:37:25] ShawnRisk: Can you pastebin a ls -R for me? [06:37:32] ok [06:37:34] one sec [06:37:37] kk [06:38:18] http://en.wikipedia.org/w/index.php?title=Darth_Vader&action=purge#Cultural_figure [06:38:24] "Vader is a common choice for Halloween costumes, as shown here in conversation with Japanese schoolgirls." [06:38:46] VoiceOfAll: O.o [06:39:04] amidaniel: got it to work, was permissions [06:39:14] ShawnRisk: Ahh, that'll do it :) [06:39:21] Glad it's working for you [06:41:26] thanks [06:44:08] 03gmaxwell * r26354 10/trunk/tools/counter/fast_counter.c: First lame attempt at a fast page view aggregation program. [06:44:19] how often is mediawiki updated? [06:44:54] Constantly in SVN [06:45:08] New stable versions every quarter [06:47:56] okay [06:58:11] <_wooz> lo [06:58:22] hihi [07:02:56] Someone mind checking this code out? http://rafb.net/p/p7181E35.html the messages dont appear to be working [07:03:08] well, viewreports works but aalertviewintro doesnt [07:03:49] The code to output the message: $wgOut->addWikiText(wfMsg("aalertviewintro")); [07:04:35] heh [07:04:35] 'aalertviewintro' >= 'Below [07:05:03] (Should be 'aalertviewintro' => 'Below...) [07:10:35] amidaniel: Hm, what? [07:10:50] um* [07:11:11] TheFearow: The operator you want there is "=>" not ">=" [07:11:19] Oh! Stupid me :p [07:11:37] Thank you so much [07:11:38] heh :) [07:11:43] Not a problem [07:11:46] I hate bugs like that :) [07:11:47] Thats three hours of debugging :p [07:11:59] haha .. yup, been there, done that [07:12:01] I really should ask here first [07:12:17] I do it all the time in java, when I spend hours debugging something where I got one character wrong [07:12:38] Most annoying is when I rename something using eclipse which will update almost all references, then realise I used reflection somewhere :( [07:12:53] Realise after trying to figure out why it keeps erroring [07:13:34] *amidaniel whispers something about eclipse's "quick fixes" being evil :) [07:14:46] I actually just finished several hours of debugging on a similar problem -- trying to figure out why my "kill" function was leaving threads alive that shouldn't be, only to discover that I had never called the function :D [07:18:27] amidaniel: That sounds fun [07:18:48] You're welcome to do it for me some time :) [07:18:55] My absolute worst thing ever is when I use a + to add two strings together in PHP and cant figure out why my dies or echos are giving the number 1 [07:19:11] Haha, yeah, I do that in php a lot [07:19:23] Or worse use a . in java :p [07:19:50] I've actually just recently developed a bad habit of using ' for strings in c and java [07:20:35] Wont Java allow it? [07:21:11] "I sometimes wonder if all women are this difficult. And then I think to myself, 'My God, wouldn't it be marvelous if I turned out to be a homosexual?'" [07:21:24] TheFearow: Only for chars, not strings .. which makes it all the more confusing :) [07:21:27] Darn [07:21:28] brb [07:30:04] back [07:30:11] amidaniel: Chars are an annoying type [07:31:37] TheFearow: Why do you say that? [07:31:56] They behave in unusual ways [07:32:02] And are hard to convert to [07:32:55] And have crap support for anything non-ascii [07:33:08] hmm .. I do have to say that Java's chars are far better than in any other language I've worked with [07:33:19] On some Java versions, String.toCharArray will return two incorrect chars for two-byte characters etc [07:33:19] TheFearow: Huh? Are we talking about the same language here? [07:33:51] On a lot of java implementations chars act as single-byte only, which is incredibly annoying [07:34:17] amidaniel: I assume you mean Java [07:34:55] Isn't it mandated by the language spec that chars are 2-bytes? [07:35:05] All toCharArray does is offset + srcBegin, dst, dstBegin, srcEnd - srcBegin); [07:35:28] So if toCharArray is "wrong", the string has to be "wrong" too -- all a string is is an array of chars [07:35:58] I mean in a lot of cases that the chars returned from toCharArray end up being assumed to be one byte [07:36:07] Yet charAt and the string itself handle them fine [07:36:26] Its only on some implementations, and some buggy versions [07:36:36] Well, all toCharArray does is copy the chars it uses to store the string into another array :) [07:36:42] Alright, "some implementations" :) [07:37:25] If you really want some fun with odd char behavior, play with ANSI C some time :) [07:39:13] Sadly it affects some older apple versions [07:39:28] Which i'm forced into using [07:44:02] Where do I get the namespace aliases from? [07:45:24] Woops, sorry, I gotta get going [07:45:25] Take care [07:45:34] Cya [07:50:12] Hello All [07:50:21] i need a help in wikipedia [07:50:48] go on [07:51:44] I installed a new wiki pdia [07:51:58] and i don't know how to start development [07:52:16] =) [07:52:28] by a) learning the language [07:52:32] b) setting goals [07:52:33] i need to customize it and add new features , is there any helpful resources ? [07:52:37] c) discussing [07:52:41] d) implementing [07:52:53] good [07:52:58] which language? [07:53:10] PediaXtra are you able to login? [07:53:18] yes [07:53:23] great! [07:53:42] you are ready to go then, start creating and editing pages, just like wikipedia [07:54:20] if i want to add some functionalities or features , is it possible by code? [07:54:51] Yep, check out the page Category:Extensions on mediawiki.org. There are heaps of premade extensions you can add in [07:54:55] Yes, there are skins and extensions [07:56:14] ok .. i will check my pedia then if you don't mind i will ask you if i need an assistance [07:56:20] is it Ok? [07:56:41] Some extensions are more up-to-date than others, so check on their status (last date). [07:56:53] Ok .. [07:56:58] Also, there are good help files in wikipedia.org on editing and such [07:57:06] it really depends what you want to do. [07:57:29] here is some info on skins http://meta.wikimedia.org/wiki/Skins [07:57:57] here is the extensions category that Thefearow mentioned http://www.mediawiki.org/wiki/Category:Extensions [07:58:11] that shoudl keep u busy ;D [07:58:25] loooooooooool [07:58:29] ok .. thnx [07:58:35] np [08:16:38] Hi.. I hope someone can help me with this.. Can you in mediawiki include pages into another page, without using templates? [08:17:47] what is the mediawiki super user? [08:17:55] sure, {{:Pagename}} [08:18:02] PediaXtra: there is none. [08:18:20] any user with 'sysop' permissions [08:19:42] PediaXtra also there is the original Admin account created when you installed. [08:20:08] but there's nothing special about that account that warrants calling it a 'superuser'. [08:20:27] i need to login using the super user [08:20:46] Well, the original account that has sysop and bureaucrat privileges is in essence the superuser [08:20:47] well no, you need to log in as a sysop [08:21:03] 03erik * r26355 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevsPage.i18n.php): simplify simple UI further: when current & stable version are identical, show a different message & the stable icon. [08:23:12] especially since i suspect he's talking about the installation part [08:23:26] PediaXtra: where is it asking you to log in as the superuser? [08:25:26] hey people - is there any way i can embed a java applet into the top-right corner of the "Main Page"? [08:27:02] fishsponge_: Check out the extensions page, I believe there is an extension for java applets [08:32:30] Werdna: Thanks.. I got a bit sidetracked since I apparently had checked "use external editor". [08:32:36] I wonder where that feature is supported, doesn't work on MacOSX or Linux for me.. ;-/ [08:37:16] emj: You have to define an external editor first [08:37:24] no.. [08:38:14] I have to install a script that is supposed to run and then execute an external editor right? [08:40:00] 03kim * r26356 10/trunk/extensions/Wikidata/ (4 files in 4 dirs): Tidying some stuff out, minor updates to copying [08:42:04] I don't get it, do people actually use this "external editor" feature? Seems very hacky to me.. [08:43:00] emj: Not that I know of. As far as I know you just set which external editor to use and it launches it if its compatible [08:45:39] TheFearow: hmpf.. it's a cool idea that's why I checked it I think (several months ago), but it doesn't seem to work for me at all. Oh well, I guess feature rot is needed.. ;-) [08:45:54] ok bye that's all thanks for the help [08:46:29] 03tstarling * r26357 10/trunk/phase3/includes/ (5 files): [08:46:29] WARNING! NEEDS CAREFUL DEPLOYMENT [08:46:30] * Bug 9213: Fixed the plainly broken user_newtalk updating and caching scheme. I tried to keep my changes roughly performance-neutral, but the update on Wikimedia should be watched carefully for performance problems. [08:46:30] * Made UserMailer a class, use the autoloader to load it [08:46:30] * General UserMailer refactoring [08:46:33] * If the user has email-on-newtalk enabled, send them an email for every change, not just the first one before they view the page again. [08:46:36] * Don't add a watchlist entry automatically on change of user talk page [08:49:12] 03(mod) New-messages bar not coming up and/ or getting stuck up for IP addresses - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9213 +comment (10tstarling) [08:53:43] <_lyte_> hi all [08:53:55] <_lyte_> is there a way to combine/merge two mediawiki sites into one / [08:53:56] <_lyte_> ? [08:55:15] <_lyte_> we have two wikisites running in the same machine (two subdomains) now I want to move both the sites to a new machine but as one single mediawiki site. I foung the Special:Export/import. But that will take a long time as there are lots of pages to be done this way. Is there any other way ? [08:57:23] 03(mod) Fonts are off in rasterized SVG images on wikimedia sites - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3769 +comment (10gtisza) [08:59:07] _lyte_: Import and Export isnt that slow, and its the simplest way to do it [08:59:19] There are other ways but they take a lot of work [09:00:31] heh, you can merge the databases if you're feeling frisky. [09:00:34] 03erik * r26358 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevsPage.i18n.php): [09:00:34] - Add tab to access per-page QA settings [09:00:34] I'm calling this "qa" for short because the tab list is overcrowded already for many people, [09:00:34] and making it too long tends to lead to trouble in low resolutions. [09:00:55] Werdna: I'd suggest it but you have to modify all the keys etc as they would clash [09:01:21] it wouldn't be too bad, only you'd have to update the foreign keys. [09:01:49] and that would be more trouble than it's worth. [09:02:09] And if users were using it at the time itd change all sorts of other things, or at least display really weirdly [09:02:22] Hey Duesentrieb [09:03:30] good eeeeeeeeevvening [09:03:35] Hmmm, someone mind checking out this? http://rafb.net/p/nDNNzq31.html I cant find the problem [09:05:03] what's the expected return value? [09:05:07] what's the actual return value? [09:05:21] what IS $row->read? [09:05:57] A value returned from a database, either 0 or 1 [09:06:28] Expected: false. Actual: dies on that line with no error message [09:06:46] It happens on syntax errors for some reason, but I cant pin that one down [09:07:23] expand on "dies" [09:08:04] As in stops executing [09:08:18] what's the context of this? [09:08:20] It closes the connection to the browser and stops executing [09:08:26] It happens on syntax errors, happens a lot [09:08:30] I'll paste [09:08:38] ugga [09:09:19] http://rafb.net/p/EdQNOG48.html is some context [09:09:34] last line in the debug log file is the readraw one [09:10:11] TheFearow: uh, did you turn full error reporting on? [09:10:33] How would I do that? [09:10:58] Could it be something to do with the fact im doing this from within a class? [09:11:26] no [09:11:32] it's something to do with your php.ini [09:14:04] Weird [09:14:11] The no output happens on syntax errors [09:14:18] Do I need a this:: or this-> or something like that? [09:15:30] look for this line in your php.ini: error_reporting = E_ALL & ~E_NOTICE [09:16:36] you can just do it in localsettings: [09:16:36] error_reporting(E_ALL); [09:16:37] ini_set("display_errors", 1); [09:16:53] TheFearow: error reporting is off per default, because it helps attackers to find ways into your system. [09:16:58] Its set to E_ALL in php.ini [09:16:58] Ahh [09:17:16] display_errors is important too [09:17:41] Thank you :) Now it shows me whats wrong [09:18:03] 03erik * r26359 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: I suppose a tooltip couldn't hurt .. [09:18:23] yay :-) [09:18:46] TheFearow: basically: for developing & debugging, always use full error reporting, including warnings. for production, allow *no* error reporting. [09:18:59] (including notices, even) [09:19:05] <_lyte_> TheFearow: Werdna: I found this script from mediawiki.org, called "dumpBackup.php" which sounds promising. I am gonna do a mock run ... [09:19:08] <_lyte_> thank you.. [09:19:32] _lyte_: dumpBackup.php is part of the standard install. it's in the maintenance directory [09:19:34] _lyte_: it's the same as Special:Export, but in bulk. [09:19:57] <_lyte_> Werdna: yes.. bulk was what i needed. Thank you guys ! [09:20:40] <_lyte_> Duesentrieb: my mistake, I never went to look in the installation dir for any helpful scripts before I bug you all :) [09:21:43] Duesentrieb: I've ALMOST got code-sharing done in devanywhere [09:21:56] just need to add one tiny little interfacey thing. [09:22:35] cool :) [09:23:30] (I suppose people not only want to be able to change existing shares, but also add new ones) [09:25:14] 03erik * r26360 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: [09:25:14] this message isn't really accurate if everyone sees the latest version by [09:25:14] default, so don't show it. [09:25:55] Werdna: does "share" mean read only to other, or read & write, or either? [09:26:16] anyone know if $wgAddGroups and $wgRemoveGroups is compatible with wikimedia? [09:26:43] *are [09:26:46] Tubarao: Yep, its compatible [09:26:51] "compatible"? [09:26:58] hm? [09:26:58] yes.. as in "can be used" [09:27:07] But only it would only affect local stewards, which is a permission not given out locally (at least not normally) [09:27:33] You would have to give bureaucrats or such permission to use Special:Userrights for it to have any effect (or any other group) [09:27:58] I want to open up Special:Userrights to bureaucrats/sysops and use the add/remove-groups to simulate the current condtions.. :) [09:28:12] and add a couple of groups.. [09:28:22] TheFearow: bureaucrats can use Special:Userrights - that's their primary job... [09:28:42] TheFearow: or... not? only Makesysop? hm [09:28:44] Duesentrieb: Not on wikimedia wikis by default [09:28:48] *Duesentrieb is confuzzeled. [09:28:53] Its Makesysop etc only [09:28:56] mhm.. only stewards.. [09:28:59] hmkay [09:29:07] But bureaucrats can be given access by a dev easily [09:29:31] s/dev/server admin/ [09:29:43] is http://noc.wikimedia.org/conf/CommonSettings.php.html more or less updated? [09:31:03] Tubarao: No [09:31:06] Horribly outdated [09:31:12] oookay.. [09:31:24] who can update it? :D [09:31:29] If you need a question on current config ask a dev in #wikimedia-tech [09:31:31] Post on bugzilla [09:31:36] bugzilla.wikimedia.org [09:31:38] mhm.. [09:31:48] And a dev will usually do [09:31:54] But they need evidence of local wiki consensus [09:32:04] i already have a bug there to do the group/rights .. [09:32:48] ahh ok. [09:33:00] Either post more on there, open a new one, or bug a dev in #wikimedia-tech [09:33:06] but i got a comment on wm-tech from vasilievv that the wgAdd/Remove was "incompatible" .. so I got a little bit confused.. [09:35:26] incompatible by defult, you have to make bureaucrats have userrights access [09:39:24] TheFearow: check http://bugzilla.wikimedia.org/show_bug.cgi?id=11509 .. I think this should work... (but it's not in LocalSettings.php, that much I no know :) ) [09:39:31] *now [09:56:42] 03proes * r26361 10/trunk/extensions/Wikidata/OmegaWiki/WikiDataAPI.php: Show defining expression (preferred term) as page title. [10:06:26] Tubarao: Looks good [10:15:47] 03(NEW) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 15enhancement; normal; MediaWiki: Page editing; (gtisza) [10:17:40] 03proes * r26362 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: [10:17:40] * Removed protein fragment logic from Swiss-Prot import. [10:17:40] * Replaced "protein" relation in a Swiss-Prot entry by a class membership. [10:25:39] 03mkroetzsch * r26363 10/trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php: Minor addition for better debugging (type check) [10:30:29] 03(mod) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 +comment (10daniel) [10:32:18] 03(mod) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 +comment (10fearow00) [10:37:55] 03(mod) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 (10daniel) [10:41:51] I want to bring in a several existing articles on another page. Can anyone tell me the markup to do that? [10:42:48] oomt2, can you give more details about what you want to do? [10:43:25] hi. i switched servers and my db has to change from mysql to postgres. is there an easy way to keep all my data? like converting the sql dump to postgres and import it there? [10:43:32] im running ubuntu on my server [10:44:04] Cya all [10:44:11] Hojjat, for example. I have 2 pages, and i want the entire contents of those 2 pages to appear on another page - not links, but the fully expanded article. [10:44:30] ootm2: {{:PAGETOINCLUDENAME}} [10:44:32] ootm2, would "tranculatoin [10:44:36] be an option? [10:44:46] that is just what TheFearow said [10:45:04] On the thid page add {{:Page one}}{{:Page two}} [10:45:26] Hojjat, TheFearow: Thanks! Thats exactly it. [10:45:33] :) [10:46:10] Hojjat, I searched and searched and just couldnt find it. [10:46:28] Hojjat, :) [10:46:35] ootm2, well the keywords you use for search do matter. [10:46:42] anyways, you have it now! [10:52:55] commander-ape: there are probably mysql-to-pg conversion tools out there, but i'd expect a lot of trouble trying that. you can make an XML dump, set up a fresh wiki, and then import the dump - that will give you all pages. you'll have to import uploaded files separately, and user accounts, logs, etc will be lost. [10:53:27] commander-ape: all in all, simply stay with mysql. migrating is not worht the pain. mysql is the recommended db anyway [10:53:50] Duesentrieb: mysql uses up to much memory on my vserver [10:54:08] Duesentrieb: I just care for the Data, logs and useraccounts i can set up manually [10:54:10] commander-ape: ram or disk? anyway, it can be tuned. [10:54:17] ram [10:54:41] i got everything running now, i just need the data from the one server on the other. [10:54:59] well... good luck :) [10:55:12] :/ [10:55:32] how do i do an xmldump then? [10:55:42] okay, ill find some tutorial [10:55:44] and google abit [10:55:46] dumpBackup.php [10:55:52] !backup [10:55:52] http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [10:55:55] in the maintenance directory [10:56:04] nice. thanks [10:56:18] commander-ape: reduce buffers, if 'too much memory' [10:56:27] mysql has really small memory footprint, if you want that :) [10:56:46] just not by default. [10:56:50] commander-ape: yea, let domas tell you how to tweak it - he's da man for that :) [10:57:54] its not that important. it is just a development server for now. later when we go into deployment we have our own server and use mysql there [10:58:04] #join #wikimedia-tech [10:58:12] vedant1: try .join :) [10:58:15] erm, /join [10:58:37] commander-ape: and migrate back?! you'll have no end of fun with converting... [10:58:38] Werdna: just a typo [10:58:49] just like mine :P [10:59:08] exactly :) [10:59:55] commander-ape: database systems are (sadly) not that compatible. migrating from on to another is usually not simple. don't do it if you don't have to. [11:00:12] but i guess setting up mysql is no fun either. when i start it up, it crashes everything on the vserver because there is no memory left. even ssh gets kicked off the system and i dont have access to the server anymore [11:00:48] heh [11:00:49] commander-ape: ask domas how to make it tiny :) [11:00:57] you must be doing something really spectacular there [11:01:12] not really. it is just a really crappy vserver [11:01:38] and with crappy i mean, really crappy. like trying to apt-get mysql and not working [11:01:45] memory footprint for mysqld here is 5-10MB [11:01:59] I wonder how much more efficient than that is PG [11:02:27] not much [11:02:45] well, im no sysop. im just able to do some basic things [11:02:47] anyway, good luck. [11:02:47] :) [11:03:02] if there is an easy way, just a switch, im looking forward for help :) [11:04:47] what i thought, is that pg is up and running, and if i just do an xml dump and import it, it would be easier? [11:04:57] if its not i have to find another solution [11:05:03] that might work, yes [11:05:22] ill try it right away [11:06:16] 03erik * r26364 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: [11:06:16] Erm, the terminology is a bit confused. "Reviewers" create quality revisions, yet [11:06:16] here we speak of "reviewed" versions when meaning sighted ones. There's probably [11:06:16] more mix-ups like that. [11:32:23] 03proes * r26365 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: Replaced "organism" relation type by the "occurs in" relation type. [11:40:43] 03proes * r26366 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: Removed "text attribute" class. [11:47:03] 03erik * r26367 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: [11:47:03] erk, wrong boolean. [11:47:03] hmz, does turning AnonsOnly off actually work? doesn't seem to .. [11:53:02] 03proes * r26368 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: Replaced "gene" relation type by "is manifestation of" relation type. [11:56:53] hi TimStarling [11:57:04] domas: around? [11:57:09] hi [12:02:51] arg, i keep having a broken RSS feed, because there is one newline before the XML output, this happened before , but this time i really checked all extensions being included for having a newline at the end, and i cant find the culprit, is there any way to debug it [12:03:19] 03proes * r26369 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: Added definitions for the bootstrapped concepts "occurs in" and "is manifestation of". [12:08:29] mutante: turn on full php error reporting. then, just feore sending the xml, call head("xxx: yyy"); (if this doesn't already happen) [12:08:45] mutante: header, sorry [12:09:05] mutante: setting the a header string when output already started will produce an error - which includes info about where output started [12:09:50] thanks [12:09:53] 03tstarling * r26370 10/trunk/extensions/OggHandler/cortado/ (3 files in 2 dirs): Added showSpeaker parameter, to allow the confusing "audio available" icon to be removed. Tweaked seek bar handling to prevent the thumb from going slightly off the end when dragged. [12:24:55] 03tstarling * r26371 10/trunk/extensions/OggHandler/OggPlayer.js: Don't show speaker. Ignored if the applet doesn't support the parameter. [12:36:04] 03(mod) Internationalization of the CheckUser log - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11513 (10riazuelo) [12:46:54] 03(NEW) Use more sensible time intervals in recent changes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11551 15enhancement; normal; MediaWiki: Special pages; (gtisza) [13:31:56] 03proes * r26372 10/trunk/extensions/Wikidata/php-tools/SwissProtImport.php: Renamed "protein" to "amino acid, peptide or protein" [13:41:02] hello everyone. I'm getting very erratic ssearch results on my wiki. Using the standard side bar "search", for some terms, I get plenty of results for some terms, but for others, I get nothing (even though they appear in article titles, wiki text, and even categories. Anyone have any ideas as to what might be wrong? [13:41:49] lauriej: terms must be at least 4 characters long [13:41:57] they can't contain numbers, or - [13:42:14] whoa :) that would explain it! Words too short. Thanks! [13:42:16] lauriej: for more details, look at the documentation on mysql's fulltext indexes [13:42:27] (also for ways to change this) [13:43:22] thanks - very quick and helpful as ever. :) [13:44:01] lauriej: please see if it's in the faq - if not, add it :) [13:44:38] Hi channel, I have a question that is not directly connected to Mediawiki, but about linux webserver in general [13:44:51] Altough that webserver is running a Mediawiki [13:46:25] ....you have to be kidding me: http://www.mediawiki.org/wiki/Template:SeeManual <--- wtf? [13:46:51] a shitty template to stress the servers even more when you could just type in [[Manual:LocalSettings.php|]] or so...geez [13:47:07] I am running a wiki website on a VMware LAMP Appliance, which ran out of space on its primary partition. I then created a new virtual HD, partitioned it and moved all of the web directory onto there, and finally created a mount point pointing to the old webserver dir. Now everything works, but I still have no space left on my system partition, how is that possible ? [13:47:23] petzlux: ask in the channel for your distribution. [13:47:49] this is development and support for the MediaWiki code itself.. people here know about mediawiki, not vmware lamp appliances. [13:48:03] I would presume you have technical support from vmware.. speak to them [13:48:48] Jack_Phoenix: that's a fairly tame template, tbh [13:49:08] probably not a huge issue, especially on a low-traffic wiki like mw.org [13:49:23] meh, I don't like creating templates for every single freaking thing when you can just type them out ;-) [13:49:30] Werdna: Sorry for asking, thought people here would be able to help, I will try and find out if that particular Linux distribution has an IRC channel [13:50:25] #gentoo I believe is a linux channel it might be somthing else though [13:50:34] something* [13:51:25] #linux exists :) [13:52:01] cheers guys [13:54:37] <[1]Spearhead> hi all! does anybody know if you can send the log in information from the http link? [14:03:14] 03(mod) We do not reject mismatched file types on upload for many extensions. Ogg, pdf, mid, sx*, svg, xcf. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10823 +comment (10wikimedia.org) [14:07:03] $ php importDump.php xmldump [14:07:03] DB connection error: No database connection [14:07:06] was geht hier nicht? [14:07:17] check AdminSettings.php [14:07:25] okay [14:09:00] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 +comment (10wikimedia.org) [14:10:28] 03(mod) We do not reject mismatched file types on upload for many extensions. Ogg, pdf, mid, sx*, svg, xcf. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10823 +comment (10daniel) [14:10:29] Werdna: working fine now. thanks [14:10:39] nn [14:12:12] 03(mod) We do not reject mismatched file types on upload for many extensions. Ogg, pdf, mid, sx*, svg, xcf. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10823 (10gmaxwell) [14:16:38] !seen Kolossus [14:16:38] You don't have permission to do that. [14:16:58] !seen Kolossos [14:16:58] You don't have permission to do that. [14:17:21] too bad, hes the guy who made the VRML 3D sitemap for wikipedia [14:18:03] http://s23.org/w/images/c/cd/Wikipedia-vrml-ie6.png i would like this with my own mediawiki .. [14:18:48] looks like he stopped working on it in 2005 though :P http://de.wikipedia.org/wiki/Benutzer:Kolossos/Sitemap [14:24:24] stop when finished, or just stopped? [14:46:38] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 (10brion) [14:53:20] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 (10wikimedia.org) [14:54:58] 03(mod) Could it be possible which form I use is depend on which the preload page I choose . - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11384 +comment (10bugzilla.wikimedia.org) [14:56:19] 03(mod) We do not reject mismatched file types on upload for many extensions. Ogg, pdf, mid, sx*, svg, xcf. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10823 (10Platonides) [14:56:33] 03(mod) Internationalization of dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11410 (10bugzilla.wikimedia.org) [14:56:38] 03(mod) respect the user's date formatting - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9620 (10bugzilla.wikimedia.org) [15:01:11] 03(mod) We do not reject mismatched file types on upload for many extensions. Ogg, pdf, mid, sx*, svg, xcf. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10823 (10wikimedia.org) [15:13:24] 03gmaxwell * r26373 10/trunk/tools/counter/fast_counter.c: Totals were only counting pages over the threshold. [15:18:02] 03(FIXED) Create eswiki sysop's mailing list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10003 +comment (10Platonides) [15:19:16] hey folks, how can I disable access to the User Management page? [15:20:42] there's a User Management page? [15:22:16] user rights management, yes [15:22:18] and it's awful [15:23:32] and while i'm at it, i need to disable the craete account link/page too [15:24:29] AngryElf: "create account" is the same page as "login". [15:25:06] AngryElf: you probably just want to take away some rights from some groups, not disable the pages [15:25:09] !access [15:25:09] For information on preventing access to your wiki, please see . [15:25:12] !rights [15:25:12] http://www.mediawiki.org/wiki/Help:User_rights [15:25:17] see above [15:25:51] if disabling rights will remove the links and access to the pages, then that works too [15:26:45] 03mkroetzsch * r26374 10/trunk/extensions/SemanticMediaWiki/ (13 files in 3 dirs): New implementation for URL/Email datatype. Former Type:URI merged with URL. [15:26:47] AngryElf: it should. try it and see [15:27:21] $wgGroupPermissions['*']['createaccount'] = false; [15:27:26] i can still get to those pages [15:27:50] Is there a good document on how to set up a highly available MW cluster communicating with a highly available MySQL cluster? [15:27:50] ah nm [15:29:47] 03mkroetzsch * r26375 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_DT_URI.php SMW_Datatype.php): disabled obsolete code [15:30:43] 03(NEW) Request to set the variable $wgSitename and $wgMetaNamespace in Classical Chinese Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11552 15enhancement; normal; Wikimedia: Site requests; (shinjiman) [15:31:33] so there's no way to disable access to the User Rights Management page? [15:32:27] AngryElf: what are you actually trying to accomplish? [15:32:45] i dont want to even see the link to that page [15:32:51] even for sysops [15:32:51] if you have a user you don't want to have access to, don't give them bureaucrat access [15:33:01] or just remove the userrights right from the relevant groups [15:33:22] of course now you won't be able to assign groups to users :) [15:33:31] so it seems pretty silly [15:33:49] 03(NEW) $wgLogo configuration - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11553 normal; normal; Wikimedia: General/Unknown; (o.hacquet) [15:36:44] AngryElf: you can hide specific links with CSS [15:37:44] i guess removing people from the beaurecrat will work -- what other perms would that remove? [15:37:51] *group* [15:45:48] Is there a good document on how to set up a highly available MW cluster communicating with a highly available MySQL cluster? [15:46:04] don't? [15:46:10] just use mysql replication [15:47:40] so mysql replication will take care of that. as I understand it, that requires one db node to do the writing and the others are generally read-only. is that correct? [15:56:54] yes [16:01:22] domas: thanks for your help [16:02:18] domas: in the event that the writable node goes away, are updates no longer possible? [16:02:59] you promote another slave as master. [16:03:08] but yeah [16:03:13] before that - no writes [16:03:31] domas: but you have to change all replication pipes before you set the new master, right? [16:03:37] isn't that... well, involved? [16:04:56] my Main Page wont load, and mysql says... 97010 | mwUser | localhost | PDBWiki | Query | 942 | Removing duplicates | SELECT /* Dan */ DISTINCT `PDBWikipage`.page_namespace as page_namespace, `PDBWikipage`.page_title [16:04:59] can't a script handle that? [16:05:04] hmm, it'd be nice if i could drag-and-drop urls from firefox to konqueror [16:05:20] what is "Removing duplicates" and why would it take so long / be necessary in the first place. [16:05:22] faceface: check mysql error log and disk space on your server [16:05:28] faceface: it is creating a temporary table [16:05:37] failure to create it, or slow i/o, can cause that [16:05:38] um [16:05:54] domas: I see... [16:06:03] disk is 'touchy' on my server. [16:07:29] where is it likely to log? [16:08:00] /var/log/mysql ? [16:08:13] or /var/lib/mysql [16:08:15] whatever [16:08:16] only got mysqld [16:08:21] ok yeah... :D [16:08:33] what? :) out of diskspace? [16:08:42] no... flaky raid [16:11:02] http://www.wikihow.com/Discussion:Kill-a-Cat-by-Freezer [16:11:03] =p [16:11:24] Tipper: is that category related mysql death? [16:11:39] no =p [16:12:30] dang... they set everything up in one big innodb table... I would prefer 'table per database', but when I enabled that on anohter server here I ended up with a hideous innodb crash [16:12:31] 03aaron * r26376 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevsPage.i18n.php): [16:12:31] *Some fixes [16:12:31] *UI tweaks [16:12:41] not that the two were necessarily related... but none the less... [16:12:57] *Tipper laughs, I just realized I posted it in the wrong chat =P [16:16:06] hmm... server restart fixed the problem [16:16:22] I was createing a potentially nasty DPL in preview mode when the crash happened [16:16:42] I checked all tables, but nothing seemed broken (mysql server restart btw) [16:17:32] is there a... no I remembered there isn't ... why isn't there a 'most popular categories Special:page'? [16:18:18] what is 'popular'? [16:19:22] pages in category [16:19:51] no need for that, we all know its 'Living people' [16:20:05] really? I don't even have that category. [16:21:57] select cl_to, count(*) as X from PDBWikicategorylinks group by cl_to order by X desc limit 10; 0.45 seconds... would it really be so resource consuming? [16:22:02] quick q: how do i get root url in a template? [16:22:25] arturaz: google 'mediawiki magic words' [16:22:33] I can never remember them! [16:23:00] emm, i meant in a skin :) [16:23:18] $IP? [16:23:38] no... I forget! google 'mediawiki configuration parameters' [16:24:15] or variables [16:26:58] ty [16:27:13] np [16:27:36] though coding for mw is kind of nightmare.. [16:28:12] yup [16:30:58] oh no shit?:) [16:31:32] haha :P [16:31:47] maintaning the docs at MW.org is even worse, trust me [16:31:58] hahah [16:32:15] hrmm [16:33:09] VoiceOfAll, hey :) [16:33:40] 03(FIXED) rdf:datatype for Type:Email should be #anyURI ? - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8956 +comment (10mak) [16:35:18] 03(FIXED) attributes of Type:Email don' t appear correctly in inline queries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8047 +comment (10mak) [16:35:23] 03(mod) wiki text markup in attributes doesn't show in inline queries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9334 (10mak) [16:39:07] 03(mod) A way to navigate between topics in Beer parlour etc - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11521 (10wikt.3.connelm) [16:40:58] 03(mod) Don't hide translation tables in preview mode - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11523 (10wikt.3.connelm) [16:47:35] is built in or an extension? [16:48:04] is anyone familiar with the ldap authentication plugin? [16:48:18] not me [16:48:33] I need to stop it from creating users after they authenticate [16:48:45] i know weird, but i do [16:48:56] you mean they are in ldap, but you don't want them on your wiki? [16:49:01] faceface: an extension, specifically this one: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [16:49:06] i dont want the plugin to put them in my wiki [16:49:09] tanks Jack_Phoenix [16:49:23] np [16:49:29] as it stands they authenticate, and a user gets created [16:50:05] autoCreate = FALSE [16:51:28] 03mkroetzsch * r26377 10/trunk/extensions/SemanticMediaWiki/ (5 files in 4 dirs): various fixes related to Attribute->Property conversion + load SMW CSS for skinning infolinks [16:52:01] 03(FIXED) quick search link for Type:Email doesn't work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8049 (10mak) [16:53:18] Hello. How do I find an article that I've looked at before but now is'nt there? It does'nt show up in search. [16:54:31] VoiceOfAll: have you seen http://www.mediawiki.org/wiki/Template:SeeSourceCode , http://www.mediawiki.org/wiki/Template:SeeHook , http://www.mediawiki.org/wiki/Template:SeeManual and http://www.mediawiki.org/wiki/Template:SeeSection ? a bunch of useless, shitty, server-heavy templates that I'd like to delete...but removing all references to them seems to be very hard... =/ [16:54:38] 03(FIXED) a property that says it has_type Type:Page exports as owl: DatatypeProperty - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11076 +comment (10mak) [16:55:45] 03(FIXED) Error : Failed to derive URL prefix for Timeline API code files when refreshing page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10012 (10mak) [17:00:20] for syntax highlighting the extension says... "Add this line to your LocalSettings.php right before $wgSiteName:" which is the usual 'require_once(' line... why not just 'at the end of LocalSettings.php? [17:00:47] meh, dunno [17:00:57] no point at adding it before $wgSitename [17:01:06] 03(FIXED) Special:WantedProperties -> SQL error (wrong table name: page) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11295 (10mak) [17:01:11] just add it to the end of LocalSettings.php, it should work [17:01:23] it does [17:03:16] 03mkroetzsch * r26378 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: Added missing $db->tableName() (Bug 11295) [17:07:07] 03(mod) can't have an n-ary relation composed of an enumerated type - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11411 high->normal; +comment (10mak) [17:13:57] hi [17:14:08] i have got a question :-) how can i make my mediawiki multilingual? [17:16:41] i have got a question :-) how can i make my mediawiki multilingual? [17:17:11] tugori, what do you mean by multiligual? [17:17:20] MediaWiki, by default, supports many languages [17:17:45] just like wikipedia.org you can chosse between english and german language [17:18:21] then you have to have "two" wikis [17:18:38] and, literally, you will make your "wiki" multiligual (not your "mediawiki") [17:19:00] you should setup two wikis, and then change some settings so they can link to each other easily [17:19:04] which is called "interwiki" linking [17:20:22] ok... how do i do it exactly? [17:20:40] tugori, I'm not good at it, but I can check if I can show the answer to you [17:20:45] tugori: each user can choose an interface language, but there is only one content language per wiki. [17:21:13] if you want content in multiple languages, you have to use multiple instances of mediawiki. [17:21:27] yes, content in multiple languages is what i want [17:21:44] tugori: you have to set up one wiki for each content language [17:21:45] tugori, you have to instal two instances of MediaWiki [17:22:04] for example, on C:\www1\ you install the first wiki. You install the second one on C:\www2\ [17:22:08] you can edit your interwiki configurations to allow interwiki linking [17:22:24] it's actually possible to share the code between multiple wikis, but that's kinda tricksy [17:22:33] im not good at that stuff^^ [17:22:44] so my first is located at www.magic-mugen.de/mugenpedia [17:22:44] tugori: did you set up your own wiki? [17:22:52] i will call the second one then mugenpedia_ger [17:22:53] ? [17:23:00] yes it is possible [17:23:04] *NotACow contemplates adding multiple content languages into her project [17:23:13] set up the second one on www.magic-mugen.de/mugenpedia_ger [17:23:21] not going to happen soon :) [17:23:37] this means, you will have two "folders" on your host: mugenpedia and mugenpedia_ger [17:23:38] okay? [17:23:41] yes [17:23:53] and you have all the MediaWiki code in "both" of them. okay? [17:24:18] ? [17:24:33] i installed the first one 2 days ago or so and now im currently uploading the scond one [17:24:48] the whole stuff again [17:24:53] it is okay. how long does it take for you to upload the second one [17:24:55] ? [17:25:17] 15 - 20 min? [17:25:29] I'll be here that long. Tell me when you're done [17:25:33] ok [17:25:33] thx [17:27:01] tugori: just to make sure: You set up your wiki yorself, right? [17:27:09] yes [17:27:13] its my server [17:27:28] great. call me when you're ready [17:27:35] i dont know much about php and mysql etc. but i know how to install^^ [17:27:53] it's enough. I'll help with the rest [17:28:28] thx [17:28:40] can i use my account from the english wikipedia at the german then, too? [17:28:47] if i link them both? [17:29:21] tugori: you have to create on each wiki [17:29:25] you mean having a single account on both? [17:29:30] yes [17:29:33] tugori: currently, it is not supported. [17:29:46] ok [17:30:05] tugori: it is called Single User Login (or SUL) and is under development [17:31:23] ok [17:32:27] 8000kb left to upload [17:32:30] Alguem da suporte a portugues ae? [17:32:54] i cant speak portugueswe [17:34:24] 03mkroetzsch * r26379 10/trunk/extensions/SemanticMediaWiki/ (11 files in 2 dirs): Optional namespace aliases for all SMW namespaces. English aliases added for existing languages. [17:36:20] ? [17:39:06] SO [17:39:09] i uploaded verything [17:39:14] now i have to install it [17:39:29] with antoher prefix but into the same mysql database? [17:40:32] if you want, or in a other database [17:40:59] I think another prefix is okay [17:41:29] tugori, do you have myphpadmin installed too? [17:42:01] it's phpMyAdmin, no ? [17:42:18] *Hojjat is a little confused tonight... headache, etc [17:42:36] i see :) [17:43:19] tugori, you need to change the contents of a table of the db, to make the interwikis work. For that, you can use phpMyAdmin, or if you're at the server, you can use mySQL client itself. Which is your option? [17:44:02] i installed it now [17:44:04] puuh [17:44:06] hmmm [17:44:11] phpMyAdmin is easier? [17:44:25] anyone here using vbwiki? [17:44:45] tugori, both of them are easy [17:44:52] I think this might be the wrong channel ciaron ? [17:45:10] tugori: do you have any of them already? [17:45:46] ? [17:45:48] MinuteElectron: its a bridge between vbulletin and mediawiki [17:45:51] what do you mean have already? [17:46:01] tugori: phpMyAdmin, or mysql client [17:46:22] phpmyadmin [17:46:28] good [17:46:56] use it, to connect to the db, and try to find a table named "interwiki" for the first wiki [17:47:01] (the English wiki) [17:47:14] # Anzeigen mugenpediaarchive [17:47:14] # Anzeigen mugenpediacategorylinks [17:47:14] # Anzeigen mugenpediaexternallinks [17:47:14] # Anzeigen mugenpediafilearchive [17:47:14] # Anzeigen mugenpediahitcounter [17:47:36] *Hojjat huhs [17:47:46] omg [17:48:01] "Don't paste text to the channel, use http://rafb.net/paste/ " -the topic... [17:48:01] zomg! [17:48:13] *Jack_Phoenix wonders why people won't read the topic... [17:48:19] he is kicked? [17:48:20] ugga pugga [17:48:23] sorry [17:48:25] ! [17:48:25] tugori: don't paste [17:48:31] read the topic [17:48:44] paste to http://rafb.net/paste/ instaed, okay? [17:48:47] im sorry, please excuse that :-( [17:48:53] ok, no problem [17:48:59] it is for your own good. ;) [17:49:09] anyways, did you find the table named interwiki? [17:49:25] yes [17:49:35] for the first wiki (the English one), yes? [17:49:41] yes [17:49:49] and what is the address of the second wiki (german)? [17:49:58] www.magic-mugen.de/mugenpedia_de [17:50:18] okay, you need to add a row to the interwiki table of the first wiki [17:50:39] do you know how? or shall I guide you through that? [17:50:45] ^guide pls^^ [17:51:18] tugori, we can keep this channel less busy. We continue on private, okay? [17:51:28] ok [17:57:06] 03mkroetzsch * r26380 10/trunk/extensions/SemanticMediaWiki/ (12 files in 3 dirs): Aliases for all special properties. English aliases added to existing language files. [17:59:39] 03(FIXED) English aliases should be available for namespaces, special properties, datatypes in other languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11109 +comment (10mak) [18:00:20] umm, how do I add accesskeys to custom elements nowadays? [18:06:50] 03(mod) Typed links don't work well with interwiki links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9068 +comment (10mak) [18:09:06] hi [18:09:31] rar :) [18:10:05] 03(mod) SMW blocked when Extension:Pdf Export is loaded. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11238 (10mak) [18:10:09] hola [18:11:48] the way my working copy of mediawiki is set up is confusing me. I have a folder into which I've checked out trunk/phase3, which contains an extensions folder containing extensions which i've checked out from trunk/extensions, meaning the folder structure of my working copy isn't a mirror of the repository. svn seems to cope fine with this, but it confuses me. Is there any way I can improve... [18:11:50] ...things, or am I destined to forever be confused? [18:12:24] SVN = confusing, but perhaps some senior dev can help you out :) [18:13:03] Jack_Phoenix: I think we established that quite conclusively last night... ;) Hopefully someone can help. [18:13:33] *Jack_Phoenix still has no idea how to work with TortoiseSVN or create patches :p [18:13:49] so I just stab people on the wiki for breaking template:extension or such [18:14:45] Do extensions need to be installed to the extensions folder in the mediawiki install? Could I just make a trunk folder and have phase3 and extensions folder in it, and just change the require() statements in LocalSettings to point to the new place? [18:15:28] *Nikerabbit wonders about committing an extension which provides local language names extracted from cldr [18:16:14] Jack_Phoenix: I don't know anything about TortoiseSVN, but creating patches on the command line is just a matter of typing "svn diff file_you_changed.php > patchname.patch" (the > sends the output of the svn diff command to the file, rather than the screen) [18:16:47] no worries, I know someone I can poke about TortoiseSVN ;) [18:17:32] 03mkroetzsch * r26381 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: [18:17:32] Moved special page registration to include-time, since other extensions can otherwise thwart it by calling [18:17:32] SpecialPage::addPage() in an extension function before we did our registrations for $wgSpecialPages. [18:17:39] VoiceOfAll: killing hook param from template:extension should actually be no big deal, but but... http://www.mediawiki.org/wiki/Category:Extensions_by_hook_usage has /a lot/ of subcategories, I guess those would have to be emptied and deleted or...? [18:37:35] 03nikerabbit * r26382 10/trunk/phase3/languages/messages/MessagesPt_br.php: rm -rf efbbbf [18:40:59] 03david * r26383 10/branches/liquidthreads/extensions/LqtModel.php: Possible fix for the history bug. [18:49:07] Is there a directory of commonly used cut/paste templates? [18:49:13] Like the Infoboxes [18:54:31] can someone help me please with short-urls? [18:54:51] Is anyone able to verify http://www.mediawiki.org/wiki/User:MinuteElectron/Sandbox/Database_layout_table for me please? [18:55:22]
  • PadÄ—kos
  • [18:55:27] there must be better way... [18:56:35] can someone help me please with short-urls? [18:56:44] query me please then [18:56:48] !repeat | tugori [18:56:48] tugori : Please do not repeat yourself too often, if little conversation has occurred since your last message then it is likely no one has an answer or someone who does hasn't looked in IRC yet. You stand a chance of annoying people if you repeat yourself. [18:56:53] hrum. [18:57:00] I'm looking for help too. I try to understand why a template "Img", I try to create, gives me a wrong result : the url is there : http://www.arvernes.com/wiki/index.php/Mod3%A8le:Img [18:57:20] in RecentChange.php, loadFromCurRow is called with two args in at least one place, but the method is defined wit only one and there's no use of the argument functions [18:58:01] so delete it? :) [18:58:17] ok im sorry, i wont do it again (maybe you could help?^^) [18:58:18] arturaz: probably, but who cares? [18:58:25] tugori: have you read the manual? [18:58:26] MinuteElectron, ... [18:58:30] 03erik * r26384 10/trunk/extensions/Wikidata/ (4 files in 2 dirs): [18:58:31] TSV importer by Maarten van Hoof. [18:58:31] Still has critical column positioning bug. [18:58:34] isle85: that link is broken (odd utf-8) [18:58:54] yeap, I don't know how to give you the right url, [18:59:28] Maybe there : [18:59:29] http://www.arvernes.com/wiki/index.php/Special:Unusedtemplates [18:59:53] once there: Modèle Img [18:59:58] electron: yes [19:00:57] but i cant cope with at. im a complete newbie in that things [19:01:00] Does anybody have a drop-in replacement of Wikipedia's Template:Infobox_Person ? [19:06:56] MinuteElectron: can you help me? [19:07:14] not at the moment, kind-of busy [19:07:20] ok [19:07:54] tugori, what do you seem to be having problems with? [19:08:43] i want to make short-urls but i can not cope with the manual on the mediawiki homepage [19:08:54] !shorturl [19:08:54] 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. [19:09:21] thats my problem i cant get it to work [19:09:33] What way did you try and do? [19:09:50] puhh, i changed something in my localsettings.php [19:10:12] Did you create a .htaccess file? [19:10:14] but i dont know how to edit it because my wiki is located there: www.magic-mugen.de/mugenpedia/ [19:10:15] yes [19:10:22] in my root directory [19:10:37] but i deleted both because i did not seem to work. the pedia did not load at all [19:12:00] 14(INVALID) Numbered lists not numbered in Opera 9.5 alpha - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11542 +comment (10minuteelectron) [19:12:24] tugori: so, the *real* path is /mugenpedia/ - if you want short/pretty urls, you have to define a differente "virtual" path [19:12:37] tugori: consider the way wikipedia uses /w/index.php vs. /wiki/ [19:12:55] tugori: if you understand this, perhaps the manual page starts to make sense... [19:13:15] yes i wanted magic-mugen.de/mugenpedia/Articlename [19:13:37] tugori: then, first of all, get the files away from the path, to some other place. [19:13:44] maybe its also because english is just my second language and i cant speak it perfectly and dont understand everything^^ [19:13:50] say /mw or /w or /mgp or whatever [19:14:11] Duesentrieb: thanks again for pointing me to WikiDB. It looks most promising for the needs of consumeria.info (now if I could just get a reply from HappyDog, the devel) [19:14:21] but i installed it in that directory? than everything is deleted isnt it? [19:14:44] tugori: what is deleted? [19:15:03] when i change my directory name from magic-mugen/mugenpedia to .../mw [19:15:13] then it wont work any more? [19:15:24] tugori: the idea is this: if you want magic-mugen.de/mugenpedia/Articlename, then /mugenpedia has tu be a "virtual" path. so the *real* path has to be something else. [19:15:53] tugori: yes, if you move the files, the old path will no longer work - until you have defined all the rewrite rules, and pathes in localsettings. [19:16:22] yes but my database is set up now and i connected them because of 2 languages [19:16:26] so i will stay at that [19:16:29] after that magic-mugen.de/mugenpedia/Articlename will work. magic-mugen.de/mugenpedia/index.php?title=Articlename will however no longer work. [19:16:45] tugori: you database does not care about the url. [19:16:46] can i take then magic-mugen.de/mpedia is virtual path? [19:16:54] sure [19:16:59] you can pick whatever names you like [19:17:03] i do not mean about the url but the foldername [19:17:04] just don't confuse them [19:17:15] because it is set in the mysql database isnt it? [19:17:18] one is the real place for files, the other is the virtual place for pages [19:17:28] tugori: no. the db doesn't care at all [19:17:46] you want me to rename now the folder on my server? [19:17:47] tugori: ther eare only two or three pathes in LocalSettings.php to set, and rewrite rules in .htaccess [19:17:51] which is what the manual tells you [19:18:14] so i dont need to rename the folder? [19:18:16] tugori: you don't need to rename it if you don't want mugenpedia for the pages [19:18:27] by the way are you from germany? [19:18:33] tugori: you just said /mpedia would be ok. so use that, then you don't have to move anything [19:18:37] yes, from germany [19:19:03] but if i wanted to use mugenpedia - rein theoretisch - then i would have to rename my folder? [19:19:26] yep [19:19:48] can i query you? [19:20:07] yes, but i don't have so much time. [19:20:18] please don't be mad if i suddenly run of for half an hour :) [19:28:14] 03raymond * r26385 10/trunk/extensions/ (3 files in 3 dirs): * Update German [19:35:42] Anyone willing to do some verification? [19:36:42] I would like to add the expandtemplates to my wiki. It is said, I have to install the ExtensionFunctions.php file. Where do I put it (that extensionfunctions.php file) ? Do I have to add something to my localsettings ? [19:38:07] you just drop ExtensionFunctions.php into your wiki's extensions/ folder and that's it [19:38:33] Just in the folder, not a subdirectory under that folder ? Nothing to add to the localsettings file ? [19:39:10] yes, that is correct [19:39:30] Jack_Phoenix: thank you. [19:39:32] meh [19:39:44] this weirdo function is on a code branch that is never used anyway [19:40:06] thankfully they're planning to kill ExtensionFunctions.php...soon, I'd hope :) [19:41:00] I would like to understand why the template I created for "img", gives me a wrong result : I get that : [image ] instead of [image] [19:41:01] RecentChange::loadFromCurRow is defined with one argument, but is called with two -- from only one place, in RecentChange::newFromCurRow [19:41:17] RecentChange::newFromCurRow appears to be entirely unused [19:43:03] <[1]Spearhead> hi all! can one generate an authenticated RSS feed of Special:Recentchanges? [19:43:14] authenticated? [19:43:30] <[1]Spearhead> i need to log in to the wiki [19:43:51] <[1]Spearhead> i can get the feed in the browser but not in an external reader [19:44:36] ah [19:45:18] <[1]Spearhead> maybe something like http://user:password@wiki... [19:46:13] nah, that's HTTP authen [19:46:22] mediawiki doesn't use http authen, or understand it [19:46:32] <[1]Spearhead> :( [19:46:49] i don't think there's any way to do that in the standard code [19:47:17] <[1]Spearhead> i kinda read something like that but there is little documentation on this matter [19:47:39] [1]Spearhead: i was in that code a few days ago... trying to recall how it works again [19:48:06] i still wonder why using the UDP packets to report recent changes to IRC, always works for me for the first few minutes and then simply stops , even though the client stays online [19:48:13] i assume you have your permissions set up so that Special:Recentchanges requires rights to see [19:48:32] mutante: are ou working across a firewall? [19:48:39] NotACow: no [19:48:50] NotACow: the irc client and the wiki are on the same host, it uses localhost [19:49:42] <[1]Spearhead> notacow:yes [19:50:29] NotACow: i use netcat | irc , and when i kill the process and restart it starts working again right away, then the cycle begins again [19:51:36] <[1]Spearhead> NotACow: the thing is the whole wiki is only visible if you are logged in (only mainpage is accessible) [19:52:23] mutante: hm. not sure. [19:52:58] [1]Spearhead: yeah, then what's ahappening is when the rss aggregator pulls the feed, it gets a permissions failure when it tries to generate the feed source, and aborts. [19:53:20] [1]Spearhead: you could hack the source to remove the permissions test, but then anyone could get your rss feed :) [19:56:20] hmm, I am all of a sudden getting emails about changes on talk pages and I have no such settings in my preferences. Could it be a bug? [19:58:23] Hi there... I was wondering if the parser function #titleparts ( http://meta.wikimedia.org/wiki/Help:ParserFunctions#.23titleparts: ) could be changed to allow choosing which separator we want to use. what do you think? [19:59:20] Waldir: You could use StringFunctions instead, which includes regex. [19:59:50] http://www.mediawiki.org/wiki/Extension:StringFunctions [19:59:52] Pathoschild: hum, interesting... but i think these arent enabled in portuguese wikipedia :( [20:00:06] Oh. No, they won't be enabled on any Wikimedia wikis. [20:01:05] then , what option do I have? I needed to add part of the title of an article to the replace in a find-replace rule in AWB [20:01:08] COLTS 4-0! [20:02:13] Waldir: There's a magic keyword in AWB that returns the page title, %%title%%. You could place <<%%title%%>> at the top of the page, then use AWB's regex features to parse whichever part of the title you need. [20:02:43] ooh, so it's %% we have to use!! I tried everything else but couldnt remember that :P [20:03:03] is that written somewhere? [20:03:17] http://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser [20:03:46] Those functions are pretty well documented. [20:03:56] <[1]Spearhead> NotACow: TY i will have to work around the problem some way... tho i hope they will add an option for generating a passkey in the link :) [20:04:37] [1]Spearhead: sorry i couldn't be of more help. [20:04:44] Pathoschild: the way it's written there it looks like there are more keywords [20:04:59] but anyway i just need the title for now. thanks ^^ [20:05:17] So far there's only %%title%% and %%key%%, as far as I know. [20:05:19] Welcome. :) [20:08:27] Pathoschild: the keywords arent enabled in the append/prepend boxes, are they? :( [20:09:44] I don't think so, but you can search "^(.)" and replace "<>\n$1". [20:10:00] <arvernes> Trying another template, which seems very simple, a "clear" function. I found that, and tried it on my wiki : <div style="clear:{{{1|both}}};" /> but instead of a blank I get that : <div style="clear:both;" /> [20:10:15] <Pathoschild> Waldir: With a single-line mode pattern. [20:10:47] <Waldir> hum, I'll try [20:11:57] <Pathoschild> arvernes: Link? [20:13:06] <arvernes> because of utf-8 pb ;-) this is the general link, then once there, that's "modèle: Clr" (line 15) [20:13:16] <arvernes> http://www.arvernes.com/wiki/index.php/Special:Uncategorizedtemplates [20:13:54] <Waldir> Pathoschild: why <<title>> instead of %%title%%? [20:14:27] <Pathoschild> Waldir: No, <<%%title%%>>. That lets you easily parse it after, because nothing else will be surrounded by <<>> (so you don't accidentally parse something else on the page). [20:15:01] <Pathoschild> Waldir: <div> isn't self-closing; try <div style="clear:both;"></div> instead of <div... />, [20:15:04] <Pathoschild> ... [20:15:13] <Pathoschild> arvernes: <div> isn't self-closing; try <div style="clear:both;"></div> instead of <div... />, [20:15:19] <Waldir> lol [20:15:22] <Pathoschild> :) [20:17:33] <arvernes> Pathoschild: great, that's work. Thank you. [20:17:34] <Waldir> Pathoschild: almost working, except the replace doesnt seem to recognise the \n [20:17:42] <Pathoschild> arvernes: Welcome. [20:17:50] <Waldir> should i select multiline instead? [20:18:36] <Pathoschild> Waldir: It's not really necessary; you'll probably want to remove the whole <<...>> when you're done anyway. If you want a line-break, hit the [Enter] button in the search box instead of "\n". [20:19:04] <Pathoschild> Don't use multiline, or it will add a <<...>> on every line on the page. [20:19:14] <Waldir> lol, i noticed :P [20:19:17] <Pathoschild> :P [20:20:08] <Pathoschild> Single-line mode treats the entire document as a single line, so "^" matches at the start of the page. Multi-line mode treats every line as a separate line, so "^" matches at the start of every line. [20:20:33] <CIA-6> 03brion * r26386 10/trunk/extensions/CentralNotice/ (3 files): temp demo from sandy's mock-up... [20:22:29] <Waldir> wow, so that's what single and multiline means! thanks, I finally understand that! [20:22:34] <Waldir> it makes sense now :D [20:22:41] <Pathoschild> Welcome. :) [20:22:43] <Waldir> I'm almost getting it to work [20:25:36] <arvernes> Pathoschild: hmmmm, and do you have an idea for this one ?? : [20:25:38] <arvernes> {{Indication de format [20:25:38] <arvernes> |infobulle=Image au format jpg, gif, png... [20:25:39] <arvernes> |format=image [20:25:41] <arvernes> }}<noinclude> [20:25:43] <arvernes> </noinclude> [20:26:08] <arvernes> which should looks like : [image] and which is displayed : [image</span> ] [20:26:10] <Pathoschild> Link? [20:26:21] <Waldir> Pathoschild: thanks a lot, I could do it :D I'm a little less noob in ABW matters, now =P [20:26:28] <Pathoschild> Waldir: You're welcome. :) [20:26:41] <arvernes> http://www.arvernes.com/wiki/index.php/Special:Uncategorizedtemplates [20:26:44] <arvernes> Line 23 [20:28:28] <dtolj> how to use ldapsearch to tesst connection to AD server? [20:29:13] <dtolj> i keep getting unknown authentication method error [20:29:19] <Pathoschild> arvernes: Why does the template have a <span> tag inside a <span> tag with the same conditional attributes? [20:29:31] <Pathoschild> (In http://www.arvernes.com/wiki/index.php?title=Mod%C3%A8le:Indication_de_format&action=submit ) [20:30:28] <arvernes> dunno, I try to understand how this works ;-( [20:31:33] <Pathoschild> What is it supposed to do? [20:32:48] <arvernes> it is supposed to work with # 28 and #27 [20:33:59] <wikibugs> 03(NEW) Creating internationalization of Special: Magic in Translate extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11554 15enhancement; normal; MediaWiki extensions: Translate; (bertrand.grondin) [20:36:01] <Pathoschild> Hmm. [20:36:03] <Pathoschild> Logic error. [20:36:23] <arvernes> ok, [20:36:56] <Pathoschild> {{#if:{{{infobulle|}}}|<span style="cursor:help" title="{{{infobulle|}}}">{{{format}}}{{#if:{{{infobulle|}}}|</span>}}|{{{format}}}}} [20:37:31] <Pathoschild> First, note that you're checking if {{{infobulle}}} inside the do-if-true for a check if {{{infobulle}}}. [20:38:22] <Pathoschild> Removing the nested {{#if}} seems to work. [20:38:55] <Pathoschild> It works now. [20:39:51] <arvernes> ;-) You're a genius Pathoschild . I 've been trying for such a long time to understand that, and you...bingo. you found it. ...thanks. [20:40:00] <Pathoschild> Welcome. :D [20:40:53] <AzaTht> brion-work: daily friendly reminder of bug 5678 [20:41:43] <AzaTht> on an other note brion-work, do you think bug 11473 is a good idea? [20:42:44] <ShiryuX> Hi someone =P [20:43:15] <ShiryuX> People, do you know how to edit the left panel? [20:43:46] <ialex> MediaWiki:Sidebar [20:44:47] <ialex> http://www.mediawiki.org/wiki/Manual:Interface/Sidebar [20:45:13] <ShiryuX> Thank you! =P [20:45:30] <dtolj> does anybody know if this chat is logged but some server, i need a conversation from a month ago [20:46:46] <ShiryuX> It should be logged on your Computer [20:47:09] <ShiryuX> Tools -> Logfiles [20:47:16] <Platonides> there's no "official" log [20:47:16] <ShiryuX> At the Top [20:47:16] <dtolj> how far back, i didnt manually ask it to log this channel [20:47:37] <Platonides> some people may have a personal log of it, though [20:47:43] <dtolj> i am using irssi [20:47:47] <ShiryuX> Check =P [20:48:27] <dtolj> Platonides: yea thats what i was thinking, but who? [20:49:46] <Pathoschild> dtolj: Which particular day? [20:50:38] <Pathoschild> I have 12 log files starting September 12th with "dtolj" in them. [20:52:07] <dtolj> Pathoschild: Yea it was beginning of september [20:52:27] <Pathoschild> What was the conversation about? [20:53:02] <dtolj> can you search for Ryan Lane [20:53:15] <dtolj> Pathoschild: about ldap [20:53:20] <arvernes> About the sidebar, I can't make it to display the Headings with a first Uppercase later. I write it with an uppercase, but it is displayed, with a lower case ;-) [20:54:06] <Pathoschild> arvernes: Make sure there's no page in the MediaWiki namespace with that name (for example, "Mainpage" would use the content of [[MediaWiki:mainpage]]). [20:54:50] <Pathoschild> arvernes: Searching. [20:55:24] <dtolj> Pathoschild: maybe even late August [20:55:49] <Pathoschild> arvernes: Can't find Ryan Lane in #mediawiki; I don't have logs for this channel for August. [20:56:26] <dtolj> Pathoschild: ok thanks for searching [20:56:31] <Pathoschild> Welcome. [20:56:37] <Wiredtape> Pathoschild, what is this about Ryan Lane? (I remember someone by that nick) [20:56:55] <Pathoschild> Wiredtape: Oh, it was a nick? [20:57:00] <Wiredtape> yeah [20:57:01] *Pathoschild searches for Ryan_Lane. [20:57:14] <dtolj> Wiredtape: he make Ldap extension [20:57:15] <Pathoschild> Wiredtape: dtolj is looking for a conversation. [20:57:20] <Wiredtape> I think it was RyanLane (or something similar) [20:57:34] <dtolj> could be [20:57:36] <Wiredtape> ok.. [20:57:38] <Pathoschild> I've found a few with Ryan_Lane. [20:57:54] <dtolj> Pathoschild: oh great when when were they? [20:58:30] <Pathoschild> Well, a few are just of him joining and quitting. [20:58:43] <dtolj> hmm [20:58:44] <Wiredtape> hehe [20:59:24] <Pathoschild> 'tis the fun part with searching IRC logs. ;) [20:59:54] <Wiredtape> or if you had raw logs you could just strip them :) [21:00:08] <dtolj> i am suprised mediawiki dosnt log it [21:00:45] <Pathoschild> I've found one where he says something about LDAP, addressed to specialKevin. [21:00:46] <dtolj> ShiryuX: do u log mediawiki? [21:01:02] *Pathoschild assumes dtolj had the same nick then? [21:01:09] <dtolj> yea i did [21:01:11] <arvernes> Pathoschild: thanks again. time to leave, later [21:01:18] <Pathoschild> arvernes: Welcome. Goodbye. [21:01:34] <ShiryuX> dtolj: I don't have Access to edit that page [21:01:52] <ShiryuX> But it give me a second installation to edit it as i like [21:01:58] <ShiryuX> With FTP access [21:02:46] <ShiryuX> GOOOOOOOOOOOOOOOOOOOOL DAMN GOD GOOOOOOOOOOOOOOL [21:03:09] <Wiredtape> goool? [21:03:14] <ShiryuX> Goal* [21:03:24] <ShiryuX> Boca Juniors, you should know that team [21:03:32] <ShiryuX> Soccer Team [21:03:42] <Wiredtape> I figured [21:05:05] <ShiryuX> Do you know in what file is located MediaWiki:Sidebar? [21:05:33] <Platonides> ShiryuX, edit that wikipage [21:05:35] <Simetrical> ShiryuX, it's not a file, it's a page on the wiki. [21:06:01] <ShiryuX> Okay, thanks you three (dtolj, platonides, simetrical) [21:06:08] <ShiryuX> And ialex [21:09:36] <Wiredtape> Does anyone know a guesstimate on when Single User Login might be available for interwikis? [21:10:36] <Duesentrieb> Realy Soon Now (tm) [21:10:46] <Wiredtape> lol [21:11:08] <Simetrical> Wiredtape, it will be within a few months, just as has been true at any given time within the past two years. [21:11:20] <Wiredtape> another lol [21:11:23] <Simetrical> Wiredtape, also, it will be done when Brion finishes it. [21:11:26] <Wiredtape> i needed a laugh [21:11:45] <Simetrical> Which depends heavily on his workload for all sorts of other things. [21:12:21] *Simetrical wonders why he's subscribed to mediawiki-api [21:13:15] <CIA-6> 03brion * r26387 10/trunk/phase3/includes/UserMailer.php: Fix for regression from r26357: send newtalk notifications only if user has that pref selected [21:13:42] <Wiredtape> Well, me thinks that's enough for one day.. good night... [21:14:10] <brion-work> Wiredtape: what's "for interwikis' mean there? [21:15:04] <jimbojw> hey guys - has anyone ever experienced people uploading non-images (like viruses, other executables) in an attempt to compromise a mediawiki system? [21:16:35] <brion-work> jimbojw: personally? not since the days of uploading .php files ;) [21:16:56] <jimbojw> right right [21:17:18] <jimbojw> yeah - i'm trying to figure out what kinds of concerns there could be [21:17:39] <jimbojw> to my understanding, MediaWiki already does a pretty good job of weeding out non-images before displaying the content back [21:17:50] <Simetrical> jimbojw, there are some images on Wikipedia, Commons, etc. that contain known buffer overflow exploits and stuff. Haven't heard of anything much bad happening for it, though. [21:17:53] <Simetrical> from it. [21:18:26] <Supergrilo> ate amanha ;* [21:18:27] <Simetrical> jimbojw, well, there are also executables and stuff, I think. Greg was mentioning all this lately, ask him on #wikimedia-tech. I think he's around. [21:18:45] <jimbojw> thanks Simetrical [21:19:25] <jimbojw> Simetrical: you mean gmaxwell? [21:19:35] <Simetrical> jimbojw, yep. [21:19:45] <jimbojw> ok cool - i'll ask over there [21:19:49] <jimbojw> thanks again [21:51:11] <wikibugs> 03(NEW) Editsection Links should come after Section Headlines - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11555 15enhancement; normal; MediaWiki: Page rendering; (rene.kijewski) [22:01:13] <wikibugs> 03(mod) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 (10gtisza) [22:01:38] <wikibugs> 03(mod) Editsection Links should come after Section Headlines - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11555 +comment (10thomas.dalton) [22:06:05] <CIA-6> 03brion * r26388 10/trunk/phase3/languages/ (Names.php messages/MessagesShi.php): Add stub for shi (Tachelhit) [22:34:39] <AzaTht> hmm, I something is broken with what links here [22:37:51] <AzaTht> filing bug [22:41:27] <dtolj> anybody have logs from this channel from late August? [22:41:27] <wikibugs> 03(NEW) Namespace selection in Special:Whatlinkshere doesn' t follow redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11556 major; normal; MediaWiki: Special pages; (azatoth) [22:41:42] <AzaTht> dtolj: some [22:42:10] <dtolj> I have been looking like crazy to find a conversation i had with someone [22:42:49] <dtolj> AzaTht: can you see if my nick pops up somewhere in late august early september? [22:43:08] <dtolj> i had a talk with Ryan_Lane [22:44:08] <AzaTht> aug 24 [22:44:36] <dtolj> AzaTht: can you email me the log file, i would greatly appretiate it [22:44:46] <facefaceface> hiarc, I made a modification to the newarticletext message to offer the possibility of searching for the 'newarticletext', but it dosn't work because it sticks _'s in the search. [22:44:54] <facefaceface> You've followed a link to a page that doesn't exist yet. To create the page, start typing in the box below (see the [[{{MediaWiki:helppage}}|help page]] for more info). If you are here by mistake, just click your browser's '''back''' button. [22:45:07] <facefaceface> looks fine on the page, but something goes wrong on the link [22:45:36] <dtolj> AzaTht: dejan1@gmail.com [22:46:02] <facefaceface> doh... I posted the default message, here is my message; [22:46:09] <facefaceface> You've followed a link to a page that doesn't exist yet. You can try a <big>'''[[Special:Search/{{PAGENAME}}|search for '{{PAGENAME}}']]'''</big> or, to create the page, simply start typing in the box below (see the [[{{MediaWiki:helppage}}|help page]] for more info). If you are here by mistake, just click your browser's '''back''' button. [22:47:27] <AzaTht> sent [22:47:38] <facefaceface> anyone seen anything similar working? [22:48:51] <dtolj> AzaTht: Thanks a lot Carl [22:48:51] <facefaceface> this is an example? http://biodatabase.org/index.php?title=The_scop_database_protein&action=edit [22:52:46] <facefaceface> you see when you click the link to the search it fails due to _ [22:53:14] <facefaceface> is there anything that I can do about that [22:54:55] <Duesentrieb> facefaceface: try {{#urlencode:{{PAGENAME}}}} [22:55:12] <Duesentrieb> (or was it without the #?) [22:55:29] <facefaceface> Duesentrieb, cool! I forgot about that [22:55:35] <facefaceface> I thought that would add _ [22:55:49] <Duesentrieb> no... it should convert spaces to + [22:55:59] <Duesentrieb> which... might or might not work. [22:56:03] <facefaceface> yup - which is what I need... [22:56:16] <Duesentrieb> you probably have to use external link syntax. but then, urlencode should definitely work [22:56:42] <Duesentrieb> facefaceface: + might get escaped when building a wiki link. so, use external link syntax [22:59:11] <facefaceface> You searched for Protein+database+search+test :-D works [23:00:05] <Duesentrieb> facefaceface: hm? sure? on the search page, you should not see +, but spaces... [23:00:23] <facefaceface> Duesentrieb, yeah, but the search results are correct [23:01:40] <facefaceface> http://biodatabase.org/index.php?title=Scop_pfam&action=edit [23:02:58] <facefaceface> You searched for Scop_pfam - no results, You searched for Scop+pfam - 10+ hits [23:03:43] <facefaceface> You searched for Scop pfam - same results [23:04:21] <Duesentrieb> good then [23:04:34] <facefaceface> well then [23:04:38] <facefaceface> thanks [23:04:48] <facefaceface> ;-) [23:04:52] <Duesentrieb> np [23:26:12] <wikibugs> 14(DUP) Edit summary is too short - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11550 +comment (10robchur) [23:26:13] <wikibugs> 03(mod) Increasing the length of the edit summary (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4714 +comment (10robchur) [23:28:15] <ideosync> hi. i setting up my first mediawiki and having a problem with the config. adding the line $wgGroupPermissions['*']['createaccount'] = false; seems to break things and give an error so i can no longer access the login page. [23:28:33] <ideosync> debian etch php 5 mysql 5 mediawiki 1.7.1 [23:29:01] <ideosync> i can find any documentation on this [23:29:36] <slavie|away> ideosync: Is there a ?> at the end of the file? [23:29:44] <ideosync> yes [23:29:53] <ideosync> and commenting that line out removes the error [23:31:27] <Pathoschild> Remove it; it's not needed. :) [23:36:17] <ideosync> but i need to have areas which are restricted to users, and if thereÅ› no control over account creation, thats a bit pointless, no? [23:38:19] <Pathoschild> No, I mean remove the "?>". [23:39:00] <Pathoschild> The $wgGroupPermissions line you gave above should work. [23:40:51] <ideosync> duh. sry. i can be a bit stupid at times. but no, that doesn work. still get the same. [23:41:23] <Duesentrieb> ideosync: weeellll... *what* error do you get? [23:42:26] <ideosync> the main page looks ok, but i get error as the page title, and clicking on log in goes back to itself. [23:42:46] <Pathoschild> Link? [23:42:49] <ideosync> the only other lines i have in the config are [23:42:51] <ideosync> $wgGroupPermissions['*']['read'] = false; [23:42:55] <ideosync> $wgGroupPermissions['user']['read'] = true; [23:43:03] <ideosync> www.ideosync.net/mediawiki [23:43:26] <ideosync> and [23:43:27] <ideosync> $wgGroupPermissions['*']['edit'] = false; [23:43:32] <ideosync> $wgGroupPermissions['user']['edit'] = true; [23:43:35] <Pathoschild> It looks like you didn't set the whitelist array. [23:43:55] <Pathoschild> < http://www.mediawiki.org/wiki/Help:User_rights > [23:43:58] <ideosync> what do i need to add to that? [23:44:00] <Duesentrieb> Pathoschild: is that needed? [23:44:04] <Pathoschild> See the line for "read". [23:44:06] <Duesentrieb> Pathoschild: what for? [23:44:34] <Pathoschild> Duesentrieb: He set "read" to false, but didn't set the login page as whitelisted. Thus, anybody logged out can't view the site, including the login page. [23:45:01] <ideosync> ah yes. that would be a bit daft wouldn it. sry to waste your time. [23:45:05] <Pathoschild> :) [23:45:06] <Pathoschild> The default for the array is apparently false. [23:45:09] <Duesentrieb> Pathoschild: last i looked, the login page was actually hard coded to be always allowed, whitelist or no... [23:45:22] <Duesentrieb> but then, i only saw the code, i didn't check if it actually worked :) [23:45:29] <Pathoschild> Well, it's not working here: http://www.ideosync.net/mediawiki/index.php?title=Special:Userlogin&returnto=Main_Page :) [23:45:48] <Duesentrieb> Pathoschild: the default is fals because setting it to something disables read access :) [23:46:04] <Pathoschild> Even for users with the read permission? [23:46:23] <Duesentrieb> i think so. but i havn't checked. [23:46:34] <Duesentrieb> ReadWhitelist was around before group permissions [23:46:56] <Pathoschild> That's weird; if so, the documentation definitely needs to be corrected. [23:47:11] <ideosync> ah except it worked with \just those four lines if i commented out the createaccount line [23:47:51] <ideosync> ie like now. [23:48:07] <ideosync> i just commented out the create account line and all is hunky dory [23:48:45] <Pathoschild> So maybe the createaccount right is checked for Special:Userlogin instead of the read right. [23:48:57] <Pathoschild> Makes sense, in retrospect.