User:Erutuon/scripts/addAutoCat.js/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for User:Erutuon/scripts/addAutoCat.js. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Creates links immediately below the header that you can click to add {{autocat}} to empty category pages. Modified from User:Dixtosa/fillAutoCat.js.

To use this script, place this in your Special:MyPage/common.js:

importScript("User:Erutuon/scripts/addAutoCat.js") // Linkback: [[User:Erutuon/scripts/addAutoCat.js]]

By default, doesn't add an edit summary. To use the edit summary that links back to the function, place this in your common.js:

window.autoCatEditSummary = true;