FANDOM

(Difference between revisions) | User:KockaAdmiralac
(ChromeToolbarColor, doesn't work in Mobile site)
m (ChromeToolbarColor, doesn't work in Mobile site)
Line 476: Line 476:
 
[[File:Screenshot_20180927-125633.png|thumb]]
 
[[File:Screenshot_20180927-125633.png|thumb]]
 
I saw source at mobile site, and this.--<span style="border:3px double orange;background-color:yellow;">[[User:Laclale|<span style="color:green;font-family:OCR A Extended">*Lac*</span>]]([[User_Talk:Laclale|<span style="color:orange">♪</span>]])</span> 04:54, September 27, 2018 (UTC)
 
I saw source at mobile site, and this.--<span style="border:3px double orange;background-color:yellow;">[[User:Laclale|<span style="color:green;font-family:OCR A Extended">*Lac*</span>]]([[User_Talk:Laclale|<span style="color:orange">♪</span>]])</span> 04:54, September 27, 2018 (UTC)
  +
  +
Hey! It's not a bug, just local CSS/JS doesn't affect on mobile site. This script works '''only''' on Oasis skin displayed on mobile version of Google Chrome. <span style="font-family: Rubik, sans-serif; font-size: 17px">[[User:Railfail536|'''Rail''']] <sub>([[User talk:Railfail536|my talk]])</sub></span> 05:13, September 27, 2018 (UTC)

Revision as of 05:13, September 27, 2018

Welcome to my talkpage! Talk to me about anything related to Dev Wiki or Wikia development here. If you have something else to talk about, you could use my Community Central Message Wall instead.

Messages left here will be answered to on your own talkpage. This is so you receive a talkpage notification when I reply to you.

Archives: 1

Icons for FandomizedLightbox

Hi,

I would like to create some icons for the FandomizedLightbox stylesheet, so that the lightbox modernization would look better.

I originally used WDS buttons, but now, I prefer to use icons for this stylesheet. I would also like to add a "download" button (even though I know this requires JS), so that I wouldn't be forced to go into the file page to download the photo.

Here's a screenshot of my concept.

Screenshot (7)

If you can do this for me (at least replace the buttons with icons), then thanks. ~Signed JustLeafy ( ͡| ͜' ͡| ) USER WALL 21:04, November 11, 2017 (UTC)

JS Help

Hi, I am trying to make the "Edit Greeting" button have a new style using JS. However, for some reason, it is not working. Can you help me fix it? Here's the entire JS code for my markup:

if (mediaWiki.config.get('wgNamespaceNumber') === 1200) {
(function(window, $, mw) {
	"use strict";
	var messages = {
		en: {
			editGreeting: 'Edit greeting',
			history: 'Greeting history',
			wallHistory: 'Wall history'
		},
		be: {
			editGreeting: 'Правіць прывітанне',
			history: 'Гісторыя прывітання',
			wallHistory: 'Гісторыя сцяны абмеркавання'
		},
		ca: {
			editGreeting: 'Edita la benvinguda',
			history: 'Historial de la benvinguda',
			wallHistory: 'Historial del mur'
		},
		de: {
			editGreeting: 'Begrüßung bearbeiten',
			history: 'Versionen ansehen',
			wallHistory: 'Versionen der Nachrichten'
		},
		es: {
			editGreeting: 'Editar bienvenida',
			history: 'Historial de la bienvenida',
			wallHistory: 'Historial del muro'
		},
		fr: {
			editGreeting: 'Modifier accueil',
			history: 'Historique accueil',
			wallHistory: 'Historique du mur'
		},
		gl: {
			editGreeting: 'Editar benvida',
			history: 'Historial da benvida',
			wallHistory: 'Historial do muro'
		},
		hi: {
			editGreeting: 'ग्रीटिंग संपादित करें',
			history: 'बधाई इतिहास',
			wallHistory: 'वॉल इतिहास'
		},
		hu: {
			editGreeting: 'Üdvözlet szerkesztése',
			history: 'Üdvözlet laptörténete',
			wallHistory: 'Fal története'
		},
		it: {
			editGreeting: 'Modifica saluto',
			history: 'Cronologia del saluto',
			wallHistory: 'Cronologia della bacheca'
		},
		kn: {
			editGreeting: 'ಸಂಪಾದಿಸು ಶುಭಾಶಯ',
			history: 'ಗ್ರೀಟಿಂಗ್ ಇತಿಹಾಸ',
			wallHistory: 'ವಾಲ್ ಇತಿಹಾಸ'
		},
		mo: {
			editGreeting: 'Модификаря салутулуй',
			history: 'Историкул салутулуй',
			wallHistory: 'Историкул перетелуй де месаже'
		},
		nl: {
			editGreeting: 'Bewerk prikbordbegroeting',
			history: 'Prikbordbegroeting geschiedenis',
			wallHistory: 'Prikbord geschiedenis'
		},
		oc: {
			editGreeting: 'Editatz benvenguda',
			history: 'Istoric de la benvenguda',
			wallHistory: 'Istoric del mur'
		},
		pl: {
			editGreeting: 'Edytuj powitanie',
			history: 'Historia powitania',
			wallHistory: 'Historia tablicy'
		},
		pt: {
			editGreeting: 'Editar saudação',
			history: 'Histórico de saudações',
			wallHistory: 'Histórico do mural'
		},
		'pt-br': {
			editGreeting: 'Editar saudação',
			history: 'Histórico de saudações',
			wallHistory: 'Histórico do mural'
		},
		ro: {
			editGreeting: 'Modificarea salutului',
			history: 'Istoricul salutului',
			wallHistory: 'Istoricul peretelui de mesaje'
		},
		ru: {
			editGreeting: 'Править приветствие',
			history: 'История приветствия',
			wallHistory: 'История стены обсуждения'
		},
		uk: {
			editGreeting: 'Змінити привітання',
			history: 'Історія привітань',
			wallHistory: 'Історія обговорень'
		},
		val: {
			editGreeting: 'Editar benvinguda',
			history: 'Historial de la benvinguda',
			wallHistory: 'Historial del mur'
		},
		zh: {
			editGreeting: '编辑问候语',
			history: '问候语历史',
			wallHistory: '信息墙历史'
		},
		'zh-hans': {
			editGreeting: '编辑问候语',
			history: '问候语历史',
			wallHistory: '信息墙历史'
		},
		'zh-hant': {
			editGreeting: '編輯問候語',
			history: '問候語歷史',
			wallHistory: '信息牆歷史'
		},
		'zh-tw': {
			editGreeting: '編輯問候語',
			history: '問候語歷史',
			wallHistory: '訊息牆歷史'
		},
	};
	messages = $.extend(messages.en, messages[mw.config.get('wgUserLanguage')]);
 
	function checkSetIn(map, what) {
		for (var i = 0, l = what.length ; i < l ; ++i) {
			if (map[what[i]]) { return true; }
		}
		return false;
	}
 
	// Message Walls are always in Edit mode in Oasis.
	if (({view:1, edit:1})[mw.config.get('wgAction')] !== 1) { return; }
	// We show the button for the owning user, and for sysops.
	// We don't show it for anyone else since you get a permission error when trying to
	// access someone else's message. Why? Beats me.
	var user = mw.config.get('wgTitle');
	// NOTE: Anons can edit their greetings as well, not going to support that though since
	//    I can't easily see what their IP address is to figure out if they own the wall or not.
	if (user !== mw.config.get('wgUserName')) { // Not self
		if (!checkSetIn({sysop:1, staff:1, threadmoderator:1}, mw.config.get('wgUserGroups')) || // Not sysop
			user.indexOf('/') !== -1 // Archived talk page
			) {
			return;
		}
	}
 
	function createOasis(url, wallUrl) {
		if ($('#EditMessageWallGreeting').length) { return; } // Double run
		var $button = $(window.Mustache.render(
			'<div class="UserProfileActionButton" id="EditMessageWallGreeting">' +
			'<div class="wds-button-group">' +
			'<a accesskey="e" href="' + url + '?action=edit">' +
			'<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" class="wds-icon wds-icon-small" id="wds-icons-pencil-small"><path d="M9.1 4.5l-7.8 7.8c-.2.2-.3.4-.3.7v3c0 .6.4 1 1 1h3c.3 0 .5-.1.7-.3l7.8-7.8-4.4-4.4zm7.6-.2l-3-3c-.4-.4-1-.4-1.4 0l-1.8 1.8 4.4 4.4 1.8-1.8c.4-.4.4-1 0-1.4z" fill-rule="evenodd"></path></svg>' +
			'{{editGreeting}}' +
			'</a> ' + // Whitespace is needed here for negative margin on drop to work
			'<div class="wds-dropdown">' +
		    '<div class="wds-button wds-is-squished wds-dropdown__toggle">' +
			'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"></path></svg></div>' +
			'<ul class="wds-list wds-is-linked">' +
			'<div class="wds-dropdown__content wds-is-not-scrollable">' +
			'<li><a href="' + url + '?action=history">{{history}}</a></li>' +
			'<li><a accesskey="h" href="' + wallUrl + '?action=history">{{wallHistory}}</a></li>' +
			'</ul></div></div></div></div>',
			messages
		)).prependTo('#WikiaMainContentContainer').children();
		if (window.WikiaButtons && window.WikiaButtons.menuButtons) {
			window.WikiaButtons.add($button);
		}
	}
	function createMonobook(url) {
		$('#ca-edit > a').prop('href', url + '?action=edit').text(messages.editGreeting);
	}
 
	mw.loader.load(['mediawiki.Title', 'wikia.mustache'], null, true);
	$(function() {
		mw.loader.using(['mediawiki.Title', 'wikia.mustache'], function() {
			(mw.config.get('skin') === 'oasis' ? createOasis : createMonobook)(
				new mw.Title(user, 1202).getUrl(), // Message Wall Greeting
				new mw.Title(user, 1200).getUrl()  // Message Wall
			);
		});
	});
})(window, jQuery, mediaWiki);
}
 
// Remove the [broken] talk page link from the Greeting page.
if (mediaWiki.config.get('wgNamespaceNumber') === 1202) {
jQuery(function($) {
	// Monobook, Oasis
	$('#ca-talk, .WikiaPageHeader a[data-id="comment"]').remove();
});
}


Tooltips

Hello, why did you delete tooltips, it has messed up our wiki. CakeBuu (talk) 11:28, November 22, 2017 (UTC)

Rename

Can you rename MediaWiki:ProfileEditor.css to MediaWiki:ModernProfile/ProfileEditor.css, please? ~Signed JustLeafy ( ͡| ͜' ͡| ) USER WALL 17:18, November 24, 2017 (UTC)

Re: I'll re-create the page with that name. Delete the old one. ~Signed JustLeafy ( ͡| ͜' ͡| ) USER WALL 17:18, November 24, 2017 (UTC)
BTW, the reason why I remove the message is because I don't really need help with it anymore. Sorry if this was a mistake! ~Signed JustLeafy ( ͡| ͜' ͡| ) USER WALL 19:23, November 24, 2017 (UTC)

DiscussionsRailModule

Do you have any insight on this since it uses I18n-js? leviathan_89

@fandom 18:51, November 29, 2017 (UTC)

Page Deletion

Delete MediaWiki:ConsistentDiscussionsFeeds/code.css, please. ~Signed JustLeafy ( ͡| ͜' ͡| ) USER WALL 19:24, December 2, 2017 (UTC)

Re:RecentChangesMultiple CSS import

Hello,

Actually that's the only line that should need to be updated. Any other CSS is either added via "mw.loader" or is dynamically added. I copied over the content and submitted a change for the JS file. I'll delete the old CSS file once the change is accepted. Hope your having a nice weekend, Fewfre 🔎 K🧀00:30 Sun, 03 Dec 2017

Hmm, I really shouldn't have many hardcoded http/https links; I avoid those as much as possible. Although giving a quick glance, I seem to have missed a fair number of images for some reason (guess I don't think of them as normal links). All api calls are using // or are taken from the api unless I missed one. But fair point, I'll add that to my todo list, thanks! Fewfre 🔎 K🧀01:13 Wed, 06 Dec 2017

Invalid time entity in Infobox

Hi! I've a problem with some pages translated in french having an Infobox, the following error appear "Invalid time". (example) I can see this in Infoboxes:

<format>{{FormatDate
            |{{{Updated}}}
            |dateformat={{{dateformat|}}}
            |uselang={{#var:uselang}}
            }} {{#if:{{{Updated-text|}}}|({{{Updated-text}}})}}<!--
            -->{{#if:{{{Updated2|}}}|<br />{{FormatDate
            |{{{Updated2}}}
            |dateformat={{{dateformat|}}}
            |uselang={{#var:uselang}}
            }} {{#if:{{{Updated2-text|}}}|({{{Updated2-text}}})}} }}</format>

I'm not really sure it's because this part but, "Invalid time" appear in some other languages.I think the template accept only english date (Month Number, Year) but in french for example it's Number Month Year.
LostSword (talk) 13:10, December 3, 2017 (UTC)

AbuseLogRC

Hi, just checking if you forgot to take a look at converting AbuseLogRC to I18n-js. Don't worry, take your time or if you feel you won't be able to do it, I'll just try to do it myself. leviathan_89

@fandom 19:44, December 4, 2017 (UTC) Perfect, no problem, after all the i18n thing is not really important for the script itself, so it's nothing urgent. leviathan_89

@fandom 19:50, December 4, 2017 (UTC)

Your edit to the WikiaNavigationBarStyle/en page

I was wondering if you could explain what you did when making your edit to the WikiaNavigationBarStyle/en page. I can't see anything wrong, except now it doesn't seem to explain that it should be imported through JavaScript, since importing it through just CSS will cause problems with some elements. ― C.Syde (talk | contribs) 21:06, December 4, 2017 (UTC)

Oh. Well it should probably be changed to say JavaScript then. ― C.Syde (talk | contribs) 21:19, December 4, 2017 (UTC)

MassNullEdit

If you are up for it, could you add to your to-do list adding i18n support for MassNullEdit? Unfortunately the author is inactive. leviathan_89

@fandom 18:01, December 11, 2017 (UTC) Ty! leviathan_89

@fandom 12:08, December 16, 2017 (UTC)

i18nEdit

I'll leave you a message too, just to be sure you are aware of this. leviathan_89

@fandom 21:55, December 18, 2017 (UTC)

Nitro for Mobile

Will there be a moblie version of Nitro? If its impossible, its fine. Corly Deluxe PC (talk) 20:54, January 1, 2018 (UTC)

RE: RCM CSS (again)

Moved, thanks for the heads up! Although I consider this a dick move; moving namespace is fine, but moving other people's scripts for no reason other than it's unsightly to some people is not cool (I know you didn't move it, just griping). Fewfre 🔎 K🧀01:06 Thu, 18 Jan 2018

Question

What is Ajax? MechQueste talk 22:25, February 6, 2018 (UTC)

one final question. how do I execute RubyWikiDownloader? CMD doesn't work. and I can't find anything on github desktop to use it. Thanks. MechQueste talk 21:35, February 11, 2018 (UTC)

WikiaActivityLogger translation

German translations for WAL.

ChromeCircus (talk) 02:09, March 2, 2018 (UTC)

Untitled

Is it OK if I can write about my python projects and there possible applications to fandom Rogue maltron talk 12:51, June 11, 2017 (UTC) 16:06, March 27, 2018 (UTC)

Re: ‎Monobook removal

I haven't decided whether or not to delete that script in light of the current situation, but I'll submit the edit for now. Thanks Cube! EIZEN (Talk) 21:15, May 25, 2018 (UTC)

Untitled

I was looking to put Discord into my wiki, but I can't find how to enable the widget. Can you guide me?

Thanks! GAK16 (talk) 02:13, May 27, 2018 (UTC)GAK16

Wiki-to-wiki transfer of images

Was there a script that enabled one to transfer one wiki to another? MechQueste talk 02:58, June 6, 2018 (UTC)

Nitro translate

Hey, I translated Nitro from your Github but can't publish translations in Github:

RUSSIAN:

{
    "language": "Русский",
    "name": "Wikia Nitro",
    "logo": "Время пришло. GIF-аватары для всех!",
    "login": "Войти",
    "logout": "Выйти",
    "username": "Имя участника",
    "password": "Пароль",
    "filetype": "GIF-изображения",
    "select": "Выбрать",
    "upload": "Загрузить",
    "upload-header": "Загрузить аватар",
    "login-success": "Вход выполнен успешно!",
    "login-badpass": "Неверное имя участника или пароль!",
    "login-unknown": "При входе в систему произошла неизвестная ошибка.",
    "login-auto": "Автоматический вход в систему!",
    "upload-success": "Аватар успешно загружен!",
    "upload-badsize": "Загруженный аватар размером более 512 КБ или не квадратной формы.",
    "upload-lstat": "Не удалось определить размер аватара.",
    "upload-unknown": "При загрузке аватара произошла неизвестная ошибка."
}

UKRAINIAN:

{
    "language": "Українська",
    "name": "Wikia Nitro",
    "logo": "Час настав. GIF-аватари для всіх!",
    "login": "Увійти",
    "logout": "Вийти",
    "username": "Ім'я користувача",
    "password": "Пароль",
    "filetype": "GIF-зображення",
    "select": "Вибрати",
    "upload": "Завантажити",
    "upload-header": "Завантажити аватар",
    "login-success": "Вхід успішний!",
    "login-badpass": "Неправильне ім'я користувача або пароль!",
    "login-unknown": "Під час входу в систему сталася невідома помилка.",
    "login-auto": "Автоматично увійти в систему!",
    "upload-success": "Аватар успішно завантажено!",
    "upload-badsize": "Аватар розміром більш за 512 КБ або не має квадратної форми.",
    "upload-lstat": "Не вдалося визначити розмір аватара.",
    "upload-unknown": "Під час завантаження аватара сталася невідома помилка."
}

BELARUSIAN:

{
    "language": "Беларуская",
    "name": "Wikia Nitro",
    "logo": "Час прыйшоў. GIF-аватары для ўсіх!",
    "login": "Увайсці",
    "logout": "Выйсці",
    "username": "Імя ўдзельніка",
    "password": "Пароль",
    "filetype": "GIF-выявы",
    "select": "Выбраць",
    "upload": "Загрузіць",
    "upload-header": "Загрузіць аватар",
    "login-success": "Уваход выкананы паспяхова!",
    "login-badpass": "Няслушнае імя ўдзельніка ці пароль!",
    "login-unknown": "Пры ўваходзе ў сістэму адбылася невядомая абмыла.",
    "login-auto": "Аўтаматычны ўваход у сістэму!",
    "upload-success": "Аватар паспяхова загружаны!",
    "upload-badsize": "Загружаны аватар памерам больш за 512 КБ ці не квадратнай формы.",
    "upload-lstat": "Не атрымалася вызначыць памер аватара.",
    "upload-unknown": "Пры загрузцы аватара адбылася невядомая абмыла."
}

--40px-Greenflych1.gif Talk Mix Gerder Contributions 04:01, June 7, 2018 (UTC)

FANDOM Open Source Library/sr

Здраво! Преводио сам ову страницу из хрватске верзије, али је потребна ревизија од стране корисника који има српски језик као матерњи језик (као ти). Да ли можеш да исправиш овај чланак, молим те? --Josep Maria 22. (discussiócontribucions) 15:0, June 26, 2018 (UTC)

WikiaActivityLogger

Hey KockaAdmiralac

In regards to the WikiaActivityLogger, I was directed to contact you in order to have mine setup/working again. What process would I have to take in order to get mine back up?


CoolTheConquerorRBLX (talk) 13:28, July 2, 2018 (UTC)CoolTheConqueror

UnitTester:equals_many

Hey Kocka, can you add equals_many comparison in Module:UnitTests? Thanks speedy🔔︎🚀︎ 13:05, August 2, 2018 (UTC)

Sorry, reading the module code it seems like preprocess_equals_many is actually right but it's not working for some reason (which I'll debug directly, ig) speedy🔔︎🚀︎ 14:13, August 2, 2018 (UTC)

Untitled

Hello, I'm an admin on the KoTLC wiki and I was wondering if you could help me with the adding the Discord feature. So on theLost Cities Wiki I'm not sure how to add the Discord feature or if someone else has to enable it for me. Is there a code that i need to add onto the MediaWiki:ImportJS page? Thank you

~Eva 💙 02:36, August 4, 2018 (UTC)

I followed the instructions yet I don't know if I did it right because it doesn't show up at the side of my screen...—Preceding unsigned comment added by CustardBursts (talkcontribs) . Please sign your posts with ~~~~!

Siderail

Siderail does not seem to remove adds or anything, i don't see how it violates any policy. Furthermore, it has been accepted on a bunch of wikias common.js, i just wanted it here so it could be added without being approved and nothing relevant came up in search when looking for it.

Seems a lot more light weight and i'm not sure how it violates any policy if it has been accepted on multiple wikias. I'm wondering if the policy for this site is more strict then regular wikia sites. ShinyAfro (talk) 10:18, August 26, 2018 (UTC)

Quick Question

Hello, I was wondering what this page means when it says to insert the CSS import to the top of my choice of file? Where would I add this?

Thanks,
Yolo 20:38, August 29, 2018 (UTC)

Not myself, for my wiki.

This wiki.

Not sure if it's global or local...

Please excuse my lack of understanding when it comes to these subjects...I don't remember much of what I learned about this.
Yolo 20:54, August 29, 2018 (UTC)

Assistance

Hello KockaAdmiralac, I am a manager of my own wikia and discord, which I am trying to link together both with the Recent Activity page, I heard that it has been discontinued, but I heard that asking you would help get what I am looking for.

Now before learning this, I have done all of the steps up till the "configurating the bot" which I am a little confused, where to I put the configuration code? in the node? or the install batch file?

I would like your assistance and to hear back from you as soon as possible. Thank You.CNBA3 (talk) 03:04, September 13, 2018 (UTC)

What would you suggest I do then? I mean, it is for getting my wikia spiced with features to make it more interesting and managable. Sorry to bother you on this, I was told to talk to you about getting something like this for my discord server, and I am not sure when it has been blocked but  a recent wikia managed to use it around June 27th.CNBA3 (talk) 20:56, September 13, 2018 (UTC)

Untitled

is nitro free? ya know,t the one u made for gif pfps? Raredawn (talk) 20:07, September 21, 2018 (UTC)

ChromeToolbarColor, doesn't work in Mobile site

File:Screenshot 20180927-125633.png

I saw source at mobile site, and this.--*Lac*() 04:54, September 27, 2018 (UTC)

Hey! It's not a bug, just local CSS/JS doesn't affect on mobile site. This script works only on Oasis skin displayed on mobile version of Google Chrome. Rail (my talk) 05:13, September 27, 2018 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.