[MediaWiki-l] Why do I get deprecated functions?

Katharina Wolkwitz wolkwitz at fh-swf.de
Mon Nov 3 14:50:33 UTC 2014

Hi again,

I've just started the whole update-process again with the 1.23.6-tarball-file
again, and got a totally different-result...

It seems that when I did this

wiki-t00:/opt/lampp/htdocs/# tar xvfz mediawiki-1.23.6.tar.gz -C
/opt/lampp/htdocs/_fhbwiki/ --strip-components=1

with the 1.23.5.tar.gz-file I somehow managed __not__ to overwrite
1.16.2-update.php-file, because that was what got called up when I did the
upgrade... :-(

So I ended up with version 1.16.2 - which I just noticed when I looked up which
PHP and MySQL versions I was running. I feel quite embarrased because I managed
to work on clearing up error for days on end not noticing that the original
update hadn't worked in the first place. :-(

Well - now I'm faced with getting the skins to run in the newer version, but
that's (more or less) understandable migration stuff...


Am 03.11.2014 um 14:44 schrieb John:
> Have you upgraded your PHP to 1.23 requirements?
> On Mon, Nov 3, 2014 at 8:40 AM, Katharina Wolkwitz <wolkwitz at fh-swf.de>
> wrote:
>> Hi everybody,
>> here's something I don't understand.
>> I've just updated my mediawiki-installation to the current version 1.23.5 -
>> which I thought was up to date, and now I'm running up against one
>> error-message
>> after the other with deprecated functions like this one:
>> Deprecated: preg_replace(): The /e modifier is deprecated, use
>> preg_replace_callback instead in
>> /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
>> And also this:
>> Strict Standards: Non-static method Mail::factory() should not be called
>> statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line
>> 154
>> or this:
>> Strict Standards: Non-static method PEAR::isError() should not be called
>> statically, assuming $this from incompatible context in
>> /opt/lampp/lib/php/Net/SMTP.php on line 450
>> Now, I'd understand if these would happen in modules where I had made any
>> kind
>> of adaptation, but I pretty sure I never touched any of these files. So why
>> aren't they just updated to the correct and working version???
>> Or did I do something wrong while updating? Is there a way to check?
>> Kate
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Mit freundlichen Grüßen

Katharina Wolkwitz

Fachhochschule Südwestfalen
Haldener Straße 182
58095 Hagen
Tel.: 02331/9330-607
FAX:  02331/9330-608

More information about the MediaWiki-l mailing list