মডিউল:RawImage: সংশোধিত সংস্করণের মধ্যে পার্থক্য

বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
Hesperian (আলোচনা | অবদান)
categorisation
Hesperian (আলোচনা | অবদান)
:
২১ নং লাইন:
 
function RawImage.rawimage(frame)
inpage = mw.title.getCurrentTitle():inNamespace("Page")
 
pagename = frame.args["pagename"]
৪৫ ⟶ ৪৭ নং লাইন:
if slash == nil then
-- there is no slash, this page corresponds to a single-page image
if mw.title.getCurrentTitle().inNamespace("Page")inpage then
category = 'Pages with raw images'
else
৬০ ⟶ ৬২ নং লাইন:
if mw.title.new(hiRes).exists then
-- hi-res version exists, let's link to it
if mw.title.getCurrentTitle().inNamespace("Page")inpage then
category = 'Pages with raw images (hi-res scan available)'
else
৬৯ ⟶ ৭১ নং লাইন:
else
-- hi-res version doesn't exists, let's link to source page
if mw.title.getCurrentTitle().inNamespace("Page")inpage then
category = 'Pages with raw images'
else