User talk:GregRundlett/Flow

About this board

Please post issues to the Html2Wiki workboard in Phabricator, where I find it much easier to track and resolve issues.

HTML2Wiki archival requested

1
Pppery (talkcontribs)
Reply to "HTML2Wiki archival requested"
79.212.255.32 (talkcontribs)

Dear Greg,

I am aware that html2wiki is not compitable to the latest mediawiki version but may I know what version of mediawiki is compitable with un-maintained version of html2wiki?

Regards,

GregRundlett (talkcontribs)

See the Extension:Html2Wiki page where it says "MediaWiki 1.25+ - 1.32". I believe that's accurate.

Reply to "mediawiki version"

Html2Wiki V2017.7 not registering in Mediawiki 1.35

2
SidKali (talkcontribs)

Hi Greg,


Just upgraded to 1.35 from 1.34 and everything is working fine except : Html2Wiki extension

Seems it doesn't register properly :

Fatal error: Uncaught UnexpectedValueException: callback 'SpecialHtml2Wiki::checkEnvironment' is not callable in /var/lib/mediawiki/includes/registration/ExtensionRegistry.php:539 Stack trace: #0 /var/lib/mediawiki/includes/registration/ExtensionRegistry.php(232): ExtensionRegistry->exportExtractedData() #1 /var/lib/mediawiki/includes/Setup.php(161): ExtensionRegistry->loadFromQueue() #2 /var/lib/mediawiki/includes/WebStart.php(89): require_once('/var/lib/mediaw...') #3 /var/lib/mediawiki/index.php(44): require('/var/lib/mediaw...') #4 {main} thrown in /var/lib/mediawiki/includes/registration/ExtensionRegistry.php on line 539


Configuration settings :

$wgNamespacesWithSubpages[NS_MAIN] = true; // has to be set BEFORE the wfLoadExtension()!

#wfLoadExtension( 'Html2Wiki' );


Environment : MediaWiki 1.35.0 PHP 7.4.10 (apache2handler) MySQL 5.7.31-0ubuntu0.18.04.1 ICU 65.1 [ Lua 5.1.5


Any help on this matter or suggestions ?


Txs in advance,


Brgrds,


Frederic

GregRundlett (talkcontribs)

Hi Frederic,

I'm sorry that HTML2Wiki hasn't been maintained for compatibility with newer versions of MediaWiki. I don't really know when I will have time to take it up again. I'm hoping to find sponsorship (aka a paid project) where I can modernize Html2Wiki. In the meantime, I will edit the extension page to indicate that it's not compatible.

Reply to "Html2Wiki V2017.7 not registering in Mediawiki 1.35"

Html2Wiki does not import html to wiki

4
Summary by GregRundlett

Apparently solved by user https://phabricator.wikimedia.org/T209862

Sferg008 (talkcontribs)

Hello!

I have Mediawiki 1.31 and PHP 7.2

I installed Html2Wiki according to the instructions.

But when I try to import html nothing happens. The wheel turns endlessly and that's it. I tried to reinstall PHP, Pandoc and Tidy but that didn’t help.

I tried to add a href tag to the file but it didn't help either.

Please help me figure it out. This problem is very critical for me.

Sferg008 (talkcontribs)

Sorry, but the problem is not solved unfortunately. Maybe you can help with something?

GregRundlett (talkcontribs)

Unfortunately, I don't think I'll be able to help because I just don't have time right now to test the extension in any environment. But if I or someone else could help; we need something to go on. What specific error message do you get? What content do you use to test? Is the site public (URL)? Check the info at https://www.mediawiki.org/wiki/Manual:How_to_debug

Sferg008 (talkcontribs)

Thanks for the answer! I spent the whole day trying to write something to the log. But unfortunately nothing is recorded. Html2Wiki just hangs on the import, spin the wheel endlessly and nothing happens. How can I upload a file that I am trying to import here? We use local wiki without public URL

Reply to "Html2Wiki does not import html to wiki"

Removing non-html tags (like <ref>) in Pandoc utility

1
Vladis13 (talkcontribs)

Does this extension support <ref> tags and tables? I noticed that Pandoc utility, base for this ext., deletes "ref", and all other non-html tags, along with their contents. Is it possible to disable this in pandoc?

Reply to "Removing non-html tags (like <ref>) in Pandoc utility"

Html2wiki is not import the files

6
171.20.63.3 (talkcontribs)

Hi Greg,

I would like to ask your help.

Added the html2wiki to site and seems to be working, but facing with 2 issues:

Not getting visible Import HTML in the tools.

The second that the import is not working, they log is not so talky, i simply saved a file in word to html but if i check the dry run and it won't import anything.

Ran to the settings but according to that it seems fine.

Thank you,

Br,

GregRundlett (talkcontribs)

In order to get "Import Html" in the tools menu, you need to edit the tools menu by hand. See the "modules/MediaWiki:Common.js" file included with Html2Wiki for more info. By default, with no tools customization, you must navigate to the Special:Html2Wiki page. That page is restricted to Admin users unless you specifically make other permissions.

If you could produce a file for testing, I could possibly see what's wrong.

~~~~

151.0.70.194 (talkcontribs)

it was a simple test file saved in word 2016 to html :) only 'test' text was in it.

GregRundlett (talkcontribs)

I don't have Word 2016, so I can't reproduce the problem. However, Word doesn't produce good HTML and that's why Html2Wiki doesn't support Microsoft products.

If your starting source is in the proprietary .doc format, there are other ways that you can convert that to HTML that might work. For example, if you convert it with LibreOffice from .doc to .html then Html2Wiki might be able to import that source.

171.20.63.3 (talkcontribs)

Okay, just tested with a very simple html file:

<html>

<body>

<p>

Test

</body>

</html>

Result in dry run:

Preview only! Contents were not saved:

<source id="h2wContent" lang="html4strict">

</source>

  • testhtml.html (43 bytes) text/html

Probably i miss something basic, but not sure what..

Janaboy (talkcontribs)

Hi Greg,

Any ideas what i can check?

Tried to check the logs, read many times the install guide, but still no idea.

As you can see with a simple html is not working also.

Not sure what i should check.

Thank you,

Br,

Reply to "Html2wiki is not import the files"

Html2wiki install in ru:Wikisource

3
Vladis13 (talkcontribs)

Hello, Greg. We would like install Html2wiki in https://ru.wikisource.org. How to do this? The extension page has only installation instruction for third-party wikis.

GregRundlett (talkcontribs)

Hi Vladis13, I believe you would need to open a Phab ticket.

However, this extension has not been installed in any foundation wiki yet, so you'd want to do a code review to check for security problems, or load issues. (I'd love any feedback) Because the extension allows for the bulk import of content and images, it is restricted by default to sysops. It's not meant to be used by regular users.

Vladis13 (talkcontribs)

Phabricator:T186904. Did I correctly form the task there? It would be great if this will restricted also for the bot owners.

Reply to "Html2wiki install in ru:Wikisource"
Aag2010 (talkcontribs)

I have followed all the steps I have uploaded zip file which includes html and directory containing images. I am able to import it but when viewing the page , it is not able to fetch the image

By default it uses http://localhost/mediawiki/index.php?title=Special:Upload&wpDestFile=One/one/How_to_tutorial/image1.png

in the page itself and hence the image are not shown

When I click on the link, it takes me to upload page

Reply to "Image path issue"
There are no older topics
Return to the user page of "GregRundlett/Flow".