News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_jonesypeter

MediaWiki Images

Started by jonesypeter, 21:21, 20 March 15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jonesypeter

Hi,


This is slightly off subject, but I'm learning MediaWiki and looking at adding images to pages.


All the documentation on the MediaWiki site seems to use the File: command, but I notice CPCWiki is using Image: 


Can anyone explain the difference and where this is documented?


Many thanks

TFM

As I understood 'Image:' will display the picture whereas 'File:' will provide a link to a file.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

jonesypeter

Many thanks for the reply, but I don't think that is the case.


Reading the documentation


http://www.inmotionhosting.com/support/edu/mediawiki/adding-content-mediawiki/insert-images-wiki

TFM

Well, there you got the answer.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

jonesypeter

Sorry, I don't understand.

Bryce

I think it originally worked as TFM describes, but File now also displays the image if it is the correct format.

Bryce.

TFM

Well, oh, I'm glad if I make it to edit text. Else I take other pages as example.  :laugh:
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

AMSDOS

I'm curious to know which page has an image on it and is using File to Display it.


The pages I've looked at use image for Displaying the images, though perhaps a Test Page just to see if that Site is in error, otherwise maybe the Image option gives the user a better list of Options for Managing the Image like Size, Presentation perhaps?
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Morn

Image: is the old MediaWiki namespace for images. File: is the new namespace for images and other uploads, used on Wikipedia and Wikimedia Commons too.

So basically you should use File: for brevity now. Image: is probably just an internal redirect to the File namespace in MediaWiki.

Use "File:" to include an image and ":File:" to link to an image/media description page.

For direct downloads (e.g. for linking to DSK images), use "Media:" instead.


AMSDOS

Quote from: Morn on 14:08, 21 March 15
Image: is the old MediaWiki namespace for images. File: is the new namespace for images and other uploads, used on Wikipedia and Wikimedia Commons too.

So basically you should use File: for brevity now. Image: is probably just an internal redirect to the File namespace in MediaWiki.

Use "File:" to include an image and ":File:" to link to an image/media description page.

For direct downloads (e.g. for linking to DSK images), use "Media:" instead.


Well that's confusing.  ???
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Morn

Quote from: AMSDOS on 22:24, 21 March 15

Well that's confusing.  ???
Basically all uploads go into the File namespace. So it makes sense to use "File:" to link to images. "Images:" isn't wrong, it just refers to a namespace that no longer exists in current versions of MediaWiki.

See Help:Namespaces - MediaWiki for an explanation of MediaWiki namespaces.

Gryzor

Morn really said it all; I don't think it's that confusing... "File:" has evolved over time, simply enough.

AMSDOS

Quote from: Gryzor on 17:29, 22 March 15
Morn really said it all; I don't think it's that confusing... "File:" has evolved over time, simply enough.


I just meant it could become confusing if terms of what dealing with. Like Image clearly states you want to display an image & File is such a Broad term it could mean anything really, I'd almost forgotten what you use for Video's, I think it's media. But I guess if those other terms were scrapped and you just used File for everything that would become easier, but would involve an awful lot of rewriting of the Wiki.  :D
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Morn

Quote from: AMSDOS on 22:04, 22 March 15
I just meant it could become confusing if terms of what dealing with. Like Image clearly states you want to display an image & File is such a Broad term it could mean anything really, I'd almost forgotten what you use for Video's, I think it's media.

For YouTube videos you can also use the YT template. e.g. {{YT|hYHPRbcfCWs}}

Quote from: AMSDOS on 22:04, 22 March 15
But I guess if those other terms were scrapped and you just used File for everything that would become easier, but would involve an awful lot of rewriting of the Wiki.  :D
As long as Wikipedia has articles that still use "Image:", MediaWiki will have to support it. So far nobody at WP seems to have bothered to bot-edit Image: out of existence. Therefore the CPCWiki legacy syntax can stay too. :)

AMSDOS

Quote from: Morn on 23:04, 22 March 15
As long as Wikipedia has articles that still use "Image:", MediaWiki will have to support it. So far nobody at WP seems to have bothered to bot-edit Image: out of existence. Therefore the CPCWiki legacy syntax can stay too. :)


Fingers Crossed.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Gryzor

We'll cross the bridge when we come to it :D

Powered by SMFPacks Menu Editor Mod