1
1
2
2
* [ Parser functions] ( 01-parser-function.md ) contains details and usage examples
3
- * [ Example #ask queries] ( 02-ask-queries.md )
3
+ * [ Example ` #ask ` queries] ( 02-ask-queries.md )
4
4
* [ Technical notes] ( 09-notes.md )
5
5
6
6
## Usage
@@ -26,21 +26,16 @@ language target link list.
26
26
- A set of predefined properties ( ` Page content language ` , ` Interlanguage reference ` ,
27
27
` Interwiki language ` , ` Interwiki reference ` , and ` Has interlanguage links ` ) are provided and can
28
28
be used to create customized ` #ask ` queries (e.g ` Has interlanguage links.Page content language ` ).
29
- - SIL provides a ` by Language ` ` Special:Search ` filtering option to match interlanguage property annotations
30
- for pre-selected pages. If the ` by Language ` profile (or the advanced profile) is used together with
31
- a specific language filter then any pre-selected article (provided by the ` SearchEngine ` ) that does not match
32
- the language will be excluded from the result list. It may be necessary to broaden the limit before a match
33
- can be found because SIL does only compare languages against pre-selected results (it does not search by itself).
34
29
- If a category page contains a ` Page content language ` annotation, SIL will filter and display only pages
35
30
that match that content language. In cases where no language has been assigned (or filtering has been disabled),
36
31
the category page will display all pages without changes or filtering.
37
32
38
33
### Configuration
39
34
40
- - ` $GLOBALS[' silgCacheType'] = CACHE_ANYTHING; ` is being set to be the default value to improve query lookups
35
+ - ` $silgCacheType = CACHE_ANYTHING; ` is being set to be the default value to improve query lookups
41
36
during each page view with cache invalidation being carried out during any delete, change or move action.
42
- - ` $GLOBALS[' wgHideInterlanguageLinks'] ` is enabled (set to ` true ` ), no sitelinks or annotations are created
37
+ - ` $wgHideInterlanguageLinks ` is enabled (set to ` true ` ), no sitelinks or annotations are created
43
38
(in order to correspond to the MW default behaviour for interwiki links)
44
- - If ` $GLOBALS[' wgPageLanguageUseDB'] ` was enabled and ` Special:PageLanguage ` assigned a different language from
39
+ - If ` $wgPageLanguageUseDB ` was enabled and ` Special:PageLanguage ` assigned a different language from
45
40
the annotated SIL value then the ` Page content language ` will be restored to provide consistency with the
46
- expected language
41
+ expected language
0 commit comments