You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user_functions.py:331: UserWarning: Malformed template in the Wikicode of 'masochiste' (parts=['Leopold von Sacher-<i>Masoch</i>'])
warn(f"Malformed template in the Wikicode of {word!r} (parts={parts})")
Leopold von Sacher-<i>Masoch</i>
Expected: no warning
nom w pc is calling person() with only one arguent, resulting in the warning, cf
BoboTiG
changed the title
[FR] Fix handling of the person()
[FR] Fix behavior of the person() user function when there is only one argument
Apr 23, 2021
ATTENTION : il est désormais recommandé d’utiliser des caractères ordinaires pour le nom de famille des auteurs (décision collective de mars 2021). L’usage de ce modèle est en conséquence à éviter. Il a été modifié pour ne plus afficher de petites capitales.
BoboTiG
changed the title
[FR] Fix behavior of the person() user function when there is only one argument
[FR] Rework output of the person() user function
Apr 23, 2021
Wikicode:
Output:
Expected: no warning
nom w pc
is callingperson()
with only one arguent, resulting in the warning, cfebook-reader-dict/wikidict/lang/fr/__init__.py
Line 547 in b8477d7
I do not recall why the warning was put, it was introduced with f66c96e.
The text was updated successfully, but these errors were encountered: