Page MenuHomePhabricator

Importing download links to preexisting documents not properly linking.
Closed, DeclinedPublic

Description

When uploading the following code block via html2wiki, the download link to closure at a glance is coverted as another page rather than a docx file (which has already been uploaded to my mediawiki instance).

<a href="closure_at_a_glance.docx" title="closure_at_a_glance.docx">
    Closure at a Glance
</a>

I believe this to be a bug with the importer, as even if I add the html5 element download to the back of that tag, the outcome is the same.

Event Timeline

In case it is of any use in replication of this bug, here is the full block around the a tag in question.

<p>
   <a href="closure_at_a_glance.docx" title="closure_at_a_glance.docx">
    Closure at a Glance
   </a>
</p>

It is within the body of the document and is sibling to many other p and h tags alike.

I was wondering, has anyone has seen this?

Exact MediaWiki version information and exact extension version information are welcome.

I want to say 1.31 on both accounts but if you will remind me where to grab that exactly I would be more than happy to double check

MediaWiki 1.31.0
Html2Wiki 2017.07 (8c57b3a) 15:19, June 27, 2018

I moved to the git repo for the extension as a result of this thread.