Giter VIP home page Giter VIP logo

pandocultimateconverter's Introduction

Nikolai Kochkin

I am a QA Manager at Veeam Software company. I live in Prague. Unfortunately, most of my code cannot be published, so I am not a frequent guest here.

  • 🔭 I’m working on Veeam Backup for [Nutanix AHV/AWS/Azure/GCP] at Veeam Software.
  • 🌱 I’m currently learning how to build automated documentation systems
  • 🤔 My dream is to build an opensource internal search system since there is no universal one at the market.

Experience:

  • Python: used for automated documentation on an internal MediaWiki
  • PowerShell: lots of sysadmin tasks and testing of internal PowerShell APIs. Especially with reflection to utilize C# libraries
  • C#: good reading skills, basic coding. Mostly doing "Extra" code-review for the company products.
  • C & C++: minimal knowledge, used to write autotests for internal backup APIs
  • Java: college and high school knowledge

Contacts:

pandocultimateconverter's People

Contributors

griboedow avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pandocultimateconverter's Issues

special page crashes after activating the plugin

Hi!
I have a problem after adding plugin.
Special page crashes with error:
"This page isn’t working 10.2.97.44 is currently unable to handle this request.
HTTP ERROR 500"
Other pages on my wiki continue to work fine.

And the same error appears in both the Apache log and the MediaWiki debug:
"PHP Fatal Error from line 44 of /var/www/html/last_of_us/includes/specialpage/SpecialPage.php: Cannot declare class SpecialPage, because the name is already in use"

MediaWiki 1.39.5
PHP 8.0.30 (fpm-fcgi)
MySQL 8.0.36-0ubuntu0.20.04.1
ICU 66.1
Lua 5.1.5
Pygments 2.11.2

PandocUltimateConverter.txt

Import from URL

I often want to import an HTML page (with images) from the web. Pandoc handles HTML→Wikitext (with many caveats of course, but it does work). Would this be a useful feature addition to this extension? I'd be happy to work on it.

Internal Error on Upload\Convert

Hesitant to post, incase its something unique with my setup but, using latest XAMPP as the stack for testing this extension in mediawiki, i've come across an internal error when trying to upload and convert.

Stacktrace details below, and hoping these might be useful.

_[f4c0923d8d4858b2cd7f07c1] /mediawiki/index.php/Special:PandocUltimateConverter Error: Call to a member function getLocalRefPath() on bool

Backtrace:

from C:\xampp\htdocs\mediawiki\extensions\PandocUltimateConverter\SpecialPandocUltimateConverter.php(119)
#0 C:\xampp\htdocs\mediawiki\extensions\PandocUltimateConverter\SpecialPandocUltimateConverter.php(84): SpecialPandocUltimateConverter::convertFileToPage(string, string)
#1 C:\xampp\htdocs\mediawiki\includes\htmlform\HTMLForm.php(751): SpecialPandocUltimateConverter::processForm(array, HTMLForm)
#2 C:\xampp\htdocs\mediawiki\includes\htmlform\HTMLForm.php(631): HTMLForm->trySubmit()
#3 C:\xampp\htdocs\mediawiki\includes\htmlform\HTMLForm.php(647): HTMLForm->tryAuthorizedSubmit()
#4 C:\xampp\htdocs\mediawiki\extensions\PandocUltimateConverter\SpecialPandocUltimateConverter.php(75): HTMLForm->show()
#5 C:\xampp\htdocs\mediawiki\includes\specialpage\SpecialPage.php(727): SpecialPandocUltimateConverter->execute(NULL)
#6 C:\xampp\htdocs\mediawiki\includes\specialpage\SpecialPageFactory.php(1621): MediaWiki\SpecialPage\SpecialPage->run(NULL)
#7 C:\xampp\htdocs\mediawiki\includes\MediaWiki.php(357): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#8 C:\xampp\htdocs\mediawiki\includes\MediaWiki.php(960): MediaWiki->performRequest()
#9 C:\xampp\htdocs\mediawiki\includes\MediaWiki.php(613): MediaWiki->main()
#10 C:\xampp\htdocs\mediawiki\index.php(50): MediaWiki->run()
#11 C:\xampp\htdocs\mediawiki\index.php(46): wfIndexMain()
#12 {main}_

problems importing images in .emf format

Hi!
¡Muchas gracias por tu extensión! :)
I faced with a problem importing .docx documents containing images in .emf format
Pandoс successfully pulls these pictures out of the document and saves them to the wiki database.
But mediawiki does not support the format and link like this appear in my article:
File:Pandocultimateconverter-8cb75f65-0a0c-43d6-a101-ab514afcc0d0-image3.emf
Is it possible to force Pandoс to change the format of such files to .png
and/or prohibit writing unsupported files to the wiki?

I'm attaching the logs
misc.log
[main.log](https://github.com/user-attach
test emf page.docx
ments/files/15886030/main.log)

problem importing images from document

Hello
The new version of the plugin is installing well, keep it up!
But I still have difficulties importing a document containing images.
The problems are the same in wiki v.39 and 41.

I couldn't find anything more informative than "htop", although catching the output of long commands turned out to be quite difficult.
Therefore, I am attaching the picture and its output to a text file. It doesn't read very well, but all the important points are clear.
Pandoc starts and tries to do something, but images don’t appear in the temporary directory.
I also add the error text from Google and the Wiki trace after clicking the "Upload and convert" button.

wiki-page-err.log
wiki-debug.log
pandoc-htop-log.txt
pandoc-htop-log

Thanks for your plugin!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.