Jump to content

MediaWiki:Cirrussearch-boost-templates

From translatewiki.net

#

# If a page contains one of these templates then its search score is multiplied by the configured percentage.
# Changes to this take effect immediately.
# The syntax is as follows:
#   * Everything from a "#" character to the end of the line is a comment.
#   * Every non-blank line is the exact template name to boost, namespace, case and everything, followed by a "|" character followed by a number followed by a "%" character.
# Examples of good lines:
# Template:Good|150%
# Template:Very Very Good|300%
# Template:Bad|50%
# Examples of non-working lines:
# Template:Foo|150.234234% # no decimal points allowed!
# Foo|150% # technically works, but for transclusions of the Foo page from the main namespace
# You can test configuration changes by performing a query prefixed with boost-templates:"XX" where XX is all of the templates you want to boost separated by spaces instead of line breaks.
# Queries that specify boost-templates:"XX" ignore the contents of this field.
 #