Skip to content

Wiki's locale not taken into account in the group page rules options #1739

Description

@mkende

Describe the bug
In a wiki with multilingual namespace deactivate and configured in a non-English locale (French in my case), in the "page rules" options of a group, there is the option to apply a rule to "any locale" or to only "English".

To Reproduce
Steps to reproduce the behavior:

  1. On the wiki locale setting, deactivate the multilingual namespace
  2. Set the wiki locale to French (or, probably, anything else than English).
  3. Save
  4. Go to a group "page rules" page

Expected behavior
Page rules can be configured to apply to any locale or to the current locale (French).

Actual behavior
Page rules can be configured to apply to any locale or to English only.

Screenshots
locale settings
page rules

Host Info (please complete the following information):

  • OS: Debian stable
  • Wiki.js version: 2.2.51
  • Database engine: SQLite

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

under reviewAcknowledged, awaiting further review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions