G'day Alok,
Please keep messages on-list by replying to all, so that others may jump in and help too.
Thanks a lot for helping but that doesnt seem to solve the problem
- About page refresh : when I type
"127.0.0.1/index.php?title=TestPageAlok?action=purge" It attempts to create a new page with title "TestPageAlok?action=purge" When I try "127.0.0.1/index.php?action=purge" it seems to refresh my home page.
I hadn't considered that you might be running without the short URLs turned on. You need to add "&action=purge" instead of "?action=purge".
When building a URL query string, everything before the first "?" is the path to the script and everything after the first "?" is part of the query string. Individual query parameters are broken up by "&", so the query "title=TestPageAlok&action=purge" means ask for pages with title of "TestPageAlok", and ask for the special action "purge".
- I tried to run the modified script that you gave... but it still
gives the same output. Do I have to type anything fancy in my test page to invoke the extension ? so far I am just using "{{#SayHello:John}} Now it is impossible for me to know whether this is because of caching or because my extension is still incorrect.
Try adding the "&action=purge" and see if that gives you the expected output.
The worst part is that mediawiki has been annoyingly silent about any errors it might have encountered (despite enabling error-message-display)
Check your server logs, e.g. on Apache/Linux check for errors in the file /var/log/httpd/error_log