Skip to content
Commit d676e808 authored by Igor Kushnir's avatar Igor Kushnir Committed by Jonathan Marten
Browse files

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
parent f0770855
Pipeline #183487 passed with stage
in 1 minute and 33 seconds
  • mentioned in commit d27defbd

    Toggle commit list
  • Toggle commit list
  • 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.

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment