Skip to content

Gitea wiki repo uses urlencoded file name when creating new pages online  #16122

Open
@BLumia

Description

@BLumia

Description

When creating a new wiki page online, it will generate a urlencoded file name for that page to the wiki repo, instead of using the page title as-is, which can make local management (i.e. clone the wiki repo locally and use it as a regular git repo to manage documentation or notes) vary hard.

Not sure if that's intended, but for reference, GitHub, instead, will (at least try to) use the wiki page title as-is as the name of the new file.


List of related issues that need to be discussed/fixed

  • wiki page with non-urlencoded filename cannot be edited
  • wiki page with non-urlencoded filename cannot be deleted
  • wiki page contains space cannot be viewed from the Gitea wiki webpage (e.g. Test Test.md)
  • when can we drop the backward compatibility so we can remove the urlencoded behavior?
  • once we no longer use urlencoded page, how to deal with pages that contain / character?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions