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 pages does not rendered #4221

Closed
ghost opened this issue Jun 11, 2018 · 11 comments
Closed

Wiki pages does not rendered #4221

ghost opened this issue Jun 11, 2018 · 11 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/wiki type/bug

Comments

@ghost
Copy link

ghost commented Jun 11, 2018

I migrated my repo to gitea. All is fine except that I cannot see certain wiki pages. For example Col·laboradors. Why?

My gitea version is 1.4.2 (binary). I have used sqlite3.

captura de pantalla_2018-06-11_16-37-54
captura de pantalla_2018-06-11_16-37-24

@yasuokav
Copy link
Contributor

This bug happened to me too.
This issue is caused because Github doesn't escape the file name.
(Similar issue #4090)
001

@lunny lunny added the type/bug label Jun 12, 2018
@ghost
Copy link
Author

ghost commented Jun 12, 2018

So, what's the solution, at least temporal?

@markuman
Copy link

Clone the wiki, rename strange looking filenames, commit and push?

@ghost
Copy link
Author

ghost commented Jun 12, 2018

But I have not % files when I clone it from gitea:

captura de pantalla_2018-06-12_20-17-06

I have UTF-8 encoding

@yasuokav
Copy link
Contributor

Rename
Col·laboradors.md -> Col%C2%B7laboradors.md
Enumeració-de-les-versions.md -> Enumeraci%C3%B3-de-les-versions.md
and then push to remote server

@ghost
Copy link
Author

ghost commented Jun 13, 2018

Oh!, come on. From user perspective, it complicates the life. gitea should convert UTF-8 bash names to URL encoded names

@markuman
Copy link

well, it's not a problem of the wiki/gitea. It can handle such crappy filenames while creating: https://git.osuv.de/m/trash/wiki/Col%C2%B7laboradors

bildschirmfoto 2018-06-14 um 15 33 28

My guess is, that the problem was (or is) the import function, which doesn't handle the filenames correctly - or as mentioned before by @yasuokav

This issue is caused because Github doesn't escape the file name.

So to fix your project wiki, you need to fix it manually.

@ghost
Copy link
Author

ghost commented Jun 14, 2018

@markuman OK. Solved (manually).
Should I close the bug or maintained open for bug in import function?

@stale
Copy link

stale bot commented Jan 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Jan 23, 2019
@lunny lunny added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Feb 7, 2019
@VegaSE
Copy link

VegaSE commented Dec 20, 2022

What about Windows repo? Percentage in filename bad idea.
We ran into this while trying to write a wiki.
The Windows user cannot update the repositories.

@lunny
Copy link
Member

lunny commented Apr 26, 2023

I think this has been resolved by #24143

@lunny lunny closed this as completed Apr 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/wiki type/bug
Projects
None yet
Development

No branches or pull requests

4 participants