man: remove the section suffix from page names in listDir()
After recent major changes to man's listDir() (starting at 223de3ec and ending with 1d752c04) man page names acquired section suffixes in parentheses. For example, "aio.h" became "aio.h (0p)". This page name format change broke URLs formed by joining a section URL and a page name, e.g. "man:/(7)" + '/' + "bootup (7)". The `xdg-open "man:/(7)/bootup (7)"` command opens this broken link in KHelpCenter, which displays the "Manual Page Viewer Error" page. The added section suffixes also break displaying man pages in KDevelop's Man Pages documentation plugin. Revert this breaking change by removing the section suffix rather than reformatting it into parentheses. BUG: 452920 FIXED-IN: 22.04.02
-
mentioned in commit d27defbd
-
mentioned in issue teams/release-service/issues#14 (closed)
-
Author Developer
kio-extras I was a bit unsure so didn't merge it. @marten @igorkushnir can you please check if d676e808 that only went to the 22.04 branch should have gone to master (and thus 22.08 branches that i am creating) too?
@aacid, following the
@igorkushnir mentioned in commit d27defbd · 1 month ago
link above reveals that @marten has already cherry-picked this commit to master, and it also got into the release/22.08 branch.
Please register or sign in to comment