[01:19:24] Well, I'm getting closer in my search for why my 1.12 isn't doing RSS feeds, it gives me HTTP 500's [01:20:26] The problem is that the diff between two things is stalling and I think that my shared server shuts down after 10 seconds of thinking. [01:20:55] http://temblast.com/w/index.php?title=Help:User_rights&curid=3&diff=10&oldid=8 [01:22:35] So many people here and no one with an answer? [01:36:28] hey Dantman|Away [01:36:41] ah, "away" [01:37:16] 03(mod) Diff doesn't work with internal links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14852 (10N/A) [01:50:06] 14(WFM) Diff doesn't work with internal links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14852 +comment (10cbrown1023) [02:32:48] ^_^ Heh, yes, away... [06:33:06] > [Sat Jul 12 18:53:59 2008] [error] [client **.**.**.**] (20024)The given path misformatted or contained invalid characters: Cannot map GET /wiki/index.php/User:Chemistrygeek HTTP/1.1 to file, referer: [06:33:24] Does anyone have a clue why those errors have filled my apache error log? [06:33:52] The pages still load [06:34:04] its just annoying that its flooding my logs.... [06:35:54] and yeah [06:36:03] its with every page.,,,,, [06:37:03] sounds like you're running on windows [06:38:05] Yes lol [06:38:26] what makes you say that? [06:38:38] apache on windows doesn't like the colon in file paths [06:39:14] No way to elevate that? [06:39:28] besides going linux [06:40:09] dont use fancy urls [06:40:32] Meh [06:40:36] ill just leave it [06:40:53] Its just flooding my logs, nothing serious [06:41:00] strip the error log of those boring messages periodically? [06:41:14] http://www.mediawiki.org/wiki/Manual_talk:Short_URL/Archive_1#Colon_issue_with_Very_Short_URLs_on_Windows [06:41:21] (no solution shown there though) [06:41:45] ((seems to be a different error actually)) [06:42:07] http://www.mwusers.com/forums/showthread.php?t=4407 [06:42:14] old thread, but same problem [06:43:04] mayhap a rewrite rule could %3A it before apache looked at it too closely [06:43:54] (although Title.php might need a little hacky, since it normalizes it in short urls) [06:56:02] ^_^ Yay, I finally figured out what I was doing wrong with the branch/copy command in TortoiseSVN [07:17:51] lol Dantman [07:19:46] You know how there is a 'From', and a 'To'... Apparently From is the revision/path to start, and To is the revision/path to end, and that becomes the range which is merged into the CURRENT directory.... ^_^ For the longest time I thought that From was the path and revision range to merge from, and To was the path and revision range to merge that into [07:20:45] ^_^ Obviously merging is going to utterly fail when you're trying to merge a range which resides in two completely different directories... rotfl [07:21:09] Especially if that second one is the current directory you're trying to merge into ;) [07:23:27] Dantman: So, you stole my idea. [07:23:35] What one? [07:28:09] morning [07:30:52] Werdna: ? [07:37:04] hi guillom [07:37:09] hi [07:37:18] Dantman: that central blacklisting extension has been on my todo list for yonks :P [07:37:21] no time to do it now, though [07:37:27] gotta do thuis deletion queueing thing [07:37:49] ^_^ Din't know you had an idea like that... though it's a little more than just a central blacklisting extension [07:38:18] just be careful not to duplicate AbuseFilter [07:38:31] I'm thinking of adding various ui improvements for it after the core is done [07:38:33] they're different things, for sure. [07:38:42] yeah, the blacklists need a better UI [07:38:53] As I understand AbuseFilter is a throttle like thing, this is a Whitelist/Blacklist [07:39:11] Well, better UI is part of the very core of this extension [07:39:16] I was going to do the same thing.. do it all with a special page, rather than an ugly MediaWiki page. [07:39:20] That is part of the core [07:39:57] AbuseFilter is an extension, it's basically for when you need rules more complicated than a straightforward regex blacklist. [07:40:31] It's basically all the blacklists combined, plus some extra fancy features and better ways of matching edits and better consequences for edits that do match [07:40:37] but that means a performance penalty per-rule. [07:40:40] (parsing etc) [07:40:47] What I meant by adding various ui things after done with the core... Might be something like adding a hepfull link in the toolbox on a userpage which lists a quick link to use the filter to globalblock them, stop name creation, and stop editing of their user page/talk [07:41:19] nifty. [07:41:28] brb [07:46:49] *Werdna re-turnz [08:26:25] *Werdna cuddles Lady_Aleena [08:26:45] *Lady_Aleena cuddles Werdna. [08:27:06] how goeth teh templates? [08:27:08] Werdna, you forgot your end punctuation. :) [08:27:15] Which one? [08:27:55] the ones you were getting help with [08:28:14] The banner is on hold for a day or two until I delve into the show/hide thing, and the other is all right now, though I may have problems with it in the future since it uses #ifexist in it. [08:28:37] *Werdna hopes you have good music on hold [08:28:57] What? [08:29:41] *Lady_Aleena is currently listening to Bad Animals by Heart. [08:30:33] I had no clue until today that there was a parser function limit. [08:31:20] *Lady_Aleena thinks she lost Werdna somewhere. [08:31:31] banner is on hold [08:31:35] as in on the phone [08:35:08] Ah, I understand. [08:37:23] brb [08:46:32] back [08:50:12] hey guys... is it possible to retrieve data from a database on wiki pages by implementing a parser function like {{#data:table|column|value}}? [08:51:50] i searched through mediawiki's extension library but couldn't find something that suits this purpose [08:52:00] 03(NEW) Search and Linksearch special pages belong in one group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14865 15enhancement; normal; MediaWiki: Special pages; (bugzilla.wikimedia) [08:53:13] when trying to write such an extension myself, I met errors which seemed to say that the database connection I was trying to establish conflicted with mediawiki inner database calls [08:55:02] Wyvernoid, give them a few minutes to wake up. Sometimes answers take a while. :) [08:56:14] ohh thanks... does anybody know about this issue? [09:02:29] Erm... well, there is one or two... However why do you want that? You do understand how insecure that is? [09:02:30] Wyvernoid: Were you using the internal MediaWiki database functions, ones of your own, or the built in PHP MySQL functions? [09:03:18] Dantman: THere are many reasons for wanting that, and its not insecure as long as you don't give access to the MediaWiki database tables. [09:03:33] (or completely safe room it by using a different database). [09:03:36] I was using the built-in PHP MySQL functions [09:03:53] Yes, that won't work. [09:03:54] and trying to use a different database, yeah [09:04:14] I tried to read the Database, LoadBalancer class codes, but couldn't find a way to make use of that code [09:04:43] And that's why I'm trying to ask help here... Does anyone know how this should be tended to? [09:05:37] There's a page about using the database classes, one moment. [09:06:44] http://www.mediawiki.org/wiki/Manual:Database_access [09:07:04] Ohh, thanks. I'll try to read that page first... [09:07:29] np [09:09:57] MinuteElectron: Hmmm... That page doesn't seem to provide information on how to retrieve data from a distinct database... [09:10:39] labas [09:13:26] Wyvernoid: Instanciate a new database object. [09:13:43] You should be able to work out how by reading the comments. [09:13:52] [in Database.php] [09:14:22] kraupu: hello [09:17:13] MinuteElectron: Okay, I'll try that. Just a few questions to eliminate possible mistakes though: is the return value of wfGetDB a Database object? [09:17:21] yes [09:17:50] Remember the DB_MASTER or DB_SLAVE [09:18:05] And... am I supposed to create a new database object by using something like $myvar = new Database ( params... ) ? [09:18:10] yes [09:18:31] that is, I'm not going to use wfGetDB at all? [09:18:32] or there might be some sort of static constructor [09:18:38] uh? [09:18:42] Wyvernoid: No, you won't be using wfGetDB [09:19:01] Duesentrieb: He wants to access a non-MediaWiki database. [09:19:08] ah. [09:19:16] Ohh thanks for that [09:19:20] MinuteElectron: you can access a non-MediaWiki db using wfGetDB... [09:19:33] Werdna: But you need the object first, no? [09:19:39] Database::newFromParams( ... ); [09:19:46] wfGetDB( DB_MASTER, 'dbname' ); [09:20:04] Werdna: It might be another connection [09:20:17] Wyvernoid: eh? [09:20:23] different host [09:20:26] different username [09:20:27] etc. [09:20:28] oh [09:20:29] exactly [09:20:33] then you need the different load balancer. [09:20:44] Also anyway, just out of curiousity [09:20:57] $wgLBFactoryConf = array( 'class' => 'LBFactory_Multi', [09:21:07] What are DB_MASTER and DB_SLAVE after all and what is the difference between them? [09:21:17] They are for load balancing [09:21:20] Wyvernoid: DB_MASter is for writing, DB_SLAVE is for reading. [09:21:40] They're both for the MediaWiki main database, if I'm not mistaken? [09:21:41] MinuteElectron: not necessarily. [09:21:50] We use DB_MASTER for reading sometimes too. [09:21:56] sure [09:21:58] Wyvernoid: Not necessarily. [09:22:01] Wyvernoid: they only matter for a heavy duty setup with multiple slave databases. [09:22:01] but not often [09:22:12] Duesentrieb: You mean slave servers? [09:22:34] I'm still not sure what the differences of these two params are... [09:22:44] Werdna: uh... both, technically. [09:23:30] Wyvernoid: In Wikimedia, we have three master servers. Those are the "main" database servers. But to lighten the load on those servers, we have the data replicated to several other "slave" servers, which can be used for reading. [09:23:51] Wyvernoid: if you need to write to the database, use DB_MASTER . Otherwise, use DB_SLAVE. If you want to know the background, read about mysql replication. [09:23:58] So one server holds the master copy of the database, and another few hold read-only copies of the information. [09:24:13] So this basically means that in small wiki installations it doesn't really matter? [09:24:21] yes. [09:24:32] but for good practice, you should use DB_MASTER for writing and DB_SLAVE for reading [09:24:33] Ohh okay, thanks [09:24:38] in case your code gets used by somebody else [09:24:42] Got it. [09:24:45] ^_^ My load balancer explicitly understands the concept of a standalone db server... heh [09:26:40] Hmmm... damn, I can't remember who it was that was interested in that bit of code... Nikerabbit? [09:26:45] Oh wait... Guys I have another question [09:26:47] If some error occurs during the database connection establishment, the result is a "Database error" page, no? [09:27:02] mhm [09:27:05] m+ [09:27:41] What if I just want it to show as an inline error message (since ultimately, the entry point to retrieving the data is a parser function)? [09:27:43] 03(mod) Pipe trick parsing fails for wikilinks with both a prefix and anchor - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14734 (10danny.b) [09:28:20] Wyvernoid: it throws an MWException. [09:28:22] Use a try-catch. [09:28:29] try { ... } catch( DBError $e ) { ... } [09:28:43] Don't catch MWException, DB issues throw a DBError [09:28:53] a DBError is an MWException. [09:29:04] Ohh okay if there is a DBError, I'd better catch that [09:29:07] yes, but you're to loose if you're catching MWExceptions [09:29:32] I'm to loose? [09:29:34] You could unintentially catch a non-db issue that you do want to have mw handle [09:30:19] Imagine trying to run if you caught a fatal error caused by something not being defined? [09:30:57] I'm to loose? [09:30:59] He probably meant "you're *too* loose" [09:31:16] Heh... I hate 'too' [09:31:33] to lose == bad, lost data, too loose == good, heh [09:32:10] your bits are loose? [09:32:24] your use of lose is loose? [09:32:40] "you [09:32:50] 're to lose data" "you're too loose with your query" [09:33:16] the proximity of apostrophe and enter strikes again [09:33:20] Honnesly, I know about 'too' however when I was in school the teachers tought me the difference between to and too in a way that made 'too' far more confusingly complex than it actually was [09:33:40] Can't get that out of my system [09:33:43] This is far 'too' off-topic... [09:33:43] haha [09:34:05] this has gone two far [09:34:09] heh [09:34:14] now now, back too it. [09:34:36] *Splarka affects an effect, and effects an affect [09:34:47] *Werdna giggles. [09:35:33] Your grammar indicates if you're smart. [09:36:29] http://blag.xkcd.com/2007/10/08/embarassing-typo/ [09:36:48] [citation heeded] [09:36:49] 03(mod) Create a wap mobile gateway for the english wikinews similiar to wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14755 (10danny.b) [09:38:02] 03(mod) Make pages in User: namespace transparent to meta:User: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14759 (10danny.b) [09:40:32] Heh, gotta love the Wikipedia ones: http://xkcd.com/446/ [09:41:30] rotfl: http://xkcd.com/443/ [09:41:40] wait what? what was the typo [09:43:46] 03(mod) Special: WantedPages should use simpler query so it can be enabled again - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14786 (10danny.b) [09:44:45] "foriegn" instead of "foreign" while, effecting an effect [09:45:50] 03(mod) Special:Export remove "Category:" (or local name) from text box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14790 (10danny.b) [09:48:47] 03(mod) double hyphen should be interpreted as mdash - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14795 +comment (10danny.b) [09:48:52] 03(mod) Automatic hyphens to (localized?) dashes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1485 +comment (10danny.b) [09:58:17] 03(mod) A hook to enable putting options to the preferences tab - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14806 (10danny.b) [10:03:41] 14(DUP) Customize the toolbar - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14808 +comment (10danny.b) [10:03:47] 03(mod) Bulletin board style toolbar for common editing functions should be more accessible for change and modification - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14530 +comment (10danny.b) [10:06:11] Danny_B, you wern't an entomologist in a previous life, perchance? [10:07:02] 03rotem * r37868 10/trunk/extensions/timeline/Timeline.i18n.php: Localization update for he. [10:07:16] Splarka: i don't remember... *shrug* [10:08:24] you sure love sorting bugs! [10:11:04] 03(mod) IRC rc bot should send an 'R' flag if the page is a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14843 (10danny.b) [10:11:57] Splarka: i'm just going through the pile in my mailbox from last 14 days i didn't have time for it [10:14:07] 03(mod) MediaWiki:Mainpage used when MediaWiki: Mainpage-url should be used - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14848 (10danny.b) [10:20:06] Ho guys, how do i change the defult recent chages perameters from 50 edits / 7 days to 50 edits / 1 day [10:20:09] Hi^ [10:20:23] 14(DUP) Add to permitted HTML elements - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14847 +comment (10danny.b) [10:20:26] 03(mod) Whitelist more HTML tags: abbr acronym address dfn kbd q samp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=671 +comment (10danny.b) [10:23:14] Prom3th3an: http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions [10:23:34] 'rcdays' => 1, [10:24:20] you may also wish to check $wgRCLinkLimits and $wgRCLinkDays if you want to limit the available defaults too [10:26:07] Yes i already did those [10:26:09] :) [10:26:46] Thats much better, I wasnt looking at the resources the wiki was chewing to build the recent changes list (when theres only like 20 edits a day atm) [10:27:07] Its performance impact ad dropped expedentioaly [10:27:14] has^ [10:28:23] you can limit the days it goes back as well [10:28:34] but with 20 edits a day, you might want to expand it, actually [10:29:26] :/ Damnit, why'd you have to bring out xkcd [10:29:54] Nah, i dont mind it being there, as long as its not loaded everytime someone wants to check whats happened one day to the next [10:35:47] Prom3th3an: I mean, you can limit how far back the RC data is stored: http://www.mediawiki.org/wiki/Manual:$wgRCMaxAge [10:35:54] which is different than the other 3 things above [10:41:05] 14(INVALID) Enable FlaggedRevs Patrolling Configuration on English Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14739 +comment (10paul) [11:03:04] 03(NEW) MediaWiki: Recentchangeslinked to be split into four individual messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14866 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [11:37:53] Hello [11:38:38] every wikipage has a title, so the mainpage to [11:39:51] can i hidden the title on the mainpage "firstHeading" ? [11:39:55] yes [11:39:58] with site css [11:40:26] an little exampel? [11:43:33] i want it only on the mainpage hidden [11:43:57] what is your main page called? Main Page ? [11:44:10] every page has a (mostly) unique class on the tag [11:44:24] body.page-Main_Page h1.firstHeading {display:none;} [11:46:25] view the page source for the classes: that last one is the one you wanna use, CorneliusWasmund [11:52:10] Splarka: i see, but sadly do not work [11:52:11] body.page-Hauptseite h1.firstHeading {display:none;} [11:52:28] where did you add it? [11:52:44] and did you clear your browser cache? [11:53:48] oh sorry [11:54:02] yes Duesentrieb, but i used the false css [11:54:08] *grml [11:54:48] all skins used /w/skins/common/shared.css ? [11:55:18] nooooo [11:55:22] edit MediaWiki:Common.css on site [11:55:45] (it won't affect all skins, but will affect half of them, so is useful) [11:55:54] the only file you should ever have to edit on the disk is LocalSettings [11:57:44] ok OverlordQ, can i make this change with LocalSettings? [11:58:01] no [11:58:07] edit a page on your wiki, called MediaWiki:Common.css [11:58:19] that applies CSS to all skins [11:58:27] [[MediaWiki:Common.css]] [11:58:40] !css [11:58:40] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [11:59:12] for example: http://en.wikipedia.org/wiki/MediaWiki:Common.css [11:59:32] thank you [11:59:44] and purge cache after [12:00:01] Ahh I think I'm done with the 'retrieving data from a database' extension =] [12:00:09] Thanks to everyone who helped me with it just now [12:04:51] 14(INVALID) Make 'new section' bold and 'edit this page' regular on talk pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14855 +comment (10soxred93) [12:06:33] it works :) [12:50:20] Danny_B: it's a bugzilla, feel free to fix if I made mistakes, which I do [12:52:19] Dantman: what? [12:52:50] You were the one interested in my db class right? [12:56:14] Dantman: well more like in the idea, I don't have currently any project where I would use it [12:56:25] but if there was one, I would be marketing it :) [12:57:30] Well, while it only has helper functions currently for a insanely simple select (and a few admin functions), I can tell you my code is working... My site is now using db stuff in a bit of the code [12:57:51] http://svn.nadir-point.com/viewvc/electronicme/trunk/electronicme/includes/ [12:58:30] Take a look at the classes in db/ including the LoadBalancer, and also checkout model/Model.php and model/datamodels/ [12:59:21] Though you may also be interested in pager/ it's pretty interesting on it's own [13:00:24] Though, I'll need to work on the Database backend for the pager... But the output and filter setup it has is interesting [13:01:27] ^_^ Though, off that and onto something more MediaWiki related... I've actually finished something extremely interesting..... Though, since it requires me to to a full wiki import to show it off it's going to be a few hours till I can let people see [13:02:09] Dantman: :o [13:02:28] Dantman: have you seen my extremely interesting thing :D [13:02:37] heh, what? [13:12:43] MediaWiki:Common.css [13:12:49] is this syntax true? [13:13:02] Dantman: http://translatewiki.net/sandwiki/index.php?title=Sandbox_translate?uselang=fi [13:13:20] body.page-Hauptseite body.page-anotherpage2 body.page-anotherpage3 h1.firstHeading { [13:13:22] display: none; [13:13:26] } [13:14:07] Nikerabbit: ^_^ You mean http://translatewiki.net/sandwiki/index.php?title=Sandbox_translate&uselang=fi [13:14:20] Dantman: oh, yes [13:14:33] (why in earth there needs to be two symbols...) [13:15:30] *Dantman shutters...... eeeeeeewwwwwwwwww... [13:16:10] Dantman: basically people say either "very cool, I like it!" or "ewww, what is this shit?" [13:16:35] ^_^ The idea of content negociated by interface language is nice... [13:16:44] However the syntax is absolutely disgusting [13:17:14] Dantman: only thing that needs manualy added are the tags [13:17:22] rest are filled in automatically [13:17:39] Dantman: you mean me? [13:17:46] no [13:17:59] your css is correct [13:18:12] Code cruft is code cruft, even if it's automatic..... And the automatic stuff is the worst [13:18:42] Dantman: it is not cruft, it is there to track changes to sections [13:19:17] either there is big lump of text, invalidated on every change, or smaller sections which can be moved around and changed without affecting others [13:19:32] It's still cruft in the line that it's automatic data, which is highly technical and has a visually disturbing appeal in the code [13:20:03] Dantman: it's the best we can do with "raw tetx" [13:34:07] ugh: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/TranslateUtils.php?revision=37696&view=markup [13:35:00] Disturbing... not only is there raw sql... but it's doing things we have core functions for which are more reliable [13:39:43] Dantman: which part exactly? [13:40:52] so there is $wgGroupPermissions['*']['read'] = false; ut how can I specify it on a namespace? [13:41:29] Checking existences [13:42:55] ...should be done with...? [13:44:10] Title::exists() [13:44:41] do i really need to install an extension for namespace permissions? [13:45:21] Dantman: yeah, right, doing 1000 queries instead of one, not to mention the overhead of constructing the title objects? [13:45:36] Subfader: yes you need to, mediawiki was not designed to be a cms [13:45:56] i know. but if $wgGroupPermissions['*']['read'] = false; is a golbal... ;) [13:46:39] and i can set $wgGroupPermissions['GROUP']['edit'] = false; etc [13:46:54] just not read per namespace as it seems [13:48:04] or you can set action permissions per namespace via $wgNamespaceProtection[NS_FOO] = array( 'editfoo' ); #permission "editfoo" required to edit the foo namespace [13:48:26] Ever seen LinkBatch? [13:48:27] and it doesn't work for 'readfoo' really confusing! http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces [13:48:49] but i use an extension now. ok [13:49:44] Dantman: yep, that might do [13:49:56] However that leaves me with a query... [13:50:45] Why do you even need to query for that much at a point in time where speed is critical? [13:51:59] Dantman: if you figure a way to get contents of N pages in one query, that would be nice [13:52:19] where page_namespace=0 and page_title in (...) [13:52:55] ;) Also, other extensions do need to do existence checks... if making a Title instance is so heavy... Then perhaps you should add a function or two to the title class for batch checking title existences based on id's and/or titles [13:54:58] it is not so heavy itself, but all I really need is an efficient way to get contents of N pages [13:55:28] creating Title objects for that is not very efficient wrt memory or function calls [13:56:59] 03ialex * r37869 10/trunk/phase3/docs/hooks.txt: [13:56:59] * order aplhabetically [13:56:59] * avoid using $this [13:58:16] hello [13:58:50] I've had mediawiki working, but I've just had to reinstall mySQL and now it complains about "access denied for user 'admin'@'localhost'..." [13:59:11] I have reset the password so I assume the problem is that the database doesn't exist - but mediawiki created the database itself after I gave it the password to do so. [13:59:16] How can I make it do that again? [14:00:17] Jan`: if you have phpMyAdmin, you do it there [14:00:35] Oh. Er. [14:00:56] I've looked through some of the files - although I don't know what I'm doing really - and found this: [14:00:57] $wgDBname = "wikidb"; [14:01:05] I assume the database should be called "wikidb" [14:01:19] yes [14:02:07] Nope, still the same problem. [14:02:47] Um. Any suggestions? [14:03:11] Are there any tables inside the wikidb database? [14:03:21] No idea. I'm not a DB person. [14:03:48] hm [14:03:51] "no tables found in database" [14:03:57] I assume not, then [14:04:21] Then... it seems that your whole wiki database is lost [14:04:31] oh that's fine there was nothing in it anyway [14:04:43] Jan`: just reinstall mediawiki [14:04:46] I wouldn't have reinstalled if I'd wanted any of ti. [14:04:49] Do a reinstallation maybe [14:04:49] follow the installation instructions from the start [14:04:52] flyingparchment: I'd really rather not. [14:04:55] why not? [14:04:57] It was painful enough the first time round. [14:05:14] all you have to do is fill in a form [14:05:15] is there no way I can just make it do whatever it did the first time out? [14:05:18] You can't do anything with the wiki if there are no tables in the main database... [14:05:35] flyingparchment: As I say, I'm not a technical bod. It was asking questions which I didn't even understand, let alone have the answers for. [14:06:31] Then you should really ask someone who is experienced in this field to install MediaWiki for you [14:07:10] Oh jeez. I've done it once. You're telling me the only way to fix this is to do it all over again? [14:07:18] aww [14:07:26] Dantman: and the docmentation on revision.php is horrible [14:07:37] Jan`: I think so... [14:07:48] D: [14:07:48] ^_^ What do you expect, this is MediaWiki [14:08:02] In fact it's not so difficult [14:08:20] It's not just the documentation, none of the code is well rounded, everything could be implemented in a far cleaner way [14:08:44] Dantman: To be fair, all software engineers think that about all *other* software engineers' code :D [14:09:06] mediawiki is a hack of a hack of a hack [14:09:17] couldn't care less [14:09:19] just want it to work [14:09:23] it does what it's supposed to do quite well, but it's by no means a well written piece of software [14:09:43] *Wyvernoid agrees [14:09:43] it mostly doesn't matter until you try to extend it [14:09:47] (just out of interest, do you guys get anything on http://emeraldbox.dyndns.org ) [14:10:13] Sometimes it's a pain in the ass to read the code and try to understand how they work [14:10:27] Wyvernoid: Not trying to read the code. [14:10:29] Just want it to work. [14:10:35] Which right now it isn't [14:10:42] Jan`: They weren't talking to you. [14:10:50] And occasionally you see in the comments a note left by Tim Starling complaining about something =P [14:10:52] Dantman: mm I could add Revision::loadLatestFromNamespace() or something [14:10:56] I know. I just get impatient with this "code must be beautiful" thing :D [14:11:10] why? [14:11:10] Eh? [14:11:32] MinuteElectron: Jan` 's MediaWiki installation is totally screwed [14:11:38] and he wouldn't do a reinstallation [14:11:45] Well that's his problem then. [14:11:46] Eh? <- Was direct to Nike [14:11:52] Well as far as I know the mediawiki installation is fine. [14:11:55] It just can't find the database. [14:12:06] Or connect to it. Or something. It isn't being very verbose about the problem. [14:12:15] what DOES it say? [14:12:21] Jan`: You reinstalled MySQL therefore the old database will be gone. [14:12:22] Hmm... How many databases are there? [14:12:24] Thoughts has a problem [14:12:29] (Can't contact the database server: Access denied for user 'admin'@'localhost' (using password: YES) (localhost)) [14:12:39] At least, you won't be able to see it from your installation of MySQL. [14:12:46] just reinstall it [14:12:48] it's not THAT har [14:12:49] d [14:12:52] I don't want the old database. There wasn't anything in it. [14:12:53] agreed [14:13:10] Ugh. I'll try. [14:13:18] Dantman: yeah, that's what I need [14:13:38] rm -rf, and svn co again [14:13:47] zocky: you talking to me? [14:13:48] zocky: No need to do that. [14:14:05] MinuteElectron, if he's deleted the config directory, it's probably the easiest way [14:14:14] otherwise, just delete, or move, LocalSettings.php [14:14:16] Maybe he didn't use svn. [14:14:21] *cough* it's short for Janine, so either my parent REALLY didn't like me, or... [14:14:45] I didn't use svn. I'm only vaguely aware what svn is. [14:14:48] What... [14:15:04] then delete it and use svn this time [14:15:12] much easier to keep it updated that way [14:15:13] Not freakin likely. [14:15:29] svn is a tool for coders and geeks. I'm a *normal* person :D [14:15:31] Jan`, are you doing this on a linux? [14:15:43] zocky: hell no. Linux too is for coders and geeks :D [14:15:54] it's also for running web servers [14:15:54] There is no reason to use svn, just use the tarball. [14:16:00] tar-ball? [14:16:04] the download [14:16:06] Then just download MW 1.12 tar.gz [14:16:08] Oh right. [14:16:10] That's what I did. [14:16:19] Extract it and upload [14:16:27] Annoyingly, it's in a .tar.gz archivey thing. [14:16:29] Which is a PITA. [14:16:41] WinRAR does the job... [14:16:44] It does. [14:16:47] :/ GNU/Linux has become plenty user friendly... [14:16:50] btw, how is downloading the tarball and untargzipping it easier than svn checkout? :) [14:17:13] zocky: He probably doesn't know how to use SVN at all... [14:17:17] Dantman: If you use it as it comes out of the box it is fine. Otherwise it's still a hideous horrible nightmare. [14:17:28] Wyvernoid: "she" fer chrissake. [14:17:36] Okay sorry. [14:17:52] And svn is a VCS, MediaWiki fits in a similar category... It's plenty useful for anyone just using switch, checkout, and update [14:17:55] Wyvernoid, he's a she, and all it requires is ctrl-C ctrl-V, not exactly arcane geek knowledge ;) [14:17:58] VCS? [14:18:06] Version Control System [14:18:14] Oh right. [14:18:28] *Jan` relies on the age old "don't edit that file right now, I'm working on it" VCS [14:18:33] *Jan` is not a real coder [14:19:07] Anyway whatever just do a reinstallation now if you want the problem solved... [14:19:18] It's done [14:19:48] You have to appreciate, I don't even know what a "memcached sever: is [14:19:55] just ignore it then [14:20:42] I mean "database table prefix?" [14:20:46] *Jan` runs away! [14:20:51] Ignore it too [14:20:57] Warning: PHP's register_globals option is enabled. Disable it if you can. [14:21:08] If you have a distinct database [14:21:36] Does this work for you guys: http://emeraldbox.dyndns.org/wiki [14:29:17] 03ialex * r37870 10/trunk/phase3/ (RELEASE-NOTES config/index.php index.php): [14:29:17] * (bug 12568) configuration script now produce valid XHTML [14:29:17] * Updated copyright (taken from SpecialVersion.php) [14:29:54] 03(FIXED) Configuration script produces invalid HTML code - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12568 +comment (10alex.emsenhuber) [15:01:03] Good morning all. Is there someone who knows anything about or is fond of DifferenceEngine.php? [15:02:13] I've found two versions of a file that take 20 to 30 seconds to grind out a diff. That's a bit excessive? [15:05:01] you could use php accelerators or c++ version of it [15:06:45] Hmm, it's on a shared hosted Linux box. I don't actually know what I can do. [15:07:35] Well, also I set $wgFeedDiffCutoff = 0 and it still insists on trying to make diffs on RSS feeds. [15:09:00] My own server timesout at 10 secs with an HTTP 500. Withour error logs, it was tricky figuring it out. [15:09:19] http://wiki.xyrael.net/wiki/User:Renate is the example [15:09:58] Hi Sean! Pleased to have almost met you. [15:29:24] can i manipulate the metatags for the mainpage? [15:38:14] hi guys [15:39:10] i reached a good point using CentralAuth... [15:39:40] i miss just one thing... how to autologin in each wiki ... [15:40:23] the accounts are globals but when i switch from, for example, italian to english...the english wiki ask me to insert username and password... [15:40:47] is there a way of set an automatic login inside a wikifamily using centralauth ? [15:41:21] what's your wiki name? [15:41:56] my wiki name? what is it sorry? [15:42:48] username [15:43:32] i'm talking about a local installation of mediawikis ...in my server.. [15:44:28] oh [15:45:01] only thing I can tell ya is you probably dont have it setup right :) [15:45:26] can i ask you why you say that? [15:46:07] i see in the db that the user are global... and indeed when i login with a italian user inside a english wiki everything works.... but i've to insert that manually... [15:46:18] plugin works fine, so it's obviously a misconfiguration somewhere [15:47:31] Over, i had to modify the source code of Centralauth because it was full of errors... [15:48:36] in mediawiki 1.12 i had to change something inside Wikimap.php and inside mediawiki/include/Siteconfiguration.php ...otherwise Centralauth doesn't work... [15:49:05] which version did you download [15:49:21] mediawiki 1.12 and centralauth 1.12.x [15:51:00] http://www.mediawiki.org/wiki/Extension_talk:CentralAuth in this page are reported the errors inside Wikimap.php, but nobody tells how to fix it, i had to do by myself [15:57:25] can i manipulate the metatags for the mainpage? [15:57:58] By the way, someone who use CentralAuth can guarantee me that it allows to switch wiki using the cookie of the source wiki of the user? [16:05:30] I'm relatively sure that CentralAuth will work properly only on wikis running MediaWiki 1.13alpha. --Sayuri 23:05, 15 July 2008 (UTC) [16:05:36] oh fine :D [16:06:37] Is Mediawiki 1.13alpha enough stable to suggest a customer to use it ? [16:11:46] It is soon to be released. [16:11:50] And Wikipedia uses it. [16:12:15] ah really? do you when more or less it'll be relased? [16:12:24] *do you know [16:13:00] one or two weeks depending on how the testing process goes and when the release manager branches it [16:13:33] ("testing process"?) [16:13:36] oh...so it's a good choice to leave 1.12 and start working with 1.13? [16:13:50] Depends on your timetables. [16:15:33] a customer ask me to solve some problems that he has using 1.12, it'a a new portat in different language [16:15:43] *portal [16:16:42] but if you told me that 1.13 is going to be realeased i've the idea to tell him to use directly the new version...what you think? [16:20:37] Simetrical? MinuteElectron? [16:21:28] Alan564: You want to install CentralAuth to solve a customers problems? [16:22:47] Minute, he told me that he wants global users for his portal, CentralAuth is the only good solution that i found.. [16:23:09] you don't need centralauth for that, MW has support for sharing a user database since 1.4 [16:24:01] using what? wdbshared? [16:24:08] i don't know what that is [16:24:10] flyingparchment: You do need it if there are existing users on both portals. [16:24:14] it's a configuration option, $wgSharedDB or something [16:25:33] yeah i tried wgsharedDB and using it, the sidebar language changes in the one of the wiki source user...if an italian user go in the english wiki, the side bar change language.. [16:31:19] well... just waiting to know if is a good advice to tell him to start using 1.13.. just tell me that and i go out of balls :P [16:35:35] Alan564: Since he apparently isn't able to administer his wiki himself properly (given that you are doing it for him) it probably isn't a good idea to recommend him to upgrade to 1.13alpha. [16:35:55] By all means recommend him to upgrade to 1.13 when it is released, but probably not a good idea to do so now. [16:37:22] Ok MinuteElectron, thanks for your help ;) [16:47:58] 03(NEW) DifferenceEngine grinds on pathological case - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14867 major; normal; MediaWiki: History/Diffs; (wikiadmin) [16:49:20] 03(mod) DifferenceEngine grinds on pathological case - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14867 (10wikiadmin) [16:57:57] 03(NEW) $wgFeedDiffCutoff = 0 still generates diffs. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14868 minor; normal; MediaWiki: Special pages; (wikiadmin) [16:58:29] 03(mod) $wgFeedDiffCutoff = 0 still generates diffs. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14868 (10wikiadmin) [16:58:52] 03(mod) DifferenceEngine grinds on pathological case - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14867 +comment (10overlordq) [17:04:20] 14(INVALID) DifferenceEngine grinds on pathological case - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14867 +comment (10Simetrical+wikibugs) [17:16:37] 03(NEW) Access Special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 15enhancement; normal; MediaWiki: API; (sam) [17:16:42] 03stipe * r37871 10/branches/MetavidWiki-exp/MetavidWiki/skins/mv_embed/mv_embed.js: mv_embed works on safari again [17:17:22] What, *all* special pages? [17:17:24] 03(NEW) FTBFS with GCC 4.3 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14870 normal; normal; MediaWiki extensions: wikidiff2; (overlordq) [17:17:50] Simetrical, not all, no [17:17:50] lol [17:18:12] gg Simetrical. point out that wp uses wikidiff2 lets me open a new bug :P [17:18:41] 03(mod) Access Certain Special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 summary (10sam) [17:18:45] Simetrical, ^ ;P [17:26:38] 03(mod) Access Certain Special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 +comment (10bdanee88) [17:31:10] 03(mod) Access Certain Special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 +comment (10Bryan.TongMinh) [17:42:28] 03simetrical * r37872 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialContributions.php): (bug 2971) Standardize format of links to hist/diff in Special:Contributions. [17:43:56] 03(mod) (diff) & (hist) location on RC/Cont/Watch - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2971 +comment (10Simetrical+wikibugs) [17:47:48] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 summary; +comment (10vasilvv) [18:06:09] 03(NEW) Allow -html markup in MediaWiki:boardvote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14871 15enhancement; normal; MediaWiki extensions: BoardVote; (bugzilla.wikimedia) [18:56:16] 11.?10?11WB10 (UT2K310) 11WB10?11?. 10- ( UT2K3 ) \o/ i've got a wb :) ( +t4zmanian ) UT2K3: he's posted that WB for at least 4 different people ( UT2K3 ) yes but i've dreamed every day for a wb :( [18:56:45] DarkoNeko: never do that again [18:56:48] DarkoNeko: lets not do that [19:16:04] 03ialex * r37873 10/trunk/phase3/docs/scripts.txt: typo [19:55:03] Hmmm I just took over this wiki install and need to make my users a sysop. I'm tinkering with the DB now, is there any easy way to do this? [19:56:11] YurtleTheTurtle: sure. Special:Userrights [19:56:38] YurtleTheTurtle: this should be accessibly to your "inital" user [19:58:14] Ya I sent him an e-mail about it but it will take him a while to give me permission. Last version I tired this on password wasn't stored in a binary field so I could reset it on my own. [19:58:15] Okay, is driving me nuts! Is there a template somewhere that will act like code, but insert only the carrage returns? takes out even the carrage returns. [20:02:08] Lady_Aleena: Can you show me and exmape of the behaviour you don't want? [20:02:29] ACK! I haven't save it yet. Hold on, let me create a sandbox. [20:03:08]
 ?
[20:03:46] 	http://en.wikipedia.org/wiki/User:Lady_Aleena/Puppet_notice
[20:04:15] 	I want the code to show, not have it render it.
[20:05:09] 	nowiki will prevent it from rendering
[20:05:25] 	I'm not sure if  can parse wikicode, never tired it before
[20:05:58] 	Reedy, 
 is okay but it creates a horrifically long line unless I put in carrage(sp) returns within the paragraph.
[20:06:06] 	ah
[20:06:08] 	hmm
[20:06:16] 	true
[20:06:17] 	 won't put in any carrage returns.
[20:06:37] 	I need a hybrid /
 tag.
[20:06:56] 	or / tag.
[20:07:04] 	hmmm
[20:07:07] 	03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869  +comment (10roan.kattouw)
[20:07:13] 	how about 
 wraping a div with a width limit?
[20:07:21] 	or the pre-wrap style that is coming in new browsers
[20:07:34] 	I know of nothing that will do what your saying, so i'm juts posing alternatives
[20:07:55] 	Nikerabbit, is it W3C standard?
[20:08:12] 	Lady_Aleena: would it matter if it weren't?
[20:08:17] 	But yes
[20:08:44] 	YurtleTheTurtle, thanks for the advice. I may have to nowiki just the wikicode within. I did find out something, the one dodad works!
[20:08:50] 	doodad
[20:09:07] 	Nikerabbit, yes, it does to me.
[20:11:12] 	I guess I can just wrap all the stuff I don't want rendered in  tags.
[20:12:23] 	Lady_Aleena: really? w3c has a standard that advocates proprietary video formats
[20:13:04] 	Nikerabbit, I haven't delved into that since I don't use video on my website. 
[20:13:09] 	Nikerabbit: Well after the special intrestes chimed in they did.
[20:14:11] 	I love HTML, the markup that doesn't require carrage returns.
[20:15:55] 	03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869  (10Bryan.TongMinh)
[20:17:23] 	Lady_Aleena: As any good langue should.
[20:18:02] 	YurtleTheTurtle, well, I tried to learn Perl and got yelled at since I used minimal carrage returns and tabs.
[20:18:28] *Lady_Aleena 	is Lady Aleena, the Bytesaver.
[20:19:41] 	Wikicode for tables always make me cringe with all of the carrage returns needed.
[20:20:17] 	Lady_Aleena: there *is* a short notation, you know
[20:20:30] 	| cell1 || cell2 || cell3 |
[20:20:48] 	Duesentrieb, I can't put a whole table on 1 line in wikicode.
[20:21:03] 	Lady_Aleena: Beh real perl coders do it all in one line. Ask the people at perlmonks (if they still exist that is).
[20:21:04] 	true. but why would you want to do that?
[20:21:12] 	even in html, it's bad practice
[20:21:13] 	
[20:21:30] yes, but *why*? [20:21:40] and you can alsways use html markup for that, if you really want to [20:21:47] Duesentrieb, I do it a lot on my website. I count the bytes, and a carrage return equals 2 bytes. [20:22:19] only if you are using windows :) [20:22:35] and counting bytes... err... this isn't 1992, is it? [20:22:59] Some of my pages are all on 1 line (redirects mostly). When looking at the page source, what people will mostly see is a lot of gray. [20:24:23] Duesentrieb, I only have 10 Mb to work with on my complimentary webspace through my ISP, and since I don't have a domain name, moving my site would mean broken external links on other people's pages. [20:27:04] "Mid-air collision detected!" [20:27:23] {{template name|what is this thing called again?}} [20:27:29] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 (10sam) [20:27:37] variable? [20:27:49] parameter [20:27:55] Thanks! [20:27:59] np [20:41:03] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 (10roan.kattouw) [20:52:47] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 (10sam) [21:05:47] 03(mod) Allow Meta Checkusers/ Bureaucrats to grant & revoke IPBlockExempt status - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14733 +comment (10lilewyn) [21:06:53] Ugg broken AC in Washington sucks... [21:11:58] Yo. I'm getting an unexpected '{' in extensions/ParserFunctions/ParserFunctions.php on line 70. http://rafb.net/p/zlrjKM41.html Help? [21:12:58] where did you get it from? [21:13:40] Tried to install an extension, refreshed, that came up. Removed the extension, still get it. [21:13:48] odd [21:13:56] I meant, where did you get the extension from? [21:14:04] trunk [21:14:12] one moment [21:15:20] right, that shouldn't happen [21:15:28] Sasoriza: Can you svn up? [21:15:48] you mean check out? [21:15:58] well, i presume you've already checked it out [21:16:25] Not sure what you mean by "svn up" [21:16:38] can you type that, or did you get it from trunk by some other means? [21:16:58] just copied the files [21:17:06] right [21:17:27] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 (10Bryan.TongMinh) [21:19:00] ? [21:19:43] I don't know, maybe someone else can help. [21:23:16] Sasoriza: try getting a fresh version of the file [21:23:45] Yep, already on it [21:29:19] Now it's on line 74 :S [21:36:19] I think I know what it is. Server move. [21:45:34] Hmm, that's not it either. Yet all of my wikis are down. [21:46:05] anyone know of a gui table editor for mediawiki? I found a javascript one by the MIT Simile project but its quite buggy. [21:48:10] Checking mw_hitcounter, it says the storage engine for the table doesn't support check. Is that normal? [21:56:45] presumably if the engine doesnt [21:58:49] Sasoriza: That able uses a different storage engine to the others for performance reasons. [21:58:55] So yes, that is correct. [21:59:03] k [21:59:21] Thought I saw that somewhere; couldn't remember. [22:03:38] nevermind.. I found the FCKeditor has a *very* nice table editor for mediawiki table syntax [22:06:06] Every time I use one of those editors somthing on the wiki breaks [22:07:38] would it be difficult to move MediaWiki's standard editing toolbar *below* the text area? [22:15:11] I doubt it, but it would mean your install is no longer easily upgradable. [22:15:53] ^_^ The editing toolbar is JS, why not just add some site JS to relocate it? [22:21:18] 03ashley * r37874 10/trunk/extensions/SocialProfile/ (2 files in 2 dirs): [22:21:19] SocialProfile: [22:21:19] Fix UserBoard message deletion when $wgScriptPath is not null. Patch by Misza. [22:22:19] What is the maximum article title length in bytes? [22:26:07] This is just for my edification, not to be put into use. [22:27:13] Lady_Aleena: Are you sure there is a maximum length? [22:28:48] Yes, there is an album title that is 446 bytes and there was an error. :) [22:30:21] Ohhh title length [22:30:31] i thought you said article length. check the manual, is in there. [22:31:00] http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions) [22:31:49] I couldn't think of the name of the page where it would be. [22:33:44] Think a complete new mw install would solve my problems up above? [22:37:02] Error logs show "Premature end of script headers". Could mw be causing that? [22:39:23] i wrote some javascript that moves the standard mediawiki buttons *below* the edit form [22:39:39] unfortunately i can't put it in MediaWiki:Common.js because the editform doesn't exist yet when my javascript is evaluated :( [22:39:42] where can I put this? [22:39:43] document.getElementById("editform").insertBefore(document.getElementById("toolbar"), document.getElementById("editpage-copywarn")) [22:45:41] where can I put some js that gets evaluated after the page has loaded? [23:03:12] for all users? [23:06:59] yep [23:21:58] 03guyvdb * r37875 10/branches/visual_diff/phase3/includes/Diff.php: Alternative Diff implementation [23:50:54] Can a server move switch a MySQL client?