MediaWiki:Minerva.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "$( function(){ if( mw.config.get('wgPageName').split( '/' ).length > 1 ){ var tempPageName = mw.config.get('wgPageName').split( '/' )[0]; var tempLink ='< <a href="https://wiki.ekatrafoundation.org/wiki/' + tempPageName + '">' + tempPageName.replaceAll("_", " ") + '</a>'; $(".page-heading").after( $( '<p>').css( 'font-size', '17px').html( tempLink ) ); } })") Tags: Mobile edit Mobile web edit |
(No difference)
|
Revision as of 17:38, 12 October 2023
$( function(){
if( mw.config.get('wgPageName').split( '/' ).length > 1 ){
var tempPageName = mw.config.get('wgPageName').split( '/' )[0];
var tempLink ='< <a href="https://wiki.ekatrafoundation.org/wiki/' + tempPageName + '">' + tempPageName.replaceAll("_", " ") + '</a>';
$(".page-heading").after( $( '<p>').css( 'font-size', '17px').html( tempLink ) );
}
})