MediaWiki:Common.js: Difference between revisions
From Openresearch
Jump to navigation
Jump to search
|
|
| (7 intermediate revisions by one other user not shown) |
| Line 7: |
Line 7: |
| | | |
| $( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' ); | | $( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' ); |
|
| |
| <!-- Piwik -->
| |
| <script type="text/javascript">
| |
| var _paq = _paq || [];
| |
| _paq.push(['trackPageView']);
| |
| _paq.push(['enableLinkTracking']);
| |
| (function() {
| |
| var u="//openresearch.org/analysis/";
| |
| _paq.push(['setTrackerUrl', u+'piwik.php']);
| |
| _paq.push(['setSiteId', 1]);
| |
| var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
| |
| g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
| |
| })();
| |
| </script>
| |
| <noscript><p><img src="//openresearch.org/analysis/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
| |
| <!-- End Piwik Code -->
| |
|
| |
| <!-- twitter position -->
| |
| html, body {
| |
| height: 100%;
| |
| overflow:auto;
| |
| }
| |
| body #fixbox {
| |
| position:fixed !important;
| |
| position: absolute; /*ie6 */
| |
| bottom: 0;
| |
| }
| |
| <!-- end twitter setting -->
| |
|
| |
| <!-- get twitter feeds -->
| |
| form = document.getElementById("mw-content-text")
| |
| <!-- end get twitter feeds -->
| |
Latest revision as of 17:19, 3 February 2018
/* Any JavaScript here will be loaded for all users on every page load. */
/**
* Additional linked icon for the searchlabel of result format "feed"
* @author mwjames
*/
$( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' );