[00:09:18] hi anyone managing this group? seems pretty silent [00:09:45] apartently White_Master was pretty pissed. [00:09:56] bluesilver: Do you have a question? [00:10:02] bawolff: I guess you are an admin. [00:10:09] This time of day tends to be quiet [00:10:11] well I cant access the channel. [00:10:29] really? is 8pm in the US [00:10:31] I don't have ops right on this channel, but I am a mediawiki developer, and I have admin on mediawiki.org [00:10:38] and I have been since 2 or 3 days ago. [00:10:52] didnt see much activity either. [00:11:20] ah I see, well I am looking for help editing a skin I am doing based of the CongloBlue [00:11:34] This channel has kind of devolved into user help. Most dev activity takes place on other channels ( #wikimedia-dev , #wikimedia- [00:12:10] ok so for a skin dev I should be on mediawiki-dev? [00:12:25] I'm not really a skin person, but if you ask your question someone else might now [00:12:29] Here is fine [00:12:49] actually here is better, your question will probably get lost between the bot spam in #wikimedia-dev [00:13:46] uff.. [00:14:05] I have been here for a while and nobody really seem to know how to do what I want, and is so simple. [00:14:15] Is just a matter of move a menu to the header instead of the side bar. [00:14:42] I even sent an email yesterday to the mediawiki mailing list but still no reply, seems the list is also slow. [00:15:41] Well people are also busy, and stuff [00:17:19] Just because nobody replies doesn't mean that nobody knows. Very specific questions tend to get better answers [00:18:50] Hi [00:18:52] I have ops here [00:19:04] cool [00:19:17] The time is 01:19 (WEST) [00:19:28] WEST? [00:19:32] china? [00:19:37] europe [00:19:46] I am on -5 UTC [00:20:10] anyway my question is regarding this skin: https://www.mediawiki.org/wiki/Skin:Cologne_Blue [00:20:33] my issue is regarding the allocation of the menus, I want to move a menu from the sidebar to the header bar. [00:20:44] Western European Summer Time... Otherwise known as British Summer Time [00:20:51] here is the source file: https://phabricator.wikimedia.org/diffusion/SCBL/browse/master/SkinCologneBlue.php [00:20:53] UTC+1 [00:21:12] LOL nevermind [00:21:32] I usually just recognize it as EST [00:22:46] Krenair: btw I am trying join the channel but says that I am banned [00:23:24] I have this nick 'JZA' [00:23:34] can you please unbann it? [00:24:01] I dont remember ever being here before or banned, so mabye someone else used it. [00:24:25] which channel? [00:24:53] this one, #mediawiki [00:26:22] so back to my question, on Cologne_Blue, there is this function, quickbar which uses an array of menus and the interate on those menus to asign heading and data. What I need is to get 'caction' out on this array and insert it on the other function sysLinks [00:26:56] I don't see any bans like 'JZA' [00:27:00] so far so good, but I think I am getting php issues because every change crashed the site. Wonder if people can have a look at this. [00:27:16] Krenair: humm.. [00:27:33] JZA #mediawiki Cannot join channel (+b) - you are banned [00:28:24] * 28[18JZA28] 30(24JZA@gateway/shell/elitebnc/x-yjserpgxewlqfhzb30): 18Alexandro Colorado [00:28:30] * #wikimedia-bans: *!*@gateway/shell/elitebnc/* on Wed Jun 22 08:14:58 2016 by card.freenode.net [00:28:55] what is card.freenode.net? [00:29:01] a freenode server [00:29:15] wow a server bann it? [00:29:28] I am on so many channels, maybe it was some anti-flooding [00:29:38] there's a lot of entries in #wikimedia-bans set by servers. might be due to netsplits [00:29:49] yeah that too [00:29:56] it's not just you [00:30:10] that ban is for everything using 'elitebnc' [00:30:25] oooh so is a bouncer bann, too bad [00:33:47] bluesilver: first steps, enable php error reporting and all that [00:33:50] !blankpage [00:33:50] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [01:48:47] hello. Is there a ballpark figure on disk space consumption of a fresh MediaWiki installation? [01:51:13] adrian_1908: Probably about 100 MB? [01:51:38] If you have the full Git history of MediaWiki core, that'll add a lot more space. [01:51:49] And if you include vendor/ stuffs and extensions/, it'll raise it. [01:52:26] Debra: ok, that gives me an idea. Thank you! [01:52:44] I guess I'd say closer to 200 MB? [01:54:04] 113MB the extracted tarball, 128MB on disk because of fragmentation [01:55:54] vendor/ is 36M for me. [04:48:15] hi [04:48:41] Hi. [04:50:17] I've an (older) skin for mediawiki, how do i update it for newer mediawiki? [04:51:14] Hmmm. [04:55:58] I'd made a CSS file for a previous version of mediawiki (prior to Nov 2014) but then the format was changed or something and it no longer works properly [04:57:05] now i think they require php files as well as css files? I'm a bit lost [05:11:34] Stilett0: Generally you can edit CSS on the wiki itself. [05:11:50] By editing the wiki pages "MediaWiki:Common.css" or "MediaWiki:.css" as a local administrator. [05:12:55] right. and it worked fine in mediawiki 1.21 or 1.22 or something. Now we're on 1.23.6 and it doesn't look right at all [05:14:06] i can post it if you want [05:19:48] Sure. [05:19:53] I'm going to sleep, but someone in here can probably help you. [05:20:36] okay, here's the old CSS that displayed as intended in mediawiki 1.21 or 1.22 or something: http://pastebin.com/6wfqGJNb [05:22:16] okay, got it: our former version was 1.14.0 [05:47:18] i'm having a problem with a new template I made not showing up on the home page even though I listed it there [06:01:00] * Stilett0 waits for help to arrive [06:24:45] Hallo. I haven't used my vagrant installation for a couple of months, and I'm trying to revive it. [06:25:06] I updated the vagrant directory from git, I re-ran setup.sh, and I update mediawiki core from git, [06:25:15] and now when I try to open the wiki all I get is: [06:25:26] "Class undefined: WrappedString\WrappedStringList" [06:26:01] Did I miss any step in updating vagrant? [06:26:28] Do I need to do anything with composer? [07:09:42] aharoni: sounds like missing composer update [08:56:38] I need the url for thumbnails from images stored in Mediawiki, where I only now the File:$imagename.jpg. Is there a possibility to compute the .../thumb/e/e0/... "random" prefix without a Mediawiki API call? [09:39:08] speciesATtm: Special:Redirect/file/$imagename?width=$x [09:54:30] hi [09:55:24] I am looking for the structure of ['nav_urls'] array - does someone can tell me where I can find a description ? (looking for just a "base_url" of my website, before "index.php" [09:55:48] hello [09:56:43] I install mediawiki here: http://wiki.cretaforce.gr , I notice problem with the greek characters in the links. Any idea how to fix it ? [09:59:02] I see the same issue here: http://wiki.cretaforce.gr/Αρχική_σελίδα [09:59:08] sorry here: https://el.wikipedia.org/wiki/Βικιπαίδεια:Πνευματικά_δικαιώματα [10:01:33] I think I found it in ['nav_urls']['permalink']['href'] [10:01:46] no idea about your problem CyberCr33p sorry [10:03:05] CyberCr33p, what is the "problem with greek characters in the links" exactly? [10:03:34] for example the links are like this: http://wiki.cretaforce.gr/Αρχική_σελίδα#.CE.9F.CE.B4.CE.B7.CE.B3.CE.AF.CE.B5.CF.82_.CF.87.CF.81.CE.AE.CF.83.CE.B7.CF.82_Filezilla [10:03:52] it replace greek charracters with .CE.9F.CE.B4.CE.B7.CE.B3.CE.AF.CE.B5.CF.82_.CF.87.CF.81.CE.AE.CF.83.CE.B7.CF.82 [10:04:04] and the same issue in el.wikipedia.org [10:04:08] CyberCr33p: that is how the internet works. [10:04:15] Encoding of URLs. [10:04:18] I worry about SEO [10:04:30] Ah. Wait. You refer to the anchors within the pages. I see. [10:04:40] yes [10:05:58] see https://phabricator.wikimedia.org/T75092 [10:06:25] thanks [10:08:22] so can't do anything about it [10:08:32] nope, sorry [10:08:36] ok [10:08:37] thanks [10:36:12] is there any way to see the wikicode generated by a template? [10:43:22] Nemo_bis: many thanks, works fine :-) [10:47:36] good [14:55:55] hi again [14:56:15] is there a way to mass delete all files uploaded ? a script or sql request or whatever ? [15:01:33] clrh: maybe the nuke extension also deletes files? [15:02:08] Delete from the file system or what [15:02:57] oh yes nuke works, sorry :) [15:54:06] Hi, I am trying to get the categories which are included in page from PageContentSaveComplete hook. I am using $article->getTitle()->getParentCategories(); and I am getting each category like Category:CategoryName. [15:54:18] Is there a way to get just the 'CategoryName' [15:54:49] $data[$wgContLang->getNsText( NS_CATEGORY ) . ':' . $row->cl_to] = $this->getFullText(); [15:55:12] replace $wgContLang->getNsText( NS_CATEGORY ) . ':' with '' [15:57:02] hacky [15:57:44] Reedy: let me try that. thanks [16:20:15] can someone please help me modernize a skin designed for Mediawiki 1.14 to 1.23.6? [16:20:52] why 1.23.6? [16:21:25] cuz that's what we're on right now. I can maybe recommend the server admin updating if it will help matters, i'm just local admin [16:21:42] Well, at a minimum, you're running a version with known security issues [16:21:53] So I'd suggest going to 1.23.14 at lest [16:21:54] *least [16:21:57] oh nice, okay :) [16:22:01] If not 1.27 [16:22:13] Trying to remember if there were any other skin changes between 1.23 and 1.27 [16:22:32] upgrading aside, can someone help or is there a place you can send me or something? [16:22:43] People in here will probably be able to help [16:22:46] Depends what issues you're having [16:22:58] ok [16:23:24] well, here's the css code, which displayed as desired in 1.14: http://pastebin.com/6wfqGJNb [16:45:46] Can somebody tell me how to update simple Extensions like this one to Extension Registration? https://www.mediawiki.org/wiki/Extension:StringUtils#Code [16:49:05] MGChecker: there is a maintenance scrupt that does most of the work for you [16:49:36] maintenance/convertExtensionToRegistration.php [18:42:07] hi [18:43:04] can anyone tell me why my wiki's links have the colon percent-encoded (eg 'wiki.com/wiki/Help%3AGetting_Help')? [18:43:39] wikipedia's are not encoded this way. their's would be 'wiki.com/wiki/Help:Getting_Help' [18:45:47] drvela, how do you create that link? [18:47:39] it is the standard link in wiki, like [[Page Name|Page Description]] [18:47:57] or [[Help:PageName]] in this case [18:48:12] On the links is interesting... [20:04:58] hi, is there some way how to get a list from Special:WhatLinksHere in lua/scribunto and work with it? [20:05:30] or from Special:PrefixIndex? [20:33:52] What is the correct way to add fields to the sign up field now? MW 1.27 breaks adding them through the UserCreateForm hook using $template->set('extraInput', ...). [20:34:30] *sigh up form [20:35:37] *sign [20:37:29] Any chance I can bribe someone to fix https://phabricator.wikimedia.org/T74931 ? [20:41:15] Betacommand: I guess it needs a bit of work working out where it would be exposed etc [20:41:56] Probably needs to go via the DBA in theory, and maybe the perf team [20:47:31] Oh, turns out the new sign up page does not respect emailrequired/$wgEmailConfirmToEdit properly either. [20:48:01] Trela: File a bug for that please? :) [20:48:28] Reedy: primary use for the WMF would be labs, but the linksearch API would be the most obvious place to expose it. [20:48:30] I am looking for all the broken stuff a while. There is actually right there above it: // FIXME will break non-standard providers [20:48:56] Trela: file a ticket [20:49:25] Right. I am making sure I have all the information first. [20:56:15] hi, is there some way how to get a list from Special:WhatLinksHere in lua/scribunto and work with it? [20:56:26] no [20:56:44] why not? [20:57:24] special pages in general can't be visible to lua for security reasons, and nobody has bothered to write a wrapper for that specific case yet [20:57:32] if you have a good use case, file a task on phabricator asking for it [20:58:47] hm.. [21:00:18] jackmcbarn: what do you mean by good use case? I just want to generate a table with a list of pages where a template is used (on my wiki, not on wikipedia) [21:00:48] if it's just for display, then just transclude the special page [21:03:18] that way I can't show the number of such pages, and format the table in a preferred way [21:03:28] or show just some of them [21:08:45] that's an okay use case [21:09:00] so go ahead and file a task if you want [21:09:47] ok, later [22:33:56] Why does "{{{{1x|1x}}}}" show up as "{1x}"? [22:34:12] where Template:1x is "{{{1}}}" [22:43:54] ksft: it is taken as {{{1x|1x}}} between curly braces [22:44:01] ie. parameter 1x, with default value 1x [22:45:16] the default parameter for 1x is "{1x}"? [22:45:22] no [22:45:27] it's 1x [22:45:31] it's interpreted as { {{{1x|1x}}} } [22:45:37] exactly [22:45:41] ah [22:45:41] rather than {{ {{1x|1x}} }} [22:46:16] that parameter, {{{1x}}}, doesn't exist [22:46:24] why doesn't it show up as "{{{{1x}}}}"? [22:46:38] oh, nevermind [22:47:04] how are multiple pairs of curly braces interpreted generally? [22:47:58] Also, what, exactly, determines whether a template that doesn't exist shows up as a Template:whatever redlink or as "{{whatever}}"? [22:48:28] Is it just the presence of characters that can't be in page titles? [23:00:09] ksft: {{{ wins over {{ [23:15:47] Platonides: always? [23:16:01] what about "{{{{{foo}}}}}"? [23:16:55] does it always group from inside out with as many {{{...}}}s as possible, then a {{...}} if needed, then {...} if needed? [23:17:19] er, a {{...}} or a {...} if needed [23:18:12] where "{...}" is literal braces [23:27:22] ksft: just add in spaces, iirc any leading/trailing whitespace is trimmed [23:27:29] so you can do {{ {{foo}} }} and it'd work [23:27:34] (like 80% sure) [23:27:56] also { } isn't a thing [23:33:17] how does the grouping work by default?