Closed Bug 673069 Opened 11 years ago Closed 11 years ago

Api.php is not working on wiki.m.o

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pierros, Assigned: nmaul)

References

Details

Hello,
it seems like api.php of wiki.m.o is not working/live ( https://wiki.mozilla.org/api.php )

This is a blocker for bug 665762 and related to bug 639119 . 

Please resolve asap.

Thanks
Blocks: 665762
Assignee: nobody → server-ops
Component: wiki.mozilla.org → Server Operations
Product: Websites → mozilla.org
QA Contact: wiki-mozilla-org → mrz
Version: unspecified → other
Assignee: server-ops → nmaul
This is because we have never supported the API on the public wiki.mozilla.org.

There was a bug opened and resolved recently to allow api.php access to intranet.mozilla.org, perhaps that's what you're thinking of?

I will look into enabling it on wikimo. In the meantime I'm dropping the priority of this. The bug this blocks is already resolved, and the other bug you mentioned is only 'normal' prio. Blocker ServerOps bugs page on-call, and should only be used for outages and the like.
Severity: blocker → normal
The API is natively supported by Mediawiki, so that means that we disabled it on the first place (possibly security conserns?)

The blocked bug is RESOLVED as it is the installation of an extension, which is not working without the API though (should we reopen the bug then?)

The other bug is Normal as it was not a needed functionality then (it was nice to have)

The priority should be at least critical, as we have been blocking the development of an app dependend on this functionality for 4 weeks now (no bug associated with this)

Please, please proceed with this ASAP.

Thanks
Severity: normal → critical
Severity: critical → normal
This is fixed.

https://wiki.mozilla.org/api.php
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
It doesn't look like "edit" is enabled in the API. Per the mediawiki API documentation $wgEnableAPI and $wgEnableWriteAPI have to be set to "true". http://www.mediawiki.org/wiki/API:Edit#Token
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The docs say that this is enabled by default, and there was no explicit setting for it in LocalSettings.php, so I suspect something else is wrong.

In any case, I've added an explicit statement for both of these settings. If it still doesn't work, then there's some other problem.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.