User:Technical 13/Scripts/Teahouse.js
/* Load other Teahouse scripts */
importScript('User:Technical 13/Scripts/Teahouse WikiLove.js'); // Trying beta script
importScript('User:Technical 13/Scripts/Teahouse IRC.js'); // Trying out my TeaHouse IRC script... Many features to come.
/* add talkback reminder when you save an edit at the Teahouse
$( function() {
if ( mw.config.get( 'wgPageName' ) === 'Wikipedia:Teahouse/Questions' && document.getElementById( 'editform' ) !== null ) {
document.getElementById( 'wpSave' ).onclick = teahouseHandler;
}
} );
function teahouseHandler() {
if ( !( document.getElementById( 'wpMinoredit' ).checked ) ) {
alert( 'Remember to leave a Teahouse Talkback template!' );
}
}
*/
/* Teahouse talkback link */
/* NOTES:
* Only apply TB link to signatures and templates that wrap links in ()
* Detect signature section character separator and mimic it to make it look less "inserted"
**/
// importScript( 'User:Technical 13/Scripts/teahouseTalkbackLink.js' );// [[User:Technical 13/Scripts/teahouseTalkbackLink.js]]
/* You've installed all of the Teahouse scripts, so you no longer need the little box to remind you to add the scripts! */
$( 'div#template-navbar' ).remove();
/* Widen the wishlist box so it is not a tall column of only a dozen characters wide */
$( 'div#TH-Wishlist-container' ).css( { "float": "none", "width": "900px" } );
$( 'div#TH-Wishlist' ).css( { "float": "none", "width": "898px" } );
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.