Skip to content

Commit

Permalink
Make 2.1.0 release (#82)
Browse files Browse the repository at this point in the history
* Make 2.1.0 release
** Add release date
** Update Requirements section
** Update Installation section
** Remove obsolete documentation
** Formatting tweaks
** Increment version
  • Loading branch information
kghbln authored Apr 3, 2020
1 parent badc9a6 commit dd553d6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This [video](https://vimeo.com/115871518) demonstrates the functionality of the

## Requirements

- PHP 7.0 or later
- PHP 7.1 or later
- MediaWiki 1.31 or later
- [Semantic MediaWiki][smw] 3.0 or later

Expand All @@ -42,15 +42,15 @@ create one and add the following content to it:
```
{
"require": {
"mediawiki/semantic-interlanguage-links": "~2.0"
"mediawiki/semantic-interlanguage-links": "~2.1"
}
}
```

If you already have a "composer.local.json" file add the following line to the end of the "require"
section in your file:

"mediawiki/semantic-interlanguage-links": "~2.0"
"mediawiki/semantic-interlanguage-links": "~2.1"

Remember to add a comma to the end of the preceding line in this section.

Expand Down
2 changes: 1 addition & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This file contains the RELEASE-NOTES of the **Semantic Interlanguage Links** (a.

### 2.1.0

Released on (tentative date).
Released on April 2, 2020.

* Minimum requirement for
* PHP changed to version 7.1 and later
Expand Down
15 changes: 5 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

* [Parser functions](01-parser-function.md) contains details and usage examples
* [Example #ask queries](02-ask-queries.md)
* [Example `#ask` queries](02-ask-queries.md)
* [Technical notes](09-notes.md)

## Usage
Expand All @@ -26,21 +26,16 @@ language target link list.
- A set of predefined properties ( `Page content language`, `Interlanguage reference`,
`Interwiki language`, `Interwiki reference`, and `Has interlanguage links`) are provided and can
be used to create customized `#ask` queries (e.g `Has interlanguage links.Page content language`).
- SIL provides a `by Language` `Special:Search` filtering option to match interlanguage property annotations
for pre-selected pages. If the `by Language` profile (or the advanced profile) is used together with
a specific language filter then any pre-selected article (provided by the `SearchEngine`) that does not match
the language will be excluded from the result list. It may be necessary to broaden the limit before a match
can be found because SIL does only compare languages against pre-selected results (it does not search by itself).
- If a category page contains a `Page content language` annotation, SIL will filter and display only pages
that match that content language. In cases where no language has been assigned (or filtering has been disabled),
the category page will display all pages without changes or filtering.

### Configuration

- `$GLOBALS['silgCacheType'] = CACHE_ANYTHING;` is being set to be the default value to improve query lookups
- `$silgCacheType = CACHE_ANYTHING;` is being set to be the default value to improve query lookups
during each page view with cache invalidation being carried out during any delete, change or move action.
- `$GLOBALS['wgHideInterlanguageLinks']` is enabled (set to `true`), no sitelinks or annotations are created
- `$wgHideInterlanguageLinks` is enabled (set to `true`), no sitelinks or annotations are created
(in order to correspond to the MW default behaviour for interwiki links)
- If `$GLOBALS['wgPageLanguageUseDB']` was enabled and `Special:PageLanguage` assigned a different language from
- If `$wgPageLanguageUseDB` was enabled and `Special:PageLanguage` assigned a different language from
the annotated SIL value then the `Page content language` will be restored to provide consistency with the
expected language
expected language
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SemanticInterlanguageLinks",
"version": "2.1.0-alpha",
"version": "2.1.0",
"author": [
"James Hong Kong",
"..."
Expand Down

0 comments on commit dd553d6

Please sign in to comment.