[02:17:12] is there a channel for multimediawviewer ? [02:18:10] PuppyKun: not really. i think it falls under the Reading team, they have a channel i think [02:18:54] MatmaRex: I know you! You're super helpful! [02:19:19] MatmaRex: any idea why multimediaviewer fails here? https://ndtest.miraheze.org/wiki/File:Kelroth_01.jpg#/media/File:Kelroth_01.jpg [02:19:27] MatmaRex: the wiki is private. don't know if that has anything to do with it [02:20:15] PuppyKun: sorry, no idea. [02:20:55] check your browser console and see if it is displaying any errors [02:22:06] https://www.irccloud.com/pastebin/zaOjo6XI/ [02:22:11] also check Special:Version to see if it displays [02:22:12] :p seems to be it [02:22:23] p858snake: what should be displaying on Special:Version? [02:22:39] :p i know MMV is installed it shows up there and thats how i found that link, I clicked the "open in multimedia viewer" button [12:17:14] Hi, when I ask for an edit token (cookies : frwikiSession frwiki_BPsession), I have "edittoken +\" [12:17:54] Not logged in? [12:18:32] But there may be a problem with cookies then (?) [12:23:33] strange : Cookie {frwikiSession=xxx;forceHTTPS=true;WMF-Last-Access=19-Mar-2016;GeoIP=xxxx;forceHTTPS=true;frwiki_BPsession=d4xxx;frwiki_BPsession=7nxxx} [12:28:26] In "Set-Cookie", I have only frwikiSession and frwiki_BPsession (is it enough to be logged ?) but two differents frwiki_BPsession values [13:15:59] it works if I remove the first frwiki_BPsession, ok.. [14:45:38] Hi. I am creating a wiki using mediawiki, and was wondering if it's at all feasible to change the HTML generated by the text editor. I ideally want my images and infoboxes to be placed in their own div, so that I can achieve this site structure( to the right): http://imgur.com/UN42Dl3 [14:53:04] Langdal: Doing that in the wikitext parser would be very hard, I guess. Maybe you can come with a JavaScript implementation that creates the div (or modify a skin to include it) and move things there from JavaScript on client side [14:55:02] Vulpix, yeah that's what I feared. I'll have to weight my options. I can do it with javascript, or I can emulate it with CSS with a padding to the right, and negative right-margin for images and infoboxes. [14:55:54] or adapt your wiki code to place infoboxes and images on that div (for example at the start of the wikitext), so you don't need to code anything [14:57:26] How would I do that? Maybe I could make a template called sidebar, that is a single cell table positioned to the right, and put other stuff in that? [14:58:20] I am thinking about user-friendly-ness for people who are not familiar with HTML as well, so I want to make this possible using the VisualEditor. [15:00:23] using a template would mean you need to put infobox and images inside it, as a parameter, and that's usually a bit weird for users, specially when you need to escape pipes or equal signs [15:01:24] Oh yes, I forgot that's how templates work. [15:01:36] What about to import a grid code in MediaWiki:Common.css or in the skin? [15:01:47] simply using a or similar may be more easy, and maybe Visual Editor can handle it better [15:01:57] * Dereckson nods. [15:02:24] Yes but would VisualEditor understand that the div is something that you can put content into? [15:03:01] I usually don't edit using VisualEditor, so I'm not sure... [15:04:45] I can experiment with it, but I doubt it. Alternatively I could replace the default text of a new article to include a right-aligned table with a single cell. The reason I'm suggesting tables for this is because VisualEditor understands tables. [15:05:43] hi, I'm having a wiki family, is possible to use one mediawiki instal but have a different .htaccess for each wiki? [15:06:40] I'm using the switch ( $_SERVER['SERVER_NAME'] ) { [15:06:45] method} [15:59:43] auvajs: per definition, if you have only one physical location, you can't have per-wiki .htaccess [16:02:44] auvajs: on server config you can have different configuration per or , though [17:25:40] hey, is there a way for a template or module to detect whether a given article is a redirect? The wiki in quesiton has ParserFunctions, StringFunctions and Scribunto installed [17:25:59] Fenhl: yes, in Scribunto, mw.title.new('whatever the title is').isRedirect() [17:26:06] Anyone familiar with abusefilter-warning-uploaddisabled verification error? I'm trying to upload to test2 and am getting that error in the response [17:26:41] jackmcbarn: and it's not possible in a plain template? [17:27:13] Fenhl: i don't think so, but it's not hard to build a wrapper template to do that in Scribunto [17:27:33] tydanielson: users who aren't autoreviewers can't upload more than one file per hour to that wiki [17:27:40] okay, I guess I'm writing my first module today :D [17:27:58] tydanielson: what do you have to upload to that wiki that you can't just put on commons? [17:28:32] jackmcbarn: I'm testing out an application that performs uploads for users [17:28:38] tydanielson: actually, i see that an admin has manually blocked you for uploading copyvios [17:28:50] you can't use copyrighted files to test with [17:29:05] jackmcbarn: ya that was my mistake [17:29:23] jackmcbarn: it might be useful for that template to return the name of the page it's redirecting to, is that possible as well? [17:29:35] jackmcbarn: i have some files of my own but ran with one I had pulled from Google [17:30:03] Fenhl: a limitation of scribunto is that there's currently no easy way to do that. the hard way to do it is already written at https://en.wikipedia.org/wiki/Module:Redirect [17:30:23] so you can just copy and paste that to your wiki (as long as its license is compatible with wikipedia's) [17:30:42] jackmcbarn: is there anyway I could get that file that was uploaded deleted and unblocked? [17:31:46] tydanielson: go to https://de.wikipedia.org/wiki/Benutzer_Diskussion:DCB and explain what you did and ask him to unblock you (don't worry, he speaks english even though that page is german) [17:32:04] jackmcbarn: ok thanks [17:32:20] Fenhl: once you have that page on your site, just do {{#invoke:Redirect|main|whatever the title is}} [17:32:57] sweet [17:33:44] it's CC-BY-NC-SA, which is compatible iirc, right? [17:33:52] sadly no [17:33:55] -NC makes it incompatible [17:34:09] oh [17:39:31] The wiki footer says “Content is available under CC BY-NC-SA 2.5 unless otherwise noted.”, so can I note on the module page that it has a different licence and link to the original on Wikipedia? [17:42:18] Fenhl: IANAL, but it looks like that would work. [17:42:53] the key is this definition: [17:42:53] Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. [17:43:40] i wouldn't call pages that call that module Adapted Material, so you'd be allowed to do that then. (if pages that called it were considered Adapted Material, then that wouldn't be good enough, because all of those pages would then also have to be just BY-SA, although i don't interpret it that way) [20:47:52] Is there a way of getting a copy of MediaWiki already set up in the same way as WikiBooks?