Module:Article history/config: Difference between revisions

Content deleted Content added
make featured topic notices active if ftmain is present because it leads to better error messages
remove all the validStatuses tables, as they aren't based on anything in the template code and they aren't being used by the main module
Line 957:
aliases = {'fail', 'failed'}
}
},
validStatuses = {
FFAC = true,
FA = true,
FFA = true
}
},
Line 984 ⟶ 979:
aliases = {'merge'}
}
},
validStatuses = {
FA = true,
FFA = true
},
categories = function (articleHistoryObj, actionObj)
Line 1,015 ⟶ 1,006:
aliases = {'pass', 'promoted', 'nom'}
}
},
validStatuses = {
}
},
Line 1,033 ⟶ 1,022:
aliases = {'fail', 'failed', 'remove', 'removed', 'demoted'}
}
},
validStatuses = {
FA = true,
FFAC = true
},
categories = function (articleHistoryObj, actionObj)
Line 1,063 ⟶ 1,048:
aliases = {'fail', 'failed'}
}
},
validStatuses = {
FFLC = true,
FL = true,
FFL = true
}
},
Line 1,089 ⟶ 1,069:
aliases = {'merge'}
}
},
validStatuses = {
FL = true,
FFL = true
},
categories = function (articleHistoryObj, actionObj)
Line 1,126 ⟶ 1,102:
aliases = {'fail', 'failed'}
}
},
validStatuses = false, -- Any status
},
FTR = {
Line 1,148 ⟶ 1,123:
aliases = {'merge'}
}
},
validStatuses = false, -- Any status
},
FPOC = {
Line 1,165 ⟶ 1,139:
aliases = {'fail', 'failed'}
}
},
validStatuses = {
FFPOC = true,
FPO = true,
FFPO = true
}
},
Line 1,191 ⟶ 1,160:
aliases = {'merge'}
}
},
validStatuses = {
FPO = true,
FFPO = true
}
},
Line 1,212 ⟶ 1,177:
aliases = {'fail', 'failed', 'not promoted'}
}
},
validStatuses = {
FGAN = true,
GA = true,
DGA = true,
FFAC = true,
FA = true,
FFA = true
},
categories = function (articleHistoryObj, actionObj)
Line 1,260 ⟶ 1,217:
text = 'Not listed'
}
},
validStatuses = {
GA = true,
DGA = true,
FFAC = true,
FA = true,
FFA = true
},
categories = function (articleHistoryObj, actionObj)
Line 1,297 ⟶ 1,247:
aliases = {'fail', 'failed'}
}
},
validStatuses = false
},
GTR = {
Line 1,319 ⟶ 1,268:
aliases = {'merge'}
}
},
validStatuses = false
},
PR = {
Line 1,336 ⟶ 1,284:
}
},
validStatuses = false,
categories = {'Old requests for peer review'}
},
Line 1,397 ⟶ 1,344:
aliases = {'_BLANK'}
}
},
validStatuses = false
},
WAR = {
Line 1,428 ⟶ 1,374:
text = 'Demoted',
aliases = {'demote'}
},
},
validStatuses = false
},
AFD = {
Line 1,475 ⟶ 1,420:
aliases = {'rename', 'move', 'moved'}
}
},
validStatuses = false
},
MFD = {
Line 1,521 ⟶ 1,465:
aliases = {'rename', 'move', 'moved'}
}
},
validStatuses = false
},
TFD = {
Line 1,565 ⟶ 1,508:
aliases = {'rename', 'move', 'moved'}
}
},
validStatuses = false
},
CSD = {
Line 1,611 ⟶ 1,553:
aliases = {'rename', 'move', 'moved'}
}
},
validStatuses = false
},
PROD = {
Line 1,657 ⟶ 1,598:
aliases = {'rename', 'move', 'moved'}
}
},
validStatuses = false
},
DRV = {
Line 1,683 ⟶ 1,623:
text = 'No consensus'
}
},
validStatuses = false
}
},