-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gender: when gender not passed, avoid error, fallback to neutral (#57)
Messages like {{GENDER:|A|B|C}} were causing parser failures. This patch fixes the parser and introduce a fallback to neutral form. As a mediawiki independent library, while Gender is supported, we cannot support gender with current logged in user. For that explicit gender param placeholder needed(example: {{GENDER:$1|A|B|C}}
- Loading branch information
1 parent
feaf0b9
commit 039d73c
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters