[00:03:44] need some advice >_< [00:03:51] The upload directory (http://www.openrdx.com/wiki/uploads) is not writable by the webserver. [00:04:06] make it writable by the server [00:04:09] i check everything on http://www.mediawiki.org/wiki/Manual:Uploads [00:04:16] php uploads is enabled [00:04:22] fille permissions should be 755 no? [00:04:29] 777 [00:04:31] depends [00:04:41] lemmie try 777 [00:04:53] if the ownership of the directory is set to the user as which the webserver runs, 755 is good [00:05:36] still no dice with 777 [00:05:48] hmmm [00:06:01] what exactly does the Hashed thing do? [00:06:08] $wgHashedUploadDirectory = true; [00:07:51] any ideas : / [00:07:55] im stumped [00:08:18] puts files in subfolders like /b/bb/image.jpg [00:08:36] vs. just a straight listing [00:08:52] ah [00:08:58] would that effect this? [00:09:03] would seem like no [00:09:08] no, i don't believe so [00:10:18] you working on a new install? [00:10:24] yes [00:10:34] it was installed on another site [00:10:37] and i moved it today [00:10:48] its still only been live for maybe 4 days [00:11:05] uploads never worked on either server [00:11:16] you have enableuploads = true? [00:11:33] http://www.openrdx.com/test.php [00:11:35] yes [00:11:45] i'll make a pastebin of my conif [00:12:01] be sure to remove personal info [00:13:07] http://pastebin.com/m5101fdd2 [00:13:11] i beleive i removed it all >_< [00:13:17] guess i'll find out : P [00:13:23] evening [00:13:30] http://www.mediawiki.org/wiki/API:Changing_wiki_content [00:13:57] i'm confused. How can I use the API to add an article ? [00:14:59] dachary, $article = new Article($title); $article->doEdit($content, $comment, $flags); [00:15:01] wonder if i have any corrupt files or something [00:15:09] fridgid: did you rename the images directory? [00:15:37] yes to uploads, this was because of the possible pphp alias i read about [00:15:47] lch: thanks [00:15:59] $wgUploadPath = "$wgScriptPath/uploads"; [00:16:01] $wgUploadDirectory = "$IP/uploads"; [00:16:21] i should use those instead? [00:16:24] kk [00:16:26] http://www.mediawiki.org/wiki/Manual:Uploads [00:16:31] ^^ thats where ir ead about the alias [00:16:45] i don't ahve access to php.ini so i just wanted to eliminate the possibility [00:17:18] dachary, I have no idea what you digged out there, the real API documentation is at http://svn.wikimedia.org/doc/ [00:18:22] that fixed it MZMcBride [00:18:23] ty [00:18:29] yay! [00:18:29] question how was that incorrect [00:18:35] i believe those paths were correct no? [00:18:42] i guess you wouldn't know cuz you cna't see it [00:18:47] the ones you had? [00:18:50] yeah [00:19:03] you don't have a directory named /wiki/ [00:19:03] $wgScriptPath = "/wiki"; [00:19:18] hmm [00:19:20] it's not actually there, so files can't be uploaded there [00:19:56] ah well, thank you very much, saved me a lot of time xd [00:20:47] also, if i don't ahve ssh access to run the test phps whats easiest way to check for imagemagik? [00:21:29] i guess upload something and try to scale it [00:21:29] xD [00:21:42] make sure you enable it in LocalSettings [00:22:18] yup i had ti disabled just in case it was causing troubles [00:22:51] lch: is there a script in the maintainance directory that might help me push a file in an article ? [00:22:54] gotcha [00:22:57] seems like a common need [00:23:12] dachary, yes, importTextFile.php [00:23:26] haaha [00:23:35] the name is ... [00:23:41] .. self explanatory ;-) [00:24:09] contents should be exactly what you want to have as wiki text in the article [00:24:15] parameters are explained [00:25:47] fridgid, easiest way is to upload some phpinfo(); script [00:26:00] that tells you everything you need to know [00:26:01] where is it on that [00:26:03] i alreasdy have on [00:26:07] dunno what im looking for [00:26:13] http://www.openrdx.com/test.php [00:26:32] btw its not very good practice to leave a script like on the server is it? [00:26:40] once i'm done config no? [00:26:53] well, you don't seem to have imagemagick installed, at least not as PHP module [00:27:06] might still be installed on the system itself, as command line tools [00:27:28] wiki requires the php module right? [00:27:30] you should delete the file once you're over testing, yes [00:27:45] I'm not sure [00:27:53] mediatemple should have it [00:28:13] if i do no ahve imagemagick, should both settings below be false? [00:28:17] $wgUseImageResize = true; [00:28:18] $wgUseImageMagick = true; [00:28:37] Resize is a imagemagick function ? [00:28:57] seems like it uses the command line tools [00:28:59] see $wgImageMagickConvertCommand [00:50:58] is there a global Linker object I can use? [00:52:00] I'm a little surprised that I can't use the Linker without an object instance [01:19:39] How would I go about parsing data on the revision history page; alternatively, how would I calculate the size in page differences if they were not previously recorded on the revision history page? [01:20:10] are there pre-existing server variables for diff sizes? [01:44:32] <_Steve_> i have a 1.11.0 install that i've upgraded from an older version, there is no content in Help: is that normal? [01:59:50] _Steve_, there is never content in help by default [01:59:57] you have to fill it yourself [02:00:21] <_Steve_> ok [02:00:25] <_Steve_> is there any default content? [02:00:50] _Steve_: You can import some help pages; hold on, I'll find the link. [02:01:03] <_Steve_> cool, thanks. [02:01:09] [02:01:26] <_Steve_> i guess there isn't any default content.... [02:01:30] Nope. [02:01:43] mwbot help [02:01:55] >.> [02:02:52] <_Steve_> thanks for the link, i'll check that out [02:08:03] I don't suppose someone's already written a template to parse diff edit sizes if they weren't already counted? [02:08:12] and output it to a table [02:11:23] <_Steve_> hmm, imported the help, but lots of broken links there [02:21:22] What's the proper way of mirroring a wiki? [02:21:38] I don't imagine wget --mirror is going to suffice [02:22:01] <_Steve_> so, i've edited the Help:Contents page more recently than the one i imported... so my edits show up. when i click undo, all i see is my more recent version... any hints [02:22:22] <_Steve_> plus_M: dump the database then copy that over? [02:22:39] I don't have access to this particular wiki [02:22:47] Well [02:22:50] That kind of acces [02:22:51] s [02:25:04] <_Steve_> so like, with my help, all the language stuff at the bottom shows up with the #if blah stuff [02:25:10] <_Steve_> English {{#ifexist: {{#if: Help:Contents | Help:Contents | {{#if: Help | Help:}}Contents}}/ar | • {{#if: Help:Contents|العربية| العربية}}|}} {{#ifexist: {{#if: Help:Contents | Help:Contents | {{#if: Help | [02:37:05] what the heck is an xml file for? [02:44:19] R_King: In What context? [03:03:44] exporting an article into an xml format [03:03:58] i want to derive diff size and author from it [03:09:25] in the wikipedia pages there are references with tags, how can i enable this feature on my mediawiki? [03:13:12] <_Steve_> good question [03:13:38] <_Steve_> i wish there were some doc of how wikipedia is setup... or at least extensions used and a few key config settings [03:16:36] *_Steve_ debates installing the ParserFunctions extension [03:23:27] <_Steve_> is there a way to see what extensions are installed on a wiki? [03:25:03] _Steve_: Go to the wiki page "Special:Version". [03:25:10] <_Steve_> cool, thanks [03:25:21] iam8up: That's the cite.php extension; search mediawiki.org. [03:25:33] _Steve_: Welcome. [03:26:08] <_Steve_> just installed parserfunctions, but now i get blank pages... hmm.... [03:26:58] <_Steve_> oh, need dir [03:27:54] <_Steve_> hmm, works again, but still no parserfunctions working [03:28:16] i don't suppose anyone knows of an XML parser so I can process the output of a history, do they? [03:29:47] _Steve_: Try pasting your LocalSettings.php in . Be sure to remove the database info and any other sensitive information. [03:31:41] 03(NEW) invalid HTML: invalid width attribute value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11738 normal; normal; Wikimedia: wikibugs; (peter.moulder) [03:32:40] Pathoschild - http://www.mediawiki.org/wiki/Extension:Cite/Cite.php <-- it says to stick the require_once near the bottom of the file, any suggestions (i was gonna put it below the require_once for DefaultSettings.php) [03:34:12] iam8up: At the very bottom is good, but above "?>" if it's there. I'd suggest adding a new section like "Custom settings". [03:34:17] i see [03:34:22] 14(INVALID) Dropdown Lists - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11737 +comment (10yaron57) [03:34:31] oooh i get it, at the bottom but inside the php tags... [03:34:36] Yep. :) [03:36:02] <_Steve_> http://rafb.net/p/nTjSWN51.html [03:36:06] 03brion * r26873 10/trunk/extensions/CentralNotice/CentralNotice.php: sighhh [03:36:22] <_Steve_> Pathoschild: there ya go [03:36:31] thanks a bunch for your help [03:36:40] iam8up: Welcome. [03:38:24] _Steve_: Could you link me to your wiki, if it's public? [03:38:35] <_Steve_> not public [03:39:04] Okay. When you write "{{#if:true|do if true}}", what does it output? [03:39:39] <_Steve_> do if true [03:39:50] Then it's working perfectly. [03:39:52] <_Steve_> ok [03:40:01] <_Steve_> so why doesn't it work on the Help:Contents page I imported? [03:40:34] Try going into edit view and clicking save; you don't have to change anything. [03:40:41] That should rerender the page. [03:41:05] <_Steve_> uh, yeah, that did it [03:41:08] <_Steve_> so... ? [03:41:26] So it's working, but cached pages still show the version cached before ParserFunctions were installed. [03:42:36] <_Steve_> k [03:44:19] <_Steve_> thanks [03:44:22] <_Steve_> i guess that's solved [03:44:44] <_Steve_> and now i know how to find out which extensions are installed [03:44:54] <_Steve_> although that doesn't cover things like enabling math in the config file [03:44:59] <_Steve_> which i have to figure out [03:45:15] <_Steve_> one thing i want to figure out too is how to make infoboxes and such [03:48:53] <_Steve_> hmm, and i guess that also doesn't cover css type things [03:49:56] <_Steve_> like, i'm copying over an infobox template from wikipedia and the layout is all wrong... [03:55:14] <_Steve_> there seems to be some css in index.php.... i wonder how that ends up there... [04:02:27] _Steve_: you need to copy MediaWiki:Monobook.css and MediaWiki:Common.css to get various CSS classes to work correctly [04:03:37] <_Steve_> oh, thanks. [04:03:53] <_Steve_> dare i ask why this isn't default? :) [04:05:32] Because those are custom classes for templates created by the en-Wikipedia community. The default classes are defined elsewhere. :) [04:05:41] :) [04:05:59] <_Steve_> ok [04:06:13] <_Steve_> so i did that, but no luck. :( [04:06:33] did you bypass your cache? [04:06:45] it's imperative [04:07:11] <_Steve_> i'm doing a preview edit... [04:07:22] of what? [04:07:28] <_Steve_> of the infobox template [04:07:44] unless you've bypassed your cache, anything in your browser window will display wrong [04:07:56] <_Steve_> do you mean browser cache or php cache? [04:07:59] browser [04:08:02] Browser. [04:08:09] If you're using Firefox, hit CTRL+R. [04:08:17] alt-f4 if you're on windows i believe [04:08:27] or hold down shift and press the refresh button infirefox [04:09:57] <_Steve_> yeah, did that, no luck [04:11:09] <_Steve_> oh wait, sorry [04:11:13] <_Steve_> preview... [04:11:21] 03(mod) invalid HTML: invalid width attribute value - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11738 +comment (10peter.moulder) [04:11:35] <_Steve_> had to save, then do then do the refresh [04:13:24] ...save MediaWiki:Common.css ? [04:16:19] <_Steve_> did that [04:17:41] _Steve_: it's working now? [04:17:46] <_Steve_> sorta [04:17:58] <_Steve_> part of the infobox layout is correct [04:18:00] <_Steve_> part is foobar [04:18:12] <_Steve_> and all pages are now missing the page name in them [04:18:30] you're working with a template? [04:20:24] <_Steve_> yeah [04:20:29] did you take it from wikipedia? [04:20:40] which template? [04:20:52] <_Steve_> Template:Infobox Software [04:21:00] <_Steve_> i'm trying to figure out infoboxes [04:21:04] <_Steve_> and other thing, like shortcut boxes, ec. [04:21:12] <_Steve_> so i just picked that one randomly and gave it a try [04:21:25] it's most likely caused by not enabling tidy [04:21:29] !tidy [04:21:29] For more information about HTML Tidy, see . [04:21:45] <_Steve_> (side note, deleting monobook.css fixed the all pages layout problem) [04:21:47] <_Steve_> ok [04:21:56] it cleans up the code, especially in templates [04:22:16] <_Steve_> cool [04:22:34] <_Steve_> let me give that a try [04:24:11] <_Steve_> hmm, how do i tell if it's working? [04:24:19] <_Steve_> i installed tidy and enabled it... *shrug* [04:27:10] <_Steve_> so i created the template and it looked OKish [04:27:20] <_Steve_> on a sandbox page, i used the template [04:27:29] <_Steve_> the name part is fine, but other attributes look off [04:27:50] <_Steve_> ok, sorry, bed [04:28:24] !xml [04:28:45] hmm [04:29:30] R_King: What are you looking for? [04:30:45] <_Steve_> or not [04:30:56] <_Steve_> ok, that's weird. when i edit the sandbox page, it looks right [04:31:05] <_Steve_> when i view the page, it doesn't.... must be a cache thing [04:31:27] <_Steve_> yep... ok. [04:32:00] what I need is a way to parse article histories to determine user contribution based on diffs [04:32:15] _Steve_: all better? [04:32:17] I can get the whole article in an xml document using Special:Export [04:32:19] <_Steve_> yep [04:32:30] fantastic [04:32:51] <_Steve_> thanks for the help [04:33:15] but I can't seem to figure how to extract what I need from the document [04:33:35] <_Steve_> i suppose i'll have to wait until tomorrow to get stuff working [04:34:37] i basically want to generate an html table that says [04:35:05] this user contributed (x) bytes out of (total bytes) to the overall article [04:35:10] Ah I see. [04:35:46] there doesn't seem to be any easy way of doing it though [04:36:25] The XML export wasn' really designed for that. [04:36:28] R_King: That would be very difficult; if user X contributes 300 bytes, then user Y reverts the 300 bytes three revisions later, did user X still contribute 300 bytes? [04:36:56] I think there was a "blame" extension to highlight text based on who contributed it, though. [04:37:16] *Shanel blames Pathoschild. [04:37:29] Yep. [04:37:38] in either case, I also need to count words contributed [04:37:47] in case of rewriting [04:38:01] there will be manual weights adjusted though [04:38:03] to edits [04:38:32] but i still have to extract the information I need, and that is where I'm totally up the creek [04:39:11] R_King: Here's the similar extension I mentioned: [04:43:29] that appears to be pretty useful and close to my goal [04:43:43] but there's no indication of record keeping [05:05:53] Hi, trying to work out how to add a user to the sysop group [05:08:48] sime: use the wiki page "special:userrights" if you have a bureaucrat flag. The user created during installation should have it. [05:11:16] Cool. is a bureaucrat higher then sysop ? [05:12:26] No; it just has different user rights. [05:12:44] Most bureaucrats are also sysops, because they have different rights. [05:13:08] If you want to know the specific details: [05:13:12] !rights [05:13:12] http://www.mediawiki.org/wiki/Help:User_rights [05:13:44] Yes, i assumed that sysops double as bureaucrats. [05:14:33] The only thing a bureaucrat has is access to [[special:userrights]]. [05:14:42] to create a group, i have a line like this: [05:14:42] $wgGroupPermissions['new_group']['action'] = true [05:14:46] Yep. [05:15:08] Keep in mind that 'action' can't be anything; it has to be an existing right. [05:16:45] Does the API in the default configuration, allow anybody to perform request to the API (e.g. user signup)? [05:17:30] Because I only want to allow access to the API from specific scripts (probably using a magic string) [05:36:12] i wanna know if there's a restriction on template usage in individual article [05:36:27] like some templates are not expanded in: http://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:%EB%B0%94%EB%B2%A8#T [05:40:20] apparently there's a restriction, but i want the information about it [05:42:12] puzzlet: the channel seems dead right now; you may want to ask again later [05:45:25] puzzlet: Yes. There's a restriction on "pre-include size", which is the total size of all the content the server has to process (including everything on the documentation page, like 'd documentation). [05:45:28] I think it's 2MB. [05:46:59] That's why en-Wikipedia and some wikis use templates like http://en.wikipedia.org/wiki/template:documentation to show content from a subpage; then the documentation only a few dozen bytes for "{{documentation}}", instead of kilobytes for the full documentation text. [05:47:13] only takes up* [05:47:25] puzzlet_: Did you get my answer? [05:47:53] nope [05:49:34] *puzzlet_ thinks this university isp sucks [05:49:34] Yes. There's a restriction on "pre-include size", which is the total size of all the content the server has to process (including everything on the documentation page, like 'd documentation). [05:49:40] I think it's 2MB. [05:49:43] That's why en-Wikipedia and some wikis use templates like http://en.wikipedia.org/wiki/template:documentation to show content from a subpage; then the documentation only a few dozen bytes for "{{documentation}}", instead of kilobytes for the full documentation text. [05:49:54] only takes up* [05:50:13] Great, I even forgot to correct the typo while I was backpasting. [05:50:56] why would you ever have a 2MB template? [05:51:00] I mean, seriously... [05:51:35] Does anyone know who's working on RegUser for the API? [05:52:15] i dunno, the more appropriate question is "Is anyone working on RegUser for the API"? [05:52:25] puzzlet_: You generally won't have a 2MB template, but you might have 500KB of article text, plus a 32KB infobox template with 100KB of documentation, plus another template, plus an awesome template with 15K of documentation that's used 30 times on the page... [05:52:51] It won't happen often, but it did happen before with rather severe consequences for server performance. :) [05:53:45] Werdna: According to the talk page, Yurik is working on it, it isn't in the tree yet. [05:54:00] but even if you have {{documentation}}, doesn't it count recursively? [05:55:03] bloopletech: tyhat doesn't mean anything. according to the talk page, I'm working on an anti-tor extension, whereas we all know quite well that it's done fine with $wgSorbs* [05:55:09] Pathoschild: eugh, templates [05:55:11] *Werdna shudders. [05:55:27] hail {{meta-programming}} [05:56:16] puzzlet_: No, because the server won't go get the content of what is in {{documentation}}. It will only get the text "{{documentation}}" (about 42 bytes), and remove it from the output in the article. [05:56:52] It *would* count if you removed the , though, since it would get it (and any documentation on *that* template) to put in the article. [05:59:30] Werdna: Well-written templates are awesome, but users don't tend to write them well. :) [06:00:14] would {[documentation}} preseve the performance with too? [06:00:23] instead of using [06:00:29] It continues to be my position that some of the functionality currently achieved using icky template syntax is better-implemented as an extension. Of course, we have accessibility issues. [06:00:32] Maybe there should be a template for articles describing something that isn't implemented yet. [06:01:05] I.e. "This article describes a fatureset that is not yet implemented" [06:01:14] *featureset [06:01:24] puzzlet_: Yes, the effect is exactly the same. [06:01:33] ok [06:01:36] thanks [06:01:42] Welcome. [06:01:55] Werdna: Which accessibility issues? [06:03:33] well, the fact that anyone can write a template, and about 108 people can write an extension. [06:04:50] Anyone can write an extension, if they know how. It might not get implemented in MediaWiki, though. [06:05:43] s/\Qif they know how.\E/**IF THEY KNOW HOW**/g [06:07:18] Pathoschild: Why don't you write one huh? :O [06:07:40] {{#switch:{{#if:{{uc:they_know_how}}}}|true=they know how|false=accessibility problems omg!}} [06:07:42] :p [06:08:01] Nerd. [06:08:04] ...actually, that would always resolve to blank. Close enough. [06:12:48] *Werdna forces Pathoschild to use his online IDE [06:13:03] *Mrs_Pathoschild slaps Pathoschild. [06:13:14] Since you'll be awake all night, go do it. :O [06:13:23] *Pathoschild lazes sleepily. [06:15:42] *Mrs_Pathoschild slaps you awake. [06:16:00] :'( [07:34:33] Hi... Is it possible to enable text wrapping for a thumb, but when it comes to a header to stop it? [07:37:21] Found it...
[08:13:15] 03ilabarg1 * r26874 10/branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php: BUG corrected- Edittime must be formated before builds wpEdittime parameter. [08:32:14] mornin folks [08:33:36] i cant set a logo, whatever i do! where is my fault? i set the $wgLogo path a thousand times, i changed the image from gif to png, no success [08:33:51] the img is smaller then the standard res 150px square [08:34:27] i also changed the rights and stuff [08:34:37] i can access the pic directly [08:34:45] but its not on the page :( [08:35:09] do you have a link to the page? [08:35:29] and can you put your localsettings with passwords etc. removed in a pastebin? [08:35:31] !pastebin [08:35:31] Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [08:35:43] @search help [08:35:43] Results: [ask, interwiki, magicword, mwbot, namespace, namespaces, parserfunctions, rights, syntax, timezone, usergroups] [08:36:51] Does anyone think that a link to http://blog.anubite.co.uk/index.php/getting-good-irc-support/ is worthy of being featured in the topic or a factoid. I think it is very accurate and concise. [08:40:32] MinuteElectron: https://lnx9.un.hrz.tu-darmstadt.de/wiki/index.php/Hauptseite [08:41:36] pretty odd [08:41:53] i just realized its only on some pages [08:42:02] on others the logo is visible [08:42:37] It is because your browser is treating index.php/ as a subdirectory as apposed to a page. [08:43:06] err... there seems to be majopr breakage in the EditPage in latest HEAD [08:43:16] can anyone even edit using the latest development version? [08:43:20] I will try. [08:43:41] MinuteElectron: so how can i change that? [08:43:54] i see a call to self::getCheckboxes in line 1172, but getCheckboxes uses $this and must thus not be called in a static way... [08:43:57] what gives? [08:44:00] You could either use rewrite rules, or some other method that I can't think about at the moment. [08:44:26] Duesentrieb: WikiTest updating, will be live in about 2-3 minutes. [08:44:55] <_wooz> lo [08:45:05] hm right when i replace the / with a ? it works :( [08:45:22] Duesentrieb: what revision are you on? [08:45:47] 26874 [08:45:58] What page do you see the bug on? [08:46:03] oh, wait [08:46:13] my fault. it's not clean. i have been plaing with permission stuff [08:46:14] sorry [08:46:23] >:( [08:46:36] *Duesentrieb hides [08:46:45] ;p [08:47:21] MinuteElectron: rewrite rules? is it some special routine or do i have to take it literally? [08:47:33] @search rewrite [08:47:33] Results: [] [08:47:37] @search url [08:47:37] Results: [logo, purge, shorturls, simpleurl] [08:47:47] !shorturls | Napfton [08:47:47] Napfton : To customize the format of URLs on your wiki, please see . [08:48:17] thx [08:48:20] ill have a look [09:00:54] hm [09:00:58] dont work [09:01:04] :( [09:08:20] Does anyone know of a 1.10/1.11 compatable wikifarm setup? [09:08:33] Some kind of webmin if possible. [09:08:53] I need to host about 5 different wikies for my company and would rather have a single setup [09:09:59] did you look at the Farmer extension? [09:10:16] or write your own, it's not that hard [09:10:24] Duesentrieb: Doesn't work with 1.10/11 [09:10:30] 1.8 was the last stable release. [09:10:42] it doesn't? sure? [09:11:35] Do you know of any other solutions or is that my best bet? [09:11:37] MinuteElectron: sry i have to bother you again, but i cant get it workin :( [09:11:44] MinuteElectron: i still get 404 errors [09:11:56] i tried all howtos on the short url page [09:12:03] mrshlee: the best solution is: write your own. [09:12:14] mrshlee: you know best what you need. and if you know a little php, it's pretty easy [09:12:29] mrshlee: there's some info linked from the faw too [09:12:36] Duesentrieb: I can.. just don't want to remake the wheel if its been done before. [09:12:55] mrshlee: well... it has been invented before... in vqarious shapes :P [09:18:20] Hi [09:18:28] Why article after delete still exists in memcache? [09:21:03] re [09:21:21] MinuteElectron: now i got one shorturl tut working but still no pictures :( [09:25:49] one se [09:25:49] c [09:26:02] kk [09:26:11] Napfton: set $wgLogo="/wiki/bapedia_logo.png"; [09:26:50] still nothing :( [09:27:04] i didnt think it'd be so hard to set a logo ;( [09:28:11] get the whole URL of the image and then set $wgLogo = "http://someserver.tld/somefolder/logo_image_name_here.png"; on LocalSettings.php [09:28:19] Full URL usually work [09:28:33] yeah [09:28:38] s/url/urls [09:30:04] nope [09:30:07] still nothing [09:30:18] i also moved the pic to a totally different dir [09:30:31] why localhost? [09:30:39] why not? [09:30:51] becuase that makes no sense [09:31:04] try just putting "/bapedia_logo.png" [09:31:09] since you moved it that might work [09:31:19] if that doesn't try "https://lnx9.un.hrz.tu-darmstadt.de/bapedia_logo.png" [09:31:23] it works now [09:31:27] the last one did it [09:31:30] odd [09:31:43] not really [09:31:52] why doesnt he find the localhost thingy then? [09:32:12] because localhost is the computer the page is being viewed on [09:32:23] oh [09:32:26] damn right [09:32:40] i feel like a newbie :( [09:32:58] never mixed that stuff up on webpages [09:33:48] other q: where do i get those templates? do i have to make them all myself? or is there an archive i can dl and install? [09:34:03] like the "this user speaks german" shit on wikipedia eg [09:34:05] you must make them ourself or copy from another wiki [09:34:10] ok [09:34:13] thats what i thought [09:34:23] thanks for all your help [09:34:34] no [09:36:17] no? [09:37:01] problme [09:37:06] o is near p [09:37:19] ah [09:37:21] ok [09:37:22] :) [09:37:23] bye [09:37:32] <---- total epic noob [09:37:42] goodbye [09:37:42] :) [09:39:14] <[1]Mark> Hello. I'd like to add a tag that includes some javascript with the tagged text being inserted in the javascript. Where is the best place to start looking for this, the Manual:Tag_extensions? [09:41:35] Hello all. Is exist any way create password protected pages? [09:41:44] No all wiki, but just some pages [09:42:56] !cms | solshark__ [09:42:56] solshark__ : You are advised to install an appropriate content management package for per-page read restrictions. We will not be held responsible should a password or bank details be leaked, leading to loss of funds or one's job due to borked hacks. See if you really want too. [09:50:08] Thx [09:56:45] 03(mod) Cannot subst special page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11697 +comment (10dungodung) [10:00:18] 03(mod) Cannot subst special page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11697 (10robchur) [10:02:51] 03(mod) Cannot subst special page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11697 +comment (10daniel) [10:06:27] 03(mod) special:random sometimes displays pages in wikipedia namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11717 +comment (10dungodung) [10:22:15] 03(mod) Set logo for Hungarian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11715 (10tartaruen) [10:32:33] 03river * r26875 10/trunk/tools/addlog/addlog.py: add -h option to display help [10:49:54] Can I call DEFAULTSORT like $wgAllowDisplayTitle? In MW 1.9? [10:53:44] ugh [10:54:30] "ugh"? [10:56:07] ? [10:57:04] ugh! [11:00:17] Okay, let me repeat my question: I'm using mw 1.9. When I try to use DEFAULTSORT in a page it appears like a template link. I want to know if and how I can make an extension out of it like $wgAllowDisplayTitle. [11:01:11] Seems to me it can be done, but I think I'm missing something. [11:01:57] what are you trying to do? [11:02:20] Use the defaultsort magic key [11:02:33] magic key? [11:03:17] magic word... sort key [11:03:41] why can't you just upgrade and used the built in defaultsort? [11:03:58] why should I have to if I can just use the function? [11:04:48] because you are just making life difficult for yourself, you expect us to help you make something you can achieve simply by upgrading to the latest version. [11:05:28] NikeRabbit, I saw http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=26869 and I got a question: why does the Linker need an instance to work instead of using it via static functions? [11:05:46] lots of $this there [11:06:25] Linker::makeKnownLinkObj etc. would make sense [11:07:35] lch: wth? [11:07:55] how is Linker related to that diff? [11:08:13] anyway -> food is warmed [11:08:17] lch: linker is inherited by skin classes [11:08:26] only because of the text, "no such thing as $this in static functions" [11:08:26] lch: those classes can override how links are produced [11:08:44] flyingparchment, ic [11:08:49] $sk = $wgUser->getSkin(); $link = $sk->makeKnownLinkObj(...) [11:09:06] ah thanks [11:12:35] Hey, [11:13:47] I'm trying to sort out the messy MediaWiki HTML and I can't find a certain bit of HTML. When you go to create a new account and there is an error, an new DIV will appear with a class of 'errorbox'. Well, I've done a "grep -ir 'errorbox' ./ and changed that bit of HTML everywhere - yet it has not changed, [11:13:51] where else can this be coming from? [11:16:42] MinuteElectron: Thanks, that's a real help. [11:22:24] So, once again... is it possible to use defaultsort in 1.9? [11:22:48] not without either hacking the code or finding someway to write an extension [11:22:58] but it saves everyone time if you just upgrade [11:29:19] nevermind, I found the messy html stuffed in a PHP file, [11:29:44] MediaWiki *really*, *really* needs to separate it's logic from presentation, [11:30:21] yep [11:30:25] there is a bug [11:30:28] and a patch [11:30:57] oh there is a patch? Got a link? [11:31:26] i rather doubt there's a patch for that [11:31:28] it's a massive job [11:31:52] one that needs doing, though =) [11:32:02] i volunteer you to do it [11:32:19] I have my own project to work on :P [11:32:38] flyingparchment: there is [11:32:45] where? [11:32:56] on bugzill;a [11:33:19] somewhere [11:33:39] I just can't believe how bad the markup actually is, why do people just ignore standards >< [11:34:26] http://bugs.wikipedia.org/show_bug.cgi?id=6872 [11:34:45] that's not enough.. the problem is much larger than just monobook [11:35:06] true [11:35:24] it should be that they all use the same html, just different css [11:35:30] that patch is even worse! [11:35:31] in an ideal world that would be possible [11:35:42] AlexC_: there are several patches... [11:35:49] but this is not an ideal world [11:36:19] *flyingparchment files a bug: rewrite mediawiki as struts application [11:36:22] can a category belong to a namespace? And if so, how does a link to that category look like? [11:36:33] AlexC_: which standards? [11:36:38] lch: all categories are in the Category namespace [11:36:39] they are all not that good, now they just all completely use PHP to echo the HTML, that's madness [11:36:48] Nikerabbit: W3C standards, [11:36:51] bah [11:37:02] flyingparchment, and besides that? it's not possible? [11:37:09] AlexC_: they have many standards, not all of them very good [11:37:15] guess not :P [11:37:16] lch: *all* categories are in the category namespace. that namespace is special. [11:37:19] ok [11:37:22] got it [11:37:30] Nikerabbit: ok, XHTML/HTML strict [11:37:57] I vote for reverting to HTML. [11:38:04] AlexC_: I'd like to see which standards are being breached, and by what code. [11:38:05] AlexC_: mediawiki should output valid XHTML, or it is a bug [11:38:40] I guess the word is "well-formed" not "pretty" [11:39:03] Nikerabbit: Werdna there are *loads* of places where it does, it's filled with them. I mean there is code in there that just goes
Wow this is some text
instead of

Wow this is some text

<.div> [11:39:08] er
even [11:39:30] AlexC_: well, what standards are being breached by that? It validates, no? [11:39:46] Werdna: not at all. Doing
this is text
is not valid [11:40:15] AlexC_: {{citation needed}} [11:40:33] AlexC_: really? I haven't seen w3c's xhtml validator showing any [11:40:34] Hello all [11:41:43] AlexC_: then why does the W3C validator accept it? [11:42:10] I have created a mediawiki on my website and I have made sure that anonumous users cannot edit my pages. But how to I make sure, that users that create an account without being in a group cannot edit pages as well? [11:42:36] !faq [11:42:36] Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [11:42:56] I cant find the asnwer to this specific problem that is why I am here [11:43:14] that's weird, ages ago when I did that it was not valid - seems I'm wrong on that part [11:43:30] next standards issue? [11:43:49] there are some wikitext corner cases where valid XHTML is not produced - that's the main issue with serving pages as xml so we can use mathml and such [11:46:13] flyingparchment: does IE* support ? [11:46:18] I really like the idea of inline svg [11:46:22] i don't know what that is [11:47:04] Werdna: no [11:47:10] I'm not sure of the precise details, but I know that is part of a family of elements that allows vector graphics to be generically generated. [11:47:22] is nice, too, but I've tested that in IE, and it doesn't work :( [11:47:47] Edleen: http://www.mediawiki.org/wiki/Preventing_Access [11:55:13] Werdna: Surprise! IE* has its own standard [11:56:17] tinus_: that's not a suprise at all! [11:56:41] 'ironic' [11:56:45] it's called VML [11:58:10] here's a library that might be helpful: http://code.google.com/p/svg2vml/ [11:58:29] supposedly, it automatically converts svg to vml inside the browser [12:15:11] 06(LATER) Cannot subst special page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11697 +comment (10voyagerfan5761) [12:20:35] tinus_: svg2vml is for browsers other than IE? do you know if it's in use on any wiki? [12:23:19] I should say, any mediawiki installation [13:25:13] Afternoon [13:25:44] Quick question, when trying to install latest MediaWiki it complains about my current Apache PHP version 5.x [13:26:04] and suggests I should be upgrading :) can I force the install? [13:26:44] Gorlist: can you not upgrade your php? [13:26:59] Use Plesk Control panel, running latest 8.2.1 [13:27:02] so it does the PHP for me [13:27:19] so rather keep with that on the Dedicated Box [13:27:21] ask your admin to help [13:27:52] Unfortunately I am the admin :) [13:27:57] 03jeluf * r26876 10/trunk/extensions/MogileClient/MogileFS.php: BSD license [13:28:55] Gorlist: then I'd find a way to upgrade your php... you really don't want to force the install [13:29:37] Ok, easier route would be to try another Wiki software [13:30:05] do you have any recommendations (needs to be authenticated to view the site)? [13:30:06] if you want something subpar, go right ahead :) [13:30:32] authentication can be done by .htaccess if needbe [13:31:02] :-) Agree, mediaWiki looks good, but php restrictions seem slightly bizarre :) (though im sure a good reason behind it) [13:31:17] probably has to do with security [13:31:23] ok, well thanks for the help! will have to look into it further [13:31:57] Theirs GetWikie which appears to be a clone from M. Wikie [13:32:07] is it possible to hide certain articles, including their edits in the Recent changes etc., from a wiki? [13:32:23] !cms | lch [13:32:23] lch : You are advised to install an appropriate content management package for per-page read restrictions. We will not be held responsible should a password or bank details be leaked, leading to loss of funds or one's job due to borked hacks. See if you really want too. [13:32:46] "no" would have been sufficient [14:06:08] hello [14:06:26] guys, this is making me crazy. how can I create a page using MediaWiki API ? [14:06:46] it always gives me Unrecognised value for parameter 'action' when I request edit action [14:07:15] same thing for reguser action [14:07:34] and also $wgEnableWriteAPI is set true [14:08:40] maennj it's not in the trunk [14:08:49] action=edit is in a separate branch [14:09:21] You have to download the code from SVN at svnroot/mediawiki/branches/ApiEdit_Vodafone for action=edit|reguser|upload [14:09:53] And svnroot/mediawiki/branches/apiedit for action=rollback|delete|changerights|block|unblock|etc. [14:09:58] The rest, really [14:10:30] is there an archive file I can download ? [14:11:01] I don't have svn client I mean [14:12:24] maennj unfortunately, no [14:12:34] If you're on Windows, get TortoiseSVN [14:12:38] @search svn [14:12:38] Results: [mwbot, release] [14:13:07] aha ok [14:13:10] http://www.mediawiki.org/wiki/Download_from_SVN [14:13:12] there's a native svn build for windows, btw [14:13:15] !svn is http://www.mediawiki.org/wiki/Download_from_SVN [14:13:15] Keyword "svn" already exists. Use "!svn del" to remove it. [14:13:20] !svn [14:13:20] Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [14:13:26] thanks very much [14:13:28] @search SVN [14:13:28] Results: [mwbot, release] [14:13:38] No problem [14:13:40] one more question, can I combine the two branches ? [14:13:42] @search subversion [14:13:42] Results: [download, subversion] [14:13:52] maennj, unfortunately, no [14:13:56] TimStarling: I've been contacted by several people to update the image protection stuff to use your new repo in the format [[{ns}:Image:{filename.type}]]. Is the new stuff ready to start developing storage classes based on ns? [14:13:59] That really sucks :P [14:14:12] hm? [14:14:18] sure you can merge branches [14:14:22] :) [14:14:23] you need to know what you are doing though [14:14:26] You can *try* [14:14:30] indeed :=O [14:14:32] If you know what you're doing [14:14:37] which branches are you talking about? [14:14:44] apiedit and ApiEdit_Vodafone [14:14:57] As maintainer of apiedit I can say that it *may*, just *may* be possible [14:15:01] ah, two closely related but different branches? [14:15:02] ouch [14:15:07] ApiEdit_Vodafone and apiedit [14:15:14] But it's probably better not to try ;) [14:15:16] that's usually tricky [14:15:20] indeed [14:15:22] :) [14:15:33] apiedit is very much out of date BTW [14:15:38] aha [14:15:42] two branches dealing with totally different stuff (say, apiedit und sul) would probably be fine [14:15:51] I haven't touched a Linux box in weeks and I'm too lazy to get Perl to run svnmerge.py [14:15:53] I guess I'll get apiedit_vodafone [14:15:54] Perl->Python [14:16:49] Anyway, apiedit is almost finished (still gotta push myself towards writing action=move) [14:17:00] Then I'll start slowly merging it with the trunk [14:17:04] Very slowly :P [14:17:29] aha :) [14:17:45] wikimedia is a little bit complicated [14:18:09] Yeah it is [14:18:32] And you're not even writing any code ;) [14:18:41] :) yea [14:18:43] RoanKattouw: So, you're working on apiedit and Vodafone are working on apiedit_vodafone? [14:19:13] Yeah [14:19:25] That's why it's called apiedit_vodafone ;) [14:19:33] yeah [14:19:48] are they both going to get merged into trunk? [14:19:56] Yes [14:19:58] Once they're done [14:20:00] what's the point of having two branches for the same feature? [14:20:04] Dunno [14:20:09] I didn't really see it [14:20:10] that is what i am thinking [14:20:12] Ask Yuri Astrakhan [14:20:21] It was his idea [14:20:25] is there work based on yours or is it completely separate? [14:20:27] won't that mean there are two edit api's once it is finished... [14:20:32] s/there/their [14:20:33] No completely separate [14:20:37] No MinuteElectron [14:20:38] I have a question, is there a way to make the page only editable by the person who created it ? I know this sounds unwiki but I've been asked to do it [14:20:43] We both implement different features [14:20:50] maennj not in the core [14:20:51] ahh, i see [14:20:53] Maybe an extension? [14:21:04] !extensions | maennj [14:21:04] maennj : MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for details on writing an extension and for an overview of known extensions. [14:21:13] Vodafone does edit, user registration and upload, and I do pretty much everything else [14:21:17] (state-changing, that is) [14:21:26] ahh, i see [14:21:26] So rollback, delete, move, that kinda stuff [14:21:30] But also userrights [14:21:30] sounds funky [14:21:39] It's a lot of work [14:21:57] I sometimes think merging with trunk will be at least as much work as writing it in the first place [14:22:04] Code in Article.php is really ugly at places [14:22:11] I searched for such extension, but couldn't find one [14:22:24] I've had to change quite a lot in there, to make Article:: functions usable by the API [14:22:28] ok is it possible to modify it myself ? what page should I look at [14:22:56] what file I mean [14:23:18] Title::userCan(), I think [14:23:20] In includes/Title.php [14:23:46] maennj do you want this for *all* pages, or just for one page? [14:23:52] There is an extension that protects user pages [14:23:53] all pages [14:23:58] Right [14:24:01] really [14:24:05] that's great [14:24:18] But that just means only Bob can edit User:Bob [14:24:35] aha [14:24:41] All other pages (outside of the User: namespace) can still be edited by everyone [14:24:57] I'll check whether there's a hook somewhere in there, that'd make writing such an extension much easier [14:25:03] !hooks [14:25:03] http://www.mediawiki.org/wiki/Manual:Hooks [14:25:11] *RoanKattouw thanks mwbot [14:25:44] wow really complicated [14:27:12] http://www.mediawiki.org/wiki/Manual:Hooks/userCan that makes life easier [14:27:32] I could draw up such an extension in no time [14:27:45] maennj are there groups of users that need to be able to edit all pages? [14:27:51] Like administrators/sysops/whatever? [14:28:16] no I just want each user can only edit his own pages [14:28:23] Right [14:28:29] No matter what those pages are called [14:28:36] yes [14:28:45] So there's absolutely no power user (or users) who can edit someone else's articles? [14:28:55] maybe only administrator [14:29:08] Right [14:29:32] I'll make it so that everyone in the sysop group (the folks who can delete articles, ban users, and all that fun stuff) can edit everything [14:29:39] You can of course change that in your config [14:29:48] that's great [14:29:56] you're gonna make it ? [14:30:04] Yep [14:30:05] Right now [14:30:07] Shouldn't take long [14:30:15] wow great many thanks :) [14:32:33] 03brion * r26877 10/trunk/extensions/CentralNotice/CentralNotice.php: fix again [14:52:00] 03(mod) Author and Index namespace for Swedish Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11725 +shell (10raimond.spekking) [14:53:55] 03raymond * r26878 10/trunk/phase3/languages/messages/MessagesSv.php: [14:53:55] * (bug 11724) Update Swedish translations [14:53:55] Patch by Lejonel [14:54:21] 03(FIXED) Update for Swedish localisation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11724 +comment (10raimond.spekking) [14:58:35] re [15:00:01] Hi...I'm searching for a hook which gets active, every time a link is clicked, but even before the aricle is diplayed. Is there such a hook? [15:07:00] demagggus: yes, a few. actually, simply registering an extension function would do that (that mechanism predates hooks) [15:07:58] demagggus: "every time a link is clicked"? does that mean external links, internal links or both? [15:08:02] demagggus: ArticleFromTitle would be a proper hook that is called for every page too [15:08:43] I want to check the wikitext of each page when the page is called, but before the page is displayed [15:08:57] demagggus: oh, yea, thinking about what jimbojw said... you are aware that mediawiki only does anything when it's constructing a page, right? the act of *clicking* a link never gets to the server... [15:09:39] so, i only talk about internal links [15:09:39] demagggus: ok then. actually, pertty much all hooks are called before the page is shown. generating output is generally the last thing a webapp does., [15:10:15] you may want to hook into the parser or into outputpage, depending on what you are trying to do [15:10:29] and, wehn messing with wikitext, beware the parser cache [15:11:05] demagggus: building on what Duesentrieb is saying, the MediaWiki Parser uses a cache to store the rendered versions of pages, so "the wikitext" isn't always evaluated when the page is viewed - in most cases it won't be [15:11:31] unless you turn off the parser cache - which is a Bad Thing [15:12:57] i want to check if special tags are used within the article. referring to that I want to display just parts of the content [15:13:31] do you control the special tags? [15:13:46] demagggus: does what you want to show depend on the user viewing the page? [15:14:15] demagggus: you best bet is probably simply writing a parser function... [15:15:56] it should depend on the language settings. so far this is feasible [15:16:28] jimbojw: what exactly do you mean with "do you control the special tags?" [15:16:30] yes, the parser cache is language-sensitive [15:16:49] anyway, write a parser function [15:17:05] and look at existing multilanguage-extensions, especially multilang [15:17:30] i was asking if you are the controller of the output of the special tags - are you the sole developer. [15:17:39] Duesentrieb: OK..I'll have a look for it. thx!!! [15:18:08] demagggus: http://www.mediawiki.org/wiki/Extension:Multilang - note that there's another extenmsion with the same name, written by Rob Church, which works slightly differently [15:18:27] and it's probably better to use parser functions than to use tag hooks [15:18:32] read about extensions [15:18:40] !extensions | demagggus [15:18:40] demagggus : MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for details on writing an extension and for an overview of known extensions. [15:18:43] !extension | demagggus [15:18:46] gah [15:18:50] the bot is slow, or i'm lagged [15:19:08] :) [15:19:56] jimbojw: actually I am, but this could change... [15:20:13] Hmm [15:20:15] return ($result = $cache[$user->getName()][$title->getArticleId()] = ($user->getName() == $rev->getRawUserText())); [15:20:35] If that's not a complicated return statement... [15:20:57] especially since $result isn't used anywhere... [15:21:19] and... it does *another* assignment? in the return statement? [15:21:20] gah! [15:21:21] Yes it is [15:21:32] [[mw:Manual:Hooks/userCan]] [15:21:38] And $cache is a static array [15:21:43] ah, it's a ref-arg [15:21:50] Yup [15:24:52] maennj you still there? [15:26:57] yes [15:26:59] I'm here [15:27:03] Your extension is ready [15:27:05] http://rafb.net/p/9eMqWL64.html [15:27:19] you're wonderful :) [15:27:26] Copypaste the PHP code to a file and call it EditOwn.php [15:27:42] Then put it in the /extensions/EditOwn/ directory (you'll have to create it first) [15:27:53] Then edit LocalSettings.php and put the following line at the bottom: [15:28:08] require_once("$IP/extensions/EditOwn/EditOwn.php"); [15:28:12] And you're all set up [15:28:25] (I'm gonna write a README, but I thought you'd want it ASAP) [15:28:25] done [15:28:36] it's great thank you very much :) [15:28:48] If you have any problems: [15:28:52] roan.kattouw@home.nl [15:29:02] ok thaaanks very much [15:29:10] Just one more thing [15:29:14] yes [15:29:18] If you want all sysops to be able to edit everything [15:29:33] $wgGroupPermissions['sysop']['editall'] = true; [15:29:38] aha ok [15:29:39] In LocalSettings.php [15:30:14] ok fantastic [15:31:32] RoanKattouw: "editall"? [15:31:46] Permission for my newest extension [15:31:48] EditAll [15:32:01] Which I wrote for maennj just now [15:32:04] :) [15:32:15] ah, ok. i though it was something new in the core [15:34:49] hi [15:34:55] Hi [15:35:06] i have got a question. how can i include meta-tags for google in my mediawiki? [15:36:46] tugori: google doesn't use meta tags and they are there by default anyway [15:37:01] tested and works successfully. 10 for RoanKattouw :) [15:37:07] Thanks maennj [15:37:14] but with description [15:37:25] google uses it to display aint it? [15:37:27] I'm committing it to SVN and http://www.mediawiki.org/wiki/Extension:EditOwn any minute now [15:37:34] tugori: yeah [15:37:41] write an extension [15:37:41] Hi, RoanKattouw, how r u? [15:37:49] great :) [15:38:21] what do you mean electron? [15:39:43] When I enable $wgSMTP by setting it according manual. a file called Mail.php is required to be included but it doesn't exist so a php error will be given [15:40:12] ... [15:40:12] isn't it sth in mediawiki ? Is this a bug? [15:40:20] or... [15:40:22] http://www.mediawiki.org/wiki/Manual:$wgSMTP [15:40:25] Anything useful there? [15:40:55] "Warning: This setting requires PEAR's Mail package to be installed (run "pear install MAIL")." --> there you are [15:41:04] http://pear.php.net/package/Mail [15:41:27] does it need anything more than fsockopen [15:41:29] ? [15:41:47] and it says require_once("Mail.php") [15:41:59] but no such file exists [15:42:00] Soroush81 you need to download the PEAR package [15:42:05] Mail.php is very likely in there [15:42:10] MinuteElectron: what do you mean? [15:42:20] write an extension [15:42:29] !extensions | tugori [15:42:29] tugori : MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for details on writing an extension and for an overview of known extensions. [15:42:39] i cant [15:42:50] cant i just insert the metatags into index.php? [15:42:59] you could, but it would be ug;ly [15:44:31] 03brion * r26879 10/trunk/extensions/CentralNotice/ (CentralNotice.php SpecialNoticeText.php): [15:44:31] * Invite Satan to take our souls by using for quotes (disablable by switching $wgNoticeScroll off), per Sandy's request [15:44:31] * add quote wrapper for quotes [15:44:42] brion: OMG, no! [15:44:49] hmmm [15:45:19] it allows to create page even if $wgGroupPermissions['user' ]['createpage'] is set to false [15:45:45] maennj are you sure ['*'] ['createpage'] is also false? [15:46:03] Oh wait I think it's a bug in my ext [15:46:05] damn sorry :) I just checked it [15:46:05] Just a moment [15:46:06] MinuteElectron: and how do i do? [15:46:12] rtfm [15:46:26] this line right :) ? return ($result = $cache[$user->getName()][$title->getArticleId()] = true); [15:46:41] but however it was my mistaked I allowed * to create page [15:47:22] no your extension works fine I guess [15:47:45] because I fixed my mistake and now works fine with EditOwn extension [15:47:53] RoanKattouw, I checked now. It is installed. you can see :http://neyshabur.110mb.com/pi.php [15:48:09] Oh good [15:48:58] :-( [15:49:18] Soroush81 do you still get your error? [15:49:35] maennj are you sure that with correct permissions, EditOwn doesn't mess things up? [15:49:36] I haven't changed anything since then [15:49:44] I think I learned a little from your extension, I want to create my own extension now :) I want to create an extension that checks if someone is opening a containing adult keywods and gives a warning for 18+ yrs only [15:49:52] RoanKattouw, I'm not admin in that server [15:50:05] I just need to know what $action for viewing a page right ? [15:50:17] RoanKattouw, it just hosts the wiki site [15:50:24] maennj yes, $action == "read" in that case [15:50:38] Soroush81, where is it trying to include Mail.php? which directory? [15:50:59] great thanks [15:53:17] RoanKattow, http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/UserMailer.php?revision=26583&view=markup , line 108 [15:53:29]         if (is_array( $wgSMTP )) { [15:53:30]             require_once( 'Mail.php' ); [15:53:34] 03brion * r26880 10/trunk/extensions/CentralNotice/SpecialNoticeText.php: workaround for safari to keep it from huge width [15:54:37] That's weidr [15:54:40] weird [15:55:48] puh. calling it just weird is still nice. [15:56:04] looks like a problem with whitespaces [15:56:50] or does the post just show up strange? [15:57:06] Dunno where that Mail.php is supposed to come from [15:57:34] Anyone here know what require_once('Mail.php'); in UserMailer.php is supposed to include? [15:57:41] from the include url i would think [15:57:55] erm. include path [15:57:58] the PEAR Mail package [15:57:58] Is there any reason I can't run mediawiki from a working directory checked out from subversion? [15:58:20] Right [15:58:48] it should be as you said. it must be some pear package. [15:58:50] Soroush81 you need to download&install http://download.pear.php.net/package/Mail-1.1.14.tgz [15:59:24] to main root of mediawiki? [15:59:40] nope. [15:59:44] No, somewhere else [16:00:01] Soroush81: which operating system do you use? [16:00:03] then I should change UserMail.php? [16:00:10] it is Debian [16:00:30] no, you should edit $IP to add your PEAR include path [16:00:35] in LocalSettings.php [16:00:47] Soroush81: then you need to install php-pear [16:01:08] Soroush81: and after that you use the pear client to install the Mail package. [16:01:10] php-pear is installed you can see phpinfo [16:01:11] No, set $path in LocalSettings.php [16:01:14] DON'T change $IP [16:01:36] Yes, PEAR is installed, but the mail package isn't [16:01:42] Or maybe it is, ask your host [16:01:49] oh.ok. [16:02:26] PunkRock and RoanKattouw, thanks. I'll try it now [16:04:00] 03catrope * r26881 10/trunk/extensions/EditOwn/ (. CHANGELOG EditOwn.php README): Adding EditOwn extension [16:06:05] Soroush81: What you also can do, is download the mail package to somewhere else and add just the path of where you put it (it must be reachable to the webserver.) [16:06:29] Soroush81: but that maybe a bit tricky to solve some dependencies. [16:06:49] /some// [16:06:58] if there are any [16:07:43] Is there any reason I can't run mediawiki from a working directory checked out from subversion? [16:07:58] RoanKattouw, $title is an object right ? [16:07:59] AngryElf why doesn't it work? What errors do you get? [16:08:03] maennj yes [16:08:05] A Title object [16:08:12] http://svn.wikimedia.org/doc/classTitle.html [16:08:18] RoanKattouw: it's redirecting to the install page [16:08:31] ok [16:08:34] AngryElf: then you have to configure it. [16:08:39] Have you copied LocalSettings.php from the config/ directory to / ? [16:08:44] PunkRock: but it's already configged [16:09:29] yup [16:09:53] Have you deleted (or at least renamed, to be safe) the config/ directory? [16:13:21] oh man: Fatal error: Trying to clone an uncloneable object of class DBQueryError /xxxxx/includes/Exception.php on line 203 [16:13:40] PunkRock how the hell did you do that? [16:13:53] Did you try to clone a DBQueryError (or a DBResult) in an ext? [16:14:44] RoanKattouw: on my way. [16:15:00] PunkRock: RoanKattouw, the setup is like this: We have one "Base" directory outside apache's root -- then for each wiki we have we create a folder inside of apache and link in the base directory -- then set up an individual LocalSettings.php and images folder, this setup works fine, but as soon as we link to something that is checked out of subversion, a "Working copy" it breaks tons of things [16:15:34] Like... Special:Preferences isn't found [16:15:41] but the main page works fine [16:15:56] AngryElf you aren't mixing 1.11 code with 1.12svn code, are you? [16:16:15] no, this is our subversion repo, not mediawikis [16:16:31] it's all 1.11 [16:16:34] Maybe stuff in your SVN repo is broken then? [16:16:36] Sure? [16:16:38] positive [16:16:42] Weird [16:16:44] and the repo can't be broken [16:16:48] Gotta eat dinner now though [16:16:54] Maybe someone else can help you [16:17:04] just now I checked in our working non-svn directory into svn, and then checked it out again, and it broke [16:17:30] can I alter the contents of a page temporarily by an extension ? [16:17:51] *PunkRock heads for dinner also. cu later. [16:18:06] I mean the extension print a different contents than the original contents [16:18:40] for example I change $title->text value ? [16:23:19] hello [16:32:03] Hi here, I need a little help (I begin) with category and subcategory [16:32:26] For exemple, I have an article for Virtual Host (apache) [16:32:49] RoanKattouw_eats: fwiw it was a permissions issue, didn't have my "base" directory set to apache:apache, duh :( -- thanx for the helk [16:32:51] And I want Vhost for catégory apache and apache for catégorie server [16:33:34] But I have an article apache [16:34:09] How can I put apache in category AND in article with [[apache]] go to [[catégorie:apache]] [16:36:13] Julia, I think you want apache to be redirected to Category:Apache [16:36:22] Yes [16:36:29] Wath is the syntax :) [16:36:33] *What [16:36:53] heh, #Redirect [[Category:Apache]] [16:37:12] In my apache page or into my category;apache ? [16:37:26] Julia, empty article Apache and put it there [16:37:30] Sorry I'm french and I just begin with MediaWiki [16:37:36] Nice :) [16:37:39] I try it :) [16:39:16] ne pas de problem et je ne sai pas Francais (soaf?) un peau [16:39:33] It work ! Thank you, just a little last question, the Apache article is now visible into my apache category and link to the same page [16:39:41] lol your french :p [16:41:05] Julia, I don't find any question? try Apache by searching. You'll see everything [16:41:25] http://wiki.touch-serv.net/index.php/Cat%C3%A9gorie:Apache [16:41:48] Clic on the A section Apache and look the result for understand my question [16:43:13] maennj, Yes. It is possible. see http://www.mediawiki.org/wiki/Manual:Hooks/ArticleAfterFetchContent for example [16:43:35] but you might need to use a better hook. It depends on your article [16:43:57] Hi! How can i make mugenpedia ignore capital letters and non capital letters? [16:43:58] http://mugenpedia.de/de/Stages_hinzuf%C3%BCgen [16:44:04] you cant access the site that way [16:44:04] but that [16:44:07] http://mugenpedia.de/de/Stages_Hinzuf%C3%BCgen [16:44:28] tugori: nope [16:45:05] what do you mean with nope? [16:45:07] Julia, I solved the problem. The code needed a tiny change [16:45:07] tugori, apache's mod_rewrite can help [16:45:22] using mod_rewrite for that is a terrible idea [16:45:25] The code oO [16:45:25] just create a redirect [16:45:39] for every article? [16:45:49] yes. mediawiki doesn't support case-insensitive titles [16:45:53] is that the best way creating a redirect? [16:45:55] ok [16:46:00] flyingparchment, if he wants to have it for every article and for arbitrary characters, then it's not a bad idea [16:46:09] thanks^^ then i will do it that way [16:46:19] lch: except it's impossible [16:46:24] nah [16:46:46] as long as he conforms that all characters except the first one is lower case [16:46:49] anyway [16:47:07] Soroush81, merci de ton aide :) Thanks for your help, this is not a real problem :p [16:47:09] oh, yeah. who needs title with capital letters anyway [16:47:17] Is there a way to access diffs from the "history" page and place them in a table on another page using a template? [16:47:18] the question is why one would want that functionality in the first place... [16:47:31] like the summary data at the top [16:47:35] where it shows what changed [16:47:40] because having to remember/guess the right capitalisation for everything sucks [16:48:08] but how do you get to there? either you search or you follow some link [16:48:27] oO [16:48:28] or you're writing a link, or a URL in another page [16:48:54] but then you know where you link to and you can get there on your own :) [16:51:44] can i make a redirect that nobody sees it? [16:52:10] tugori [16:52:32] try {{DISPLAYTITLE:Your NeW title}} [16:52:51] http://mugenpedia.de/de/Stages_hinzuf%C3%BCgen [16:53:13] #REDIRECT [[Neuer Seitenname]] [16:53:15] i did it that way [16:53:31] http://rafb.net/p/mKUoBb42.html [16:53:34] tugori du kannst auch {{DISPLAYTITLE:Neuer Seitenname}} brauchen [16:53:49] I wonder why display title didn't work http://mugenpedia.de/de/Sandbox [16:54:03] is there a way to access the meta-information on the top of a diff page? [16:54:07] Aber dann sieht mann links nach [[Alter Seitenname]] nicht in [[Special:Whatlinkshere/Neuer Seitenname]] [16:54:22] ^ There I put a volunteer MediaWiki post up for those interested [16:54:48] Soroush81 do you have a page called [[Your NeW title]] then? [16:55:53] no, but With that edit Sandbox should show Your New tilte [16:56:09] Should it? [16:57:18] Shouldn't it just show the contents of [[Your NeW title]]? [16:57:43] RoanKattouw_eats, see http://fa.wikipedia.org/wiki/.ir [16:57:43] if displaytitle hadn't been used there it would show ir. in the title [16:57:43] because it is rtl [16:58:38] Right [16:58:48] But then using DISPLAYTITLE you'd have to have lots of copies of every page [16:59:00] For tugori's purposes, #REDIRECT is probably better [17:01:37] 03brion * r26882 10/trunk/extensions/CentralNotice/SpecialNoticeText.php: adjust scroll speed [17:01:38] RoanKattouw, You're right. I'd misunderstood him [17:01:56] is there a way to make thumbnails go to the actual image instead of the Image: page when clicking on it? [17:04:40] RoanKattouw, but why doesn't display title work on http://fa.wikipedia.org/w/index.php?oldid=818107 ? [17:05:07] 03(mod) Inability to mix +bot and +sysop flags for bureaucrats ( WMF wikis) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11676 +comment (10triyork) [17:05:10] Maybe because it's used twice? [17:05:11] acook, no. maybe possible in an extension. But I've never seen [17:07:17] RoanKattouw, if you remove one of them it doesn't work eigther. it is wierd http://fa.wikipedia.org/w/index.php?oldid=818110 [17:08:06] Maybe because it's an old rev [17:08:11] Try copypasting it to a new page [17:08:26] http://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%DA%AF%D9%88%D8%AF%D8%A7%D9%84_%D9%85%D8%A7%D8%B3%D9%87%E2%80%8C%D8%A8%D8%A7%D8%B2%DB%8C [17:08:28] see this [17:08:40] it is not old [17:09:47] 03(mod) Inability to mix +bot and +sysop flags for bureaucrats ( WMF wikis) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11676 (10raimond.spekking) [17:09:58] Read this http://www.mediawiki.org/wiki/Manual:%24wgAllowDisplayTitle [17:10:27] acook, you'll need to write an extension for that [17:10:32] acook, or use imagemaps [17:10:58] wait, that's an extension, too [17:11:22] RoanKattouw, Great. I see mediawiki is more intelligent than I thought [17:11:33] hehe [17:12:15] before there was a bug in mediawiki that just by setting title to bla it changed. a week ago I tested it. It was solved [17:12:24] great [17:13:38] Quick Question [17:13:42] http://en.wikipedia.org/wiki/Image:Hadrosaur-tree-v4.jpg [17:13:52] how does the image map work? [17:14:07] right hand side of the Summary [17:14:58] It's transcluded from http://en.wikipedia.org/wiki/Template:Hadrosaur_tree [17:15:18] Look at the code there [17:15:28] Ohh, whats a transclude, I have heard about them [17:15:44] but never really clued up on them. [17:16:02] {{Hardosaur tree}} [17:16:15] Is automatically replaced by whatever is in [[Template:Hadrosaur tree]] [17:16:21] That's what's happening here [17:17:23] I'd link to "Scale (map)" instead of "Meter" there [17:17:48] or Scale (ratio) [17:17:53] I have been wondering how to do image maps and that's teasing me, knowing it can be done. [17:18:32] http://rafb.net/p/mKUoBb42.html - volunteer MediaWiki developer position, take a look people :) [17:19:49] MrCheerful, http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Navigational_maps [17:22:13] lch, you are a star. [17:22:30] I would never have found that. [17:23:05] somebody else asked a related question just a minute before you joined [17:24:00] all about timing. [17:37:26] is there any way to make email address required on registration? [17:42:28] jlerner yes, there's a setting somewhere [17:42:30] Lemme check [17:43:30] $wgEmailAuthentication = true; in LocalSettings.php [17:47:11] RoanKattouw: but that only covers features that require email to work [17:47:21] "all e-mail functions except the password reminder e-mails do only work for authenticated (confirmed) e-mail addresses" [17:47:28] Oh [17:47:40] i was wondering if there's a way not to allow a user to create an account without a valid email...but i don't see it [17:48:05] $wgEmailConfirmToEdit = true; then [17:48:25] So you can create an account, but without having confirmed it by email, you can't edit anything with it [17:49:03] where do I set the math temp directory again? [17:49:35] ah [17:49:37] found it [17:51:48] hi [17:51:59] I have tried reguser api but it always gives me NoName. anyone have ideas ? [18:27:11] 03erik * r26883 10/branches/mlmw/maintenance/archives/patch-langtags.sql: -dupe index [18:30:14] 03erik * r26884 10/branches/mlmw/maintenance/archives/patch-langtags.sql: missing semicolon [18:30:27] 03brion * r26885 10/trunk/extensions/CentralNotice/SpecialNoticeText.php: randomize the marquee.... got what ugly JS :D [18:46:38] 03(NEW) Inverse selection for [[Special:Log]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11739 15enhancement; normal; MediaWiki: Special pages; (erwin85) [18:50:37] 03(NEW) Set $wgNoticeScroll to false on all Wikimedia wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11740 15enhancement; normal; MediaWiki: General/Unknown; (matthew.britton) [18:51:34] gotta love the users [18:55:42] 03yaron * r26886 10/trunk/extensions/SemanticForms/specials/SF_AddPage.php: Added Sergey Chernyshev's code for handling 'super_page' variable - bug 11711 [18:56:30] 03yaron * r26887 10/trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php: Changed most of the file to standard tabbing (no actual code changes) [18:57:50] 03yaron * r26888 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: [18:57:50] Moved checking of whether form matches source page from the 'field' handler [18:57:50] to the 'for template' handler, where it belongs [18:59:12] 03yaron * r26889 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Fixed sffAddDataLink_1_0() - now it actually works [18:59:42] 03yaron * r26890 10/trunk/extensions/SemanticForms/INSTALL: New version, 0.6.10 [19:01:37] 03(mod) Use $separatorTransformTable in convertPlural - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11730 +comment (10niklas.laxstrom) [19:28:28] 03(FIXED) Special:Imagelist returns blank page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11726 +comment (10echo53) [19:28:51] 03(mod) Set $wgNoticeScroll to false on all Wikimedia wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11740 (10robchur) [19:29:56] 03(mod) Set $wgNoticeScroll to false on all Wikimedia wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11740 (10robchur) [19:30:07] 03(mod) Set $wgNoticeScroll to false on all Wikimedia wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11740 (10robchur) [19:33:59] 03nikerabbit * r26891 10/trunk/phase3/ (3 files in 2 dirs): * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic words when called with options ''parsemag'' or ''content''. [19:35:00] 03(FIXED) {{plural:.. }} in system messages use function of site language instead of interface - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11452 +comment (10niklas.laxstrom) [19:36:59] 03nikerabbit * r26892 10/trunk/phase3/includes/SpecialCategories.php: * Support magic words in categoriespagetext [19:42:13] 03(NEW) Checkuser log suggestion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11741 15enhancement; normal; Wikimedia: General/Unknown; (djgwiki) [19:47:17] 14(WFM) Checkuser log suggestion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11741 +comment (10wiki.bugzilla) [19:47:52] 03(mod) Divide CheckUser log among individual projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11741 summary (10robchur) [19:48:04] 04(REOPENED) Divide CheckUser log among individual projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11741 (10robchur) [19:52:11] 14(DUP) Divide CheckUser log among individual projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11741 +comment (10wiki.bugzilla) [19:52:12] 03(mod) Split CheckUser log into individual, per-wiki logs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8710 +comment (10wiki.bugzilla) [19:57:07] bugflood [19:57:48] *g* [20:16:47] argh [20:17:20] message transformation doesn't work, and I don't feel like hacking the parser [20:17:34] {{fullurl:{{MediaWiki:helppage}}}} results in {{fullurl:{{ns:help}}:Contents}} [20:20:37] Nikerabbit: Try the simple hack described at . [20:21:02] That's for parameters, but it might work for message transformation too. [20:21:27] ...oh wait, I think I misunderstood the problem. [20:22:39] It works for me on normal wiki pages. [20:25:59] "rollback" is like undo for that edit, yes? [20:26:14] er, no [20:26:21] there is an "undo" button :P [20:26:36] "rollback" is for what? [20:26:51] reverts to the last version not edited by the user who edited the most recent version [20:27:22] ok [20:28:15] 03(FIXED) Author and Index namespace for Swedish Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11725 +comment (10jeluf) [20:29:29] AzaTht: you around? [20:34:42] whee! phase 1 is complete! [20:34:51] 03(FIXED) Set logo for Hungarian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11715 +comment (10jeluf) [20:36:35] 14(INVALID) Set logo for Hungarian Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11708 +comment (10jeluf) [20:38:12] 06(LATER) Define Utilisatrice: as an alias for User: on fr.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11682 +comment (10jeluf) [20:38:49] yea [20:40:54] do you run mwbot? [20:41:45] hmm, no [20:42:00] or what do you mean by mwbot? [20:42:04] do you have access the @trust list? [20:42:11] no [20:42:31] huh [20:42:45] I don't know what mwbot is [20:42:53] !access [20:42:53] For information on preventing access to your wiki, please see . [20:43:04] that thing [20:43:15] someone added me to the trust list, but it obviously wasn't you [20:43:26] amidaniel? [20:43:56] !access [20:43:56] For information on preventing access to your wiki, please see . [20:44:13] i'm searching my logs [20:44:43] well, it's being programmed by amidaniel, its ident is amidaniel, ... :) [20:45:28] then it was probably amidaniel :) [20:45:29] !cms [20:45:29] You are advised to install an appropriate content management package for per-page read restrictions. We will not be held responsible should a password or bank details be leaked, leading to loss of funds or one's job due to borked hacks. See if you really want too. [20:45:52] how might i add a line break to MediaWiki:Gotaccount ? [20:46:08] newlines,
, get passed literally [20:46:12] 03nikerabbit * r26893 10/trunk/phase3/includes/Skin.php: * Support grammar here too [20:46:37] did you try extra returns? [20:47:29] !preventaccess [20:47:29] http://www.mediawiki.org/wiki/Manual:Preventing_access [20:47:35] !foo is bar [20:47:35] You don't have permission to do that. [20:48:01] MZMcBride: yes [20:48:05] 03(FIXED) Local time for Thai Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11677 +comment (10jeluf) [20:48:09] MZMcBride: you mean you can type !foo is bar? [20:48:13] jlerner: you can't :/ [20:48:26] !foo is really the new bar [20:48:26] You don't have permission to do that. [20:48:38] i used to be able to; i was trusted pre-cloak [20:48:47] Nikerabbit:i'm starting to see that ;-) [20:48:48] i haven't been trusted with my new cloak [20:48:49] @trust wikipedia/MZMcBride [20:48:49] Added wikipedia/MZMcBride to trusted hostnames list. [20:48:54] @search [20:48:54] Results: [config, download, extensions, faq, hidetoc, highlight, imagemap, import, namespace, package, purge, rights, sidebar, subpages, subversion, support, tias, tidy, timezone, welcome] [20:48:57] some system messsages you can...oh well [20:49:07] thanks flyingparchment! [20:49:20] welcome to wiki bot, the irc robot no-one can edit [20:49:34] @trust me!!! [20:49:37] hehe [20:49:45] hehe [20:49:59] jlerner: in theory I could fix that [20:50:11] 06(LATER) Portal namespace for Vietnamese Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11603 +comment (10jeluf) [20:50:39] !preventaccess del [20:50:39] Successfully removed keyword: preventaccess [20:50:48] !preventaccess is For information on preventing access to your wiki, please see . [20:50:48] Successfully added keyword: preventaccess [20:50:57] I had some vandalism at my MediaWiki:Gotaccount page [20:51:15] how? [20:51:26] from sysops? [20:51:43] naw, must have been an edit long ago [20:51:51] it says "1 deleted edit" [20:52:03] that's a mediawiki think, i believe [20:52:19] all system messages were deleted at some point except ones that didn't have default content [20:52:24] "View or restore one deleted edit?" [20:52:25] mhm [20:52:42] it reduced the size of something [20:52:44] can't remember [20:53:32] 03(mod) Problem with namespace specific search - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7318 (10pasman.mark) [20:53:33] 03(NEW) Problem with namespace specific search - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11742 normal; normal; MediaWiki extensions: Inputbox; (pasman.mark) [20:53:40] jlerner: like http://nike.users.idler.fi/dev/?title=Special:Userlogin&type=signup&uselang=en [20:54:02] MZMcBride: as "trusted" are you trusted to trust people? [20:54:06] yes [20:54:11] yeah [20:54:20] ok [20:54:32] @help [20:55:28] *Nikerabbit wonders where he disappeared [20:56:59] !pets [20:57:06] !pets AzaTht [20:57:06] You don't have permission to do that. [20:57:10] !donut [20:58:27] @trusted [20:58:27] [wikipedia/AmiDaniel, wikimedia/Eagle-101, silentflame/member/pdpc.base.minuteelectron, wikipedia/Simetrical, cpe-69-201-152-135.nyc.res.rr.com, wikimedia/Danny-B., cc1081997-b.harli1.fr.home.nl, wikipedia/duesentrieb, clematis.knams.wikimedia.org, wikipedia/MZMcBride, c-67-171-249-42.hsd1.wa.comcast.net, fuchsia.knams.wikimedia.org, 222-153-0-95.jetstream.xtra.co.nz, rrcs-24-106-76-181.central.biz.rr.com] [20:58:35] yes? [20:58:37] oh kk [20:59:34] AzaTht: You want to be trusted? [20:59:49] mwbot will get kicked for nick spamming sooner or later... [21:00:05] Duesentrieb: hehe [21:00:18] MinuteElectron: just checking the code [21:00:23] ok [21:00:41] *Nikerabbit explodes [21:00:43] trusted will always return all trustee [21:00:53] as with seach will return max 20 entries [21:00:56] search* [21:02:22] how does one get these wikipedia/Nick hosts? [21:03:06] Ich: http://meta.wikimedia.org/wiki/IRC_cloaks [21:03:28] MinuteElectron: though I could have some use for access [21:03:41] @trust wikipedia/AzaToth [21:03:41] Added wikipedia/AzaToth to trusted hostnames list. [21:03:43] perhaps not at the minute [21:04:01] bah, not like anyone is going to abuse it [21:04:02] how do you remove a trusted user? [21:04:06] @untrust [21:04:06] Removed from trusted hostnames list. [21:04:10] @trusted [21:04:10] [wikipedia/AmiDaniel, wikimedia/Eagle-101, silentflame/member/pdpc.base.minuteelectron, wikipedia/Simetrical, wikipedia/AzaToth, cpe-69-201-152-135.nyc.res.rr.com, wikimedia/Danny-B., cc1081997-b.harli1.fr.home.nl, wikipedia/duesentrieb, clematis.knams.wikimedia.org, wikipedia/MZMcBride, c-67-171-249-42.hsd1.wa.comcast.net, fuchsia.knams.wikimedia.org, 222-153-0-95.jetstream.xtra.co.nz, rrcs-24-106-76-181.central.biz.rr.com] [21:04:16] UGH [21:04:17] MinuteElectron: haha [21:04:23] @untrust rrcs-24-106-76-181.central.biz.rr.com [21:04:23] Removed rrcs-24-106-76-181.central.biz.rr.com from trusted hostnames list. [21:04:41] MZMcBride: ? [21:04:54] i guess all dynamic addresses should be untrusted [21:05:03] ok, will do [21:05:08] I say so to [21:05:11] perhaps only cloaks should be trusted at all [21:05:14] naah, I am too chicken, [21:05:21] and wp.org [21:05:32] *MinuteElectron wonders if wildcards work. [21:05:37] I wonder when we'll get mediawiki cloaks [21:05:51] Nikerabbit: yea... [21:05:51] checking [21:05:56] Nikerabbit: Don't you read wikitech-l [21:06:02] well... [21:06:02] I posted about it but no one seamed to care. [21:06:05] wikimedia, at least [21:06:30] Nikerabbit: You have a higher standing, so maybe you could enquire. [21:06:46] MinuteElectron: no [21:06:56] bah, didn't think so. [21:07:04] it's just a hashmap [21:07:06] return trustedNames.contains(hostname); [21:07:25] MinuteElectron: when? I haven't seen such message [21:08:35] there is something about wikimedia irc bots, but I guess that's not it [21:08:59] hmm [21:10:13] Well, it appears my message didn't get through. [21:10:48] I've resent it. [21:11:08] your message was deemed unworthy [21:11:12] hey i just had a box crash and i have media wiki up on another box now... [21:11:17] it now resides in the fires of hell [21:11:21] but for some reason the index.php for the wiki/ dir isnt working... [21:11:27] :S [21:11:28] its like its not recognizing it as a p hp file... [21:11:34] but other .php's work [21:11:43] any idea why that would happen [21:12:01] it prompts me to download the index.php if i go there directly but index.php for other dirs not in the wiki dir work fine [21:12:02] Duesentrieb, rrcs-24-106-76-181.central.biz.rr.com doesn't look dynamic to me [21:12:13] same as the others [21:12:22] they all look like static IP [21:13:03] 0 errors :) [21:14:02] Nikerabbit: i visited that login page you gave e [21:14:09] me [21:14:36] Do any of my messages ever get through to do list? [21:14:52] MinuteElectron: which name? [21:15:04] minuteelectron@googlemail.com [21:15:52] MinuteElectron: ok, there is few [21:16:02] I have just posted one... [21:16:09] last from 6th sep [21:16:20] well, that is annoying. [21:16:36] I've posted several since then. [21:17:19] maybe a good time to poke some wikitech-l moderator [21:17:32] maybe it is [21:17:42] and subscribe if not already [21:17:58] I am subscribed. [21:18:31] then it's weird [21:29:12] MinuteElectron: nope :/ [21:29:26] :( [21:38:18] how do I find all articles in a category through the API? Similarly, how do I find all subcategories? [21:39:44] lch: there is a categorylinks table that can help you [21:39:49] not sure about the API though [21:39:58] yeah, I know about the SQL [21:40:02] thanks tho [21:44:28] jlerner: and? [21:45:44] How can I add an OnUnload event on the body tag? [21:46:00] I' hoping there is some function on wgOut that I can use [21:46:04] don't, use event listeners [21:46:11] on* have been out of style for years [21:46:17] event listeners...how does that work? [21:46:30] document.addEvent or so.... check google for details [21:46:51] that way you don't need to modify the html at all, just include your script [21:47:29] great...i'll google it, thanks! [21:47:53] flyingparchment: Are you a wikitech-l moderator? [21:47:59] and i'm guessing i have to use wgout->addScript to do the needful? [21:48:06] MinuteElectron: not unless it's really important [21:48:10] thisislobo: something like that [21:48:14] oh, ok :( [21:48:20] thisislobo: one of those functions doesn't work in monobook though.. i forget which [21:48:33] that's ok. I am using a custom skin [21:50:33] flyingparchment: Are event listeners compatible with all browsers? I know onUnload is... [21:50:50] thisislobo, what are you trying to do? [21:51:01] resorting to javascript should be the last method [21:51:20] i am trying to integrate MW with PHPFreeChat [21:51:37] there is an extension for that...developed by firebreather...and i am using that [21:51:56] but there is some problem with PFC and sessions/caching [21:52:56] so every time the user moves away from the chat page, i need to send to call a javascript funtion to end the chat session [21:53:07] been working on it all weekend... :( [21:53:09] whee [21:53:13] whee hee hee [21:54:08] sounds like mad cow disease oO [21:54:24] NotACow: Does it work? [22:01:55] MinuteElectron: i haven't tried yet :) [22:02:01] oh, ok [22:02:38] MinuteElectron: i would imaigne not given that there's quite a few PHP compatibility functions i haven't written yet [22:02:58] ahh, ok [22:03:26] flyingparchment or anybody else I can bug: so, there's no API solution for getting all subcategories of a category, or pages of a category? [22:03:51] why are you asking me? i know nothing at all about the api [22:05:14] ok sorry :) [22:05:18] *Nikerabbit explodes [22:05:37] 104,669 loc [22:05:45] loc? [22:05:48] lines of code [22:05:49] oh lines of code [22:05:49] lines of code [22:05:59] also library of congress :) [22:06:48] hi [22:07:26] hi [22:07:34] I'm having troubles with RewriteRules for clean/pretty URLs in .htaccess. Although it's probably an FAQ, I can't match it in http://www.mediawiki.org/wiki/Manual:FAQ. Clues ? [22:07:59] dachary, what the hell is your homepage? at first it looks like a link farm, then it looks even worse: some gigantic mercurial repository [22:08:17] :-) [22:09:01] my home page is mine, mind you. It's an auto-blogger that shows the diffs I apply to the digital world. [22:09:35] and these diffs are, indeed ultimately a large (~300GB) mercurial repository. [22:09:47] http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html respectively http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html is all you need to know about URL rewriting [22:10:14] lch: thanks curious you ;-) [22:10:22] http://www.mediawiki.org/wiki/Manual:Short_URL is all you need for MW [22:10:51] avoid mucking with mod rewrites if you can [22:10:57] the manual has everything you need [22:12:27] 03(FIXED) Ability to force super page for the page being added using Special:AddPage - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11711 +comment (10yaron57) [22:13:17] ah yes, if it's only about mediawiki you only need to know about a small subset [22:13:52] but I don't know why people say to avoid URL rewriting... it's extremely powerful [22:14:15] with great power comes great responsibility :) [22:14:19] that is why [22:14:48] *dachary explores and thanks [22:15:02] flyingparchment: I give up on event listeners for now. Can I modify the body tag directly? [22:15:13] How hard is it to migrate mediawiki from mysql to postgresql? [22:15:40] thisislobo, with an extension or by Javascript? [22:16:17] Bradipo, I think you can use export/import via XML for that, no? [22:16:28] Hmm, didn't think of that... [22:16:38] code...using wgOut [22:16:43] lch: So mediawiki has an export to XML? [22:16:49] or something like that [22:17:23] I want to add onUnload="pfc.sendRequest('/quit');" to the body tag [22:17:30] lch: Or do you mean the backup job? [22:18:08] I am open to event listeners...but not in the mindframe to learn what they are [22:18:11] Bradipo, http://en.wikipedia.org/wiki/Help:Export [22:18:31] lch: Reading, thanks... [22:19:48] lch: I want to add onUnload="pfc.sendRequest('/quit');" to the body tag [22:20:15] I know a very hacky way to do that, but I guess it isn't recommended :P [22:22:02] i'm open to hacks [22:22:10] very open, actually :) [22:22:22] ahh I don't know if you really are [22:22:31] anyway, http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay [22:23:00] but this gets executed for every page, doesn't it [22:23:15] sure [22:23:26] if it isn't the page you want you can skip it [22:24:18] so I use this and say $out->addScript()? [22:24:46] and the script i write is "document.addEventListener('Unload',myfunction);" ? [22:25:10] you could do that [22:25:23] or mess with $wgOut directly I guess [22:26:01] hmm..intriguing...thanks...lemme try [22:28:36] lch: Do you know if this dumpBackup.php requires PHP5? [22:29:07] if it is mediawiki 1.7 or higher [22:29:21] It isn't. [22:29:31] Its 1.6.x [22:29:41] then it only needs php4 [22:29:47] thisislobo, I think event listeners are still better... :P [22:29:54] Parse error: syntax error, unexpected ':', expecting '(' [22:30:07] document.attachEvent for MSIE, document.addEventListener for Mozilla [22:30:08] dumpBackup.php is complaining about that. [22:30:42] line 58 [22:31:00] That's why I wondered... [22:32:20] Maybe I've placed this in the wrong place... [22:32:41] Where exactly should the dumpBackup.php go? root of wiki? root of DocumentRoot? [22:32:51] thisislobo, http://www.brothercake.com/site/resources/scripts/onload/ [22:32:55] I see it has some includes... [22:33:08] Bradipo, it should stay in maintenance [22:33:14] and be called from command line [22:33:18] lch: Oh, its already in maintenance? [22:33:28] should be [22:33:32] So it is... :-) [22:33:44] I just downloaded it from the wiki and put it in wiki. [22:33:55] :P [22:35:33] 03(mod) Log parameter during search does not show up - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11714 (10wm-thunderhead) [22:37:35] thisislobo, http://pastebin.ca/746067 <-- you get this? [22:38:33] lch: So, does dumpBackup.php get the database info from the configuration or do I have to configure the backup script somehow? [22:38:50] it uses the config [22:39:21] Hmm, then its not finding it or something... (Can't contact the database server: Unknown error) [22:39:47] I'm running it as: php maintenance/dumpBackup.php --full [22:41:12] lch: sorry i was off trying to explore the events [22:41:22] saw your links...lemme check [22:42:27] whee! [22:43:20] lch: I added the code for the listener [22:43:30] now if i view source, i see [22:44:01] [22:44:29] 03brion * r26894 10/trunk/extensions/CentralNotice/ (CentralNotice.php SpecialNoticeLoader.php): Exceptions for test mode [22:44:38] but the problem is...how do i get the document.addEventListener statement itself to execute??? [22:45:05] When was postgresql support added? [22:45:10] thisislobo, :P [22:45:20] The listener needs to get added!!! [22:45:20] Rather, which version/revision? [22:45:27] flyingparchment...any ideas? [22:45:46] thisislobo: just write it in your js [22:46:00] http://www.mediawiki.org/wiki/Important_Release_Notes doesn't seem to mention anything about PostgreSQL support. [22:46:01] 03(mod) Template parameters unavailable to XML-style parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 +comment (10jburos) [22:46:04] even if I do that...how will it get executed? [22:46:32] doesn't there need to be some event that'll trigger the execution of that? [22:47:19] thisislobo, http://pastebin.ca/746084 [22:47:30] just add this [22:48:02] via out->addScript [22:49:46] ok...trying [22:54:05] it worked!!!!! [22:54:08] awesome [22:54:12] thanks so much! [22:54:31] this is the first time in 3 days that the chat has worked like i want it to [22:55:17] i see the new donation graphic, its timing out to the donate page... [22:55:31] Bradipo: For a long time. [22:55:38] will it work in IE? [22:56:34] gaaah, scrolling text! [22:57:49] yes...it works in IE too [22:57:52] this is phenom [22:57:57] thanks a lot lch [22:58:31] it should work in almost everything... opera, safari etc. too [22:59:48] and thanks flyingparchment too...for your idea about event listener [22:59:56] time for a celebratory cigarette [23:03:20] minute: Well its not in this version I'm upgrading from (1.6.8). [23:06:39] whee [23:11:39] Bradipo: then upgrade to 1.11 [23:12:13] minute: That's the eventual goal. [23:12:21] 'eventual'? [23:12:24] But the moment, no PHP5. [23:12:32] ahh ok [23:12:35] And the wiki says to stick with 1.6 if PHP5 isn't available. [23:12:42] Which means I'm also stuck with mysql. :-( [23:12:53] no PHP 5 == no MediaWiki1.6< == no PostgreSQL. [23:13:08] Well, 1.6 runs. [23:13:25] during 'ParserBeforeStrip', $wgTitle can be empty? :( [23:13:35] Bradipo: MediaWiki1.6< does not include 1.6, it is every version higher than 1.6 [23:14:23] Bradipo: I reccomend upgrading to PHP 5 if you can or getting a better host. [23:14:24] Oh, I see. [23:14:30] Right, that's what I'm trying to do. :-) [23:14:31] PHP 4 is deprecated this year. [23:14:45] Just the devil is in the details... [23:14:58] Kind of a chicken in the egg problem almost. [23:15:11] yeah? [23:20:20] $wgTitle->getParentCategories() returns the empty string to me [23:20:32] it should return an array per API docs [23:20:35] :( [23:22:23] I don't get this, at all [23:23:01] is there a way to access the metadata on a difference page through a template? [23:23:55] $wgTitle->getParentCategories() return string(0) "", but count() on this returns int(1) [23:24:31] 03(NEW) Wrong/no logo for Wikimania private wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11743 15enhancement; lowest; Wikimedia: General/Unknown; (james) [23:29:38] 03(NEW) Incorrect return results from Title::getParentCategories() - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11744 minor; normal; MediaWiki: API; (mediawiki-bugzilla) [23:31:23] 03(mod) Wrong/no logo for Wikimania private wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11743 +shell (10cbrown1023)