Line 352: |
Line 352: |
| | | |
| aNode.appendChild( document.createTextNode( 'Complete list' ) ); | | aNode.appendChild( document.createTextNode( 'Complete list' ) ); |
− | aNode.setAttribute( 'href' , 'http://meta.wikimedia.org/wiki/List_of_Wikipedias' ); | + | aNode.setAttribute( 'href' , 'https://meta.wikimedia.org/wiki/List_of_Wikipedias' ); |
| liNode.appendChild( aNode ); | | liNode.appendChild( aNode ); |
| liNode.className = 'interwiki-completelist'; | | liNode.className = 'interwiki-completelist'; |
Line 387: |
Line 387: |
| if (mwCustomEditButtons) { | | if (mwCustomEditButtons) { |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", |
| "speedTip": "Redirect", | | "speedTip": "Redirect", |
| "tagOpen": "#REDIRECT [[", | | "tagOpen": "#REDIRECT [[", |
Line 394: |
Line 394: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png", |
| "speedTip": "Strike", | | "speedTip": "Strike", |
| "tagOpen": "<s>", | | "tagOpen": "<s>", |
Line 401: |
Line 401: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", |
| "speedTip": "Line break", | | "speedTip": "Line break", |
| "tagOpen": "<br />", | | "tagOpen": "<br />", |
Line 408: |
Line 408: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", |
| "speedTip": "Superscript", | | "speedTip": "Superscript", |
| "tagOpen": "<sup>", | | "tagOpen": "<sup>", |
Line 415: |
Line 415: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png", |
| "speedTip": "Subscript", | | "speedTip": "Subscript", |
| "tagOpen": "<sub>", | | "tagOpen": "<sub>", |
Line 422: |
Line 422: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png", |
| "speedTip": "Small", | | "speedTip": "Small", |
| "tagOpen": "<small>", | | "tagOpen": "<small>", |
Line 429: |
Line 429: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png", |
| "speedTip": "Insert hidden Comment", | | "speedTip": "Insert hidden Comment", |
| "tagOpen": "<!-- ", | | "tagOpen": "<!-- ", |
Line 436: |
Line 436: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png", |
| "speedTip": "Insert a picture gallery", | | "speedTip": "Insert a picture gallery", |
| "tagOpen": "\n<gallery>\n", | | "tagOpen": "\n<gallery>\n", |
Line 443: |
Line 443: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", |
| "speedTip": "Insert block of quoted text", | | "speedTip": "Insert block of quoted text", |
| "tagOpen": "<blockquote>\n", | | "tagOpen": "<blockquote>\n", |
Line 450: |
Line 450: |
| | | |
| mwCustomEditButtons[mwCustomEditButtons.length] = { | | mwCustomEditButtons[mwCustomEditButtons.length] = { |
− | "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png", | + | "imageFile": "https://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png", |
| "speedTip": "Insert a table", | | "speedTip": "Insert a table", |
| "tagOpen": '{| class="wikitable"\n|-\n', | | "tagOpen": '{| class="wikitable"\n|-\n', |
Line 490: |
Line 490: |
| pgcountNs = "0"; | | pgcountNs = "0"; |
| } | | } |
− | var cnt_url = "http://pgcount.wikimedia.de/index.png?ns=" + pgcountNs + "&title=" + encodeURI(wgTitle) + "&factor=" + counter_factor +"&wiki=enwiki"; | + | var cnt_url = "https://pgcount.wikimedia.de/index.png?ns=" + pgcountNs + "&title=" + encodeURI(wgTitle) + "&factor=" + counter_factor +"&wiki=enwiki"; |
| var img = new Image(); | | var img = new Image(); |
| img.src = cnt_url; | | img.src = cnt_url; |
Line 669: |
Line 669: |
| var contentbox = document.getElementById('content'); | | var contentbox = document.getElementById('content'); |
| var newimg = document.createElement('img'); | | var newimg = document.createElement('img'); |
− | newimg.setAttribute('src','http://upload.wikimedia.org/wikipedia/commons/9/99/WikipediaTechnical.png'); | + | newimg.setAttribute('src','https://upload.wikimedia.org/wikipedia/commons/9/99/WikipediaTechnical.png'); |
| contentbox.appendChild(newimg); | | contentbox.appendChild(newimg); |
| | | |
Line 699: |
Line 699: |
| | | |
| document.write('<script type="text/javascript" src="' | | document.write('<script type="text/javascript" src="' |
− | + 'http://en.wikipedia.org/w/index.php?title=Mediawiki:Wikimediaplayer.js' | + | + 'https://en.wikipedia.org/w/index.php?title=Mediawiki:Wikimediaplayer.js' |
| + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | | + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); |
| | | |
Line 735: |
Line 735: |
| } | | } |
| selectBox.appendChild(createOption('MediaWiki search', wgScriptPath + '/index.php', 'search', 'title', 'Special:Search')); | | selectBox.appendChild(createOption('MediaWiki search', wgScriptPath + '/index.php', 'search', 'title', 'Special:Search')); |
− | selectBox.appendChild(createOption('Google', 'http://www.google.com/search', 'q', 'as_sitesearch', 'www.centiare.com')); | + | selectBox.appendChild(createOption('Google', 'https://www.google.com/search', 'q', 'as_sitesearch', 'www.centiare.com')); |
− | selectBox.appendChild(createOption('Yahoo', 'http://search.yahoo.com/search', 'p', 'vs', 'www.centiare.com.org')); | + | selectBox.appendChild(createOption('Yahoo', 'https://search.yahoo.com/search', 'p', 'vs', 'www.centiare.com.org')); |
− | selectBox.appendChild(createOption('Windows Live', 'http://search.live.com/results.aspx', 'q', 'q1', 'site:http://www.centiare.com')); | + | selectBox.appendChild(createOption('Windows Live', 'https://search.live.com/results.aspx', 'q', 'q1', 'site:https://www.centiare.com')); |
− | selectBox.appendChild(createOption('Wikiwix', 'http://www.wikiwix.com/', 'action', 'lang', 'en')); | + | selectBox.appendChild(createOption('Wikiwix', 'https://www.wikiwix.com/', 'action', 'lang', 'en')); |
| | | |
| searchForm.lsearchbox.style.marginLeft = '0px'; | | searchForm.lsearchbox.style.marginLeft = '0px'; |