2011-03-29, 07:14:23
My first question is if I can somehow check for creation of a page with a hook?
I saw a page-delete and a changedata-save hook in the wiki docs, but none for when a page is created. Have I overlooked it?
Can I maybe use changedata-save with some additional check if the page already had a respective xml file in /data/pages? I'm thinking of reading in the existing pages into an array and then check for existence.
I saw a page-delete and a changedata-save hook in the wiki docs, but none for when a page is created. Have I overlooked it?
Can I maybe use changedata-save with some additional check if the page already had a respective xml file in /data/pages? I'm thinking of reading in the existing pages into an array and then check for existence.