Модуль:FetchData: відмінності між версіями

78 байтів вилучено ,  12 травня 2024
нема опису редагування
Немає опису редагування
Немає опису редагування
 
Рядок 22: Рядок 22:
     end
     end


    -- Purge the cache for the page to ensure fresh content
     local title = mw.title.new(season_title)
     local title = mw.title.makeTitle(0, season_title)
     local content = title and title:getContent()
    title:purge()
 
     local content = title:getContent()


     if not content then
     if not content then