From 8fe2d2368a840546eee40db4e7cd9c073374f4f1 Mon Sep 17 00:00:00 2001 From: "repo-ranger[bot]" Date: Wed, 7 Jul 2021 20:41:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2023678?= =?UTF-8?q?fe2f5db6e7b60116f049eee0e38a86823b6=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- badge-maker_lib_index.js.html | 2 +- badge-maker_lib_xml.js.html | 2 +- core_base-service_base-graphql.js.html | 2 +- core_base-service_base-json.js.html | 2 +- core_base-service_base-svg-scraping.js.html | 2 +- core_base-service_base-xml.js.html | 2 +- core_base-service_base-yaml.js.html | 2 +- core_base-service_base.js.html | 2 +- core_base-service_errors.js.html | 2 +- core_base-service_graphql.js.html | 2 +- core_server_prometheus-metrics.js.html | 2 +- core_server_server.js.html | 2 +- ...-test-runner_create-service-tester.js.html | 2 +- ...ice-test-runner_icedfrisby-shields.js.html | 2 +- ...ice-test-runner_infer-pull-request.js.html | 2 +- core_service-test-runner_runner.js.html | 2 +- ...service-test-runner_service-tester.js.html | 2 +- ...ice-test-runner_services-for-title.js.html | 2 +- core_token-pooling_token-pool.js.html | 2 +- global.html | 2 +- index.html | 2 +- module-badge-maker.html | 2 +- module-badge-maker_lib_xml-XmlElement.html | 2 +- module-badge-maker_lib_xml.html | 2 +- ...le-core_base-service_base-BaseService.html | 2 +- ...rvice_base-graphql-BaseGraphqlService.html | 2 +- module-core_base-service_base-graphql.html | 2 +- ...ase-service_base-json-BaseJsonService.html | 2 +- module-core_base-service_base-json.html | 2 +- ...e-svg-scraping-BaseSvgScrapingService.html | 2 +- ...e-core_base-service_base-svg-scraping.html | 2 +- ..._base-service_base-xml-BaseXmlService.html | 2 +- module-core_base-service_base-xml.html | 2 +- ...ase-service_base-yaml-BaseYamlService.html | 2 +- module-core_base-service_base-yaml.html | 2 +- module-core_base-service_base.html | 2 +- ...e-core_base-service_errors-Deprecated.html | 2 +- ...e-service_errors-ImproperlyConfigured.html | 2 +- ...core_base-service_errors-Inaccessible.html | 2 +- ..._base-service_errors-InvalidParameter.html | 2 +- ...e_base-service_errors-InvalidResponse.html | 2 +- module-core_base-service_errors-NotFound.html | 2 +- ...se-service_errors-ShieldsRuntimeError.html | 2 +- module-core_base-service_errors.html | 2 +- module-core_base-service_graphql.html | 2 +- module-core_server_server-Server.html | 2 +- module-core_server_server.html | 2 +- ...ice-test-runner_create-service-tester.html | 2 +- ...ervice-test-runner_icedfrisby-shields.html | 2 +- ...ervice-test-runner_infer-pull-request.html | 2 +- ...ore_service-test-runner_runner-Runner.html | 2 +- module-core_service-test-runner_runner.html | 2 +- ...t-runner_service-tester-ServiceTester.html | 2 +- ...re_service-test-runner_service-tester.html | 2 +- ...ervice-test-runner_services-for-title.html | 2 +- ...e-core_token-pooling_token-pool-Token.html | 2 +- ...re_token-pooling_token-pool-TokenPool.html | 2 +- module-core_token-pooling_token-pool.html | 2 +- module-services_dynamic_json-path.html | 2 +- ...ervices_steam_steam-base-BaseSteamAPI.html | 2 +- module-services_steam_steam-base.html | 2 +- module.exports.html | 761 +++++++++++++++++- services_criterion_criterion.service.js.html | 2 +- services_dynamic_json-path.js.html | 2 +- ...s_github_github-total-star.service.js.html | 2 +- ..._osslifecycle_osslifecycle.service.js.html | 2 +- services_packagist_packagist-base.js.html | 2 +- services_steam_steam-base.js.html | 2 +- services_test-validators.js.html | 2 +- ..._weblate-component-license.service.js.html | 2 +- ...ject-translated-percentage.service.js.html | 2 +- ...apiary_wikiapiary-installs.service.js.html | 161 ++++ tutorial-TUTORIAL.html | 2 +- tutorial-badge-urls.html | 2 +- tutorial-code-walkthrough.html | 2 +- tutorial-deprecating-badges.html | 2 +- tutorial-input-validation.html | 2 +- tutorial-json-format.html | 2 +- tutorial-logos.html | 2 +- tutorial-performance-testing.html | 2 +- tutorial-production-hosting.html | 2 +- tutorial-releases.html | 2 +- tutorial-self-hosting.html | 2 +- tutorial-server-secrets.html | 2 +- tutorial-service-tests.html | 2 +- 85 files changed, 1004 insertions(+), 84 deletions(-) create mode 100644 services_wikiapiary_wikiapiary-installs.service.js.html diff --git a/badge-maker_lib_index.js.html b/badge-maker_lib_index.js.html index 55704796dd..26bdcfb21a 100644 --- a/badge-maker_lib_index.js.html +++ b/badge-maker_lib_index.js.html @@ -123,7 +123,7 @@ module.exports = {
diff --git a/badge-maker_lib_xml.js.html b/badge-maker_lib_xml.js.html index db20c67954..5fe47e3112 100644 --- a/badge-maker_lib_xml.js.html +++ b/badge-maker_lib_xml.js.html @@ -118,7 +118,7 @@ module.exports = { escapeXml, stripXmlWhitespace, XmlElement }
diff --git a/core_base-service_base-graphql.js.html b/core_base-service_base-graphql.js.html index 1eeefe94c5..2b197f170f 100644 --- a/core_base-service_base-graphql.js.html +++ b/core_base-service_base-graphql.js.html @@ -138,7 +138,7 @@ module.exports = BaseGraphqlService
diff --git a/core_base-service_base-json.js.html b/core_base-service_base-json.js.html index 160e3e1009..5f5e633626 100644 --- a/core_base-service_base-json.js.html +++ b/core_base-service_base-json.js.html @@ -99,7 +99,7 @@ module.exports = BaseJsonService
diff --git a/core_base-service_base-svg-scraping.js.html b/core_base-service_base-svg-scraping.js.html index 5ea4568733..5fbdd79971 100644 --- a/core_base-service_base-svg-scraping.js.html +++ b/core_base-service_base-svg-scraping.js.html @@ -135,7 +135,7 @@ module.exports = BaseSvgScrapingService
diff --git a/core_base-service_base-xml.js.html b/core_base-service_base-xml.js.html index 1d3d03e940..3ddf6a7166 100644 --- a/core_base-service_base-xml.js.html +++ b/core_base-service_base-xml.js.html @@ -113,7 +113,7 @@ module.exports = BaseXmlService
diff --git a/core_base-service_base-yaml.js.html b/core_base-service_base-yaml.js.html index 504fabfab0..ac475da57a 100644 --- a/core_base-service_base-yaml.js.html +++ b/core_base-service_base-yaml.js.html @@ -117,7 +117,7 @@ module.exports = BaseYamlService
diff --git a/core_base-service_base.js.html b/core_base-service_base.js.html index 7da6c21795..bcceeeef3b 100644 --- a/core_base-service_base.js.html +++ b/core_base-service_base.js.html @@ -610,7 +610,7 @@ module.exports = BaseService
diff --git a/core_base-service_errors.js.html b/core_base-service_errors.js.html index bbf8e14f70..e3d7ff793f 100644 --- a/core_base-service_errors.js.html +++ b/core_base-service_errors.js.html @@ -263,7 +263,7 @@ module.exports = {
diff --git a/core_base-service_graphql.js.html b/core_base-service_graphql.js.html index eb141301f7..e59ad544c0 100644 --- a/core_base-service_graphql.js.html +++ b/core_base-service_graphql.js.html @@ -94,7 +94,7 @@ module.exports = { mergeQueries }
diff --git a/core_server_prometheus-metrics.js.html b/core_server_prometheus-metrics.js.html index 44ae230b32..383ea34cea 100644 --- a/core_server_prometheus-metrics.js.html +++ b/core_server_prometheus-metrics.js.html @@ -129,7 +129,7 @@ module.exports = class PrometheusMetrics {
diff --git a/core_server_server.js.html b/core_server_server.js.html index 02a0f64c5f..8500f3a743 100644 --- a/core_server_server.js.html +++ b/core_server_server.js.html @@ -567,7 +567,7 @@ module.exports = Server
diff --git a/core_service-test-runner_create-service-tester.js.html b/core_service-test-runner_create-service-tester.js.html index 481127c142..0254531df1 100644 --- a/core_service-test-runner_create-service-tester.js.html +++ b/core_service-test-runner_create-service-tester.js.html @@ -75,7 +75,7 @@ module.exports = createServiceTester
diff --git a/core_service-test-runner_icedfrisby-shields.js.html b/core_service-test-runner_icedfrisby-shields.js.html index 5e19d3a210..51d1f26fa7 100644 --- a/core_service-test-runner_icedfrisby-shields.js.html +++ b/core_service-test-runner_icedfrisby-shields.js.html @@ -130,7 +130,7 @@ module.exports = factory
diff --git a/core_service-test-runner_infer-pull-request.js.html b/core_service-test-runner_infer-pull-request.js.html index 6cff8f8d4f..efe92aac89 100644 --- a/core_service-test-runner_infer-pull-request.js.html +++ b/core_service-test-runner_infer-pull-request.js.html @@ -147,7 +147,7 @@ module.exports = {
diff --git a/core_service-test-runner_runner.js.html b/core_service-test-runner_runner.js.html index 3ad3811396..3df080ef0f 100644 --- a/core_service-test-runner_runner.js.html +++ b/core_service-test-runner_runner.js.html @@ -117,7 +117,7 @@ module.exports = Runner
diff --git a/core_service-test-runner_service-tester.js.html b/core_service-test-runner_service-tester.js.html index 89eaccf413..e9f86e7dcf 100644 --- a/core_service-test-runner_service-tester.js.html +++ b/core_service-test-runner_service-tester.js.html @@ -185,7 +185,7 @@ module.exports = ServiceTester
diff --git a/core_service-test-runner_services-for-title.js.html b/core_service-test-runner_services-for-title.js.html index 5fbf07cbb0..0784ac9b0e 100644 --- a/core_service-test-runner_services-for-title.js.html +++ b/core_service-test-runner_services-for-title.js.html @@ -76,7 +76,7 @@ module.exports = servicesForTitle
diff --git a/core_token-pooling_token-pool.js.html b/core_token-pooling_token-pool.js.html index ff4bc5ae0b..664792ee02 100644 --- a/core_token-pooling_token-pool.js.html +++ b/core_token-pooling_token-pool.js.html @@ -403,7 +403,7 @@ module.exports = {
diff --git a/global.html b/global.html index da1f9ecd67..4620b60fcc 100644 --- a/global.html +++ b/global.html @@ -616,7 +616,7 @@
diff --git a/index.html b/index.html index 662bc0215f..c3b25c0f5b 100644 --- a/index.html +++ b/index.html @@ -219,7 +219,7 @@ under their terms and license.


diff --git a/module-badge-maker.html b/module-badge-maker.html index 628cc17d93..9ce2ca05a5 100644 --- a/module-badge-maker.html +++ b/module-badge-maker.html @@ -387,7 +387,7 @@
diff --git a/module-badge-maker_lib_xml-XmlElement.html b/module-badge-maker_lib_xml-XmlElement.html index ca1cc1a2b3..91413fd958 100644 --- a/module-badge-maker_lib_xml-XmlElement.html +++ b/module-badge-maker_lib_xml-XmlElement.html @@ -474,7 +474,7 @@ element will be rendered as a self-closing element.


diff --git a/module-badge-maker_lib_xml.html b/module-badge-maker_lib_xml.html index 5d6f52ec96..d4e1a04bfe 100644 --- a/module-badge-maker_lib_xml.html +++ b/module-badge-maker_lib_xml.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base-BaseService.html b/module-core_base-service_base-BaseService.html index d2f91f583f..33b784a0ae 100644 --- a/module-core_base-service_base-BaseService.html +++ b/module-core_base-service_base-BaseService.html @@ -743,7 +743,7 @@ defined in this.route.pattern or this.route.capture


diff --git a/module-core_base-service_base-graphql-BaseGraphqlService.html b/module-core_base-service_base-graphql-BaseGraphqlService.html index 95ed44af98..81714f60b2 100644 --- a/module-core_base-service_base-graphql-BaseGraphqlService.html +++ b/module-core_base-service_base-graphql-BaseGraphqlService.html @@ -829,7 +829,7 @@ an InvalidResponse.


diff --git a/module-core_base-service_base-graphql.html b/module-core_base-service_base-graphql.html index 1572b97847..c53471e301 100644 --- a/module-core_base-service_base-graphql.html +++ b/module-core_base-service_base-graphql.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base-json-BaseJsonService.html b/module-core_base-service_base-json-BaseJsonService.html index 346b1b448f..9ec844c5ba 100644 --- a/module-core_base-service_base-json-BaseJsonService.html +++ b/module-core_base-service_base-json-BaseJsonService.html @@ -674,7 +674,7 @@ This can be used to extend or override the
diff --git a/module-core_base-service_base-json.html b/module-core_base-service_base-json.html index 3f8e764feb..fab81bb372 100644 --- a/module-core_base-service_base-json.html +++ b/module-core_base-service_base-json.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html index 234be5d7d5..9ffabf913d 100644 --- a/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html +++ b/module-core_base-service_base-svg-scraping-BaseSvgScrapingService.html @@ -765,7 +765,7 @@ This can be used to extend or override the
diff --git a/module-core_base-service_base-svg-scraping.html b/module-core_base-service_base-svg-scraping.html index efe129cbba..bdcc770493 100644 --- a/module-core_base-service_base-svg-scraping.html +++ b/module-core_base-service_base-svg-scraping.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base-xml-BaseXmlService.html b/module-core_base-service_base-xml-BaseXmlService.html index 860f40f181..d0a7389a3a 100644 --- a/module-core_base-service_base-xml-BaseXmlService.html +++ b/module-core_base-service_base-xml-BaseXmlService.html @@ -557,7 +557,7 @@ This can be used to extend or override the
diff --git a/module-core_base-service_base-xml.html b/module-core_base-service_base-xml.html index df0ad5f20b..42f22811a6 100644 --- a/module-core_base-service_base-xml.html +++ b/module-core_base-service_base-xml.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base-yaml-BaseYamlService.html b/module-core_base-service_base-yaml-BaseYamlService.html index 17659c8a32..7a71ce344e 100644 --- a/module-core_base-service_base-yaml-BaseYamlService.html +++ b/module-core_base-service_base-yaml-BaseYamlService.html @@ -554,7 +554,7 @@ This can be used to extend or override the
diff --git a/module-core_base-service_base-yaml.html b/module-core_base-service_base-yaml.html index cf0885d5d8..04614618f8 100644 --- a/module-core_base-service_base-yaml.html +++ b/module-core_base-service_base-yaml.html @@ -83,7 +83,7 @@
diff --git a/module-core_base-service_base.html b/module-core_base-service_base.html index 6c2512be11..3519fdc67a 100644 --- a/module-core_base-service_base.html +++ b/module-core_base-service_base.html @@ -1166,7 +1166,7 @@ when the parameter is absent. (Note that in,
diff --git a/module-core_base-service_errors-Deprecated.html b/module-core_base-service_errors-Deprecated.html index f8c931cd18..717fe08185 100644 --- a/module-core_base-service_errors-Deprecated.html +++ b/module-core_base-service_errors-Deprecated.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-ImproperlyConfigured.html b/module-core_base-service_errors-ImproperlyConfigured.html index 2146f22c05..5fe68b6ba5 100644 --- a/module-core_base-service_errors-ImproperlyConfigured.html +++ b/module-core_base-service_errors-ImproperlyConfigured.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-Inaccessible.html b/module-core_base-service_errors-Inaccessible.html index ad1f2d29ce..79e5161e7e 100644 --- a/module-core_base-service_errors-Inaccessible.html +++ b/module-core_base-service_errors-Inaccessible.html @@ -212,7 +212,7 @@ or to wrap a 5XX response


diff --git a/module-core_base-service_errors-InvalidParameter.html b/module-core_base-service_errors-InvalidParameter.html index c3bbacffcf..0e0ca7d2a2 100644 --- a/module-core_base-service_errors-InvalidParameter.html +++ b/module-core_base-service_errors-InvalidParameter.html @@ -212,7 +212,7 @@ is invalid or unexpected


diff --git a/module-core_base-service_errors-InvalidResponse.html b/module-core_base-service_errors-InvalidResponse.html index ba1c3a4cc6..398bda9d94 100644 --- a/module-core_base-service_errors-InvalidResponse.html +++ b/module-core_base-service_errors-InvalidResponse.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-NotFound.html b/module-core_base-service_errors-NotFound.html index 90583f1816..f0ff44a497 100644 --- a/module-core_base-service_errors-NotFound.html +++ b/module-core_base-service_errors-NotFound.html @@ -211,7 +211,7 @@
diff --git a/module-core_base-service_errors-ShieldsRuntimeError.html b/module-core_base-service_errors-ShieldsRuntimeError.html index 702fe9d0fd..2e8a6d75da 100644 --- a/module-core_base-service_errors-ShieldsRuntimeError.html +++ b/module-core_base-service_errors-ShieldsRuntimeError.html @@ -384,7 +384,7 @@ should override this method.


diff --git a/module-core_base-service_errors.html b/module-core_base-service_errors.html index c5a0ce911c..5ebde82355 100644 --- a/module-core_base-service_errors.html +++ b/module-core_base-service_errors.html @@ -354,7 +354,7 @@ badge when we catch and render the exception (Optional)


diff --git a/module-core_base-service_graphql.html b/module-core_base-service_graphql.html index 1d2bf22b1a..fa5fcd818c 100644 --- a/module-core_base-service_graphql.html +++ b/module-core_base-service_graphql.html @@ -254,7 +254,7 @@ but can't use that due to incorrect packaging.


diff --git a/module-core_server_server-Server.html b/module-core_server_server-Server.html index ba82641abd..18b270ce7a 100644 --- a/module-core_server_server-Server.html +++ b/module-core_server_server-Server.html @@ -681,7 +681,7 @@ Start listening for requests on this.baseUrl()


diff --git a/module-core_server_server.html b/module-core_server_server.html index 7179affa14..6e08179bb2 100644 --- a/module-core_server_server.html +++ b/module-core_server_server.html @@ -83,7 +83,7 @@
diff --git a/module-core_service-test-runner_create-service-tester.html b/module-core_service-test-runner_create-service-tester.html index 105254ae59..1938e36e34 100644 --- a/module-core_service-test-runner_create-service-tester.html +++ b/module-core_service-test-runner_create-service-tester.html @@ -194,7 +194,7 @@ service.


diff --git a/module-core_service-test-runner_icedfrisby-shields.html b/module-core_service-test-runner_icedfrisby-shields.html index 577bd6ab97..49b04081ad 100644 --- a/module-core_service-test-runner_icedfrisby-shields.html +++ b/module-core_service-test-runner_icedfrisby-shields.html @@ -250,7 +250,7 @@
diff --git a/module-core_service-test-runner_infer-pull-request.html b/module-core_service-test-runner_infer-pull-request.html index 2888e8bc26..d6b49a0897 100644 --- a/module-core_service-test-runner_infer-pull-request.html +++ b/module-core_service-test-runner_infer-pull-request.html @@ -470,7 +470,7 @@ of a pull request from the environment variables.


diff --git a/module-core_service-test-runner_runner-Runner.html b/module-core_service-test-runner_runner-Runner.html index 586bb43266..6f2181992b 100644 --- a/module-core_service-test-runner_runner-Runner.html +++ b/module-core_service-test-runner_runner-Runner.html @@ -568,7 +568,7 @@ overridden on instances.


diff --git a/module-core_service-test-runner_runner.html b/module-core_service-test-runner_runner.html index 341cd62570..ffe9a32a7b 100644 --- a/module-core_service-test-runner_runner.html +++ b/module-core_service-test-runner_runner.html @@ -83,7 +83,7 @@
diff --git a/module-core_service-test-runner_service-tester-ServiceTester.html b/module-core_service-test-runner_service-tester-ServiceTester.html index b54c267fbf..c4ff44d20b 100644 --- a/module-core_service-test-runner_service-tester-ServiceTester.html +++ b/module-core_service-test-runner_service-tester-ServiceTester.html @@ -1126,7 +1126,7 @@ the CLI, or directly on the tester.


diff --git a/module-core_service-test-runner_service-tester.html b/module-core_service-test-runner_service-tester.html index a113728f02..0308d40cbe 100644 --- a/module-core_service-test-runner_service-tester.html +++ b/module-core_service-test-runner_service-tester.html @@ -83,7 +83,7 @@
diff --git a/module-core_service-test-runner_services-for-title.html b/module-core_service-test-runner_services-for-title.html index aae11ebd2c..0512bf4aff 100644 --- a/module-core_service-test-runner_services-for-title.html +++ b/module-core_service-test-runner_services-for-title.html @@ -242,7 +242,7 @@ as an array of strings.


diff --git a/module-core_token-pooling_token-pool-Token.html b/module-core_token-pooling_token-pool-Token.html index 76d55f7a5d..018a09ed0f 100644 --- a/module-core_token-pooling_token-pool-Token.html +++ b/module-core_token-pooling_token-pool-Token.html @@ -715,7 +715,7 @@ stable ordering for a valid priority queue.


diff --git a/module-core_token-pooling_token-pool-TokenPool.html b/module-core_token-pooling_token-pool-TokenPool.html index b3b164dd18..efd150d5f2 100644 --- a/module-core_token-pooling_token-pool-TokenPool.html +++ b/module-core_token-pooling_token-pool-TokenPool.html @@ -899,7 +899,7 @@ indicate it should not be reused.


diff --git a/module-core_token-pooling_token-pool.html b/module-core_token-pooling_token-pool.html index 3af7bcb4b3..23faec4dca 100644 --- a/module-core_token-pooling_token-pool.html +++ b/module-core_token-pooling_token-pool.html @@ -249,7 +249,7 @@
diff --git a/module-services_dynamic_json-path.html b/module-services_dynamic_json-path.html index 088aeae49e..814ebbc10e 100644 --- a/module-services_dynamic_json-path.html +++ b/module-services_dynamic_json-path.html @@ -542,7 +542,7 @@ This can be used to extend or override the
diff --git a/module-services_steam_steam-base-BaseSteamAPI.html b/module-services_steam_steam-base-BaseSteamAPI.html index 1b2bee6b44..f60cbc4f64 100644 --- a/module-services_steam_steam-base-BaseSteamAPI.html +++ b/module-services_steam_steam-base-BaseSteamAPI.html @@ -380,7 +380,7 @@
diff --git a/module-services_steam_steam-base.html b/module-services_steam_steam-base.html index e42e131229..22b20a794d 100644 --- a/module-services_steam_steam-base.html +++ b/module-services_steam_steam-base.html @@ -83,7 +83,7 @@
diff --git a/module.exports.html b/module.exports.html index 316331bf3d..1f5cc806ca 100644 --- a/module.exports.html +++ b/module.exports.html @@ -2228,6 +2228,765 @@ Other keywords are possible, but will appear in grey.

+ + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+

Format for the badge.

+
+ + + +
+
+ Type +
+
+ +object + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

exports()

+ +

This badge displays the total installations of a MediaWiki extensions, skins, +etc via Wikiapiary.

+

MediaWiki Extensions Manual

+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new exports()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

createNumRequestCounter(attrs) → {object}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
attrs + + +object + + + +

Refer to individual attrs

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
category + + +string + + + +

e.g: 'build'

serviceFamily + + +string + + + +

e.g: 'npm'

name + + +string + + + +

e.g: 'NpmVersion'

+ +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+

{ inc() {} }.

+
+ + + +
+
+ Type +
+
+ +object + + +
+
+ + + + + + + + + + + + + +

getColor(attrs) → {string}

+ + + + + + +
+

Return color for active, maintenance and archived statuses, which were the three +example keywords used in Netflix's open-source meetup. +See https://slideshare.net/aspyker/netflix-open-source-meetup-season-4-episode-1 +Other keywords are possible, but will appear in grey.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
attrs + + +object + + + +

Refer to individual attrs

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
status + + +string + + + +

Specifies the current maintenance status

+ +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+

color

+
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

render(translatedPercent) → {object}

+ + + + + + +
+

Takes a percentage and maps it to a message and color.

+

The colors are determined based on how Weblate does it internally. +Weblate on GitHub

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
translatedPercent + + +* + + + +

The percentage of translations translated.

+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + @@ -2310,7 +3069,7 @@ Other keywords are possible, but will appear in grey.


- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_criterion_criterion.service.js.html b/services_criterion_criterion.service.js.html index 129a871716..d4b57e10ed 100644 --- a/services_criterion_criterion.service.js.html +++ b/services_criterion_criterion.service.js.html @@ -110,7 +110,7 @@ module.exports = class Criterion extends BaseJsonService {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_dynamic_json-path.js.html b/services_dynamic_json-path.js.html index 3b6cdc2560..becde77bac 100644 --- a/services_dynamic_json-path.js.html +++ b/services_dynamic_json-path.js.html @@ -122,7 +122,7 @@ module.exports = superclass =>
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_github_github-total-star.service.js.html b/services_github_github-total-star.service.js.html index 72db8f8497..693839f07d 100644 --- a/services_github_github-total-star.service.js.html +++ b/services_github_github-total-star.service.js.html @@ -288,7 +288,7 @@ module.exports = class GithubTotalStarService extends GithubAuthV4Service {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_osslifecycle_osslifecycle.service.js.html b/services_osslifecycle_osslifecycle.service.js.html index 14e0035eab..fec59364af 100644 --- a/services_osslifecycle_osslifecycle.service.js.html +++ b/services_osslifecycle_osslifecycle.service.js.html @@ -141,7 +141,7 @@ module.exports = class OssTracker extends BaseService {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_packagist_packagist-base.js.html b/services_packagist_packagist-base.js.html index 3b3e41c59b..46189ef333 100644 --- a/services_packagist_packagist-base.js.html +++ b/services_packagist_packagist-base.js.html @@ -152,7 +152,7 @@ module.exports = {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_steam_steam-base.js.html b/services_steam_steam-base.js.html index d614fe67b5..15f74d6045 100644 --- a/services_steam_steam-base.js.html +++ b/services_steam_steam-base.js.html @@ -99,7 +99,7 @@ module.exports = BaseSteamAPI
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_test-validators.js.html b/services_test-validators.js.html index 79c875367e..eec9ab3387 100644 --- a/services_test-validators.js.html +++ b/services_test-validators.js.html @@ -223,7 +223,7 @@ module.exports = {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_weblate_weblate-component-license.service.js.html b/services_weblate_weblate-component-license.service.js.html index be29b17b6d..aabae41ab8 100644 --- a/services_weblate_weblate-component-license.service.js.html +++ b/services_weblate_weblate-component-license.service.js.html @@ -100,7 +100,7 @@ module.exports = class WeblateComponentLicense extends BaseJsonService {
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_weblate_weblate-project-translated-percentage.service.js.html b/services_weblate_weblate-project-translated-percentage.service.js.html index 05658313e5..9713704373 100644 --- a/services_weblate_weblate-project-translated-percentage.service.js.html +++ b/services_weblate_weblate-project-translated-percentage.service.js.html @@ -110,7 +110,7 @@ module.exports = class WeblateProjectTranslatedPercentage extends (
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/services_wikiapiary_wikiapiary-installs.service.js.html b/services_wikiapiary_wikiapiary-installs.service.js.html new file mode 100644 index 0000000000..b90e7a7ad6 --- /dev/null +++ b/services_wikiapiary_wikiapiary-installs.service.js.html @@ -0,0 +1,161 @@ + + + + + JSDoc: Source: services/wikiapiary/wikiapiary-installs.service.js + + + + + + + + + + +
+ +

Source: services/wikiapiary/wikiapiary-installs.service.js

+ + + + + + +
+
+
'use strict'
+
+const Joi = require('joi')
+const { metric } = require('../text-formatters')
+const { BaseJsonService, NotFound } = require('..')
+
+const documentation = `
+  <p>
+    The name of an extension is case-sensitive excluding the first character.
+  </p>
+  <p>
+    For example, in the case of <code>ParserFunctions</code>, the following are
+    valid:
+    <ul>
+      <li><code>ParserFunctions</code></li>
+      <li><code>parserFunctions</code></li>
+    </ul>
+
+    However, the following are invalid:
+    <ul>
+      <li><code>parserfunctions</code></li>
+      <li><code>Parserfunctions</code></li>
+      <li><code>pARSERfUNCTIONS</code></li>
+    </ul>
+  </p>
+`
+
+const schema = Joi.object({
+  query: Joi.object({
+    results: Joi.alternatives([
+      Joi.object()
+        .required()
+        .pattern(/^\w+:.+$/, {
+          printouts: Joi.object({
+            'Has website count': Joi.array()
+              .required()
+              .items(Joi.number().required()),
+          }).required(),
+        }),
+      Joi.array().required(),
+    ]).required(),
+  }).required(),
+}).required()
+
+/**
+ * This badge displays the total installations of a MediaWiki extensions, skins,
+ * etc via Wikiapiary.
+ *
+ * {@link https://www.mediawiki.org/wiki/Manual:Extensions MediaWiki Extensions Manual}
+ */
+module.exports = class WikiapiaryInstalls extends BaseJsonService {
+  static category = 'downloads'
+  static route = {
+    base: 'wikiapiary',
+    pattern: ':variant(extension|skin|farm|generator|host)/installs/:name',
+  }
+
+  static examples = [
+    {
+      title: 'Wikiapiary installs',
+      namedParams: { variant: 'extension', name: 'ParserFunctions' },
+      staticPreview: this.render({ usage: 11170 }),
+      documentation,
+      keywords: ['mediawiki'],
+    },
+  ]
+
+  static defaultBadgeData = { label: 'installs', color: 'informational' }
+
+  static render({ usage }) {
+    return { message: metric(usage) }
+  }
+
+  static validate({ results }) {
+    if (Array.isArray(results))
+      throw new NotFound({ prettyMessage: 'not found' })
+  }
+
+  async fetch({ variant, name }) {
+    return this._requestJson({
+      schema,
+      url: `https://wikiapiary.com/w/api.php`,
+      options: {
+        qs: {
+          action: 'ask',
+          query: `[[${variant}:${name}]]|?Has_website_count`,
+          format: 'json',
+        },
+      },
+    })
+  }
+
+  async handle({ variant, name }) {
+    const response = await this.fetch({ variant, name })
+    const { results } = response.query
+
+    this.constructor.validate({ results })
+
+    const keyLowerCase = `${variant}:${name.toLowerCase()}`
+    const resultKey = Object.keys(results).find(
+      key => keyLowerCase === key.toLowerCase()
+    )
+
+    if (resultKey === undefined)
+      throw new NotFound({ prettyMessage: 'not found' })
+
+    const [usage] = results[resultKey].printouts['Has website count']
+    return this.constructor.render({ usage })
+  }
+}
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time) +
+ + + + + diff --git a/tutorial-TUTORIAL.html b/tutorial-TUTORIAL.html index cc491afe6d..03b519ee35 100644 --- a/tutorial-TUTORIAL.html +++ b/tutorial-TUTORIAL.html @@ -386,7 +386,7 @@ will review your contribution.
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-badge-urls.html b/tutorial-badge-urls.html index aca2d9dac8..1b163e0bbc 100644 --- a/tutorial-badge-urls.html +++ b/tutorial-badge-urls.html @@ -77,7 +77,7 @@ badge is for issues, and the parameters are :user/:repo.
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-code-walkthrough.html b/tutorial-code-walkthrough.html index 1156582a50..80d3c299eb 100644 --- a/tutorial-code-walkthrough.html +++ b/tutorial-code-walkthrough.html @@ -240,7 +240,7 @@ result over the HTTPS connection.
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-deprecating-badges.html b/tutorial-deprecating-badges.html index 684f7f4f78..f788e4211d 100644 --- a/tutorial-deprecating-badges.html +++ b/tutorial-deprecating-badges.html @@ -116,7 +116,7 @@ t.create('no longer available (previously number of layers)')
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-input-validation.html b/tutorial-input-validation.html index 4dfcf50971..19b12ef6a3 100644 --- a/tutorial-input-validation.html +++ b/tutorial-input-validation.html @@ -103,7 +103,7 @@
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-json-format.html b/tutorial-json-format.html index 6dd3219019..ac12ef1d4d 100644 --- a/tutorial-json-format.html +++ b/tutorial-json-format.html @@ -60,7 +60,7 @@ if you have any queries regarding the JSON format.


- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-logos.html b/tutorial-logos.html index 59aceb3a61..db02aa46de 100644 --- a/tutorial-logos.html +++ b/tutorial-logos.html @@ -96,7 +96,7 @@
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-performance-testing.html b/tutorial-performance-testing.html index 8a6b1fb599..77a6e69c72 100644 --- a/tutorial-performance-testing.html +++ b/tutorial-performance-testing.html @@ -76,7 +76,7 @@ node --prof-process --preprocess -j isolate-00000244AB6ED3B0-11920-v8.log | flam
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-production-hosting.html b/tutorial-production-hosting.html index 7a66e37bc5..455244d1c4 100644 --- a/tutorial-production-hosting.html +++ b/tutorial-production-hosting.html @@ -243,7 +243,7 @@ the server. It's generously donated by Sent
diff --git a/tutorial-releases.html b/tutorial-releases.html index 5b06ccc555..57d66f1d82 100644 --- a/tutorial-releases.html +++ b/tutorial-releases.html @@ -79,7 +79,7 @@
- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-self-hosting.html b/tutorial-self-hosting.html index 5ca6c518ab..cf74a34224 100644 --- a/tutorial-self-hosting.html +++ b/tutorial-self-hosting.html @@ -181,7 +181,7 @@ Set public.requireCloudflare: true.


- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-server-secrets.html b/tutorial-server-secrets.html index 5659f36155..2a46f51bbd 100644 --- a/tutorial-server-secrets.html +++ b/tutorial-server-secrets.html @@ -237,7 +237,7 @@ and create an API key for the YouTube Data API v3.


- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)
diff --git a/tutorial-service-tests.html b/tutorial-service-tests.html index 5f037daa77..d593e9bd59 100644 --- a/tutorial-service-tests.html +++ b/tutorial-service-tests.html @@ -246,7 +246,7 @@ comment there instead.


- Documentation generated by JSDoc 3.6.7 on Sat Jul 03 2021 20:15:06 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.7 on Wed Jul 07 2021 20:41:26 GMT+0000 (Coordinated Universal Time)