Issue #6195 new

Allow project wikis to be browsable by tag or branch (BB-7407)

Rob Vesse avatarRob Vesse created an issue

The project wiki is a source code repository so has version history, tags and branches but this is not exposed in any useful way in the UI.

For projects who want to maintain their documentation on the wiki this makes it tricky to easily maintain multiple versions of the documentation for different versions of the project because we can't easily expose these to users.

It would be great if when your wiki has more than one tag/branch in it the UI would allow you to switch between different versions of the wiki. That way users can be pointed to the documentation for version X.

Currently the only way to achieve this appears to be to clone the wiki and push it into a new project representing the documentation for a specific version of your project which is ugly to say the least.

Comments (5)

  1. Michael Frauenholtz

    While we don't currently have a way to switch between branches/tags in the UI, our wiki system does allow for this. For example, if you have a branch on your wiki named v1.0.0, you can access that branch using the rev query string, like so:

    https://bitbucket.org/USER/REPO/wiki/Home?rev=v1.0.0

    I've added this issue to our internal tracker so we can prioritize a full feature for this. We'll keep you updated when we have more to share.

    Cheers, Michael

  2. Rob Vesse

    Any idea when this might get implemented?

    Your workaround works but not very well, as soon as you navigate to another page the ?rev=blah gets lost because the wiki does not include it when rendering links

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.