Module:DependencyList: Difference between revisions

osrsw>TehKittyCat
Sync with rsw
osrsw>CephHunter
Line 599: Line 599:
if not ok then
if not ok then
return userError(lists);
return userError(lists);
end
if mw.title.getCurrentTitle().subpageText ~= 'doc' and (#lists.requireList > 0 or #lists.loadDataList > 0 or #lists.loadJsonDataList > 0) then
bucket( 'dependency_list' ).put{
require = lists.requireList,
load_data = lists.loadDataList .. lists.loadJsonDataList
}
end
end