Difference between revisions 39131 and 39132 on nowikibooks// <nowiki>⏎ function mainPageRenameNamespaceTab() { try { var Node = document.getElementById( 'ca-nstab-main' ).firstChild; if ( Node.textContent ) { // Per DOM Level 3 Node.textContent = 'Hovedside'; } else if ( Node.innerText ) { // IE doesn't handle .textContent Node.innerText = 'Hovedside'; } else { // Fallback Node.replaceChild( Node.firstChild, document.createTextNode( 'Hovedside' ) ); } } catch(e) { // bailing out! } } if ( mw.config.get('wgTitle') == 'Hovedside' && ( mw.config.get('wgNamespaceNumber') == 0 || mw.config.get('wgNamespaceNumber') == 1 ) ) { jQuery(document).ready( mainPageRenameNamespaceTab ); } function speedyTab() { if ( mw.config.get('wgUserGroups') && !window.disableSysopJS ) { for ( var g = 0; g < mw.config.get('wgUserGroups').length; ++g ) { if ( mw.config.get('wgUserGroups')[g] == "sysop" ) { importScript( "MediaWiki:HurtigSlett.js" ); break; } } } } jQuery(document).ready$( speedyTab ); /** Modify standard toolbar options ******************************************* * * Description: UNDOCUMENTED * Maintainers: [[:w:no:Bruker:Stigmj]] */ if (mw.config.get('wgAction') == 'edit' || mw.config.get('wgAction') == 'submit') jQuery(document).ready(function(){ if (mwEditButtons.length < 10) return // signature-button mwEditButtons[9].tagOpen = '~~~~' }) </nowiki> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://no.wikibooks.org/w/index.php?diff=prev&oldid=39132.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|