Difference between revisions 9096 and 9097 on newikibooks/** * Test if an element has a certain class * * @deprecated: Use $(element).hasClass() instead. */ mw.log.deprecate( window, 'hasClass', function ( element, className ) { return $( element ).hasClass( className ); }, 'Use jQuery.hasClass() instead' ); (contracted; show full)} if ( mw.config.get('wgCanonicalSpecialPageName') == "Search") { var searchEngines = { mediawiki: { ShortName: " आअन्तरिकक शोध खोज", Template: mw.config.get('wgScript') + "?search={searchTerms}" }, exalead: { ShortName: "इक्सालीड", Template: "http://www.exalead.com/wikipedia/results?q={searchTerms}&language=hi" }, google: { ShortName: "गूुगल", Template: "http://www.google.co.in/search?as_sitesearch=hi.wikipedia.org&hl={language}&q={searchTerms}" }, wikiwix: { ShortName: "विकीविक्स", Template: "http://hi.wikiwix.com/index.php?action={searchTerms}&lang={language}" }, wlive: { ShortName: "बिंगङ", Template: "http://www.bing.com/search?q={searchTerms}&q1=site:http://hi.wikipedia.org" }, yahoo: { ShortName: "याहूहु!", Template: "http://search.yahoo.com/search?p={searchTerms}&vs=hi.wikipedia.org" }, globalwpsearch: { ShortName: "इअन्तर विकीवरि", Template: "http://vs.aka-online.de/cgi-bin/globalwpsearch.pl?timeout=120&search={searchTerms}" } }; jQuery( document ).ready( function( $ ) { externalSearchEngines(); } ); } (contracted; show full) } NavFrame.setAttribute( 'id', 'NavFrame' + indexNavigationBar ); } } } mw.hook( 'wikipage.content' ).add( createNavigationBarToggleButton ); /*</pre></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://ne.wikibooks.org/w/index.php?diff=prev&oldid=9097.
![]() ![]() 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.
|