Topics

[Fixed] Flawed links to wiki pages in HTML export #export #bugs #html


Tom H
 

I've just discovered a bug in the Wikispaces HTML export for links between pages in my March 30 backup. I don't know if this also applies earlier or later but you should check your own if you are counting on using the HTML export. What appears to be happening is that the export wants to transfer what is in Wikitext as:
[[sqlitetoolsforrootsmagic/RootsMagic 7|RootsMagic 7]]
to
<a class="wiki_link" href="RootsMagic%207.html">RootsMagic 7</a> 
but is putting the added cart before the horse as this:
<a class="wiki_link" href=".htmlRootsMagic%207">RootsMagic 7</a> 
Of course, that's not going to work.

While a regular expression search & replace across all files could flip the ".html" to the end of the filename based on the ending quotation mark, those URLs that link to an anchor point require the ".html" to be moved ahead of the first "#".

Wikispaces needs to fix this.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Tom H
 

And a related bug in which the flaw is in links to files:

<a href=".htmlfile/view/Alternate%20Name%20Typo%20Steps.docx">https://sqlitetoolsforrootsmagic.wikispaces.com/file/view/Alternate+Name+Typo+Steps.docx</a><br />

<img src=".htmlfile/view/Facts-ChangeType.PNG/527747134/451x308/Facts-ChangeType.PNG" alt="Facts-ChangeType.PNG" title="Facts-ChangeType.PNG" style="height: 308px; width: 451px;" align="right" />

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


CiviHosting
 

And a related bug in which the flaw is in links to files:
We can confirm that we are also aware of these bugs.

CiviHosting


Tom H
 

A fix is projected for next week. From Wikispaces Help Fri, Apr 6, 2018 at 6:37 AM ET:

Hello,

Many thanks for your email

I have queried this issue with our technical team

They have advised that they are currently working on a fix

Which should be released within the next week

We do apologise for any inconveniences this may have caused

Should you require further assistance do not hesitate to contact us again


Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Tom H
 

Wikispaces has fixed the problem of the .html cart coming before the horse for page and file links. When that happened, I don't know as there has been no announcement. Searching for instances of ".html in the Wikispaces export of my site:
March 30 Export: 642 hits in 46 files
April 15 Export:        0 hits in   0 files

That's one less thing to worry about whether you use the HTML export directly for a static HTML website or as the medium for conversion to a wiki or WordPress host.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Tom H
 
Edited

CORRECTION and my apology. I erred due to a mixup of folders in which I was searching with Notepad++. The .html extension IS now properly placed between the page name and the anchor. 
 
Was: .htmlURLencodedpagename   -- wrong
Now: URLencodedpagename.html   -- correct
 
Was:  .htmlURLencodedpagename#URLencodedanchorname  -- wrong
Now:  URLencodedpagename.html#URLencodedanchorname  -- correct
 

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Creuset
 

Hi Tom

Thanks for making this site, its been a bit of a struggle to find a new host and new system for our wiki, but finding this and reading your news has been both informative and reassuring.