Commons:Categories/redirect bookmarklets

These bookmarklets create redirects to the category namespace.

Redirect to the same categoryEdit

Creates a redirect to the category with the same name as the current page

javascript:with(document.forms[0]){void(nt=wgTitle);void(wpSummary.value+='[[:Category:'+nt+'|redir]]');void(wpTextbox1.value='#REDIRECT%20[[:Category:'+nt+']]');void(wpSave.click())}

Redirect to which categoryEdit

Prompts for the category name, prefilled with the name of the current page

javascript:with(document.forms[0]){void(nt=prompt('Name%20',wgTitle));void(wpSummary.value+='[[:Category:'+nt+'|redir]]');void(wpTextbox1.value='#REDIRECT%20[[:Category:'+nt+']]');void(wpSave.click())}

Redirect to this categoryEdit

Prompts for the name of a page that should redirect to the current category

javascript:
Last modified on 16 May 2011, at 07:18