[00:00:10] there's lots to learn and lots to do, before we really go live [00:00:11] super [00:00:21] ok 1) let's stick a list of what needs to be done on a wiki page [00:00:27] 2) let's have someone say "i'm gonna do it" [00:00:32] 3) then let's make sure they have access [00:00:42] brion: it's not that easy [00:00:49] current architecture is a bit in flux [00:01:00] for osm, i'm not sure who has access to the osm production db server, who is doing what with the tile server, etc. [00:01:01] So are wiki pages! [00:01:16] saper: then identify first steps to perform [00:01:18] getting to #1 will be a success [00:01:33] brion: first is to mirror production osm on a wmf box [00:01:57] there needs to be a one sacred postgres instance [00:02:04] excellent [00:02:08] write this down man :) [00:02:46] http://meta.wikimedia.org/wiki/Maps_server_setup_tasks <- starting here [00:02:51] feelf ree to rename it appropriately [00:03:54] let's also make sure we have here listed how many boxes there are, exactly :) [00:04:35] brion: can we move this to toolserver wiki? [00:04:42] by all means [00:04:42] and the whole project? [00:04:47] anywhere you guys like :) [00:06:02] good [00:08:04] so you agree to run the project, cool :) [00:08:42] haha sounds like ;) [00:09:26] brion: http://wiki.openstreetmap.org/wiki/Image:OSM_Components.png [00:09:33] this is the OSM architecture now [00:09:57] <^demon> Whee Kill Bill on TV :) [00:10:09] we can work probably using one renderer (say Mapnik) but more or less rendering and serving tiles _fast_ are the main problems [00:10:37] we only need the database, mapnik rendering and slippymap part of that, and possibly the api for toolserver purposes [00:11:09] that's not "only" :) [00:12:42] ok tossed a quick note to maps-l with link :D [00:14:19] step one is get something working, step two is get it working well ;) [00:14:26] it's not about bashing people [00:14:31] haha [00:14:41] i mean making sure my guys are setting up access as necessary [00:15:41] maybe access is not imporant as long as it is non-production stuff, I don't know [00:15:59] off to a wiki [00:16:01] well, the important part is that _someone_ has to set up the software :) [00:16:23] so either that means one of my techs does it or one of my techs gives someone access to those boxes to do it [00:16:31] brion: where are the hardware specs of those two wmf boxes, ptolemy and wiheisster? [00:16:37] no clue :) [00:17:28] i haven't been in the thick of it as i thought other folks were handling it :( [00:19:47] i now have lots more spare time, so can do setup work, but don't have access to anything [00:20:07] oh, here it is http://meta.wikimedia.org/wiki/OpenStreetMap [00:20:35] was just to give the same link http://meta.wikimedia.org/wiki/OpenStreetMap [00:21:30] :D [00:22:31] I think we need architecture piece [00:26:18] architecture documentation would be good [00:26:28] excellent, page looking fuller :D [00:26:41] yeah :) i lnked that graphic you showed me for now [00:27:48] aude: would you agree with that? [00:27:51] http://meta.wikimedia.org/wiki/OpenStreetMap#Project_goals [00:28:04] so does cassini basically have test installs of the bits we need to grab plus some misc stuff? [00:28:40] brion: partially yes [00:28:57] but I think we should do more work on that [00:29:08] I don't think that renderd with mod_tile will be scalable [00:29:27] who has geohack/wma tile server stats? [00:30:05] saper: dschwen i guess. [00:30:46] ok, well we can start there in the near term :) but definitely more info will be helpful if we think we need to change [00:30:55] there was some talk of putting it behind a squid caching proxy? [00:31:10] what about thttpd or something like that [00:31:28] I think we should measure what will be faster [00:31:33] the goals are good [00:32:01] aude: I forgot "develop innovative map applications" maybe but that's priority 2 [00:32:09] we definitely need to try out different approaches and test performance [00:32:24] I don't know why we can't have one rendering architecture for toolserver and production [00:32:37] let's just get the basics implemented [00:32:51] first let's get damn osm onboard [00:33:29] yeah :D [00:33:32] does wiki.openstreetmap.org have an interwiki entry? [00:33:35] anybody mess with ProtectPagePlus - encryption extension ? [00:33:42] then we can measure imports and stuff [00:33:51] replication will be tricky as usual [00:34:17] ok guys i gotta run; poke me tomorrow and feel free to flood my inbox :D i'll keep an eye on maps-l and the wiki page [00:34:26] aude: I think that maybe we should try to live with one postgres instance, not two [00:35:35] or is there maybe another channel where noob/user types can ask questions [00:36:21] Heh, JeroenDeDauw: don't you think you're getting a little ahead of yoursef? :D [00:36:41] hotchip: this is the place, but I don't see any extension by that name on MW.org [00:37:38] http://www.mediawiki.org/wiki/Extension:PageProtectionPlus [00:37:55] i'm pretty close to having it working, but i'm experiencing some php gmp extension weirdness [00:38:04] Doesn't look well-maintained [00:38:25] doesnt mean it doesnt work right? ;) [00:38:36] It might or it might not [00:39:02] is there another extension that implements strong encryption of pages i should be looking at [00:39:37] Hmm, http://www.mediawiki.org/w/index.php?title=Special%3ASearch&search=encrypt&go=Go [00:40:14] Emufarmers: :d I'm first though! [00:40:37] First is the worst; second is the best; third is the one with a hairy chest [00:41:53] i'm not sure how many postgres instances... but we could start with one [00:43:39] is it possible to change the width of the border on images? [00:44:43] div.thumbinner { [00:44:43] border: 1px solid #ccc; [00:44:45] is the default [00:44:57] in monobook anyway... [00:45:13] so just redefine that in MediaWiki:Monobook.css [00:45:19] ok, so it can be changed in the css file for the style? [00:45:50] i typed that before i saw the last post... lol [00:45:51] not a file, on the page called [[MediaWiki:Monobook.css]] [00:45:56] <^demon> Emufarmers: I haven't heard that since like 2nd grade. [00:47:40] ^demon: me either, but it popped into my head [00:47:58] *Emufarmers thinks Splarka has cooties [00:49:53] <^demon> Emufarmers: I am rubber and you are glue.... [00:55:56] Five minutes to get rid of it! :O [01:33:40] So what would breaking math support into an extension actually look like? How would we maintain backward compatibility? [01:54:56] Emufarmers: dunno, you might just be able to do it as a normal tag extension [02:02:46] 03(NEW) Need default values for accesskey-n-mainpage-description and tooltip-n-mainpage-description - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20317 normal; Normal; MediaWiki: Internationalization; (rockmfr) [02:02:54] 03(mod) Separate main page url and name - create MediaWiki:Mainpage-url - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8617 (10rockmfr) [02:04:03] MrZ-man: well, I mean, would there be any way to do it that wouldn't require people who upgraded and already had math to redo it? [02:04:25] Though I suppose installing an extension is easy compared to the existing process of setting up tex anyway... [02:06:37] well, if the binary is the same, converting should be easy, maybe? [02:07:02] yeah [02:08:13] though on a linux system, its not particularly hard to set up [02:08:50] Not on a proper one, but if you're on crippled shared hosting, I understand it's rather unpleasant (or impossible) [02:09:01] why those people want tex, though, I don't know :D [02:10:00] yes, you need to be able to install the dependencies [02:11:43] but I'm sure every shared hosting server has ocaml installed 9_9 [03:34:42] 03shinjiman * r55363 10/trunk/extensions/UsabilityInitiative/ (2 files in 2 dirs): Localisation updates Cantonese and Chinese for extension messages [03:55:59] HAHAH, on the local digital weather feed, &  is showing in the news ticker... fail [03:58:04] Splarka: you'd like http://revealingerrors.com/ [03:58:15] Scroll down past the last few [04:03:48] Can someone explain to me why Special:LinkSearch is listed under "Redirecting special pages" [04:04:38] does anyone know why the pbody attribute messes up in the navigation bar of monobook if the content column is long vertically [04:05:40] Charitwo: where? [04:05:55] Oh, I see what you mean [04:06:37] seems like an "incorrect" place to put it, but then again nowhere else seems appropriate either [04:07:08] Tyson Homosexual. Haha [04:07:17] :) [04:07:48] It'd probably fit under Page tools [04:08:04] Or Wiki data and tools [04:10:08] charitwo: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialPage.php?view=diff&r1=48044&r2=48045 stab ^demon? [04:11:20] :o [04:26:37] i need to move my wiki(1.9) to a new server and upgrade it to the newest version....my plan is to do a db dump, restore it on the new server with the newest mw installed and run the upgrade scripts....will this work? [04:27:23] Should do. [04:27:31] Follow the UPGRADE instructions carefully. [04:28:04] The update.php script should handle the main database issues. [04:28:06] GreenReaper: ok...great, I'll do tht...thx [04:28:19] If you are putting in extensions, make sure they are updated too, to the stated revision. [04:28:30] Some may have to come out, if they are now redundant. [04:28:41] but there's not too many in that situation. [04:28:59] Put them in place in your config before you run update so that they have the chance to run their own DB update. [04:29:05] 03dale * r55364 10/trunk/phase3/js2/mwEmbed/skins/mvpcf/styles.css: * broken kskin integration mvpcf bootstrapping [04:29:35] ok...I'll just have a clean installation with all the extensions and then restore the old Db..and run the update script... [04:29:47] Good luck. But you shouldn't need it. [04:30:36] GreenReaper: I suppose it would be easiter to upgrade first and then migrate...but I don't want to mess with the old system [04:30:48] I'd just move the DB and do it in place. [04:30:50] can someone tell me why my nav bar css is messing up? compare: http://www.starcraftmethod.com/wiki/index.php?title=Main_Page to http://www.starcraftmethod.com/wiki/index.php?title=Zealot to see what i mean.. the left nav bar [04:30:55] If it all goes horribly wrong at least you still have a working setup. :-) [04:31:15] Yeah...exactly... [04:32:29] Looks like you have an issue with those boxes but it's only shown when the page is tall enough to mess it up. [04:32:34] The wiki moving guide though explictly says "You should avoid moving the database from an older version of the software into a newer version; this will not work."...that is why I was a bit aprehensive [04:32:36] The main page isn't so you don't see it. [04:32:54] Well, without an update it won't wokr. [04:33:02] *work [04:33:15] "an older version" might refer to older than a certain revision. [04:33:41] e.g. phase2 to phase3 which was about six (?) years ago. [04:34:01] ah...yeah..just moving the Db will not work...k...got it. [04:39:19] ty got it fixed [04:39:29] Hmm, "Ensure, prior to moving, that any upgrading of the software and database schema is done. You should avoid moving the database from an older version of the software into a newer version; this will not work." <-- that's wrong (or at least out-of-date). [04:40:52] So fixit! [04:40:57] no u. [04:41:01] No wai. [04:44:18] what's wrong about it? there's typically some schema change with every new version [04:44:51] Right: and what's wrong with that? [04:44:58] You move and then you run the update script [04:45:22] I think it could be clarified. You *can* do it after moving, but you must do so before using. [04:45:40] The issue is that many people do not want to touch the old "working" version but instead set up a new version somewhere else. [04:46:33] We should ideally encourage them to do that rather than make them think they have to either upgrade the existing one first (if they can), or load the original version of the software on the new location, copy the database, then upgrade the software to the new version. [04:50:06] we should encourage people to just follow the directions, then we won't have to explain how to fix everything when they come here saying "I decided to do it this way instead and now everything is broke" [04:50:51] FOLLOW THE DIRECTIONS EXACTLY OR YOUR WIKI WILL BREAK. [04:51:22] Something like "You MUST run the database update script when moving between versions, or things will break. Maybe not today, maybe not tomorrow, but soon." [04:52:08] Uh, why would you say that when you could say that they will break? [04:52:47] Special pages. Editing. Some random feature that other people rely on that you don't know about until the day your new site goes live. [04:53:46] I'm not sure why you would use vague hypotheses about what might go wrong rather than simply saying that it will break. [04:54:22] I'm sorry, I misread that as "what would you say they could break", for no apparent reason. [04:54:29] Okay. ^__^ [04:54:36] But to answer your question: because people fear the unknown. [04:54:49] They also get confused by the unknown [04:54:57] If you tell them something might break, but even *you* don't know what it is, they're scared. [04:55:13] But when you tell them something won't work and it does that just makes them less willing to respect your authority. [04:55:22] Which is why the current text is wrong. [04:55:28] Probably no reason to even say "if you're moving between versions"; they won't know whether they are, and it does no harm to run the update script if they're not, so the instructions should always direct them to run it [04:55:59] Yeah. It's not like it's particularly slow if they are, and there might always be a new extension. [04:59:02] So should we recommend that people only transfer customizations and use a fresh tarball? [04:59:51] Well, it doesn't have to be fresh, just not past its sell-by date. [04:59:52] Well, when I read the guide I was under the impression that I had to update the current wiki before moving...since that not the case, maybe that should be changed [05:01:05] GreenReaper: could you actually answer my question, rather than responding with a metaphor? :-D [05:01:51] I'm not really sure where you got that idea, actually. [05:02:05] What idea? [05:02:41] "(GreenReaper): Yeah. It's not like it's particularly slow if they are, and there might always be a new extension." --> this was meant to imply that it was fine and a good idea to always run the database update script. [05:02:55] Yes, we agreed on that [05:03:11] and then I asked So should we recommend that people only transfer customizations and use a fresh tarball? [05:03:13] I don't know where that results in a "so" for the statements you subsequently made. [05:03:19] s/where/how/ [05:03:53] It...doesn't? The "so" was just "so, in terms of what I should actually write in the article..." [05:04:08] OK. So usually means "implies". X, so Y. :-) [05:04:17] So it does. [05:05:18] It's 1AM, so I'm not really up to making good documentation. [05:05:53] I think in the end we just need to be sure they run the update for whatever version it is they do have. [05:06:02] If it's not the right one, they'll probably figure that out soon enough. [05:06:06] Uh [05:06:23] Don't see how a fresh tarball is anything to do with it. [05:06:30] If they want a new version they'll get it one way or another. [05:06:37] SVN is fine. [05:06:50] You don't want to discourage people from using that. [05:07:00] The instructions have to say either "copy all the files from your MediaWiki installation over" or "download a fresh copy of MediaWiki and bring over your configuration files, images, and extensions" [05:07:36] And they shouldn't say both or neither [05:07:42] Both is fine. [05:07:49] Or rather, either. [05:08:00] :| [05:08:03] Since Either will work. [05:08:13] Lots of things will work [05:08:20] But *if* they download a new copy, they *must* run the update script. [05:08:23] That's how it works. [05:09:03] Transfering everything over via carrier pidgeon will also work. The guide is supposed to instruct users on what they should (or must) do, not what they could do. [05:10:07] I disagree. If it wants to say the best way to do something, that's fine. But maybe, for some reason, they don't want to update. [05:10:39] We don't want to say "you can't just copy the files and database over" if they can, in fact, do that. [05:10:45] Then they don't have to follow the directions [05:10:57] But whatever, I'm going to bed [05:11:14] The point is the directions should not forbid something that is possible, which was the problem to start with. :-) [05:11:15] Night. [05:11:27] it wouldn't say "you can't just copy the file and database over": it would simply never mention that option [05:11:56] And that's wrong. Options are good. [05:12:19] Believe me, I know corporate people. If they can avoid an upgrade they will. It is not our job to tell them their jobs. [05:12:22] *Splarka adds "When upgrading, be sure not to put beans in your nose" [05:12:43] We can strongly recommend it, pointing out the security implications of being unpatched. [05:13:01] Like a good article, it's better to show rather than just tell. [05:13:24] "We recommend you upgrade *because* if you don't, Splarka will bite you." [05:13:36] s/will/won't/ for the vores [05:22:00] where is $wgLogo located [05:26:57] in your localsettings.php file, you need to define it though [05:26:57] the var is in localsettings, the file is wherever you put it [05:28:12] where should i type it in [05:28:13] anywhere? [05:31:10] got it workin, thanks [05:31:12] :-) [05:33:52] Hi there. Can anyone help me using the usability enhancements and the vector skin in mediawiki 1.15? Is that even possible? If not, how can wikipedia run it? [05:34:13] Wikipedia is running a special branched copy of the pre-1.16 version. [05:34:36] It commonly runs pre-release but still relatively stable revisions. [05:34:49] Oh. So Vector is not supported in 1.15? [05:35:03] Not really. [05:35:05] Which branch does it run on, and how could I download it? [05:35:06] I don't think so, but you'd need to talk to a vector specialist. [05:35:33] All I'm getting is 'Override this function.' when I try to enable it. [05:35:38] It *should* run on trunk, if nothing else. That's always a little dicey, though. [05:35:56] http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf-deployment/ [05:37:11] Oh, thank you Annemarie and GreenReaper. I'll try to install it from that? [05:37:22] Is that any different than installing from a tarball? [05:37:36] A tarbell is usually a branched release. [05:37:46] wmf-deployment/ has Wikimedia-specific hacks in it. [05:37:50] So you probably don't want it. [05:38:11] Oh. So I should really try it from trunk? [05:38:24] trunk is generally broken [05:38:32] *GreenReaper would personally try trunk first with the understanding that it may be broken in interesting ways. [05:38:37] since wmf's last fork/scap (or whatever the new term will be), there have been 3 branch merges [05:38:58] so right now it is rather unstable, though brion has been doing code review this week, a bit [05:39:01] What's your opinion to a guy trying to deploy the Vector skin cause he liked it *a lot* [05:39:03] ? [05:39:08] wait ^_^ [05:39:11] ¬¬ [05:39:24] Is there a timeline for 1.16? [05:39:38] "quarterly" which can mean 3-6 months (since 1.15) [05:39:38] Sometime this year, I would hope. [05:40:02] It's been about two and a half months [05:40:11] but as Splarka notes, probably best to estimate longer for this one. [05:40:14] you can't really go for the branch in trunk wmf-deployment went off of, because a lot of vector-specific hacks are on top of that, you shouldn't go for live trunk because it is a bit broken, and you shouldn't use the wmf-deployment branch because it has loads of wmf hacks as stated [05:40:43] it is a lose-lose-lose situation for vector fans, though probably trunk is the least crazy option [05:41:25] Well, I love lose-lose-lose situations. Can't get enough of them. :( [05:42:03] well if you pull wmf-deployment branch it should work ;) [05:42:32] 'course, he could have been wrong (blasphemy!) [05:43:04] Well, Emufarmers, they are telling me that I really shoudn't cause of all the wmf hacks. [05:43:09] he's known to have been sarcastic before [05:43:31] http://sarcasmdetector.ytmnd.com/ [05:43:38] readings are unclear; proceed with caution [05:43:41] http://translatewiki.net/w/i.php?title=Special:Version [05:44:11] 03dale * r55365 10/trunk/extensions/OggHandler/OggHandler.php: * moved $wgEnableTemporalOggUrls configuration var from default settings to oggHandler [05:44:18] translatewiki is probably the one of most popular public wikis that run (or tries to) daily trunk [05:44:23] 03dale * r55366 10/trunk/phase3/includes/DefaultSettings.php: * moved $wgEnableTemporalOggUrls configuration var from default settings to oggHandler [05:44:26] Just running trunk up to the point that's been reviewed might be a good compromise [05:45:41] And how can I tell that point? [05:45:52] http://www.mediawiki.org/wiki/Special:Code/MediaWiki?path=/branches/wmf-deployment/&limit=100 [05:45:54] Is there a review log? [05:46:02] here are the "hacks" applied to wmf-deployment since it was forked [05:46:21] as well as live hacks from trunk for the usability team's tests [05:46:35] edufelipe: http://www.mediawiki.org/wiki/Special:Code/MediaWiki [05:46:56] Is having the "this page added to your watchlist" banner dismiss by itself an accessibility issue? [05:47:00] Seems like it'd be handy. [05:47:19] http://www.mediawiki.org/wiki/Special:Code/MediaWiki?path=/trunk/phase3/&limit=2000 [05:47:43] Splarka: should be a more elegant way to see... [05:48:02] Does encoding work on that URL? [05:48:40] what are ya bitching about now? [05:48:49] are the slashes breaking your precious IRC client? [05:48:53] I'm just curious by nature. [05:48:57] No, the link works fine. [05:49:06] heh [05:49:10] And, I was more curious about dismissability. [05:49:11] Thank you guys. So helpful! [05:49:14] Hmm, but there will still be fixmes in between, so that's not really a guarantee of safety [05:49:41] Emufarmers: if you were '''bold''' you could put scapmap into MediaWiki:Common.js [05:49:54] so anonnies could use it [05:50:02] It doesn't work for me, remember? :( [05:50:14] MediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [05:50:16] nope, I don't remember, [05:50:21] You get no guarantees, no matter what you do. [05:50:37] 'cept a good time. That's always a constant. [05:50:55] You get no guarantees from the distributor; you can get a guarantee for some things from an individual :) [05:52:20] a cement-masonry friend gives three guarantees about his cement work: it will dry, it will crack, and nobody will steal it [05:53:01] Now, if it were limestone . . . http://dwarf.lendemaindeveille.com/index.php/Planepacked [05:59:17] Emufarmers: Do you get any errors in your error log? [06:01:10] http://www.mediawiki.org/w/index.php?title=Extension:DumpHTML&curid=26391&diff=272236&oldid=271653 Ooh, the spammers are getting good [06:02:06] We have some not-so-smart but very persistent ones on our Czech wiki, of all places. [06:02:26] AbuseFilter is quite effective there. [06:02:31] [06:04:21] *GreenSleeper throws http://en.wikifur.com/wiki/Vixen_jokes at Emufarmers. [06:05:45] Not only are they stereotypical, they're also very bad. Although the 10 cent one has merit. [06:06:26] "Why did the vixen wear condoms on her ears? So she wouldn't get Hearing Aides." <-- Neither AIDS nor "hearing aids" has an e [06:06:31] well, except in "hearing," obviously [06:07:03] But I can't edit it :( [06:07:09] Denied! [06:07:13] STOP PERSECUTING ME [06:07:19] *fursecuting [06:07:50] You can edit it on the new site, http://en.wikifur.com/w/index.php/Vixen_jokes [06:07:55] Though you probably shouldn't. [06:08:23] Because I hope to lead a normal life? [06:09:11] *GreenSleeper finds the relative difference in page size amusing. [06:09:19] Well, it's a little late for that, don't you think? [06:09:31] Besides, who'd want to be normal, anyway? [06:09:49] how do u upload a file? i cant find it like the tutorial or w/e says [06:12:16] found it [06:12:28] how do i unlock uploads? [06:13:17] !uploading | jjiiiiiiilothar [06:13:17] --mwbot-- jjiiiiiiilothar: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [06:17:33] thanks [06:17:59] the php.ini i need to edit is located in wiki folder or somewhere else on server? [06:25:10] nvm ty! [06:47:56] 03siebrand * r55367 10/trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.i18n.php: Fix syntax error in r55363 [07:52:00] 03(mod) Changing SITENAME of ckbWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20295 (10aso.mehmudi) [08:30:15] 03(NEW) Add distinct class for ISBN special links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20318 trivial; Normal; MediaWiki: Page rendering; (mathias.schindler) [08:44:17] *Splarka ponders giving hotchip a +b *chip!*nunya@*.dsl.austtx.sbcglobal.net!##fix_your_connection [08:45:31] 03(ASSIGNED) Add distinct class for ISBN special links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20318 (10raimond.spekking) [08:49:08] Hi all, is there a command-line way to setup a MW database if I already have a LocalSettings.php? [08:50:02] Command-line or whatever, as long as it can be automated and non-interactive :-) [08:54:04] you could try the upgrade script, but i'm not sure it will create it [08:54:30] if not just move your localsettings and then re run the installer and then move localsettings bacl [08:54:32] *back [08:55:00] I tried "php maintenance/update.php --conf .../LocalSettings.php", but it gets confused with itself. [08:55:53] It tries to rename the user table to mwuser, but there's no user table yet. [08:56:44] Also, I think it ignores my schema settings, and the sequences it creates are in the "public" schema rather than the one I'd like to confine the wiki to. [09:13:47] 03raymond * r55368 10/trunk/phase3/ (RELEASE-NOTES includes/parser/Parser.php): * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added [09:15:27] 03(FIXED) Add distinct class for ISBN special links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20318 +comment (10raimond.spekking) [09:41:36] hmm, hotchip: 62 joins/parts in 10 hours, not really spam unless the chan is quiet otherwise, but plz fix connection ^_^ [09:52:20] Can Mediawiki work with table prefixes rather than schemas, if I want several independent wikis in the same database? [09:55:54] 03dale * r55369 10/trunk/phase3/js2/ (12 files in 8 dirs): [09:55:54] * minor css fixes [09:55:54] * fixes to inline uploads [09:55:54] * stubs for recent uploaded asset import listing [09:58:39] Lo-lan-do: yes, set http://www.mediawiki.org/wiki/Manual:$wgDBprefix in your LocalSettings.php [09:58:59] SPQRobin: Excellent, thanks. [10:04:22] 03(NEW) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 major; Normal; MediaWiki: Vector Skin; (xu.jimmy.wrk) [10:04:58] Except… "This setting is not used if your database is Postgres". [10:05:34] 03(mod) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 (10xu.jimmy.wrk) [10:06:30] Oh well. Food first, database later. [10:29:24] 03dale * r55370 10/trunk/phase3/js2/mwEmbed/ (5 files in 4 dirs): [10:29:24] * slightly better sequencer css layout. [10:29:24] * now to fix the mismatched selectors *****I hate kskin right now**** [10:31:25] i read that as kissing at first =/ [10:31:36] what would cause "printfooter" to have no content ? [10:35:05] thedj: blank retrievedfrom perchance? [10:37:00] Splarka: as in the translation string ? [10:37:23] well, the system message, yah, MediaWiki:retrievedfrom [10:38:36] not blank, but not working either it seems. [10:38:49] $printfooter = "
\n" . $this->printFooter() . "
\n"; [10:38:49] function printFooter() { return "

" . $this->printSource() . "

\n\n

" . $this->pageStats() . "

\n";} [10:38:49] function printSource() {$url = htmlspecialchars( $this->mTitle->getFullURL() ); return wfMsg( 'retrievedfrom', ''.$url.'' ); } [10:39:01] yeash. [10:39:06] what an idiots. [10:39:17] who where? [10:39:23] seriously, nl.wp is the most technically incable bunch of wikipedians. [10:39:37] heh [10:40:07] they speak four languages and smoke pot, whatcha expect in an encyclopedia [10:40:51] thedj: well, it looks blank to ME, heh [10:41:03] *Splarka guesses that yeash was for " " [10:41:56] thedj: do you have editinterface globally yet? [10:42:00] no [10:44:44] thedj: http://translate.google.com/translate?hl=en&sl=nl&tl=en&u=http://nl.wikipedia.org/wiki/Overleg_MediaWiki:Retrievedfrom&prev=hp [10:45:26] > I make the text empty, until a solution. Jeroenvrp August 9, 2004 02:49 (CEST) [10:47:08] Splarka: i posted to their tech VP. [10:47:31] "all prints are copyright violations" :D that should get their attention. [10:49:05] "dude, chill, wait, what?" [11:00:01] 03(mod) Vector adds wikiprintable.css but like monobook does not require it. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19801 (10hartman) [11:11:28] 03philip * r55371 10/trunk/phase3/languages/LanguageConverter.php: Save the variant find from HTTP_ACCEPT_LANGUAGE to $mPreferredVariant, so we do not need to do it again. [11:14:16] 03(mod) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 +comment (10liangent) [11:16:34] 03philip * r55372 10/trunk/phase3/languages/messages/MessagesZh_hans.php: Set linkTrail for Chinese language. There is no character should be appended to a titlelink in Chinese wiki. [11:38:05] 03dale * r55373 10/trunk/phase3/js2/mwEmbed/ (5 files in 4 dirs): * kskin final state before revert for presentations [11:40:58] Is there a way to convert HTML to wiki-format? [11:44:09] sounds ugly [11:46:02] 03philip * r55374 10/trunk/phase3/languages/LanguageConverter.php: Fixed some of tests failed caused by r55371. [11:50:49] PupenoG: toolserver.org/~diberri/cgi-bin/html2wiki/ [11:52:20] * http://openfacts2.berlios.de/html2wiki/ [11:52:26] p858snake: thanks! [11:52:51] how can i access the categories of an article? i.e. which class provides access to them so i don't have to parse the wikitext manually [11:57:16] hiya. i'd love to convert a lengthy page from Textile -syntax to MediaWiki -syntax. can anyone think of a tool for this? [11:57:51] 03dale * r55375 10/trunk/phase3/js2/mwEmbed/ (3 files in 2 dirs): * partial revert to 55208 (pre kskin) [12:03:28] 03(NEW) Some pages won't open on Russian Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20320 normal; Normal; Wikimedia: General/Unknown; (Ruslik00) [12:05:34] 03dale * r55376 10/trunk/phase3/js2/mwEmbed/skins/ctrlBuilder.js: * restored control Builder as wel [12:06:27] 03yaron * r55377 10/trunk/extensions/SemanticMaps/SM_Mapper.php: Added necessary getName() function [12:07:15] tekonivel-o: There's something called wikicreole. I never tried it, but it may help. [12:14:26] 03dale * r55378 10/trunk/phase3/js2/mwEmbed/skins/mvpcf/styles.css: * skin revert [12:16:13] Lo-lan-do: thanks, i'm just now taking a look at it [12:18:38] 03(mod) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 (10xu.jimmy.wrk) [12:20:38] Lo-lan-do: i'm afraid wikicreole is not useful for me now :( [12:20:54] mabbe i'll just throw some effort into it and do it manually... [12:21:05] needs to be done only once (for now anyway) [12:22:44] 03(mod) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 (10liangent) [12:42:50] what function parses the categories out of the wikitext? [12:58:53] is user javascript meant to run when a special page is loaded? [13:03:11] I noticed that my vector.js is loaded when I view Special:Contributions but not when I view Special:Preferences [13:05:31] i don't think any is on [[special:pref]] incase people get told to add stuff and such [13:05:58] but the user's css _is_ loaded. I'll just file a bug [13:07:03] it's a safeguard [13:07:13] the problem is that the user's css _is_ loaded [13:07:25] which breaks things if the CSS assumes that the javascript is running [13:07:43] killing a wiki with css _unintentionally_ is much harder [13:10:33] 03(NEW) user javascript not loaded for preferences special page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20321 enhancement; Normal; MediaWiki: Special pages; (cbm) [13:31:39] 03dale * r55379 10/trunk/phase3/js2/mwEmbed/libAddMedia/ (remoteSearchDriver.js searchLibs/mediaWikiSearch.js): * working inline uploader [13:34:52] How can one disable tsearch2 in PostgreSQL? [13:40:41] Is it possible to use wikitext/wikicode to replace a parameter from a template? [13:40:58] let say {{Box|:This is a tab, [13:41:05] this is now a line break [13:41:15] :another line break [13:41:18] }} [13:41:48] 03raymond * r55380 10/trunk/phase3/maintenance/parserTests.txt: Follow-up r55368: Fix parser tests [13:42:43] mdale: r55379: + "uploaded_itmes" : "Uploaded Items:", [13:42:57] mdale: are you certain that you're referencing the same typoed key in code? :) [13:43:02] hehe [13:43:04] eh... [13:43:11] let me check that ;) [13:43:25] mdale: may I suggest that if yes, you still fix the typo? :) [13:43:29] been up for a few days... that kskin merge was a bitch [13:43:34] ended up reverting [13:43:42] mdale: did you find any issues with my key renaming? [13:43:49] nope... [13:43:54] all good as far as I can tell [13:44:30] mdale: great. I have 11 more keys the must be renamed, but I think I'll rename more, if not all, with a common prefix. [13:44:44] you can use that utility script in to keep things in sync using either the js or the php [13:44:50] but better to go from js -> php [13:44:57] since php won't know which files to put the js in [13:45:30] but sometimes convenient to go from php -> js so that is supported too ;) [13:45:59] mdale: *nod* One issue: I work on Windows, and the script changes / and \ and has a different order of finding files. [13:46:08] ah... [13:46:10] mdale: so diffing is hard for the i18n.php file. [13:46:47] mdale: do you mind if I change it my way to make my life easier? Once I'm doing with the renaming, I'll rebuild it on linux and commit it. [13:46:59] sounds good [13:47:33] ok, will do. [13:47:33] I don't mind big diffs in language files.. (they usually have big diffs) [14:06:30] 03dale * r55381 10/trunk/phase3/js2/mwEmbed/libAddMedia/ (3 files): * non firefogg add media wizard upload updates (only works once bug noted) [14:07:30] 03(mod) User's Custom Javascript does not Apply to Special:Preferences, Special:Userlogin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10005 +comment (10innocentkiller) [14:07:35] 14(DUP) user javascript not loaded for preferences special page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20321 +comment (10innocentkiller) [14:13:40] 03(NEW) Set local time for vec.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20322 enhancement; Normal; Wikimedia: Site requests; (marco27.wiki) [14:27:44] 03(NEW) Closure of nl.wikinews.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20323 normal; Normal; Wikimedia: Site requests; (arjan) [14:28:33] 03(mod) Closure of nl.wikinews.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20323 +shell (10innocentkiller) [14:46:41] <|REM|> how can i lock the wiki so that no one can register for an account? [14:47:34] $wgGroupPermissions['*']['createaccount'] = false; [14:48:19] Hello. i have some questions about http://www.mediawiki.org/wiki/Extension:SMF_Auth_Integration, who work with it and can help? [14:48:23] !preventaccess | |REM| [14:48:23] --mwbot-- |REM|: For information on preventing access to your wiki, please see . [14:48:48] <|REM|> great! thanks [14:49:19] I used the bot for the first time! :D [14:56:33] 03vyznev * r55382 10/trunk/phase3/ (RELEASE-NOTES includes/Title.php): [14:56:33] (bug 15248) Normalize NBSP and other odd Unicode whitespace characters to normal spaces. [14:56:33] Note: run cleanupTitles.php and cleanupImages.php after deploying this! [14:56:47] 03jeroendedauw * r55383 10/trunk/extensions/SemanticMaps/ (GoogleMaps/SM_GoogleMaps.php SM_Mapper.php SemanticMaps.php): Bugfix. [14:57:17] 03(FIXED) Non-breaking spaces in wikilinks should act like regular spaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15248 +comment (10nospam) [15:10:19] 03(NEW) Enable 2 aliases for vec.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=20324 enhancement; Normal; Wikimedia: Site requests; () [15:16:24] 03(mod) Adding New custom namespaces in arabic wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20300 (10obayd3) [15:27:56] my installation of mediawiki doesnt appear to have one of the templates in the documentation (anchor) how would I go about getting that? [15:28:04] 03vyznev * r55384 10/trunk/phase3/maintenance/parserTests.txt: add parser test for r55382 [15:28:32] Hello all. I have a quick question. I wish to use a page in my wiki as an error page. The page i wish to use is for the 404 error. It lives at /wiki/404. However, if i add this line to apache's errordocument line, i end up with the Main_Page document. Anyone offer advice on how to do this? [15:28:49] my bad, thats a template on wikipedia [15:28:53] I, for the life of me, cannot get the email system to work [15:29:18] I have tried possibly every doc available for setting up watch & email notifications [15:31:15] I'm using a remote smtp server, however it seems to work, because I can telnet to the smtp server on port 25, "helo, ....,ehlo" [15:31:25] no authentication required. [15:33:33] !wikicode [15:33:33] --mwbot-- I don't know anything about "wikicode". You might try: !toc [15:33:35] !wikitext [15:33:35] --mwbot-- For help with MediaWiki's Wikitext syntax, please see . For an (incomplete) formal specification, see . [15:34:34] Any way possible to write wikitext inside a template parameter? [15:35:37] What is the default interwiki link to MediaWiki.org? [15:37:16] svip: I think [[mediawikiwiki:]] [15:37:47] also mw: [15:40:42] Anyone be able offer advice on using a wiki page as an apache errordocument. regardless of the url i end up with the main wiki page [15:56:21] 03(mod) AbuseLog show private data (timestamp emailconfirm) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20005 +comment (10agarrett) [15:57:39] 03yaron * r55385 10/trunk/extensions/ExternalData/ED_Utils.php: Removed now-unnecessary "todo" call [15:59:13] 03yaron * r55386 10/trunk/extensions/ExternalData/README: Updated [15:59:22] 03(mod) Please enable variant ShortURLs for Chinese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19019 (10PhiLiP.NPC) [16:08:23] hello [16:08:36] Is here a german irc channel for mediawiki? [16:16:41] 03(mod) Special:Preferences - page layout problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20018 (10agarrett) [16:29:17] 03(mod) Restore autoreview for confirmed usergroup on huwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19885 (10gtisza) [16:37:52] Has the improved UI for Uploads ever gone anywhere? http://lists.wikimedia.org/pipermail/commons-l/2008-May/003862.html [16:40:50] jdpond: You rpolly wanna talk to the usability folks [16:44:29] werdna: prolly right. Was thinking of doing an edit button that would a) drag and drop upload b) Create Metadata for file c) create link, all in one step [16:44:57] Sounds handy [16:45:13] ask Brion and the usability folks for their thoughts, there may be something in the pipeline [16:45:38] Figured there probably was, just couldn't find it. [16:46:13] yeah I can't blame you, I don't know of anything [16:46:19] but if there is, one of those two will know of it [16:46:25] oh look, rainman-sr [16:46:41] rainman-sr: where is it that we add the title of a page to the lucene index, I want to replace it with the thread subject [16:46:56] IIRC we just append it to the start of the content [16:47:01] but I can't find where that's done [16:47:25] jdpond: ask nkomura in #wikipedia_usability [16:47:33] 03(mod) Adding New custom namespaces in arabic wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20300 (10jeluf) [16:48:10] werdna, i think same as other fields in makeDocument() [16:49:41] although need to be careful with that because it gets returned in search results, so it actually needs to be a valid title, not just some random text .. [16:50:02] lame [16:50:07] I just want it to be searchable [16:50:12] maybe I'll prepend it to the content [16:50:15] yes [16:50:27] if you just want it searchable just add to contest [16:50:38] this is already done for redirects, anchor words etc [16:50:52] // add both title and redirects to content, so queries that match part of title and content won't fail [16:50:55] String contents = article.getContents(); [16:50:57] ah, that's the one :) [16:50:59] contents = article.getTitle()+". "+contents; [16:51:14] 03(mod) Create Portal namespace of Bengali wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20314 (10jeluf) [16:52:41] also useful to add a separator like "." so that last part of title and first part of the content doesn't come up in exact phrase searches [16:56:49] 03(ASSIGNED) Rough toolbar display on zhwiki using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20319 (10tparscal) [17:07:41] 03rainman * r55387 10/branches/lucene-search-2.1/ (build src/org/wikimedia/lsearch/oai/OAIHarvester.java): [17:07:41] * bug 20313 - Lucene Search "build" doesn't work when maintenance is symlinked [17:07:41] * retry OAI reads a number of times so we don't fail the update round if there is a bad apache in the cluster [17:08:01] 03(FIXED) Lucene Search "build" doesn't work when maintenance is symlinked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20313 +comment (10rainman) [17:17:21] 14(INVALID) Closure of nl.wikinews.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20323 +comment (10Abigor) [17:21:56] how can i insert text into the textarea form when editing an article? (dynamically, by checking a checkbox for example, without saving the article yet) [17:22:46] 03(CLOSED) Closure of nl.wikinews.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20323 (10Abigor) [17:27:30] in my extension i need to modify the wikitext of an article before it's being saved. any ideas? [17:31:27] does anybody know what Article::preSaveTransform($text) does? [17:31:50] the PST is text changes which are done at save time, rather than render [17:32:05] e.g. converting [[Foo (bar)|]] into [[Foo (bar)|Foo]] [17:34:52] 03werdna * r55388 10/trunk/extensions/LiquidThreads/ (classes/View.php lqt.css): Change from nested divs to ul-li style, Trevor's suggestion [17:35:14] TrevorParscal: just deployed that on my test wiki [17:35:32] flyingparchment, oh good i need that. so what is the argument i submit? [17:37:12] What needs to be changed for the git protocol to be taken as a link and parsed? [17:37:45] (git:// instead of http:// for instance) [17:38:15] http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols [17:38:44] thanks MaxSem completely overlooked it when searching :( [17:40:59] flyingparchment, preSaveTransform doesn't help me, it returns the altrered wikitext string, but i also need to actually save the modified text [17:41:33] 03(mod) Closing several wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19368 +comment (10Abigor) [17:53:46] 03(FIXED) Set up readerfeedback.labs.wikimedia.org test site - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20315 +comment (10brion) [17:59:31] i can't find a way to modify the wikitext before an article gets saved.. there must be some function offering that?? [18:01:08] 03(mod) SpecialExport.php with category and template links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9167 +comment (10innocentkiller) [18:01:15] <^demon> dgts: check the hook list, I'm sure there's one for it. [18:02:42] For what reason would my media wiki server send emails about password changes, but not send messages about updated wiki pages? [18:02:43] 03(NEW) Closure dutch Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20325 enhancement; Normal; Wikimedia: Language setup; (Abigor) [18:02:55] ^demon, i did, they all refer to EditPage and Article, but those don't seem to have any functions to simply append sth to the text or change it completely [18:05:02] <^demon> dgts: you want EditPage::attemptSave. [18:05:30] Is it possible to display the entire contents of one page in the section of another page? [18:07:01] RickZilla, {{:Page title}} [18:08:07] str4nd: That's a big help, and will make Editing from OOo quite a bit easier for me...thanks for your quick response [18:08:22] No problem [18:08:35] ^de [18:08:53] str4nd: Just for clarification, the colon is supposed to be in there? [18:08:58] yes [18:09:07] str4nd: Got it, thanks again [18:09:33] ^demon, i'm trying attemptSave. however, EditPage offers no method to modify the text.. there's only doEdit which is called eventually [18:15:07] 03(NEW) Option to strip some metadata on upload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20326 enhancement; Normal; MediaWiki: Uploading; (agarrett) [18:15:19] *charitwo sets a trap for ^demon [18:17:32] 03(mod) I hit "submit, " No Captcha displays, I'm thrown to error page, yet save appear in article, but garbage "proxy" message also appears in article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16027 +testme; +comment (10innocentkiller) [18:17:57] there he is! [18:17:57] *^demon falls into the trap [18:18:00] where the /join #freescale [18:18:02] oops [18:19:14] <^demon> dgts: I dunno then [18:19:30] We're caught in a trap [18:19:57] ok thx [18:21:27] ^demon: any reason you put LinkSearch under "redirecting special pages" in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialPage.php?view=diff&r1=48044&r2=48045 ? [18:22:18] meep, bai [18:23:22] Emufarmers: i already queried him about that ;) [18:28:40] Is there a way to insert the content of a page in another page... somewhat like when inserting a template to a page... [18:28:47] lets say I have a page named "House" [18:29:05] is there a way to insert all the content of "House" inside... lets say, the page "home" ? [18:29:12] {{House}} [18:29:32] {{:House}} [18:29:54] Ok nice! [18:29:55] I'll try that [18:31:02] great it work! [18:31:07] thanks OxOA [18:31:18] :) [18:36:30] <^demon> where was I...oh yeah, people complaining about my commit. [18:38:17] <^demon> Emufarmers: rev #? [18:38:52] One more, then I should be done: How can I display the contents of a section in a page as a section in another page? Thanks in advance for your help. [18:39:21] ^demon: see PM...... [18:39:32] that i sent you 30 minutes ago [18:40:05] <^demon> charitwo: I lost it on disconnect [18:40:20] <^demon> (I'm mobile & at work, apologies) [18:41:11] oh, let me resend, didn't see you poof [18:47:27] 03werdna * r55390 10/branches/lucene-search-2.1/src/org/wikimedia/lsearch/index/WikiIndexModifier.java: Prepend thread subject to content in index to make thread subjects searchable [19:06:17] Every time I try and run the install script, i fill the form out, click "Install", then the next page comes up, but only half of it loads and that's it. [19:49:37] "Found GNU diff3: /usr/bin/diff3<" is the last message I see on the page after I submit the install form [19:49:37] Any ideas what could be causing this? [19:49:37] !errors [19:49:37] --mwbot-- To see PHP errors, add this to the very top of LocalSettings.php: error_reporting(E_ALL); ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [19:49:37] yeah, toolserver has some problems [19:49:37] Schiz0: do you have something in php's error log? [19:49:37] yeah: pg_version(): supplied argument is not a valid PostgreSQL link resource in /usr/local/www/skittles_wiki/wiki/includes/db/DatabasePostgres.php on line 1078 [19:49:37] hm, so it's not connecting to the db properly? [19:49:37] which mediawiki and postgres version? [19:49:37] latest of both: 1.15.1 and 8.4.0 [19:49:37] <^demon> OverlordQ might be able to help, he knows pgsql :) [19:49:37] Schiz0: you are sure that host/username/password are correct? [19:49:37] yeah, I copied and pasted. Although, does it use sockets to connect? or tcp/ip? (for the pg_hba auth file) [19:49:37] the db and httpd are on the same system - i'm connecting over localhost [19:49:37] Is there anyway to put a message at the top and bottom of the wiki so it shows on ALL pages? [19:49:37] for the top you have MediaWiki:Sitenotice [19:49:37] 03(FIXED) LiquidThreads search does not search the thread subject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20003 +comment (10agarrett) [19:49:37] (this is a wiki page) [19:49:37] for the bottom, you'll need to use a hook [19:49:37] ialex: That would probably work. Thanks. [19:49:37] Sparks: http://www.mediawiki.org/wiki/Manual:Hooks/SkinAfterContent [19:49:37] or another one [19:49:37] the list is on http://www.mediawiki.org/wiki/Manual:Hooks [19:49:37] ialex: Great! [19:49:37] 03robin * r55391 10/trunk/extensions/WikimediaIncubator/ (3 files): [19:49:37] - update RandomByTest because of r55188 [19:49:37] - add randombytest-nopages message [19:49:37] rainman-sr: poke poke :) [19:49:37] domas is doing some profiling on our opensearch suggestions; it looks like with the lucene backend, mwsearch's result set is loading up revision data for each result though for regular opensearch suggest all we need is page titles [19:49:37] (eg, at most a check on page data should be necessary) [19:49:37] can we optimize that? [19:49:37] caching snippets can be useful too [19:49:37] not sure yet [19:49:37] will get to that [19:49:37] be good to know how much traffic we actually get to the xml opensearch [19:49:37] but we certainly get a shit-ton of traffic to regular opensearch :D [19:49:37] shit-ton: alternative spelling of shitton [19:49:37] loading revisions on opensearch, sounds bad [19:49:37] http://p.defau.lt/?NAKKLFxgOhVP_y3uR5xNTA <- call trace [19:49:37] looks like it's just pulling that up in the lucene result set [19:49:37] which usually is handy, since we need to pull text for regular searches [19:50:20] but for plain opensearch case we won't actually grab that info :) [19:50:26] yeah, agreed [19:50:33] :D [19:52:39] anyway, there is around 400 backend hits for en.wp opensearch suggest stuff [19:53:04] per second that is [19:56:26] *whistle* [19:56:38] then yes that sounds like a good optimization target ;) [19:56:57] ok i'm gonna grb some lunch and get back to things [20:01:54] well [20:12:33] rainman: opensearch is >75% of API hits, yep [20:14:12] the 400 hits figure is from the hit counter on the backend [20:18:17] argh how do i enable those profiling call traces? [20:30:01] 03rainman * r55392 10/trunk/extensions/MWSearch/MWSearch_body.php: Propagate search method to LuceneResult so we can supress revision loading when its not needed [20:34:28] <3 rainman [20:34:31] How can I display the contents of a section in a page as a section in another page? Thanks in advance for your help. [20:37:02] Is postgresql support stable? I just got 1.15.1 working with pgsql 8.4.0. And it seems I'm getting blank pages at random. I click refresh, and it loads ok. But a random blank page is displayed, and I get this in my php error logs: PHP Notice: pg_query(): WARNING: there is no transaction in progress in /usr/local/www/skittles_wiki/wiki/includes/db/DatabasePostgres.php on line 580 [20:43:01] Schiz0: i'm not sure i'd use the word stable at this time :) it's the most stable of the non-mysql backends though [20:43:05] but my honest recommendation is to use mysql in production [20:43:17] Schiz0, pgsql support is secondary to MySQL. If you have problems, ask Greg Sabino Mullane. [20:43:21] currently we've got no formalized testing of the postgres support, certainly not in our release process [20:43:36] MySQL is pretty much guaranteed to work flawlessly, pgsql is fairly mature and is likely to work most of the time. [20:43:58] EVERYTHING WITH PG IS STABLE [20:44:09] hm, well I'm unable to use mysql at this point...I was just wondering why all the errors were coming up about transactions and blank pages [20:44:14] 03(FIXED) Set up http://flaggedrevs.labs.wikimedia.org test site - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20316 +comment (10brion) [20:44:24] use drizzle! [20:44:31] did I say, that I ported our schema to drizzle? [20:44:37] needed quite some time [20:44:42] :) [20:44:53] it doesn't have tinyint [20:44:54] ;-) [20:45:17] We need to abstract the schema with the database abstraction layer. [20:45:24] Instead of having a different schema for each DB. [20:45:59] Schiz0, contact Greg. Like every other MediaWiki developer uses MySQL, we mostly have no idea how pgsql works. [20:46:11] I know how PG works! [20:46:18] I did initial PG support!!!! [20:46:23] every feature worked! [20:46:25] Simetrical: alrighty [20:46:28] domas, okay, so solve Schiz0's problem. :) [20:46:33] *Simetrical has been pondering switching to SQLite for development so he doesn't have to run mysqld on his desktop [20:46:39] domas: everything works fine, except for random blank pages and the transaction error in my php logs :-P [20:46:49] well [20:46:51] find random blank pages [20:46:54] find what causes them [20:46:56] and fix that [20:46:56] :) [20:46:58] it seems that MW is trying to start and/or end a transaction which doesn't exist [20:47:05] hehe [20:47:11] MW can be quite aggressive at transactions, yes [20:47:14] write glue for PG then [20:47:15] :) [20:49:24] We need to clearly define the semantics of MW's abstraction layer so everyone else can make sure they match MySQL's quirks for things like this. :) [20:59:20] simetrical: we need to use ActiveRecord!!!!!!!!! [20:59:23] *domas giggles [20:59:27] *domas finds it really funny [20:59:48] I already found that nearly 20% of our DB waiting time is completely unnecessary [20:59:52] and heating up revision table [20:59:54] hehe [21:01:10] Where did you find it? [21:01:32] opensearch [21:01:51] abstractions on top of abstractions yield inefficient data paths [21:02:10] Which one is opensearch? [21:02:21] That's not the cute drop-down thing, is it? [21:02:39] That's the thing that gives search suggestions. [21:02:50] Opensearch is? [21:02:53] Yes. [21:02:59] Why would it be touching revision? [21:03:05] It shouldn't, that's the point. [21:03:08] Annemarie: the search backend is [21:03:21] it was a stack of five different abstractions on each other [21:03:24] :) [21:03:32] brion gave the backtrace I extracted [21:03:47] http://p.defau.lt/?NAKKLFxgOhVP_y3uR5xNTA [21:03:56] it's kind of cute yes :) [21:04:16] as you can see, it is core->api->apiextension->prefixsearch->searchextension->revisionfetch [21:04:26] api execution calls a version of api with error handling which looks for the action module which brings up the enhanced opensearch which farms it back to the regular opensearch [21:04:26] then it is also going to ES too, if revision is not in memcached [21:04:40] which runs the prefix search abstract interface, which hits a hook which calls back to the lucene search [21:04:48] <3 mediawiki [21:05:01] which returns a resultset object which says "oh you're going to want revision data with these results" and handily fetches them for you [21:05:09] I've been reading about how they avoid abstraction in the Linux kernel. [21:05:19] Like they have a red-black tree implementation, with no default search function. [21:05:24] domas: i think the text will be lazy-loaded, so for this case it won't get touched [21:05:25] Callers just write their own search function. [21:05:30] but we're still hitting revision table unnecessarily [21:05:35] Because passing a function pointer to do comparisons would be too slow! \o/ [21:06:01] heh [21:06:08] Actually, I recently wrote a little program in C using a bignum library. [21:06:10] they should rewrite linux in java, then it'll hvae lots of abstraction! ;) [21:06:23] So I had to manually initialize all the bignum structs. [21:06:29] *brion was actually always kind of curious about http://www.jnode.org/ :D [21:06:35] And list all my temporaries explicitly. [21:06:43] 03mrzman * r55393 10/trunk/phase3/ (3 files in 2 dirs): [21:06:43] Update ChangesList output for enhanced changes to use CSS instead of obsolete attrbutes and elements (cellpadding, , etc.) [21:06:43] The test page I was using successfully validated as HTML 5 :) [21:06:43] Tested for signs of obvious regressions in FF 3.5, IE8, Opera 9.64 and Safari 4.0. [21:06:43] Supposedly, the border-spacing property isn't supported by IE, but I didn't see any obvious issues when testing, [21:06:48] so either the information I got was wrong/outdated, or its not actually necessary here. Needs testing in IE6/7 to verify. [21:06:51] If I did everything right, there shouldn't be any visible changes, save maybe a couple trivial spacing quirks. [21:06:55] And do twice as many lines to do all the operations because stuff like a = b*c + d*e; doesn't work. [21:07:06] oooooh [21:07:07] And I mis-initialized some stuff and caused a memory leak that I had to fix. [21:07:18] *brion slaps Simetrical around with C++ [21:07:26] And I thought "Man, this is what C++ is for." [21:07:28] Then I realized. [21:07:46] In C++, it would have created and destroyed like a dozen temporary objects *on every function loop*. [21:07:48] "programmer had a problem, decided to use c++. now he had two problems" [21:07:53] :-D [21:07:58] And probably been five times as slow. [21:08:09] While this was a numerical computation that I wanted to be fast. [21:08:09] brion: haha [21:08:13] well the fun thing about c++ is you have so many possible options for memory management ;) [21:08:28] And you have no idea if they're anywhere close to optimal to your situation. [21:08:29] and you can use them all at once [21:08:30] and with templates, i think actually you might be able to get away with most of that abstraction filtered out at compile time [21:08:31] brion: Objective-C :)) :P [21:08:32] but it's.... scary ;) [21:08:33] once the samew bit of memory [21:08:41] *on [21:08:42] werdna: oh god, just give up and do it in python then [21:08:49] With the C code, I know: it's not doing unnecessary initialization. [21:08:52] objc has the least efficient method calling system evar [21:08:55] blech phooey python [21:08:56] I should learn C++ some day [21:08:59] it has some nice bits [21:08:59] Objective-C is fun :o [21:09:05] :) [21:09:06] I did this in C because Mathematica was doing it too slowly. :) [21:09:11] weird as hell though [21:09:15] though what I'd really like to learn some day [21:09:16] ouch [21:09:18] is lockless data structures [21:09:23] you'd think wolfram can hire some nice optimizers ;) [21:09:23] http://aryeh.name/gitweb.cgi?p=rationalpower;a=blob;f=rationalpower.c;h=bead304de56982e7147a4cc4dbedc27c562243ad;hb=HEAD [21:09:27] That's the program. [21:09:40] (Note: the comment at the top is mostly a lie, didn't get updated with the code.) [21:09:51] brion: Objective-C is like the bastard child of java, C and square brackets. [21:09:57] Look at all those garbage lines that just do explicit initialization. [21:10:25] brion, Mathematica isn't so terrible at efficiency, but it's an interpreted language. And I doubt it's as heavily optimized as Python either. [21:10:33] So, actually, it is terrible at efficiency. :P [21:11:11] Mm, yes. There are literally twelve lines in the inner loop, when with ints I just had six. [21:11:13] So twice as many. [21:11:32] Plus six extra variables and twelve lines for initialization. [21:12:07] http://torvalds-family.blogspot.com/2009/08/programming.html "Some people seem to think that C is a real programming language, but they are sadly mistaken. It really is about writing almost-portable assembly language" [21:12:36] werdna: objc's method calling is based on smalltalk but with extra brackets; it's really quite cute in its way [21:12:59] *Simetrical doesn't know anything about Objective-C, and doesn't really want to learn [21:13:01] [someobj doSomethingWith: aParam andAlsoWith: antoherParam] [21:13:09] [objc kicks: yourAss] [21:13:10] I've had enough problems with ObjectiveCaml. :) [21:13:36] Objective Camels? [21:14:09] brion: I think you mean [objC doesKick assOwnedBy:[You getSharedYou] ]; [21:14:18] rofl [21:14:23] anyone wants to finish the poolcounter server? [21:14:27] Tim wants wait interface [21:14:30] and I'm too lazy to implement it [21:14:38] every time I think I'll hack on it, I end up sleeping instead [21:14:44] and we _need_ that code to go live [21:14:56] vs the java version... new BufferedKicker(this.getKicker(ass.getAss())).kick(); [21:15:11] poolcounter? [21:16:59] werdna, I see you're a jQuery convert. [21:17:07] Speaking of abstractions. [21:17:12] Simetrical: yes, it's quite awesome. [21:17:20] very succinct but still somewhat readable. [21:17:26] jquery cures cancer [21:17:29] jQuery is apparently why it was taking multiple seconds for the new edit toolbar to display. :) [21:17:30] jquery elected obama [21:17:34] jquery put a man on the moon [21:17:35] brion, is that good? [21:17:41] jquery went back in time and killed hitler [21:17:48] jquery elected ralph nader? [21:18:01] . . . it didn't do a very good job of it. [21:18:10] Since he's, well, not in office? [21:18:30] Simetrical: code for animated menu [21:18:33] $j( '.action-box.class' ).hide(); $j( '.post-class' ).hover( function() { $j(this).find('.lqt-thread-toolbar').fadeIn(); }, function() { $j(this).find('.lqt-thread-toolbar').fadeOut(); } ); [21:18:41] jquery went back in time and then de-elected ralph nader [21:18:51] I'll agree that's good. [21:19:03] werdna, hmm. I'll have to look into it. [21:19:06] It does look nice. [21:19:10] But possibly slow. [21:19:18] Although, maybe that wasn't jQuery's fault. [21:19:31] Maybe it was just the ridiculous amount of processing being used to construct the desired DOM from the array. [21:19:48] probably :) [21:19:49] There was a callback involved to a gigantic function of some kind. [21:19:52] I didn't look very closely. [21:20:14] I can sort of almost read that jQuery code, even though I've never used jQuery. [21:20:26] If you want further fun, this is live preview implemented in 35 lines of jQuery JS http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/preview.js?view=markup [21:20:38] $j( cssSelector ) presumably returns an object representing all elements matching the selector. [21:20:43] .hide() is obvious. [21:20:57] .hover( fn ) presumably sets an onhover function. [21:21:06] yep [21:21:14] Oh, it takes two arguments. So onhover and onstophover or whatever it's called. [21:21:28] $j(object) turns a DOM element into a jQuery object [21:21:34] Not sure about $j(this).find(), but I'm sure it makes sense. [21:21:42] 03(NEW) Error in FlaggedRevs.hooks.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20327 enhancement; Normal; MediaWiki extensions: FlaggedRevs; (danny.leinad) [21:21:49] .find() finds subelements matching a CSS selector [21:22:09] Oh, right, "this" is the current element, in an event handler. [21:22:11] That's just JS. [21:22:26] It's weird, that's different from $this in PHP or this in C++ or self in Python or . . . [21:22:27] .load() empties out the HTML of an element, and replaces it with HTML loaded over an XHR from the URL you supply [21:22:37] That sounds nasty. [21:22:39] Simetrical: actually this is not standard JS [21:22:46] 'this' is not standard JS [21:22:48] Wait, you aren't using it here. [21:23:01] personally i'd like js just a little more with regular classes and this-ness instead of prototype-based wacky fun [21:23:07] I was going to ask why you were using XHR to fade out a menu. :) [21:23:10] but the heavy use of lambda functions makes me very happy :D [21:23:20] werdna, the variable "this" is not standard JS? [21:23:24] Not even de facto standard? [21:23:34] *Simetrical doesn't know much JS . . . thankfully [21:23:41] (Well, it can't be too much worse than PHP.) [21:23:57] Usually event handlers are done like function( e ) { var target; if (!e) target = window.event; if (e.target) { target = e.target; } /* Blah blah more compat code */ } [21:24:08] Simetrical: It means something else [21:24:35] I like it more than php in some regards, minus the stupid-yet-necessary restriction on XHR being same-origin [21:24:45] Oh, yes, that's right. [21:24:45] e. [21:24:48] Which isn't a magic name. [21:25:22] werdna: what about e.srcElement for IE? [21:25:24] var myObject = { 'myFunction' : function() { alert(this.bar); }, bar : 'foo', } myObject.myFunction(); // Shows foo [21:25:32] Skizzerz: yeah, that's why I put that /* in there :) [21:25:35] didn't feel like going through [21:25:39] ah :P [21:26:14] normally I just do this: function(e) { e = e || window.event; var target = e.target || e.srcElement; /* remaining code goes here */ } [21:26:20] 03(NEW) Cannot login to a page with bad revision timestamps - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20328 minor; Normal; MediaWiki: General/Unknown; (potatman) [21:27:25] Simetrical: so jquery is nice because you don't have to deal with that shit [21:27:31] Yeah. [21:27:39] 03(mod) Error in FlaggedRevs.hooks.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20327 +comment (10brion) [21:27:48] 03(mod) Cannot login to a page with bad revision timestamps - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20328 (10potatman) [21:31:03] 03simetrical * r55394 10/trunk/phase3/includes/Html.php: [21:31:03] Remove somewhat braindead comments [21:31:03] On second thought, if you're outputting user-supplied JS without careful [21:31:03] validation, it doesn't really matter if it's HTML-escaped or not. :D [21:31:03] CSS has expr() and such too. [21:31:30] Simetrical: there are also lots of cheap effects and animations which make it generally feel nicer [21:31:53] 03brion * r55395 10/trunk/ (2 files in 2 dirs): bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history page classes [21:32:25] 03(FIXED) Error in FlaggedRevs.hooks.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20327 +comment (10brion) [21:35:36] 03ialex * r55396 10/trunk/phase3/includes/GlobalFunctions.php: Document wfWarn() function [21:36:25] brion: http://meta.wikimedia.org/wiki/Multimedia_Usability_Project_Meeting_October_2009 -- it's in France, 2 hours away, reckon I should head down? [21:40:15] 03(NEW) Please, create a new mailing list for wikipedia.pt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20329 enhancement; Normal; Wikimedia: Mailing lists; (fabioaze) [21:40:32] seems quite related to my next project ( workflow ) [21:41:08] *^demon puts blocking rewrite in werdna's queue :) [21:41:58] 03(mod) Create Portuguese unblock-pt-l list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20329 summary (10brion) [21:42:07] werdna: that would be great :D [21:42:24] brion: awesomes, I'd get a chance to try out the eurostar :P [21:42:36] \o/ [21:43:02] i took it back in '97 [21:43:04] not half bad [21:43:06] better than amtrak that's for sure ;) [21:43:15] brion: it's improved since then [21:43:26] you now run high-speed from St. Pancras (not waterloo) to the chunnel [21:43:53] dedicated lines opened in 2007 that go from St. Pancras to the chunnel without any suburban lines at all [21:44:01] oooh [21:44:06] nice [21:44:52] *werdna avoids distracting brion with a link to the wikipedia article [21:50:13] 03rotem * r55397 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update. [21:57:07] 03(mod) Some pages won't open on Russian Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20320 (10herd) [21:58:54] <^demon> brion: Curious, what was that file for? [21:59:12] <^demon> (I tried digging around before deleting it, but I never found an answer) [22:16:44] Chome 4.0.202.0 seems to mess up the MW nav bar [22:16:45] woot [22:16:57] on monobook [22:30:59] ^demon: http://markmail.org/message/inxaoxgtka7gm7m7 [22:32:05] <^demon> brion: Ah ok :) [22:34:26] which reminds me to check on LocalisationUpdate... [22:34:31] http://test.wikipedia.org/wiki/Main_Page?uselang=bg&useskin=vector <- still showing the old value :( [22:34:41] guess it'll have to wait fo rthe general update unless we can figure it out :( [23:03:24] 03(NEW) Add IT, XM, MOD, and S3M to $wgFileExtensions[] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20330 enhancement; Normal; Wikimedia: Site requests; (mike.lifeguard) [23:04:13] 03(mod) Add IT, XM, MOD, and S3M to $wgFileExtensions[] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20330 +comment (10mike.lifeguard) [23:11:46] 03yaron * r55398 10/trunk/extensions/Maps/Maps_Settings.php: Better default value for OpenLayers zoom [23:12:02] 03aaron * r55399 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Use $pager accessors as I should have in the first place [23:13:16] yaron, aaron [23:13:19] *werdna commits as barron [23:39:59] ^demon|away, is it just me, or are you reimplementing something like Python's optparse in PHP? :) [23:44:10] I actually can't tell which of the JS files in UsabilityExtension/mvEmbed/etc. are stock jQuery and which are ours. [23:44:13] They're named rather confusingly. [23:44:25] Are we going to start using jQuery in core or what? [23:44:35] Like, say, can we use it in wikibits.js? Or does that not work yet? [23:46:14] I think it only works in core right now if JS2 is enabled [23:46:39] We seem to have at least two or three copies of jQuery in extensions. [23:46:55] Ah, we have a copy in core now. [23:47:00] Under js2/mwEmbed. [23:47:32] Should probably be in skins/ like everything else. [23:48:24] Simetrical: especially on WMF, since things not in /skins aren't implicitly cached, fun ^_^ [23:48:31] like /extensions was must-revalidate untin dommy fixed it [23:52:40] *Simetrical is feeling unreasonably disagreeable tonigth [23:52:42] tonight [23:53:54] Copy-pasting an HTML 4 doctype for use in a