MediaWiki:Cirrussearch-boost-templates


 * 1) If a page contains one of these templates then its search score is multiplied by the configured percentage.
 * 2) Changes to this take effect immediately!
 * 3) The syntax is as follows:
 * 4) * Everything from a "#" character to the end of the line is a comment.
 * 5) * 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.
 * 6) Examples of good lines:
 * 7)   Template:Good|150%
 * 8)   Template:Very Very Good|300%
 * 9)   Template:Bad|50%
 * 10) Examples of broken lines:
 * 11)   Template:Foo|150.234234% # decimal points are not allowed.
 * 12)   Foo|150% # technically valid, but acts on transclusions of Foo instead of Template:Foo.
 * 13) You can test configuration changes before editing this page by performing a search
 * 14) query with the "boost-templates" operator, which acceptes a quoted string where the above
 * 15) formatted lines are sepaerated by spaces instead of line breaks. Note that when this operator
 * 16) is used, the contents of MediaWiki:Cirrussearch-boost-templates are ignored.
 * 17) Example search query:
 * 18)   hello world boost-templates:"Template:Foo_bar|1%"
 * 1)   Template:Foo|150.234234% # decimal points are not allowed.
 * 2)   Foo|150% # technically valid, but acts on transclusions of Foo instead of Template:Foo.
 * 3) You can test configuration changes before editing this page by performing a search
 * 4) query with the "boost-templates" operator, which acceptes a quoted string where the above
 * 5) formatted lines are sepaerated by spaces instead of line breaks. Note that when this operator
 * 6) is used, the contents of MediaWiki:Cirrussearch-boost-templates are ignored.
 * 7) Example search query:
 * 8)   hello world boost-templates:"Template:Foo_bar|1%"
 * 1)   hello world boost-templates:"Template:Foo_bar|1%"
 * 1)   hello world boost-templates:"Template:Foo_bar|1%"

Template:Historical|1%