User:Kiteretsu/undelete-backlink.js: Difference between revisions
Jump to navigation
Jump to search
+ |
m Tsukushi moved page User:Infinityboy7/undelete-backlink.js to User:Kiteretsu/undelete-backlink.js without leaving a redirect: Uncontroversial move: User renamed. |
(No difference)
|
Latest revision as of 02:24, 30 August 2024
$( function () {
if( mw.config.get( "wgPageName" ) === "Special:Undelete" &&
window.location.search.indexOf( "timestamp=" ) >= 0 ) {
mw.loader.using( [ "mediawiki.util" ], function () {
$( "#bodyContent" ).prepend( $( "<div>" )
.attr( "id", "contentSub2" )
.append( "< ", $( "<a>" )
.attr( "href", mw.util.getUrl( "Special:Undelete", { target: mw.config.get( "wgRelevantPageName" ) } ) )
.text( "All deleted revisions" ) ) );
} );
}
} );