*** davidstrauss has quit IRC | 00:00 | |
*** oshani has quit IRC | 00:17 | |
*** kreynen has quit IRC | 00:24 | |
*** kreynen has joined #cc | 00:26 | |
*** kreynen has quit IRC | 00:34 | |
*** oshani has joined #cc | 00:57 | |
*** lotia has quit IRC | 01:04 | |
*** kreynen has joined #cc | 01:10 | |
*** kreynen has quit IRC | 01:24 | |
*** kreynen has joined #cc | 01:36 | |
*** lotia has joined #cc | 01:38 | |
*** papyromancer_ has joined #cc | 02:11 | |
*** papyromancer has quit IRC | 02:11 | |
*** K`Tetch has joined #cc | 02:33 | |
*** johndoigiii has joined #cc | 02:50 | |
*** K`Tetch has quit IRC | 02:55 | |
*** K`Tetch has joined #cc | 03:01 | |
*** lotia has quit IRC | 03:13 | |
*** kreynen has quit IRC | 03:32 | |
*** kreynen has joined #cc | 03:42 | |
*** kreynen has quit IRC | 03:47 | |
*** kreynen has joined #cc | 03:51 | |
*** kreynen has quit IRC | 04:02 | |
*** papyromancer_ has quit IRC | 04:10 | |
*** papyromancer has joined #cc | 04:10 | |
*** papyromancer has quit IRC | 04:39 | |
*** papyromancer has joined #cc | 04:39 | |
*** ankitg has joined #cc | 04:40 | |
*** papyromancer_ has joined #cc | 04:43 | |
*** papyromancer has quit IRC | 04:43 | |
*** oshani has quit IRC | 04:59 | |
*** johndoigiii has quit IRC | 05:31 | |
*** davidstrauss has joined #cc | 05:42 | |
*** davidstrauss has quit IRC | 05:50 | |
*** tanjir has quit IRC | 05:51 | |
*** cristi has quit IRC | 06:47 | |
*** johndoigiii has joined #cc | 07:23 | |
*** K`Tetch has quit IRC | 07:28 | |
*** Bovinity has quit IRC | 07:43 | |
*** balor has joined #cc | 07:58 | |
*** johndoigiii has quit IRC | 08:11 | |
*** papyromancer_ has quit IRC | 08:14 | |
*** Tearran has joined #cc | 09:20 | |
Tearran | anyone got info on modifying(addi8nf to) the cc like | 09:24 |
---|---|---|
Tearran | permission to use my stock with the following restrictions. | 09:24 |
Tearran | The resulting image must have little or no resemblance to the Original Image. | 09:24 |
Tearran | *(addi8nf to)= adding to | 09:25 |
paulproteus | You might like "Sampling+". | 09:30 |
paulproteus | Tearran, http://creativecommons.org/about/sampling | 09:32 |
Tearran | this is what im trying to get I can remove most of ithttp://tearran.deviantart.com/journal/13901772/ | 09:35 |
Tearran | http://tearran.deviantart.com/journal/13901772/ | 09:35 |
Tearran | I guess I should be asking Is this beond the scope ot the cc | 09:39 |
*** cristi has joined #cc | 09:48 | |
*** Tearran has quit IRC | 10:41 | |
*** oshani has joined #cc | 11:14 | |
*** lotia has joined #cc | 11:32 | |
*** lotia has quit IRC | 11:34 | |
*** oshani has quit IRC | 11:47 | |
*** Orango has joined #cc | 12:18 | |
*** robmyers has joined #cc | 13:02 | |
*** wolfwalker has joined #cc | 13:04 | |
*** oshani has joined #cc | 13:04 | |
*** enrry has joined #cc | 13:05 | |
enrry | hi all | 13:05 |
*** kreynen has joined #cc | 13:11 | |
*** dini has joined #cc | 13:26 | |
*** wolfwalker has left #cc | 13:47 | |
*** sama has joined #cc | 13:51 | |
*** kreynen has quit IRC | 13:56 | |
*** jonsson has quit IRC | 14:00 | |
*** jonsson has joined #cc | 14:00 | |
*** kreynen has joined #cc | 14:13 | |
*** balor has quit IRC | 14:19 | |
*** balor has joined #cc | 14:39 | |
*** K`Tetch has joined #cc | 14:47 | |
*** jgay has joined #cc | 14:56 | |
*** nathany has joined #cc | 15:14 | |
paulproteus | Mornin', nathany. | 15:19 |
nathany | morning | 15:19 |
*** nkinkade has joined #cc | 15:23 | |
paulproteus | nathany, Did we finish making webmaster@ an account so powerful, it can request Google Maps API keys? | 15:24 |
nathany | paulproteus: i think i sent you a ping saying it was reporting@ | 15:25 |
paulproteus | Oh, oops, pardon me. | 15:25 |
nathany | i'm double checking now | 15:25 |
nathany | (the account) | 15:25 |
* paulproteus nods | 15:25 | |
nathany | paulproteus: nevermind; you can use webmaster@ | 15:28 |
nathany | i'm adding the credentials to teamspace now | 15:28 |
paulproteus | Great, thanks. | 15:28 |
*** Bovinity has joined #cc | 15:39 | |
*** Bovinity has quit IRC | 15:54 | |
*** K`Tetch_ has joined #cc | 16:07 | |
*** kreynen has quit IRC | 16:11 | |
*** K`Tetch has quit IRC | 16:16 | |
nkinkade | nathany: paulproteus: Do either of you have any opinion on the matter of rebooting the servers after updates? I've gone back and forth on this, and I'm still not sure if planning it and sending out emails is worth it or if I should just make sure nobody has an active terminal and then just do it. | 16:27 |
nathany | nkinkade: i don't have a strong opinion although i imagine i might if i were getting ready to do something :) | 16:28 |
nathany | i assume you mean kernel upgrades? | 16:28 |
nkinkade | Such as? | 16:28 |
nkinkade | Yup, a kernel upgrade. | 16:28 |
paulproteus | It'd be nice to have notice. The best thing would be if you declare right now (and forever), "Sunday at noon eastern for three hours is the scheduled outage window." | 16:28 |
nkinkade | A rather large wave of updates just came down the pipe. | 16:28 |
nathany | nkinkade: i'm being flip | 16:28 |
paulproteus | And then I'd just move my cron jobs so they hopefully don't run then, or at least I would know that I shouldn't feel bad if they got interrupted since you warned me years in advance. | 16:29 |
*** Bovinity has joined #cc | 16:29 | |
nkinkade | That's fine, but I'd rather not make it a weekend. | 16:29 |
paulproteus | Sure, Sunday and noon are arbitrary. (-: | 16:30 |
nkinkade | paulproteus: Is your main concern a reboot interfering with a cron job, and nothing else? | 16:30 |
nkinkade | If so, then perhaps I could just check your cron jobs on any particular machine to make sure that none are running. | 16:31 |
paulproteus | That'd be splendid. | 16:31 |
paulproteus | I think that's all my concern is, yeah. | 16:31 |
paulproteus | <3 | 16:31 |
nkinkade | But something schedule could be nice too. | 16:31 |
nkinkade | Mostly I would worry that someone might be drafting a long post in Wordpress or something, and then maybe lose it. | 16:32 |
paulproteus | But OTOH the ccLearn folks didn't even notice your reboot of one of the machines as they were actively reviewing opened.creativecommons.org. (-: | 16:32 |
paulproteus | Click, read, think, wait. (hidden reboot) Click, read, think wait. | 16:32 |
nkinkade | :-) | 16:33 |
nkinkade | That's the most likely scenario for CC at it's present size, etc. | 16:33 |
*** michaelkrnac has joined #cc | 16:40 | |
*** kreynen has joined #cc | 16:50 | |
*** cchelpbot has joined #cc | 17:03 | |
nkinkade | nathany: Is there anything else on a6 nowadays that we should be monitoring other than learn? | 17:20 |
nathany | nkinkade: probably discovered, opened | 17:20 |
nkinkade | Is uesearch gone? | 17:21 |
nathany | discovered is the new uesearch | 17:21 |
*** K`Tetch_ has quit IRC | 17:25 | |
nkinkade | nathany: Then would it be safe to drop the DNS and vhost for uesearch? | 17:27 |
nathany | nkinkade: no, it should probably still redirect for the time being | 17:27 |
nkinkade | It's not doing that, for what it's worth. | 17:28 |
*** lotia has joined #cc | 17:28 | |
nkinkade | Or at least didn't seem to be. | 17:28 |
nkinkade | So anyone who's gone there for probably some time has seen a more or less broken page. | 17:28 |
Bovinity | paulproteus: is it possible for mediawiki to display a toolbox list of recent changes? | 17:39 |
paulproteus | "a toolbox list", like how there's the navigation toolbox list of navigation pages? | 17:39 |
Bovinity | right | 17:39 |
paulproteus | I don't know of any off the top of my head. | 17:39 |
*** kreynen has quit IRC | 17:40 | |
nkinkade | haoyu: I implemented one of the & fixes for mod_rewrite. It seems to be working now. | 17:48 |
*** lotia has quit IRC | 17:49 | |
nkinkade | paulproteus: You busy in that terminal on a6? | 17:51 |
paulproteus | Nope, all yours. | 17:52 |
nkinkade | All done. Thanks. | 17:55 |
paulproteus | Yay! | 17:56 |
paulproteus | The only reason I'd suggest against random reboots whenver-needed is that sometimes reboots have unintended consequences. | 17:56 |
paulproteus | Other than "zomg you might interrupt my cron jobs." | 17:56 |
*** Orango has quit IRC | 18:23 | |
*** Orango has joined #cc | 18:27 | |
*** lotia has joined #cc | 18:27 | |
*** Orango has quit IRC | 18:28 | |
paulproteus | nathany, To fix http://code.creativecommons.org/issues/issue120 you wanted me to actually embed the video on the wiki. Except that the wiki bans <embed> (arguably for the best of reasons) | 18:32 |
paulproteus | I guess I'll deploy my "Gadgets" extension that I made last week on wiki-dot-cc and whitelist the embeds I need? | 18:33 |
* paulproteus does so, hearing no objections | 18:33 | |
nathany | paulproteus: makes sense to me | 18:33 |
nathany | (although did you do a quick check for something we're not maintaining that does the same thing (ie, for specific video providers)) | 18:34 |
nathany | paulproteus: ^^ (fwiw) | 18:35 |
paulproteus | Will check re: video providers | 18:36 |
paulproteus | http://www.mediawiki.org/wiki/Extension:EmbedVideo doesn't support IA (though we could add it...) | 18:37 |
paulproteus | Also, the idea of wiki vandals rick-rolling every passer-by to the CC wiki is kind of hilarious. (-: | 18:37 |
paulproteus | e.g. is cross-system (just requires an FLV link) but I'm not sure we want to allow any webber to add the video of their choosing to the CC wiki | 18:41 |
paulproteus | er, forgot the link, http://www.mediawiki.org/wiki/Extension:Dhflashplayer | 18:41 |
*** johndoigiii has joined #cc | 18:43 | |
johndoigiii | nathany: you want an extra thinkpad charger? I accidently grabbed the wrong charger in the dark this morning haha, I have no use for this thinkpad adapter now | 18:45 |
*** K`Tetch has joined #cc | 18:46 | |
nathany | johndoigiii: lol... oops | 18:47 |
nathany | (is this extra just for today or more consistently extra?) | 18:47 |
johndoigiii | ha yeah, no you can have it | 18:47 |
* paulproteus wonders if there's more where that came from (-; | 18:48 | |
nathany | johndoigiii: that'd be most excellent, thank you | 18:48 |
johndoigiii | haha, I can look around, I know I have few of these somewhere | 18:48 |
paulproteus | Er, I wasn't expecting anything remotely close to a yes there! | 18:49 |
johndoigiii | haha | 18:51 |
johndoigiii | nathany: re your response on the django template catalogs, I'd like to talk to you later about any ideas on how to use external catalogs within django | 18:53 |
nathany | johndoigiii: sure; maybe after lunch? | 18:53 |
johndoigiii | sounds good | 18:53 |
paulproteus | If git submodules are part of the answer, I did create an i18n.git repo that mirrors CC's i18n svn. | 18:54 |
nathany | paulproteus: good to know; they may be, but i think this is probably a question @ a lower level (ie, how to load the catalogs in a sane manner, right johndoigiii?) | 18:55 |
johndoigiii | yes | 18:55 |
paulproteus | Okay, cool. (-: | 18:55 |
*** balor has quit IRC | 18:58 | |
*** kreynen has joined #cc | 19:16 | |
*** Orango has joined #cc | 19:29 | |
Mike_H | @moltke: I would be interested in starting "Wikinyheder," which is under CC license. Do you think DR would be interested in a partnership? | 20:00 |
cchelpbot | Mike_H: Error: "moltke:" is not a valid command. | 20:00 |
* Mike_H hopes CC DK can get WM a partnership with DR ;) | 20:01 | |
haoyu | nkinkade, maybe something has broken with the '&' fix applied. Some URL to static file is recognized as wiki page now, such as: http://monitor.creativecommons.org/skins/common/shared.css?195 | 20:06 |
haoyu | thus, there's no css on the wiki: http://monitor.creativecommons.org/Main_Page | 20:06 |
nkinkade | haoyu: Are you getting no styling at all on that page? | 20:07 |
nkinkade | It looks styled to me. | 20:07 |
nkinkade | And this page: http://monitor.creativecommons.org/skins/common/shared.css?195 returns a normal CSS file for me. | 20:08 |
*** Orango is now known as Orango|AFK | 20:09 | |
haoyu | ah? so URL like this: http://monitor.creativecommons.org/images/5/5b/Pirate_Flag_of_Jack_Rackham.png | 20:09 |
haoyu | is okey for you too? | 20:09 |
*** Orango|AFK is now known as Orango|Away | 20:09 | |
haoyu | but it redirected to a wiki page for me.. strange.. | 20:09 |
*** Orango|Away is now known as Orango|Busy | 20:10 | |
*** Orango|Busy is now known as Orango | 20:10 | |
nkinkade | haoyu: No, that one isn't right for me. | 20:11 |
nkinkade | But the CSS all seems in place. | 20:12 |
*** Orango is now known as Orango|Mobile | 20:15 | |
haoyu | nkinkade, so, for CSS, it must be cache. | 20:15 |
nkinkade | haoyu: I'm looking into the image issue. | 20:15 |
nkinkade | haoyu: Try it again. | 20:21 |
nkinkade | This time I implemented the 2nd possible fix: http://www.mediawiki.org/wiki/Manual:Short_URL/Ampersand_semi-friendly_solution_with_root_access | 20:22 |
*** Orango|Mobile has quit IRC | 20:23 | |
haoyu | nkinkade, it has "Redirect loop detected!" error on Main_Page now, but CSS works. | 20:23 |
ankitg | http://monitor.creativecommons.org/images/5/5b/Pirate_Flag_of_Jack_Rackham.png does show me the image not a wiki page ... | 20:24 |
*** Orango has joined #cc | 20:25 | |
haoyu | ankitg, yes but now wiki pages failed. | 20:26 |
ankitg | oh ... | 20:27 |
nkinkade | Alright, I guess last time I was the one looking at a cached page. | 20:27 |
nkinkade | :-) | 20:27 |
nkinkade | If I never had to look at MW again, it would be too soon. | 20:27 |
enrry | good night all! | 20:28 |
*** enrry has quit IRC | 20:29 | |
*** Orango has left #cc | 20:30 | |
*** parker-fcnyu has joined #cc | 20:34 | |
*** Orango has joined #cc | 20:35 | |
nkinkade | haoyu: Take at look at /Main_Page | 20:44 |
nkinkade | I dumped $_SERVER and $_REQUEST to the footer. | 20:44 |
*** Orango is now known as Orango|Away | 20:47 | |
*** Orango|Away is now known as Orango|Busy | 20:48 | |
*** Orango|Busy is now known as Orango|Mobile | 20:48 | |
haoyu | nathany, the page seems correct now? | 20:48 |
*** Orango|Mobile is now known as Orango | 20:49 | |
haoyu | oh sorry nathany :p | 20:49 |
haoyu | nkinkade, you fixed it? | 20:49 |
*** Orango has quit IRC | 20:49 | |
*** Orango has joined #cc | 20:50 | |
nkinkade | haoyu: It's not fixed, but strangely everything looks fine to me in terms of the variables, at least at first glance. | 20:52 |
nkinkade | It suddenly is feeling like an MW problem to me. | 20:52 |
nkinkade | Maybe I missed something. | 20:52 |
haoyu | now the wiki pages, static files, and api.php all works well for me | 20:55 |
nkinkade | haoyu: I did do one thing, and that was to remove the QSA flag from the main MW rule that passes things to index.php. | 20:55 |
nkinkade | Maybe that was it. | 20:56 |
nkinkade | ? | 20:56 |
haoyu | What's the QSA mean? | 20:57 |
nkinkade | haoyu: But this still seems broken: http://monitor.creativecommons.org/Test_&_this | 20:57 |
nkinkade | QSA = Query String Append | 20:57 |
nkinkade | So, I think we're back to square 1. | 20:57 |
haoyu | em... how the rewrite rule looks like now? | 20:58 |
*** oshani has quit IRC | 20:59 | |
*** cristi2 has joined #cc | 20:59 | |
nathany | paulproteus: can i ask a git question? | 21:00 |
nkinkade | haoyu: What I was getting at above was that the $_SERVER and $_REQUEST variables all look normal, and that the problem seems like it might be in MediaWiki. | 21:02 |
nkinkade | haoyu: I just commented the rule you had me put: $wgUsePathInfo = false;, and now this link works: http://monitor.creativecommons.org/Test_&_this | 21:03 |
haoyu | yes, but... by the way, how do you fixed image file uploading? | 21:05 |
nkinkade | haoyu: I'm not sure. | 21:05 |
*** cristi2 has quit IRC | 21:09 | |
nkinkade | haoyu: http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Working_method_with_mediawiki-1.11 | 21:10 |
nkinkade | That page says this: "Note that setting this global to false means that the semi-friendly solutions for handling ampersands etc will no longer work." | 21:10 |
haoyu | nkinkade, but set $wgUsePathInfo to true will broken api.php :( | 21:10 |
nkinkade | haoyu: It would appear so, which means that there must be some other solution. | 21:11 |
nkinkade | What that solution is I don't exactly know. | 21:12 |
haoyu | but nkinkade, I see [argv] => Array ( [0] => title=Test_&_this ) in the _REQUEST you dumped out. Is this correct? | 21:13 |
haoyu | should the & be escaped here? | 21:13 |
*** mecredis has joined #cc | 21:14 | |
nkinkade | haoyu: Maybe, but it doesn't seem to me that it should be Apache's job to fix that. | 21:15 |
*** [mharrison] has quit IRC | 21:15 | |
haoyu | is that mean the "RewriteRule ^(.*)\&(.*)$ $1\%26$2" haven't applied, since & haven't be escaped? is 'title=Test_&_this' just the query string? | 21:22 |
nkinkade | http://www.unnecessaryquotes.com/ | 21:23 |
nkinkade | haoyu: Yes, but when I add that RewriteRule it breaks other thing, as you saw. | 21:24 |
*** isforins1cts is now known as isforinsects | 21:24 | |
nkinkade | I'm not 100% sure. I'd have to analyze the rewrite log, perhaps. | 21:24 |
*** sama has quit IRC | 21:29 | |
nkinkade | But haoyu, regarding the fix you mention, according to the wiki article I posted a few lines back, that rewrite rule won't work when $wgUsePathInfo is set false. | 21:34 |
*** kreynen_ has joined #cc | 21:34 | |
nathany | so does anyone know if paulproteus is working today? | 21:43 |
johndoigiii | nathany: his last email said he will be working from home | 21:45 |
nathany | right... didn't know if i missed something he'd said in IRC since then | 21:46 |
*** kreynen__ has joined #cc | 21:48 | |
*** kreynen has quit IRC | 21:48 | |
*** kreynen has joined #cc | 21:53 | |
*** kreynen_ has quit IRC | 21:53 | |
paulproteus | nathany, Hey | 21:54 |
nathany | hey :) | 21:54 |
paulproteus | Sorry, I went afk for lunch after taking a nap from being sick )-: | 21:55 |
paulproteus | But... I'm feeling okay now and I'm back. Sup? | 21:55 |
nathany | i figured as much | 21:55 |
nathany | my earlier question was how to just kill off commits I'd done previously | 21:55 |
nathany | i managed to figure it out shooting myself in the foot a couple times using revert | 21:56 |
paulproteus | There's always git rebase -i, if you want it. | 21:56 |
paulproteus | Aww, sorry. | 21:56 |
nathany | why would i rebase? i'm not changing what things are based on... ? | 21:56 |
nathany | (like, i just wanted to say "oh, shit those last two commits are totally bogus") | 21:56 |
nathany | my current question is how do i easily find out what revisions are present in one branch and not the other (ie, i've cherrypicked a few commits, how do i tell what's left (or if i've forgotten something)) | 21:57 |
paulproteus | Right, so if you haven't pushed, you can just remove those commits entirely. | 21:57 |
nathany | paulproteus: er, how would one go about that? | 21:57 |
paulproteus | "git rebase -i" lets you conveniently edit, reorder, remove, and more (!) the commits since whatever you want. | 21:57 |
nathany | (oh wait, i had pushed) | 21:57 |
*** kreynen_ has joined #cc | 21:58 | |
* paulproteus nods, okay then, revert is probably mostly what you were after. | 21:58 | |
*** everton137 has joined #cc | 21:58 | |
paulproteus | Sorry to hear about your foot; wish I had been here in time. | 21:58 |
*** kreynen___ has joined #cc | 21:59 | |
*** kreynen has quit IRC | 22:00 | |
paulproteus | Back tidying up wiki.cc/Translating_with_Pootle . | 22:00 |
nathany | eh, thanks... | 22:00 |
nathany | paulproteus: what about visualizing what you haven't merged? | 22:00 |
nathany | (see my above question) | 22:00 |
paulproteus | Er, /me scrolls | 22:00 |
paulproteus | I mean, "gitk", right? | 22:00 |
* paulproteus reads | 22:00 | |
nathany | seriously? | 22:00 |
paulproteus | Oh! | 22:00 |
paulproteus | "git cherry" shows you, iirc. | 22:00 |
paulproteus | != git-cherry-pick | 22:00 |
paulproteus | Read man git-cherry and I think you'll see it's what you wanted. | 22:01 |
nathany | so "git cherry master" shows the refs in master but not the current branch, right? | 22:01 |
nathany | ok will do | 22:01 |
paulproteus | I haven't used it ever, I just know about it. |-: | 22:01 |
*** kreynen_ has quit IRC | 22:04 | |
*** kreynen has joined #cc | 22:04 | |
paulproteus | Looks like "git-cherry BRANCH_YOU_ARE_MERGING_TO" (e.g. master) would show what you'd want. | 22:04 |
paulproteus | You've likely figured that out by now, so I'm back to other things. | 22:04 |
*** robmyers has quit IRC | 22:05 | |
nathany | paulproteus: i'm not sure if your example is what it is but i've sort of figured it out :) | 22:05 |
paulproteus | Okay, good enough. (-: | 22:05 |
nathany | paulproteus: just to be clear, i'm interested in finding what i might want to pull into production; git cherry's default syntax is more like "have things i submitted been pushed?" so i can do git cherry origin/production master to see what i care about | 22:07 |
paulproteus | Cool, that makes sense. | 22:07 |
paulproteus | This is ccnetwork, out of curiosity? | 22:08 |
nathany | yeah | 22:08 |
*** kreynen___ has quit IRC | 22:08 | |
*** michaelkrnac has quit IRC | 22:08 | |
nathany | i really wish i had a view that showed me that cherry output in a way that let me easily pick things for merging | 22:08 |
nathany | magit is close but it shows the whole history | 22:09 |
paulproteus | gitk does let you right-click on a commit and cherry-pick it. | 22:09 |
paulproteus | But again it'll show you too much probably. | 22:10 |
paulproteus | I'm confused about why you're cherry-picking rather than using git's real merge. | 22:10 |
*** kreynen__ has quit IRC | 22:10 | |
paulproteus | But if you have a reason, I'll take your word for it and not try to waste our lives explaining that on IRC. | 22:10 |
nathany | well i started because i didn't want to review existing work on master and just wanted to pull my work into production | 22:10 |
nathany | at this point i should have just reviewed the wrok | 22:10 |
nathany | work | 22:11 |
*** oshani has joined #cc | 22:11 | |
paulproteus | Fair enough. | 22:11 |
*** mecredis has quit IRC | 22:12 | |
haoyu | nkinkade, I think I got it... does RewriteCond means the condition of the RewriteRule right after it? | 22:14 |
nathany | nkinkade: any idea why code.cc.org is refusing connections for git://? | 22:14 |
paulproteus | Oh boy, probably inetd-related | 22:15 |
haoyu | thus, this would be wrong: | 22:15 |
nkinkade | nathany: I don't know, but I can sure look at it, | 22:15 |
haoyu | RewriteCond %{REQUEST_FILENAME} !-f | 22:15 |
haoyu | RewriteCond %{REQUEST_FILENAME} !-d | 22:15 |
haoyu | RewriteCond %{REQUEST_FILENAME} !-l | 22:15 |
haoyu | RewriteRule ^(.*)\&(.*)$ $1\%26$2 | 22:15 |
haoyu | RewriteRule ^(.+)$ index.php?title=$1 [L,QSA] | 22:15 |
nkinkade | haoyu: Exactly. That's what RewriteCond does. | 22:15 |
haoyu | (sorry for bulk paste...) | 22:16 |
nkinkade | haoyu: That's not necessarily wrong, but see my post earlier: http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Working_method_with_mediawiki-1.11 | 22:16 |
nkinkade | That page indicates that if $wgUsePathInfo is true then those Ampersand Fixes will not work. | 22:17 |
nkinkade | At least that's what I understood it to be saying. | 22:17 |
nkinkade | Sorry, I mean if $wgUsePathInfo == false. | 22:17 |
haoyu | but, I tried on my local machine, I just put "RewriteRule ^(.*)\&(.*)$ $1\%26$2" before RewriteCond and set wgUsePathInfo false, and everything works well.. | 22:17 |
nkinkade | haoyu: I'll set it that way not, but I've already tried that, and the image didn't display. | 22:18 |
haoyu | have you put the RewriteRule before RewriteCond? or just follow the solution..? | 22:19 |
*** oshani has quit IRC | 22:19 | |
*** oshani has joined #cc | 22:20 | |
nkinkade | haoyu: There you go. I set it back to what the fix recommended. | 22:20 |
haoyu | When I put RewriteRule after RewriteCond, I get excatly things like your previous settings. | 22:20 |
nkinkade | nathany: paulproteus restarted openbsd-inetd and apparently it's working again. | 22:21 |
haoyu | But put it before RewriteCond solved it... | 22:21 |
haoyu | So please try to put "RewriteRule ^(.*)\&(.*)$ $1\%26$2" after the RewriteConds... | 22:21 |
haoyu | thansk nkinkade | 22:21 |
*** kreynen has quit IRC | 22:22 | |
*** kreynen has joined #cc | 22:22 | |
nkinkade | haoyu: it was after the RewriteConds. | 22:22 |
haoyu | oh I mean before I think... | 22:22 |
nkinkade | Okay, it's before now. | 22:22 |
nkinkade | http://pastebin.com/d6d9a8ef | 22:23 |
haoyu | you see.. it works now :) | 22:23 |
haoyu | I just don't distinguish before and after well... :p | 22:24 |
nkinkade | Okay, good. | 22:24 |
nkinkade | paulproteus: It would appear that openbsd-inetd is not in the default runlevel. Not sure how that could have happened. etckeeper doesn't seem to know anything about it. | 22:25 |
nkinkade | I'll add it (back?) now. | 22:25 |
paulproteus | Great. I have no idea why it wouldn't be. | 22:26 |
paulproteus | Sounds like a bug in the package to me. | 22:27 |
haoyu | nkinkade, I think I forgot one thing... we should apply the same RewriteCond to "RewriteRule ^/(.*)\&(.*)$ /$1\%26$2" | 22:28 |
haoyu | otherwist query to index.php and api.php will be escaped. | 22:28 |
haoyu | is that reasonable? | 22:28 |
nkinkade | haoyu: ? | 22:28 |
nkinkade | Where? | 22:28 |
nkinkade | So have that rule in there twice? once before the Conditions and then another time as part of the RewriteCond block? | 22:29 |
nkinkade | Oh, I think I understand. | 22:29 |
haoyu | nkinkade, see: http://pastebin.com/m24dff00f | 22:29 |
nkinkade | Done. | 22:30 |
haoyu | nkinkade, what mean for 400 Bad request reported by Varnish cache? | 22:40 |
haoyu | I got it when my bot talking with api.php | 22:42 |
*** kreynen_ has joined #cc | 22:42 | |
nkinkade | haoyu: I would imagine that something about the request wasn't valid or HTTP compliant. | 22:43 |
nkinkade | haoyu: For testing you can always bypass Varnish by going directly to :8080 | 22:44 |
*** kreynen has quit IRC | 22:44 | |
*** dini has quit IRC | 22:48 | |
*** dini has joined #cc | 22:48 | |
haoyu | nkinkade, could you give me shell access to the a7.cc.org site? So I won't trouble you everytime for the configure/debuging things.. | 22:58 |
haoyu | and one more request now: can we enable external image embedding on the wiki? (http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages) | 23:01 |
haoyu | I want to reuse the contry flags on this page: http://creativecommons.org/international/ | 23:02 |
nkinkade | haoyu: Let me get back to you about shell access to that machine. It's just that that machine also hosts some internal stuff, so there could be some objections there ... not sure yet. | 23:03 |
nkinkade | But for now I'll enable external images. | 23:03 |
haoyu | nkinkade, em, I can understand that | 23:04 |
nkinkade | haoyu: There's no CIA secrets on that machine, but still perhaps some information that people wouldn't really want public, and it's not that I don't trust you but more a matter of keeping the accounts limited to CC employees. | 23:07 |
*** nathany has quit IRC | 23:07 | |
nkinkade | haoyu: Another option would for you to develop this site on some server where you've got full access, then when most of the bugs are worked out and it's just a matter of data entry, then we could move it back to a CC server. | 23:07 |
haoyu | yes, I'll have a local mediawiki setup for testing from now. thanks nkinkade :) | 23:08 |
nkinkade | ... $wgAllowExternalImages is now == true. | 23:08 |
nkinkade | haoyu: I can always give a MySQL dump of the current DB, if you want. | 23:09 |
haoyu | okey thanks nkinkade | 23:10 |
haoyu | I'll do experiment on my local machine when I found something wrong regarding to wiki settings. But I think I need Giorgos to see and feedback of the work | 23:12 |
haoyu | so I'll still do update to the monitor.(cc).org wiki. | 23:12 |
nkinkade | Sorry about the hassle. | 23:13 |
nkinkade | Don't worry about requesting things from me. If it gets too much and we need to figure something else out, then I'll let you know. :-) | 23:14 |
haoyu | okey... thank you nkinkade :-) | 23:14 |
paulproteus | afk for a bit, thinking something through on paper | 23:28 |
*** dini has left #cc | 23:56 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!