Last modified: 2014-10-19 22:52:13 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 T53598, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51598 - colon in linked article title misinterpreted as prefix
colon in linked article title misinterpreted as prefix
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
EasyTimeline (Other open bugs)
unspecified
PC Windows XP
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 06:38 UTC by Huon
Modified: 2014-10-19 22:52 UTC (History)
1 user (show)

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


Attachments

Description Huon 2013-07-18 06:38:14 UTC
As reported by DeeBoFour20 at http://en.wikipedia.org/w/index.php?title=Wikipedia%3AHelp_desk&diff=564750403&oldid=564748007 you cannot link to the en-Wikipedia article [[DmC: Devil May Cry]] within a timeline; apparently the "DmC:" is interpreted as some sort of prefix and breaks the link. Linking to that article with exactly the same code outside the timeline environment works, so it's likely an extension issue. [[:DmC: Devil May Cry]] links to the article. See http://en.wikipedia.org/w/index.php?title=Devil_May_Cry&oldid=563543799 for a live example. I haven't tested any other pseudo-prefixes beyond [[Devil May Cry 3: Dante's Awakening]] which is rendered correctly.
Comment 1 Jens K Andersen 2013-07-18 11:42:21 UTC
Looking at the source and some experiments, it appears EasyTimeline assumes 2 or 3 characters followed by a colon is always an interwiki link.
It doesn't actually have to do anything for interwiki links.
MediaWiki handles it so for example:
http://en.wikipedia.org/wiki/de:Berlin redirects to
http://de.wikipedia.org/wiki/Berlin
while
http://en.wikipedia.org/wiki/DmC:_Devil_May_Cry
is an English article since dmc is not an interwiki prefix.

Huon's fix [[:DmC: Devil May Cry]] only worked because it has 4 instead of 3 characters before a colon, and not because it starts with a colon.
http://en.wikipedia.org/wiki/OT:_Our_Town is an English article but [[OT: Our Town]] and [[:OT: Our Town]] would both fail in EasyTimeline. [[OT%3A Our Town]] would work, but would need a piped link to avoid an ugly display.

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


Navigation
Links