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

Wiki: Can't use internal links for articles with a hash sign (#) in their name #95

Open
oskarlh opened this issue Sep 1, 2024 · 4 comments

Comments

@oskarlh
Copy link
Contributor

oskarlh commented Sep 1, 2024

There doesn't seem to be any obvious way to create an internal link to VERC: Style Guide #1.
[[VERC: Style Guide #1]] doesn't work as seen in the description of https://twhl.info/wiki/page/upload%3AVERC_Archive%3A_style-lab1-fig1.jpg/4127

Repository owner deleted a comment Sep 1, 2024
Repository owner deleted a comment Sep 1, 2024
@LogicAndTrick
Copy link
Owner

Yeah unfortunately its a choice between allowing links to anchors in pages or allowing # in page titles.... I think making # a forbidden character might be the better option but honestly not sure... thoughts?

@oskarlh
Copy link
Contributor Author

oskarlh commented Sep 10, 2024

There is also the option of using an escape character. Or a double hash [[VERC: Style Guide ##1]].

@oskarlh
Copy link
Contributor Author

oskarlh commented Sep 10, 2024

Making # a forbidden character in article titles would prevent any mistakes when linking to such articles but for some articles the # could be meaningful, probably most with a # https://twhl.info/search/index?search=%23

@LogicAndTrick
Copy link
Owner

A lot of those "entity attribute: ... # " articles aren't really worth keeping though, and the rest could be renamed pretty easily. I'll have to check what the current list of restricted characters is (if any...)

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

No branches or pull requests

2 participants