From ed040a9b030efa1a30321d3abb3aeda54a9e7cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Mon, 16 Jan 2023 14:59:51 +0100 Subject: [PATCH] [FR] Ignore the "cf" template when pointing to the current Wiki page --- wikidict/lang/fr/template_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wikidict/lang/fr/template_handlers.py b/wikidict/lang/fr/template_handlers.py index 7a654d6f1..c1a8015a3 100644 --- a/wikidict/lang/fr/template_handlers.py +++ b/wikidict/lang/fr/template_handlers.py @@ -230,7 +230,7 @@ def render_cf(tpl: str, parts: List[str], data: Dict[str, str]) -> str: """ phrase = "→ voir" if parts: - if parts[0].startswith(":Catégorie:"): + if parts[0].startswith(":"): return "" s_array = []