DCausse has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/348067 )
Change subject: Add missing API message
......................................................................
Add missing API message
Add missing i18n messages for API params.
Bug: T161000
Change-Id: I13a690fdf013050d006d3a009c0c5d6a12c950d3
---
M i18n/en.json
M i18n/qqq.json
M profiles/RescoreProfiles.config.php
3 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/67/348067/1
diff --git a/i18n/en.json b/i18n/en.json
index 0de1a50..072426b 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -32,10 +32,13 @@
"cirrussearch-completion-profile-normal": "Few punctuation characters,
some diacritics and stopwords removed.",
"cirrussearch-completion-profile-normal-subphrases": "Few punctuation
characters, some diacritics and stopwords removed. It will match also
subphrases (can be subphrases or subpages depending on internal wiki
configuration).",
"cirrussearch-completion-profile-fuzzy": "Similar to normal with typo
correction (two typos supported).",
+ "cirrussearch-completion-profile-fast-fuzzy": "Experimental fuzzy
profile (may be removed at any time)",
"cirrussearch-completion-profile-fuzzy-subphrases": "Similar to normal
with typo correction (two typos supported). It will match also subphrases (can
be subphrases or subpages depending on internal wiki configuration).",
"cirrussearch-qi-profile-classic": "Ranking based on the number of
incoming links, some templates, article language and recency
(templates/language/recency may not be activated on this wiki).",
"cirrussearch-qi-profile-classic-noboostlinks": "Ranking based on some
templates, article language and recency when activated on this wiki.",
"cirrussearch-qi-profile-empty": "Ranking based solely on query
dependent features (for debug only).",
+ "cirrussearch-qi-profile-wsum-inclinks-pv": "Weighted sum based on
incoming links and weekly pageviews",
+ "cirrussearch-qi-profile-wsum-inclinks": "Weighted sum based on
incoming links",
"cirrussearch-qi-profile-popular-pv": "Ranking based primarily on page
views",
"cirrussearch-qi-profile-popular-inclinks": "Ranking based primarily on
incoming link counts",
"cirrussearch-pref-completion-profile-help": "Set the behavior for
autocomplete (search-as-you-type) suggestions.",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index cb76fac..687734b 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -41,10 +41,13 @@
"cirrussearch-completion-profile-normal": "Normal profile for
completion (search as you type).",
"cirrussearch-completion-profile-normal-subphrases": "Normal profile
with subphrases for completion (search as you type).",
"cirrussearch-completion-profile-fuzzy": "Fuzzy profile for completion
(search as you type).",
+ "cirrussearch-completion-profile-fast-fuzzy": "Experimental fuzzy
profile (may be removed at any time)",
"cirrussearch-completion-profile-fuzzy-subphrases": "Fuzzy profile with
subphrases for completion (search as you type).",
"cirrussearch-qi-profile-classic": "Classic query independent search
profile (affects fulltext search ranking algorithm).",
"cirrussearch-qi-profile-classic-noboostlinks": "Classic query
independent search profile without boost links (affects fulltext search ranking
algorithm).",
"cirrussearch-qi-profile-empty": "Empty query independent search
profile (affects fulltext search ranking algorithm).",
+ "cirrussearch-qi-profile-wsum-inclinks-pv": "Weighted sum based on
incoming links and weekly pageviews (affects fulltext search ranking
algorithm).",
+ "cirrussearch-qi-profile-wsum-inclinks": "Weighted sum based on
incoming links (affects fulltext search ranking algorithm).",
"cirrussearch-qi-profile-popular-pv": "Page view based query
independent search profile (affects fulltext search ranking algorithm). \"Page
views\" refers to \"page views ''count''\".",
"cirrussearch-qi-profile-popular-inclinks": "Incoming link count based
query independent search profile (affects fulltext search ranking algorithm).",
"cirrussearch-pref-completion-profile-help": "Help message for
completion profile settings in the user preferences.",
diff --git a/profiles/RescoreProfiles.config.php
b/profiles/RescoreProfiles.config.php
index 37aea66..0169970 100644
--- a/profiles/RescoreProfiles.config.php
+++ b/profiles/RescoreProfiles.config.php
@@ -102,6 +102,7 @@
// inclinks applied as a weighted sum
'wsum_inclinks' => [
+ 'i18n_msg' => 'cirrussearch-qi-profile-wsum-inclinks',
'supported_namespaces' => 'all',
'rescore' => [
[
@@ -128,6 +129,7 @@
// inclinks + pageviews applied as weighted sum
// NOTE: requires the custom field popularity_score
'wsum_inclinks_pv' => [
+ 'i18n_msg' => 'cirrussearch-qi-profile-wsum-inclinks-pv',
'supported_namespaces' => 'content',
'fallback_profile' => 'wsum_inclinks',
'rescore' => [
--
To view, visit https://gerrit.wikimedia.org/r/348067
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I13a690fdf013050d006d3a009c0c5d6a12c950d3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits