Изменения
Перейти к навигации
Перейти к поиску
← Предыдущая правка
Следующая правка →
Модуль:Citation/CS1/Identifiers
(посмотреть исходный код)
Версия от 18:13, 24 декабря 2023
1 байт убрано
,
1 год назад
м
1 версия импортирована
Строка 563:
Строка 563:
if 4 < inactive:len() then -- inactive date has more than just a year (could be anything)
if 4 < inactive:len() then -- inactive date has more than just a year (could be anything)
local lang_obj = mw.getContentLanguage(); -- get a language object for this wiki
local lang_obj = mw.getContentLanguage(); -- get a language object for this wiki
−
good, inactive_month = pcall (lang_obj.formatDate, lang_obj, '
xg
', inactive); -- try to get the month name from the inactive date
+
good, inactive_month = pcall (lang_obj.formatDate, lang_obj, '
F
', inactive); -- try to get the month name from the inactive date
if not good then
if not good then
inactive_month = nil; -- something went wrong so make sure this is unset
inactive_month = nil; -- something went wrong so make sure this is unset
Александр Машин
Бюрократы
, steward,
Администраторы
1712
правок
Реклама:
Навигация
Персональные инструменты
русский
Вы не представились системе
Обсуждение
Вклад
Создать учётную запись
Войти
Пространства имён
Модуль
Комментарии
Варианты
Просмотры
Читать
Посмотреть код
История
Ещё
Поиск
Навигация
Заглавная страница
Форум
Текущие события
Свежие правки
Случайный документ
Статистика
Справка
Порталы
Новости
Инструменты
Служебные страницы
Версия для печати