User:Patrickneil/vector.js
//importScript('User:Lightmouse/monobook.js/script.js');
//importScript('User:Proteins/checkALTtext.js');
// [[User:Krimpet/CH2.js]]
importScript('User:Fran Rogers/CH2 en.js');
// [[User:Sam_Hocevar]]'s "godmode" light
//document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>');
// Get around extra login page
if (mw.config.get('wgCanonicalSpecialPageName') == "Userlogin")
$( function() { document.location =
document.getElementById('mw-returnto').getElementsByTagName('a')[0].href; }
);
// Sidebar translate
importScript('User:Tra/sidebartranslate.js'); //[[User:Tra/sidebartranslate.js]]
// Purge
$(function () {
var hist; var url;
if (!(hist = document.getElementById('ca-history') )) return;
if (!(url = hist.getElementsByTagName('a')[0] )) return;
if (!(url = url.href )) return;
mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'),
'Purge', 'ca-purge', 'Purge server cache for this page', '0');
});
// Search for User History
importScript('User:Ale_jrb/Scripts/userhist.js'); //[[User:Ale_jrb/Scripts]]
/*
This script allows you to use the "Edit:" namespace
Type Edit:''pagename'' in the search box and you will be redirected to the edit page of the page entered. For example, typing "Edit:Example" will take you [http://en.wikipedia.org/w/index.php?title=Example&action=edit here] instead of [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=Edit%3AExample&go=Go here]
*/
if(document.location.toString().indexOf("index.php?title=Special:Search&search=")!=-1){
var search=document.location.toString().split("index.php?title=Special:Search&search=")[1].split("&go=Go")[0]
if(search.toLowerCase().indexOf("edit:")!= -1){
document.location=mw.config.get('wgServer') + "/w/index.php?title="+ search.toLowerCase().split("edit:")[1]+ "&action=edit"
}
}
if(document.location.toString().indexOf("index.php?title=Special%3ASearch&search=")!=-1){
var search=document.location.toString().split("index.php?title=Special%3ASearch&search=")[1].split("&go=Go")[0]
if(search.toLowerCase().indexOf("edit%3a")!= -1){
document.location=mw.config.get('wgServer') + "/w/index.php?title="+ search.toLowerCase().split("edit%3a")[1]+ "&action=edit"
}
}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.