Hi Anubhav,

Neither of those hooks should probably call
editpage::spamPageWithContent, since that function's purpose is to
show the error/diff to the user. Those hooks are supposed to report
back their results with either the error message or the Status object,
and allow the edit page to handle displaying the result to the user.

On Wed, Jul 24, 2013 at 11:13 PM, anubhav agarwal <[email protected]> wrote:
> 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
>
>
> Anubhav Agarwal| 4rth Year  | Computer Science & Engineering | IIT Roorkee
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to