[00:01:58] 03tparscal * r54765 10/trunk/extensions/UsabilityInitiative/js/tests/wikiEditor.toolbar.js: Made the tests work in more browsers and not rely on the firebug console. [00:03:09] 03(mod) Tests in /phase3/t/inc no longer work. Fix provided. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20112 (10dnessett) [00:03:44] 03tparscal * r54766 10/trunk/extensions/UsabilityInitiative/ (4 files in 2 dirs): Updated combined files. [00:09:39] 03simetrical * r54767 10/trunk/phase3/ (11 files in 4 dirs): (log message trimmed) [00:09:39] For HTML 5, drop type="" attributes for CSS/JS [00:09:39] This time done in a nice, centralized fashion, reducing LOC for callers [00:09:39] even if HTML 5 is disabled. The implementation is a new Html class, [00:09:39] similar to Xml but intended to be HTML-specific from the beginning [00:09:42] instead of half-heartedly attempting to provide generic XML services but [00:09:44] actually with lots of HTML-specific stuff tacked on. [00:10:16] *brion huggles Simetrical [00:12:44] Oops, parser test failures. [00:14:04] What, I don't get an e-mail when I break parser tests? [00:14:56] *Simetrical hasn't bothered to set up a local CodeReview, so can't really make changes [00:15:47] 03simetrical * r54768 10/trunk/phase3/maintenance/parserTests.txt: Fix parser test breakage from r54767 [00:15:58] heh [00:16:04] oooh we could rig that up actually [00:16:29] if your commit introduced new broken tests the wiki could send you a whinge email [00:16:39] It should also e-mail you if someone refers to your commit in a comment on another commit, and give backlinks like for mentions in commit messages. [00:16:48] What else did I want? [00:16:56] *Simetrical can't remember [00:17:55] 03(NEW) CodeReview should send a warning email to committers whose commits introduce test failures - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20168 enhancement; Normal; MediaWiki extensions: CodeReview; (brion) [00:23:08] <^demon> Hehe [[mw:Things n' Stuff]] [00:25:57] 03tparscal * r54769 10/trunk/extensions/UsabilityInitiative/ (4 files in 2 dirs): Added an RTL css rule for the wikiEditor UI. Tweaked the tests a bit more. [01:00:58] 03simetrical * r54770 10/trunk/phase3/includes/ (Html.php specials/SpecialResetpass.php): [01:00:58] Add Html::input() convenience function [01:00:58] Currently only used in SpecialResetpass. Also added some whitespace to [01:00:58] the HTML output of SpecialResetpass, so that it's somewhat readable. [01:02:01] hey guys, i'm upgrading to a newer version of mediawiki (from v 1.13). I've been following the guide on the website but just wanted to check that i've covered the critical steps. I've backed up the mysql db, made a copy of the entire "mediawiki" directory, and attempting to do an xml dump using dumpBackup.php. Any other steps i've missed? [01:02:35] there's no point in backing up the data and also doing an xml dump [01:02:54] if someone can investigate this [01:02:55] http://en.wikipedia.org/w/index.php?title=Gerald_McLaughlin&useskin=standard&action=edit [01:02:59] it was more a safety measure [01:02:59] i need to sleep [01:03:09] "editing in classic skin is broken" [01:03:51] is there a way to get dumpBackup.php to output its log to a file instead of stdout? [01:04:13] <^demon> thedj: Whitepage? [01:04:51] RichardJ87, um, standard shell redirection? [01:05:05] true [01:05:23] <^demon> thedj: Wow that's ew. [01:05:28] ^demon: indeed. [01:05:33] but i need to sleep now. bye [01:05:48] Do you recommend upgrading to the latest 1.15.1 or are there some issues with that? [01:06:10] Blank page on editing in standard? [01:06:18] RichardJ87, it should be fine. [01:06:29] <^demon> Simetrical: Yeah. [01:06:38] Editing with standard on localhost works fine. [01:09:45] <^demon> Simetrical: So I assume it's something fixed in trunk, not yet sync'd to WMF, so not worth trying to track down. [01:10:14] Or some error that only ever occurred on WMF, maybe because of incomplete syncs of Vector-related changes. [01:10:15] ^demon: don't say that until you test with whatever rev WMF is using [01:10:18] Rather than full scaps. [01:10:28] seems more likely [01:10:35] <^demon> Most likely. [01:10:57] *^demon checks out wmf-deployment again [01:27:19] <^demon> I hate wikiheiro. [01:27:28] <^demon> wikihiero, rather. [01:28:13] is that the eypt graph symbol one? [01:28:20] *eygpt [01:28:20] <^demon> Yeah [01:28:33] <^demon> It takes forever to checkout. [01:34:48] i wonder if brion has choosen a job description from that mailing list post yet [01:52:52] <^demon|away> Simetrical: wmf-deployment doesn't have the issue. Seems specific to live WMF. [01:53:13] Seems like a PHP error. A shell needs to check error logs, I guess. [01:55:36] 03(NEW) Unable to edit in Standard skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20169 major; Normal; Wikimedia: General/Unknown; (innocentkiller) [02:01:40] what error? [02:04:36] if i want an image to click to link to an external larger image, is it [[Image:internalname.jpg|link=http://example.external/bigpicture.jpg]] ? [02:37:24] 03(mod) Add option for editors in preferences to always show diff to latest flagged revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20058 (10JSchulz_4587) [03:10:02] 14(DUP) User rights log doesn't reflect removing of sysop rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12925 +comment (10innocentkiller) [03:10:05] 03(mod) farm / meta activities / logs should be duplicated at related wiki's - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4055 +comment (10innocentkiller) [03:14:08] couldn't we just mirage everything to the global users log? [03:14:15] *merge [03:14:22] *^demon|away shrugs [03:16:29] 14(WFM) thumbails with wrong permission - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6654 +comment (10innocentkiller) [05:09:00] 03(NEW) Page displays only "Override this function." - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20170 normal; Normal; Wikimedia: General/Unknown; (cwillmor) [05:11:50] still? drat [05:11:55] time to run a query maybe [05:13:06] 03(mod) � action=render � does not preserve the directionality of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12242 (10uahello) [05:15:34] apergos: dupe to 20081 and reopen? [05:15:42] nope, not yet [05:15:50] I want to check something before the link gets purged [05:18:17] dang, it might have already been [05:20:28] It was a JS problem at its core, right? [05:21:29] one of the apaches got left with a borked set of files [05:21:49] but I think the page already got purged so I can't see which one is doing it now [05:21:57] (if there is just one of them) [05:22:40] next time we get someone with an override function error I want to have them wait and I'll see if we can find it [05:34:50] Why not just bump all the version integers and resync the JS files for good measure? [05:39:00] Hi, can i let ONLY some users to see a page ? [05:43:59] !cms | D-Boy [05:43:59] --mwbot-- D-Boy: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [05:47:06] 03(NEW) EditWarning gives a fatal error when used with the old skins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20171 major; Normal; MediaWiki extensions: UsabilityInitiative; (tstarling) [05:47:30] Annemarie : wikis are just fine with what i do, however i like protect some pages because it contains Personal datas (viewable just by family people for example) so i wonder if there is someway to protect some pages to been viewed all visitors [05:48:06] D-Boy: MediaWiki, generally speaking, has two forms of content control [05:48:17] Either everything is available to everyone. [05:48:25] Or everything is available to people who are logged in. [05:49:36] 14(DUP) Unable to edit in Standard skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20169 +comment (10tstarling) [05:49:39] 03(mod) EditWarning gives a fatal error when used with the old skins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20171 +comment (10tstarling) [05:50:15] "EditWarning gives a fatal error when used with the old skins" - maybe someone installed EditError by mistake [05:50:50] Annemarie : i got the idea :) no extension adds what i'm searching for to the wiki ? [05:51:10] not securely [05:51:18] and many of them are broken in some form [05:51:39] @search read [05:51:39] --mwbot-- Results: [#mediawiki, ?>, analytics, cms, credit, gethelp, imagemagic, lazy, lockdown, memcached, phpshell, readonly, rtfm, secrets, session, subst, threads] [05:51:47] !lockdown | D-Boy [05:51:47] --mwbot-- D-Boy: Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [05:51:48] !lockdown is probably what you want [05:51:55] yah that [05:52:12] ah cool thx i'll take a look on it ^^ [05:52:14] but it absolutely is not guaranteed to be secure, more of a "spoilers and internal icky you don't need to see" [06:02:20] 03tstarling * r54771 10/trunk/phase3/includes/SkinTemplate.php: (bug 20170) Make QuickTemplate::execute() abstract, instead of sending a dorky PHP 4-style error message to the user. [06:03:49] 03(mod) Page displays only "Override this function." - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20170 +comment (10tstarling) [06:05:42] I just upgraded to mediawiki 1.15.1 from 1.13 and i'm using the ldap authentication extension but am now getting the following error: Undefined index: wsDomain in LdapAuthentication.php. The result is that when clicking on my name (up the top right hand corner of the wiki) it throws an error instead of taking me to the preferences page. Any ideas? [06:06:11] did you upgrade the LDAP extension as well as mediawiki? [06:06:32] yeah, tried the latest stable version and beta version [06:06:37] both same result [06:07:59] Someone listed the issue here but there didn't seem to be a response - http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication#Again_:_Undefined_index:_wsDomain_in_.2FLdapAuthentication.php [06:08:16] RichardJ87: you should talk to Ryan Lane. He's not here right now, though [06:08:33] oh ok, so he comes on often though? [06:09:46] Reasonably, I think; you could email him instead, if you want [06:13:33] It says on this page down the bottom that you can email him through the wiki but I can't see how - http://www.mediawiki.org/wiki/User:Ryan_lane [06:13:58] Are you logged in? [06:15:13] nah, ta [06:16:31] logged in, still can't see how to email him [06:16:47] It looks like he did respond, by the way; the other guy just didn't provide further info :) [06:16:57] You also need to have supplied an email address and confirmed it [06:18:12] 03(mod) Page displays only "Override this function." - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20170 (10cwillmor) [06:23:18] Splarka: https://bugzilla.wikimedia.org/show_bug.cgi?id=15296 [06:23:26] Any thoughts on re-opening that? [06:29:52] 03(mod) Enable RevisionDelete on WMF wikis for admins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18780 (10public) [06:31:14] *Reedy wonders if Annemarie ever sleeps [06:31:30] Occasionally. [06:33:32] After consuming a child. [06:33:34] *Splarka looks [06:33:59] I don't understand how http://en.wikipedia.org/w/api.php?titles=foo|bar is an invalid URL. [06:34:13] its not in wmf land [06:34:19] and the fact it works, means its valid syntax [06:34:32] but i cant imagine many other places use it... [06:34:32] Roan says it's invalid. [06:34:42] He says I need to change | to %.. [06:34:42] Annemarie: the bug is invalid [06:34:52] as there is a valid workaround, same for [] [06:34:52] Well, it's certainly marked that way. [06:35:17] thehe didn't say the link was invalid, just the bug/featurerequest [06:35:18] A workaround, sure. But the URL should be valid anyway. [06:35:25] the/he [06:35:31] well, it isn't [06:35:35] not in a table ^_^ [06:35:43] Which I filed a bug about. [06:35:46] WFM [06:35:58] It works if you encode the pipes. [06:36:00] %5B%5D%7B%7D%3C%3E%27%27%27 [06:36:07] But you shouldn't have to. The link should be valid. [06:36:13] theres quite a few bugs in the open non assigned that could be marked as invalid/wontfix [06:36:30] /feck off cause your not replyin [06:36:37] Annemarie: I'd say ask tim [06:36:53] IIRC, the parser can't really simply be rearranged like that [06:36:57] Well, I already distracted him with server issues. [06:37:04] external links are done after template expansion and everything [06:37:18] Well. [06:37:22] {| [06:37:31] | http://foo?bar|baz [06:37:33] |} [06:37:44] That shouldn't be disrupting anything in table syntax to begin with. [06:37:50] It's not ||baz... [06:37:51] Emufarmers: I've confirmed the email address, once i'm on his user page how do I actually obtain his email address? [06:37:52] boo hoo, just fix it [06:38:09] Annemarie: like trailing close-parentheses ^_^ [06:38:10] RichardJ87, you cant [06:38:19] you use Special:EmailUser and email them via that [06:38:26] ah ok [06:38:27] ta [06:38:28] http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical) [06:38:32] So tables can just take | and || [06:38:39] Not without a fight! [06:38:48] http://wiki.freeside.co.uk/wiki/Special:AllPages - Is there a way to not get that to add the start/end page, so when i change the ns it doesnt have that filter? [06:39:06] Use the API? [06:39:18] *Reedy slaps Annemarie [06:39:40] AllPages is goofy. [06:39:43] Reedy: It says there's no target "you have not specified a target page or user to perform this function on" how do I target? [06:40:03] RichardJ87, add /Username [06:40:18] That's also goofy behavior. [06:40:25] tis a bit weird [06:40:30] Why on earth would someone choose an error message over an input? [06:40:32] Grrrr. [06:40:38] Bugggg [06:40:50] For EmailUser? I think it's an ancient bug. [06:40:52] TimStarling: I'll give you a vegemite stroopwafel to say "possible" or "very very hard" or "learn php and submit a patch" to MZMcBride after a 10 second glance at: https://bugzilla.wikimedia.org/show_bug.cgi?id=15296 [06:40:53] Yeah, you should be able to say send email to user [06:41:13] Reedy: so "Special:EmailUser /Ryan lane" that doesn't work [06:41:25] where? [06:41:26] I hate MZMcBride. [06:41:26] (as you are the only one left who knows the parser) [06:41:31] Ryan Lane is Skizzerz. [06:41:47] kmccoy: Nobody cares. [06:41:54] Reedy: https://bugzilla.wikimedia.org/show_bug.cgi?id=13879 [06:42:00] Annemarie, sorry. :( [06:42:59] yeah not having any luck with that, might just have to add a question on the discussion page [06:43:32] http://en.wikipedia.org/wiki/Special:EmailUser/Skizzerz [06:43:45] http://www.mediawiki.org/wiki/User_talk:Skizzerz [06:44:04] *Annemarie links-battles Reedy. [06:44:19] *Reedy blocks Annemarie [06:44:26] Anyone know how to fix what i asked? :P [06:44:44] Well, better a block than a cockblock, I always say. [06:44:49] About AllPages? [06:44:53] /~ doop de-doop doop doop de doop... de dooo... ~/ [06:45:01] Yaaa [06:45:06] I was kidding about the API. AllPages is goofy as hell. [06:45:22] i'd use the api, but other users it wouldnt be the best for ;) [06:45:33] It wants to be an overview index and a specific index at the same time. It ends up being shit. [06:45:51] http://en.wikipedia.org/wiki/Special:AllPages doesnt show a start and end page.. [06:46:04] So unless its something modded, or an extension (i suspect not) there must be a way [06:46:15] Yes, you have to click the first link two or three times... [06:47:09] ... [06:47:17] Actually, you've confused me. [06:47:19] What's your issue? [06:47:39] http://wiki.freeside.co.uk/wiki/Special:AllPages [06:48:07] Look at the "Display pages starting at" text box [06:48:10] Annemarie: Are you sure ryan lane is skizzers, on the skizzerz user page it says Ryan Schmidt [06:48:14] lol hope I haven't emailed the wrong person [06:48:21] its automagically poplated on custom wiki [06:48:21] Oh dear. [06:48:23] its not on en.wp [06:48:30] Who is Ryan Lane then... [06:48:38] The name sounds familiar [06:49:07] http://www.mediawiki.org/wiki/User:Ryan_lane ? [06:49:42] just look at the edit history on the extenstion page... [06:49:43] Reedy: Seems to be automatically populated, but not from the beginning. [06:49:55] yeah that's him [06:49:59] hmm [06:50:11] Its just annoying when you change ns, and title < starting with b [06:50:11] > laner Ryan Lane Ryan_Lane Maintainer of the LDAP Authentication plugin. [06:50:12] etc [06:50:17] http://www.mediawiki.org/wiki/Developers [06:50:32] Developers, developers, developers, developers. [06:51:23] Annemarie: "This user has chosen not to receive e-mail from other users." guess that answers my question [06:51:37] He has a talk page, though. [06:51:47] RichardJ87, does say on his user page he prefers not to do support via email [06:52:24] yeah he says that, but there's 50 billion points on his discussion page, I wonder if he'll even check new ones added [06:53:07] meh [07:01:29] Reedy: mehskies :) [07:08:22] 03raymond * r54772 10/trunk/phase3/ (3 files in 3 dirs): [07:08:22] Recommit r54081 after general revert r54735: The description message in $wgExtensionCredits can be an array with parameters now [07:08:22] This functionality is used by the 'Maps' and 'SemanticMaps' extensions [07:10:10] 03(FIXED) Page displays only "Override this function." - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20170 +comment (10tstarling) [07:47:50] 03(NEW) "Move this page" is linked to wrong URI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20172 enhancement; Normal; MediaWiki: User interface; (mizusumashi) [07:49:41] 03(mod) "Move this page" is linked to wrong URI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20172 normal->high (10mizusumashi) [07:52:15] Anyone here? [07:53:13] I'm an administrator from svwiki and we'r having some problems with our templates, probably a bug in MW 1.16 [07:54:19] !ask | Sertion [07:54:19] --mwbot-- Sertion: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. See also: !gethelp [07:54:34] If a parameter is defined in the code {{template|parameter=|par2=value}} (Like 'parameter' is in this example), and dose not have a set value, it dose not go back to the deffault value set in the template code using {{{parameter|default}}} [07:54:39] Is this a known bug? [07:54:43] p858snake: :) [07:55:08] i don't know much about template, but how long has this been happening? [07:55:30] I think before the 1.16 update, but not 00% sure [07:56:02] It's extramly annoying and foces us to use extra code where it's not needed [07:56:10] (if the system worked that is) [07:56:57] {{foo|bar=}} -> "{{{bar|default}}}" is returning "" ? [07:57:00] Don't know if the other wikipedia versions suffer from this, but it needs to be fixed [07:57:13] Splarka: Yes [07:57:19] that's normal [07:57:34] Well, it needs to be fixed [07:57:34] because it is defined it doesn't use the fallback [07:58:04] why? it's been like that for a long time [07:58:42] {{#if:{{{bar|}}}|{{{bar}}}|default}} will check if undefined /or/ null [07:59:07] Splarka: We know [07:59:46] as I said: We are forced to use extra code [08:00:05] well, what version did you update from? [08:00:12] So, this is not something we can expect to be fixed? [08:00:27] it isn't broken [08:00:32] I do not do the updates, it's http://sv.wikipedia.org/wiki/ we are talking about [08:01:14] as well as the other wikipedia, wiktionary and wikisource sites [08:02:21] Splarka: The I request this as a new feature then [08:02:28] then I re...* [08:03:17] Hi all, could anyone help me to install mediawiki on ubuntu 9.04? [08:03:22] uh [08:03:29] http://meta.wikimedia.org/w/index.php?title=Help:Template&oldid=530965#Declaring_a_default_value same in 2007 [08:03:33] where is mdale? [08:03:36] I haven't seen him in days [08:03:56] Nikerabbit: wikt:weekend [08:04:37] start-{{{1|pqr}}}-end -> {{t| }} -> "start- -end". [08:04:49] Splarka: it's over already [08:04:50] Splarka: I can read you know [08:04:55] I view the page with short url, but no css and image [08:05:08] you guys forget [08:05:16] splarka is like the energizer bunny [08:05:18] superman: did you install it from ubuntu's repository? [08:05:33] Sertion: it would be a breaking change [08:05:48] Very breaking. [08:05:51] Splarka: Ok [08:05:57] charitwo: probably useless, since they'll open a bug anyway, but I gotta try [08:06:10] http://meta.wikimedia.org/w/index.php?title=Help:Template&oldid=335215#Declaring_a_default_value same in 2006 [08:06:18] *Splarka stops time travelling [08:06:30] but this behavior has always been this way, why do you think otherwise? [08:06:33] Then I'll report this to my fellow template-makers [08:07:09] Splarka: Only been creating templates for some months [08:07:21] ahh, k [08:07:25] Only read the svwiki docs [08:07:38] Nikerabbit: no I download directly from mediawiki [08:07:38] never thoutgt about going to meta before [08:07:55] superman: and how did you configure the short urls? [08:07:57] meta is a bad place to get help, it is out of date [08:08:09] Splarka: I have notived [08:08:11] (I went to meta because that is where the help used to be, I wanted the old docs) [08:08:13] iced* [08:08:26] Nikerabbit: I follow from this url http://www.mediawiki.org/wiki/Manual:Short_URL [08:08:42] http://www.mediawiki.org/wiki/Help:Templates [08:08:45] Nikerabbit: And I have root access as well [08:08:55] which one of those? [08:09:16] Nikerabbit: setup used on Wikipedia [08:09:56] Nikerabbit: the page response, but css and images response 404 [08:10:26] is the wiki public? [08:11:04] Nikerabbit: no, I just test it in my local pc [08:11:06] Splarka: Thank you for your help. [08:11:19] rar! [08:11:51] well, look at the css paths and figure out what is wrong with them [08:13:49] Nikerabbit: for image not found, I look in response text it looks like page not found [08:15:16] hey werdna, can AbuseFilter filter for email addresses entered in the email address field, when creating an account? [08:15:17] that we know already [08:15:29] look at the page source, take the path and figure out what is wrong with it [08:16:45] Nikerabbit: could you guide me a bit? [08:17:51] Splarka: no, that would be a privacy problem [08:18:58] superman: I've already told you what to do, what part is that you have problems with? [08:20:59] k [08:21:59] Nikerabbit: I installed it under /var/www/wiki, and I add Alias /var/www/wiki/index.php to apache config [08:22:38] is there any other way to have a blacklist of known disposable email providers, and prevent users from using them to create new accounts? [08:23:44] superman: then you did not follow the guide [08:24:02] the real path must be different from the path shown in the address bar [08:25:16] Nikerabbit: But when I request http://127.0.0.1/wiki/Main_Page, the page response, but just no css [08:26:15] we already know that [08:26:27] I just told you what is wrong [08:27:13] but I'm sorry, I don't really know how to fix it [08:29:23] I just told you [08:29:33] install it under /var/www/w for example [08:29:47] it must be *different* [08:30:19] as it sais on the page too: [08:30:20] Note Note: The install path must not be same as virtual directory and must not be the web root directory itself, the first point is important, do not try to ignore it to get prettier URLs, or else this method will not work. [08:36:29] One more thing, {{#if: {{{foo|}}}|{{{foo}}| #bar}} makes it a numbered list starting with #bar and ending on line break [08:36:32] 03raymond * r54773 10/trunk/phase3/ (RELEASE-NOTES includes/Exif.php): * Do not transform EXIF fields with pure text to avoid results like foo,bar@example,com [08:37:06] There's more on the roe befor the if-statement [08:37:10] row* [08:37:38] Sertion: that /is/ a known bug [08:37:53] anything a magic word, parser function, or variable returns is treated as a line start for the parser [08:38:17] {{FULLPAGENAME}} on http://en.wikipedia.org/wiki/*Foo breaks everything you notice [08:38:32] Nikerabbit: Let me try to follow it again [08:39:25] hmm, you're also missing a } [08:39:49] Splarka: Is there a know way around that? [08:39:59] Splarka: Not in the real code [08:40:36] {{#if: {{{foo|}}}|{{{foo}}}|#bar}} [08:41:02] Will that work if foo is set to #323? [08:41:35] hmm, nope [08:41:40] Damn [08:42:07] are you using it in a style tag for a color? [08:42:22] It's were out biggest problems are [08:42:27] {{#if: {{{foo|}}}|{{{foo}}}|#ff0000}} [08:42:32] should work, I think [08:42:37] uggggggly tho [08:42:39] I'll try [08:42:51] Splarka: I'm the only one doing this anyway :) [08:42:59] editing templates at svwiki that is [08:43:13] really? huh [08:43:23] swedes aren't generally templaty? [08:43:33] 03(NEW) Lucene Search update script fails while downloading DTD - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20173 major; Normal; MediaWiki extensions: Lucene Search; (jeen.broekstra) [08:43:35] Well, wer like 5 people, but I'm the "main guy" that should know all :) [08:43:35] Nikerabbit: Thank you, it's working now [08:43:52] Splarka: At first they were seen as mad and almost forbidden :) [08:44:02] foo sort of works... [08:44:21] Not in my case [08:44:31] Ill give you a link in a sec [08:44:50] http://sv.wikipedia.org/w/index.php?title=Special:Senaste_%C3%A4ndringar&namespace=10 [08:44:53] Splarka: This is my testing template (it's live,b ut only used on userpages) http://sv.wikipedia.org/w/index.php?title=Mall:Anv%C3%A4ndarruta&action=submit [08:45:39] Splarka: going mad with worked :) [08:45:45] Thanks once again [08:46:00] k [08:46:20] *Splarka wonders if is allowed [08:46:37] Splarka: http://sv.wikipedia.org/wiki/Wikipedia:Projekt_mallstandardisering#Deltagare Those are the real 'template maniacs' :P [08:47:01] all greek to me [08:47:09] And most of them dose not know that {{#expr:}} exists [08:47:15] Swedish* ;) [08:47:50] "Deltagare" means "Members" or "Participants" [08:47:58] Bu now I need to be someware else, thanks once again :) [08:48:27] and I'd gess mallstandardisering means "template standard socialism and depression" [08:48:39] "and playing chess with the grim reaper" [08:48:52] yay stereotypes [09:25:12] 03(mod) Basic XML Feed support for watchlist (implementation idea: token) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=471 (10waldir) [09:30:06] 03(mod) Image captions ending with external links display inconsistently - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11239 (10gangleri) [09:33:11] 03(mod) Basic XML Feed support for watchlist (implementation idea: token) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=471 +comment (10agarrett) [09:39:17] werdna: Y'know, if the revision number is wrong / misleading, it should probably just be removed... [09:39:32] Kinda mean to have it there otherwise. [09:41:22] 03(mod) Activate abuse filter on itwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19772 (10webmelos) [09:46:05] 03jprilusky * r54774 10/USERINFO/jprilusky: [09:50:02] 03siebrand * r54775 10/trunk/phase3/languages/messages/ (19 files): Localisation updates for core messages from translatewiki.net (2009-08-11 09:29 UTC) [09:56:24] http://www.newscientist.com/article/dn17554-after-the-boom-is-wikipedia-heading-for-bust.html bah [09:58:00] well it is new scientist... [10:04:46] hello ? [10:08:16] !ask | Diviatrix [10:08:16] --mwbot-- Diviatrix: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. See also: !gethelp [10:08:56] oh, okay, so, i am newb in wiki, how can i add categories and modify my main menu ? [10:09:39] 03catrope * r54778 10/trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.hooks.php: EditWarning: (bug 20171) EditWarning gives fatal on skins that aren't Monobook or Vector [10:09:43] !sidebar | Diviatrix [10:09:43] --mwbot-- Diviatrix: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [10:10:05] To add categories, just put [[Category:Whatever]] at the bottom of the page. [10:10:14] oh perfect. thx. [10:10:51] 03(FIXED) EditWarning gives a fatal error when used with the old skins - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20171 +comment (10roan.kattouw) [10:11:12] TimStarling: Could you sync and reenable? ------^^ [10:11:21] If commits are marked as new still, it means they havent been reviewed, and therefore not synced? [10:11:34] Reedy: Usually, yes [10:11:38] That's the theory. [10:11:43] Synced commits should always have the wmf-deployment tag, too [10:11:47] Thats fine [10:11:56] RoanKattouw: did you got my mail? [10:12:01] There's a bunch that was synced yesterday that I haven't updated tags on, will do that later [10:12:03] hi rainman-sr [10:12:04] Nikerabbit: Yes, and replied [10:12:48] Whats the bugzilla syntax to link to code review pages? [10:13:06] Reedy: r12345 [10:13:10] ta [10:13:12] :) [10:13:56] 03(FIXED) linktrail for el (Hellenic) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19949 +comment (10sam) [10:15:02] RoanKattouw: then I haven't got it yet [10:15:35] Weird [10:15:36] Niklas Laxström [10:15:38] datum 8 augustus 2009 11:50 [10:15:59] Oh oops wrong message :P [10:16:11] 11 augustus 2009 11:36 [10:17:21] oh [10:17:23] there it is [10:17:32] RoanKattouw: you did not address the language the results are returned in [10:18:04] Oh you mean it doesn't respect uselang? [10:18:41] I mean I didn't get it form the documentation what is the expected behaviour [10:18:45] The fact that it uses user not content language shouldn't be an issue here, at least not with what we're currently using it for [10:18:57] Yeah it's poorly documented; I don't know who wrote it, probably mdale [10:19:19] sound so like it... [10:19:41] 03catrope * r54779 10/trunk/extensions/UsabilityInitiative/js/tests/wikiEditor.toolbar.js: Fix weird indentation from r54762 [10:19:42] anyway, either we do ajax or make the plural+grammar cross-script compatible [10:19:55] gender will almost always require an ajax call if implemented [10:20:14] You mean write a mini-parser in JS? Ugh [10:20:27] RoanKattouw: btw: http://translatewiki.net/w/i.php?title=Support&curid=71166&diff=1376230&oldid=1373650#Few_things_I_wanted_to_draw_attention_on [10:21:04] RoanKattouw: it's not a big deal, most of the grammar data is just look-ups, and plurals are very simple algorithms [10:21:35] Yeah but it's language-dependent [10:21:51] RoanKattouw: what does it matter? [10:22:00] Which means we'd have to port dozens (hundreds?) of different algorithms for different languages to JS, right? [10:22:08] yes [10:22:14] (BTW, what does GRAMMAR: even do?) [10:22:18] it's not hundreds [10:22:36] most of them are same [10:23:18] RoanKattouw: mostly just look-up tables + some code in some languages [10:23:31] Yeah I get that but what's it used for? [10:23:42] RoanKattouw: mostly for inflection [10:24:11] Ah, yes [10:24:20] Wait doesn't that need huge lookup tables? [10:24:51] huge? [10:25:03] I mean if used for {{GRAMMAR:$1|der|die|das}} $1 or something [10:25:10] see extensions/WikimediaMessages/WikimediaGrammarForms.php [10:25:15] *RoanKattouw looks [10:25:26] it's not do-it-all [10:25:32] just most the important ones, like sitename [10:25:38] Ah, yes [10:26:10] Dammit no languages that I know in there :( [10:26:14] But I get the idea [10:26:20] supporting that part of grammar should be very easy [10:26:39] just dump $wgGrammarForms somewhere [10:35:27] Roan: I'd think the first step would be to write the preprocessor in javascript, and then give all the bits and pieces of that over to deferrals for periodic ajax calls, like if you put in {{foo}} it knows that that is a template/pf/variable call, but not what it will actually do... though tangently, are there many (any?) hooks in the preprocessor that can screw that up significantly? [10:35:42] Aaargh [10:35:51] Dude it's message parsing [10:36:00] fair, thought you meant Wikiwyg ^_^ [10:36:15] tl;dr [10:37:47] wtf [10:37:56] it's only enough to transform all {{-items [10:38:12] that is what parsemag does in core [10:43:07] hello [10:43:08] 03catrope * r54780 10/trunk/extensions/UsabilityInitiative/ (UsabilityInitiative.hooks.php js/tests/wikiEditor.toolbar.js): UsabilityInitiative: Use array.push(foo); instead of array[array.length] = foo; and fix an E_NOTICE [10:43:28] please let me know how can I restrict "editing" only for registered users ? [10:43:36] !prevacc | whiteflag [10:43:36] --mwbot-- whiteflag: For information on preventing access to your wiki, please see . [10:45:53] RoanKattouw: should we have javacript i18n workshop at some point to solve the issues? :o [10:46:55] RoanKattouw that was quick , and how to restrict users to register only after admin's approval ? [10:48:33] !access | whiteflag [10:48:33] --mwbot-- whiteflag: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [10:48:39] that would be a better one for you [10:48:46] extension confirmaccount? [10:49:07] he just wants it so registered people can edit... [10:49:29] oh didn't see the second half [11:00:34] Nikerabbit which version should be stable? development or 1.15? [11:01:52] stable for what use? [11:03:38] stabl mw i guess [11:08:29] whiteflag: 1.15.1 [11:08:53] Nikerabbit: Are you coming to the Wikimania hacking days? [11:10:59] MySQL returned error "1146: Table 'mediawiki.wiki_account_requests' doesn't exist (localhost)" [11:11:04] *werdna is [11:11:08] whiteflag: Run update.php [11:11:25] RoanKattouw yes, that error was thrown by update.php [11:11:45] 03(NEW) After hiding my edits in watchlist cannot show it - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20174 normal; Normal; MediaWiki: Watchlist; (hunyadym) [11:12:15] RoanKattouw I had tried ConfirmAccount developer version [11:12:18] whiteflag: That's weird; looks like ConfirmAccount is broken then. Which version of MW are you using? [11:12:25] RoanKattouw then deleted them from extension [11:12:29] and added 1.15.1 [11:13:18] RoanKattouw anything can I do to fix it ? [11:14:53] should I reinstall everything ? :( [11:15:09] No, that won't help [11:15:14] *RoanKattouw looks at ConfirmAccount [11:16:24] whiteflag: Do you have access to MySQL or phpMyAdmin? [11:16:35] RoanKattouw I have full access [11:16:39] If so, import ConfirmAccount.sql from the extensions/ConfirmAccount directory into the database [11:16:49] ok [11:17:04] RoanKattouw: no? [11:17:51] Nikerabbit: Not coming to Wikimania? Then when and where are we gonna do that JS i18n workshop? :P [11:17:56] RoanKattouw done [11:18:00] RoanKattouw whats next? [11:18:06] Try update.php again [11:18:36] RoanKattouw same error [11:18:49] Oh wait [11:18:55] You're using a database prefix [11:19:12] In that .sql file, replace /*$wgDBprefix*/ with wiki_ and import it again [11:21:59] RoanKattouw: dunno [11:22:44] it isn't sustainable for us to get into same physical location for every thing [11:23:23] Yeah that's true [11:24:44] RoanKattouw that made the trick :) [11:27:07] RoanKattouw thanks a lot, now its working like a charm [11:30:52] 03(NEW) Tabs of current deployment are 1 pixel off at the bottom. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20175 minor; Normal; MediaWiki: Vector Skin; (hartman) [11:31:04] hmm [11:33:53] 03catrope * r54781 10/trunk/extensions/UsabilityInitiative/ (2 files in 2 dirs): UsabilityInitiative: Fix double-escaping bug and restore quotes removed in r54749 [11:41:08] 03demon * r54782 10/USERINFO/jprilusky: eol style [11:44:04] I want to set $wgAccountRequestExtraInfo to false [11:44:17] when I set in Localsettings.php it gives error ? [11:44:25] $wgAccountRequestExtraInfo = "false" [11:44:35] $wgAccountRequestExtraInfo = false; [11:44:39] Without the quotes and with a ; [11:45:03] thanks :) [11:45:36] 03siebrand * r54783 10/trunk/extensions/cldr/LocalNamesEn.php: Add 'sr-el' [11:58:26] 03siebrand * r54784 10/trunk/extensions/UsabilityInitiative/OptIn/OptIn.i18n.php: [11:58:26] * 'screen' -> 'page' (in a vertical scrolling page, it may be outside of view) [11:58:26] * 'top right' -> 'top' (it's about in the middle, depending on screen width) [12:01:17] 03freakolowsky * r54785 10/trunk/phase3/maintenance/ora/tables.sql: Added a missing column in schema creation script [12:03:56] Hmm.. http://no.wikipedia.org/w/index.php?title=MediaWiki:Gadget-menu-index.js&action=raw&ctype=text/javascript?233yz gives text/x-wiki as filetype.... maybe i'm clueless, but I thought the ctype-parameter would help in adjusting that? [12:05:10] 03catrope * r54786 10/trunk/extensions/UsabilityInitiative/PrefStats/ (PrefStats.php SpecialPrefStats.php): PrefStats: Cache statistics per hour and make them available to everyone [12:07:10] Tubarao: It does if used correctly, i.e. without the ?233yz [12:07:37] (there's a bug about that somewhere, ?$wgStyleVersion shouldn't be appended to such URLs) [12:08:20] 03(mod) "Move this page" is linked to wrong URI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20172 +comment (10innocentkiller) [12:09:41] RoanKattouw: mm.. so it's a bug in deed... all gadgets get these styleversions appended.... [12:09:52] and this fracks up in firebug... :/ [12:20:11] lo [12:25:22] 03demon * r54787 10/trunk/phase3/includes/OutputPage.php: Some unused $wgStyleVersions. [12:33:33] 03(NEW) Logout link on cologneblue is not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20176 enhancement; Normal; MediaWiki: User interface; (hartman) [12:33:42] 03(mod) Logout link on cologneblue is not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20176 15enhancement->normal (10hartman) [12:37:24] 03(mod) Relativity of left and right =/= {{BEFORE}} and {{AFTER}} - code portability - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5337 (10gangleri) [12:45:41] Hello. [12:46:22] I installed mediawiki on a server and typed {{expand}}, and all I saw in the preview was: Template:Expand, help? [12:47:08] Tetracomm: Is {{expand}} a template on Wikipedia? In that case you need to copy it from Wikipedia to your wiki [12:47:25] http://en.wikipedia.org/wiki/Wikipedia:Template_messages/General#Expansion_requests [12:47:38] How do I do that? [12:49:45] How do I copy it? [12:50:06] http://en.wikipedia.org/wiki/Template:Expand?action=edit [12:50:22] Copypaste that to [[Template:Expand]] on your wiki [12:50:34] Ok. [12:50:41] Thank you. [12:51:35] Wikipedia created that? Or is it in Mediawiki too? [12:53:33] does anybody know if the lucene search integrated in mediawiki is able to compare two pages (i.e. their full text) for similiarity? [12:54:03] !parserfunctions | Tetracomm [12:54:03] --mwbot-- Tetracomm: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [12:54:09] you will need that [12:54:21] Tetracomm: Wikipedia created that [12:54:57] :( [12:55:06] dgts: If anyone knows rainman-sr (ping!) does [12:55:28] also i/we recommend using the export and import function for copying templates http://en.wikipedia.org/wiki/Special:Export and http://yourwiki/wiki/Special:Import respecitvely so you get all required sub templates [12:55:56] Tetracomm: ----^^ [12:56:02] RoanKattouw, thx for the tip, i'm not that deep into irc, how do i ping this guy? [12:56:13] dgts: By mentioning his name [12:56:17] you will also need to get some of the css as well from [[Mediawiki:Monobook.css]] [12:56:29] So my message from just now should've pinged him already [12:56:38] RoanKattouw that's called pinging? alright :> [12:57:08] Ok, thank you. [12:57:50] dgts: no, but what exactly do you want to do? [12:58:14] dgts: ussually people will say something like this name-of-person:ping? [12:58:26] hence then name :) [13:02:28] Do I extract the parserfunctions directory to /extensions, or its contents? [13:03:56] 03siebrand * r54788 10/trunk/phase3/languages/Names.php: Add automyn to sr-ec and sr-el [13:07:22] Tetracomm: The directory [13:07:29] Ok. [13:07:37] Well, I did, and it still won't work. [13:09:08] rainman-sr, i wanna write an extension that compares a newly created page in MW to a subset of pre-existing pages. the goal is to offer category tags for this new page (that hasn't any categories yet) based on similar pages [13:12:21] rainman-sr, the idea behind this is that similar pages probably share at least some categories [13:12:55] lucene in principle can store term vectors, but the mediawiki extension doesn't do that .. [13:13:46] rainman-sr, that's what i thought.. well too bad [13:15:10] I see parserfunctions installed in Special:Version. [13:16:10] But expand is not in the hook list. [13:17:03] how to set image uploading option ON? i set $wgEnableUploads = true; in localsettings.php, but it still says, image upload is off =\ [13:17:45] and permission to images folder added too [13:17:57] Diviatrix: put the setting at the *end* of the file, and make sure you are editing the one that is actually used. [13:18:33] Duesentrieb: oh, let me try. [13:20:31] Tetracomm: {{expand}} is a template, not a hook, which is why it's not listed [13:20:39] It *uses* parserfunctions, but is not one of the, [13:20:42] *them [13:20:50] Oh. [13:21:58] I copied the expand template into the extensions folder, but I don't see it on the Special:Version page. [13:22:13] You should copy it to the [[Template:Expand]] page on your wiki [13:23:21] What? [13:23:41] I copied the expand template folder to the extensions folder. [13:23:45] What else should I do? [13:23:55] Duesentrieb: thx, i used wrong file =\ [13:28:21] is it generally allowed for a extension to alter the db backend? (like add columns to tables) [13:28:46] sure [13:28:51] but usually you add your own tables [13:29:04] i see [13:34:08] I really need this to work. :( [13:36:31] This page says that I might need to copy a CSS file: http://www.mediawiki.org/wiki/Help:Templates#Copying_from_one_wiki_to_another [13:40:52] Roankattow. :( [13:41:13] Sorry, i'm new, could you bear with me a little longer? I think I am almost there. [13:42:55] Tetracomm: You need to create a *wiki page* called Template:whateveritsnameis, in which you put the stuff you copied from Wikipedia [13:43:09] Yes. [13:43:11] (Template:Expand , right?) [13:43:23] I created Template:Expand. [13:45:44] Then clicked edit on the wikipedia template:expand page and copied that code into my Template:Expand. [13:49:19] btw dudes, how to make block "new pages" on main page? [13:49:52] Tetracomm: So insert {{expand}} on a different page somewhere and see what happens [13:52:50] I setup ConfirmAccount , but when I create a user it is not sending out authorization email [13:52:55] where can I find those emails ? [13:53:42] It sends them to an e-mail address in some $wg variable in LocalSettings.php [13:53:53] RoanKattouw I set that variable [13:53:57] but its not sending out email [13:54:03] nothing is logging in maillog [13:54:16] Hmm [13:54:49] RoanKattouw any place should I look ? [13:54:59] ConfirmAccount config maybe [13:55:07] 03(NEW) "new section" tab added by __NEWSECTIONLINK__ not shown for non-view actions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20177 minor; Normal; MediaWiki: Page rendering; (matthew.britton) [13:55:19] Make sure you actually configured it to send those e-mails [13:56:16] RoanKattouw just a doubt where should that email go? to admin or to that user ? [13:56:33] RoanKattouw: I did, and it says this: Template:AmboxTemplate:DMCA [13:56:33] Lemme check [13:57:03] Tetracomm: Go to http://en.wikipedia.org/wiki/Special:Export/Template:Expand , choose "include templates" and click download [13:57:03] It goes to whereever you've configured to send it [13:57:14] $wgConfirmAccountContact specifies where the email should go [13:57:23] 03(mod) Vector skin hides 'new section' link in drop-down menu - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20158 (10matthew.britton) [13:57:27] Tetracomm: That'll download an .xml file you can import into your wiki by going to Special:Import [13:57:46] I am seeing some code in the browser, but not an actual page. [13:58:08] 03(FIXED) Vector skin hides 'new section' link in drop-down menu - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20158 +comment (10roan.kattouw) [13:58:33] Tetracomm: Sorry, I got the link wrong [13:59:01] Tetracomm: Go to http://en.wikipedia.org/wiki/Special:Export , fill out "Template:Expand" in the big text box, check Include templates and click Export [14:01:22] Import failed: Upload of import file failed. A temporary folder is missing. [14:01:37] 03(NEW) Preferences refuse to change - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20178 critical; Normal; MediaWiki: User preferences; (cuerden) [14:02:08] werdna: ----^^ [14:02:26] How cute, wikibugs. [14:02:41] Nvm that, but why am I getting that error? [14:03:19] I'm investigating that [14:03:39] Ok. [14:05:06] Tetracomm: PHP uploads aren't configured properly [14:05:15] It's a PHP configuration issue [14:06:59] Tetracomm: Can you view the phpinfo.php for your server and look for upload-tmp-dir ? [14:07:09] upload_tmp_dir sorry [14:07:34] Lawd. :( [14:07:36] Ok. [14:07:41] I have managed to correct email issue thanks :) [14:07:58] now I have to delete one user how ? only from direct mysql ? [14:09:15] !deleteuser [14:09:15] --mwbot-- Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [14:09:22] its not recommended deleteing users [14:10:09] 06(LATER) Make status UNCONFIRMED by default - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4194 +upstream; +comment (10innocentkiller) [14:11:17] ashley: poke [14:11:21] RoanKattouw if I install eaccelerator , should I change anything in mediawiki side? [14:11:55] whiteflag: No, unless you want MW to use eAccelerator's caching (could improve performance), in which case you have to change $wgMainCacheType or whatever it's called [14:12:33] But IIRC those cachetype vars default to CACHE_ANYTHING and will automatically use eAccelerator if available [14:13:15] <^demon> RoanKattouw: no, it sets based on install to cache_none I believe [14:13:25] wut [14:13:27] RoanKattouw now its set to CACHE_NONE [14:13:32] Oh [14:13:36] RoanKattouw what should I set? [14:13:36] Where is phpinfo? [14:13:40] You need to set it to CACHE_ACCEL I think [14:13:49] Tetracomm: If you have FTP access, you can create it yourself. [14:13:57] Put that line in a file called phpinfo.php and FTP that somewhere [14:14:21] RoanKattouw okay [14:14:23] *^demon uses CACHE_DB :) [14:14:26] FTP that anymwhere? [14:14:55] Well someplace that's accessible from the wb [14:14:57] *web [14:19:09] RoanKattouw http://pastebin.com/d1759a2ad [14:19:11] is that fine ? [14:19:27] RoanKattouw: I created that file and uploaded it, so I should create upload-tmp-dir now? [14:20:02] Tetracomm: Go to the URL of that uploaded file and search for upload_tmp_dir [14:20:15] What? [14:20:30] I mean I created and uploaded phpinfo.php. [14:20:43] and put in that line that you said to put in it. [14:21:09] Tetracomm: Yes. Can you give me the URL to phpinfo.php ? [14:21:41] 03(FIXED) allow cropping images when rendered - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7757 +comment (10Bryan.TongMinh) [14:21:48] Yes. [14:22:40] Roankattouw: http://kompulsa.staatsschutz.org/phpinfo.php [14:23:02] how can I confirm mediawiki is using eaccelerator ? [14:23:07] Hmm upload_tmp_dir is not set WTF [14:23:32] Tetracomm: Try adding this line to the *top* of LocalSettings.php: ini_set('upload_tmp_dir', '/tmp'); [14:23:42] And see if that fixes it [14:25:55] Same message. :( [14:26:02] Under Yes [14:26:57] Hmm [14:27:05] Yes, well, I got the same message. [14:27:07] Tetracomm: Can you try adding it to phpinfo.php as well, before phpinfo(); [14:27:13] Ok. [14:27:24] So that'd be I cannot find anything in cache folder when I access mediawiki :( [14:28:11] Same error. :'( [14:28:26] I'm not supposed to end it with ?>? [14:28:33] 03(mod) Change of way to initialize editToolbarConfiguration structure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20125 (10roan.kattouw) [14:28:52] No [14:29:04] WTF [14:29:09] It refuses to set upload_tmp_dir [14:29:16] Tetracomm: Do you have access to php.ini? [14:30:16] uplad_tmp_dir is PHP_INI_SYSTEM [14:31:03] OverlordQ: ? [14:31:14] Oh you can't change that with ini_set? [14:31:34] *^demon blogged [14:31:53] no [14:32:43] 03purodha * r54789 10/trunk/extensions/Babel/ (Babel.i18n.php BabelLanguageCodes.class.php): [14:32:43] Typo correction, add several messages for languages that are not currently [14:32:43] supported at translatewiki.net - most copied from wikipedias, mostly the German one. [14:35:11] But the docs does say "The temporary directory used for storing files when doing file upload. Must be writable by whatever user PHP is running as. If not specified PHP will use the system's default. " Have no clue what it would consider "System's default" [14:35:32] Well it complains about there not being a tmp dir when he uses import upload [14:36:23] can it write to /tmp and/or /var/tmp? [14:39:25] 03(mod) linktrail for el (Hellenic) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19949 (10geraki) [14:40:26] Roankattouw: I will try to access it. [14:41:00] Where is php.ini? [14:41:14] Tetracomm: Usually in /etc/php or /etc/php5 or something [14:41:25] On my box it's in /etc/php5/apache2 [14:41:42] Oh! php.ini on the server. [14:41:46] I don't have access to that. [14:42:13] :( [14:42:18] Shared hosting? [14:42:26] :( [14:42:27] Yes. [14:42:39] I just wanted it to look like Wikipedia. :( [14:43:21] Then complain to your host that file uploads are broken because upload_tmp_dir isn't set (or not set correctly) in php.ini [14:43:28] Ok. [14:43:40] I am waiting for him to come online. [14:46:45] He is online. [14:46:57] I will tell you how things go later. [14:47:02] Thank you for trying to help. :) [14:53:49] how can I delete one main page ? eg: community portal ? [14:54:21] 03(NEW) Change to Userlogin page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20179 normal; Normal; Wikimedia: General/Unknown; (pbeaudette) [14:59:10] whiteflag: You mean remove it from the sidebar? [14:59:13] whiteflag, just as any othe page [14:59:15] !sidebar | whiteflag [14:59:15] --mwbot-- whiteflag: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [14:59:21] to remove from the sidebar... [14:59:34] yess [14:59:36] thanks [14:59:54] 14(INVALID) Change to Userlogin page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20179 +comment (10innocentkiller) [15:07:42] RoanKattouw eaccelerator is not caching mediawiki pages :( [15:08:06] Not caching entire pages maybe, but it may hold the parser cache and stuff [15:08:29] Is there a way to look inside the eAcc cache and see what data is in there [15:08:34] (or at least the keys would be helpful) [15:16:06] *^demon just made a {{fixme}} template on mw.org for crappy documentation :p [15:24:08] ^demon: but have you applied it anywhere? :-P [15:25:16] Fun fact: I've now written more than 70% of LiquidThreads [15:26:04] *RoanKattouw should check how much of the API he's written [15:26:09] How do you check that, anyway? [15:26:16] svn blame | awk or something? [15:26:59] $ for file in `find . | grep -v .i18n.php`; do svn blame $file >>line-attribution; done [15:27:15] $ perl -pe 's/^\s*//g; s/^(\d+)\s+(\w+).*/$2/g;' line-attribution | sort | uniq -c | sort -n [15:27:33] my eyes [15:27:37] OK Perl is Chinese to me but I'll run it just for fun [15:28:20] I tried s/\s*/\t/ instead, and then cut -f2, but cut broke on some special chars [15:31:54] <^demon> apergos: not yet :p [15:32:52] Hmph I've only written a lowly 39.7% of the API [15:33:16] Yuri hasn't coded anything for like 2 years and he's still got 33.5% :O [15:38:53] Hello [15:39:10] hi [15:40:16] <^demon> RoanKattouw: do we still use that much original code? [15:41:07] Apparently so [15:41:14] After changing the $wgScriptPath from "" to "/w", and changing conf, and rewriting rules accordingly, everything is working perfectly. Except that Apache generate "PHP Warning: mkdir() Permission denied ... in GlobalFunctions.php". [15:41:39] It's for this wiki: http://fr.ekopedia.org/ [15:42:00] jlhenry: What's the complete error message? [15:42:20] [Tue Aug 11 15:38:49 2009] [error] [client 90.17.202.130] PHP Warning: mkdir() [function.mkdir]: Permission denied in /srv/www/files/fr.ekopedia.org/w/includes/GlobalFunctions.php on line 2012, referer: http://www.google.com/search?hl=fr&q=robinet+entartr%C3%A9&lr=&aq=f&oq=robinet+entart [15:42:52] ^demon: http://dpaste.org/CD87/ [15:42:58] <^demon> RoanKattouw: that mkdir() is so massively unhelpful...we need a way to debug what dir is being created (a dozen different things call wfMkdirParents()) [15:43:12] Number of lines that svn blame attributes to those users [15:43:14] that coulda been done a lot easier with awk :P [15:43:24] it means that when some call http://fr.ekopedia.org/D%C3%A9tartrant, it generates errors. [15:43:52] jlhenry: Set the permissions on your thumbnail directory to 777 [15:44:01] but it seems that it is every page with images [15:44:26] svn blame $file | awk '{print $2}' | sort | uniq -c [15:44:52] I have check done a complete check of rights before. [15:45:20] chown -R www-data.www-data images/ && find images/ -type f -exec chmod 644 {} \; && ind images/ -type d -exec chmod 755 {} \; [15:45:22] jlhenry: Including the thumbnail dirs? [15:46:07] 755 -> 777 ? [15:46:23] (Yes, that includes the thumb dir BTW) [15:46:33] You might want to know that I am using $wgUseSharedUploads but some images are still in the local [15:47:16] ^demon: there was a live hack to debug that... no? [15:47:33] I use 755 for directory; it's right to do it like that when the file owner is the web server user [15:47:52] ^demon: r53381 [15:48:18] <^demon> Nikerabbit: if callers specify a caller param to wfMkdirParents(). None do. its about as useful as Db->query() when no __METHOD__ is passed [15:49:03] <^demon> Nikerabbit: and that's only wmf, not trunk [15:49:17] ^demon: hmph, any reason not to put it into trunk? [15:50:14] if you want me to try debuging live I can. [15:50:38] <^demon> Tbh, we could probably revert r48417 and push the wmf-deployment hack to trunk [15:51:12] <^demon> Nikerabbit: Nothing uses the param added in r48417, so that can safely be pulled back. [15:51:24] <^demon> I like Brion's hack :P [15:53:36] ^demon: :O [15:54:32] <^demon> Nikerabbit: go for it :D [16:00:22] RoanKattouw, have you any idea what can I do? [16:00:52] jlhenry: Try 777 anyway and see if it helps? [16:00:58] k [16:01:37] nop :( [16:01:40] still the same [16:01:45] [Tue Aug 11 16:01:28 2009] [error] [client 81.13.176.172] PHP Warning: mkdir() [function.mkdir]: Permission denied in /srv/www/files/fr.ekopedia.org/w/includes/GlobalFunctions.php on line 2012, referer: http://www.google.ch/search?hl=fr&q=petites+pens%C3%A9es+positives&meta=&aq=0&oq=petites+pens%C3%A9es [16:03:15] can I add some php to discover the directory it's trying to create? [16:04:11] jlhenry: Yes, sec [16:04:15] :) [16:04:24] ^demon_: naa. why me? :o [16:04:53] jlhenry: Does line 2012 of GlobalFunctions.php say return mkdir( $dir, $mode, true ); // PHP5 <3 ? [16:04:57] <^demon> Nikerabbit: cuz I can't commit from work :p [16:05:27] excatly "return mkdir( $dir, $mode, true ); // PHP5 <3" [16:05:29] yes [16:05:30] If so replace it with var_dump($dir); var_dump($mode); [16:05:54] Maybe with die(); after it if you don't see anything [16:06:21] ^demon: :o [16:07:36] result is: "string(44) "/w/images/thumb/9/9d/Noia_64_apps_locale.png" int(511)" [16:08:16] This directory exist. [16:08:24] and contain files [16:08:34] <^demon> Filerepo really needs to fail nicer or directory creation failuure. [16:08:42] and it has good rights [16:08:42] <^demon> failure, even. [16:09:05] *^demon whines some more in his corner [16:09:09] *RoanKattouw wonders why it's string to set mode=511 [16:10:13] I have a question about the squids on [[Intimacy (Bloc Party album)]]. The squids server revision 20090808224225, while the current cache is 20090811151141 [16:10:16] jlhenry: Try to set $wgDirectoryMode = 755; in LocalSettings.php? [16:10:28] yes [16:10:45] Dispenser: Those are different caches. There's a squid cache and a parser cache [16:10:46] *^demon loves $wgDirectoryMode :D [16:11:18] Result: string(44) "/w/images/thumb/9/9d/Noia_64_apps_locale.png" [16:11:18] int(755) [16:11:27] yes, they have the same token, but why does the squid server the older version [16:11:30] Dispenser: Hey wait you're right that is weird, where'd you get those timestamps from? [16:11:45] jlhenry: Now restore line 2012 to its original contents? [16:11:51] from /wiki/ and /w/index.php?title= [16:12:14] Dispenser: Could you explain in more detail how you obtained those numbers? [16:13:11] from http://en.wikipedia.org/wiki/Intimacy_%28Bloc_Party_album%29 [16:13:14] [16:13:14] just done. Errors still here.... checking. [16:13:17] http://en.wikipedia.org/w/index.php?title=Intimacy_%28Bloc_Party_album%29 [16:13:18] [16:15:10] Both logged out in Internet Explorer 7 [16:15:56] Dispenser: Hmm that's weird, no idea why that happens. But if there were no changes to the article between those times, it should be fine [16:16:31] the was the addition of image alt text and a user reported it as a bug [16:16:51] This is werid, you should report this in #wikimedia-tech [16:17:29] hi [16:17:41] I am having problems with the mwdumper tool. I have a mysql server running and downloaded enwiki-20090731-pages-articles.xml - when i try to fill the database with mwdumper it aborts after 2000 pages: [16:17:52] Exception in thread "main" java.io.IOException: java.sql.SQLException: Not a valid escape sequence: [...much ouput deleted...] at org.mediawiki.importer.XmlDumpReader.readDump(Unknown Source) at org.mediawiki.dumper.Dumper.main(Unknown Source) [16:19:27] 03(NEW) Bookmarks / page title on Wikipedia Mobile - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20180 enhancement; Normal; Wikipedia Mobile: server; (malrase) [16:19:28] i tried to find the error in the xml data. When I just take the first 1652 pages in the xml file it doesn't crash [16:20:03] after 1653 it does. But when I take 1653 alone no error occurrs [16:20:20] I am kind of stuck there. Any ideas where to look for the error? [16:20:39] ponk: depends, are you willing to do some java debugging? [16:21:18] if I have to... but its not my favorite language [16:21:31] so where should i start? [16:22:28] good afternoon! [16:22:34] quick question: [16:22:53] I just installed mediawiki..., at the end, it tells me to move the LocalSettings.php file [16:23:02] <^demon> brion: debugging mwdumper is fun for the whole family :) [16:23:05] and to change:::You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data. [16:23:31] which permissions should these be? remove write and read? or just write? [16:23:35] ponk: well, peek at the bit of the output that the db driver is complaining about [16:23:39] then see what's being generated [16:23:45] then check how the escaping functions would generate that [16:24:01] At the moment, it is at CHMOD:666 [16:24:32] <^demon> knob: you want php/apache to be able to read it, but nothing else [16:24:49] on RC: what is the link "Show new changes starting from (NOW)" ought to do? Seems very uselss [16:25:26] hm, okay. Thanks. Looks like something which isn't done in half an hour [16:26:08] RoanKattouw_away, the errors are still here :( [16:26:23] it always results in empty output and by what it reads it's why RC lists anyway by deafult [16:26:59] **what [16:27:57] i'm about to remove it and add something more useful like: Hide Users: [______] [16:39:57] so anybody knows what the timestamp is there for? [16:40:13] brion: CodeTestRuns looks broken with "$run->insertData( $results );" [16:40:18] where is that function? [16:42:42] hmm, prolly meant "insertResults" [16:45:22] hum [16:46:18] prolly yeah :) [16:46:42] i can only assume that code path isn't currently being followed ;) [16:48:33] 03aaron * r54790 10/trunk/extensions/CodeReview/backend/CodeTestRun.php: fix typo [16:49:56] \o/ [16:50:07] working on that email thingy [16:51:54] 03(mod) Default access keys for custom namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20126 (10lejonel) [17:01:41] I manually created an XML dump of the Valve Developer's Wiki through Special:Export and I'm using importDump.php to import it into a local wiki. [17:01:47] How long should it take? [17:02:09] The dump is over 5000 pages + revisions. It's about 600MB [17:02:56] 03(mod) Default access keys for custom namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20126 (10lejonel) [17:04:23] RoanKattouw, this is very strange! [17:09:00] I have commented this ligne: $wgUploadDirectory = "$wgScriptPath/images"; (where $wgScriptPath = "/w") and error messages have disappear! [17:09:48] brion: I recently asked this and was told to ask you instead. Sidebar: Is it possible to add two unique links in one row? [17:11:01] jlhenry: unless your uploads directory is in a directory called "/w/" at the root of your filesystem that's wrong [17:12:18] brion, my upload directory is in /w/images [17:12:43] jlhenry: is that your directory on the filesystem? [17:12:45] or your URL path? [17:12:57] I have just change the root directory of our wiki from / to /w [17:13:03] URL path :) [17:13:23] full "/srv/www/files/fr.ekopedia.org/w/images" [17:15:45] brion, the full story is that I changed the root, I changed the conf and the rewrite rules. Everything is working perfectly except!... I was getting PHP Warning: mkdir() Permission denied in GlobalFunctions.php on line 2012 when the wiki was trying to load local images. [17:16:03] jlhenry: sounds like you want to set $wgUploadPath then, not $wgUploadDirectory [17:16:13] you have also to know that our wiki has some images in local but all images are in a central base. [17:16:44] but images in local are not anymore useful as our central base has all images. [17:18:13] brion, Ho!!! lol I think that you got it right :) [17:19:15] yep.... verification made... MY BIG mistake. [17:19:19] Thanks all! [17:20:07] if you want to edit a page in the $wgSitename or {{SITENAME}} space that is blocked in the LocalSettings.php couldn't you just set the $wgGroupPermissions['*']['edit'] = true; then set it back to false after your code hits that page? [17:20:30] or updates that page would be better said [17:23:40] that didn't work for me, so is there a way to do this? [17:25:13] Simetrical: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/54768 issue... [17:25:29] per html 4 spec (so should be same in xhtml 1) type attrib is required on