Module:Citation/CS1: Difference between revisions

registration required
m>Dragons flight
(sync to sandbox, changes in support of additional modes and minro bug fixes)
m>Gadget850
(registration required)
Line 848: Line 848:
      
      
     local PublisherName = A['PublisherName'];
     local PublisherName = A['PublisherName'];
    local RegistrationRequired = A['RegistrationRequired'];
     local SubscriptionRequired = A['SubscriptionRequired'];
     local SubscriptionRequired = A['SubscriptionRequired'];
     local Via = A['Via'];
     local Via = A['Via'];
Line 1,302: Line 1,303:
     if is_set(Via) then
     if is_set(Via) then
         Via = " " .. wrap( 'via', Via );
         Via = " " .. wrap( 'via', Via );
        SubscriptionRequired = sepc .. " " .. cfg.messages['subscription']; --citation always requires subscription if 'via' parameter is used
--      SubscriptionRequired = sepc .. " " .. cfg.messages['subscription'];   --citation always requires subscription if 'via' parameter is used
                                                                              -- This line removed because of editors desire to use via for citations that do not require subscriptions
     elseif is_set(SubscriptionRequired) then
     elseif is_set(SubscriptionRequired) then
         SubscriptionRequired = sepc .. " " .. cfg.messages['subscription_no_via']; --here when 'via' parameter not used but 'subscription' is
         SubscriptionRequired = sepc .. " " .. cfg.messages['subscription_no_via']; --here when 'via' parameter not used but 'subscription' is
    elseif is_set(RegistrationRequired) then
        SubscriptionRequired = sepc .. " " .. cfg.messages['registration']; --here when 'via' and 'subscription' parameters not used but 'registration' is
     end
     end


Anonymous user