https://bugzilla.wikimedia.org/show_bug.cgi?id=34044
Web browser: ---
Bug #: 34044
Summary: URLs with semantic property of type URL comes out with
http:////...
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Tested with MediaWiki 1.18.0, Semantic MediaWiki 1.7.0.1.
* Steps to Reproduce:
Create
- a property "Website" of type "URL"
- a template "URLtest" that contains a field called "URL", that outputs the
field in two different ways:
1. {{{URL}}}
2. [[Website::{{{URL|}}}]]
Use the template in a page, like this:
{{URLtest|URL=http://example.com/}}
* Actual Results:
1. Outputs the URL as expected
2. Outputs it as <a href="http:////example.com/">http://example.com/</a>
In the factbox at the bottom of the page it is output as <a
href="http:////example.com/">http:////example.com/</a>
Live example: http://bibliotekhistorie.no/index.php/Norsk_Bibliotekforening
Expected Results:
Both 1. and 2. should output http://example.com/ and the link in the factbox
should also be correct.
* Additional Information:
If I change the property of "Website" from "URL" to "Text", there are no extra
slashes in the URL.
Firefox will try to gloss over this problem - when you hover over a link it
will not show the extra slashes and links will work, but if you view source or
use the "insepect element" function of Firebug you can still see it. Internet
Explorer is less "kind" and there the links with extra slashes will not work.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l