[01:05:43] btw, any graphic nerds, CGPeers is open for registration! https://www.cgpeers.to/ [07:42:25] they could just use Greasemonkey [08:57:28] ori, https://phabricator.wikimedia.org/T115095 [09:58:09] @seen siebrand [09:58:09] petan: Last time I saw Siebrand they were quitting the network with reason: Client Quit N/A at 3/7/2016 4:04:35 PM (24d17h53m34s ago) [13:10:11] morn [13:11:56] afternoon [17:35:09] hi, someone would help me find out why js scripts stopped working on my site please?? $wgAllowUserJs = true; [17:36:38] auvajs, any JS errors in console? [17:38:39] well yes, I didn't know ehere was a JS console, lol [17:38:59] http://pastebin.com/xNYEzHTf [17:41:03] OuKB: this is my User:Name/common.js http://pastebin.com/4L9YhYqG anything wring with that? [17:41:31] COMIC SANS [17:41:54] what? [17:42:15] they're trying to punish me for using adblocker [17:42:34] me too, lol [17:42:59] ReferenceError: addOnloadHook is not defined [17:43:18] how come? [17:46:14] addOnloadHook has been recently deprecated? [17:47:06] yes. the code is no longer loaded by default [17:47:31] https://lists.wikimedia.org/pipermail/wikitech-l/2016-March/085113.html [17:48:20] no wm wikis it is still working [17:51:06] OuKB: MatmaRex: thank you, I fixed it [20:32:16] what can I do with Notice: Undefined index: copyright in /var/www/mediawiki/includes/skin ? [20:32:39] I'm trying to identify the symbol on a signet ring. All I know is that it is Europian and is pre-WWII [20:32:44] You can either stop trying to access the index 'copyright' or make sure it's defined. [20:32:56] Christoph: You're about three levels removed from the appropriate venue for that question :) [20:33:00] MarkTraceur: how can I define it please? [20:33:08] auvajs: Usually with an assignment statement. [20:33:27] Christoph: Try heading to https://en.wikipedia.org/wiki/WP:RD and asking your question there. [20:33:38] auvajs: What exactly are you trying to accomplish? [20:34:12] MarkTraceur: the wiki shows this error right on the top of the page, just want to solve it so that this error isn't shown [20:34:27] auvajs: And what did you change to cause the error? [20:34:34] auvajs: Errors don't just happen for no reason [20:34:37] MarkTraceur: nothing [20:35:01] auvajs: Totally clean install, all of the system requirements are met, no skins or extensions are loaded... [20:35:09] Will do. Thank you. [20:35:20] MarkTraceur: ? [20:35:42] auvajs: The MediaWiki instance you're seeing the error on. When did you first install it? [20:36:20] MarkTraceur: couple of months ago, but I'm frequently updating via git [20:36:32] auvajs: OK, so when was the last time you updated? [20:36:40] 1.27.0-alpha (6add848) [20:36:41] 1. 4. 2016, 22:09 [20:36:46] So today [20:36:56] auvajs: So when you say "nothing" you actually mean "updated through git" [20:37:01] MarkTraceur: ok [20:37:02] auvajs: Because that's not nothing [20:37:04] That's something [20:37:15] auvajs: After you updated, did you run composer update and maintenance/update.php? [20:37:27] MarkTraceur: yes it's in the update script [20:37:36] Oh, so there's a whole update script filled with nothing [20:37:47] Can you elaborate on what, exactly, nothingness is included in the script? [20:39:52] MarkTraceur: http://pastie.org/10782240 [20:40:07] Oh, wow, so there are skins and extensions that also got updated [20:40:22] And two wikis, which I assume are both showing the error, which you didn't mention [20:41:01] these are just personal wikis [20:43:21] MarkTraceur: something else you might wanna know? ;) [20:43:51] auvajs: Try setting https://www.mediawiki.org/wiki/Manual:Copyright/en-gb [20:45:13] $wgRightsPage = ""; is this a problem? [20:46:10] Probably not [20:46:32] auvajs: What skin are you using on the wiki? [20:46:44] MarkTraceur: vector [20:46:57] Hm. That should really be up to date with core. [20:55:08] MarkTraceur: maybe it's cause $wgFooterIcons isn't defined [20:55:42] in LocalSettings? [20:56:26] FlorianSW: ^^ [20:58:39] auvajs: Are you overriding it at all? [20:58:51] Reedy: no [20:58:59] the copyright index should be defined in DefaultSettings.php: https://github.com/wikimedia/mediawiki/blob/master/includes/DefaultSettings.php#L3304 [21:00:19] yes it's defined there in my instal [21:00:21] auvajs: can you please recheck in your LocalSettings.php, just to make sure you don't set wgFooterIcons somewhere? :) [21:00:53] FlorianSW: I already did [21:01:03] cat LocalSettings.php | grep Footer [21:01:11] prints nothing [21:02:53] auvajs: could you please add "var_dump($wgFooterIcons);" at the end of your LocalSettings.php (without the ") and reload the page? What do you see at the top of the page now? [21:06:10] oops, my fault [21:07:53] FlorianSW: it's even worse :) [21:08:16] array(2) { ["copyright"]=> array(1) { ["copyright"]=> array(0) { } } ["poweredby"]=> array(1) { ["mediawiki"]=> array(3) { ["src"]=> NULL ["url"]=> string(20) "//www.mediawiki.org/" ["alt"]=> string(20) "Powered by MediaWiki" } } } [21:08:20] Notice: Undefined index: copyright in /var/www/mediawiki/includes/skins/Skin.php on line 808 [21:09:16] auvajs: yes, found the problem: https://gerrit.wikimedia.org/r/#/c/281038/1 :) Sorry for the confusion, I haven't expect this unset there :D [21:10:04] FlorianSW: np :) [21:21:14] auvajs: fixed in latest master :P [21:27:34] FlorianSW: yup, works good after upd :) tnx [21:27:58] np :) [21:28:06] thanks for pointing us to it ;) [22:17:56] Legoktm: variable name: $wgDontFixEditorRetentionProblem [22:46:39] Is there a way to embed a calculator in a wiki page? Essentially have a page (or section of a page) where it asks for 4 variable inputs and then generates a numerical answer. Something similar to - http://www.medcalc.com/acidbase.html, but will also be usable on a mobile interface. [22:47:48] Or embed an excel spread sheet that will do the calculation when you input the variables? [22:51:06] Guest4366, do you know JavaScript? [22:51:39] very basic knowleddge [22:52:28] $difficulty = 1 / $your_skill :P [22:57:15] http://www.embedcalculators.com/ http://javascript.about.com/od/calculators/ http://thecodeplayer.com/walkthrough/javascript-css3-calculator <- some starting points. [22:57:37] thanks!