Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-unique anchors between languages #270

Closed
iMattPro opened this issue Nov 16, 2015 · 0 comments
Closed

Allow non-unique anchors between languages #270

iMattPro opened this issue Nov 16, 2015 · 0 comments

Comments

@iMattPro
Copy link
Contributor

Currently every anchor must be unique.

We should allow non-unique anchors between different languages. So, for example, the anchor rule-1 will link to "Rule 1" no matter which language the user is viewing the rules in.

An example scenario is where a user is using English, and he copies the link to a rule and gives the link to another user. But the other user is on another language, so the link currently won't work for them since in their language, the rule's anchor does not exist.

So we should only enforce unique anchors within the current language a rule is being created in.

Based on this report:
https://www.phpbb.com/customise/db/extension/boardrules/support/topic/153026

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

No branches or pull requests

1 participant