Last modified: 2011-03-13 18:05:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1445 - Proposal for new image option "nolink"
Proposal for new image option "nolink"
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
PC Linux
: Lowest enhancement (vote)
: ---
Assigned To: H. J. Hill
: patch
Depends on:
  Show dependency treegraph
Reported: 2005-02-01 16:39 UTC by H. J. Hill
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Proposed implementation for "nolink" image option (2.50 KB, patch)
2005-02-01 17:23 UTC, H. J. Hill

Description H. J. Hill 2005-02-01 16:39:15 UTC
Currently, every image used gets a link to its image page. You can't override
this link with another link, so you can't (for example) use an image as a button.

The simplest possible solution would be to add a new image option "nolink" which
suppresses the link; you could then embed the image in another link. For the
wiki I'm setting up, this is an absolute necessity, so I will probably develop
that in the next few days and post a patch here.
Comment 1 H. J. Hill 2005-02-01 17:23:21 UTC
Created attachment 242 [details]
Proposed implementation for "nolink" image option

This patch introduces the "nolink" image option as proposed; however, the
"nolink" option is ignored if "thumb" or "framed" is specified. But this
shouldn't matter as I can't imagine any use of "nolink" together with "thumb"
or "framed" that makes sense.
Comment 2 Richard J. Holton 2005-02-01 21:33:02 UTC
Under this scheme, how will someone get to the image page? There may be
licensing issues if there is not an obvious link to the copyright information.
Comment 3 Brion Vibber 2005-02-01 23:14:03 UTC
MediaWiki is not intended to create arbitarily-formatted HTML web pages. Images are 
linked to their info pages so that editors may work with them, copyright and history 
information can be displayed, etc.

Note You need to log in before you can comment on or make changes to this bug.