[00:03:26] 03(mod) {{int:X}} respects user-defined interface language, breaking link tables etc. (aka {{USERIFCODE}} strikes back) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14404 (10brion) [00:06:35] hello all [00:08:11] what would be the best way for an extension to limit itself only to certain categories? i.e., when the extension is invoked, it will only process pages that are part of category "Foo" [00:08:35] or any of its sub-categories [00:14:44] what would be the best way for an extension to limit itself only to certain categories? i.e., when the extension is invoked, it will only process pages that are part of category "Foo", or any of its sub-categories [00:19:05] I can tell everyone this, mediawiki support mysql 5.1 GA [00:19:51] j4zzcat: you'd have to query the db [00:20:00] to figure out what categories the page is in [00:20:08] hmm [00:20:10] thanks [00:20:18] hmmm [00:20:46] since iirc that info isn't accessible through Title or Article [00:20:53] 5.1 is GA already? [00:21:01] yes [00:21:10] final [00:21:50] ybsinaisyyteni, http://techwiki.techman224.com/techwiki/index.php/Special:Version [00:22:02] ah, /me just sucks at searching [00:22:17] j4zzcat: actually, you should be able to use $wgTitle->getParentCategories() [00:23:14] thanks :-) [00:25:32] 03(mod) Support for Chemical Markup Language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16491 (10brion) [00:27:04] *werdnum waves [00:27:09] <__aib> has anyone considered updating articles using ajax rather than a new get when links are clicked? i guess with client-side caching it's not that big of a save? [00:27:54] 03(NEW) Images break text flow in IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16501 normal; normal; MediaWiki: Page rendering; (pastor.castor) [00:29:37] if i have a page on my wiki that is linked via the skin how do i make sure the href is correct? [00:29:44] yksinaisyyteni, why not just use "river" as your nickname :P [00:31:07] i.e the mainpage is $this->data['nav_urls']['mainpage']['href'] [00:31:47] *chuck wonders if there is a guide to make a skin.. [00:35:27] 03siebrand * r44054 10/trunk/extensions/Translate/ (7 files in 2 dirs): Add Special:LanguageStats. As unlisted special page for now, because it still needs some work. [00:37:37] __aib, to many issues is that. There are a whole pile of things other than the content that changed (tabs, toolbox). As well that would break js like that used for show/hide. And to top it off, for all these bits of issues, the address bar will not be returning proper info, and history could get screwed up [00:37:45] All in all, it's not worth the effort [00:58:45] werdnum: why can't kate open two windows with different document lists? [01:00:03] yksinaisyyteni: Two windows with different document lists? [01:00:07] yes [01:00:20] You mean you want two different instances of kate, each having different documents open? [01:00:30] yes, except i want the same instance with two windows [01:02:53] yksinaisyyteni: that is kinda annoying. [01:03:10] yksinaisyyteni: I don't know how to get around it... tried "New Session" et al. [01:03:13] hey brion [01:03:34] what up werdnum [01:03:46] not much [01:04:02] ... and why is qt designer an annoying gimp-like sdi application on unix? [01:04:07] it does proper MDI on windows ;( [01:04:15] Been away with the gf, so I'm starting my friday-saturday work now :) [01:04:30] *werdnum has weird work timetables to sync with you crazy Americans and your thanksgiving. [01:04:36] :D [01:05:03] i'll be back to regular schedule monday [01:05:35] *werdnum wonders which other jobs would let me move my weekend two days forward to take advantage of thanksgiving. [01:06:26] 03(NEW) default skins don't show the mail_icon,gif or external. png with another language file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 15enhancement; normal; MediaWiki: Images; (sia) [01:06:41] :) [01:07:14] brion: Isn't it, you know, the weekend over there? [01:07:27] Shouldn't you be trampling employees at Wal-Mart or something? [01:07:32] *werdnum hides. [01:07:32] :P [01:07:35] just chillin' [01:07:46] thought i'd poke at a bit of the code review backlog while i'm sitting here :) [01:07:48] 03(NEW) Checkuser install script install.php doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 04CRIT; normal; MediaWiki extensions: CheckUser; (techman224) [01:07:51] fair enough [01:08:05] brion: while you're around, what do I need to do to get this COnfigure stuff ready to deploy. [01:08:49] 14(DUP) default skins don't show the mail_icon,gif or external. png with another language file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 +comment (10brion) [01:08:50] *werdnum is already a week over time on it and ready to get this stuff done and dusted (but the next project should be shorter than budget, so I'm not stressed out) [01:08:50] 03(mod) BiDi: user icon should be displayed properly regardles of the LTR / RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3956 +comment (10brion) [01:09:37] lemme take a peek at its current state [01:10:32] I'm aware of the following: [01:10:34] ok first note -- i find the expandable sidebar tree generally confusing [01:11:04] okay, so what sort of interface should replace it? I discussed with ialex, and it's a real pain to do tabs, because there are stacks and stacks of options in a default install. [01:11:04] subsections show in multiple places and it's not obvious why at first [01:11:22] so we'd end up with like 10 tabs. [01:11:27] single-subsection sections expand to show just one section, which is very confusing [01:11:40] That can be killed pretty easy. [01:12:03] yes, not showing expando links for things that have nothing to expand to would be a good start :) [01:12:35] "reduction" as a section title is confusing. [01:12:36] html needs an expandable sidebar tag [01:12:45] so everyone doesn't have to reimplement it in JS [01:12:48] Technically it does, but from a user's perspective no, so yeah, I'll fix that. [01:12:53] it seems to combine performance controls with random "disable thsi feature" stuff [01:13:54] okay, I can split that up into 'Performance' and 'Features'. [01:13:54] in "files" consider separating out thumbnail rendering stuff from other stuff? [01:14:51] hang on, let me pull up the interface so I remember what you mean. [01:15:31] ($wgUsePrivateIPs) belongs in squid settings (handling reverse proxy in front of MediaWiki), whereas the "Proxies" section here seems to be for open-proxy scanning for IP blocking [01:15:59] Okay, so a separate "Thumbnail rendering" section under "Files", or a separate top-level section? [01:16:16] brion: just FYI, I finally have emails getting sent and plan to email you a patch for UserMailer tonight. [01:16:28] (there, now I'm committed :)) [01:16:30] Enable Squid ($wgUseSquid) should probably be at the *top* of the squids section? :) [01:16:48] might be a good idea... [01:16:49] :P [01:16:50] i note the lists of squid servers are missing from this section [01:17:05] how can i active the theme like that {{community news|right}} ? [01:17:20] brion: What do you mean? I can see the entry field there... [01:17:21] we still need a UI for $wgRateLimits ... that's one of the settings we might want to be able to configure for Wikimedia stuff [01:17:43] yep, that's on the list :) [01:18:21] werdnum: http://leuksman.com/images/4/47/Picture_20.png [01:18:29] werdnum: i missing intellisense in kate when using Qt. it's a big library ;) [01:18:56] brion: hmm, perhaps you've got $wgConfigureNotEditableSettings or $wgConfigureEditableSettings different from the default. [01:19:03] ($wgAccountCreationThrottle) maybe belongs in rate limits? [01:19:17] werdnum: i have no such setting [01:19:22] yeah, probably does. [01:19:25] require_once( "$IP/extensions/Configure/Configure.php" ); [01:19:25] efConfigureSetup(); [01:19:40] 03(NEW) Less obtrusive anti-spam box on text browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16504 trivial; normal; Wikimedia: General/Unknown; (jidanni) [01:19:57] ditto on ($wgPasswordAttemptThrottle) [01:19:57] brion: Maybe it's got to do with the files handler. [01:20:02] *werdnum checks code. [01:20:25] Spam filter regular expressions ($wgSpamRegex) <- probably should be in a content filtering section? [01:20:38] lemme try removing my old file [01:20:59] no difference [01:21:11] 5.2.6 (apache2handler) [01:21:14] That's a bit weird. [01:21:22] Are you at svn HEAD? [01:21:47] whoops. [01:22:11] yeah [01:22:21] maybe I'm not, and ialex has done something. [01:22:23] *werdnum updates. [01:22:39] I'll check that out. [01:22:46] Does it still take over your screen, or did we fix that? [01:22:58] (horizontal scrollbar) [01:23:07] it's still a bit wide for my taste but not as bad :) [01:23:28] Moving that thing on the side should get us some horizontal space. [01:24:07] any answer? why the template code dont worked for me??!! [01:24:08] Any suggestions for a better way of selecting different sections? [01:24:08] http://www.mediawiki.org/wiki/Help:Templates [01:24:08] a general question -- does it save *every* value or just those which are different from the defaults? [01:24:15] I'm not entirely sure. Let me take a look. [01:24:19] if it saves them all, that's bad since upgrades that change default values (say for safety) will get messed up [01:24:36] a lot of settings are not really meant to be changed in 99% of cases :) [01:24:53] any idea? [01:25:11] brion: If you look in Configure.php, there's a recommended set of settings to set as editable. [01:25:21] Namespace overrides ($wgExtraNamespaces) <- "Nameapce overrides" seems like a strange description here [01:25:28] 03(mod) Checkuser install script install.php doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 (10techman224) [01:25:33] werdnum: recommendations should probably be the default :) [01:25:33] brion: Try copying those commented-out lines into your LocalSettings.php -- that's what my suggestion was for Wikimedia. [01:25:44] software should be "fire and forget" [01:25:45] brion: They were, but ialex said he wanted everything changeable by default. [01:25:56] well, allow me to override that [01:26:26] Okay, I'll put it back like that. [01:27:22] The default editable settings are basically "Namespaces, groups, some misc customisation like logo, site name, etc" [01:29:12] things like Namespace protection ($wgNamespaceProtection) really should show when they've been customized. right now it just says "[show details]Setting details hidden" [01:29:38] collapsed form should at least indicate what *is* set [01:30:04] It looks like it already has infrastructure to get the defaults, I think to remove the defaults from settings which are saved. [01:30:28] brion: The issue there is updating the 'summary' with JS [01:30:48] Although I suppose it could be done purely in JS, instead of in PHP and JS. [01:31:00] List of interwiki prefixes for transwiki ($wgImportSources) <- this is shown doubled for some reason. ("Wikipedia\nWikipedia") [01:31:06] [after saving] [01:31:24] werdnum: yeah, basically just show the boxes with content in them :) [01:31:29] Yeah, I know about that issue. [01:31:38] It happens for some other things, too. [01:32:26] what happened to wgLogo? i can't find a setting box for it [01:32:38] It's because the arrays are merged, rather than overridden with the defaults. [01:32:53] brion: 'Site Customisation' [01:32:56] I moved it. [01:33:10] it aint there [01:33:30] Hmm.. that's weird. More settings going missing... [01:33:59] can i use Template in mediaWiki or not? [01:34:43] I'll be at HEAD in a few minutes (just updating now), and will see if it's there then. [01:35:38] 03(mod) Less obtrusive anti-spam box on text browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16504 (10brion) [01:35:58] :D [01:36:28] http://www.mediawiki.org/wiki/User:Werdna/Configure_todo [01:36:30] what I have so far. [01:36:36] Default language variant ($wgDefaultLanguageVariant) <- shouldn't this go with localization? [01:36:43] Probably. [01:36:51] Maybe I should just do a review of categorisation. [01:37:04] Hide interlanguage links from the sidebar ($wgHideInterlanguageLinks) <- to interwiki? [01:37:08] see u my text or iam ignored? [01:37:26] S-i-A: people who are around are busy, there are probably others. [01:37:49] aha ok but need any answer. [01:38:20] brion: I'll have a look at categories in general, rather than you spending the next half hour finding every misplaced setting :) [01:38:41] *werdnum thinks you have better things to do. [01:39:04] Valid skin names ($wgValidSkinNames) <- wtf? [01:39:20] this is a global that's autogenerated from the skins present on the system [01:39:29] is useing template need extension install or is total disabled in mediaWiki? [01:39:50] werdnum: looking at yer list :D [01:40:07] brion: ah, shall remove. There were a few like that that I spotted when I first picked up Configure, but obviously one slipped through. [01:40:23] a good start :D [01:40:26] We had globals like $wgDBserver (Tim said it used to hold the MYSQL connection resource) listed as changeable. [01:40:43] for things like logos it might be nice if we have a good clean UI for picking an image name and perhaps displaying the image inline [01:40:55] I've got the former, not the latter. [01:41:20] You click "Convert image name to URL", and it AJAXes the image name into a URL for a thumb of the appropriate size. [01:41:36] Would be trivial to have a 'preview' button which then displays it inline next to the field. [01:41:39] hmm [01:41:49] mmmm. it handle Commons? :D [01:42:00] brion: It uses wfFindFile, so yes. [01:42:11] whee [01:42:38] $wgForeignFileRepo is seriously the sexiest thing ever invented. [01:42:46] *AaronSchulz keeps hearing the Kang & Kodos theme [01:46:28] edit conflict! [01:46:54] oh, sorry :P [01:47:30] Enable highlighting in search results ($wgAdvancedSearchHighlighting) <- inaccurate description. highlighting is *always* on -- this is a fancier, slower, method of highlighting [01:47:46] "Enable fancy search highlighting" [01:52:10] AaronSchulz: is http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43871 resolved? [01:52:11] is there any particular order to the sections? [01:52:13] it seems pretty random to me [01:52:29] brion: They're in an order in the file, and I'm aware that it's totally random. [01:52:55] I'm torn between having them in a "What are you most likely to use" order, and an alphabetical order. [01:53:14] $wgDisableTextSearch presumably belongs under Search [01:53:30] well i spent like a minute trying to find the "Search" section [01:53:42] i ended up using Firefox's in-page search to find the section link so i could click on it [01:54:00] imho this could use a workflow improvement :) [01:54:06] So you think alphabetical? [01:54:15] maybe... [01:54:24] and/or just have a search widget :) [01:54:55] whee [01:55:27] I'm not sure how that would work though. [01:55:33] We could de-section them and rely on search [01:55:41] also if i will use template must i install extention or ?? [01:55:49] mmmmm i'd say keep sectioning [01:55:50] or.... somehow pull the requisite table rows and stick them in a special-purpose section for search results? [01:55:54] otherwise hard to find related items [01:56:03] (search can be all-js) [01:56:05] or... highlight the section where a setting is in? [01:56:53] 03(mod) Less obtrusive anti-spam box on text browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16504 (10textarea rows='1' cols='1'>_Anti-spam check. Do NOT fill this in! [01:56:53] would look less obtrusive in text browsers. I suppose the TAB key will still [01:56:53] find [01:56:53] it, else whatever spam program you are fighting wouldn't, defeating its [01:56:53] purpose. [01:56:55] Produce a list of settings for search results, each result is a link which opens the section and highlights the setting? [01:56:59] -- [01:57:01] Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email [01:57:03] ------- You are receiving this mail because: ------- [01:57:05] You are the assignee for the bug. [01:57:07] You are watching all bug changes. [01:57:08] *werdnum kicks wikibugs [01:57:11] _______________________________________________ [01:57:13] Wikibugs-l mailing list [01:57:15] Wikibugs-l) [01:57:15] heh [01:57:22] heyyyy [01:57:24] I think I'm a bit late... [01:57:28] tx [01:58:55] Anyway, I'd personally go with the last option.. links for each setting, which open up the setting in the view. [02:01:22] i well come morgen again for my answer YES/NO :) [02:01:38] is my question so ...!? [02:02:24] S-i-A: templates work fine without extensions, except some templates on Wikipedia need extensions installed [02:02:31] look at http://en.wikipedia.org/wiki/Special:Version [02:03:00] there are a few extensions that you might need, and all of them are there (although you won't need many of Wikimedia's extensions). Consider installing ParserFunctions, in particular. [02:03:04] https://bugzilla.wikimedia.org/show_bug.cgi?id=16481 werdnum: thanks [02:03:40] ParserFunctions and HTMLTidy are the main ones for wikipedia templates afaik [02:04:55] also werdnum mus install this version and remove the mediawiki 1.12? [02:05:22] Ordinarily, no, but there's a new parser in 1.13 which you probably will need. [02:05:34] S-i-A: the best way to upgrade is not to remove your directory and reinstall. [02:05:43] Just copy the files over the top, and run maintenance/update.php. [02:05:52] brion: is that what you're thinking of with the search widget? [02:06:24] werdnum: and this extiontion dont worked with 1.12 http://www.mediawiki.org/wiki/Extension:ExpandTemplates ? [02:06:40] You shouldn't need it. [02:07:54] also must upgrade and worked. [02:08:40] werdnum: hm? [02:09:39] brion: Just thinking about the behaviour of a JS search widget -- is this what you were after? : search results consist of links for each result, which open up the section and highlight the setting [02:09:58] 04(REOPENED) Special:Statistics does not explain what * means - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16481 +comment (10brion) [02:10:18] hey. [02:10:24] werdnum: could try that and see how it goes [02:10:40] it may, or may not, be nicer to show the full display & edit widget for all results, as a kind of 'virtual section' [02:10:45] on the other hand that might be hard :D [02:10:50] Yeah, that was another option :P [02:10:52] plus it might be harder to then find related settings [02:10:55] yeah [02:11:12] Anyway, looks like I have plenty to do over the next few days. [02:11:21] :D [02:11:37] Should be able to get most of it done by the middle of the week. [02:11:50] then I'll be able to harangue you some more to look at it again. [02:12:14] yay [02:12:16] keep in touch [02:12:31] TTL for HTCP multicast purging ($wgHTCPMulticastTTL) <- belongs in squid settings [02:13:20] *werdnum blames ialex. [02:13:31] Yeah, I'll be on for a few hours every afternoon (your time) [02:13:36] you know when I'm usually around :) [02:13:46] :D [02:14:07] *werdnum wonders why VLC won't work on his iPhone. [02:16:20] werdnum: the extiontion is installed but dosn't work [02:16:40] 03jhsoby * r44055 10/trunk/tools/planet/de/ (config.ini templates/index.nb.html.tmpl): Reverting; the proof-of-concept test worked - Scandinavian Planet Wikimedia one step closer ;) [02:16:41] S-i-A: You'll need to be more precise than "Doesn't work" [02:16:48] *AaronSchulz is always around [02:16:53] {{Thankyou [02:16:53] |reason=all [02:16:53] |signature=Joe}} [02:16:56] AaronSchulz is freaky. [02:17:00] i add that nothing [02:17:04] srsly, he's on like 24 hours a day. [02:17:14] At least I take a break from midnight to 8 or 9am :) [02:18:24] hiya. i've noticed that my wiki site absolutely HATES HTML-based tables, particularly if htey have any options in the tag, such as align="center".. how do i remedy this? [02:18:25] also the template dont worked {{community news|right}} just display the link [02:18:45] *werdnum resists saying "Use wiki tables" [02:19:09] i use wikitables when i can [02:19:42] however, it's annoying when i try to make a custom table, and god help me if i try to use an infobox :P [02:21:22] f** nothing work for me nothing [02:21:27] the tables to [02:21:43] what errors do you get, S-i-A? [02:22:14] nothing i will use template like wikipedia ot tables dont work any thing [02:22:30] i see [02:23:00] got a live link we could look at? [02:24:14] me? http://wiki.mobianlegends.com/wiki/Template:Infobox_settlement or http://wiki.mobianlegends.com/wiki/Template:Infobox_Country [02:24:37] was referring to S-i-A in that instance [02:24:42] oh sorry [02:24:51] well, he's having a similar problem to mine (HTML Tables) [02:28:31] 03(mod) Support for Chemical Markup Language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16491 (10nospam) [02:32:08] We need to add something like Gmail's "Mail Goggles" to core MediaWiki. :) [02:33:24] so, no one can help S-i-A and i? [02:33:32] Krimpet: why, what happened? [02:33:49] werdnum, it'd be very valuable in general. [02:34:02] Krimpet: Are you talking about committing or editing? :) [02:34:02] what is a mail goggles? [02:35:01] yksinaisyyteni, in the wee hours of night, it makes you answer some arithmetic problems before it'll send your mail, to make sure you aren't drunkenly sending something you'll later regret. :) [02:35:19] Sadly not included in Google Apps. :/ [02:35:29] that doesn't sound very useful, i'm not bad at arith even when i'm drunk [02:35:30] what if you're like me and sober all the time, but ya just suck at math? [02:35:51] RingtailedFox: there's a difficulty setting. [02:35:55] ok [02:36:20] What if you're drunk all the time and have learned how to do math drunk? [02:36:30] Not speaking from experience or anything... [02:36:52] Hmm, maybe Google didn't think this feature completely through. [02:37:02] lol [02:37:11] ^_^ silly silly silly... they should be asking questions about the universe... everyone /knows/ that you can only answer those when completely out of it... heh [02:37:36] perhaps it should make you move the cursor across the window in a straight line [02:37:38] ;) And you can log the answers to those questions [02:37:42] heh [02:37:48] Have I ever mentioned just how awesome VLC is? [02:37:53] *ST47 isn't sure whether Dantman meant for that to be as deep as he was, but if he did, /me applauds him [02:38:06] yksinaisyyteni: nonsense, I can't do that either. [02:38:19] Dantman, on the contrary, when I'm extremely stoned, I seem to be much more philosophical and interested about the universe and all. :p [02:38:24] and don't suggest typing the alphabet backwards. [02:38:35] ;) That's what I said [02:39:06] It's the sober people that don't truly understand the universe [02:39:14] Oh. I thought you were actually punning on 'out of it' >.> [02:39:25] heh [02:39:30] *ST47 needs to stop assuming that people are conspiring to confuse him [02:40:05] Also, saying complex things while under the influence of /me is difficult and sometimes comes our very convoluted. [02:40:07] *Krimpet once fell down dizzily and shattered into a million little blue pieces... [02:40:21] ^_^ Half the time I come up with a joke like that, it ends up coincidentally philosophical or such in some way [02:40:25] *ST47 paints Krimpet green [02:40:51] It was like a big grid of cells or atoms or something. [02:41:03] ;) the trick is not to rely on alcohol...... maddness is where it's at... buahahahahahaha!!! [02:41:47] Hexagons? [02:41:56] Has anyone looked at https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 [02:42:08] *ST47 hasn't, but shall [02:42:22] Like a big [[cellular automaton]]. [02:43:00] eww, windows [02:43:10] You're missing a file somewhere, if you didn't catch that [02:43:25] Early computer builder Zuse once hypothesized our universe was a huge cellular automaton. [02:43:26] techman224, you should probably actually say what command you ran, and what directory you were in when you ran it [02:43:30] ST47, but the files are there [02:43:35] *Krimpet tokes [02:43:36] Also, if you set the MW_INSTALL_PATH variable or not [02:44:07] ST47, I ran php install.php [02:44:16] in the checkuser directory [02:45:02] *werdnum rickrolls #mediawiki, and promptly loses the game. [02:45:19] ST47, The files are there [02:45:57] Well the issue here... is that it's trying to find a file inside the wiki's root, not the checkuser extension folder [02:45:59] *Krimpet rolls werdnum with http://www.youtube.com/watch?v=i3x4C1fJcUk [02:46:10] werdnum: no no, you have to do all of the wiki* channels at once and all of wikipedia as well [02:46:25] Dantman, how do I fix it [02:47:16] Copy the first 15 lines of install.php into a pasty to double check [02:47:38] Krimpet: the 'related videos' for that freak me out [02:47:56] waitasecond... [02:48:08] It's not including from root... it's including from includes [02:48:20] Dantman,that should be changed [02:48:41] You're sure that extensions is actually inside of htdocs\techwiki\extensions\CheckUser\ [02:48:48] I mean yours is including from includes [02:48:52] Dantman, becuase the files install.php and install.inc are in the checkuser extension folder [02:48:55] There is nothing inside of the code that does that [02:49:02] Dantman, yes [02:49:27] The install code finds the absolute directory that the install.php file is inside of, and uses the install.inc file inside that same folder [02:49:41] Krimpet: lol wut [02:49:49] Dantman, wait 1 sec [02:49:57] So there is no reason it should be including from anywhere else unless something of yours is screwed up [02:50:05] Hmmm... wait [02:50:53] I think I know the issue [02:52:11] Dantman, nope, ddn't work [02:52:16] I tried caping the U [02:53:07] Dantman, what is it? [02:53:19] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/install.php?r1=43987&r2=43986&pathrev=43987 [02:53:23] *Dantman slaps siebrand [02:54:18] Just for a bit of microptimization... going and screwing things up [02:55:18] Dantman: That looks fine to me. [02:55:41] Dantman: also, it's good code cleanliness, even if the optimisation does fuck all. [02:56:00] werdnum, I'll revert to that revision to see if it works [02:56:31] Dantman: what did he stuff up? [02:56:49] :/ So... good code breaks horribly if unrelated files happen to make use of the genericly named variable $dir? [02:57:06] because the directory is saved inside the variable $dir [02:57:12] Then a require_once is done [02:57:35] Dantman, before it worded [02:57:53] I've reverted install.php to revision 43986 [02:58:16] If the code included by that require_once just happens to use a variable by the name $dir, when it goes to hit the second include it may have a different value and can break [02:58:54] And would someone please fix it now, thanks [02:59:09] 1. $dir is set [02:59:21] 2. commandLine.inc is included using that [02:59:32] 3. commandLine.inc includes LocalSettings.php [03:00:02] 4. Core code or an extension sets the $dir variable to something else for it's own use [03:00:25] 5. Code finally leaves the require_once and returns back to install.php [03:00:51] 6. The $dir variable has now been changed, and is invalid for use with that require_once to include install.inc [03:02:35] Hmmm... someone else care to revert? [03:02:49] I'm not used to command line reverting... [03:04:21] werdnum, could you do it [03:11:16] techman224: do what? [03:11:41] What Dantman was talking about [03:12:03] checkuser install script doesn't work right doesn't work [03:12:27] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=43987 [03:12:30] werdnum,http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/install.php?r1=43987&r2=43986&pathrev=43987 [03:12:33] revert [03:12:45] Breaks inclusion of files for a number of extensions [03:13:05] As I recall, Setup.php or something like it, makes use of the $dir variable [03:13:34] Even if not, that there basically has the bug where including 2 extensions that use $dir will make one extension break the other [03:14:06] Dantman: $dir is just used later on in the same scope to include a bunch of other files. If it gets redefined later on, then who cares? [03:14:53] $dir = dirname(__FILE__); require_once($dir . '/something.php'); $dir = '/some/other/dir'; require_once($dir . '/somethingelse.php'); will still work as expected [03:15:01] *Skizzerz doesn't see the issue here [03:15:03] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CheckUser/install.php?r1=43987&r2=43986&pathrev=43987 [03:15:12] It doesn't work [03:15:21] 1. $dir is set [03:15:21] 2. commandLine.inc is included using that [03:15:21] 3. commandLine.inc includes LocalSettings.php [03:15:21] 4. Core code or an extension sets the $dir variable to something else for it's own use [03:15:21] 5. Code finally leaves the require_once and returns back to install.php [03:15:22] 6. The $dir variable has now been changed, and is invalid for use with that require_once to include install.inc [03:15:28] *werdnum stabs Dantman [03:15:31] anyway, I'm reverting now. [03:15:37] 03werdna * r44056 10/trunk/ (53 files in 40 dirs): [03:15:37] Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions." [03:15:37] Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ). [03:15:37] In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var. [03:15:38] Commit will show up in a moment. [03:15:40] Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc. [03:16:20] "Recommended fix: Use $asodifjnasdoifnoawer, $aosdkfjoaierje4, $o2408hq34fnsd, etc." [03:16:34] ^_^ We're not using JavaScript, there is no local scope [03:16:45] functions? [03:16:49] :) [03:16:53] anyway, g2g [03:16:59] INow it works [03:17:52] AaronSchulz: OK, eh? :) [03:31:38] werdnum, I like to popose a change to CentralNotice [03:32:16] It doesn't work [03:32:23] opps [03:32:36] theres the centralnotice_admin_rights [03:32:44] and centralnotice_translate_rights [03:33:17] could they be change to like centralnotice-admin and centralnotice-translate [03:43:00] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 +comment (10alexfusco5) [03:52:44] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10mrzmanwiki) [03:53:00] how do i get HTML tables to work properly in mediawiki? since they don't work, they screw up other pages and templates....i can use wikitables well enough [03:54:05] RingtailedFox: do you have htmltidy enabled? [03:54:18] yes [03:54:59] it randomly chooses which tags to recognize as open or closed, and which ones to ignore, causing tag issues [03:55:47] should i turn it off? [03:57:29] i wouldn't recommend it [03:57:40] are you using html table in wiki syntax for your tables? [03:57:47] *or wiki [03:58:07] HTML table [03:58:08] Oh Bond... how rude... [03:58:27] like in their output, sometimes this can be fixed by properly ordering the html tags, but sometimes not [04:14:24] hmm [04:14:48] i also get and on occasion, but mostly and [04:14:48] so it is a bit insane.. to have this switch... [04:15:11] i take it i need to point it towards the external app of HTML tidy? [04:15:13] (x) show random in some cases ( ) show random in completely other cases [04:15:30] how about "show random in no cases? [04:15:31] " [04:15:38] yah, good luck looking for that option ^_^ [04:15:53] i know [04:16:14] i noticed i don't have the html tidy external app installed.... [04:16:22] http://ak.imgag.com/imgag/product/full/ap/3032714/peevescp.gif [04:16:44] Splarka: well that code on the sandbpx i created should be in proper order >.> [04:17:01] nice pet [04:18:37] the only differnce between your version and mine is that you have php 5.2.6 (cgi-fcgi) where as i have 5.2.6 (apache2handler) but i doubt that would make much differnce... [04:20:07] i downloaded html tidy from http://tidy.sourceforge.net/trt/tidy_mklinux.tgz [04:20:14] ok [04:21:11] although i didn't download anything because i assumed htmltidy is inculded in the xampp package which proved correct [04:21:42] how do i check if my webhost already has html tidy? [04:21:47] i don't have root access [04:27:37] anyway, i'll try using the bin file of tidy [04:30:46] hmm. disabling tidy....attempting now [04:31:01] that does nothing o.O [04:32:32] *RingtailedFox wonders if his connection failed [04:33:38] try a phpinfo() page that might say if your host has it [04:33:56] http://mobianlegends.com/phpinfo.php [04:34:33] Tidy support enabled [04:35:16] this is odd [04:35:26] you shouldn't need to download a thing then [04:35:33] i see [04:35:40] so, delete alll lines about HTML Tidy? [04:35:58] ...what lines about htmltidy? [04:36:07] in LocalSettings.php [04:36:20] how many do you have? [04:36:20] 03pinky * r44057 10/trunk/extensions/SharedUserRights/SharedUserRights.php: [04:36:20] Adding Lucas "TOR" Garczewski of Wikia to SharedUserrights extension credits: [04:36:20] he wrote a lot of the original code [04:36:20] (see https://svn.wikia-code.com/wikia/trunk/extensions/wikia/SharedUserrights/SharedUserrights.php) [04:36:26] $wgUseTidy=true; $wgTidyBin= '/root/opt/tidy/bin/tidy'; $wgTidyConf = $IP.'/extensions/tidy/tidy.conf'; [04:36:28] just those three [04:36:43] try getting rid of all execpt for $wgUseTidy=true; [04:36:45] not on the same line, mind you. i just didn't want to flood [04:37:00] deleted the others [04:37:36] refreshing [04:37:57] http://wiki.mobianlegends.com/wiki/Sandbox still looks messed-up to me [04:39:29] try asking on the mailing list because i'm stumped [04:41:49] it's cool [04:41:51] thank you for the help [06:23:07] how do mailing lists work/ [06:38:16] If I have wiki links in my skin file, how do i make sure they go to the right page no matter what the article path is? [06:39:56] *qsheets hopes Simetrical is awake and can answer his question [06:40:45] RingtailedFox: list of emails that automatically get get put into the "To:" header [06:41:01] one by one [06:46:43] qsheets: probably Linker::link() or something similar [06:47:02] but you probably don't want it to check existence every non-cached parse, maybe check what the sidebar does [06:47:27] sidebar does some array [06:48:02] right, the array from wfMsgForContent( 'sidebar' ) [06:48:08] but then you can follow the logic.. [06:48:20] $link = wfMsgForContent( $line[0] ); [06:48:27] the first part of the $line, before the pipe.. [06:48:38] if (wfEmptyMsg($line[0], $link)) $link = $line[0]; [06:48:53] if there is no MediaWiki: page by that name, just assume it is the link.. [06:49:12] then it checks wfUrlProtocols() to see if it is external.. and if not.. [06:49:34] $title = Title::newFromText( $link ); if ( $title ) { $title = $title->fixSpecialName(); $href = $title->getLocalURL(); [06:50:00] ... [06:50:38] so maybe getLocalURL() from the title of the page you want? [06:53:06] nope... [06:54:10] Splarka: is there a quick way like wgArticlePath, but not that? [06:54:41] it doesn't work well with sub-pages [07:01:24] qsheets: what are you trying to do? [07:02:35] my skin template has links to wiki pages and i want to make sure they work no matter what my article path is [07:03:32] um, so you mean Title::getLocalURL()? [07:03:44] (that gives you the URL) [07:04:02] if you want just the link, try $wgUser->getSkin()->link() [07:06:08] werdnum: so far it says href="Some_page" [07:06:42] which works on every page except for pages like User:Qsheets/subpage [07:08:46] duude. [07:09:50] werd: he doesn't want the right or easy answer, but the 'quick' way [07:10:11] 1/ Don't make your links manually, use Skin::link [07:10:20] 2/ Get your URLs with Title::getLocalURL [07:10:37] ???? [07:11:13] I think you need to be more descriptive there. [07:11:57] *qsheets doesn't want to write tons of script for 14 links [07:13:12] dude, it's not very much code at all. [07:13:29] $t = Title::newFromText( 'YourPageName' ); [07:13:32] werdnum: pastebin [07:13:40] $url = $t->getLocalURL(); [07:13:46] that's.... it. [07:14:33] then writing that 14 times [07:15:23] no... use a foreach. [07:15:52] werdnum: they are not all in one spot [07:16:14] echo $wgUser->getSkin()->link( $t, 'Text' ); [07:16:14] so yes it's writing it 14 times [07:17:08] Better than writing [07:18:21] werdnum: the part i wrote in php was the only php in each link [07:18:40] Anyway, if you want the correct way to get a URL for a page, that's it above [07:18:43] Title::getLocalURL() [07:19:02] For just a tiny bit LESS code, MediaWiki can produce the entire link FOR YOU! [07:19:35] The only other way I can think of doing it is that awful $wgArticlePath stuff, which, as you say, doesn't even work. [07:24:42] qsheets: did you figure it out?:) [07:24:49] werdnum: yup [07:25:09] good-o [07:25:14] Ctrl+Shft+R works wonders [07:34:05] ^_^ Now... if we were using JavaScript... that would be one line! [07:34:41] Though, you should be able to use object syntax when dealing with a function [07:34:43] just because newlines are optional doesn't mean the absense of them is mandatory [07:35:14] Title::newFromText( '...' )->getLocalURL() [07:54:04] hi ialex [07:54:10] hello werdnum [07:55:05] ialex: Talked to Brion this morning, and I have a big fat TODO list which I'm going to work on for the next few days. [07:55:23] werdnum: yeah, I saw the page :) [07:55:25] Among them, Brion wants me to change the default configuration back to that suggested configuration. [07:56:07] but the javascript based search will be fun :) [07:57:11] yeah [07:57:12] :) [07:59:25] hopefully I can get it ready to deploy by the end of the week or so. [07:59:29] "Save only values which differ from the default" <- isn't that done already for core? :) [07:59:33] \o/ [07:59:34] I think so [07:59:37] I wasn't sure. [07:59:58] but the code for that is really horrible [08:00:20] There's some double merging problem. [08:00:35] If you have a straight array, it doubles it because of the array merging functionality. [08:00:52] (is set once in configure extension, once with globals) [08:01:24] but not if you store your config in $wgConf->settings :) [08:01:46] yeah, but some defaults and stuff get double merged. [08:01:51] that bug needs to be fixed either way. [08:07:48] 03ialex * r44058 10/trunk/extensions/Translate/SpecialLanguageStats.php: svn:eol-style native [08:35:29] 12:34:56 [08:35:41] brion should be in bed [08:35:47] *yawn* [08:35:50] srsly [08:36:47] why {{#titleparts: mon/tue/wed/thu/fri/sat/sun | 1 | 1 }} return "Mon" but {{#titleparts: mon/tue/wed/thu/fri/sat/sun | 1 | 2 }} return "tue" (M != m)? [08:37:55] that is a horrible use of titleparts. [08:38:07] because it normalizes the title [08:38:13] because it is for titles! [08:38:15] and yes, what Splarka said. [08:38:24] try it on wiktionary ^_^ [08:38:24] It's used for splitting PAGE TITLES into their constituent parts. [08:38:34] werdnum: I know but that is atm only function that can split strings [08:38:42] so don't split strings [08:38:50] What are you trying to do? [08:39:09] "I can't shoot myself in the foot with anything but a harpoon gun, because there are no other projectile weapons on board" "..." [08:40:22] Splarka: wiktionary return "mon", so this is PEBKAC... [08:40:56] 'sbecause a lower case title of a page is allowed there, due to $wgCapitalLinks [08:41:24] because... titleparts is for titles [08:41:49] underscores become spaces, first letter is capitalized if wiki is so configured, excess whitespace is trimmed... [08:42:09] maybe you want {{#switch:{{{num|}}}|1=mon|2=tue|3=wed|4=thu|5=fri|6=sat|7=sun}} [08:42:23] ew, wikitext hax. [08:42:46] werd: anyone using titleparts for string manip has no qualms about hack [08:43:15] how about {{lcfirst:{{#time:D}}}} ? [08:44:27] you could even do it without any parserfunction... {{dotw/{{{num|}}}}} where Template:Dotw had 7 subpages [08:46:49] that was just example, we use #titleparts to separate different metastates of pages (ie. page is categorized to [[Category:Metadata|a/B/12/c]] and toolserver tool output template code with sort key and template split sortkey with #titleparts) [09:22:29] <_wooz> lo [09:33:51] ialex: still around? [09:33:56] yes [09:34:16] ialex: we need to move efConfigureSetup() to a hook after memcached is set up. [09:34:32] With the DB handler, it tries to hit memcached, and of course memcached isn't set up yet. [09:34:58] Of course, we can just drop memcached support and rely on FS caching. [09:36:07] werdnum: shouldn't it work if you define $wgMainCacheType (and maybe $whMemcachedServers) before calling efConfigureSetup()? [09:36:18] $wh -> $wg [09:36:20] No [09:36:31] You need $wgMemc to be defined. [09:36:46] And $wgMemc is defined after require()ing LocalSettings.php [09:36:56] it calls wfGetMainCache(), not $wgMemc [09:37:12] oh wait, I know the problem. [09:37:42] the issue is not caching in the DB handler, it's caching in the LoadMonitor.php [09:37:49] so I should change $wgMemc to wfGetMainCache() [09:39:41] *werdnum commits [09:41:45] ialex: I'm setting up COnfigure in a proper multi-wiki environment, so that I can actually eat my own food :) [09:42:53] werdnum: don't forget to give yourself configure-interwiki right and confogure $wgConfigureWikis :) [09:43:06] *configure [09:43:23] $wgConfigureWikis = $validWikis; [09:43:23] :) [09:44:13] 03werdna * r44059 10/trunk/phase3/includes/db/LoadMonitor.php: Allow DB to be used during LocalSettings.php et al by changing plain get of global $wgMemc to wfGetMainCache(), which will load memcached if necessary. [10:10:29] 03ialex * r44060 10/trunk/phase3/ (includes/Article.php includes/User.php maintenance/Doxyfile): [10:10:29] * Fixed doxygen warning in Article.php and User.php [10:10:29] * fix in Doxyfile [10:15:26] 03(NEW) Incompatibility between parser cache and PHP 5. 3-snapshot version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16505 major; normal; MediaWiki: General/Unknown; (uwe) [10:16:52] 03(mod) Incompatibility between parser cache and PHP 5. 3-snapshot version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16505 (10uwe) [10:28:09] 03(mod) Incompatibility between parser cache and PHP 5. 3-snapshot version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16505 +comment (10alex.emsenhuber) [10:35:39] 03(mod) Incompatibility between parser cache and PHP 5. 3-snapshot version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16505 (10uwe) [10:37:24] 03ialex * r44061 10/trunk/extensions/Translate/SpecialLanguageStats.php: Also get the language code from the code param in the URL so that the form at the top of the page work correctly [10:38:37] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10verdy_p) [10:56:57] 03ialex * r44062 10/trunk/extensions/Translate/SpecialLanguageStats.php: Check for valid language code [10:59:54] ialex: Hmm, some settings seem to save if you haven't changed them. [11:01:23] Maybe we need to have a $wgConf->originalSettings, and populate it when extracting globals. [11:04:48] werdnum: to use for default values instead of the actual hack (including a second time DefaultSettings.php) [11:04:51] ? [11:08:02] ialex: also, how do I tell Configure extension which wiki it is? [11:08:12] My configuration seems to be going to the wiki 'default', but I want it to be per-wiki. [11:09:02] pass it to the first param of efConfigureSetup() [11:09:22] *werdnum does so. [11:09:45] I need to make stuff that isn't explicitly changed from the regular old globals not save in the DB, too. [11:09:53] That's what Brion said when he said defaults shouldn't be saved. [11:11:42] werdnum: to use for default values instead of the actual hack (including a second time DefaultSettings.php) [11:11:42] ? [11:11:57] yeah, that's what I meant. [11:12:08] When we do an extractGlobal, we should save its original value. [11:12:10] 03werdna * r44063 10/trunk/extensions/Configure/Configure.php: Revert back to sensible defaults for editable settings, rather than "Everything". [11:14:54] hmmm, lol wut. [11:15:03] hmm? [11:15:06] $wgLogo and $wgGroupPermissions has evaporated from my settable settings. [11:15:08] that's... weird. [11:15:12] Am I missing a right? [11:16:09] $wgGroupPermissions -> configure-all, $wgLogo -> no [11:17:03] that's weird. [11:17:11] they can change the site name but not the logo? [11:27:13] 03maikmerten * r44064 10/trunk/cortado/src/com/fluendo/player/DurationScanner.java: new class to determine the duration of Ogg streams [11:45:35] 03(NEW) Page not flaggable for non-SysOps if edits got restricted to SysOps - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16506 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (Wiki.Melancholie) [11:50:36] ialex: is there any way, in WebConfiguration object, to get a list of *all* settings? [11:50:57] oh, $wgConfigureEditableSettings [11:50:59] *werdnum facepalms. [11:51:27] werdnum: array_keys( $this->settings )? [11:51:36] ialex: no, I want everything - even stuff not set. [11:51:46] actually, $wgConfigureEditableSettings might not be right.. [11:53:40] werdnum: array_keys( ConfigureSettings::singleton( CONF_SETTINGS_(CORE|EXT|BOTH) )->getAllSettings() )? [11:53:50] eeeew. [11:56:08] um, class ConfigureSettings not found. [11:56:09] :/ [11:56:22] you mean COnfigurationSettings? [11:56:36] yeah ^^ [11:58:33] maybe we should also move some files in sub-dirs, the main directory is huge :) [11:58:58] yeah, probably. [11:59:12] hmm, getDefaults still doesn't seem to do the trick. [11:59:14] *werdnum grumbles. [11:59:45] it gives me a big fat list of defaults, but everything seems to go in the DB. [12:05:42] ialex: /pages, /settings, /i18n, /styles, /core, /maintenance? [12:06:36] /core? [12:07:00] for classes and stuff. [12:09:21] I think we should compare arrays with == not === [12:09:30] http://php.net/manual/en/language.operators.array.php [12:10:40] ialex: eew, how the hell does getDefaultsForWiki work? [12:11:04] ... [12:11:08] :) [12:11:19] I seriously have no idea how it works. [12:11:56] 03maikmerten * r44065 10/trunk/cortado/src/com/fluendo/player/DurationScanner.java: [12:11:56] actually make this compile on -target 1.1 [12:11:56] Apparently on Java 1.1 Hashtable cannot take primitive types and actually wants objects, meaning I have to wrap integers and whatnot. [12:11:56] Ewww. The pain! It's in my head and *eats* my brain! Well, it's not thaaaat bad, but I still prefer Java 1.5 and up so I can continue being lazy. [12:12:49] 1 Restore $wgConf->settings in the state before $wgConf->initialise() [12:13:44] 2 Restore default values for some globals (the one that will be merged in $wgConf->get()) [12:14:09] 3 Get settings [12:14:21] 4 Undo 2 [12:14:28] 5 Undo 1 [12:14:46] duude :P [12:15:30] ialex: I'm now storing the original values of all settings changed by initialise. [12:15:34] and completely horrible :) [12:15:46] so maybe we can make some stuff a bit easier. [12:16:06] that would be nice! [12:16:22] but I have no idea why there's a separate getDefaultsForWiki function. [12:16:26] What's the point of it? [12:17:20] if I would use getDefaults() elsewhere, but this is not the case [12:17:39] 03(mod) It shouldn' t be possible to send Wikimails containing weblinks on blacklist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16466 +comment (10email_metawiki_138) [12:20:30] werdnum: but be sure that it works for remote wikis too ;) [12:21:39] ialex: yeah, but I don't know how you'd *get* the defaults for remote wikis. [12:22:36] 03siebrand * r44066 10/trunk/extensions/Translate/ (SpecialLanguageStats.php Translate.i18n.php): Add checkbox to suppress display of completely translated message groups [12:23:01] werdnum: like now (if it's configured in $wgConf->settings, of course) [12:24:15] How can I make it use my better way of detecting what's been overridden? [12:24:48] I can fix it up in Step 1? [12:26:56] is it gonna use cascading settings, like its default will be whatever is last (on WMF for example) DefaultSettings -> LocalSettings (wrapper) -> CommonSettings -> InitialiseSettings, or will it use defaultsettings for the 'true' defaults? [12:27:15] it WAS the latter, but will now be the former :) [12:28:04] mmm, maybe you could just indicate the default setting without actually having it auto-set to it (and give an option to 'unset' to the default)... if that makes sense.. [12:28:04] werdnum: it's supposed to be the former actually :) [12:28:16] ialex: supposed to be, but I don't think it is. [12:28:19] like say "$wgCapitalLinks = true" in defaults... [12:28:32] because you require( 'DefaultSettings.php' ) to get the defaults [12:28:44] my way, defaults come from "Whatever the global was when it was overridden" [12:29:01] you could have (x) '''true''' ( ) false [set] [unset] where unset uncheckes both radios and removes it from being set, while (x) true would actually have it set... [12:29:28] this would be sort of a future-guard against possible future core-changes, though you'd have to instruct users of it to be careful not to leave defaults set except for a reason [12:29:29] werdnum: there's also $this->getCurrent( $wiki ); in getDefaultsForWiki() [12:29:57] ialex: What about that? [12:31:35] it's supposed to take defaults from $wgConf->settings [12:32:05] siebrand: any word from the fosdem folks yet? [12:35:25] ialex: I'm tempted to add if ($wiki == wfWikiID()) return;, but that seems like the easy way out. [12:35:42] For some reason getDefaultsForWiki( mywiki ) is killing some stuff that getDefaults() is returning. [12:35:48] $wiki == $this->mWiki; [12:36:04] if( $wiki == $this->mWiki ) [12:36:13] the latter is better :) [12:36:30] yeah, true. I have $this->mWiki == 'home' :) [12:38:12] I think we need to be using regular equality checks for seeing if we're different from the default. [12:39:02] My debugging indicates that when you enter a number (like a port number, for example), it is *always* seen as different from the default because it's comparing strings with integers. [12:39:06] Same with empty arrays and NULLs [12:40:23] associative array are always strings [12:40:50] My debugging output from removeDefaults: [12:40:54] Setting wgSharpenReductionThreshold is set to 0.85, but the default is 0.85, keeping. [12:41:03] Setting wgSecretKey is set to , but the default is , keeping. [12:41:21] werdnum: have to go now [12:41:21] Setting wgWhitelistRead is set to Array, but the default is , keeping. [12:41:24] okay [12:41:26] sorry [12:41:31] it's cool :) [12:47:52] werd: what about settings that are built from other variables? [12:48:37] like say $wgTidyConf = $IP.'/includes/tidy.conf'; [12:49:55] Duesentrieb: nope. Should be at the latest within 10 hours 11mins [12:50:12] siebrand: i wouldn't bet on it :) [12:51:39] Duesentrieb: if I haven't gotten a reply tomorrow morning, I'll send a mail to the mailing list. They usually respond within a few hours on questions there. [12:51:54] ok [12:52:13] i'd like to get a mail out to our lists, and perhaps a blog post too, as soon as possible. [12:52:51] Duesentrieb: I think Gerard will blog about it, I do not blog. Maybe brion can blog about it. [12:53:01] I can. [12:53:07] sweet. [12:53:09] i'm just holding back until we got word [12:53:36] i'll put it on my personal blog, which goes to the planet, as well as on the official WMDE blog. [12:54:18] also wikimedia-l, toolserver-l wiki-research-l. someone suggest to include the pywikipedia list, but i'm not subscribed there. [12:54:39] O. [12:54:42] I am. I'll forward once sent. [12:55:38] k [12:55:54] ST47: O? [13:08:40] servus [13:08:50] spricht einer zuf�llig deutsch? ich br�uchte support [13:09:22] alle (naja fast) tun das ;) [13:09:32] 03aaron * r44067 10/trunk/phase3/includes/Block.php: [13:09:32] *Remove unused functions [13:09:32] *Mark visibility [13:09:33] *viele [13:09:42] habe folgendes problem - ich kann keine bilder hochladen, es erscheint diese meldung: [13:09:43] Interner Fehler [13:09:43] Konnte Datei "/var/www/web24/phptmp/phpf34YCU" nicht nach "/var/www/web24/html/mediawiki/images/2/22/AMiller.jpg" kopieren. [13:10:18] hast du den uploadordner auf 777 gestellt? (oder weißt du nicht wie das geht bzw. was das ist?) [13:10:34] mh, mal schauen ob der auf 777 ist - uno momento :) [13:10:54] und achte auch darauf, dass die unterverzeichnisse wie 2/22 mit den entsprechenden rechten erstellt werden [13:11:04] heck with math, 'error messages' are the universal language [13:11:16] 777 ist übrigens ziemlich unsicher -- soltle immer gehen, sollte man aber vermeiden, wenn's auch anders geht :) [13:11:33] das würde als nächstes kommen :D [13:11:46] wo ist der upload-ordner? [13:12:01] direkt im mediawiki verzeichnis [13:12:03] hmm, how does one renumber an array? [13:12:05] achso, ihr meint alle ordner unter images? [13:12:05] steht ja auch in der fehlermeldung [13:12:12] ja. [13:12:22] und auch images selbst. [13:12:29] stimmt war 755 o0 [13:12:42] da sind mittlerweile ein haufen ordner - muss ich alle manuell auf 777 stellen? [13:13:08] auf shell geht das mit -R als zusätzlichen Parameter [13:13:26] wenn du keinen shell-zugang hast, dann ja. wobei 755 völlig ok ist, wenn du suphp benutzt, d.h. php unter deiner benutzer-id läuft. [13:14:14] also wie gesagt, es erscheint die fehlermeldung oben wenn man bilder hochladen will [13:14:19] bei 755 [13:15:18] ich kann gar nicht die ordnerrechte auf 777 setzen... [13:15:22] warum auch immer [13:17:47] 03(mod) UserManagement: Anonymous Account not create-/delete-/ edit able , but it is visbile in user list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16487 (10N/A) [13:34:47] 03werdna * r44068 10/trunk/extensions/Configure/ (4 files): Make sure only vars that are actually *changed* from pre-efConfigureSetup() are saved to the handler. [13:46:46] hey VasilievVV [13:46:56] hi werdnum [13:49:42] 03(mod) Checkuser install script install.php doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 (10JSchulz_4587) [13:50:55] 03(FIXED) Checkuser install script install.php doesn't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 +comment (10Andrew) [13:52:58] 03(mod) Page not flaggable for non-SysOps if edits got restricted to SysOps - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16506 (10JSchulz_4587) [13:59:56] 03maikmerten * r44069 10/trunk/cortado/src/com/fluendo/player/DurationScanner.java: handle Exceptions instead of throwing them - be more black box. Minor reformatting [14:06:51] 14(DUP) Incompatibility between parser cache and PHP 5. 3-snapshot version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16505 +comment (10uwe) [14:06:54] 03(mod) Lazy loading and passing by reference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15854 +comment (10uwe) [14:08:29] 03minuteelectron * r44070 10/trunk/extensions/uniwiki/Javascript/Javascript.php: * Add a newline at the end of the script add to make output look prettier. [14:18:53] 03(mod) BiDi: user icon should be displayed properly regardles of the LTR / RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3956 (10sia) [14:23:09] 03siebrand * r44071 10/trunk/extensions/Translate/SpecialLanguageStats.php: Only display 'translate-page-no-such-language' if there is input for language code [14:24:55] siebrand: I reverted one of your dirname( __FILE__ ) revisions. [14:25:04] See https://bugzilla.wikimedia.org/show_bug.cgi?id=16503 [14:25:20] werdnum: yes, I have seen that. [14:27:09] okie :) [14:28:04] hi all [14:31:45] 03werdna * r44072 10/trunk/extensions/Configure/ (Configure.js Configure.page.php Configure.php): Inline preview of logo selection. [14:35:19] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10alexfusco5) [15:10:16] You know what I want to do? Make the login form appear over every edit page if you're not logged in, with a button to JavaScriptily expand it into a create account form. [15:10:40] *Simetrical is sick of being too lazy to create an account on all these random wikis he stumbles upon [15:11:15] And of course, it needs to submit the contents of the edit box and return you to the edit page with all changes intact when you do that. [15:11:21] siebrand: {{SOFIXIT}} :) [15:11:31] sounds sexy. [15:11:40] *Simetrical kicks werdnum for using stupid autocomplete [15:11:41] Simetrical. [15:11:49] *werdnum is VERSIONed. [15:12:01] XChat has an option to autocomplete to the last person who spoke when there's an ambiguity. [15:12:07] Feh on irssi. [15:12:31] *Simetrical was exactly saying that he was planning on {{sofixit}}ing . . . sometime . . . [15:13:00] irssi has that, maybe I forgot to turn it on [15:13:15] BTW, your transclusion fails, template names are case-sensitive except on the first letter. ;) [15:13:34] *werdnum throws rocks at Simetrical [15:14:30] I've just corrupted my replication slave for the second time tonight. [15:14:35] I keep dropping databases on the slave. [15:15:04] should set my default DB to the master regardless, methinks. [15:15:11] erm, default server. [15:16:26] 03ialex * r44073 10/trunk/extensions/Configure/ (CHANGELOG Configure.php): CHANGELOG entry and bump version :) [15:17:21] can i allow user to createpage but not edit it? [15:17:48] At present, I think no, for some reason. [15:17:59] You've asked this before, and I looked in the code and found that you can't. [15:18:00] or can edit,create page from his articles not from another? [15:18:17] IIRC, the permissions checks are all like if( $wgTitle->userCan( 'edit' ) && $wgTitle->userCan( 'createpage' ) ) or whatever. [15:18:23] 03ialex * r44074 10/trunk/extensions/Configure/CHANGELOG: forgot to mention that... [15:18:27] I don't see any sense in that, it should probably be changed. [15:18:40] You might legitimately want to allow creating new pages but not editing them. [15:19:16] yes or can create page and edit but not from another use [15:19:23] 03aaron * r44075 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: [15:19:23] *User field is no longer optional. [15:19:23] *Add array input support to constructor [15:19:23] *Add insertOn() function [15:19:23] *Add getTemplateVersions() and getFileVersions() [15:21:02] S-i-A: Didn't you want people to create but not edit pages so they couldn't edit important pages, and I told you to use page protection? [15:21:36] werdnum: ok thanks Boss ;) [15:22:15] :-/ [15:22:20] If you ask for help, don't be snarky if you get it. [15:22:48] Simetrical: ?! [15:23:59] 03maikmerten * r44076 10/trunk/cortado/src/com/fluendo/player/DurationScanner.java: make sure not the whole stream is read (in case skipping to the end failed) [15:24:12] Hmmm, do I get file uploads going on my test wiki farm, or do I go to bed? [15:24:20] werdnum: dunno if ConfigurationSettings::singleton( ... )->getAllSettings(); on each request is a good idea... [15:24:33] but I don't see better thing :( [15:24:45] ialex: Could be cached, I suppose. [15:25:02] Like, maybe we could have some file, in which we keep a list of all settings. [15:25:03] Oh, wait. [15:25:22] and it might not work if you have a local per-wiki cache [15:25:41] We could have snarky if ($wgTitle->getNamespace() == NS_SPECIAL) magic. [15:25:51] that'd eliminate the filesystem hit for 99% of requests. [15:26:15] werdnum: don't feel like it. [15:26:33] siebrand: ?? [15:26:33] $wgTitle isn't initialised at LocalSettings.php time [15:26:46] siebrand: oh right, never mind. [15:27:12] ialex: We could use regexes with $_SERVER['REQUEST_URI'] [15:27:18] siebrand: it was a mis-autocomplete :) [15:27:33] werdnum: and namespaces aliases? :) [15:27:50] ialex: I was joking. [15:27:57] but it wouldn't matter anyway. [15:27:57] oh :) [15:28:03] Forwarding would be to the canonical name. [15:33:14] Error sending mail: error_log($wgScriptPath/debug/debug.log) [function.error-log]: failed to open stream: No such file or directory [15:33:28] manually create that file ? [15:33:49] that happened on click "Email password" [15:34:26] 03ialex * r44077 10/trunk/extensions/Configure/Configure.obj.php: [15:34:26] * There's already WebConfiguration::$mDefaults, so use it :) [15:34:26] * Removed check for SiteConfiguration class since AutoLoader is already loaded and DefaultSettings.php should already be included [15:41:46] 03aaron * r44078 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Handle ES storage here too [15:44:53] 03aaron * r44079 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Move up '$dbw = wfGetDB( DB_MASTER );' as needed [15:52:34] "Allow database to be used in LocalSettings"? [15:53:04] domas is going to kill someone if that happens on Wikimedia sites. [15:56:44] o_O [15:56:51] wtf? whyt would anyone want to do that? [15:59:23] *Simetrical points Duesentrieb to http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44059 :) [16:07:21] WHO BROKE THE PROTECTION FORM? :X [16:08:41] *Simetrical git bisects MZMcBride [16:09:07] 03ialex * r44080 10/trunk/extensions/Configure/CHANGELOG: wrong date (oops) [16:10:09] hi all, asked yesterday, didnt get a good response, so here goes again. On my wiki, a + turns into a _ if it is in an image filename. now, this doesnt happen at Wikia, or some other wikis, so what can i do to stop it at my wiki? [16:15:28] Bluegoblin7, add + to the title allowed characters [16:16:14] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10verdy_p) [16:26:08] Simetrical: I didn't break it. :-( [16:27:44] 03(mod) Support for Chemical Markup Language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16491 (10Eugene.Zelenko) [16:29:29] 03(NEW) Not setting "other time" on creation unprotection causes error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16507 minor; normal; MediaWiki: Page protection; (public) [16:29:35] Setting an expiry for unprotection makes no sense. [16:29:40] Fix plzkthx. [16:30:01] Setting an expiry for unprotection? That really doesn't make much sense, no. [16:30:06] Is this change live? [16:30:50] It's been like this for a long time. [16:31:17] But I'm not sure if the not setting "other time" bug is new or not. [16:33:33] 03(mod) {{int:X}} respects user-defined interface language, breaking link tables etc. (aka {{USERIFCODE}} strikes back) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14404 (10alno) [16:34:36] 03siebrand * r44081 10/trunk/extensions/Translate/SpecialLanguageStats.php: Handle all parameters in included form correctly, and update documentation a bit [17:06:03] 03aaron * r44082 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: [17:06:03] *Remove $title from constructor [17:06:03] *Clear cache on insert [17:06:03] *Tweak initialization [17:06:03] *Fix typo [17:11:13] 03aaron * r44083 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Delay message loading more [17:33:31] 03pinky * r44084 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialUserlogin.php): [17:33:31] Fixed minor bug where the memcached value for how many accounts an IP had [17:33:31] created that day would be increased even if $wgAccountCreationThrottle was [17:33:31] hit. This meant if an IP hit the throttle and then the throttle was raised [17:33:32] later that day, the IP still couldn't create another account, because it [17:33:34] had marked them as having created another account, when their last account [17:33:36] creation had actually failed. [17:45:05] 03siebrand * r44085 10/trunk/extensions/Translate/ (SpecialLanguageStats.php Translate.i18n.php): Add columns for messages in group and number of translated messages [17:48:04] 03siebrand * r44086 10/trunk/extensions/Translate/SpecialLanguageStats.php: Oops. Got column order wrong in previous commit. [17:50:17] 03siebrand * r44087 10/trunk/extensions/Translate/ (SpecialLanguageStats.php Translate.i18n.php): On second thought: instead of translated, show untranslated [18:05:49] 03(mod) Several channels missing from irc.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13646 (10mikelifeguard) [18:11:29] So, how's everything going? [18:12:22] Great. You? [18:17:22] MZMcBride, finally got Extension:SharedUserRights working [18:17:39] Is anyone aware of an extension that will aprse a given page and return only certain elements of it, such as images? Maybe in an XML format? [18:17:41] Nice. :-) [18:18:11] And I can think of some improvments to extensions [18:18:12] eghjaytee, the API can return various things like that [18:18:17] Such as links on page, etc [18:18:33] alright, I will check on that. Thanks Reedy [18:18:43] IIRC, its a standard install thing [18:18:53] t is [18:18:57] it is. [18:19:29] eghjaytee, and if theres something extra you need, chances are it'll probably get added [18:19:57] Reedy: that is cool, I have some internal markup that I will need access to as well, so I may have to try to find/make an extension [18:20:44] i think you can extend the API too.. [18:21:41] That's what she said. [18:22:30] MZMcBride, we all know bigger is better [18:22:31] Fact [18:23:45] Is it possible to upload files via API? [18:24:16] Wuzur, i think theres a bug request on for it [18:24:34] ok, thanks *search* [18:25:01] !bug 15227 [18:25:01] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=15227 [18:25:04] Wuzur, ^ [18:25:12] thanks [18:31:00] 03(mod) action=upload should be added to the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15227 (10Platonides) [18:31:05] 03aaron * r44088 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Fix regression - link was missing on protection form [19:16:28] Is there some way to export images to download them? [19:21:18] I got it, never mind [20:02:56] hello, I am having some trouble compiling the standalone version of wikidiff2 [20:03:01] $ make standalone [20:03:01] g++ -o wikidiff2 -O3 wikidiff2.cpp standalone.cpp [20:03:01] standalone.cpp: In function ‘void report_file_error(char*)’: [20:03:01] standalone.cpp:13: error: ‘strlen’ was not declared in this scope [20:03:01] make: *** [standalone] Error 1 [20:03:17] diafygi: try replacing strlen with std::strlen [20:03:25] if that doesn't work, add #include to the top of the file [20:03:41] ? [20:03:48] no, [20:03:54] thanks, ill try that [20:04:02] (C++ doesn't use .h for standard headers) [20:07:07] woot, it works, thanks a bunch all! [20:07:24] it would be nice if you could file a bug [20:07:27] http://bugzilla.wikimedia.org [20:07:34] copy, will do [20:11:53] who is better: Albert Einstein or Galileo Galilei? [20:12:17] Bill Gates, what a question! [20:12:33] *qsheets hates Bill Gats [20:12:43] ** Gates [20:12:44] teehee ;-) [20:13:03] root-80686: of those 2, who? [20:13:21] he is not worth being hated, he is quite bright. Though I don't like how the company makes business. [20:13:30] But I guess that's Steve Ballmer. [20:13:45] *qsheets head palms [20:14:18] root-80686: Galileo or instein? [20:14:25] * Einstein [20:14:38] I'm not sure [20:14:52] maybe Galileo [20:14:59] kk [20:15:06] because he had little possibility to find out what he did [20:15:17] lol [20:15:25] they had a quite weird understanding of the world at this time [20:15:38] and his braveness to publish his findings [20:15:50] damn Aristotle... lol [20:16:55] Newton beats both of them by fat. [20:16:56] far. [20:17:28] well, at this time and before they just tried to explain the world by interpretation of what they could see, and that not that much [20:17:35] Who else gets to claim that like half of all college graduates have studied more or less nothing but his work for at least two semesters? [20:17:46] and the church insisted in a specific point of view [20:18:35] but Galileo very early - in the matter of the material he had - found the right explanation [20:18:39] root-80686, Galileo's problem was that he made a big deal about it. Everyone else (Copernicus, Newton) basically said "Oh, well, this heliocentrism is just mathematical formalism, it may have no physical significance at all, it's just convenient." [20:18:49] Which kept the Church off their backs. [20:19:01] true [20:19:09] Simetrical: might be it [20:19:29] but before I think nobody wanted to believe what they found out [20:20:00] good point Simetrical [20:20:26] 03ialex * r44089 10/trunk/extensions/Configure/README: Update README [20:21:58] is allowed to change default skin from Wikimedia? [20:22:26] i mean change in CSS and php codes? [20:22:44] S-i-A: you are speaking of your own wiki, right? [20:22:49] S-i-A: legally, yes, but it's a bad idea [20:22:55] because your changes will be lost when you upgrade [20:23:04] you can copy Monobook.php to YourSkin.php and edit that, though [20:23:59] yksinaisyyteni: i changed because the wikimedia skins isn't worked correctly with RTL direction and is Full bugy [20:24:10] http://www.webexhibits.org/calendars/year-text-Copernicus.html <-- Has a preface by Copernicus directly saying to the Pope why he shouldn't get in trouble over it. [20:24:14] Seems to have worked. [20:24:41] S-i-A: it's working fine for many rtl languages on wikimedia [20:25:04] yksinaisyyteni: no that is not true, look the bug report [20:25:40] the fonts family is not correct to in rtl.css [20:26:07] failded the global unicode supports fonts linke DejaVu family or Tahoma Win [20:26:35] failed* [20:28:49] 03maikmerten * r44090 10/trunk/cortado/src/com/fluendo/player/DurationScanner.java: [20:28:49] keep more information about streams (e.g. count of consumed header packets). [20:28:49] Theora needs to consume all three header packets before being able to compute [20:28:49] playback time from granulepos - so it's necessary to intitialize the decoder [20:28:49] properly. [20:28:50] (Vorbis only needs one packet to retrieve the samplerate necessary for time decode) [20:28:55] That's not incorrect. That's incomplete, at worst. [20:29:26] Any browser that doesn't substitute glyphs from other fonts sucks terribly anyway. As does any OS whose default font is anything that doesn't support common RTL languages like Hebrew and Arabic. [20:30:15] Simetrical: also look the bug list and tell me who u fix the bugs about rtl direction and fonts. [20:30:44] I can read Hebrew, mostly, but I don't touch RTL bugs because I don't see the effects. Maybe ask Rotem or Huji. [20:31:04] Also try #mediawiki-i18n. [20:31:38] Simetrical: the problems have nohting to do with israil or hebru. ok and we are her to discuse about wikimedia not about nationality [20:31:55] . . . what? [20:32:12] ^^ [20:32:37] All I said was that although I could read one RTL language (Hebrew), I don't change things in the software related to that because I can't judge their effects properly. [20:32:48] I didn't say anything about nationality. [20:32:57] !bug3956 [20:32:57] --mwbot-- I don't know anything about "bug3956". [20:33:13] I pointed you to two developers who do use RTL Wikipedias routinely, and another channel you can go to to maybe get a better response. [20:33:16] !bug 3956 [20:33:16] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=3956 [20:34:58] I don't know why you're saying it has nothing to do with Hebrew. It appears to affect all RTL languages, including Hebrew. [20:35:22] And in fact the attached screenshot is in Hebrew. [20:35:27] But I can't reproduce in Firefox 3. [20:36:02] 03(mod) BiDi: user icon should be displayed properly regardles of the LTR / RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3956 +comment (10Simetrical+wikibugs) [20:37:30] Simetrical: can i know what u talking about?! have u understand the problem? [20:37:56] S-i-A, the attached screenshot shows an obvious problem. I don't see it when I try to reproduce it. [20:38:26] the bug is in wikimedia Default skin monobook and is so under IE7 iceweasel firefox konquerer kazaehakase...etc [20:39:02] I've told you that I don't see the bug. [20:39:07] this person add my bug to wrong BUG [20:39:11] that is my BUG [20:39:13] https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 [20:39:20] maybe just missing support for RTL languages in the operating system? [20:39:22] You gave the wrong bug number, then. [20:39:32] Why did you say bug 3956? [20:39:37] RTL language worked fine root-80686 [20:40:05] Simetrical: because some one without any ide add my bug to another thread [20:40:17] Ah, I see, the other bug is more general. [20:40:50] The way we do RTL is pretty stupid, overall. [20:41:01] When interface and content directionality differ. [20:41:44] 03(mod) default skins don't show the mail_icon,gif or external. png with another language file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 (10sia) [20:42:04] Simetrical: is just with monobook [20:42:42] Hmm, the external link icons really don't exist in RTL at all? How odd. [20:43:10] $rtl= true; is the problem [20:43:37] if disable this vaiable in messageKu_arab.php worked fine [20:44:21] 03(mod) BiDi: user icon should be displayed properly regardles of the LTR / RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3956 (10Simetrical+wikibugs) [20:44:38] That sounds like it will break a lot of other things. [20:46:05] i'm looking for any answer :) [20:48:00] siebrand, http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CentralNotice/SpecialNoticeText.php?revision=43962&view=markup [20:48:19] te part where it talks about "amount", according to Mido the numerals should be in ARabic numerals (same as in English) [20:48:22] do you know how to fix? [20:48:56] 03(NEW) Allow automatic removal of temporary userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16509 normal; normal; MediaWiki: Special pages; (mww113) [20:49:44] kibble: numerales in arabic? [20:50:33] S-i-A, http://meta.wikimedia.org/w/index.php?title=Special:NoticeTemplate/view&template=2008_wiki_is_there_meter&wpUserLanguage=ar [20:51:01] $٣٬٢٣٦٬٩٣٧ [20:51:07] yes [20:51:17] that should use the same numberals as english [20:51:22] numerals* >_< [20:51:39] u can do that witch array in language file [20:51:57] S-i-A, which is why I asked siebrand to look into it :-) [20:52:03] !paste [20:52:03] --mwbot-- Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [20:52:06] he is mr. localization :p [20:52:34] so worked for us [20:52:35] http://mediawiki.pastey.net/103332 [20:53:00] !$digitTransformTable [20:53:00] --mwbot-- I don't know anything about "$digittransformtable". [20:53:35] 03(NEW) Making unreferenced template parameters available or visible - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16510 15enhancement; normal; Wikimedia: General/Unknown; (stolfi) [20:54:01] 04(REOPENED) External link icons are not displayed for RTL in Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 summary; +comment (10Simetrical+wikibugs) [20:54:31] S-i-A, my comment on that bug explains how we would go about fixing it. [20:54:38] 03(mod) Allow automatic removal of temporary userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16509 normal->15enhancement; +comment (10alexfusco5) [20:54:51] Simetrical: ok thanks [20:58:26] Simetrical: u mean we must edit all the img url link in CSS? [20:58:43] and why the Log in icon worked [20:58:46] ? [20:59:20] S-i-A, I mean you need to copy over the rules from main.css to rtl.css, the ones starting with about line 523 (#bodyContent a.external, etc.). [20:59:31] i do that [20:59:36] not worked [20:59:46] You also have to remove the rule that overrides them in rtl.css. [20:59:53] The log-in icon works because it's done by separate CSS, which is not overridden. [21:00:09] I don't have the time right now to do anything about this, like write up actual patches. [21:00:20] i have no time to [21:00:28] thanks forget it [21:03:00] 03(FIXED) External link icons are not displayed for RTL in Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 +comment (10sia) [21:03:05] Simetrical: fixed ^^ [21:03:17] It's not fixed. [21:03:39] 04(REOPENED) External link icons are not displayed for RTL in Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16502 +comment (10Simetrical+wikibugs) [21:03:44] It will be fixed when a change is checked into Subversion. [21:03:46] worked fine know [21:03:50] It may be fixed for you now, but not for anyone else. [21:04:03] Simetrical: that is my Bug :) [21:04:05] The bug tracker is about tracking problems with the software, not with any one person's installations of the software. [21:04:10] You reported it, it's not just about you. [21:04:15] It affects all RTL wikis. [21:04:29] give my Bug back plz :D [21:04:44] ok i thnaks [21:04:49] thank u * [21:05:01] Hopefully someone will fix it for all RTL wikis at some point, so other people don't have to manually change files. [21:05:12] (Which will be overwritten on upgrade, by the way, if you aren't careful.) [21:07:44] and the bug from syntaxhighlighter Geshi well be fuxed if u disable the html #bodyContent pre in main.css [21:07:58] u remember what i mean? [21:09:12] Simetrical: can i add this info to the bug? [21:10:17] S-i-A, if it's a different issue, file a different bug. [21:10:25] ok [21:36:22] 03jhsoby * r44091 10/trunk/tools/planet/gmq/: Adding Planet directory 'gmq' for Nordic languages, with localised index files and config.ini; all it needs now is to set up the domain [22:09:37] hi [22:12:02] not even 1 minute here... [22:14:22] 03(NEW) Create Scandinavian Planet Wikimedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16511 15enhancement; normal; Wikimedia: Site requests; (jhsoby) [22:21:08] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10mrzmanwiki) [22:22:27] ! table [22:22:34] !table [22:22:34] --mwbot-- For help on creating tables in wikitext, see and [22:27:14] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 +comment (10mxn) [22:29:12] *werdnum gains consciousness. [22:33:47] *Mike_lifeguard knocks werdnum out again... with chloroform [22:34:12] oww [22:39:49] !new button [22:39:49] --mwbot-- I don't know anything about "new". You might try: !bugzilla !createpage !imagelink !linknw !migrate !newusergroup !newwindow !release !userapproval [22:40:12] !button [22:40:12] --mwbot-- I don't know anything about "button". You might try: !editbuttons [22:40:22] !editbutton [22:40:22] --mwbot-- I don't know anything about "editbutton". You might try: !editbuttons [22:40:28] !editbuttons [22:40:28] --mwbot-- See , also have a look at [22:42:04] siebrand: any news? [22:42:12] Duesentrieb: none. [22:42:23] hrm. [22:46:01] where can i find free icons for computer programs? [22:48:03] I suppose the usual iconsets are too ordinary [22:48:45] yksinaisyyteni: /usr/share/icons? :) [22:48:47] Brownout: i don't know if any have icons for what i want [22:48:54] "connect to remote host", "quick connect", "disconnect"... [22:50:09] try digging in [[commons:Category:Icons]] [22:51:57] Duesentrieb: just asked in #fosdem. No news. [22:52:06] Duesentrieb: might come later tonight, might not. [22:52:10] for us, or for anyone? [22:52:44] Duesentrieb: my guess is that's anyone. [22:52:58] Duesentrieb: the volunteers are probably busy having a life... [22:53:29] why the http://www.domain.com/wiki/Newarticle redirect to Main Page? [22:54:29] S-i-A: you own domain.com? [22:55:08] werdnum: http://www.chawg.org/index.php/ARTICLE [22:55:17] geht error 4040 [22:55:24] srry 4o4 [22:56:06] konsole has some really useless features [22:56:11] colour schemes with random colours [22:57:16] sorry [22:57:28] so werdnum http://www.chawg.org/wiki/index.php/ARTICLE [22:58:15] ^^ this geht to Main page and so http://www.chawg.org/wiki/ARTICLE to error 404 [22:58:46] yksinaisyyteni: yeah, I know it's kinda annoying [22:58:53] S-i-A: your rewrite rules are messed up [22:59:23] which file must i change the chmod? [22:59:28] all is 400 [22:59:31] :) [23:00:54] yksinaisyyteni: I think that the one shipped with KDE4 is even worse, but I don't have direct experience [23:01:18] You probably want the entire directory to be 644, except for images, which should be 777 [23:01:31] Brownout: that is konsole [23:02:28] first thing I did when I got it is changed it to a proper white on black colour scheme. [23:02:34] werdnum, and the subdirectories should probably be a+x too, maybe? :) [23:02:35] Mostly because it confuses me when using irssi. [23:02:45] *Simetrical uses black on white for terminals, except when playing NetHack [23:02:45] grey is proper [23:02:48] Simetrical: mmm, make that 655 [23:02:56] werdnum, try 755 [23:02:57] ? [23:03:07] yeah, that. [23:03:09] Unless you want the owner to not be able to chdir to it for some reason . . . [23:03:11] *werdnum just woke up. [23:03:54] http://feeds.gizmodo.com.au/~r/GizmodoAustralia/~3/470681695/bmw_first_car_company_to_implement_microsoft_surface.html [23:05:10] werdnum, I decided the best way to get login forms on the edit page is to make Special:UserLogin includable. [23:05:19] ooh, that's sexy. [23:05:35] Simetrical: you should have a "Enter a username and password" form at the bottom of the edit form. [23:05:42] Why at the bottom? [23:05:44] and then you log in WHILE you edit. [23:05:51] Why not at the top so you see it before you begin to edit? [23:05:55] which file must i change the chmod? [23:05:58] So clicking 'Save' logs you in at the same time as editing [23:06:01] S-i-A: whole directory [23:06:09] werdnum, less confusing to just reload the edit page after logging in (with changes preserved), IMO. [23:06:26] Although to begin with I'd just make it take you to Special:UserLogin for the success page like usual. [23:06:41] Simetrical: but this is so much less effort. [23:06:44] *Simetrical should consult with Brion before making UserLogin includable to ensure that he doesn't freak out about it [23:06:49] We could encourage signups, too. [23:06:53] werdnum, is not. What if the login fails? [23:07:01] ok which directory ? [23:07:01] All sorts of error handling you have to replicate. [23:07:07] "Wile you're editing, would you like to create an account?
" [23:07:14] While* [23:07:30] I was thinking that we'd have the "create an account" button dynamically expand the form into a create-account form. [23:07:35] Simetrical: That business logic should be behind all that stuff anyway - like doEdit. [23:07:38] Instead of loading a separate page. [23:07:46] yes, that would be nice. [23:07:54] werdnum, were we talking about effort or elegance here? [23:08:01] i'd love a one-click edit + login [23:08:11] without having to reload/resubmit anything, it should just log me in [23:08:28] And possibly create an account. [23:08:38] Simetrical: Effort on the part of the *user*, not the *developer* :) [23:08:43] Oh, fine, then. [23:09:04] What ever happened to the Unix philosophy of "screw the user, do what's easy to implement"? [23:09:17] *Simetrical realizes he normally takes the opposite tack, but this is where he's considering actually implementing it, here [23:09:20] :P [23:09:44] You'd have to add config options to turn it off, probably do a new compact version of UserLogin, lots of refactoring, bleh. [23:10:00] s/of UserLogin/of the login form/ [23:10:30] What would be a good interface to persuade people that you can really easily create an account? [23:10:54] 03aaron * r44094 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.class.php specialpages/RevisionReview_body.php): [23:10:54] *Make use insertOn() [23:10:54] *Improve text caching [23:10:55] *Simetrical suspects that enwiki will go ballistic when there are, like, no more anon edits, omgzorz! [23:11:04] "Who can we discriminate against now?!?!" [23:11:13] "Give us 'Display only users with red usernames' on RC!" [23:11:14] "While you're editing, have you considered creating an account? Just enter a new username, password, and your email address if you like." [23:11:29] werdnum, you mean have all four fields present? [23:11:38] Also, what do we do with watch/minor edit checkboxes? [23:11:46] Have them present but grayed out unless the login form is filled, maybe? [23:11:53] *werdnum shrugs. [23:12:04] Seems reasonable. [23:14:22] http://www.timesonline.co.uk/tol/news/uk/crime/article4958674.ece [23:14:24] that's bizarre. [23:14:39] Simetrical: Can we have [[Special:UserLogin/create]] or something too? [23:15:16] Mike_lifeguard, you mean like [[Special:UserLogin/signup]]? [23:15:35] :O [23:15:38] *Mike_lifeguard is humbled [23:16:38] werdnum, why would they encode terrorist messages in images that will get them thrown in jail *anyway* if they're discovered? [23:16:47] You should encode terrorist messages in pictures of daffodils or something. [23:17:00] Simetrical: no idea. [23:17:14] Or stegasauruses. :D [23:18:01] I'm thinking about how to put 'defaults' in Special:Configure. [23:18:04] Like, WHERE to put them. [23:18:30] I'm thinking the first column, underneath the setting name. [23:18:54] *Simetrical wonders if anyone has ever used HTTP 202 Accepted for anything [23:19:21] How about 205 Reset Content? Does that actually work? [23:19:26] It might actually be useful. [23:19:39] 03(mod) Upload form should prevent submission of filename with disallowed extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16414 (10Platonides) [23:20:04] 303 also looks useful. [23:20:42] Plus, obviously, 402. [23:24:20] And 409, for us. :) [23:26:19] 03(mod) {{int:X}} respects user-defined interface language, breaking link tables etc. (aka {{USERIFCODE}} strikes back) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14404 (10herd) [23:33:04] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10alexfusco5) [23:33:55] 14(DUP) Allow automatic removal of temporary userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16509 +comment (10dungodung) [23:33:56] 03(mod) Setting a temporary usergroup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10493 +comment (10dungodung) [23:40:43] 03(mod) Add new setting option switch whether case-sensitive or case-insensitive upload file extension name checking . - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12992 (10Platonides) [23:41:03] 03(mod) Add new setting option switch whether case-sensitive or case-insensitive upload file extension name checking . - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12992 +need-review (10Platonides) [23:43:25] 03(NEW) Extension checking should not ignore spaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16512 minor; normal; MediaWiki: Uploading; (Platonides) [23:44:43] Simetrical: seen Wikia's ajax login (while editing, etc)? [23:45:00] Splarka, no. Sounds interesting. Is source code available? [23:45:45] probably, sec [23:45:50] mhmm, all of Wikia's source is available [23:46:02] Simetrical: problem is.. non-js fallback? [23:46:12] Obviously necessary. [23:46:35] I think yksinaisyyteni is right, we could just have it part of the main form, no AJAX needed. [23:46:40] one should never introduce options that require JS, just useless extra features, like filtering Allmessages, or curing cancer, or cloning dinosaurs [23:46:43] (Although, how would we populate the watch checkbox? Hmm.) [23:46:53] well, I like the idea... [23:47:00] have a checkbox like [x] log me in before saving edit [23:47:32] which would, when you save, hold the edit, but take you to a login form, and create form after that if you needed it, and take you back to the saved edit aftert [23:47:45] and that checkbox could be replaced by an ajax module in JS [23:48:02] Splarka: i strongly dislike that idea [23:48:17] the user/password form should be on the edit form and the login+edit should be a single step [23:48:23] *Splarka sticks tongue out at yk [23:48:24] otherwise it's no easier [23:48:31] you didn't let me finish [23:48:45] for 99% of users it would be [23:48:45] *Splarka points up [23:48:49] but it is better to design it assuming no JS, for full functionality [23:48:58] and then create the JS shortcuts after [23:49:34] why not just use ajax to add a 'watch this article' button when you populate the username field [23:49:40] actually just JS probably [23:49:54] yksinaisyyteni, should it be checked or unchecked? [23:49:54] Simetrical: one problem, some browsers lose changed settings (reinitilize, from the value="" fields) if you create or remove any input type elements (input, submit, button, textarea) [23:50:05] Depends on if the user is already watching the page. [23:50:15] so you shouldn't simply create the checkbox on login [23:50:17] Splarka, we could just un-disable it. [23:50:53] yksinaisyyteni: so what would you do for a non-JS fallback other than what I described above? absolutely nothing? [23:51:14] hello all [23:51:42] from within a parser hook, how do I know which page I'm processing right now? [23:51:43] Splarka: the watch page tickbox is hardly a critical feature, so no, i'd do nothing [23:52:10] *Splarka blinks [23:52:20] yksinaisyyteni: no, I mean, how would non-JS users log in from the edit page? [23:52:31] by typing their username and password into the username and password boxes [23:52:35] then clicking 'submit' [23:53:06] so you'd _always_ have a login/password box under the edit form for anon users? [23:53:13] yes [23:53:24] perhaps it could even create new accounts, like simetrical said [23:53:25] in that case, why not just roll it up in JS with an [expand] button? [23:53:37] you could do that [23:53:38] and have the watch button in that form [23:53:47] [x] watch this page if I login successfully [23:53:55] well, i already suggested putting the watch button in the firm [23:53:58] there'd be no JS to this feature at all, other than a fruit rollup [23:54:01] but it won't be initialy populated properly [23:54:10] (based on preferences) [23:54:15] Splarka, what if the user is already watching the page and doesn't check it? [23:54:21] but it sounds ugly [23:54:23] Then the unchecked box will un-watch it silently? [23:54:30] Just skip on the watch checkbox for that edit. [23:54:54] it wouldn't be wpWatch (or whatever it is) [23:55:09] wpWatchOnLogin or such, which would have its logic only apply positively [23:56:00] so, login failure, go to action=submit&wpLoginFromEdit=Save (another preview mode) with the captcha or create-user form? [23:56:28] Simetrical: https://svn.wikia-code.com/wikia/trunk/extensions/wikia/AjaxLogin/ [23:56:31] better late than never [23:56:53] Splarka, treat login failure as edit failure, show preview with the form still filled. [23:57:00] AJAX is not useful here if this is the approach to be taken. [23:57:05] well [23:57:09] Unless you really care about allowing the user to watch the page. [23:57:29] as stated, watching should be no problem with a wpWatchOnLogin [23:57:33] It's one click after submission to watch the page anyway, since that is in fact AJAX. [23:57:38] but the convenience can be enhanced with ajax [23:57:51] Then it provides different functionality than the normal watch checkbox, which is really confusing. [23:57:53] like, checking if the login will be successful before submission [23:58:00] and generating a create-user form if not [23:58:36] Why would you want to generate a create-user form on failed login? [23:58:42] They probably mistyped their password. [23:58:48] IF the user doesn't exist [23:58:50] obviously [23:58:55] Then maybe they mistyped their name. [23:59:06] [x] Create a new account for me [23:59:06] ... [23:59:13] *Splarka smacks Simmy [23:59:22] you could even retrieve a captcha if they mistyped their password, from the API [23:59:31] It seems more sensible to have a "create account" button next to the login button, which would fold out (using DHTML, no AJAX needed) the extra two fields. [23:59:33] before the form submits [23:59:41] . . . ?
, and so on [03:59:12] hang on, let me check on my local install [04:01:25] plain html tables work fine for me [04:03:29] and so does mixed html and wikisyntax [04:03:53] it does not for me [04:03:57] do you need any links for examples? [04:04:34] strange because the only real differnce from the default install is that i have $wgUseTidy = true; in my localsettings [04:04:52] and a few namespace/user groups things [04:04:59] that's the line i have in localsettings.php [04:05:43] go to [[Special:Version]] and what versions are you running? [04:06:00] and do you have any extenstions running? [04:06:04] yes [04:06:04] http://wiki.mobianlegends.com/wiki/Special:Version [04:06:04] {{#if:1|}}
foofoo
should only work with tidy (since the sanitizer defers to tidy and tidy operates after expansion) [04:06:25] and if that fails...? [04:06:57] i see "foo foo".... [04:07:07] does your code come up in a pre style box? [04:07:11] no [04:08:11] then tidy or lack of it is probably not your problem [04:08:35] where could the problem lie/ [04:08:36] ...although tidy does sometimes cause more problems than it solves [04:08:45] should i disable it? [04:08:52] well, then it will break other things [04:09:01] like? [04:09:12] have you tried a plain mediawiki without the wikipedia dump? [04:09:20] like any template copied from wikipedia that uses mixed htmltable syntax [04:09:24] hmm [04:09:31] what do you mean, p858snake ? [04:09:43] just a plain default install of mediawiki [04:09:48] yes [04:09:49] that's what this is [04:09:57] basically, having tidy on or off is like "use Parser A" vs "use Parser B", very annoying for those that like standartization [04:10:14] i like standardization....just not when it standardizes breaking everything :P [04:10:22] particularly mixed wikipedia/html syntax [04:10:49] now, regarding htmltidy, do you mean the version that comes with mediawiki, or the external program? [04:10:50] well, the problem is, htmltidy is not enabled by default, but wikimedia uses it [04:11:03] most development is on or around or by or for wikimedia wikis [04:11:14] i see [04:11:17] so, most development assumes tidy to some degree, or at least takes it for granted [04:11:54] although it does sometimes cause bugs (but those get fixed), like &editintro causing on action=edit to get

wrapped [04:12:01] *RingtailedFox nods [04:12:13] i have the external program of html tidy, if that's what you mean. [04:12:29] so those poor schmucks without tidy enabled from the beginning, or without the ability to enable it, are sort of left behind a bit [04:12:49] ick [04:12:56] and it is a pet peeve of mime [04:13:02] ^mine, freudian [04:13:02] so, i need the external program? [04:13:04] http://wiki.mobianlegends.com/wiki/Sandbox o.O [04:13:27] i agree, p858snake [04:13:38] switch that off, and it'll be fine? [04:13:50] no it means thats it off [04:14:03] i have it enabled. [04:14:04] show us your localsettings line where you have it defined [04:14:11] $wgUseTidy=true; [04:14:17] it does seem a rare occurence, but I've seen it more than once.. people enable tidy, and start getting random