Jump to content

Topic on Extension talk:FlexForm

signature not showing

12
Christharp (talkcontribs)

Hi, first thanks for a great extension. I was testing all the features by copying over your help pages & have found the signature feature doesn't show (only the clear button does). I'm currently testing it in the Mediawiki default skin (Vector). It shows no error when I use <_form showmessages />. Unfortunately, it's on a local server so I can't provide a link. Thanks for any help you can give.

Sen-Sai (talkcontribs)

Hi! Thank you! I will have a look today and get back to you!

Sen-Sai (talkcontribs)

I will setup a new MediaWiki instance with 1.35.7 with the default Vector skin. Just in case .. what version are you using, as FlexForm only support the LTS versions of MediaWiki.

Sen-Sai (talkcontribs)

Ah nice, I could reproduce the problem. This has to do with parser caching.

If you would purge the page you have the signature on (most likely also on pages with tokens etc..) then the signature field will show. As you are basically telling MediaWiki you want it to create a new cache for the page. You can do a purge by going to the page with the Signature field and add ?action=purge to the end of the url.


Easier is to turn off parsercaching in your local settings. Then you do not have to purge a page manually.


$wgParserCacheType = CACHE_NONE;

Let me know if it worked for you!

Christharp (talkcontribs)

Hi thanks for the quick reply. The action purge didn't fix the problem. I'm working on the latest version of Mediawiki 1.38.2.

Sen-Sai (talkcontribs)

Caching would most likely be the issue. However FlexForm has been written and tested for the latest LTS release only.( 1.35x ). In November there will be a new LTS release.

On Monday I will install your version and have a quick look, perhaps it's an easy fix. Perhaps not necessary to mention, but the signature field is a JavaScript component, so JavaScript should not be disabled.

I'll get back to you on Monday!

Sen-Sai (talkcontribs)

I have installed version 1.38.2 and made a simple test :

<_form showmessages />

<_form action="get">

<_input type="signature"  fname="Signature-test" ftype="png" pagecontent="boe" guideline="true" clearbuttonclass="btn btn-primary" />

</_form>

For me this does work, see screenshot..


Are you seeing any message in your browsers inspector perhaps?

What version of FlexForm are you using?

Christharp (talkcontribs)

Okay truly bizarre behavior. When I view the page in Edge the page shows, but without the signature showing. But when I view the page through another browser it shows a fatal error. When I go to the command line & try to run update.php I get message saying I'm missing one or more components of php (even more bizarre since I've ran it before & got no such error). So, I'm thinking whatever is going on it's not your great extension. Sorry for wasting your time. All the best...& thanks again.

Sen-Sai (talkcontribs)

Well, as I mentioned earlier, FlexForm hasn't been tested for any versions above 1.35x. As the first release candidate for 1.39 is now available, we will start work in supporting that new lts version.

Egel (talkcontribs)

Hi Charlot, when can we expect a 1.39.x supporting version?

Sen-Sai (talkcontribs)

Hi! It's actually next on the list to be completed. My hopes are this month!

Sen-Sai (talkcontribs)

Been working in it. You can try the REL1_39 branch. Let me know if you still run into troubles..

Reply to "signature not showing"