Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

External Image displays only link with $wgAllowExternalImages = true;

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


mikelisanke at gmail

Nov 19, 2009, 7:17 PM

Post #1 of 6 (1222 views)
Permalink
External Image displays only link with $wgAllowExternalImages = true;

I've enabled external images with the above statement in my
LocalSettings.php, and try many syntax (from help text googled from web and
mediawiki documentation). It appears nothing I've done has enabled external
images or link to them. Only the working link to an image is displayed on my
wiki page. I'm aware of notes that image links which do not explicitly look
(to mediawiki's parser) like an image will be treated as a link.

Is there any step missing from the magic incantations needed to get external
images? Thanks for any help.

--
Best regards,

Mike
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


overlordq at gmail

Nov 19, 2009, 7:31 PM

Post #2 of 6 (1171 views)
Permalink
Re: External Image displays only link with $wgAllowExternalImages = true; [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mike Lisanke wrote:
> I've enabled external images with the above statement in my
> LocalSettings.php, and try many syntax (from help text googled from web and
> mediawiki documentation). It appears nothing I've done has enabled external
> images or link to them. Only the working link to an image is displayed on my
> wiki page. I'm aware of notes that image links which do not explicitly look
> (to mediawiki's parser) like an image will be treated as a link.
>
> Is there any step missing from the magic incantations needed to get external
> images? Thanks for any help.
>

You link external images with the full url to the image, you dont use
the image syntax.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREIAAYFAksGDasACgkQ69PBoSWyJd4MIQCfUd8HaUkSQJS2mg/Fnff7ML8j
mXQAn0a0SORc2LaIcysgb/vSrwxRw8mL
=TueR
-----END PGP SIGNATURE-----

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


mikelisanke at gmail

Nov 19, 2009, 10:19 PM

Post #3 of 6 (1176 views)
Permalink
External Image displays only link with $wgAllowExternalImages = true; [In reply to]

Q,

I've tried many forms for the external image reference including just
including the URL without other formatting as you and the wiki documentation
indicate. All I see is the hypertext link on the page. I've triple checked
the $wgAllowExternalImages = true;, and that the LocalSettings.php was
actually being reparsed (I also changed the sitename). I also restarted the
postgres db and apache servers (I didn't know what level of restart this
configuration change required). Also, I've tried several different types of
imported image from several different locations.

I appreciate your suggestion. Any other things I haven't considered?
Thanks.

--
Best regards,

Mike
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


nevinhoalarcao at gmail

Nov 19, 2009, 11:04 PM

Post #4 of 6 (1168 views)
Permalink
Re: External Image displays only link with $wgAllowExternalImages = true; [In reply to]

see
http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos#Using_files_from_Wikimedia_Commons_:_ForeignAPIRepo

att, Nevio

2009/11/20 Mike Lisanke <mikelisanke [at] gmail>

> Q,
>
> I've tried many forms for the external image reference including just
> including the URL without other formatting as you and the wiki
> documentation
> indicate. All I see is the hypertext link on the page. I've triple checked
> the $wgAllowExternalImages = true;, and that the LocalSettings.php was
> actually being reparsed (I also changed the sitename). I also restarted the
> postgres db and apache servers (I didn't know what level of restart this
> configuration change required). Also, I've tried several different types of
> imported image from several different locations.
>
> I appreciate your suggestion. Any other things I haven't considered?
> Thanks.
>
> --
> Best regards,
>
> Mike
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



--
{+}Nevinho
Venha para o Movimento Colaborativo http://sextapoetica.com.br !!
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Nov 20, 2009, 3:08 PM

Post #5 of 6 (1156 views)
Permalink
Re: External Image displays only link with $wgAllowExternalImages = true; [In reply to]

Mike Lisanke wrote:
> Q,
>
> I've tried many forms for the external image reference including just
> including the URL without other formatting as you and the wiki documentation
> indicate. All I see is the hypertext link on the page. I've triple checked
> the $wgAllowExternalImages = true;, and that the LocalSettings.php was
> actually being reparsed (I also changed the sitename). I also restarted the
> postgres db and apache servers (I didn't know what level of restart this
> configuration change required). Also, I've tried several different types of
> imported image from several different locations.
>
> I appreciate your suggestion. Any other things I haven't considered?
> Thanks.
>

You place in a page:
http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png

What do you get?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


mikelisanke at gmail

Nov 20, 2009, 5:26 PM

Post #6 of 6 (1153 views)
Permalink
Re: External Image displays only link with $wgAllowExternalImages = true; [In reply to]

Platonides,

Your response was helpful because it worked. I was using a wikipedia
image which had a 'File:' reference in the URL. The direct link was
available from the description page and was a URL of the form you
response indicated. This brought me to the next problem, controlling
the size of the image, which can't be done with just the external
image URL.

Nevio,

Your response was the next step. I activated the $wgForeignFileRepos[]
to wikimedia commons and was able to use a [[File:<file.xxx>|<xx>px]]
to bring in the image in the correct size.

Q,

You also had the right answer, but; it was more difficult to see as I
had been using URL to images (which worked in my browser). With the
'File:' embedded, it must mess with MediaWiki's parser.

Thanks everyone for your help.

On Nov 20, 6:08 pm, Platonides <Platoni...@gmail.com> wrote:
> Mike Lisanke wrote:
> > Q,
>
> > I've tried many forms for the external image reference including just
> > including the URL without other formatting as you and the wiki documentation
> > indicate. All I see is the hypertext link on the page. I've triple checked
> > the $wgAllowExternalImages = true;, and that the LocalSettings.php was
> > actually being reparsed (I also changed the sitename). I also restarted the
> > postgres db and apache servers (I didn't know what level of restart this
> > configuration change required). Also, I've tried several different types of
> > imported image from several different locations.
>
> > I appreciate your suggestion. Any other things I haven't considered?
> > Thanks.
>
> You place in a page:http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png
>
> What do you get?
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWik...@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.