[00:55:00] How do I find and remove unused/old pages? [01:01:12] crhylove: what are "unused/old pages" for you? [01:03:43] I have a wiki that is ideal for more than one client, but I want to remove all the irrelevant pages from one of the client's wikis. [01:03:58] Many of the pages are not linked anywhere. [01:08:21] For now, I'm just hitting random and deleting whichever page isn't relevant. A slow, laborious, and not at all thorough job. [01:10:19] if they aren't linked anywhere Special:OrphanPages [01:10:29] also Special:AllPages [01:17:20] p858snake, Thanks! [01:27:36] in my wiki, how to create Project page just like Support desk in Mediawiki? [01:28:00] I want it look like a discussion page [01:29:50] anyone? [01:33:57] JHKTW: A extension called Flow is used for that on Mediawiki [01:34:08] !e Flow | JHKTW [01:34:08] JHKTW: https://www.mediawiki.org/wiki/Extension:Flow_ [05:05:04] !admin please block AlvaroMolina per vandal in mediawiki.org [05:05:04] To recreate the admin user, run "php maintenance/createAndPromote.php" on the command line. [05:05:07] !admin please block AlvaroMolina per vandal in mediawiki.org [05:05:08] To recreate the admin user, run "php maintenance/createAndPromote.php" on the command line. [09:42:13] hello [10:37:23] do you happen to know why it doesn't work? http://www.allaze-eroler.com/wiki/File:Spoiler_alert.svg [10:37:38] i leave the debug mode so, you can see what is wrong [10:42:03] allaze-eroler: looks like weird rewrite rules or something? when trying to visit http://www.allaze-eroler.com/w/images/thumb/0/0d/Spoiler_alert.svg/512px-Spoiler_alert.svg.png (the thumbnail), it redirects me to the main page of the wiki [10:42:18] ah [10:42:23] that could explain why [10:43:56] you were right about it [10:45:52] refresh [10:45:57] and see if it worked [10:55:06] going to lunch [11:10:37] back [11:26:12] still not worked... [11:30:23] http://www.allaze-eroler.com/wiki/File:Spoiler_Alrt.png even this version doesn't work... [11:34:02] well, it's broken differently though. [11:34:03] http://www.allaze-eroler.com/w/images/thumb/5/5c/Spoiler_Alrt.png/600px-Spoiler_Alrt.png [11:34:15] are you sure you have imagemagick installed? [11:35:39] how do i know that? going in special:version? [11:39:58] log in via SSH and run `convert -h` [11:40:03] ok [11:40:07] if it prints lots of text, you have imagemagick; if it doesn't, you don't [11:40:43] `convert --version` might be neater :) [11:43:45] indeed, much better XD; [11:44:16] weird, it's installed [11:44:52] Version: ImageMagick 6.8.9-9 Q16 i586 2016-05-16 http://www.imagemagick.org [11:53:57] ah [11:54:00] it worked now [11:54:40] i just have to switch this: $wgUseImageMagick = false; $wgGenerateThumbnailOnParse = true; [12:05:49] ahhhhhhhhhh i think i know why: it's because i'm on a shared server which it explain why i wasn't able to convert it: $wgImageMagickConvertCommand = "/usr/bin/convert"; [12:48:55] apparently the imagemagick is not a problem but the real problem is in localsettings file... [13:00:24] oh well, i think i wll give up for the svg file... [13:10:06] how to make the images directory writable? [13:10:44] the chmod number is this: 705 [13:31:45] i just learned something: apparently i can't use imagemagick on a shared host... [13:51:13] http://www.allaze-eroler.com/wiki/Template:Spoiler what do you think of this template? [13:52:13] via the chmod command. [13:54:25] and one question: how i make something like this: {{spoiler|major}} or {{spoiler|book}} or still {{spoiler|comic}} ? [13:54:44] for about the chmod, already fixed few minutes ago [14:08:33] allaze-eroler: you can use e.g. {{{1}}} to access the contents of the template parameters [14:22:57] i think i found a solution: after i created each template, all i do is create a new template that will use this: {{#if: {{{spoileralert|}}}|{{!}}[[spoileralert]]{{!}}{{!}}{{{spoileralert}}}}} so, i will be able to call [[spoiler|spoileralert]] [14:23:05] i will test it out [14:24:18] ah almost [14:39:24] look like it's not working... i probably did an error somewhere [14:40:26] {{#if: {{{spoileralert|}}}|{{SpoilerAlert}}|{{{spoileralert}}}}} that is what i did as template in order to call the spoileralert template which you can find here: http://www.allaze-eroler.com/wiki/Template:SpoilerAlert [14:52:48] still not good... [14:52:55] but i'm getting close! [15:14:15] Meneth: are you here? [15:29:17] allaze-eroler: Yeah. [15:29:49] ah hello, as you can see, i'm troubling getting that if command right ^^; [15:30:32] that is the template i made: http://www.allaze-eroler.com/wiki/Template:SpoilerAlert [15:31:50] i wanted to display each template like that follow: {{spoiler|major}} or {{spoiler|book}} or still {{spoiler|comic}} [15:32:33] or even combining all of them in one like here: {{spoiler|major|book|comic}} [15:32:55] do you know a solution? [15:33:27] so far, i managed to get this: {{#if: {{{spoileralert|}}}{{!}}{{SpoilerAlert}} {{!}}{{!}} {{{spoileralert}}}}} but it seem it have some error [15:38:13] allaze-eroler: I don't really understand what you're trying to do, sorry. [15:38:21] ok [15:38:39] i was trying to display different ambox of spoiler [15:39:01] with a simple comand type [15:42:52] like this page for example http://starwars.wikia.com/wiki/Han_Solo [15:43:29] or here http://starwars.wikia.com/wiki/Selonian with the {{eras|type=legends}} [15:43:59] notice the "type=legends" syntax [15:44:45] Well, you'll want some sort of switch statement on the type, then. [15:45:03] You can probably look at the code for one of the templates you're referencing. [15:45:15] i see [15:45:21] Look at hte source? [15:45:22] http://starwars.wikia.com/wiki/Template:Eras?action=edit [15:45:31] i already tried problem: they use lua as module [15:45:32] It's not even done in wikitext/templates; it's Lua [15:45:41] ^ [15:46:16] There's a reason people switched to using it [15:46:39] and which my scribunto is not working well on my server [15:48:53] I suspect fixing it would be a better use of your time [15:49:01] Than trying to reinvent the wheel with wikitext and templates [15:49:09] Though, these things have likely been previously done anyway [15:49:10] yes [15:49:16] it's true [15:49:28] but so far, i get an error 127 [15:49:54] https://www.mediawiki.org/wiki/Thread:Extension_talk:Scribunto/Lua_scribunto_error_on_many_pages_(status_127) [15:50:06] I see you replied on it already [15:50:26] What OS are you on? [15:50:56] unknown since all i get is "linux" and apparently, it's a custom debian os [15:51:11] no mention that i can't use the sudo... [15:51:24] it's a shared host T_T; [15:51:42] It's certainly packaged for debian https://packages.debian.org/jessie/lua5.1 [15:53:06] wich link should i click ? XD; [15:54:18] no mention i don't see a single word "download" ^^; [15:54:20] Who's the provider? [15:54:25] ovh [15:54:41] "Download lua5.1" [15:54:41] at the bottom [15:54:41] What package/whatever? [15:55:24] oh it was "télécharger"... didn't realise it's set on french XD; [15:55:38] for that, no idea [15:55:44] wait a second [15:57:09] If the required libraries are installed... You could just download and extract hte dpkg [15:59:14] ok, how can i know what package is? [15:59:28] depends on architecture [16:02:10] that is the list i get when i go in cd /etc: https://dl.dropboxusercontent.com/u/14183130/inthehuntoflinux.txt [16:03:57] that is the version of my server os: https://dpaste.de/etDa [16:05:09] and like i said early, it's probably a modified debian... [16:05:36] It's probably fairly stock [16:05:36] at worse, a custom kernl [16:05:36] *kernel [16:05:52] let see that kernel then [16:07:14] no mention that they don't use "sudo" command... [16:07:34] it'd be fairly common on shared hosting that you're not allowed [16:08:20] that is what i figured out [16:09:34] when i typed "make debian" in lua folder from server, i get error which it's annoying [16:09:50] because it's not the name of that os server.... [16:10:40] just wondering... [16:11:06] i hope it wasn't too obvious to not notice that... [16:19:02] i know it's possible to type uname -a but is there a different command line ? [16:19:11] to do what? [16:19:33] to display a name [16:19:56] of? [16:19:57] like apt -v but instead, i use apt -version [16:20:17] to display just the name not the detailed information [16:20:31] of what? [16:20:41] uname [16:20:45] lsb_release -a [16:20:45] ? [16:20:48] uname has various optons [16:21:28] the "-a" modifier is precisely to display all the information :) [16:21:40] that is what i though [16:22:02] interesting [16:22:04] No LSB modules are available. [16:22:41] and that is what i get : [16:22:49] Linux ssh1.240.ha.ovh.net 3.14.51-grsec-hosting-3.14-grsec-ipv6-64-vps #1 SMP Wed Jan 27 12:10:00 UTC 2016 x86_64 GNU/Linux [17:55:09] is there a way to rate limit edits, page creations, etc. so that people can't abuse the system (and create a billion pages, or do a ton of edits in a super super short period of time) [17:55:46] teward: https://www.mediawiki.org/wiki/Manual:$wgRateLimits [17:55:55] Vulpix: thank you! [17:56:11] yw :) [19:57:53] Question for all those infinitely more knowledgeable than me: [20:00:54] …okay