[00:20:24] biberao: it's often permission issues or some other misconfiguration [03:17:57] is it reasonable to use 1.23 branch since it is scheduled for release in a week? [03:18:20] for setting up a new wiki [03:18:28] I think people do it [03:21:41] IanKelling: Its in release candidate stage, so it should be good, but at the same time we appreciate people testing it and telling us if there are any bugs [03:21:48] so they can be fixed before the final release [03:22:31] awesome. i'm gonna use it :) [03:43:29] IanKelling: it's not like you have a whole lot to lose if there's an issue, is it? [03:46:14] SamB: not at all [03:54:02] Look at it this way, some of the more crazier people run essentially git master [06:21:16] hi guys [06:21:40] i'm trying to migrate my website to sthing more easily collaborative [06:26:26] Okay. [06:53:25] bork bork bork. [07:23:30] hi! shouldn't text/plain mime be allowed if a file valiator allows txt mime? [07:24:28] http://paste.kde.org/pwvl9b1yd#line-12 [07:24:59] line 15 returns "text/plain" but i still get a file validation error that the input file is not an allowed format [07:26:20] wrong channel :/ [07:26:46] I was gonna say... [07:26:48] :P [07:27:06] yeah, #laravel is just a few pixels north :D [11:00:54] hi! i'm having problems with the job queue, trying to make a csv import with the data transfer extension, and trying to create a semantic class. these jobs are not being done!! i've already changed sme options in local settings, like $wgMaxShellMemory = 512000; $wgJobRunRate = 100; what can i do? what i'm not seeing? [11:05:18] Desatonao: what MediaWiki version? [11:10:13] 1.22 [11:10:37] vulpix exactly 1.22.3 [11:11:58] Desatonao: 1.22 have problems with the job queue. Try setting $wgPhpCli = false; in LocalSettings.php until you upgrade to 1.23 https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_introduced_in_MediaWiki_1.22 [11:13:15] Vulpix k, i will try :D [11:14:29] yuju!!! it worked!!! thx a lot!!! [11:14:32] :D [11:24:21] good :D [11:25:59] does gerrit allow a patch series to be reviewed together? i.e. workflow commit, commit, review [12:31:36] anyone how to create/use a {{username}} magic word? i'm looking for it, trying things, but i'm not finding the solution [12:42:51] Desatonao: it won't work as a magic word, because of the parser cache. It would display the name of the user who edited/purged the page for last time [12:43:27] or who-knows-what if it was reparsed by a job queue item [12:50:43] Vulpix well, maybe as a variable or a specialpage to link at, which gives the username. maybe a workaround like that. now i'm trying to adapt myself with special:mypage [12:57:09] ?? «The displaying of errors connected with the magicword.php hinders installing MLEB, if you cut those lines it will work.» https://www.mediawiki.org/wiki/Thread:Extension_talk:Translate/Fatal_Error_require_once_when_try_to_install_the_MLEB/reply_(7) [13:04:15] Desatonao: you can somewhat do this by using JavaScript. That's the only way to make it work. See for example http://en.uncyclopedia.co/wiki/Template:USERNAME [13:17:08] Vulpix thx for the link, but it doesnt solves my problem [13:24:24] hi, i'm just starting skinning on media wiki and i got a question [13:25:01] is there an easyway to show thing only to registered users ? like the discussions, edit, history buttons ? [13:28:00] spoutnik16, http://www.gossamer-threads.com/lists/wiki/mediawiki/237373#237373 [13:28:54] thx [13:28:58] andre__: thx [13:29:13] editing MediaWiki PHP files is not a good idea btw [13:30:40] how bad of an idea is it ? [13:31:06] it's unmaintainable if you plan to upgrade MediaWiki in the future [13:34:16] good point... [13:34:22] maybe you can now remove those links from this hook https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal [13:48:21] hi [13:49:58] is it possible to make mediawiki ignore imagick.so? [13:50:10] i mean work without have it? [14:34:13] hi! is there a way to list all links on a page in the order as they appear on the page? [14:35:11] I know prop=links query with web api lists all the links on a particular page, but it does so alphabetically [14:45:52] Djain: no, there's not (other than just parsing the page yourself) [14:51:28] ok, thanks [17:19:35] hello sir i have one question [17:19:46] How may we help you? [17:19:53] i want to create table in mediawiiki database [17:20:21] what would be the best way to install mediawiki manually? [17:20:38] biberao: manually? [17:20:43] yes [17:20:56] sir i am doing to create extension [17:20:57] like not using http://ip/wiki [17:21:06] We have a CLI install script [17:21:29] i gotta try that because it fails when creating the db [17:21:30] !hooks LoadExtensionSchemaUpdates | sofat [17:21:37] !h LoadExtensionSchemaUpdates [17:21:42] ff [17:21:43] s [17:22:13] so in this , i want when my extension is installed in mediawiki then in database tables automatically create [17:22:19] sofat: https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates [17:22:25] "automatically" [17:22:34] Usually we tell people to run maintenance/update.php [17:22:41] Which does the database updates [17:22:49] ok [17:22:52] yoou mean me or sofat ? [17:23:54] i also use this [17:24:04] but this method not help me [17:24:24] so wait will try again [17:24:30] which script Reedy you guys have? [17:24:58] biberao: https://github.com/wikimedia/mediawiki-core/blob/master/maintenance/install.php [17:25:17] going to try it [17:25:43] thanks [17:27:31] sir [17:27:34] i want to show you my code [17:32:44] Reedy: what if use a premade Localsettings.php [17:32:48] will that work? [17:32:51] and dump the db on it? [17:36:23] mostly yes. Need to change certain config variables ($wgDBName, etc. Also possibly some things like $wgScriptPath) [17:36:35] ok then it will be easy [17:36:40] lets see if it will work :X [17:37:16] http://hiteshkumarsofat.wordpress.com/ [17:37:31] pleas check this link there is code [17:37:49] first post [17:38:48] well you made an error at $updater->addExtensionTable(‘Student’,dirname(__FILE__).’student.sql’,true); [17:39:06] but I suggest you test it, as the error message will easily tell you what you did wrong [17:39:17] That's really hard to read [17:39:20] !update | sofat [17:39:33] bawolff: what about the key? [17:39:58] biberao: $wgSecretKey can be any random string of digits [17:40:06] oh ok then [17:40:16] 2 sites cant have the same key? [17:43:00] It doesn't matter [17:43:09] more secure if they have different keys [17:43:23] but really doesn't matter that much at all [17:45:29] im getting db errors :| [17:45:47] yes i am alsio [17:45:50] also [17:45:56] getting the error [17:46:57] Missing rc_timestamp field of recentchanges table. Should not happen. [17:47:17] biberao: Sounds like you are missing a table [17:47:27] more than one i guess [17:47:28] :D [17:47:29] biberao: or your database is screwed [17:47:36] i cant make it work ok [17:47:57] is there a test db i could get just with the tables and make it work for me? [17:48:26] biberao: Your plan of "> and dump the db on it?" won't work if you don't do the "and dump the db on it" step [17:48:38] i know [17:48:46] i forgot i emptied it hehe [17:48:56] i dont have the db here :| [17:49:10] isnt there a dummy one? [17:50:24] sir i am not understand [17:50:40] please tell me how i do this ? [17:52:11] bawolff: nope? [17:53:57] biberao: maintinance/tables.sql sort of, but I don't know if that does everything. We have the installer for a reason - to install mediawiki and do these things [17:54:29] sofat: Well try it out, e.g. run update.php, see where it fails, see if you can figure out how to fix where it fails, and if you get stuck ask [17:57:01] maintenance/tables.sql can't be run directly, it's meant to be sourced by the installer script (it contains "hints" on where to insert things like the table prefix that are invalid sql) [17:57:58] er well, it's valid without, but you'll be missing out on certain options like the engine, charset, etc. [17:59:13] Well it can be run via sql.php, but yes, please just use the installer [17:59:58] sofat: when you attempt to run update.php to install your tables, you get an error message. Read the error message to understand what needs to be fixed. You may need to set $wgShowExceptionDetails = true; in your LocalSettings.php first to get the full error message [18:00:07] im having an issue :D [18:02:31] same error 1146: Table 'w3_sebokwiki_refresh.recentchanges [18:02:33] oops [18:03:05] wrong paster [18:03:55] recentchanges missing [18:08:33] why do I get the feeling that you're completely ignoring our advice? [18:09:36] step 1: run the installer [18:09:54] step 2: import the data into the freshly-installed wiki [18:10:16] (if you don't have data to import, then just do step 1) [18:10:50] you can run the installer via the command line iirc, so you don't have to use the web interface [18:33:17] !blankpage [20:19:58] Hello [20:20:07] Hi. [20:20:25] I need some assistance on the svg images. [20:20:42] For some reason I can't get the white background on the images to go away. [20:20:59] $wgSVGConverters = array( 'ImageMagick' => '$path/convert -background none -thumbnail $widthx$height\! $input PNG:$output'); [20:21:15] Change the $path/convert -background white to 'none' [20:21:17] But nothing [20:23:05] *echo echo echo* [20:25:10] Vivaporius: you can always try using a different converter, no idea why would imagemagick do that [20:25:51] I tried using Inkscape, but the images disappeared and turned into this weird placeholder image. [20:26:07] Vivaporius: rsvg is what Wikimedia uses [20:26:23] Oh. Well thank you. I'll try it right now. [20:26:26] Vivaporius: weird place holder probably means something went wrong when configuring [20:26:37] Yeah. [20:28:26] librsvg right? [20:30:20] yes [20:30:45] although it also needs the rsvg binary, not just the shared library [20:33:15] Okay [20:59:44] hi [21:01:14] hi biberao [21:04:21] i cant make the loggin table :| [21:33:10] marktraceur: How is this done: http://georgebarnick.com/refreshed-beta/index.php?title=Special:Version/Credits/MultimediaViewer [21:34:13] GeorgeBarnick: create a file called "CREDITS" or CREDITS.txt in your extension's folder [21:34:23] legoktm: thanks [21:34:44] Yay technology [21:35:08] * biberao kicks logging table on mediwaiki [21:35:24] * marktraceur bans logging table from mediawiki [21:35:43] vagrant now needs root access in setup? :/ [21:35:59] marktraceur: i trying to install mediawiki manually [21:38:04] marktraceur: Is "git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn | cut -d\ -f2-" the command that generates the list of contributors from git? [21:38:40] GeorgeBarnick: yes [21:38:48] MatmaRex: sweet [21:38:51] That's what the page says.... [21:39:11] "SELECT count(*) FROM `_prefixwatchlist` WHERE wl_namespace & 1 LIMIT 1 [21:39:16] :| [21:39:27] syntax error [21:40:24] db._prefixwatchlist doesnt exist [21:40:30] the same arr [21:42:46] is there a way i could it manually? [21:46:52] If you have to ask that question, then you shouldn't be doing it [21:47:37] As was said before, if you have a working database lying around, you could copy that. But if you don't have a working db lying around, use the installer [21:50:58] bawolff: i cant do it other way it gives me errors [21:51:32] Well try and debug those errors then [21:52:03] ive pasted them here its the premature php headers too [21:52:42] That's usually caused by people modifying source code, is your copy directly from mediawiki.org [21:52:51] Also that's not a fatal error, so it won't stop the installation [21:53:56] bawolff: yes did copy that from mediawiki [21:53:58] didnt change anything [21:54:23] Actually I went in the logs, I thought you meant a different error (output already sent) [21:54:36] for your error, usually that's a misconfiguration of your web server [21:54:41] or php segfaulting [21:54:46] ya [21:54:48] i bet [21:55:00] i cant touch it at the moment [21:55:58] hehe