I actually figured out what I was doing wrong. You can't do it outside of a hook.
But it also makes it less likely for me to be able use this.
On Jun 20, 2009, at 2:27 AM, Michael Daly wrote:
When you said "through plain PHP," I interpreted that to mean outside the wiki - i.e. a stand alone PHP program. You could do that the way I showed, but what you are pointing to with that URL is for use within the wiki - e.g. from within an extension.
What version of MW are you using - the hook function you need may be in your version if you are not running 1.14 or 1.15.
Without seeing details of what you're doing, anything I say would be a wild guess.