[04:34:39] hi, how can i justify the notes, i add in my wiki? [04:57:59] no body can answer me?? [05:06:17] sasan: What do you mean the notes? [05:06:34] btw I probably can't help you anyway\ [05:08:11] assume i write sth in my wiki in any page, how can i justify it? [05:13:55] how can i justify/ [05:13:56] ? [05:15:19] Sorry I don't think I can help you with that. [05:17:23] sasan, do you mean change the typographical alignment? [05:18:20] alignment of my notes [05:18:21] yes [05:19:19] you could change mediawiki:common.css and add "text-align:justify" to the appropriate element(s) [05:20:05] i just add text-align:justify [05:20:07] just this [05:20:13] without any other things [05:20:16] as prefix [05:20:20] of suffix [05:21:29] no, probably this is sort of what you want: #mw-content-text p {text-align:justify;} [05:21:45] a min [05:21:47] i am testing [05:21:50] thanks [05:21:54] that'd justify all paragraphs in the main content bit if you're using the vector skin (and probably others) [05:27:52] i add this in common.css [05:27:53] html, body {font-family: "B nazanin";} text-align:justify [05:27:56] is it ok? [05:30:32] it is not ok, i think i lost format [05:30:33] yes? [05:32:07] sasan, yeah, that's not quite right, but nearly [05:32:38] put the text-align bit inside the braces (but after the semicolon) [05:32:52] how? [05:33:07] [text-align]:justify [05:33:08] ? [05:33:08] html, body {font-family: "B nazanin"; text-align:justify; } [05:33:43] yes, it is ok. [05:33:45] Thanks [05:33:47] :-) [05:33:51] but, you prob don't want to change 'body' but rather something with smaller scope, like '#mw-content-text' [05:33:54] no worries! [05:33:55] :) [05:34:09] can i ask a nother question? [05:34:24] i register my wiki in a dns server [05:34:43] parswiki.servehttp.com [05:34:55] now i can connect it by this link from remote [05:35:03] but locally i can not [05:47:33] could help me with that problem also? [05:54:43] is connecting to a database over ipv6 supposed to work? i can't get it to (mediawiki 1.22.8, php 5.5.14, mysql 5.6.19, i have root access) [05:55:03] the only relevant thing i'm finding is this, which suggests the answer is no: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Mediawiki_connection_to_MySQL_on_FreeBSD_through_IPv6 [05:55:46] you mean i connect to my wiki through IPv6? [05:55:50] i'm not using a private address [05:55:56] the database connection [05:56:20] i've had no issues with the web connection over ipv6 [05:57:21] RobotsOnDrugs: MW just passes the host parameter through to the client, so any issue would presumably not be specific to mediawiki [06:00:06] i can't tell [06:04:54] oh, it looks like a mysql misconfiguration [06:05:30] i tried with another webapp i have running and it told me what the actual problem is [06:24:02] fixed mysql config, but mediawiki still can't connect to the database [06:24:41] the other webapp can now, and i can access a mysql shell with MW's credentials and the host it connects from [06:25:57] i wish i could see what the specific error is [06:30:13] How do i get the namespace name from the number ? [06:33:37] ragno: in PHP or from the API? [06:45:20] legoktm: PHP [06:46:58] if you want the english / cannonical name, use MWNamespace::getCanonicalName( $id ), let me find out how to get the localized one... [06:48:08] $wgContLang->getNsText( $id ) [06:51:59] could any body answer my question? [06:54:02] legoktm: Actually, i was matching it against the result from Title::getPrefixedText. So which one should i use ? [06:54:19] oh, do you have a Title object? [06:54:28] you can use $title->inNamespace( $id ) [06:56:25] legoktm: no, its stored in rc_params of the the recent changes table as a serialized array(when moving pages). I was trying to find which namespace a page has been moved to [06:57:28] legoktm: Like this -> a:2:{s:9:"4::target";s:12:"Talk:Page554";s:10:"5::noredir";s:1:"1"; [06:58:34] i get the name from id and then search for "Talk:" (or anything else) in that field [06:59:20] umm, maybe add it as an additional parameter? [06:59:26] what exactly are you trying to do? [07:01:40] given a namespace, find all page moves to that namespace [07:27:27] no body can answer me [07:27:28] ??? [07:31:27] could you please help me??? [08:01:59] dear all, i run my wiki on a pc, i have ip public and i route port 80 on my router [08:02:09] then i register this ip in dns sites [08:02:36] now i can remote to it through link parswiki.servehttp.com [08:02:46] but i can not conenct it locally [08:02:48] why? [08:04:02] because you cannot access your own public ip from behind NAT [08:04:39] so what should we do? [08:04:44] the router your provider will see the same destination and source ip and will drop the packet [08:05:20] is there any way to fix this probem? [08:05:44] use a local dns server to resolve to local addresses or get more public addresses [08:05:58] this is more a topic for ##networking [08:06:26] you mean i should ask this question in networking IRC?? [08:06:43] you may get more help in that channel [08:07:01] #networking?? [08:07:03] /join ##networking [08:07:36] ok, i will aks there [08:08:01] dear i can not use number in my wiki [08:08:03] for example [08:08:04] 1- [08:08:06] 2- [08:08:20] if i use that, a rectangle will be added automaticlly [08:08:21] why? [09:37:24] hi, i want to add list in my wiki, i use number for my list [09:37:34] but it show a rectangle for it [09:37:43] what should i do? [09:38:23] sasan: Show the wikitext for the list in pastebin. [09:39:12] tale: who? [09:40:15] sasan: paste your wikitext in https://dpaste.de and post here the resulting link [09:41:53] no, no [09:42:04] i do not want to show rectangle [09:42:09] just i want tlink [09:45:01] sasan: I don't understand what are you trying to tell us :S what rectangle are you talking about? [09:45:37] assume i write this thing in my wiki [09:45:44] our system contains: [09:45:47] 1- relay [09:45:49] 2- dimmer [09:46:04] around 1- [09:46:06] 2- [09:46:10] it show a rectangle [09:46:23] understand? [09:46:25] don't put a space before the 1 or the 2 [09:46:47] yeah, probably what p858snake|l says [09:47:21] to create numbered lists, you can use # at the start of each line [09:49:29] i use # [09:49:43] but i need when the user click on it, a page is opened [09:50:32] put a link inside the word/phrase you want it to be a link [09:50:52] just a page, no ohter link [09:50:58] how could i do that? [09:51:17] sasan: http://www.mediawiki.org/wiki/Help:Links [09:54:17] thanks, it is ok now [09:54:24] i just have another question [09:54:32] i change the fonts of all my wiki [09:54:44] but the font of the pages name is not changed [09:54:46] why? [09:54:50] sasan: Have You this time read the documentation *before* You ask questions? [09:55:16] yes, i read it and applied on y wiki [09:55:19] and it is ok now [09:55:20] thanks [09:56:02] i just have another question [09:56:07] sasan: Have You this time read the documentation *before* You ask questions? [09:56:08] i change the fonts of all my wiki [09:56:15] but the font of the pages name is not changed [10:02:35] tale: understand what i mean? [10:02:42] sasan: No. [10:02:54] assume i have main page [10:03:07] and in main page i have some notes [10:03:26] sasan: Perhaps if You show the link to documentation you read about this matter, I could understand what You are asking about. [10:03:34] the notes font can be changed, but "main page" font can not e changed [10:03:53] http://84.241.45.8/pars-wiki [10:03:55] http://84.241.45.8/pars_wiki [10:03:59] sorry [10:04:01] second link [10:04:20] sasan: How can that be link to Mediawiki manual? [10:04:35] please see [10:04:49] the notes font is different to main page font [10:07:27] sasan: you need to add the following selectors to the CSS you've used to change the font: div#content h1, div#content h2, div#content #firstHeading [10:08:21] after after this [10:08:21] html, body {font-family: "B nazanin"; text-align:justify; } [10:08:59] yes, use: html, body, div#content h1, div#content h2, div#content #firstHeading {font-family: "B nazanin"; text-align:justify; } [10:09:51] no [10:09:54] it is not working [10:09:55] same [10:10:05] refresh your cache [10:10:25] how? [10:11:10] how could i refresh your cache??? [10:11:36] not mine, but yours ;) [10:12:01] how could i refresh the cache?? [10:13:24] clear the cache in browser settings, or try CTRL+SHIFT+R [10:16:49] Thanks it is ok:-) [10:22:17] i am admin of my wiki [10:22:31] with user name: sasan [10:22:39] can i change my user and pass [10:22:40] ? [10:25:16] yes, go to your preferences page [10:25:26] there's a link to change your password there [10:27:29] just can change pss [10:27:31] i can not chnage user [10:29:19] indeed, you can't change your user [10:29:46] !e Renameuser | sasan [10:29:46] sasan: https://www.mediawiki.org/wiki/Extension:Renameuser_ [10:30:25] bogus wm-bot, why does it add an extra space? [10:43:25] Thanks it is OK:-) [10:44:04] There is option called tools in left down of my wiki [10:44:07] can i delte it? [10:44:35] sasan: What does the manual say about deleting things from there? [10:45:28] tale: which manual? [10:45:46] sasan: The manual You read before asking that question. [10:45:57] i just want to delete is [10:45:59] just this [10:46:17] you can see in your wiki also [10:46:23] maybe it can not be deleted [10:46:26] sasan: Yes, and You are supposed to read the manual first. Then ask questions. [10:46:46] it can not be deleted, am i right? [10:46:59] sasan: What does the manual say about that? [10:47:09] nothing, [10:47:18] sasan: Which manual is that? [10:47:31] http://www.mediawiki.org/wiki/Help:Links [10:48:04] sasan: I believe that manual page has nothing to do with altering the sidebar. [10:48:35] yes, but i want to delte them [10:48:35] can? [10:49:04] sasan: http://www.mediawiki.org/wiki/Manual:Interface/Sidebar [10:49:20] Thanks tale i am checking now [10:49:53] sasan: I really wish You would reduce the amount of questions, and instead read the fine manual. [10:50:09] ok, you are right [11:39:55] Is there a means to customise/curate what is captured in Special:LonelyPages ? [11:40:26] or a means to exclude certain works? [11:58:20] hi, can i delete the tools slider in the left part of my wiki? [12:00:25] karami: yes [12:00:41] how could i delete it? [12:01:06] I hope that https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Customize_the_sidebar covers it [12:07:46] Lydia_WMDE: hey there [12:07:54] Lydia_WMDE: https://commons.wikimedia.org/wiki/Category:Wikidata_selfies now includes one from me - sorry I'm a bit late [12:08:10] sumanah: thx so much! [12:09:13] Lydia_WMDE: and now I have actually drawn the Wikidata barcode logo on a whiteboard wall! [12:09:17] and taken a selfie! [12:09:21] Life is full of new experiences. [12:10:32] i want to change the main page name [12:10:35] to another [12:10:38] how could i do? [12:12:00] karami: try renaming the page [12:12:18] you should then edit [[MediaWiki:mainpage]] to point to the new name [12:19:06] Thanks it is OK now [12:22:25] i want to delete tools sider in the left, but in your manual it is told me that i should follow it in MediaWiki:Common.js [12:23:12] but in my wiki there is nothing about mediawiki:common.js [12:25:24] karami: then you need to create it [12:25:51] that is a base .js file for your wiki [12:34:14] i should use this command to remove sth [12:34:15] ModifySidebar( 'remove', 'toolbox', 'Upload file', 'http://en.wikipedia.org/wiki/Special:Upload' ); [12:34:17] yes? [12:47:48] i use this [12:47:50] ModifySidebar( 'remove', 'toolbox', 'toolbox', 'http://en.wikipedia.org/wiki/Special:Upload' ); [12:48:03] but "tools" was not deleted [12:52:27] ModifySidebar( 'remove', 'toolbox', 'toolbox', 'http://en.wikipedia.org/wiki/Special:Upload' ); but "tools" was not deleted [12:52:29] You probably don't want to hide the "tools" box. [12:52:31] It's useful. [12:52:33] It contains tools. [12:52:41] no problem [12:52:45] i want to hide it [12:52:57] Use CSS. [12:53:02] You don't need JavaScript. [12:53:12] how could i do it [12:53:19] common.css? [12:53:20] #p-tb { display: none; } [12:53:22] Yes. [12:54:06] karami: pretty well every element will have a id/name attached to it [12:54:52] i should go to common.css and add [12:55:08] #p-tb {dispaly:none} [12:55:25] display [12:55:50] yes [12:55:57] my common is now [12:55:58] html, body, div#content h1, div#content h2, div#content #firstHeading {font-family: "B nazanin"; text-align:justify; } #p-tb {display:none} [12:56:02] it is ok? [12:58:50] looks good to me [12:59:35] in each page we have disscussion tab, how can i delet it [12:59:35] ? [13:00:05] karami: why do you want to do away with the whole basis of a wiki? [13:00:26] they should be okay to leave [13:00:26] i think just a simple structure [13:00:49] I would suggest leaving them [13:00:56] if it is possible, please help me to delete them [13:01:03] I would suggest leaving them [13:01:11] i could add them when i need [13:01:19] but now i do not need them [13:01:36] karami: press F12 on your browser, and inspect the elements you want to hide. It would give you some hints about what CSS selectors you should use with display:none, and even test them directly [13:01:45] learning a bit of CSS wouldn't harm :) [13:02:31] yes, you are right [13:02:36] i should learn a bit of css [13:06:16] html, body, div#content h1, div#content h2, div#content #firstHeading { font-family: "B nazanin"; text-align: justify; } [13:06:16] then i should add [13:06:16] display:none [13:06:16] i press F12 [13:06:16] it show [13:06:16] at the end? [13:07:02] try putting teh "inspector" over the elements you want to hide [13:08:35] teh "inspector" [13:08:37] what is that? [13:09:11] inspect element [13:10:46] karami: you should try and play with it by yourself for a while, don't expect us to tell step by step what you have to do for everything [13:14:12] i am in spector [13:14:19] i do not know who to hide it [13:14:20] ? [13:14:42] Have you found the correct element name? [13:15:08] you mean disccusion tab? [13:20:45] could you please help me? [13:21:05] inspect the element and find what tag it's contained in [13:21:18] i just want to diable discussion tab in my wiki [13:21:39] what skin are you using? vector? [13:22:06] vector [13:22:20] ok.. so try #ca-talk { display:none; } [13:24:17] yesm it is ok, [13:24:29] but why you use ca-talk? [13:24:36] how can i found out these tags [13:24:47] by inspecting them on the page, as was previously suggested [13:24:54] you hover over them [13:25:00] or manually inspect the HTML source [13:25:40] i am in inspect option [13:25:43] for main page [13:25:49] how can i found out its tag [13:25:51] ? [13:26:15] ? [13:26:50] for example i want to find out the tags of main page [13:27:00] i press F12 [13:27:13] and inspect it, how coudl i find out its tag [13:27:13] what do you mean by "tags of main page" [13:27:26] discussion tab has tag [13:27:27] yes? [13:27:33] cn-talk? [13:27:36] yes.. [13:27:59] could you please show me, where you read its tag? [13:28:20] ca-nstab-main [13:29:02] where you read its tag?? [13:29:06] please show me [13:29:06] http://i.imgur.com/16zxGAO.png [13:29:28] i have to go to work, bbl [13:30:43] karami: Does that screenshot answer your question? [13:31:26] its tag is in li_id=cn-talk [13:31:35] it mean its tag is cn-talk [13:31:36] ? [13:32:00] karami: Yeah, the ID is cn-talk so the ID you pass in should be #cn-talk. [13:33:20] but i have searched [13:33:26] there is no cn-talk [13:33:50] karami: Can you right-click on the discussion tab and select the "inspect" menu option? [13:34:09] yes, i have done this [13:34:31] karami: After clicking on the discussion tab, or from your browser's global menus? [13:34:42] Because if you right-click on the element, you can jump right to that element. [13:34:45] i found it [13:34:49] thanks:-) [13:36:57] qgil: hi there, did you have a good weekend? [13:37:12] Can i get the new Special:NewPagesFeed for my local wiki ? [13:41:01] i add #ca-edit: display:none [13:41:06] now i can not edit [13:41:12] i want to recover it [13:41:16] genius :) [13:41:16] deleteing that command [13:41:18] sumanah, yes! 1 min, meeting andre__ right now [13:41:20] how can i do [13:41:24] no prob. [13:41:33] karami: What page did you edit with that rule? [13:41:41] hi rohan013 - what is your local wiki? [13:41:42] common.css [13:41:55] i add that command in my common,css [13:41:56] karami: Go to /wiki/common.css?action=edit then [13:42:20] * /wiki/MediaWiki:Common.css?action=edit [13:42:26] Whatever [13:42:47] or use the access key, usually ALT+SHIFT+E [13:42:48] rohan013: https://meta.wikimedia.org/wiki/Wiki_configuration_change is a guide to help you [13:42:50] karami: And it goes without saying that that was a really silly thing to do. :P [13:42:50] sumanah: local as in on my computer, as a test. Basically i just want the code [13:42:57] or ho to history, and undo the last change, etc [13:42:59] *go to [13:43:01] rohan013: ahhh sorry, I thought you meant one of the Wikipedias. [13:43:28] how can i go to history [13:43:29] ? [13:43:37] rohan013: https://www.mediawiki.org/wiki/Extension:PageTriage [13:43:51] rohan013: install that extension [13:43:54] karami: hitting the "history" tab, if you haven't hidden it ofc :) [13:44:16] sumanah: Perfect. Thanks !! [13:44:19] :) [13:44:55] karami: Shift-alt-h [13:45:44] shift+alt+h [13:45:50] is browser options [13:46:10] Ugh, then use the tab [13:47:26] yes, it is come back [13:47:28] thanks [13:50:10] o.O 'kay [14:04:28] hi sumanah , so how was your weekend? [14:04:36] btw, if you wan to meet now, I'm availabe [14:04:45] qgil: GREAT. I feel a lot better and I had the weekend I needed. [14:04:56] very good! [14:04:58] qgil: ok, will ping you in a few min, just need to finish 1 email [14:05:08] ok, I'll be aound [14:43:20] Hello! There's some problem with message: https://wiki.archlinux.org/index.php/MediaWiki:Wlnote/ru [14:43:42] It's described there: https://wiki.archlinux.org/index.php/User_talk:Kynikos#Russian_language_in_Watchlist [14:44:02] Can anybody fix it? [14:45:48] Antonio____: maybe it has been fixed already on translatewiki.net https://translatewiki.net/w/i.php?title=MediaWiki:Wlnote/ru&action=edit [14:49:25] Vulpix: thnx for a link, I'll watch it now [14:51:06] Antonio____: If that wiki upgrades to 1.23, it should be fixed. Otherwise, using that text in your wiki may fix it too (I don't know if proper support for that plural granularity exists on 1.22) [14:54:27] Vulpix: hmmm ok... So (as I understand) I can recommend to upgrade to latest stable release [14:56:34] Antonio____: yes, that would be the best idea, since locally updating that message would prevent future updates to that message to be applied [14:57:44] Vulpix: Thanks a lot :-) [15:00:57] hey bd808 - so no comment yet on your RfC, eh? :/ [15:01:40] sumanah: I have a gift for posting things nobody looks at. [15:01:46] bd808: :( [15:01:56] bd808: perhaps we should take the Buzzfeed approach [15:02:00] or Upworthy [15:02:24] "You won't believe how bd808 is breaking MW!" [15:03:18] "Composer and Core: will your children be safe?" [15:03:19] 10 ways to surprise your sysadmin [15:03:51] JeroenDeDauw: https://www.mediawiki.org/wiki/Requests_for_comment/Composer_managed_libraries_for_use_on_WMF_cluster - perhaps you saw this? [15:04:08] DanielK_WMDE: glad you liked my post. [15:05:24] bd808: sorry I haven't scheduled the Wednesday meeting yet to discuss it - will do so right now. Who all do you think you really want to hear from on this? [15:05:54] Chris Steipp I assume since there's a security question [15:05:56] sumanah: All the people who will try to revert it later? :) [15:05:58] hahahaa [15:07:30] But yes Chris Steipp would be key and folks who both favor and distrust Composer [15:07:49] bd808: any names? [15:07:56] that'll make it easier for me to roust them [15:09:15] sumanah: Tyler, Jeroen, Mark Hershberger would be welcome [15:09:30] Trying to think of folks who may be against the idea [15:09:58] Ops? [15:10:02] (Although it's already implemented in production to some degree) [15:10:10] well, I mean, some subset of Ops ought to be consulted, not that I think they are against it [15:10:19] but that I of course want them to speak up about their concerns [15:11:25] Yes Ops should be aware. Not sure if this falls to Giuseppe or Chase or ...? [15:11:42] bd808: I don't know either - if you're on the ops list maybe ping them? [15:12:28] Yeah I can forward whatever schedule email you make to ops-l with a description of why they should care. [15:12:28] <^d> bd808, sumanah: "bd808 proposed an RfC, you'll never guess what happens next" [15:12:51] bd808: seems to me you can actually fwd your wikitech-l email *now* to them and ask them to comment on the rfc talk page.... [15:13:09] sumanah: Ok. will do [15:13:10] and then additionally fwd the schedule mail which will be sometime today [15:13:10] thanks! [15:13:27] good morning [15:15:09] Hi [15:25:38] SudoKing: Thanks for helping karami earlier [15:28:06] bd808: I've found an okay time Wed. Chris can't make it but he can talk on the talkpage before & after. Sorry [15:29:09] sumanah: I vaguely knew that this week would be bad for Chris. I think he told/reminded me on Friday [15:30:20] ok [15:41:03] :) [15:41:26] bd808: witness https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2014-07-23 [15:42:46] sumanah: Thanks. This process will miss you when you move on to other things. :) [15:51:43] bd808: that is very kind of you to say :) [16:10:57] After I had upgraded MediaWiki to a new version, CSS formatting of the site disappeared. Please help me to solve this trouble. http://withoutvowels.org/wiki/Main_Page [16:11:20] Wuh oh. [16:11:58] porton: You ran the update script, right? [16:12:04] marktraceur: yes [16:12:42] porton: Did you update your extensions too? [16:12:51] marktraceur: yes, certainly [16:13:25] Hm. [16:13:26] marktraceur: I transferred all extensions, which were missing at the new site, from the old site [16:13:42] porton: Can you look at the server logs and see if anything is throwing errors? [16:14:15] I see a bunch of 500 error codes for load.php [16:14:20] So maybe there's a simple issue. [16:14:31] porton: it throws HTTP 500 errors on load.php http://withoutvowels.org/w/load.php [16:14:43] I've corrected file permissions. It works now [16:14:47] hmm, not now [16:15:10] seems fixed now :) [16:15:18] Coolio [17:28:44] Hi - I would like to make a skin that's a copy of Vector, but with some minor CSS changes like different colors. That's harder to do than it sounds, with the current skin registration system, where built-in skins are structured differently from added skins. At least, I haven't been able to get it working. [17:29:03] Is there any documentation for that sort of thing specifically, or can anyone offer any hints? [17:29:59] I already read the main skinning page (https://www.mediawiki.org/wiki/Manual:Skinning), but it wasn't enough help. [17:40:10] Yaron: hi [17:40:34] Yaron: core skins are no longer structured differently as of MW 1.24 alpha :) [17:49:03] MatmaRex: As in they act like extensions, just in a different dir? [17:49:12] MatmaRex: oh... I guess I should upgrade again... [17:49:26] Lcawte: pretty much, yes [17:49:56] Lcawte: in fact, just a few hours ago my patch to handle them in the installer like we handle extensions was merged :D [17:49:59] Cool, nothing new for me then :) [17:50:03] Lcawte: the old skin autodiscovery is still kicking around, but will be gone soon [17:50:05] Nice :) [17:50:52] Yaron: the state of skins in 1.24 alpha (git master) is still a bit weird, i haven't finished cutting vector off of mediawiki internals [17:51:32] Well... that might be a little too "bleeding-edge" for me, then... (This is for a wiki farm.) [17:51:35] Yaron: but it's almost done. i think you should be able to remove the skins/Vector directory and mediawiki will keep going happily [17:51:40] yep, probably [17:52:24] If I look at the new Vector skin, is there any way I can copy *that* and use it as an MW 1.23 skin? [17:54:01] Yaron: i haven't tried, but most likely yes [17:54:41] Yaron: if you copy the directory and put it in skins/, then add require_once("$IP/skins/Vector/Vector.php") in LocalSettings, it should just work (but i have no idea how the conflict with old vector will be handled) [17:55:11] MatmaRex: alright, I'll try that now. (I'll change the name of the skin from "Vector", though.) [17:55:14] Yaron: note that 1.23 had skins/vector (lowercase, 1.24 will have skins/Vector (uppercase-first, that has long been a standard for skin names) [17:55:37] Right, okay. [17:57:25] The value of rc_cur_id is 0 for for page moves(where rc_log_type = move). why is that ? [17:58:32] rohan013: Do you expect rc_cur_id to contain the ID of the latest change, or the change it was based on? [17:58:43] Because if the latter, the page was just created, it's not based on anything [17:59:30] marktraceur: shouldnt rc_cur_id always be equal to page_id ? [17:59:49] I have no clue [17:59:59] I'm just responding to what I've seen in the past three minutes [18:01:51] rohan013: page moves are displayed in recent changes as log actions, with no diff, history, etc links, maybe that's why they have that. I have no idea of what would happen if it would contain the current revision [18:06:16] !skin [18:06:16] General skin help: http://www.mediawiki.org/wiki/Manual:Skins / List of available skins: https://www.mediawiki.org/wiki/Category:All_skins / Creating a new skin: see !skinning [18:25:52] gi11es: AaronS: https://www.mediawiki.org/wiki/Requests_for_comment/Simplify_thumbnail_cache - just wanted to ask whether this is something that needs pushing forward [19:06:17] collapsible elements. can they only be applied in wikicoded stuff? or can I append a div with a mw-collapsible class and have that actually work [19:11:54] Ulfr_: you can call $(…).makeCollapsible() from javascript, after loading the jquery.makeCollapsible module [19:12:46] MatmaRex: Of course I can't just apply a bleeding class and let the mw do the work for me :| Thanks for the tip! :) [19:13:28] Ulfr_: oh, unless you mean from PHP, in which case you probably can [19:13:38] (i assumed you want to do this in JS for some reason) [19:13:45] MatmaRex: Noooope! Gotta do it the fun way. [19:14:17] MatmaRex: pfft, PHP stuff gets inserted before anything gets parsed. much simpler. but noooo. this one has to be clientside [19:14:25] :D [19:56:42] brion: https://www.mediawiki.org/wiki/Requests_for_comment/Refactor_on_File-FileRepo-MediaHandler - is this active or obsolete? [19:56:44] or other? [19:56:54] * brion looks [19:57:41] sumanah: i might want to revive that one but it’ll need a major update. [19:58:00] either kill it as obsolete for now or mark it as ‘needs reworking’ and backlog it is fine :D [19:59:58] brion: marked as a draft that needs a major update. :) thanks [20:02:37] brion: I think you might like the new shape of https://www.mediawiki.org/wiki/Requests_for_comment [20:02:57] I figured no one knew the difference between "in discussion" and "seeking feedback" so I combined them [20:03:24] nice [20:12:49] hi rfarrand [20:14:36] Expression error: Unrecognized punctuation character "[" ---- I'm getting this error (throughout the docs examples) in https://www.mediawiki.org/wiki/Template:Multiple_image but the exact same code/template works fine at enwiki and metawiki. How to solve? [20:15:06] <^demon|lunch> brion: Might have to move it to "Refactor on File-FileRepo-FileBackend-MediaHandler" ;-) [20:15:39] i may narrow it in scope to just the handler end of things and leave storage to the people who understand the magic ;) [20:16:01] brion: :) weird problem with that page for me - https://www.mediawiki.org/wiki/Requests_for_comment/Refactor_on_File-FileRepo-MediaHandler I mean - I cannot find a UI element to click that gives me the page history! [20:16:04] talk history, yes [20:16:07] article history, no [20:16:16] * sumanah is listening to Soundgarden [20:16:39] sumanah: i think that’s a side effect of enabling liquidthreads directly on the page instead of on the talk page [20:16:44] got it [20:16:57] quiddity: I don't know! weird [20:17:33] sumanah: oh god it’s just LQT’s really really funky UI :D [20:17:47] quiddity: Does it transclude/use any other dependant templates? [20:17:59] there’s actually ‘edit’, ‘history’, and ‘delete’ links for the “header text” at the *bottom* of the page *before* the LQT threads start [20:18:02] it’s ….. hard to find [20:19:15] sumanah: brion: http://i.imgur.com/4fRBGTT.png [20:19:32] Reedy, yes, and Modules, which is where I'm totally lost. Is there an easy way to check which part needs updating, or do I need to manually compare every single component between mediawikiwiki and enwiki? [20:20:20] quiddity: Have you just imported it? If not.. I'd Special:Export from enwiki and reimport [20:21:11] Reedy, aha! I'll try that. ta. [20:24:27] 8.2MB xml file. Yikes. [20:25:38] haha [20:25:47] Is your internet that bad you can't upload that? :) [20:27:34] Hmm, mediawikiwiki doesn't have a "From file" option.... I have to do it directly anyway. [20:30:16] Reedy, https://i.imgur.com/16nzVrC.png yes? [20:31:48] quiddity: You don't really need to import all history I don't think [20:32:02] Might want to delete https://www.mediawiki.org/wiki/Template:Multiple_image too first [20:33:18] MatmaRex: I'm losing my mind. makeCollapisble just isn't doing bloody anything! [20:33:59] Ulfr_: weird. show the code? [20:34:10] It's makeCollapsible [20:34:58] Maybe a little dylsexic there. [20:35:04] $("#"+value.id).makeCollapsible(); [20:35:17] Hm. [20:35:21] it's spelled right there! I'm not dyslexic, YOU'RE dyslexic. :| [20:35:45] Sorry. This is driving me bonkers [20:35:50] no errors, no effect [20:35:51] i dunno. make sure the element with that id actually exists on the page, i guess? [20:35:59] if it does, this should work [20:36:14] Unless you're trying to collapse, like, a checkbox [20:36:26] well my test is a one liner div [20:36:29] if it doesn't, this will fail silently because jquery is "helpful" like that [20:36:32] ... [20:36:36] AUGH. [20:37:23] Ha! Nope. with multiple lines it's still borked [20:38:52] I've got the library called with mw.loader.using [20:39:11] it's not in called in the same function, but it's called from the one that has it loaded [20:39:15] grah. Everything borked. "Import failed: Can't save non-default content model with $wgContentHandlerUseDB disabled: model is wikitext, default for Module:Category_handler/blacklist is Scribunto " [20:39:32] Ulfr_: Don't suppose you can show us the whole script? :) [20:39:52] http://www.wikidoc.org/index.php?title=Widget:UserExamQuery&action=edit marktraceur [20:40:46] marktraceur: wait. I think I see [20:41:18] nah [20:41:20] Ulfr_: val.id, not value.id [20:41:22] Maybe. [20:41:28] val.id is for the questions in the each [20:41:31] Oh. [20:41:37] value is for the exam id, which is the element I want collapsed [20:42:08] Why when I enable clean urls, translation module doesnt work ? [20:42:08] Ulfr_: Why would you collapse it for each question, then? Don't do it in the each... [20:42:12] it doesn't show any strings ? [20:42:18] what could be the problem ? [20:42:25] marktraceur: I moved that when I said wait a minute [20:43:00] Ah. [20:43:13] * Ulfr_ facepalms [20:43:20] It's not actually IN the document yet [20:43:25] when I call that [20:44:28] Oh. [20:44:32] marktraceur: I has teh dumb. Thanks for taking a look [20:44:33] works fine now [20:44:35] Yeah, was about to say [20:44:36] :) [20:44:58] Ulfr_: hm, that makes it not work? interesting [20:45:06] MatmaRex: I fixed it [20:45:18] MatmaRex: I was calling collapsible on a non-existant element [20:45:36] This is my configuration [20:45:36] because MW/jQuery wants to be helpful and close tags that I didn't want closed unless I do it all at once [20:45:37] http://pastebin.com/NShfQWEg [21:01:52] [21:05:59] Hmmmm [21:08:32] Well that was mildly terrifying. "Script errors" appeared everywhere. I think I've fixed it, and have left notes at https://www.mediawiki.org/wiki/Module_talk:Category_handler [21:08:42] (Also, the original template, is now working, so that's good!) [21:09:16] * quiddity looks for lunch, and takes some excess commas with him. [21:12:13] Oh, "in fact Privacy Badger is based on the ABP code [21:19:59] Amgine: but https://github.com/EFForg/privacybadgerchrome/blob/master/doc/sample_cookieblocklist.txt#L189 [21:21:18] everything mediawiki.org, apparently. [21:21:24] huh, why would they want to block our cookies [21:21:47] Specificly why that one. its the one we don't track the users with [21:22:04] bawolff: 3rd party. [21:22:29] If only there were an "Only for the Greater Good" value for DNT. [21:22:53] That's not a blbock list, it's a white list [21:23:10] Ah [21:23:17] * bawolff all happy again [21:23:28] https://www.eff.org/privacybadger#is_there_a_black_list [21:23:35] They should name their whitelists something other than blocklist [21:24:11] There's also the blechlist. [21:24:12] It whitelists loading and blacklists cookies ;) [21:24:12] Anyways, isn't this all moot at this point. I thought we stopped using third party cookies for central auth [21:24:37] Which whitelists everything, but complains in the console. [21:25:11] That whitelist is ridiculous though, tons of stuff I block [21:26:37] bawolff: if that were true, there wouldn't be cookies being blocked. Which there are. [21:30:03] Amgine: Hmm, which one's are third parties [21:30:46] * bawolff has a weird cookie on wikimedia.org with name __qca and value P0-423564497-1291157465935 expiring in 2038. No idea what that one's about [21:31:16] I dunno. I usually have js shut off on wmf servers. [21:31:46] Amgine: Well in theory we stopped using third party cookies about six months ago [21:31:50] afaik [21:32:31] I wonder if this is considered too much entropy: centralnotice_only2times_tou-wait 0%7C1405528099318%7C0 [21:35:33] Bawolff: nope. Just tested on en.WP: cookies for wikimedia.org; cache, cookies, and local storage for wikipedia.org [21:35:51] yes but are they third party cookies [21:36:20] If I am on wp.o, any cookie for wikim.o is 3rd party. [21:37:03] Usually third party means loaded via a secondary asset (image or whatever). I don't usually count redirecting to a page on another domain to really be third party [21:37:08] If you're on en.wp.o, is a cookie for fr.wp.o a third party? [21:37:19] In other news, my hundreds postedit cookies disappeared https://bugzilla.wikimedia.org/show_bug.cgi?id=67790 [21:37:51] (but I have three separate extensions which may have deleted them :|) [21:38:50] marktraceur: unfortunately, no. Though it should be. [21:39:23] Well, no [21:39:32] But it would at least be consistent. [21:40:00] Amgine: Ideally if multiple domains point to our cluster, we should be able to signify that, and then nothing in-cluster is third party. [21:41:06] And then anything hosted on AWS is not third party? :) [21:43:03] Well, it looks like the *strict* def is 'exact domain', but in practice it looks like domain.tld are the only ones checked for most. [21:45:10] Okay, gotta run [21:45:57] Can anyone help me with the translation extension ? [21:47:45] altin: try asking at #mediawiki-i18n maybe? [21:52:48] nope, it's a short URL misconfiguration AFAICS [21:52:52] doesn't load assets [21:54:46] http://pastebin.com/NShfQWEg [22:46:39] Anyone know if I can easily delete all of a users contributions? Or do I have to rollback each individual one instead? [22:46:51] hi CraigyDavi - this is antispam/antivandal work, right? [22:46:53] !spam [22:46:53] For information about combating and handling spam in MediaWiki, see and . [22:48:23] Hi, yes it is [22:48:37] I'll have a quick look through those articles [22:49:19] good luck CraigyDavi [22:49:26] spam/vandalism is pretty annoying [22:50:35] Indeed it is. Hmm can't seem to find what I'm looking for in that article [22:50:54] there's a bot, https://www.noisebridge.net/wiki/secretaribot , lemme see [22:51:09] no, doesn't help [22:51:31] It's only about 5 pages which have been blanked by a new user [22:51:41] CraigyDavi: https://www.mediawiki.org/wiki/Manual:Combating_vandalism#Cleaning_up [22:53:16] I'll have a look at that, thanks [22:53:47] Looks like rollbacking is the only way to go though, unless extensions or scripts are used [22:57:30] CraigyDavi: You may (or may not) find this useful: https://en.wikipedia.org/wiki/User:Writ_Keeper/Scripts/massRollback.js [22:57:53] CraigyDavi: That's a bit of JS that allows you to perform rollback on all a user's edits. [22:58:22] That looks interesting, I'll try that next time [22:58:35] CraigyDavi: Use with extreme caution. Doing that on any Wikimedia wiki for anything other than serious vandalism would likely be way outside the social norms. [22:58:51] CraigyDavi: What I used to do was just middle click (to open a new tab) on all the rollback links in a user's contributions, then close all the tabs. [22:59:24] Yeah that sounds good