User talk:Pastakhov/Flow

About this board

Sie erhalten einen Orden!

Der Technikerorden
Heiya Pavel, thank you so much for working on some quite popular extensions and making them fit for the future, e.g. MagicNoCache or NumberFormat. MPDF seems to be a cool one too though I have not tried so far. Cheers and kudos to you [[kgh]] (talk) 09:56, 30 November 2012 (UTC)
134.97.2.1 (talkcontribs)

Dear All,

is there any chance to use mpdf with PHP 8.2 for mediawiki. Or if not, can someone recommend me an alternative extension?

Thank you very much and greetings

Julian

Reply to "mpdf with PHP 8.2"
Summary by 185.169.64.46

Suggestion to install 2 extensions to improve Wikimedia.

Correct title: Extension:MyVariables

185.169.64.46 (talkcontribs)

Hello, why aren't those 2 extensions installed?, if both were installed, there would be less problems, when inserting __NOCACHE__, just loading the page again would show the current date of the pages without having to purge (since to purge a page we must be not blocked, otherwise an error will appear) with the second extension, and with the first we could show some messages for unregistered users and show other messages for users who are registered using {{#ifeq: {{currentuser}} | {{currentloggeduser}} | (registered user) | (not registered user) }}, Maybe you want to start a request to install the 2 extensions on phabricator? thanks

Reply to "extension:Myvariables and extension:MagicNoCache"

Mpdf crash on mediawiki docker

1
B8mhzmk (talkcontribs)

Hi!


Thank you for maintaining Mpdf extension! I use latest stable mediawiki docker image, which has php8.1 installed. Hovewer, in your Mpdf extension you use now incompatible version of mpdf github.com/wikimedia/mediawiki-extensions-Mpdf/blob/96d573c96eaf88d33c50ee38c1fa4fd421eece10/composer.json#L3 which crashes when you try to export wiki page to pdf with many kind of errors.


The correct version of Mpdf for php8.1 would be v8.0.13 as written in github.com/mpdf/mpdf


Could you please update mediwiki Mpdf version? Thank you!

Reply to "Mpdf crash on mediawiki docker"

Mpdf didn't show images on the header

2
Mciesl01 (talkcontribs)

Hi,

I use the extension Mpdf and I really like it. It only have on Problem. I would like to have an small Image in the header line.

I look on the site from mpdf.github.io as you written in you Plugin but I didn't get it to work.

The side show me nothing or the link as a string and I didn't know what I can do.

Can you help me.


Reagards

Martin Cieslik

Pastakhov (talkcontribs)

Hi, can you send me a link to the page?

Reply to "Mpdf didn't show images on the header"

phptag cause internal error

4
Gadjodilofoo (talkcontribs)

Hello,

it could be famous if it runs. Have you an idea what can cause this error, my mediawiki is a new creation.

MediaWiki 1.37.1
PHP 8.1.0 (cgi-fcgi)
MySQL 8.0.28-0ubuntu0.20.04.3
ICU 60.2

Thank you for your attention.

Gadjodilofoo (talkcontribs)

Perhaps modsecurity of my shared server?

Something to do in .htaccess?


[Sun Jul 03 06:09:24.085414 2022] [:error] [pid 418783:tid 119193389135616] [client 78.202.190.23:55500] [client 78.202.190.23] ModSecurity: Access denied with code 418 (phase 2). Operator GE matched 7 at TX:anomaly_score. [file "/dh/apache2/template/etc/mod_sec3_CRS/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "93"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 10)"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.2"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "oceanscommuns.net"] [uri "/index.php"] [unique_id "YsGVBAp1huYUJfylLOzHgAAAABM"], referer: oceanscommuns.net/index.php?title=Oc%C3%A9ans_communs:Test&action=edit&section=2
Gadjodilofoo (talkcontribs)

I m hosted at DREAMHOST, i can disable mod_security but not modify it through .htaccess.

Thank you

Pastakhov (talkcontribs)

Hi, I didn't test it with PHP 8, try to run it with PHP 7.4

Reply to "phptag cause internal error"

Varnish configuration for 5xx backend response

4
95.91.225.82 (talkcontribs)

Hi,

at Manual:Varnish_caching you inserted a configuration snippet for Varnish to not cache 5xx backend responses. As far as I know Varnish doesn't cache this responses by default. Can you give my a hint why do you think it's important to insert this snippet anyhow? Thanks.

Pastakhov (talkcontribs)

Hi, I added it because my Varnish cashed 5xx backend response, and it was not very nice.

95.91.225.82 (talkcontribs)

In a default configuration of Varnish 6.x (and also lower versions) it doesn't cache 5xx backend responses - have a look at the Varnish User Guide. I think this snippet doesn't change Varnish's behaviour in a default, untouched setup.

Pastakhov (talkcontribs)

I have no idea what you call untouched setup, but my Varnish version 5.2.1 revision 67e562482 cached 5xx backend responses until I added the rule to not cache it. Also I faced this problem several times on others wiki. Especially when SMW is installed and after you ran maintenance script a lot of pages were cached with the message that MW in maintenance mode. I'm really glad if your Varnish does not cache 5xx backend responses. But my experience says me that this rule should be added.

Reply to "Varnish configuration for 5xx backend response"

When exporting a page, no images are inserted

1
Alechandrop (talkcontribs)

On pages that contain Math formulas, an error is displayed when exporting to PDF




Product Version
MediaWiki 1.35.0
PHP 7.4.14 (fpm-fcgi)
MariaDB 10.1.47-MariaDB-0ubuntu0.18.04.1
Lua 5.1.5
Mpdf 1.0 (8afd41e) 07:15, 25 February 2021

name     : mpdf/mpdf

descrip. : A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support

keywords : pdf, php, utf-8

versions : * v6.1.3

Reply to "When exporting a page, no images are inserted"

Multimap extension - mapping Google API

1
B1Bayon (talkcontribs)

Hi there Pastakhov, I've just recently tried setting up Multimap, and was hoping to use it with Google Maps, however now google maps require API. Was wondering if you had a solution to this or any new extensions that may accommodate embedded google maps on the wiki page.

Look forward to hearing from you.

Allan

Reply to "Multimap extension - mapping Google API"
Þjarkur (talkcontribs)

Hello Pastakhov, I've been working on skinning and your page Skin:Empty regularly comes up as the #1 Google hit, but it seems to be an abandonded draft. I was wondering if you wanted to move the draft to userspace or if the page should maybe be deleted – I think it's the only page in the Skin namespace that doesn't describe a skin that exists.

Pastakhov (talkcontribs)

Hello @Þjarkur, I just have no time to finish the Empty skin, generally the skin works but I didn't created useful PhpTags widgets for the skin and mw core does not support less as a wiki page yet... but I still plan to finish it in a few months

Reply to "Skin:Empty"

Extension MultiMaps: T210033

7
FellTiger (talkcontribs)
Pastakhov (talkcontribs)

Oh, thank you for your contribution, I'll review it. Sorry, I'm hard busy and missed your patch, thanks for the message.

FellTiger (talkcontribs)

Sorry, to bring this up again, but I am afraid that I will forget more and more why I implemented some things the way I did. Additionally, most of the changes are white space changes. I pushed all the files I edited through a style fixer, so that they comply with the coding conventions.

In case you have lost interest in this extension, I can also offer to become the maintainer, but I would not prefer that because I do not have a lot of experience with MediaWiki coding and PHP in general.

Please let me know what you think!

Pastakhov (talkcontribs)

I'm interesting in the extension and I am grateful for your contribution, but I'm on a trip currently and can't review the patch, sorry. I will be available soon. thank you for your patience and bringing it up.

FellTiger (talkcontribs)
Pastakhov (talkcontribs)

Hi FellTiger, you are right, it goes beyond the limits of decency, my sorry for delay... I will help right now

FellTiger (talkcontribs)
Reply to "Extension MultiMaps: T210033"
Return to the user page of "Pastakhov/Flow".