[00:47:12] Hi guys. Is there a way to expand the value of a reference statement to a link? I thought to a solution like this: [00:47:12] Foo Bar [[linkFromRef1|some text]] bar [00:47:12] [00:47:12] http://www.example.org [00:47:12] wget: [00:52:58] jackmcbarn: Yep for sure. This is what I'm using right now. But does this solution allow the text to be changed? I only have link like [1], [2], etc. [00:54:27] wget: no, you can't change that with Cite [00:54:36] if you really want that feature, you could file a bug report to request it [01:03:00] jackmcbarn: Ok thanks. I'm gonna check the src code, and see if I can provide a patch by myself. [01:03:00] The syntax [[|some text link]] should be great. [01:03:00] Btw, if you have some code pointer, I'm ready to hear ;-) [01:03:42] wget: if you were going to do that, you'd want to do , rather than wrapping the ref inside a wikilink [01:04:07] gwicke: do you think ^ that idea is feasible given Parsoid's Cite implementation? [01:05:58] jackmcbarn: Oh ok. Seems even "simpler" then. And, this way, I shouldn't even have race problem making sure [[link|link text]] is interpreted after has expanded. [01:07:51] jackmcbarn: trying to understand the use case.. [01:09:37] so is this about naming citation links rather than numbering them? [01:10:35] I'm not very good at guessing the use case from proposed solutions, so I might be wildly off the mark there ;) [01:10:37] gwicke: yes [01:10:44] wget: what's your use case? [01:12:44] jackmcbarn: My use case is writing a summary of the LibreOffice dev --> https://wiki.documentfoundation.org/LOWN/4 [01:12:44] Each link are references at bottom and in the .wiki file I'm editing locally it would be nice if all links were at the end. [01:12:45] The problem, as now. I can only have links like [1] using this method [01:14:51] gwicke: ^ [01:16:01] wget: so are you talking about the link between the ref in the text and the full explanation in the references section? [01:16:12] s/explanation/reference/ [01:17:22] gwicke: Yep I don't want one of my reference link to appear like [1] [01:17:58] instead it should have something like [some name]? [01:18:40] Basically, as I said, it would be: [01:18:41] foo bar some link [01:18:41] where some link is a link pointing to the link of a reference entry [01:18:49] if so, then I think jackmcbarn's idea of adding a displayname attribute would make sense [01:18:50] gwicke: Like you wrote but without even the [ ] [01:19:28] gwicke: Ok. Gonna try to provide implementation for that. If you are a dev and have some code pointers in mind, feel free to help me. [01:19:30] we could just keep that attribute (or one like it, for example data-displayname) in the HTML, from where it can be pulled out & decorated any way you like with CSS [01:20:17] gwicke: I like the link name approach jackmcbarn proposed or even something like [[|some text link]] [01:20:22] in the current Parsoid work the [] is added by CSS too [01:20:25] so very optional [01:20:39] wget: the second way would be a big mess, because would be context-sensitive then [01:21:12] yeah, that would be serious pain [01:21:43] gwicke: Yep what's annoying too is that the number in the scare bracket is actually far above the write line [01:22:04] at least in Parsoid that's purely CSS too [01:22:11] wget: you can fix that yourself without changing code [01:22:19] in the PHP parser that's somewhat hardcoded with a [01:22:29] but you can restyle that too [01:22:46] jackmcbarn: Yep, but I want to keep the existing [1] values too ;-) I don't want to override it ;-) [01:22:50] gwicke: it's not hardcoded; it's an interface message [01:23:02] well, it's hardcoded per page [01:23:05] wget: edit MediaWiki:cite_reference_link and change the sup tag to a span tag [01:23:33] and optionally, remove the sup tag from MediaWiki:cite_references_link_many_format [01:23:40] it's not straightforward to have numeric indexes in superscript & with brackets, but names on the baseline and blinking [01:23:50] gwicke: btw, does parsoid respect those messages? [01:24:05] jackmcbarn: no, we are using CSS [01:24:27] jackmcbarn: But proceeding that way will override the default appearance --> [1], right? [01:24:30] will use, that is -- the patch is close to being merged [01:24:42] wget: it will just make it not superscript, but it will still be [1] [01:25:32] https://gerrit.wikimedia.org/r/#/c/158852/https://gerrit.wikimedia.org/r/#/c/158852/ [01:25:41] this is the WIP patch for Parsoid [01:26:02] jackmcbarn: Yep. But I don't want to modify that default appearance at all, I want to keep my default [1] superscripted ;-) [01:26:25] it adds an attribute called data-mw-group [01:26:36] which normally contains '1', '2' etc [01:27:36] hmm, actually it contains the group when the ref is named [03:37:30] Can someone help me? [03:37:30] Hi Agent_Isai, just ask! There is no need to ask if you can ask [03:37:37] Upload warning [03:37:37] Could not create directory "mwstore://local-backend/local-public/b/bc". [03:37:57] I keep getting that error when i want to upload files ^ [03:38:26] !help [03:38:26] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [03:38:43] !helpfor Blogs [03:38:43] http://www.mediawiki.org/wiki/Help:Blogs [03:38:46] Ok [03:38:48] :) [03:53:12] Hello, I'm having to reconfigure a wiki that's already installed and making decent progress but for a few things. 1) How do I enable approval for registrations? 2) How do I make it so pages aren't viewable without a login? [03:58:25] Think I've found it... [04:03:46] Everything's OK except I've hit an error installing one extension: http://www.mediawiki.org/wiki/Thread:Extension_talk:ConfirmAccount/Error_with_confirmaccont Anyone here? [04:07:24] With flaggedrevs, can reviewing rights for different namespaces be granted through different user rights? [04:14:48] I've hit an error installing one extension: http://www.mediawiki.org/wiki/Thread:Extension_talk:ConfirmAccount/Error_with_confirmaccont Anyone here? [04:16:09] ok [04:22:05] monttyle: yes, people are here and got the question the first time [04:22:37] jeremyb: Thank you. [04:22:57] monttyle: first thing to check: is the extension version known to work with the mediawiki version you have? [04:23:33] sounds like maybe an internal API changed and extension is using the wrong API [04:24:28] jeremyb: It says '1.19+' and I'm running 1.21. [04:25:01] maybe it's wrong? [04:25:08] where does it say that? [04:25:42] mediawiki.org. I'm going to try installing a slightly older version of it. [04:27:49] I think I installed slightly too NEW a version. Thanks for poking me to check. That works better. [04:37:04] Hmmm. That's nice, but kind of a catch-22. The page users need to use to register is a page users can't get to, now. [04:38:16] well i don't know what you did. but the answer probably is https://www.mediawiki.org/wiki/Manual:$wgWhitelistRead [04:41:14] I think you are correct. ConfirmAccount needs to access special:RequestAccount which isn't in whitelist. [04:51:51] Everything works as it should. Thanks so much. [06:06:27] [06:03:41] hi, I just installed mediawiki on CentOS 6.5 and apache, it's now in http://servername/mediawiki/index.php what is the best practice to redirect everything from the root folder to the subfolder, in the way when I use http://servername I will be redirected there? [06:07:17] i won't necessarily say this is "best" practice but wikipedia, et al. do this: https://git.wikimedia.org/blob/operations%2Fpuppet.git/790e42ae79188e0d12a2181b1770d72c7cc219c3/modules%2Fmediawiki%2Ffiles%2Fapache%2Fsites%2Fwikimedia.conf#L24 [06:07:30] just "RewriteRule ^/$ /w/index.php" [06:08:17] is anyone else bothered by this guy starting a new thread for every mail? [06:08:20] instead of replying [07:58:06] I wonder if its common sense that all wikis should be variable width unless someone made a more fixed skin for that. Whats the general opinion there? [07:58:38] what's a width? [07:59:51] the horizontal measure of your screen. [08:07:45] shiin: in my experience, it's best to have a min and a max width. fixed width is extremely annoying. [11:06:13] hello [11:06:26] i have installed rear mail backage on host [11:06:34] but again the wiki can not send email [11:07:12] [93fc509b] /wiki/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D9%88%D8%B1%D9%88%D8%AF_%D8%A8%D9%87_%D8%B3%D8%A7%D9%85%D8%A7%D9%86%D9%87&action=submitlogin&type=signup Exception from line 304 of /home/parsinte/public_html/wiki/includes/UserMailer.php: PEAR mail package is not installed Backtrace: #0 /home/parsinte/public_html/wiki/includes/User.php(3885): UserMailer::send(MailAddress, MailAddress, string, string, NULL) #1 /home/parsin [11:07:18] this is the fault [11:09:04] error* [11:09:20] agian told me pear mail package is not installed [11:09:22] could anybody help me? [11:13:01] sasan: This means the file Mail.php can not be loaded. The reason could be that it's not found (you may have to use set_include_path to fix that, or tell PEAR to install elsewhere), or it's nto readable (for me, PEAR alsways sets the wrong permissions, and I have to use `chmod -R a+rX whatever-path` to fix that). [11:18:45] sasan: you keep dropping off, it's hard to reply that way. i'll try again: [11:18:46] sasan: This means the file Mail.php can not be loaded. The reason could be that it's not found (you may have to use set_include_path to fix that, or tell PEAR to install elsewhere), or it's nto readable (for me, PEAR alsways sets the wrong permissions, and I have to use `chmod -R a+rX whatever-path` to fix that). [11:25:12] : how could i do that? [11:25:25] set_include_path [11:25:30] how could i use this? [11:27:53] please help me [11:28:26] sasan: i have to go afk soon, but you can try this on the command line: [11:28:33] php -r 'print get_include_path() . "\n";' [11:28:45] that should tell you what the include path is. [11:29:05] it should mention "pear" somewhere. Look in the directories listed tehre and see if Mail.php is in any of them. [11:29:23] use ls -l to see whether Mail.php is actually readable, too [11:30:01] ok, bbl [11:31:56] : i run it on host [11:32:02] so how could i search? [11:33:23] go offline? [11:33:53] i run pear mail package on my host, i called provider to install [11:33:57] now it is installed [11:34:18] but my wiki is again show error that it is not installed pear mail.package [11:34:24] could any body helpme? [11:35:51] why no body answer me?? [11:41:42] please answr me [11:46:04] sasan_, please be patient. [11:46:15] ok [11:46:15] This is IRC. People can have breaks. [11:46:42] ok [11:46:52] sasan_, nobody answers you because people don't stare at the IRC 24/7 but might even do other things (like writing code). [11:46:58] it's simple how IRC works. Patience. [11:47:47] ok [11:47:54] i am waiting [11:50:06] sasan_, and you didn't answer the questions aboce so far. [11:50:18] what? [11:50:23] so not sure what you are waiting for. [11:50:32] you have not yet answered the questions you were asked. [11:50:36] 22min ago. [11:51:16] my question is not answerd [11:51:30] i am waiting for its response [11:51:44] sasan_, so what is your question? [11:52:04] from my point of view, you have received an answer already. [11:52:21] i installed pear mail package by help of provider [11:52:38] but my wiki show the eror again [11:52:45] sasan_: so what *is* your include path, and is Mail.php readable? [11:52:47] pear mail package isot installed [11:53:19] i should ask pprovider? [11:53:24] host provider? [11:53:30] sasan_: and does that include path mention pear? [11:53:50] sasan_, I'm not sure if a counter-question as a reply to a question is really helpful. [11:53:51] i asked provider, pear mail package is installed [11:53:54] just this [11:53:58] that is NOT the question. [11:54:21] alright, so open questions: does your include path mention "pear", and is Mail.php readable. [11:54:27] you mean i should add the path in local setting.php [11:54:28] ? [11:54:38] feel free to answer these questions, then we can continue tracking down the problem. [11:55:00] I never said you should add or do anything. I asked you what your include path is. [11:55:20] 1) the path which is installed pear mail [11:55:26] 2) the mail.php is readiable [11:55:36] you mean these questions? [11:55:44] do you know what an include path is? [11:56:06] no [11:56:13] then why don't you say so? [11:56:15] please read the instructions again that were given to you 28 min ago already. [11:56:28] and I'm also going to grab lunch now and be off. good luck. :) [12:04:21] i searched in host [12:04:27] hello [12:04:38] i searched alot [12:04:43] i found this [12:04:44] Location of Your PHP Extension(s) and Application(s) Path: /home/parsinte/php [12:04:54] there is that path? [12:07:14] : is it our needed path? [12:23:29] hi qgil [12:37:24] i asked my question before [12:37:34] i have problem with pear mail package [12:37:39] i have installed it, [12:37:49] but wiki show that it is not installed [12:37:56] i found the directory on cpanel [12:38:07] Location of Your PHP Extension(s) and Application(s) Path: /home/parsinte/php [12:38:15] i found sth like this [12:39:43] Niharika: could you help? [12:40:07] sasan: I have no idea what you are talking about. [12:40:38] hi sasan. My condolences on your problem [12:40:41] can i explain it again, or you do not expert in this part? [12:40:41] !lists | sasan [12:40:41] sasan: mediawiki-l and wikitech-l are the primary mailing lists for MediaWiki-related issues. See https://www.mediawiki.org/wiki/Mailing_lists for details. [12:40:50] sasan: you may find that mediawiki-l is a better place for you to get help [12:41:23] : i do not understand [12:41:31] could you please help me more [12:41:53] sasan: In order for you to get help with your problem, I suggest that you write an email to the mediawiki-l mailing list [12:42:57] what is its mail? [12:43:05] i should email to whom? [12:43:13] sasan: please look at https://lists.wikimedia.org/mailman/listinfo/mediawiki-l for more information. [12:43:27] sasan: I also suggest you read the guide at http://www.catb.org/esr/faqs/smart-questions.html . [12:44:44] : you could not help me by yourself? [12:44:48] No. [12:46:10] why? [12:47:46] sasan: Because I am working on something else right now, and because other people will have more expertise and be able to help you more effectively. Also because I don't want to. [12:47:58] I do wish you good luck. [12:48:14] I have already helped you by pointing you to helpful resources. :) [12:51:02] but i need help now [12:51:10] i am just confused [12:52:38] You've been confused for several days. [12:52:53] hi sumanah !!! [12:53:00] welcome! [12:53:08] Hi qgil! Thank you. [12:53:41] no body could help me right now? [13:09:43] sasan, if you ignore the questions that you are asked, nobody can help you, correct... [13:11:33] sorry. [13:22:26] i have searched in capnel [13:22:32] i find just this link [13:22:50] Location of Your PHP Extension(s) and Application(s) Path: /home/parsinte/php [13:22:56] is it that, youa sked? [13:23:03] no. [13:23:08] php -r 'print get_include_path() . "\n";' [13:23:22] which you have ignored so far... [13:23:48] dear i have not ingnored [13:23:54] i just asked host provider [13:24:10] that [13:24:11] he answerd me [13:24:24] i can not do it by myself [13:24:31] understand me? [13:24:54] I am not convinced that you asked your host provider the correct question. [13:24:59] Anyway, that's how you could find out. [13:25:06] And that's all. Nothing else to do here. [13:25:32] Hey thedj, you around? [13:26:01] you tell me, i should ask which question? [13:26:57] i asked him, just let me know the path which is pear mail package is installed [13:27:14] sasan: please read the backlog again. I won't repeat things again and again and again in this IRC channel. I've told you several times now. [13:27:18] Good luck. Bye. [13:33:27] sasan: Do you -have- command line access to your server? >.> [13:34:37] my server is parsintelligent.com [13:34:40] it is host [13:34:45] i can not access to it [13:34:54] but i can access to cpanle [13:35:22] susan: Yeah, thought so. Please hold. :) [13:36:08] : could you help? [13:40:54] what happned>??? [13:42:50] sasan: Patience is a virtue. I'm reading the backlog and doing research. It looks like /home/parsinte/php might be the proper path. Are you able to navigate to that path via your control panel? [13:43:09] Hey anomie, can I bug you about a bug. I want to make sure it's the one causing my API woes. Bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=70448 [13:43:40] halfak: What are your API woes? [13:44:15] My tools are failing to make edits where they once succeeded with "mustposttoken: The 'token' parameter must be POSTed" [13:44:32] I've confirmed that (as is necessary) the edit requests are being posted. [13:45:00] halfak: Is the 'token' parameter in the POST body rather than the query string? [13:45:36] Hmm... I didn't think you could send post requests with stuff in the query string. [13:45:51] I'll check to make sure it is actually in the body. [13:47:17] That was the issue. [13:47:32] * halfak feels dumb. [13:47:47] I had no idea it had been posting the data via the query string this entire time. [13:47:49] 2 years! [13:48:26] halfak: If the error message can be improved (without making it hugely long), we should do that. [13:48:35] : i am in cpanel [13:48:40] +1 [13:48:40] you mean i go to that oath [13:48:44] ? [13:49:23] sasan: Right. Are you able to access that file path via File Manager in cpanel? [13:49:38] I shall file a bug. [13:49:39] yes [13:49:41] i am in there [13:50:28] sasan: Mmk. Give me a few more minutes. Still researching and whatnot. [13:50:42] ok [13:56:03] anomie, https://bugzilla.wikimedia.org/show_bug.cgi?id=70656 [13:56:54] Thanks again for your help. [13:59:12] sasan: So, yeah. That's definitely where PEAR is installed, but that's still not telling us what the include path is. I'm pretty sure (though not 100%) that we can write a short file that will give us the include path without command line access. [13:59:44] i do not know what is include path [13:59:53] sasan: Hold tight. [14:00:01] i just asked but the provider did not know what is include path? [14:01:32] greetings [14:03:16] sasan: You're going to need to create a new php file and put it into your public_html folder with the following code in it: https://dpaste.de/8RJ8 [14:03:44] sasan: You can then access it by navigating to www.yoursite.com/file_name.php [14:03:59] sasan: And that should give you the answer Andre__ has been looking for. [14:04:26] you mean i generate a .php file [14:04:32] and insert it [14:04:33] ? [14:04:42] what should be its name? [14:05:35] sasan: Which, interestingly enough, is not the /home/username/php path that I expected it to be. Fixing the problem may be as simple as redefining the include_path array in a .htaccess file, but I'm not sure. I'm still a PHP/Web Development baby. [14:06:12] sasan: It can be anything. I named mine php_include.php [14:06:17] sasan: So I could access it at www.mysite.com/php_include.php [14:06:28] sasan: Just make sure you delete it after. [14:07:16] sasan: Not really sure, but something tells me that having your include path out there for all to see isn't great practice. [14:10:19] i have generated a file called php_include.php [14:10:25] with content [14:10:35] then i should upload it to my main folder\ [14:10:51] ? [14:10:51] Sweet. [14:10:56] Yes. [14:11:02] a min [14:11:09] Then navigate to it and tell us what it says. [14:11:14] Or give us a link to it. [14:11:15] Either way. [14:13:07] i have upload [14:13:16] my website is parsintelligent.com [14:14:36] : have you checked? [14:14:39] sasan: What'd you name the file? parsintelligent.com/php_include.php is giving me a 404. [14:14:57] to me also [14:15:16] it is the file name [14:15:16] php_include..php [14:15:28] sorry mistake [14:16:31] php_include.php [14:16:34] it is its name [14:16:36] Is parsintelligent.com using a subdirectory as the root? I.e. I have multiple domain names site1.com, site2.com, etc. site1.com points to the /home directory, but site2.com is technically located in /home/site2 [14:16:38] is it correct? [14:17:05] it point to root [14:17:10] i have just 1 site [14:17:12] If parsintelligent is found in /home/parsintelligent, etc, the php_include.php file needs to be in -that- directory. [14:17:24] Basically, the ifle needs to be in the root for that site. [14:17:37] =/ [14:17:51] Not sure why that wouldn't work, then. I'm at a dead end. [14:18:41] you mean i should upload the file to where the website is point to? [14:19:38] : where are you?? [14:20:01] sasan: Yes, that's correct. [14:20:24] whatis correct? [14:20:59] sasan: If you're using the version of cpanel that I'm testing on, you should be able to select Document Root for: and then your site from a drop down when going into file manager. [14:21:05] You'll need to drop it there. [14:21:11] anyone expiriencing any issues with the CategoryCloud Mediawiki extension? [14:21:31] i am going in file manager [14:21:37] and upload my file there [14:21:37] Dingo: I couldn't get that one working at all for me, but then... I kinda suck, so. [14:21:38] is it correct? [14:21:52] Yes. In the Document Root for your site in file manager. [14:22:22] i am going in file manager [14:22:31] and upload my file there [14:22:38] moliver: same here,every time i add it via localsettings.php my server spits out a http 500 error and refuses to work until i comment that line out [14:22:42] could you remote to my pc and check it [14:22:49] by team viewer [14:22:51] ? [14:25:06] ? [14:25:20] : why not answer me? [14:25:29] Dingo: Yeah, same error, I think. [14:25:44] sasan: Jeebus. Gimme a minute. ._. [14:25:53] ok [14:27:24] : please check again [14:27:26] please check [14:27:27] it is ok now [14:27:53] Sweet. [14:28:02] : http://www.parsintelligent.com/php_include.php [14:28:06] please check it [14:28:36] Cooooool. [14:28:37] Oka.y [14:28:44] Now we're getting somewhere, maybe. [14:28:54] so what should i do now? [14:29:14] sasan: Not sure. But now we've answered the questions. [14:29:43] andre__ : Any chance you can take a look at this, now? The include path for sasan's site is .:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php [14:30:16] But I'm -pretty sure- that the PEAR package is located at \home\user\php [14:30:26] sorry, busy with other stuff right now [14:30:54] i am too [14:30:59] andre__ : Meh, no worries. I'll keep trudging through it. [14:35:00] sasan: I have an interviewee waiting downstairs. I'll help when I get back. [14:35:19] ok, i am waiting [14:37:35] when you come back, let me know [14:45:22] not come back? [14:49:15] sasan, please be patient. [14:49:46] ok [14:49:56] It's barely been 15 minutes since he went. [14:55:29] sasan: Okay, I'm back. [14:55:32] sasan: It should be noted that I have no clue what I'm doing. But possibly try doing this... [14:55:54] ok, welcome back [14:56:04] You can try creating a .htaccess file and placing it in the same directory as the file you created previously. [14:56:10] With this text... [14:56:17] https://dpaste.de/yrKn [14:56:29] Now, creating an .htaccess file. [14:56:46] You're going to want to close file manager and reopen with the show hidden files option checked. [14:56:51] ^Very important. [14:57:07] Because you're going to want to make sure there's not already a .htaccess file there. [14:57:20] could you remote [14:57:21] ? [14:57:24] please [14:57:50] sasan: Learn by doing. =p [14:58:01] please [14:58:02] but i want to see [14:59:39] sasan: Sorry. I've given it thought, and I really can not remote into an unknown system from my workplace for security reasons. [14:59:42] Sorry. [14:59:50] : what should be its name? [15:00:30] why sorry? [15:00:45] Are you creating the file on your pc or directly in file manager? [15:01:12] i just creating a file [15:01:17] what should be its name? [15:01:52] If you are creating the file on your computer, then you're going to want to name it something like htaccess.php. You'll then rename it to .htacces once you have uploaded it. [15:02:05] Sorry, .htaccess [15:02:29] So that's htaccess as the file extension with no file name. Literally (dot) htaccess [15:02:32] dear in file manager i have a file named [15:02:33] .htaaccess [15:02:40] Yeah, I thought you might. [15:02:50] you mean i replac? [15:02:53] Can you try to open it and pastebin the contents? [15:03:07] No, we may need to -add- our code to the already existing file. [15:03:32] ## # @package Joomla # @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved. # @license GNU General Public License version 2 or later; see LICENSE.txt ## ## # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your serve [15:03:34] this is its content [15:04:30] Ugh. Yeah. I don't know. [15:04:32] : have you seen its content? [15:04:39] It looks like we should be able to overwrite it. [15:04:42] But I'm not certain. [15:04:56] Please see above where I said, "It should be noted that I have no idea what I'm doing." [15:05:10] Save a backup of that file, sasan, and then overwrite it. [15:05:16] no i can not overwrite [15:05:32] Ooookay. [15:05:38] Can you append our code to the end? [15:05:46] Right into the same file? [15:05:46] DanielK_WMDE: do we have a meeting nwo? [15:06:07] Lydia_WMDE: you too? [15:06:15] you mean this code [15:06:16] [15:06:30] Yeaaaaah. [15:06:31] I think. [15:07:23] now i upload in file manager? [15:08:18] its name changed to htaccess.txt [15:08:30] i can not changed its name to .htaccess [15:08:40] Yeah, you're going to need to rename it to .htaccess [15:08:46] Hum. [15:08:51] i can not it show error [15:08:53] Let me test some stuff. [15:09:05] please remote [15:09:07] if you can [15:09:13] What's the error? [15:09:14] by use of team viewer [15:09:22] Also, can you rename the current .htaccess file? [15:09:59] i can not rename if to .htaccess [15:10:04] it show error [15:10:22] What's the error? [15:10:59] you must type a file name [15:11:09] Huh. [15:11:15] Well. [15:11:21] That's interesting. [15:11:32] When you're trying to rename it within cpanel or on your PC? [15:11:39] Because I would expect that error on your pc. [15:11:43] But not in Cpalen. [15:11:48] Cpanel. [15:11:56] on my pc, you mean i change it in cpanel? [15:12:38] Yes. [15:13:55] It would be nice if [http://www.foo.com bar] could be written simply as [www.foo.com bar] [15:14:25] On OS X / FireFox, URLs copy to clipboard without the preceding http:// [15:14:41] i have renamed [15:14:54] what should i do? [15:14:55] So. [15:15:10] Our code is currently in the .htaccess file in the root directory? [15:15:29] yes [15:16:08] Okay. Test your pear thing now. [15:16:18] If it doesn't work, though, I have no idea what to do next. >.> [15:16:34] how could i test pear? [15:16:41] I don't know. [15:16:47] you mean i register in wiki and test that it send out email or not? [15:16:52] What were you doing earlier that was giving you an error? [15:17:00] Sure. Yep. [15:17:02] a min [15:17:28] nternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@parsintelligent.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encoun [15:17:38] it show me internal error [15:17:44] hi [15:17:55] Well, that's a different error, at least? >.> [15:18:57] no no, when i open my wiki it show this error [15:19:04] my wiki can not be loaded [15:20:08] hi [15:20:15] I suppose it could be possible that the PATH_SEPERATOR constant is not defined. [15:20:29] : what should i do now? [15:20:49] Add this to your .htaccess file: https://dpaste.de/4DyQ [15:20:51] ? [15:20:51] now, what should i do? [15:20:51] ? [15:21:08] Make sure it goes before the code we just set. [15:21:15] you mean i clera the last one? [15:21:16] So, right after No. [15:21:27] No, in addition. [15:21:57] So [15:21:58] you mean this [15:21:59] if ( ! defined( "PATH_SEPARATOR" ) ) { if ( strpos( $_ENV[ "OS" ], "Win" ) !== false ) define( "PATH_SEPARATOR", ";" ); else define( "PATH_SEPARATOR", ":" ); } [15:22:22] yes? [15:22:23] this one [15:22:24] [15:22:45] Looks right. [15:24:39] : same [15:24:43] internal erro [15:24:47] i can not laod my wiki [15:24:50] or website [15:25:37] Well. [15:25:43] That'd be because I suck. [15:25:55] what should i do?? [15:25:56] twss [15:25:58] If you remove that .htaccess file, it should go back to the way it was, at least. [15:26:25] he he:) [15:26:32] but my probelm is exist [15:27:02] Yeah. [15:27:11] Did you remove the .htaccess file? [15:27:28] i just rename it to .htaccess1 [15:27:44] and upload our .htaccess [15:31:14] : no idea for solving this [15:37:12] what happened? [15:39:05] Sorry. Apparently I was having net rouble. [15:39:49] so what should we do? [15:40:17] Well, like I said. [15:40:30] If you revert back to the original .htaccess file, it should fix your site. [15:40:51] As far as the entire problem, I unfortunately have no more ideas. [15:41:28] However, you have the answers to andre__ 's questions, so perhaps he can help further when he's free. [15:45:07] Well, that was anticlimactic. [15:46:05] moliver: You have a hell of a patience. [15:46:41] Niharika: I have many years of tech support experience. Lol. [15:46:53] haha [15:46:55] Ha. :) [15:46:56] moliver: It's a different skill set, I think. [15:46:58] You know for the first N times they haven't done what you asked [15:47:26] Typing to myself, wth... I need a break. XD [15:57:47] Hello! [15:58:26] Can someone help me how to block guests to create new accounts? [16:02:48] FinnishguyXXX: yes, [16:03:11] FinnishguyXXX: https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [16:28:32] mlitn++ thanks for the merge [16:43:32] Nikerabbit: could you explain the removal of jQuery as a dependency in RL modules, like for Semantic Forms here? https://gerrit.wikimedia.org/r/#/c/157698/1/SemanticForms.php [16:44:05] It's not needed, apparently [16:44:10] The same problem has come up for another one of my extensions, Page Schemas - it's a very simple fix, to just remove 'jquery' from 'dependencies', but I don't understand why it's needed. [16:44:30] Reedy: well, it's more than just not needed - having 'jquery' actually causes problems. [16:44:48] I think it is documented somewhere... [16:44:50] That's what I don't understand; because all those JS files do, in fact, use jQuery. [16:44:50] Krenair: ^^ ? [16:45:00] yes [16:45:11] Yaron: jquery and mediawiki modules are always loaded anyway [16:45:22] Krinkle|detached, ^ [16:45:28] Yaron: in fact, if they are not loaded, no other modules can be; the whole ResourceLoader depends on them [16:45:32] Krenair: Krinkle|detached is on a plane : [16:45:34] :) [16:45:38] MatmaRex: okay, that's good to know. [16:46:05] I guess having 'jquery' as a dependency leads to errors because there's no longer a 'jquery' resource even defined? [16:46:10] Yaron: as to why you can't depend on them explicitly, that's caused by a complex and boring interplay of internal RL components :/ but you can't, there's a unit test in core that checks all modules for this [16:46:29] Okay, cool. You had me at "complex and boring". :) [16:46:36] Yaron: basically, [16:47:12] Yaron: the modules are defined and always loaded, but they are marked as 'raw', which among other things means that RL does not track *whether* they are loaded [16:47:37] Yaron: so, when you try to depend on one, RL sees that it's not loaded and tries to load it again, which breaks things [16:47:55] Okay, that basically makes sense. [16:48:18] Yaron: it used to work before 1.24 by chance, it was broken by an unrelated change recently [16:48:30] That would explain it. [16:48:52] MatmaRex: I just hope that 'jquery' does not need to be explicitly included for earlier versions of MW - like 1.19, which we're supposed to keep supporting. [16:49:16] Yaron: no, ever since RL exists, it is guaranteed to be loaded before any of your code is loaded [16:49:32] (just make sure you're not depending on any features added by newer jQuery versions :) ) [16:49:39] Ah - just a mistake on my part, then. [16:50:00] I don't think so... no special jQuery wizardry for me, just the basics. [16:59:28] MatmaRex: should have said it before, but thanks for your help! [16:59:54] anytime [17:12:15] How can I add a title header to the 'vector' skin? [17:18:28] Our hapless pear inquirer never returned, I see. >.> [17:19:24] monttyle: What exactly do you mean by "title header"? [17:20:16] I want the general title of the wiki at the top of every page in that big blank white space. [17:24:15] Should just be a spot of php, I would think. But it would -probably- be best to make a new skin by copying over the files, etc, then editing that skin. Let me see what I can find. [17:24:18] Is that possible? [17:24:21] crosspost. [17:40:27] monttyle: Did you et it figured out? [17:41:07] moliver: I'm stumped, so I asked here. Also trawling through themes hoping for one close to what I want. [17:42:08] monttyle: Kk. I was able to get text into the area I -think- you're looking for by adding a static string into the mw-head-base theme. If you're just looking for something static, that might do it for you. [17:42:48] monttyle: There might be a variable that holds the site name so that it can be pulled dynamically, but I haven't found it yet. [17:43:02] Add text to
? Tried that, does nothing. [17:43:23] oh, right. [17:43:38] $wgSitename [17:43:42] Huh. [17:44:17] monttyle: This worked for me, have you tried something like this? [17:44:18]
This is the Site Name
[17:44:54] monttyle: You'll probably want to wrap it, like Title goes here [17:45:01] That way you can style it. [17:45:16] Yeah, I understand... AH. There it goes. I had to reload three times. :) Stupid caching. [17:45:31] And I -bet-, if you want to be crafty, you could put in some snappy php to write it for you by calling the variable $wgSitename. [17:45:57] monttyle: The cache will get'cha every time. [17:46:42] That's undefined unless you force it in LocalSettings.php, oh well. [17:48:03] ...and it is forced and doesn't work, so static will do :D [17:49:22] Sweet. Sometimes it's not worth it to make things perfect. [17:55:33] Thanks so much. This was one of those 'oh by the way' things they told me at the last minute. It was either that or rename the entire site to www.ludicrouslylongurlthatnobodywillevertype.com for 'clarity' [17:57:42] monttyle: Lol! Yes. I understand that. That sounds much like the whole thing I had to deal with earlier this week. "Oh, you've set up a knowledgebase? We're going to need it to dynamically pull our patch notes. Thanks." >.> [17:58:29] That's life in IT, nobody knows what they want until they need it :) Oh well. [18:05:52] ...and now I have to fix all their pages for them too since they used external links for everything... [19:11:06] I use Chrome (on a Chromebook w/ ChromeOS), and when I have the browser set to 90% (zoom), the icons for 'bold', 'italics' etc. becomes... weirdly placed [19:13:35] Josve05a: what icons? there are at least three different editors with different toolbars you could be using [19:13:43] (screenshot would help :) ) [19:14:40] http://oi58.tinypic.com/vnzh48.jpg [19:15:16] Since I'm using Chromebook (for my first day), finding stuff is hard. No PrntScreen-button... [19:15:30] No "folders", no nothing.... [19:22:25] That's the WikiEditor extension, looks like. [19:24:32] It doesn't surprise me that there's issues with the css. they're not even out of Beta yet, last I checked. [19:24:51] I'm wrong. Ignore me. [19:25:04] okey... [19:26:52] Josve05a: Are you sure you're on the current version? Can you check on your Special:Version page? [19:27:09] current version? sure, I can check... [19:27:31] 1.24wmf19 (b813a22) [19:28:01] Josve05a: Sorry, I meant the version of your WikiEditor extension. [19:28:23] WikiEditor-extention? Do I have that turned on? [19:28:49] 0.4.0 (9ed80e8) [19:29:12] Actually, that -doesn't- look like wikieditor, now that I look closer. Is your wiki publically accessible? [19:29:31] wiki? I'm on enwp [19:29:52] You probably should just file a bug ;) [19:30:15] I also have mw.loader.load("//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript"); added [19:30:24] if that could be something... [19:30:34] Try disabling it and see :) [19:31:41] (also it says that I shoud click alt-shit-s to save, but when I do that, it brings up the "cumputer" settings, but if I just press alt-s it saves the page...) [19:32:02] No, not that script [19:32:50] I hate filing bugs...bah! [19:33:44] Yeah, basically everything Reedy just said. >.> If this is a problem you're having on Wikipedia, it's best just to file a bug. I -think- you can change your editor in preferences, but I'm not sure. I don't usually mess with Wikipedia (le gasp). [19:33:57] alt-shit-s :P [19:34:04] :P [19:35:31] Yeah, confirmed. You can disable the different editor toolbars in user prefs. Might be worth a go if the issue's in the way while you wait for a resolution. [19:36:29] I'm also feeling obligated to make a, "You can fix it by chunking your chromebook and buying a real laptop," joke but idk. =p [19:38:03] It is my schools... [19:38:20] It was a jest. No worries. [19:38:21] moliver: "install linux" [19:38:33] https://bugzilla.wikimedia.org/show_bug.cgi?id=70679 [20:01:17] gwicke, are you there? [20:12:30] Halp! Halp! My database is really angry with me and acting possesed! [20:13:14] Ulfr_: How much holy water do you have [20:13:21] Also, salt the doors and windows [20:13:48] Maybe #MediawikiExorcism can help out here ;-) [20:14:14] For whatever reason, my database servers decided they were going to have a really, really bad day [20:14:28] Huh. [20:14:38] I accidentally dropped a table on the slave instead of the master, then DNS and API functionality started going bonkers [20:14:39] longs tory. [20:14:41] ANYWAY [20:14:41] Ulfr_: Unless you start giving us errors or logs I'm not sure what you expect :) [20:14:57] !paste [20:14:57] http://tools.wmflabs.org/paste [20:14:57] Everything on the database servers, hold yer horses!, is working fine [20:14:58] BUT [20:15:16] the latest edits to a page aren't being treated as the most recent version [20:15:27] like, someone makes an edit, and then views the page, the edit doesn't appear [20:15:28] BUT [20:15:44] if you go to the history tab, there it is, with a newer timestamp that's viewable [20:16:09] cache problem? [20:16:25] Vulpix: Noooope. When I bypass cache same behavior occurs [20:16:25] what if you edit it again? does the latest wikitext appear? [20:16:44] Nope! it doesn't change. In fact the 'future' edit merges with the most recent one [20:16:57] but it's intermittent, only on certain pages. I can edit my user page and that updates fine [20:17:29] http://www.wikidoc.org/index.php/Tricuspid_regurgitation_pathophysiology [20:17:34] Check the history, I edited the page [20:17:37] BUT ITS NOT UP TO DATE [20:17:51] * Ulfr_ can only express puzzlement bordering on alarm [20:18:38] integrated wikEd... [20:19:09] It wasn't my idea. Don't judge me ;; [20:19:16] Use monobook and it's better [20:19:28] wow, there's something really wrong here [20:20:16] I opened the last diff, and it appeared a "next" edit, that when followed, it gave me "(5 intermediate revisions by 2 users not shown)" [20:20:58] I know one of them is me, the other's probably a fellow [20:23:52] something went wrong with this edit http://www.wikidoc.org/index.php?title=Tricuspid_regurgitation_pathophysiology&diff=next&oldid=1020051 [20:23:53] Ulfr_ While the real professionals look through your issue, can I bother you to tell me how you got that search bar there? [20:24:10] moliver: Uhhhh [20:24:32] I was forced to muck with Vector.php [20:24:34] !db page [20:24:34] See http://www.mediawiki.org/wiki/Manual:page_table [20:24:54] it hasn't updated the page_latest field of the page table [20:25:33] Oh, crap. [20:25:34] and further edits don't seem to change it neither [20:25:44] Ulfur_ Ah. Kk. I run a corporate knowledgebase and they've kinda just... Accepted the tiny search box on the top right of Vector, but that search bar there looks glorious. [20:25:51] maybe you restored that table from backup or something? [20:26:10] Vulpix: Nope! Master wasn't ever touched. Only thing he did was squeeze out a massive dump [20:26:34] moliver: I mean, the guys here will judge you for ever and ever and ever for doing so, but I really just did a little copy/pasta action on Vector.php [20:27:00] Vulpix: That's what's odd. Other pages update fine, arbitrary ones seem to have issues [20:28:04] the thing is that I don't see how it wouldn't update the page_latest on futher edits [20:29:14] I could think that maybe it has a logic of "don't update it if the base revision is not the page_latest" but that would be stupid [20:32:08] Vulpix: So i'm not crazy, this is like, weird [20:32:09] right? [20:32:27] Ulfr_: the only thing I'd do is to do another edit and see if that fixes the issue. If not, fix that particular page on database, and perform another edit again. If the problem reproduces, enable a debug log and see for any strangeness there [20:32:45] Vulpix: I'm deleting the page to see what that does [20:32:56] failing that I'm just going to respawn the whole freaking thing after hours [20:35:30] Best way to get rid of server ghosts is to kill everything with fire imo [20:36:10] including the server itself :P [20:42:48] Yaron: Reedy: Not only is it not needed to depend on jquery, doing so is conceptually impossible and illegal. jquery/mediawiki form the base layer from which modules are loaded. For a few years depending on them caused a phpunit error, as of 1.24 it will actually be fatal at run time since they are no longer exposed as modules at all. [20:43:16] weird question, but there's meaning behind it: is it imaginable that a MediaWiki page would have a title that wouldn't fit in an edit summary? [20:43:52] If I understand correctly, both are limited at 255 bytes, but I may be misinterpreting something. [20:43:59] It's a bit like being an a RequireJS environment and saying require('require') [20:44:26] aharoni: namespace prefix is not included. [20:44:57] and possible other syntax like [[ and ]] [20:49:22] Krinkle: exactly - I wanted to create automatic edit summaries with links, and to add a few words, so with that it can go over the limit. [20:50:13] so what's the safe way to link from an edit summary to another article? a URL to a revision? not-clickable, but less likely to fail? [20:55:51] aharoni: you can link to a revision using [[Special:Permalink/1234]] [20:56:03] aha! [20:56:13] MatmaRex: that should be useful. [20:56:15] but that's not very pretty [20:56:25] in this context, i mean [20:57:07] a vast majority of page titles will fit the summary, and even MW itself doesn't care when it doesn't e.g. in page move message (it gets truncated) [21:27:54] MatmaRex: aharoni: Also, permalink is revision id, not page id [21:28:08] yes [21:37:06] hello, I have some trouble with sorting pages in a category using the api [21:37:39] given i.e. the sortkey 272b372d4301868d08010a00 for a certain page, php packed and urlencoded as %27%2B7-C%01%86%8D%08%01%0A%00 [21:37:53] this won't work correctly http://pl.wiktionary.org/w/api.php?action=query&list=categorymembers&format=xml&cmtitle=Kategoria%3Ahiszpa%C5%84ski%20%28indeks%29&cmprop=title|sortkey&cmlimit=10&cmsort=sortkey&cmdir=desc&cmstartsortkey=%27%2B7-C%01%86%8D%08%01%0A%00 [21:38:03] the page 'ácido' should be listed on top [21:40:48] hm, what could be wrong? [21:42:57] PeterBowman: How did you generate that sortkey? [21:43:13] using prop=categories on that page [21:45:35] PeterBowman: Why are you encoding the sortkey? [21:46:14] I upgraded from 1.21 to 1.23 and now I'm having a problem with my admittedly very old custom theme. Instead of correct link text---say "Recent Changes"---I'm getting "<recentchangeslinked>". [21:46:15] I need to pass the binary representation of that hex tring [21:46:20] *string [21:46:34] uckelman: That's usually a missing message [21:46:37] Anyone have an idea of what's causing this and how I can fix it? [21:46:37] and then percent-encode it [21:46:54] PeterBowman: Also, can you try copying and pasting the API link again? It got cut off at &cmso [21:47:30] this is the query part [21:47:31] action=query&list=categorymembers&format=xml&cmtitle=Kategoria%3Ahiszpa%C5%84ski%20%28indeks%29&cmprop=title|sortkey&cmlimit=10&cmsort=sortkey&cmdir=desc&cmstartsortkey=%27%2B7-C%01%86%8D%08%01%0A%00 [21:47:43] Reedy: It looks like msg('recentchangeslinked') ?> is what's producing that output. [21:48:58] Hm, got it [21:48:59] How do I enable the "style = "XX"" HTML attribute inside pages? at the minute the text is just printed [21:50:15] Reedy: If the message with that key is missing, any idea where it came from before and where it's gone to? I didn't have that defined in my skin before with 1.21 and it worked. [21:50:22] PeterBowman: Strangely I can't decode %86, not sure why [21:51:18] uckelman: It's in core... Are you using some localisation cache? [21:51:41] marktraceur: you can cut the string to %27%2B7-C%01 and get the same result [21:51:50] Reedy: I'm not sure what a localization cache is. Does that have to do with locales? [21:52:22] Hm. [21:52:35] Reedy: This is what I'm seeing: http://www.vassalengine.org/wiki/Main_Page [21:55:20] Reedy: I can see that the missing keys appear to be in some of the files in languages/i18n. [21:57:17] uckelman: http://www.vassalengine.org/mediawiki/index.php?title=Special%3AAllMessages&prefix=&filter=all&lang=en&limit=500 [21:57:35] That almost looks like one of your extensions is breaking it all [21:58:52] Reedy: Why do you say that? [21:58:52] gute: hey [21:59:02] http://www.vassalengine.org/mediawiki/index.php?title=Special:Version [21:59:06] Most of your messages seem missing [21:59:41] Reedy: Yes, but why attribute that to a broken extension? I don't follow that inference. [22:00:02] Because there's only some messages from some extensions [22:00:08] It's likely they're overriding something they shouldn't be [22:00:15] https://en.wikipedia.org/wiki/Special:AllMessages [22:01:40] Reedy: Can I disable an extension by simply renaming the director its in? [22:01:52] Just comment it out in LocalSettings.php [22:01:54] PeterBowman: I don't know, that's weird [22:02:03] I confirmed that it goes backwards and forwards just fine [22:02:11] But maybe mediawiki is doing something wrong when it decodes. [22:02:31] it seems to break on non printable chars [22:04:16] PeterBowman: why are you decoding/encoding the sortkey? just pass it as-is [22:04:19] yes, the range %01-%1F does nothing... [22:04:23] this seems to work: http://pl.wiktionary.org/w/api.php?action=query&list=categorymembers&format=xml&cmtitle=Kategoria%3Ahiszpa%C5%84ski%20%28indeks%29&cmprop=title|sortkey&cmlimit=10&cmsort=sortkey&cmdir=desc&cmstartsortkey=272b372d4301868d08010a00 [22:04:56] MatmaRex: it starts sorting from a completely different position, I need to start at "ácido" [22:05:06] sortkey is actual binary data that has nothing to do with category sort keys (e.g. [[Category:Foo|sortkey]]) [22:05:25] oh. hm [22:05:41] indeed [22:05:46] looks like a bug [22:05:51] * MatmaRex digs into the code [22:05:53] Reedy: I shut off MediaFunctions, ParserFunctions, and UserFunctions. That appears not to have helped. [22:05:54] :) [22:05:56] gl MatmaRex [22:06:01] MatmaRex: https://doc.wikimedia.org/mediawiki-core/master/php/html/ApiQueryCategoryMembers_8php_source.html [22:06:13] pack() on line 131 [22:06:16] uckelman: disable LDAP for the luls [22:06:26] Oh, hm, I didn't try packing [22:06:31] Reedy: Yep, just tried disabling LDAP as well. [22:06:37] Reedy: Still no better. [22:06:54] Reedy: I think it's not the extensions. [22:07:14] Possibly [22:07:19] It just looked awfully fishy [22:08:03] Next question is back to how your localisation config is setup [22:08:22] Reedy: Where would I find that? [22:08:28] LocalSettings too ;) [22:08:48] Reedy: What am I looking for? To the best of my knowledge, I've never touched any i18n stuff. [22:09:58] Reedy: Nothing in LocalSettings.php jumps out at me. [22:10:45] $wgMessageCacheType among others [22:11:18] Reedy: I don't have $wgMessageCacheType. [22:11:24] You can check for any rows in the l10n_cache database table, and truncate the table [22:14:03] Reedy: It's ok to clear the I10n_cache table? [22:15:16] yup [22:15:16] Reedy: Nope, truncating the I10n_cache didn't help. [22:15:32] PeterBowman: i dunno. can you file a bug? [22:15:45] ok [22:20:37] Reedy: Is there a way to get MW to output a fresh LocalSettings.php? It might be that things are missing from mine due to its being so old. [22:21:11] You can re-run the installer [22:21:26] Reedy: Wouldn't that clobber my current installation? [22:21:31] Nope [22:21:43] You can use the installer to update instead of update.php [22:22:56] Reedy: I don't follow. [22:27:22] Reedy: [22:27:34] Reedy: Thanks for your help. I'm going to have to return to this tomorrow. [22:33:36] MatmaRex marktraceur it's reported then: https://bugzilla.wikimedia.org/show_bug.cgi?id=70690 , thank you for your time :) [22:42:41] No problem PeterBowman