MediaWiki:Cirrussearch-boost-templates: Difference between revisions

From MaRDI portal
No edit summary
No edit summary
 
Line 15: Line 15:
# Queries that specify boost-templates:"XX" ignore the contents of this field.
# Queries that specify boost-templates:"XX" ignore the contents of this field.
  #</pre> <!-- leave this line exactly as it is -->
  #</pre> <!-- leave this line exactly as it is -->
Template:Person|300%
Template:Person|30000%

Latest revision as of 10:05, 19 April 2024

#

# 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.
 #

Template:Person|30000%