Modulo:DTBase: differenze tra le versioni
Da Wikitrek.
mNessun oggetto della modifica |
Wikimedia Commons description added |
||
| (Una versione intermedia di uno stesso utente non è mostrata) | |||
| Riga 132: | Riga 132: | ||
demb = 'Memory Beta (tedesco)', | demb = 'Memory Beta (tedesco)', | ||
fanlore = 'Fanlore', | fanlore = 'Fanlore', | ||
trekipedia = 'Trekipedia' | trekipedia = 'Trekipedia', | ||
commonswiki = 'Wikimedia Commons' | |||
} | } | ||
| Riga 213: | Riga 214: | ||
URL = mw.wikibase.getEntity(Property).claims[ExtIDP][1].mainsnak.datavalue.value | URL = mw.wikibase.getEntity(Property).claims[ExtIDP][1].mainsnak.datavalue.value | ||
if string.find(Value, "[%%%+%-%*%?]") ~= nil and string.find( | if string.find(Value, "[%%%+%-%*%?]") ~= nil and string.find(Value, " ") ~= nil then | ||
FullLink = string.gsub(URL, '$1', mw.uri.encode(Value, "QUERY"):gsub("%%", "%%%%")) | FullLink = string.gsub(URL, '$1', mw.uri.encode(Value, "QUERY"):gsub("%%", "%%%%")) | ||
else | else | ||