[01:05:34] Is there any way I can get the resource loader to load styles for text input boxes? [01:10:18] APerson_: uh, more context? [01:10:30] legoktm: I'm trying to use .mw-ui-input in a userscript [01:10:44] the styles for buttons work fine, but the ones for inputs are undefined [01:11:13] I guess the text input styles aren't loaded by default, so I'm screwing around with the local load.php to see if I can get it to spit out the text styles [01:11:34] oh, I got it [01:11:36] I'd recommend using oojs-ui if you're writing something new [01:11:54] At the moment, I'm using jQuery pretty heavily [01:11:56] https://www.mediawiki.org/wiki/OOjs_UI [01:12:00] !ooui [01:12:03] !ooui is https://www.mediawiki.org/wiki/OOjs_UI [01:12:04] * APerson_ checks that out [01:12:04] Key was added [01:12:26] sounds a little heavyweight for a simple userscript [01:12:26] it's a replacement-ish for jquery UI and more stuff [01:12:46] well, you just use whatever widgets you need [03:21:39] isn't there a template on mw.o somewhere for "Not Wikipedia"? basically https://www.mediawiki.org/wiki/Template:Not_wikibooks but for wikipedia? I swear there is and I need to use it but can't find where it is [03:22:07] nvm found it, https://www.mediawiki.org/wiki/Template:Not_an_encyclopedia [03:47:07] georgebarnick, if a redirect is appropriate you could make one. [04:02:38] o/ hi all [04:02:53] how would one display a | in a wikitable? [04:03:41] {{!}} [04:04:16] nuf0xx: that's the best and most preferred way. You could also do | [04:04:29] suppose i would need a template for {{!}} [04:04:48] nope [04:04:58] it's built into core if you're using a recent version of MediaWiki [04:06:16] hmm I'll look into updating , {{!}} displays "Template:!" [04:33:47] nuf0xx: you can just create Template:! with the content | and it'll work [04:36:31] * SamB_7 kinda wonders why MediaWiki doesn't have Template:! out of the box [04:36:45] SamB_7: it does in 1.24+ [04:36:59] ah [04:41:04] Is there a JavaScript function or something that can be run through console to trigger VisualEditor to initiate? [04:47:49] probably [04:59:47] Figured there'd probably be one. Now if only someone could tell me what it is.. [05:39:16] georgebarnick: mw.libs.ve.onEditTabClick( { preventDefault: $.noop } ); [05:54:32] ori: thank you! [09:59:26] it appears that wgLocaltimezone doesn't work on 1.19 [10:00:06] how do i enable the site-wide 'portal' in sidebar? [10:01:33] i wonder if anyone can help me with regards to locks and uploads .. [10:01:38] !sidebar | Tuju [10:01:38] Tuju: To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [10:01:52] the uploads are successful but i get a lot of warnings about unlink() of locks [10:01:57] Tuju: basically, edit MediaWiki:Sidebar and add an item for it [10:02:01] the locks are generated but not deleted .. :( [10:03:05] znx: you can set up a debug log to see the sequence of things it tries to do, you may see more info there [10:03:10] !debug | znx [10:03:11] znx: 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 [10:03:57] Vulpix: i should be able to .. but i believe the cause is possibly suphp .. do you know of any issues surrounding mw and suphp? [10:05:59] znx: in https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads I see "If using suphp, make sure the umask is set to 0022 (or less) in /etc/suphp.conf." [10:06:08] no idea if that's the problem or not :( [10:06:34] can i turn of file locks? [10:09:05] yes, it's a bit complex to configure that, though [10:09:19] let me see where it was documented... [10:09:30] the only reason i am aiming at that is .. i cannot make suphp changes .. :\ [10:09:33] Vulpix: shouldn't that portal page appear there by default in every installation? [10:10:41] znx: try this https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Problem_With_File_Upload:_Could_not_acquire_lock_for_%22mwstore://local-backend/local-public/1/1e%22./reply_%2812%29 [10:10:50] Vulpix: many thanks .. i shall [10:11:26] Tuju: it was in earlier versions of MediaWiki, but was removed because the "portal" page is something wikipedia-ish that most wikis don't use and left as a blank page [10:11:32] hmmm...i cannot edit because i didn't give myself byrocrat rights and changed login already, kind of painted myself into corner. [10:11:48] Vulpix: ack, thanks for info. [10:12:03] is there a way to elevate user rights via database? [10:13:02] Tuju: there's https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php [10:13:22] Vulpix: haa, excellent! [10:19:35] Vulpix: hrmm .. that specific entry has some issues .. it looks like wguploaddirectory isnt defined at the point of the localsettings.php .. as it thinks the path is / not /mywiki .. equally "$directory" which i guess is meant to be uploaddirectory .. [10:20:34] same for $wgDeletedDirectory .. i think i can mangle it to work though .. [10:20:55] Vulpix: that didn't work, but found it from database and changed it there. :) [10:23:36] Vulpix: ooo .. so close .. the only issue i have now is the URL is / but not /mywiki .. :) .. still tinkering [10:36:26] Vulpix: with a little bit of adjustment to that stuff you pointed at it looks to have disabled the locks .. and my uploads are functional without the splash of warnings i was seeing before [10:36:30] many thanks [10:36:50] :) [10:37:25] Vulpix: for future .. some of the variables in that setup dont seem to be set at the time of reading localsettings.php .. which is where my issues appeared [10:37:48] so i had to set them myself .. but i just used the defaults . [10:38:05] there is also a straight error .. which is the local-thumb being set to $directory .. [10:38:10] but .. working [10:39:04] znx: yes, the next messages provide fixes for that... I'm creating a page that contains all the fixes now [10:39:32] ace .. thanks [11:04:24] Hello ! I am new here. I want to get involved in open source development. I have a good knowledge of C, HTML and CSS. I also know the basics of PHP, JavaScript and Python. Could some one guide me as to how to get started or hone my skills? [11:05:11] akshitkumar1: As a first step, read through https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [12:01:56] akshitkumar1: while mediawiki is a very rewarding project to contribute to, it's not the easist. the codebase is big and garly, and it's geared towards scalability rather than elegance or simplicity. quite a few people are working on it, but most are payed full time. not a typical oss project, and not the easiest to get started with [12:02:22] akshitkumar1: if you want to do in, by all means, go ahead! feeel free to ask questions here or on the mailing list. [12:02:43] err, if you want to *dig* in... [12:03:08] i guess the trick with mw coding is to get into an "edge" of it [12:03:18] like .. um .. do translations .. [12:03:27] So which organization would you suggest me to get involved with as I am still a novice. [12:07:49] hey moushira! [12:08:08] Hey DanielK_WMDE! [12:08:17] akshitkumar1: tricky question. anything backed by an actual organization is probably big, old and gnarly... [12:08:39] lol [12:08:40] akshitkumar1: what i found best is to find things that annoy me about some software, and then find out how to fix them [12:09:22] akshitkumar1: that gives you a glimpse at different projects and communities, different approaches, languages and techniques [14:07:45] Hello [14:07:58] Hi [14:08:15] How can i help in mediawiki? [14:10:11] carliitaeliza: What sort of skills do you have, what do you want to do? [14:10:27] carliitaeliza: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker has some basic information [14:14:19] bawolff ok thanks [14:16:03] carliitaeliza: Best way is to try and find some very small thing to fix, and try to fix [14:16:19] If you actively use mediawiki as a user, try and find some part of it you personally don't like [14:18:49] bawolff aah yes yes [14:19:23] Don't be afraid to ask questions if you have any [14:32:32] bawolff hi i have a question [14:32:38] yeah? [14:32:51] What is mediawiki? [14:35:33] MediaWiki is the software we make [14:35:45] The program that powers Wikipedia and similar sites [14:36:32] !wikipmedia [14:36:32] Confused about the differences between MediaWiki, Wikimedia, Wikipedia and wiki? See https://www.mediawiki.org/wiki/Wikipmediawiki [14:37:03] Oh but what does the people do in mediawiki bawolff [14:37:30] people do a lot of different things in mediawiki [14:38:02] Hack user accounts? [14:38:50] bawolff could you tell me an e.g of this [14:39:07] About what they do [14:39:44] carliitaeliza, Mediawiki is the software that runs wikipedia, wiktionary, etc. [14:39:49] People who use mediawiki? or what do people do who develop mediawiki? [14:39:54] people who help with wikimedia help develop mediawiki [14:41:18] About what they do [14:41:24] The developers [14:41:38] They code and improve and add new features to mediawiki [14:42:17] Developer = who creates a software [14:42:17] GEOFBOT -help [14:42:18] That bot [14:42:37] ? I'm not a bot lol [14:43:05] bawolff i want to help but i dont have knowledge about this,where can i make my first test? [14:43:15] carliitaeliza: https://git.wikimedia.org/log/mediawiki%2Fcore.git is a list of some things that people have done recently [14:43:21] GEOFBOT human human? [14:43:37] This is the second time someone thought I was a bot lol [14:43:59] GEOFBOT, while, you do have bot right in the name :P [14:44:25] :P don't want to switch to Sn1per, too used to the GEOFBOT username [14:45:33] bawolff and who made this bot? [14:45:44] Because it speaks [14:45:51] GEOFBOT is not a bot [14:45:58] And keep a talking as a person [14:46:07] Mmm ok [14:46:09] lol XD [14:46:13] wm-bot is the only bot in this channel [14:46:24] wm-bot hi [14:46:36] It doesn't speak [14:46:38] Well [14:46:57] chatterbots are not terribly useful for developers [14:47:03] !bot [14:47:03] A bot is an automatic process which interacts with MediaWiki as though it were a human editor and is designed to simplify repetitive actions too cumbersome to do manually. An overview of how to create a bot and a list of known frameworks can be found at http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot [14:47:32] !botnoob [14:47:32] I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm and you can visit #mwbot which shares the same db (read only) [14:48:01] bawolff everyone who creates a bot for wikimedia is considered as a developer? [14:48:25] And for other websites of course [14:48:27] Anyone who works and codes for wikimedia is a developer [14:49:16] That's great GEOFBOT [14:50:11] Bawolf thank [14:50:17] Thanks [14:50:31] Thanks Geobot [14:50:36] Geofbot* [14:50:46] do you have any coding experience? there are some easy bugs if you want to try your hand at them [14:51:15] No,i dont have [14:51:57] You can start by learning some PHP, Javascript [14:51:59] I just opened a computer shell of window but i dont know what to do in this [14:52:19] www.codecademy.com is a nice site for beginners [14:55:17] I know the basics of PHP and Python. Are there some easy bugs which I can try my hands on ? [14:56:06] !easy [14:56:06] We keep a list of bugs that are easy to solve, in case new developers want a simple step to start out with. Check out https://phabricator.wikimedia.org/tag/easy/ and let us know if you need any help fixing your first bug! [14:57:01] akshitkumar1, make sure you don't work on a bug someone has already claimed. [14:57:18] Okay [14:59:06] Bawolff i am reading the page that gave me geofbot [14:59:30] ^-^ [14:59:55] carliitaeliza, great! :) akshitkumar1, this one might be easy? https://phabricator.wikimedia.org/T97242 [15:01:23] GEOFBOT :) i will keep reading and as i am too smart i will save all information in my usb memory [15:02:41] carliitaeliza, you should start out with the Javascript track and do PHP after that [15:04:22] GEOFBOT i am going to animate my name [15:05:42] ok, good luck [15:06:52] Mmmm i am connected from my phone so i can do anything [15:11:30] GEOFBOT I don’t get as to how to solve the bug. Where do I get to code from,to debug? [15:12:15] akshitkumar1, well, all the code is hosted on gerrit. You'll need a gerrit account to be able to propose changes. [15:12:37] https://www.mediawiki.org/wiki/Gerrit/Getting_started [15:22:01] Hi GEOFBOT [15:22:17] hi Nemo_bis, what's up? [15:23:43] GEOFBOT: backlog after France travel :) [15:24:18] cool :P I got back yesterday from a school trip which explains my abscence [15:24:29] *absence [15:24:52] How are things? [15:26:12] Not bad, how about you [15:27:05] Fine, but I have an SAT on June 6th [15:27:18] * GEOFBOT shudders in fear [15:43:35] the SAT isn't bad at all, just tedious [15:44:02] oddly enough i did better on the ACT. i prepared significantly for the SAT, and not at all for the ACT. [15:44:55] Took me a while to realize that getting almost 1600 actually *meant* something ;-) [15:45:33] i took the test on the 2400 scale, but most schools didn't care about the writing section [15:45:45] so if you ignored writing it was still out of 1600 [15:45:55] I think I got 1230/1600. [15:45:59] It's been five years. [15:46:58] :P the SAT is unforgiving about careless mistakes though. [15:47:21] It's perfectly forgiving if you're willing to take the test again! [15:48:32] XD but they are changing the SAT January 2016 so I don't have much time left if I screw up :/ [15:49:07] Now it's out of OVER NINE THOUSAAAAND [15:49:14] Actually I think they're going back to 1600. [15:49:17] Fickle test. [15:49:22] Well that's far less fun, harej [15:50:05] wonder how much profit CollegeBoard makes off these tests :P [15:50:28] Definitely over nine thousand. [15:53:49] Over nine thousand thousand! ($55.1 mil in 2006) [17:32:52] Good night [18:01:15] hi [18:01:30] I have just upgraded to 1.25.1 but MultiUpload extension doesn't work anymore [18:01:47] after updating it, it shows a blank screen [18:02:16] when MultiUpload is activated in LocalSettings.php, Special Pages page is also blank [18:02:25] any idea ? [18:02:50] !blank | maxagaz [18:02:51] maxagaz: A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [18:04:33] Fatal error: Cannot redeclare class SpecialMultiUpload in /***/***/mediawiki-1.25.1/extensions/MultiUpload/SpecialMultiUpload.php on line 120 [18:15:50] I don't know why that happens, but that extension is indeed broken for 1.25 at least :( [18:18:03] also that extension declares an own Special:Upload page... [18:19:07] is there a better extension for multiple file upload ? [18:20:05] none that I'm aware of, and that extension was good when it worked... [18:23:20] UploadWizard? https://www.mediawiki.org/wiki/Extension:UploadWizard [18:24:19] I have installed Extension:MsUpload, but I can't see it in the special pages [18:24:49] it only appears in Version page [18:25:52] UW requires Extension:EventLogging? :S [18:26:28] legoktm: ^ ? [18:27:28] hi [18:27:42] (since you were mentioning cross-extension dependencies to me the other day) [18:29:14] maxagaz: I'm not sure if anyone has tested MultiUpload with 1.25, it required a lot of hacks to work around core that may no longer work... [18:29:51] Vulpix: it doesn't look to be a hard dependency [18:29:53] I can confirm MultiUpload no longer works in 1.25 [18:30:28] It breaks basicly every release... [18:30:31] I know ashley cleaned up MultiUpload a while back... [18:32:43] It wasn't anything particularly major. It probably needs rewriting ... if that extension is even supported by MediaWiki's core functions/hooks/etc these days. [18:34:29] that extension includes it's own SpecialUpload.php file... that's hacky [18:34:59] also, it seems wikipedia has a new skin now, is it possible to set it for my mediawiki ? [18:35:21] ... how new is new? [18:35:25] lol [18:35:48] Vector is the main desktop skin, it's been around for a few years now... [18:37:18] ah, my bad, it was the monobook skin... [18:38:29] I recently logged in with my wikipedia account after a few years, it changed my skin, I thought it was a new one, although it looked to me a bit old fashioned [18:38:46] lol [18:39:11] heh [18:47:09] Can I get some info on bundling echo notifications? The docs are currently pretty unclear and do not explain the code at all: https://www.mediawiki.org/wiki/Echo_(Notifications)/Developer_guide#Bundled_notifications [18:54:10] MsUpload works fine [19:03:59] I am having a bit of a difficulty in configuring git-review. On the mediawiki page, it is asking me to create .config/git-review/git-review.conf in my home directory. How to do that in the command line. I am using MacOSX system.Could someone please help me out? [19:11:02] MultiUpload does indeed break like every release; no, I do not (thankfully!) maintain it; yes, the current iteration is hacky [19:11:26] akshitkumar1: that is normally configured automatically, did you follow https://www.mediawiki.org/wiki/Gerrit/Tutorial ? [19:14:14] codeze : I am going through that document and that is wny asked this,because after installing git-review, the tutorial asked me to configure it,by creating .config/git-review/git-review.conf [19:15:04] I checked my .config directory and it has no git-review directory [19:15:44] akshitkumar1: then create one, and add git-review.conf to it with the mentioned contents [19:16:43] codezee : How do you add git-review.conf. What command should I use in my terminal? [19:17:40] akshitkumar1: create the directory first and then inside the directory create a new file git-review.conf with any text editor and add the two lines [19:17:43] akshitkumar1, you can use TextEdit and go to that place and make a file [19:18:10] Okay,thanks a ton [19:23:18] or if you're hardcore, you can use emacs B) (just kidding) [19:41:16] Hello people [19:41:25] Can someone help with a little problem? [19:41:58] so the problem ist [19:42:57] failed to open stream: No such file or directory in /var/www/web74/html/tearswiki/includes/AutoLoader.php on line 1282 Fatal error: require(): Failed opening required '/var/www/web74/html/tearswiki/includes/objectcache/ObjectCache.php' [19:43:07] hi [19:43:09] Screenshot of complete Error: http://i.imgur.com/IBzSmBl.jpg [19:43:37] Our Server crashed because of an error of the Raid Controller and our webhoster restored from an backup [19:43:38] hi MatmaRex [19:43:55] thegamer93: looks like some of MediaWiki's files are missing. try reuploading them, i guess [19:45:43] Okay we will try [19:45:48] maybe they are damaged [19:46:30] akshitkumar1, how far are you on setting up git review? [19:48:18] Yeah, I made the .conf file. Right now I am cloning the mediawiki core repo to learn how to submit a patch. Do you suggest I do something else? [19:48:59] akshitkumar1, maybe would be a better idea if you cloned the pywikibot repo so you can start working on the bug right away :P [19:50:10] but either way is a good idea to practice using gerrit [19:53:02] GEOFBOT: I have only done the PHP track of codecademy. Should I check out other resources first in order to contribute? [19:55:07] akshitkumar1, there are a lot of different projects that use python and php without other stuff, don't worry about it too much [19:57:28] akshitkumar1, https://phabricator.wikimedia.org/T97242 should be an easy beginner bug as far as I can tell [19:58:13] if you're interested you can log in to phabricator using your gerrit account and claim it [19:58:34] that way two people don't accidentally work on the same stuff [20:00:07] GEOFBOT : How do you claim a bug? [20:03:14] okay objectcache folder is missing :D my friend who has access to the server says this folder was in none of the backups but I guess it is needed. Thats where the error comes from [20:07:27] next error Fatal error: Class 'MediaWiki\Logger\LoggerFactory' not found in /var/www/web74/html/tearswiki/includes/objectcache/ObjectCache.php on line 91 [20:07:52] If I have a question about developing with some part of MW code that noone on IRC can answer, where can I go? [20:08:06] akshitkumar1, log in, go to the bottom of the bug page where it says Add Comment and click Reassign/Claim in the drop down [20:08:16] make sure your name is in the box and click Submit [20:12:04] UltrasonicNXT: if your question is very specific to a part of mediawiki,you can seek help on project-specific channels [20:12:36] UltrasonicNXT: What part? [20:13:12] GEOFBOT : Oh, thanks a ton. I have cloned the pywikibot repo. What should be my next step? [20:13:43] akshitkumar1, the task is to use httpbin instead of getstatuscode for the "http tests". [20:13:53] In the pywikibot repo, you can find the http tests in tests/http_tests.py [20:14:31] marktraceur: echo [20:15:20] UltrasonicNXT: What is your question? [20:16:20] marktraceur: well I have a few, but firstly how do bundled notifications work? The docs (https://www.mediawiki.org/wiki/Echo_(Notifications)/Developer_guide#Bundled_notifications) are pretty unclear, and just give a code sample without explaining anything [20:16:34] OK [20:17:12] UltrasonicNXT: What part isn't clear to you? Or rather, what are you trying to do that you can't? [20:18:26] marktraceur: well what I'm trying to do, I think, is, for example, when two different users comment on a post the current user is subscribed to, send them just one notification rather than two [20:18:38] Right, OK [20:19:33] UltrasonicNXT: And why isn't the example working for you? [20:20:07] marktraceur: well I just don't even understand the example [20:20:14] like what is that code even doing [20:20:21] I assume(?!) it's a hook [20:20:27] (it doesn't say) [20:20:35] What is it meant to return/modify? [20:20:39] etc... [20:21:17] UltrasonicNXT: Looks to me like it modifies $bundleString, and things that get the same value will be bundled [20:21:17] what is the $bundleString param? [20:21:39] UltrasonicNXT: So like, if you wanted to bundle for a page, you'd use this example pretty much verbatim [20:22:02] UltrasonicNXT: If you wanted to bundle for all notifications of this type, you could just set $bundleString = 'my-notification-type' [20:22:28] T2001 etc. [20:23:11] wait but if it's a hook surely just setting it equal could override another exension's modifications to it? [20:23:38] yeah that is what I'm thinking Lcawte [20:24:23] UltrasonicNXT: Then don't modify the param unless your event type comes up (hence the example checking $event->getType()) [20:30:40] another wiki and another error [20:30:42] [8dc9a2f1] 2015-06-01 20:29:39: Fatal exception of type MWException [20:30:47] this time its this error [20:30:56] after this wiki is up running I am fine :D [20:31:08] !debug | thegamer93 [20:31:08] thegamer93: 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 [20:32:32] akshitkumar1, join #pywikibot where you can ask questions about the bug [20:33:03] thank you [20:33:34] GEOFBOT : Thanks a ton. I know I am asking a lot of questions,but I am pretty new to all of this,so thanks again. [20:35:22] akshitkumar1, no problem, I like to help people :) [21:10:11] marktraceur: another one if you're still there :) When triggering a notification (https://www.mediawiki.org/wiki/Echo_(Notifications)/Developer_guide#Create_the_notification_via_the_Echo_extension) how do I specify who it's meant to be shown to? This should be obvious you'd have thought, but I can't find it... :/ [21:17:33] Fantastic question. [21:17:39] I am trying to figure it out now. [21:18:05] ahah thanks [21:21:58] UltrasonicNXT: At a very early guess, I think if you pass any User object into any member of the 'extra' array, it notifies that User [21:22:01] But I'm still digging [21:22:35] marktraceur: ahh that would be clever [21:28:38] Aha! [21:28:50] UltrasonicNXT: There's a hook called EchoGetDefaultNotifiedUsers [21:28:58] UltrasonicNXT: See e.g. https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FThanks/09600586b18e18061e05815bdffb7f46b1219525/Thanks.hooks.php#L205 [21:29:32] I see [21:29:39] Wow that must have taken some digging [21:29:42] Many thanks [21:34:55] Gonna leave this till tommorrow, but no doubt it'll crop back up. I'll try and update some docs as I go. Many thanks again