From 9b405a3f1780ad1869bcd6b5bea591da455eed36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 12 Sep 2018 18:13:53 +0200 Subject: [PATCH] foreign-resources.yaml: Fix some documentation typos Change-Id: I89281ddaeec5d0bc778ca6829dc2d7a531fb5320 --- maintenance/resources/foreign-resources.yaml | 13 +++++++------ maintenance/resources/manageForeignResources.php | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/maintenance/resources/foreign-resources.yaml b/maintenance/resources/foreign-resources.yaml index 9beb0e3877..a54f1fd790 100644 --- a/maintenance/resources/foreign-resources.yaml +++ b/maintenance/resources/foreign-resources.yaml @@ -1,6 +1,7 @@ ### Format of this file # -# The top-level keys are module names (as registered in Resources.php). +# The top-level keys are directory names (under resources/lib/). +# They should match module names (as registered in Resources.php), but there are exceptions. # Each top-level key holds a resource descriptor that must have one of # the following `type` values: # @@ -10,9 +11,9 @@ # ### Type tar # -# The `src` and `integrity` keys are quired. +# The `src` and `integrity` keys are required. # -# * `src`: Full URL to thes remote resource. +# * `src`: Full URL to the remote resource. # * `integrity`: Cryptographic hash (integrity metadata format per ). # * `dest`: An object mapping paths to files or directory from the remote resource to a destination # in the module directory. The value of key in dest may be omitted, which will extract the key @@ -20,13 +21,13 @@ # ### Type file # -# The `src` and `integrity` keys are quired. +# The `src` and `integrity` keys are required. # -# * `src`: Full URL to thes remote resource. +# * `src`: Full URL to the remote resource. # * `integrity`: Cryptographic hash (integrity metadata format per ). # * `dest`: The name of the file in the module directory. Default: Basename of URL. # -### Type mult-file +### Type multi-file # # The `files` key is required. # diff --git a/maintenance/resources/manageForeignResources.php b/maintenance/resources/manageForeignResources.php index 41e579ba39..aa22c68dd1 100644 --- a/maintenance/resources/manageForeignResources.php +++ b/maintenance/resources/manageForeignResources.php @@ -45,8 +45,8 @@ libraries registered as ResourceLoader modules. See also foreign-resources.yaml. For sources that don't publish an integrity hash, omit "integrity" (or leave empty) and run the "make-sri" action to compute the missing hashes. -This script runs in dry mode by default. Use --update to actually change, remove, -or add files to /resources/lib/. +This script runs in dry-run mode by default. Use --update to actually change, +remove, or add files to resources/lib/. TEXT ); $this->addArg( 'action', 'One of "update", "verify" or "make-sri"', true ); -- 2.20.1