Thread:Project:Support desk/Check on edit save if page is new?/reply

Hi!

Yes, this hook looks like it's the right one.

If $revision is a revision object (the hook information page does not tell currently), then you should be able to get the information, whether it's a new page or not by looking at the parent revision: If the parent revision is 0, then it's a new page.