Last modified: 2007-03-02 17:59:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11059, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9059 - Allow link like [[target page|[[Image:Imagename|options...]]]], as expected
Allow link like [[target page|[[Image:Imagename|options...]]]], as expected
Status: RESOLVED DUPLICATE of bug 539
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-22 02:53 UTC by Aryeh Gregor (not reading bugmail, please e-mail directly)
Modified: 2007-03-02 17:59 UTC (History)
0 users

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


Attachments

Description Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-22 02:53:16 UTC
Okay, now that we've finally caved to the users' image-linking desires, could we
use a more obvious syntax for the simple case of one image = one link?  This can
be optional, if we think anyone objects to using images to link to pages, but
there's no sense in forcing people to use some convoluted but powerful imagemap
syntax to get a perfectly obvious effect.  And it should probably be in core
code, for simplicity if nothing else (the something else being that this is
probably among the top ten requests in #mediawiki).

For simplicity, it might be best to allow only inline images to be linked, at
least at first, because that way we can just let the <a> wrap the image.  Stuff
stuck in divs should be dealt with too at some point, but that will be more
tricky because you need to stick the <a> in the middle around the <img> proper
(and what should happen in the case of captions is perhaps not immediately
obvious, although I suppose it should just link the image and nothing else).
Comment 1 Jamie Hari 2007-03-02 15:36:39 UTC
I was JUST about to log this request... 
Same syntax and everything. :)

How would one handle it currently, as a workaround?
Comment 2 Rob Church 2007-03-02 17:59:33 UTC
(In reply to comment #1)
> How would one handle it currently, as a workaround?

Using the ImageMap extension.

*** This bug has been marked as a duplicate of 539 ***

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


Navigation
Links