[00:47:41] svetlana: its a limitation based of page name limitations [00:48:05] Because the wiki Only sees Title [00:48:19] Title and title must redirect there [00:48:44] however if two users register with Title and title, what happens? [00:49:27] if wgCapitalLinks is set to false however that issue disappears as both Title and title become valid pages [02:13:09] can you guys give me some tips for my wiki please [02:13:12] www.defoo.org [02:15:56] vague question is vague [02:24:46] can you offer me any tips for improvement? [12:50:17] I'm using this line to include an image on a wiki page [12:50:21] [[File:Syndicate uplink.png|frame|right|64px|The Syndicate Uplink Radio.]] [12:50:42] the image is a measly 32x32 image, so I added the 64px part [12:50:46] but it's not being resized [12:51:11] I checked and the format is correct. I've been previewing the edit until I can fix this. [12:52:17] This wiki has a bit of a problem with thumbnails not being generated too. I think the cache directory is not set correctly, but I'm saying this because it might be relevant. [12:52:41] The preview shows the image, but in its original size. [12:52:50] Nahiyan: the "frame" option does not allow resize [12:52:59] ahh [12:53:01] you should change it to "thumb" [12:53:19] "frame" always displays the image with the original size [12:53:45] adding thumb doesn't let it resize as well. Without anything (same as frameless?) it resizes [12:54:16] hmm [12:58:19] any idea? [12:59:08] I could omit both thumb and frame and add border [12:59:10] it works [12:59:20] but thumb would be nicer :9 [12:59:22] Nahiyan: I don't think MediaWiki is usually happy to scale images up...but I'm not sure [13:00:17] mm [13:00:26] I have this line from https://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax#Type [13:00:39] Only scaling an image down, not up, will work when "frame" is used. ~ Wikipedia [13:03:22] I think I found it [13:03:27] Wikipedia: In the case of images with captions, if the image is already smaller than the requested size, then the image retains its original size (it is not enlarged). In the case of images without captions, the image will be enlarged or reduced to match the requested size. Sizing is disabled when a 'frame' is used. [13:04:07] frame doesn't resize, neither up or down [13:04:14] nope.. not being enlarged with thumb [13:04:20] I guess because it has a caption. [13:04:45] It's not being enlarged with thumb & caption [13:05:30] So remove the caption. [13:05:53] sorry, I meant w/ thumb and without caption [13:06:00] >_< very irritating [13:06:33] It is enlarged without either thumb or frame [13:07:06] Nahiyan: What about frameless? [13:07:14] (don't actually use it, but as a curiosity) [13:08:27] not enlarged w/ frameless, w/o caption [13:08:44] enlarged w/o anything, w/o caption [13:08:45] ??? [13:10:18] Weird. [13:10:48] :( [13:11:13] it might be a problem with the wiki, though [13:12:28] let me check it in a wikipedia sandbox [13:13:05] Nahiyan: What version are you using? [13:13:54] uh [13:14:27] looks like it's 1.22.5 [13:14:53] Hm. [13:15:04] I don't remember any obvious problems with 1.22 [13:15:58] what [13:16:08] wikipedia sandbox isn't even sizing it 64px [13:17:27] okay [13:17:49] I tried w/ frame, w/ thumb, w/ frameless, w/o anything [13:17:57] caption doesn't seem to be affecting anything [13:18:12] Nahiyan: Why not just resize the image? [13:18:13] adding frame/thumb/frameless removes the enlargement [13:18:43] marktraceur, it's an image of an item. The wiki is for a game. [13:18:58] there's tens of items, and resizing one up looks inconsistent [13:19:03] but I suppose that's a good idea [13:19:15] because I was trying to resize a lot of them up as well [13:19:25] hmm I suppose I should get a bot for that [13:20:31] I guess I'll keep it as thumb or frame and manually resize that [13:20:36] does that sound good? [13:22:45] alright.. [13:50:07] Nahiyan: If you make the source image bigger, you can downsize as needed. Upscaling is less reliable anyway. [14:03:44] ok [14:03:50] I was going to do that marktraceur [14:04:01] as part of upscaling every item on the wiki [14:04:49] the wiki is generally a mess [14:05:49] do you know of any text that could help me improve the wiki into a reliable one? [14:06:00] e.g. essentials for a wiki [14:06:19] !fast [14:06:19] [14:06:30] Nahiyan: Or do you mean templates? [14:06:50] oh no, I'm talking about the management stuff [14:07:01] templates work too [14:07:08] but the editors are uncoordinated [14:07:33] it has an aspect of humour but I wanted to downplay that [14:07:47] that even harms the readability of many articles [14:08:18] I see wikipedia has many manuals of style, formatting standards, etc. for things like this [14:12:11] Nahiyan: You can use the Project: namespace for stuff like that [14:12:31] Nahiyan: I'm not sure if there are universal truths in managing wikis, but having guidelines tends to be good [14:14:17] I was trying to use the Help: namespace [14:14:30] the wikiname is long [14:16:54] it was the shortest and most appropriate one I could find [14:18:21] Nahiyan: You can just use Project: [14:18:28] There's a setting for overriding it, you could turn that off [14:18:40] Or register a shortcut like WP: for Wikipedia: [14:18:48] that's the problem [14:18:52] I'm not even an admin [14:19:00] Well, then [14:19:04] the admins there are shit [14:19:26] disregarding my requests to become a wiki admin [14:19:49] that seems fair enough [14:20:04] all of the wiki admins there was inactive for several months, and after my bickering one of them joined up [14:20:52] he deleted the 23 duplicate pages I had put into Category:Slated for removal [14:21:18] that was good [14:22:06] Anyway, I suppose I can edit and move all but the only three protected pages (including the main page) [14:25:53] Sorry for the complaining... there's nothing I can do but complain [14:27:51] Well.. off to copying templates [15:08:13] okay, I have a question [15:08:57] is it possible to add an item in the table of contents list without displaying the large header itself? [15:10:56] no, it displays the same as the header (except images and formatting) [15:11:22] I mean [15:11:54] I have a template which takes an object's name [15:12:31] is it possible for the template to add "Football" to the ToC list without displaying an obstrusive header every time? [15:12:33] http://nanotrasen.se/wiki/index.php/Syndicate_Items [15:17:44] Nahiyan: well, you can style the heading if you use the HTML representation. For example,

Item

[15:18:20] ah [15:18:23] good idea [15:18:49] hmm but it brings the problem of using the correct header number, i.e. h3 or h4 [17:55:04] What's the best way to clone the AJAX watching for an extension? Extension:Favorites uses the same logic and could use that as well. [18:20:12] I have a problem, I can't seem to redirect one image to another [18:21:03] A.png and B.png were already made, I added #REDIRECT [[:File:B.png]] to A.png's page but it didn't work [18:22:05] what's the result? [18:27:45] Nahiyan: the redirect will only work if there's no image under A.png [18:28:16] Nahiyan: so try deleting A.png, then create the page "File:A.png" with "#REDIRECT [[:File:B.png]]", without uploading the file [18:46:50] ok [18:47:01] MatmaRex, thank you! [18:48:14] Hi! [18:48:47] After moving to a new server, the CustomUserCreateForm doesn't work anymore [18:49:11] this is probably caused by the changes in PHP (old server: 5.3.x, new server: 5.4.x) [18:49:33] the hook used by the CustomUserCreateForm extension passes around the template by reference [18:49:59] and PHP 5.4 has quite some changes for passing by reference [18:50:23] Does someone have an idea how I could work around that issue? [18:57:59] ah, found it :-) [18:58:27] the function parameter in CustomUserCreateForm needs to be &$template instead of $template [19:01:14] ah, CustomUserCreateForm is an extension [19:01:26] yes, sorry for not mentioning that ;-) [19:01:49] uh, code on wiki page :S https://www.mediawiki.org/wiki/Extension:CustomUserCreateForm [19:02:26] yes, and the funny thing is that it's fixed there since 2012, but I didn't notice that [19:02:32] so yes, one more reason to use git ;-) [23:08:58] Hello, I'm really new to Mediawiki. Does anyone know what the advantage of enabling subpages is? Even if they're disabled, I can still use slashes in page titles, I don't really understand the difference. [23:09:40] AFAIK you'll get "backlinks" to the main page in the page header [23:09:47] so foo/bar will contain a link to foo [23:09:50] Ooh [23:10:00] I've seen that, that's awesome. I'll definitely enable it then. [23:10:02] Thank you :)