Last modified: 2009-03-02 10:59:52 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 T17277, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15277 - Eventline: each pop-up's title has a garbled link to the date heading
Eventline: each pop-up's title has a garbled link to the date heading
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
http://wiki.laptop.org/go/Deployment_...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-23 00:25 UTC by S Page
Modified: 2009-03-02 10:59 UTC (History)
0 users

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


Attachments

Description S Page 2008-08-23 00:25:28 UTC
The awesome query format=eventline and timeline show page properties in a pop-up window.  This pop-up has the page title above a horizontal rule.  But if you use format=eventline, the page title is a garbled link to {SERVERNAME}/{Heading_title_of_date_property}.  You can see the problem on the URL above: click one of the dots, then in the pop-up click the title.

You can also reproduce the problem if you edit http://semanticweb.org/wiki/Events and change format=timeline to format=eventline.  It must be something to do with determining the title URL for the item.

# With format=eventline, the title in the pop-up is <a href="start"> (the heading title given to the date property, not set up as a wiki link).
# With format=timeline, the title in the pop-up is <a href="/wiki/TRIPLE-I_2008">
Comment 1 Markus Krötzsch 2008-09-04 07:25:34 UTC
I cannot reproduce. The XO-Wiki URL fails to load JavaScript (another bug?). The semantic-web.org page does not show this error. I have created as testpage on the sandbox to investigate: http://sandbox.semantic-mediawiki.org/wiki/Testing_eventline

However, the eventline there works as expected on my browser. If this is a JavaScript issue, then we possibly should specify our browsers too. I tried Firefox 2.0.0.8. On Konqueror 3.5.9, the eventline fails to display on the sandbox, but works on semanticweb.org. Maybe some server configuration issue.

Setting bug to "worksforme" until it can be reproduced somewhere.
Comment 2 S Page 2008-09-04 09:22:18 UTC
I'm running Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080903034741 Minefield/3.1b1pre ID:20080903034741

Your sandbox test page shows the same bug.  I click on the dot on the eventline for HICSS2006 and the title in the pop-up is a hyperlink to "start".  If I click-and-drag to select the pop-up's title then choose View Selection Source from the context menu, the HTML contains:

  <div class="timeline-event-bubble-title"><a href="start">HICSS2006 </a></div>

I tried in Firefox 2.0.0.7 and in spiffy new Google Chrome and saw exactly the same problem and the same HTML in View > Source and Chrome's inspector.

I tried in MSIE7 and just got a blank window; MSIE's useless error window reported "Line: 52 Char: 9 Error: 'null' is null or not an object."

I don't see how I could have messed up three different browsers, so I'm reopening.  I hope it's not just me.
Comment 3 Markus Krötzsch 2008-09-08 17:01:17 UTC
I think I misunderstood your report. I thought the link was somehow garbled with wrong symbols etc. The fact that it links to the property can surely be explained from the code. I assume that this can be modified (but there should also be some indication that this is the bullet for "start" while the other is the bullet for "end" and so on.

Feel free to create a patch if you find the time.
Comment 4 S Page 2008-09-08 22:47:34 UTC
Yes the link is garbled, it's a 404.  In your sandbox test page, the heading title in the pop-up is "HICSS2006", and the href in its hyperlink is "/start".  This is not a valid wiki URL, and there is no such property, the actual property is Property:Start_date.

Indeed, if (time) then {patch} :-)

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


Navigation
Links