Module:EditAtWikidata/sandbox: Difference between revisions

Content deleted Content added
tweaks; Module talk:EditAtWikidata/testcases shows no problems after this but the next edit will have noprint so the testcases will fail
fix omitted word
 
(One intermediate revision by the same user not shown)
Line 1:
-- Module to display an icon with a tooltip such as "Edit this at Wikidata".
-- Icon is linked to the Wikidata entry for the article where this is placed.
-- This message is only displayed if a local_parameter is not supplied
-- i.e. when called from a template, it can be coded not to display the message.
Line 35:
return
space ..
"[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px" ..
" |alt=" .. i18n.message ..
" |link=https://www.wikidata.org/wiki/" .. qid ..
(anchor and ("#" .. anchor) or "") ..
--"|class=noprint" ..
"|" .. i18n.message ..
"]]"