Bug 94082 - WIKIHELP: switchinline conversion skips non-defaultinline entries
Summary: WIKIHELP: switchinline conversion skips non-defaultinline entries
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wiki-Help
  Show dependency treegraph
 
Reported: 2015-09-10 00:21 UTC by Yousuf Philips (jay) (retired)
Modified: 2018-02-14 17:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2015-09-10 00:21:18 UTC
When <switchline> is encountered, it only outputs what is found in <defaultinline> and not the other OS cases.

Example File - /text/shared/01/01020000.xhp
Wikihelp URL - https://help.libreoffice.org/Common/Open_1#Opening_Documents_With_Templates

<switchinline select="sys"><caseinline select="UNIX">in the home directory</caseinline><defaultinline>in the Documents and Settings folder</defaultinline></switchinline>

Example File - /text/shared/01/01020000.xhp
Wikihelp URL - https://help.libreoffice.org/Common/Open_1#Opening_Documents_With_Templates

<switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline>
Comment 1 Jean-Baptiste Faure 2015-09-10 04:46:01 UTC
If I remember correctly, wikihelp did not exist in OOo.

Best regards. JBF
Comment 2 Yousuf Philips (jay) (retired) 2015-09-10 16:42:12 UTC
Things are even worse when no <defaultinline> is define, as the wiki page has blank navigation entries in it.

Example File - /text/shared/01/01140000.xhp
Wikihelp URL - https://help.libreoffice.org/Common/Printer_Setup

----- Source --------

<paragraph role="heading" id="hd_id3145345" xml-lang="en-US" level="2" l10n="U" oldref="4"><switchinline select="sys"><caseinline select="WIN">Printer 
</caseinline></switchinline></paragraph>
<paragraph role="paragraph" id="par_id3145211" xml-lang="en-US" l10n="U" oldref="5"><switchinline select="sys"><caseinline select="WIN">Lists the information that applies to the selected printer. 
</caseinline></switchinline></paragraph>

----- Wiki --------

== {{System|win=Printer}} ==

{{System|win=Lists the information that applies to the selected printer.}}
Comment 3 Buovjaga 2015-09-18 14:33:34 UTC
Confirmed.
Comment 4 QA Administrators 2016-09-20 10:32:07 UTC Comment hidden (obsolete)
Comment 5 Olivier Hallot 2018-02-14 17:35:59 UTC
wikihelp is no longer maintained.