Module:Citation/CS1/Identifiers: Difference between revisions

    imported>Ahmsaqib
    m (1 revision imported)
    imported>Roza
    m (see https://en.wikipedia.org/wiki/Help_talk:Citation_Style_1#Errors_from_imported_CS1_templates_into_third_party_wikis_which_don't_have_wikibase)
    Line 44: Line 44:
    end
    end
    if is_set (options.q) then
    if is_set (options.q) and mw.wikibase then
    wd_article = mw.wikibase.getEntity (options.q):getSitelink (this_wiki_code .. 'wiki'); -- fetch article title from wd
    wd_article = mw.wikibase.getEntity (options.q):getSitelink (this_wiki_code .. 'wiki'); -- fetch article title from wd
    if wd_article then
    if wd_article then