User:Erik/vector.js

importScript("User:GregU/randomlink.js");

$( function { // WhatLinksHere is probably a better way to find all articles in a WikiProject  bblist = "Special:WhatLinksHere/Template:WikiProject_Film?namespace=1&hidelinks=1&limit=250";  mw.util.addPortletLink('p-navigation', 'javascript:randomlink_paged=1;randomlink_maxfrom=24000000;randomLink(bblist)', 'Film article', 'n-randombb', 'Random article in WikiProject Film'); });