This repository has been archived by the owner on Nov 11, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTES
51 lines (47 loc) · 1.75 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
== BugZilla API ==
BugZilla has an API to get Product information,
however until 4.2 it only returns very basic information,
in 4.2 versions, milestones was added to the output.
-> https://bugzilla.mozilla.org/655229
So for now, we hardcode the array in the PHP file, instead of using the API.
Current output on bugzilla.wikimedia.org (Bugzilla version 4.0.6; 2012-05-03)
=== Request ===
method:Product.get
params:[{"ids":[1,3]}]
=== Response ===
[
{
"internals": {
"defaultmilestone": "---",
"allows_unconfirmed": "1",
"votesperuser": "1000",
"name": "MediaWiki",
"classification_id": "1",
"maxvotesperbug": "1",
"description": "The wiki software itself -- most issues about how the wiki works should go here.",
"votestoconfirm": "1",
"isactive": "1",
"id": "2"
},
"name": "MediaWiki",
"id": 2,
"description": "The wiki software itself -- most issues about how the wiki works should go here."
},
{
"internals": {
"defaultmilestone": "---",
"allows_unconfirmed": "1",
"votesperuser": "1000",
"name": "Wikimedia",
"classification_id": "1",
"maxvotesperbug": "1",
"description": "Configuration issues and other issues specific to Wikimedia servers, Wikimedia websites (including Wikipedia, Wiktionary, Commons, and the MediaZilla bugtracker) and other Wikimedia specific things",
"votestoconfirm": "0",
"isactive": "1",
"id": "3"
},
"name": "Wikimedia",
"id": 3,
"description": "Configuration issues and other issues specific to Wikimedia servers, Wikimedia websites (including Wikipedia, Wiktionary, Commons, and the MediaZilla bugtracker) and other Wikimedia specific things"
}
]