[02:24:33] ok hello everyone I have a pretty dumb question, sorry. I have encountered a problem after installing mediawiki. So after I installed it, I went on my domain. then I get this: [02:24:41] http://fr.tinypic.com/view.php?pic=mcyrnm&s=8 [02:26:27] and after I click the letter "w" I can then go on to the homepage of the website. But I would like to just have the homepage show up when I go to the main domain. Thanks [03:51:15] Hi ddg34. [03:51:51] ddg34: You can modify .htaccess or your Apache configuration to redirect / to somewhere else. [03:51:56] But more importantly, you need to disable directory listings. [03:52:12] As you probably don't want users to see your file system contents in that way. [04:33:55] hello - does anyone know if a project exists to use SMS for watch-page notifications? I've looked at RecentActivityNoitify (which has an SMS component) but its zip file is corrupted. I've also found a 2012 hackathon related to SMS, but haven't found source code from it. Maybe there are MW roadmap plans to use SMS in some manner? thanks/john [04:35:43] hypergrove: since it's possible to configure e-mail notifications, your best bet is probably to use an email to sms gateway [04:36:43] interesting, I will look at that [04:37:25] depending on your carrier, you may already have one: http://martinfitzpatrick.name/list-of-email-to-sms-gateways/ [04:40:13] Indeed. [04:40:28] I almost set up something like that in 2008. [04:40:39] But 160 characters is tight. [04:45:54] Ori and Fiona, thanks for your comments. This seems a reasonable pace to start. [08:31:13] How can I search for something like ? [08:41:47] I figured out I was able to search for digraph and strict but I'm still curious how I could achieve that [09:18:01] hello, i want to turn my wiki, wiki.parsintelligent.com, same in theme with hdlwiki.com [09:18:10] could any body help me?? [09:33:09] no body can asnwer me?? [09:39:07] Hey! Could anybody tell in which file the user login input is sanitized? I can't seem to find it :/ [10:03:19] Hello mediawiki circumvent varnish on port 80 by automatically adding domain.com:8080 to the url when I press login. I fixed this by setting wgServer to "//domain.com". The site works fine now (when already logged in) but it seems the login does not work without 8080 in the url. Any suggestions? [10:03:27] nginx is on 8080 < [10:15:11] https://www.mediawiki.org/wiki/Project:Requests/User_rights/Nemo_bis_2 [10:45:21] hello, i want to turn my wiki, wiki.parsintelligent.com, same in theme with hdlwiki.com [10:45:28] could anyone help? [10:48:39] sasan: that skin is the default vector with som custom css looks like [10:56:12] jnor: we don't know how you log in [11:26:46] i want to know which css command is added [11:26:50] could you help me [11:26:51] ? [11:28:09] i searched mediawiki:common.css and vector.css it is nothing [11:34:21] only registered users can view images, visitors only see the file name [11:35:38] mkesper: it is just a default installation of wikimedia more or less [11:36:10] make no sense for me, but how to change this behavior??? [11:37:54] please asnwer me, [11:38:41] oh the pars guy again :) [11:38:56] hello [11:39:02] sorry for my disturbacne [11:39:13] if you can, please help me [11:42:09] sasan: I think you would have to use firebug and find the css manually.. maybe there is an easyer way, I don't know [11:42:32] you probably can't access the less files [11:42:56] firebug: what is it? [11:47:21] i installed firebug [11:47:28] now how could i find the css ? [11:48:20] sasan: okay so try to make a css file in Vector theme and make sure it is included after the others with this content http://pastebin.com/w72TMAZh [11:52:29] sorry did not get wht you mean [11:55:56] so instsall default Vector theme, create a file called sasan.css in the components folder perhaps and pase in the css from pastebin into the file, then in Vector.php after line 68 you need to add code similar to like 68 that includes your new file [12:01:35] you mean i generate a file called sasan,css and paste the code you sent me. then what should i do? [12:03:42] i should generate sasan.css in skin folder in my cpanel [12:03:44] yes? [12:04:34] sure, but inside Vector folder [12:06:25] i generate sasan,css in vector folder [12:06:30] and paste your code [12:06:36] then what should i do./? [12:08:20] online? [12:09:44] i did first part, now what should i do? [12:11:46] actually I think you can just do this, might be easier, go to wiki.parsintelligent.com/MediaWiki:Common.css and put the css from pastebin there [12:16:28] i paste all code in mediawiki:common,css [12:16:36] but nothing happneed [12:18:03] did you use , instead of . [12:18:18] what? [12:18:32] i just paste the code [12:18:44] iin there [12:18:55] sasan: did you paste it into Mediawiki:Common.css or Mediawiki;Common.css [12:19:08] sorry I screwed that up [12:19:14] sasan: did you paste it into Mediawiki:Common.css or Mediawiki:Common,css [12:19:27] Mediawiki:Common.css [12:20:29] before you added the css, did you see this line on the page? /* CSS placed here will be applied to all skins */ [12:20:42] yes [12:20:57] before i used css, i know what you mean [12:21:10] hmm strange it works fine on my wiki [12:21:35] could you remote destop to see? [12:22:11] you are using Vector as your skin correct? [12:22:42] yes, it is worked [12:22:53] it is left align [12:22:57] my menu [12:23:06] but i need to be in right [12:24:55] please see my wiki now [12:25:01] it is left align [12:25:04] the menu [12:25:08] i need to be right [12:25:12] what should i do? [12:27:38] online? [12:28:19] search for div#mw-panel in the css and remove "left: 0;" [12:28:34] or perhaps add right: 0; [12:29:09] you need to do some tweaking though it appears X) [12:33:42] no div#mw-panel =left:0; [12:37:02] found, but my menu text is left alighn [12:37:17] i need to be right align [12:37:21] :( [12:42:18] try adding "left: auto;" below "right:0;" [12:45:23] is ok? [12:45:24] div#mw-head { position:absolute; top:0; right:0; left: auto; width:100%; [12:45:27] yes? [12:46:08] yep [12:46:18] but my menu text is not ok [12:46:27] it is left align [12:46:52] i write in persian [12:47:00] so it should right align [12:49:11] please see the wiki, the search bar is on my logo [12:49:17] and it is not ok [12:49:21] am i right? [12:51:01] please help [12:51:03] ok, thank-you. [12:51:17] why searh bar and edit icon is on my logo [12:51:18] ?? [12:54:10] why search bar and edit button in on my logo [12:54:11] ? [12:55:50] online? [12:57:41] sasan: hmm in Vector.php try to comment out line 67 and 68 and see if it helps... so the only css that the skin uses us the stuff on your common page [12:59:39] which line should be comment? [12:59:50] i do not have number in vector.php [13:03:25] there is no word help in vector.php [13:07:25] http://pastebin.com/aCT6UHMN [13:08:41] what should i do? [13:10:33] ??? [13:13:53] Hi. I am trying to run my first test https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Running_the_unit_tests but I am getting the following error: https://dpaste.de/SPg8 Could somebody please help? [13:25:32] [13:25:35] ? [13:37:52] sasan: view the pastebin, see the before/after? the lines I have added // in front ? do that to the file [14:20:55] [14:21:02] not that commands there [14:23:26] please asnwer me [14:23:29] please [14:24:42] he might have gone afk sasan [14:24:58] but i need his help [14:25:02] could you help me? [14:25:56] sorry I have no idea :( [14:26:17] I tried working with themes but I did not make any significant progress [14:26:53] please see my theme, wiki.pareintelligent.com [14:27:00] the search bar in on my logo [14:27:02] please see [14:32:44] the address isn't working sasan! [14:33:22] I see the right address now, hold on [14:34:10] ok [14:34:59] okay I see jnor made your fixes for you [14:35:48] okay sasan do you know where your copy of mediawiki is installed? [14:36:54] yes [14:37:00] in my cpanel [14:38:11] there's a folder skins/Vector/ [14:38:28] there should be another folder called components inside that [14:38:57] what you need to do is past the code from http://pastebin.com/raw.php?i=w72TMAZh into sasan.css [14:39:03] and then copy that file to that components folder [14:39:23] i do not see component folder [14:39:43] what version is your mediawiki copy? [14:39:48] 23 [14:40:08] hmm [14:40:19] hold on [14:40:21] i have skin folder [14:40:55] i added so many commands on my common.css [14:41:56] mediawiki:common.css [14:42:03] you can try pasting the pastebin code into common.css if you want [14:42:17] yes, i paste there [14:42:20] but no action [14:42:26] hmm [14:42:48] the search bar is located now on my logo [14:43:03] see https://www.mediawiki.org/wiki/MediaWiki:Clearyourcache [14:43:06] there's some text [14:43:16] but.. hmm [14:43:19] no no.. nvm [14:43:38] i use ctrl+R [14:43:43] but same [14:43:48] you can see [14:43:58] the search bar in on my logo [14:44:52] okay I found something [14:45:40] hmmmm [14:47:41] I'm not sure what's doing it [14:47:51] : my idea is to change normal vector theme to what is shown in hdlwiki.com [14:47:56] but there's a float:left somewhere on your skin [14:47:58] yes [14:48:16] there's a float:left somewhere in your skin's code which is making it go to the left [14:48:29] in the files you modified [14:48:37] see if there's a #right-navigation [14:48:47] there should be a bit of code like "float:left" [14:48:56] just below it [14:48:59] change it to "float:right" [14:49:08] i searched 21 word floadt:left [14:49:14] which one should be changes [14:49:16] ? [14:49:22] under #right-navigation [14:49:38] be sure that it's something like #right-navigation { ... float:left here ... } [14:49:54] or #right-navigation, otherstuffhere {... float:left here ...} [14:50:00] #right-navigation { float:right; margin-top:2.5em; } [14:50:04] you mean this [14:50:06] yes exactly [14:50:09] it was right [14:50:09] no [14:50:13] hmm [14:50:26] there should be one with float:left [14:50:32] see if you can find it.. [14:50:35] nothing [14:50:39] just this [14:50:47] what about in your modified skin's files? [14:51:16] i searched in mediawiki:common.css [14:51:56] found it [14:51:59] !!! [14:51:59] There is no such key, you probably want to try: !bribe, !hss, !tss, [14:52:57] hmm [14:53:03] uh [14:53:24] where? [14:53:52] it's something Right-To-Left text like arabic [14:53:56] about* [14:54:00] maybe [14:54:16] what?? [14:54:54] it's where arabic is displayed from the right side of the screen to the left [14:55:00] written* [14:55:09] but... [14:55:13] so which changes need [14:55:14] ? [14:55:30] I'm not sure hold on [14:55:34] ok [14:57:29] did you ever follow anything on https://www.mediawiki.org/wiki/Directionality_support ? [14:58:35] wait no hmm [14:58:46] okay can you try something? [14:58:46] please see it now [14:58:51] i change it to left [14:58:56] is not in my logo now [14:59:02] but its position is not ok [14:59:21] okay yeah I think I know what's going on [14:59:31] can you edit skins/Vector/components/navigation.less? [15:00:03] there should be two lines "#left-navigation {" and "#right-navigation {" [15:00:13] yes [15:00:40] hold on [15:01:23] below those two lines can you add "/* @noflip */" (without the quotes) [15:01:32] it should fix the issue... [15:01:47] no [15:01:52] there is nothing about [15:02:03] what do you mean? [15:02:35] no where match /* @noflip */ [15:03:28] I know I meant, edit and ADD "/* @noflip */" directly below "#left-navigation {" and "#right-navigation {" !!! [15:03:47] there shouldn't already be any lines like that but you need it to fix it [15:04:57] did you do it? [15:05:43] a min [15:05:45] i add [15:06:03] my wiki is not loadin [15:06:11] um [15:06:28] not loading my wiki [15:06:35] huh [15:07:05] it's loading for me.. [15:07:56] let me check in another browser [15:08:09] ok [15:08:17] please see it [15:08:19] no changes [15:08:24] it is goes to right [15:08:26] on my logo [15:08:36] see? [15:08:39] do you mean it's not fixed? [15:08:43] yes [15:08:46] please see it [15:09:02] #right-navigation { float:right; margin-top:2.5em; } [15:09:07] it is css file [15:09:09] also [15:09:13] hmm didn't you add /* @noflip */ ? [15:09:28] i added thoes in to cpanel [15:09:47] I've never used cpanel so I'm not sure what you mean [15:10:01] wait [15:10:18] [15:10:39] i add in component [15:10:43] ok [15:10:56] if i change css to left [15:11:02] it goes to middle of page [15:11:04] please see [15:11:14] the main txt border is not fit with my page [15:11:22] if we can make it fit [15:11:28] maybe solve it [15:11:32] please see [15:11:35] it can be fixed... but atleast it's not on your logo anymore :) [15:12:00] so if we fix that, maybe solve our problem [15:12:08] if we solve it [15:12:15] maybe our problem ficed [15:12:30] so show me how could i extend the boarder [15:12:34] to fit all page [15:12:57] ok [15:13:05] let me know how could i do that [15:13:06] ? [15:13:08] but did you add /* @noflip */ like I told you? [15:13:14] Hi, I have a problem with my mediawiki. (Linux) running with httpd. Everything was working fine, untill someone created an account, and I removed it from the sqllite database, and now I can upload images, and they are saved but none of them want to display. [15:13:22] yes, in both left and right navagaition [15:13:27] okay! [15:13:40] eft-navigation { /* @noflip */ [15:13:44] it is ok? [15:14:01] yes perfect [15:14:03] it's working now [15:14:08] what? [15:14:13] but there's still some problem with it [15:14:17] I get 404 from access_log [15:14:31] let me check [15:14:36] maybe the text size [15:14:58] I don't think so... [15:15:25] please tell me how could i extend the content size? [15:15:30] to fit the page [15:15:34] like hdlwiki.com [15:16:19] I have a small fix [15:16:21] one second [15:16:29] ok [15:16:34] okay goti t [15:16:49] back in components/navigation.less [15:16:49] ? [15:16:56] yes [15:17:40] under #right-navigation and UNDER float:right (important), add this: margin-right: 9.6em [15:18:10] oh still not finished [15:18:35] almost 5 hours of support :) [15:19:04] please see [15:19:05] now [15:19:08] it is not ok [15:19:14] wait [15:19:39] hmm [15:20:20] wait did you add the margin-right? [15:20:34] #right-navigation { /* @noflip */ float: right; margin-right: 9.6em margin-top: 2.5em; } [15:20:46] it is ok? [15:21:00] hmm it's okay... [15:21:25] there's something wrong again! Damn it mediawiki [15:22:35] AH [15:22:41] you need ; after the 9.6em [15:22:47] like argin-right: 9.6em; [15:22:51] margin-right: 9.6em [15:22:57] I MEAN: margin-right: 9.6em; [15:23:28] i editted [15:23:32] but it is not ok [15:23:36] please see [15:23:44] maybe need to add left [15:23:47] not right [15:24:06] no no.. [15:24:13] the /* @noflip */ isn't working [15:24:27] yes [15:24:30] it's supposed to stop it from making mediawiki put it to the left [15:24:50] hmm you could try something [15:25:03] what? [15:25:07] could you try removing the /* @noflip */ and changing it to left? [15:25:15] what? [15:25:18] so when it flips it to the right, it makes it correct [15:25:35] float:right to float:left under #right-navigation [15:25:54] #right-navigation { float: left; margin-right: 9.6em; margin-top: 2.5em; } [15:26:00] you mean this? [15:26:02] yes [15:26:47] doesn't look like anything happened sasan_... [15:27:00] it is not ok [15:27:14] AH [15:27:34] #right-navigation { float: left; margin-right: 9.6em; margin-top: 2.5em; } [15:27:34] okay [15:27:52] one last thing before I give up [15:28:07] ? [15:29:01] could you please change it from float:right to float:left under LEFT-navigation? [15:29:52] if that fixes anything... [15:30:52] #left-navigation { /* @noflip */ float: left; [15:31:16] yes [15:31:30] no affect [15:31:36] DAMN IT [15:31:53] there's something wrong with mediawiki [15:31:57] I'm not sure what it is [15:32:10] but I don't know what else to do [15:32:11] dear, help me to extend the content [15:32:16] size to fit the page [15:32:25] what do you eman? [15:32:39] please see hdlwiki.com [15:32:49] its content is fit the page [15:32:57] but my wiki, the content is not fit [15:33:31] understand? [15:34:00] okay hold on [15:36:18] there should be a div#content in your common.css [15:36:23] under it should be margin-right [15:36:29] margin-right: 10em [15:36:34] delete that [15:37:19] div#content { margin-left:10em; border:2px solid #6A3683; border-ight-width:0; margin-top:-1px; background-color:#fff; color:#252525; direction:ltr; padding:1em; } [15:37:24] no margine right [15:37:27] it is margine left [15:37:32] you mean left [15:37:33] yes? [15:37:41] hmm [15:37:47] with mediawiki being very stupid [15:37:54] yes try removing that for a second [15:38:02] it's flipping left and right everywhere!! [15:38:22] it works [15:38:43] yes [15:38:46] it works [15:39:16] but the function is media wiki [15:39:24] message and other is not changed position [15:39:26] if you want you can get the Special Pages button all the way to the left by removing margin-left/right: 10em under left-navigation [15:39:44] message and other? [15:40:10] yes, please see it [15:40:49] where the account information is? (login etc.) [15:41:00] yes hmm [15:41:06] yes, they did not align to left [15:41:09] you can see [15:41:12] try removing the padding-left/right: 10em under #p-personal ul [15:41:18] "#p-personal ul" together [15:41:27] and let me find the one for the footer [15:42:18] okay also delete: margin-right/left: 10em, under div#footer [15:44:12] also delete: margin-left/right: 10em, under #left-navigation [15:44:47] oh [15:44:57] what? [15:45:20] since you're editting it, you can just lower the values to the same value you put in for div#content [15:45:46] what? [15:46:50] I mean since you edited the margin-right for div#content from 10em to 1em, you can do the same for the margin-left/rights under div#footer and #left-navigation so they match the main content box [15:47:42] the search bar is #left-navigation [15:47:43] ? [15:48:04] it's actually #right-navigation but mediawiki is very confusing [15:48:24] it has put #right-navigation on the left and #left-navigation on the right since you're using an arabic font [15:48:36] yes [15:49:06] dear can i ask you another question? [15:49:10] go [15:49:35] in my menu, the text is align to left [15:49:39] but i need to align in left [15:49:48] becasue it is arabic [15:49:51] i mean sidebar [15:51:04] yes hm [15:51:21] sorry but I have to go to sleep [15:51:26] Wait. [15:51:37] oh hello marktraceur [15:51:43] sasan_: Is the wiki's language, and your interface language, set to Arabic? [15:51:57] yes, i set to arabic [15:52:05] Because if so, MediaWiki should be smart enough to flip the CSS rules for you. [15:52:13] It generally replaces "left" with "right" and vice versa [15:52:13] my content is ok just the title and sidebar is different [15:52:19] marktraceur, we've been dealing with mediawiki being too flippant [15:52:33] or flippy [15:52:37] Ah. [15:52:49] Nahiyan: But it sounds like now it's not being flippy enough. [15:52:55] :( [15:53:13] in either case I am retreating from the Kingdom of FLippity Mediawiki [15:53:16] thank you sasan_ [15:53:16] what shoudl i do now? [15:53:22] thank you too [15:53:28] goodnight [15:53:33] sasan_: Can you link to the page you're testing on, just so I can be up to speed? [15:53:35] could answer em? [15:54:32] what do you mean.? [15:55:23] sasan_: What page are you looking at right now? [15:55:35] (link to it, please) [15:55:46] wiki.parsintelligent.com [15:56:10] i am in main page [15:56:16] please see the sidebar [15:56:32] its text is align in left [15:57:18] I see that, yes. [15:57:21] And it's on the wrong side. [15:59:05] its text should align to roght [15:59:10] what should i do? [15:59:16] sasan_: Can you pastebin your LocalSettings.php for me? [15:59:17] i mean right* [15:59:20] !pastebin [15:59:20] To avoid overflowing the channel with inane amounts of text, use https://phabricator.wikimedia.org/paste/create/ or other awesome pastebin sites to share code, errors, and other large texts. [15:59:31] sasan_: Make sure you remove any passwords or secret keys, first [15:59:52] I suspect something is not set up right, there [16:00:09] i just set this in css about font [16:00:10] html, body, #mw-panel, div#footer, div#content h1, div#content h2, div#content #firstHeading {font-family: "B nazanin"; text-align:justify; } #p-tb {display:none} [16:00:13] is it ok? [16:00:39] Looks fine to me. [16:00:46] I don't know that font, but it should be OK [16:03:41] [16:03:49] please see this link: [16:03:57] http://parsintelligent.com/wiki/%D8%AE%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87_%D9%87%D8%A7%DB%8C_%DA%A9%D9%84%DB%8C#.D8.A7.D8.B7.D9.84.D8.A7.D8.B9.DB.8C.D9.87_.D8.B4.D9.85.D8.A7.D8.B1.D9.87_24:_.D9.82.D8.A7.D8.A8.D9.84.DB.8C.D8.AA_.D9.87.D8.A7.DB.8C_.D9.85.D8.A7.DA.98.D9.88.D9.84_.D8.B5.D9.88.D8.AA.DB.8C_.D8.AC.D8.AF.DB.8C.D8.AF [16:04:12] the title is align left and the text is align right [16:04:14] yes? [16:05:24] Right, weird [16:05:44] But then it's right-aligned later on. [16:06:01] so i want to align the title to right also [16:06:06] what should i do?? [16:06:46] sasan_: You didn't ever pastebin your config, but I don't think that matters right now [16:07:28] which code do you want? [16:07:52] Never mind [16:08:06] please tell me [16:08:10] sasan_: In my opinion this is because whatever you and Nahiyan were doing was too much [16:08:11] which code do you want [16:08:14] i will aste [16:08:28] sasan_: I think you need to revert all of that and find a more surgical way to fix whatever was wrong. [16:08:52] before we start with him, the font problem excisted [16:08:52] MediaWiki is smart about RTL languages until you give it a lobotomy. [16:09:13] sasan_: Sure, but we can probably deal with that in some other way. What font problem exactly? [16:09:28] i showed you in tha link [16:09:43] the topic is align in left and the text aligned in right [16:09:57] see this word [16:09:58] خبرنامه های کلی [16:10:03] in that link [16:10:14] it is aligned in lefy [16:10:17] it is aligned in left [16:10:32] sasan_: You said *before* you and Nahiyan had worked on this, you had a font problem. [16:10:46] sasan_: The problem you just described is caused by not trusting MediaWiki to do its job. [16:11:00] no we worked on css [16:11:02] not font [16:11:33] sasan_: Well, what was the problem *before*, because I'm pretty sure however you solved the problem caused more problems. [16:12:01] the problem was the search bar is aligned in eight [16:12:05] the problem was the search bar is aligned in right [16:13:02] OK, well, that doesn't seem like the worst thing in the world [16:13:39] Whereas now, some of your RTL text is LTR. [16:14:45] so how could i solve it? [16:16:12] Go back to the previous version of all of your CSS . [16:16:18] You'll have a search bar in a weird place, but the content will look right. [16:16:28] Then you should try to change the CSS for the search bar only. [16:17:34] now the problem is font and its alignment [16:17:39] not search bar [16:17:49] Right, so *go back to what it was before* [16:18:02] When the search bar was in the wrong place, but *everything else was fine* [16:22:14] sasan_: Usually when we fix one thing but break two other things, that's not the solution we wanted. [16:31:52] could any body help me why my sidebar text is align in left, i need to be at right [16:31:57] could any body help me?? [16:34:38] could any body help me why my sidebar text is align in left, i need to be at right????? [16:35:10] qgil: Around? Do we still have the policy of not letting previous GSoC/OPW interns apply again? [16:35:45] could you help me? [16:37:06] sasan_: Not really. I'm not familiar with Mediawiki's CSS. Sorry. [16:37:36] sasan_: Maybe if you frame your query properly, someone would be able to help you. [16:38:14] ok, i am waiting for a guy to help me [17:06:31] i added these 3 commands [17:06:33] html, body, #mw-panel{font-family: "B nazanin"; text-align:right; } html, body, div#content h1{font-family: "B nazanin"; text-align:right; } html, body, div#content h2{font-family: "B nazanin"; text-align:right; } [17:06:42] but it did not afect [17:06:54] my heading is align left again [17:24:15] Although i have already changed the access permission and ownership of the Localsettings.php i am still getting "not readable" page. anything i may have missed in the process? [17:25:27] i have been stuck here for too long. do i need to change the access permission of the containing 'core' folder as well? [17:25:41] sasan: I told you to *revert* the changes you made today. Go back to the initial problem. [17:25:48] sasan: Because you solved it wrong. [17:26:12] noida: Hi there, can you explain more what you mean by "not readable"? [17:26:18] i did nothing, just add some css file to change the theme [17:26:23] sasan: So UNDO THAT. [17:26:38] Because clearly it broke something. [17:26:50] becasue i made a lot of effort to change it [17:26:56] broke what [17:27:06] tell me where it broke [17:27:08] please [17:27:10] sasan: You were saying that before today, the text was all aligned correctly, right? [17:27:19] sasan: And now it's aligned wrong sometimes. [17:27:23] yes [17:27:31] so tell me where is false [17:27:32] sasan: Maybe, and this is a wild guess, the changes you made today caused the new problems. [17:27:36] to make it correct [17:27:45] So if you undo the changes, then it will be FIXED. [17:27:57] Then you just need a better solution for the initial problem you had today. [17:28:01] but if i undo, my theme is sent back [17:28:06] i need this theme now [17:28:08] * andre__ impressed by marktraceur's patience [17:28:34] andre__: Hold that thought... [17:28:44] sasan: Maybe the theme is the whole problem. [17:29:03] you mean i can not change my theme [17:29:03] ? [17:29:05] sasan: I wish I could see debug=true on your wiki, then I could actually debug it, as it is, I'm sort of groping around for an explanation [17:29:26] dear, why my contents alignment is ok, [17:29:27] sasan: I'm *guessing* that your theme has a too-far-reaching CSS rule that screws up the directionality of some elements [17:29:33] just the menu is not ok [17:29:35] But I have no idea where it actually is. [17:30:19] the h1 heading is ok now, [17:30:26] just the sidebar is not ok [17:30:54] But you had to hack together a fix for a bunch of different things. Right? [17:30:55] That's silly. [17:31:10] You should revert, then hack together one fix, maximum, for the one thing that was broken earlier. [17:33:54] marktraceur: http://i.imgur.com/XXOpNRX.png [17:34:11] Oh my gosh perfect. :) [17:34:45] noida: OK, your directory needs to be readable by the webserver, but it seems like that should already be the case if you can access the setup page [17:35:05] noida: What are the permissions on LocalSettings? (just ls -l LocalSettings.php and paste the line here) [17:36:20] -rw------- 1 noida root 4296 Feb 20 23:01 LocalSettings.php [17:37:21] noida: Yeah, that's no good [17:37:38] noida: chmod g+rw LocalSettings.php [17:38:00] noida: You might need to chown it to the webserver, too, but maybe it's running as root. [17:38:48] marktraceur: first one didnt change anything. [17:38:57] OK then [17:38:59] yes, ithink it is running as root [17:39:04] ...really [17:39:12] !permissions [17:39:12] For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [17:39:20] !filepermissions [17:39:20] http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security [17:39:27] Hm no. [17:43:21] marktraceur: what now? [17:43:38] Oh er [17:47:48] marktraceur: -rw-rw---- 1 noida root 4296 Feb 20 23:01 LocalSettings.php [17:49:39] noida: Try chmod ug+x LocalSettings.php [17:49:49] I can't imagine why that would matter, but hey, worth a shot [17:50:26] noida: If it doesn't work, try ls -l mw-config/index.php [17:50:30] Tell me what that says [17:52:22] marktraceur: yeah, the former didnt work [17:52:29] -rw-r--r-- 1 root root 2610 Feb 11 18:30 mw-config/index.php [17:52:39] Hrm. [17:57:36] marktraceur: anything else? [18:00:04] Sorry, I'm bouncing between about five different things [18:00:16] noida: chmod o+r LocalSettings.php [18:04:07] andre__: Quick question: Is there a way to construct URLs for queries in Phabricator? e.g. an URL that points to a query for tasks with two given tags? I know it's bossible to create custom queries and use those links, but I'm wondering if there's a more generic mechanism. My impression is that it's not possible and suddenly I miss bugzilla (crazy, right?). [18:04:16] possible* [18:07:53] guillom: I don't think it's possible, or at least not straightforward [18:08:05] Thanks ori [18:08:29] I can probably find a workaround :) [18:08:58] guillom, there's no URL parameter way or such. You construct the query in Phabricator itself, run it, and copy the URL. [18:09:26] andre__: That's what I thought. Thank you for confirming :) [18:10:14] * andre__ curses Phabricator's Herald for really not doing what he wants [18:10:21] marktraceur: hey that worked, but now i am getting some another error regarding the database connection [18:11:43] andre__: btw thank you (and the others ) for telling me what I had done wrong with those security settings :) [18:11:56] noida: What's the error? [18:12:15] I'll wait for someone with more powerz to edit the policy. [18:14:19] marktraceur: http://i.imgur.com/DJGqoWB.png , and i cant log into the phpmyadmin [18:15:03] noida: Huh. What site is this? [18:15:12] guillom: oh well, thank you for pointing out that our docs are bad, basically. :D [18:15:18] :D [18:15:36] andre__: No, no, I didn't RTFM :) [18:16:12] marktraceur: the same one youve been helping me with mate, the one on my local server [18:16:50] noida: Local server? Why bother with phpmyadmin, then? [18:17:10] noida: Can you pastebin your LocalSettings.php with the passwords blanked out, please? [18:17:13] !pastebin [18:17:13] To avoid overflowing the channel with inane amounts of text, use https://phabricator.wikimedia.org/paste/create/ or other awesome pastebin sites to share code, errors, and other large texts. [18:23:32] marktraceur: phpmyadmin for the database, i suppose im gonna need it for the development ? [18:23:36] marktraceur: http://pastebin.com/YLGypsVV [18:26:31] noida: Try doing mysql -u root -p mediawiki [18:26:41] noida: Enter your password and make sure that database exists. [18:29:34] marktraceur: im using xampp for my webserver. so the command is returning `command not found` [18:29:50] Hrm [18:30:14] noida: Try turning on more debugging options [18:30:17] !debug | noida [18:30:17] noida: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [18:31:31] marktraceur: thanks [18:32:03] Yup [18:33:07] marktraceur: is xampp ok for web server purposes, or should i go install the apache mysql individually on my system? suggestions [18:33:28] noida: It should be fine, it's just not something I'm familiar with [18:34:42] marktraceur: im gonna go ahead and reinstall everything from ground up. i have a feeling i screwed up somewhere while doing the first time around [18:35:15] Could be. [18:58:42] generally in how much time a patch is reviewed ? i had submitted a patch on 13 feb. [18:59:58] pratikbsp: is this https://gerrit.wikimedia.org/r/#/c/190360/ ? is there a bug filed for that, by the way? [19:02:13] : it was at https://phabricator.wikimedia.org/T42322 [19:11:09] :was patch working correct? I will rectify style errors [22:14:45] hi, after upgrading my mediawiki site, some of the images aren't appearing eventhough I copied the contents of the images dir from the old install [22:15:18] I can see the image in /var/www/html/w/images/7/7c/Mconlinux1.png [22:15:38] but apache seems to be looking in /w/images/Mconlinux1.png [22:16:03] is there a way to fix this ? [22:22:07] quick: Did you run importImages.php as well? [22:22:15] I think just sticking the files in will not be enough. [22:22:28] no I didnt [22:22:42] !importimages [22:22:42] https://www.mediawiki.org/wiki/Manual:ImportImages.php [22:22:52] thanks a lot! [22:44:17] Hi, I'm trying to change the wiki logo. [22:44:29] I'm confused about the warning "Do not simply overwrite the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will automatically be overwritten when you upgrade and your changes will be lost" [22:44:54] Suppose my logo is named abc.png. Does this mean I shouldn't place my new logo in /resources/assets, and change the value of $wglogo to /resources/assets/abc.png? [22:45:08] Cory_: Do exatly that. [22:45:24] Cory_: If you renamed it to wiki.png that would be a problem. [22:46:01] Oh, I see. So they just mean don't give your logo the same name as the default name? [22:46:11] wiki.png [22:48:08] Right. [22:50:10] Thanks marktraceur! [22:50:19] No problem :) [23:10:57] hello everyone, iv uploaded my favicon and logo to the root/images folder, but the paths I setup on the localsettings only show a blank spot, but not the image. via the regular path they open, so its not permissions [23:10:59] ill set mor info [23:11:10] http://forestable.gamestudio42.com/wiki/images/ those are the images [23:11:24] Hi Folks. I've searched around without finding appropriate help troubleshooting. I'm using MediaWiki 1.23.8 with WikiEditor 0.4.0. The spaces for the toolbar icons are showing up, but not the icons. [23:11:45] $wgLogo = "../images/logo_wiki.png"; is one of the options, iv also used without the .. and without the / ... am I missing anything else? [23:17:46] I've confirmed that it's an issue with our custom (Vector based) skin, but am puzzled why only the icons wouldn't be showing up [23:18:25] Abulafia: is your wiki public? (i.e., can I see this somewhere?) [23:19:29] Ori - thanks. The wiki's public but the issue is only on the dev site which isn't. Essentially, the spaces are made for the icons to show up, but the images themselves don't hsow [23:19:31] *show [23:20:02] Abulafia: do you know how to use your browser's dev tools? If you open up the network pane, do you see failed requests for images? [23:20:14] And if so, do you see what URL the browser is attempting to fetch? [23:21:02] yeah, iv enabled uploading, changed the /images folder to 777, and uploaded the image again [23:21:27] it created a new path, /images/8/8a/Logo_wiki.png, but no matter what I setup on the wgLogo the image wont show [23:21:29] only the path [23:21:32] I do, it's a long data string, one sec: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAf2CAYAAACaOg5jAABFFUlEQVR42u3dB1QV1942cPPe7/vecu+N7droHelFAUURRVFAkF6UjhQFQaQriL3EWGNLt0VNTKKJidGoSSzR2HvDggV7pYiKis83e7zDRUQFBH1veH5r7XXOmZlzWOuZff57z7DW2U2aEP272X/4BKZ/uQ3BY1bDNnye3NxTF8nbxL6iomIwpXokAhUBi5Y29z1MWzYAy36NlVvGx9swaNp6eZ84EeIEMLF6IHqzCFQE/sGqD+Qmgl+8xkJ+LvaLpuwTx4rXNe79jx8/RnJqGrx9/bB3375q3zRkaBLMO9oioH8gGktpET1Z9GwlWNHDRfBK [23:21:50] Ori - Loaded as a background sprite [23:22:36] Sorry - /extensions/WikiEditor/modules/images/toolbar/button-sprite.png?2014-12-17T20:21:40Z [23:23:02] Ori: When I browse directly to the image, it shows up properly [23:23:33] MatmaRex: did anything change in WikiEditor that would be relevant? [23:24:02] Abulafia: do you have custom css in MediaWiki:Common.css or MediaWiki:Vector.css that is styling the images to be hidden? Perhaps not deliberately [23:24:31] Ori: Good question, I'll double check! [23:25:08] ok, fixed the path [23:25:35] but the favicon wont show, do I have to use the .ico? wont a png 32x32 resolved by the mediawiki? [23:25:38] ori: probably not [23:26:02] Abulafia: what browser are you using? [23:26:33] Ori - Thanks! That was essentially it! issues in main.css for the skin. [23:42:23] Hello *. I am trying to run PHP unit and its working. I wanted to enable the xdiff part too, but I am not able to compile xdiff on a ubuntu trusty setup - anybody got it to work? [23:45:02] <^d> malaverdiere: I wouldn't bother. It's not straightforward. [23:45:26] ^d its a small chunk of code? [23:45:36] <^d> There's no libxdiff packages for ubuntu/debian anymore, you have to compile yourselve [23:46:03] yeppers :( [23:46:17] I was able to compile the lib itself [23:46:42] <^d> You should be able to compile the pecl extension if you have a working libxdiff [23:46:47] But things break at pecl install xdiff - do I really need that? Or I can just link to the .so from php.ini and call it a day? [23:47:01] <^d> It'd just be `phpize && ./configure && make && make install` [23:47:02] well, the ico stil wont work. have to go now, thanks everyone! [23:47:36] is it an incompatibility between 0.22 and 0.23? [23:47:56] <^d> Break how? [23:49:49] /tmp/pear/temp/xdiff/xdiff.c:123:2: error: initializer element is not computable at load time /tmp/pear/temp/xdiff/xdiff.c:123:2: error: (near initialization for 'xdiff_functions[9]') [23:50:43] maybe I need to run ldconfig [23:51:59] nope. didn't fix it [23:53:21] welcome to "I have no clue what I'm doing"-land [23:53:48] /tmp/pear/temp/xdiff/xdiff.c:39:5: error: duplicate 'static' [23:53:56] /tmp/pear/temp/xdiff/xdiff.c:113:1: error: unknown type name 'function_entry' [23:53:59] That makes more sense [23:56:52] <^d> Hmmm. [23:57:36] I'll download and patch it [23:57:38] no choice