Ticket #6965 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Parse wiki links in offline help

Reported by: Peter Peterson Owned by: Andrei Savici
Priority: blocker Milestone: Release 2.5
Component: Mantid Keywords: qtassistant
Cc: Blocked By:
Blocking: Tester: Peter Peterson

Description

The wiki links are left as bland text in the offline help. Make them links to the proper things (workspace wiki pages or algorithm help pages).

Change History

comment:1 Changed 7 years ago by Peter Peterson

  • Keywords qtassistant added

comment:2 Changed 7 years ago by Andrei Savici

  • Owner changed from Peter Peterson to Andrei Savici
  • Status changed from new to accepted

comment:3 Changed 7 years ago by Andrei Savici

Parse some links on help pages. Refs #6965

Changeset: 2ec537eb42f7c7a9bfae425e9d48015312102ca8

comment:4 Changed 7 years ago by Andrei Savici

Add link parser. Refs #6965

Changeset: 07e822be5d156949d5d42408ff123d63a67058d9

comment:5 Changed 7 years ago by Andrei Savici

Parse some links to wiki. Refs #6965

Changeset: 0487ab49749bcbac8c418670c7952295abefeae8

comment:6 Changed 7 years ago by Andrei Savici

Resolve conflicts. Refs #6965

Changeset: d8df3dba8ef056753c5eecf96d34215f073d5c1d

comment:7 Changed 7 years ago by Andrei Savici

Parse some links on help pages. Refs #6965

Changeset: 2ec537eb42f7c7a9bfae425e9d48015312102ca8

comment:8 Changed 7 years ago by Andrei Savici

Add link parser. Refs #6965

Changeset: 07e822be5d156949d5d42408ff123d63a67058d9

comment:9 Changed 7 years ago by Andrei Savici

Parse some links to wiki. Refs #6965

Changeset: 0487ab49749bcbac8c418670c7952295abefeae8

comment:10 Changed 7 years ago by Andrei Savici

Resolve conflicts. Refs #6965

Changeset: d8df3dba8ef056753c5eecf96d34215f073d5c1d

comment:11 Changed 7 years ago by Andrei Savici

Conflicts. Refs #6965

Changeset: 5a5b2f412e093d87296f61e12a5a1bc5c75706b1

comment:12 Changed 7 years ago by Andrei Savici

Conflicts. Refs #6965

Changeset: 5a5b2f412e093d87296f61e12a5a1bc5c75706b1

comment:13 Changed 7 years ago by Andrei Savici

Fix wiki for parsing to qtassistant. Refs #6965

Changeset: e545ea64b3c3d580eaa34e0df1580d622a026766

comment:14 Changed 7 years ago by Andrei Savici

Fix wiki for parsing to qtassistant. Refs #6965

Changeset: e545ea64b3c3d580eaa34e0df1580d622a026766

comment:15 Changed 7 years ago by Andrei Savici

  • Status changed from accepted to verify
  • Resolution set to fixed

Branch feature/6965_wiki_links. To test: look into all html files for qtassistant, and search for [[. Some links with single square bracket are also fixed

comment:16 Changed 7 years ago by Peter Peterson

  • Status changed from verify to verifying
  • Tester set to Peter Peterson

comment:17 Changed 7 years ago by Peter Peterson

  • Status changed from verifying to reopened
  • Resolution fixed deleted

Unfortunately the ticket needs to be bounced. My algorithm of choice to look at was Fit. There are two things that need to be fixed based on what was found there:

  1. Some wiki links in the cpp files are done with spaces (see line 8 of Fit.cpp). Those links need to change the spaces to underlines "_" which the wiki does automatically. The current behavior sends the user to the wrong page.
  2. Renamed links (example: line 22 of Fit.cpp) still keep their square brackets.

Otherwise this is a good feature.

comment:18 Changed 7 years ago by Andrei Savici

  • Status changed from reopened to accepted

comment:19 Changed 7 years ago by Andrei Savici

Fix small bugs. Refs #6965

Changeset: cfeef769fd2649573064d8dc2356b2c9632f5165

comment:20 Changed 7 years ago by Andrei Savici

Fix small bugs. Refs #6965

Changeset: cfeef769fd2649573064d8dc2356b2c9632f5165

comment:21 Changed 7 years ago by Andrei Savici

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:22 Changed 7 years ago by Gesner Passos

  • Status changed from verify to verifying
  • Tester changed from Peter Peterson to Gesner Passos

comment:23 Changed 7 years ago by Gesner Passos

  • Status changed from verifying to reopened
  • Resolution fixed deleted

There some special links that are not being processed, but, it may enter a new ticket: [[file:LoadLiveData_flow.png]] (LoadLiveData), [[Media:Spe_file_format.pdf|here]] (LoadSPE), [[Media:Spe_file_format.pdf|here]] (SaveSPE).

But there are still pages with links with problems:

And some others, but all them come from the same problem of parsing something like this link: SANS Reduction and making it: http://www.mantidproject.org/Reduction_for_HFIR_SANS%20SANS%20Reduction

so, bouncing it again. But, we are very close to the target ;)

comment:24 Changed 7 years ago by Andrei Savici

More details with Qtassistant help. Refs #6965

Changeset: aed4070e5f61b4e5fcbe9db567ed434d33cd6851

comment:25 Changed 7 years ago by Andrei Savici

More details with Qtassistant help. Refs #6965

Changeset: aed4070e5f61b4e5fcbe9db567ed434d33cd6851

comment:26 Changed 7 years ago by Andrei Savici

  • Status changed from reopened to accepted

comment:27 Changed 7 years ago by Andrei Savici

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:28 Changed 7 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester changed from Gesner Passos to Wenduo Zhou

comment:29 Changed 7 years ago by Peter Peterson

  • Status changed from verifying to verify
  • Tester Wenduo Zhou deleted

comment:30 Changed 7 years ago by Peter Peterson

  • Status changed from verify to verifying
  • Tester set to Peter Peterson

comment:31 Changed 7 years ago by Andrei Savici

Parse some links on help pages. Refs #6965

Changeset: 2ec537eb42f7c7a9bfae425e9d48015312102ca8

comment:32 Changed 7 years ago by Andrei Savici

Add link parser. Refs #6965

Changeset: 07e822be5d156949d5d42408ff123d63a67058d9

comment:33 Changed 7 years ago by Andrei Savici

Parse some links to wiki. Refs #6965

Changeset: 0487ab49749bcbac8c418670c7952295abefeae8

comment:34 Changed 7 years ago by Andrei Savici

Resolve conflicts. Refs #6965

Changeset: d8df3dba8ef056753c5eecf96d34215f073d5c1d

comment:35 Changed 7 years ago by Andrei Savici

Conflicts. Refs #6965

Changeset: 5a5b2f412e093d87296f61e12a5a1bc5c75706b1

comment:36 Changed 7 years ago by Andrei Savici

Fix wiki for parsing to qtassistant. Refs #6965

Changeset: e545ea64b3c3d580eaa34e0df1580d622a026766

comment:37 Changed 7 years ago by Andrei Savici

Fix small bugs. Refs #6965

Changeset: cfeef769fd2649573064d8dc2356b2c9632f5165

comment:38 Changed 7 years ago by Andrei Savici

More details with Qtassistant help. Refs #6965

Changeset: aed4070e5f61b4e5fcbe9db567ed434d33cd6851

comment:39 Changed 7 years ago by Peter Peterson

Merge remote branch 'origin/feature/6965_wiki_links'

Conflicts:

Code/Mantid/docs/qtassistant/CMakeLists.txt Code/Mantid/docs/qtassistant/mediawiki.py

Re #6965

Changeset: f9b708b26f110eec15caf8bfbfddf72761c023af

comment:40 Changed 7 years ago by Peter Peterson

  • Status changed from verifying to closed

comment:41 Changed 7 years ago by Peter Peterson

Merge remote branch 'origin/feature/6965_wiki_links'

Conflicts:

Code/Mantid/docs/qtassistant/CMakeLists.txt Code/Mantid/docs/qtassistant/mediawiki.py

Re #6965

Changeset: f9b708b26f110eec15caf8bfbfddf72761c023af

comment:42 Changed 7 years ago by Andrei Savici

Parse some links on help pages. Refs #6965

Changeset: 2ec537eb42f7c7a9bfae425e9d48015312102ca8

comment:43 Changed 7 years ago by Andrei Savici

Add link parser. Refs #6965

Changeset: 07e822be5d156949d5d42408ff123d63a67058d9

comment:44 Changed 7 years ago by Andrei Savici

Parse some links to wiki. Refs #6965

Changeset: 0487ab49749bcbac8c418670c7952295abefeae8

comment:45 Changed 7 years ago by Andrei Savici

Resolve conflicts. Refs #6965

Changeset: d8df3dba8ef056753c5eecf96d34215f073d5c1d

comment:46 Changed 7 years ago by Andrei Savici

Conflicts. Refs #6965

Changeset: 5a5b2f412e093d87296f61e12a5a1bc5c75706b1

comment:47 Changed 7 years ago by Andrei Savici

Fix wiki for parsing to qtassistant. Refs #6965

Changeset: e545ea64b3c3d580eaa34e0df1580d622a026766

comment:48 Changed 7 years ago by Andrei Savici

Fix small bugs. Refs #6965

Changeset: cfeef769fd2649573064d8dc2356b2c9632f5165

comment:49 Changed 7 years ago by Andrei Savici

More details with Qtassistant help. Refs #6965

Changeset: aed4070e5f61b4e5fcbe9db567ed434d33cd6851

comment:50 Changed 7 years ago by Peter Peterson

Merge remote branch 'origin/feature/6965_wiki_links'

Conflicts:

Code/Mantid/docs/qtassistant/CMakeLists.txt Code/Mantid/docs/qtassistant/mediawiki.py

Re #6965

Changeset: f9b708b26f110eec15caf8bfbfddf72761c023af

comment:51 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7811

Note: See TracTickets for help on using tickets.