Hi.

When I upgrade from 5.3, the page is flooded with problems relating to:

includes/MagicWord.php

http://www.gossamer-threads.com/lists/wiki/mediawiki/504636

The fix is to update the wiki.

Do you have a current backup?

Best
Troels

2015-10-20 15:28 GMT+02:00 Troels Emtekær Linnet <tlin...@nmr-relax.com>:

> This shows it should be possible to change:
>
> https://www.mediawiki.org/wiki/Compatibility
>
> 2015-10-20 15:26 GMT+02:00 Troels Emtekær Linnet <tlin...@nmr-relax.com>:
>
>> Hi Edward.
>>
>> I will try to change the PHP version, to see what happens.
>>
>> Best
>> Troels
>>
>> 2015-10-20 15:07 GMT+02:00 Edward d'Auvergne <edw...@nmr-relax.com>:
>>
>>> On 20 October 2015 at 13:00, Troels Emtekær Linnet
>>> <tlin...@nmr-relax.com> wrote:
>>> > Hi Edward.
>>> >
>>> > In:
>>> > https://www.mediawiki.org/wiki/Manual:Collapsible_elements#NavFrame
>>> >
>>> > It says with red text, that MediaWiki version: ≤ 1.18
>>> >
>>> > ??
>>>
>>> Hi,
>>>
>>> Thanks for the quick response!  The support should be there, but some
>>> bug is breaking the JavaScript on
>>> http://wiki.nmr-relax.com/MediaWiki:Common.js .  The "mw-collapsible"
>>> is fully functional, but the class="NavFrame" elements are more
>>> advanced relying on this custom JavaScript to turn the <div> box into
>>> a collapsible element, based on the MediaWiki "mw-collapsible"
>>> concept.
>>>
>>>
>>> > 2015-10-20 12:45 GMT+02:00 Troels Emtekær Linnet <
>>> tlin...@nmr-relax.com>:
>>> >>
>>> >> Hi Edward.
>>> >>
>>> >> I have tried:
>>> >> http://wiki.nmr-relax.com/Javascript_testing
>>> >>
>>> >> For me this looks fine?
>>> >>
>>> >> For the NavFrame test, I see both an expanded and collapsed box.
>>> >>
>>> >> Is the error, that you don't see " the [hide] and [show] links to the
>>> >> right of the titles" ?
>>> >>
>>> >> This must be what you are missing:
>>> >> I also don't see the possibility to expand or hide.
>>>
>>> This is the problem.  The standard MediaWiki NavFrame JavaScript that
>>> I added to http://wiki.nmr-relax.com/MediaWiki:Common.js is somehow
>>> broken.  This js code should turn the <div class="NavFrame"/> element
>>> into a collapsible element, which appears to be working using an old
>>> version of the NavFrame JavaScript, but it is having a problem adding
>>> the "[ show ]" and "[ hide ]" text into the <div> box to allow the
>>> <div> box to open and close.
>>>
>>>
>>> >> From:
>>> >> http://wiki.nmr-relax.com/Special:Version
>>> >>
>>> >> I see:
>>> >> MediaWiki 1.21.1
>>> >> PHP 5.3.29 (cgi-fcgi)
>>> >> MySQL 5.6.25-1~dotdeb+7.1
>>> >>
>>> >> Latest version of Mediawiki is:
>>> >> 1.25.3, and 1.21.1 is from 2013-05-25.
>>> >> https://www.mediawiki.org/wiki/News
>>> >>
>>> >> On the server is: PHP 5.3 enabled.
>>> >> I can change to: 5.4, 5.5, 5.6, 7.0 (RC).
>>> >>
>>> >> And there is options to change for PHP.
>>> >> allow_url_fopen: On
>>> >> allow_url_include: On
>>> >> always_populate_raw_post_data: 0
>>> >> apc.rfc1867: On
>>> >> asp_tags: On
>>> >> date.timezone
>>> >> default_mimetype: text/html
>>> >> display_errors: On
>>> >> engine: On
>>> >> expose_php: On
>>> >> file_uploads: On
>>> >> html_errors: On
>>> >> magic_quotes_gpc: Off
>>> >> max_execution_time: 30
>>> >> max_file_uploads: 20
>>> >> max_input_time: 60
>>> >> max_input_vars: 1000
>>> >> mbstring.func_overload: 0
>>> >> mbstring.internal_encoding:
>>> >> memory_limit: 128 MB
>>> >> mysql.allow_persistent: On
>>> >> mysql.default_host:
>>> >> mysql.default_port: 3306
>>> >> mysql.default_user:
>>> >> mysql.trace_mode: Off
>>> >> output_buffering: Off
>>> >> post_max_size: 32 Mb
>>> >> realpath_cache_size: 16
>>> >> realpath_cache_ttl: 120
>>> >> register_globals: Off
>>> >> safe_mode: Off
>>> >> session.auto_start: Off
>>> >> session.bug_compat_42: Off
>>> >> session.bug_compat_warn: Off
>>> >> session.cookie_domain:
>>> >> session.cookie_lifetime: 0
>>> >> session.cookie_path: /
>>> >> session.gc_maxlifetime: 3600
>>> >>
>>> >> and some 20 more.
>>> >>
>>> >>
>>> >> Does any of this help you?
>>>
>>> Unfortunately not.   The info at http://wiki.nmr-relax.com/phpinfo.php
>>> also doesn't help.  That's why I have a feeling that this is maybe a
>>> bug within MediaWiki itself, specifically to do with JavaScript.
>>> Though I cannot be sure.  In any case, the result should be that "[
>>> show ]" and "[ hide ]" links are present, so that these two templates
>>> match 100%, as the code is identical:
>>>
>>>     http://wiki.nmr-relax.com/Template:Collapsible_script
>>>     http://wiki.flightgear.org/Template:Collapsible_script
>>>
>>> I'll continue with the testing.  Though temporarily removing all
>>> installed extensions from LocalSettings.php does not fix the problem,
>>> so it won't be an extension problem.  It is rather perplexing!
>>>
>>> Cheers,
>>>
>>> Edward
>>>
>>
>>
>
_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to