I'm trying to work out my bot problems (why it doesn't save), and it seems to be something to do with the api.
Mediawiki is installed in our root directory (i.e. www.appropedia.org/Article_name - I know this is frowned on by some, but it's probably not practical to change this now) and it seems that it is trying to resolve api.php as an article name - i.e. http://www.appropedia.org/Api.php (capital A).
I asked our MediaWiki administrator, and he has questions* - any help in answering them would be greatly appreciated:
...it seems that we need to allow the api in the localsettings and take care of the rewrite rules... can you do a little research into the downsides of that? Do you know if a) accessing the api is necessary? b) if there are any problems associated with opening the api for mediawiki?
* He would normally do more research himself, but is currently working in a remote location with little internet access... and I don't have the technical understanding to research it properly - thanks for your patience!
On Thu, Jul 17, 2008 at 10:10 AM, Chris Watkins chriswaterguy@appropedia.org wrote:
I'm trying to work out my bot problems (why it doesn't save), and it seems to be something to do with the api.
Mediawiki is installed in our root directory (i.e. www.appropedia.org/Article_name - I know this is frowned on by some, but it's probably not practical to change this now) and it seems that it is trying to resolve api.php as an article name - i.e. http://www.appropedia.org/Api.php (capital A).
I asked our MediaWiki administrator, and he has questions* - any help in answering them would be greatly appreciated:
...it seems that we need to allow the api in the localsettings and take care of the rewrite rules... can you do a little research into the downsides of that? Do you know if a) accessing the api is necessary? b) if there are any problems associated with opening the api for mediawiki?
The API is enabled by default, you only need to fix the rewrite rules.
In the mean time, you could try to raise a NotImplementedError in the api_address method of your pywikipedia family file; this should allow the bot to work without the API.
Bryan
pywikipedia-l@lists.wikimedia.org