Issue #4451 new

Cannot create new page in wiki when in a repo with wiki in the name from web interface. (BB-5152)

mytinyship
created an issue

Steps to reproduce:

Create a new repository with a name ending "wiki". For example "repo-wiki"

Go to the wiki page https://bitbucket.org/<username>/repo-wiki/wiki/Home

Click the button which creates a new page ("New")

Enter any name for the new page, for example "new-page"

You will be redirected to page: https://bitbucket.org/<username>/repo-wiki/edit/new-page instead of https://bitbucket.org/<username>/repo-wiki/wiki/edit/new-page (which works fine)

Looks like /wiki/ will be left out if last four letters of the repository are "wiki". Result: 404 error page is shown.

Comments (17)

  1. Marcus Bertrand staff

    We have not been able to reproduce this issue. Please let us know the name of the page you were attempting to create and we may be able to assist further. Keep in mind page names with non-english characters and with spaces may have issues.

  2. pxjukolam

    I have the same problem with repository with a name ending "wiki".

    Steps to reproduce:

    1. Create a new repository with a name ending "wiki". For example "repo-wiki"
    2. Go to the wiki page https://bitbucket.org/<username>/repo-wiki/wiki/Home
    3. Click the button which creates a new page ("New")
    4. Enter any name for the new page, for example "new-page"
    5. You will be redirected to page: https://bitbucket.org/<username>/repo-wiki/edit/new-page instead of https://bitbucket.org/<username>/repo-wiki/wiki/edit/new-page (which works fine)

    Looks like /wiki/ will be left out if last four letters of the repository are "wiki".

  3. Log in to comment