Namespace seperator brakes in wiki structures
- Status
- Open
- Subject
- Namespace seperator brakes in wiki structures
- Version
- 18.x
18.x Regression - Category
- Bug
- Regression
- Feature
- Namespaces
Wiki (page view, edit, history, rename, etc)
Wiki Structure (book & table of content) - Resolution status
- New
- Submitted by
- Torsten Fabricius
- Lastmod by
- Torsten Fabricius
- Rating
- Description
EDIT: Could not Reproduce in Show! I try to fix with an upgrade. Reducing the importance of this bug report for now.
Setup:
- Wiki Structure: on
- Namespaces: on
- seperator: ~
- tested also with: :
- Hide namespace indicator in structure path: ticked (on)
- Hide namespace indicator in page title: ticked (on)
- Force all non-namespace page links to the same namespace: both settings (on/off)
- Create a wiki page with a namespace name example:
example~startstructure - Make a Structure from it
- Create a new page mywikipage into the structure
page gets correctly named example~mywikipage
Problem:When in default settings the Wiki URL scheme is URL encode (Tiki classic) in /tiki-admin.php?page=wiki.
Then the Namespace rewrite does not work and the links / urls are example+startstructure instead of example~startstructure, why Tiki does not find the page and either gives an error message or a create page notice or a redirect to the HomePage, depending on further configurations.Workaround:
When the Wiki URL scheme is set to Replace Spaces with dashes in /tiki-admin.php?page=wiki, the links / urls are still wrongly rewritten , but with dash instead of plus: example-startstructure and they do correctly redirect to example~startstructure .
Additional remarks:
I think, that the rewrite of the structures feature (wiki structure breadcrumb menu AND plugin toc) from the seperator to the dash (or otherwise the plus) is still wrong.
When I create a page example-mywikipage, then I can access the original page with following URLs / Links:- example~mywikipage?structure=example~startstructure
- example~mywikipage
- example-mywikipage?structure=example~startstructure
- example-mywikipage-2
Where example-mywikipage-2 is somehow defined as alternative URL from Tiki (18.x) without creating that page at all.
Only example-mywikipage directs to the new page!
example-mywikipage?structure=example~startstructure directs to the old page!The wiki structure feature uses example-mywikipage?structure=example~startstructure as URL for example~mywikipage respectively instead of example~mywikipage?structure=example~startstructure
I'll try to reproduce with a show instance.
- Importance
- 1 low
- Priority
- 5
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6965
- Created
- Monday 03 December, 2018 05:25:32 UTC
by Torsten Fabricius - LastModif
- Monday 03 December, 2018 06:23:04 UTC