Hi,
I had this working on my old hosting provider, but now this isn't working on my new hosting provider. It's probably related to another default value in DefaultSettings.php changing in the new environment and requiring me to explicitly set something in LocalSettings.php. I tried googling for this, but didn't come up with anything obvious.
Here is the link on wikipedia: https://en.wikipedia.org/wiki/File:DEC-VT420-0a.jpg
This page contains an image gallery that uses the following markup. http://terminals-wiki.org/wiki/index.php/DEC_VT420
<gallery> File:DEC_VT420.png File:DEC-VT420-0a.jpg File:DEC VT420 221320484947-1.jpg File:DEC VT420 221320484947-2.jpg File:DEC VT420 221320484947-3.jpg File:DEC VT420 221320484947-4.jpg File:DEC VT420 221320484947-5.jpg File:DEC VT420 141354243612-1.jpg File:DEC VT420 141354243612-2.jpg File:DEC VT420 141354243612-3.jpg File:DEC VT420 141354243612-4.jpg </gallery>
The 2nd line is the file on wikipedia. I had this working before, but I can't remember what I did to set it up. I do have an interwiki link setup for the wikipedia: prefix, but that wasn't needed when I set this up before. I've only been using that for linking to pages explicitly on WP.
Any ideas?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Richard,
On 05.10.2016 07:48, Richard wrote:
Hi,
I had this working on my old hosting provider, but now this isn't working on my new hosting provider. It's probably related to another default value in DefaultSettings.php changing in the new environment and requiring me to explicitly set something in LocalSettings.php. I tried googling for this, but didn't come up with anything obvious.
Here is the link on wikipedia: https://en.wikipedia.org/wiki/File:DEC-VT420-0a.jpg
This page contains an image gallery that uses the following markup. http://terminals-wiki.org/wiki/index.php/DEC_VT420
<gallery> File:DEC_VT420.png File:DEC-VT420-0a.jpg File:DEC VT420 221320484947-1.jpg File:DEC VT420 221320484947-2.jpg File:DEC VT420 221320484947-3.jpg File:DEC VT420 221320484947-4.jpg File:DEC VT420 221320484947-5.jpg File:DEC VT420 141354243612-1.jpg File:DEC VT420 141354243612-2.jpg File:DEC VT420 141354243612-3.jpg File:DEC VT420 141354243612-4.jpg </gallery>
The 2nd line is the file on wikipedia. I had this working before, but
I
can't remember what I did to set it up. I do have an interwiki link setup for the wikipedia: prefix, but that wasn't needed when I set this up before. I've only been using that for linking to pages explicitly on WP.
You do not need an interwiki link for that. Interwiki links are for stuff so that links like [[en:w:foobar|foobar]] do work.
Any ideas?
What you have in mind is InstantCommons.
https://www.mediawiki.org/wiki/InstantCommons#Configuration
Is that flag be set in your LocalSettings.config?
See also next section about HTTPS! Maybe you do need to install php-curl
Regards,
Dennis Roczek
In article 7e1c2b66-3131-8105-a285-641eafc16f36@libreoffice.org, Dennis Roczek dennisroczek@libreoffice.org writes:
On 05.10.2016 07:48, Richard wrote:
Any ideas?
What you have in mind is InstantCommons.
OK, yes I have $wgUseInstantCommons = true in my LocalSettings.php
See also next section about HTTPS! Maybe you do need to install php-curl
That might be the culprit. I will check with my hosting provider. Thanks!
On Wed, Oct 5, 2016 at 8:05 PM, Richard legalize@xmission.com wrote:
In article 7e1c2b66-3131-8105-a285-641eafc16f36@libreoffice.org, Dennis Roczek dennisroczek@libreoffice.org writes:
On 05.10.2016 07:48, Richard wrote:
Any ideas?
What you have in mind is InstantCommons.
OK, yes I have $wgUseInstantCommons = true in my LocalSettings.php
See also next section about HTTPS! Maybe you do need to install php-curl
That might be the culprit. I will check with my hosting provider. Thanks!
You're using MediaWiki 1.17, which is kind of old. I would recommend you upgrade. Failing that: * You need to tell instant commons to use HTTPS instead of HTTP. I believe that version of MediaWiki would only use https if your site was on https, so you probably need to manually set up the foreign repo via $wgForeignFileRepos using https instead of using the default $wgUseInstantCommons. (Git change 8517b3cb2276) * Its recommended you install php5-curl. If you don't there's a bunch of patches you'd have to backport to make https work properly. (See bcc31a9a0fa7 and bb2adc2394 in git)
-- Brian
In article CA+oo+DWS83JtZjzqGzrXNOy=8Yk46AtsphP_4=qzFqLyVduYJA@mail.gmail.com, Brian Wolff bawolff@gmail.com writes:
You're using MediaWiki 1.17, which is kind of old. I would recommend you upgrade.
Yep, that was one of the factors instigating my change of hosting providers in the first place. As it stands, I think this instant commons problem is the only one I'm seeing on the wiki right now, so perhaps I'll attempt an upgrade after a full backup.
- You need to tell instant commons to use HTTPS instead of HTTP. I
believe that version of MediaWiki would only use https if your site was on https, so you probably need to manually set up the foreign repo via $wgForeignFileRepos using https instead of using the default $wgUseInstantCommons. (Git change 8517b3cb2276)
I tried accessing my site with https but the image still didn't show up.
- Its recommended you install php5-curl. If you don't there's a bunch
of patches you'd have to backport to make https work properly. (See bcc31a9a0fa7 and bb2adc2394 in git)
I verified that the target machine has php5-curl installed.
Ah, I think the SSL comment pointed me in the right direction. Right now my host doesn't have an SSL certificate that matches my host name. That's probably failing the SSL transfer.
That shouldnt matter for instant commons, because its acting as an ssl client not server in that case.
Newer versions of mediawiki have more detailed logging of instant commons that you can enable which can tell you what is wrong. Could also be things like firewall on the server, etc.
-- bawolff
On Wednesday, October 5, 2016, Richard legalize@xmission.com wrote:
Ah, I think the SSL comment pointed me in the right direction. Right now my host doesn't have an SSL certificate that matches my host name. That's probably failing the SSL transfer. -- "The Direct3D Graphics Pipeline" free book <
http://tinyurl.com/d3d-pipeline%3E
The Terminals Wiki <http://terminals-wiki.org> The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
Legalize Adulthood! (my blog) http://LegalizeAdulthood.wordpress.com
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
In article CA+oo+DWS83JtZjzqGzrXNOy=8Yk46AtsphP_4=qzFqLyVduYJA@mail.gmail.com, Brian Wolff bawolff@gmail.com writes:
- You need to tell instant commons to use HTTPS instead of HTTP. I
believe that version of MediaWiki would only use https if your site was on https, so you probably need to manually set up the foreign repo via $wgForeignFileRepos using https instead of using the default $wgUseInstantCommons. (Git change 8517b3cb2276)
$wgUseInstantCommons in the LocalSettings implies that it will use HTTP and not HTTPS. This is probably a side-effect of MW 1.17 and being so far behind.
Setting up $wgForeignFileRepos according to this page fixed it. https://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos#Using_files_from_Wikimedia_Commons_:_ForeignAPIRepo
Thanks again guys! Your help has been very much appreciated in fixing up my little issues.
Now I can start researching how to upgraded to the latest version :)
Hi Richard,
I guess this is what happened to you: [0]. Upgrading should do a world of good to you anyway, not just in this respect.
Cheers Karsten
[0] https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-October/000183...
Am 07.10.2016 um 00:35 schrieb Richard:
In article CA+oo+DWS83JtZjzqGzrXNOy=8Yk46AtsphP_4=qzFqLyVduYJA@mail.gmail.com, Brian Wolff bawolff@gmail.com writes:
- You need to tell instant commons to use HTTPS instead of HTTP. I
believe that version of MediaWiki would only use https if your site was on https, so you probably need to manually set up the foreign repo via $wgForeignFileRepos using https instead of using the default $wgUseInstantCommons. (Git change 8517b3cb2276)
$wgUseInstantCommons in the LocalSettings implies that it will use HTTP and not HTTPS. This is probably a side-effect of MW 1.17 and being so far behind.
Setting up $wgForeignFileRepos according to this page fixed it. https://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos#Using_files_from_Wikimedia_Commons_:_ForeignAPIRepo
Thanks again guys! Your help has been very much appreciated in fixing up my little issues.
Now I can start researching how to upgraded to the latest version :)
In article cbbccbc4-44e3-b989-f581-bc570d6181f3@kghoffmeyer.de, kghbln mediawiki@kghoffmeyer.de writes:
I guess this is what happened to you: [0]. Upgrading should do a world of good to you anyway, not just in this respect.
Yes, upgrading was always part of the plan, but first was to restore service as it was on the old hosting platform.
So many things are easier now that I have access to server logs and a shell.
That file is on English Wikipedia, not on Commons, so won't be picked up by the default "InstantCommons" setup. You'll need to configure $wgForeignFileRepos manually to include a suitable entry for en.wikipedia.org similar to the Commons one:
https://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos#Using_files_from_W...
If you already have such a configuration make sure it is correct and using https, not http.
-- brion
On Tuesday, October 4, 2016, Richard legalize@xmission.com wrote:
Hi,
I had this working on my old hosting provider, but now this isn't working on my new hosting provider. It's probably related to another default value in DefaultSettings.php changing in the new environment and requiring me to explicitly set something in LocalSettings.php. I tried googling for this, but didn't come up with anything obvious.
Here is the link on wikipedia: https://en.wikipedia.org/wiki/File:DEC-VT420-0a.jpg
This page contains an image gallery that uses the following markup. http://terminals-wiki.org/wiki/index.php/DEC_VT420
<gallery> File:DEC_VT420.png File:DEC-VT420-0a.jpg File:DEC VT420 221320484947-1.jpg File:DEC VT420 221320484947-2.jpg File:DEC VT420 221320484947-3.jpg File:DEC VT420 221320484947-4.jpg File:DEC VT420 221320484947-5.jpg File:DEC VT420 141354243612-1.jpg File:DEC VT420 141354243612-2.jpg File:DEC VT420 141354243612-3.jpg File:DEC VT420 141354243612-4.jpg </gallery>
The 2nd line is the file on wikipedia. I had this working before, but I can't remember what I did to set it up. I do have an interwiki link setup for the wikipedia: prefix, but that wasn't needed when I set this up before. I've only been using that for linking to pages explicitly on WP.
Any ideas?
"The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d- pipeline The Terminals Wiki http://terminals-wiki.org The Computer Graphics Museum http://ComputerGraphicsMuseum.org Legalize Adulthood! (my blog) http://LegalizeAdulthood.wordpress.com
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Agh never mind it is on Commons. Check the other bits and the logs. ;)
-- brion
On Thursday, October 6, 2016, Brion Vibber bvibber@wikimedia.org wrote:
That file is on English Wikipedia, not on Commons, so won't be picked up by the default "InstantCommons" setup. You'll need to configure $wgForeignFileRepos manually to include a suitable entry for en.wikipedia.org similar to the Commons one:
https://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos#Using_ files_from_Wikimedia_Commons_:_ForeignAPIRepo
If you already have such a configuration make sure it is correct and using https, not http.
-- brion
On Tuesday, October 4, 2016, Richard <legalize@xmission.com javascript:_e(%7B%7D,'cvml','legalize@xmission.com');> wrote:
Hi,
I had this working on my old hosting provider, but now this isn't working on my new hosting provider. It's probably related to another default value in DefaultSettings.php changing in the new environment and requiring me to explicitly set something in LocalSettings.php. I tried googling for this, but didn't come up with anything obvious.
Here is the link on wikipedia: https://en.wikipedia.org/wiki/File:DEC-VT420-0a.jpg
This page contains an image gallery that uses the following markup. http://terminals-wiki.org/wiki/index.php/DEC_VT420
<gallery> File:DEC_VT420.png File:DEC-VT420-0a.jpg File:DEC VT420 221320484947-1.jpg File:DEC VT420 221320484947-2.jpg File:DEC VT420 221320484947-3.jpg File:DEC VT420 221320484947-4.jpg File:DEC VT420 221320484947-5.jpg File:DEC VT420 141354243612-1.jpg File:DEC VT420 141354243612-2.jpg File:DEC VT420 141354243612-3.jpg File:DEC VT420 141354243612-4.jpg </gallery>
The 2nd line is the file on wikipedia. I had this working before, but I can't remember what I did to set it up. I do have an interwiki link setup for the wikipedia: prefix, but that wasn't needed when I set this up before. I've only been using that for linking to pages explicitly on WP.
Any ideas?
"The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeli ne The Terminals Wiki http://terminals-wiki.org The Computer Graphics Museum http://ComputerGraphicsMuseum.org Legalize Adulthood! (my blog) http://LegalizeAdulthood.wordpress.com
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
In article CA+30r1QORLxuvmYxThAcwbh4EtJ37f7OC8VM-F_1yvbSTzmRqQ@mail.gmail.com, Brion Vibber bvibber@wikimedia.org writes:
Agh never mind it is on Commons. Check the other bits and the logs. ;)
All I see in the log is this:
mod_fcgid: stderr: PHP Notice: curl_setopt_array(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /var/www/vhosts/computergraphicsmuseum.org/httpdocs/terminals/wiki/ includes/HttpFunctions.php on line 883
...which seems to show up when I browse one of the pages that contains a File: link to one of the files in mediawiki commons and doesn't show up otherwise.
mediawiki-l@lists.wikimedia.org