11
22* [ 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 )
44* [ Technical notes] ( 09-notes.md )
55
66## Usage
@@ -26,21 +26,16 @@ language target link list.
2626- A set of predefined properties ( ` Page content language ` , ` Interlanguage reference ` ,
2727 ` Interwiki language ` , ` Interwiki reference ` , and ` Has interlanguage links ` ) are provided and can
2828 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).
3429- If a category page contains a ` Page content language ` annotation, SIL will filter and display only pages
3530 that match that content language. In cases where no language has been assigned (or filtering has been disabled),
3631 the category page will display all pages without changes or filtering.
3732
3833### Configuration
3934
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
4136 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
4338 (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
4540 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