Skip to content

Commit 42e9f09

Browse files
authored
Fix some typos
1 parent e079abb commit 42e9f09

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ You can find a demo of this extension at https://automated.wikibase.wiki
3030

3131
The core building block of this extension are so-called "Rules".
3232

33-
You can read the bellow step-by-step explanation or look immediately at [example.json].
33+
You can read the below step-by-step explanation or look immediately at [example.json].
3434

3535
A Rule consists of zero or more Entity Criteria, which allow you to specify
36-
which Wikibase entities the Rule applies to. For instance "all entities where P1 is Q1", which might translate to "all entities instanceof Person".
36+
which Wikibase entities the Rule applies to. For instance, "all entities where P1 is Q1", which might translate to "all entities instanceof Person".
3737

3838
```json
3939
{
@@ -46,7 +46,7 @@ which Wikibase entities the Rule applies to. For instance "all entities where P1
4646
}
4747
```
4848

49-
A rule can also have zero or more Build Specifications. These describe how to auto automatically build
49+
A rule can also have zero or more Build Specifications. These describe how to automatically build
5050
values on matching Entities, and which languages to update. They are available both for Labels and Aliases.
5151

5252
```json
@@ -66,10 +66,10 @@ values on matching Entities, and which languages to update. They are available b
6666
}
6767
```
6868

69-
Rules can be defined on page `MediaWiki:AutomatedValues`. Alternatively they can be defined in LocalSettings.php, see the [PHP Configuration](#php-configuration) section.
69+
Rules can be defined on page `MediaWiki:AutomatedValues`. Alternatively, they can be defined in LocalSettings.php, see the [PHP Configuration](#php-configuration) section.
7070

71-
To define rules for your wiki, simply head over to `MediaWiki:AutomatedValues` and create the page. This page only accepts JSON that
72-
adheres to the [JSON Schema]. If you enter invalid JSON, the page will refuse to save your changes.
71+
To define rules for your wiki, head to `MediaWiki:AutomatedValues` and create the page. This page only accepts JSON that
72+
adheres to the [JSON Schema]. The page will refuse to save your changes if you enter invalid JSON.
7373

7474
Editing of pages in the `MediaWiki` namespace, which includes `MediaWiki:AutomatedValues`, is likely restricted to users
7575
with elevated permissions. By default, MediaWiki restricts editing in this namespace to people with the `editinterface` right.
@@ -79,7 +79,7 @@ You can find a complete and valid example of a list of Rules, that could be plac
7979

8080
### Supported Entity Criteria
8181

82-
At the moment it is only possible to check equality of statement main values, and only for Properties of type String or EntityId.
82+
Currently, it is only possible to check equality of statement main values, and only for Properties of type String or EntityId.
8383

8484
A Rule can contain multiple Entity Criteria, in which case they all need to match for the Rule to be applied. A Rule
8585
can also contain no Entity Criteria, in which case it will be applied to all Entities.
@@ -104,7 +104,7 @@ You can have different Build Specifications for different languages:
104104
```
105105

106106
You can also specify `*` instead of a language code, in which case the Build Specification will be applied to all default
107-
languages. See the [PHP Configuration](#php-configuration) section for how to set the default languages. If the default
107+
languages. See the [PHP Configuration](#php-configuration) section for instructions on how to set the default languages. If the default
108108
languages are not set, `*` will be ignored.
109109

110110
```json
@@ -120,7 +120,7 @@ languages are not set, `*` will be ignored.
120120
}
121121
```
122122

123-
The `$` symbol is replaced by the Main Value of the first Statement with the specified Property. Currently only strings
123+
The `$` symbol is replaced by the Main Value of the first Statement with the specified Property. Currently, only strings
124124
are supported. Preferred Statements will be used over those with a Normal rank. If there is no matching Statement, that
125125
part of the value is omitted. If the resulting value is an empty string, it will be ignored.
126126

@@ -193,7 +193,7 @@ Platform requirements:
193193
The recommended way to install Automated Values is using [Composer] with
194194
[MediaWiki's built-in support for Composer][Composer install].
195195

196-
On the commandline, go to your wikis root directory. Then run these two commands:
196+
On the commandline, go to your wiki's root directory. Then run these two commands:
197197

198198
```shell script
199199
COMPOSER=composer.local.json composer require --no-update professional-wiki/wikibase-automated-values:~1.0

0 commit comments

Comments
 (0)