View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000150 | WackoWiki | core | public | 2008-01-13 17:04 | 2019-11-06 17:11 |
Reporter | administrator | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | confirmed | Resolution | open | ||
Product Version | 4.2 | ||||
Target Version | 6.1.x | ||||
Summary | 0000150: Internal relative paths ../../../ | ||||
Description | enable internal relative paths also for more then one level like ../../DocEnglish | ||||
Steps To Reproduce | example: you are here /root/levelOne/levelTwo/levelThree/levelFour and you want use internal linking ../../../levelOne to /root/levelOne | ||||
Additional Information | https://wackowiki.org/lab/Bugs/150 see uwrap_link() function in wacko class | ||||
Tags | No tags attached. | ||||
|
function get_page_path($separator = '/') { $steps = explode('/', $this->tag); $links = []; $result = ''; for ($i = 0; $i < count($steps) - 1; $i++) { if ($i == 0) $prev = ''; else $prev = $links[$i - 1].'/'; $links[] = $prev . $steps[$i]; } for ($i = 0; $i < count($steps) - 1; $i++) { $result .= $this->link( $links[$i], '', $steps[$i] ) . '/'; } $result .= $steps[count($steps) - 1]; return $result; } |
|
I'm a bit wary about this one. It has the potential to break alot of links. Say you have a branch of pages the directly descend from the root page. All the pages in the branch use relative linking to each other. Now you move the top most page of that branch or a sub branch. All the links will then be wrong. Is this the reason it was not implemented in the first place? That would be my hunch. |
|
Владислав already fixed this issue in his fork https://www.pgpru.com/razrabotki/dvizhok/files?get=openspace-0.8.24a.tar.bz2 and I aked him if he could help us out and he requested more info... |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-01-13 17:04 | administrator | New Issue | |
2008-01-13 17:04 | administrator | Legacy | => NEW |
2008-05-20 03:24 | administrator | Note Added: 0000340 | |
2008-05-20 03:56 | administrator | Note Edited: 0000340 | |
2008-05-20 04:21 | administrator | Note Edited: 0000340 | |
2008-07-19 22:14 | administrator | Status | new => confirmed |
2008-07-29 11:01 | administrator | Summary | Internal relative linking ../../../ => Internal relative paths ../../../ |
2008-07-29 11:01 | administrator | Description Updated | |
2008-09-04 17:02 | administrator | Additional Information Updated | |
2008-09-21 15:43 | Tann San | Target Version | => 5.4.0 |
2008-09-21 15:45 | Tann San | Note Added: 0000512 | |
2008-09-21 16:29 | administrator | Note Added: 0000516 | |
2010-03-08 10:12 | administrator | Category | Core => core |
2014-03-21 15:00 | administrator | Target Version | 5.4.0 => 5.5.0 |
2015-02-19 19:24 | administrator | Target Version | 5.5.0 => 6.1.x |
2015-04-07 17:20 | administrator | Additional Information Updated | |
2015-04-07 18:24 | administrator | Note Edited: 0000340 | |
2015-04-07 18:29 | administrator | Additional Information Updated | |
2018-08-06 14:37 | administrator | Target Version | 6.1.x => 5.5.7 |
2019-01-14 14:21 | administrator | Target Version | 5.5.7 => 5.5.8 |
2019-02-14 12:04 | administrator | Target Version | 5.5.8 => 6.1.x |
2019-11-06 17:05 | administrator | Additional Information Updated | |
2019-11-06 17:08 | administrator | Note Edited: 0000340 | |
2019-11-06 17:11 | administrator | Additional Information Updated |