User:BLACK OUT/wikia.js

/* RelatedDiscussionsModule - CSS - Version 1.5			*/ /*								*/ /* Script by Eladkse						*/ /* Using code by Lunarity					*/ /* Multi-language support adapted from script by Dantman	*/ importArticle({	type: "style",	article: "w:dev:RelatedDiscussionsModule/code.css" }); $(function {	if (!$('#mw-content-text > #RelatedForumDiscussion').length) {		return;	}	var userconfig = (window.RelatedDiscussionsConfig) ? window.RelatedDiscussionsConfig : {};	var config = $.extend(true, { 'en': "Related Discussions", 'es': "Hilos relacionados", 'hu': "Kapcsolódó beszélgetések", 'pl': "Podobne Dyskusje" }, userconfig);	var title = (wgContentLanguage in config) ? config[wgContentLanguage] : config.en;	$('#WikiaRail > .LatestPhotosModule').after($('#mw-content-text > #RelatedForumDiscussion').addClass('module'));	$('#RelatedForumDiscussion > h2').replaceWith($('#WikiaRail > #RelatedForumDiscussion > h2').html.split('')[0] + ' ' + title + ' '); });