Jump to content

Main Page: Difference between revisions

From the Vrienden Universe, a fictional wiki
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-v5";
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:


/*
/*
* One request obtains category members, lead extracts,
* Follow API continuation so every page in Category:People
* page images and page URLs.
* can appear in the slideshow.
*/
*/
return api.get({
return loadPeoplePages(
action: "query",
api,
generator: "categorymembers",
{
gcmtitle: "Category:People",
action: "query",
gcmnamespace: 0,
generator: "categorymembers",
gcmtype: "page",
gcmtitle: "Category:People",
gcmlimit: "max",
gcmnamespace: 0,
prop: "extracts|pageimages|info",
gcmtype: "page",
exintro: 1,
gcmlimit: "max",
explaintext: 1,
prop: "extracts|pageimages|info",
exchars: 700,
exintro: 1,
piprop: "thumbnail|original",
explaintext: 1,
pithumbsize: 1000,
exchars: 700,
inprop: "url",
piprop: "thumbnail|original",
redirects: 1,
pithumbsize: 1000,
formatversion: 2
inprop: "url",
});
redirects: 1,
formatversion: 2
},
[]
);
},
},
function () {
function () {

Revision as of 13:33, 19 June 2026


Vrienden Universe logo
Vrienden Universe
The history of De Vrienden and the wider world recorded around them.

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.

Explore
Featured and browse
Featured page

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
People
Toonio Noord

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 page
1 / 1
How to use this wiki

Choose 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.

Community

Information about contributing is available on the community page.

Details

Information about the scope of the site is available in the disclaimer.

Content notice
This wiki contains material intended for mature audiences. Some pages contain disturbing subject matter. Reader discretion is advised.