Re: [Wikitech-l] Code review process (was: Status of more regular code deployments)
Στις 01-06-2011, ημέρα Τετ, και ώρα 15:58 -0600, ο/η bawolff έγραψε: On Wed, Jun 1, 2011 at 3:02 PM, Brion Vibber br...@pobox.com wrote: On Wed, Jun 1, 2011 at 1:53 PM, bawolff bawolff...@gmail.com wrote: As a volunteer person, I'm fine if code I commit is reverted based on it sucking, being too complicated, being too ugly, etc provided there is actually some objection to the code. However, I'd be rather offended if it was reverted on the basis of no one got around to looking at in the last 3 days, since that is something essentially out of my control. When someone looks at your commit within ~72 hours and reverts it because nobody's yet managed to figure out whether it works or not and it needs more research and investigation... what was the reason for the revert? Because 'no one reviewed it'? Or because someone looked at it and decided it needed more careful review than they could give yet? -- brion That's fine. I'm only concerned with the possibility of no one looks at the commit, and it gets summarily reverted (Which is what I thought was being proposed). --bawolff One question is how thorough is thorough: if the code is reviewed for security issues and doesn't apparently break things, does it need to get gone over with a fine toothed comb before we accept it for deployment? I would say no, and that we could live with the commit adheres to our basic coding guidelines, looks like it will generally do what it says (without necessarily having tested every detail personally), and follows general usage patterns (appropriate use of hooks, cacheing, i18n, etc. etc.). Can we ensure that folks have (now and ongoing) enough available time to review commits to trunk at that level within 72 hours? This means buy-in from reviewers *and from their managers* that they have X time for this and that time will not get reassigned to other priorities. If we can't ensure this, we need to decide on the minimum level of review we *can* get done, or extend the time period, or both. Asking all committers to trunk to guess whether their reviewer can or cannot make the 72-hour window for their commit seems like a recipe for pissing people off. Just my two cents. Ariel P.S. Oh and for the record I would like 4 releases a year ideally, I could live with 3, and I would be pretty unhappy with two. Deployment from trunk should happen a lot more often. I don't know if we can manage weekly, but it's a good target. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Code review process (was: Status of more regular code deployments)
Thank you for posting this Erik. I initially didn't reply on this thread because to me it just seems to be the same as the 3 or 4 times we've had the same discussion before. No technical or procedural change is going to solve a problem that is ultimately caused by a lack of time assigned to it. I was somewhat disappointed by the suggestion that the onus should be on volunteers to find a reviewer for their code, as this is just as unworkable without staff time assigned to doing it - and perhaps could be even more demotivating than the status quo. Having review be a portion of staff time was always how I assumed it would be arranged. The justification for not assigning time to review has often been that one person or team doing it all the time would result in burn-out, and I agree with this. As a (part-time) developer I certainly wouldn't want to spend all my time doing service work, even for just one or two weeks at a time. The idea of having a single person/team assigned for each deploy/release cycle is nice, but I think that it would lead to burn-outs and conflicts with existing responsibilities those people have. Whatever model is implemented, I hope it can finally be successful. I reject the notion that we need a change in our review processes. Empirical evidence shows that when staff time is assigned to it, our code review system *does* work. (Of course there are always minor changes that would improve efficiency, such as automating some of the reporting tasks that have traditionally been done manually.) Updates on how this is going would be nice, as again it took MZMcBride to bring it up before anyone senior posted about it - and this is still the big issue for volunteer developers. Cheers, Robert On 2011-06-01, Erik Moeller wrote: On Wed, Jun 1, 2011 at 4:50 PM, Brion Vibber br...@pobox.com wrote: This is one of the reasons I tend to advocate shorter development/review/deployment cycles. By keeping the cycle short, we can help build up regular habits: run through some reviews every couple days. Do a deployment update *every* week. If you don't think your code will be working within that time, either work on it outside of trunk or break it up into pieces that won't interfere with other code. With a long cycle, review gets pushed aside until it's no longer habit, and gets lost. Right. And just to weigh in quickly on the resources issue -- the review/deploy/release train is clearly not moving at the pace we want. This does affect WMF staffers and contractors as well, but we know that it's especially frustrating for volunteers and third party committers. We kicked around the idea of a 20% rule for all funded engineers (IMO not just senior staff) in Berlin and in the office yesterday, and I think Roan mentioned it earlier in this thread: i.e. ensuring that every WMF-funded engineer spends one day a week on service work (code review, design/UX review, deployment, shell bugs, software bugs, bug triaging, etc.). An alternative model is to have rotating teams that do this work. I personally prefer the 20% model because it gives more consistency/predictability and less churn, but I'm curious what other folks think, and I'm comfortable with us continuing this discussion openly on this list. Whether that would get us to a healthier balance remains to be seen, but I think there's pretty broad agreement that adding more support to the review/deployment/release process is a necessary precondition for any other process changes like moving towards pre-commit review. Clearly what's been said in this thread is true -- there are lots of things that can be done to reduce our technical debt and make it easier to accommodate and manage new changes, but without added dedicated capacity, the train won't move at a speed that we're happy with. We can't change that overnight (because we need to figure out the right rhythm and the right processes together), but we will change it. Erik -- Erik Möller Deputy Director, Wikimedia Foundation Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r88502]: New comment added
User Fomafix posted a comment on MediaWiki.r88502. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88502#c17444 Commit summary: Trial commit to fix bug #29043: “The 'Contents box' in the Printable version rendering is stupid” Other people should try my patch and see if they agree that printing the contents box on paper is stupid. Just commenting on the bug with your opinion would be helpful. Comment: This gadget already exists. See bug 482. But this feature doesn't work anymore since porting to ResourceLoader in r78941. In r78941 the JavaScript part to add and remove the css class codetochidden/code is lost. codetochidden/code is still in [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/commonPrint.css?view=annotate#l120 commonPrint.css]. [https://bugzilla.wikimedia.org/attachment.cgi?id=8607action=diff Here] is a patch as a follow-up to r78941 to reactivate codetochidden/code. Please revert r88502 and integrate the patch. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89308]: Revision status changed
User Hashar changed the status of MediaWiki.r89308. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89308#c0 Commit summary: Revert r88997: fix for bug 93 caused some additional problems. Follow-up to r89191: disable test case for bug 93 as it currently fails (bug left open). ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89282]: Revision status changed
User Hashar changed the status of MediaWiki.r89282. Old Status: new New Status: deferred Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89282#c0 Commit summary: Localisation updates for core and extension messages from translatewiki.net (2011-06-01 20:12:00 UTC) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89305]: New comment added
User Nikerabbit posted a comment on MediaWiki.r89305. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89305#c17445 Commit summary: Changed default path of cookie Comment: Does not match commit summary. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] Code review process (was: Status of more regular code deployments)
On Thu, Jun 2, 2011 at 9:20 AM, Robert Leverington rob...@rhl.me.uk wrote: I reject the notion that we need a change in our review processes. Empirical evidence shows that when staff time is assigned to it, our code review system *does* work. (Of course there are always minor changes that would improve efficiency, such as automating some of the reporting tasks that have traditionally been done manually.) I agree that it's worth trying to add staff time without materially changing the process, see how that works, then change things as needed. Updates on how this is going would be nice, as again it took MZMcBride to bring it up before anyone senior posted about it - and this is still the big issue for volunteer developers. FWIW, I was planning to bring this up at the staff meeting following the Berlin hackathon. I said to a number of people that I wanted to have a discussion about code review, both before and during the event. This didn't end up happening, partly because some felt that people that weren't around should be involved, or that the entire discussion should be had in public, and partly because we were doing all sorts of other things. I think MZ knew about my plans and the lack of a post-conference update saying here's the outcome of our discussion, what do you think may have driven him to bring this up. I care about this issue, and I agree with MZ on most of the basics, but I'm also a busy guy who took some time off after the conference to focus on school. So having said the obligatory but I care too! thing, you are right that it seems, at least to people outside the office (both staff and non-staff: apparently there are lots of hallway discussions about CR these days, but they happen thousands of miles from my desk so working for WMF doesn't help me there), that there isn't a lot of attention given to this. Whether that's actually the case or just the impression that's being created due to lack of communication doesn't matter all that much; we can and should fix it. Roan Kattouw (Catrope) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r89290]: Revision status changed
User Hashar changed the status of MediaWiki.r89290. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89290#c0 Commit summary: HttpTest regression fix: test URL on example.com no longer returns a 404 (now a 302 redirect), so switching the 404 tests to use an URL on mediawiki.org in the /xml/ dir where we stash actual files. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88524]: Revision status changed
User Catrope changed the status of MediaWiki.r88524. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88524#c0 Commit summary: Fixup/add documentation Remove trailing whitespace ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88771]: Revision status changed
User Catrope changed the status of MediaWiki.r88771. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88771#c0 Commit summary: Added $wgArticleFeedbackBlacklistCategories, a way to disable ArticleFeedback on pages in a certain category (such as All disambiguation pages on English Wikipedia). Also refactored the category intersection code, making it a little easier to read. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89324]: New comment added
User Devayon posted a comment on MediaWiki.r89324. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89324#c17449 Commit summary: added my userinfo (devayon) Comment: Thanks for pointing that out. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89325]: New comment added
User Devayon posted a comment on MediaWiki.r89325. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89325#c17450 Commit summary: Comment: Ah, sorry, newbie here. Added the auto-props in the config-file but seems they aren't working. Will resolve them before making any more commits ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89328]: Revision status changed
User Jack Phoenix changed the status of MediaWiki.r89328. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89328#c0 Commit summary: Followup r89324, r89325 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] Status of more regular code deployments
On Thu, Jun 2, 2011 at 12:10 AM, Brandon Harris bhar...@wikimedia.org wrote: Your solution, as you've described it in the past, comprises people do code review or orf wit' dere heads. I know of no professional developer who has dignity who will work under those conditions. So it's untenable. Wow, I picked the wrong career path. A whole profession where you're never asked to do anything that you don't want to do and there's no repercussions for not finishing assigned tasks on time. That sounds awesome! -- Alex Z. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] The average size of a wikipedia article in Spanish
Hi, I have a simple question What is the average size of a wikipedia article in Spanish? I need this to calculate the amount of articles that can be included on a CD. Subsequently, this size will be compressed by LZMA2 (OpenZIM format) http://en.wikipedia.org/wiki/Wikipedia:Size_comparisons = is updated? -- Lcdo. Wilfredo Rafael Rodríguez Hernández msn,googletalk = wilfre...@gmail.com blog = http://wilfredor.blogspot.com Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. That's what we're doing. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Status of more regular code deployments
Στις 02-06-2011, ημέρα Πεμ, και ώρα 08:31 -0400, ο/η Alex Mr.Z-man έγραψε: On Thu, Jun 2, 2011 at 12:10 AM, Brandon Harris bhar...@wikimedia.org wrote: Your solution, as you've described it in the past, comprises people do code review or orf wit' dere heads. I know of no professional developer who has dignity who will work under those conditions. So it's untenable. Wow, I picked the wrong career path. A whole profession where you're never asked to do anything that you don't want to do and there's no repercussions for not finishing assigned tasks on time. That sounds awesome! -- Alex Z. *sigh* If code review is simply added to the list of tasks that must all be done in the same time period, it's not going to succeed. We need to make sure that time is allocated to it, which means less time spent on other things, and reprioritizing those other things appropriately, *and sticking to that*. That last bit is the hard part. Most pgroammers that I've known aren't willing to put up with here's more things on your plate, get them done in the same time frame or walk for very long. It's also true that generally people are hired for jobs with given job descriptions, and shops that tend to pile on substantial tasks not in those descriptions without checking in with folks first, wind up with morale issues at best and people quitting at worst. We ought to be able to avoid both of those outcomes. So why not do so? Ariel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r79568]: New comment added
User Hashar posted a comment on MediaWiki.r79568. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/79568#c17451 Commit summary: Partial revert of r79520, follow up to r79558. Unconditionally use the new format. For environments post r70783, they will need to rerender pages with __NOEDITSECTION__ or no headings (hopefully those will be simple pages). There will be no extra parser cache misses for environments pre r70783. Comment: Manually added r88988 as a follow up ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88988]: New comment added
User Hashar posted a comment on MediaWiki.r88988. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88988#c17452 Commit summary: bug 29123: record use of the editsection option so that users who can't edit (or have section edit links disabled) get a different cache key; also simplify freaky code layout (briefly tested, seem to work) Comment: Please do not mix code style and actual code change. Makes things harder to review / merge .. The removal of $this-optionUsed('editsection') was made on purpose by r79568 which was not merged in 1.17 nor in 1.17wmf1. This mean the live site still use the optionUsed('editsection') call (verified on live cluster. So this is probably not the cause of bug 29123. 1.18 (branched from r87519) does not have the optionUsed('editsection'). Summary as of current head (r 89328 ): $ fgrep getEditSection mw1.{16,17,17wmf1,18}/includes/parser/ParserOptions.php mw1.16/includes/parser/ParserOptions.php: function getEditSection() { return $this-mEditSection; } mw1.17/includes/parser/ParserOptions.php: function getEditSection() { $this-optionUsed('editsection'); mw1.17wmf1/includes/parser/ParserOptions.php: function getEditSection() { $this-optionUsed('editsection'); mw1.18/includes/parser/ParserOptions.php: function getEditSection() { return $this-mEditSection; } $ I am reopening bug 29123 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] The average size of a wikipedia article in Spanish
I think the place to look would be http://stats.wikimedia.org/EN/TablesWikipediaES.htm. However, the average size hasn't been updated since 2009. I sent an email about this to Erik a few days ago and he said these stats will be available after some new servers will have been installed. No ETA, though. Strainu 2011/6/2 Wilfredor wilfre...@gmail.com: Hi, I have a simple question What is the average size of a wikipedia article in Spanish? I need this to calculate the amount of articles that can be included on a CD. Subsequently, this size will be compressed by LZMA2 (OpenZIM format) http://en.wikipedia.org/wiki/Wikipedia:Size_comparisons = is updated? -- Lcdo. Wilfredo Rafael Rodríguez Hernández msn,googletalk = wilfre...@gmail.com blog = http://wilfredor.blogspot.com Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. That's what we're doing. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] The average size of a wikipedia article in Spanish
2011/6/2 Strainu strain...@gmail.com: I think the place to look would be http://stats.wikimedia.org/EN/TablesWikipediaES.htm. However, the average size hasn't been updated since 2009. I sent an email about this to Erik a few days ago and he said these stats will be available after some new servers will have been installed. No ETA, though. Article size = thumb img size + article size (text and images) Strainu 2011/6/2 Wilfredor wilfre...@gmail.com: Hi, I have a simple question What is the average size of a wikipedia article in Spanish? I need this to calculate the amount of articles that can be included on a CD. Subsequently, this size will be compressed by LZMA2 (OpenZIM format) http://en.wikipedia.org/wiki/Wikipedia:Size_comparisons = is updated? -- Lcdo. Wilfredo Rafael Rodríguez Hernández msn,googletalk = wilfre...@gmail.com blog = http://wilfredor.blogspot.com Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. That's what we're doing. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Lcdo. Wilfredo Rafael Rodríguez Hernández Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge. That's what we're doing. # linuxCounter: 371504 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r79568]: New comment added
User Hashar posted a comment on MediaWiki.r79568. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/79568#c17453 Commit summary: Partial revert of r79520, follow up to r79558. Unconditionally use the new format. For environments post r70783, they will need to rerender pages with __NOEDITSECTION__ or no headings (hopefully those will be simple pages). There will be no extra parser cache misses for environments pre r70783. Comment: Platonides : can you have a look at my comment on r88988 and at bug 29123 ? Thanks! ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89083]: Revision status changed
User Hashar changed the status of MediaWiki.r89083. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89083#c0 Commit summary: Introducing mw.libs, moving JpegMeta into it. * Reverts/re-do's r88794 and r88796. ** mediawiki.util.js no longer extends itself but is defined once. ** mediawiki.util.jpegmeta no longer extends mw.util but is installed as an object property of mw.libs * Empty placeholder defined in mediawiki.js * Removed the redundant 'mw' argument from the IIFE around mediawiki.libs.jpegmeta.js * Fixed all usages in /mediawiki/trunk/* ** http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=205hash=ddc0908eef111558816c9fe1c775f7c1 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] Status of more regular code deployments
On Thu, Jun 2, 2011 at 9:14 AM, Ariel T. Glenn ar...@wikimedia.org wrote: Στις 02-06-2011, ημέρα Πεμ, και ώρα 08:31 -0400, ο/η Alex Mr.Z-man έγραψε: On Thu, Jun 2, 2011 at 12:10 AM, Brandon Harris bhar...@wikimedia.org wrote: Your solution, as you've described it in the past, comprises people do code review or orf wit' dere heads. I know of no professional developer who has dignity who will work under those conditions. So it's untenable. Wow, I picked the wrong career path. A whole profession where you're never asked to do anything that you don't want to do and there's no repercussions for not finishing assigned tasks on time. That sounds awesome! -- Alex Z. *sigh* If code review is simply added to the list of tasks that must all be done in the same time period, it's not going to succeed. We need to make sure that time is allocated to it, which means less time spent on other things, and reprioritizing those other things appropriately, *and sticking to that*. That last bit is the hard part. Most pgroammers that I've known aren't willing to put up with here's more things on your plate, get them done in the same time frame or walk for very long. It's also true that generally people are hired for jobs with given job descriptions, and shops that tend to pile on substantial tasks not in those descriptions without checking in with folks first, wind up with morale issues at best and people quitting at worst. We ought to be able to avoid both of those outcomes. So why not do so? Ariel I agree about reprioritizing. Right now, CR appears to be near the bottom of Wikimedia's technical priorities. Sort of a if you run out of other things to do sort of thing. Then no one does it and it becomes urgent when it's time to do a release. Really, sticking to it shouldn't be the hard part, as long as the change comes from the top down (i.e. from the people setting the priorities). If people want to do code review, but are told that everything else is a higher priority, then it's doomed to fail. The hard part will be, initially, determining what things that are currently high priorities shouldn't be. Cutting anything is going to bother some people. If CR isn't part of the job description for new hires, that's another thing that can be fixed by the people in charge. -- Alex Z. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r89084]: New comment added, and revision status changed
User Hashar changed the status of MediaWiki.r89084. Old Status: new New Status: reverted User Hashar also posted a comment on MediaWiki.r89084. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89084#c17454 Commit summary: Fix r89083: Actually add the directory Comment: History kept by deleting file r89334 and then moving it and patching it r89335 marking reverted ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89332]: Revision status changed
User Hashar changed the status of MediaWiki.r89332. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89332#c0 Commit summary: Fix encoding (followup r89330) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89330]: Revision status changed
User Hashar changed the status of MediaWiki.r89330. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89330#c0 Commit summary: Follow-up to r89329: Add MessagesRoa_rup.php as fallback to 'rup' ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88161]: New comment added, and revision status changed
User Hashar changed the status of MediaWiki.r88161. Old Status: new New Status: ok User Hashar also posted a comment on MediaWiki.r88161. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88161#c17455 Commit summary: HipHop build fixes: * Generate the file list from the autoloader so that it won't break so often * Removed spyc.php from AutoLoader.php, was deleted in r86302 Comment: You are ruining the fun of manually maintaining two lists :-) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88850]: Revision status changed
User Hashar changed the status of MediaWiki.r88850. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88850#c0 Commit summary: added @since tag ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88943]: Revision status changed
User Hashar changed the status of MediaWiki.r88943. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88943#c0 Commit summary: Remove stray require_once of GlobalFunctions.php from EditUser extension's setup file (added in r43509 to support an incorrectly placed wfDebug() call which has long since been removed) Apparently violating MediaWiki's operating assumptions here was in some circumstances causing breakage due to wfDebug() being updated to include hooks calls: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88843#c17219 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89322]: Revision status changed
User ^demon changed the status of MediaWiki.r89322. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89322#c0 Commit summary: Removed useless call to wfLogProfilingData() since profiling is disabled in command-line mode ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88843]: Revision status changed
User Hashar changed the status of MediaWiki.r88843. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88843#c0 Commit summary: * (bug 29140) FirePHP debugging assist extension FirePHP is an extension to Firebug, an awesome debugging extension to Firefox. It allows pulling debug log data in from your PHP script via HTTP headers, which then get displayed in Firebug's console along with errors, warnings, and AJAX hits from the web page. Added 'Debug' hook which gets called from wfDebug() and wfDebugLog() to take this; note that a few lines of output won't make it to FirePHP as they are output either before we've done all plugin initialization, or after we've flushed output and can no longer add HTTP headers. BSD-licensed FirePHPCore library from firephp-libs commit aff25803a3ff460b2797: https://github.com/cadorn/firephp-libs/blob/aff25803a3ff460b2797/packages/core/lib/FirePHPCore/FirePHP.class.php There's not a lot of fancy integration; everything's just output as a 'log' line. You can use $wgFirePHP global (or call FirePHP::getInstance() yourself) to get direct access to FirePHP's fancier features in test code. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89129]: Revision status changed
User ^demon changed the status of MediaWiki.r89129. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89129#c0 Commit summary: Fix for r89114: handle other DBMSes ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89337]: Revision status changed
User ^demon changed the status of MediaWiki.r89337. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89337#c0 Commit summary: Add Debug hook as a new feature of 1.19 Release notes were not updated by r88843 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89339]: Revision status changed
User ^demon changed the status of MediaWiki.r89339. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89339#c0 Commit summary: added @ßince tag ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] getSkin
Hey, A good way to use the linker in a way compatible with changes would be: $linker = class_exists('DummyLinker') ? new DummyLinker : new Linker; Thanks for clarifying! :) When you drop pre-static-linker compatibility you can change all those $linker- calls directly to Linker:: Right. But since the latest release is 1.16.x, it's going to be a while before extensions can go demand MW 1.19 :p Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r89335]: Revision status changed
User Krinkle changed the status of MediaWiki.r89335. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89335#c0 Commit summary: properly move the jpegmeta.js file from util to libs. Follow up r89083 (code change) Fix r89084 (file move without history, reverted by r89334) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89334]: Revision status changed
User Krinkle changed the status of MediaWiki.r89334. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89334#c0 Commit summary: revert r89084 (file moved without keeping history) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r80232]: New comment added, and revision status changed
User ^demon changed the status of MediaWiki.r80232. Old Status: new New Status: ok User ^demon also posted a comment on MediaWiki.r80232. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/80232#c17456 Commit summary: Support talk page tab messages like MediaWiki:Nstab-user_talk. Like the MediaWiki:Nstab-main MediaWiki:Nstab-user etc... we already support. Comment: Don't really like the inline ternary, it's hard on the eyes. Otherwise ok. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88490]: Revision status changed
User Catrope changed the status of MediaWiki.r88490. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88490#c0 Commit summary: * Code improvements after review by Roan Kattouw * Introduce validateLanguageCode() and validatePrefix() ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88529]: Revision status changed
User Catrope changed the status of MediaWiki.r88529. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88529#c0 Commit summary: Make onRcQuery() use buildLike() (the OR ... is not needed actually) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88925]: Revision status changed
User Catrope changed the status of MediaWiki.r88925. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88925#c0 Commit summary: * Fix bug in SpecialViewUserLang: use prefs of target user, not viewing user * Prevent users from creating unprefixed pages (or moving a page to an unprefixed title), instead of just showing a warning (TitleBlacklist blocks it anyway currently on Incubator) * Improve language code and prefix checks, and allow more language codes as valid (not only xx[x]) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89166]: New comment added, and revision status changed
User Platonides changed the status of MediaWiki.r89166. Old Status: new New Status: fixme User Platonides also posted a comment on MediaWiki.r89166. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89166#c17457 Commit summary: HipHop improvements: * Added the ability to compile extensions. The build process is bootstrapped by running MediaWiki in interpreted mode. Extension setup file inclusions are slightly modified in a way that makes them register themselves for compilation. Then the same LocalSettings.php uses the compiled extension setup file when the compiled binary runs. * Tested with Cite and ParserFunctions. The code which lets you have an extensions directory in a place other than $IP/../extensions is untested. * Simplified WebStart.php slightly by using a custom $_SERVER variable to mark compiled mode. It will break if you don't use the supplied server.conf, but that will break a lot of things so don't do that. * Fixed the core web entry points to include WebStart.php in compiled mode instead of interpreted. * Made the build directory configurable. This is mostly so that I can grep the source tree without seeing loads of generated C++. * In server.conf, added a rewrite rule allowing a /wiki/$1 article path. * Removed server.conf log file location /dev/stdout, breaks when you switch user * Disable static content cache, breaks horribly when you set SourceRoot to a directory containing 7GB of files. * Rewrote the run-server script in PHP, mostly to support the configurable build directory feature. * Added an option to the run-server script to allow running in interpreted (hphpi) mode. Comment: Uses of getExtensionsDirectory() instead of self::getExtensionsDirectory() Unavailable function getExtensionsDirectory in line 75 Unavailable function getExtensionsDirectory in line 87 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88648]: New comment added
User Platonides posted a comment on MediaWiki.r88648. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88648#c17458 Commit summary: exit - return now that we are in a function Comment: I don't like it. It works, but only because index.php does nothing below calling wfIndexMain(). Conceptually the exit() were much clear. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r84638]: Revision status changed
User Catrope changed the status of MediaWiki.r84638. Old Status: new New Status: resolved Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84638#c0 Commit summary: Moving deletion hooks into doArticleDelete so that other code can sanely delete articles. Fixed other core code that was wrapping the calls with hook calls. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r84642]: Revision status changed
User Catrope changed the status of MediaWiki.r84642. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84642#c0 Commit summary: Removing pass by reference, and making the $error argument for doDeleteArticle a reference. Follow up for r84638. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88648]: New comment added
User ^demon posted a comment on MediaWiki.r88648. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88648#c17459 Commit summary: exit - return now that we are in a function Comment: +1. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r84699]: Revision status changed
User Catrope changed the status of MediaWiki.r84699. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84699#c0 Commit summary: * (bug 28226) prop=extlinkseloffset should be an integer ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r84735]: Revision status changed
User Catrope changed the status of MediaWiki.r84735. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84735#c0 Commit summary: Fix the last assignment in conditional, bit of code duplication, as the next isn't iterable :( ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r84768]: Revision status changed
User Catrope changed the status of MediaWiki.r84768. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84768#c0 Commit summary: API upload errors may now return the parameter that needs to be changed and a sessionkey to fix the error. This is for now only done for uploads that can be fixed by changing the filename, but may be extended later to comment and pagetext. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88491]: Revision status changed
User Catrope changed the status of MediaWiki.r88491. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88491#c0 Commit summary: Character forgotten ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88344]: Revision status changed
User Catrope changed the status of MediaWiki.r88344. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88344#c0 Commit summary: Improve code (e.g. use Html::*() and Xml::*() functions and use buildLike() for DB queries) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88494]: Revision status changed
User Catrope changed the status of MediaWiki.r88494. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88494#c0 Commit summary: * (bug 29063) When viewing list=recentchangesrcprop=loginfo for an unblock entry, get undefined index Unblocks have no params, so skip adding info ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89343]: New comment added
User ^demon posted a comment on MediaWiki.r89343. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89343#c17461 Commit summary: Added -Wname and -Wno-name parameters to configure the desired warnings Disable by default evil-@ and missed-docblock Comment: Not sure why you're disabling @ by default. It's really evil. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88488]: New comment added
User Catrope posted a comment on MediaWiki.r88488. Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88488#c17462 Commit summary: Similarise queries to that of SpecialWatchlist Comment: Doesn't this change the functional behavior of the query? The INNER JOIN part is fine, but the LEFT JOIN didn't use to be there. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88493]: Revision status changed
User Catrope changed the status of MediaWiki.r88493. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88493#c0 Commit summary: * (bug 20699) API watchlist should list log-events Also add loginfo from recentchanges/logevents ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88588]: New comment added
User ^demon posted a comment on MediaWiki.r88588. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88588#c17463 Commit summary: $wgArticle is deprecated! Possible removal in 1.20 or 1.21! * Encapsulate index.php in wfIndexMain() (similar to r77873) * Kill $wgArticle check in Exception, not necessary anymore * Kill $wgArticle in Setup, also not necessary * Add angry note about $wgArticle to rebuildFileCache. * Remove note about $wgArticle in Parser since it's dying anyway Comment: True. Especially since performRequest() only returns an Article in some scenarios. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88522]: New comment added
User Catrope posted a comment on MediaWiki.r88522. Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88522#c17464 Commit summary: * (bug 29070) Add token to action=watch Comment: That's different. The watchlist token is used for authentication, the watch token is used to prevent CSRF. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88522]: Revision status changed
User Catrope changed the status of MediaWiki.r88522. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88522#c0 Commit summary: * (bug 29070) Add token to action=watch ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88527]: Revision status changed
User Catrope changed the status of MediaWiki.r88527. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88527#c0 Commit summary: Fixing mediawiki.action.watch.ajax * Adding error capturing in case there is an error (either in the API or with the request itself). Right now if it fails it just keeps reading Watching... and no error is displayed. This lack became visible when r88522 changed ApiWatch to require a token and POST. * Added message 'watcherrortext'. * Moved messages-array in Resources.php form legacy.ajax to action.watch.ajax (looks like this was forgotten in r78147) * Switched it to make a POST request in preparation of making it work with the changed API backend as of r88522. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88554]: Revision status changed
User Catrope changed the status of MediaWiki.r88554. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88554#c0 Commit summary: Passing token paremeter in mw.action.watch.ajax since this is required as of r88522. Follow-up: r88511, r88522, r88527, r88553 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89271]: Revision status changed
User Catrope changed the status of MediaWiki.r89271. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/89271#c0 Commit summary: * (bug 29221) Expose oldrevid in watchlist output ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88722]: Revision status changed
User Catrope changed the status of MediaWiki.r88722. Old Status: new New Status: reverted Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88722#c0 Commit summary: * (bug 29120) ApiQueryLogEvents: let letype accept multiple values Description already hinted at multiple ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r83908]: Revision status changed
User Krinkle changed the status of MediaWiki.r83908. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83908#c0 Commit summary: Follow-up r83907: some CSS to achieve flat lists ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88765]: Revision status changed
User Catrope changed the status of MediaWiki.r88765. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88765#c0 Commit summary: Hackaround for unstubbing order problem on $wgParser as ref'd from opensearchxml We were setting $wgParser-mOptions then calling $wgParser-clearState(); this caused unstubbing to happen at the _call_ if it hadn't been previously unstubbed, leaving the mOptions blank and, with current code, thus exploding due to the missing mOptions. Forcing setTitle first gets it going, but isn't very pretty. Should probably be rewritten more cleanly. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r85022]: New comment added
User Krinkle posted a comment on MediaWiki.r85022. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85022#c17465 Commit summary: (bug 19942) remove deprecated HTML attributes (cellpadding, align, valign) from TablePager. Comment: This is currently making the [[Special:Code/myrepo]] of [[Extensions:CodeReview]] look weirder than purple ponies wearing yellow suits. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r85022]: New comment added
User Krinkle posted a comment on MediaWiki.r85022. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85022#c17466 Commit summary: (bug 19942) remove deprecated HTML attributes (cellpadding, align, valign) from TablePager. Comment: In trunk ^ ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88557]: Revision status changed
User Catrope changed the status of MediaWiki.r88557. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88557#c0 Commit summary: Follow-up r88554: Passing null for now, fixed php error about missing arguments. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88553]: Revision status changed
User Catrope changed the status of MediaWiki.r88553. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88553#c0 Commit summary: Adding user.tokens module and loading by default. (ResourceLoaderUserTokensModule Class) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88502]: Revision status changed
User MarkAHershberger changed the status of MediaWiki.r88502. Old Status: ok New Status: reverted Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88502#c0 Commit summary: Trial commit to fix bug #29043: “The 'Contents box' in the Printable version rendering is stupid” Other people should try my patch and see if they agree that printing the contents box on paper is stupid. Just commenting on the bug with your opinion would be helpful. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88627]: Revision status changed
User Catrope changed the status of MediaWiki.r88627. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88627#c0 Commit summary: Release notes for r88625, r88553, r88511 (bringing back 'Other changes' like in REL1_17 release notes) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88625]: Revision status changed
User Catrope changed the status of MediaWiki.r88625. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88625#c0 Commit summary: jquery.tabIndex.js was broken, not it works (for the first time?) * Defaulting to null * Setting to initial value during first iteration (instead of outside the loop), that way we dont have to set minTabIndex to some insane high value to let if ( .. .. ) work * (bug 29048) jQuery.tabIndex: firstTabIndex() outputs the same as lastTabIndex() * Added extra textarea to test suite to make sure the 'correct answer' is not the first or last element ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88725]: Revision status changed
User Catrope changed the status of MediaWiki.r88725. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88725#c0 Commit summary: Reverting r88607. This downgrades jQuery from 1.5.2 back to 1.4.4. * The main reason being the problems with $.ajax that arose in UploadWizard (as remarked on wikitech-l). * My plan is to take the following week (or two) to talk a bit about JavaScript unit testing and how we plan to do distributed continuous integration testing for it. After that we could upgrade right to 1.6.1 * See also bug 28904 and [Wikitech-l] Any issues with pending jQuery 1.6.1 update on trunk? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89083]: Revision status changed
User Catrope changed the status of MediaWiki.r89083. Old Status: ok New Status: resolved Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/89083#c0 Commit summary: Introducing mw.libs, moving JpegMeta into it. * Reverts/re-do's r88794 and r88796. ** mediawiki.util.js no longer extends itself but is defined once. ** mediawiki.util.jpegmeta no longer extends mw.util but is installed as an object property of mw.libs * Empty placeholder defined in mediawiki.js * Removed the redundant 'mw' argument from the IIFE around mediawiki.libs.jpegmeta.js * Fixed all usages in /mediawiki/trunk/* ** http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=205hash=ddc0908eef111558816c9fe1c775f7c1 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89084]: Revision status changed
User Catrope changed the status of MediaWiki.r89084. Old Status: reverted New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/89084#c0 Commit summary: Fix r89083: Actually add the directory ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[Wikitech-l] FW: [Wikimedia Announcements] CTO Leaving Wikimedia Foundation end of July
Looks like this may be something many on this list would like to know asap. I think the mail is in the moderation queue because Danese may not be subscribed. Siebrand From: Danese Cooper dan...@gmail.com Date: Thu, 2 Jun 2011 09:23:35 -0700 To: wikitech-l@lists.wikimedia.org, wikimediaannounc...@lists.wikimedia.org Subject: [Wikimedia Announcements] CTO Leaving Wikimedia Foundation end of July Hello, It is with considerable regret that I inform you of my planned departure from the Wikimedia Foundation at the end of July. I¹ve really enjoyed my time here, and I¹m proud of what Wikimedia Engineering has accomplished together. While I tremendously enjoyed helping to build the engineering organization, at this point in the development of the organization and the role, Sue, Erik and I have agreed that there¹s no longer a fit between the identified near term needs and goals of the organization, and my own interests. I¹ve therefore decided to leave WMF as CTO, but I remain a friend of the organization and the mission, and Sue, Erik and I talked about some ways to work together in coming months. To allow for an orderly transition, I will stay on as Wikimedia¹s CTO through July. I'll be representing the Foundation and recruiting talent at several tech conferences, as well as engaging in transition activites within the Foundation. Erik will assume the title of Interim VP of Engineering and Product Development, and we¹ll immediately start the transition of personnel and reporting lines. Erik will send a note about the transition shortly. Danese ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r89351]: New comment added
User MaxSem posted a comment on MediaWiki.r89351. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89351#c17467 Commit summary: - Changed the AJAX interaction: now the AJAX request returns an object with all info to build the dialog, instead of the dialog code. - added the jquery.validate plugin (from http://bassistance.de/jquery-plugins/jquery-plugin-validation/) - added jquery.formBuilder, written on top of jquery.validate, to manage dialog building and client-side validation - added server-side validation of preference descriptions - implemented the assume-default policy for gadget options which fail validation Comment: preif ( strcmp( $fieldName, 'type' ) == 0)/pre Hey, you're not writing in C, just use comparison operator :) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r85022]: New comment added
User Happy-melon posted a comment on MediaWiki.r85022. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85022#c17468 Commit summary: (bug 19942) remove deprecated HTML attributes (cellpadding, align, valign) from TablePager. Comment: I don't see any wierdness, let alone purple ponies, in my repo. What exact hallucinogenic effects are you experiencing? tt:P/tt ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r85022]: New comment added
User Krinkle posted a comment on MediaWiki.r85022. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85022#c17469 Commit summary: (bug 19942) remove deprecated HTML attributes (cellpadding, align, valign) from TablePager. Comment: More presicely, as seen in Safari and Chrome, the table does not adhere 80% min-widtha and is centered, which looks weird since it should be wider I guess. And the layout of code review kinda assumes that there aren't any centered elements on the page (other than Pager nav). Compare: http://i.imgur.com/dzkRo.png http://i.imgur.com/9Luyy.png ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89350]: New comment added
User Reedy posted a comment on MediaWiki.r89350. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89350#c17470 Commit summary: Copy paste bugs! Comment: You're adding or removing them? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89347]: Revision status changed
User Reedy changed the status of MediaWiki.r89347. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89347#c0 Commit summary: Fix for r89263: this to $this ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89351]: New comment added
User Salvatore Ingala posted a comment on MediaWiki.r89351. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89351#c17471 Commit summary: - Changed the AJAX interaction: now the AJAX request returns an object with all info to build the dialog, instead of the dialog code. - added the jquery.validate plugin (from http://bassistance.de/jquery-plugins/jquery-plugin-validation/) - added jquery.formBuilder, written on top of jquery.validate, to manage dialog building and client-side validation - added server-side validation of preference descriptions - implemented the assume-default policy for gadget options which fail validation Comment: D'oh! You spoiled my secret plan of rewriting MW in C :P Thanks for pointing it out :) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88988]: New comment added, and revision status changed
User Platonides changed the status of MediaWiki.r88988. Old Status: new New Status: fixme User Platonides also posted a comment on MediaWiki.r88988. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88988#c17472 Commit summary: bug 29123: record use of the editsection option so that users who can't edit (or have section edit links disabled) get a different cache key; also simplify freaky code layout (briefly tested, seem to work) Comment: This is (again) refragmenting the cache. I don't see / can't reproduce the stated problem in trunk before this change. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89198]: New comment added
User Helder.wiki posted a comment on MediaWiki.r89198. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89198#c17473 Commit summary: Suppress AFT from all print outputs. I am adding a @media rule, but also suppressing rendering of the widget in the printable version (which does not respect the @media setting when rendered to the screen). I tried just using the noprint class, but it does not appear to be present in the older skins. Comment: I noticed a small inconsistency: * [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Salt_Creek_(White_River)printable= Salt Creek (White River)printable=] (non printable, rateable) * [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Salt_Creek_(White_River)printable=0 Salt Creek (White River)printable=0] (non printable, rateable) * [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Salt_Creek_(White_River)printable=yes Salt Creek (White River)printable=yes] (printable, non rateable) * [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Salt_Creek_(White_River)printable=LoremIpsum Salt Creek (White River)printable=LoremIpsum] (printable, but '''rateable''') I'm not sure how MediaWiki interprets the printable parameter but, empirically, from the examples above I suppose it is not checking for the exact value yes, since any non-empty/non-zero value seems to make the page printable. Does anyone knows exactly how this parameter should be interpreted? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
Re: [Wikitech-l] FW: [Wikimedia Announcements] CTO Leaving Wikimedia Foundation end of July
On Thu, Jun 2, 2011 at 1:13 PM, Siebrand Mazeland s.mazel...@xs4all.nl wrote: Looks like this may be something many on this list would like to know asap. I think the mail is in the moderation queue because Danese may not be subscribed. Nothing's in the queue, it must not've gotten sent to the list at all. -Chad ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Manual (book) Guide for MediaWiki developers
On 2 June 2011 07:41, Stevie i...@webserver-management.de wrote: how can I print out the complete already collected book? http://www.mediawiki.org/wiki/Special:Collection/render_collection/?colltitle=User:Wikinaut/Books/MediaWiki_Developer's_Guidewriter=rl -- [[cs:User:Mormegil | Petr Kadlec]] ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Manual (book) Guide for MediaWiki developers
Thx, where can I find this link in MediaWiki? c u st. -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Petr Kadlec Gesendet: Donnerstag, 2. Juni 2011 21:45 An: Wikimedia developers Betreff: Re: [Wikitech-l] Manual (book) Guide for MediaWiki developers On 2 June 2011 07:41, Stevie i...@webserver-management.de wrote: how can I print out the complete already collected book? http://www.mediawiki.org/wiki/Special:Collection/render_collection/?colltitl e=User:Wikinaut/Books/MediaWiki_Developer's_Guidewriter=rl -- [[cs:User:Mormegil | Petr Kadlec]] ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[MediaWiki-CodeReview] [MediaWiki r89301]: New comment added, and revision status changed
User Hashar changed the status of MediaWiki.r89301. Old Status: new New Status: ok User Hashar also posted a comment on MediaWiki.r89301. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89301#c17474 Commit summary: Test db cleanup * Fix Oracle stuff per CR on r88755 * Don't expect tests to clean up after themselves, do it in MediaWikiTestCase::run() (skipping user and interwiki, also per CR) ** Also don't do it from the destructor, phpunit calls this more often than you'd think * Need to find: way to detect is this the last test? so we can drop our tables on completion Comment: I think that solved the BlockTest suite :-) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89301]: New comment added
User Reedy posted a comment on MediaWiki.r89301. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89301#c17475 Commit summary: Test db cleanup * Fix Oracle stuff per CR on r88755 * Don't expect tests to clean up after themselves, do it in MediaWikiTestCase::run() (skipping user and interwiki, also per CR) ** Also don't do it from the destructor, phpunit calls this more often than you'd think * Need to find: way to detect is this the last test? so we can drop our tables on completion Comment: Did you remove it? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89301]: New comment added
User ^demon posted a comment on MediaWiki.r89301. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89301#c17476 Commit summary: Test db cleanup * Fix Oracle stuff per CR on r88755 * Don't expect tests to clean up after themselves, do it in MediaWikiTestCase::run() (skipping user and interwiki, also per CR) ** Also don't do it from the destructor, phpunit calls this more often than you'd think * Need to find: way to detect is this the last test? so we can drop our tables on completion Comment: Not entirely. PHPUnit is doing some FREAKY MAGIC. Get on IRC and I'll explain it ;-) ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88668]: New comment added, and revision status changed
User Hashar changed the status of MediaWiki.r88668. Old Status: new New Status: ok User Hashar also posted a comment on MediaWiki.r88668. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88668#c17477 Commit summary: Moving check higher up in case there's a premade toggle _but_ no .wm-collapsible-content premade. This way the link will be caught before it's inner-wrapped, after which it would no longer be a direct child. Comment: And you managed to snip two unrelated white space changes in :) Well done! ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88843]: New comment added
User Platonides posted a comment on MediaWiki.r88843. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88843#c17478 Commit summary: * (bug 29140) FirePHP debugging assist extension FirePHP is an extension to Firebug, an awesome debugging extension to Firefox. It allows pulling debug log data in from your PHP script via HTTP headers, which then get displayed in Firebug's console along with errors, warnings, and AJAX hits from the web page. Added 'Debug' hook which gets called from wfDebug() and wfDebugLog() to take this; note that a few lines of output won't make it to FirePHP as they are output either before we've done all plugin initialization, or after we've flushed output and can no longer add HTTP headers. BSD-licensed FirePHPCore library from firephp-libs commit aff25803a3ff460b2797: https://github.com/cadorn/firephp-libs/blob/aff25803a3ff460b2797/packages/core/lib/FirePHPCore/FirePHP.class.php There's not a lot of fancy integration; everything's just output as a 'log' line. You can use $wgFirePHP global (or call FirePHP::getInstance() yourself) to get direct access to FirePHP's fancier features in test code. Comment: Why would it break in any Zend configuration? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88565]: Revision status changed
User Catrope changed the status of MediaWiki.r88565. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88565#c0 Commit summary: Using the new mw.user.tokens (Introduced in r88553). ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88773]: New comment added
User Catrope posted a comment on MediaWiki.r88773. Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/88773#c17479 Commit summary: adding simple method for building galleries from an array of images Comment: pre + if( $.wikiLove.currentTypeOrSubtype.gallery.imageList instanceof Array) { /pre From what Krinkle has told other people, I believe codeinstanceof Array/code doesn't work reliably cross-browser and code$.isArray()/code should be used instead. Looks good otherwise. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88658]: New comment added, and revision status changed
User Hashar changed the status of MediaWiki.r88658. Old Status: new New Status: ok User Hashar also posted a comment on MediaWiki.r88658. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88658#c17480 Commit summary: * (bug 29117) A string is missing when the UI is in Hebrew Comment: Merged in 1.17 and 1.18 ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88648]: New comment added
User Hashar posted a comment on MediaWiki.r88648. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88648#c17481 Commit summary: exit - return now that we are in a function Comment: So what do we do? Revert it back to exit? ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88843]: New comment added
User Brion VIBBER posted a comment on MediaWiki.r88843. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88843#c17482 Commit summary: * (bug 29140) FirePHP debugging assist extension FirePHP is an extension to Firebug, an awesome debugging extension to Firefox. It allows pulling debug log data in from your PHP script via HTTP headers, which then get displayed in Firebug's console along with errors, warnings, and AJAX hits from the web page. Added 'Debug' hook which gets called from wfDebug() and wfDebugLog() to take this; note that a few lines of output won't make it to FirePHP as they are output either before we've done all plugin initialization, or after we've flushed output and can no longer add HTTP headers. BSD-licensed FirePHPCore library from firephp-libs commit aff25803a3ff460b2797: https://github.com/cadorn/firephp-libs/blob/aff25803a3ff460b2797/packages/core/lib/FirePHPCore/FirePHP.class.php There's not a lot of fancy integration; everything's just output as a 'log' line. You can use $wgFirePHP global (or call FirePHP::getInstance() yourself) to get direct access to FirePHP's fancier features in test code. Comment: Trying to call functions that probably haven't been defined yet is always likely to break. Trying to outsmart the framework and load particular files early could end up calling things out of order and additionally messing up, since you don't know what other assumptions you're breaking. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89343]: New comment added
User Platonides posted a comment on MediaWiki.r89343. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89343#c17483 Commit summary: Added -Wname and -Wno-name parameters to configure the desired warnings Disable by default evil-@ and missed-docblock Comment: It generates a long list of warnings. The 105 instances I provided at r88187 only decreased to 97. If nobody is going to fix them, I prefer not to see them. Besides, I don't think that in some cases it's too evil (eg. an array access with constant key). ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r89360]: Revision status changed
User Catrope changed the status of MediaWiki.r89360. Old Status: new New Status: ok Full URL: https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/89360#c0 Commit summary: Added weights to pitches, allowing them to be configured to be more likely to be chosen than others. Initially, the weights are 1/1/2 (survey/join/edit), giving edit a 2 in 4 chance if the user is not logged in and a 2 in 3 chance if they are. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88523]: Revision status changed
User Hashar changed the status of MediaWiki.r88523. Old Status: new New Status: ok Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88523#c0 Commit summary: wfDeprecated() plus doc update ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
[MediaWiki-CodeReview] [MediaWiki r88648]: New comment added, and revision status changed
User ^demon changed the status of MediaWiki.r88648. Old Status: new New Status: reverted User ^demon also posted a comment on MediaWiki.r88648. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88648#c17484 Commit summary: exit - return now that we are in a function Comment: Yes. ___ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview