[10:13:00] hello. We are developing a game, and using gamepedia to take content from the source code and display it in a wiki. So far only exports work, but the intention is to make this 2 way. We also have only been doing this for less than a week. Gamepedia uses mediawiki internally. Because we are so new at this, we cannot tell if something we want to do is in the category of 'doesn't exist, if you want it you will need to [10:13:01] write it yourself' or whether we just don't know the proper search terms to use. [10:13:09] This is easier shown. [10:13:31] http://startraders.gamepedia.com/Starting_Ships [10:14:22] is our current page full of in game ship information. It would be nice if people could select 2 ships and have them display, side-by-side so they could more easily compare them. [10:14:51] Does this sort of functionality already exist? And if so what is it called? [10:14:56] Thank you. [10:44:55] Hi. I am working on a forked Mediawiki. I am trying to add a class to the (username, talk page link, and timestamp). I used the system message Mediawiki:signature to class the name and talk page link. But I cannot include timestamp. May i know the core file that does this? This is not a production wiki. I am just hacking it for fun by the way. Can anyone help? [10:45:22] Page in discussion: User_talk [10:46:24] aha! due to the magic of finding what you are looking for as soon as you have asked the question, I now see that what I am looking for is part of SemanticMediaWiki. Which gamepedia also supports. But I am asking my question in the wrong channel, and now that I have the correct manual maybe won't even have to ask. Sorry to bother you all. [10:51:43] Anyone? [10:55:15] Please help. [11:03:20] * Leopols hoping someone sees this... [11:23:26] I would like to update some details on wiki about me, what is the process [11:24:21] Please update [11:25:53] Satish: Which wiki? [11:26:03] Your own installation of MediaWiki? [11:26:15] Or do you refer to some website, like e.g. "English Wikipedia"? [11:28:11] May I know which file parses mediawiki signature and generates the timestamp? [11:30:21] Leopols: ./includes/parser/Parser.php I'd guess [11:31:43] andre__, Thanks. Is there a way to hook that behaviour? I mean, is there an easy way to render the signature and timestamp on a user talk page inside a div? [11:32:32] no idea, sorry [11:33:10] I wanted my profile to be uploaded [11:33:22] Satish: Where? [11:33:30] Satish: See my questions above. [11:33:58] Does "Profile" mean your user page starting with "User:"? Or some article? [12:06:54] andre__, Many thanks mate. I got it to work. [12:09:57] yw [13:55:33] Could anyone check out https://phabricator.wikimedia.org/T159028 ? [14:26:47] DatGuy: That would require a link and reading, before even finding out if the topic in that link is relevant to me. Hence unlikely that people will click without any more info here. [14:27:36] basically, it is a request to unpatrol moved pages. the setting is currently not in initialisesettings.php, and I wonder whether it is even implemented as an option currently. [14:28:24] DatGuy, https://phabricator.wikimedia.org/T98617 is the direct parent task? [14:28:52] dumb me, didn't see that, but yes [14:29:02] could anyone with a lot of spare time review https://gerrit.wikimedia.org/r/#/c/251794/ [14:29:03] hence T159028 is probably status = "stalled" (blocked by non-existing code)? [14:29:03] T159028: Unpatrol moved pages on English Wikipedia - https://phabricator.wikimedia.org/T159028 [14:29:18] feel free to set that task status... [14:30:06] thanks [17:25:52] I am actually an admin in the Hebrew edition of Wikivoyage... I am looking for help with a technical aspect of mediawiki - how do I install an extension (do I need access to the wiki's file system to do that?) [17:30:41] WIki-Junkie: Installing an extension is generally just a matter of downloading the extension and editing your LocalSettings.php (see https://www.mediawiki.org/wiki/Manual:Extensions#Installing_an_extension ) [17:30:57] Do you have access to your wiki's file system? [17:31:14] I am an admin there [17:32:02] other more techy admins have installed extensions before (unfortunately they have left) [17:32:17] so I assume I have the access to everything I need to do this [17:32:22] I am just not sure how [17:32:34] I am supposed to upload a file ? [17:34:43] I might let a more experienced user give you the exact steps but generally yeah, an extension is composed of a set of files. So you put the extension's folder with all its files on the wiki server's filesystem. Then you activate it by editing the LocalSettings.php file which should also be there [17:36:38] So I need access to the Wikivoyage ftp? [17:38:26] isn't wikivoyage a wmf project? [17:39:00] yes [17:39:00] WIki-Junkie: nope, you need a local discussion with wikivoyage users and after a consensus just go to phabricator and open a task [17:39:31] we have no active users except for myself, and I am the admin [17:40:34] so I understand that I cannot install any extensions without the help of phabicator, right? [17:40:48] yes [17:41:06] and since it is impossible to get a consensus without an active community, this would be impossible, right ? [17:41:26] if you make a discussion and no one else says anything, I'd say consensus is clear [17:41:26] I think so [17:42:58] WIki-Junkie: https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes :) [17:43:18] thanks [17:43:37] I just want to delete around 2000 articles in my userspace. [17:44:14] I saw that the only way to do that would be with a batch delete extension [17:44:18] is that really so ? [17:44:20] You could use a bot like pywikipedia to do that? [17:44:54] https://www.mediawiki.org/wiki/Manual:Pywikibot https://www.mediawiki.org/wiki/Manual:Pywikibot/delete.py [17:45:36] I have never used a bot [17:45:44] would that be hard to install and manage ? [17:46:24] perhaps https://he.wikivoyage.org/wiki/Special:Nuke ? [17:47:16] hmm... let me check if that works :) [17:47:18] thanks [17:48:53] unfortunately ... that is only for deleting pages created recently... [17:49:10] and I need to delete pages created within the last 3 years or so [17:49:14] :( [17:49:49] wiki isn't easy... [17:50:07] sometimes I end up doing manual task for days on days [17:50:11] because there is no simple way around it [17:50:20] seems like this would be such an instance [17:50:24] :( [17:51:01] is there no steward or upper level user whom can help me with doing this automatically ? [17:51:16] Read the Pywikibot manual I linked above and see if it looks like something you could use [17:52:23] I looked over the manual, and unfortunately that looks like Chinese to me :) [17:52:46] that's unfortunate [17:53:39] is there a way to display a date/time not just in the format of the user's preferences, but also in their timezone? [18:03:00] hi all. I've tried installing an extension, and my wiki just doesn't render anything any more. I'm wondering where to find some logs or debug information on what's going on. [18:04:25] Raazeer: check out https://www.mediawiki.org/wiki/Manual:How_to_debug [18:04:44] (also did you run the update script?) [18:05:17] waifu, the installation instructions didn't say anything about an install script. [18:05:49] waifu, it's this here: https://www.mediawiki.org/wiki/Extension:MobileFrontend [18:06:31] waifu, (I should add that I know next to nothing about mediawiki, and only a little php) [18:07:06] I don't know much either, I just know of the how to debug page :P [18:07:14] best of luck to you [18:07:28] waifu, I'll definitely give it a shot. [18:09:14] waifu, that helped, thanks. [18:09:25] not that I know what to do, but at least it tells me what's wrong. [18:11:35] glad to hear it [18:12:04] I think I see the problem. it says use MediaWiki\MediaWikiServices; at the top of MobileContext.php and I get Fatal error: Class 'MediaWiki\MediaWikiServices' not found. [18:12:59] Unfortunately, what I don't see is any solution ideas. [18:13:51] how can that even be? MediaWikiServices looks pretty central from the docs I could find. [18:19:27] what MediaWiki version are you running? [18:20:32] can i use images of wikipedia like film posters commercially [18:21:19] i want to use film posters [18:22:10] it is fair or not [18:22:41] muthu: Welcome to the support channel of the MediaWiki software. [18:23:16] muthu: for Wikipedia or Wikimedia Commons questions there are probably better channels, and https://commons.wikimedia.org/wiki/Commons:Reusing_content_outside_Wikimedia [18:23:40] thank you [18:24:56] can i use all the images from this site commercially [18:27:35] muthu: See https://commons.wikimedia.org/wiki/Commons:Reusing_content_outside_Wikimedia [18:28:00] muthu: That page will also tell you that there is no "from this site" policy. [18:28:10] You need to read and understand the licenses of each file you might want to use. [18:28:21] legoktm, according to this, 1.25,2 [18:28:41] with php 5.5.38 [18:28:54] muthu: Either ask in #wikimedia-commons (if your images are on Wikimedia Commons) or #wikipedia-en (if you refer to English Wikipedia) for any further questions. Thanks! [18:29:08] Raazeer: that version is no longer supported. you should upgrade at least 1.27 or 1.28. [18:29:24] Raazeer: .....also for your own safety. [18:29:37] legoktm, not so easy, I'm running this on a nas appliance. [18:29:58] thank you so much bro [18:30:01] I'm not really familiar with those, is there something about it that makes it tough to upgrade? [18:30:28] legoktm, aamof, there is an upgrade available, I'm running that now. [18:30:38] i am new for youtube [18:31:19] so i cannot use it easily [18:31:33] legoktm, that took me to 1.27.1, how does that sound? [18:31:38] that should work [18:31:52] make sure you're using the MobileFrontend version for 1.27 as well [18:33:40] legoktm, at least it's not totally conking out any more, that's a huge improvement. I think I'm using 1.28 right now, I'll fix it. [18:34:04] great [18:36:10] legoktm, MobileFrontend reports as 1.0.0 on the Version page, but I replaced the .28 version with the .27 one. [18:36:23] they probably didn't change the version number [18:36:28] it should be fine [18:37:23] legoktm, ...aaaand it works like a charm, thanks a ton! [18:37:30] you too waifu. [18:42:17] :) [21:36:12] We've upgraded from 1.24 to 1.27.1 and are having trouble getting VisualEditor to work. Parsoid is going with no errors showing in its log, but we just get a whited out screen when we try to "edit" with visual editor. [21:38:30] We get a bunch of warnings about using mw.config instead of "wgArticleId" and similar variables, and an error that importStylesheet is not defined - not sure if either is relevant (though the latter seems likely) [22:01:57] !blankpage [22:01:57] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [22:02:00] Temporus23: ^ [22:02:52] Thanks legoktm, sorry I wasn't clear: it's not a WSOD, and neither PHP nor Parsoid's log shows any errors. It's the semi-transparent overlay that I believe VisualEditor is intended to make, but then it doesn't go any further. [22:04:19] hmm [22:04:26] are there JS errors? [22:04:39] I would also check the network console and see if the API requests that VE is making work [22:05:23] Yes - js error about importStyleSheet not being defined, and a few warnings about wgArticleId and similar variables being defined in a deprecated way, rather than through mw.config. [22:07:47] (AFK to pick up kids, but interested in any advice, questions or links) [22:08:09] so something is probably calling importStylesheet, throwing a JS error, which prevents VE from loading further [22:08:16] I would figure out where that error is coming from [22:08:20] ?debug=true might help [22:09:20] Probably the difference from $wgIncludeLegacyJavaScript [22:11:26] I'm fairly sure it's from an extension trying to add functionality for sysops, but wasn't sure whether I need to ditch the extension or whether there's a good way to patch it if importStyleSheet isn't usable anymore. is $wgIncludeLegacyJavaScript a var I can turn on that would allow importStylesheet to work? [22:13:25] Temporus23: For the moment, but eventually in later versions it will get removed [22:13:37] The extension is supposed to declare that it needs mediawiki.legacy js module [22:13:48] Okay! The var is getting rid of that error, thank you! VisualEditor now throws "Right-hand side of 'instanceof' is not an object" so when I get back I can dig in with debug=true to find out what that's about. legoktm, thanks for the help. [22:14:10] bawolff, defining it in LocalSettings.php seems to be doing the trick, at least with the one error. [22:17:25] can $wgRCFeeds be used to send recent changes to IRC still? [22:18:23] rockfordglitter: I imagine. irc.wikimedia.org/en.wikipedia still works [22:20:50] i'm going to guess there's no easy way to send RC feeds to Slack [22:21:51] but IRC is TCP and UDPRCFeedEngine sends UDP [22:21:55] am I missing something? [22:21:57] i'd think that there must be like a dozen different slack<->IRC connectors [22:22:30] The irc feed support just sends udp packets to another process which then puts it into irc. MW doesn't send it to irc itself [22:22:41] so just hook it up to a slack client on the last step of the way [22:22:47] gotcha [22:23:52] for $wgEnableDnsBlacklist, is there any easy way to limit its use to user signups and not every single edit? or maybe for edits from non-autoconfirmed users [22:25:26] you could also skip the middleman and write a new feed engine as an extension that talks directly to the slack web API [22:28:12] there's hardly any documentation for that I'm able to find though [22:28:51] I think there's a right you could give out to have the blacklist be ignored for some users (proxyunbannable or something) [22:59:36] Hi. It looks like my global scripts just stopped loading [23:38:48] hi all. Do you know how to use {{#time: Y-m-d }} without localised version? [23:46:19] I want to use {{#time: Y-m-d }} parser on gu, but want outcome date in roman script (without internationalisation/localisation) [23:46:47] or any otherway to convert local numbers in roman script [23:55:48] Dhaval_: you can convert numbers to 123… using {{formatnum:૧૨૩|R}} [23:56:02] Dhaval_: and the other way, {{formatnum:123}} [23:56:32] Great, thanks MatmaRex [23:59:22] so, can I use it as {{formatnum:{{#time: Y-m-d }}}}?