Hi,
I installed MW 1.23.15 on my laptop (running on a XAMPP).
I have # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = true; in LocalSettings.php. Content of my template is: [[Kép:Tick-green.png|20px]]<noinclude>[[Kategória:Sablonok]]</noinclude> where Kép is a legitimate alias for File in Hungarian
I get a red 20px text and a tracking category for bad file instead of the image from Commons.
The redlink goes to: http://localhost/w/index.php?title=Speci%C3%A1lis:Felt%C3%B6lt%C3%A9s&wp... (Special:Upload for those who can't fluently read urlencoded Hungarian)
Thanks sfor the help.
Hi, as this is your local wiki and not a high one, could you see if Mediawiki 1.27 (lts) works for you please? Reason why I ask since I belive it might be because mediawiki 1.23 is using http and mediawiki 1.27 is using https to connect to that wiki.
But 1.23.15 is also an LTS version. Does it mean a reduced funcionality? In am not sure 1.27 was already announced as LTS in time of installing, but anyhow, it requires newer PHP version than my XAMPP has, so I should upgrade PHP first, which hopingly won't cause problem in other programs, but this is not a few minutes decision...
2016-10-19 11:30 GMT+02:00 Paladox thomasmulhall410@yahoo.com:
Hi, as this is your local wiki and not a high one, could you see if Mediawiki 1.27 (lts) works for you please? Reason why I ask since I belive it might be because mediawiki 1.23 is using http and mediawiki 1.27 is using https to connect to that wiki. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Wed, 2016-10-19 at 09:30 +0000, Paladox wrote:
Reason why I ask since I belive it might be because mediawiki 1.23 is using http and mediawiki 1.27 is using https to connect to that wiki.
No; since 1.23.10 MW includes a fix for InstantCommons vs HTTPS: https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-October/000183...
Hence recommending to upgrade to 1.27 wouldn't be based on a reason.
andre
Try using foreign file repo instead of instant commons see if that fixes your issue.
On Wed, Oct 19, 2016 at 11:22 AM, Andre Klapper aklapper@wikimedia.org wrote:
On Wed, 2016-10-19 at 09:30 +0000, Paladox wrote:
Reason why I ask since I belive it might be because mediawiki 1.23 is using http and mediawiki 1.27 is using https to connect to that wiki.
No; since 1.23.10 MW includes a fix for InstantCommons vs HTTPS: https://lists.wikimedia.org/pipermail/mediawiki-announce/ 2015-October/000183.html
Hence recommending to upgrade to 1.27 wouldn't be based on a reason.
andre
Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Wed, Oct 19, 2016 at 1:38 AM, Bináris wikiposta@gmail.com wrote:
I installed MW 1.23.15 on my laptop (running on a XAMPP).
I have # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = true; in LocalSettings.php. Content of my template is: [[Kép:Tick-green.png|20px]]<noinclude>[[Kategória:Sablonok]]</noinclude> where Kép is a legitimate alias for File in Hungarian
I get a red 20px text and a tracking category for bad file instead of the image from Commons.
The redlink goes to: http://localhost/w/index.php?title=Speci%C3%A1lis:Felt%C3% B6lt%C3%A9s&wpDestFile=Tick-green.png (Special:Upload for those who can't fluently read urlencoded Hungarian)
Check the 'http' log channel (see https://www.mediawiki.org/wiki/Manual:How_to_debug#Creating_custom_log_group... ).
Commons was switched to HTTPS a year ago, if the problem started then, it is probably some sort of certificate verification error (especially if you don't have php_curl installed, PHP pre 5.6 has lots of issues with that).
If that does not help, you could enable XDebug and check what happens inside ForeignAPIRepo::fetchImageQuery and File::getDescriptionText.
wikitech-l@lists.wikimedia.org