Enhanced Random Article (source) is a script that adds a link above the "Random Article" link called "Enhanced Random Article". This script provides similar fun
Enhanced Random Article (source) is a script that adds a link above the "Random Article" link called "Enhanced Random Article". This script provides similar functionality to the built-in "Random Article" link, but there are three extra options, documented below.
To install this script, go to your custom JavaScript file, and add the following script to the bottom of it:
importScript('User:Gary/enhanced random article.js'); // [[User:Gary/enhanced random article.js]]
enhancedRandomArticle = {
patterns: [],
showDisambiguationPages: false,
showStubs: false
};
To change the default settings, copy the code above to your custom JavaScript file and change the values after the colons. The settings are explained in greater detail below. After changing the settings, bypass your browser's cache or wait a while to see your changes take effect.
'List' which would match article titles that contain "List"; or an array, such as ['a', 'e', 'i', 'o', 'u'] which would require that an article's title contain a vowel.true (to allow disambiguation pages) or false (to disallow disambiguation pages).true (to allow stubs) or false (to disallow stubs).Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.