[00:00:10] Lenaud01: Then no :) Check the extensions page for a paypal extension. I'm sure one has been made. [00:00:38] TimStarling: any issues with the load balancer? i was less sure if that needed fixing but nothing seems to have exploded ;) [00:01:09] YurtleTheTurtle: Is there another way to do it? Using wiki language - my css is sketchy [00:01:09] ok thanks YurtleTheTurtle this app is amazing I love it :) [00:01:23] in theory it's just a refactor [00:01:44] I tested it as well as I could with a single server [00:01:59] *AaronSchulz drowls at http://en.wikipedia.org/wiki/Toyota_Celica#Seventh_generation_.2F_T230_series_.282000-2005.29 [00:02:31] I was thinking about ways to set up some sort of multi-server mysql simulator or something, but then I got bored and left it for a week [00:02:53] so I just committed it [00:03:45] oh yeah, the other reason I left it is because I was having some design paralysis on how to extend the functionality [00:03:51] is there a way to get an Image to be a back drop? [00:04:11] domas was pushing me towards a daemon, but that can get complicated [00:04:17] 03(mod) Make One-Click sighting in case of multiple versions more comfortable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14754 (10JSchulz_4587) [00:04:31] brion: how is that paperwork coming? ;) [00:04:43] found it thanks YurtleTheTurtle [00:05:26] is there an extension that I coud instal that could do that? [00:05:53] 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10JSchulz_4587) [00:05:57] half-done :) [00:06:35] brion: man I want me my Celica [00:06:44] I'll prolly give here a name too [00:06:49] ? [00:06:51] checking out svn i guess [00:12:33] function end() { [00:12:33] $this->db->rollback(); [00:12:36] wtf? [00:12:39] localsettings.php set that to 644 i assume? [00:18:47] brion: why didn't you have DbTestRecorder extend DbTestPreviewer, adding write functions? [00:19:09] instead of having DbTestPreviewer write everything to the database, and then roll it back at the end? [00:19:25] i was prolly on crack at the time [00:19:33] :) [00:19:33] *Alexfusco5 thinks TimStarling wants to resolve bug 14576 :) [00:19:45] <^demon> A legitimate excuse, of course. [00:19:59] *Alexfusco5 calls the cops [00:20:06] ;) [00:20:21] :D [00:20:26] ok gonna run, be back later [00:23:09] !bug 14576 [00:23:09] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 [00:27:43] What is the page to put text on the top of every MW page? [00:28:45] !sitenotice | YurtleTheTurtle [00:28:45] --mwbot-- YurtleTheTurtle: I don't know anything about "sitenotice". You might try: !dismissablesitenotice [00:28:49] Hmph. [00:28:54] YurtleTheTurtle, MediaWiki:Sitenotice [00:28:57] hehe thanks [00:28:58] Also see MediaWiki:Anonnotice [00:29:06] the bot talks back too huh. [00:32:15] !sitenotice | YurtleTheTurtle [00:32:15] --mwbot-- YurtleTheTurtle: Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. See also: !anonnotice [00:32:19] !anonnotice | YurtleTheTurtle [00:32:19] --mwbot-- YurtleTheTurtle: Anonnotice is a wiki-wide message viewable by all non-logged out users. Similar to sitenotice, if anonnotice exists only logged out users will see anonnotice and only logged in users will see Sitenotice, they will not see each other. Anonnotice is editable by sysops at [[MediaWiki:Anonnotice]]. See also: !sitenotice [00:34:38] Thanks. Next question tho. I'm running runJobs.php from ssh and after 15min or so it starts throwing errors about the regular expression being too large. [00:34:50] Hmm, haven't heard of that one. [00:34:55] Exact error text might help. [00:35:19] Compilation failed: regular expression is too large at offset 30367 in /includes/Preprocessor_DOM.php on line 205 [00:35:35] the offset changes but is always in the 30k+ area. [00:36:02] <^demon> Ah, I've seen that. Never nailed down _exactly_ what was causing it. Any extensions? [00:36:17] It looks like $elementsRegex is too big? [00:36:26] Is that really variable? [00:36:28] Lots unforunatly. [00:36:37] <^demon> Simetrical: By default, no. Something was changing its size. [00:36:43] Hmm. [00:36:50] <^demon> YurtleTheTurtle: Cite/ParserFunctions? [00:37:17] Both + SMW + a few misc like googlevideo and youtube and some custom ones [00:38:20] <^demon> Gotcha. Last time I got that error was with importDump. I narrowed it down to those two extensions (I /believe/ it was ParserFunctions that was causing it). Still no clue on what exactly within the extension is causing it. [00:38:42] <^demon> Usually died about the 30,000-40,000 mark on importing pages. [00:41:03] Hmm [00:43:40] 03demon * r37295 10/trunk/phase3/ (RELEASE-NOTES includes/memcached-client.php): (bug 14159) Use of MEMCACHE_COMPRESSED constant causes an E_NOTICE on PHP installs with the Memcache module installed. Renamed to MEMCACHE_MCOMPRESSED. [00:44:14] 03(FIXED) Got notice, about MEMCACHE_COMPRESSED constant - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14159 +comment (10innocentkiller) [00:54:25] I did the php_auth mod and now white screen :( [00:58:59] ok so i added code but I have what it says im missing :| [00:59:10] Warning: require_once(./extensions/Auth_phpBB.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/wiki/LocalSettings.php on line 133 [00:59:10] Fatal error: require_once() [function.require]: Failed opening required './extensions/Auth_phpBB.php' (include_path='/var/www/html/wiki:/var/www/html/wiki/includes:/var/www/html/wiki/languages:.:/usr/share/pear:/usr/share/php') in /var/www/html/wiki/LocalSettings.php on line 133 [01:00:10] nm I got it :) [01:04:45] Beh what ever is causing that regex error is quite annoying. [01:05:30] *Dantman coins the phrase "I'd help, but you'd have to pay me..." [01:13:57] TimStarling: do you know what apache mods MW uses? I'd like to disable all mods that are unneeded, but I don't want to by accident disable a needed one [01:14:16] mod_php [01:14:45] that's all? [01:15:20] it doesn't need rewrite for rewriting urls? [01:16:20] TimStarling: [01:16:56] it doesn't need mod_rewrite [01:17:09] Rewriting urls is something that's external... MediaWiki is programmed in PHP, anything else is your business [01:17:48] Though depending on your setup, you may need rewrite or aliases to do short urls on your own [01:18:28] you shouldn't use mod_rewrite for shortening URLs [01:18:33] it corrupts plus signs [01:18:40] TimStarling: what should I use? [01:18:42] or percent characters [01:18:45] alias [01:18:55] ok [01:19:05] is there a guide for that method? [01:19:22] <^demon> YurtleTheTurtle: If you manage to track it down, there's big rewards in it :-) [01:19:50] does WP use any apache mods besides mod_php and alias, then (if you know)? [01:20:38] we use a few [01:20:49] I don't know why you want to disable them, we just use a normal build [01:21:33] TimStarling: wouldn't it help memory issue wise, to disable unused ones? [01:21:44] not really [01:21:49] ah [01:21:59] maybe it'd save hundreds of kilobytes, but that's not much compared to what PHP uses [01:22:02] okay. thank you for your help [01:22:04] yeah [01:22:09] PHP is the most memory-inefficient language on earth [01:22:23] but MW's creators must not have known that then. :) [01:25:37] <^demon> It's also an incredibly easy to learn language that is fairly versatile for rapid web app development :-) [01:28:53] TimStarling: where were you when they were php bashing earlier? :) [01:30:18] I've heard RoR is good for rapid web app development [01:30:33] I haven't tried it though [01:31:15] but it's even slower than PHP [01:33:32] <^demon> Nor have I. Haven't had the time to sit down and learn a new language. [01:37:41] <^demon> TimStarling: Just read about the new sidebar. I like :-). Question though: If you don't use the defined keywords (SEARCH, etc), does it not render those areas? Or does it default to the current layout? [01:38:02] it defaults to the current layout [01:38:22] that's why it didn't break every wiki when it was deployed [01:39:53] <^demon> Gotcha. Thanks. :-) [01:41:55] is there a way to lock out for only registered users can make pages [01:49:26] Lenaud01: But so anno can edit? [01:50:11] only registered useres [01:50:14] users [01:50:22] I have it set to php_auth right now [01:50:50] Lenaud01: So only registered users can edit and make pages? [01:51:08] correct [01:51:46] Lenaud01: Yes you can, but i'm not sure of the config setting, let me look [01:52:08] I tryed checking mediawiki [01:52:13] said I can protect per page [01:52:24] but not sure if that would do it [01:52:35] It would, but you can turn off anno editing somwhere [01:52:47] http://www.mediawiki.org/wiki/Manual:$wgGroupPermissions will work [01:53:33] thanks [01:55:47] last question and im done bugging :) is there a way to make it for outside users that are not registered dont see anything [01:57:35] Lenaud01: No built in functionality in MediaWiki that I know of [01:57:44] Lenaud01: Now I'm curious as to your content :) [02:07:57] Disable reading [02:08:11] Same way you disable editing [02:08:50] Though, remember it's not what MediaWiki was meant for, and so you're not guaranteed there is no way to get arround it and view things anyways [02:09:24] Dantman: disabling reading globally is safe, and is in use in a few wikimedia wikis ;) [02:10:10] ;) Thats the same thing they said before they found out you could bypass that with feeds and had to fix that... [02:12:41] thanks Dantman [02:12:57] well users can still see content [02:13:10] www.artofmisdirection.com/wiki [02:13:15] there ya go YurtleTheTurtle [02:14:39] there is no read option Dantman [02:15:11] $wgGroupPermissions['*']['read'] = false; [02:15:40] Lenaud01: make sure you turn off the api too [02:15:44] if you disable reading [02:15:54] how do you turn the api off? [02:16:05] $wgEnableAPI [02:16:07] I think [02:16:53] $wgGroupPermissions['*']['read'] = false; [02:16:55] seems to work [02:17:05] when I log out I get a msg saying i have login view anything [02:17:33] That would do it then [02:17:45] !wgEnableAPI [02:17:45] --mwbot-- I don't know anything about "wgenableapi". [02:17:48] :O [02:18:28] how do I see a new page? [02:18:32] there not listed anywhere [02:19:11] !readonly [02:19:11] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgReadOnly [02:19:14] erm [02:19:24] !lockdown [02:19:24] --mwbot-- Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [02:19:40] Lenaud01: See a new page? [02:20:36] 03shinjiman * r37296 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [02:21:11] yea you know when you say go to www.yoururl.com/wiki/index.php/newpagename [02:21:24] making a new page when you edit it and add content [02:21:43] I do indeed know [02:21:44] you see it when you push random page but does not list anywhere else [02:22:17] Lenaud01: you can use the inputbox extension, or you can search for the page and click the "create it" link [02:23:16] where create it link? [02:23:54] Lenaud01: There is no page titled "foo". You can create this page. [02:24:23] Lenaud01: On the top under "You searched for foo", that link to foo is also a link to create the page. [02:24:56] perfect thanks [02:34:24] 03shinjiman * r37297 10/trunk/phase3/languages/ (LanguageConverter.php messages/MessagesZh.php): [02:34:24] * tweak some -{}- parsings [02:34:24] * adding namespace aliases for the Chinese language (zh) [02:34:24] patches by fdcn [02:36:46] how do I allow anonymous users to upload files? [02:42:40] DanielTahar: Right now that's not recomended... MediaWiki's loging is not yet setup to work with anon users [02:42:54] DanielTahar: Right now that's not recomended... MediaWiki's loging is not yet setup to work with anon users [02:43:10] i see... thanks [03:15:43] 03(WONTFIX) Clean text in MediaWiki: Deletereason-dropdown before creating a select box from them. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14107 +comment (10innocentkiller) [03:30:40] !rar [03:30:40] --mwbot-- rar [03:32:32] !blame [03:32:32] --mwbot-- I don't know anything about "blame". [03:33:03] :( [03:33:06] !fail [03:33:06] --mwbot-- I don't know anything about "fail". You might try: !rewriteproblems [03:35:02]

Your edit has been rejected because your client mangled the punctuation characters in the edit token. [03:35:04] The edit has been rejected to prevent corruption of the page text. [03:35:06] This sometimes happens when you are using a buggy web-based anonymous proxy service. [03:35:07] :( [03:36:07] Here's the lib I'm working on [03:36:09] http://pastebin.com/d1854d1c8 [03:36:45] The token is returned just fine [03:36:55] I dont know what I could be doing wrong in passing it in the post to edit the page [03:36:57] Any ideas [03:39:00] *NotATree pokes Simetrical [03:39:33] OverlordQ: :O [03:45:52] ah, Splarka. just in time [03:47:51] uh oh [03:51:29] :O [03:51:53] *NotATree pokes Splarka with http://www.mediawiki.org/wiki/Project:Support_desk/Sections/System#Automated_editing_via_Index.php [04:02:11] What extension for [04:03:17] !e CharInsert [04:03:17] --mwbot-- http://www.mediawiki.org/wiki/Extension:CharInsert [04:03:37] ;) heh [04:04:19] T_T Now if only someone would pay me to build a feature or two [04:09:13] :O [04:34:54] NotATree: well, it means you mangled the token, so don't mangle it ^_^ [04:35:02] *Splarka unidles [04:35:05] :O [04:35:10] *NotATree stabs Splarka [04:35:27] no, seriously, don't mangle it, don't esacape it, return it verbatim [04:35:27] *Dantman burns NotATree's leaves [04:35:41] Though, you may want to urlencode it ;) [04:35:44] that +\ is there specifically to detect open proxies that mangle tokens [04:35:46] well, yah [04:35:51] Ok [04:36:00] Dantman, yeah Python :D [04:36:14] urllib2.urlencode(get_token()) [04:36:47] *Dantman needs to get arround to embedding a donate button into his wiki's skins [04:37:03] they (the broken proxies) were most visible when all ' and " became escaped in an edit, \'. \", etc [04:37:29] however, adding a ' or " to the edit token wasn't feasable (broke with too many valid clients I guess?) [04:37:32] so the +\ was used [04:37:41] even for anon users, you might notice [04:39:28] How do you allighn images together? [04:39:39] make them sit next to each other [04:39:58] vertically or horizontally? [04:40:06] horizontally [04:40:18] float them all, though they'll wrap [04:40:20] basiccly just join them [04:40:29] ? [04:41:16] hmm [04:41:33] How do yu float them? [04:41:42] can i make them link to external sites too? [04:41:46] do you want them on the left or the right? [04:41:53] [[Image:Wiki.png]][[Image:Wiki.png]][[Image:Wiki.png]] for example will put them on the left [04:42:04] center [04:42:19] sheesh [04:42:29] you're pushing the limits of wikicode, heh [04:42:34] is this like asking for world peace? [04:42:47]

[[Image:Wiki.png]][[Image:Wiki.png]][[Image:Wiki.png]]
[04:42:58] (but then they can't have any text wrapping around them) [04:43:05] if you want more complex than that, you'll probably need tables [04:43:09] and image links... [04:43:11] !imagelink [04:43:11] --mwbot-- Image linking is intentionally not supported in MediaWiki, so access to the image's description page is always available. If you need image links, see for methods and information. One way to achieve this is . [04:43:12] and to make them link to another site? [04:43:23] lots of ways to do that, read the page and decide what you want [04:43:40] i have the linked image extension installed [04:43:43] if you want just one link, a sitewide CSS style of an to add a background-image is easy [04:43:53] if you want many, enabling external images is handy [04:44:12] if you don't want to enable external images, you could make the external links you want interwiki links, which should work with the link extension [04:44:39] whoa [04:44:46] im so confused [04:44:55] let me tyr merg those images [04:44:55] well, lets start slow [04:45:06] okay [04:45:09] how many external sites do you need to link to, with images? one? two? 50? [04:45:09] step 1? [04:45:25] two images going to differest sites [04:45:33] two images, two sites? [04:46:02] correct [04:46:39] http://www.mediawiki.org/wiki/Help:Linked_images#Site_CSS [04:46:43] that is probably the best [04:47:27] okay, step one, what are the URLs to thes two images? (if you can't share them, then tell me their heights and widths) [04:47:55] Thank you very much - but how will i get them to sit next to each other? [04:49:37] well, lets worry about that when we get there [04:49:52] what are the images' dimensions? [04:50:02] !disclaimers [04:50:02] --mwbot-- I don't know anything about "disclaimers". [04:53:25] Hi - I am trying to add a Java script code to every page of my wiki - is it possible to add this to monobook.css - if not where do I add it? Thanks! [04:53:37] sorry, main.css [04:53:42] in monobook [04:54:05] no and no [04:54:11] where should I add it? [04:54:20] well, first of all, js goes in .js files, not .css [04:54:25] try monobook.js [04:54:34] or common.js [04:54:38] for every skin [04:54:40] and second, you probably want to add it in-site, rather than edit the /skins folder [04:54:54] how do I add it to in-site? [04:54:54] so you want to edit a page called MediaWiki:Common.js on the wiki, there you can add site-wide JS [04:55:01] ahhh got it [04:55:21] (if you actually do want to edit the files, /skins/common/wikibits.js, but it makes upgrading harder) [04:56:35] i just tried pasting my javascript code in common.js - got a java error [04:56:42] even though when i past it in a normal html file it works [04:57:04] java or javascript? [04:57:13] (and what error?) [04:57:17] its javascript [04:57:52] syntax error [04:58:09] paste it as bare js, no [05:03:01] anybody know when version 1.13 will be released? [05:11:09] I'll take that as a no then [05:30:38] 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10tim) [06:06:50] how to access mediawiki variables through the URL ? [06:08:50] udinesh6: what kind of variables? [06:09:21] $wgLogo [06:10:00] AFAIK not possible [06:10:21] Raymond_: i am ignorant of php...i want to customize just like i did http://192.168.0.200:8081/wiki/index.php?MediaWiki:Sidebar [06:11:04] Raymond_:like this http://192.168.0.200:8081/mediawiki-1.12.0/index.php/MediaWiki:Sidebar [06:11:45] Raymond_: but from google i got this....http://www.mediawiki.org/wiki/Manual:%24wgLogo [06:11:51] udinesh6: http://192.168.0.200 is not reachable. it's an ip address in your private network [06:12:04] Raymond_: it isnt working for me....its reachable [06:12:12] Raymond_: i am using it in the intranet [06:12:39] yes. but 192.168.x.y is never reachable from outside [06:13:39] Raymond_: reachability is not the issue.....we are using it in intranet...tell me how to set the variable through GUI [06:14:13] udinesh6: it's not possible. you have to edit your localSettings.php [06:15:18] !logo | udinesh6 [06:15:18] --mwbot-- udinesh6: The logo that appears in the top left of each page is determined by the $wgLogo configuration setting in the LocalSettings.php file. To change this you simply need to change the value of $wgLogo to point to the URL of your own logo image. See for more information. [06:16:02] this link doesnt work for me [06:16:26] mwbot: i get not found [06:17:14] 03mkroetzsch * r37298 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: fix safe method SMWSQLStore (class change in input) [06:17:37] hi all, [06:20:41] I am trying to add support multilingual content to our user project wiki, for example -- having page 1) GRASS-Wiki (redirected from Main Page) 2) GRASS-Wiki/cs 3) GRASS-Wiki/id [06:21:04] a) when I enter GRASS-Wiki I see "czech" in other languages [06:21:45] b) when I enter GRASS-Wiki/cs I see english and bahasa indonesian -> OK [06:22:06] a) <- missing bahama indonesian [06:22:31] c) enter GRASS/id I see cs and en -> OK [06:22:34] when i try to upload a image I get this Internal error [06:22:35] From Artofmisdirection Wiki [06:22:35] Jump to: navigation, search [06:22:35] The upload directory (public) is not writable by the webserver. [06:22:35] Retrieved from "http://www.artofmisdirection.com/wiki/index.php/Special:Upload" [06:22:36] Views [06:22:37] * Special [06:22:40] Personal tools [06:22:43] * Lenaud01 [06:22:46] * My talk [06:22:47] * My preferences [06:22:49] * My watchlist [06:22:51] * My contributions [06:22:54] * Log out [06:22:55] my apologies [06:22:57] did not think all that would go in [06:23:23] where is that directory set? I never set public [06:23:31] I checked httpd.conf but nothing [06:24:19] my question here, why is 'bahasa indonesian' missing on GRASS-Wiki (redirection should also work since I enabled $wfPolyglotFollowRedirects) [06:25:52] I forgot mention that GRASS-Wiki/id has been created by moving existing page [06:26:00] Lenaud01, read FAQ [06:27:08] k [06:27:09] thanks for any pointers [06:28:17] <_wooz> lo [06:29:09] btw using 1.12.0 and last svn Polyglo [06:33:10] Nikerabbit: hey, you were looking for me a few days ago? I've been meaning to get back with you, sorry :/ [06:36:59] strange, when I set up $wfPolyglotFollowRedirects = false; everything seems to work (also other related problems) [07:03:33] can someone point me to a doc page somewhere with what i need to POST to what page to be able to delete a page? [07:03:37] without the api [07:04:28] *Werdna shrugs, goes to the delete tab [07:04:34] http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php ? [07:05:32] yeah, that will probably work, thanks MZMcBride [07:05:35] http://pastebin.ca/1065332 [07:05:38] dump of the HTML form [07:05:41] just use that. [07:06:09] heh [07:08:22] wpReason, wpWatch, wpConfirmB, wpEditToken [07:08:40] URL being the &title=foo&action=delete [07:08:41] simple! [07:08:50] <3 parameterization. [07:08:52] wpConfirmB and wpWatch are probably optional [07:09:24] POST all data except the &title and &action (as the URL sent to) [07:10:20] ok, so title=foo and action=delete in the url, and post the token [07:10:40] do i need to urlencode the + in the token if i am sending a post? [07:11:18] heh, well, you just have to not corrupt it or escape it (urlencode works IIRC) [07:12:25] 03(NEW) Create a wap mobile gateway for the english wikinews similiar to wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14755 15enhancement; normal; Wikimedia: WAP mobile gateway; (bawolff+wn) [07:20:48] hey MaxSem [07:21:44] hi Werdna [07:22:00] Tim-away: per 37232, what do you think about also having LOGO, CACTIONS, PERSONAL placeable? [07:22:25] in monobook, it shouldn't affect anything, since they float absolutely, but in myskin and other template skins that just treat them as equals, might be handy [07:23:07] (and, it is also a common problem/request that people want to generate their own, maybe a handy hook to let you define custom ones...) [07:23:41] *Splarka watches the feature crawl up from the ooze and start filling out credit applications [07:36:50] Where can i find free good quality clipart? [07:37:04] ask google [07:37:18] commons.wikimedia.org ? [07:37:22] i keep getting crap [07:37:28] on google [07:37:39] then commons [07:37:56] thanx! [07:41:52] MediaWiki is barfing at a png file I'm uploading, and producing garbage for the scaled version. Are there some restrictions on the exact format of a png file I upload? [07:42:53] hi, well I am back with the Polyglot problem [07:43:21] 1) create new page Page/cs which is translation of Page [07:43:36] 2) reload Page -> no czech in other languages [07:44:20] 3) modify LocalSettings.php, $wfPolyglotFollowRedirects to true of false (doesn't matter), save file [07:44:39] 4) reload Page, and I see czech in other languages [07:45:30] everytime I create new page with translation I need to modify $wfPolyglotFollowRedirects to update "other languages" box to see newly added translation [07:46:09] any advice how to solve this problem? [07:50:22] hi. wondering how to enable OntologyImport in Semantic MW, could anyone help? [07:54:40] 03(mod) Enable FlaggedRevs Patrolling Configuration on English Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14739 (10bawolff+wn) [08:00:48] Hi all [08:01:24] I am looking for some help on mediawiki [08:03:58] ask [08:04:42] At af.wikipedia.org our special pages are not updating ... yes they are enabled to update everyday at 03:00 [08:05:06] Where should I start looking for the problem? [08:05:52] that's question for #wikimedia-tech [08:05:52] probably report it to #wikimedia-tech for wikimedia server issues [08:06:06] (usually is the result of some cron failing or other technical faulty thing) [08:06:06] 03nikerabbit * r37299 10/trunk/phase3/ (3 files in 2 dirs): [08:06:06] * Move message functions to own file [08:06:06] * Improve documentation [08:06:06] * Reduce code duplication [08:06:06] * Fix the braindamage that wfMsg and friends were doing transform, but in the wrong language [08:08:56] Thank you Sasa^Stefanovic and Splarka ... I will ask on #wikimedia-tech. [08:10:55] huzzah! i got it working, page deleted [08:20:38] [08:20:48] does that mean there is no edit token? :o [08:22:23] still doing with mirc? [08:22:29] ofc :) [08:22:39] unbelievable [08:22:41] it helps me learn all kinds of new stuff [08:23:11] xD [08:23:19] anyway, it doesn't matter [08:23:22] but I really hope you wont get a job because of that skill [08:23:33] when do I get the edit token? [08:23:39] I tried to GET the edit page [08:23:47] and I get a null value [08:24:05] anon users have to return the edit token [08:24:17] for now it is "+\" which detects corruption [08:24:17] Dor: edit token "+\" means that you're anon [08:24:34] so I need to return +\? [08:24:38] but at some point it might change (it is supported by squid (cookies that is) but hasn't been needed yet) [08:24:42] yah [08:24:43] you need to log in [08:24:53] hey, anon bots are... well, silly, but possible [08:24:54] wait, if I login to an account, I don't need the edit token? [08:25:11] you have to return cookies if you log in, not sure how you can do that with a bare socket, heh [08:25:26] not quite a problem [08:25:28] but if you log in you also need the edit token, which is then dynamic [08:25:37] I get the Set-Cookie: header [08:25:42] write what I need into a file [08:25:50] and send it with every GET or POST [08:25:55] as Cookie: [08:26:14] the token needs to be urlencoded, eg %2B%5C (usually), and not escaped, not +\\ or %20\ or other corruption [08:26:28] ofc [08:26:46] all forms are urlencoded [08:28:36] but that's not the point, if I login to an account, will the EditToken still be there? [08:29:28] yes it will [08:29:39] lets pretend it wasn't for a second [08:29:45] okay [08:29:56] you could go to some site, and they could guess maybe 1% of their visitors were logged in to en.wp [08:30:18] yeah... [08:30:19] they could generate a
and .click() it with javascript, forcing users to vandalize random pages on wikipedia [08:30:48] I understand [08:30:52] and if they were sysops, they could potentially delete, protect, block... [08:30:53] okay then [08:30:55] I login [08:31:05] the tokens are random and associated with the user, who is verified by cookie [08:31:24] when I am logged in, the EditToken should change to something like a4426df2e515f529f7b5b210dbca17b4 [08:31:48] 0160c9368473f9e71297abe9eb1eee41+\ [08:31:58] right, some md5 with +\ [08:32:14] okay [08:32:27] so basiclly a bot needs 2 posts and 1 get [08:32:51] 1 post for login, 1 get for getting the edittok and 1 post for actually preforming the edit [08:35:23] unless they stay logged in [08:35:26] but yah [08:36:46] btw dor: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=18112 and http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=23287 [08:36:51] might be of interest, per +\ [08:40:31] does MediaWiki have a disk quota for storing images? [08:40:36] and if so, how is it configured? [08:42:39] 03btongminh * r37300 10/trunk/phase3/includes/api/ApiQueryRevisions.php: User::editToken expects the salt as an array, not as variable length argument list. [09:00:30] Splarka, thanks :) [09:00:40] one last thing before I get started [09:00:48] ra [09:00:52] how do I give the bot flag to an account? [09:01:10] try Special:Userrights ? [09:01:44] is it there? [09:02:06] huh [09:02:08] seems like it is [09:04:43] hi! i've some problem sending automatic mail, when i send to yahoo or gmail everything works fine, but using other account like alice it doesn't work, could something help me? [09:09:23] Rave21: "automatic mail"? [09:11:00] my wiki sent a mail the first time a user insert a new article.. but this mail doesn't work with alice [09:13:25] what would be the best way to return aborting handle here --> https://bugzilla.wikimedia.org/show_bug.cgi?id=14261 ? just setting a global variable from wfRunHooks sounds too lame [09:13:46] s/handle/hook/ [09:19:37] MaxSem: you can use reference-parameters to pass back information. several hooks do that [09:19:58] Rave21: how does that automatic mailing work? does it use the UserMailer class? [09:20:22] yes, they used usermailer [09:20:48] Rave21: and are you using SMTP or a local MTA? [09:20:58] Duesentrieb: that requires support from every place that may abort a hook call [09:21:12] but i've created a different class to send mail in html format.. [09:21:30] or you mean to runhooks? [09:21:37] hmm [09:21:58] i use the email service of my web hosting [09:22:03] runhooks could get an additional param, though i'm not sure this is the right way... [09:22:49] Rave21: so you are using a local MTA. well, you could ask them if the mail is bing sent out, and if it gets bounced for some reason [09:23:14] ok, i try [09:23:19] Rave21: one reason might be that Alice doesn't like the way you did your HTML-mail thing. Is it mime/multipart? [09:23:37] MaxSem: how about doing it Right (tm) and using exceptions? [09:23:39] no html [09:23:50] text/html [09:23:51] hm? [09:23:59] lol, compatibility breakage [09:24:52] not necessarily. you could say if you want exceptions when calling runhooks [10:10:05] Is there a way to get the wiki galleris o show 5 thumbnail - not 5 [10:10:40] mib_exy8wwit: 5 or not 5? [10:10:45] Is there a way to get the wiki galleries to show 5 thumbnails - not 4 [10:10:58] [10:26:39] What should be the Permissions for the Localsettings.php ? [10:27:03] readable, but not writable, by php [10:27:15] php will be using eitehr your user id, or apache' [10:27:16] s [10:27:23] depending on setup [10:28:02] Ok. I tried changing the LocalSettings.php Permissions. and Now I get the following error [10:28:04] Warning: Cannot modify header information - headers already sent by (output started at /home2/tamilcco/public_html/buddhism/w/LocalSettings.php:1) in /home2/tamilcco/public_html/buddhism/w/includes/WebResponse.php on line 10 [10:28:12] It was working fine previously [10:28:42] a guy reported the bug that in the localization files: MessagesXy.php $1 is not replaced to the project name [10:29:46] vinodhrajan: LocalSettings should start with [10:30:03] no newlines at the end, no BOM's at the beginning [10:32:15] Ya Thanks Maxsex. I edited the file in CoreFTP. It seems it appended something at the End. I removed that. Now its working Fine [10:35:49] 03jhsoby * r37301 10/trunk/phase3/skins/simple/main.css: Removing segment in Simple's main.css that was adding (!) English text for every language, without possibility of localisation. [10:40:12] the bug is here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/MessagesHu.php?r1=36499&r2=36498&pathrev=36499 [10:41:22] 03tstarling * r37302 10/trunk/phase3/includes/db/ (Database.php LBFactory.php LBFactory_Multi.php): [10:41:22] * LBFactory is not really much of a factory if it doesn't have new*() functions, is it? Introduced them, for use in parserTests.inc. [10:41:22] * Came up with a neater way to micro-optimise local section determination. [10:41:22] * Renamed LBFactory::destroy() to LBFactory::destroyInstance(), and made it close connections since apparently that's not done by default when the connection resources are destroyed. [10:41:26] * Removed Database::$mOut, hasn't been used for a while and it dirties up var_dump($db) [10:44:05] 03(mod) Logo for Modern Skin - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14594 +comment (10jhsoby) [11:01:43] Eek! I clicked roll back by mistake [11:02:01] two wrongs make a right [11:02:03] how can i go back to the last one [11:02:07] ? [11:02:19] i spent all night on it [11:02:22] roll back your rollback (unless you rolled back yourself) [11:02:47] (in which case, go to history, click the *date* of the last good version, click edit, click save) [11:03:57] i cant find it [11:04:12] can you do it for me? [11:05:28] Phew!!! [11:05:34] Thank you so much!!! [11:06:52] what does roll back do? [11:08:52] reverts all edits of the last user to edit a page [11:09:08] so if User:Foo made 50 edits in a row and no one else did since, it reverts those 50 edits [11:09:13] if he made one, it reverts just that one [11:09:18] Splarka [11:09:32] I managed to login and save the cookie :D [11:09:33] if two users, Foo and Bar edited once each for 100 edits, it would revert just the last user's edits, so 1 of 99 [11:09:37] dor: in mirc? weirdo [11:09:41] yeah [11:09:50] login with my bot and have a cookie [11:10:01] okay, next question, why? [11:11:16] I think I said it enough [11:11:28] I learn from it about the structure of HTTP protocol [11:11:32] that's my main target [11:11:42] one question [11:11:47] will Special:Allpages [11:11:57] present ALL pages on the same page? [11:12:11] or will there be like 200 links in one page and then I need to go to page 2 [11:13:56] mmmm [11:14:01] seems like there are pages [11:14:59] Splarka, is there a way to show a raw list or xml version of Special:Allpages [11:15:18] api [11:15:21] api [11:15:22] :) [11:15:30] *Splarka checks the logs on that one [11:15:35] anything stable that has been tested? :P [11:15:42] api [11:15:51] !api [11:15:51] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [11:15:55] [11:15:18] api [11:15:55] [11:15:21] api [11:15:58] api is quite resent isn't it? [11:16:03] yep, beat ya by 3 seconds! [11:16:07] api write is quite new [11:16:12] read api is stable enough [11:16:14] the API itself has existed forever [11:16:17] api write o_O [11:16:20] well, forever in wiki time [11:16:27] :) [11:16:32] and query before it even longer [11:16:58] *MaxSem wonders when query will be finally put to death [11:17:29] well, how do I do it in API? [11:17:39] Find out more at http://www.mediawiki.org/wiki/API [11:20:05] do I need to know PHP to work with API? [11:20:22] I mean, know PHP at high level [11:20:44] don't need at all [11:21:03] you don't even need to know xml, you can output in a variety of formats [11:21:06] the json is quite nice [11:21:27] ...for JS [11:22:43] actually, people use it for NON-js [11:22:58] not sure why, it is a bit more human readable than xml I suppose [11:23:22] xml readers are much more poular and thus easier to find [11:23:44] json readers are more than abundant [11:23:47] how do IO enable API? [11:23:50] I* [11:24:04] !enableapi [11:24:04] --mwbot-- I don't know anything about "enableapi". [11:24:18] let's teach you, then [11:24:22] *FunPika got Fatal error: Call to undefined function curl_init() in /home/testwiki/htdocs/html/w/includes/specials/SpecialUpload.php on line 181 while trying to do a URL upload [11:24:37] Dor: by not disabling read on your wiki for anon users? [11:24:37] You need to install cURL. [11:24:57] isn't API disable by default? [11:25:32] cURL? [11:26:06] FunPika: If you're using Debian, apt-get install php5-curl [11:26:18] Dor: enabled by default in recent versions [11:26:18] Ubuntu? [11:26:41] excellent [11:26:42] :D [11:26:42] Dor: $wgEnableAPI = true; to your LocalSettongs.php if it's false [11:26:46] Dor: only write api is disabled [11:26:50] Dor:$wgEnableAPI = true; [11:26:54] $wgEnableWriteAPI = false; [11:26:55] Splarka: you're slow :) [11:26:57] in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?view=co&content-type=text%2Fplain [11:27:04] str4nd: no, was repeating what they said [11:27:05] but with citation [11:27:08] in this case [11:27:10] ack [11:27:17] it's gonna be so much easier then I though [11:27:17] :D [11:27:38] Dor: but $wgGroupPermissions['*' ]['read'] = false; [11:27:40] will kill it [11:27:49] well, unless you're logged in of course [11:27:56] (but maybe even then) [11:28:01] since unregistered users CAN read, it's not a problem [11:28:05] yah [11:28:08] plus, the bot is logged in [11:28:09] :) [11:28:22] !enableapi is To enable bot API in your MediaWiki installation, add $wgEnableAPI = true; to LocalSettings.php. If you also need to modify the wiki using the API, also add $wgEnableWriteAPI = false; [11:28:22] --mwbot-- Successfully added keyword: enableapi [11:29:14] $wgEnableWriteAPI = false;? [11:29:18] shouldn't it be true [11:29:19] ? [11:29:36] MaxSem [11:29:38] !rtfm [11:29:38] --mwbot-- Please search and read the MediaWiki manual at before asking. [11:30:01] " If you also need to modify the wiki using the API, also add $wgEnableWriteAPI = false;" [11:30:10] I think it should be = true; [11:30:30] MaxSem: I think he's right, it should be true; [11:30:32] !enableapi is To enable bot API in your MediaWiki installation, add $wgEnableAPI = true; to LocalSettings.php. If you also need to modify the wiki using the API, also add $wgEnableWriteAPI = true; [11:30:32] --mwbot-- Keyword "enableapi" already exists. Use "!enableapi del" to remove it. [11:30:40] :) [11:30:43] !enableapi del [11:30:43] --mwbot-- Successfully removed keyword: enableapi [11:30:45] !enableapi is To enable bot API in your MediaWiki installation, add $wgEnableAPI = true; to LocalSettings.php. If you also need to modify the wiki using the API, also add $wgEnableWriteAPI = false; [11:30:45] --mwbot-- Successfully added keyword: enableapi [11:30:47] for once! [11:30:50] heh [11:30:52] ARGH! [11:30:54] !enableapi del [11:30:54] --mwbot-- Successfully removed keyword: enableapi [11:30:55] xD [11:31:01] !enableapi is To enable bot API in your MediaWiki installation, add $wgEnableAPI = true; to LocalSettings.php. If you also need to modify the wiki using the API, also add $wgEnableWriteAPI = true; [11:31:01] --mwbot-- Successfully added keyword: enableapi [11:31:08] :P [11:31:10] screw cpoy-pastes [11:31:46] !copypaste is To copy one mistake and duplicate it. [11:31:46] --mwbot-- You don't have permission to do that. [11:31:47] dor btw: [11:31:49] :P [11:31:50] ? [11:31:50] http://en.wikipedia.org/w/api.php?action=query&format=jsonfm&list=allpages&apnamespace=0&aplimit=100 [11:32:20] and to continue you use the query-continue thing [11:32:23] http://en.wikipedia.org/w/api.php?action=query&format=jsonfm&list=allpages&apnamespace=0&aplimit=100&apfrom=!Que%20negrota! [11:32:28] ^thusly [11:32:32] yeah [11:32:34] I read about it [11:32:42] jsonfm is for easy viewing, you probably want xml or json [11:32:49] (jsonfm makes it html) [11:32:54] but the xml is what I need and I don't need to limit [11:32:55] :) [11:33:03] no limit? default is 10 [11:33:17] you should want more or less than that [11:33:20] 10 is a silly number [11:33:32] I want to go through all the pages [11:33:38] well, you won't be able to [11:33:41] so I just put limit to 999999999999999999999999 for example? [11:33:44] if you have more than ~500 (or 5000 for bot) [11:33:54] won't work [11:33:57] bah [11:33:59] limits are hard coded at 500 and 5000 [11:34:00] never mind [11:34:18] my wiki will never reach 5000 articles [11:34:19] (you could edit the file, but you might get memory errors or timeouts) [11:34:21] so I'm good :) [11:34:22] heh, fair [11:34:27] http://en.wikipedia.org/wiki/%21%21%21Fuck_You%21%21%21 [11:34:31] I don't believe it. [11:34:47] why? [11:34:47] an article named !!Fuck You!!! [11:34:55] :o [11:35:11] censor it! [11:35:17] http://www.google.com/search?q=site%3Awikipedia.org+intitle%3Afuck&num=100 [11:35:26] quick! think of the children! [11:35:28] there's also http://en.wikipedia.org/wiki/Anal_Cunt [11:35:52] and http://en.wikipedia.org/wiki/Hello.jpg [11:36:27] and http://en.wikipedia.org/wiki/Felching [11:37:05] http://simple.wikipedia.org/wiki/Nigger [11:37:40] think of the children [11:38:07] *MaxSem thinks that children are tasty is roasted properly [11:38:24] *VasilievVV eats MaxSem [11:38:24] *if [11:38:45] *MaxSem is not a child, unlike VasilievVV, yummy! [11:39:24] MaxSem: I prefer eating stewards boiled and tored in small pieces [11:39:34] anyway [11:39:50] btw [11:39:51] Set-Cookie: rvpilcom_mirc_wikiToken=66923c62222c7136e5eef89fefdeb582; expires=Thu, 07-Aug-2008 09:16:57 GMT; path=/ [11:40:07] does this cookie have any actuall meaning? [11:40:12] !cookies [11:40:12] --mwbot-- I don't know anything about "cookies". [11:41:06] 03mkroetzsch * r37303 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: +documentation; set smwgSMWBetaCompatible only if not set by user (needs to be defined earlier to get namespaces) [11:41:09] first one says what is your db name and your user token (not edit one) [11:41:29] Set-Cookie: rvpilcom_mirc_wikiToken=66923c62222c7136e5eef89fefdeb582; expires=Thu, 07-Aug-2008 09:16:57 GMT; path=/ [11:41:31] whoops [11:41:36] here [11:41:36] expires means what it means [11:41:37] Set-Cookie: rvpilcom_mirc_wikiUserID=1; expires=Thu, 07-Aug-2008 09:16:57 GMT; path=/ [11:41:38] Set-Cookie: rvpilcom_mirc_wikiUserName=Dor; expires=Thu, 07-Aug-2008 09:16:57 GMT; path=/ [11:41:38] Set-Cookie: rvpilcom_mirc_wikiToken=66923c62222c7136e5eef89fefdeb582; expires=Thu, 07-Aug-2008 09:16:57 GMT; path=/ [11:41:53] I know what's UserID and UserName, but what's Token? [11:41:54] path is the path on server to whichh this cookie is applicable [11:42:03] I know cookies MaxSem [11:42:13] I don't know what the Token is used for :) [11:42:14] token is like edit token [11:42:27] hash of random unpredictable shit to identify you uniquely [11:42:27] like? [11:42:30] think of user token as a session ID [11:42:37] like your user name, the current time, the price of tea in china [11:42:53] okay [11:43:05] and a random number sometimes too, like edit tokens [11:43:39] so.... it's needed [11:43:54] ...for MW to know who are you [11:44:02] okay [11:44:40] Dor: your token should be kept secret, rather than pasted into irc [11:44:54] whoops? :P [11:45:01] it doesn't really matter [11:45:09] *MaxSem quickly hacks Dor's wiki [11:45:18] since language is hebrew I doubt if any of you will understand anything there [11:45:31] dont need to understand [11:45:36] �� �� �� ��� �� ������ [11:45:47] does the edit token change? [11:45:47] now i have your token, i can vandalise as your user just by getting you to visit a web page i control [11:45:48] *MaxSem kows the deal about &uselang=en and Special:Preferences [11:46:09] *knows [11:46:16] oh wow, who patched it to use getTeaInChina() ? I thought it was agreed on that we'd use pullNumberDirectlyOutOf($areaOfInterest) ? [11:46:16] does the edit token change? [11:46:25] probably, when you log in again [11:46:26] :P [11:47:55] slakr: at Wikimania 2007, in RoC [11:48:04] woha [11:48:17] How to update the Localization from the the Beta Wiki ? [11:48:31] I guess I'll have to run the script on another computer [11:48:42] for some reason when I log in from here it also changes my real login in firefox [11:52:35] 03nikerabbit * r37304 10/trunk/extensions/Translate/ (README Stats.php Translate.php _autoload.php): * 2008-07-08:1 simple edit stats with phplot [11:58:37] 03nikerabbit * r37305 10/trunk/extensions/Translate/ (Stats.php Translate.i18n.php): * I18n [12:02:05] 03mkroetzsch * r37306 10/trunk/extensions/SemanticMediaWiki/ (INSTALL RELEASE-NOTES): Updated install instructions and release notes, moving towards 1.2 [12:02:20] 03nikerabbit * r37307 10/trunk/extensions/Translate/Stats.php: * Use gif for transparency [12:14:26] 03vrandezo * r37308 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QP_GoogleChart.php: Added height and width to the images, so page is rendered faster [12:16:02] *VIPER Pimp Slaps Sager [12:16:08] is there a {{MAGIC WORD}} to return my username? [12:17:57] no, it would break caching and be useless for anon users [12:18:25] requested for core/wikipedia over and over, always rejected (there are extensions, but then they break caching, etc) [12:18:46] JS solution doesn't break caching, but you can't do any parser changes with it, just page rendering [12:19:05] 03nikerabbit * r37309 10/trunk/extensions/Translate/Stats.php: * Specify the dimensions in the img tag too [12:19:09] {{#ifeq:{{USERNAME}}|Dor|Content A|Content B}} <-- bad [12:19:19] same reason there is no usertime or userlanguage magic words [12:19:43] anything that makes the page render different on view for different users can't really be a useful magic word while maintaining cache usefulness [12:19:52] (things based on time can work by simply being static until purged) [12:20:17] 03jhsoby * r37310 10/trunk/extensions/ (21 files in 21 dirs): [12:20:17] Changing capitalisation and CamelCase into proper text in extensions A-E. [12:20:17] * In Contributors extension, added PLURAL [12:20:17] * In DeleteBatch extension, removing capitals intended to make a button "irritatably large"; that should be done with CSS [12:20:17] * In EmailArticle extension, changed wording of two messages [12:20:22] so, there isn't [12:20:34] if I want to make an automatic welcome message for a user [12:20:48] use PAGENAME [12:21:02] 03vrandezo * r37311 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QP_GoogleChart.php: fixed up mixing up width and height [12:21:05] hmmm [12:21:05] with a hypothetical USERNAME, if someone went to someone else's talk page they'd see their name, that'd be silly [12:21:07] that'll work [12:21:08] :) [12:21:31] https://bugzilla.wikimedia.org/show_bug.cgi?id=4196 [12:22:59] Actually, USERNAME could be made to work [12:23:20] it could output some unique marker, which is replaced when the cached parser output is inserted into the output page [12:24:01] OutputPageParserOutput would be the appropriate hook to do that [12:24:32] 03jhsoby * r37312 10/trunk/extensions/Contributors/Contributors.i18n.php: Fixing grammatical error introduced in r37310 [12:24:51] however, this may not work as expected when used as a parameter to a parser function, et [12:25:35] ew [12:25:52] better to make it subst-only (as is what half the requestors would need), a variance on ~~~ [12:26:45] actually, it would be useful to have implicit template parameters [12:27:06] hmm? [12:27:40] well, the idea is "when someone subtitutes this template, use his username here" [12:27:55] which is kind of like ~~~, without the link, and "deferred" until the template is substed [12:28:02] i.e. it doesn't trigger when the page is saved [12:33:00] ahh [12:33:13] *Splarka shrugs [12:33:23] Dues: make it so, I need sleep [12:40:31] Hello. I set "$wgLanguageCode" to "de" but still the interface appears in english (menu at the left side, messages as "you have to login" etc.). Problems with some server cache? (emptying browser cache does not help) [12:41:24] you could try ?action=purge to see [12:41:47] chiccodoro_, maintenance/rebuildmessages.php [12:43:45] <^demon> You may or may not need a new copy of that from SVN. I couldn't get it to work at all until I tweaked it the other day. [12:46:20] hmm... how can I access maintenance/rebuildmessages.php? tried http://myserver/wiki/maintencance/rebuildmessages.php in browser (wiki is installed in /wiki/ directly) but got "forbidden". dumb question? [12:47:10] darkcode: ?action=purge did not work neither [12:47:20] you would have to access it from a shell prompt, using ssh or telnet for instance, if its not on a local machine [12:47:41] oops. lies on a hosting provider's server. [12:47:57] you would need to append that to a page like http://yourserver/wiki/some_page?action=purge [12:48:10] don't we have a big fat warning saying that you need shell access to fully use mediawiki [12:48:45] no idea [12:48:51] <^demon> Nikerabbit: It's in the documentation ;-) [12:49:00] and also, why in earth would you need to run rebuildmessages? [12:49:06] isn't it a developer tool [12:49:20] he needs to change interface language [12:49:36] maybe. but the mediawiki could be installed on the server and the mediawiki manual only tells to set the "wgLanguageCode" variable in order to change language... [12:49:45] well surely changing $wgLanguageCode ought to be enough to do that [12:50:12] MaxSem: interface language has nothing to do with it, maybe you mean the wiki language or the content language? [12:50:16] the bot's going very well :D [12:50:25] I already managed to login and recieve the page list [12:50:32] its possible though depending on other settings maybe that your preferences for your account are still set at english [12:51:18] Nikerabbit, my information wa a bit obsolete:P [12:51:20] making de the default for new users, but not for all users [12:51:20] anyway, chaning $wgLanguageCode after installation is not supported, and if you do it, you need to clear *all* caches (and they are many) [12:52:31] not to mention fixing all the content in worst case [12:52:52] <^demon> I thought that changing LocalSettings cleared caches? [12:52:55] *^demon could be wrong [12:53:11] running a bot to delete all messages would be enough [12:53:36] MaxSem: that is very outdated :o [12:53:40] 03(NEW) Flagged revisions should be able to enable review of templates/ transcluded material - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14756 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (gmaxwell) [12:53:45] default messages are not stored in the database anymore [12:54:03] Max1: and restarting memcached/apc/xcache/deleting DBA files [12:54:46] ...unplugging power, kicking the server... [12:55:05] :D [12:55:14] Nikerabbit. Actually, the *only* thing that changes to german is the name of the namespaces, e.g. "Special:" changes to "Spezial:". Unfortunately I can only install mediawiki clicking one single button. i.e. I can only set the variable _after_ installation... is there a way to purge all the caches, even without access to a shell? [12:55:50] (even changing the user's language preference to german does not change anything???) [12:56:36] chiccodoro_: sounds like your hosting is brain dead, get a better one? :o [12:57:13] maybe you can tell us what version of mediawiki your using, could help, look at http://yourhost/wiki/Special:Version [12:57:28] :-) At least I could make him turn off the "PHP SaveMode" [12:57:41] well, theoretically you can hack config/index.php... [12:58:09] $conf->LanguageCode = importPost( "LanguageCode", "en" ); [12:58:15] darkcode: Please don't laugh... MediaWiki 1.6.7 [12:58:32] MaxSem: that's from wikimedia config? [12:58:47] that's from installer [12:59:15] ör [12:59:19] I see [12:59:26] chiccodoro_: then rebuildmessages.php should be used, per http://www.mediawiki.org/wiki/Manual:%24wgLanguageCode [13:00:06] 03tstarling * r37313 10/trunk/phase3/maintenance/parserTests.inc: [13:00:06] * Slightly less crackolicious implementation of --compare, which doesn't require [13:00:06] writing all the test results to a transactional database and then rolling them [13:00:06] back. Write the results only with --record, and compare with PHP instead of SQL. [13:00:06] * Revert revert r37284 and fix --record/--compare [13:00:06] wait, you have PHP4? [13:00:07] * Fix interaction of --record/--compare with --regex [13:00:11] * Use a separate DB connection for writing test results, so that it can actually be rolled back, say on ctrl-c. Uses the fun new LBFactory feature from r37302. [13:00:58] your hosting provider should be killed slowly [13:01:02] MaxSem: nope. 4.3.11 [13:01:12] as I said [13:01:29] it will be out of support exactly one month from now [13:01:56] PHP4 refers to any 4.x.x version [13:02:01] btw. mysql: 4.1.22 [13:02:11] so your using PHP4 and MYSQL4 [13:02:24] you should really be able to switch to PHP5, or they're brain-dead and buried [13:02:33] heck mediawiki 1.6.7 should no longer be supported [13:02:34] oh yes i'm sorry. i read "PHP4.4" [13:02:49] <^demon> darkcode: It's not. 1.6.10 is the last 1.6.x series supported. [13:03:17] darkcode: is isn't :o [13:03:47] Nikerabbit, channel topic lies? [13:04:08] your hosting provider needs to upgrade a few things, using things that are either unsupported or soon won't be supported [13:04:33] 03(mod) Flagged revisions should be able to enable review of templates/ transcluded material - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14756 +comment (10gmaxwell) [13:04:39] MaxSem: it just syays latest stable [13:04:56] as far as I can see we only support security fixes till 1.9 [13:05:02] 03(mod) Remove "currentevents" and "sitesupport" from the messages and the sidebar - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5373 +comment (10rotemliss) [13:05:09] 03(mod) "Donate" link in sidebar of non-Wikimedia wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14710 +comment (10rotemliss) [13:07:21] Nikerabbit: do you think a skin code cleanup/refactoring is woth a ~5ms performance hit (on my system - about 10% of skin execution time) [13:07:43] darkcode: If I were the hosting provider I would immediately do this... But I'm not, and changing hosting provider is not that easy... maybe some conversation with them will help [13:07:48] <^demon> Duesentrieb: Will it make the code legible and easier to understand? [13:08:03] ^demon: yes [13:08:03] MaxSem: Tried your hack in index.php. Placed it on line 7 and got "Fatal error: Call to undefined function: importpost() in /home/www/web306/html/wiki/index.php on line 7" [13:08:09] ^demon: at least to me :) [13:08:18] <^demon> Duesentrieb: Yay :-D [13:08:34] Duesentrieb, first make it better and easier to use, then work on improving the performance [13:08:42] *^demon is rather confused by the Skin/SkinTemplate code, much less the skins themselves. [13:08:44] chiccodoro_: when I posted that line I haven't expected that your MW is so ancient [13:09:30] darkcode: that's a no-brainer. factoring means function calls. function calls mean overhead. [13:09:40] 03(NEW) Double accesskeys cause problems - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14757 minor; normal; MediaWiki: General/Unknown; () [13:09:56] Duesentrieb: uh? [13:10:10] Duesentrieb: and how fast is your normal cached hit? [13:10:13] darkcode: same with hook points. more hook points means more flexibility, but also more overhead. So, how would I optimize that? [13:10:52] Nikerabbit: dunno. the 40ms -> 44ms if from the profiling info for SkinTemplate::outputPage [13:10:56] 03rotem * r37314 10/trunk/ (2 files in 2 dirs): Update for he. [13:11:00] 10% of just that method [13:11:02] MaxSem. aha. that's a pitty. well, maybe I will manage to install it by hand asking my provider for shell access or similar... [13:11:05] much less of the overall time [13:11:15] that' quite a lot, do you have an idea why it is so slow? [13:11:26] ask your provider to kill themselves [13:11:32] anyway... [13:11:43] Nikerabbit: what is a lot? 40ms for skin output? or the 4ms more?` [13:11:45] :-) [13:12:13] in 1.6.10 it should be possible by inding the aforementioned line $conf->LanguageCode = importPost( "LanguageCode", "en" ); [13:12:25] kurnay [13:12:30] and replacing it with $conf->LanguageCode = "en"; [13:12:36] well, profiling slows it down, of course. and i have no memcached or accellerator, so no permanent message caching [13:12:45] can't find 1.6.7 right now [13:13:22] Nikerabbit: what would be the time you would expect? [13:14:34] and does the hint for executing maintenance/rebuildmessages.php in a shell also apply to 1.6.7 ? Because then I would only ask the provider to do this. [13:14:35] Duesentrieb reduce the need for hooks, maybe something like BeforeSkinning, BeforeSkinOutput, AfterSkinOutput [13:14:49] darkcode: huh? [13:14:56] darkcode: what are those? [13:15:02] if not hooks [13:15:14] also, the point is that extensions want ot inject something *inside* the skin [13:15:15] I mean reduce the number of hooks needed [13:15:20] chiccodoro_: it's protected by .htaccess [13:15:38] so you could rename it for a while [13:15:42] darkcode: the point is to provide better way to inject stuff into the skin. which means: more hooks. [13:15:58] BeforeSkinOutput could be used to change content inside the skin just before output for instance [13:15:58] before and after skin is pointless. [13:16:17] but there is no content inside the skin [13:16:28] the skin directly prints html [13:16:29] It says "must be run from the command line" (commented .htaccess content out) [13:16:32] Duesentrieb: but do you have any idea why it is increased? [13:16:46] Nikerabbit: sure. more function calls. [13:17:05] are they *that* slow? [13:17:13] i don't know, i ask you :) [13:17:27] but i didn't really change anything else. [13:17:31] meh, apparently you can't [13:17:39] Duesentrieb but it doesn't have to be that way, it could built up the skin content in a class before outputting its content and allow manipulation before printing it all [13:17:59] darkcode: building it as what? [13:18:09] a dom structure? [13:18:13] maybe [13:18:15] (in 1.13 it's possible as it doesn't use commandLine.inc anymore) [13:18:26] darkcode: well, *that* would be *massive* overhead :) [13:19:46] Duesentrieb: maybe it doesn't matter so much if the pages are cached [13:19:55] Nikerabbit: i have a bunch of calls to isset, is_array, etc... and some more calls to my own functions. [13:20:01] well, for a cached page it doesn't matter at all [13:21:18] Duesentrieb: inside loops? :o [13:21:27] MaxSem: Thank you anyway! [13:22:05] still, installer hack should theoretically help [13:22:10] it would also be nice if skins instead of being written in php, could consist of xml files [13:22:17] Nikerabbit: isset inside loops, yes. the one looping over portlet items. it was like this before, but since all portles are now handled by zthe same code, there are more isset checks. [13:22:39] darkcode: a) why b) SLOOOOOWWW! c) PHP * [13:22:42] err [13:22:49] PHP *is* a template language for html [13:22:54] that's what it was designed for... [13:23:05] 03mkroetzsch * r37315 10/trunk/extensions/SemanticMediaWiki/INSTALL: fixed some typos [13:23:23] easier for the average person who doesn't know PHP to make skins [13:23:36] huh? [13:23:43] Duesentrieb: mmm [13:24:08] Duesentrieb: well the hashing is probably the slow part then :o [13:24:19] darkcode: err, what would your xml look like? you need special constructs for "for each element in this array" and shit like that. how is doing this in xml any simpler? [13:24:30] darkcode: have you ever done XSLT-based skinning? [13:24:36] that REALLY sucks. [13:24:37] something like would be nice for instance [13:24:46] I wonder if $a = @$baa['naa']; if ( $a === null ) break; would be faster, if you need to use $a later [13:25:25] darkcode: but that would be skin-specific already. and i donÄt see how thats simpler than $skin->printToolbox(LAYOUT_VERTICAL); [13:25:28] ohai and the question: I have installed the MetaDescriptionTag extension and it works if I use the tag in a page, but I want to use it in a template Template:Metadesc - however whenever I call up {{Metadesc|test}} I get in my page's header [13:25:56] whoops [13:26:01] I was just giving a theoretical example [13:26:05] Nikerabbit: hashing shouldn't be slow. hash lookups should be constant time, no? i mean, yea, php sucks, but... [13:26:23] MaxSem: You mean the line: $conf->LanguageCode = "en"; ? Tried it now but did not change anything, neither did it when replacing "en" with "de" [13:26:34] darkcode: i have not yet seen one xml basedskinning system that was readable :) [13:26:51] darkcode: as soon as you need to do non-trivial stuff like conditionals, loops, etc, it gets messy. [13:27:00] and xml only makes it more obscure [13:27:04] and slower [13:27:08] and more code to type [13:27:10] Duesentrieb: yeah but is one hash slower than two hashes? :o [13:27:21] faster* [13:27:49] here's my template: http://www.rcheliwiki.com/Template:Metadesc [13:28:01] here's a page using it: http://www.rcheliwiki.com/Gyro [13:28:11] Nikerabbit: one is faster of course. but it a 4ms hit really bad? i'm missing context here. [13:28:23] Duesentrieb: prolly not [13:28:34] Chatter_616 try using instead of blah using {{#tag:whatever name it uses doing so|blah}} instead [13:28:53] actually. uh. maybe i'm not even reading the profiler output right. [13:29:11] Nikerabbit: what does this mean? [13:29:13] SkinTemplate::outputPage 1 41.448 41.448 16.027% 726089 ( 41.448 - 41.448) [371] [13:29:13] darkcode: [13:29:20] how do i convert this? [13:29:20] have to go play badminton... [13:29:45] Duesentrieb: I don't know, especially without labels, ask domas or someone who understand those :) [13:29:52] {{#tag:metadesc||content={{{1}}}}} I think [13:29:54] ;) [13:29:57] ok [13:30:23] when an error is reported by the mediawiki api and output format is set to JSON, it returns a bad json string, with an error appended on the end [13:30:25] like {"error":{"code":"unknown_action","info":"Unrecognized value for parameter 'action': quddery"}}unknown_action: Unrecognized value for parameter 'action': quddery [13:30:52] which breaks parsing [13:31:07] darkcode: that did it, thanks [13:31:13] another note in my notebook :) [13:37:18] leaving now. thx for your help... [13:38:15] 03daniel * r37316 10/branches/daniel/playground/ (includes/SkinTemplate.php skins/MonoBook.php): monobook looking good now [13:43:21] if i place all my template calls at the end of a page [13:43:30] how can i avoide the huge whitespace? [13:43:35] avoid* [13:45:53] 03werdna * r37317 10/trunk/phase3/includes/specials/SpecialUserrights.php: Fix weirdness in Userrights and derived pages where no groups didn't appear as (none) [13:46:04] by avoiding whitespace inside the templates [13:47:48] \o/ [13:49:32] So, anything else that needs doing? [13:49:33] like make sure you use |}...... [13:49:38] perhaps some more on abusefilter.. [13:50:30] instead of having the includeonly/noinclude tags on separate lines [13:53:33] darkcode: thanks again [13:53:52] 03demon * r37318 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialFewestrevisions.php): Redirects on Special:FewestRevisions are now marked as such (bug 9736) [13:54:01] 03(FIXED) Exclude redirect pages from Special:Fewestrevisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9736 +comment (10innocentkiller) [14:06:47] 03mkroetzsch * r37319 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php: fix input type for clearData [14:38:01] *qXs has a question today [14:38:51] why will http://pastebin.com/m77316e3d not work in 1.12, when it worked in all the previous MW versions????? [14:39:50] it's in includes/Title.php [14:41:24] *qXs wonders if Simetrical is alive today [14:43:32] qXs: not sure if that's your answer, but 1.12 has a new preprocessor [14:43:50] qXs: ah, no, different issue [14:43:59] lol [14:44:32] qXs: UserCan is not checked at all in 1.12, unless a whitelist is defined [14:44:35] that is BAD, i know [14:44:40] broke my extension too. [14:44:50] it's fixed in 1.13 (largely) [14:45:21] that wasn't an extension though... <(-_-)> [14:45:50] that was my way of privatization [14:46:10] qXs: why should be done via an extension. [14:46:30] that's what the UserCan hook is for. but it doesn't work for the read permission in 1.12 -- not without a (small) patch. [14:46:32] see http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Title.php?r1=32354&r2=32353&pathrev=32354 [14:46:43] that's the fix in 1.13 (for extensions, and extensions only!) [14:47:08] WHAAAA [14:47:31] qXs: here's a patch that makes it work with 1.12: http://www.mediawiki.org/wiki/Extension_talk:Lockdown#Patch_to_work_in_1.12 [14:47:43] fixes my extension, and should make your code work too [14:48:01] mine wasn't an extension [14:48:10] well, make it an extension for the future :) [14:48:18] it was integrated namespace restrictions [14:48:18] hacking code -> bad [14:48:28] yes. bad. make it an extension. [14:48:39] use the patch either way for 1.12 [14:49:26] qXs: have you looked at the extensions Lockdown or NamespacePermissions? [14:49:30] they should do what you need... [14:49:49] Hi! How can I disable page revisions history? I don't want to grown mysql base quickly (limited space hosting). [14:50:11] 03demon * r37320 10/trunk/phase3/ (RELEASE-NOTES skins/common/wikibits.js): Wikibits no longer uses document.write() (fixes bug 2186). [14:50:20] QuestPC: don't use a wiki [14:50:20] Namespace Permissions stop working a long time ago, unless they revamped it [14:50:33] 03(FIXED) document.write() breaks under application/xhtml+xml in skins/ common/wikibits.js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2186 +comment (10innocentkiller) [14:50:44] Duesentrieb, why? [14:50:48] QuestPC: page history is an essential part of the wiki concept [14:50:53] <^demon> Yay old bug :-) [14:51:11] Duesentrieb, my wiki is not wikipedia. [14:51:12] qXs: no idea, Lockdown works :) [14:51:21] kk [14:51:34] qXs: needs the patch for 1.12, but otherwise, it works. fi it doesn't, tell me, i fix it :) [14:51:53] QuestPC: and i'm talking about wikis. [14:51:55] <^demon> QuestPC: And MediaWiki is written to power wikis (such as Wikipedia). There's no mechanism to disable page histories. [14:51:55] in general [14:51:59] wikis as such [14:52:32] QuestPC: if you don't want a website everyone can edit (and revert), you don't want a wiki. so don't use one. [14:53:08] Duesentrieb, one of my wikis has dedicated colocation and gigabytes of disk space. another one - doesn't. why should I choose another engine, when I am already familiar with mediawiki? [14:53:48] <^demon> Because it sounds like you're trying to use it for the wrong purpose. It's not designed to _not_ store history. [14:53:52] Duesentrieb, I don't want to waste a time to learn how to install, patch, use another large CMS. [14:54:20] 03daniel * r37321 10/branches/daniel/playground/skins/ (Modern.php MonoBook.php): adopted Modern skin [14:54:33] <^demon> (Fwiw: Mediawiki isn't a CMS, it's a wiki) [14:55:09] ^demon, what's the proper way to erase the history with SQL command? (I will try myself, but I am not expert in mediawiki internals). [14:55:31] QuestPC: there's a maintenance script for deleting page history. deleteOldRevisions or some such. [14:55:41] QuestPC: there is no way to tell mediawiki not to log revisions. [14:55:44] Duesentrieb, thank you. [14:55:49] <^demon> I guess you could just set up the deleteOldRevisions to run as a cron? [14:55:51] *^demon shrugs [14:55:59] QuestPC: deleting revisions also has implications for licensing, etc... [14:56:10] Duesentrieb, ^demon yes, I'll try to setup a cron job. [14:56:15] but you should REALLY think about the tools you are using [14:56:42] mediawiki is for wikis. wikis are freely editable. which wouldn't be sane without a way to roll back. [14:56:56] Duesentrieb, when I am getting not so young , I am starting to think about a waste of time and how short the life is. [14:57:19] Duesentrieb, many web engines are a waste of time. it's better to know and use just one. [14:57:19] using the worng tools will cost you a lot of time [14:57:20] 03(mod) Track link changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13588 (10Bryan.TongMinh) [14:57:23] at some point [14:57:55] Duesentrieb, I am setting up mediawiki quite fast - after all it's not my first MW site. [14:58:41] Duesentrieb: I'm switching to 1.13 [14:59:37] qXs: be careful with that. i recommend to use only revisions that go live on wikipedia, and check every couple of days. [15:00:02] it's alpha, you know... [15:00:12] yeah, yeah, yeah [15:02:20] 03btongminh * r37322 10/trunk/phase3/ (4 files in 3 dirs): (bug 13588) Experimentally track link changes if $wgTrackLinkChanges is set to true. Requires schema change. [15:03:52] wooha [15:04:54] let's hope this gets through [15:05:56] I am trying to find a config setting to along editing only from 1 ip, or the ability to have 1 created user that multiple people can be logged into and edit simultaneously. [15:14:20] 03(NEW) Invalid JSON produced by API when API error produced - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14758 15enhancement; normal; MediaWiki: API; (buzz) [15:19:04] 03(mod) Invalid JSON produced by API when API error produced - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14758 15enhancement->normal (10buzz) [15:24:08] hi everybody, the implementation of Extension:NoTitle in my wiki (1.13alpha r37295) causes a PHP fatal error... [15:25:20] what error? [15:25:39] Louperivois, I suggest you contact the author of that extension. [15:26:01] well, it *might* be something silly [15:26:08] like a missing ; or bad file permissions [15:26:21] those are the prime candidates for fatal errors, in my experience :) [15:26:30] I am trying to find a config setting to allow editing only from 1 ip. [15:28:07] you'll have to combine two things [15:28:16] restrict editing ot a specific group [15:28:23] and automatically assigning that group based on the ip [15:28:45] Ok, well here is what I am trying to do.... [15:29:40] ok I have it: [15:29:42] Detected bug in an extension! Hook NoTitle::addMagicWordId failed to return a value; should return true to continue hook processing or false to abort. [15:30:09] it's not a PHP error but... [15:30:38] Thetyrant: http://www.mediawiki.org/wiki/Extension:NetworkAuth [15:30:40] We have a public wiki, but I want only our office to be able to edit the page. But I don't want everyone in the office need to create user accounts. Is there a way to have 1 user login that everyone can use, and edit at the same time. Or, allow editting from 1 ip, and only anyone to edit without an account. My preferred method would be 1 user login for all editing. But I am unsure if it will allow editing and being logged in at the same tim [15:30:52] !rights | Thetyrant [15:30:52] --mwbot-- Thetyrant: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [15:31:18] <^demon> Louperivois: It means the extension failed to return true or false. [15:31:20] Duesentrieb: /me likes the new file sorting [15:31:38] Louperivois: ok, so the extension does not quite follow the spec. you have to add "return true;" at the end of the hook function [15:31:43] qXs: huh? [15:32:08] Special pages have their own folder [15:32:33] <^demon> Louperivois: I updated the code on the MW site, try the updated version. [15:32:41] hehe http://www.mediawiki.org/w/index.php?title=Extension%3ANoTitle&diff=199561&oldid=142286 [15:33:01] ^demon: i was about to do just that :) [15:33:04] 03(NEW) Make pages in User: namespace transparent to meta:User: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14759 15enhancement; normal; MediaWiki extensions: CentralAuth; (happy_melon) [15:33:20] qXs: and database backends, and a few other thigns. yea. i guess it was getting crowded. [15:33:23] lmao [15:33:37] sucks though if you try to copy over an old codebase. will cause breakage [15:33:49] oops [15:33:58] :P [15:34:10] hey, it's working [15:34:36] ^demon & Duesentrieb : it's done, thanks both for help [15:34:47] until you discover some subptle database corrupting in three weeks :P [15:34:51] <^demon> np :-) [15:36:51] 03(mod) Make pages in User: namespace transparent to meta:User: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14759 +comment (10innocentkiller) [15:40:13] I like this idea [15:42:27] Duesentrieb: YAY, fixed w/o extensions [15:44:07] *qXs finds it odd that it's typically either Duesentrieb and/or Simetrical helping him 95% of the time [15:44:29] <^demon> qXs: That's because they never leave the channel ;-) [15:44:30] Simetrical: "horribly boring" is surely a good reason for two-month dealys [15:44:34] *delays [15:45:04] ^demon: Simetrical idles out all the time [15:48:29] VasilievVV, well, yes, if everyone is either a) a volunteer or b) an employee who's not explicitly instructed to make sure it gets done. [15:48:37] Then it's a matter of whether anyone wants to do it. [15:49:15] Is it possible to create accounts with API ? (I have to create more than 200 accounts in my local wiki) [15:50:32] making accounts would be very useful also for spammers [15:50:46] i guess its not implemented yet but could be for sysops only [15:51:47] hi [15:52:17] i would like to show the realnames of users when i list users on special:listusers page. is it possible without having to hack the code? [15:52:24] or maybe a patch for it? [15:53:02] domas: Has someone proposed adding revision.rev_bot to filter bots from history like they can be filtered from recentchanges? [15:53:07] exobuzz:I agree ; in my wiki I'm sysop [15:54:12] or with an extension, it would be more easy [15:54:59] Louperivois: have you searched mw.org? [15:55:12] I searching [15:56:42] Smaug: YES Extension:ImportUsers [15:57:11] just with a little text file [15:57:42] a php "while" for create that and it's done. [16:10:16] 14(INVALID) Flagged revisions should be able to enable review of templates/ transcluded material - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14756 +comment (10JSchulz_4587) [16:26:33] 03stipe * r37323 10/branches/MetavidWiki-exp/MetavidWiki/skins/mv_embed/mv_embed.js: fixed download / plug-in selection / textInterface bugs [16:29:33] OH NOES [16:30:11] A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1205: Lock wait timeout exceeded; try restarting transaction (localhost)". [16:31:30] Simetrical: any help? [16:31:31] try converting objectcache into HEAP or MyISAM [16:31:35] or use APC caching [16:31:36] or use memcached [16:33:17] domas: when i call the page by itself (rendered) it works, but now i'm calling the page through my extension rendered as it was [16:33:36] and it gives me that [16:34:05] the other page that it calls rendered after works, though [16:37:50] Here is the page i'm loading http://www.adambots.com/index.php?title=Special:IRC [16:38:46] Hi there. We're setting up a wiki family in multiple languages. We would like to use a single memcached instance for all of these languages rather than setting up separate ones. Is this possible to do? [16:40:34] (or rather, are we likely to break anything if we do it like that? :-) [16:48:28] GreenReaper: mediawiki by default prefixes memcached keys with dbname [16:48:30] so you're safe [16:51:08] domas: how good is making it a heap? [16:58:16] hi [17:11:09] Thank you, domas. [17:23:43] 03(mod) Request for a new mailing list for it:wp administrators - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14676 (10cbass) [17:28:04] 03ialex * r37324 10/trunk/phase3/includes/db/Database.php: Missing param to wfDeprecated() [17:33:09] why is there wfRestoreWarnings in skin? :o [17:33:11] 03(FIXED) Request for a new mailing list for it:wp administrators - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14676 +comment (10cbass) [17:34:05] Nikerabbit: isn't there wfSuppressWarnings? [17:35:07] ialex: yeah, why [17:40:04] Nikerabbit: in MonoBook.php and Modern.php? [17:40:26] 03(FIXED) Create mailing list for the board of Wikimedia Norway - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14749 +comment (10cbass) [17:40:51] 03yaron * r37325 10/trunk/extensions/SemanticForms/specials/ (10 files): [17:40:51] All special pages modified to use standard constructor and handling for [17:40:51] special pages, as of MediaWiki 1.11 [17:41:45] 03yaron * r37326 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Added handling for SMW's new 'Code' type [17:42:26] 03yaron * r37327 10/trunk/extensions/SemanticForms/includes/SF_AutocompleteAPI.php: Small fix to work with new autoloading scheme [17:44:20] <[KrusheR]> hi [17:44:28] <[KrusheR]> is 1.13 having the namespace manager? [17:44:39] 03yaron * r37328 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: Improved tabbing, removed some Halo-specific backward-compatibility [17:45:12] [KrusheR]: no [17:45:26] <[KrusheR]> is it expected to be added anytime soon? [17:45:37] not really [17:46:05] <[KrusheR]> what about Extension:Namespace_manager then? [17:46:36] <[KrusheR]> it says it's been developed in a special branch to be released some day... [17:47:10] 03yaron * r37329 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: [17:47:10] Added handling for new SMW 'Code' type, removed some Halo-specific [17:47:10] backwards compatibility, added code for setting the 'Watch this page' checkbox [17:47:16] this page is outdated [17:47:36] <[KrusheR]> oh [17:48:01] <[KrusheR]> and is it a safe way to convert a "pseudonamespace" in a real one? [17:48:38] <[KrusheR]> with pseudonamespaces I mean those pages that begin with Foo: but aren't realy a namespace.. [17:48:47] <[KrusheR]> *realy [17:50:49] 03(mod) Make pages in User: namespace transparent to meta:User: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14759 +comment (10dan_the_man) [17:51:12] 03yaron * r37330 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: [17:51:12] Changed loading of all special pages and most other included files to use [17:51:12] autoloading, simplified loading of language files (SF now requires MW 1.11 as a [17:51:12] result), added handling of $wgCapitalLinks variable, added sffEmbeddedEditForm() [17:51:14] and sffGetAllProperties(), previously contained in special pages [17:51:25] so Mary Jo Kepechne is having her revenge... [18:03:53] mediawiki [18:10:41] 03nikerabbit * r37331 10/trunk/extensions/Translate/Stats.php: * Better y tick... transparency didn't work for some reason [18:10:49] hi. got error in HALO setup, need to add table protected_pages, [18:10:50] what maintanance script to run to apply the sql patch?? [18:12:02] mediawiki [18:12:20] 03(NEW) Authorprotect for threads - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14760 15enhancement; normal; MediaWiki extensions: LiquidThreads; (dasch_87) [18:12:21] flyingparchment: ping [18:12:30] yes? [18:12:40] pong [18:13:44] protected_titles of course [18:14:05] mediawiki [18:15:13] ok stupid , cat sql in db ... [18:15:18] hi demon [18:15:26] <^demon> Hola :-) [18:15:38] we love translators [18:15:39] 03river * r37332 10/trunk/switchboard/ (15 files): [18:15:39] - use shared_ptr to hold references to fcgi state [18:15:39] - clean up error handling / socket closing [18:15:45] <^demon> Whoops, forgot to bump wgStyleVersion. [18:16:39] mediawiki [18:18:51] <^demon> Nikerabbit: Any particular reason today? [18:19:00] 03demon * r37333 10/trunk/phase3/includes/DefaultSettings.php: Buuuump for r37320 [18:19:25] 03ialex * r37334 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QP_GoogleChart.php: svn:eol-style native [18:19:44] ^demon: welll [18:22:08] Hey guys.. is there any easy way to use mediawiki's API to get a certain page/section rendered? ie, without any skin, just content? [18:22:43] ^demon: http://translatewiki.net/sandwiki/index.php?title=Special:TranslationStats&ts=1215541250&days=60&width=600&height=400 [18:23:21] <^demon> andr3: action=parse might help? [18:23:26] anybody have an idea how i would center images on their corresponding image description pages? [18:23:40] <^demon> For the api. For the normal index.php, action=render might be of use. [18:23:57] ^demon: thanks I'll look into that. :) [18:24:09] <^demon> np [18:24:55] 03(FIXED) GIFs, when resized (as thumbnail), turn into PNGs, but without changing MIME type and extension accordingly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3083 +comment (10Platonides) [18:25:46] ^demon: worked like a charm. :) [18:26:14] <^demon> Nikerabbit: Extension/core messages are getting translated faster and faster all the time :-) [18:26:25] <^demon> andr3: Awesome, glad it worked. [18:39:29] what file do I need to look in if I want to find out how mediawiki deals with user sign ups? [18:40:18] mrmonday: includes/User.php, includes/specials/SpecialUserlogin.php (last is 1.13+) [18:40:36] MaxSem, still here? [18:40:48] yup [18:41:11] 03yaron * r37335 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: Added missing initialization of $db variable [18:41:16] We were discussing about a language problem with MediaWiki 1.6.7 this afternoon... [18:42:43] (am I right that it was you?) The solution turned out very simple and did not even take an execution of the rebuildmessages.php. I had to replace "de" with "De" due to a bug(?) that the string is used case sensitively. [18:42:43] VasilievVV: thanks, I was looking there before :P I'll try again with syntax highlighting [18:43:14] Does MW mangle the filenames of images, or are they equal exactly to the image title? [18:43:35] what is the config variable to show the SQL query on the database error page? I can't find it on .org [18:43:40] ugh... [18:43:59] davidmccabe: use FileRepo classes [18:45:15] thanks VasilievVV. [18:45:56] n8 [18:46:09] davidmccabe: wfFindFile() and wfLocalFile(). URLs for file are permanent unless file is moved [18:47:32] I have to admit that I found this on Manual:%24wgLanguageCode. Sorry about that. I was really sure I had already read that page before showing up here. Seemingly at most with one eye. [18:48:34] My program does an operation to all images on a wiki. I've been using filesystem traversal to find them. Do I have to use this interface instead in order to be guaranteed that the punctuation and unicode characters are preserved? [18:50:56] davidmccabe: which operation do you need? [18:51:14] Iterate over all images on wiki? [18:51:42] Yes, iterate over all images on the wiki, get their image data and correct titles. [18:52:01] davidmccabe: fetch it from database [18:52:05] image table [18:52:17] It would be preferable to do this entirely from Python, which my script is in, and not to have to invoke PHP code. [18:52:48] Use database anyway [18:53:37] It stores image name, size, and metadata (though metadata is stored as serialized PHP array) [18:53:48] That seems sane. Thanks VasilievVV. [18:55:13] is there a list of commands you can use when editing a page? [18:55:31] or a template? [18:55:43] Commands as in? [18:56:52] 03yaron * r37336 10/trunk/extensions/SemanticForms/includes/ (SF_AutocompleteAPI.php SF_GlobalFunctions.php): Fixed autoloading of SFAutocompleteAPI class [18:57:03] 03yaron * r37337 10/trunk/extensions/SemanticForms/INSTALL: New version: 1.2.6 [18:57:04] [[Category]] [18:57:05] Is there a way to associate a name with an image that is not restricted in the way that titles are? [18:57:12] stuff like that [18:58:08] By the way, why is the SHA-1 hash a varbinary? [19:09:20] 03jhsoby * r37338 10/trunk/extensions/ (15 files in 15 dirs): [19:09:20] Changing capitalisation and CamelCase into proper text in extensions A-E. [19:09:20] * Changing "" to "Error" in ImageMap [19:09:20] * Changing "DynamicPageList" to "Error" in Intersection [19:11:39] what is the config variable to show the SQL query on the database error page? I can't find it on .org [19:12:11] 03ialex * r37339 10/trunk/extensions/Configure/ (6 files): [19:12:11] * Added $wgConfigureUpdateCacheEpoch to choose if $wgCacheEpoch should be updated when saving changes in Special:Configure. [19:12:11] * Added missing 'right-extensions-all' message [19:12:11] * Fixed spelling in Configure.obj.php [19:12:11] * Fixed XHTML escaping issue in Configure.ext.php [19:14:10] !error | AphelionZ [19:14:10] --mwbot-- AphelionZ: For information on debugging (including viewing errors), see . [19:15:11] I have a production instance and a development instance of a customized MW. I am using version control to merge tested changes into the production instance. [19:15:37] However, I don't know of a good way to merge in changes to the wiki content itself, esp. MediaWiki namespace articles, images, etc.. Any pointers? [19:16:41] you can use cross-wiki import for wiki pages [19:16:45] I just use the same database [19:16:51] there's currently no good way to transfer images, i'm afraid [19:17:10] Nikerabbit: as long as you don't use different versions of mw... :) [19:17:21] Using the same database is not going to work. [19:17:37] Duesentrieb: Sounds like I may need to keep a manual log of changes? [19:18:22] davidmccabe: depends on how you define changes, and changes to what. if it's about updates to system messages, talk to Nikerabbit. [19:18:34] he has a lot of tools for stuff like that :) [19:18:50] Nikerabbit? [19:22:26] huh? [19:22:46] 03yaron * r37340 10/trunk/extensions/SemanticForms/languages/ (4 files): Added 'Has alternate form' values for languages which did not have them [19:22:49] system messages should not be in the database in the first place [19:23:31] 03yaron * r37341 10/trunk/extensions/SemanticForms/specials/SF_CreateProperty.php: Improved tabbing [19:24:08] 03yaron * r37342 10/trunk/extensions/SemanticForms/includes/SF_FormInputs.inc: Hack to get autocompletion working for current SMW versions [19:24:48] 03yaron * r37343 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Removed stray debugging call, fixed handling of values with apostrophes [19:25:36] Hey how do i download a mwdiawiki database? [19:25:42] *mediawiki [19:25:43] its on wikia [19:26:00] ask a dump from them [19:26:13] heh they aren't going to want to do that [19:26:25] man, the way categorylinks are handled between outputpage and the skins sucks sooooo much. [19:26:32] its so we can move away [19:26:39] why the hell are they rendered in outputpage? [19:26:42] but the site's GFDL so they should have to right? [19:27:03] Duesentrieb: fix it :) [19:27:13] found it http://www.wikia.com/wiki/Database_download [19:27:16] Nerd42: nope, gfdl doesn't force it [19:27:20] Nerd42: if they *have* to give you a convenient dump is a matter of debate i guess. but i'm pretty sure they will. [19:28:07] Nikerabbit: So in my situation I should not be using the tail-eating features of MW? [19:28:45] hello [19:28:57] davidmccabe: what do you mean? [19:29:07] is there a tool for making tables in wikiscript? [19:29:17] Nikerabbit: I should not use the MediaWiki namespace to set system messages? [19:29:21] what about images [19:29:32] davidmccabe: you basically want as few core changes as possible, and putting message strings to an extension i18n file helps in that [19:29:54] Is there a parser function that can differentiate between a normal user account and an IP address? [19:30:09] Nerd42: you'll have to transfer them manually. or use one of the wikis as a shared repos. [19:30:36] Lady_Aleena: no. because parser output is cached, there are no user-specific functions. [19:30:59] Lady_Aleena: there are some extensions that provide something like that, but they would have to kill all caching to get this to work [19:31:24] k thanks [19:32:08] Hmm, I was thinking of creating a template which would have to be able to determine if the account was a user account or an IP address. [19:32:51] would probably be bad for caching [19:33:35] wweeeeeeeeeeeelllll.... having one version cached for anons wouldn't be that bad. [19:33:46] I was hoping that I would be able to do this, so that users wouldn't have to enter another variable. [19:33:49] so, a parser fucntion for {{usliggedin}} might be doable [19:33:59] but we'd have to be careful about cache keys [19:34:54] Duesentrieb: there is no "loggedin" in the hash --> not possible [19:35:24] Nikerabbit: uh, but it could be added. that's my point. [19:35:33] without doing much harm [19:36:01] I get a Blank Page for Special:Allmessages. Any Suggestions ?? [19:36:04] Duesentrieb: uh? either it does harm or it already works [19:36:09] vinodhrajan: increase memory limit [19:36:17] how to do that ? [19:36:27] edit the line in localsettings.php [19:36:35] oh ok.... [19:36:56] how much should I increase ? [19:37:00] {{#if:{{USERPAGENAME}}=IP address|[[IP address]]|[[{{USERPAGENAME}}]])) is close to what I was hoping for. [19:37:01] but it probably doesn't work anyway if you are running out of memory [19:37:39] Lady_Aleena: what you are trying to achieve? [19:37:57] Lady_Aleena: that will not work. there will be no parser functions that return any user-specific info. something general like "is logged in" *might* possibly be added to a future version, if you file a feature request. [19:38:16] there's a request for {{USERNAME}} but i don't expect it to be ever implemented, because of caching [19:38:42] yeah, and don't even suggest post-cache substitution [19:38:51] If the user page belongs to an IP address, then just create a link to IP address, else create a link to the userpage. I think. :) [19:39:25] of any user or of current user? [19:40:37] I am thinking out loud (hoping you all don't mind) about ways to merge all of the sockpuppet templates into three, Puppet, Puppetmaster, and Puppetdiscussion. [19:41:27] For extra edit page buttons, put the following code in your monobook.js, replacing "monobook" with the name of your skin, in all lowercase (using "standard" for Classic skin). [19:41:34] Some IPs are used as puppets and the current IP puppet has a link to the IP address article. [19:41:35] where is monobook.js? [19:41:59] Lenaud01, what is your username? [19:42:11] on wiki that is? [19:42:13] ? [19:42:29] User:/monobook.js [19:43:00] See: http://en.wikipedia.org/wiki/User:Lady_Aleena/monobook.js [19:43:03] Lenaud01 [19:43:04] as an example [19:43:35] I want to enable a bunch buttons on the edit page [19:44:29] Lenaud01, you need to create a user subpage called monobook.js in your user space. [19:44:42] Then paste all the code into it. [19:45:34] will that make it for everyone or just me [19:45:40] Just you. [19:46:05] Could you give me linkage to the javascript and linkage to your user page? [19:47:24] http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons#Installing [19:47:34] http://www.artofmisdirection.com/wiki/index.php/User:Lenaud01/monobook.js [19:48:34] Give me a minute or two, Wikipedia is a bit slow right now. [19:49:20] WOW! That's a lot of buttons. [19:49:46] Lenaud01, you are using this on another Wiki? [19:49:52] way too much? [19:49:55] Outside of Wikipedia. [19:50:05] *Lady_Aleena ponders. [19:50:10] needs at least widescreen monitor [19:50:56] *Lady_Aleena keeps forgetting that other wikis' people come here for help too. She blurbles. [19:51:49] I would like just some of the nice extra buttons [19:51:50] Lenaud01, it might now work unless you have all of the buttons on that wiki as well. [19:51:54] for users that are not to techie [19:52:15] or a list of all the commands [19:52:19] like [[category]] [19:52:34] there a list of those [19:55:08] If you want it for everyone on your wiki, I am not the person to talk to. I just know how to make a few things go on Wikimedia. Sorry I don't know more. [19:55:16] pretty new to all this sorry [19:55:56] Lenaud01: you need to 1) copy all those images 2) copy the script itself 3) install the script in global common.js or something [19:56:16] !editbuttons [19:56:16] --mwbot-- See , also have a look at [19:56:55] Duesentrieb, it there a list of all of these ! thingys somewhere? [19:57:07] !botbrain [19:57:07] --mwbot-- http://tools.wikimedia.de/~amidaniel/botbrain.html [19:57:11] yes :) [19:57:18] *Lady_Aleena laughs. [19:57:28] !mwbot [19:57:28] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at http://www.mediawiki.org/wiki/Mwbot, you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [19:59:27] Duesentrieb, show off. :) [20:00:54] hm? [20:01:35] Duesentrieb, do you have all of those memorized? [20:01:56] not all, but the once i use often :) [20:02:00] of the ones i made. [20:02:14] the trick is to choose good names and then guess. whenever i guess wrong, i make an alias :) [20:02:46] Hello everyone [20:03:07] I want to slap a {{fact}} tag on !wiki. [20:04:24] heh [20:04:44] I have a customized skin that won't display the javascript editor buttons in the input field, any hints on how to troubleshoot? [20:05:18] Javascript console in firefox, or the equivalent in Opera? [20:05:29] It should tell you if it's trying to access something that isn't there. [20:05:43] good idea :) /me looks sheepish [20:09:47] what rule does mediawiki use to check usernames? can usernames be anything, or are some characters forbidden? which file can I check this in? [20:10:45] mrmonday: try isValidUserName in User.php. [20:11:30] mrmonday: It looks like most characters are allowed, but some are forbidden. [20:11:55] thanks =) [20:14:28] hm, interesting [20:14:29] http://www.megacz.com/software/wix/ [20:14:46] mrmonday: most importantly, a user name must be a valid page name [20:15:18] Duesentrieb: how do you mean? [20:15:38] well, each user has a user page [20:15:54] and there are rules for valid pages names in mediawiki [20:16:02] wouldn't it just use urlencode()ed version of the username if it doesn't have valid characters? [20:16:03] so, the user name must be a valid page name [20:16:16] that has nothing to do with urlencode [20:16:23] it will be urlencoded in urls [20:16:32] but some characters are not legal in page names [20:16:35] for example, # [20:16:56] because # has a special meaning lin links. [20:17:02] the same is true for | [20:17:46] Also []<>{}. [20:18:09] And it can't contain underscores, those are converted to spaces. [20:18:14] And the first letter is capitalized. [20:18:37] <^demon> And /'s are special too, if you have subpages enabled. [20:18:52] and it cannot look like an ip address or email [20:19:30] ^demon, / is always forbidden in usernames. [20:19:36] Or it had better be. [20:19:40] Since subpages could be enabled at any time. [20:20:14] 03demon * r37344 10/trunk/extensions/ReplaceText/ReplaceText.php: A few minor tweaks. Patch by Robin. [20:20:16] . . . anyway, isValidUserName will give you all the details, if you trace through all the functions it calls. The Title constructor there is very important, as has been noted, it needs to be a valid title. [20:20:22] 03(FIXED) Some changes for the ReplaceText extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14533 +comment (10innocentkiller) [20:20:27] <^demon> Simetrical: True, didn't think of that. [20:24:44] 03ialex * r37345 10/trunk/extensions/Configure/Configure.php: Typo in comment [20:27:07] If I wanted to find some one to help create a bot for my wiki, any clue where would be a good place to ask? [20:28:05] 5ffffffffff555eeeeaaffffffffffffhfhfhfhfhh [20:28:10] oops [20:28:12] sorry [20:28:14] MinuteElectron: I do you too [20:35:12] GreenReaper: Thanks, javascript console led me straight to the error [20:35:43] Excellent. [20:40:33] 03daniel * r37346 10/branches/daniel/playground/includes/Skin.php: making category link generation hookable [20:44:36] 03(FIXED) Identifier needed for MediaWiki generated pages in page source - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11988 +comment (10innocentkiller) [20:49:32] 03rotem * r37348 10/trunk/ (5 files in 3 dirs): [20:49:32] * Removing sitesupport messages from core. [20:49:32] * Moving sitesupport tooltip to WikimediaMessages. [20:53:53] 03catrope * r37349 10/trunk/phase3/includes/api/ApiMain.php: (bug 14758) unknown_action message was output twice, once formatted and once unformatted [20:54:32] 03(FIXED) Invalid JSON produced by API when API error produced - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14758 +comment (10roan.kattouw) [21:09:51] Just upgraded from 1.11 to 1.13alpha (r37348) and I'm having a problem with transwiki templates. Specifically I'm getting the message: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 30720 bytes) in /var/www/wiki/includes/Xml.php on line 426 -- But if I manually call the render page in my browser - I have no problems getting the template rendered. [21:09:52] 03siebrand * r37350 10/trunk/extensions/Translate/Translate.i18n.php: Fix typo. [21:09:53] Does anyone know how I can svn+ssh to the wikimedia repository if my SSH key is in a non default location within my .ssh? [21:11:29] MinuteElectron: load it to ssh-agent? [21:12:34] ssh -i [21:12:35] I was looking into that... but it is confusing. [21:12:41] man ssh [21:12:47] ZorroIII: You don't ssh -i into svn+ssh servers [21:13:16] can't svn set params to ssh? [21:13:22] MinuteElectron: ssh-add :o [21:13:44] :P [21:13:51] ZorroIII: who knows... [21:13:54] I don't think it can. [21:15:19] 03jhsoby * r37351 10/trunk/extensions/ScanSet/ScanSet.i18n.php: Fixing error introduced with r37347. [21:15:50] "Could not open a connection to your authentication agent." [21:15:52] ^_^ [21:15:53] MinuteElectron: eval `ssh-agent`; ssh-add [21:16:02] thanks [21:16:07] n/p [21:16:11] ahh, isee; that is what that bash was printed out [21:16:27] MinuteElectron: write this in $HOME/.ssh/config: [21:16:30] Host svn.wikimedia.org [21:16:37] IdentityFile /path/to/my/id_dsa [21:16:45] thank you [21:16:46] :) [21:17:10] flyingparchment: in general ssh-agent is easier, because then you don't have to continuously type your password (if you have one, which you should) [21:17:36] okay, you can explain to him how to enable ssh-agent if you like ;) [21:17:45] he did hehe [21:17:55] that only works in the current shell [21:18:09] usually you'd run it on your X login so it works everywhere, and you only have to ssh-add once [21:18:28] i see, i think i prefer your suggestion [21:18:33] yeah, i have scripts to re-connect me to my current running agent [21:19:02] MinuteElectron: well, what you should probably do is set up ssh-agent to start upon login [21:19:13] but if your OS doesn't do it by default, it can be a pain [21:21:46] hey there! Do you know if anyone integrated Joomla 1.5 with mediawiki 1.12 ? [21:23:00] Doubtful, if you mean proper integration and not just some sloppy fragile hack. [21:23:07] flyingparchment: Yeah, I prefer your method since it is more transparent and since I use screen it would be insecure to use save the password. [21:23:08] Don't know, though. [21:23:38] MinuteElectron: how would using screen make it insecure? do you store your key on a shared server? [21:24:01] flyingparchment: Right, I see your point - since it is a personal VPS. [21:24:36] Anyway, I'm happy with ~/.ssh/config for now. [21:24:36] if this isn't somewhere you log in with X, there's a different way to do ssh-agent, but i don't know it off hand [21:25:16] oh, I don't know how to use X... [21:26:29] X is the Unix GUI. you'd know if you were using it ;) [21:26:38] MinuteElectron: I have a script you can use in your .bash_profile, if you'd like your ssh-agent to start itself when you ssh in [21:26:44] yeah [21:26:53] flyingparchment: I know :P [21:27:20] Ryan_Lane: I'm happy with .ssh/config really. thanks anyway =] [21:27:32] of course, you could just use an ssh client on your desktop that supports agent forwarding [21:27:37] k [21:27:40] then you don't need to store the key remotely at all, and it works transparently [21:28:13] sure [21:29:15] 03raymond * r37352 10/trunk/ (5 files in 4 dirs): Localisation updates German [21:31:20] ZorroIII: amiga user? :) [21:33:02] re [21:37:11] exobuzz: used to be [21:40:52] 03siebrand * r37353 10/trunk/extensions/WikimediaMessages/WikimediaMessages.i18n.php: Localisation updates from Betawiki. [21:42:56] ZorroIII: aah k.. i still am ;-) [21:43:35] hmm, why would MySQL put a limit on the database username length =/ [21:45:28] 03siebrand * r37354 10/trunk/extensions/ (65 files in 57 dirs): Localisation updates for extension messages from Betawiki (2008-07-08 23:21 CEST) [21:47:19] I redesigned the MW.org Main Page a bit. [21:47:49] Still don't know what to do with the ridiculous-looking current version box, but I'll figure something out eventually. [21:51:32] exobuzz: kewl, I have an A1200 that I might ressurect one day [21:55:11] ZorroIII: you should. :) [22:23:12] 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10tim) [22:31:15] 03(NEW) Google pie, too few color - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14761 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [22:33:15] 03(NEW) Add an option for strict account renaming - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14762 15enhancement; normal; MediaWiki extensions: Renameuser; (Platonides) [22:39:29] 03siebrand * r37355 10/trunk/extensions/Translate/wikimedia-mostused.txt: Remove sitesupport related messages [22:57:12] 03(mod) Google pie, too few color - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14761 (10dasch_87) [23:02:23] 03siebrand * r37356 10/trunk/phase3/languages/messages/ (241 files): Localisation updates for core messages from Betawiki (2008-07-08 23:21 CEST) [23:15:14] 03siebrand * r37357 10/trunk/extensions/ (8 files in 8 dirs): Localisation updates. Rebuilt i18n file for all present languages [23:32:05] *MZMcBride whomps OverlordQ with a bat. [23:33:47] BAG is elected by the community to regulate bots on Wikipedia. You can't turn around and say it's lack of community input that's to blame for BAG's poor decisions. [23:34:16] sure you can. maybe they ignored the community after they were elected [23:34:48] That wouldn't be the community's fault, though. [23:36:22] 03siebrand * r37358 10/trunk/extensions/Translate/ (4 files in 2 dirs): [23:36:22] * add support for WikimediaMessages [23:36:22] * remove support for Word2MediaWikiPlus (unmaintained; developers did not release updates with translations despite multiple reminders) [23:36:28] <^demon> Last time I checked, BAG was largely self-selected. While the community _is_ solicited input, they're largely left to their own devices. Lack of community caring about the process and all. [23:38:15] Bag has always asked for more community input. So blaming them because the community never voiced their opinion till after the fact is hardly a fault of BAG. Q T C 21:42, 8 July 2008 (UTC) [23:38:22] That's what I was replying to. [23:39:03] ^demon: Did you ever run adminbots on en.wiki? [23:39:08] 03siebrand * r37359 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Ignore sidebar in Wikimedia Messages (duplicate key from core) [23:39:11] <^demon> *nods* [23:39:24] You should take a look at: http://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Adminbots [23:39:27] It's interesting. [23:39:34] <^demon> I glanced over it today. [23:41:22] I took BAG to task for being negligent (or just plain stupid) with a number of bots. At least someone read it. [23:49:38] <^demon> MZMcBride: Dare I ask...who is this Grawp fellow? I keep seeing his name pop up, but I'm too removed from enwiki these days to be "in the know." [23:49:55] He's a troll from ED. [23:50:12] He semi-regularly moves various pages to HAGGER?? or HAGGER!! or ... [23:50:20] HAGGER???? [23:50:26] It requires a high level of creativity now that we have a title blacklist. [23:50:54] <^demon> ...you mean the community has been freaking out over a pagemove vandal? [23:50:57] He also occasionally creates offensive global usernames. [23:51:07] Not freaking out, but it's annoying. [23:51:21] It's usually a spurt of four or five accounts that do ten to fifteen moves. [23:51:40] And it's the article-space, so, yeah, people don't usually enjoy it. [23:51:58] Ten to fifteen moves per account, I should say. [23:52:23] <^demon> Gotcha. [23:52:26] http://en.wikipedia.org/wiki/Special:Contributions/Gum_Stuck_on_Bottom_of_Shoe [23:52:36] That was on of the five accounts from last evening. [23:54:21] *^demon considers disabling pagemoves for non-sysops in DefaultSettings ;-) [23:55:53] <^demon> MZMcBride: Why is the community suddenly concerned with adminbots (ie: background for RFC)? [23:56:08] They're not. It's summertime, so people are bored. [23:56:14] <^demon> ah. [23:56:28] And it bothers some that the community simply ignores the issue. [23:57:16] <^demon> Adminbots have been running for years just fine...hell, I ran one off and on for awhile. [23:57:44] *MZMcBride nods. [23:57:54] enwiki has to get its head out of its arse and realize that adminbots are useful and safe. [23:58:02] Hopefully that's what it's currently doing. [23:58:08] <^demon> Simetrical: One can hope. [23:58:09] It is, to an extent. [23:58:12] RFA is a turing test? [23:58:43] Simetrical: Hopefully we'll devise a non-RfA system for bots. [23:58:50] A hybrid between RfA and the current bot approval process. [23:59:06] That looks like the direction the community is heading.