[00:00:00] Man, your school sounds like no fun. [00:00:07] You could get away with tons of stuff in my yeshiva. [00:00:54] I failed a year and a half of English because I didn't like the teacher and so didn't attend class, but the vice principal knew I knew more English than most of the rest of my class combined, so I wrote one five-page paper and he changed the grades to D−. [00:01:13] *Simetrical is expecting "Ping timeout" any minute now . . . oh, wait, this is FreeNode, make that "any hour now" [00:04:51] brion: should i file a bug about those tabs or is it quick fix (i mean at least
, i know  is more difficult)
[00:05:54] 	Danny_B: go ahead and file it
[00:06:02] 	if it's tidy, i'm not sure what we can do about it easily
[00:06:08] 	might be able to fudge the tidy options or sth
[00:06:29] 	http://tidy.sourceforge.net/docs/quickref.html#tab-size
[00:06:33] 	"This option specifies the number of columns that Tidy uses between successive tab stops. It is used to map tabs to spaces when reading the input. Tidy never outputs tabs."
[00:06:36] 	Yay.
[00:06:42] 	. . . why?  Srsly.
[00:06:49] 	XHTML doesn't allow tabs or something?
[00:06:49] 	pita
[00:06:56] 	it does
[00:06:59] 	of course
[00:07:09] 	it's regular xml whitespace char
[00:07:18] 	tabs are formatting in disguise as characters
[00:07:28] 	which is why sane XHTML would avoid them
[00:07:36] 	though the document can certainly contain them, as Danny_B says
[00:07:46] 	brick, that doesn't work if you're trying to, e.g., post diffs that you expect to actually apply correctly.
[00:08:03] 	Simetrical, what kind of XHTML content do you have that contains tabs? 
[00:08:07] 	^^
[00:08:25] 	your five-page paper?
[00:08:37] *Simetrical 	points to two lines above
[00:08:38] 	python sources
[00:08:45] 	Or PHP sources.
[00:08:53] 	We don't have a  tag for fun, you know.
[00:08:57] 	03brion * r42007 10/trunk/phase3/includes/Export.php: 
[00:08:57] 	Back out r41786 for now "(bug 9226) Fetch restrictions properly on export"
[00:08:57] 	Per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41786#c121:
[00:08:57] 	Issues:
[00:08:57] 	 1. Restriction fetches may not be synchronous with original start in a long-running export
[00:08:58] 	 2. Looks like this adds an SQL query to slave for every single page
[00:09:02] 	 3. In case of timed-out DB connections or a dying slave, this might break a long-running dump process
[00:09:06] 	I *have* posted patches to web apps.
[00:09:14] 	php can have spaces. it does not rely on tabs, but python does
[00:09:26] 	Er, that is, I have, using web apps, posted patches (to various software that might include web apps).
[00:09:32] 	(i've been told so)
[00:09:39] 	Danny_B, Python allows spaces just fine.  In fact that's the prevailing convention in Python.
[00:09:48] 	If you mix tabs and spaces, though, you're screwed.  :P
[00:10:03] 	Syntax error, in recent versions.
[00:10:28] 	yup, i would not use XHTML for code. not recommended.
[00:10:39] 	oki. i don't work with py. i've been buzzed by some python guy that  has eaten his tabs and why. and told me tabs must stay there. so that's how i came here
[00:10:43] 	brick, so you're saying that it's illegitimate to post patches to a wiki?
[00:10:48] 	There's something wrong with that?
[00:11:00] 	it's like putting them in the mail. it works, but is potentially a pain in the ass.
[00:11:09] 	brick: what is illegal/invalid on it?
[00:11:17] 	Danny_B, the difference between tabs and spaces in Python is significant, yeah.  You can use either, but not freely mix and match like in PHP.
[00:11:52] 	brick, even if in most cases XHTML is not the best for posting code, in some cases it's the most convenient, and there's sure nothing *wrong* with it.
[00:11:57] 	brick: xml allows tabs so does xhtml as an xml application
[00:12:12] 	That was one of the original uses of HTML, wasn't it?  There's a  tag in the language for a reason.
[00:12:17] 	Danny_B, XHTML is structured precisely to encompass some formatting, on which tabs and   and so on are an end run.
[00:12:23] 	I have no idea why Tidy thinks it needs to eat tabs.
[00:12:37] 	let's put aside the philosophy of tabs for now
[00:12:42] 	as previously stated, tabs *can* be put in XHTML.
[00:12:47] 	fact is, they exist in and are relevant in code
[00:12:53] 	Not Tidy-cleaned XHTML, apparently . . .
[00:12:58] 	so it'd be nice if we have a practical solution for tidy not corrupting program data
[00:13:01] 	Simetrical, nothing wrong, just not awfully well-suited, as i think we agree.
[00:13:07] 	Depends.
[00:13:10] 	seriously guys
[00:13:24] 	take it to #tabs-vs-spaces ;)
[00:13:26] 	i've done some testing and always got spaces
[00:14:07] 	is there any chance we put some marker around and do after-tidy-replace?
[00:14:21] 	eww? guess we could
[00:14:36] 	what happens if you put 	 ? does it turn that to spaces or pass it thorugh?
[00:15:08] 	let me test
[00:15:15] 	brion, passes through.
[00:15:31] 	So we could do that in MediaWiki.
[00:15:38] 	do not do that
[00:15:51] 	Come to think of it, omgzorz, Tidy is significantly increasing the byte size of our rendered pages?  We use tabs all over the place in HTML source.
[00:16:15] 	or actually sorry, you want to put it in another step tha i thoughtr sorry
[00:16:50] 	Could patch Tidy?
[00:16:51] 	heh
[00:16:57] 	if action raw contains tab char AND mediawiki displays tab char, then it's good
[00:17:06] *Simetrical 	scrutinizes http://tidy.cvs.sourceforge.net/viewvc/tidy/tidy/src/
[00:17:10] 	we really should just not indent our damn html, it doesn't usually help much :)
[00:17:21] 	i just want to be sure we won't push people to write 	 in source code
[00:17:23] 	It can help readability.
[00:17:40] 	definitely
[00:17:42] 	Danny_B, no, of course not, at least not optimally (although that's a workaround that will work right now, maybe the only one).
[00:19:59] 	i've enhanced http://test.wikipedia.org/wiki/Tabs - feel free to add your tests
[00:20:48] 	 escapes entities (or rather &)
[00:21:10] 	brion: should i still file it or you're working on it already?
[00:21:16] 	file it
[00:21:22] 	i'm doing unrelated things
[00:21:25] 	oki
[00:21:28] 	but even if i was working on it, you should file it :)
[00:21:34] 	03(mod)  syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835  (10bugs)
[00:25:47] 	03(NEW) Tidy replaces tabs with spaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15959 normal; normal; MediaWiki: Page rendering; (danny.b)
[00:25:52] 	one bug for brion on silver plate ;-)
[00:28:09] 	03(mod) Tidy replaces tabs with spaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15959  (10brion)
[00:32:21] 	03(mod)  syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835  (10mrzmanwiki)
[00:34:48] 	i think showbots=0 is not working globally for Special:Newpages
[00:34:49] 	http://meta.wikimedia.org/w/index.php?title=Special%3ANewPages&namespace=0&username=COIBot
[00:42:47] 	03(mod) Page deletions after move do not update relevant table(s) thus nonexistent pages are shown on other special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15655  summary; +comment (10danny.b)
[00:46:05] 	03(mod)  syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835  (10bugs)
[00:46:11] 	03(mod) Allow  and  in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226  (10danny.b)
[00:48:10] 	03brion * r42008 10/trunk/extensions/CodeReview/CodeRevisionView.php: If the API is off, deferred diff loads won't work, so don't try. :)
[00:48:45] 	03(NEW) Special:NewPages does not respect showbots=0 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15960 15enhancement; normal; MediaWiki: Special pages; (charitwo)
[00:50:54] 	03(mod) Special:NewPages does not respect showbots=0 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15960  15enhancement->normal (10charitwo)
[00:53:41] *Werdna 	back for a few minutes.
[00:53:52] 	14(INVALID) Special:NewPages does not respect showbots=0 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15960  +comment (10mrzmanwiki)
[00:55:50] 	wb Werdna 
[00:56:02] 	heh, for 4 more minutes :P
[00:56:12] 	I've been busy with the bullshit-o-matic.
[00:56:55] 	sweet
[00:57:29] 	not really :P
[00:57:34] *Werdna 	grumbles.
[00:58:29] 	sour?
[00:59:13] 	well, I haven't had a chance to do any development for about 3 weeks, I haven't spoken to most of my friends for a week or two at least, etc, etc.
[00:59:20] 	aww
[00:59:22] 	finals suck :)
[00:59:29] 	yeah...
[00:59:36] 	lol
[00:59:48] 	Sole criterion for uni entry in NSW.
[00:59:58] 	even though I'm going to get in anyway...
[01:02:18] 	03danny_b * r42009 10/trunk/extensions/Collection/Collection.body.php: 
[01:02:18] 	* method attribut values in lowercase
[01:02:18] 	* swapping 
and

nesting to satisfy XHTML [01:09:19] If I want to make a second wiki use the same users table for authentication as another wiki... is that simple? or would i need an extension? [01:09:38] 03danny_b * r42010 10/trunk/extensions/Collection/Collection.body.php: * + missing required alt attribute; currently empty, but it should contain something though because of accessibility [01:11:48] 03(mod) Special:NewPages does not respect showbots=0 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15960 (10charitwo) [01:18:27] Notice: Undefined property: stdClass::$ipb_allow_usertalk in /Library/WebServer/Documents/trunk/includes/Block.php on line 307 [01:18:37] If I want to make a second wiki use the same users table for authentication as another wiki... is that simple? or would i need an extension? [01:19:00] Sean_Colombo: there's a config option [01:19:00] Not really simple. [01:19:08] hmm [01:19:20] brion: what should i google for to find the config option? [01:20:33] http://www.mediawiki.org/wiki/Manual:$wgSharedDB [01:20:50] brion: thanks! :) [01:24:43] booh. [01:25:18] aaaa [01:27:10] O__o [01:27:12] *DarkoNeko runs away [01:27:22] *NicDumZ wonders how many single-letter nicknames are available on Freenode. [01:28:58] booyah [01:29:11] it appears there are quite a few [01:29:53] hmm... why did that "Guest" thing happen automatically? [01:30:48] aww... [01:30:53] w is erroneous :( [01:31:16] Sean_Colombo, I guess NickServ renames you after a while when you use a registered nick [01:31:26] ah [01:31:29] that makes sense [01:31:34] only if the owner enabled nick protection [01:31:53] with /msg NickServ SET ENFORCE ON [01:34:28] I'd like to add commnet section to main namespace like a blog, can I find extension like that? [01:44:42] 03brion * r42011 10/trunk/phase3/ (2 files in 2 dirs): (log message trimmed) [01:44:42] Tweaks to r41902 "(bug 14634) Show range blocks for IPs" [01:44:42] * Remove the "scan range blocks" checkbox -- doing the range check is sane default behavior, and should Just Work. :) [01:44:42] * Paranoia SQL escaping. We may "know" that the strings will never include [01:44:43] something escapable, but then again someone might make a mistake one day. By [01:44:45] ensuring we escape them, we have one less thing to worry about, and one less [01:44:47] thing to double-check every time we look at this code. [01:47:19] 03(FIXED) Free external links should be numbered in a localised manner - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15196 +comment (10brion) [01:52:48] *Werdna returns again. [01:52:55] do_some_study.pl strikes back :( [01:53:11] 01:18 < brion> Notice: Undefined property: stdClass::$ipb_allow_usertalk in /Library/WebServer/Documents/trunk/includes/Block.php on line 307 [01:53:17] brion: that means you haven't done a schema change. [01:53:25] Werdna: yeah it was my laptop [01:53:30] was behind on updates there :) [01:54:04] Why aren't we SELECTing fields individually, so we get an error message instead of an obscure notice if we're behind on updates? [01:54:36] probably someone thought they'd be lazy [01:54:51] it's less effort to throw in a * than to have to update all your code [01:55:00] I've probably been guilty of the same offence, though. [01:55:00] no CS master student should be SVN-ignorant. "should we periodically mail each other a .zip file containing our sources ?" "- errrrrr, sure ?" [01:55:38] 03(mod) Special:Listusers could show how many edits each user has made - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15503 (10brion) [01:56:16] NicDumZ: eeek :) [01:57:40] btw, CodeReview is pretty awesome. [01:57:47] :D [01:57:59] If I had time to play with it, I'd help out. [01:59:05] $wgEdititis <-- <3 Tim. [01:59:13] haha, what's that? [01:59:20] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41921 [01:59:28] yeah, we miss some tag/status history :) [02:00:02] haha, Tim. [02:02:51] brion: regarding http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41983 -- that was my bad on the lack of comment. TortoiseSVN was being strange and didn't work the first time, so when I re-did it, I forgot to add the comment back in [02:03:15] so..... what is it for? :D [02:03:21] lesson #1 : do not rely on tortoise :p [02:03:28] it was fixes for the merged poem extension [02:03:35] "fixes" [02:03:55] lemme grab the logfile, I discussed it with Tim [02:04:34] tx [02:06:09] brion: http://toolserver.org/~amidaniel/chanlogs/mediawiki/20081012.txt -- it's right near the top [02:06:31] 404 [02:06:32] er... stupid script >_> http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20081012.txt [02:06:39] Skizzerz: just paste it in a comment on the revision :) [02:06:46] sure [02:09:59] bah [02:10:24] brion: can you delete my latest comment, forgot to double-return for paragraphing >_> [02:10:37] nope, no delete at present :) [02:10:42] ... [02:11:55] anyway, I pasted the relevant log, it just doesn't have any linebreaks >_< [02:12:03] no worries :) [02:12:32] oh, and the random line breaks in the middle of the message should be literal
tags [02:12:34] sounds reasonable then [02:12:50] go ahead and recommit with a description :) [02:13:00] ok [02:15:26] whee... slow svn up is slow [02:16:40] it's those silly languages [02:16:47] *Werdna deletes all languages oter than english. [02:17:00] *MZMcBride starts putting personal information in revision comments. Let's see how fast a delete feature can be written. ;-) [02:17:01] Oo [02:17:08] delete the english first, it's a lost cause anyway [02:18:18] *brion sues MZMcBride in a court of law in TRENTON, NEW JERSEY [02:18:28] :D [02:18:38] my VPS host wants to sue grawp. [02:18:41] Or did, anyway. [02:18:52] because he was going to have to pay $2400 in overage for a DDoS. [02:18:56] heh [02:19:03] 03skizzerz * r42012 10/trunk/phase3/ (includes/parser/Parser.php maintenance/parserTests.txt): [02:19:03] * re-implement r41983 (forgot to add log message). Changes made: [02:19:03] ** handling fixes: use DoubleReplacer class instead of create_function(), [02:19:03] moving recursiveTagParse above line-break replacements, removed strip items, [02:19:03] updated parser tests to reflect new output when combined with [02:19:09] yay, log message worked [02:19:31] nice feature [02:19:37] *Skizzerz g2g [02:20:08] woot [02:22:02] ( Werdna ) my VPS host wants to sue grawp. <- that ought to calm him down... [02:22:15] nah, it stopped because he didn't have to pay the overage. [02:22:23] I got a bit of unwanted attention because of the abuse filter. [02:22:34] ...the overage ? [02:22:48] charges for extra bandwidth used up by a DDoS. [02:22:51] aah [02:23:02] well, that's too bad :| [02:23:30] abuse filter will be up in a few months maybe. [02:24:10] :D [02:24:12] hopefully sooner [02:24:21] why is my photo on http://en.wikipedia.org/wiki/MediaWiki ? [02:24:23] that's creepy [02:24:25] Werdna a mediawiki extension against him specifically ? :o [02:24:40] heh, depends on whether it passes review. [02:24:54] brion wow, welcome to Khaled Marlan-Bey's word [02:24:58] (yes, mIRC's author :) [02:25:21] It *works*, but usually there're a few things that need to be fixed up. [02:25:22] world* [02:25:37] At least it's tested properly, unlike global blocking. [02:25:40] hmm [02:25:50] anyone got screen shot of wikipedia in 2002? [02:25:58] brion: web.archive.org will. [02:25:59] want to double-check the skin layout for this nostalgia layou change :) [02:26:10] and i think wikipedia supplies its own archives as well [02:26:19] http://web.archive.org/web/20021130190725/http://www.wikipedia.org/ [02:26:24] WP in Nov. 2002 [02:27:01] ok this is a phase 2 shot: http://web.archive.org/web/20020614083413/http://www.wikipedia.com/wiki/Apple [02:27:20] and i think this is early phase 3: http://web.archive.org/web/20020810160049/http://www.wikipedia.com/wiki/Apple [02:27:35] god, remember the old logo? those were the days :D [02:27:49] I just found my website from 2003 [02:27:57] Nostalgia skin : no old nobody remember what it actually looked like XD [02:28:12] jesus christ, what awful colours. [02:28:23] and ads! [02:28:47] Werdna: Do you have time to explain a bit about AbuseFilter to me? [02:28:54] Mike_lifeguard: sure, shoot. [02:29:28] How easy will it be to block link additions? [02:29:35] ie can it replace spamblacklist? [02:29:47] http://nostalgia.wikipedia.org/wiki/Apple <- nostalgia skin :D [02:29:59] Mike_lifeguard: well, you can just enter the regexen in. [02:30:15] ok, i think the drop-down actually comes from early phase3 -- it wasn't in phase 2! [02:30:26] ADDED_LINES rlike '\bsome\.site\.com' [02:30:33] that'd do a regular regex match. [02:30:35] added lines... /me finds [02:31:00] maybe we should just drop the drop-down [02:31:20] though nostalgia is also to kind of resemble usemod, i think [02:31:25] ah anyway [02:31:27] good times :) [02:32:08] Is Nostalgia still supported? I've seen a few recent bugs about it. [02:32:24] No idea why people would be using it (or expecting it to work correctly...). [02:32:24] as supported as any of our other scary old skins ;) [02:32:50] Mike_lifeguard: you can also be more picky, you can say ADDED_LINES rlike 'tinyurl\.com' AND NOT REMOVED_LINES rline 'tinyurl\.com' AND NOT USER_GROUPS contains 'autoconfirmed' -- Only autoconfirmed users are allowed to add links to tinyurl, for example [02:32:57] Werdna: What would EDIT_DIFF be useful for if you have ADDED_LINES? [02:33:07] Mike_lifeguard: size, perhaps. [02:33:20] Mike_lifeguard: or something else. I just tossed it in there. [02:33:37] it doesn't hurt anything to keep it there, as it's used to support added_lines and removed_lines [02:33:40] but what is it? A number? [02:33:47] no, it's a unified diff. [02:34:18] I think.. [02:34:52] ahh, k. but that's not really useful on it's own, is it? Because normalyl you care about what people remove/add, which is handled separately [02:35:17] $vars['EDIT_DIFF'] = $diff = wfDiff( $old_text, $new_text ); [02:35:22] yeah, it is a unified diff. [02:35:39] well, it was a half a line of code to add it, so I figured I may as well. [02:35:46] Somebody might find some scary thing to do with it. [02:36:13] I'm sure they will ^_^ [02:36:30] The aim of the feature is to be extra-flexible. [02:36:42] and that way we can have some good heuristics. [02:36:52] I'm not looking forward to the highly complex discussions that will result from this. :\ [02:37:05] it's got plenty of sanity-checking to make sure nobody goes and bans the letter 'k' or anything. [02:38:00] no I mean things like arguments over whether we should let admins add a certain link, or autoconfirmed or........................ [02:38:07] and so on ad nauseum [02:38:14] Werdna, banning a single letter, that'd be fun [02:38:21] DarkoNeko: doesn't work. [02:38:31] yeah, you said so :) [02:38:32] You can't ban more than 5% of edits in the 24 hours after a filter is last edited. [02:38:43] what's the difference between rlike and regex? [02:38:44] 03brion * r42013 10/trunk/phase3/includes/parser/Parser.php: Cleanup for r41952: > is usually easier to understand than !<= :) [02:38:46] else it turns itself off ? [02:38:49] Mike_lifeguard: nothing. [02:38:52] DarkoNeko: yep. [02:39:26] hmm :) nifty ^^ [02:39:55] So the first 24h, it's limited reasonably strictly. After every match, it checks if it's matched more than 5% of the last few edits - resets every 1000 edits. [02:40:04] morning TimStarling [02:40:24] I hope it doens't make a server hog [02:40:28] +it [02:40:29] morning [02:41:10] DarkoNeko: it's only per-edit, won't be too bad. [02:41:20] hmm [02:41:26] no worse than the spam blacklist. [02:41:42] damn, I'm really curious about it now, but I don't have time to look at the code :( [02:42:16] you can see it in action at testwiki.epstone.net [02:42:36] I'll give you the requisite permissions, more testing is always welcome. [02:42:46] oooo me too [02:42:48] *DarkoNeko whines [02:42:54] no time, have a report to finish ;_; [02:43:08] I'll be able to in a few days, but I absolutly can't now [02:43:31] Mike_lifeguard: don't you already have rights there? [02:43:54] I'm making an account only now [02:44:07] I have been testing on my own wiki [02:45:25] damn, some xrumer. [02:45:29] And I have recaptcha. [02:45:44] thanks [02:45:57] (show/hide) (diff) 01:48, 10 October 2008 . . 71.238.223.31 (Talk | block) (75 bytes) (Introduction21) [02:46:01] that was grawp again :/ [02:46:13] I have him blocked in iptables now. [02:53:45] hmm [02:53:49] bah [02:53:55] humbug! [02:54:08] gue! [03:03:20] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10bdesham) [03:05:54] 03nicdumz * r42014 10/trunk/extensions/CodeReview/CodeRevisionView.php: [03:05:54] * Do not show the submit buttons when user cannot post comments [03:05:54] * Do not show an empty 'Comments' header when there's no comments & user's not allowed to post [03:38:43] 'lo all [03:39:02] is there a way to mock parts of mediawiki for testing? [03:39:21] specifically, the function wfMsg() [03:41:44] it should be called wtfMsg [03:42:00] *grin* [03:42:48] :-) [03:55:04] 03:39 < j4zzcat> is there a way to mock parts of mediawiki for testing? [03:55:10] Tell it it's ugly? [03:56:08] ... [03:56:17] why did I think the exact same thing as werdna :o [03:57:42] Werdna, the -tech critical warning are scaring me :o [03:57:42] *confused here* Just saw an email from TimStarling dated Oct 2 about the 1.12/1.13 bugix/upgrade, but "development branch later than July 28, 2008" is not vulnerable. So, if I upgraded just a few days ago, it should be good? [03:58:03] did you get it from trunk? [03:58:09] no [03:58:19] what did you download? [03:58:29] 1.14 [03:58:36] you're fine, then. [03:58:41] k thx [03:58:45] TimStarling: just checking - is that correct? [03:59:02] yes [03:59:25] the bug was fixed due to a rewrite of that part of the code [03:59:34] it wasn't identified in the release branches until later [03:59:51] *Werdna is about to be killed off by do_some_study.pl [04:01:03] Uh... "nightly" is the same as trunk? [04:21:23] Werdna, try writing it in another langage. Perl is killing you, not the study work :) [04:22:12] (and I just got queried... twice, approximately the same message by your away-er) [04:26:12] Perl++ [04:32:09] 03(mod) SpecialPage hooks are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10719 +comment (10JSchulz_4587) [04:39:07] 03aaron * r42015 10/trunk/phase3/ (docs/hooks.txt includes/SpecialPage.php): *Remove useless garbage hooks. This kind of stuff shouldn't be in the core. [04:39:55] 03(FIXED) SpecialPage hooks are broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10719 +comment (10JSchulz_4587) [04:51:14] 03(WONTFIX) Using UserLoadFromSession hook causes segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 +comment (10JSchulz_4587) [04:52:49] 03(FIXED) After install using the ".php5" extension ( server runs php 4 with ".php" extensions) proceeding to the main wiki page results in an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11933 +comment (10JSchulz_4587) [04:53:02] 04(REOPENED) After install using the ".php5" extension ( server runs php 4 with ".php" extensions) proceeding to the main wiki page results in an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11933 +comment (10JSchulz_4587) [04:53:37] *Werdna waves brion again. [04:53:45] isn't it, like, late where you are? [04:54:20] meh, whatev [04:55:47] 03brion * r42016 10/trunk/extensions/Collection/Collection.body.php: remove funky char from the end of the file introduced in r42009 [04:56:06] Werdna: You have a message on your testwiki (but I'm to bed now) [04:56:15] okie [05:04:31] bah [05:13:37] TimStarling: By Negative Caching (on the Interwiki.php comments you made) do you just mean caching non-existance? [05:24:04] MattJohnston: yes, the old code did it [05:24:51] TimStarling: Great, then I should have all your issues fixed. Just need to test them :) [05:25:07] (I also cleaned up a bit more, removing a lot of duplicate code etc) [05:25:57] good [05:26:00] brb [05:32:06] 03(mod) Logged on as someone else. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6464 +comment (10JSchulz_4587) [05:36:16] oops. my wikibugs folder now reads 6666 unread messages [06:02:45] 03aaron * r42017 10/trunk/phase3/includes/ (Article.php Import.php): Don't use vague boolean [06:06:58] 03aaron * r42018 10/trunk/extensions/CodeReview/CodeRevisionView.php: Revert r42014 per comments by brion [06:07:37] [06:08:31] is there some sort of wiki database hybrid where users can enter data in a wiki fashion, but the resulting tables can be queried via sql? [06:08:41] Semantic MediaWiki. [06:09:12] Werdna: was that directed at me? [06:09:17] yes. [06:09:19] !smw [06:09:19] --mwbot-- SemanticMediaWiki is an extension that lets you conenct wiki pages with semantic relations. See and . Mailing lists are available at . [06:09:28] oh [06:09:32] interesting [06:09:32] thanks [06:10:53] 03siebrand * r42019 10/trunk/phase3/maintenance/language/messages.inc: Follow up on r42011: remove from messages.inc [06:17:55] 03aaron * r42020 10/trunk/ (4 files in 2 dirs): Refactor sendToUDP() some more [06:25:19] 03aaron * r42021 10/trunk/extensions/CodeReview/CodeRevision.php: Leave status alone! [07:22:23] <_wooz> lo [07:41:00] quick Q.. i'm just setting up media wiki for a basic knowlage base [07:41:23] is there anything special i must do other then name and e-mail contact info / admin pw to get this up and runing? [07:41:35] i'm on the first step localhosts/wiki stage of this project [07:42:18] i.e. must i enable super user information etc? or is that just for special features i may only need at a later date ? [07:43:32] aa database user issues.. 8/ [07:43:47] how do i add the wikiuser to my data base? [07:45:04] as said before, if you cannot access your mediawiki folder, this is an apache / OS issue. [07:45:59] !install | ThomasTew [07:45:59] --mwbot-- ThomasTew: Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [07:46:45] you need to access via your browser your config/ dir. this is written on that manual page ^ [07:48:53] 03(mod) site_stats.ss_good_articles and site_stats. ss_total_pages not synchronized with the real count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10834 (10N/A) [07:51:27] eh, AaronSchulz your revert was quite drastic ; you also reverted some "good" features removing that non-critical mistake. wasn't it simpler to "just" adapt the userrights check ? :) [08:04:53] how do i make my wiki server only editable to users i set [08:05:21] !permissions [08:05:21] --mwbot-- For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [08:06:01] thank you i will read up on it [08:17:57] is there anyway to link some of my pages to my home page? that way people don't have to search just to find the few test pages i have set up? [08:26:26] is it possable to place a picture in my wiki home page intro? [08:27:44] On "Main Page"? [08:28:12] On my Wiki Home page.. Other then the icon up in the top Left corner? [08:28:16] ThomasTew:I think you can exclude some pages in the search. [08:28:18] sry my terms are pretty off [08:28:38] !images [08:28:38] --mwbot-- For instructions to use images in MediaWiki, see . For more technical details about image uploads, see and . Note that uploads are disabled per default (see !uploads). [08:28:44] i.e. under my Main Page txt i was hoping .. [08:28:45] 03(NEW) Editnotice popups for subpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=15961 minor; normal; MediaWiki: User interface; (beau) [08:29:40] 03(mod) Suppress the "email this user" link in the toolbox if said user has opted not to/can't receive emails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1306 +need-review +patch (10maxsem.wiki) [08:29:48] so where is that bug monday? [08:30:40] I can't find in the documentation how to change the time-out, i.e how long you can idle until you have to login again? [08:32:35] !wg CookieExpiration [08:32:35] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgCookieExpiration [08:35:25] 03mattj * r42022 10/trunk/phase3/includes/Interwiki.php: Clean up Interwiki.php to meet Tim's suggestions. Hopefully should make cleaner to read as well. [08:36:07] MaxSem:Thanks! [08:43:49] 03(mod) Logged on as someone else. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6464 +comment (10mattj) [08:44:24] i have to add apache as a user for the images folder in order to upload files.. humm can't remmeber the commandline string for that.. [08:53:20] well so if i add this line to my cfg file "$wgGroupPermissions['*']['createaccount'] = false;" then how do i add users.. [08:53:58] as an admin [08:54:01] go to Special:Userlogin [09:09:46] PHP Fatal error: Call to a member function getURL() on a non-object in /var/www/w/includes/Title.php on line 687 [09:12:55] MattJohnston: ping [09:12:59] that's your code. [09:13:37] MediaWiki 1.13.2 seems to completely ignore $wgDebugLogFile for me, could somebody tell me what I can do? [09:13:46] it doesn't write anything to the log file [09:13:57] Whoops, didnt see that error when I tested [09:14:06] And I did edis and everything :) [09:14:39] siebrand: How did you produce that error? [09:15:15] MattJohnston: came out of Betawiki production. [09:15:41] MattJohnston: no idea how it was triggered. Reverting to r42020 resolved it. [09:15:54] As in, what were you doing? Editing, purging, etc [09:16:31] MattJohnston: I do not know. Betawiki logs to channel, and I pasted the channel log message. [09:17:25] Ahh [09:18:04] MattJohnston: as it is production and we update multiple times/day, I usually revert when we get issues. [09:18:17] Found it, minor error on my part [09:18:26] MattJohnston: it makes it a nice testing ground for coders in here :) [09:18:42] Definitaly, second time one of my mistakes has been caught by it :) [09:31:59] 03mattj * r42023 10/trunk/phase3/includes/ (Interwiki.php Title.php): Fix r42022, always returning true for isValidInterwiki as I forgot to add the check. [09:32:07] siebrand: Just committed fix, could you tell me if it fixes it for you as well? [09:32:38] MattJohnston: sure [09:32:53] haha, nice cluster http://helmer.sfe.se/ [09:32:59] MattJohnston: updated betawiki to r42023 [09:33:29] Sasa^Stefanovic: hmm, I read that weeks ago on /. or another site. Doesn't make it less nice, though :) [09:33:53] still having problems here... MediaWiki 1.13.2 dies silently on Special:Userlogin, no PHP errors, nothing in the apache error logs, doesn't create any debug log at all, help! [09:34:04] "Who knew IKEA made there stuff ATX compatible." :) [09:34:54] MattJohnston: had the issue before within a minute. Appears to be running OK now. Thanks. [09:35:17] siebrand: It'll occur upon edit, so it should be fine then :) [09:35:24] lch: check your webserver's error log. [09:35:34] lch: Have you checked the PHP error log? [09:35:43] Sasa^Stefanovic: there stuff? [09:36:03] Werdna, it's quote from link above [09:36:43] there's an extra PHP error log? I have mod_php, I think it all goes into the apache error log [09:54:30] hi, can anyone tell me: is it possible to mark edits as bot edits when posting to index.php ? [09:55:20] Steve89012: not unless you're a bot. [09:56:01] yeah, I mean for a bot, how is it done? [09:56:22] this is for my own wiki btw, not wp [09:56:25] you have to be marked as a bot. [09:58:13] Steve89012: It's done automatically if the account has a botflag. [10:01:04] ah ok, thanks, and I just found out how to do that. I was wondering if there was a bot parameter like in api.php [10:01:12] sorted now, thanks! [10:03:45] MattJohnston: darn, just got one again... PHP Fatal error: Call to a member function getURL() on a non-object in /var/www/w/includes/Title.php on line 687 [10:21:09] Hi! I have problems with the instructions on "Extension:Terminology", should I move the Terminology Page to MediaWiki:Terminology or not? Neighter works. [10:23:22] how can I abort parsing when using the 'ParserBeforeStrip' hook? [10:24:50] return false? [10:25:03] I'd like to give some error message, too [10:26:43] lch:put the logs in use http://rafb.net/paste/ [10:27:20] no, I don't have errors, I'm trying to write an extension [10:27:38] and I wonder how to make the extension fail and abort parsing with an error message [10:35:55] TimStarling, could you comment on my question above? [11:00:47] Is there anyone here using "Extension:Terminology" ? [11:47:04] I found the solution to the Extension:Terminology. did the "Short URL" thing and now it works. [11:54:18] How can I make a wiki article and then that article to appear on every article I have..Smth regarding {} [11:54:35] make a template [11:54:42] Sasa^Stefanovic: how? [11:54:52] and acll it in every article by {{templatename}} [11:54:58] just make Template:Foo [11:55:05] Sasa^Stefanovic: ty [11:55:10] and insert it in article with {{foo}} [11:55:11] np [11:56:32] hi, is it possible to give users rights (e.g. supressredirects) only for some namespaces (e.g. only for discussion-sites)? [11:59:17] check faq [12:01:16] Sasa^Stefanovic i have not found that feature there [12:03:06] http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_administrate.2Fmanage_user_rights.3F [12:03:10] strange, i found it [12:03:14] in dewiki we have a bot deleting ns:1 redirect after moving pages. But IMO it makes no sense that MediaWiki first creates the redirect and then a bot deletes it. [12:03:43] hmm, you're asking about MW or WP ? [12:04:07] maybe #wikimedia-tech is channel you want to join, that one is related to wikipedia [12:04:31] WP, but bevor making a global discussion there i ask i it possible for the mediawiki software [12:08:20] How can I see extensions that are installed? [12:10:10] choptoo, go to Special:Version [12:27:33] hi there [12:27:45] anyone using ConfirmAccount extension? [12:28:02] or maybe the ARSE who wrote it is here? [12:28:49] ingenious thing - when you have an error in your registration form (the one for confirmation) the account is still created. Brilliant. [12:31:03] "sorry you didn't post your bio. Oh, btw. create some other e-mail account since we plucked this one in out db so you're fucked" [12:32:43] pielgrzym:I don't think you will get any help if you call people bad names... [12:33:31] MikaelLindmark: I doubt that too, yet you must agree that the above issue is a major flow that deserves a darwin award in case of computer science ;) [12:33:40] *flaw [12:34:33] <^demon> {{sofixit}} [12:34:48] 03demon * r42024 10/trunk/extensions/ReplaceText/SpecialReplaceText.php: A whole bunch of formatting cleanup. [12:35:03] Hi @ all [12:35:08] pielgrzym:Any code that have the puropse of increasing the security needs extra testing, yes. [12:35:37] ^demon: sure, first I have to remove a huge bunch of useless user accounts from my db. Poor me didn't expect any developer to be that retarded :/ [12:36:20] MikaelLindmark: well, the guy probably didn't understand a concept of form validation at all. You validate the data before letting it in the system, right? :P [12:36:28] *^demon rolls eyes and wonders if Aaron will even bother helping :) [12:36:31] I want to manipulate a tag, that i can but don't need to use the extra feature (like ==TEST== would give me a heading and ==TEST=!test= would give me the extra parameter 'test' on the right side [12:36:45] ^demon: hehe ;) [12:36:48] Can you tell me, where the tags are defined? [13:26:32] Helloo [13:28:57] I am looking for a extension, but can't find it in the extension cat/matrix - don not know if it's not in the public domaine or I just can't find it. Anyhow, if one look at wikipedia in the user-edit window, it's possible to choose special char and symbols [13:29:08] Anyone know this extension ? [13:29:42] http://www.mediawiki.org/wiki/Extension:CharInsert [13:30:41] That's it! Thx, strange that I dident spot it [13:30:46] Anyway, thx [13:31:21] np [13:47:39] Today's bug 44 day, isn't it? [14:01:09] :O [14:03:22] w [14:03:29] oops wrong terminal :) [14:06:10] 03(FIXED) After install using the ".php5" extension ( server runs php 4 with ".php" extensions) proceeding to the main wiki page results in an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11933 +comment (10tysonkbrown) [14:19:39] 03tstarling * r42025 10/trunk/phase3/includes/db/Database.php: Fixed getSlavePos() to use the SQL thread fields, not the IO thread fields. [14:20:11] 03(mod) Logged on as someone else. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6464 (10JSchulz_4587) [14:20:25] 03(NEW) RU | Translation revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=15962 normal; normal; Wikimedia: User survey; (nkomura) [14:21:49] 03yaron * r42026 10/trunk/extensions/SemanticForms/specials/ (SF_AddData.php SF_EditData.php): Added inclusion of datasource-min.js, necessary for YUI 2.6.0 [14:22:21] 03yaron * r42027 10/trunk/extensions/SemanticForms/includes/SF_Settings.php: Updated YUI version to 2.6.0 [14:24:56] 03(mod) TH | UI problems - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15958 (10nkomura) [14:25:32] 03yaron * r42028 10/trunk/extensions/SemanticForms/specials/SF_UploadWindow.php: Added content-type meta tag [14:30:43] 03(NEW) PL | Translation revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=15963 normal; normal; Wikimedia: User survey; (nkomura) [14:32:07] 03yaron * r42029 10/trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php: [14:32:07] Removed newline from beginning of output of #formlink, added URL-decoding [14:32:07] to #forminput [14:32:56] 03yaron * r42030 10/trunk/extensions/SemanticForms/includes/SF_FormUtils.inc: Changed maximum number of characters in email-address domain suffix from 3 to 6 [14:37:19] 03yaron * r42031 10/trunk/extensions/SemanticForms/includes/SF_FormInputs.inc: Added removal of newlines in autocompletion string to avoid Javascript errors [14:38:16] 03yaron * r42032 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: 'free text' is now a 'standard input' type instead of a 'field' type [14:40:47] 03yaron * r42033 10/trunk/extensions/SemanticForms/ (INSTALL includes/SF_GlobalFunctions.php): New version: 1.3.4 [14:42:58] 03(NEW) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 normal; normal; MediaWiki: Page rendering; (biiig-red) [14:43:49] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10biiig-red) [14:44:13] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10biiig-red) [14:45:08] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10biiig-red) [14:45:59] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10biiig-red) [14:48:30] 03aaron * r42034 10/trunk/phase3/includes/EditPage.php: [14:48:30] (bug 1150) Do not skip edit conflict and override just because editing user was [14:48:30] the last to edit. This caused removal of edits if a user edit conflicts, [14:48:30] merges/automerges, then presses back (such as fixing a typo) and saves again. [14:48:30] Check all users since edit time instead. If they are *all* the editing user, [14:48:30] then go ahead and skip. [14:48:43] 03(FIXED) previous edits can disappear if a user edits the same page twice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1150 +comment (10JSchulz_4587) [14:50:30] 03(NEW) AF | Translation revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15965 15enhancement; normal; Wikimedia: User survey; (nkomura) [14:52:10] 03(mod) Editing tools not showing when trying to edit articles - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12326 +comment (10JSchulz_4587) [14:52:48] 03(mod) UNIQ key exposed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14562 (10JSchulz_4587) [14:54:07] 03yaron * r42035 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Form definition created by Special:CreateForm uses 'standard input|free text' instead of 'field|free text' [15:02:14] 03aaron * r42036 10/trunk/phase3/includes/User.php: Comment out accidentally committed code from r42020; didn't mean to commit just yet [15:04:29] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 +comment (10Platonides) [15:10:10] 'lo all [15:10:57] is there a way to run the parser alone, for the sake of unit testing? [15:12:04] i.e., I want to make sure that the parser returns what I think it should, for my tag extenstion input [15:12:47] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10biiig-red) [15:18:51] j4zzcat: see maintenance/parserTests.php [15:19:42] k [15:22:05] too bad there isn't any ParserTestCase to extend [15:23:19] class MyTest extends ParserTestCase { // mocks everythings up... funtion testFoo( $out = parse( ... ) ) ... } [15:23:58] you just add your own test file [15:24:05] with this setup, you don't even need to code anything [15:24:17] $wgParserTestFiles[] = dirname( __FILE__ ) . "tests.txt"; [15:24:21] just write the input and expected output [15:24:27] $wgParserTestFiles[] = dirname( __FILE__ ) . "/tests.txt"; [15:24:33] like in Cite [15:24:41] I know, but still I want to be able to invoke the parser from within my PHPUnit test case [15:37:04] 03(mod) Section edit bug where entire article is overwritten on save - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1181 +comment (10JSchulz_4587) [15:39:38] 03(mod) Broken Words and "uninitialized string offset: 0" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15964 (10Platonides) [15:40:15] 03aaron * r42037 10/trunk/phase3/includes/EditPage.php: Improve hidden field checks for bug 1181 [15:41:19] 03(FIXED) Section edit bug where entire article is overwritten on save - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1181 +comment (10JSchulz_4587) [15:48:57] ok i'm stuck i'm trying to set my home page logo .. i made a png file 135 x 135 pix.. and i added in this line to my cfg file..$wgLogo = "wiki_logo.png"; my current logo is now gone but my new one wont display either? [15:49:31] what am i doing wrong.. i'm useing the default /skins/common/images [15:49:33] ThomasTew: it has to be a URL to your logo [15:50:14] i.e. $wgLogo = "/skins/common/images/wiki_logo.png"; [15:50:24] nod thats what i did [15:52:08] 03(NEW) Provide a way to invoke the Parser from within a PHPUnit test - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15966 15enhancement; normal; MediaWiki: General/Unknown; (sharon.dagan) [15:53:11] well thats what i added.. but its still not working humm [15:54:20] can you access the images directly? [15:54:40] you mean throuhg my ftp etc? [15:55:06] http://xxx/skins/common/images/wiki_logo.png [15:55:11] 03(NEW) In bugzilla, add component 'tests' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15967 15enhancement; normal; MediaWiki: General/Unknown; (sharon.dagan) [15:55:56] 03(FIXED) formlink doesn't fit in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15904 +comment (10yaron57) [15:56:05] yes [15:56:16] it loads just fine [15:56:23] Hello [15:57:18] i'll try just doing a long path in the cfg file.. [15:57:26] Is it possible to import mw 1.10 db into another db with mw 1.13 files ? [15:58:33] 03(FIXED) on the form input: double urlencode problem of title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15924 +comment (10yaron57) [15:59:02] darn that didn't work either .. i don't get it.. i can't type in the full path on my browser and the icon loads up just fine err the logo img that is. But when i add the txt into my config file now my logo slot is blank 8/ [16:01:57] hummm [16:03:52] Laaknor - so yes i can view the file via http://xxx/skins/common/images/wiki_logo.png [16:04:33] then I don't know [16:05:09] hummm [16:05:15] there has to be something dumb i'm doing [16:06:07] humm [16:07:23] anyone? what if i put in $wgLogo = "/var/www/html/xxx/wiki/skins/common/images/wiki_logo.png"; is this the same just "skins/common/images/wiki_logo.png"; [16:08:35] you haven't put the correct URL... [16:09:04] $wgLogo = 'http://xxx/skins/common/images/wiki_logo.png'; would be the correct [16:09:43] the same URL that you go to to look at your logo directly [16:10:04] oo thought the wiki page said just to put "wiki_logo.png" [16:10:15] guess thats were i mixed it up lets test [16:10:52] well that must of been it *) [16:10:54] thanks dude [16:11:06] Allowed Values: relative path or absolute URL [16:11:16] URL, not local path [16:11:17] now to change "Main Page" so i can have it say what i would like.. and then to learn how to limit user access [16:11:47] 1) "edit"-button ;) [16:11:49] 2) http://www.mediawiki.org/wiki/Manual:Preventing_access [16:14:21] ya i put that on er in my conf file and locked my self out so i'm guessing i made too much restriction.. 2nd i was reading a bit about adding approved e-mails to an access list.. thats an interesting thought tho i would much rather just have users created only by me in adv and allow them to edit .. but maybe the e-mail list would be eaiser in the long run [16:14:51] is there any way to edit the word Main Page off my main page? [16:36:34] 03(NEW) Articles in wrong categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15968 major; normal; MediaWiki extensions: Semantic MediaWiki; (simonvezina) [16:44:05] how to upgrade with the minimum downtime? [16:46:21] 03(mod) formlink doesn't fit in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15904 (10mail) [16:58:12] if i add this - $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 ); [16:58:17] so now how do i add people as users? [17:00:56] is there some sort of file i can edit manually to add in a user i wish to have access to my wiki? [17:06:49] ThomasTew: wgWhitelistAccount is deprecated in favor of wgGroupPermissiosn [17:06:55] wgGroupPermissions rather [17:07:25] what do you mean exactly [17:07:38] http://www.mediawiki.org/wiki/Manual:$wgWhitelistAccount [17:08:16] to add people as users, just have them create accounts - or use the Login/Create Account screen to create the accounts [17:08:18] i thought the part i put in allowed my sysuser to add accounts still tho [17:08:36] what version of MW are you running? [17:08:37] but with $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 ); it disabled the creat user account screen.. 8/ [17:08:42] newest [17:08:47] just downloaded and installed yesterday [17:08:55] who do you want to be able to create accounts? [17:08:57] just sysops? [17:09:30] that is, what do you want to change about the default setup? by default anyone can create an account [17:10:11] na i just want to only allow me to create user accounts.. anyone can view and read but i only want a hand full of people to edit 99% of the site.. [17:10:43] was thinking later when i learn more i can make it so others can add to site but not remove.. and in which point i can have a select group of people go through the adds and clean them up or remove them etc.. but at this point [17:10:56] ok, remove the wgWhitelistAccount portion from your LocalSettings and have a look at this: http://www.mediawiki.org/wiki/Manual:$wgGroupPermissions [17:11:07] i want to make a knowlage base for a group of friends / co-workers / employee's so i only want some to have access to the site [17:11:37] what you want is to set $wgGroupPermissios['*']['createaccount'] = false; [17:11:48] ok i was read'n that eairlier.. let me make sure i got it straight [17:11:52] and a bunch of other permissions to false also, such as 'edit', 'createpage' and 'createtalk' [17:12:18] so how do i add users then just create them for my friends / co - workers? [17:12:34] well, you probably want to create a group for that [17:12:44] nm [17:12:48] what you want to do is log in [17:12:57] then go to [[Special:Userlogin]] [17:13:04] and click the "Create account" link [17:13:07] and create the accounts [17:13:18] and then tell your users/friends their usernames/passwords [17:13:22] aaa [17:13:46] thats what i thought i should be able to do but i guess this whitelist i added removed them features because currently i don't see options for that at all [17:14:05] yeah - that whitelist var should appear nowhere in your localsettings [17:14:06] i'm loged in and i only have settings for my user profile skins files date editing watch list search and misc [17:14:53] i'll have to add this in.. just quick retarted Q.. is there a easy way to copy and paste this info in the conf file .. as right now i'm doing it in a sshclient one line at a time with vi... [17:15:23] download it with my work windows machine adn edit with no word wrap etc and then replace old? that work ok on these conf files? [17:15:23] what operating system are you using? [17:15:28] atm i'm on windows [17:15:30] how to upgrade with the minimum downtime? [17:15:41] but i'm ssh into my linux box and editing with vi editer [17:16:17] yannf: upgrade in a seperate directory and then move a symlink? [17:16:34] ThomasTew: get WinSCP: http://winscp.net/eng/index.php [17:16:47] then download the file, edit and reupload as necessary [17:16:47] cirwin, yes, but how to do with the database? [17:16:58] cool much faster that way *) [17:17:23] ThomasTew: or you could just learn vi :) (teh best editor) [17:17:25] yannf: dunno [17:17:42] can i update the DB with another version, while it runs read only with an old version? [17:17:46] jimbojw: learn vim, it's better :p [17:17:56] I doubt it [17:18:02] i'm use'n VI *) i just don't know how to copy and paste into it [17:18:16] how do the devs for WP? [17:18:32] i love vi thus far is it possable to copy and paste into it? [17:18:44] ThomasTew: that will depend on your ssh client [17:18:58] for instance, I believe Putty requires Shift+Insert to paste [17:19:04] ThomasTew: try first ":set paste", then shift+insert [17:19:06] but It's been awhile [17:19:08] aaa 8( atm i'm useing putty because it keeps code colors etc.. or i could try sshclient [17:19:20] putth is the best [17:19:25] putty rather [17:20:06] i enjoy it for sure.. ok so i can copy paste into that then [17:21:12] brion: yo [17:21:17] yo yo yo [17:21:49] *^demon waves [17:22:22] how to upgrade the DB without downtime? [17:22:34] 03(FIXED) MediaWiki:Sidebar regularly falls back to an obsolete version, due to server cache effect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5092 +comment (10Wiki.Melancholie) [17:22:53] AaronSchulz: PING [17:22:58] brion: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42036 [17:23:05] is it ok if I switch to that code? [17:23:08] I think you br0ke UDP RC feeds [17:23:27] 03(NEW) Links that lead to a redirect should be colored slightly differently to alert the user that the link doesn 't lead to the indicated page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15969 15enhancement; normal; MediaWiki: Redirects; (johnmaynardiii) [17:24:06] yannf: very carefully! [17:24:13] AaronSchulz: I think http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42020 broke IRC rc feeds [17:24:17] depends on the database, the updates, and your definition of downtime [17:24:21] brion: btw for bug 6464 [17:25:09] AaronSchulz: ....? [17:25:11] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42020 [17:25:19] AaronSchulz: probably better to remove than comment out, otherwise people will be confused about what it's for :) [17:25:38] ah so if switching to it, uh, what *is* it for? [17:25:42] i use 1.12.0, i want to upgrade to 1.13.2, i have only 1 db [17:26:00] yannf: run update php [17:27:05] brion: can you look at r42020 I think it broke the IRC rc feed options [17:27:45] 03(mod) More information in hookaborted API error needed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14261 (10roan.kattouw) [17:27:57] 03aaron * r42038 10/trunk/phase3/includes/RecentChange.php: Allow no prefix here [17:28:06] brion: https://bugzilla.wikimedia.org/show_bug.cgi?id=6464 [17:28:23] yannf: unless your db is fairly big, update.php should run pretty quick. not many major updates there [17:28:37] 03(mod) Wikimedia setup interfering with API maxage and smaxage parameters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14402 summary; +comment (10roan.kattouw) [17:28:46] DB is 1 GB [17:28:54] sql dump [17:29:38] 03(mod) Extension installation at the API level - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15589 (10roan.kattouw) [17:29:46] What is the PHP variable for the page title? [17:29:49] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10ssanbeg) [17:29:56] AaronSchulz: Its fixed :) [17:29:57] Alexfusco5 and AaronSchulz: can you talk amongst yourselves on that one first? thx :) [17:30:01] <_mary_kate_> SysRq868: $wgTitle->getPrefixedText() [17:30:17] _mary_kate_: Thanks :) [17:30:19] brion: he fixed it thanks [17:30:31] super [17:30:46] brion: I just took a wild guess at what it might be [17:30:53] ;) [17:32:28] hello [17:33:39] meow [17:33:51] 03(WONTFIX) Make 'undo' function available through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15949 +comment (10roan.kattouw) [17:34:34] 03(mod) Provide geolocation search in API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15955 +comment (10roan.kattouw) [17:37:57] 14(WFM) Database error: function CONCAT not found - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15855 (10JSchulz_4587) [17:40:04] *brion hmms [17:40:14] in theory, we shouldn't need the username cookie at all [17:40:20] 03(FIXED) r41248 only updates MySQL tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15772 +comment (10JSchulz_4587) [17:40:31] *brion goes to look at this horrifying code [17:41:28] I was actually looking for a PHP variable with which I could write into the title, like with $text I can write to the page body? [17:42:30] <^demon> SysRq868: What are you trying to do, use a specific hook? [17:42:38] is there a way to show page history only to logged in users without modifying sources or using extensions? [17:43:16] ^demon: I'm trying to move the BrettCrumbs extension's output from beneath the title into a float:right; div to be at the same level as the title. [17:44:35] <^demon> Hmnn [17:44:43] whats the rpm command for me to see my media wiki version? [17:44:55] <^demon> ThomasTew: Rpm command? [17:45:12] <^demon> Go to "Special:Version" on your wiki. [17:45:56] and were is this approved e-mail list stored? [17:46:19] linux rpm command to check version number sry i was in the wrong channel thought i was in the fedora channel [17:46:39] <^demon> I forget which version is in the fedora rpm.. [17:46:43] <^demon> I believe it's outdated. [17:46:58] i downloaded via yum installer [17:47:07] <^demon> brion: A bunch of the paths are missing on CodeReview :( [17:47:18] ^demon: that's because they predate the existence of the path field [17:47:31] <^demon> That would make sense :) [17:47:34] brion: btw, the script should be ok to run now [17:47:35] and the script to re-add them would destroy all the code review status updates that's been done [17:47:38] woo [17:48:02] well on the upside i did yum install mediawiki and it errored because i already had it installed [17:48:24] but it printed this so that worked for the time being i guess mediawiki-1.13.2-40.99.fc8.i386 [17:50:46] <^demon> Ah, they are updated :) [17:51:50] ^demon: So... how would I achieve this? :) [17:54:23] <^demon> SysRq868: No clue [17:54:43] Anyone else? [17:57:00] AaronSchulz: http://www.mediawiki.org/wiki/User:Brion_VIBBER/loadFromSession [17:58:48] 04(REOPENED) Using UserLoadFromSession hook causes segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 +comment (10rlane32) [17:59:47] brion: actually, it would be better to check the cookie user ID rather than the name [18:01:12] 03(mod) Make 'undo' function available through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15949 (10matthew.britton) [18:03:27] AaronSchulz: instead of closing the bug as WONTFIX, why don't we attach a patch that actually fixes the problem? Another hook is fine, but it is still a solution to the bug posted. [18:04:01] i'm mentioning bug 14178 [18:04:41] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 summary; +comment (10JSchulz_4587) [18:06:21] hmmm [18:07:46] Changes that break prominent existing uses of the hook are just broken and should probably be reverted, IMO. [18:08:06] Unless they're really well considered, which this one obviously was not vis-a-vis existing uses of the hook. [18:08:23] auto-authentication and load-from-session stuff has always been nasty [18:08:28] i have a message "No superuser credentials could be found.", however the admin and pwd are properly given [18:08:44] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10rlane32) [18:08:45] it even works for "php updateArticleCount.php --update" [18:08:50] 03(mod) syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835 (10Simetrical+wikibugs) [18:08:58] Updating site statistics table... done. [18:09:09] hmm [18:09:24] did someone break the udp sending? [18:09:29] no why not for "php update.php" ? [18:09:32] brion: i agree. its always been fairly painful to use. i prefer the current way, because more of core is available to use when this hook is called, unlike the old hook [18:09:33] Ryan_Lane: if i understand correctly, you basically want to be able to trigger your auto-authentication checks *only* for the case where the user session isn't already authenticated? [18:09:44] brion: yes [18:10:37] well, the bone-simple way to do this would be to extract the guts of loadFromSession, then wrap it between two hook calls -- UserLoadFromSession before, and another hook after if we didn't get a match [18:10:48] would that do the job? or would it just make things nastier :) [18:10:55] another hook [18:10:58] probably nastier [18:11:29] right now i'm just reimplementing UserLoadFromSession inside of my plugin (also very nasty) [18:11:56] r42020 seems to be the culprit [18:11:58] the hook isn't necessarily a problem [18:12:14] i believe the change was made for CentralAuth [18:12:21] Hey guys, i'm migrating to a new server and I get 404 errors on the main page of the wiki on the new server [18:12:47] i had previously had it as a subdomain of our site [18:12:52] sorry subdirectory [18:12:58] the real problem is that the hook doesn't allow plugins to load sessions from mediawiki core [18:13:03] /wiki [18:13:09] but now i want it on wiki.domain.com [18:13:25] do i need to have it in a subdir like wiki.domain.com/wiki? [18:13:35] the install instructions imply that but it seems crazy [18:13:42] why AdminSettings.php settings work for updateArticleCount.php but not for update.php? [18:14:12] but, that said, we could make another hook that is some time after the user gets loaded from session, and auto authenticate plugins can choose which hook to use... [18:14:18] jeremyclarke, it's not recommended to install MediaWiki in the root level, because then you can't have pages named things like "FAQ" without conflicting with files in the install. [18:14:28] which is pretty similar to brion's fix [18:14:48] jeremyclarke, in theory there may be no problems if a) you don't allow titles to start with lower-case letters (the default), and b) you delete all the files from the install dir that start with an uppercase letter. [18:14:51] but they would be /articles/FAQ wouldn they? [18:15:25] jeremyclarke, not if you have article names like wiki.domain.com/Article_name. [18:15:44] If you rewrite to a subdirectory that doesn't exist, then right, there will be no problems. [18:15:52] this was our old formate: [18:15:53] http://globalvoicesonline.org/wiki/article/Main_Page [18:15:53] AaronSchulz: please unbreak udp broadcast for $wgRC2UDPPrefix = ''; [18:16:19] and I'm using a mod_rewrite to get the old urls from /wiki to point to wiki.globalvoicesonline.org/ [18:16:30] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10JSchulz_4587) [18:16:31] Nikerabbit: just scap [18:17:11] jeremyclarke, then there's no problem, in principle. You probably just have an error in your rewrite rules. [18:17:13] brion: anyway, is checking the cookie ID ok? [18:17:17] AaronSchulz, you mean svn up, surely. [18:17:18] *user id [18:17:34] Simetrical: obviously [18:18:07] AaronSchulz: I can't [18:18:33] AaronSchulz: well, we check ID against name [18:18:40] r42022 - r42023 is not fixed yet afaik [18:18:42] so as long as you check one or the other i guess it'd maybe work? [18:18:55] but a basic problem is if two people end up sharing a session key they're gonna keep overwriting each others stuff [18:19:00] brion: cookie id? [18:19:06] heh [18:19:15] Nikerabbit: what problem remains that's not fixed yet? [18:19:51] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42023 [18:20:01] Simetrical: if you have a second, could you look at this and tell me if you see something stupid? http://www.pastie.org/291403 [18:21:08] Nikerabbit: ok, how many different things are you referring to? :) [18:21:16] jeremyclarke, your rewrite scheme is kind of unconventional . . . however, as far as stupid things go, that actually evaluates to setting $wgScript = '//article' and $wgRedirectScript = '//redirect', doesn't it? [18:21:16] udp issue -- is this fixed? [18:22:27] Simetrical: ugh, I didn't set up the original scheme, it was someone else. Removing the "/" from the main $wgScriptPath hasn't helped my problem [18:22:34] brion: yes I'm incoherent :) [18:23:07] Udp issue is fixed in 42038 [18:23:17] jeremyclarke, I don't think you want to change $wgScriptPath, try changing $wgScript and $wgRedirectScript maybe? That should make all paths involved actually be real paths. But it still might not fix the problem. [18:23:20] *AaronSchulz is about to add a cookie id check [18:24:10] Simetrical: what should i change them to? [18:24:17] Which hook is before rendering the title? [18:24:39] jeremyclarke, remove the initial "$wgScriptPath". But all rewriting is voodoo magic, especially if you deviate from the usual conventions and can't just use a cookbook. [18:24:51] So I can't really help you further because I have little to no idea how this stuff works. [18:25:26] :) thanks [18:25:36] I'm assuming you're sure that the rewrites are set up correctly in your web server, right? All this is going to do nothing useful if the web server doesn't know about the rewrites. [18:25:41] so how do i del users and manage there accounts.. i found the special pages under tool box and i see were to list users ... [18:25:55] but how do i change there groups and or passwords and remove them? [18:26:17] Simetrical: I went through all the relevant vhost files and there was nothing about mw on the old server [18:26:41] ThomasTew, MediaWiki does not support deletion of users. You can change their groups at Special:UserRights, and block them at Special:BlockIP. Resetting passwords is being considered for addition, but currently is not possible from the web interface without an extension. [18:26:42] 03(mod) syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835 +comment (10happy_melon) [18:26:47] ok Nikerabbit, can you narrow down that error a little, like where you see it? [18:27:10] jeremyclarke, well, you missed it then, because rewrites won't work unless the web server is configured to use them. They might have been in an .htaccess file or hidden in some other place. [18:27:14] so i can't do it via the web can i edit some files in my wiki folder to change them? [18:27:21] hmm [18:27:48] there has to be some way to remove users and or set up there pw's i want a restricted site which only a hand full of users can edit.. and even less can start new pages.. [18:28:30] speeking of pages.. how do i add more pages like a table of contents to my main page so they don't have to search for every thing all the time.. [18:28:37] or have to go to discussions etc [18:28:56] ok, i can see some ways to refactor that to be nicer at least... [18:30:44] added this line as well [18:30:52] $wgGroupPermissionssions ['*']['createaccount'] = false; but still able to create accounts .. [18:30:52] ThomasTew, please keep in mind that MediaWiki is meant for sites like Wikipedia. In particular, sites that are openly editable and allow free registration. You're going to find that it has a huge number of unexpected limitations for your uses. You may want a CMS instead. [18:31:09] CMS? [18:31:12] !cms [18:31:12] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For was to restrict access in MediaWiki, see !access. [18:31:39] i'm just wanting a basic knowlage base.. i would like all to be able to maybe read and add to it but not remove .. and i would like only a hand full of people to be able to create new pages that others can add to etc [18:31:56] ThomasTew, and "$wgGroupPermissionssions" is misspelled. Spell it right and it should work. :) [18:32:04] lolol [18:32:05] thanks [18:32:14] Which hook is before rendering the title? [18:32:35] i still think wiki is best. i need my field techs to be able to add to each artical when they find quick fix for OS problems and virus issues they have.. and allow other techs to write to it.. but i want [18:32:40] ThomasTew, remember that while anyone can usually remove things on a wiki, anyone else can re-add them, undoing the changes. Nobody can permanently remove things. [18:32:51] one employee at the end of a week to clean it up etc to make a simple open knowlage base for them to use in the field [18:33:02] humm [18:33:57] ThomasTew: if you are worried about misinformation and/or quality control of your documentation, you could consider using FlaggedRevs [18:35:09] ThomasTew: articles can be flagged different ways (draft, stable, etc), by people in a certain group; anon users will see the stable and not the draft [18:35:10] Flagged Revs? [18:35:28] !e FlaggedRevs [18:35:28] --mwbot-- http://www.mediawiki.org/wiki/Extension:FlaggedRevs [18:36:00] ThomasTew: far better than a fine grained permission system imo [18:36:11] it's an extension that removes the "anybody can edit" subtly enough that people don't notice [18:36:34] got ya! [18:36:36] ok, upgrade via the web worked [18:36:41] i like that idea a lot [18:36:49] i got "you requested the mysql5-binary schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4." [18:37:04] talking of bugs, would anyone wikimedia-y like to fix https://bugzilla.wikimedia.org/show_bug.cgi?id=14882? [18:37:09] how do i upgrade to mysql5? [18:37:14] schema [18:37:15] ok i'll back off i swear *) i have been blow'n up this channel with my noobie ness all morning [18:37:26] so i corrected the spelling lol *) $wgGroupPermissions ['*']['createaccount'] = false; how do i add accounts now? [18:37:38] Which parser hook is before rendering the title? [18:37:41] when you are logged in [18:37:48] you can still go to the CreateAccount page [18:37:51] ThomasTew: I've sent you some config in a privmsg [18:37:53] ThomasTew: admins can create accounts, and send passwords via email (there is a button to do so) [18:38:14] 03ialex * r42039 10/trunk/phase3/includes/db/LoadBalancer.php: Revert r41506 and make LoadBalancer::openForeignConnection() call Database::tablePrefix() on successful new connection [18:39:04] ThomasTew: if your wiki has access to an LDAP or Active Directory domain, it may be better to use something like the LdapAuthentication plugin [18:39:29] 03(mod) API: list=recentchanges doesn' t allow to query patrolmarks even if user has the patrolmarks right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15945 +bugmonday (10roan.kattouw) [18:41:21] How can I affect the way the page title is rendered on the page in an extension? [18:41:22] 03aaron * r42040 10/trunk/phase3/includes/User.php: (bug 6464) Check for session id collisions by checking cookie user ID against session user ID [18:42:37] 03(FIXED) Logged on as someone else. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6464 +comment (10JSchulz_4587) [18:43:11] hmm, Special:Code missing last few commits [18:43:15] brion: http://translatewiki.net/sandwiki/index.php?title=User_talk:Qualia [18:43:31] wee [18:44:06] CodeReview exploded: http://pastey.net/98175 [18:44:08] 03brion * r42041 10/trunk/phase3/includes/ (Interwiki.php Title.php): [18:44:08] Cleanup for r42022/r42023 interwiki stuff [18:44:08] * Remove duplicate code in Interwiki::isValidInterwiki(), which should help avoid future drift between the two copies [18:44:08] * Early return on prefix = '', we know it won't be valid :) [18:44:08] * Dump extra isValidInterwikiCached function -- just go through the regular fetch() path, it doesn't do much more processing. [18:44:13] * Simplify Title codepath in full URL generation to ensure we never call an invalid object [18:44:14] Nikerabbit: see if that helps you [18:44:52] MaxSem: just stopped updating [18:45:14] brion: it does [18:45:31] woohoo [18:46:29] 03(mod) syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835 (10Simetrical+wikibugs) [18:47:23] brion: thanks! [18:47:37] w00 [18:47:38] t [18:48:45] AaronSchulz: + 'rev_timestamp > '.$dbw->timestamp($edittime) ), [18:48:48] needs to be quoted [18:48:56] on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42034 [18:49:58] 03aaron * r42042 10/trunk/phase3/includes/EditPage.php: Add quotes [18:50:38] tx [18:50:54] :) [18:53:12] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10rlane32) [18:53:35] i dunno, this edit conflict case still seems a bit borky to me [18:54:19] If everyone is OK with the patch for 14178, i'll go ahead and commit it [18:54:40] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10JSchulz_4587) [18:55:20] Ryan_Lane: need to add to docs/hooks.txt :) [18:55:29] Ok [19:00:05] i got "you requested the mysql5-binary schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4." [19:00:18] should i upgrade to mysql5 schema? [19:00:21] how? [19:01:07] 03laner * r42043 10/trunk/phase3/ (RELEASE-NOTES docs/hooks.txt includes/User.php): Adding hook UserLoadAfterLoadFromSession to fix bug 14178 [19:01:42] 03(FIXED) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10rlane32) [19:04:06] 03(mod) Some uses of UserLoadFromSession hook cause segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10rlane32) [19:04:27] http://www.gossamer-threads.com/lists/wiki/mediawiki/144278?do=post_view_threaded [19:05:15] AaronSchulz: use $dbw->addQuotes rather than assuming the timestamp value doesn't need escaping [19:05:24] it probably never will, but it's better not to assume such things :) [19:07:44] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42043 <- passes a &$result but this is never used [19:08:40] 03aaron * r42044 10/trunk/phase3/includes/EditPage.php: Use $dbw->addQuotes :) [19:11:15] tx :D [19:14:02] Hey, it is possible to find a extension like the Language icon templates ( http://en.wikipedia.org/wiki/Category:Language_icon_templates ) at wikipedia? [19:14:07] 03aaron * r42045 10/trunk/phase3/includes/User.php: Add debug log item for r42040 [19:14:32] I have tried to look around in the extension matrix, but with no luck [19:15:00] hmm...how come Wikimedia's CodeReview updates itself but my local testing copy doesn't? it sure isn't that nice to run svnImport.php over and over to make new commits show up on Special:Code [19:15:15] ashley: svn post-commit hook? [19:15:58] ah, that's most likely it. thanks :) [19:15:59] 03ialex * r42046 10/trunk/phase3/includes/Interwiki.php: Fatal error: Call to undefined function getInterwikiCacheEntry() in ./includes/Interwiki.php on line 79 [19:16:49] brion: hrm, no one has scapped in ages [19:17:05] yeah, we're trying to get up to date on review :) [19:17:11] Anyone? [19:17:38] 03laner * r42047 10/trunk/extensions/LdapAuthentication/ (LdapAuthentication.php LdapAutoAuthentication.php): [19:17:38] * Now using UserLoadAfterLoadFromSession for auto-authentication [19:17:38] ** Doing this conditionally based on MediaWiki version for backwards compatibility [19:17:38] ** No longer manually loading the user's session, and instead using $user->isLoggedIn() to see if the user is authenticated [19:17:40] imdk: you could write the templates? [19:17:55] shouldn't be hard to do [19:18:03] but it depends on how many you want [19:18:10] if you want all the possible language codes [19:18:13] write a bot [19:18:14] cirwin: so it's not a extenstion ready-to-go in the dipo. [19:18:20] no [19:18:23] manual labour [19:18:28] k [19:18:31] thx [19:18:40] Ryan_Lane: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/42043#c263 [19:19:15] imdk: Maybe http://www.mediawiki.org/wiki/Extension:Babel [19:19:19] doh! thats what i get for blindly copying and pasting :( [19:19:41] jelte: hmm.. [19:20:12] brion: may as well sync codereview and do the script from where it left of [19:20:15] *off [19:21:31] jelte: it's not quite that [19:22:24] 'lo all [19:22:26] 03brion * r42048 10/trunk/phase3/maintenance/parserTests.txt: [19:22:26] Fix poem parser test cases not quite fixed up from r42012 [19:22:26] 2 previously failing test(s) now PASSING! :) [19:22:26] * nested [Fixed between 13-Oct-2008 18:22:08, 1.14alpha (r42038) and now] [19:22:26] * nested with formatting [Fixed between 13-Oct-2008 18:22:08, 1.14alpha (r42038) and now] [19:22:56] imdk: Sorry, I was confused with something else. [19:23:40] 03laner * r42049 10/trunk/phase3/includes/User.php: Removing $result from UserLoadAfterLoadFromSession hook, as it was unused. [19:24:16] brion: can you mark http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41506 as resolved? :) [19:24:19] :) [19:24:28] is that in hooks.txt? [19:24:54] ialex: done :) [19:25:09] brion: thanks :) [19:25:44] ialex: what's the example case for http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41991 ? [19:26:31] 03laner * r42050 10/trunk/phase3/docs/hooks.txt: Fixing documentation line for UserLoadAfterLoadFromSession [19:26:33] AaronSchulz: Is now, looks like I updated it improperly [19:26:45] brion: throwing E_RECOVERABLE_ERROR, because $wgTitle is null and Parser::parse() want a title object [19:27:06] on any error occuring in api.php [19:27:19] well, that probably shouldn't explode [19:27:24] *brion goes to make a sandwich [19:27:31] :) [19:32:14] should i upgrade to mysql5 schema? [19:32:19] http://www.gossamer-threads.com/lists/wiki/mediawiki/144278 [19:36:03] yannf: the updaters don't change your schema [19:36:12] actually we don't currently have any script to do that :P [19:36:36] stick with whatever you set it up as [19:36:46] ok [19:36:49] which the installer will do for you, as i understand, if you use it for your updates [19:37:23] i will wait for a script ;oP [19:38:05] update.php doesn't update schemas? [19:38:39] that seems very strange - that's exactly what I'd expect it to do [19:39:33] Mike||gone, it adds new fields and tables, etc. It doesn't change between the old MySQL schema and the mysql5 schema, or similar. [19:40:08] oh, ok. [19:42:08] Ryan_Lane: you should remove the &$result param for UserLoadAfterLoadFromSession in docs/hooks.txt [19:42:49] quick api question, an edit token is the same as a move token right? [19:43:10] <_mary_kate_> uberfuzzy: at the moment, yes [19:43:20] <_mary_kate_> uberfuzzy: whoever wrote the api thought it possible those might be different tokens in the future [19:43:25] so if i'm getting an edit token with intoken=edit i can use that same token for a move call? [19:43:30] <_mary_kate_> yes [19:43:39] <_mary_kate_> mediawiki only has one kind of token, the edit token. it's used for everything [19:43:46] gotcha, thanks [19:44:16] hey all, I just installed mediawiki but for some reason Help:Editing is empty. Is there something extra I need to install to get all the documentation in my local wiki? [19:45:23] raamdev: there is no default in-wiki documentation [19:45:37] http://www.mediawiki.org/wiki/Help:Copying [19:47:37] ah, thanks brion-lunch & ialex! [19:48:36] 03laner * r42051 10/trunk/phase3/docs/hooks.txt: Removing $result from UserLoadAfterLoadFromSession to match User.php [19:48:44] ialex: thanks. myself and my brain are on vacation today ;) [19:48:59] xD [19:54:16] <_mary_kate_> AaronSchulz: how did you fix 1150 and what was the problem and solution? [19:54:58] _mary_kate_, seemingly related to auto-merging of self-conflicts. [19:55:15] Self-conflicts were being detected even when there were intermediate edits by other people, it looked like to me. [20:00:29] 03ialex * r42052 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings-ext.php): Updated CentralAuth extension [20:06:58] 03dale * r42053 10/trunk/extensions/MetavidWiki/ (3 files in 2 dirs): fixed oldS semantic schema search results references [20:12:53] have people written useful Ubiquity commads for MediaWiki? [20:14:27] 03dale * r42054 10/trunk/extensions/MetavidWiki/includes/MV_Index.php: fixed null value check [20:15:39] i definitely could use|(write?) some for Semantic Forms extension of Semantic Mediawiki [20:17:25] 03(NEW) Activate Collection Extension for generating PDF on de. wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15970 15enhancement; normal; Wikimedia: General/Unknown; (michail.jungierek) [20:20:48] 03(mod) Activate Collection Extension for generating PDF on de. wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15970 +comment (10joergens.mic) [20:21:31] 03(mod) Activate Collection Extension for generating PDF on de. wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15970 +shell (10raimond.spekking) [20:23:06] <^demon> clear [20:23:12] <^demon> Oops, forgot the / [20:32:22] 03demon * r42055 10/trunk/extensions/WhoIsWatching/SpecialWhoIsWatching_body.php: Use addWikiMsg instead of adding wikitext after loading the msg with wfMsg() [20:37:40] in a tag extension, if the normal input should be , but if it's , the parser return array( 'foo' => 'foo'). is this ok? [20:38:01] yeah [20:38:55] so basically, there's no easy way of know if the tag's attributes are valid ? [20:39:15] and it's left up to the user to provide valid input ? [20:40:44] or maybe I should document that attib 'foo' should never be equal to 'foo' ? [20:40:50] j4zzcat, in HTML, which this syntax is based on, is the same as . [20:41:31] what about ? [20:41:49] 03demon * r42056 10/trunk/extensions/MetavidWiki/ (2 files in 2 dirs): (bug 15203) Add plural support for mv_existing_categories [20:41:54] 03(FIXED) Message 'Mv existing categories' needs plural support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15203 +comment (10innocentkiller) [20:46:28] j4zzcat, equivalent to (although note that that mixes HTML-isms with XML-isms). [20:46:55] k, thanks [20:47:24] are the tag attrib case sensitive ? [20:47:43] == ? [20:55:44] 03ialex * r42057 10/trunk/extensions/Configure/Configure.api.php: Per comments on wikitech-l: Fix capitalisation of ApiBase::dieUsage() calls [20:58:31] j4zzcat, I don't know off-hand, try it. [21:00:20] j4zzcat: you may wisht to use or at least support it, rather than [21:00:30] for the very good reason that #tag only returns [21:02:07] Better yet, we should transparently have them work identically, since that's how XML is supposed to work. [21:02:10] 03(NEW) CategoryTreeItem: twice as many TABs for text browser users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15971 trivial; normal; MediaWiki: Categories; (jidanni) [21:03:17] *Simetrical sighs [21:03:22] Simetrical: sure, but that assumes all parser tag extension authors support both [21:03:37] Splarka, if we had done it from the beginning it wouldn't be an issue. [21:03:40] != seems to be the biggest complaint [21:03:45] Splarka, that was fixed, yes? [21:03:55] ^seems to have been, then [21:04:00] but definitely not the only guilty extension [21:04:31] woulda been best to have the sanitizer only allow self closing tags (of any type, extension/xml/tag) from its whitelist,
etc [21:04:43] (although the sanitizer doesn't operate that early... does it... meh) [21:06:00] Splarka, for me, and are the same [21:06:08] j4zzcat: goodgood [21:06:19] you get a dev cookie [21:06:42] *j4zzcat opens the cookie... [21:06:49] boo-yah [21:07:22] *brion is a laundry-shufflin' fool... ain't nobody can beat me at shufflin' nah-nah-nah [21:07:54] socks to be you [21:08:22] :D [21:24:46] 03(NEW) EO | Revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15972 normal; normal; Wikimedia: User survey; (nkomura) [21:58:01] 03(mod) syntax to transclude a page without the containing page inheriting categories , interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=835 (10bugs) [22:02:37] does anyone know of a desktop client for mediawiki that will allow offline work? [22:03:03] there is ways with a database dump... [22:03:12] http://wikitaxi.org/delphi/doku.php/products/wikitaxi/index [22:04:01] how about for linux/unix? [22:04:29] that would possibly work with WINE :P [22:04:58] yeah, seems it does/should [22:05:11] i've never had a good time running wine [22:05:58] http://www.mediawiki.org/wiki/Alternative_parsers [22:06:46] https://launchpad.net/wikipediadumpreader/ [22:08:11] dcolish, ^ [22:08:50] Reedy: checking those out now [22:11:58] omg, i've just realized that recent changes are newly in tables instead of

    . why, oh why? that's totally inaccessible besides page length has raised way so much and worthlessly :-( [22:12:16] what was the reason for such a bad change? [22:16:03] is there a way to include the history of pages into a search? [22:20:20] 03(NEW) JA | revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15973 15enhancement; normal; Wikimedia: User survey; (nkomura) [22:25:23] 03(mod) JA | revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15973 (10nkomura) [22:26:30] I have a brand new install and want to upload an image fo the logo. I cannot grok how. [22:27:19] !logo | chupacabra [22:27:19] --mwbot-- chupacabra: The logo that appears in the top left of each page is determined by the $wgLogo configuration setting in the LocalSettings.php file. To change this you simply need to change the value of $wgLogo to point to the URL of your own logo image. See for more information. [22:28:12] i got that and can do that butt I read that one could upload images too. [22:28:20] 03(mod) JA | revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15973 (10nkomura) [22:29:55] !upload | chupacabra [22:29:55] --mwbot-- chupacabra: File uploads are disabled per default, set $wgEnableUploads=true to enable it. See for configuration details, and for using uploaded images and other files. [22:33:55] 03(NEW) JA | translation revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15974 normal; normal; Wikimedia: User survey; (nkomura) [22:34:50] 03(mod) JA | translation revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15974 (10nkomura) [22:40:06] 03mrzman * r42059 10/trunk/phase3/ (RELEASE-NOTES includes/EditPage.php): * (bug 1250) Let users use "show preview" and "show changes" even if the wiki is set to read-only mode. [22:40:32] 03(FIXED) No "Show Preview" option when database locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1250 +comment (10mrzmanwiki) [22:42:30] I changed uploads from false to true but no upload shows up in the tools menu. [22:43:37] MrZ-man: how about (damn, you're not here), if the page is protected or the user has no permission to edit it? heh [22:46:52] 03(NEW) FR | Translation revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=15975 15enhancement; normal; Wikimedia: User survey; (nkomura) [22:46:56] nm. wrong config file. [22:48:49] Splarka: outside the scope of the bug :P [22:48:55] and dinner time [22:49:37] *Splarka grins [22:50:15] I also want a way to abuse the diff engine, two textarea that let you paste in texts and diff them.. but I can see that easily abused, even DOSingly [22:50:56] :) [22:58:55] *Splarka bites Werdy [22:59:17] ow [22:59:25] Is there a way to make a certain article not appear in a certain category listing? [23:00:21] sure, not put them in that category [23:00:33] 03aaron * r42060 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Fix silly typo [23:02:34] Splarka: No, I mean I have a boilerplate, which I would rather didn't show up in categories. [23:02:54] 03aaron * r42061 10/trunk/extensions/FlaggedRevs/language/RatingHistory.i18n.php: Fix message [23:03:20] [[Category:Foo]] [23:03:26] as I said, don't categorize it ^^ [23:03:36] have it only categorize pages including it [23:04:23] 03(mod) Links that lead to a redirect should be colored slightly differently to alert the user that the link doesn 't lead to the indicated page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15969 -shell ; +comment (10soxred93) [23:04:38] Hmm... I use an extension to get the contents of a boilerplate to open up in a certain namespace's new articles automagically... maybe I could not categorize the boilerplate, and add the category code in the extension? [23:06:36] Yup, works like a dream. [23:06:41] well, you can hide categories from pages, not pages from categories...if a page appears in a category it simply appears on the category list, it would be pretty silly to do otherwise [23:06:44] heh [23:06:52] you can also use parserFunctions to check the namespace [23:07:27] {{#ifeq:"{{NAMESPACE}}"|""=[[Category:Foo]]|}} [23:07:30] for example [23:07:42] Splarka: actually there's a bug about that I think... [23:08:07] MrZ-man: other than unreliable comparing of nullness in #ifeq? [23:08:22] !bug 835 [23:08:22] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=835 [23:08:45] oh, that [23:09:10] <^demon> I wonder when the last time a developer tried 1.6.10 on php4 :-) [23:13:31] MrZ-man: looks like a perpetual LATER bug [23:13:53] "Good idea, someone else can write it" [23:16:25] dontcountme isn't used anymore, right? [23:16:54] Danny_B: no, but it doesn't do anything [23:18:04] <^demon> brion: Mind looking at the patch I posted to the fixme on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41991? Same basic idea, done at the wfMsgExt level. [23:18:48] <^demon> Ew, it didn't post nicely :( [23:19:20] <^demon> http://pastey.net/98196 - much nicer [23:41:26] 03demon * r42062 10/trunk/extensions/CodeReview/ApiCodeUpdate.php: Give some output that Brion wanted :) [23:52:45] 04(REOPENED) Provide per-namespace site notices - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4469 +comment (10Wiki.Melancholie)