Last modified: 2008-06-12 09:56:29 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 13244 - #section fragment on page property gone from hyperlink
#section fragment on page property gone from hyperlink
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
http://ontoworld.org/wiki/SMW_unit_te...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-04 10:56 UTC by S Page
Modified: 2008-06-12 09:56 UTC (History)
0 users

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


Attachments

Description S Page 2008-03-04 10:56:21 UTC
Wiki links can have a page section on the end, e.g. [[Main_Page#Topics]].

MediaWiki displays the #section_name in the page text and it is part of the HTML hyperlink so that when you click it your browser takes you to the named subsection anchor:
  <a href="/wiki/Main_Page#Topics" title="Main Page">Main_Page#Topics</a>

If you turn such a link to a semantic annotation by prepending with a property name, e.g. [[Test relation::Main_Page#Topics]], then SMW displays the #section_name, but it's gone from the HTML hyperlink:
  <a href="/wiki/Main_Page" title="Main Page">Main_Page#Topics</a>

So just by adding an annotation, the wiki link changes HTML and thus behavior.  It's really odd to see the fragment on the end of the page name but not to have it in the hyperlink.


Note that neither a MediaWiki link nor an SMW page property stores the #section_name fragment.  Some users have asked that SMW support semantic relations between page sections, but that's a separate enhancement.  This bug only asks for consistent wiki page HTML after adding annotation.
Comment 1 Markus Krötzsch 2008-06-12 09:56:29 UTC
Fragments are now preserved for display on the page. They have no semantic relevance -- the Factbox still shows the plain link to clarify that.

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


Navigation
Links