Last modified: 2006-01-12 10:57:55 UTC
There are several pages on Commons that are used as templates for user specific license boxes, compare (permalink to current version): http://commons.wikimedia.org/w/index.php?title=User:Raymond_de/licence&oldid=1171429 The variables {{fullurl:{{FULLPAGENAME}}}} are used correctly there and work well while viewing images directly on Commons. But if you look at a transcluded image elsewhere, e.g. http://en.wikipedia.org/wiki/Image:Duisburg-Ruhrort_Panorama_1.jpg you'll find (below the license) a broken link at the template section "Onlinemedium". This link is in the form of http://commons.wikimedia.orghttp://commons.wikimedia.org/wiki/Image:Duisburg-Ruhrort_Panorama_1.jpg (fullurl is doubled).
What do they 'work' to do? URLs aren't template names...
Simpler test case: http://test.leuksman.com/index.php?action=render&title=4571 This is probably because the hack for URL expansion in render mode is misplaced in Title::getLocalUrl() instead of higher up where it belongs. Something is then applying a duplicate $wgServer on the front.
Fixed on HEAD; Title.php revision 1.258. Just a quick-fix hack; avoid duplicating the prefix in getFullUrl() if the test for render in getLocalUrl() passes and already prepends it.
*** Bug 4544 has been marked as a duplicate of this bug. ***