Main Page: Difference between revisions
Fix people slider to include all people category pages |
Load all people pages in main page slider |
||
| Line 1,269: | Line 1,269: | ||
var fallbackImage = "/wiki/Special:Redirect/file/Vu-logo.png"; | var fallbackImage = "/wiki/Special:Redirect/file/Vu-logo.png"; | ||
var cacheKey = "vu-main-people-slides- | var cacheKey = "vu-main-people-slides-v6"; | ||
var cacheLifetime = 6 * 60 * 60 * 1000; | var cacheLifetime = 6 * 60 * 60 * 1000; | ||
var slideInterval = 9000; | var slideInterval = 9000; | ||
| Line 1,539: | Line 1,539: | ||
} | } | ||
}); | }); | ||
function copyParams(params) { | |||
var copied = {}; | |||
Object.keys(params).forEach(function (key) { | |||
copied[key] = params[key]; | |||
}); | |||
return copied; | |||
} | |||
function loadPeoplePages(api, params, collectedPages) { | |||
return api.get(params).then(function (data) { | |||
var nextPages = | |||
data && | |||
data.query && | |||
Array.isArray(data.query.pages) | |||
? data.query.pages | |||
: []; | |||
var allPages = collectedPages.concat(nextPages); | |||
if (data && data.continue) { | |||
var nextParams = copyParams(params); | |||
Object.keys(data.continue).forEach(function (key) { | |||
nextParams[key] = data.continue[key]; | |||
}); | |||
return loadPeoplePages(api, nextParams, allPages); | |||
} | |||
return { | |||
query: { | |||
pages: allPages | |||
} | |||
}; | |||
}); | |||
} | |||
var cachedPeople = readCache(); | var cachedPeople = readCache(); | ||
| Line 1,557: | Line 1,595: | ||
/* | /* | ||
* | * Follow API continuation so every page in Category:People | ||
* | * can appear in the slideshow. | ||
*/ | */ | ||
return api | return loadPeoplePages( | ||
api, | |||
{ | |||
action: "query", | |||
generator: "categorymembers", | |||
gcmtitle: "Category:People", | |||
gcmnamespace: 0, | |||
gcmtype: "page", | |||
gcmlimit: "max", | |||
prop: "extracts|pageimages|info", | |||
exintro: 1, | |||
explaintext: 1, | |||
exchars: 700, | |||
piprop: "thumbnail|original", | |||
pithumbsize: 1000, | |||
inprop: "url", | |||
redirects: 1, | |||
formatversion: 2 | |||
}, | |||
[] | |||
); | |||
}, | }, | ||
function () { | function () { | ||
Revision as of 13:33, 19 June 2026
About the wiki
The Vrienden Universe began in 2019 as De Lijers De Vrienden, a project about De Vrienden. The project expanded as related pages were added and became a single encyclopedia covering the wider history around its original subject.
The wiki now contains hundreds of connected pages developed over several years. Information established on one page is carried into related articles, allowing readers to follow the same history throughout the site.
Reichsministerium für Bergbau und Rohstoffe
The Reichsministerium für Bergbau und Rohstoffe was a central ministry of the Government of the Tanoa Einsatzgruppen. It administered mining and the state supply of raw materials.
The ministry supported the command economy of Tanoa and supplied the regime's industrial system.
Open page
Browse
Toonio Noord
Toonio Noord, born 4 April 1969, is a Dutch registration official and former security guard from Vriendendam. He works for the Stichting Noord Registratiebureau and is a member of the Noord family.
Open pageChoose a starting point
Most articles link directly to the subjects needed to continue through the history. Readers can begin with De Vrienden or select a broader section above.
The principal family pages provide the main route from De Vrienden into family history. Index pages provide access to the rest of the site.
Principal families
Community
Information about contributing is available on the community page.
Details
Information about the scope of the site is available in the disclaimer.