diff --git a/static/api.css b/static/api.css index 12b115d..98da9a3 100644 --- a/static/api.css +++ b/static/api.css @@ -11,6 +11,14 @@ span.code { font-family: monospace; } +span.param-key { + color: #009; +} + +span.param-val { + color: #900; +} + table.parameters { margin: 1em 0; } @@ -39,3 +47,8 @@ table.parameters tr:nth-child(2n + 3) { table.parameters tr:nth-child(2n + 4) { background-color: #F0F0F0; } + +a:link { color: #373; text-decoration: none; } +a:visited { color: #373; text-decoration: none; } +a:hover { color: #040; text-decoration: underline; } +a:active { color: #404; text-decoration: underline; } diff --git a/templates/api.mako b/templates/api.mako index 0464332..41b08f8 100644 --- a/templates/api.mako +++ b/templates/api.mako @@ -214,7 +214,7 @@ ] }
GET https://tools.wmflabs.org/copyvios/api.json?version=1&action=search&project=wikipedia&lang=en&title=User:The_Earwig/Sandbox/CopyvioExample
+{ "status": "ok", @@ -272,7 +272,7 @@ % if result:% endifYou are using jsonfm output mode, which renders JSON data as a formatted HTML document. This is intended for testing and debugging only.
- ${walk_json(result)} +${walk_json(result)}