[05:46:25] Well, yeah. But that's because the iterator was developed with what we use in our code conventions. [05:46:48] I still have that notation. Ugh. [05:46:52] Hate. [05:46:54] Hate, not have. [05:46:56] I should go to bed. [05:47:00] i.e. we conventionally use fetchObject(), presumably because way back when, whoever refactored the database stuff liked it more. [05:47:31] You're now being logged -- http://tools.wikimedia.org/~amidaniel/chanlogs/%23mediawiki/ [05:47:37] In permissions, do falses in groups override trues? [05:47:42] no [05:47:48] Ahh ok [05:47:57] so its allow over deny? [05:47:59] If a group grants you a permission, you have that permission. [05:48:03] with the default being deny? [05:48:11] Ok. [05:48:26] amidaniel, it might be acceptable to omit the %23. :) [05:48:27] So you cant have a group that denies certain permissions? [05:48:29] The default is whatever's set in includes/DefaultSettings.php - there is no default state for a right. [05:48:32] TheFearow, correct. [05:48:33] No, you can't. [05:48:49] Simetrical|away: But that's a whole nother line of code :'( [05:49:18] robchurch: There is in a way. If you dont have the permission set, it wont let you. Or am I wrong with that one? [05:49:28] Actually, you're right - everything is denied by default; you have no rights at all. [05:49:43] :-). So that is sortof useful [05:49:44] You have to be explicitly given them from somewhere. [05:49:52] amidaniel, in Python it's an extra four characters. [05:49:56] I may consider making a deny thing [05:49:57] [1:] [05:50:15] Simetrical|away: Go to bed. [05:51:06] First I have to fill out this Travel Advance Request Form. [05:51:13] Although I could do it when I get up, granted. [05:51:23] Cya everyone, ill bbl [05:52:17] BOX MUST BE CHECKED: NON RESIDENT ALIEN YES/NO [05:52:42] Does that mean, am I a non-(resident alien)? Or a (non-resident) alien? [05:52:57] WWLD? [05:53:00] I assume the latter, in which case the answer is no. But it's a damn confusing question. [05:53:04] L? [05:53:09] lisp [05:53:41] gah [05:53:51] I cant install apc because I am not using apache [05:53:59] and it requires apxs [05:54:07] Yay. [05:54:21] thats stupid [05:54:24] im upset [05:54:48] @die [05:56:16] Classy, it gets a wikimedia.org address. [05:56:26] Indeedy :) [05:56:38] Is that the toolserver or something? [05:56:43] Right again [05:56:59] I need to ask for toolserver access, if only to run the occasional query of interest. [05:57:08] Three now, aren't there? [05:57:12] That's the primary reason I asked for it [05:57:15] zedler, hemlock and the other one [05:57:22] knams [05:57:28] no, knams is a cluster [05:57:31] erm .. nevermind [05:57:36] What about yarrow? [05:57:41] Is that the third? [05:57:58] knams isn't a server, though. It's a cluster, like the man says. [05:58:08] Yeah, it's yarrow. [05:58:28] I was told todayish that yarrow brought toolserver lag down to zero for enwiki. \o/ [05:58:47] Huh? We're not even replicating en anymore are we? [05:58:51] "todayish", that quantifier for an approximate time period [05:59:05] amidaniel, we aren't? [05:59:06] amidaniel: that is precisely yarrow's function - to replicate s1 and s3 clusters [05:59:18] what d'you think trainwreck was for, shits 'n giggles? [05:59:19] By the way, who do I ask for toolserver access? A toolserver root? [05:59:24] Simetrical: Ask River. [05:59:26] Oh, so that's what trainwreck does? [05:59:30] Spiffy. [05:59:43] | 20070619055934 | [05:59:47] I never actually look at these mysterious C programs people check in. [05:59:53] Last enwiki timestamp in recentchanges [06:00:06] That's not actually a rock-solid check. [06:00:10] Well, it's a hell of a lot better than before recently, but doesn't look zero to me. [06:00:19] You're better off doing SHOW SLAVE STATUS and then checking Seconds_behind_master [06:00:30] But it's a decent approximation :) [06:00:44] (and also doesn't require rep.cl. privs) [06:00:49] ERROR 1227 (42000): Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation [06:00:55] yup [06:01:11] So recentchanges is the best I got :) [06:01:28] better than me [06:01:42] Weren't you a toolserver root once? [06:01:47] aye [06:02:03] Then what? [06:02:28] Oh, woops, I did the query backwards :D Still not much difference: | 20070719060157 | [06:02:36] . . . . . [06:02:46] That's, what, five minutes ago? [06:02:47] Freaky that it's exactly a year ago O.o [06:02:51] o_O [06:02:55] Oh, wait [06:03:02] Huh? We are replicating? [06:03:07] Sorry, two minutes. [06:03:10] Yes, we are. [06:03:17] Oh, I thought we were'nt [06:03:19] weren't* [06:03:21] Nifty :D [06:03:38] then what what? [06:04:44] But alas! I shall press on :) [06:05:51] 03(mod) Table sorting broken by colspan/rowspan - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8028 +comment (10jimhu) [06:08:55] You know one of these days I'll actually test something *before* I go through the trouble of exporting it to a jar, scping it to the toolserver, and starting it up [06:14:06] good morning people =) [06:15:13] amidaniel: Has robchurch told you how much he hates your bot. [06:15:53] MinuteElectron: No, he hasn't, but I'm not surprised :) [06:16:11] heh [06:16:24] ^^ [06:17:47] good morning [06:24:10] i had installd mediawiki 2 times in mamp/htdocs/wiki/wikia and mamp/htdocs/wiki/wikib .... and if i enter http://localhost:8888/ i can choose which wiki i have to start..is it possible to enter one adress to start both wiki? [06:24:22] whre i have to edit files? [06:27:50] i had written you can set up apache with virtual host [06:28:01] but how i set up these virtual host? [06:33:25] Perthro: how do you mean? [06:34:54] amidaniel: hey, it is on the toolserver - cool [06:35:10] alright so I have acp and memcached [06:35:14] actually eaccelerator [06:35:20] MinuteElectron: Indeed [06:35:21] any other things I can do to speed up the wiki? [06:38:48] my idea was to create one wiki and two user-groups. group a can see what group b has written but group b cannot see what group a has written [06:39:26] and so i installed two wikis but at the moment i have the propblem that i cannot run both the same time [06:39:43] you understand? [06:40:23] i am a wiki-noob and i never worked with database before [06:40:38] your issue is with your webserver [06:40:56] install apache and configure it to put the 2 wikis on different ips or something [06:41:10] but how i config apache? [06:41:24] i used mamp is that possible with mamp? [06:41:32] im not sure google it [06:42:16] Perthro: Ummm .. it can be done, but it's not particularly easy, nor necessarily what you're looking for [06:42:29] You can restrict read-access per namespace to certain groups [06:42:51] but if i had two groups i need to databeses, right [06:43:04] No, I can't see why [06:43:10] no? [06:43:22] you mean i create one database? [06:43:41] and two different namespace? [06:44:06] Exactly [06:44:39] I did something like this for https://amidaniel.com/gbwiki/index.php/Main_Page [06:44:58] Where those in the group "team" could read and edit stuff in the Team namespace, but others could not [06:46:18] Note that there is no really secure or sure way to restrict read access [06:47:05] that means i craate one wiki which named xxa and in the default setting.php i create an new grp xxb and if i create an new user i give him the grp name and restrictes? [06:47:09] *create [06:48:28] .. yes .. You may want to read up on how namespaces, etc., work on mediawiki and then I can step you through the process to implement the restrictions [06:50:39] ok i test it..wait a few minutes i install wiki [06:51:10] is it ok to install wiki in mamp/htdocs? [06:51:49] I would put it in a sibdirectory, but yes, that should be fine [06:57:42] 03(mod) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 +comment (10dev) [06:58:40] ok it works [06:58:47] i had installd wiki [07:04:58] amidaniel..i had installed wiki, now. what i have to do now? [07:09:38] Perthro: Alright .. what version of MW? [07:10:18] 1.9.3 [07:10:28] Okay [07:10:34] First have a read through [07:10:53] And [07:11:14] In order to do this, you're going to have to modify the code itself, so it's important you have some understanding of what you're doing :) [07:11:41] šhm .. ^^ [07:11:52] ok [07:12:08] I didn't say it was gonna be easy -- I said it could be done :D [07:12:29] ok i create a extra namespace in localsettings.php [07:12:56] Yes [07:14:05] at the bottom of the code? [07:15:04] rdy i had insert the two lines [07:15:56] Yes, you want to add $wgExtraNamespaces[100] = 'My_namespace'; and $wgExtraNamespaces[101] = 'My_namespace_talk'; [07:16:13] Replacing My_namespace with whatever you want the namespace to be called, of course [07:17:32] i done [07:18:03] Alright, now you're going to need to create a new user group and give it an 'editrestrcited' right [07:18:32] in defaultsettings.php? [07:18:37] So, something like $wgGroupPermissions['trusted'] = array( 'editrestricted' ); [07:18:41] No! In LocalSettings.php [07:18:44] k [07:18:51] You shouldn't modify DefaultSettings at all [07:21:35] rdy [07:22:21] Alright, now you're going to need to find and edit the file 'Title.php' in the includes directory [07:22:51] is your grp name trusted? have i to change it in my grp name? [07:22:54] Bit of a contradiction, isn't it? [07:23:05] "Don't edit the default settings file, but do edit the core code" [07:23:16] robchurch: Well, you know another way to do this? [07:23:43] Yeah, write a simple hook callback in LocalSettings.php. [07:23:51] it is a solution..i i need a solution =) [07:24:20] robchurch: What hook will allow you to escape out of userCanRead? [07:24:21] hi rob [07:24:41] lets follow up ami pls [07:24:43] Doesn't userCanRead() call the userCan hook at all? [07:24:46] *robchurch shrugs [07:24:48] Fair enough. [07:24:57] robchurch: Nope. And it's 1.9.3 too [07:25:18] Perthro: Alright, in Title.php you need to find a function userCanRead [07:25:48] Oh, wait, rob: You are right :) There is a hook [07:26:02] I didn't think I was going completely insane. [07:26:14] Perthro: Change of strategy here :) I do apologize [07:26:22] Let me pastebin something for you .. just a sec [07:26:22] *g* hehe ok [07:26:28] teamwork ^^ [07:26:46] i should be insane =) [07:27:08] <_wooz> lo [07:27:39] smoke ( 5 min) [07:31:10] http://mediawiki.pastey.net/71036?lang=php [07:31:12] back [07:31:16] robchurch: Can you check that? [07:31:19] *amidaniel is really tired [07:31:33] erm .. already found a prob :) [07:31:41] No need to pass by reference on objects, don't do it. [07:31:56] http://mediawiki.pastey.net/71037 [07:32:11] line 6 makes no sense [07:32:26] http://mediawiki.pastey.net/71038 [07:32:28] :) [07:32:32] ^^ [07:32:47] that looks like it'll work [07:32:59] Erm .. wait, you're right about line 6 actually .. hold up [07:33:29] http://mediawiki.pastey.net/71039 [07:33:38] Alright, hopefully got it that time :D [07:34:05] Why the extra parentheses? [07:34:34] 03(mod) Use Arabic numerals for the Malayam language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10591 (10sadik.khalid) [07:34:38] robchurch: It makes it somewhat legible :) [07:34:42] No, it doesn't. [07:34:43] Oh, fuck, I'm a moron [07:34:45] Hold up [07:34:52] Anyway, you just broke the logic of the statement. [07:35:03] You're saying, "let MediaWiki decide", basically. [07:35:14] Try that one on for size http://mediawiki.pastey.net/71040 [07:35:21] robchurch: Yes, yes I did [07:35:42] Jeez, what is wrong with you people and whitespace? [07:35:57] robchurch: I wrote that in pastebin -- it doesn't get along well with tab ;) [07:36:14] http://mediawiki.pastey.net/71041 [07:36:34] The extra parentheses are useless and a couple of spaces are always helpful for readability when using the ?: op. [07:36:42] Wow, you're anal: http://mediawiki.pastey.net/71041-1oqt:71040-1vch :D [07:37:04] I don't like unreadable code. [07:37:24] Nor do I -- I find the previous to be quite legible though [07:37:37] In general ternaries aren't meant to be legible, but quick, though [07:37:48] How so? You have two redundant parentheses which clutter up the line, and no whitespace at all. [07:37:54] 03raymond * r24261 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesMl.php): * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language [07:38:23] robchurch: The parentheses allow you to see what is being evaluated and the other two are simple returns [07:38:39] 03(FIXED) Use Arabic numerals for the Malayam language - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10591 +comment (10raimond.spekking) [07:38:44] I find that to be more legible, really -- php coders are big on their random whitespace, but I don't think it helps much [07:38:58] The parentheses are not needed. They require you to think a tiny bit more. This equates to being less easy to read for most people. [07:39:08] Anyway, Perthro, add the last link that robchurch gave to the end of your LocalSettings and let us know if it doesn't work :D [07:39:32] ..wait.. [07:39:45] robchurch: Hmm .. well they help me .. [07:40:14] That's great, if you're the only person who ever has to read the code. [07:40:31] mom i insert the last link [07:40:37] Especially when you're trying to write code for someone else who doesn't understand it, it's almost certainly better to minimise clutter and increase readability for everyone else. [07:41:08] robchurch: I agree. It seems we come from different schools of thought on what is legible, however :) [07:41:17] I should probably point out here that just adding those lines to LocalSettings.php won't work, since no groups have been assigned that right. [07:41:31] robchurch: Already did that step a while ago [07:41:47] $wgGroupPermissions['trusted'] = array( 'editrestricted' ); [07:42:03] bletch [07:42:21] Perthro: Change the right to ... viewforbidden [07:42:30] delete the last two lines and insert the new code,right? [07:42:31] This is what happens when you try to do slightly-more-than-trivial support requests sans sleep. [07:42:43] robchurch: Indeed :D:D [07:43:09] Perthro: Hrm? What two lines? [07:43:43] wen had insert at the start [07:44:42] Perthro: What you should have at this point is two lines setting up the namespaces, one line assigning the right 'viewforbidden' to your group, and then the text of http://mediawiki.pastey.net/71041 [07:45:09] ah ok [07:45:56] 03(mod) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 +comment (10robchur) [07:46:58] must i change something code in /71041? [07:47:20] like namespace or user, or actionP [07:47:50] In other words, something like http://mediawiki.pastey.net/71042. [07:47:58] Good job it's not pay-per-paste. [07:48:28] robchurch: Haha :) [07:48:35] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialVersion.php?r1=14443&r2=14447&sortby=date [07:48:40] Looks good :) [07:48:53] VoA: ? [07:49:13] If multiple namespaces are involved, then you'll likely want some more elegant solution later. [07:49:35] Indeed [07:49:51] amidaniel: I'd feel weird adding myself [07:50:11] VoiceOfAll: You'll know when it's appropriate to add yourself because you won't feel weird doing it. [07:50:21] ok i changed the code [07:50:26] even if I rewrote half the stuff [07:51:29] Hmm .. I thought the GPL required citing something like 10 contributors directly, so I figured we just picked the 10 most active committers and stuck them on there [07:51:33] Sort of like the GFDL [07:51:55] <_mary_kate_> no, people just add themselves when they feel like it [07:51:59] *_mary_kate_ never felt the need [07:52:49] awww :) [07:52:56] Perthro: Working for you? [07:53:13] We do, in fact, have a list that's supposed to be exhaustive, but I bet it's out of date. [07:53:43] no i have a error.. the action you have request is limited to users in one of the groups "*",*user* [07:54:20] Perthro: When you view what page? [07:54:42] if i logged in as admin, or user [07:54:55] the page works [07:55:03] Perthro: What page? [07:55:08] heh [07:55:18] "the device has a telnet and SSH interface but it often hangs and doesn't work." [07:55:23] that's, um, comforting [07:55:57] startpage [07:56:09] and log in works, too [07:56:24] but i cant read any article ( i only create one article= [07:58:00] i have only a permission error [07:58:02] *amidaniel passes to robchurch [07:58:05] I need a smoke .. brb [07:58:24] 03nikerabbit * r24262 10/trunk/phase3/languages/messages/MessagesIt.php: * Updates to Italian (it) by BrokenArrow [07:58:25] ugh [07:58:42] hgu! [07:59:00] <_mary_kate_> robchurch: yeah, it's crappy. [07:59:08] <_mary_kate_> robchurch: fortunately the important bits seem ok :) [08:00:37] uga [08:01:21] oh shit [08:02:15] i just have a meeting wait a few minutes please [08:04:33] 03nikerabbit * r24263 10/trunk/phase3/languages/messages/MessagesNo.php: * Updates to Norwegian (no) by Jhs [08:04:40] 04(REOPENED) Install more fonts (especially for Unicode) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8898 +comment (10vyzasatya) [08:07:09] Actually, I'm going to head off to bed. Perthros: If you still need help, please contact me at cannon.danielc at gmail.com and I'll respond when I'm more coherent and rested :) [08:07:29] g'night all [08:17:56] 03raymond * r24265 10/trunk/phase3/languages/messages/MessagesTh.php: [08:17:56] * (bug 10636) Update Thai translation [08:17:57] Patch by Manop K [08:24:40] Hi, does someone know why {{switch}} is not working correctly? Or has a substitute of this tempalte? [08:24:54] 03(mod) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10636 (10manop) [08:28:20] 03(FIXED) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10636 +comment (10raimond.spekking) [08:28:34] 03(mod) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10636 (10manop) [08:30:02] i am back [08:30:05] robchurch: http://findmagiccards.com/Cards/PC/Ovinize.html haha [08:31:48] 03(mod) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10636 (10raimond.spekking) [08:34:39] robchurch? [08:34:58] i insert the code but now i see a blank side [08:44:34] 03(NEW) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10637 15enhancement; normal; MediaWiki: Internationalization; (manop) [08:52:11] 03mkroetzsch * r24266 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php: typo [09:01:29] hi there [09:02:45] 03raymond * r24267 10/trunk/phase3/languages/messages/MessagesTh.php: [09:02:45] * (bug 10637) Update Thai translation [09:02:45] Patch by Manop K [09:04:57] 03(FIXED) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10637 +comment (10raimond.spekking) [09:05:04] hello, http://en.wikipedia.org/wiki/Template:Switch ==> can I use #switch exactly the same way like {{switch}}? [09:10:56] hi is there one that could tell me if its possible also to delete Users out of my wiki or can i just block theM? [09:18:29] guess most are still sleeping .) or hardworking ^^ [09:25:52] wene: if you have access to the database, you can delete users [09:26:05] 03(mod) Update for Thai language (th) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10637 (10manop) [09:26:06] ya i do have [09:26:44] just thought if there is a way without having to go right to the database [09:29:34] <_DannyB|backup> where to write bug for extension if the extension is not on the list? can any bugzilla admin add it? [09:33:55] _DannyB|backup: use "General" or ask robchurch to add the extension to the list if the extension is part of SVN [09:34:40] <_DannyB|backup> it is [09:38:36] So are you going to tell me which one it is? [09:39:50] 03raymond * r24268 10/trunk/phase3/languages/messages/ (MessagesIt.php MessagesNo.php): fix regressions from r24262/24263 [09:43:19] <_DannyB|backup> robchurch: didn't know you're here - poem [09:44:21] done [09:44:37] <_DannyB|backup> thx [09:52:41] Duesentrieb: cool nick, hello [09:59:17] 03(NEW) Wrong tabs rendering under Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10638 minor; normal; MediaWiki: User interface; (kalan.001) [10:00:50] 03(mod) Wrong tabs rendering under Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10638 (10kalan.001) [10:22:25] hi [10:27:00] 03(FIXED) Non-inline links to missing images / image description pages should be marked as broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1850 +comment (10mormegil) [10:46:17] hi [10:46:28] hi evi [10:46:36] hab da mal ne frage [10:46:50] dieses wiki muss ich das auf einen Server laden? [10:48:19] evi: if you speak English a lot more people could answer [10:48:44] Ray have him in a querry [10:48:52] Sundance_Raphael: ok [10:48:56] k [10:49:07] but i thoink he is not identfyt [10:49:34] evi see you my querry? [10:49:47] yes [10:50:09] you can write there maby i can help [10:50:29] ich hab schon geschrieben [10:51:00] nein [10:51:08] du bist nicht angemeldet dann [10:51:21] #Sundance_Support [10:51:35] so ab mit uns in den sub channel evi [10:52:43] evi tipp /join #Sundance_Support [10:57:19] http://www.kuro5hin.org/story/2007/7/16/162353/730 [10:57:22] *robchurch gapes [10:57:33] And not in the sense this person would like me to "gape", either. [10:59:40] ... [11:03:32] bah, i hate the gay propaganda .. i would guess you could twist it out for harry potter to be a mw developer as well.. his aunt and uncle are ashed of him, because they are right-wing propertiary fanatics, and he lives in this underground wiki world, where he is a wizard, making things come true for other underground wiki people... blahblabh [11:04:10] or to be more precise, i have any propaganda [11:04:44] 03(NEW) ISBN not working in some cases - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10639 15enhancement; normal; MediaWiki: General/Unknown; (huji.huji) [11:05:18] Last book comes out on Saturday. :D [11:12:37] 03(mod) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 +comment (10dev) [11:13:19] robchurch: hi, thanks for guiding me through writing the above patch [11:13:53] robchurch: I tested the patch from http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 with 17000 pages, no problem. [11:14:05] i'm not sure why we need the /* DO THE EXPORT */ bits [11:14:32] there's some over-commenting going on, but let's see... [11:15:04] Inconsistent brace usage... [11:15:53] oh! [11:16:46] Inconsistent spacing; not sure what the
at the end is supposed to achieve; documentation comment for the global could avoid repeating the obvious and so on [11:17:01] However, it looks like it will work, which is important enough [11:17:48] *tstaerk feels like a code-disturber [11:17:50] One thing I do note is that you are only enforcing the page limitation on the UI. That's nice, it means users don't see an irrelevant option, but you're not checking it again where it counts. [11:17:59] yes [11:18:17] shall I change this ? [11:18:19] So I could completely bypass the option with an appropriate POST. [11:18:22] Yes, please. [11:18:31] ok. [11:18:46] shall I remove ALL comments ? [11:19:12] no [11:25:39] It also appears that $wgExportMaxPages isn't applied when users provide a list of titles, and it should be, otherwise it can also be effectively bypassed. [11:27:37] robchurch: you mean, if a user adds 10 pages manually, and $wgExportMaxPages is 9 ? [11:27:45] Yes. [11:29:05] Defeats the purpose of having a limit if I can just paste a list of all pages into the box. [11:30:10] fixed, testing. [11:31:16] 14(WFM) ISBN not working in some cases - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10639 +comment (10raimond.spekking) [11:31:26] hi. what is the bar on top * Article [11:31:26] * Discussion [11:31:26] * Edit [11:31:26] * History [11:31:26] * Protect [11:31:27] * Delete [11:31:29] * Move [11:31:31] * Watch [11:31:40] ups. what is it called? i want to change the font size of it [11:36:38] div#p-cactions [11:38:59] change main.css of the skin? [11:51:43] Hi folks [11:54:36] I'm trying to upload non-image (ed zip, rar, doc etc) files to my wiki & I can now upload the on byut the MIME tupe always shows as unknown so I can't download them! I've followed the instructions on the docs AFAICS and have installed php-pecl-Fileinfo but it still says the type is unknown. it doesn't hive a file currupt warning. Any ideas? [11:58:37] I just restarted Apache having installed fileinfo and the mime type for a rar now shows as MIME type: application/x-rar, but it still wont download - it just opens in a window [11:59:07] robchurch: the .p div i can change to affect the links on top is .portlet li { but that changes all sidebar links as well [12:05:47] so that section is not divided from the sidebar style? all under li ? [12:07:50] mmhh.. is there anythink i should consider bevore updating from 1.6.10 to the actuel version 1.10.x? [12:09:31] have you php 5? [12:09:35] yes [12:09:39] thats why [12:09:55] on the new host i have php5 on the old it was just php4 [12:10:28] i think it it saver first to take a 1.7x version [12:10:31] well except an backup of the database [12:10:55] then the upgrate of 1.10.1 [12:11:46] oke [12:12:29] will my old localsettings.php still work? [12:13:10] i hve startet with 1.9.1 [12:13:28] but ithink ther are some chanches in the extantions [12:14:00] maybe you must look in the menual of the extantions what is differnt [12:16:29] another thing just looking over the downloads list and there is an 1.7.3.patch file and a 1.7.3.tar.gz file [12:17:12] well as far as i know the .tar.gz is an comprimated package but what ist .patch? [12:17:28] wene: a patch file. [12:17:56] 03(mod) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 +comment (10dev) [12:17:57] wene: http://en.wikipedia.org/wiki/Patch_%28Unix%29 [12:19:55] oke thats nice but i gues the .tar.gz shoult be my choice for upgrading? [12:20:24] damn my spelling is bad [12:23:37] Search: When you search the exact article name, the [GO] butten takes you directly there. Would it be possible for category pages? Cos my Category pgaes have an important role in my wiki. [12:27:35] Hi I have a problem understanding what a college on mine has done with the mediawiki navigation. Though I cant ask him anymore, I hope you can help me. I have problem to understand whats happeing, and though I might not explain this right. please be patient with me. [12:29:29] just give it a try mblitz [12:29:36] The problem. when I klick on the MainPage link, the wiki jumps ti Special:ListAllBlogs, but when i watch in MediaWiki:Sidebar there the mainpage is described as mainpage|MainPage. Where is this Special:ListAllBlogs coming from. I dont find that. [12:30:05] so does anyone know how to get an extension (CategoryTree) to accept {{PAGENAME}}? [12:31:15] Or I could also ask, where do I define what my initial Mainpage should be. [12:32:21] is there perhaps an redirect on your mainpage? [12:32:55] No if I enter mainpage directly in the link I see a site we used ages ago but that is obsolete [12:33:34] how do i edit the namespaces? [12:33:50] such as Category, Talk, Main, etc.? [12:36:09] 03(FIXED) Number of articles stuck in Arabic Wikinews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10357 +comment (10meno25bugzilla) [12:38:02] wene: I entered for a test mainpage|Old-Main in the Sidebar and that directs me to the ListAllBlogs page. On a mouseover to the link the browser also tells me hes going to http://myurl/Special:ListAllBlogs [12:38:47] mblitz: you define what the main page is by editing MediaWiki:Mainpage [12:39:26] How to usу transwiki import? [12:39:36] Ahhh cool I could kiss you Thanks. I wouldn't have found that in ages [12:40:20] mblitz: the string mainpage|MainPage actually points to MediaWiki:Mainpage (link target) and MediaWiki:MainPage for the caption (if that exists). [12:40:39] note that names of system messages (i.e. pages in the MediaWiki: namespace) are case sensitive (except for the first letter). [12:40:50] i see thank you [12:45:32] Hello everyone! [12:45:48] Jandalo: hello [12:46:00] I'm Spanish [12:46:07] and you? [12:46:21] I'm russian [12:46:45] I figured it because of you name [12:47:45] I've just installed my first Wiki [12:48:09] and I have many doubts [12:48:29] Could someone help me? [12:48:46] I hope I can [12:49:00] OK, thanks [12:49:22] for example [12:49:43] how can I place images on the pages? [12:50:12] [[Image:]] [12:50:32] Ok, I know that [12:51:04] the question is: what folder I have to place the image file in? [12:51:25] I'd like to use my own pics [12:51:43] You have to upload them on wiki [12:51:48] Jandalo: there's an importImage script in the maintenance folder. [12:51:50] can i for an domain secured by .htaccess put the user and password into the domainname like http://domain.tdl:user_passs ? [12:52:06] Jandalo: mediawiki has to have an entry for the image in the db, otherwise you can't use it [12:52:34] wene: depending on your browser, yes [12:52:36] hi Jandalo [12:52:39] Ok, I think that's what I need [12:52:41] firefox [12:52:46] thank you so much [12:52:51] should work [12:53:11] and how would the syntax look? [12:53:37] http://user:password@domain/... [12:53:45] thx [12:53:50] daniel ^^ [12:55:22] oh [12:55:38] my guess was right ur name is daniel :) [12:55:54] sure :) [12:58:04] I think there is many people imports pages from m: to mw:, so I think somebody knows answer on my question [12:59:04] 1. Make sure the interwiki is known, i.e. in the interwiki table [12:59:11] 2. Add the prefix to $wgImportSources [12:59:18] Is the any one out there who speaks Spanish? [13:02:59] hi guys [13:03:05] how can I insert link into wiki ? [13:03:41] like my text [13:03:42] [[some page]] [13:03:51] [http://www.somewhere.com go to somewhere.com] [13:03:55] where I can paste my text ? [13:04:00] [externalURL your text] [13:04:06] moment [13:04:34] Monk33, it works [13:04:37] thanks a lot [13:05:22] there are more options with internal links http://en.wikipedia.org/wiki/Help:Link [13:05:53] Search: When you search the exact article name, the [GO] butten takes you directly there. Would it be possible for category pages? Cos my Category pgaes have an important role in my wiki. [13:08:49] Monk33, is it possible to upload image into mediawiki and paste it into page ? [13:09:19] who can help me with the parserfunction "#switch", any help would be very appreciated!! [13:10:03] is I have a question about MediaWiki's Numbered lists [13:10:41] Is it possible to change the behavior to display second, third, etc level numbered lists as 1.1, 1.1.1, etc? [13:11:52] where can I allow uploading images into wiki ? [13:12:01] is it config file ? [13:12:04] localsettings.php [13:12:09] Sir_J: Please read the FAQ. [13:12:15] oke [13:12:24] robchurch: are you known with #switch? [13:12:47] The entire code base knows and fears me. [13:12:54] Or do you mean, do I know anything about it? Yes. [13:13:44] somehow i cannot get it working [13:14:36] hello there :) ... i've got a question: how do i move/forward pictures (picturepages) to other pages in my wiki? like using the picture as a link... oO [13:15:08] Any takers on my list.php question? [13:15:11] there is no tab to move the picturepage like on other pages [13:16:40] gri6507: It *should* be doable using CSS. [13:16:53] AirOnSkin: You can't move images at the moment. [13:17:02] (Yes, it sucks) [13:17:19] EK123: Using MediaWiki version...? [13:17:21] hey [13:17:44] thx, robchurch... i'll try to find another solution :) [13:17:45] robchurch - do you know of anyone doing that? I did quite a bit of googling and only saw questions on how to do that without anyone actually having done that [13:18:14] I wondering: should I create my own templates (since there are no templates in the default installation) or can i get them from somewhere? [13:18:15] AirOnSkin: You can [ab]use the ImageMap extension to link images to other pages. [13:18:40] claudio`: You can create them yourself, or you can "borrow" them from other wikis, provided you comply with any licencing. [13:18:53] ;) ... yeah... good idea. thx! [13:19:42] robchurch, ok.. i'll try to ``import'' some template from my language Wikipedia.org page. THX [13:20:20] robchurch, i also would like to understand how to customize my page in order to have something like http://en.wikipedia.org . [13:20:45] s/page/main page [13:20:47] Robchurch: im using 1.10 [13:21:20] mornin kiddies [13:24:02] mornin brion-office :) [13:24:36] Is this the fresh-faced, eager brion, our faithful lead developer, our steadfast bastion of sanity and reason, he who guides our code, and through gentle prompting, encourages us all to do a better job? [13:25:00] Or is it the pissed off, overworked, underpaid, caffeine starved brion who's going to tell me to piss off if I link him to a patch? [13:25:21] if someone has invented a pillow that fits perfectly over a keyboard, that person would become my friend [13:26:17] I can compromise with a hastily scribbled, badly-done sketch of a pillow on a post-it note. [13:33:10] robchurch, were you able to check it out>? [13:33:26] You haven't shown me the problematic markup. [13:33:46] well...I cant get it working [13:34:07] I even copy/paste the whole dutch version of wiki and even then it does not work [13:36:37] that meight be, because the wiki-pages from wikipedia.org are using another css [13:36:58] nah, I even copied all the classes [13:37:05] and the javascripts [13:37:09] everything is workign [13:37:23] except the switch template [13:37:35] I also tried the parserfunction #switch [13:37:44] ah, well. i wasn't reading what you wrote before :p [13:37:44] but I always get the default as return [13:37:53] np :P [13:38:07] Do the simple examples at http://mediawiki.pastey.net/71028 work? [13:38:23] let me check [13:40:27] well, I do get a blue box [13:40:36] inside {{1}} [13:40:57] And if you call the template from another page, and set colour=red, does it go red? [13:43:15] it does not work on another page [13:43:21] exactly the same problem [13:44:41] Public wiki? [13:44:52] not yet right now [13:44:54] :( [13:46:31] the imagemap worked. thx robchurch ;) ... goodbye [13:46:59] /leave [13:47:06] -.- [13:47:51] 03(mod) Transwiki import on Swati projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10563 summary (10triyork) [13:48:54] Robchurch, I got your example working! [13:49:31] now, i need to get it working on my wiki lol [13:50:20] 03(mod) Section edit links showing up in wrong place - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1629 (10brion) [13:51:29] Hi, sorry to ask another time. Is there a way to manipulate the redirection time after a login ? 10 sec is to long [13:53:31] hm.. litle problem when i try updating my installation it sys forbidden 403 on the update.php and in the Upgrade readme it says something about a comandline.. but i cant acces my host by ssh or similar [13:55:06] hi tim [13:55:17] The upgrade guide also gives two alternatives to the command-line script. [13:55:23] hello [13:55:35] 03(mod) Extension to track and periodically update view counts from Squid logs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10633 (10brion) [13:55:53] ya one should just read ahead and dont stop on the first two lines :) [13:55:58] thanks rob [13:56:42] can somebody help me? Special:Popularpages: is it possible to get the category views listed besides article pages? they are counted as well [14:00:07] Monk33: Version? [14:00:50] 1.8.2 [14:00:53] I've been working on file deletion [14:01:13] I've decided to use row-based locking in the database, instead of advisory file locking [14:01:45] because for one thing, the filesystem doesn't have a deadlock detection system [14:02:07] and there's no locking over NFS so it wouldn't work on a lot of installations [14:02:46] \o/ [14:03:29] red links to image description pages have been getting me down [14:04:00] :( [14:04:01] apparently the behaviour changed in r11916 [14:04:02] how so [14:04:20] TimStarling: Ah, just the person. Is there a nice, straightforward means of publishing a file straight to the archive, i.e. for slurping in old file revisions when doing an import? [14:04:42] 03(NEW) Restrict media upload to autoconfirmed users on it. wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10640 15enhancement; normal; Wikimedia: wikibugs; (brovvnout) [14:04:51] robchurch: yes [14:05:31] I assumed it was me being somewhat blind. Could you give me a quick hint? A method, maybe? A line in a file? The merest suggestion of a clue? [14:05:36] brion-office: you sometimes get red links in "return to [...]" messages after deletion or restoration, generated via makeLinkObj() [14:05:50] mmm [14:05:59] $repo = RepoGroup::getLocalRepo(); [14:06:12] is that just on images? i'm sure i've seen that on regular pages too [14:06:14] $status = $repo->store( $source, $dest ); [14:07:10] Legend, ta. [14:07:25] brion-office: it would happen on regular pages too, but I think there's a hack in the parser to make a blue link to description pages of images that exist [14:08:18] actually make that... $status = $repo->store( $source, 'public', $dest ); [14:08:44] the return value is going to change with my next commit [14:09:05] I'm introducing a FileRepoStatus class, which is returned for most file operations [14:09:33] All right. I'm not doing anything with it right this minute, but I was looking briefly through it the other day, and couldn't see how to do what I wanted. [14:09:46] Hence the reason I did the medium-trust import first. ;) [14:09:52] it does path disclosure protection, warning list or single message, critical/warning distinction, arbitrary embedded value [14:09:58] 03(mod) Restrict media upload to autoconfirmed users on it.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10640 +shell (10anaconda) [14:10:05] neat [14:10:54] the path disclosure protection was basically stolen from WebStore [14:11:38] FSRepo is getting more and more feature-rich, eventually I'll probably rewrite WebStore as a simple RPC layer on top of FSRepo [14:13:10] Robchurch, in your example: what does the {{{1}}} mean? [14:13:17] could you please explain? [14:13:19] {{{1}}} is the first parameter. [14:13:45] If you save that particular template markup in Template:Box, as the example suggests, then it means you can do {{box|Text or other junk to appear inside the box.}} [14:14:08] ok thanks\ [14:14:16] And if you wanted a red box, {{box|Some junk.|colour=red}} [14:14:39] EK123: ... or you could read http://meta.wikimedia.org/wiki/Template first [14:14:44] is there a template i can edit that'll make mediawiki give users an option to create categories as well as pages (or instead of) when a search fails? [14:14:46] so the first parameter is "colour=red" [14:15:04] No, the first parameter is whatever comes first, in this case, "Some junk." [14:15:29] ok so what you are saying is actually: make "some junk" red [14:15:45] No, I'm saying "use the red colour scheme" [14:16:12] The example template is a simple box with two colour schemes, defaulting to blue, which can contain arbitrary text or other items. [14:16:45] ok i will try...but my case seems to be more complicated [14:16:47] Templates are really just a lot of clever substitution, if you look at the markup. [14:17:02] Robchurch, I would like to thank you for your help, it is much appreciated [14:17:33] I hope I can finnaly solve this and finish the wiki [14:17:35] :) [14:24:23] 03raymond * r24269 10/trunk/phase3/languages/messages/MessagesTh.php: Underscores in namespaces are useful, thanks to Nikerabbit [14:36:03] Robchurch, you are still here? [14:36:15] I just want to say your example did help me [14:36:31] I solved the problem, thank you very much!!!! [14:39:10] 03(NEW) Renaming namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10641 15enhancement; normal; Wikimedia: Site requests; (herman) [14:41:10] 03(mod) Wrong tabs rendering under Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10638 (10brion) [14:41:36] 03(mod) Wrong tabs rendering under Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10638 (10brion) [14:46:08] 03brion * r24270 10/trunk/phase3/skins/common/wikibits.js: bug 10638 -- fix regression in Opera < 9.5 by bad version check in r24163 [14:46:26] 03brion * r24271 10/trunk/phase3/includes/DefaultSettings.php: and bump style ver [14:46:57] 03(FIXED) Wrong tabs rendering under Opera - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10638 +comment (10brion) [14:48:05] 03(mod) Renaming namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10641 +shell (10robchur) [14:49:10] 03(mod) Extension to provide aggregate page view statistics from Squid access logs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10633 summary (10robchur) [14:51:37] well, here comes another little Opera bug... [14:51:44] 03(NEW) Shift-clicking checkboxes in Opera 9.2 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10642 normal; normal; MediaWiki: General/Unknown; (wiki) [14:52:39] 03(mod) Diff didn't highlight a change - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=349 +comment (10brian.fenton) [14:56:02] Wow, the watch page JavaScript is cool. [14:57:27] 03(mod) Shift-clicking checkboxes in Opera 9.2 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10642 (10brion) [15:00:11] 03(mod) Renaming namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10641 (10minuteelectron) [15:03:03] 03(mod) Diff didn't highlight a change - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=349 (10wiki) [15:16:27] 03(mod) Diff didn't highlight a change - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=349 (10brian.fenton) [15:30:05] 03(NEW) Search within history of articles - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10643 15enhancement; normal; MediaWiki: Search; (edupedrito) [15:33:27] ??? [15:33:30] ? [15:33:34] ze ani oren [15:33:40] D: [15:33:41] is there anybody out there? [15:33:42] 03brion * r24272 10/trunk/phase3/ (3 files in 3 dirs): (log message trimmed) [15:33:44] * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0 [15:33:50] The previous code was using the 'onmouseup' event to trigger the shift-click multiple selection behavior. This had a number of problems: [15:33:50] Helloooo? [15:33:53] * Opera 6.0 doesn't fire this event on radio buttons [15:33:54] someone? [15:33:58] * Opera 7.x and 8.x flip the check state before sending the event, while Opera 9.x and other browsers flip it after [15:34:02] 03(FIXED) Shift-clicking checkboxes in Opera 9.2 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10642 +comment (10brion) [15:34:03] * A UA check for Opera was used to work around the state inconsistency for 7.x and 8.x, which broke on 9.x [15:34:04] people i need help... [15:34:07] * Minor quibble: the event fires if you click outside the radio and release while the mouse is over it, though that wouldn't normally count as a click on the radio. [15:34:52] where is a manual for new wiki administrators ? [15:34:53] where is a manual for new wiki administrators ? [15:35:24] ??????/ [15:36:03] !welcome [15:36:03] Welcome to #mediawiki, the channel for MediaWiki development and support! Don't ask if anyone's around, just ask your questions. Do, however, consult the FAQ, located at , first. [15:36:09] i know im being newbish, but how do i unlock a page? :D [15:36:25] smae question here [15:36:34] is anybody in here??~? [15:36:36] 03mkroetzsch * r24273 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php: Escape wiki links with ":" [15:36:38] Click on the protect tab. [15:36:39] damt [15:40:46] brion-office: it would be also nice to rename checkboxMouseupHandler() to, say, checkboxClickHandler() [15:41:27] What hooks/skins/etc can I edit in 1.10 to customize the My Preferences tabs? [15:42:03] hiiii does anyone has any idea using Extension:Blacklist ??? [15:44:03] ?? [15:47:48] thppptd [15:49:47] AphelionZ: good luck... prefs is kind of hideous code :D [15:49:48] 03brion * r24274 10/trunk/phase3/skins/common/wikibits.js: rename checkboxMouseupHandler to checkboxClickHandler for the feel-good value of non-confusing names :D [15:52:11] brion-office... thanks. it looks like there's a PreferencesUserInformationPanel hook [15:52:28] brion-office: I just need to brush up on my OOP inheritance and crap [15:53:08] that probably won't help you unless you want to insert a few lines at that exact spot [15:56:39] is there an installation log when you install mediawiki? [15:57:24] brion-office why was http://bugzilla.wikimedia.org/show_bug.cgi?id=3391 declined? [15:57:43] wikineik: just what the installer spurts out on screen; you should save that if you have issues :) [15:57:48] but atm it doesn't save it for you [15:58:15] White_Cat: because it's annoying extra text everywhere [15:58:58] hi [15:59:56] *Evgen just create article with point at the end of it's name and can't delete it/// [16:00:37] you have a funny rewrite rule? [16:00:55] brion-office hmm [16:01:16] what do you mean everywhere [16:01:29] cant it be implimented in a simpler way? [16:01:41] people can alter their sigs with a checkbox [16:01:44] A URL walks into a bar. Bartender asks him, "Why the query string?" [16:02:08] White_Cat: cause i don't like it [16:02:27] brion-office would a backrub make you think differently? [16:02:39] brion-office how about linking to talk page by default? [16:03:04] *Evgen can delete article with point at the end of the name in 1.6.10 but can't see how to do it in 1.10.1 [16:03:25] White_Cat: it would probably hold if it was that way from the beginning; now it's too late :) [16:03:29] Evgen: your OS, PHP ver, web server? [16:03:40] AlexSm its never too late [16:03:54] I have said this back then [16:04:11] entire blame goes to timichal [16:04:20] *AlexSm is expecting a lot of people to come and ask to revert this [16:04:31] (if it was implemented now) [16:05:25] brion-office, is than mean anything - php5.23 apache2 os - eComstation [16:05:35] O_O [16:05:41] hi brion-office [16:05:49] wow, i don't think i can reproduce your os/2 environment testing here ;) [16:06:36] brion-office, I don't thing that it is os-specific [16:06:50] Evgen: as a workaround try index.php?title=Whatever.&action=delete [16:06:59] can you confirm that that works for now? [16:07:15] brion-office, you can look at wiki.laser.ru [16:07:26] *brion-office looks [16:07:42] AlexSm I dont think so [16:07:49] last two articles [16:07:52] its very annoying for everyone to repetively load userpages [16:08:13] AlexSm which one benefits the wiki more? [16:08:22] this was implimented for ips [16:09:16] I guess I don't answer people that often [16:09:25] Personally, I wish for another feature: signatures always inside [16:13:06] Evgen: as i mentioned before, do the ?title=xxx&action=delete to remove it for now [16:13:37] 1.11 _may_ work correctly, as it does some hackarounds for extracting titles from URLs where the web server mangles the PATH_INFO data inappropriately [16:13:40] brion-office, thanks, workaround wrks [16:13:57] works [16:14:05] (a common problem being apache on windows stripping things like final .s, or apache 2.x on some platforms removing multiple slashes) [16:14:19] i'd assume that apache on os/2 behaves similarly to apache on windows as far as path handling [16:15:08] hmmmm that may be issue for filenames, not for dbase records [16:15:23] it's not a db issue [16:15:37] ???? [16:15:49] the web server is processing the path information on the URL, and breaking it in ways we don't want in the process [16:16:10] by the time we get it in the PATH_INFO variable, it's already had the final . removed [16:16:18] mmmm [16:16:40] (windows strips final .s from filenames, iirc. dunno if os/2 forces that or not as well) [16:19:13] robchurch: offhand, that MediumTrustImporter class looks like it'd be a little weird on multiple-revision imports [16:19:34] you'd get a pileup of a bunch of revs with the same timestamp [16:22:19] and.... it looks like it'd still put in a null revision with the import info [16:22:36] i think i'd rather see it only take one version, and put the import info on that? [16:22:38] or.... bah [16:22:40] not sure [16:24:45] brion-office, http://wiki.laser.ru/index.php/óÕÄÅÂÎÉËÉ_1497_É_1530_ÇÇ http://wiki.laser.ru/index.php/óÕÄÅÂÎÉËÉ_1497_É_1530_ÇÇ. - Á different urls [16:25:38] ahhh [16:25:57] but not for chatzilla [16:26:45] right, it's in the internal processing [16:26:52] gettin' to lunchtime [16:29:01] Hmmm... at one computer it is no not metter, and at second - there is the difference [16:30:03] hi, can i let 1 long column of a table be auto pared into eg 4 colums without setting the | manually? [16:30:19] *parted [16:41:28] Oi claudio [16:41:37] Algum Brasileiro? [16:42:30] English please [16:45:26] If anyone in here has experience creating mediawiki extentions and has some time for some quick paid sidework please /msg me. [16:51:05] Is there any way to force all of the users on the site to revert back to the monobook skin? [16:52:30] can mediawiki be used as a CMS like joomla? [16:53:37] can somebody pleae take a look at fckeditor.net please? does it use mediawiki? if not, can mediawiki make a site like it? [16:53:56] and firefox.com , mozilla.org please [17:11:24] What's the highest number of changes that can be listed on Special:Watchlist ? [17:16:21] 14(WFM) Watchlist now only goes back 1 week - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10349 +comment (10pathoschild) [17:18:49] please help! [17:19:00] where can i find themes please??? [17:19:12] i can see many extensions, but no theme there [17:19:16] :( [17:19:18] DavidHKMrPowers: You want to use an existing theme, or add new themes? [17:19:51] Pathoschild so...you mean there would be more than one theme in the basic package? [17:20:22] i want to find soem themes and use one that is suitable [17:20:32] Yes. You can change the visible theme from the wiki page "Special:Preferences", and I think there's a variable that sets the default theme. [17:21:09] Pathoschild thanks :) do you know the link to the officla theme site? [17:21:18] *official [17:23:15] There is no official theme site; all the official themes are already included. There are several unofficial skins that can be applied simply by editing the wiki page "MediaWiki:Monobook.css" at < http://meta.wikimedia.org/wiki/Gallery_of_user_styles >. Creating an entirely new skin is much more difficult. [17:23:36] brion-office: I'm not quite sure I follow. [17:24:28] Are you saying we should combine all the provided revisions together, and just inject the one revision, with current timestamp and specific user credentials? [17:24:41] Pathoschild thanks :) i'm not going to create a new theme since i think it's difficult :) [17:24:58] back [17:25:17] Pathoschild: The highest number of changes is limited according to some voodoo magic in the watchlist code, based on the number of items watched. [17:26:20] I see. [17:26:51] Special:Preferences seems to limit to 1000; is that more or less the absolute maximum? [17:27:21] I've no idea offhand, to be honest; like I said, voodoo magic, and I suspect there's a couple live hacks in there too. [17:30:33] *robchurch points brion-office to his query a few moments earlier [17:31:10] i'll repeat when i've tried it :D [17:32:39] I admit that the multiple consecutive revisions with the same timestamp looks odd, but it *is* nice to see how the original documents were built up. Obviously, the timestamps can't really be trusted, else User:Dr._Who could start writing articles from Utopia. [17:33:24] hmm [17:36:16] Might be nice to have some means of indicating where a revision came from. Did it come from a local edit, was it imported, is it a null revision, did someone use rollback? [17:37:02] But that means more work, probable schema changes, and I'm sure as shit not gonna be the one stabbed for proposing another change to the revision table this quarter. :D [17:37:07] :D [17:37:36] An arbitrary flag bitfield might be something to consider in the future, though. [17:57:26] brion-office: when are you going to release MW 1.11? In August? [17:58:16] We can't afford to release 1.11, it's sentient. It might turn on us. [17:59:56] hi. is there anybody who knos about teh extension DiscussionThread Article? i installed it in 1.8.2 but the [new][edit][reply] on the discussion page and the [edit] links on teh article pages moved to the left side now :( [18:07:00] left and above the headline [18:10:07] "littered spinners on the page" [18:10:13] Littered? My spinners are not litter. [18:10:28] Actually, need to probably redo those. [18:10:46] how can i reset a user password? I dont understand the faq :D [18:12:22] can someone explain http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F to me? :D [18:12:23] VasilievVV: when i'm damn good and ready [18:12:32] but i want it out probably monday :) [18:12:46] since i want us to have flexibility over wikimania to do crazy things :D [18:14:54] *robchurch has the upgrade docs prepared and waiting [18:15:27] Hello - where can I find the administration page on MediaWiki? I'm having such a problem with spam, I'd like to lock down the entire site. [18:15:34] failed with error code "Specified key was too long; max key length is 1024 bytes (localhost)" [18:15:47] DavidHKMrPowers: version? [18:15:56] 1.6.10 [18:16:04] upgrade to php 5 and install 1.10.1 [18:16:17] Brian2: You might find http://www.mediawiki.org/wiki/Manual:Combating_spam helpful. [18:16:41] brion-office i can't update it to php5 since other apps need php4... [18:16:58] upgrade your other apps :D [18:17:00] should i use 1.5? [18:17:22] what's the possible reasons of it? [18:17:31] mysql problem or php problem? [18:17:56] damnit... does anyone want to take over administration of a clever but failing wiki? This is infuriating... [18:18:04] mysql problem [18:18:11] :( [18:18:23] adjust your configuration or mess about with the tables. see numerous existing discussions and documents which are probably googlable [18:18:45] brion-office thasnk :) [18:20:32] brion-office i've found a solution...but why is it not fixed in the release? [18:28:21] hello [18:29:14] is there still a cvs server for mediawiki? I have access to a machine that does not support svn [18:32:07] No. [18:45:29] 03(NEW) recentchanges query returns 'rc_user_text' in 'user' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10644 15enhancement; normal; MediaWiki: API; (bugzilla) [18:46:50] wher does installation find CREATE TABLE prefix_job ? [18:50:14] maintenance/tables.sql [18:55:10] This export interface is shaping up nicely. [19:02:00] any devs around? I'd like to talk about the parser and tips for implementing mine [19:02:55] from what I understand, the parser replaces http://en.wikipedia.org/wiki/Special:Search?go=Go&search=foo tags with place holders, process the formating markup when insert the expanded tags [19:03:32] wait, I meant to type a wiki style tag, not the URL [19:03:47] I guess my IRC client is trying to help me [19:04:27] I was wondering why bothering with the place holder part and not expanding all the stuff inplace during the first pass [19:07:00] 03brion * r24275 10/trunk/phase3/ (RELEASE-NOTES includes/OutputHandler.php): (log message trimmed) [19:07:04] Don't do gzip compression if the URL path ends in .gz or .tgz [19:07:08] This confuses Safari and triggers a download of the page, [19:07:12] even though it's pretty clearly labeled as viewable HTML. [19:07:16] Bad Safari! Bad! [19:07:18] Bug is still present in Safari 2.0.4/Mac and 3.0.2/Win. [19:07:22] We have had a live hack for this on Wikimedia sites for .gz files; [19:13:13] after change php memory to 256MB and modify /maintanence/table.sql , mediawiki has been installed succesfullt [19:13:16] *changing [19:15:31] Is there a way to get thumbnails of images recreated? [19:24:19] robchurch: are parser functions case sensitive? i can't remember :/ [19:24:24] brb [19:24:39] depends on how the magic word is defined [19:24:47] oh [19:25:11] $magicWords[$str] = array( 0, $str ); [19:25:55] i never knew what the 0 meant, but I'm guessing now that it means "insensitive" [19:36:18] i have a problem with the Search: When you search the exact article name, the [GO] butten takes you directly there. Would it be possible for category pages? Cos my Category pgaes have an important role in my wiki. [19:55:45] what's $wgLogo ? [19:55:52] where is [19:58:27] hiiii does anyone has any idea using Extension:Blacklist ??? [19:58:29] ?? [20:02:34] DavidHKMrPowers, it's a variable. If you want to change it, just add the line to the bottom of LocalSettings.php. [20:02:50] emrezer, do you mean Extension:SpamBlacklist or some other extension? [20:04:06] it [20:04:27] http://www.mediawiki.org/wiki/Extension:Blacklist [20:04:31] ;) [20:04:50] Ah. Never heard of it. [20:05:19] do you have any chance to try it? [20:05:22] No. [20:05:30] You could try Duesentrieb's Extension:Lockdown instead. [20:05:44] He's a MediaWiki developer. [20:06:11] siebrand thanks! btw, can tell me where to add side box ? [20:06:23] oke thanks ;) [20:06:31] DavidHKMrPowers: you're welcome ;) Nope ;) [20:06:35] Simetrical [20:06:44] siebrand sorry.. [20:06:47] "Where to add side box"? [20:06:59] I don't understand. [20:07:16] the boxes on left side [20:07:26] caterories [20:07:30] categories [20:07:34] You want to add another one? Try editing MediaWiki:Sidebar. [20:11:10] Simetrical thanks it works :) [20:14:39] Anyone know how to rebuild thumbs for images? nothing in maintenance/ looks appropriate. [20:18:14] 03(mod) Search within history of articles - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10643 (10Simetrical+wikibugs) [20:18:45] Set $wgThumbnailEpoch. [20:19:06] $wgThumbnailEpoch = '200707192119'; [20:19:31] might need a couple extra zeroes on the end [20:20:50] robchurch, what does that do? thumbs are recreated at that time? [20:21:04] 03david * r24276 10/branches/liquidthreads/ (29 files in 7 dirs): (log message trimmed) [20:21:06] Merged revisions 24213-24275 via svnmerge from [20:21:08] svn+ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [20:21:10] ........ [20:21:12] r24216 | robchurch | 2007-07-17 15:30:52 -0700 (Tue, 17 Jul 2007) | 1 line [20:21:20] Pass the user as an argument to 'isValidPassword' hook callbacks; see docs/hooks.txt for more information [20:21:22] ........ [20:21:36] it's a timestamp, it means thumbnails earlier than that time are discarded [20:21:49] you could also erase the thumb directory and let it be recreated [20:23:43] ah, cool, thanks [20:24:47] hi .. does mediawiki provide an rss feed of only new pages (not edits ?) [20:26:40] hello guys, I have a small quastion. If I have a page_id how can I get a page titel? [20:28:01] Title::newFromId() ? [20:28:40] did that, $page_name = Title::newFromID($array['page_id']); [20:28:44] but its a object [20:29:12] not sure how to get text title from it [20:30:13] Is there a liquid threads installation somewhere I can see in action? [20:30:41] gcardinal: So look at the Title class. You will notice two hopeful-looking methods, getText() and getPrefixedTex(). [20:31:21] did that as well, but it gives [20:31:26] Call to a member function getPrefixedText() on a non-object in /home/wiki/www/extensions/RecentRatings.php on line 63 [20:32:02] Well, obviously you need to check you've actually been given back a title. [20:32:40] the ID I have is for the article, can I use Title::newFromID on an article ID ? [20:36:18] 03(mod) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 +comment (10robchur) [20:37:06] 03(mod) Export pages matching a regular expression - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10568 summary (10robchur) [20:37:19] 03(ASSIGNED) Export pages should allow to export all pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10574 (10robchur) [20:37:21] Yes. [20:38:00] However, if you have the page_namespace and page_title values, then it's much quicker to use Title::makeTitleSafe( namespace, title ) on them. [20:40:42] hmm strange cant get it to work, getting same error, when it works with user_id [20:40:49] yeah but got only page_id :S [20:40:52] http://mediawiki.pastey.net/71063 [20:41:22] Your calling convention is wrong, I don't know why on earth you're passing arrays. [20:41:33] Ah, no you're not, my mistake. [20:41:50] its foreach (self::GetRatings() as $array) { [20:41:54] Where did $array come from? [20:41:57] bad names [20:42:20] from table in DB [20:42:25] Show me the code [20:42:28] sec [20:43:42] http://mediawiki.pastey.net/71064 [20:44:53] Looks like a prime candidate for a nice JOIN or two. [20:45:59] so will be faster with simple sql? [20:46:57] SELECT * FROM rating LEFT JOIN page ON rating.page_id = page.page_id LEFT JOIN user ON rating.user_id = user.user_id [20:47:06] thx :) [20:47:43] sometimes I spend to much looking for mediawiki code when in the end it all comes down to sql query anyway [20:51:02] If you're only rendering simple links, then at most you need the username and id, for instance, or the namespace and title. [20:51:33] It's a waste of time to instantiate a heavy User object just to get the username that you already have. [20:52:51] how to disable user registration? [20:52:57] Read the FAQ. [20:52:59] yeah I see that now [20:55:46] DavidHKMrPowers: hehe, no more users [20:56:47] VoiceOfAll can't search this [20:57:22] $wgGroupPermissions['*']['createaccount'] = false; [20:59:48] VoiceOfAll omg, what's that? how do you know which php var mean what? [21:00:55] http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions [21:00:58] 03(NEW) PL.wiktionary NamespacesToBeSearchedDefault - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10645 15enhancement; normal; Wikimedia: General/Unknown; (tsca) [21:02:58] 03(mod) PL.wiktionary NamespacesToBeSearchedDefault - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10645 +comment (10derbeth) [21:06:03] hi! [21:09:37] VoiceOfAll thanks! i found that there are still many things i need to set! guests can modify things. i don't want this. is there any more things i need to modify tomake it secure? [21:10:10] http://www.mediawiki.org/wiki/Preventing_Access [21:14:16] VoiceOfAll thanks! [21:15:34] is there a way to get GD to respect transparency when resizing PNGs? [21:16:20] Can someone explain something to me? Why is the "reference" extension commonly used to just write notes, and not the actual references section on a lot of Wikipedia? [21:18:25] Leefmc: broadly there are two sorts of such reference listings [21:18:40] one is just a list of "here's some resources, which i may or may not have used writing this" [21:19:03] one is specific footnotes/endnotes saying "THIS THING HERE is backed up by THIS resource" [21:19:11] the latter is what does [21:19:18] ok ty :) [21:19:19] so [21:19:22] common practice [21:19:37] is it best to include your actual reference link in the tags aswell? [21:19:58] as apposed to just saying the reference in ==Notes==, and linking to it in ==References==? [21:21:05] What do you all use for a personal wiki? [21:21:42] ? what software? [21:22:00] MW ofcourse :o [21:22:01] z0rz, I use MediaWiki for my site, but what do you expect in #mediawiki? :) [21:22:07] hehe [21:22:29] Leefmc, whichever convention you like. [21:22:34] Both are used on Wikipedia, for instance. [21:22:43] mw is probably not the best (simplest) choice for a personal wiki - but it's what i know best, so i use it :) [21:22:45] dokuwiki is good [21:22:46] Simetrical: One isn't preferred over the other as a standard? [21:22:55] Simetrical: Do you use it as like a journal/planner/notebook/bookmark sorta thing? [21:22:56] Leefmc, well, some people prefer one and some prefer the other. [21:23:08] Leefmc: such standards are per-project. has nothing to do with mediawiki, really [21:23:08] in particular doku wiki's markup is way better [21:23:17] z0rz, not really. It's part of the website I administer. [21:23:20] im surprised theres no standards for that type of thing [21:23:27] i like standards :o [21:23:28] Leefmc, there are. They just conflict, massively. [21:23:34] yea [21:23:42] You can go with the MLA, Chicago Manual of Style, whatever. [21:23:48] That's what I was looking for (a personal one .. not for an org/business) [21:24:49] z0rz, like, to write notes to yourself and stuff? Seems kind of odd. :) But I guess that's what happens until either common file types or filesystems have good versioning. [21:24:59] And histories, etc. [21:25:04] At least I assume that's why you'd use it. [21:25:09] Simetrical: Why's that odd? [21:25:26] Well, it's definitely not the intended purpose of wiki software. It's just filling a gap, I guess. [21:25:38] Personally, I'd go for real revision control software like Subversion if that's what you want. [21:25:44] Since it works with files, not wikitext. [21:25:51] It's a blank sheet of paper on the net. [21:26:28] Simetrical: I've never used Subversion. Is it searchable? Do I have an online editor? Can I store files and links? Can I make it my homepage? [21:26:47] Can I use it from any web browser w/o the installation of software? [21:26:53] No, it's not suitable for a Web interface, if that's what you want. [21:26:57] Then you'd need wiki software. [21:27:05] Alright. [21:27:16] I'm moving to thin client software [21:27:45] Namely Web2.0 software. I have a handful of programs that I tote around on my thumb drive that do everything that I need. [21:28:08] My plan is to be totattly paperless [21:28:49] You must be happy with Google's recent moves, then. :) [21:28:53] And hopefully I can be totally portable [21:29:01] Simetrical: Very much so. [21:29:49] I want to put all my paper documents online. Anything else (movies, music, books, software) will be all archived on a external HDD [21:31:51] So is it possible to only allow person X to view pages Y and Z and then have Person A be able to view pages B and C all the while I have full access to everything .. over a HTTPS connection? [21:37:23] anyone know how to get GD to preserve transparency when resizing a PNG? [21:41:34] is there a way to have the system not show IP addresses of who edited what [21:41:41] or at least not to all users [21:44:39] tekniq: restricting edit privileges to logged-in users would do? [21:46:12] would that show IP addresses to logged in users [21:46:55] ideally, i as the admin would see them and no one else would [21:46:59] only to those with checkuser privileges, if the extension is installed [21:47:05] hmm [21:47:18] its a basic install at this point [21:47:41] nobody could see them, then. [21:47:58] okay cool, so if i make one account that can edit and give everyone the password, which i change if anyone starts doing stupid stuff [21:48:03] i should be okay? [21:48:30] this wiki is for a forum btw, and we already have one hosted elsewhere that's doing ok [21:48:47] technically, I guess so. I'm not sure that's a sensible thing to do, but It's your call. [21:49:11] so far it hasn't been a problem [21:49:13] there might be an easier way, but I'm not familiar with it. [21:49:23] okay [21:49:58] where do i set it to restrict edit privs [21:51:29] stupid stuff = setting a random pass so you can't change it? [21:52:05] ok i see [21:52:17] is there any way to just set a global edit password that only the admin can change [21:52:35] tekniq: for a general description of MW permissions, see http://www.mediawiki.org/wiki/Preventing_Access [21:53:34] more specifically, http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions [21:55:10] hmm [21:55:18] 03(NEW) time stamp not up to date - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10646 15enhancement; normal; Wikimedia: General/Unknown; (orangevolker) [21:55:40] ok bbiab, thanks for the help thus far [21:59:48] Sorry if this is a stupid question, but I'm trying to write a special page that outputs just the text I want, without HTML, headers and everything else that is added by MediaWiki [21:59:51] How could I do that? [22:00:12] Or what am I trying to do shouldn't be done via a special page? [22:01:02] http://wiki.aton-service.com/wiki/Accueil [22:01:26] why is the skins blank? [22:04:31] ok, got it [22:06:43] now the images disappeared... :/ [22:07:26] Ah, nevermind, $wgOut->disable(); worked perfectly, thanks anyway [22:12:22] Krade: action=render or action=raw would probably do what you want. [22:13:03] anyone know off the top of the head where the code for resizing images with GD is? [22:14:28] Duesentrieb: thanks, I'll try that instead [22:19:25] <__shawn> it seems that extensions are parsed before saving article to db, what if I want mine parsed only when rendering? [22:19:35] Hi, do you known if mediawiki has an extension that does workflow control? [22:23:26] __shawn, its not parsed before saving [22:23:30] it is the cache [22:24:09] how can I get current time-zone for loged in user? [22:24:11] using php [22:25:12] $wgUser->getOption... something [22:25:25] ok thx [22:31:42] Should I be able to do a yum install memcached? [22:32:36] Or I can follow http://blog.linwinsysadmin.com/?p=7 [22:33:30] hmm... shows hard to get that time zone [22:34:28] ahh got it now $wgUser->getOption( 'timecorrection' ); [22:37:40] http://findmagiccards.com/Cards/TSN/Magus_of_the_Scroll.html hmmm [22:40:13] Simetrical: cool eh? [22:41:17] That's just the Cursed Scroll magus. [22:41:28] :) [22:41:35] http://findmagiccards.com/Cards/TR/Grim_Lavamancer.html [22:41:42] *VoiceOfAll compares [22:41:56] How do I enable file uploads? [22:42:11] Simetrical: not sure which is better [22:42:16] I create a page called Image:test and click "upload file" [22:42:25] it says it's disabled, and I don't see an option in Special pages to enable it [22:42:31] the "reveal" thing is only good with 1 card in hand [22:42:39] not very cool for blue [22:42:49] *VoiceOfAll likes to splash [22:45:15] redtricycle|2, see the FAQ. [22:45:26] The option is not in special pages, you need to add it to the config file. [22:45:54] If I have 1 time stamp like 2007-08-08 09:48:06 how do I increase it with 2 hours? +2 -1 and so on [22:51:38] Thanks Simetrical [22:53:36] I need help [22:53:50] I cant open my .htaccess file [22:53:55] it says [22:53:59] Forbidden [22:54:03] 404 not found [22:54:13] sorry [22:54:18] it says Forbidden [22:54:39] You don't have permission to access /.htaccess on this server. [22:54:59] is there anyone can help me to access mu .htaccess [22:55:05] I am using apache 2.0 [22:57:50] Is there a liquid threads installation somewhere I can see in action? [22:58:30] emrezer: use the shell/ftp [22:59:32] wats thaat/. [22:59:34] that? [22:59:41] emrezer, how did you upload MediaWiki? [23:00:01] x99, Eloquence announced a site somewhere where he has a demonstration. [23:01:11] http://en.wikipedia.org/wiki/Special:Contributions/Voice_of_All [23:01:21] I dump the files in apache/htdocs/wiki/ [23:01:23] Simetrical: ugh, where did that extra space come from? [23:01:30] ? [23:03:00] emrezer, using what program? Is this on your own computer? [23:03:11] Or did you use a program to access a different computer? [23:03:21] its in my computer [23:03:24] localhost [23:03:38] Then just edit .htaccess with a text editor. [23:03:49] where is it? [23:03:54] I cant find it [23:03:54] emrezer: you can not load an .htaccess file from apache. apache will refuse to serve it, always [23:04:05] it's a config file for apache. not to be read by people. [23:04:23] emrezer, it's in the same folder you installed the wiki in, if it exists. [23:04:27] If it doesn't exist, create it. [23:04:40] emrezer: .htaccess isn't there if you do not create it... it's a place to tell apache about file tapes, permissions, url rewriting... [23:05:08] apache has its own htaccess isnt it? [23:05:48] not... quite. [23:05:55] it has a httpd.conf [23:06:40] but when I write on firefox localhost/.htaccess [23:06:52] it says forbidden [23:07:31] If you cannot follow simple instructions, I for one am not willing to help you. Sorry. [23:07:37] as i told you: apache will not serve it. [23:07:38] never [23:07:52] We said to use a text editor. Why are you still trying to use Firefox? [23:07:56] it wonÄt even look if it exists. anything with .ht at the start is forbidden [23:08:46] sorry [23:08:52] I am really sorry [23:09:24] thats because Duesentrieb says it even wont exist [23:09:39] and I havent seen a file like that in wiki [23:10:08] I said: if it doesn't exist, create it. [23:10:13] and I donno how to create it :( [23:10:14] [070719 19:04:21] If it doesn't exist, create it. [23:10:22] It's a file. [23:10:28] with a text editor... by editing it... [23:10:36] Create it exactly the same way as creating any file. [23:10:37] like... files. and stuff. [23:10:44] Simetrical: :) [23:11:09] In your favorite text editor, create a new document, then save it as .htaccess in the appropriate directory. [23:11:27] Simetrical: " the same way as creating any file" might be "click the WORD icon" ;) [23:12:21] ok I will create it to the directory where the localsettings exist [23:12:42] and I will name it just .htaccess? [23:13:25] Yes. [23:13:42] n8 [23:14:24] I am very very thank you for being patience [23:14:31] I am a newbie [23:14:33] :( [23:19:29] If anyone in here has experience creating mediawiki extentions and has some time for some quick paid sidework please /msg me [23:21:44] where is the public_html folder? [23:22:59] Simetrical: http://en.wikipedia.org/w/index.php?title=Special%3ARecentchanges&namespace=8 [23:23:02] laaaaag [23:23:11] oh noes [23:30:38] <__shawn> anyone have a decent set of phpunit3 tests that they use in extension development? [23:31:25] <__shawn> there's some obvious stuff that's sort of a pain to set up if you want to test something in the context of mediawiki [23:32:00] 03(mod) Last-modified date at bottom of page sometimes one revision outdated ( but page up-to-date) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10646 summary; +comment (10Simetrical+wikibugs) [23:32:30] We have unit tests, but I don't think anyone knows how they work except avar. I dunno what phpunit3 is. [23:32:47] <__shawn> there are 2 sorts of unit tests I've found in phase3 [23:32:54] <__shawn> one if tests/ which is phpunit [23:32:59] The parsertests we actually use. [23:33:04] Those are in maintenance/. [23:33:17] <__shawn> the other one is t/ [23:33:19] The other two, in tests/ and t/, are unused. [23:33:26] So they're kind of pointless ATM. [23:33:44] <__shawn> I hadn't seen the maintenance ones [23:33:48] <__shawn> this is a goldmine [23:35:00] <__shawn> well, the stuff in /tests is more along the lines of what I'd prefer [23:35:04] <__shawn> phpunit tests [23:35:16] <__shawn> rather than an arbitrary test harness [23:36:15] Oh, Tim has actually done stuff with tests/ recently. My bad. [23:36:26] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=22801 yay. [23:36:56] <__shawn> yeah that's what I was going by [23:37:02] <__shawn> I'll use phpunit for my extensions [23:38:51] hmm [23:40:18] t/ is much easier:) [23:41:15] Neither of them is going to be useful unless someone gets Brion to run them every night like he does for parser tests (at least, when that isn't broken, which it is now). [23:42:46] he still sends those to the mailing list? [23:42:52] Theoretically. [23:44:30] <__shawn> parserTests won't run, or do you mean tests fail? [23:44:54] Simetrical: You don't need brion to type 'make test' for you [23:45:26] Lies! [23:45:26] *Simetrical tries it [23:46:32] I had some cool tests going earlier this year and lost my working copy;/ [23:46:36] you could do: [23:46:50] TEST_SERVER=http://test.wikipedia.org/w/index.php make test [23:47:11] and there were tests to check for w3 html/css validity and such [23:47:23] Freaky. [23:47:49] <__shawn> writing extensions the main thing you'd want from mw a clean way to see article text and rendered html before and after applying your hooks [23:47:53] That's really the only way to unit test the mediawiki codebase, most of it is so monolithic and craptastic that you can't just pull out stuff and test it [23:48:05] Failed 4/12 test scripts, 66.67% okay. 10/2922 subtests failed, 99.66% okay. [23:48:19] <__shawn> I get failed 2/834 99.76% okay [23:48:22] what failed? [23:49:03] <__shawn> t/maint/php-lint.........dubious [23:49:03] <__shawn> Test returned status 2 (wstat 512, 0x200) [23:49:03] <__shawn> DIED. FAILED tests 71, 92 [23:49:18] DIED. FAILED tests 8-17 [23:49:20] <__shawn> t/maint/unix-newlines....dubious [23:49:20] <__shawn> Test returned status 2 (wstat 512, 0x200) [23:49:20] <__shawn> DIED. FAILED tests 632, 754 [23:49:41] prove -v t/maint/php-lint.t |grep "^not" [23:49:44] <__shawn> and test 644 in eol-style [23:50:30] t/inc/Language.t 255 65280 17 20 117.65% 8-17 [23:50:50] That's 20/17 failed, 117.65%. Hmm. Maybe we need tests for the tests. :D [23:51:37] <__shawn> no doubt the tests get run when someone checks code and and they're emailed about it [23:51:51] I don't think anyone runs them [23:51:58] No, no one does. [23:52:16] Except the parser tests, Brion runs those at least in theory. [23:52:20] And yells at people who fail them. [23:53:07] $ prove -v t/maint/unix-newlines.t 2>&1 | grep ^not|wc -l [23:53:07] 832 [23:54:26] $ prove -v t/maint/php-lint.t |grep "^not" [23:54:27] $ [23:56:16] Hmm. [23:57:02] Configure mod_rewrite to rewrite /wiki/Articlename to /w/index.php?title=Articlename. Add the following re-write rules to Apache's httpd.conf. If your MediaWiki installation is inside an Apache virtual host, these should be placed inside the stanza. [23:57:08] Hmm: Fatal error: Call to a member function get() on a non-object in /var/www/trunk/phase3/languages/Language.php on line 1589 [23:57:17] how can I do this simetrical [23:57:26] I mean [23:57:42] RewriteEngine On [23:57:42] RewriteCond %{REQUEST_FILENAME} !-f [23:57:42] RewriteCond %{REQUEST_FILENAME} !-d [23:57:42] RewriteRule ^/wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] [23:57:55] how will I write these in httpd.conf?? [23:58:01] emrezer, use a text editor. [23:58:05] oke [23:58:13] That's how you normally write things in text files. [23:58:25] but will I had to write like this [23:58:27] *Simetrical eyes $cache = $wgMemc->get( $memcKey ); [23:59:41] [23:59:41] RewriteEngine On [23:59:41] RewriteCond %{REQUEST_FILENAME} !-f [23:59:41] RewriteCond %{REQUEST_FILENAME} !-d [23:59:41] RewriteRule ^/wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] [23:59:42] [23:59:44] ?