On 05/07/05, Gerrit Holl <gerrit(a)nl.linux.org> wrote:
Alfio Puglisi wrote:
Kate's code probably takes commons' page
HTML code
instead of the wikicode (otherwise templates wouldn't work), so it's not
easy to change this.
What if {{GFDL}} is tranported from commons to a local language site,
and expanded there? So on nl:, we would get [[nl:Template:GFDL]], on de
[[de:Template:GFDL]], etc. Would probably require software tweaks as
well...
I think the fundamental reason why this doesn't already happen is that
it requires a kind of "semi-raw" format for the included text:
currently, the text is rendered as HTML on commons, and then included;
if it wasn't, *all* the links would refer to local pages, and you'd
get spurious categories, links to non-existent or irrelevant pages,
etc.
The ideal solution would be to have licence templates expanded
locally, but everything else expanded on commons. Or rather, the
*ideal* solution would be to store licence information as
language-independent metadata, descriptions in multiple languages, and
use something like the "content negotiation" in HTTP to determine what
to include or display... :)
--
Rowan Collins BSc
[IMSoP]