The links are not hardcoded in the script but stored in the license  
templates in the licensetpl_link hook.

Example of the fix for GFDL:
http://commons.wikimedia.org/?diff=47141947&oldid=45291781

Op 17 dec 2010, om 22:52 heeft Dereckson het volgende geschreven:

> Hi,
>
> There is an issue with reuse content: when you click on the Use this
> file on the web icon to get the attribution HTML code with links to
> the licenses (there is a checkbox to enable/disable such links), links
> doesn't include protocol, and so are relative links.
>
> e.g. generated code:
> By Ranofuchs (Own work) [<a
> href="www.gnu.org/copyleft/fdl.html">GFDL</a> or <a
> href="www.creativecommons.org/licenses/by-sa/3.0">CC-BY- 
> SA-3.0-2.5-2.0-1.0</a>],
> <a href='http://commons.wikimedia.org/wiki/File:Dusche_Bunker_17-5005.jpg' 
> >via
> Wikimedia Commons</a>
>
> From http://www.domain.tld/alpha.html, the GFDL link will so link to
> http://www.domain.tld/www.gnu.org/copyleft/fdl.html.
>
> Where the links are stored?
> If it's on messages on MediaWiki: namespace? --> which ones?
> If it's on external code, could you point me the relevants files on
> the SVN, so I can submit a patch on bugzilla?
>
> --
> Best Regards,
> Sébastien Santoro aka Dereckson
> http://commons.wikimedia.org/wiki/User:Dereckson
>
> _______________________________________________
> Commons-l mailing list
> Commons-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/commons-l


_______________________________________________
Commons-l mailing list
Commons-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/commons-l

Reply via email to