[00:09:05] 03(FIXED) arbcom-audit-en mailing list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18510 +comment (10cbass) [00:45:28] 03rainman * r49787 10/branches/lucene-search-2.1/src/org/wikimedia/lsearch/ (3 files in 3 dirs): [00:45:28] Minor stuff: [00:45:28] * fix a bug with update links not being deleted [00:45:28] * disable funky wildcards with unpredictable execution time (e.g. a*m) [00:45:28] * improve logging a bit so we can actually debug stuff [00:45:45] 03werdna * r49788 10/branches/preferences-work/extensions/HoneypotIntegration/HoneypotIntegration/: Merge HoneypotIntegration from trunk to preferences-work to prevent conflicts [00:45:56] mmm honeypot [00:50:22] nom nom nom [00:51:48] 03tstarling * r49789 10/trunk/phase3/maintenance/storage/trackBlobs.php: Insert blob_orphans rows in batches. [01:30:09] *werdna commits [01:30:11] wheeeeeeeeeeee [01:30:37] *chuck doesn't see no commit [01:30:47] hold your horses [01:31:48] 03werdna * r49790 10/trunk/ (236 files in 15 dirs): Branch merge of preferences work branch. Includes fixes for several bugs. WARNING: Breaks some extensions which have not been adapted to use it properly (basically anything not used on Wikimedia). [01:31:57] :O [01:32:00] yay :D [01:32:32] werdna: Will you be posting a page on what adaptations need to be made in extensions? [01:33:07] basically you have to rewrite your preferences integration [01:33:23] 03(FIXED) Change global defaults doesn't work for registered users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5363 +comment (10agarrett) [01:33:39] 03(FIXED) A hook to enable putting options to the preferences tab - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14806 (10agarrett) [01:33:42] 03(FIXED) Global preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14950 (10agarrett) [01:33:44] 03(FIXED) Special:Preferences should list account registration date - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17191 (10agarrett) [01:33:57] 03(FIXED) Merge preferences-work branch with trunk - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18410 (10agarrett) [01:36:26] werdna: Oh, so only extensions that rely on options being set in the perferences special page are affected? [01:37:05] yes [01:53:25] 03werdna * r49791 10/trunk/extensions/AbuseFilter/ (AbuseFilter.hooks.php AbuseFilter.i18n.php AbuseFilter.php): (bug 18423) Add link to filtered abuse log on Contributions. Patch by Simon Walker, with minor fixes for double-escaping and wikitext in messages. [02:02:35] i'm looking for a person who can help me with setting up my svn account. tim starling created it yesterday and i'm stuck when svn asked me for password. i have already readed "Commit access" and "Subversion" pages on mediawiki.org, even few times, understood some things, but some are still a closed book for me. i never used svn so got a bunch of stupid questions. who can i grill on priv? :) [02:02:48] so you gave hm your ssh key? [02:02:58] what platform are you on? [02:03:53] a passphrase actually [02:04:02] ah [02:04:13] did you set up a passphrase when you set up your ssh key? [02:05:21] i'm on windows, already downloaded tortoisesvn and changed the config file as mentioned http://www.mediawiki.org/wiki/Subversion/auto-props [02:05:37] yes, i shouldn't do that? [02:06:43] you can do it if you want [02:06:48] but you have to enter it :)() [02:06:50] :))* [02:07:08] :o) [02:07:35] well, all i have done was typing svn+ssh://ruiz@svn.wikimedia.org in firefox, then i was redirected to tortoisesvn, then i've been asked for password [02:07:51] So type in your password? [02:07:54] so, what pasword should i type or where can i set one? [02:08:08] You should type in the password that you set when you made your key. [02:08:11] not really, i didn't received it any from tim starling [02:08:34] oh, hope i have it somewhere [02:10:39] ok, in puttygen there's only passphrase. is that my svn password? [02:10:43] i'm really stupid at it [02:10:54] So, I'm trying to run a maintenance script from a non-PHP web app. Problem being, the copy of PHP spawned there apparently picks up apache's info and gets rejected because "This script must be run from the command line" [02:11:28] Any idea how I get around that? [02:16:29] is there a way to have the browser scale a jpeg in an Image tag? [02:18:13] gongoputch: http://www.mediawiki.org/wiki/Help:Images#Size_and_Frame [02:19:23] exactly, thanks! [02:20:37] Aha, apache and PHP communicate via environment variables. No wonder it's passing through. Okay, I can work around that. [02:21:57] chuck: does just what I needed [02:27:51] Can the MediaWiki help pages be imported to new wikis yet? [02:28:03] i tried three times, passphrase is not the password svn asks. any other ideas? [02:28:17] chuck: when have you not been able to import them to new wikis? [02:28:41] Emufarmers: Well, I know that I can import the text, but what about the screenshots and stuff? [02:28:44] Manually? [02:29:05] Eh, aren't they supposed to be exported along with the text? [02:29:20] I don't think I've ever actually felt the need to do it; I probably should try it out one of these days [02:38:48] is using the mediawiki package the preferred way to install mediawiki on ubuntu? [02:39:57] No [02:43:28] well, thanks for help, i'll maybe catch siebrand later [02:43:36] werdna: When do you think those preference updates will be live on WM? [02:44:23] chuck: next code update [02:44:32] so at some point in the next year probably [02:45:21] werdna: Isn't the next code update soonish? [02:46:28] When It's Done[tm] [02:46:51] That was a yes or no question :P [02:48:08] chuck: take a look at the scap map, maybe [02:59:22] Also, chuck, http://www.mediawiki.org/wiki/Project:PD_help/Copying looks like you have to do the images by hand unless you use the script. Of course, there are only 10 or so of them [03:00:19] The framework for the PD help sort of reads like it was abandoned while it was still being formulated; its policy pages still have "ongoing" discussions on them [03:00:28] Yeah [03:01:16] But my impression is that it never had the support of any developers, so it petered out once the original enthusiasts left or went dormant [03:01:30] though the PD help pages themselves still get edited [03:01:32] Well, the help looks really useful [03:01:43] I might import the pages for YourWiki's shared help system [03:20:10] 03werdna * r49792 10/trunk/extensions/GlobalBlocking/SpecialGlobalBlock.php: (bug 18396) Special:GlobalBlock/X now pre-loads details of the existing block where one exists [03:20:36] 03(FIXED) Special:GlobalBlock/127.0.0.1 should load current block settings if already blocked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18396 +comment (10agarrett) [03:21:32] 03(mod) Add a dropdown for pre-defined block reasons on GlobalBlocking form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18413 summary; +comment (10agarrett) [03:27:27] 03werdna * r49793 10/trunk/extensions/AbuseFilter/ (4 files in 2 dirs): (bug 18077) PostgreSQL compatibility issues in AbuseFilter, patch contributed by Brad Jorsch [03:27:47] 03(FIXED) Minor MySQL-isms in AbuseFilter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18077 +comment (10agarrett) [03:36:18] 03(FIXED) Enable AbuseFilter on Finnish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18435 +comment (10agarrett) [03:38:02] 03(FIXED) Add link to filtered Abuse filter log on Special:Contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18423 -need-review -patch ; +comment (10agarrett) [03:39:48] 03(mod) Allow changing preferences via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18195 +comment (10agarrett) [03:40:25] 03(mod) Allow changing preferences via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18195 (10agarrett) [03:42:43] what's the recommended cache for mediawiki? [03:43:40] cdecarlo: which level of cache? PHP? [03:44:13] Emufarmers, to be honest I'm not sure, I just read that APC is used for PHP caching [03:44:30] Emufarmers, what about html pages? [03:44:32] APC is good [03:44:41] eAccelerator or xcache are fine too [03:44:52] You can use file caching or Squid caching for the output [03:44:53] http://www.mediawiki.org/wiki/Manual:Cache [03:45:27] Emufarmers, thanks, I'll start with APC, I can add further caching down the line if I want, right? [03:45:43] 03(WONTFIX) Change so that Abuse Filter falls under the "Special Pages" category of Special:Version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17921 +comment (10agarrett) [03:45:57] cdecarlo: APC does a really good job [03:45:58] Yup; not a lot of things in MediaWiki you can't change later on [03:46:17] Emufarmers, sweet, thanks! [03:46:47] 03(mod) Allow filter rules to consider private data such as source IP, reverse DNS and user agent. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18429 (10agarrett) [04:01:37] 03werdna * r49794 10/trunk/phase3/ (2 files in 2 dirs): Fix spacing issues with autoformatted dates. Includes a parser test for the specific failure case which was fixed. [04:02:00] 03(FIXED) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 +comment (10agarrett) [04:26:12] 04(REOPENED) Remove "hiderevision" permission from the Oversight group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18511 +comment (10agarrett) [05:32:30] Which hook would I want to use if I wanted to insert some HTML right before the tag? [05:37:12] http://www.mediawiki.org/wiki/Manual:Hooks/SkinAfterBottomScripts ? [05:45:44] <3 [05:45:58] thanks Splarka [06:18:16] hmm [06:18:27] php has someone working on their bug tracking tool [06:32:31] i have a tiny problem with preview here (you can skip most of the code. relevant part is at the beginning), http://pastebin.com/df52fff0 [06:33:26] basically i need a way to convert some stuff from form to wikitext before it parses it into preview [06:34:55] convert what to wikitext? [06:35:06] the content of my form fields [06:35:20] the idea is that the extension creates these fields based on given definition [06:35:38] the definition is given in a template [06:36:47] you want to parse wikitext into HTML? [06:36:51] i have reserved the original editing box for "other" information (it does not show the syntax of the template as that part goes to the fields obviously) [06:38:11] well. when the preview is invoked, there does not seem to be any simple way to check out the request and get the form data to put into wikitext that the preview parses [06:38:22] oh I see what you mean [06:38:26] use a differnt hook [06:39:03] hmm. AlternateEdit would work but i would have to reimplement whole editing system. :) any better ideas? [06:39:59] basically i would just need something like AttemptSave but for before preview [06:40:07] AttemptPreview or something... [06:40:51] well it wouldn't be Attempt unless it could fail :o [06:41:03] hmm. good point [06:45:16] btw i tried showEditForm:initial yesterday but i could not figure out a way to inject html into the preview itself [06:46:30] i also found http://www.mediawiki.org/wiki/Manual_talk:Hooks#Preview_Hook.3F which implies the best way to handle it is to add a hook on my own (ie. copy it from FCKeditor) [06:50:07] oh cool. EditPageBeforePreviewText appears to do the trick :) [06:53:10] :P all i had to do was to add $wgHooks['EditPageBeforePreviewText'][] = 'combineBeforeSave'; (i have fckeditor providing the important hook installed) :) [07:19:14] Hello, I'm looking for help! [07:21:02] I just install MediaWiki on my web site, and the edit window is small for all user groups, except the very first bureaucrat created for installation. You can look the result here : http://img207.imageshack.us/img207/9875/ieuser.jpg [07:21:28] Does anyone know how to correct this? [07:22:18] what skin is that? [07:22:38] because the problem is with the skin [07:23:43] actually, that's interesting [07:23:44] morning [07:23:50] Antaya: did you just install that from trunk? [07:23:54] werdna: is update.php safe to run? [07:24:01] Nikerabbit: sure [07:24:58] werdna: will old preferences code keep working after it? [07:25:06] no [07:25:15] except for gadgets and centralauth, which I fixed [07:25:17] and flaggedrevs [07:25:22] @werdna : Well, I have the same problem with every skins. [07:25:25] but core? [07:25:34] what do you mean "old preferences code"? [07:25:41] Antaya: did you just install it from trunk? [07:25:43] new tables but old code [07:25:53] oh right [07:25:53] sure [07:25:57] it doesn't delete the old storage [07:26:17] Only the first bureaucrat have a correct edit window! [07:26:30] so, I can run update.php "beforehand" from other dir to avoid causing offline for the real wiki [07:26:36] yes [07:26:53] Antaya: Please answer my question. I can't help you if you don't. [07:28:55] Creating user_properties table...A database query syntax error has occurred. [07:29:18] "CREATE UNIQUE INDEX user_properties_user_property on user_properties (up_user,up_property) [07:29:23] MySQL returned error "1146: Table 'mediawiki.user_properties' doesn't exist (localhost)" [07:29:25] Sorry... What is the trunk? I've download it from here http://www.mediawiki.org/wiki/Download/fr [07:29:56] ow man, can we PLEASE fix that message?! it callsw any SQL error a syntax errror. that's grossly misleading! [07:30:33] Nikerabbit: looking [07:30:45] Antaya: can you give us the url of your wiki? [07:30:55] morning werdna and Nikerabbit btw :) [07:31:19] sure! Here : http://www.lepouceux.com/page [07:31:31] Nikerabbit: fixed, just updating [07:31:43] 03werdna * r49795 10/trunk/phase3/maintenance/archives/patch-user_properties.sql: Fix DB patch for prefixed setups [07:32:00] owlol [07:32:06] Nikerabbit: ok fix it :) [07:32:11] is prefixing really that uncommon :o [07:32:11] s/fix/update [07:32:13] hi Duesentrieb [07:32:24] anyway, where is that message, can't find it by greping [07:32:29] Nikerabbit: yes usually it's done only for strange people who use shared hosting :)) [07:32:33] Nikerabbit: which message? [07:32:33] Salut guillom! [07:32:43] A database query syntax error has occurred. [07:32:50] *guillom waves [07:33:08] oh [07:33:10] in the i18n files [07:33:13] great [07:33:17] (not) [07:33:46] well it's not my fault [07:33:48] I didn't do it :)) [07:34:13] I did, afaik [07:34:29] uh... useskin doesn't seem to work? http://www.lepouceux.com/page/index.php?title=Faire_du_pouce&action=edit&uselang=en&useskin=modern [07:34:34] am i doing something wrong? [07:34:43] hehe [07:35:21] Duesentrieb: var skin = "modern"; [07:35:29] Nikerabbit: tried again? :) [07:35:37] werdna: mom [07:36:09] ialex: but it isn't. so that's the problem right there. [07:36:31] salut ialex... [07:36:37] Antaya: the way you implemented your custom skin seems to completly override mediawiki's skinning mechanism. it's not possible to even activate a different skin. [07:37:31] Duesentrieb: that's because I don't want people to choose another skin... but let me chage that for now. [07:37:46] Antaya: but your skin breaks the edit page :) [07:39:52] ...user_properties table already exists. [07:40:03] does it have the proper indexes now? [07:40:07] Antaya: i see this: