[00:00:51] 03(NEW) Commit Polish translation for Wap Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16680 15enhancement; normal; Wikimedia: WAP mobile gateway; (danny.leinad) [00:01:08] 03werdna * r44695 10/trunk/phase3/includes/ (LogEventsList.php specials/SpecialIpblocklist.php): Fix broken and double escaping in r44657. [00:01:36] brion-codereview: 44657 fixed, anything else you want me to fix up? [00:02:41] thx! looking [00:06:11] 03brion * r44696 10/trunk/phase3/includes/ (DefaultSettings.php User.php): [00:06:11] Reverting r44681 "Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack every time somebody runs an exciting event where they're going to register a lot of accounts." [00:06:11] r44592 (bug 7492) seems to cover this case with an extension to autopromote settings. Future on-wiki stuff still would be nice... [00:07:15] I thought https://bugzilla.wikimedia.org/show_bug.cgi?id=16671 was going to be something very different when I read the summary [00:07:48] Wow, that's pretty sexy. [00:12:08] *werdnum brb [00:15:38] svn up time [00:17:10] <|X|> Yay [00:21:20] 03(mod) Rename the "Image" namespace to "File" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=44 (10brion) [00:23:45] 03(mod) Subpages in MediaWiki namespace should be parsed in respective languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16669 (10krixel) [00:24:16] Error in /home/wikipedia/common/php-1.5/extensions/CategoryWatch/CategoryWatch.php line 138: syntax error, unexpected ')' [00:24:18] grrr [00:25:08] 03brion * r44697 10/trunk/extensions/CategoryWatch/CategoryWatch.php: syntax bork [00:37:38] <^demon> brion-codereview: I saw your hack for rate limit skipping for IPs. What about what I did in r44592, adding Autopromote conditions to IPs/ranges? [00:37:46] <^demon> Could be given 'nolimits' rights via that. [00:38:13] ^demon: right, that hack does what my hack did so i removed my hack [00:38:30] <^demon> (I just came across your reversion now, answered my own question :) [00:38:49] brion-codereview: yay svn up? [00:39:19] Did we break anything? [00:40:26] let's hope not [00:40:38] aww [00:40:42] but breakage is fun. [00:40:58] Do you have time to go over Configure / AbuseFilter / anything now? [00:43:58] Although I guess you've had enough of reviewing stuff for one day.. [00:51:00] holy crap, somebody wants to rent me their houseboat. [00:51:42] Lower mainland? I'm looking for a place... heh [00:52:15] in San Francisco. [00:58:51] heh [00:59:57] $1k/month for the below decks of a houseboat in SOMA. [01:00:05] What if they want to, you know, go for a drive somewhere? :P [01:00:23] if this boat's a-rockin', don't come a-knockin' [01:00:56] You said that just to rock the boat. [01:01:43] *werdnum hides. [01:01:59] *werdnum waits for firefox to unfreeze. [01:02:20] firefox froze over? [01:02:26] :s [01:03:19] There's a nice place in Russian Hill on offer. [01:04:09] $1300 or thereabouts. [01:04:39] 03aaron * r44698 10/trunk/extensions/CodeReview/CodeRevisionView.php: Fix path search regression [01:04:48] brion: weeee [01:06:08] bahhh [01:11:55] man, being able to check out potential areas with Street View is the shit. [01:13:50] hi Krimpet [01:14:31] 'evening [01:14:49] how goeth it? [01:15:14] Pretty good, got some tests coming up [01:15:38] ah, I got my results for tests today. [01:16:47] *AaronSchulz finished watching Wuthering Heights [01:17:01] AaronSchulz: Did you do so willingly? [01:17:06] yep [01:17:17] <^demon> Interesting. If you specify an offset to MostRevisions higher than the cached number of entries, it tells you the page is disabled. [01:17:59] *werdnum calls AaronSchulz a weirdo. [01:18:39] Hmm, FF is pegging my CPU [01:19:00] 03danny_b * r44699 10/trunk/phase3/includes/specials/SpecialEmailuser.php: * footer separator fix per http://tools.ietf.org/html/rfc3676#section-4.3 [01:22:00] 14(WFM) Pages briefly show multilingual text while loading - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16631 (10brion) [01:24:53] using MW 1.13.2 close to a fresh install, I am wondering how can I utilize the Linking with images as described at http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Link . is there a localsetting that needs to be set for this to function? I can't seem to duplicate what's at mediawiki.org [01:28:26] where should i be to give feedback on image uploading? #mediawiki-commons seems to be empty [01:33:02] maybe try #wikipedia-commons? [01:33:25] or #wikimedia-commons never remember the right one [01:34:51] Anyone here have experience with creating images as: [[Image:Pic.jpg|link=http://google.com/]], I'm trying to use this syntax in our installation and it will only link to the image page [01:35:55] 03aaron * r44700 10/trunk/phase3/includes/ImagePage.php: Add fragment to nav links to set location [01:36:34] brion: ahhh [01:37:01] much better :) [01:38:12] OverlordQ: thanks it's a ghost town there [01:39:24] 03(NEW) Commit summaries escaped - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16681 major; normal; MediaWiki extensions: CodeReview; (danny.b) [01:40:23] 14(DUP) Commit summaries escaped - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16681 +comment (10JSchulz_4587) [01:40:26] 03(mod) UTF-8 in commit message confuses CodeReview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16640 +comment (10JSchulz_4587) [01:44:18] 03(mod) iPhone compatibility CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16654 (10brion) [01:44:53] 14(INVALID) iPhone compatibility CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16654 (10brion) [01:49:30] I want to add .pdf to my mediawiki uploads allowed files. I did that .. but how do i expose the file?? [01:49:47] {{file:somefile.jpg?}} <-- i am looking for the tag. [01:50:06] i tried "file" and that didnt work. [01:50:13] Same as any image? [01:50:18] [[File:SomeFile.jpg]] [01:50:21] Just like a link [01:53:49] I'm not sure "iPhone compatibility" is something we should be targeting... shouldn't Apple be fixing their browser, if it's broken? We should be aiming for standards compliance. [01:54:03] werdnum - its asking me to create a new page [01:54:23] @cognizance42: check out the Click extension [01:54:50] Krimpet: shh! It's Apple. [01:54:57] 03(NEW) Special:Contributions filtering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16682 15enhancement; normal; MediaWiki: Special pages; (danny.b) [01:55:05] Apple can kiss it. ;p [01:55:27] werdnum - so it cant be "File:" [01:55:45] What do you mean? [01:56:55] The iPhone is a proprietary, locked-in platform... we shouldn't be bending over backwards for them, they should be doing the opposite. [01:59:29] @gbruin ok thanks! That looks helpful. :) [02:00:23] *werdnum giggles at Krimpet's imagery. [02:00:31] She wants apple to kiss it and bend over backwards for her. [02:01:18] werdnum, that's what they deserve for the three iPods that broke on me over the years. -_- [02:01:36] 03(VERIFIED) FlaggedRevs #mw-data-after-content overflows quickbar w/ standard classic skin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16648 +comment (10marcin.cieslak) [02:01:39] And my brother's, and my aunt's... [02:03:49] Right outside of warranty, natch. [02:07:04] Krimpet: what do you think of the G1? [02:07:18] I'm pondering getting Google's hardware-unlocked dev model for my travels next year. [02:08:33] werdnum, kind of meh, I think [02:10:07] No A2DP, no Exchange support thus hindering its usefulness, no 3G, etc. [02:10:34] er, hindering its potential markey share* [02:10:37] market** [02:10:59] Actually, I think the lack of 3G is the biggest killer. [02:11:20] That is a bit of a killer [02:11:21] hmm [02:13:08] I'm not sure I like this whole exclusive-to-one-provider thing all the big-name phones have nowadays, either. [02:13:26] Krimpet: that's why I'll buy the Google Android Dev Phone, which is hardware unlocked :) [02:13:39] werdnum, but it's still limited to GPS networks [02:13:58] You mean GSM networks? [02:14:02] erm, yeah [02:14:13] always confuse the TLAs there [02:14:15] Aren't, like, all networks GSM? [02:14:37] The biggest provider in the USA, Verizon, is CDMA. [02:14:48] And generally understood to be the best in network coverage [02:15:09] Indeed. [02:15:22] weirdos. [02:15:34] Our CDMA network in AU has been disbanded totally. [02:16:27] It's been replaced by a 3G network. [02:16:29] Verizon and Sprint are CDMA, AT&T ne� Cingular and T-Mobile are GSM [02:16:42] werdnum, um, CDMA is 3G. :) [02:16:50] Krimpet: no, that's WCDMA :P [02:17:02] EV-DO, that is [02:17:04] and anyway, it has fallback to GSM. [02:17:38] werdnum, http://en.wikipedia.org/wiki/Evolution-Data_Optimized [02:17:58] I know what EV-DO is, and it's been disbanded :) [02:18:04] we use only WCDMA now, AFAIK [02:20:03] I suppose EV-DO might not work under coolibah trees and next to billabongs. But it works pretty well here. ;) [02:21:43] (I used to have T-Mobile years ago, and their coverage was horrible.) [02:23:34] It just happens that 3G works better than EV-DO [02:23:42] and it's totally covered in Australia. [02:23:54] 98% of Australia's population has 3G coverage. [02:24:45] werdnum, you're confusing things. 3G is an adjective; EV-DO is a 3G technology, as are UMTS, etc. [02:25:05] Sorry, by 3G I meant W-CDMA :) [02:26:01] Krimpet: So, 3.6 MB/s HSDPA is available for most of AU [02:26:03] EV-DO probably died out there because it's not GSM-compatible, which a lot of countries seem to prefer [02:26:18] Yes, Australia doesn't use CDMA at all. [02:26:42] like, plain non-GSM-compatible CDMA [02:28:09] Krimpet: So I wonder if I should take one of my ad respondents on their offer of the below-decks of a houseboat. [02:28:12] It really depends on what a country adopted first, is all. [02:28:19] werdnum, o_O? [02:29:03] Krimpet: "We have a rather unique place which we would rent to you for $1,000 a month, utilities included. It is a below-deck, completely furnished one-bedroom apartment on a houseboat in SF's Soma/South Beach/Mission Bay area. This is one of 20 houseboats here in SF." [02:40:44] How am I supposed to tell if my changes break anything when a clean checkout fails multiple tests already? [02:40:55] Is this generally a temporary problem? [02:45:13] davidmccabe: just make sure you don't break anything *more* [02:45:44] gurch: What if I break something that's already broken though? [02:45:53] davidmccabe: the parser tests always partially fail iirc [02:49:45] hey gurch [02:49:59] Vonderful. [02:50:42] davidmccabe: you'd have to ask a dev but I think some of them are "things that it would be nice if they worked, but don't" [02:51:19] ah. [02:51:32] davidmccabe: yes, gurch is correct. [02:51:39] You just don't want any regressions. [02:51:45] Make sure you don't cause any new tests to fail. [03:01:34] davidmccabe, brion doesn't let us remove the tests that have failed since they were created. [03:01:49] So the parser tests are combination regression testing and todo list. [03:01:55] Nobody runs them very often anyway. [03:02:07] Well, I got a patch rejected for breaking one of them, apparently. [03:02:15] I just assumed they were a joke and never tried them. [03:02:37] davidmccabe, you should run parserTests.php --record on a fresh checkout, then parserTests.php --compare to tell if you broke anything new. [03:02:46] Yeah, sometimes people actually run them for some reason. [03:03:15] Then someone will complain about them. [03:03:22] lolwut? [03:03:32] I could put them in my 'update' and 'dcommit' scripts. [03:03:35] If someone breaks something. [03:03:56] werdnum, they only matter if you changed something related to parsing anyway. [03:04:09] Which is rare. [03:04:13] We don't have real regression tests. [03:04:28] I suppose I should have been careful when changing wfRunHooks. [03:04:47] That's a fairly important function, yeah. [03:04:51] (I am factoring out wfInvoke() to invoke our fancy flexible function descriptors.) [03:08:44] in that case, IIRC it didn't cause a test to fail, it caused a fatal error, causing the script to fail [03:09:07] So in that sense the test failed. [03:09:10] :) [03:10:32] if i have a list of information like xyz: some description, abc: some other description etc. [03:10:41] how do i make a lost of that - i don't really want bullets [03:13:25] 03(mod) SVGZ (gzipped SVG) support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4947 (10x00000000) [03:15:58] 03dale * r44701 10/trunk/extensions/MetavidWiki/ (19 files in 7 dirs): updates to remote media search [03:19:34] oh mv [03:19:42] oops, i mean never mind, i worked out a way [04:15:36] is there a setting that has to be enabled to allow users to use user js/css pages? [04:16:13] Random832: Yes. [04:16:24] what is it? [04:16:26] !defaultsettings [04:16:26] --mwbot-- For the current version of DefaultSettings.php, see: . [04:16:39] $wgAllowUserJs = false; [04:16:45] $wgAllowUserCss = false; [04:16:48] Those two are defaults. [04:16:53] why does it say there's a security risk? [04:16:54] Reverse them in LocalSettings.php. [04:17:06] that's going to give me a harder time convincing the admin to let me have my user css [04:17:10] Yes, security risk and extra load according to the comments. [04:17:20] what security risk? people can only edit their own [04:17:28] Admins can edit others'. [04:17:40] Random832: people can trick users into editing their own [04:17:42] Transclusion can allow anyone to edit it theoretically... [04:17:51] people can convince you to edit others' too [04:17:52] Random832: or security issues in mediawiki could allow that to happen [04:17:57] (Does transclusion even work?) [04:18:08] "hey, I wrote a cool script, add this to your js" [04:18:17] no, but ImportScript exists [04:18:20] I don't think so. Templates don't. [04:18:35] they are listed as being included, but they aren't really included [04:18:48] hello [04:18:49] which... probably shouldn't happen, now that I think about it :) [04:18:52] screw it, i'll just use greasemonkey [04:19:06] is it easy to put an existing wiki into an svn repository [04:19:06] without messing up stuff [04:22:27] stiv2k: what does that even mean? [04:22:55] Random832, i have an svn repository where my website lies, and i have an existing mediawiki that is outside of that repo [04:23:27] Random832, so i want to know if I can commit my wiki into the svn repository without messing it up [04:23:35] mediawiki is a software package. it uses a database. I guess you could use version control to keep track of the mediawiki scripts and your settings files [04:24:04] stiv2k: Have you seen http://mediawiki.org/wiki/Special:Code ? [04:24:18] MZMcMuffin, nope [04:24:36] MZMcMuffin: what's that? [04:24:42] *Random832 has only seen svnweb [04:24:44] is that new? [04:24:52] 03(NEW) Transcluded templates in user css/js shouldn't be listed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16683 15enhancement; normal; MediaWiki: General/Unknown; (mikelifeguard) [04:24:55] 03(mod) Transcluded templates in user css/js shouldn't be listed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16683 15enhancement->normal (10mikelifeguard) [04:25:01] Sorta new. It's what Wikimedia uses now to do code review. [04:25:37] 03(mod) Transcluded templates in user css/js shouldn't be listed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16683 +comment (10random832) [04:25:48] mike: and links, categories, images, etc [04:25:50] does svnweb still work? [04:26:01] *MZMcMuffin has no idea. [04:26:10] because i don't see a directory tree [04:26:42] Try to be more like a tree, it knows just when to bend. And it knows when you should take a stand, helping strangers, helping friends. [04:26:55] MZMcMuffin, hmm [04:27:18] MZMcMuffin, thats not really what i was talking about [04:27:26] stiv2k: Okay. [04:30:41] im talking about putting my existing mediawiki installation into an svn repository.... i dont really know how else to describe it [04:31:29] you mean the php files? [04:33:26] Mike_lifeguard: you should change the title of that bug to something like "User CSS/JS should be parsed as it is rendered, with all wikicode ignored (treated as source/pre)" or such, or you'll just keep getting "Also links" "Also images" comments [04:34:05] (the problem being, it parses the page for the pages' tables as if it wern't escaped, since of course it isn't except on view) [04:34:20] *MZMcMuffin parses Splarka. [04:34:22] 03(mod) User CSS/JS should be parsed as it is rendered, with all wikicode ignored (treated as source/pre) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16683 summary; +comment (10mikelifeguard) [04:34:57] *Splarka backlinks to MZM, puts him in namespace -2 [04:35:40] Media? [04:36:56] <|X|> MZMcMuffin, /nick MCMcMedia [04:37:35] MZM. [04:37:40] MC? [04:37:44] *MZMcMuffin still got pinged. :-( [04:37:47] master of ceremonies? [04:38:00] <|X|> *facpalm* [04:38:10] how? MCM? [04:38:20] Facpalm? [04:38:21] [x] don't have loose hilight regex [04:38:31] Splarka: It's a common mistake by people. [04:38:34] *|X| slaps Splarka [04:38:35] So I cover it. [04:38:57] [x] don't pay attention to stupid people [04:38:57] MQMcBride [04:39:06] *|X| spals Splarka [04:39:09] That's the "McBride" pinging. [04:39:11] <|X|> ARGHHHHH [04:39:28] <|X|> Don't pay attention to stupid people, including yourself [04:39:39] [x] don't have a nick shaped like a very common ascii representation of a checkbox [04:39:47] Okay, I'm working to enable image uploading to my media wiki, it is version 1.6.5 [04:39:51] [x] pings him? [04:40:04] NomadOfNorad: Did you get stuck? [04:40:12] MZM: yes, and he gets uppity if we DARE to mention it in relation to, oh, say, user options [04:40:28] I'm wading through the instructions at http://www.mediawiki.org/wiki/Configuring_file_uploads [04:40:51] Options: [x] ban him from the channel; [x] quiet him; [x] profit? [04:41:31] I'm just wondering: do I NEED to enable $wgGroupPermissions['autoconfirmed']['upload'] = true; on the site, if I've added the line $wgGroupPermissions['uploadaccess']['upload'] = true; ? [04:41:42] hmm, seems freenode treats {} as distinct (some treat {} as uppercase []) [04:42:17] NomadOfNorad: I don't believe so. [04:42:18] X: you should usurp {x}, 167 weeks unused [04:42:31] then we can ping you more annoying ways [04:42:32] Though you'll want to give autoconfirmed status to uploadaccess then. [04:42:49] I do want to allow the replacement of revised pictures... but the instructions above don't seem to tie that to the new uploadaccess class [04:43:38] What exactly does autoconfirmed do, anyway? [04:43:57] It's a threshold. [04:43:58] I don't want just any old users to be able to add pictures to my site... [04:44:02] ah [04:44:29] Depending on configuration, it allows people to not be able to do certain actions based on, for example, length of time since registration. [04:44:36] Or number of edits. [04:44:43] It's good for things like page protection sometimes. [04:44:52] Or blocking uploads by brand new users, for example. [04:45:07] Mike_lifeguard, yes, the php files [04:45:33] 03(mod) Refactor upload code to split backend and interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14925 (10tstarling) [04:48:04] MCMcMedia: http://test.wikipedia.org/w/api.php?action=query&prop=links&titles=User:Splarka [04:48:56] That doesn't ping. [04:49:07] :O [04:49:09] What'd you do? [04:49:43] http://test.wikipedia.org/w/index.php?title=User:Splarka&curid=12373&diff=66522&oldid=66383&diffonly=1 [04:49:54] Without &diffonly that page is a PITA. [04:49:57] bug in [[Image:|link=]] [04:50:04] *Splarka grins [04:56:10] I'm assuming I'm correct to add $wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'zip'); [04:56:10] to the LocalSettings.php file like all these other things [04:56:31] (As apposed to a different .php file) [04:57:18] NomadOfNorad: Yes. All configuration happens in LocalSettings.php [04:57:25] Thankee [04:58:05] Should I add MP3 and OGG to that? [04:58:19] dunno - do you need to allow upload of those file types? [04:58:27] *NomadOfNorad shrugs. [04:58:36] If you want people to be able to upload mp3 and ogg you should add those. [05:00:34] Guess I'm trying to cover all my bases... [05:02:03] ogg IS the usual extension for the open-source sound format, right? [05:03:16] Sort of. [05:03:23] I think the proper format is actually [[.oga]]. [05:03:49] http://en.wikipedia.org/wiki/Theora [05:03:54] Dunno. [05:04:37] http://en.wikipedia.org/wiki/Vorbis Ahh, here we go. [05:05:03] MZMcMuffin: https://bugzilla.wikimedia.org/show_bug.cgi?id=16651 [05:05:40] Yeah, yeah. [05:05:42] But this isn't for Wikimedia. ;-) [05:06:06] I think the proper format is actually [[.oga]]. [05:06:21] Hey, I said that! [05:06:25] pedantics [05:06:32] That page should redirect. [05:06:46] Fixed. [05:06:52] hey, you should outline a framework for an extension called "Pedantic MediaWiki" [05:07:07] Heh. [05:07:40] that breaks on any sort of failure in spelling, capitalization, whitespace.. well, more so than the native code [05:08:13] Haha. [05:08:14] TimStarling: http://tech.yahoo.com/blogs/null/111811 :) [05:31:19] http://www.google.com/search?hl=en&client=safari&rls=en-us&q=wfInvoke+site%3Asvn.wikimedia.org&btnG=Search [05:31:26] We really ought to let google spider that site. [05:32:27] well, not http://svn.wikimedia.org/viewvc/mediawiki/USERINFO/ :) [05:32:54] I'm getting No standard web pages containing all your search terms were found. when I follow that google link [05:35:37] http://google.com/codesearch?num=100&q=package:svn.wikimedia.org/svnroot/mediawiki/trunk+file:phase3/+wfInvoke ? [05:36:06] What's that /USERINFO page about? [05:37:12] NomadOfNorad: info about users? [05:38:14] That much is obvious, but... wiki users? Webforum users? [05:38:23] +is it [05:39:16] NomadOfNorad: committers. [05:39:43] as in theose that have committed to the cause? :D [06:04:44] What's an MPP file? [06:04:51] umm, about notification emails - i've set $wgUsersNotifiedOnAllChanges to my Wiki user. now another person *moved* a page "OldName" to "NewName". I got a notification email with the topic "... page OldName has been created...". I think this should be "... page NewName has been created..." - known issue? [06:07:09] I did a wiki search, and the only software-file-ish thing I can find for MPP is Microsfot Project Plan file format... [06:07:32] So I gues there isn't really a reason for me to have those being uploaded to my wiki, right? [06:12:19] Gee, I do hope I didn't scare wolog off... :-| [06:19:12] How would I know if my installation of PHP has GD library installed on it? [06:34:02] morning folks [06:34:11] mornin [06:37:17] it seems like I need to bulk-delete a couple of spambot users from my wiki.. what'd be the best way to do this? [06:38:17] I'm interested in deleting some users from my wiki, too [06:40:23] I use MergeUser and Renameuserextensions [06:41:43] !deleteuser [06:41:43] --mwbot-- Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [06:44:05] Does this "messiness" exist if they never, ever posted or editted anything? [06:45:22] If I block the users, do their names still show up on Special:Listusers ? [06:46:47] Basically, I just want them to dsiappear from the list of users seen from User list under Special pages [06:47:14] er... disappear, that is [06:47:52] Just rename them. [06:52:08] Hmmmm.... under Extension:Renameuser I see: [06:52:12] This extension requires MediaWiki version 1.11.0 or greater. Due to the nature of this extension, and its use in production on Wikimedia web sites, it is often updated, and can become incompatible with old versions of the software with little advance warning. [06:52:34] I'm using Mediawiki 1.6.5 [06:52:50] AaronSchulz: http://isc.sans.org/diary.html?storyid=5506 [06:53:03] FF isn't *that* much more secure than IE, it's just that the hackers concentrate on the browser with the biggest market share [06:53:23] I'm assuming there's no such restriction on Extension:User Merge and Delete tho, since I see no such warning there... [06:53:26] if FF becomes that browser, then we'll start to see zero-day exploits for it too [06:53:27] yeah, being less used helps [06:53:37] *AaronSchulz is on 3.0.4 [06:53:49] *gbruin is on 3.0.5 ;-) [06:53:53] NomadOfNorad: 1.6.5 was released when? [06:54:34] Probably 2006.... I haven't updated since I origainally installed it back then [06:55:06] 03(NEW) Put .fr-diff-patrollink into .diff-ntitle - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16684 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (Wiki.Melancholie) [06:55:09] "I'm a Mac" "And I'm a PC *sneeze*" "What's wrong?" "Oh, I have a virus" "Oh, that's too bad. You know Mac's never get viruses" "Yah, because nobody fucking cares" [06:55:09] you're aware that there's been numerous security fixes and things like that? [06:55:18] hehe [06:55:22] Would going to a newer version break things in my LocalSettings.php ? [06:55:30] Splarka, heh [06:55:50] security through unpopularity [06:56:00] Splarka: I do have a mac virus on a floppy [06:56:15] tell that to the "I'm a Mac" commercials [06:56:18] wow... just try to infect one with it now heh [06:56:23] hehe [06:56:26] OS9.x as well [06:56:29] no floppies [06:56:39] well, 3.5" [06:56:43] JSharp: because all mac users constantly have hard ons [06:56:54] Can you read old Mac floppies on one of those USB floppy drives connected to a Mac? [06:56:55] not the floppy floppies [07:00:38] 03david * r44702 10/trunk/phase3/includes/Hooks.php: Factored wfInvoke out of wfRunHooks. This time without breakage. (I think.) [07:02:09] anyway, thanks for the pointers :) [07:05:54] 03david * r44703 10/trunk/phase3/includes/Hooks.php: wfInvoke documentation fix [07:06:15] Hmmmm.... according to http://www.mediawiki.org/wiki/Upgrade I need PHP 5.x to use MediaWiki 1.13, and I only have PHP 4.4.7.... [07:08:28] 03david * r44704 10/trunk/phase3/includes/ (4 files): UserMailer bigtime refactor. Please test. [07:09:27] TimStarling: :) [07:09:36] I love that summary [07:18:12] 03aaron * r44705 10/trunk/phase3/includes/ (Article.php diff/DifferenceEngine.php): Use more thorough Title->userCan('patrol') [07:21:52] Will mediawiki 1.6 work with PHP 4.4.7 (even tho the Update page states that 5.0 is recommended)? [07:22:41] why not just upgrade all to the newest version in the interest of safety, performance and features? [07:22:51] (It is my webspace provider that is responsible for/controlls what version of PHP is instanned here...) [07:22:57] aah [07:23:15] instanned = installed [07:24:14] bug 'em that you need the upgrade performed due to urgent security concerns [07:24:43] any web host that still doesn't offer php5 doesn't deserve to exist [07:24:50] :D [07:24:55] are you sure they don't allow it using .php5 or something? [07:25:26] I'm not a Linux-head... :D [07:26:22] <_wooz> lo [07:26:36] morning alles [07:28:13] mornin [07:28:16] things don't conveniently stop existing at your withdrawl of approval, sadly [07:28:34] (unless you're a young boy in a twilight zone ep) [07:29:02] river: plz send IE and Safari to the cornfields, with php4-- [07:29:15] heh! [07:30:04] So what does it mean "...using .php5 or something" anyway? [07:30:49] by naming your file .php5 instead of .php, you might be able to use php5 [07:30:50] Would that mean I could manually put in place a folder containng PHP5 and then point Mediawiki to it? [07:31:04] ah, I see, said the blind man... [07:31:05] mediawiki includes an index.php5 in case that's required [07:32:09] So, having an index.php5 in there would let mediawiki limp along with having php 4.x on my server site? [07:32:29] no [07:32:39] some web hosts offer both php4 and php5 [07:32:49] and you select php5 by naming the file .php5 instead of .php [07:33:37] 03(mod) Subpages in MediaWiki namespace should be parsed in respective languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16669 (10niklas.laxstrom) [07:35:04] Would this work if the provider doesn't list any reference to having php 5 at my server information page? [07:36:16] try it... upload a file called test.php5 and write this in it: [07:36:27] then visit test.php5 in your browser and see what php version it's using [07:39:28] Does this need to be placed somewhere in particular? Or just in my usual public_html folder? [07:39:44] anywhere should work [07:41:40] PHP Version 5.2.4 [07:42:00] then you can use mediawiki 1.13 [07:42:13] but when the manual tells you to visit index.php, visit index.php5 instead [07:43:00] 03tstarling * r44706 10/trunk/phase3/maintenance/FiveUpgrade.inc: [07:43:00] Is this needed? Probably not, but it doesn't hurt. The connection is only used [07:43:00] for reading, so the commitMasterChanges() is technically unnecessary but [07:43:00] harmless. Without closeAll(), the connection will be held open until the script [07:43:01] terminates, but that's probably pretty soon in this case. [07:44:48] But simply renamiing LocalSettings.php to LocalSettings.php5 would suffice? [07:45:00] no, don't touch localsettings [07:45:06] just visit index.php5 instead of index.php [07:45:30] Is there a way to stop a user from editing thier preferences? [07:47:10] How does this relate to the users visiting my wiki, tho? Would I have to somehow, internally, cause the website to direct all users to index.php5 instad? [07:47:41] Or do I merely have to go to index.php5 once to "prime the pump" or something? [07:53:45] Right now everything comes up as http://www.mydomainname.com/wiki/index.php?title=Main_Page and the like, so I'd have to make all users now change that to http://www.mydomainname.com/wiki/index.php5?title=Main_Page from here on out? That's gonna break a lot of links... [07:56:07] Is there a way tio fix things internally so that web-browser calles to index.php get interpretted internally-to-the-webserver as calls to index.php5 but still get just plain index.php showing up in the url? [07:56:39] i can think of two solutions, [07:56:50] first try installing mediawiki 1.13.3 and see what happens [07:57:06] And if it crashes and burns...? [07:57:16] then ctrl+z that shit [07:57:31] Eh? [07:57:55] but try 1) alias your requests to index.php5, so links will look like /wiki/Main_Page isntead of /w/index.php?title=Main_page [07:58:14] but if u need to preserve links, then try 2) simply swap index.php with index.php5 [07:58:56] you'll have to change the text " Will that still allow old links with the old URL to work? [07:59:38] yup [07:59:50] index.php redirects to index.php5 [07:59:57] Is there a guide page to take me step by step through that> [07:59:59] ? [08:00:08] ha lemme run a google search for u [08:00:57] do you know about .htaccess files? [08:01:18] uuuuhhhhhmmmmmm..... [08:01:57] its a simple text file that you place in a directory that controls access to the files [08:02:07] do you know about google ? :) [08:02:08] by adding [08:02:23] There is an .htaccess file in the public_html dir [08:03:12] yup, try opening it in notepad or some text editor [08:04:02] ErrorDocument 403 /v-web/errdocs/403.html [08:04:03] ErrorDocument 401 /v-web/errdocs/401.html [08:04:03] ErrorDocument 500 /v-web/errdocs/500.html [08:04:03] ErrorDocument 400 /v-web/errdocs/400.html [08:04:03] ErrorDocument 404 /v-web/errdocs/404.html [08:04:03] AddType text/x-server-parsed-html .htm .html [08:04:23] That;s what's in the file, with one line of white-space between the last two lines [08:04:42] cool, those lines all control how the webserver handles your files [08:04:52] google tells me that if you add [08:05:01] "AddHandler application/x-httpd-php5 .php" to the end of that file, [08:05:08] then php5 will be default [08:05:23] And then php5 will show up as php in URLs? [08:05:42] try and test [08:05:55] you can do redirects too with .htaccess [08:05:57] What happens when I have just-plane.php as a file somewhere? [08:06:02] http://www.ndesign-studio.com/blog/tricks-tips/htacess-redirect/ some tips here ... google for more [08:07:23] if you have just plain php, then it will be processed with the php5 engine [08:07:37] ah [08:07:44] and output EXACTLY the same result (although u never know with php ;-)) [08:08:10] So, with that change to the .htaccess file, would I still need to rename index.php to index.php5 ? [08:10:10] BTW, I'm also running a phpBB webforum on my site. I'd hope that wouldn't break anything there... [08:11:30] anybody know a fix / trick to get stubmanager extension working in mediawiki 1.13? [08:15:34] hey there [08:17:32] How can i change default preferences? [08:18:03] With the webforum, btw, the url comes up as http://www.mydomainname.com/phpBB/index.php [08:19:07] (I am, of course, munging my domain name so no one will accuse me of spamming the channel... :-) [08:19:44] 03tstarling * r44707 10/branches/REL1_12/phase3/ (RELEASE-NOTES includes/DefaultSettings.php): Incrementing version number to fix packaging error. [08:20:00] Prom_cat: $wgDefaultUserOptions [08:20:16] I have a weird error [08:20:20] *Prom_cat just spotted :) [08:20:27] server had mysql problems, but they are all fixed [08:20:37] only site on the server still with issues is my own [08:20:37] Interesting that the wiki comes up as /wiki/index.php?title=Main_Page while the phpBB forum comes up as the much-less-messy-looking /phpBB/index.php [08:20:38] http://rafb.net/p/uDJKIo72.html [08:20:45] that is the error i recieved [08:20:46] It sure seems like the job queue code could be generalized a lot, provided that all our classes had sane serialization and deserialization methods with a standard interface. [08:21:37] NomadOfNorad, you can use short url with MW tii if you wish, check FAQ (link in topic) [08:21:57] davidmccabe: did you see my comment in CodeReview? [08:22:00] TimStarling: No. [08:22:02] NomadOfNorad, there http://www.mediawiki.org/wiki/Manual:Short_URL [08:22:21] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44702#c945 [08:22:31] I used to use a simplifiy-the-URL thingy on the wiki... and when my webspace provider updated us all to a new server... it broke... [08:23:02] TimStarling: OK, will do. [08:23:43] TimStarling: I don't see why we couldn't just have a function wfQueue() taking a callback and param array and forget about a tiny subclass for every job type. [08:24:42] tiny? [08:24:49] The ones I'm looking at are tiny. [08:25:21] what would wfQueue() do exactly? [08:25:45] Looks like stuff that is optionally queued, so that the job just calls another routine which might have been called immediately, are tiny. [08:26:04] TimStarling: Insert a job into the queue, same as new BlahJob()->insert(). [08:26:37] see EnotifNotifyJob.php for motivation; this is pure boilerplate. [08:26:44] Okay, I'm on the FAQ page, and there are *alot* of things oin the menu... where should I be looking on it? [08:27:01] nomad [08:27:15] he linked you directly to the shoert_url page [08:27:26] around 12:22 [08:27:28] NomadOfNorad: http://www.mediawiki.org/wiki/Manual:Short_URL in case you missed it. [08:28:04] Ah, thankee [08:28:10] well, I think you could easily add such a function as a static function of the Job class [08:28:21] I don't see the point of making it a global function [08:28:32] TimStarling: Right, either way, that's beside the point. [08:28:41] which point was that? [08:29:29] Not every job needs to have its own method that stuffs some data into an array, then another method that unstuffs it. [08:29:57] 03tstarling * r44708 10/tags/REL1_12_3/: Tagging for release of 1.12.3 [08:30:07] Is there a way to force a preference setting? [08:30:10] morning [08:30:50] it doesn't need to be in a separate file if that's what you're worried about [08:30:56] I know. [08:30:56] ugha Nikerabbit :) [08:31:31] it does need to have a constructor at the moment [08:31:36] but that requirement could easily be removed [08:32:37] then it would just be run(), and even EnotifNotifyJob seems to have a non-trivial run() [08:32:45] It has a trivial run. [08:33:14] it's more than one line [08:33:25] You have to add a whole new top-level block of code just to have a different argument list. [08:34:04] diddums [08:34:17] diddums? [08:34:58] Hmmmmm.... what does $wgUsePathInfo = false; do? Is that anything to do wuth URL-prettyification? [08:35:14] NomadOfNorad: google is your friend. [08:35:36] you mean you don't know what the word means, or you don't think I should be using it? [08:35:44] I don't know what the word means. [08:36:01] well, that's what we say to little kids when they fall over and scratch their knees [08:36:10] it's said with a sympathetic tone [08:36:48] (I see that line in my LocalSettings.php file, with a # comment that Duesentrieb and OverlordQ said here in IRC for me to use it, but there's no comment there as to why...) [08:37:08] look, if you can come up with an interface that doesn't totally suck or break backwards compatibility, I'll consider it, ok? [08:37:24] great. [08:37:58] Yeah, $wgUsePathInfo seems to be related to short-urls... [08:43:18] That particular # comment was dated late february 2008, but it seems vaguely to me that when I had short-urls enabled, and they moved my website to the new servers... the wiki went into some sort of wierd endless-loop-trying-to-load-the-page thing... [08:44:25] Turning short-urls off stopped that... but it's been long enough that I forget the details... [08:47:53] 03nikerabbit * r44709 10/trunk/extensions/Translate/scripts/messageDust.php: * Commit this handy script so that I wont lose it [08:48:22] Anyway, I need to be hitting the hay... thanks for the help and the URLs... [08:49:56] 03(NEW) Enable Lucene 2.1 for all remaining wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16685 15enhancement; normal; Wikimedia: lucene-search-2; (Wiki.Melancholie) [08:51:02] 03(mod) Enable Lucene 2.1 for all remaining wikis again - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16685 summary (10Wiki.Melancholie) [08:52:41] 03nikerabbit * r44710 10/trunk/extensions/Collection/Collection.body.php: * formatNum [08:56:45] 03nikerabbit * r44712 10/trunk/extensions/SelectCategory/SelectCategoryFunctions.php: * This can't be right [09:09:37] hey what php ide does anyone use? [09:09:46] vim [09:10:00] netbeans! [09:10:09] um, textmate too [09:10:12] textmate, previously emacs. [09:10:37] gbruin: IDEs are the wrong idea; you want a good text editor. [09:11:10] aha i've been using visual studio's plain text editor since day 1 so far [09:12:06] http://en.wikipedia.org/wiki/Category:Windows_text_editors [09:17:16] ive used TED and PN2, they're ok [09:18:06] Emacs has a steep learning curve but is very powerful and compatible across all platforms. [09:19:58] anyone have any insite to my error? [09:20:11] http://rafb.net/p/uDJKIo72.html [09:20:54] looks like a caching error [09:21:10] looks like crashed table, fix it [09:21:24] lol, how might i go about that? [09:21:42] mysql died on the server, mine was the only site that didnt come back up [09:21:53] mysql manual should detail the process, I don't remember it offhand [09:22:27] so it is likely purely a mysql thing, not somthing I do with mediawiki? [09:22:42] probably [09:22:48] gbruin said caching, is that mediawiki caching? [09:22:59] i was thinking memcaching [09:23:09] i.e. interfacing with mysqls tables [09:23:22] oh, i dont have a memcache server going [09:23:27] nvm [09:23:58] but i heard fixing tables is tough, gl [09:24:41] :S [09:24:44] thanks [09:25:46] heh.. i read that either innodb or myisam was easier to recover, so hopefully you're using that one [09:26:47] i am using innodb as that was recommended for concurrent editing issues or whatever [09:26:51] so yeah, lets hope [09:29:50] chavoc: you can use innodb for other tables, leave objectcache alone ;-) [09:30:06] even better, put objectcache into memcached or APC/eA/xcache caches [09:30:27] oh, errno2 [09:30:37] didn't read attentively [09:30:51] chavoc: did someone remove ibdata file? ;-D [09:31:14] chavoc: do you have backups? :) [09:41:18] meh [09:41:21] why do people disappear [09:41:26] when I start looking at their problems %( [09:41:53] don't look at their problems!! [09:42:10] yup [09:42:26] at first I read just 'db error, objectcache' [09:42:30] you scared them [09:42:31] and immediately remembered deadlocks :) [09:42:41] I wrote few kilobytes of text about deadlocks few minutes ago [09:42:45] a bit of a fixation :) [09:42:50] domas asking if you have backups.... it is like a doctor asking you if you have bought a coffin [09:43:07] Splarka: nono, if you've got medical insurance [09:43:47] *Splarka shows domas his organ donor card [09:44:22] This code sucks!!! [09:44:23] *domas shoots Splarka, sells kidneys [09:45:18] ow [09:45:37] *Splarka tempts domas with his liver (since he doesn't drink) [09:45:43] *domas sells liver too [09:46:50] *Nikerabbit buys some ham [09:47:49] hi all, i need to know if there is a way to find out the keywords used to search a wiki? [09:50:59] if I do select baa where baa in ( foo, bar, baz ); are the items returned in that order? [09:51:24] Nikerabbit: no [09:51:29] not necessary [09:51:39] hmm [09:51:48] can be returned that order too [09:51:58] but thats implicit behavior [09:52:24] so how should I go for if I select many items like that, and want them in some prespecified order? [09:52:35] do I need to loop trough the result object every time? [09:52:43] ORDER BY FIELD(...) [09:52:50] or something like that [09:53:04] FIELD(col,foo,bar,baz) [09:53:16] or you can trust implicit behavior ;-p [09:53:40] uhm [09:54:10] not very nice :) [09:54:24] is there any other way to access the result object other than iterating? [09:56:20] domas: still here? [09:56:49] yes [09:57:06] bad button [09:57:07] :D [09:57:08] lol [09:57:11] scared me [09:57:27] sorry i ran off for some dinner [09:58:39] as far as backups go, i am looking for them... i've migrated computers and had a harddrive with my old computer backups fail on me (never again will i use WD) [09:58:46] :-) [09:58:53] anyway, check your mysql error log [09:58:58] probably you or someone else deleted ibdata [09:59:06] whats ibdata? [09:59:07] though the best situation would be that someone changed configuration [09:59:13] 'ibdata' is file name, where your data lived [09:59:21] check your mysql error log, .err file in data directory [09:59:24] it will tell you what is wrong ;-) [10:00:09] ok. the server set up is a vds owned by some one other than myself... so I will need to pass it on to him i suppose [10:00:46] and he will probably need to pass it on to some one else :S [10:01:05] =) [10:01:11] right [10:01:24] say, if someone allocated some buffer wrong [10:01:30] or file size had a mismatch [10:01:33] it would be easy fix [10:01:40] if someone removed ibdata file, then... it would not. [10:01:51] ibdata is usual candidate for deletion [10:01:56] because some people are idiots :) [10:02:09] "omg, what does this big file do here, I'll better delete it" [10:02:16] "oh, I just lost all my data" [10:02:16] :D [10:02:20] happens soooo often [10:02:24] ok, well there were mysql errors (i dont know if you read this already) and all sites were down [10:02:35] they "fixed" it, and all sites except for my wiki are back up [10:02:37] no issues [10:02:40] :-) [10:02:42] right [10:02:44] "fixed" [10:02:47] they just did somthing again, and mine is still not back [10:03:09] would "repair" actually do anything helpful? [10:03:11] if system is configured properly, innodb can survive pretty much anything :) [10:03:26] i need to know if there is a way to find out the keywords used to search a wiki?... please help! [10:04:30] 03(NEW) Special:Category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16686 major; normal; MediaWiki: Categories; (friedel.voelker) [10:04:39] hmmm here is somthing interesting [10:04:55] i logged into phpmyadmin (finally thats working again) [10:05:03] and it says almost every table is in use [10:05:41] 03(mod) Special:Category - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16686 major->normal (10friedel.voelker) [10:09:50] the only table i can open from the wiki is the search index [10:09:56] it still has data [10:17:06] 03(mod) Special:Category does not work proper after upgrade - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16686 normal->major; normal->high; summary (10friedel.voelker) [10:38:23] Hi [10:39:35] I have 3 installation of mediawiki on the same server (one for the admins, one for the devs, one for the bosses). Each user is supposed to access his own wiki, but not the others. [10:40:01] ride sally ride [10:40:14] Since I have to update mediawiki, because of the security hole, I'd like to know if it's possible to improve things. [10:40:55] So here is my question : Is it possible to install *one* mediawiki and have 3 "instances" for 3 distinct groups of users ? [10:41:09] !farm [10:41:09] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [10:41:38] (just give them separate LocalSettings and databases or something) [10:44:00] Ok thanks. [10:44:20] Ooops too late [11:14:28] 03(NEW) localized 'special' ('=?UTF-8?Q?spe=C4=8Bjali?=') namespace for mt.wp not resolving - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16687 major; normal; MediaWiki: Special pages; (gustav.vella) [11:24:34] the number please [11:25:06] 03nikerabbit * r44713 10/trunk/phase3/languages/messages/MessagesMt.php: * Fix for bug 16687 [11:28:00] 03(mod) localized 'special' ('=?UTF-8?Q?spe=C4=8Bjali?=') namespace for mt.wp not resolving - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16687 +comment (10niklas.laxstrom) [11:31:49] moin [11:32:13] abend [11:34:44] I want to find all the articles that have had exactly one edit, how can I do that? [11:34:50] with the API or through SQL [11:41:12] hi there [11:42:20] is it possible to use the database to upload and store images for mediawiki? [11:48:48] anybody here? [11:49:31] asgaroth-: file are stored in the file-system [11:51:25] yeah but my boss thinks its a security problem to enable file upload [11:52:12] Hi (I don't know if this happened after the upgrade to 1.13 or after I enabled short urls) But when I click on a picture I get this error message: [11:52:15] and you also need to spent more time to move the wiki installation ^^ [11:52:16] Fatal error: Call to undefined method UploadForm::usercanreupload() in /var/www/web5/web/w/includes/ImagePage.php on line 573 [11:52:45] When I should get to the image page. [11:55:02] so the only possibility i found online is using coppermine or gallery image gallery software and the corresponding wiki extensions [12:02:47] 03(mod) Search stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16358 normal->high; +comment (10dasch_87) [12:03:22] isn't there an extension or something to upload pictures directly to the database? [12:04:41] i need to know if there is a way to find out the keywords used to search a wiki?... please help! [12:06:04] @jimstar007 google "SEO" [12:06:29] @asgaroth it is more trouble than its worth [12:11:07] @asgaroth: it is a security problem to allow file uploads, true. but it's a database-integrity nightmare to trust some fourth-party code to do what you're asking [12:11:33] asgaroth-, look at the UploadLocal extension [12:11:40] it is good for batch uploads [12:13:19] hi, sorry for the dumb question but, how come this doesn't work in a template "{{if: {{{id}}} | hi {{{id}}} | no id passed }}" [12:13:28] why is it a database integrity problem gbruin? [12:13:43] by 'not work' I mean that I always see 'hi {{{id}}}', weather id is set or not [12:14:21] {{#if: {{{ id }}} | hey {{{id}}} then | ho }} [12:15:22] when I call the template with "{{tmp|id=yo}}" then I see "hey yo then", but if I call it with "{{tmp|yo}}" then I see "hey {{{id}}} then", and I expect to see "ho" [12:15:30] am I using IF correctly? [12:15:42] I'm reading this http://meta.wikimedia.org/wiki/ParserFunctions#.23if: [12:16:15] should I say something like {{{id| }}} ? [12:16:52] OK that works [12:18:26] can I say {{{id|1}}} ? [12:19:55] or {{{id|{{{1}}}}}} [12:22:38] OK, my final code looks like this "{{#if: {{{id|{{{1|}}}}}} | hey {{{id|{{{1}}}}}} then | ho }}" [12:22:45] thanks for help guys! [12:23:05] oh, one last question... [12:23:14] although this works, is there a simpler way? [12:23:40] or did I hit the nail on the head? [12:36:13] Fatal error: Call to undefined method UploadForm::usercanreupload() in /var/www/web5/web/w/includes/ImagePage.php on line 573 - any idea of what's wrong? [12:37:37] Quakeile, uploads enabled? [12:37:49] did you google the error? [12:38:00] did you try turning it off and back on again? [12:43:02] 03(NEW) Import sources for cs wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16688 15enhancement; normal; Wikimedia: Site requests; (danny.b) [12:48:29] facefaceface: uploads enabled, and I've googled the error without success and I've turned it off and on also without success [12:49:17] bye and thanks for your help [12:49:21] Quakeile, tried as another user? [12:49:26] when does this error occur? [12:49:46] When I click on an image or try to upload an image [12:53:24] (if this happened after the upgrade of after the short urls was enabled I don't know) [12:55:29] And the pictures are shown properly on other pages [13:01:23] Quakeile, I'm not a PHP expert... clearly its looking for a function and not finding it... I am sure there are reasons that can happen but I don't know them [13:01:38] I agree [13:01:50] sorry I can't help more [13:02:00] I'll reverse the short urls and see if that helps [13:02:19] sounds like a good idea... did you change directory structure? [13:02:34] renamed /wiki to 7w [13:02:41] to /w [13:03:57] and everything works fine except the image page itself [13:09:13] Quakeile, perhaps you need to change the scriptpath... although its strange only one thing breaks [13:12:12] I've changed the scriptpatch accordingly [13:12:19] path* [13:31:15] 03(NEW) wfDebugLog writes an error in Apache error.log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16689 15enhancement; normal; MediaWiki: API; (etienne.massip) [13:38:12] Hey... I'm trying to load images from commons but it's not working [13:39:44] so, right now I have downloaded almost all images of the french wikipedia with wikix, but many are missing, so, I'd like to configure my mediawiki to load them directly from commons of from french wikipedia [13:41:31] bloubs: http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos should help [13:54:47] 03raymond * r44714 10/trunk/phase3/ (2 files in 2 dirs): [13:54:47] Fix hardcoded "last month" in statistic message for acitve users. [13:54:47] This is wrong because the number of active users is count in SiteStats::cacheUpdate from recentchanges table. [13:54:47] Default of $wgRCMaxAge is 7 days not 30 days. [14:02:39] Non-static method EmailNotification::notify() should not be called statically in /var/www/w/includes/UserMailer.php on line 403 [14:07:20] 03nikerabbit * r44715 10/trunk/phase3/includes/UserMailer.php: * Shut this up [14:09:52] I've reversed the short urls, but still atal error: Call to undefined method UploadForm::usercanreupload() in /var/www/web5/web/wiki/includes/ImagePage.php on line 573 when I click an image or try to upload an image. [14:10:11] Quakeile: mediawiki version? [14:10:23] 1.13 [14:10:36] dot what? [14:10:49] hmm the latest, that is .3 or? [14:11:30] yes [14:11:45] yup, .3 it is [14:11:52] did you upgrade recently? [14:12:02] day before yesterday [14:12:12] using which method? [14:12:27] root access [14:13:10] diff? extracting over? file upload? clean extract and switch? [14:13:22] extracting over [14:13:28] no sorry [14:13:38] clean extract and switch (overwrite) [14:14:01] well [14:14:42] my first guess would be that you are missing some files; second that not all of the files were updated; third that there is some old file causing problems, but that is unlikely [14:15:53] ok, re-run the installer? [14:16:39] is is quite weird, uploadbase came only after 1.13, ircc [14:16:54] Quakeile: have you tried svn version too? [14:17:18] nope I haven't [14:17:39] 03(mod) problems with forced PNG rendering - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15057 (10debjanux) [14:17:52] (just to be clear, the rest of the wiki is working) [14:18:11] clicking/uploading images is not working [14:18:46] hmm [14:19:31] if( UploadForm::userCanReUpload($wgUser,$this->img->name) ) { [14:19:36] that has been there for ages [14:22:14] Quakeile: is includes/specials/SpecialUpload.php there? [14:26:00] hi mikevanhoff [14:29:37] yes it is Nikerabbit [14:29:52] good morning Nikerabbit [14:30:54] Quakeile: what does it have on line 1734 ? [14:32:48] Nikerabbit: public static function userCanReUpload( User $user, $img ) { [14:33:01] Quakeile: did you change the folder when updating? If so did you update $IP? [14:33:09] is there any other installations around? [14:34:03] no didn't change the folder, I've got some extensions as well, if that is what you mean by other installations? [14:34:36] strange...owner and group is root for the specials files... [14:37:05] Quakeile: mmm, new files [14:37:12] Quakeile: try to setting permissions correctly [14:37:59] I'll double check [14:40:39] hello all [14:40:58] how can i display categories on the main page? [14:41:21] all categories, or a link to one you choose? [14:41:42] all categories i guess [14:42:43] (is there an automatic way to link to the ones i choose or would i just give links to category pages btw?) [14:43:29] gnufs: With the Extension:CategoryTree you can make a list in with the user can click through [14:45:17] Wuzur: just adding [[Extension:CategoryTree]] to the page does nothing [14:45:33] !e CategoryTree | gnufs [14:45:33] --mwbot-- gnufs: http://www.mediawiki.org/wiki/Extension:CategoryTree [14:46:26] look on the right side under the infobox for a demo [14:48:34] 03(mod) wfDebugLog writes an error in Apache error.log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16689 (10roan.kattouw) [14:51:01] 03catrope * r44716 10/trunk/phase3/ (3 files in 2 dirs): API: (bug 16527) Added user and excludeuser parameters to list=watchlist,recentchanges [14:51:09] hey, is there an easy way to copy the layout of the mediawiki.org main page for an internal wiki? [14:51:12] 03(FIXED) list=watchlist/recentchanges lacks a show/hide self option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16527 +comment (10roan.kattouw) [14:53:50] rsqfree: Export the page 'MediaWiki' (with all transcluding) and copy the content of 'MediaWiki:Common.css' and 'MediaWiki:Monobook.css' into yours [14:54:49] (but it's just a quick and dirty way) [14:55:33] I've chown:d the wiki folder recursively, all files have the proper owner and group now, but still same errror message Nikerabbit [14:56:09] Wuzur: thanks! [15:01:13] Quakeile: mmm [15:01:20] 03raymond * r44717 10/trunk/phase3/includes/specials/SpecialPreferences.php: Prettify files tab of Special:Preferences a bit [15:19:54] Wuzur: thanks, how do I export the MediaWiki? The source code does not show under "view source" [15:20:44] rsqfree: Go to [[Special:Export]] and put 'MediaWiki' there and check 'include transcluded' [15:24:20] Wuzur: thank you [15:32:14] there is not, by any chance, a way to convert the xml to wiki markup without using the special:import, is there? [15:36:11] 03catrope * r44718 10/trunk/phase3/ (3 files in 2 dirs): Revert r44716 (added user,excludeuser to watchlist,recentchanges): can't commit this just yet because not all WMF servers have the user_text index just yet, see also bug 14200 [15:36:55] rsqfree: to wiki markup? sure, easy. just strip the xml. it's just a wrapper around plain wiki text. [15:37:24] youcan do it with any xml processing software, or even with plain regular expressions. [15:37:40] well, in the latter case, you still have to unescape all entity references. [15:38:25] 03(mod) list=watchlist/recentchanges lacks a show/hide self option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16527 +comment (10roan.kattouw) [15:38:27] 03(mod) Add rcuser= and rcexcludeuser==?UTF-8?Q?=20=C3=A0=20la=20prop?= =revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14200 +comment (10roan.kattouw) [15:39:38] Duesentrieb: thank you, I will try that [15:39:47] 03(mod) Add rcuser= and rcexcludeuser==?UTF-8?Q?=20=C3=A0=20la=20prop?= =revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14200 +comment (10roan.kattouw) [15:39:57] Holy hell [15:40:11] wikibugs: Doesn't like UTF-8 characters [15:40:20] not exactly [15:40:28] it just doesn't understand that form of encoding [15:40:33] (which encodes UTF-8 characters into ASCII) [15:40:43] And it doesn't you mangle the à, but all the spaces too [15:42:41] *just [15:55:16] hmm seems like I'm looking at a downgrade [16:00:03] 03(mod) Add rcuser= and rcexcludeuser==?UTF-8?Q?=20=C3=A0=20la=20prop?= =revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14200 +comment (10roan.kattouw) [16:00:10] Quakeile: Why would you downgrade? [16:02:27] I can't fix this error [16:02:51] Call to undefined method UploadForm::usercanreupload() in /var/www/web5/web/wiki/includes/ImagePage.php on line 573 when I click an image or try to upload an image. [16:05:07] Quakeile [16:05:15] try a re-install before you downgrade [16:05:37] 03(NEW) bewildering bold message on [[Special:Preferences]] of SUL accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16690 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [16:05:44] oki, I'll do that [16:05:55] make a fresh install dir, point installer at old DB, and then merge your LocalSettings / copy across images and extensions [16:06:54] given you had some files with root perms. it sounds like your install got borked [16:07:12] thats very likely [16:17:23] hi there. when a file is uploaded, which part of the code writes into the 'image' table ? [16:17:36] 03(mod) bewildering bold message on [[Special:Preferences]] of SUL accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16690 (10raimond.spekking) [16:17:55] ThomasV: Why do you ask? [16:17:59] ThomasV: includes/filerepo/LocalFile.php iirc [16:18:07] or File.php [16:18:12] thanks [16:18:41] RoanKattouw: for a specific application [16:18:53] ... That's a useful response [16:19:41] isn'it it ? [16:25:07] RoanKattouw: I 'm trying to have images on my wiki uploaded to amason s3. this is why... [16:25:25] !hooks [16:25:25] --mwbot-- Hooks allow you to run functions at various points in the main MediaWiki code. For more information about using hooks in MediaWiki, see . [16:25:27] s/amason/amazon [16:25:47] You probably don't want to modify the code directly, use a hook instead [16:32:39] Hi, anyone have a second for a quick question? [16:32:46] !ask [16:32:46] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [16:33:14] I'd like to have media wiki send me an email when any page is edited... I've got this before, but can't for the life of me figure out how to do it again... [16:33:35] Sorry bot... Been a while since I used IRC. :) [16:34:23] Hmm I believe there's an extension that does that [16:34:33] 03catrope * r44719 10/trunk/phase3/includes/api/ (9 files): API: Crusade against extract(). Left one extract() call alone in ApiQueryBacklinks.php because I don't have a better alternative for it. [16:35:22] I thought I might have been using an extension, but my other wiki that I've enabled this has no special extension installed. [16:36:02] I thought it was a config option (via the web UI), but I can't seem to find it now... I remember there being a warning about high-volume wikis :/ [16:36:24] Digimer: You can tell MW to send you an e-mail when a page *on your watchlist* changes [16:36:32] Ya, that I know [16:36:46] Oh you're talking about the thingy in the installer [16:36:47] perhaps there is an option to watch every page? [16:36:52] maybe =/ [16:36:53] Not in core AFAIK [16:37:30] The problem is that I've got an anonymous user vandalizing my wiki... I am happy to revert, I just want to be notified of any edits so that I can check them out [16:37:43] trick is, I never know what page s/he will vandalize next [16:37:48] Do you know about the RSS feed on Special:Recentchanges? [16:37:56] no, I'll look [16:38:04] I've not used RSS before, tbh [16:38:17] Did you know about Special:Recentchanges? :P [16:38:51] Digimer: http://www.mediawiki.org/wiki/Extension:AutoWatch maybe? [16:39:09] Oh wait that does what it says too literally [16:39:19] It just adds all pages to your watchlist the moment someone edits them [16:39:54] hrm, RSS doesn't seem to be that good in my case... I use a Netbook as my main computer, so I turn off FF's bookmark toolbar to free up screen space. [16:40:32] That would do, thanks Roan. Would like to remember how I did it before without an extension though (nagging me now. :P ) [16:41:15] is there a place to see system settings in the web UI? [16:41:33] or do they need to be edited in LocalSettings.php directly? [16:52:52] Any idea why I'm experimenting encoding problems ? I just updated a mediawiki mysql database. Now I have the updated db and the old db, with the same encoding, and the same contents, but the output in the wiki doesn't have the good encoding. [16:53:10] ( tables are latin1_swedish_ci ) [16:53:13] 14(WFM) Firefox misaligns namespace checkboxes in preferences for RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5087 +comment (10raimond.spekking) [17:05:50] 03rainman * r44720 10/branches/lucene-search-2.1/ (18 files in 8 dirs): (log message trimmed) [17:05:50] Minor running issues stuck in my local repo: [17:05:50] * prevent spacemap take too much processor time, give up if cannot properly be calculated [17:05:50] * Don't make serialization warning fatal for now [17:05:50] * add original query to suggest logging [17:05:52] * "deployment" flag when there is redundancy in cluster [17:05:54] * prevent searches before initial deployment since it can sometimes slow it down too much [17:27:58] 03ialex * r44721 10/trunk/phase3/includes/ (Hooks.php UserMailer.php): (log message trimmed) [17:27:58] * Short circuit EmailNotification::notify() to not call EmailNotification::commonMessageKeys() if there're no users to notify. This is a hack to work arround the following exception: [17:27:58] A database query syntax error has occurred. [17:27:58] The last attempted database query was: [17:28:00] "SELECT gu_id, lu_wiki, gu_salt, gu_password,gu_auth_token, [17:28:02] gu_locked,gu_hidden,gu_registration,gu_email,gu_email_authenticated FROM [17:28:04] `parsertest_globaluser` LEFT OUTER JOIN `parsertest_localuser` ON [17:28:10] ohh just the channel [17:28:12] *eth01 smiles [17:28:38] who is able to install this to the bare minimum? [17:30:20] eth01, what do you mean? [17:31:18] im looking to install mediawiki [17:31:31] all looks very complicated [17:32:30] you want #mediawiki [17:32:39] yksinaisyyteni: This *is* #mediawiki ... [17:32:42] !install [17:32:42] --mwbot-- Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [17:33:24] eth01, it's quite easy [17:33:46] you have yourself a job [17:33:46] lol [17:41:15] RoanKattouw_away: uh [17:41:19] so it is [17:41:29] for some reason i thought i was in #wikimedia-tech [17:59:54] Ah, found how to send email on any page edit without an extension: http://www.mediawiki.org/wiki/Manual:$wgUsersNotifiedOnAllChanges [18:02:53] thanks again [18:31:43] are you supposed to run update.php as the same account as the ftp account so to say (in other words, not to run as it as root)? [18:33:25] Quakeile: i'd generally recommend not running as root, yes :) [18:34:16] ok. thanks brion, any chance you know how to run it as another user in ubuntu? (shell disabled for the regular users atm) [18:35:07] Quakeile: maybe logging in as root and then running su ? But i don't think that would work [18:36:15] np, I will temporarily enable shell [18:36:46] 03(NEW) Section headings should have some clickable anchor for passing links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16691 15enhancement; normal; MediaWiki: Page rendering; (brion) [19:02:45] hello all [19:02:56] i need help with gallery2 and mediawiki [19:03:25] is there any knowledge on how to share common users to each other, and thus one login? [19:09:46] any hints? [19:12:11] write a blugin? [19:13:29] that's a bit difficult right now, due to time restrictions [19:21:02] find an existing plugin if it exists? try google :) [19:21:14] tried that! [19:21:36] gallery2wiki only works for mediawiki 1.10 and gallery2.2 [19:22:03] i checked if it could work but, bad luck! [19:22:51] that's why i seek for a way, that gallery2 inherits the user data of mediawiki [19:23:37] mmm brion: you could do what references do, and have a linkback to the TOC, with a :target style so they know from where they came, then they can click _back_ to the section from the TOC and have the link#hash in their location bar [19:24:05] 03(mod) SVGZ (gzipped SVG) support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4947 (10brion) [19:24:24] (but either might interfere with edit-on-doubleclick wot...) [19:35:53] 03(mod) Commit Polish translation for Wap Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16680 (10brion) [19:36:28] 03brion * r44723 10/trunk/wap/ (8 files in 2 dirs): [19:36:28] bug 16680 -- polish translations for customized hawpedia [19:36:29] http://translatewiki.net/wiki/User:Leinad/mobile.wikipedia.org [19:36:29] does anyone know about a tool to export a TeX document to MediaWiki syntax? [19:38:36] guillom, http://www-math.cudenver.edu/~jmandel/latex2wiki/ appears to be one [19:39:07] Krimpet, awesome; I tried latex2mediawiki, didn't think about latex2wiki [19:39:24] hmm, it seems pretty basic though [19:39:36] *guillom will keep looking [19:39:38] yeah, I don't think anything robust exists [19:40:18] *guillom has a 130-page PhD thesis to convert [19:40:34] Might be possible to hack a LaTeX -> HTML converter somehow [19:40:59] it's most certainly possible, but I am absolutely unable to do it myself ;) [19:41:37] *Krimpet has to run, but might be able to take a look later. :) [19:48:48] hello [19:49:21] hello cquad [19:49:32] in case anybody cares about my previous question, I've found http://www.ii.uj.edu.pl/~pawlik1/MediaWiki/index.php/Dokumentacja_Latex2MediaWiki (unfortunately in Polish) [19:51:25] I am looking for a sitemap generator for mediawiki, I 've found http://www.mediawiki.org/wiki/Extension:ManualSitemap [19:51:42] 03(mod) Weaken DISPLAYTITLE restictions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12998 (10rememberthedot) [19:51:43] but I 've got an error when trying to use it :-( [19:54:24] do you know an extension to generate sitemap ? [19:55:15] without use maintenance procedure, I can't do that on my site :-( [19:58:19] This is somewhat off-topic, but can someone recommend a mediawiki hosting provider? I've been using trac internally up till now, but am really tired of maintaining my own infrastructure [20:04:09] 03aaron * r44724 10/trunk/phase3/skins/Standard.php: Remove bug report link [20:10:54] 03bigsmoke * r44725 10/USERINFO/bigsmoke: Added UERINFO file for 'bigsmoke'. [20:12:15] bigsmoke? o.O [20:13:08] ok, regarding the LaTeX --> MediaWiki conversion: would it be sensible to use latex2html then some tool to convert the html to wikicode ? [20:14:33] if the syntax is not too complex... [20:14:56] there're some html to wikicode tools [20:15:01] so it's probably the easiest [20:15:32] I'm going to try some of the basic latex2wiki scripts and see the output [20:16:10] sometimes I wished I knew how to write code... [20:17:49] it seems the basic latex1wiki script has been improved a bit: http://rsf.svn.sourceforge.net/viewvc/rsf/trunk/framework/latex2wiki.py?view=markup [20:19:45] 03aaron * r44726 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: [20:19:45] *Tweak for Standard skin [20:19:45] *Rename var [20:20:18] 03bigsmoke * r44727 10/trunk/extensions/SemanticGallery/: Created directory for my SemanticGallery extension in trunk/extensions. [20:21:04] Where can I find out about recommended mediawiki host providers [20:21:41] 03aaron * r44728 10/USERINFO/bigsmoke: svn:eol-style [20:22:40] slayton: don't know of any page on that. Something with shell access would help a lot. [20:22:45] 03siebrand * r44729 10/trunk/extensions/Translate/groups/Mantis.php: Add Galician file name conversion for Mantis [20:26:50] slayton: I can recommend Dreamhost, they have a one click installer for MediaWiki [20:29:48] *AaronSchulz kind of likes the standard skin [20:32:55] 03bigsmoke * r44730 10/trunk/extensions/SemanticGallery/ (SG_ResultPrinter.php SemanticGallery.php): [20:32:55] Imported SemanticGallery extension. [20:32:55] This version is a bit messy. The next commit will have some cleanups. [20:32:55] Only committing this to make it easier to kill my darlings. I like history. [20:35:20] 03aaron * r44731 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: Tweak fclose() call [20:38:19] 03bigsmoke * r44732 10/trunk/extensions/SemanticGallery/SemanticGallery.php: [20:38:19] In SemanticGallery extension, removed commented code. [20:38:19] The commented code was originally meant to turn it into a tag extension before I realized that adding it as a result format would be cleaner. [20:40:14] dittaeva, what do you mean one click installer? do you know of any other wiki's that can be installed there? [20:44:33] Hey all, if I want to put the search box in MonoBook.php in a div of its own, what do i do? [20:46:42] alex_21, it is [20:46:49]