[00:00:12] I remember some sort of promote or desysop type extension(s) [00:00:27] Makesysop [00:00:32] !e Makesysop [00:00:32] --mwbot-- http://www.mediawiki.org/wiki/Extension:Makesysop [00:00:37] but it's been deprecated by an updated userrights system [00:00:54] !e Desysop [00:00:54] --mwbot-- http://www.mediawiki.org/wiki/Extension:Desysop [00:01:00] (for desysopping others) ;) [00:02:55] Skizzerz: Usually for hooks, we do something like "EditPageAfterEditButtons" or something like that [00:03:15] ok, I'll rename it ;) [00:03:23] that was just a guess btw [00:03:26] but you get the picture [00:03:44] *Skizzerz didn't find any page about naming hooks :P [00:04:02] there isn't one. I just got yelled alot by robchruch. ;-) [00:04:41] hehe, he had a thing for hooks [00:05:10] he had a thing for lots of stuff. ;-) really is too bad he moved on. [00:05:35] yeah, it is [00:06:33] Did he move on, or just vanish for a while? [00:06:43] not sure, really. [00:06:56] His blong said he wouldn't be contributing for a while. [00:07:17] Maybe he'll come back, I hope he does. [00:07:27] He hasn't posted anything to his blog either since he left. [00:07:38] w/ all the new devs, he'll be pulling his hair out in no time. [00:07:52] :P [00:08:51] TimLaqua: not quite sure if "EditPageAfterEditButtons" would be accurate though, considering it's used to change the buttons themselves, not to inject stuff after the buttons have been displayed [00:09:26] Skizzerz: I'd say EditPage for the class, and After/Before 'something' [00:09:42] editpageaftereditbuttons was just a guess. ;-) I didn't look at exactly where it executed [00:09:45] BeforeEditButtons ;) [00:09:59] golden [00:10:04] it executes in getEditButtons [00:10:18] almost sounds like we have a naming scheme. [00:10:30] xD [00:11:43] how would I handle the RELEASE-NOTES? make a mention that the hook was renamed, or silently overwrite the previous entry about it being added? [00:11:52] rename it [00:12:06] (overwrite) [00:12:11] mmk [00:12:36] if someone want's to *actually* know how things got to be what they are, we have these nifty svn logs. [00:12:59] Is it possible to access template parameters from within the core code, for example is it possible to access {{{1}}} using PHP? [00:13:38] Rename a hook that existed in previous revisions? Isn't that kind of sucky? [00:13:59] naaa, nobody used it [00:14:13] 'cept for maybe Skizzerz [00:14:18] xD [00:14:22] not yet, anyway [00:14:43] it existed for maybe 10 minutes before I changed it, that's a pretty small window to write an extension [00:14:52] ya, sounds like a good place for a hook. [00:16:02] now I can transition force preview from javascript to PHP xD [00:16:41] Skizzerz: the beauty of commit access. ;-) [00:24:32] 03(mod) Support collation by a certain locale ( sorting order of characters) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=164 (10brion) [00:26:02] Skizzerz: a thought [00:26:08] yes? [00:26:24] some extensions may prefer to offer different edit buttons depending on the page (functional namespaces, for instance) [00:26:37] it might be wise to pass in either the title or the editpage object as well as the array [00:26:51] yeah, I was just thinking about that as I was writing my extension [00:28:40] brion: have you ever thought of assigning bugs to devs? I'm not 100% on the bugzilla workflow, but I know that I'd work on bugs if it were assigned to me. It's just so easy to assume someone else will fix a bug. [00:29:02] TimLaqua, assigning bugs to volunteers doesn't work so great, usually. :) [00:29:08] :) [00:29:19] Brion assigns bugs to himself and Tim. You can assign bugs to yourself if you want. [00:29:25] currently i've only got one dev employee, and i tend to assign him big things :) [00:29:26] I have lots assigned to me, which I totally ignore. [00:29:29] but we're working on such things [00:29:43] Simetrical: I'm just saying if someone expected me to fix a bug. It'd be fixed. ;-) [00:29:53] if you'd like to volunteer to do bug fixes i can start assigning you things :) [00:29:54] timichal: 2257 :D [00:29:59] *TimLaqua [00:30:30] lol, indeed. [00:30:52] *Simetrical assigns TimLaqua bug 1 [00:32:04] isn't 2257 sort of fixed by #tag now? [00:32:12] "sort of" [00:32:20] Yeah, if you enjoy pipe hell [00:32:23] ok, ok, we all know that there are certain bugs that arent "break/fix type bugs" (ITIL Known Errors/Problems/etc) - but there are certainly a pile of bugs that could be wiped out by assignment [00:32:31] Dashiva: well, i do ;) [00:32:41] TimLaqua, if the assignee were willing to fix them. [00:32:46] brion: how's hiring going, btw? [00:32:55] Especially when the new parser comes along and kills any attempt at using pipes inside parser functions [00:32:55] If you mean little bugs, maybe our new junior programmer will get assigned bunches of those. [00:33:02] Who knows. [00:33:07] And yeah, what BrokenArrow said. [00:33:11] Any applicants yet? [00:33:12] BrokenArrow: got a pile of resumes to go through [00:33:13] whee [00:33:18] cool :) [00:33:19] Oh, good. [00:33:25] Let's hope some are competent. :) [00:33:44] Skizzerz: looks good :D [00:33:45] anyone from here? [00:33:46] Simetrical: sure, some volunteers don't want to be assigned bugs - but I'd assume many would be willing to carry a particular workload [00:34:09] i ain't read em all yet, but didn't see any familiar names :D [00:34:28] lol "please include irc nick" [00:34:29] TimLaqua: i've wondered the same thing for months [00:36:10] i certainly don't want 300 bugs in my queue any more than the next guy, but if I had bugs dropped in my queue (say i had a queue limit of 3 or 4) when there was an opening, right on. [00:36:49] i mean standard workflow stuff. "i can't do this" and pass it back the queue. [00:37:19] er... main queue/pool... [00:37:33] *nod* [00:37:45] i'd like a nice little "next things up" queue people can easily draw from [00:38:03] for sure. [00:38:08] brion: maybe flyingparchment is in there ;) [00:38:28] only if flyingparchment wants to move to san francisco :) [00:38:48] No commuting? [00:39:03] commuting from england probably won't work [00:39:17] i'm sure we could build some sort of tunnel... [00:39:38] the foundation had this bizarre idea to hire a single person to do office IT support and mediawiki development, which i assume is why it needs to be onsite [00:39:47] TimLaqua: just invent the Transporter [00:39:55] like trek [00:40:03] i'd invent a replicator first. [00:40:28] hmm, should we invent warp drive too? [00:40:36] flyingparchment: we can't dedicate a full position to it support [00:40:42] let's not overreach here. [00:41:51] wait a second, isn't this #mediawiki i'm in not #wikimedia ? [00:41:55] and i'm tired of being asked to set up printer drivers and show how to click things [00:41:55] but i have no problem making the noob do that :D [00:42:19] What is a "noob"? Do you mean "no0b"? [00:42:23] brion: go hire a co-op kid on contract [00:42:36] brion: I still don't see why telecommuting isn't an option. ;-) [00:42:52] *AaronSchulz loves airplanes [00:44:02] tawker3: most of the it support issues are things that take a couple minutes when you're there [00:44:12] tawker3, who gets hired as junior developer is highly relevant to #mediawiki. :) [00:44:18] if you have to call someone in or talk them through it over the phone, it'll take a billion times longer [00:44:29] could you vpn and vnc it all? [00:44:34] *AaronSchulz is pleased with the contract route [00:44:38] short of a hardware failure... you should be able to do that [00:44:42] see above "billion times longer" [00:44:54] I calculate that a couple billion minutes is a few thousand years. [00:45:03] fact is, in any office *some* schmuck ends up being the "hey can you make the printer work" jockey [00:45:07] i just need that to not be me [00:45:33] tawker3, VPN and VNC changing the toner cartridge? [00:45:35] 1 billion minutes = 1 901.32588 years [00:45:44] If you have a robot, maybe . . . [00:45:53] MZMcBride, pedant, you accounted for leap years. [00:45:55] Simetrical: gp [00:45:57] :D [00:46:03] well, google did :) [00:46:06] brion: you are the Chief Printer & Modem Officer [00:46:10] brion: why not hire a high school or college kid? Isn't rolling the MW dev thing in there make for an odd position? [00:46:14] Simetrical: thanks for reminding me btw, (changes toner) [00:46:15] Ah, see, I used a calculator. [00:46:27] 1 year = 365.242199 days [00:46:33] :? [00:46:47] TimLaqua, what, the MW dev isn't a high school or college kid? :) [00:46:54] He said, the IT guy can't be full-time, that would be crazy. [00:47:00] There are like five people working at the office. [00:47:11] Or ten or whatever. You have to have them do something else the rest of the time. [00:47:12] yeah, it'd be waay overkill [00:47:36] Good job, though. Fix people's printers one hour a day, surf the web the rest. [00:47:52] Simetrical: lol - actually, OTRS [00:47:54] naaa, you can get a high school kid for 10-20 hours a week at or below $10/hr [00:48:02] even a college guy/girl [00:48:11] *AaronSchulz likes college girls [00:48:12] turnover's higher, but w/e [00:48:12] TimLaqua, and then he's gonna be in the office the whole time? [00:48:17] i wonder if the foundation considered volunteers for jobs like that.. is that sort of thing common in the US, or not? [00:48:23] TimLaqua: on what planet.... most college guys in IT here are 15-20/hr min [00:48:29] US/CAD is more or less the same atm [00:48:38] tawker3: not on-campus/convienence workers [00:48:49] flyingparchment, well, the old office had a bunch of volunteers, didn't it? [00:49:04] did it? i don't remember any [00:49:14] Maybe not? I thought it did. [00:49:16] and "printer guy" doesn't need to be a hardcore "it guy" [00:49:26] just needs to be nice, talkative, and patient. [00:49:37] TimLaqua, you still need someone there full-time to do it. [00:49:39] One way or another. [00:49:42] Can't get around that. [00:49:48] So the rest of the time they have to do something else. [00:49:53] just schedule your downtime. ;-) [00:50:04] What more logical than programming? Any programmer should be able to fix people's crashed Word or whatever. [00:50:09] things can only break Monday, Wednesday, or Friday 8-12 [00:50:21] Simetrical: ooooo, that's a very poor assumption [00:50:33] *Practically* any programmer. [00:50:39] i've never changed a printer cartridge in my life [00:50:49] . . . How did you manage that feat? [00:50:49] i'm sure the manual explains it, but you don't need an IT person to read a manual ;) [00:50:54] *AaronSchulz looks at flyingparchment [00:51:02] IT people don't read manuals, they just know stuff regardless. :P [00:51:04] Simetrical: i don't print stuff. [00:51:08] Well, that works. [00:51:10] IT jobs are very overpaid in relation to the amount of work/education. [00:51:14] you get guys to do it for you? [00:51:29] *AaronSchulz watches the boat rock [00:51:34] kazol: supply vs. demand [00:51:36] kazol, only if you get bilked. :) [00:51:40] Which is easy, in IT . . . [00:51:52] You need a competent technical interviewer, which is sort of a chicken-and-egg problem. [00:53:03] Just read thedailywtf.com for plenty of examples. [00:53:46] I don't think most developers make good "office it guys" [00:54:35] brion: they pry just come to you because you're a nice guy. Just stop showering, i'm sure they'll get the hint. [00:55:12] :) [00:55:27] to summarize again: [00:55:30] anyhoo, i'll sign up for your "what's up next" queues. ;-) [00:55:44] 1) we need fairly little IT support, but when we do it's easiest to have someone there on site right then and there [00:55:58] 2) the result of this is, if we don't hae someone who's job is IT support, someone else on site does it instead [00:56:11] 3) that shouldn't be a senior employee with lots of other work to do [00:56:53] you need to job share it w/ something else we need [00:56:56] to cut down on costs [00:56:58] so we can either LIE and not tell the new guy that he'll be fixing peoples printers [00:57:05] or we can make it explicit :) [00:57:12] I like the former [00:57:17] hehe [00:57:21] "it's in the PD!" [00:57:44] "... and perform other various IT related tasks as assigned." [00:58:17] http://www.mevis-research.de/~meyer/MISC/di/dt970114.gif [00:58:36] me believes that it was a good idea not to apply on this job. [00:58:56] i HATE pushing printers around the office [00:59:22] :) [00:59:22] Isnogud: I have a grand total of 1 printer for 30 ppl [00:59:24] i figure i'm doing ok [00:59:52] reminds me of this office guy....hum. yes. here he is: http://youtube.com/watch?v=86g8PP0tDNs [01:00:08] really. could be me. if i would be older. [01:00:56] sorry for posting this off topic ... but it's really worth watching [01:01:51] Isnogud: LOL [01:02:01] *brion doesn't think this is the proper procedure for print screen [01:03:05] well. indeed. but ... it's kind of clever workaround [01:08:24] hmm, kinda too on-topic for this channel but [01:08:34] does anyone know if any good extensions to allow for user based access control [01:08:41] to view/edit specific pages [01:08:55] !cms [01:08:55] --mwbot-- You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See if you really want too. [01:09:02] and or so [01:10:45] k [01:11:22] ah forget it, I don't think we have a huge need for individual page control [01:11:24] EA worked well without it [01:11:32] we have usage stats on mwbot? [01:11:44] *do we [01:12:29] 03(FIXED) Disable filepath extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12957 +comment (10brion) [01:14:45] 03(NEW) Items not numbered correctly in several special pages in Arabic (ar) wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13001 15enhancement; normal; Wikimedia: General/Unknown; (meno25wiki) [01:17:20] mwbot keeps channel logs so you might be able to generate them from that [01:18:16] brion, you know, Linker::getLinkColour now also adds the redirect class if applicable. So if the redirect class is to be added to things made with makeLinkObj, the conditional is too restrictive. [01:20:46] oh! everything you whisper to mwbot is logged? [01:20:59] If not, actually, can't it be skipped if $threshold == 0 too? [01:21:22] yep [01:21:33] @ isnogud that is [01:22:23] *Simetrical tries to figure out how to invite mwbot to #wikipedia, to cause havoc and ill-will [01:23:01] I can put a duplicate there, until we get amidaniel to relaunch it [01:25:07] well...did you ever check mwbots !wikipedia info? [01:26:44] *tawker3 sets mode +b Simetrical [01:27:51] 03(mod) Improper use of WebRequest::getIntOrNull() - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11330 (10brion) [01:29:26] Simetrical: I was just about to reply to you on wikitech-l [01:29:50] link colours are never fetched from memcached [01:30:26] $wgLinkCacheMemcached was an experimental feature that was abandoned after initial testing due to insufficient performance gains and cache invalidation problems [01:30:33] it can be removed [01:31:08] 03(mod) Items not numbered correctly in several special pages in Arabic (ar) wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13001 (10brion) [01:37:15] 03(FIXED) Inputbox Comment Function Flawed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12809 +comment (10brion) [01:45:33] TimStarling, by "link colors" you mean Title::getArticleID()? Because that's what I was seeing fetched from memcached, which means the query can't be merged, was my point. [01:45:41] At any rate I was seeing no database query for it. [01:56:54] Simetrical: yes [01:58:06] it calls LinkCache::addLinkObj() [01:58:22] which queries memcached if $wgLinkCacheMemcached is true [01:58:36] which, as I said, it never is [01:59:44] I wonder why I was seeing no query for that, then. [01:59:51] My error, probably. [01:59:56] maybe it was in the link cache already [02:00:28] LinkBatch can add its results into the link cache [02:02:54] Yes, it probably was, if I was looking at categories on an article view. [02:03:14] There's a LinkBatch done there before the actual rendering of the categories, which uses makeLinkObj. [02:06:43] which reminds me, lets get rid of all function names that end with a preposition [02:07:07] or at least not introduce any more [02:07:27] executeInto() seemed like a good idea at the time, but it kind of presupposes that you know what its arguments are before it makes any sense [02:08:20] brion, what do you think? [02:09:34] heh [02:09:41] TimStarling, Title::moveTo()? [02:09:47] OutputPage::addReturnTo()? [02:10:02] Article::insertOn()? (Actually that would be a good candidate.) [02:10:07] prepositions are great in smalltalk or objective-c method names [02:10:18] [title moveTo: newTitle] [02:10:25] Brion's guilty of a few in Revision and the associated refactor [02:10:40] Some of these have no arguments, too. [02:10:45] User::blockedFor() [02:12:30] 03(mod) Limiting sitemap items by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12860 (10brion) [02:12:31] I bought a book about XP on the weekend, I hadn't read about it before [02:13:03] it's very... touchy-feely [02:13:26] for a book about software development at least [02:14:02] Touchy-feely? [02:14:27] "Prepare for success. Don't protect yourself from success by holding back. Do your best and then deal with the consequences. That's extreme. You leave yourself exposed." [02:14:43] . . . [02:14:51] "For some people that is incredibly scary, for others it's daily life. That is why there are such polarized reactions to XP." [02:14:59] XP is so 90s :) [02:15:12] How about sections titled stuff like "Introduction to the Most Common Win32 API Calls"? [02:15:23] not that XP [02:15:29] the other XP [02:15:30] not even the emoticon [02:15:32] The other XP? [02:15:40] extreme programming [02:15:42] Simetrical: extreme programming [02:15:48] Never heard of it. [02:15:57] the world's first wiki was about xp [02:16:14] it's a philosophy of software development based on the values of communication, feedback, simplicity, courage and respect [02:16:18] 03(mod) User rights log doesn't reflect removing of sysop rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12925 (10brion) [02:16:24] That *does* sound touchy-feely. [02:16:59] EXTREEEMMMMEEEEEEE [02:18:03] we're a little tiny bit XP in the fact that we have weekly deployment [02:18:49] but we're not particularly XP in the way that we mostly work alone, and have virtually no unit tests [02:19:04] yep [02:19:20] every once in a while i try to add more tests, but it's pretty half-assed [02:19:35] so you don't code while cliff diving? [02:20:05] the book recommends writing tests before writing code [02:20:14] think of a feature, write its test, then make the test work [02:20:36] However, XP has been noted for several potential drawbacks,[5] as compared to more document-based methodologies, including problems with unstable requirements, no documented compromises of user conflicts, and lack of an overall design spec or document [02:20:56] we already lack most of those things [02:21:01] WE HAVE NOTHING TO LOSE, GENTLEMEN [02:22:58] well yeah, XP calls itself a "lightweight" procedure, which is the closest thing to what we're doing now (i.e. no procedure) [02:23:53] so you'd think that it would fit in with what we do better than traditional document-driven design [02:24:27] Extreme Programming Explained describes Extreme Programming as being: [02:24:29] * An attempt to reconcile humanity and productivity [02:24:31] * A mechanism for social change [02:24:33] * A path to improvement [02:24:46] yeah, that's the book [02:24:50] * A style of development [02:24:51] * A software development discipline [02:25:00] it does get concrete eventually though [02:25:21] the website is very concrete, but sometimes not so relevant [02:25:27] doesn't sound all that "extreme" [02:26:10] are there hugs involved? [02:26:24] no. [02:27:37] Adopting four earlier values led to respect gained from others in team. Nobody on the team should feel unappreciated or ignored [02:28:01] see, that sort of thing is easy to extend to our situation [02:28:09] that's what Beck calls "values" [02:28:22] there is no plan, so make that the plan? [02:28:25] but when he gets down to specifics, he sometimes gets too specific for us: [02:28:40] "All phases of an XP project require communication with the customer, preferably face to face, on site." [02:28:50] "It's best to simply assign one or more customers to the development team. Beware though, this seems like a long time to keep the customer hanging and the customer's department is liable to try passing off a trainee as an expert." [02:28:52] (from the website) [02:29:13] well you do that pretty much [02:29:33] you have to think a bit more about how that applies to us [02:29:43] one point of difference is that we use our own software [02:30:41] TimStarling: Well yes. But your Point of View is more technical on all this things. [02:30:45] so maybe we're our own customers [02:30:46] I thought XP was a model built on small teams [02:31:31] like we call our model "XP" - and it's usually 2 person teams (sometimes 3, but the other one is usually a stakeholder - not a dev) [02:31:34] 03(FIXED) Wrong archive URL in FileDeleteForm::prepareMessage() - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12935 +comment (10brion) [02:31:58] well, 2 is a bit smaller than the kind of team the book talks about [02:32:11] it talks in terms of big projects that are delivered to big customers [02:32:19] and multiple pairs of programmers than can be moved around the project [02:32:26] ok, that makes sense [02:32:39] and sounds like it could be pretty hardcore. [02:32:54] remote pair programming could be fun [02:32:58] for sure [02:33:10] *AzaTht wonders when the new parser will roll out on all other wikis [02:33:17] only if we can trade in our partners. ;-) [02:33:19] maybe I'll try to grab someone for a remote pair programming session some day [02:33:26] *AzaTht looks suspiciously at tim [02:33:49] I could see it being more long-term. I don't feel that XP is very effective w/o established norms. [02:34:19] Wikipedia has a good article on pair programming, it's the non-crap kind of original research [02:34:22] read it before someone deletes it [02:34:28] ha [02:35:47] TimLaqua: In relation, I think waterfall isn't usefull, unless you know exactly what you are going to do [02:35:52] I wonder what sort of arguments you could make about a "mw dev" - like are any of us suited for remote pairs programming? I mean we all ended up here more or less as a solo endeavor. [02:36:06] AND have most of the people working on it writing documents [02:36:58] if you follow a waterfall model, you can theoretically never produce anything new [02:37:05] traditional waterfall sdlc is like 80's IBM stuff - I think sdlc can work, but not in the traditional "plan, analyze, design, implement, maint" style - it's gotta be all sorts of circular [02:37:10] 03(FIXED) actions=raw: templates=expand is ignored if section set. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12938 +comment (10brion) [02:37:22] if you manage to produce something new, then you phailed following the model ツ [02:37:31] TimLaqua: there's a reason why I've always been a solo programmer, and I believe it's much the same reason as brion's [02:37:40] lol. or by the time you hit implementation, it's not new anymore [02:37:46] hehe [02:37:52] s/by/if/ [02:38:08] touche [02:38:15] "i ALWAYS implement!" [02:38:28] I usually implement somewhere around the analysis phase. ;-) [02:38:30] I've never worked in a software development team [02:38:53] because I started as a hobby, where I worked on my own projects [02:38:54] TimStarling: whats MW then? [02:38:57] aren't we in one now? [02:39:11] TimStarling: is it because you're antisocial and poorly organized then? :) [02:39:14] and then moved into physics, where there were too few programmers to form teams [02:39:23] quants ftw! [02:39:27] it's only now that we have a team of sorts [02:39:44] but neither of us (brion and I) have a background in close collaboration [02:39:46] TimStarling: then you should be able to fix the quantum drift with the $1 problem ツ [02:39:48] so what are we (read: you and brion) going to do with your new team? ;-) [02:39:53] :) [02:40:04] not in the programming field at least [02:40:10] queues! [02:40:17] *brion did close collaboration in film school... this tends to lead to murder [02:40:21] TimLaqua: I couldn't see TimStarling and brion pair-program [02:40:26] there's only so much time you can spend in the edit bay before someone dies [02:40:28] can't [02:40:32] brion: film school? [02:40:52] no, if brion and TimStarling did XP, space-time would fold in upon itself [02:40:56] *brion is a USC film school drop out [02:41:06] then we'd have to find a new project to throw our time at [02:41:09] TimLaqua: XP != pair-programming [02:41:24] pfft. by your definition! [02:41:32] well, with the other parts of XP, we're mostly there already [02:41:34] no, by the definition of XP [02:41:41] it's the social part where we're way, way behind [02:41:55] someone defined xp? [02:42:01] is that allowed? [02:42:19] it's a tool for social change, TimLaqua [02:42:24] TimStarling: a couple of six-packs and some pizza will fix that part [02:42:25] omg [02:42:46] 03(mod) Activating "Makepatrol" on Italian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12939 (10brion) [02:42:51] if you refere XP to Extreme Programming, then yes, it's defined [02:43:37] we still do have a very small team though [02:43:51] I do - and I always used it as: small group (2-3), very close collaboration, no sit-down type meetings, just code-review-code-review [02:43:52] this is more like Poke programming [02:44:33] no, it's code-code-code-...-code-fuck [02:44:38] :D [02:44:39] or in my case, usually code-code-code-code-code----code-review [02:44:47] so yeah, sometimes your methodology [02:44:52] as far as I can tell, XP is a collection of ideas [02:44:55] people toss around terms like "agile methodolgies" for this sort of thing [02:45:05] brion: correct [02:45:24] the agile part is just one of them [02:45:34] could call it "where no man has ever gone before programming" [02:45:48] I don't think there's any common principle from which all the ideas flow [02:45:57] TimStarling: so you're saying that XP isn't exclusively agile by nature? [02:46:02] the master mind [02:46:21] TimLaqua: it's an agile method [02:46:28] agile is a category of design methodologies which XP falls into [02:46:50] XP is more specific because it implies a collection of ideas besides agile [02:46:56] 03(mod) show warning when filesize to big of uploaded file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12943 (10brion) [02:46:58] agile refers to that there are no strict preplanning like in waterfall [02:47:37] I always felt that XP is intended specifically to capitalize on the dynamics of very small group - and then all the accepted xp methodology is a result of maximizing benefit [02:48:01] everyone wants to maximise benefit [02:48:07] TimLaqua: XP is that you should program exactly 40 hours per week [02:48:10] the XP guy just talks as if he's the only one who knows how [02:48:20] TimStarling: hehe [02:48:47] I don't think XP is wall to wall programming. It's wall to wall collaboration. [02:48:58] waterfall was made from the guys who wanted to maximize profit [02:49:15] well, economics is listed as one of the core principles of XP in the book [02:50:16] who goes to the depest level of hell? economists or lawyers? [02:50:18] well, there aren't many metrics where XP would fall short of other methods - save the exception of the final product [02:51:25] the problem with XP is that it doesn't take into account of sudden energy [02:52:06] nah, dios [02:52:16] Wouldn't SCRUM be appropriate for MW development [02:52:27] queues and random 'work packets' wandering around [02:57:22] the thing I like about the idea of remote pair programming is that it would allow us to share expertise, reportedly without any reduction in productivity [02:58:33] <`6og> hi all. i'm looking at http://www.mediawiki.org/wiki/Manual:System_administration#Converting_content_from_a_PHPWiki , and it meantions that the database format changed between 1.4 and 1.5. since i'm currently running 1.10, is there a way i can see the difference in the databases? [02:58:34] if you count the volunteers, we have a wide variety of expertise levels on our team [02:58:58] <`6og> (from 1.4 to 1.10). i'm trying to convert a phpwiki site to mediawiki, and doing >500 pages by hand just isnt sane [02:59:41] and our current review process seems slower and clunkier than pair programming [03:00:25] how would you change the review process? [03:00:52] I agree that pair-programming doesn't present any drop in production and could be a big win. [03:00:56] by pair programming [03:01:06] how does that solve the review process? [03:01:21] oh, so drop the formal commit reviews? [03:01:48] maybe [03:02:02] My philosophy on programming is "write some code, and maybe some tests if someone forces you to". [03:02:06] "If it breaks, fix it." [03:02:07] 'tis a hard rut to steer out of. ;-) [03:02:46] Do we have formal commit reviews? [03:02:54] I thought it was just that whoever wants to, looked them over. Usually including Brion. [03:03:10] well, your help is appreciated, simetrical [03:03:21] Any time. [03:03:34] but usually whoever puts code live on wikimedia will also review it [03:03:38] and usually that's brion [03:03:39] I think we could benefit from funneling some of the bug requests (instead of this everyone submits to everyone deal) and some sort of structure to the resolution of bugs (something like pair-programming or so) [03:03:45] . . . I don't think things like pair programming would work in volunteer-based projects too well, would they? [03:03:52] Most types of structure seem infeasible, there. [03:04:05] Simetrical: certainly not all volunteers would participate [03:04:20] Simetrical: same as the earlier bug queue discussions [03:04:21] TimLaqua, you could get yourself made the default assignee of a component if you like, I'm sure. [03:05:01] I don't want to babysit a component, I'd like to be part of the team - I think many of us are around for the variety [03:05:20] Well, all this is very alien to me. I mean . . . I just like programming, basically? [03:05:42] Also, on a sociability scale of 1 to 10, I rate about 0.34. [03:05:50] I think RPP (saving typing) could be casual enough for volunteers to do it [03:06:02] well, we (volunteers) still just program on a basic level - it's up to the paid guys to figure out the structure [03:06:18] *Simetrical was always suspicious of "programming paradigms" and stuff like that [03:06:22] you could get a lot done in a two-hour RPP session [03:06:35] Er, the "waterfall"-style programming kind of paradigm, not like "object-oriented" [03:06:36] . [03:07:32] we've been talking about XP now for an hour [03:07:44] I'm not in favor of 'play-dates' with other devs so to speak, but I can certainly see working with another developer on a more regular basis [03:10:39] fair enough [03:10:49] and Simetrical, you're at least a 2. ;-) [03:12:16] mpof [03:12:46] I could see being on a team with another dev really giving alot more incentive to participate, increasing overall involvement, and speeding things up (assuming two competent devs) [03:13:24] I mean, I can't even count how many bugs i've half fixed, went out to smoke, came back in and just abandoned them. [03:13:48] havign someone as a sounding board, two more sets of eyes, and being able to be the same for them can be darn useful at times. [03:14:00] TimLaqua, okay, I concede, that's probably right. [03:14:12] for sure. and currently, the 'voices' are really brion, TimStarling, and Simmetrical [03:14:21] if nothing else, some worthy soul to show off the posiitve results to, might generate more positive results to show off :) [03:14:24] so we only bounce off those three for the most part [03:14:42] About the being a 2, I mean. [03:14:46] I didn't read the rest. [03:14:49] of course. ;-) [03:15:02] Oh, no, I certainly wouldn't want to do anything with other devs. [03:15:05] Sounds like a huge pain. [03:15:11] teamwork?!?!! [03:15:13] never! [03:17:17] Teamwork at a distance, let's say. [03:19:07] <3 irc for that! [03:20:52] Simetrical: you've got a point there [03:28:38] Working on the same project, talking to people about stuff, excellent. [03:28:52] Actually collaborating on writing a particular piece of code, before it's committed? Bleh. [03:29:20] <`6og> where should i look to see the database format used by mediawiki? [03:31:14] http://www.mediawiki.org/wiki/Manual:Database_layout [03:31:20] maintenance/tables.sql [03:31:32] <`6og> astro76: thanks. [03:31:53] <`6og> TimStarling: is that included in the tarball? i'll go and find it.thanks [03:32:40] yes it's in the tarball [03:32:57] <`6og> so i assume anything with white next to it doesnt exist in that revision of the schema? [03:33:01] <`6og> ta. [03:35:51] brion: in theory you could release 1.12.0 with Parser_OldPP as the default [03:36:37] we could have 1.13.0 in a couple of months with a default switch, and people who care about the bug fixes in the new parser could switch before then, manually [03:37:12] <`6og> hm. 1.4 -> 1.10== 3/4 of the fields changed. this could be 'fun' [03:38:00] `6og: there's an upgrade script [03:38:52] most of the syntax changes that are occurring on enwiki are compatible with either parser [03:38:57] <`6og> TimStarling: hm. i must have missed it. [03:39:17] and people who really care about compatibility could switch manually [03:40:16] <`6og> i found a started conversion script (fomr the page i linked to above) for phpwiki -> mediawiki, but its written for 1.4 database. i'm trying to wrap my head around what will be required to get it going with 1.10 [03:41:18] OutputPage::addWikiMsg() is cool, but it's a huge change to be making on the day before the release [03:42:30] Does anyone know much about 'wikitex' that is in wikipedia's svn? [03:43:38] Peter Danenberg's wikitex? [03:43:47] It could be. [03:43:59] The thing that provides the lovely math mode from tex among other things. [03:44:29] texvc is good enough for mathematics [03:44:41] that's what we use [03:45:06] Is texvc what is used to verify math input is safe and then passes it onto tex? [03:45:20] yes, like wikitex [03:45:33] but wikitex uses a blacklist, whereas texvc uses a whitelist [03:45:54] wikitex has a very different security model generally [03:46:18] I noticed that wikitex supports many more modes. Do you think it would be relatively easy to setup and use with software that is not mediawiki? [03:46:52] probably, but you have to be very aware of the security implications [03:47:08] Perhaps texvc is better for now then. [03:47:12] you would absolutely have to run it in a chroot jail [03:47:31] there's no way I'd put it on my site otherwise [03:47:40] That is not something I am willing to do. [03:47:58] not the whole wiki in a jail mind you [03:48:00] just the wikitex part [03:48:34] texvc is written in ocaml? [03:48:47] yes [03:49:40] Might not be exactly what I am after then. [03:50:00] wikitex looked like it was written in python, I am trying to stick to python where possible. [03:51:00] maybe we're not talking about the same thing then [03:51:05] what's the URL? [03:51:11] one sec [03:51:50] I was looking at it in the svn, I just have to find it again [03:52:28] http://svn.wikimedia.org/viewvc/mediawiki/trunk/wikitex/branches/2.0-beta1/src/server/wikitex/ [03:52:31] There is some of it [03:53:08] It appears version 1.1b3 is there too, looks like it is written partially in php [03:54:07] I don't think that server version is complete, he never got back to me about it [03:54:46] I told him the only way we could run it on wikimedia was if it was on its own dedicated server, thus resource limited and firewalled from the rest of the network [03:55:20] There is something I am using now in moinmoin that might do what I need. [03:55:59] I am trying to make a specialized engine for my website, and one of the most important things is a good math engine - and that is tex. [03:56:40] well, the tex part of wikitex is not too bad in terms of security [03:57:16] because web2c itself is written with security in mind, you can disable file read/write at that level [03:57:28] so you have two layers of security [03:58:08] just don't enable the other parts of it [03:58:41] the gnuplot part, for instance, has shell escapes which aren't filtered [03:58:48] so it's a trivial shell execution vulnerability [04:06:53] <`6og> is merging two mediawikis (same version) a trivial task, or quote complex? [04:07:36] trivial if you don't care about revision history and attribution [04:07:57] generally pretty trivial if you do care about revision history and attribution [04:08:16] less trivial if images are involved, or if there are page name conflicts [04:08:26] <`6og> cool. i'll try and find it in the docs, thanks for that. [04:09:40] 03(mod) Limiting sitemap items by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12860 (10bugzilla.wikimedia.org) [04:10:30] 03(mod) Limiting sitemap items by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12860 +comment (10bugzilla.wikimedia.org) [04:10:55] $notice = wfMsgExt( 'protect-cascadeon', array('parsemag'), count($cascadeSources) ) . "\r\n$titles"; [04:10:59] \r\n? [04:12:19] MediaWiki for MS-DOS? [04:13:20] 03(mod) Limiting sitemap items by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12860 (10bugzilla.wikimedia.org) [04:15:53] if only we didn't have that terrible C library hack to convert line endings on input and output [04:16:23] then all applications would be forced to work with either line ending convention [04:17:45] the only programs I use on windows that have trouble with unix line endings are programs ported from unix and compiled with a C library that converts line endings [04:18:43] 03(mod) Hardcoded superscript in time zone preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4871 summary; +comment (10brion) [04:19:54] 03(FIXED) Sidebar displaced when creating user talk pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12954 (10brion) [04:29:20] 14(INVALID) Makesysop shouldn't have userrights-interwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12960 +comment (10brion) [04:38:26] flyingparchment: that's an interesting approach [04:38:51] I actually was going to suggest something similar - placing it outside of the "content region" so to speak [04:43:34] hello! [04:43:50] i was just guessing that there was a channel about mediawiki! [04:43:51] ok [04:44:15] Petfrogg: there is. what about it? [04:44:24] i am thinking about installing mediawiki but i got one question. Can i per userbasis allow and deny users from seeing different pages? [04:45:04] working with different ppl on different projects and does not want them accessing info on projects that does not concern them... [04:46:04] 03(mod) Identifier needed for MediaWiki generated pages in page source - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11988 (10oq9pscb02) [04:49:17] is there a way to colorize text in the wiki, to highlight it? [04:50:10] !highlight | gongoputch [04:50:10] --mwbot-- gongoputch: there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [04:50:24] Also you can use CSS styles as well [04:50:27] very cool [04:50:50] or inline css, eg text [04:51:32] I was thinking like -> here us some text, this shoiuld be red then more normal text ... [04:51:47] ah! like that! [04:52:14] damn, this channel is always so helpful, thanks! [04:54:22] ~seen amidaniel [04:55:14] Anyone have any insight into I might achieve having an alternate skin specifically for Main_Page, for an extension like ConditionalTemplate be the best approach for this? [04:57:29] Or is there a more simple approach? [04:57:40] hm... perhaps [04:57:43] !e PageCSS [04:57:43] --mwbot-- http://www.mediawiki.org/wiki/Extension:PageCSS [04:58:33] but that would open other pages up to lots of customization as well... [05:00:02] Hm, limited to CSS, I need a solution where the markup is different from my generic skin [05:01:57] Off the top of my head... You might be able to pull something off combining some fancy rewrite rules, and a static page... something where you would intercept a request to your main page and supply a non-wiki page instead... [05:03:22] but you lose the ability to edit it from the web in such a manner... could get really fancy and invoke portions of mediawiki independently in your static page though... [05:03:30] would get rather messy though :) [05:04:35] Yes it would, i've seen it done but it's becoming clear they must of hacked away at it to accomplish it [05:04:49] No easy solution [05:06:38] Thanks for your help :) [05:08:56] 03(FIXED) bogus email error message when creating an account ( $wgSMTP only) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11567 +comment (10brion) [05:20:09] 03(NEW) purging page in mediawiki namespace will crash user interface message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13002 04CRIT; highest; MediaWiki: User interface; (anon.hui) [05:20:29] hmm .. that sounds fun [05:25:17] it sounds like my fault [05:33:06] 14(WFM) Problem creating image thumbnails in 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12970 +comment (10brion) [05:34:00] 03(mod) purging page in mediawiki namespace will crash user interface message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13002 (10anon.hui) [05:35:26] 03(mod) purging page in mediawiki namespace will crash user interface message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13002 (10anon.hui) [05:36:21] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10brion) [05:36:54] Where's the best place to get help with adding an extension? [05:37:43] Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20000001 bytes) in C:\htdocs\w2\includes\MessageCache.php on line 81 [05:37:47] that, on the other hand, is not my fault [05:40:35] ahh, so that is what was making funny divs on test this week [05:50:13] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10N/A) [05:50:26] any advice for how I can edit a .sql file that's 72,000 kb? my computer crashes when it tries to open it [05:52:08] hi all... I recently installed MediaWiki and i'm fiddling around with settings... [05:52:36] is there a way to create a "white list category" (or namespace), rather than just one or two white list pages? [05:53:33] 03(FIXED) purging page in mediawiki namespace will crash user interface message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13002 +comment (10tstarling) [05:55:43] cwillisf: some places to start: http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions and http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions [05:56:56] I can get most of the oversight extension installed, but when I click the tab it gives me a No such special page error. What's wrong? [05:59:54] 14(DUP) Wrong URL to old image version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12981 +comment (10brion) [05:59:59] 03(mod) Wrong archive URL in FileDeleteForm::prepareMessage() - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12935 +comment (10brion) [06:00:06] 03(mod) Wrong URL to old image version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12981 +comment (10brion) [06:02:11] Splarka, thanks for the links [06:02:21] does anyone know how I can edit a sql file that's 72,000kb? I need to change the database name but my computer keeps crashing when I go to open it [06:02:29] is there a way to export a wiki page as an html page? [06:04:12] or a way to convert the wiki-style source text to equivalent html text (maybe with stylesheets?)? [06:04:22] t0lk: use a text editor that's not as heavyweight :) or write a small script to do the transformation (say in perl or php) [06:04:42] would using windows notepad messup the sql file? [06:04:51] it might [06:05:14] can you suggest a text editor? I don't know how to do the script bit [06:05:38] try notepad++ [06:05:52] ok [06:05:55] thanks :) [06:07:41] user2503: perhaps action=render is what you're looking for? [06:07:44] some idea dump: [06:08:03] I think some concepts in Linux development can apply to Wikipedia. Wikipedia can be developed in terms of packages, and there can be multiple "distros" each based on one or more "upstream" ones. [06:08:09] One Wikipedia alone is monopoly. The original Wikipedia can play a role analogous to the Linux kernel. [06:08:21] Wikipedia? [06:08:55] Can someone direct me to where I can find help installing extensions? [06:09:04] i put it here because it could be mediawiki's job to implement such a wiki system [06:09:09] CharlieHuggard: possibly, do you append &action=render after page? [06:09:20] brion: any reason the bot isn't reporting SVN changes? [06:10:07] MZMcBride: might be dead or behind [06:10:15] haven't seen it all day [06:10:16] user2503: yep, or ?action=render if you don't already have a query string [06:10:20] *MZMcBride kicks CIA-41 [06:10:21] ow [06:10:21] *brion nudges CIA-41 [06:10:28] *brion caresses CIA-41 [06:10:55] Mufka: http://mediawiki.org [06:11:15] been there. Not sure if I can ask questions there. [06:11:28] ask here [06:11:40] I can get most of the oversight extension installed, but when I click the tab it gives me a No such special page error. What's wrong? [06:12:22] CharlieHuggard: well, maybe I am looking for an html dump? I want to take the nice wiki formatting with boxes around code, etc, and make it into a static html, is that possible? [06:12:58] is the URL /Special:Oversight ? [06:13:30] Special:HideRevision [06:13:45] *MZMcBride doesn't use Oversight [06:13:52] !e Oversight [06:13:52] --mwbot-- http://www.mediawiki.org/wiki/Extension:Oversight [06:14:11] been there. No answers in months to questions. [06:14:35] you're running the correct version for your version of MW? [06:14:49] user2503: That is an html dump... it's the rendering of the page's wiki text, it could be that the formatting around the particular box is done using CSS instead of in the wiki text itself [06:15:32] it doesn't say it doesn't work with 1.6.9 [06:16:06] it has links for 1.10, 1.11, and trunk... [06:16:42] i figured if it worked with 1.7.1, it would work with 1.6.9 [06:18:24] CharlieHuggard: is there a tool that is recommended for that? [06:20:07] That's a bad assumption Mufka: From the extension page for Oversight, it says that it uses the hooks UndeleteShowRevision (introduced in 1.9.0) and DiffViewHeader (introduced in 1.7.0) [06:20:42] ok. Is there a way to hide revisions from the database? [06:20:57] it can be done manually, i think [06:21:12] or you can delete the page and selectively restore it [06:21:49] ok. IN the future, is there a way to know when hooks are implemented? Doesn't say right onthe page. [06:22:01] click the hook links [06:22:13] thanks [06:22:32] 03(mod) CAPTCHA image not displaying - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4816 (10brion) [06:27:53] seriously, [06:28:08] that wiki as distros of packages idea [06:28:13] deserves consideration. [06:30:16] today we see complete pedias like wikipedia, uncyclopedia, citizendium, [06:30:32] they are like distros without packages [06:31:00] they are like completely different operating systems [06:31:04] like win32 and mac [06:31:10] which share no common components [06:31:16] but linux distros are not like this [06:31:20] if it's important yao, try implementing it then. You can download all of the source behind mediawiki freely to your computer and muck about with the code to your heart's content. [06:31:22] they can share packages [06:31:37] also look up scarytransclusion :) [06:31:42] gnome and kde apps can run in each other's desktop [06:32:13] !scarytranscluding | yao_ziyuan [06:32:13] --mwbot-- yao_ziyuan: http://www.mediawiki.org/wiki/Manual%3A%24wgEnableScaryTranscluding [06:35:00] it's similar... [06:47:15] 03(FIXED) CAPTCHA image not displaying - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4816 +comment (10brion) [06:48:05] i think it's bedtime [07:13:46] 03(NEW) Capability to download a Wikibooks book for offline reading - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13003 15enhancement; normal; MediaWiki: Page rendering; (inyuki) [08:45:59] Splarka, well after much reading and tinkering i've customized the CategoryPermissions script to do what i want ;) thanks again for the links [08:56:33] np [09:04:02] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10huji.huji) [09:11:26] 03(FIXED) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 +comment (10huji.huji) [09:11:32] 03(mod) Problem creating image thumbnails in 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12970 +comment (10ggt) [09:11:57] 04(REOPENED) Problem creating image thumbnails in 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12970 (10ggt) [09:12:57] hi guys [09:13:18] 03(mod) Problem creating image thumbnails in 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12970 (10ggt) [09:13:20] is there any custom tag for "new line" instead of
? [09:14:17] you could make a template to do it... [09:14:28] but {{br}} is more keystrokes [09:14:48] two newlines in a row causes a new paragraph:

[09:14:54] YazzY: what's wrong with
? [09:14:58] so people usually use
? [09:15:07] well no, not usually [09:15:10] well, people don't usually define linebreaks [09:15:12] there's usually no call for it. [09:15:32] if it is a list that has specific breaking they usually indent or

    or
  • [09:15:37] : # * etc [09:15:48] Wikitext is designed so that you can just type text, without worrying about line-breaking or anything like that [09:15:49] or use
     (or indent with one space) for preformatted
    [09:15:58] 	werd: subst/Wikitext/html
    [09:16:21] 	Werdna: line breaks dont work normally, text just follows the line
    [09:16:33] 	YazzY: two line-breaks separate paragraphs
    [09:16:55] 	ah i see
    [09:16:58] 	echo (echo (echo))
    [09:17:27] 	what if i need 3 line breaks ? 
    [09:17:53] 	hm, this wotrks
    [09:17:55] 	nice
    [09:17:59] 	thanks guys 
    [09:18:36] 	a\n\nb\n\n\nc\n\n\n\nd == 

    a

    b


    c


    d


    [09:18:45] 03(mod) Capability to download a Wikibooks book for offline reading - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13003 +comment (10huji.huji) [09:44:52] Hello [09:45:31] how could I add an external link with whitespaces into it like: 'http://www.myweb.com/this is my page.html' ? [09:46:36] replace the spaces with %20 [09:46:41] thanks michi_cc [09:46:44] MinuteElectron: ^ [09:46:47] :P [09:46:47] yw [09:50:02] bye [09:58:41] 03(NEW) Prepending minus sign(-) to search query causes PostgreSQL Error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13004 normal; normal; MediaWiki: Search; (onnojongbloed) [10:06:34] is it possible to transclusion a normal page into another? [10:06:40] 03(NEW) DISPLAYTITLE does not work on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13005 15enhancement; normal; MediaWiki: Page rendering; (tstarling) [10:07:01] p858snake: yes, any page can be used as a template. for page foo in the main namespace, use {{:foo}} [10:07:09] for other namespaces, simply use the full page name [10:07:18] ok thanks [10:07:25] that dosn't work for categories does it? [10:07:34] only for the category head [10:07:39] not for the listing [10:07:41] hello, i have one question - how can i block some pages so users cannot edit them? i.e. mainpage or about page? [10:07:46] it *does* for for *some* special pages [10:08:02] szymek: the protect tab does that [10:08:03] szymek: click the "protect" tab at the top of the page (when logged in as sysop) [10:08:14] i'll try [10:09:45] there is protect tab on the mainpage, but not on the about page. how can i block it? [10:12:02] You need to make it first. [10:12:35] gah, we badly need a help page for sysops on mediawiki.org [10:12:52] aha - first - create page , then - protect bar will appear? [10:13:00] szymek: there should be a protect tab on every *existing* page... [10:13:06] yes [10:13:11] ok thank You very much! [10:13:11] you can't protect something that isn't there [10:13:18] hehe yes:) [10:13:31] ok have a nice day! b.r. [10:13:38] (actually, i think we have "salting" of non-existing pages now, but don't know much about it) [10:16:41] slating? [10:16:44] *salting [10:21:00] MinuteElectron: see en:WP:SALT [10:23:46] MinuteElectron: page creation/name reserveration basically [10:24:20] hi, is there a specific reason why subpages are not enabled per default? (like performance, security etc.) ? [10:24:51] oh [10:24:57] PlasmaHH: They are in some namespaces. [10:25:25] PlasmaHH: So people can use titles with slashes in them :) [10:26:17] Dashiva: so its more a "what we think would be of better use in wikipedia" decision? [10:26:22] MinuteElectron: hm? I don't get it [10:26:48] PlasmaHH: In some namespaces subpages are enabled, in others they are not. [10:29:20] PlasmaHH: Subpages are a hierarchical thing, they make most sense for e.g. User: pages where you only have one root page. For regular content namspaces, they lead to not-very-titlish titles [10:30:50] so its an aesthetic decision then [10:31:23] just trying to figure out if it was some other reason that would make problems later on if I enable them now [10:34:20] PlasmaHH: It won't cause any problems if you enable them later. [10:35:08] good, will schedule that then... [10:35:47] morning all [10:35:58] hi [10:40:30] now it was htmltidy and what else if i wanted to use templates on my mediawiki install from wikipedia [10:40:46] Quick question, probably a longer answer ;) In my last version (1.10) ananymous editing was disabled, but users could still see the edit tab, and edit sections. With the 1.11.1 upgrade the edit tab has now gone. Can this be shown but when a user clicks it they have to log in? [10:47:53] p858snake: parserfunctions [10:48:05] thankyou [10:48:19] sushiguru: in 1.11 it should not be gone, but renamed to "view source" [10:50:20] Aye - but that doesn't imply to the anonymous user that they can, in fact, edit it if they log in. [10:50:28] Can the tabs be renamed? [10:51:17] sushiguru: as all interface text, you can change it by editing the repective mesiawiki:xxx page (i.e. system message) [10:51:22] Special:Allmessages lists them [10:51:36] Also, the message in the tab is a bit ugly: 'You do not have permission to do that, for the...' and that's just clicking on 'view source' - the implication being that you don't have permission to 'view source'! [10:51:55] "in" the tab? [10:51:56] OK - I'll have a lookie [10:51:58] you mean on the page [10:52:06] No - top of the article. [10:52:08] that is correct, the message sucks [10:52:12] it [10:52:21] it's complete4ly unclear what "that" refers to. [10:52:27] Can it be edited too? [10:52:35] sure. all interface text can be edited [10:52:41] all in teh same way [10:52:46] find it on special:allmessages [10:53:47] i have grown so used to it i hardly notice any more - but it really *is* cool and powerfull hwo mediawiki deals with interface messages, custom js/css, etc [10:54:04] per language, too [10:54:23] sushiguru: oh, right: if you expect a multilingual audience, be sure to edit the message in all relevant languages [10:54:32] OK - got the page, I'll have a play. It's a bit of a bummer. [10:54:42] Nah - en only. [10:54:48] bummer how? [10:55:49] Now have to do an awful lot of tweaking. I really would like users to edit the wiki, but if they can't see an 'edit' tab then they won't know they can. [10:55:52] Does anyone know of any wiki's running the extension ConditionalTemplate?, curious to see it in action. [10:56:20] Tach: what is that supposed to do? [10:56:30] sushiguru: editing two messages is a nawfull lot? [10:56:41] http://www.mediawiki.org/wiki/Extension:ConditionalTemplate [10:56:52] Damn Special:Allmessages... [10:56:58] It hangs my Apache! [10:57:04] Yup; I'm lazy :) [10:57:46] 03(NEW) cvgfgf - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13006 15enhancement; normal; Wiktionary tools: General; (raktabhpathak) [10:57:58] Tach: uh... this sounds rather pointless. with standard parser functions you can do {{#if:...|{{whatever}}}} [10:58:22] 03(WONTFIX) cvgfgf - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13006 +comment (10vasilvv) [10:58:34] VasilievVV: more liekly it hangs your browser. or php is waiting for the database? [10:58:41] TimStarling: may you delete https://bugzilla.wikimedia.org/show_bug.cgi?id=13006 ? I guess you are bugzilla admin... [10:58:53] Duesentrieb: no, it eats too much memory! [10:59:01] heh [10:59:17] what'S recommended for mediawiki these days? [10:59:20] 64mb? [10:59:40] No ideas [10:59:51] it used to be 20, but that has grown to small [11:02:13] Damn - I wish I was better with IRC.... [11:02:32] Cheers for the assist Duesen - that's working better for me now :) [11:03:11] np [11:05:51] Later all. [11:10:04] m0o0 [11:54:49] hi all i am student planning to do a online dictionary using Wiktionary using python.. is there exist any such? [11:56:02] "to do a online dictionary using Wiktionary" - sounds strange [11:57:49] just a gui : with database from wikionary... [11:58:46] allows to check the word meaning, request for the new word and to edit the content .... [11:59:34] I guess it's not very possible now [11:59:44] Will be possible with SMW, though [12:03:51] cant we do that by xml wrapping? [12:06:12] perhaps [12:06:35] I don't think it would be easy to parse wiktionary pages [12:07:23] :( [12:11:58] VasilievVV, hope i will get ur help for doing that [12:12:14] you may :) [12:12:40] any good place to know the working of meidawiki api? [12:13:08] !api | HFactor [12:13:08] --mwbot-- HFactor: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [12:14:11] thanks will contact u if i need any help:) [12:14:23] BTW I am hiran, hiraneffects.blogspot.com [12:29:31] 03(NEW) Create the "=?UTF-8?Q?=CE=A3=CF=87=CE=BF=CE=BB=CE=AE?=:" and "=?UTF-8?Q?=CE=A4=CE=BC=CE=AE=CE=BC=CE=B1?=:" namespaces for el.wv - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13007 15enhancement; normal; MediaWiki: General/Unknown; () [12:30:53] 03(mod) Create the "=?UTF-8?Q?=CE=A3=CF=87=CE=BF=CE=BB=CE=AE?=:" and " =?UTF-8?Q?=CE=A4=CE=BC=CE=AE=CE=BC=CE=B1?=:" namespaces for el.wv - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13007 +shell; +comment (10vasilvv) [12:31:53] 03(mod) Create the "=?UTF-8?Q?=CE=A3=CF=87=CE=BF=CE=BB=CE=AE?=:" and " =?UTF-8?Q?=CE=A4=CE=BC=CE=AE=CE=BC=CE=B1?=:" namespaces for el.wv - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13007 (10raimond.spekking) [12:46:53] 03(NEW) Time machine - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13008 15enhancement; normal; MediaWiki: General/Unknown; (phi1ipp) [12:47:13] how can I edid the navigation menu? [12:47:27] add and remove some of the items [12:49:52] 14(DUP) Time machine - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13008 +comment (10raimond.spekking) [12:49:54] 03(mod) Old versions of images and templates in old versions of pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12995 +comment (10raimond.spekking) [12:58:18] YazzY, Mediawiki:Sidebar [12:58:24] !sidebar [12:58:24] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [12:58:55] Hi. About Enotif: how can change the sender name "WikiAdmin" on notification e-mails? checked Special:Allmessages and Manual:Configuration_settings#Email_settings [13:01:15] thank you :) [13:02:26] $wgEmergencyContact = 'wikiadmin@' . $wgServerName; [13:04:00] ta! [13:04:35] <_wooz> lo [13:09:27] 03(mod) Please add some entries to robots.txt for ja.wikipedia. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12993 (10N/A) [13:09:59] Nikerabbit: that only changes the address. I want to change the sender name. It still reads mail from WikiAdmin, just the address changed [13:12:19] includes/UserMailer.php: $adminAddress = new MailAddress( $wgEmergencyContact, 'WikiAdmin' ); [13:13:01] 03(mod) Activating "Makepatrol" on Italian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12939 (10grandepuffoo) [13:13:04] alright. thank you [13:14:40] 03raymond * r30903 10/trunk/phase3/languages/messages/MessagesMs.php: [13:14:40] Localisation updates Malay translations [13:14:40] (bug 12978) Patch by Aviator [13:16:53] 03(FIXED) Regular Malay i18n update - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12978 +patch; +comment (10raimond.spekking) [13:19:27] 03(mod) Activating "Makepatrol" on Italian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12939 +comment (10vasilvv) [13:22:23] 03raymond * r30904 10/trunk/extensions/ParserDiffTest/ParserDiffTest.i18n.php: Fix typo in link to special page [13:23:54] 03raymond * r30905 10/trunk/extensions/ExpandTemplates/ExpandTemplates.i18n.php: Add link to special page in description message [13:27:12] I'm reading the user_rights section at the mediwiki website. Can you provide own custom groups with which you can define group rights to certain namespaces ? [13:34:30] tvinte: there is whole-namespace protection [13:34:55] where can i find more information about it ? [13:45:29] dans ton cul [13:45:38] :) [13:47:58] 03raymond * r30906 10/trunk/ (4 files in 3 dirs): Localisation updates German [13:48:28] We're about to get r31000 [13:48:29] hi there [13:49:04] We're about to get it in 2 days... [13:49:13] Can anybody tell me what happens if someone clicks "edit" then edits something but changes his mind and klicks on another tab like history? [13:49:25] (before pressing on save) [13:49:34] Asga: nothing [13:50:03] but isn't a timestamp set when someone opens up the editor? [13:50:06] So, it's about 1000 revisions per 3 weeks [13:50:09] Asga: no [13:50:23] ok thats bad [13:50:32] Why? [13:51:26] Okay, our development valocity is about 47 commits per day [13:51:27] i need to tell a function of mine that the page is currently edited... so i thought i can just set some flag by hooking "AlternateEdit" [13:51:52] There was some extension like this on Betawiki [13:51:57] Ask Nikerabbit or siebrand [13:52:00] but if you click on edit it sets the flag and then if you click on another tab it doesn't delete the current flag... [13:52:20] okay thanks [13:52:27] Now i'll estimate percentage of useful commits... [13:54:00] Nikerabbit? are you there? [13:54:05] VasilievVV: was titleblacklist enabled on all projects or test.wp only? [13:54:16] Raymond_: live on all projects now [13:54:26] \o/ [13:54:39] Raymond_: http://de.wikipedia.org/wiki/Spezial:Version [13:54:59] Yes, we spent about a month to fix performance issues [13:55:13] great :) thanks a lot [13:55:31] np [13:57:47] Does anybody have an idea how i could solve my problem? (Problem is that i have an extension with allows some editing but while it is editing, i want to disable editing of that page by the normal edit form) [13:58:50] and yeah i know that sounds counterproductive but my extension is for demonstration purposes and i need it that way [13:59:14] you want to lock pages? [13:59:25] yes [13:59:30] make a page_locks table [13:59:42] yeah did that [13:59:45] Make them expire [13:59:48] ok, so what's the hard part? [14:00:04] hm yeah also thought about expiring [14:00:10] yeah, I suppose the lock expiration should *at least* align with the php session timeout [14:00:43] but like many of my wikis have the session timeout pushed over an hour [14:00:48] ;-) [14:00:50] the hard part is that when i lock a page because someone clicked on edit, and then clicks on some other tab, the lock isnt removed @ TimLaqua [14:01:02] umm [14:01:29] then check to make sure the user doesn't have open locks when they view other pages [14:01:33] so hook every view [14:01:55] yeah thats possible but what if the wiki has extensions which add tabs? [14:01:57] and do a quick lookup to see if they have open locks - if they do, send them to an "open locks" special page or something [14:02:18] doesn't matter what it adds. if they view *any pages* - it just says "hey, man. you got open locks" [14:02:36] ah well [14:02:58] I mean, if your users want/need locking - they have to manage their locks [14:03:01] is there a hook which is triggered when viewing a page? [14:03:05] oh yes [14:03:07] !hooks [14:03:07] --mwbot-- Hooks allow you to run functions at various points in the main MediaWiki code. For more information about using hooks in MediaWiki, see . [14:03:11] many [14:03:23] ill check [14:03:32] i don't need the users to manage that.. [14:03:47] they need to know when they have a page locked for editing [14:03:54] i could just delete locks if there are open ones and the actual action is not edit [14:04:07] what if they have two open sessions? [14:04:27] what's i your page_locks? user_id and page_id ? [14:05:17] currently i didn't add user id [14:05:27] holy moley [14:05:30] just page_id? [14:05:42] well its like this [14:05:44] how could you tell if a particular user had a page locked? [14:06:03] i don't need to know the user [14:06:06] wait a sec [14:06:11] i'll try explaining [14:06:14] k [14:06:32] *TimLaqua gets some popcorn [14:06:51] *VasilievVV works on CrosswikiBlock extension [14:07:16] *TimLaqua wishes he had a cool project name. [14:07:39] I added a new view "annotate" which allows semantic annotation of wikipages, so i wanted that noone can edit the page which is currently annotated so i don't have to implement that merging and stuff... also i wanted to lock annotating if the page is currently edited... [14:08:39] ok [14:08:55] so where's the "don't need to know who locked it" part? [14:09:57] because i wanted to unlock pages when the edit/annotating is saved [14:10:11] and lock it for every user [14:10:36] kind of loose, but it could certainly work. The problem comes in when you try to evaluate if particular users have a lock [14:10:39] i.e. for expiration [14:10:50] yeah okay i see that [14:11:07] if i do it with expiration... i need users [14:11:15] and maybe session ids [14:11:48] w/ session ids, you could nail down whether or not they just have two open sessions (editing on one, browsing on the other) and not preemptively unlock pages [14:12:10] ok [14:12:11] so [14:12:23] i need userid, sessionid [14:12:53] makes sense to me [14:12:56] and then when nothing is locked i lock a page by setting a flag and saving userid and sessionid and expiration [14:13:22] pry userid, sessionid, and lockacquired [14:13:34] pry ? [14:13:35] then for expiration, take lockacquired+phpsessiontimeout [14:13:46] slang, srry. ;-) [14:13:57] k [14:14:40] how do i get phpsessiontimeout? [14:14:54] there is a user object? [14:15:24] no, it's a server variable [14:15:26] sorry for dumb questions but i always get confused over mw objects [14:15:26] one sec [14:17:22] hello [14:17:33] hey. [14:17:35] how goes the skin? [14:17:52] how can I implement a multilanguage system, like wikipedia? do i have to install two wikis?? [14:18:09] TimLaqua, very nice, it could fix all my background problems! [14:18:36] quentin_: usually, check out the multilingual extensions [14:19:03] quentin_: btw, you gonna publish your fancy skin for the rest of us? [14:20:18] TimLaqua, really interested? well, I could consider this... [14:20:53] ya [14:21:52] Asga: try: ini_get("session.gc_maxlifetime") [14:22:35] quentin_: maybe we can throw it up on SVN [14:22:50] we really should get in to more published/SVN maintained skins [14:22:51] *sigh* [14:22:53] okay ;) [14:23:06] this is why i always get confuesd [14:23:12] why's that? [14:23:20] brb, smoking. ;-) [14:23:48] i don't know ini_get and i didn't think of sessions till now so i don't know anything about that [14:24:31] its because there are functions all over mw which are waiting to be used by me but i don't know them so i can't use them... [14:24:46] i think it would be easier if i knew them all ;) [14:24:46] TimLaqua_away, okay, I am going to adapt/edit/clean my skin the next days... [14:33:21] Asga: well ini_get isn't an MW thing, it's a php thing [14:33:51] quentin_: cool [14:34:35] 03(NEW) Special:MergeAccount does not detect wikimania2008wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13009 15enhancement; normal; MediaWiki extensions: CentralAuth; (meno25wiki) [14:37:42] yeah okay in that case [14:38:02] but i don't know how to get userid and session [14:38:15] hi all [14:38:16] so i have to search for that [14:38:34] i couldnt find where to change my mediawiki's interface to "right-to-left", any idea? [14:38:59] Asga: global $wgUser; [14:39:05] 03(mod) IE rtl.css issue in RTL wikis special: Preferences when selecting an LTR user language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12846 (10huji.huji) [14:39:11] Asga: then like $wgUser->getID(); [14:39:23] session ID is a php thing again [14:39:43] could ignore the whole session ID piece of you're not familliar w/ sessions [14:40:01] oh, my LocalSettings wasn't saved properly and therefore it didnt get the wgLanguage = "he" property.. [14:40:03] seems great now [14:40:05] thanks! [14:40:45] hm [14:40:59] thanks TimLaqua :) [14:41:05] thought that it is something like that [14:41:07] although i got some other question... is it possible that some pages would be editted in RTL mode by default while others would be editted in LTR mode by default? [14:41:08] np, good luck. [14:41:14] Asga: check extension AjaxShowEditors: Shows editing users who is editing the same page [14:41:22] (i'm afk) [14:41:28] and i didn't know that the whole session thing is php [14:41:40] thanks siebrand [14:53:18] 03(NEW) Invalid language codes should fallback to default wiki language not English - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13010 15enhancement; normal; MediaWiki: Internationalization; (meno25wiki) [14:57:53] 03huji * r30907 10/trunk/phase3/ (RELEASE-NOTES skins/monobook/IE60Fixes.css): (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting an LTR user language [14:59:47] 03(FIXED) IE rtl.css issue in RTL wikis special: Preferences when selecting an LTR user language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12846 +comment (10huji.huji) [15:01:58] gangleri: you there? [15:02:09] Hi Hojjat! [15:02:21] Hi man! [15:02:28] I finally tackled 12846 [15:02:30] :D [15:02:31] welcome! [15:02:35] perfect [15:02:46] oh really took some time.. and lots of brain! [15:02:52] I know [15:10:39] Hi. I'm about to upgrade from 1.8.2 to 1.11.1 - I have no clue and din't keep track of what I have changed where on the MW core files. So my plan looks like this: install 1.11.1 on localhost. import db from server, replace image folder on localhost by server image folder. run diff to adjust all MW files on localhost (yes still the wrong way cos i dunno how change properly). then upload all folders from localhost except image folder. Now pls l [15:12:05] now pls? [15:15:52] 03yaron * r30908 10/trunk/extensions/SemanticCalendar/includes/SC_GlobalFunctions.php: Fix for handling multiple events for a date with SMW 1.0 [15:16:17] 03yaron * r30909 10/trunk/extensions/SemanticCalendar/INSTALL: New version: 0.1.2 [15:17:39] 03(mod) Regular Malay i18n update - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12978 (10tarmiziaffandi) [15:19:44] MONK3000: Are you sure you pasted the text completely? [15:20:21] huh? what paste? [15:20:55] MONK3000: your last sentence is not complete. "Now pls l" [15:21:01] I thought you have pasted that but incompletely [15:21:42] pls = please. I'd like to know if my plan would work [15:22:46] or should I install the new version directly on the server and do the diff from my backup files [15:29:53] MONK3000: to create the diffs, you first need a clean copy of 1.8.2 to compare to. after you have this, upgrade to 1.11. then aply the diffs you created as patches, and adjust them as necessary [15:30:13] yep have original version [15:30:29] the patch tool will tell you when it can't cleany apply them - however, even if they cpplay cleanly, it's still possible that some things have changed logically. you will need to check [15:30:41] test your patched 1.11 locally,m if possible [15:30:52] and don't forget: backup, backup and backup. [15:30:54] !backup [15:30:54] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [15:32:13] i think i will patch manually to test each thing i've changed [15:33:29] would it be possible to first install in a test folder on the server to keep the old version running? eg now on /wiki. test on /wiki2 if everything is ok, del /wiki, rename /wiki2 to /wiki [15:38:06] MONK3000: only if you copy the database first. [15:38:21] MONK3000: and make sure that your test version runs on the "other" copy of teh db. [15:38:32] 2 wikis cannot use the same db? [15:38:43] no. [15:38:57] well, they can use the same mysql db using different tyble prefixes [15:39:03] they must use separate sets of tables [15:39:10] Why not? [15:39:29] ok will copy. np. then i prefer it this way than on localhost cos of the server settings [15:39:36] jimpy: err? because then they would be the name wiki? using the same data? [15:40:07] MONK3000: keep in mind that upgrading involves updating the database structure. the old version would get confused. thats *another* reason to copy the db. [15:40:16] so it is "possible" but pointless :p [15:40:45] jimpy: sewing buttons to your forehead is also *possible* :) [15:40:54] lol [15:41:32] jimpy: if the two wikis in question would use different versions of mw, though, you would be pretty sure to corrupt the database. [15:41:42] which is the situation i was diskcussing with MONK3000 [15:42:07] Yea, ive re read that now i musunderstood what Monk3000 was trying to do. [15:42:42] ok what about the images folder. i tested when 1.8.2 on on 2 different domains. i wanted to use the claen 1.8.2 wiki to domain2 but with the db and all files. i copied the db, no problem. replacing the clean images folder on domain2 with the images folder from domain1 caused problem on domain2. it couldn't find the images [15:44:03] MONK3000: make sure you have all pathes in localsettings adjusted properly [15:44:37] if you copy the db and the image folder, and pathes are correct, it should find the images [15:44:53] ah ok yeah didn't do that, was just a quick test about the images folder [15:51:12] Hi! Are there anybody from developers? [15:51:18] lots of them [15:51:49] yeah, I see, but with no answer :( [15:52:45] maybe because you didnÄt ask a question? [15:53:28] no, I've just asked 4 of them [15:54:29] o_O [15:57:04] Maby if you ask in general chat somone else can help. [15:57:52] after a request in bugzilla, when can we get a project? (Hungarian Wikinews) [15:58:01] https://bugzilla.wikimedia.org/show_bug.cgi?id=12865 [15:58:03] also, PM is disabled per default for unregistered users... [15:58:51] oh, I see.... :) [15:59:09] dorganhu: be patient. it can take a bit. also, that is a question for #wikimedia-tech, not #mediawiki [15:59:19] that is, a question for server admins, not developers [15:59:31] thanks [15:59:39] maybe i should ask my questions also in general [16:00:11] im not so familiar with the php autoloadclasses function and mediawiki autoloadclasses [16:00:42] i used $wgAutoloadClasses [16:00:46] but when i do something like [16:00:54] $this->myfunction(); in my class it says something about [16:01:04] Fatal error: Using $this when not in object context [16:01:16] that has nothing to do with autoloading [16:01:24] do i have to instantiate my class manually?? [16:01:30] not? [16:01:34] it has something to do with using methods on object instances as opposed to static functions [16:02:12] $this refers to the current object instance. if only works if the funtion (=method) was called on an object instace [16:02:24] Asga: paste your code in rafb.net/paste and we can sort it out pretty quick [16:02:42] i'd rather recommend reading an OOP primer.. [16:02:52] ;-) [16:02:58] lol k [16:03:42] i thought that autoloading creates an instance of a class when a function of that class is called? [16:04:02] no, autoloading the class simply initalizes the class [16:04:11] so you can like... use it [16:04:23] Asga: that depends on what you mean by "instance of a class". [16:04:57] that can be interpreted in to very different ways; it *loads* the class, as such. It does not create an *instance* of that class. [16:05:28] 03(NEW) Attributs does not properly work inside - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13011 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [16:05:34] when using autoloading, new Foo() will *automatically* load Foo() so it can create an instance. [16:06:05] I think you're going to confuse him. [16:06:16] Asga: what are you trying to do? [16:06:29] TimLaqua: he confused himself :) [16:06:36] yes i do Duesentrieb ;) [16:07:07] i just want to call a function from within another function [16:07:08] 03(mod) Attributs does not properly work inside - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13011 (10dasch_87) [16:07:12] and both functions in a class [16:07:20] Asga: oh [16:07:32] well i am familiar with java... not really with php [16:07:33] Asga: did you call the first function staticly? like Foo::methodName() [16:08:20] hm it is called by a hook [16:08:48] yeah. [16:08:58] ah okay well [16:09:10] the hook calls it staticly ? [16:09:23] sounds about right [16:09:36] ok thats why i have to call the other function also staticly [16:09:37] lol [16:09:54] i didn't think about how the function was called by the hook [16:09:59] *selfslaps* [16:10:10] Asga: java has the exat same concepts of static vs instance stuff. even the semantics if "this" is the same... [16:10:25] make the hook call a function (efExtensionNameHook(...) {...}) [16:10:38] Hi [16:10:42] then inside the function, do your $foo = new Foo(); [16:10:46] Asga: anyway, hooks can call functions statically or dynamically, that depends on how you register them. you can register an instance, too. then it's called on that instance. [16:11:06] and then you've got an instance. and you can do $foo->function() [16:11:25] yeah okay [16:11:30] Asga: wot [16:11:31] TimLaqua: *if* it makes sense to create a new instance every time. maybe he needs state transferred between calls? or maybe he doesn't need *any* state, and could just call the other function statically? [16:11:43] mh Nikerabbit? [16:11:48] *TimLaqua shrugs [16:11:52] globals ftw! [16:12:21] ? [16:12:37] Asga: someone highlighted me with your name on it [16:12:45] ah sorry [16:13:05] yes i highlighted you because someone said i should ask you about locking pages... [16:13:39] i think he meant Ajax Show Editors [16:14:12] hmhm [16:14:14] ok [16:26:15] so hab mir alles nochmal angeschaut [16:26:23] danke TimLaqua/Duesentrieb [16:26:28] ich glaub jetzt hab ichs verstanden ;) [16:26:35] np [16:27:51] is there a way to allow external images on wiki, but only from a certain site? [16:31:26] nevermind, found $wgAllowExternalImagesFrom [16:33:28] <_sLap> hi! [16:33:35] there's no way to specify the height or width though? [16:34:45] <_sLap> I've MediaWiki 1.11.1 installed and email notifications doesn't substitute this: [16:34:47] <_sLap> index.php?title=%24PAGETITLE_RAWURL [16:35:33] <_sLap> any solution? [16:37:32] _sLap does it happen every time on every page? [16:37:52] <_sLap> jimpy: yes [16:38:25] <_sLap> on watched pages email notifications [16:39:57] 03(NEW) Use content messages for block options when generating the rc entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13012 normal; normal; MediaWiki: Blocking; (alex.emsenhuber) [16:53:20] is there a way to specify a height/width for an external image? [16:53:54] or enable tags for external images? [17:09:56] could someone point me to the docs on using a template to inline the results rather than evaluating on each page view? [17:11:11] Zach: Generally you shouldnt allow external images for spam reasons. If you do afaik it doesnt parse the size of the image before it shows it, only if it is an image that is stored locally. [17:11:52] cj: how do you mean? a pre rendered template? [17:12:26] i'm using $wgAllowExternalImagesFrom so i don't have to worry about spam [17:12:59] 03(NEW) Corrupted log entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13013 15enhancement; normal; MediaWiki: Special pages; (mike.lifeguard) [17:13:34] zach: how do you load the images using the [[Image:...]]? [17:14:59] plain urls [17:15:27] putting http://mytrustedsite.com/image.gif without brackets will display the image [17:16:06] jimpy: could be. using {{:Foo} evaluates the Foo node on every page view [17:16:26] jimpy: I want to evaluate Foo once and hard-code the results in the calling node [17:17:36] all i want to do is specify a size; in the same way you would specify a size with an tag [17:17:50] no server-side thumbnailing [17:17:58] all done client-side [17:20:55] how i can redirect user Galván to galván? [17:21:13] i think system makes a weird thing with char set [17:22:44] robchurch i have a little problem with reassingedit [17:25:10] yepa [17:25:13] oopss [17:34:20] 03(mod) User rights log doesn't reflect removing of sysop rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12925 (10Simetrical+wikibugs) [17:44:29] anyone have suggestions about external images: changing their displayed size? [17:45:25] or enabling the tag for use with external images? [17:46:56] using $wgRawHtml ? [17:50:42] 03(mod) Corrupted log entries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13013 +comment (10mike.lifeguard) [17:54:06] i guess $wgRawHtml is the only way [17:54:52] it's too bad that $wgRawHtml and $wgAllowExternalImagesFrom aren't compatable [17:58:43] Simetrical: does the new "mw-redirect" class from linker::getLinkColour work for you? I see no effect on de.wp [17:59:09] 03simetrical * r30910 10/trunk/phase3/ (3 files in 3 dirs): (log message trimmed) [17:59:09] Revert 30902: it was (as the style rule clearly said) putting a page break [17:59:09] before *every single heading*. This was probably going to be a waste of paper, [17:59:09] insofar as my five-line test page got spread out over three or four pages when I [17:59:09] checked print preview. [17:59:10] We could add page-break-after: avoid;, but I don't think this is necessary or [17:59:14] useful unless someone can demonstrate that it actually changes some browser's [18:02:36] 04(REOPENED) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 +comment (10Simetrical+wikibugs) [18:03:06] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10Simetrical+wikibugs) [18:08:53] hello :) [18:16:24] 03hashar * r30911 10/trunk/phase3/includes/Preprocessor_Hash.php: set native eol [18:20:35] hey all, I've got a problem with one of the mediawiki hooks: userCan, I've created an extension that allows a user onto a page only when there is at least a catagory with the name 'ACCESS [username]' (it's basicly to allow some private groups) [18:20:43] for that I'd need the username [18:21:05] but the problem is that when i ask for $user->mName it returns a null the first time [18:21:09] anyone know why? [18:24:48] toolskyn: $user->getName() [18:27:04] hi. i'm about to upgrade to 1.11.1. i have copied my db and use the copy now. installation was successful, but all special characters are not properly displayed. so some UTF problem. i can add new stuff with special characters but all existing articles are not displayed normally. i remember problem when i first installed MW about the UtfNormal.php but i gave this file the same rights as on my old installation. any idea? [18:29:07] TimLaqua, hmm might just do the trick, I'll try that, thanks! [18:41:38] Domas: Can you help me out with an SQL issue? [18:41:51] can try! [18:42:36] http://rafb.net/p/YapS7C86.html [18:42:53] This lists a couple of using wheres and using indexes, no filesorts [18:43:13] If you change ORDER BY p1.page_id to ORDER BY p2.page_id, a filesort suddenly comes up [18:43:38] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10huji.huji) [18:44:01] My intention here is actually to have both (ORDER BY p1.page_id, p2.page_id) [18:46:51] domas: Got all that? [18:48:44] ORDER BY index happens just on first selected table [18:48:58] Argh [18:48:58] whenever you sort by two tables, you need filesort [18:49:05] Which is evil, right? [18:50:01] domas: The filesort is listed for l1 rather than p2, though, why is that? [18:50:35] RoanKattouw: filesort is done for resultset [18:50:37] not for tables [18:51:03] Ah [18:51:10] But my result set is only 3 columns [18:51:20] (1001 max, anyway) [18:51:54] Anyway, the real question is, is it safe to run this query on enwp with LIMIT 5001 ? [18:53:03] domas: Can I run this query on the enwp DB with LIMIT 5001 without you hunting me down and killing me? ;) [18:53:47] RoanKattouw: sure, on your own server! [18:54:27] domas: Do you have any ideas as to how to eliminate that filesort or make it faster somehow? [18:56:24] pls somebody help me about the utf problem after upgrading :( [19:05:54] 03thomasv * r30912 10/trunk/extensions/ProofreadPage/ProofreadPage.i18n.php: hy translations [19:09:45] 03thomasv * r30913 10/trunk/extensions/ProofreadPage/ProofreadPage.i18n.php: sl translations [19:14:31] does imagemap extension work with external images? [19:16:30] domas: ? [19:17:07] 03(mod) Propertys does not properly work inside - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13011 summary (10dasch_87) [19:17:30] RoanKattouw: ah, would have to _think_ [19:18:37] domas: Wait, this is even weirder: if I ORDER BY p1.page_id but don't use WHERE page_id>123 , I get a filesort *again* [19:21:16] hi [19:21:51] domas: And now I don't anymore :O my DB server is doing some weird stuff here [19:22:29] domas: congrats [19:22:55] *domas bows [19:23:07] Oh yeah congrats from me to [19:25:56] Weird [19:27:02] So, I've got a parser function that returns HTML, like this: [19:27:10] "return array($result, 'noparse' => true, 'isHTML' => true);" [19:27:17] Where "$result" is the resulting text [19:27:36] And weirdly, it gets wrapped in a

    element [19:27:41] domas: After playing around some more, even ORDER BY p1.page_id gives me a filesort, how can that be? [19:27:45] So that if I've got wikitext like this: [19:28:03] e_s_p: Which MW version? [19:28:14] Lorem ipsum blah blah {{#myfunction:foo|bar|baz}} blah blah blah [19:28:33] IIRC this bug was fixed on trunk about a month ago [19:28:54] It gets rendered as

    Lorem ipsum blah blah

    my function's HTML

    blah blah blah

    [19:28:58] ORLY? [19:29:01] It's 1.11.1 [19:29:15] Hmm, try 1.12alpha [19:29:18] !svn | e_s_p [19:29:18] --mwbot-- e_s_p: Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [19:29:25] Gee, thanks [19:29:47] OK, I'll check out head [19:29:59] Although I'm not ready to make the move yet [19:30:45] i have kind of a weird question [19:30:46] actually [19:31:17] I wonder if there's a workaround for older versions [19:31:57] The functions I'm writing are generating microformats, so I have to protect class, rel, rev etc. attributes from being scrubbed [19:33:08] you know how it's possible for one user to add a page to another's user's watch list, right? [19:33:42] sebmol: That shouldn't be possible [19:34:18] it is [19:34:23] How? [19:34:56] moving a page adds the target of the move to the watch list [19:35:11] 03raymond * r30914 10/trunk/phase3/includes/Linker.php: fix synxtax [19:35:16] Oh right [19:35:30] But then it's still the same page [19:35:35] so you move it back [19:36:21] That shouldn't work in theory [19:36:27] I think [19:36:33] it does [19:37:45] anyway, what i wonder is if there's a way to do the opposite [19:37:50] as in, remove a page from a user's watch list [19:38:11] Delete it xD [19:38:29] Yeah, you're right, it works [19:38:40] Hmmm [19:38:40] The only thing you can add to their watchlist is a redirect though :P [19:38:58] I wonder if I can strip these extraneous

    's with a hook to ParserBeforeTidy... [19:39:07] overwrite the redirect or move the page you want to have them watch onto the last target [19:39:13] it's really quite useful [19:40:39] Hi. when I copy my db and call the copy on my wiki, I get UTF8 display problems, i.e. the existing articles are not properly displayed, but i can add new articles easily. So it must be the export or import of the DB. I use phpmyadmin and tried all kinds of different ways now :( [19:41:32] does anyone have an idea how to do that? [19:42:27] MONK3000: there's a hex-modification argument to mysql dump that I've always had to use [19:43:17] MONK3000: --hex-blob [19:43:58] MONK3000: I have no idea if there's a way to flip that switch in phpmyadmin, but it might be a good thing to look for [19:44:10] uhm. where to add? [19:44:17] (02:45:05 PM) e_s_p: MONK3000: I have no idea if there's a way to flip that switch in phpmyadmin, but it might be a good thing to look for [19:44:37] ok thats so far! [19:44:44] with command-line mysqldump I've got this: [19:45:10] mysqldump --hex-blob ... [19:46:45] hmh not using mysqldump [19:55:44] 03hashar * r30915 10/trunk/extensions/AjaxQueryPages/ (AjaxQueryPages.js Hooks.php Load.php Response.php): [19:55:44] Fix the extension: [19:55:44] * avoid click spam (2 secs between requests) [19:55:44] * use $_GET instead of $_REQUEST and rebuild $wgRequest (hack) [19:55:44] * SpecialPage::getPage() is not i18n compliant, replaced it with [19:55:46] SpecialPage::getPageByAlias() [20:01:21] hi [20:02:45] hi [20:03:13] couldn't find a channel about groupwiki and since it is based on mediawiki i thought chances are good that someone from in here might know: is groupwiki a dead project or has it's development team just moved to somewhere else? (their website is outdated, from 2007, their cvs on sourceforge was last changed in 2006) [20:04:37] Cebot: most probably it s dead :p [20:04:56] http://www.groupwiki.org/ is parked too [20:07:51] Cebot: try to contact the developers : @users.sourceforge.net [20:08:01] hashar, hmm, thats what i thought when i was looking at it...sad, it would be exactly what i need, all the good stuff from mediawiki and built in (not 3rd party hacks) access control elements which perfectly would suit me [20:08:07] 03(mod) Set file upload to autoconfirmed ( meant is 4 days after account creation) Wikimedia-wide. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12556 (10meno25wiki) [20:10:41] could you guys suggest a php based wiki that has similar features like groupwiki? (no, i do not ask you to compare the list of wikis for me, but to make suggestions based on your own opinions and experiences) [20:13:58] hey there [20:14:06] i tried dbw->update [20:14:24] Asga: But it didn't update the DB? Use $dbw->commit(); after [20:14:27] but it says Database::makeList called with incorrect parameters [20:14:36] lol sorry [20:14:36] hello all [20:14:37] no [20:14:54] can anyone tell me if there is a way to password protect articles on my wiki? [20:15:18] $values should be something like 'ROWNAME = 0' ? [20:15:25] erm [20:15:28] columname [20:15:55] botkiller: There isn't; you can restrict reading articles to registered users (or sysops), though [20:16:12] !rights | botkiller [20:16:12] --mwbot-- botkiller: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [20:17:19] i tried something on my own table [20:17:20] like [20:17:21] $dbw->update('SERevisions', 'SER_EDITED = 0' , 'SER_PAGEID = ' . $articleid , $fname = 'Database::update', $options = array()); [20:17:44] thnx guys [20:18:30] Asga: => [20:18:41] ?? [20:18:42] or wait, maybe , would work [20:18:45] *domas shuts up [20:18:52] lol [20:19:46] $dbw->update('SERevisions', 'SER_EDITED = 0' , 'SER_PAGEID = ' . $articleid , __METHOD__); [20:20:11] k [20:23:36] RoanKattouw: upgrading to 1.12alpha didn't fix the problem [20:23:38] dang [20:23:44] Weird [20:24:34] Check it out: http://vinismo.com/en/User:Evan/Hcard_test [20:25:15] e_s_p: Can you ensure that your extension doesn't add any newlines? [20:26:01] I should probably throw in a wfDebug to check what's being returned, to make sure [20:26:03] one sec [20:30:19] Nope, definitely not [20:35:10] 03huji * r30916 10/trunk/phase3/languages/messages/MessagesFa.php: Fixing punctuation [20:36:32] 03(mod) Prepending minus sign(-) to search query causes PostgreSQL Error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13004 (10huji.huji) [20:36:35] 03(mod) PostgreSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10huji.huji) [20:38:30] domas: Any thoughts yet? I was thinking, when I run this query on my test setup without the ORDER BY clause, I still get my rows sorted by page ID. Is that coincidental? [20:39:19] RoanKattouw: if there's an index on the table, it's probably not coincidental [20:39:40] Well page_id is the primary key xD I'm doing a JOIN though: [20:39:47] that's probably it, then [20:39:59] pagelinks LEFT JOIN page LEFT JOIN pagelinks LEFT JOIN page [20:40:06] Then fetch page_id from both page tables [20:40:09] RoanKattouw: innodb tables are indexes [20:40:40] Adding ORDER BY p1.page_id, p2.page_id causes a filesort [20:40:46] 03(mod) Install ImportFreeImages (Flickr) extension on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8854 (10ThomasBleher) [20:41:02] domas: So does that mean that my result is *guaranteed* to be sorted by page_id when not using an ORDER BY? [20:41:45] there are no guarantees [20:41:54] du'h, there are so many wiki engines out there, comparing them is a hell. finally i found one that suits my needs feature wise but is ugly like hell...meh [20:42:22] Cebot: have you seen wikimatrix? [20:42:24] domas: How likely is it I'll get a result set *not* sorted by page_id? [20:42:37] i upgraded to 1.11.1 and when trying to upload a new image it reads "Could not create directory "public/archive/6/61". huh? [20:42:39] esp, yes, there i found the one that suits me feature wise [20:43:07] MONK3000: check the permissions on your image directory [20:43:45] done. actually it must be images/archive... [20:43:52] esp, feature wise phpwiki is what i want, but comparing the site design of phpwiki with mediawiki...well, it's like comparing a BMW with a fiat poslki [20:44:20] So, it sounds like you're complaining in the wrong channel. B-) [20:44:49] am not complaining, just wanted to have a cry out :D hehe [20:45:02] PhpWiki is definitely coming along. It's great that it's under active development again. [20:45:08] It was a dead project for a long time [20:45:23] I met Reini Urban when he was in Montreal for RecentChangesCamp... he was a very nice guy [20:46:01] well, i don't decide which software to use on the fact how nice the devs are :D [20:46:56] Anyways [20:47:01] anyway, i'd just love to have a wiki with good access control options with the look of mediawiki [20:47:29] Seriously, I think you need to be asking in #phpwiki about what your skinning/templating options are [20:47:36] theming, even [20:48:06] i doubt chanserv will answer me :D [20:51:05] All right, I think I can fix this with a hackaround [20:54:36] 03(mod) Introduce ipb_by_text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12999 (10brion) [20:57:00] 03(mod) Introduce ipb_by_text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12999 +comment (10roan.kattouw) [20:58:16] Domas: Under what conditions could omitting an ORDER BY clause yield a result set that is *not* sorted by page_id? [20:59:52] RoanKattouw: different index picked up for reading? [21:00:42] And when would that happen? I think my query makes using the page_id index pretty inescapable (I could even do a FORCE INDEX) [21:02:49] Harrumph [21:03:00] So, I hacked around the problem, and it came back again [21:03:17] or, rather, I can't hack around the general case [21:09:00] Domas: ? [21:09:23] RoanKattouw: non-innodb too [21:10:16] Domas: Let me get this straight: non-InnoDB DBs wouldn't necessarily return result sets sorted by primary key? [21:11:03] yup! [21:11:11] That sucks [21:13:00] Domas: So does that mean there's no feasible way to use this query of mine? I need things to be sorted by page_id to facilitate query continuation (page_namespace and page_title would also work, of course, but they'd cause exactly the same problems) [21:13:21] see, engine-specific optimizations sometimes are fun [21:13:29] if you're deep into them and you know what you are doing [21:13:30] :) [21:13:43] but if you're building generic solution to fit everyone [21:13:50] the scope of understanding the stuff is different [21:14:24] *AaronSchulz congratulates domas [21:14:40] hey, thats just more work! [21:15:13] 03(mod) Invalid language codes should fallback to default wiki language not English - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13010 (10huji.huji) [21:15:32] Domas: Well LIMIT 5001, 5001 is out of the question I guess [21:15:38] man. i start to hate innodb tables. my harddisk has no free space, because the innodb1 file may not be reduced by deleting data. [21:16:13] Isnogud: you can always dump data, remove file, and reload it [21:16:29] see, folks who use innodb, usually understand what database is and what its requirements are [21:16:38] domas: well i read this. but thats really inefficient, is it? [21:17:31] Isnogud: I can offer you to write a tool that shrinks the file [21:17:42] Isnogud: and can immediately give you a list of companies that would like to employ you then [21:17:43] :) [21:18:31] well. if it would be that easy the ticket wouldn't have been closed with the sentence: dump the files delete and reload. [21:21:31] 03siebrand * r30917 10/trunk/phase3/languages/messages/ (14 files): Localisation updates for core messages from Betawiki (2008-02-13 22:14 CET) [21:22:41] Domas: Then maybe I should use two separate queries than can each be ordered by page- [21:22:47] _id without requiring filesort [21:22:55] hmm... has nobody yet come up with a FileDelete hook? [21:26:12] 03skizzerz * r30918 10/trunk/extensions/ (7 files in 2 dirs): Adding two extensions (ForcePreview and RightFunctions) [21:26:12] how can i insert a tab into the $content_actions array somewhere in the middle? [21:26:56] 03siebrand * r30919 10/trunk/extensions/ (58 files in 58 dirs): Localisation updates for extension messages from Betawiki (2008-02-13 22:14 CET) [21:26:59] RoanKattouw: can you tell in simple words what are you trying to do? [21:26:59] currently i'm looping through each item and adding to the array when it gets to the one i want, but I don't think that's really a good away to do it. [21:27:06] cause I'm a bit loaded today and didn't really pay attention to the query [21:27:07] :) [21:27:17] domas: No problem, it was horrendously complicated [21:28:09] domas: I'm getting a list of pages that link to [[Foo]], but I want to include redirects, i.e. if [[Bar]] is a redirect to [[Foo]], all pages that link to [[Bar]] should also be listed [21:28:27] domas: I accomplished this by doing FROM pagelinks LEFT JOIN page LEFT JOIN pagelinks LEFT JOIN page [21:29:10] domas: But maybe I'll just grab the first-level links first, see which ones are redirects, then run a second query with WHERE page_id IN (123, 456, etc.) [21:30:58] just make a union? [21:31:23] Can you reference results from the first SELECT in the second SELECT then? Never knew that... [21:31:33] ah, probably not [21:31:59] I also wanna be able to tell which first-level link a given second-level link belongs to [21:32:19] Build the kind of tree that Special:Whatlinkshere displays [21:32:19] you know that you can simply open two db connections [21:32:24] and merge the records if needed? :) [21:32:35] well [21:32:38] there're many ways :) [21:33:21] I think I'll just do two passes: run the first-level query, loop its results, then run the second-level query [21:33:42] I was trying to stuff it all into one query but as it turns out that gets too complicated and too inefficient [21:34:48] 03huji * r30920 10/trunk/phase3/ (RELEASE-NOTES includes/EditPage.php): (bug 13005) DISPLAYTITLE does not work on preview [21:34:57] OK, screw this [21:35:33] 03(FIXED) DISPLAYTITLE does not work on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13005 +comment (10huji.huji) [21:42:37] I'm giving up on parser functions [21:42:44] tag extensions just don't have these problems [21:43:20] they don't work as nicely (actually, at all nicely) with templates, but at least there's not a spurious '\n\n' added to the beginning of each one [21:43:47] 03(mod) Math rendering poor in RTL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8002 +comment (10huji.huji) [21:45:19] domas: Going to get some sleep now, thanks for your help and again congrats on making the Board [21:54:29] 03huji * r30921 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Fixing all instances of incorrect links using [[ arround a {{fullurl link [21:57:04] Extreme newbie: I'm looking to see how I can change my search page to be similar to that of Wikipedia. From what I've read in help and Google, I need to create a hook of some sort to replace the existing form. Could somebody point me in the right direction for this? [22:08:40] *Hojjat stares at CIA-41 [22:11:25] anybody? [22:11:49] yeah! [22:11:59] 03(mod) (RTL) external website icon displays in the text and makes it unreadable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1061 (10huji.huji) [22:13:34] could someone review http://code.zachhauri.com/svn/commenttabs/ and put it into the mediawiki svn? [22:14:33] Zach: did you test this code yet? [22:14:43] yes Skizzerz [22:15:36] 03(mod) RTL monobook tabs jump on hover in IE6 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1321 +comment (10huji.huji) [22:16:48] Zach: "CommentTabs" or "CommentPages"? [22:17:37] i dunno, it doesn't matter. i guess CommentPages, if I decide to expand the scope of the extension to do other Comment-related stuff [22:17:48] yeah [22:18:27] 03(mod) BiDi related issues to ";", ":", "#", and "*", monobook skin etc . - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2020 (10huji.huji) [22:18:28] 03(mod) [[Special:Version]] should be wrapped with

    ... < /div> - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2019 (10huji.huji) [22:18:54] 03skizzerz * r30923 10/trunk/extensions/CommentPages/ (. CommentPages.i18n.php CommentPages.php): Add CommentPages extension from http://code.zachhauri.com/svn/commenttabs/ [22:19:37] done ;) [22:20:14] thanks skizzerz! [22:20:28] 03(mod) avoid overlapping links in mixed RTL and LTR context using tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2349 +comment (10huji.huji) [22:21:27] 03(mod) Add SkinTemplateTabs hook for comments tab on en.wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11586 (10zach+bugs) [22:21:45] Could somebody tell me which hook controls the search page form? [22:21:53] powerSearchBox? [22:22:26] Zach: may be best to add the 'shell' keyword [22:22:31] 03(mod) Enable CommentPages extension on English Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11586 +shell; summary (10zach+bugs) [22:22:35] though, i'm kinda unsure about that... [22:22:37] oop [22:22:55] yup, i noticed that right after i saved [22:23:08] Captain_Haddock: what part of the search form? You could look at http://www.mediawiki.org/wiki/Manual:Hooks for a list of them [22:23:17] the reason i'm unsure: Tim or Brion still need to review it before it goes live, i think [22:23:21] but if you know what part, I could give you a specific one ;) [22:24:04] Skizzerz: I'd like to remove the namespace list and add a drop-down not unlike the one on wikipedia. [22:25:58] Are all form functions supposed to follow the convention of ending with "Form" ? [22:27:27] it's kinda an unwritten convention [22:29:59] 03siebrand * r30924 10/trunk/extensions/ (5 files in 2 dirs): Whitespace and indentation fixes [22:33:54] Are there any tips on installing the LiquidThreads extension? I've created the necessary tables, enabled the extension (it shows up on my Special:Version page) but it doesn't actually seem to be working when I visit talk pages. [22:33:56] Captain_Haddock: see: http://www.mediawiki.org/wiki/Extension:Multi-select_Namespace_Search - Eep asked me to hack up powerSearch once [22:35:44] 03siebrand * r30925 10/trunk/extensions/CommentPages/ (CommentPages.i18n.php CommentPages.php): Whitespace and indentation fixes [22:36:31] TimLaqua: Thanks. No clean way to do this? I'm pretty much just trying to mimic WP's search page. [22:38:36] afaik, Wikipedia uses lucene search [22:39:35] where do you see a dropdown in wikipedia's search? [22:40:26] and I know back when I hacked that, there wasn't a good hook to use [22:40:35] though, we could always just throw a new hook in there [22:40:42] *TimLaqua looks in Skizzerz direction [22:40:44] ;-) [22:40:53] :) [22:41:05] where does it go? [22:41:21] *TimLaqua shrugs [22:41:39] ah, on the search page [22:41:52] it's done with JS [22:41:58] anyone have any idea why p-cactions li a has a text-transform: lowercase? was there a reason that the actions should be lower case? [22:42:00] ah, clever [22:42:02] makes sense [22:42:28] 'cause my powerSearch box on en.wp is the standard checkbox colony [22:42:54] 03(mod) Support collation by a certain locale ( sorting order of characters) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=164 (10gtisza) [22:43:15] Wiredtape: it looked stylish to someone [22:44:01] 03aaron * r30926 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Revert: brackets are deliberate, like rollback links and such. [22:44:57] Duesentrieb, heh, I wonder why they started it after 1.11 though.. [22:45:18] Wiredtape: huh? it has been like this forever... [22:45:18] Wiredtape: uh, p-cactions have been lowercase since 1.3, when monobook first appeared [22:45:21] 03(mod) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 (10ori) [22:45:48] hmm, there really isn't a nice spot to put a hook there :P [22:46:13] CSS is used to lowercase, though? that seems strange [22:46:37] btw, who has filesystem access to mediawiki.org? [22:46:43] MZMcBride: not at all. it's a change in appearance only, and it would look stupid in skins other than monobook that use the same html [22:46:59] (it's also wrong in some other languages) [22:47:02] Skizzerz: filesystem? [22:47:08] ah, i see [22:47:08] like, the files [22:47:10] Skizzerz: those who have filesystem access to all of wikimedia [22:47:16] the config files? [22:47:18] yes [22:47:30] it's a WMF wiki; so the usuals [22:47:31] :P [22:47:34] Skizzerz: "the" files? like what? [22:47:52] namely LocalSettings.php and the /extensions directory :) [22:47:59] there would be very few files specific to that domain [22:48:04] most are shared by all/many wikis [22:48:21] wmf wikis, that is [22:48:21] it uses CommonSettings.php i think... [22:48:21] er, however it's set up [22:48:31] o.0 [22:48:35] *Duesentrieb does the netsplit dance [22:48:36] netsplit? [22:48:45] 03siebrand * r30927 10/trunk/extensions/CommentPages/ (CommentPages.i18n.php CommentPages.php): [22:48:45] * use wfLoadExtensionMessages [22:48:45] * delay message loading [22:48:45] * add version, url, and descriptionmsg in extension credits [22:49:10] Does anyone has a little idea about when rev_deleted stuff should be ready ? [22:49:48] anyway, as of right now, mediawiki.org uses Javascript to force anons to preview, which is easily dodged by disabling browser js [22:49:50] ialex: AFAIK, when brion gets the chance to review it :) [22:50:18] yeah [22:50:22] considering we now have a lovely new hook and http://www.mediawiki.org/wiki/Extension:ForcePreview ... [22:50:29] Skizzerz: it's not really meant to be impenetrable ;) [22:50:29] Duesentrieb, flyingparchment, hmm.. well, i'm looking at my running 1.11 and it isn't lowercase, maybe I changed it along the way and don't remember.. [22:51:21] welcome back, all [22:51:36] ialex: yep [22:51:55] *Jack_Phoenix waves to Aaron :-) [22:53:10] :/ [22:53:21] wow, 2 in 5 minutes [22:54:02] hey everybody - quick question, what's the right way to turn off a special page - like Special:Wantedpages? [22:54:10] i notice that en-wp has it turned off : http://en.wikipedia.org/wiki/Special:Wantedpages [22:54:55] thanks in advance for any help [22:54:57] !defaultsettings [22:54:57] --mwbot-- For the current version of DefaultSettings.php, see: . [22:54:57] fucking bot [22:54:57] kinky [22:54:58] :p [22:55:30] 03siebrand * r30928 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Add support for CommentPages, ForcePreview, and RightsFunctions [22:56:41] 03siebrand * r30929 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Fix typos [22:56:44] oh joy. [22:57:01] jimbojw: /** [22:57:01] * Set this to an array of special page names to prevent [22:57:01] * maintenance/updateSpecialPages.php from updating those pages. [22:57:02] */ [22:57:02] $wgDisableQueryPageUpdate = false; [22:57:13] thank you MZMcBride [22:57:19] no problem [22:57:41] do you happen to know which other pages made the english wikipedia list of things to disable? [22:59:09] easiest to open them up and look [22:59:17] pages by most revisions and wanted pages for sure [22:59:30] probably a few others [23:01:32] cool [23:01:56] 03siebrand * r30930 10/trunk/extensions/Translate/MessageGroups.php: Set 2 messages for CommentPages to ignored [23:02:23] siebrand: those two messages are supposed to be for templates, used for editintros and preloads [23:02:52] Zach: so? [23:03:24] so nothing, they shouldn't be translated, only set up through MediaWiki:* [23:03:35] they're blank anyways :P [23:03:35] Zach: indeed. [23:04:08] Zach: one message appears to be missing in the extension. [23:04:22] which one is that? [23:04:48] Zach: a blank page heads 'commentary' which can be localised. A non blank page heads 'comment' (or comments) which is not a message. [23:05:45] Zach: hmm, I think I may have bugged message loading... (new issue, not the same as the one above) [23:07:10] Zach: Notice: Undefined variable: query in D:\mediawiki\phase3\extensions\CommentPages\CommentPages.php on line 56 [23:08:49] ah, $query = ''; needs to be added before the if [23:09:10] Zach: you're skizzers? [23:09:18] no, i'm zach. [23:09:28] *Zach points at skizzerz [23:09:33] siebrand: o.0 [23:09:33] that's skizzerz [23:10:02] *Skizzerz just put it on SVN as a request [23:10:57] Skizzerz: 'as a request'? [23:11:41] siebrand: well, he asked if someone with commit access would put it up, and I asked him if the code worked, he said yes, so I put it up [23:12:28] i never saw that error before, so i didn't know that there was a problem [23:13:07] Zach / Skizzerz: there ya go... [23:13:16] 03siebrand * r30931 10/trunk/extensions/CommentPages/CommentPages.php: Fix bug: 'undefined variable' [23:13:33] cool beans [23:13:39] thanks [23:13:58] I got a commit quotum again. zzz... [23:16:52] Zach / Skizzerz: hmm, shouldn't the tab name have the name of the namespace? [23:17:05] siebrand: I != Zach [23:17:18] Skizzerz: I know, but i'm pinging you both.. [23:17:22] *Skizzerz has no idea whatsoever on what this extension really even does :P [23:17:32] Skizzerz: ah, ok, sorry, I missed that. [23:17:40] it is a replacement for crappy javascript way of adding tabs [23:17:59] Zach: *nod* [23:18:08] hmm, is there a good hook for that yet? ... [23:18:12] *Skizzerz meanders o ff [23:18:15] *off to check [23:18:22] Zach: not the faintest idea.. [23:18:52] Zach: but namespace names are almost omnipresent, I think. [23:20:01] the tab name doesn't need to be the name of the namespace [23:20:22] the current comment tab on wikinews says "opinions", but has the namespace "Comments" [23:22:38] Zach: that's possible. But the extension now uses a tab name when not viewing the comment page that is different from when viewing the comment page. Looks funny. [23:25:12] it's not different? [23:25:17] is it? [23:25:20] http://wiki.zachhauri.com/view/Test [23:25:26] http://wiki.zachhauri.com/view/Comments:Test [23:26:08] both say commentary now, and when i change the Nstab-comments to "opinions", both will say opinions [23:27:20] now they both say opinions [23:27:36] or am i just not understanding? [23:31:32] Zach: checking. [23:32:48] Zach: the URLs you just gave show correct behaviour, and a different behaviour from what I am observing in the SVN version. Did you make a change in w.z.com? [23:33:28] Raymond_, I see mw-redirect appearing correctly on enwiki. [23:33:36] the only modifications to the code I have is to ImageGallery.php [23:33:53] Zach: hmm, what settings are you using for the extension? [23:34:26] Zach: here: all vanilla, +LocalSettings.php: [23:34:26] $wgExtraNamespaces = array( [23:34:26] 100 => 'Comments', [23:34:26] 101 => 'Comments_talk' [23:34:26] ); [23:34:27] $wgCommentPagesNS = 100; [23:35:19] mine is similar, except i have Portal and Portal_talk as 100 and 101, Comments and Comments_talk as 102 and 103, and $wgCommentPagesNS = 102 [23:35:30] Zach: hmm, strange. [23:38:05] i just updated my svn, and i'm still showing the correct behavior [23:38:37] it was about a week old before [23:40:13] 03(mod) Incorrect MagicVariable hook implementation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12837 summary; +comment (10achuggard) [23:40:32] anyone feel like adding a ! :) [23:41:24] Zach: I just updated 'MediaWiki:Nstab-comments' to 'oioi' and that is only showing on pages in namespace Comment:, not in the tab when viewing main/talk (btw, $wgLanguageCode = "nl";) [23:41:41] 03(mod) ArbCom Wiki request for nl.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12962 (10jeroenvrp) [23:41:52] oh i haven't tested using a different language code [23:41:58] Zach: so it must be an i18n implementation issue in the extension... [23:42:09] CharlieHuggard: write a patch for it ;) [23:43:17] ah i see it now [23:43:51] Zach: I never test using 'en'. That usually works :) [23:54:00] siebrand: removing the "nstab-comments" message from the i18n file should make it work; i guess it's not necessary [23:54:34] Zach: but it's referenced in the code... [23:54:45] Zach: wouldn't you get then? [23:54:54] 03(mod) Incorrect MagicVariable hook implementation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12837 (10achuggard) [23:55:04] there you go... patchy fun :) [23:55:05] siebrand: are you following the discussion with domas on -tech about language preference stats? [23:55:08] Database::makeList called with incorrect parameters -> Database->makeList('SER_EDITED = 1', 2) [23:55:18] 03(WONTFIX) Add page break rules to the "print" style-sheet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12972 +comment (10Simetrical+wikibugs) [23:55:23] it would default to the name of the namespace [23:55:28] BrokenArrow: no, about to go to bed.. [23:55:42] my problem hasn't solved... (i just had to go quickly) [23:55:57] oh wait, not on the main namespace one [23:55:57] siebrand: no hurry, but peek at the logs if you're interested [23:56:01] do'h [23:57:37] ga >_< didn't upload properly [23:58:21] BrokenArrow: can't make out the 'need to read' from the 'other stuff'.. [23:58:58] BrokenArrow: best have the chat again in a more dedicated channel (like #mediawiki-i18n) someday soon again ;) [23:59:16] siebrand: np, good night :) [23:59:17] 03simetrical * r30932 10/trunk/phase3/skins/monobook/IE60Fixes.css: [23:59:17] * Remove commented-out debugging line [23:59:17] * Spacing [23:59:17] * Use lowercase element names, for consistency and standards compliance (element names are case-sensitive in XHTML) [23:59:17] Add mention of the bug number! Otherwise this is completely mysterious.