User talk:Phaedriel/monobook.js

// addOnloadHook(filmlink);

function filmlink { if (document.title.indexOf("Editing") == 0) {       addPortletLink('p-cactions', 'javascript:film', 'film', 'ca-film', 'Categorize', 'f'); } }

function film {   var txtbox = document.editform.wpTextbox1; var country = prompt("Which country?"); var summary = "Categorize film by country"; txtbox.value=txtbox.value+""; document.editform.wpSummary.value = summary; document.editform.submit; } //