Notice: file_put_contents(): Write of 56327 bytes failed with errno=28 No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36

Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20
Commons:Categories/redirect bookmarklets - Wikimedia Commons Jump to content

Commons:Categories/redirect bookmarklets

From Wikimedia Commons, the free media repository

These bookmarklets create redirects to the category namespace.

Redirect to the same category

[edit]

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 category

[edit]

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 category

[edit]

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

javascript: