[01:27:15] fhocutt: I am on my way into a Friday evening [01:27:18] fhocutt: anything you need? [01:27:52] pm? [01:28:06] sure! [01:45:43] night all [02:22:12] Hi! [02:22:20] I seriously need help really badly. [02:22:34] I got my own domain on GoDaddy [02:22:47] And used their installatron to install MediaWiki on my websie. [02:22:56] website [02:23:05] And I'm trying to enable file upload. [02:23:17] And the version is 1.2.3 [02:23:32] And the ONLY way that I see to enable file uploads [02:23:40] Is by messing with the files in the installer [02:23:45] Which I do not have access to. [02:23:51] What do I do? [02:23:56] Is there an alternative? [02:29:44] Readysteadyyeti: after you've installed it, edit your LocalSettings.php [02:29:47] !images [02:29:47] For instructions to use images in MediaWiki, see . For more technical details about image uploads, see and . Note that uploads are disabled per default (see !uploads). [02:29:55] !uploads [02:29:56] File uploads are disabled by default, set $wgEnableUploads=true; to enable it. See for configuration details, and for using uploaded images and other files. [02:30:12] Readysteadyyeti: https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads should help [02:30:46] Well I've already read this. [02:30:48] My question [02:30:49] is [02:31:05] How do I get to these PHP files exactly? [02:31:15] !g x [02:31:15] https://gerrit.wikimedia.org/r/#q,x,n,z [02:31:17] !google x [02:31:17] https://www.google.com/search?q=x [02:31:23] Readysteadyyeti: do you have FTP access? [02:31:29] !google x y [02:31:29] https://www.google.com/search?q=x+y [02:31:33] or even better, shell access? [02:31:37] !google x & y [02:31:37] https://www.google.com/search?q=x+%26+y [02:31:57] If I can access it straight off the wiki website then great. [02:31:59] But if not. [02:32:03] I can't access it. [02:32:13] I don't have ANY of the folders or files on my computer. [02:32:21] I installed it from THEIR server. [02:33:12] Unless theres some way I can access the PHP files online. [02:33:21] Just can you tell me how to access them please? [02:35:25] I don't know. [02:35:37] Ask GoDaddy if you can get FTP access? [02:35:44] They're not one of the best hosts for running MW. [02:35:52] well, I wouldn't recommend them at all [02:38:59] FTP? [02:39:28] https://en.wikipedia.org/wiki/FTP [02:39:32] File Transfer Protocol? [02:39:41] IS what I meant to ask* [02:39:52] Okay I'll ask them. [02:40:03] it lets you transfer files from a remote server and back [02:43:06] If it doesn't work [02:43:17] Should I just uninstall MediaWiki application [02:43:23] And reinstall it on my server [02:43:29] with my installer on my computer? [02:43:56] um, how would that work? [02:44:06] If you're serious about using MediaWiki, don't use GoDaddy. [03:02:07] Okay. [03:02:10] Now I got it. [03:02:16] They have an FTP [03:02:17] Thankfully. [03:02:26] So how do you read and edit PHP files? [03:02:44] you need an FTP client [03:03:07] filezilla is a good cross-platform one [03:06:01] Does FileZilla read PHP files? [03:06:15] Because I already have an FTP program on Godaddy [03:06:31] But I need something on Windows that reads and edits PHP files? [03:06:43] I'm going to LocalSettings.php [03:18:12] Readysteadyyeti: notepad [03:26:25] What does this mean? " ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";" [03:28:59] I do not see "$WGDisableUploads" anywhere. [03:36:13] Okay I got it to work. [03:36:16] Thanks for the help guys. [03:36:35] Next step: adding the French and Danish language wikis and being able to connect them. [05:13:31] hi, i need to write my notes from right in wiki [05:13:35] what should i do? [05:16:15] it is by default write the notes from the left [05:26:55] please asnwer me [05:26:57] please [05:29:03] hi, i need to write my notes from right in wiki, what should i do? [05:34:24] Is there a MediaWiki edition that are preconfigured to behave like Wikipedia? [05:34:48] So ... for example works out of the box. [05:37:29] !e Cite | darjenas [05:37:29] darjenas: https://www.mediawiki.org/wiki/Extension:Cite_ [05:38:18] p858snake|l: Another dependency that may be used in templates, especially those on Wikipedia, is Lua. Having {{#invoke: }} in template code is a good sign for it. In case it's used, you need to install the Scribunto extension and system admin access is required too. See that page for more instructions about installing and using the extension. - https://www.mediawiki.org/wiki/Help:Templates [05:38:37] wm-bot: how can write a note in media wiki start from right [05:38:38] ? [05:38:49] by default is it written in left [05:59:33] no body can asnwer me [05:59:48] i write my question 20 min ago [06:24:14] please asnwer meeeeee [06:25:09] sasan: you want to type in a right-to-left language? [06:28:59] legoktm: yes [06:29:01] please answer me [06:29:08] sasan: what language? [06:29:14] farsi [06:29:26] persion language [06:29:47] edit your LocalSettings.php, add: $wgLanguageCode = 'fa'; [06:30:55] this is documented at https://www.mediawiki.org/wiki/$wgLanguageCode [06:33:05] i am in local settings [06:33:13] there is no where to change language [06:33:21] i searched word language [06:33:25] nothing ound [06:34:22] add the line "$wgLanguageCode = 'fa';" to it [06:34:28] at the bottom of the file [06:36:33] thanks, it is OK. just tell me how can i chnage the logo also [06:36:34] please [06:36:59] !logo [06:36:59] The logo that appears in the top left of each page is from $wgLogo in LocalSettings.php. To change this you change the value of $wgLogo to point to the URL of your own logo. See . Be sure $wgLogo is set to an absolute path, starting with "/" (or a protocol "http:"/"https:"). Using pretty URLs a relative path will behave oddly. 135x135 pixels [06:37:06] sasan: ^ read that page [06:37:57] requested page is not valid [06:39:12] https://www.mediawiki.org/wiki/Manual:$wgLogo works for me.... [06:41:07] my pic is in desktop with name logo.png [06:41:17] i should inset Desktop/logo.png [06:41:19] yes? [06:43:57] please asnwer me [06:44:08] there is nothing about the link of file [06:44:10] You need to use a url [06:44:13] not a path [06:45:17] how? [06:45:37] did you read the documentation link? [06:45:40] upload the image to your wiki [06:49:10] yes, it is ok:-) thanks [06:49:16] just another question [06:49:30] i install the wiki on server [06:49:33] how can i use it [06:49:33] ? [06:50:51] in remote [06:51:00] from another computer [06:51:43] understand me? [06:52:20] umm, you should look into how to configure your webserver for that [06:52:42] any help link? [06:53:24] I don't know, it depends on your OS / webserver / local network configuration, etc. [06:54:10] it is windows [06:54:14] i have staic ip also [06:54:22] how can i remote use this wiki [06:54:24] ? [07:06:15] : understand my question? [07:06:28] yes, but I can't answer it [07:12:25] why? [07:12:28] why can not? [07:12:42] I don't know the answer? [07:13:32] assume i have a server, i install the wiki on the server, i just want to remote access the wiki from another computer [07:13:44] now, understand my question? [07:23:33] how could i chnage the phonts? [07:23:50] how could i chnage the fonts? [07:23:53] sorry [07:24:22] i use farsi fonts [07:24:29] how could i change [07:24:30] ? [07:30:15] please asnwer me [07:30:30] how could i change the fonts of my writting? [08:01:46] please answer me [08:01:52] how could i change the fonts? [08:01:56] please asnwer me [08:12:12] : how can i change the font? [08:15:50] please asnwer me [08:15:50] please [08:22:03] no body can answer now? [08:31:06] please answerrrr [08:49:48] do you know, how could we change the font? [08:54:18] no body answr me [08:54:19] :( [09:10:54] please please please please [09:10:57] answr me [09:16:25] assume i want to change the fonts to Bnazanin, what should i do ???? [09:39:50] how could i change the font?? [09:56:37] pelase asnwer me [09:56:39] :( [09:56:43] i have questions [10:22:28] could anyone help me [10:28:08] why not answer me? [10:29:48] sasan: your question abut fonts is particularly difficult to reply to. Well, not so difficult (a "learn CSS" would suffice), unless you want a step by step guide [10:30:44] basically, it requires some work for someone that knows CSS, and a lot of time to tell to someone that doesn't know CSS [15:29:29] hidgw, I wish to echo the size of this array. $resdel=$dbr->select('trait_table',array('id','trait_name'),"userID=$name",__METHOD__); I have used echo count($resdel); but it always echoes 1 despite the array having more than one values. [15:31:31] sorry that question was intented to all, the comma separator auto-completed "hi" to "hidgw" :P [15:42:01] albertcoder: that's not an array, it's a result object that sometimes acts like an array [15:42:47] !class ResultWrapper | albertcoder [15:42:47] albertcoder: See https://doc.wikimedia.org/mediawiki-core/master/php/html/classResultWrapper.html [15:43:39] albertcoder: it seems you can use echo $resdel->numRows() [15:44:13] Looking for a way to sent a file to the user instead of a page. Considering an extension that integrates a front-end for another system into MediaWiki. Want to be able to have [[MyEXT:example.pdf]] handled by an ArticleFromTitle hook and send a PDF to the user instead of a page. Possible? [15:44:31] MatmaRex, thanks let me try [15:44:51] retentiveboy1: sure. [15:45:24] MatmaRex: an example? [15:45:55] retentiveboy1: don't have any handy, but basically you can call OutputPage::disable() to disable all MediaWiki output handling, and then implement whatever you want in PHP [15:46:14] MatmaRex: excellent. thanks [15:46:34] (as in, from some hook that gives you a reference to an OutputPage object, call $out->disable() ) [15:46:35] thanks a lot MatmaRex , that worked like a breeze. [16:13:28] MatmaRex: I'm using ArticleFromTitle, looking for the custom namespace, and returning an instance of a class derived from Article. The view() method is currently using global $wgOut. Got this approach from some example somewhere. Is there a better way to get the OutputPage object? [16:21:50] MatmaRex: nm, $output = $this->getContext()->getOutput(); [21:37:14] Hello [21:37:17] I need help [21:37:32] I want to know how to create a wiki and have it in my own computer [21:38:08] Who can help me? [21:39:05] Hello? [21:40:33] Guest3221, do you have a web server installed with PHP? [21:40:41] No [21:40:54] I don't have knowledge of programation [21:41:22] umm [21:41:30] So I came here to ask it [21:41:43] On your own computer for just your use? [21:41:55] Yes [21:42:26] using mediawiki as a one-person notepad is like mowing your lawn with a tank [21:44:56] :( [21:47:25] I ran importDump.php with "--no-updates". How should I purge Special:Statistics and related pages? [21:52:55] SPF|Cloud, well importDump's --no-updates disables link tables updates. maintenance/refreshLinks.php refreshes those tables [21:53:16] and that will also update Special:Statistics? [21:54:31] Ok. I'll try it, thanks Krenait. [21:54:35] Krenair* [21:54:59] Think that might be "initSiteStats.php --update" (update preserves the current total view count) [21:55:50] What does that |Cloud part of your nick mean, by the way? [21:56:15] probably irccloud [21:56:19] Indeed [21:56:31] It stays online whole day [23:38:39] Hi! Is there anyway to limit the width in which your wiki occupies the window? I really like how my wiki looks on a smaller screen - And modern screens stretch it out so far that once nice looking paragraphs look like one line of text. [23:39:40] Mesa_: no, unless you use a different skin [23:39:42] !skins [23:39:42] 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 [23:40:11] I'm using the vector - The only skin I've allowed on my wiki. [23:40:55] *vector, not the vector [23:42:08] I've looked around at other skins, but each seems to occupy the entire screen. I've tried limiting the width of obvious things like the body, but things like the edit button stay put where they are. [23:42:45] My connection is a little of - Be right back