[Wikitech-l] Editpage Object in Hook on EditFilterMergedContent

2013-07-25 Thread anubhav agarwal
Hi, I wish to add a hook on EditFilterMergedContent in my extension. I want to use the editpage object to call editpage-spamPageWithContent() I see that EditFilterMerged is also an option but it doesn't provides me user, I also need the User object. Can anyone please help? Cheers, Anubhav

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Terry Chay
Tyler Romeo, On Jul 23, 2013, at 8:55 PM, Tyler Romeo tylerro...@gmail.com wrote: On Tue, Jul 23, 2013 at 9:55 PM, James Forrester jforres...@wikimedia.orgwrote: I hope that as few users as possible will choose this way to degrade their experience and deprive the community of their input.

[Wikitech-l] New PATCH_TO_REVIEW status in Wikimedia Bugzilla

2013-07-25 Thread Andre Klapper
Hi, as a result of the discussion in [1] we now have a PATCH_TO_REVIEW status in Bugzilla, which has replaced the patch-in-gerrit keyword. The plan is to soon make Gerrit set this status automatically in a bug report in Bugzilla (via the patch in [2]) when a patch mentions a bug number (see the

Re: [Wikitech-l] New PATCH_TO_REVIEW status in Wikimedia Bugzilla

2013-07-25 Thread Andre Klapper
On Thu, 2013-07-25 at 12:03 +0200, Andre Klapper wrote: we now have a PATCH_TO_REVIEW status in Bugzilla Odder just pointed out on IRC that some bug reports may have vanished from results of saved searches in Bugzilla, due to changing their status to PATCH_TO_REVIEW which is not covered by these

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Andre Klapper
Hi Risker, On Mon, 2013-07-22 at 14:22 -0400, Risker wrote: A note about the bugzilla: there's a reason why people are commenting there. They're being ignored in every other venue, and WP:CONEXCEPT (exceptions to project consensus)[1] has been invoked in regard to this. Therefore the

Re: [Wikitech-l] Long term strategy for math on wikipedia

2013-07-25 Thread tei''
On 24 July 2013 21:12, Peter Krautzberger peter.krautzber...@mathjax.org wrote: .. @Oscar that's the idea of bug 48036https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 To test the user experience try this bookmarklethttps://gist.github.com/pkra/5500316 :-O This is pretty. And if it

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Tyler Romeo
On Thu, Jul 25, 2013 at 2:16 AM, Terry Chay tc...@wikimedia.org wrote: Whoa. Them's fighting words! :-D Yeah I'm sorry if that came off as aggressive, but this entire conversation has had the air of the VE team has decided this, but maybe they'll be gracious enough to compromise with you.

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Martijn Hoekstra
On Jul 25, 2013 6:18 PM, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 2:16 AM, Terry Chay tc...@wikimedia.org wrote: Whoa. Them's fighting words! :-D Yeah I'm sorry if that came off as aggressive, but this entire conversation has had the air of the VE team has decided

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Tyler Romeo
On Thu, Jul 25, 2013 at 1:11 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I'm still wondering, when the call was made to disable this option, was it expected this would cause massive resistance? If not, what is the WMF planning to do to better judge that in the future (because imo

Re: [Wikitech-l] dirty diffs and VE

2013-07-25 Thread Roan Kattouw
On Wed, Jul 24, 2013 at 2:49 PM, C. Scott Ananian canan...@wikimedia.org wrote: For what it's worth, both the DOM serialization-to-a-string and DOM parsing-from-a-string are done with the domino package. It has a substantial test suite of its own (originally from

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Martijn Hoekstra
On Jul 25, 2013 8:02 PM, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 1:11 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I'm still wondering, when the call was made to disable this option, was it expected this would cause massive resistance? If not, what is the

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Tyler Romeo
On Thu, Jul 25, 2013 at 2:05 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: That's a de facto decision isn't it? Somebody figured flipping that switch without discussing it with the wikis first was a good idea. The question still stands: if they didn't expect this fall out, why not,

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Martijn Hoekstra
On Jul 25, 2013 8:09 PM, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 2:05 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: That's a de facto decision isn't it? Somebody figured flipping that switch without discussing it with the wikis first was a good idea. The

Re: [Wikitech-l] dirty diffs and VE

2013-07-25 Thread Subramanya Sastry
On 07/25/2013 01:03 PM, Roan Kattouw wrote: On Wed, Jul 24, 2013 at 2:49 PM, C. Scott Ananian canan...@wikimedia.org wrote: For what it's worth, both the DOM serialization-to-a-string and DOM parsing-from-a-string are done with the domino package. It has a substantial test suite of its own

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Tyler Romeo
On Thu, Jul 25, 2013 at 2:15 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I find that somewhat hard to believe, but if it is true, should that worry us? I'm not sure that we should be comfortable with changes like these not giving pause to our engineers. Well to be quite honest it

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Risker
On 25 July 2013 14:20, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 2:15 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I find that somewhat hard to believe, but if it is true, should that worry us? I'm not sure that we should be comfortable with changes like

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread James Forrester
On 25 July 2013 11:00, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 1:11 PM, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I'm still wondering, when the call was made to disable this option, was it expected this would cause massive resistance? If not, what is the

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread James Forrester
On 25 July 2013 10:11, Martijn Hoekstra martijnhoeks...@gmail.com wrote: I'm still wondering, when the call was made to disable this option, was it expected this would cause massive resistance? If not, what is the WMF planning to do to better judge that in the future (because imo this was a

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Derric Atzrott
I made the call about a year ago, and mentioned it in several of the dozens of mailing list and on-wiki posts made about the development of VisualEditor since then. Clearly my communication about it wasn't read, or wasn't understood, by the people who subsequently complained, but I wouldn't

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread James Forrester
On 25 July 2013 11:32, Risker risker...@gmail.com wrote: The preference didn't break anything. It had been active for months during the alpha testing. It was a conscious decision not to permit its continued use after the deployment on July 1, and the way that it was disabled was by hiding

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Trevor Parscal
I have avoided getting involved so I could stay focused on fixing bugs and making improvements to VisualEditor. This thread has served it's purpose; to surface various arguments about whether the preference to disable VisualEditor should be hidden or not. The conclusion has been reached. The

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Martijn Hoekstra
On Thu, Jul 25, 2013 at 9:54 PM, Trevor Parscal tpars...@wikimedia.orgwrote: I have avoided getting involved so I could stay focused on fixing bugs and making improvements to VisualEditor. This thread has served it's purpose; to surface various arguments about whether the preference to

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Brian Wolff
I made the call about a year ago, and mentioned it in several of the dozens of mailing list and on-wiki posts made about the development of VisualEditor since then. Clearly my communication about it wasn't read, or wasn't understood, by the people who subsequently complained, but I wouldn't

Re: [Wikitech-l] dirty diffs and VE

2013-07-25 Thread C. Scott Ananian
On Thu, Jul 25, 2013 at 2:19 PM, Subramanya Sastry ssas...@wikimedia.orgwrote: And, both Roan and Scott are correct. Pathway 2. would be a test of of external libraries (HTML5 and Domino, not just domino). And, we did have bugs in the HTML5 parsing library we used (which I fixed based on

Re: [Wikitech-l] Remove 'visualeditor-enable' from $wgHiddenPrefs

2013-07-25 Thread Risker
On 25 July 2013 15:45, Tyler Romeo tylerro...@gmail.com wrote: On Thu, Jul 25, 2013 at 3:23 PM, James Forrester jforres...@wikimedia.orgwrote: That's just flatly wrong. Removing the preference was always the intention and had been mentioned several times. See here it is again. Was is

[Wikitech-l] Varnish

2013-07-25 Thread Jacobo Nájera
I am exploring around Varnish Cache, do you know some tools for test performance and benchmarking? Thanks, Jacobo ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Long term strategy for math on wikipedia

2013-07-25 Thread Peter Krautzberger
Ok this is getting off-topic -- sorry -- but glad you like it :) Unfortunately, webworker isn't an option, we need the DOM. Using the PNG for size is an nice idea, but only saves one measurement, all others occur within the equation. IIRC, the basic problem is that browser are not reliable enough

Re: [Wikitech-l] Varnish

2013-07-25 Thread Matthew Walker
Depends on what you want to do; but ab -- the apache benchmark -- isn't a bad place to start. ~Matt Walker Wikimedia Foundation Fundraising Technology Team On Thu, Jul 25, 2013 at 6:57 PM, Jacobo Nájera jac...@metahumano.orgwrote: I am exploring around Varnish Cache, do you know some tools

Re: [Wikitech-l] Varnish

2013-07-25 Thread Dmitriy Sintsov
26 Июль 2013 г. 5:59:57 пользователь Jacobo Nájera (jac...@metahumano.org) написал: I am exploring around Varnish Cache, do you know some tools for test performance and benchmarking? Thanks, Jacobo https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html varnishtop -i