[00:09:30] So arethere any guesses on the big featuredof MW 1.11? [00:12:35] A big red hammer that hits every spammer into next tuesday ? [00:12:42] *SimonMoon wishes... [00:13:12] heh [00:13:27] I was thinking more like SUL or better searching or the rewrite of the image backend [00:14:26] My biggest wish is still a navigational image i can do without doing some nasty overlay thing with CSS [00:14:38] The image backend's being worked on ... as is SUL supposedly [00:14:41] *amidaniel glares at brion [00:14:47] ... but in a friendly way :) [00:15:04] Don't feed the coders :) [00:15:23] SimonMoon: Is ImageMap too hacky? [00:15:32] Or in other words: They already ahave enough on their plate... [00:16:01] *amidaniel could use some feeding :) [00:16:49] It seems like bug fixes seem to be what 1.10 and 1.11 are about [00:17:13] 1.10.1 was all bugfixes .. 1.11's getting a lot of nifty newness though [00:17:28] <_mary_kate_> ravedave: the new release cycle is based on quarterly releases rather than new features [00:17:29] I believe brion just pushed the release back another month or so though .. [00:17:35] _mary_kate_ - I know [00:17:51] Thats teh template i use: http://bf2142.com/content/Template:Navimg [00:17:59] Its the whole contiuius release model [00:18:07] erm continuous development [00:18:09] Bletch [00:18:15] !imagemap | SimonMoon [00:18:15] SimonMoon: ImageMap is an extension that allows you to override the default linking behavior of images. See for more information. [00:19:07] And while you're at it, an upgrade wouldn't hurt :) [00:19:11] Nice skin though [00:19:54] is there an advantage to using diff3 vs the built in MW diff? [00:20:08] <_mary_kate_> ravedave: there is no built-in diff3. if you don't have it, you won't get that feature. [00:20:14] <_mary_kate_> ravedave: (automatic edit conflict merging) [00:20:42] yeah I know it did the edit conflict merging [00:20:53] is diff3 used when doing a simple page diff though? [00:20:55] diff3 is nice [00:21:02] I believe so [00:21:04] Faster, I think [00:21:26] ok, my wiki crashes whne more than one diff is done at a time [00:21:35] so I am going to install diff3 to see if that stops it [00:21:49] <_mary_kate_> ravedave: diff3 is not used for the diff function [00:21:52] erm not "crashes" the pages just never return [00:21:53] damn [00:22:02] *amidaniel wonders what server (or for that matter computer) doesn't have diff3 preinstalled [00:22:10] <_mary_kate_> amidaniel: any that isn't linux [00:22:20] _mary_kate_: Ah, good point :) [00:22:29] <_mary_kate_> (MW can only use GNU diff3) [00:22:31] *amidaniel is living in a fantasy world .. where all servers are nix :) [00:22:33] amidaniel: hmm that is very interesting, i think i will give that a try. Maybe it will work for what i use it. Its about all that game stuff and you want to make links on images a lot in it. People expect that when there is a link and they click it of "item X" that it leads to apage describing it, not its image page.. [00:22:40] <_mary_kate_> amidaniel: "linux", not "unix" [00:22:45] amidaniel, most gentoo servers if the admin did not install it. [00:22:56] amidaniel - runnign windows.. hence no diff3 [00:23:09] *amidaniel mentions something about linux being a subset of *nix [00:23:20] jamasi: True .. [00:23:21] <_mary_kate_> most unixes include a diff3, but it's the GNU diff3 [00:23:27] The skin is completely handmade, thanks :) And got lots of bugs thanks to that. Update is what i am working on, but in a way so i dont have ot go and update every wiki on its own (wiki farm) [00:23:39] <_mary_kate_> s/it's the/it's not/ [00:24:01] Ah, okay :) [00:24:06] You had me confused there :) [00:24:39] Just got the wikifarm thing working... now i have to push the data around and solve the sitemap problem :) [00:24:58] SimonMoon: How many wikis you got in the farm? [00:24:58] but thanks a lot for your help, i found a few very very nice things now thanks to your help :) [00:25:12] Yeah, let us know of anything else you need :) [00:25:25] Suprising most of the features people want are .. uhhh .. already written :D [00:25:33] Surprisingly* [00:25:37] Ah, forget it [00:25:43] there were 8, now its down to 5 but more will be coming and i am working on making it so i can execute one shell command and have a new wiki running [00:25:44] *amidaniel stabs his inability to spell/type [00:26:15] SimonMoon: Oh, that's not too bad :) Nice to have a small farm to test your updater scripts at so you don't have to clean up after it when you have 500 :D [00:26:31] Exactly... i had a network about 10 years ago with over 30 pages [00:26:50] so anyone know howI can debug whats going on with my wiki? [00:26:57] each had its own forum, its own COMPLETELY different design... horror is just not the word for it anymore at that stage [00:27:37] ravedave: What exactly happens when it "crashes"? [00:27:44] now i am working on a solution to integrate vbulletin with mediawiki in a good way so i can actually use the cookies that vb sets for autologin into mediawiki :) [00:28:09] Erm .. actually, I gotta run [00:28:18] k thanks again, later :) [00:28:22] *amidaniel passes ravedave to river [00:28:32] SimonMoon: Yeah .. not a problem :) [00:28:34] amidaniel - pages just dont come up... firefox just gives me the spinner forver [00:28:59] and wen I term serv to the machine apatche wont stop or restart [00:29:06] I have to end task httpd [00:30:05] ravedave: just a hunch, an inifite loop, mostliekly in a rewrite part... [00:30:16] disalbe whats in the htaccess if you use one and retry [00:30:22] i am off too though now :) [00:30:52] no htacess [00:30:55] windows... [00:31:15] oh wait yeah there is one in includes... [00:32:16] htacess in includes is "Deny from all" [00:39:04] 03(NEW) Distinguishing inner links in output - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10714 15enhancement; normal; MediaWiki: Page rendering; (blop.blopy) [00:43:21] hah! [00:43:24] it was HTML tidy [00:46:35] $wgOut->addScript seems to be broken.... [00:51:32] so is HTML tidy really needed for media wiki to run correctly? [01:14:01] whoa strange [01:14:15] [[HTML tidy]] shows up as only a link to [[Tidy]] [01:20:15] not in mediawiki, did you screw with it somehow maybe? [01:20:28] your wiki? wikimedia's? [01:40:20] dump is still going... 4,395,000 pages [01:40:25] when does it stop [01:40:34] 234,456,4564,456 pages? [01:40:38] I cant take it anymore [01:47:59] Can someone quickly tell me what you see at http://69.49.167.162/ [01:48:03] ? [01:50:12] Should return a 403 but seems to be giving a blank page -- with no response headers [01:52:32] *sigh* Just realized I've got multiple boxen running off the same ip [01:52:42] *amidaniel stabs [02:01:50] very blank page... [02:02:19] <_Danny_B_> 200 OK and blank page [02:10:31] Yeah, should be a 403 now :) [02:10:52] Had that port forwarded to the wrong machine [02:14:33] <_Danny_B_> yep, 403 Forbidden [02:18:20] woohoo :) [02:21:01] @trust wikimedia/Danny-B. [02:21:01] Added wikimedia/Danny-B. to trusted hostnames list. [02:21:10] Should now be able to boss him around :) [02:21:34] <_Danny_B_> woohoo :) [02:25:01] Sorry .. got distracted there :) [02:25:06] The syntax is just !foo is bar [02:25:16] !mwbot [02:25:16] Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. There's not much documentation on me, but you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [02:25:22] That's all there is on him :) [02:35:51] hello, how do I remove the powered by mediawiki logo on the footer of my webpage [02:38:52] anyone know how to remove the "powered by mediawiki" logo in the footer? [02:50:25] hmmm... nice error: Error creating thumbnail: Unable to create destination directory [02:53:06] i take it that little messages gets thrown when MW cant write the thumbnails? [02:54:32] Jup, that did it... [02:55:19] question, in the LocalSettings, the "MW_INSTALL_PATH" constant, is that used anywhere really in a productive MW or are all scripts using the $IP variable? [03:22:13] I'm trying to figure out how to default the initial mediawiki setup to 'disabled' for the email options in config/index.php, and I can't figure out where its getting the default radio options from. [03:22:14] Anyone know? [03:23:45] setuid, what's the exact string associated with one of those radios [03:23:56] In the source? or in the output? [03:25:32] in the installer [03:25:57] (output) [03:26:07] http://rafb.net/p/96gRNP54.html [03:26:37] "No caching" defaults to selected, I need to force APC to be selected [03:27:29] I'm creating 54 nearly-identical wiki instances (9 languages across 6 of the Wikimedia projects) [03:28:59] i see that. the prob is that there are only 5 options in the code and there are six html attributes output. enhance your search with this grep: grep -R radio ./* [03:31:09] setuid, if you can find the line of code, remove the dynamic bits and force it to be disabled! [03:34:09] Found it buried down in line 583 of config/index.php [03:34:53] for the email anyway... now I need to find the caching one [03:35:18] Its all in that index.php :) [03:35:48] I have just finished an ugly hack to setup the wiki trhough that thing over a commandline call of the php script [03:36:22] Found it all now [03:36:35] $conf->Shm = importRequest( "Shm", "apc" ); [03:36:41] Its splattered all over the file though [03:36:58] tunables should be at the top, not down at lines 583 and 564 [03:38:22] There is one check that is broken though... $conf->useroot [03:39:23] thats the the mysql setup [03:39:36] there's always greasemonkey...or 1 line of javascript at the end of the file [03:39:36] The php loop was wrong [03:39:49] Nah, I'll just edit this and propagate it out [03:40:12] you edit and then copy to 54 different locations ? [03:40:54] No, I edit once, and rsync into the 54 locations ;) [03:41:06] I'm using one copy of the source tree, one database, with lots of tables using table prefixes [03:41:20] 03(NEW) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715 normal; high; MediaWiki: User preferences; (tcrow777) [03:41:21] Only a few files go into each of the wiki directories, the rest are all linked back to the main source tree [03:41:34] May i suggest this?? http://www.mediawiki.org/wiki/Manual:Wiki_family [03:41:49] ah ok :) [03:43:20] I'm not sure how Wiki_family buys me anything... Here's what is in each language's directory: [03:43:21] http://rafb.net/p/pzMhlW22.html [03:43:43] If I could use one LocalSettings.php, and get it to inherit from the URI, that would be great [03:43:58] There's only 3 lines in each LocalSettings.php that differ per-wiki [03:44:31] it does that.. [03:44:38] check the Sceanrio 2 [03:44:41] # egrep '(wgSitename|wgScriptPath|wgDBprefix)' LocalSettings.php [03:44:42] $wgSitename = "mobileQuote [nl]"; [03:44:42] $wgScriptPath = "/mediawiki/wikis/nl/mq"; [03:44:42] $wgDBprefix = "mq_nl_"; [03:46:00] you could set it up so everything is run off one local settings, and depending on the domain that comes on to it, you switch the parts that change. [03:46:26] I don't really see a difference between having 1 file that has 3 unique lines, and having 1 file _containing only_ 3 lines, which is required by another global file containing the rest of the lines. [03:46:37] Right, I'm not using different domains [03:46:41] I have, for example: [03:46:51] http://sixtyfour/mediawiki/wikis/nl/mq/ [03:46:53] http://sixtyfour/mediawiki/wikis/nl/ep/ [03:46:55] http://sixtyfour/mediawiki/wikis/nl/dp/ [03:47:21] For Wikiquote (mobileQuote in my case), Wikipedia (encycloPlucker), and Wiktionary (dictoPlucker) [03:47:23] you can switch on the parth [03:47:35] pardon me, path [03:47:39] I can? [03:47:46] sure, php suplies domain and path [03:47:49] Slice up the REQUEST_URI? [03:47:57] $_SERVER['REQUEST_URI'] [03:48:18] i usually use explode("/",$_SERVER['REQUEST_URI']); [03:48:23] gives you a nice array [03:49:09] 0 is empty, then comes the mediawiki in [1], wikis in [2], nl in [3] and mq in [4] for your first url exmaple [03:49:27] you could very very easy use switch stamamtens on that, would make it nice and clean :) [03:49:47] Hrm, let me give that a go and see what happens [03:49:55] I still need to... hrm, wait, this won't work [03:50:07] i only have 5 active ones, and 2 more coming, but it takes me 5 seconds to create a new one now :) [03:50:10] I need to move LocalSettings.php _out of the way_, in order to do the initial setup [03:50:32] I do the initial setup, it creates config/LocalSettings, which I rm, and then mv my LocalSettings.php back into place [03:50:52] well... [03:50:58] you actually use the same db etc [03:51:10] so your new hacked localsettings with the switches is already made... [03:51:21] and the localsettings the mediawiki creates on install, you can simply delete [03:51:43] I can't go through the initial setup, if LocalSettings.php is seen [03:51:57] rename it while you go trhough all teh setups [03:52:22] and after one is setup, delete the LocalSettings.php it creates and do the next one [03:53:24] I use the linking method and indivudal Localsettings, but in those are only the settings that really need to be there for that one site (path, name and db access, since each has its own db) [03:53:40] each page uses all the same files, but for local settings and the images dir [03:53:56] I wish I could symlink config to ../../../mediawiki/config [03:54:00] But it won't let me [03:56:25] Ok, so now I have: [03:56:26] $wgSitename = "mobileQuote [$vhost_uri[3]]"; [03:56:26] $wgScriptPath = "/mediawiki/wikis/$vhost_uri[3]/$vhost_uri[4]"; [03:56:26] $wgDBprefix = "$vhost_uri[4]_$vhost_uri[3]_"; [03:56:43] I guess I need to find a way to pull the $wgSitename from somewhere [03:56:57] hrm, I can put a ternary in there... [04:00:08] You could supply an array and use that as a switch.. [04:00:23] say $names = array(); [04:00:30] pardon, sec [04:00:44] $names = array("mq" => "mobilequote"); [04:01:05] and then use $names[$vhost_uri[3]] for it [04:01:09] or somethign similar to that [04:03:38] That didn't work so well... let me show you what I did [04:04:14] http://rafb.net/p/9dXD8T31.html [04:05:06] $wgSitename = $project_names[$vhost_uri[4]]." ".[$vhost_uri[3]]; [04:05:25] might be a good idea, i had some strange things happen with double array calls inside a " " pair :) [04:05:36] see if that did the trick [04:05:48] Doesn't like that [04:06:08] $wgScriptPath = "/mediawiki/wikis/".$vhost_uri[3]."/".$vhost_uri[4]; [04:06:16] *amidaniel always avoids array calls in dbl quotes [04:06:21] I have: [04:06:22] $wgScriptPath = "/mediawiki/wikis/$vhost_uri[3]/$vhost_uri[4]"; [04:06:24] And that part works [04:06:27] $wgDBprefix = $vhost_uri[4]."_".$vhost_uri[3]."_"; [04:06:49] try these and you should be fine technically... [04:06:52] Everything works, except using your array example. I had a big nested ternary test for mq/dp/ep/ [04:06:54] I imagine php will have some trouble parsing your db prefix [04:07:06] amidaniel: i avoid any sort of vairable call within any sort of quotes :) [04:07:18] SimonMoon: Meh, the occasional one is alright :) [04:07:23] Saves you some hassle [04:07:33] A whole 4 extra characters!!! *gasp* [04:07:50] hehe jup, think iof the wear and tear on the keys! :) [04:08:18] Yeah, something is definitely wrong here [04:08:51] *setuid puts it in a smaller unit test to see what's going on [04:09:35] A thought -- I find php globals to be quite dangerous. Much better to write yourself a quick conf for each wiki that sets all your vars [04:09:55] use the old echo "
"; var_dump($vhost_uri, $wgScriptPath etc..);
[04:10:06] 	And by dangerous I mean they fail in mysterious ways despite having worked many, many times before :)
[04:11:01] 	nah
[04:11:15] 	suit yourself :)
[04:11:16] 	http://rafb.net/p/SkmaOY76.html
[04:11:18] 	Check that out
[04:11:38] 	If I comment line 11, line 12 prints. But line 11 should be fine... 
[04:12:00] 	$uri = explode('/', $_SERVER['REQUEST_URI']);
[04:12:02] 	my REQUEST_URI is /mediawiki/wikis/nl/mq/
[04:12:02] 	:|
[04:12:25] 	amidaniel, what? 
[04:12:36] 	ew?
[04:12:56] 	And you would suggest what? 
[04:13:05] 	Something not ew
[04:13:06] 	make a vardump of uri in that example
[04:13:18] 	I can imagine that breaking so many various ways
[04:13:30] 	I'd suggest, as i said, you write a quick conf file and put that in each dir
[04:14:00] 	SimonMoon, http://rafb.net/p/hPhA9h82.html
[04:14:08] 	amidaniel, You must have missed the beginning of this 
[04:14:19] *amidaniel 	did
[04:14:22] 	I'm trying to _avoid_ having a separate conf file in each of the 54 dirs
[04:14:48] 	you have print "$project_names[$uri[4]]";  in there, remove the "" in that thing it should print then
[04:15:09] 	May I ask why? You're going to have to do the same amount either way, it's just a matter of where the data winds up
[04:15:49] 	amidaniel, No, I'm either going to have 54 identical files, or 1 file 
[04:15:52] 	The idea is, in /mq you have a localsettings.php that says $myName = "Mary the Queen"; require_once('/globalstuff.php');
[04:16:12] 	identical?
[04:16:24] 	amidaniel, Or... in this case, one file called LocalSettings.php that is symlinked into each of the trees (as the other files are now), that DTRT by monkeying with REQUEST_URI
[04:16:28] 	All the conf files do is set the basic data you need -- the global file does all the work
[04:16:36] 	he uses one db, only different title, table prefix
[04:16:43] 	Rirhgt
[04:16:46] 	Right
[04:16:47] 	And path
[04:16:51] *amidaniel 	shivers
[04:16:54] 	3 lines differ, per-wiki
[04:17:26] 	Well, certainly not how I'd go about it, but they're your servers :)
[04:17:40] 	Found the typo
[04:17:48] 	print $project_names{$uri[4]};    
[04:17:49] 	not
[04:17:55] 	print $project_names[$uri[4]];    
[04:18:01] 	Now it works
[04:18:39] 	03(mod) After Semantic MediaWiki setup fatal error occures on every edit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9857  high->highest (10disfasia)
[04:18:40] 	.... what ?
[04:19:00] 	print $project_names{$uri[4]}; works for you????
[04:19:14] *amidaniel 	blinks
[04:19:20] 	Yes
[04:19:29] 	Pulls 'mobileQuote' out of the array
[04:19:32] 	Which it should
[04:19:33] 	did i miss some update on PHP in the past 12 years that this works now?
[04:19:36] *amidaniel 	tests
[04:20:02] 	I'll post my entire sample test
[04:20:12] *SimonMoon 	opens up his test plattform and tries that out as well
[04:20:21] 	http://rafb.net/p/nuNfd788.html
[04:21:08] *amidaniel 	gasps
[04:21:09] 	http://amidaniel.com/devs/amidaniel/.garbage/bobtest.php
[04:22:37] 	That's what comes from http://amidaniel.com/devs/amidaniel/.garbage/bobtest.php.html
[04:22:41] 	I'm trying to figure out why ...
[04:22:59] 	That's just freaky
[04:24:08] 	print $project_names[$uri[4]];
[04:24:09] 	print $project_names{$uri[4]};
[04:24:13] 	they both work for me
[04:24:25] 	and this is more than freaky...
[04:24:33] 	amidaniel, did you EVER see this work?
[04:24:44] 	No
[04:24:51] 	Seems completely erroneous syntax
[04:25:05] 	neither here, and i started using php when they still called ig php/fi and the ending was phtml...
[04:25:13] 	If this *isn't* a bug the php folks have earned themselves yet another reason to be shot :)
[04:25:14] 	This is so weird
[04:26:03] 	Why can't I do this: 
[04:26:04] 	$vhostSitename      = "$project_names[$vhost_uri[4]] [$vhost_uri[3]]";    
[04:26:04] 	$wgSitename         = $vhostSitename;
[04:26:06] 	Or similar
[04:26:11] 	Note: I don't do PHP, I'm a Perl guy
[04:26:17] <_mary_kate_>	setuid: {$project_names[$vhost_uri[4]]}
[04:26:22] 	the quotes man ...
[04:26:27] <_mary_kate_>	setuid: need {} to use "complex" variables inside a string
[04:26:32] 	setuid: Because php dbl quotes are evil
[04:27:08] 	Nope, doesn't like that either
[04:27:11] 	and there they say they cant teach an old dog new tricks... thanks mary kate, never saw that before in my live :)
[04:27:12] 	setuid: Or you could just .. uhh ... truncate three strings :)
[04:27:17] 	$wgSitename         = {$project_names[$vhost_uri[4]]} {[$vhost_uri[3]]};
[04:27:31] <_mary_kate_>	setuid: [{$vhost_uri[3]}]
[04:27:35] 	$wgSitename         = $project_names[$vhost_uri[4]] ." ".[$vhost_uri[3]];
[04:27:35] 	blarg
[04:27:42] <_mary_kate_>	i guess you didn't mean [] to be part of the variable
[04:27:42] 	try that one setuid
[04:27:43] 	$project_names[$vhost_uri[4]] . ' [' . $vhost_uri[3] . ']';
[04:27:50] 	$wgSitename         = "{$project_names[$vhost_uri[4]]} [$vhost_uri[3]]";  
[04:27:51] 	Would it really kill ya? :)
[04:27:52] 	That works ^ 
[04:28:13] 	Ok, so let's test amidaniel's bug against my other wikis
[04:28:19] 	...
[04:28:23] 	my bug?
[04:28:26] 	and that returns the name?
[04:28:33] 	i see it in the first part...
[04:28:34] 	but...
[04:28:35] *amidaniel 	wonders what horrid bug he created now ...
[04:28:37] 	the second part ?
[04:29:17] 	whats the whole sitename you get as an exmaple now? something like "somename [nl]" or "somename nl" ?
[04:29:27] 	Well, this appears to work now
[04:30:15] 	Good, save it make 10 backups and never EVER touch it again :)
[04:30:54] 	hahaha
[04:31:00] *amidaniel 	utters something about why people should write such grody fragile code :)
[04:31:03] 	From encycloPlucker [nl]
[04:31:10] 	amidaniel, This is not for public consumption
[04:31:18] *amidaniel 	consumes
[04:31:19] 	But THIS is: http://projects.plkr.org/encycloplucker/
[04:31:22] 	_mary_kate_, got any idea why the hell a statement like $array{$subrray[1]} works?
[04:31:31] 	Nonetheless, a lil hygeine would be nice :)
[04:31:59] <_mary_kate_>	SimonMoon: no, never seen that syntax in php
[04:32:13] 	Me neither
[04:32:21] 	It *shouldn't* work, I don't believe
[04:32:22] 	But it does
[04:32:32] 	it does... test it... i nearly slobberd on my keyboard my mouth hung open for so long..
[04:32:49] *amidaniel 	wasn't that shocked :)
[04:32:55] *amidaniel 	has gotten used to php's ... oddities :)
[04:33:05] 	Their "undocumented features" as M$ would say :)
[04:33:54] 	http://rafb.net/p/dVdH8664.html
[04:33:55] *amidaniel 	ends another line with a smiley for good measure :)
[04:34:11] 	So far, so good...
[04:34:28] 	54 wikis, you said?
[04:34:38] 	Yes, 9 languages across 6 projects
[04:34:45] 	All on the same db?
[04:34:47] 	setuid, you relize that the index, and all the other files are not linked, right ?
[04:35:02] 	SimonMoon, Yep, and that's ok, the wikis work perfectly
[04:35:17] 	Should they all be linked? 
[04:35:22] 	yeha but when yuo udate you have to update those again
[04:35:28] 	I followed a howto a few years ago, and stuck with this model (since at least 2005) 
[04:35:37] 	if i was you, i would link EVEEYTHING but config dir, and images dir
[04:35:39] 	Ah true, and I just did an svn update on the main trunk
[04:35:54] 	and then link the index.php inside the config dir
[04:36:03] 	You're going to support 1.11a on 54 wikis on the same db?!
[04:36:15] 	amidaniel, Yep ;) 
[04:36:18] 	WHy? 
[04:36:21] 	It works fine so far
[04:36:28] 	hmm one wiki has 34 tables
[04:36:37] 	I only have 714 tables in the db at this point
[04:36:39] 	say hello to 1836 tables
[04:36:47] 	setuid: Ohh .. this is going to explode on you ... so fast
[04:36:57] 	amidaniel, What *NOW*?! :) 
[04:37:13] 	I would *really* *really* suggest you use separate dbs and stick to the releases
[04:37:36] 	Well that would just require a ground-up rewrite on my part... 
[04:37:37] 	1.11a's going to get you into trouble if you're not actively involved in the development and know what's going on
[04:37:42] 	You like to make my nights last all night long
[04:37:53] 	amidaniel, herro... I _am_ doing development
[04:38:17] 	yeah id suggest using the 1.10.1 as well, svn is nice and dandy, but if you dont literally camp out in here or on the cvs viewer, you get some weird things happening there
[04:38:28] 	setuid: hm? What's your svn nick?
[04:39:04] 	amidaniel, I haven't gotten one yet, however... brion offered to give me one a day or two ago, to track the tweaks I'm making to some of the code
[04:39:23] 	Mostly on the backend stuff... managed to get the 537 minute enwiki import down to 33 minutes with my tweaks ;) 
[04:39:26] 	Oh, alright .. then you're better off than I thought :)
[04:39:43] 	I'm focusing on optimizations on the db/import/export/etc. side
[04:39:47] 	Still, you really should consider sticking to the releases
[04:39:56] 	Hence why I'm stressing the fsck out of the db
[04:40:06] 	I already botched up one of my really, really small wikis working with 1.11a
[04:40:09] 	Ok, I'll track the releases and svn in separate trees
[04:40:11] 	Took me a couple hours to fix
[04:40:20] 	Alright, that would be great :D
[04:40:22] 	Is the schema that much different between them? 
[04:40:44] 	Hmm .... not too many changes. Depends on your extensions of course
[04:40:59] 	The core had some changes though -- the biggest being filerepo
[04:41:30] 	ipblocks, image, page, archive all have had changes since 1.10.1
[04:41:31] 	grrr, I wish BSD's xargs would support -i like GNU xargs does
[04:41:50] 	And I'm sure more .. I just can't think :)
[04:43:49] 	so off to bed.. just found a small thing that again doesnt work in my little setup.. see you tomorrow (i will pester you with questions again :)
[04:43:51] 	night
[04:46:24] 	I forgot to set my license properly during install. I selected CC but I didn't know you had to select the terms of the CC during the installation.. is there any way I can add the license after the installation?
[04:49:27] 	arun: You can edit your LocalSettings.php to change it
[04:49:37] 	I forget the name of the global, but you should see it fairly quickly
[04:50:42] 	i uncommented $wgEnableCreativeCommonsRdf = true;
[04:50:51] 	but what do i put in the other variables
[04:51:02] 	rightspage, rightsurl, etc
[04:52:57] 	rightspage is going to be whereever you explain your copyright; i.e., Project:Copyright. And righsurl is a link to ... not sure for cc actually
[04:53:06] 	I'm usually either GFDL or PD
[04:54:04] 	for rightsicon, should i put just the url of the image
[04:55:00] 	indeed
[04:55:35] 	excellent
[04:55:36] 	thanks
[04:55:58] 	and if i want to edit the css, which file should i change
[04:56:54] 	Generally MediaWiki:Common.css, but if it's custom to your skin then MediaWiki:Monobook.css or MediaWiki:YourSkinHere.css
[04:58:09] 	alright thanks
[04:58:10] 	also
[04:58:14] 	:)
[04:58:21] 	np :)
[04:58:29] 	instead of entering values for rightspage, url, etc
[04:58:39] 	can i just enter my entire CC code in $wgRightsCode
[04:59:18] 	it says ##not used
[04:59:19] 	next to it
[05:00:30] 	Yeah, I believe that's deprecated now
[05:00:41] 	Take a peek at http://www.mediawiki.org/wiki/Manual:%24wgRightsPage for what you can and can't change :)
[05:01:38] 	alright
[05:01:40] 	thanks
[05:01:42] 	one last thing
[05:01:57] 	it adds the text 'content is available under' before my license name
[05:02:02] 	how do i change that?
[05:02:05] 	where is it located
[05:02:10] 	Peruse Special:Allmessages
[05:02:16] 	I'm not sure exactly where
[05:02:28] 	MediaWiki:Copyright or something
[05:03:05] 	oh cool
[05:03:06] 	got it
[05:03:07] 	thanks
[05:03:11] 	for all the help
[05:03:30] 	Yeah, not a problem
[05:08:48] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  high->normal (10robchur)
[05:10:18] 	Why does the wiki work when LocalSettings.php is a "file", but not when its a symlink to the same file? 
[05:12:09] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  +comment (10cannon.danielc)
[05:12:29] 	setuid: Are you using relative paths in your LocalSettings?
[05:14:12] 	I'm using whatever the default LocalSettings was created with 
[05:15:22] 	Well, what does it do when it fails?
[05:15:34] 	I'm not sure why simply symlinking to it would break anything
[05:15:37] 	Looks like I need to set MW_INSTALL_PATH somewhere
[05:15:46] 	$IP is relative
[05:15:49] 	apparently
[05:16:15] 	Hmmm .. true. Why are you symlinking these?
[05:16:22] 	Why not just do a require_once?
[05:16:25] 	Because I have 54 directories of them
[05:16:30] 	require_once is why its failing
[05:16:40] 	[Fri Jul 27 01:07:19 2007] [error] [client 10.0.1.8] PHP Fatal error:  require_once() [function.require]: Failed opening required '/usr/local/www/apache22/data/mediawiki/wikis/includes/SiteConfiguration.php' (include_path='/usr/local/www/apache22/data/mediawiki/wikis:/usr/local/www/apache22/data/mediawiki/wikis/includes:/usr/local/www/apache22/data/mediawiki/wikis/languages:.:/usr/local/share/pear') in /usr/local
[05:16:40] 	/www/apache22/data/mediawiki/includes/DefaultSettings.php on line 30
[05:17:22] 	Yep, it fails if its a symlink
[05:17:24] 	shit
[05:17:33] 	Well, this is how it's done on WM: http://noc.wikimedia.org/conf/LocalSettings.php.html
[05:17:38] 	Pretty straight and to the point
[05:17:48] 	And common is just http://noc.wikimedia.org/conf/CommonSettings.php.html
[05:18:37] 	Right, I can't do it that way 
[05:19:06] 	Ok, fixed it 
[05:19:14] 	Had to go up one dir, rename the file, and symlink back 
[05:19:41] 	Alright :)
[05:20:26] 	how do i edit the powered by message in the footer
[05:21:43] 	shweet, and now I can change $wgLanguageCode based on the URI 
[05:21:57] 	arun: Replace /skins-1.5/common/images/poweredby_mediawiki_88x31.png ?
[05:22:30] 	Or if you just wanna make it go bye-bye, f-poweredbyico { display: none; } should do it
[05:23:04] 	alright
[05:23:06] 	thanks
[05:23:11] 	np
[05:23:11] 	i wanted to change the image
[05:23:12] 	Noting of course, that that will only work for browsers that support css
[05:23:38] 	Who in the hell is still using a browser that doesn't support css?
[05:23:46] 	how do i view a list of all the MediaWiki: prefixed pages
[05:23:58] 	Well, I guess PDA's .. but still
[05:24:07] 	arun: Special:Allmessages
[05:24:32] 	Special:Allmessages has the mediawiki ones as well?
[05:24:46] 	.. yes
[05:25:19] 	ok thanks :)
[05:25:22] 	sorry i'm very new to this
[05:25:33] 	also, if i want to hide a page, say for example common.css, is it possible?
[05:25:58] 	hide as in, only admins can view and edit it
[05:28:19] 	Only admins can edit it .. the hiding is fairly tricky on mediawiki pages ... especially css pages, though
[05:37:01] 	hmm
[05:40:20] 	the html code is well written.. classes for nearly everything
[05:43:51] 	nearly? 
[05:44:52] 	haha
[05:49:30] 	dump is still going... 4,603,000 pages (20.159/sec)
[05:49:33] 	when does it stop
[05:49:37] 	Never
[05:49:50] 	That's horribly slow, btw. 
[05:49:53] 	someone must know
[05:49:58] 	I get anywhere from 1,000/sec. to 1.3M/sec. 
[05:50:08] 	well ive been doing a lot of other stuff on my pc
[05:50:17] 	Whaat are you dumping? 
[05:50:20] 	but it appears once it goes down it never goes back up
[05:50:33] 	the english wikipedia
[05:50:51] 	bump up all buffers, turn of syncing :)
[05:50:53] 	From which server? 
[05:50:53] 	off
[05:51:03] 	You're dumping it? Or importing it? 
[05:51:06] 	domas how
[05:51:15] 	well importing it to my mysql db
[05:51:24] 	Right... 11G .sql file, right? 
[05:51:32] 	I'm actually doing that right now, as we speak
[05:51:33] 	around there
[05:51:42] 	mysql doesn't scare me :)
[05:51:49] 	Nor I 
[05:52:03] 	-rw-r--r--   1 root    desrod  11388091509 Jul 27 00:11 ep_en.sql
[05:52:13] 	how do i make certain pages "protected"? as in, people can view them but not edit
[05:52:20] 	Takes 33-40 minutes to import the 5.3M rows
[05:52:39] 	Hey domas, while you're here, could you be so kind as to at least but a link to noc.wikimedia.org/conf on noc.wikimedia.org/index.html ? :)
[05:52:52] 	no, I'm packing/leaving
[05:52:57] 	I keep forgetting the /conf part and the entry page is not too helpful
[05:53:03] 	honestly
[05:53:04] 	Ohh :( Alright
[05:53:11] 	i dont know what the unpacked size is
[05:53:22] 	dmb062082, You're not using mwdumper, are you? :) 
[05:53:33] 	 enwiki-latest-pages-articles.xml.bz2 is 2.5 gigs
[05:53:34] 	yes
[05:53:40] 	That's why it takes so long
[05:53:44] 	it works better even thoough slower
[05:53:48] 	wmimport = shit
[05:53:57] 	mwimport = shit
[05:54:03] 	mwdumper enwiki-latest-pages-articles.xml.bz2 > out.sql 
[05:54:09] 	Then import with mysql 
[05:54:20] 	pipes and decompression on the fly is expensive
[05:54:21] 	much faster?
[05:55:39] 	SHOW CREATE TABLE page;
[05:55:45] 	What Engine is it? 
[05:55:59] 	I am sorry?
[05:56:13] 	I am a newb
[05:56:50] 	mysql -A your-databasename
[05:56:51] 	is that a mysl command?
[05:56:54] 	then type the above command
[05:57:07] 	ok some more questions for you amidaniel (sorry :) -- 1. how do i protect certain pages? 2. how do i make it so that for all pages, you have to be a registered user to edit them and 3. how do i change the links in the 'navigation' area on the sidebar? as in have a different site navigation and wiki navigation
[05:58:09] 	Time for me to get some sleep...
[05:58:12] 	Later all
[05:58:27] 	ok
[05:58:29] 	nm then
[06:02:04] 	amidaniel?
[06:02:43] 	meow
[06:05:36] 	good morning
[06:05:46] 	morgen Perthro
[06:05:47] 	morning
[06:05:53] 	hi daniel na wie sind die prŸfungen gelaufen?
[06:06:18] 	meh .. nicht schlecht :) Weiss aber noch nicht was ich bekommen hab
[06:06:25] 	amidaniel: if you go to http://www.getautomatix.com/wiki/index.php?title=Main_Page they have a separate site navigation and wiki navigation.. how does one do that?
[06:06:55] 	arun: Edit MediaWiki:Sidebar
[06:07:07] 	wann bekommste die ergebnisse?
[06:08:24] 	weiss ich nicht .. hoffentlich naechste woche irgendwann mal
[06:08:45] 	amidaniel: but that only edits the links that are already there.. how do i add another navigation block for site nav
[06:08:48] 	bin ein bisschen nervoes, aber ich nehm an dass ich mindestens ein B bekommen hab
[06:08:51] 	Mal sehen :)
[06:09:13] 	amidaniel: can i add absolute links in there?
[06:09:24] 	arun: Add a line with one asterisk -- that will become a new parent panel. Its children then have 2 asterisks
[06:09:32] 	arun: Yes.
[06:09:40] 	oh nice thanks a lot
[06:09:48] 	i'm really troubling you arent i :)
[06:10:07] 	See http://www.abqwatch.org/wiki/MediaWiki:Sidebar for a fairly complex one
[06:10:09] 	b ist ne 2 nach deutschen noten,oder?
[06:10:14] 	arun: Haha, no, not at all :)
[06:10:30] 	Perthro: Jo .. irgendwo zwischen 3 und 2 :)
[06:10:38] 	Wir haben 4 noten -- ihr habt 5
[06:10:46] 	wir 5, ihr 6*
[06:10:49] 	^^ lass mich es wissen  ^^ worum gings da?
[06:11:38] 	mathe fuer informatiker
[06:11:55] 	war nich schwer aber auch nicht einfach :)
[06:12:31] 	urgs mathe XD 
[06:13:12] 	genau das gleiche gefühl hab ich :D
[06:14:28] 	amidaniel: i tried site|http://url.com but it only adds the url, not 'site' linking to the url
[06:14:32] 	what am i doing wrong
[06:14:40] 	arun: other way round
[06:15:00] 	ah
[06:15:31] 	works now :) thanks
[06:15:35] 	np
[06:16:09] 	what about internal links
[06:16:19] 	They work too
[06:16:45] 	Perthro: Und wie gehts mit deinem internshipdings? Hast du noch arbeit? :)
[06:19:23] 	amidaniel: i mean what do i put in place of the url
[06:20:06] 	arun: Page title. I.e., Project:Foo bar|Foo bar
[06:21:33] 	thanks a lot
[06:21:39] 	np
[06:21:53] 	ich hab das jetzt fertig
[06:21:58] 	domainname wird beantragt
[06:22:05] 	und dann ins global net^^
[06:22:20] 	aso :) cool
[06:22:49] 	und wehe cheffe nimmt mich aus dem impressum raus ^^
[06:22:59] 	da will ich schon erwŠhnt werden
[06:23:07] 	XD
[06:25:23] 	was fuer ein firma ist das eigentlich?
[06:28:33] 	tochterfirma von apple
[06:28:42] 	"gravis"
[06:29:31] 	aso! Hab mir gedacht dat wär irgend ein kleines mom and pop firma :D
[06:30:41] 	nee nee das wird scho etwas groe§er ^^
[06:30:59] 	fŸr ne 0815 firma wŸrd ich nich so nen aufriss machen :)
[06:31:02] 	schon klar :)
[06:31:34] 	haste nu alle prŸfungen hinter dir? biste aufm college?
[06:31:47] 	amidaniel: could i trouble you a little more?
[06:35:01] *Perthro 	is away (smoke)
[06:44:16] *Perthro 	is away ( soldering boards )
[06:47:01] 	how do i insert html into posts.. like divs, etc
[06:49:29] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  (10tcrow777)
[06:52:01] 	hi guys, i have 2 problems, the first one is - how do i remove the link to the discussion page from the (strangely named) "cactions"?
[06:56:55] 	...
[06:57:22] 	how do i remove the link to the discussion page for the currently viewed page from the list of links at the top (ie articles, diiscussion, history etc)
[06:57:33] 	how do i increase/change the size of my logo
[07:02:43] 	how do i give classes to links? what's the wiki syntax for that
[07:04:06] 	wtf? http://test.wikipedia.org/wiki/Special:Version says that ExpandTemplates is by Tim Starling, yet http://www.mediawiki.org/wiki/Extension:ExpandTemplates claims it's written by mw:User:Patrick...
[07:06:28] 	Any ideas how to hide the edit links on User:pages? I'm trying to edit common.css and it's just not working for some reason
[07:08:29] 	03(ASSIGNED) Update for Lao language (lo) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10713  +comment (10raimond.spekking)
[07:17:06] 	hello
[07:18:24] 	i need a simple extention making it possible to embed pictures on my wiki from elsewhere ... ie. hotlinking to images
[07:18:55] 	i cant seem to find it. i know it exsists
[07:20:18] 	ablabla: which version of mw do you have?
[07:20:52] 	i'm afraid i have an old'ish version
[07:20:58] 	1.6.10?
[07:21:15] 	1.10.1
[07:21:16] 	omg
[07:21:36] 	why didn't the official mediawiki give me a more recent version...!!=??
[07:21:44] 	bollocks
[07:21:49] 	umm isnt that the latest one
[07:21:58] 	"latest stable: 1.10.1 for php5"
[07:21:58] 	lol
[07:22:05] 	:p
[07:22:06] 	oops
[07:22:07] 	anyway
[07:22:11] 	i'manidiot
[07:22:20] 	allowing external images is easy
[07:22:23] 	why not just use something like addhtml and use 
[07:22:24] 	or something
[07:22:31] 	add the following to your localsettings to allow hotlinking:
[07:22:34] 	$wgAllowExternalImages = true;
[07:22:39] 	yeah!! i did it before.... on another wiki
[07:22:43] 	... ooh
[07:23:01] 	thank yu.... that explains why i cant find that extention again
[07:23:12] 	in the localsettings.php, yeah?
[07:23:21] 	yep
[07:24:52] 	yay
[07:24:57] 	thanks alot
[07:25:07] 	np
[07:32:59] 	how do i hide the discussion link from the bar at the top?
[07:36:08] <_wooz>	lo
[07:51:12] 	http://de.wikipedia.org/wiki/Portal:Nigeria
[07:51:19] 	here "Portal" is a namespace, right?
[07:56:22] 	yep
[07:58:13] 	is there any possible way i can remove the discussion tab from the bar at the top?
[07:58:28] 	(and preferably disable talk pages along with that)
[07:58:51] 	...
[07:59:19] 	what is the difference between a category and a namepace?
[07:59:36] 	i am trying to split up my content into some subsections but i dont understand the concept really
[08:00:09] 	http://www.mediawiki.org/wiki/Help:Namespaces and http://www.mediawiki.org/wiki/Help:Categories
[08:00:55] 	Jack_Phoenix, guess what, i read those :)
[08:01:02] 	:)
[08:01:25] 	how do i check which namespace the user is viewing?
[08:01:28] 	and still i am not seeing how to use 1. portals, 2. categories and 3. namespaces
[08:01:47] 	i have a function using usercan; how do i check which namespace the user is viewing then?
[08:02:44] 	*sigh*..
[08:04:44] 	does every categorie have their own namespace?
[08:05:09] 	if i have Blubber:MyArticle is Blubber the category or the namespace?
[08:05:25] 	namespace
[08:05:38] 	if the page has [[category:somecategory]] in it
[08:05:50] 	then the page would be placed to the category named "somecategory"
[08:06:50] 	well and whats the difference?
[08:07:31] 	i mean you can separate pages into categories and namespaces, but when to do what is not explained anywhere
[08:11:33] 	03(NEW) Not accepting uploads if uploader didn't specify license - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10716 15enhancement; normal; MediaWiki: Uploading; (meno25bugzilla)
[08:26:21] 	03(mod) Update for Lao language (lo) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10713  (10manop)
[08:39:10] 	is nobody here who can explain in 2 senteces what the difference between a namespace and a category is and when to ues what?
[08:43:21] 	aton`: if you write [[category:abc]] in a page, this page will be listed in the category:abc. 
[08:43:42] 	yes
[08:43:59] 	a category is a special form of a namespace, like [[image:]] too
[08:44:10] 	?
[08:44:22] 	oh yeah, image uses the filenames
[08:44:38] 	so what if an article is in a category "blah" and in a namespace "blub"
[08:44:46] 	blub:blah:myarticle ?
[08:45:28] 	what do you mean with blub:blah:myarticle ?
[08:45:56] 	the full name of the article is always [[blub:myarticle]]
[08:46:20] 	in the category:blah it is shown as "blub:myarticle"
[08:48:22] 	ah okay
[08:48:30] 	so to organzie my articles i use namespaces
[08:48:49] 	but to put similar content from different places together, i use categories?
[08:49:00] 	yes
[08:49:08] 	oh okay
[08:49:11] 	thanks man
[08:49:20] 	and the portals?
[08:49:24] 	you can sort articles from different namespaces into one category
[08:49:25] 	portals are just namespaces, right?
[08:49:29] 	right
[08:49:40] 	without special behaviour
[08:50:52] 	normal namespaces are: (main), help, project (like Wikipedia:), user and their talkpages
[08:53:22] 	can there be categories that have the same name as an article?
[08:53:39] 	like i have ns1:blah and ns2:blah and want to put them together in categorie blah
[08:54:30] 	yes, no problem
[08:57:15] 	03thomasv * r24402 10/trunk/extensions/ProofreadPage/proofread.js: fixes
[09:03:39] 	is there a page that lists all available namespaces?
[09:03:51] 	look at Special:Allpages
[09:03:51] 	like special:categories
[09:03:57] 	thanks
[09:04:02] 	np
[09:04:12] 	hm
[09:04:17] 	that just lists the normal pages
[09:09:06] 	hi, I try to change Sidebar. So I try to edit MediaWiki:Sidebar, but that desn't work . I use mediawiki-1.8.4. How I can change side bar?
[09:09:09] 	see the drop down box
[09:11:05] 	drop down box? 
[09:12:54] 	bluetux: I meat aton` 
[09:13:16] 	huh?
[09:13:32] 	drop down box?
[09:13:35] 	Raymond_: :-)
[09:14:23] 	aton`: you looked for a list of all namespaces. Jack_Phoenix  pointed you to special:allpages. there is a drop down box with all available namespaces
[09:15:51] 	okay.. simple question: how do i do the same as 
in wiki syntax? [09:16:11]
? :] [09:16:15] oh [09:16:18] yeah [09:16:22] or actually [09:16:24] i just tried.. [09:16:24] use
[09:16:28] yah [09:16:35]
[09:16:39] for correctness [09:16:44] :) [09:16:47] thnks [09:17:13] but that is no wikisyntax, its XML [09:17:41] btw, you can do two linefeeds for a new section instead of
[09:17:54] but it's a slight optical difference [09:20:41] Raymond_, oh ok thanks i am so blind [09:20:51] :) [09:31:12] aiight.. thanks #mediawiki... i'm going away.. [09:31:16] cheers [09:31:18] :) [09:38:09] 03(NEW) Fix typo in robots.txt - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10717 15enhancement; normal; Wikimedia: General/Unknown; (ais523) [09:45:58] 03thomasv * r24403 10/trunk/extensions/ProofreadPage/proofread.js: simplifications, minor fixes [09:47:04] ThomasV: I forgot yesterday: prior to a scap there are some schema changes to apply [09:48:48] are there changes pending ? [09:49:40] yes. from the filerepo work by tim [10:00:10] Raymond_: about yesterday's proposal, should I write a page on meta ? or somewhere else ? [10:00:57] ThomasV: hmmm... maybe open a bug in bugzilla? or open a discussion on wikitech-l [10:02:40] does bugzilla allows us to use colors ? [10:03:00] I'd like to illustrate it with an example [10:03:31] and also it is a community issue more than a software issue [10:03:42] no, no colors :( then an example on meta and add the link to bugzilla [10:04:35] yeah but you need a new table [10:08:33] there's plenty of pages on article validation there... [10:16:18] 03(WONTFIX) Not accepting uploads if uploader didn't specify license - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10716 +comment (10robchur) [10:27:35] how do i restrict editing of all namespaces except for one (which is a custom namespace)? [10:30:09] 03(mod) Not accepting uploads if uploader didn't specify license - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10716 +comment (10daniel) [10:30:34] anger2headshot: $wgNamespaceProtection. for more fine grained options, use the Lockdown extension. [10:30:51] mw version: 1.6.10 [10:31:00] anger2headshot: you are screwed, then. [10:31:33] ... [10:31:43] upgrade to 1.10 [10:31:46] cant. [10:31:54] i have to use php 5 override. [10:31:59] but that doesnt work for some reason. [10:32:02] then [10:32:03] anger2headshot: you are screwed, then. [10:33:31] gah, that sucks. [10:33:58] why cant any popular free hosts use php 5 >_> [10:34:15] because [10:34:18] they're free :p [10:34:34] 03(FIXED) After Semantic MediaWiki setup fatal error occures on every edit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9857 +comment (10disfasia) [10:34:50] * removes line defining ns Forum: from LocalSettings.php* [10:36:05] wait... [10:36:35] would $title contain the namespace name if the function is hooked onto usercan? [10:37:02] Yes [10:37:09] whew.... [10:37:19] i guess that its possible for what i want xP [10:37:30] Alright, how does "Atlas" sound for the name for my new comp? [10:37:55] We've been going with the whole solar system meme for some time, but we've run out of planets, and we're running out of moons :) [10:37:56] so $title would return Forum:Suggestions_for_new_features if that was the article name? [10:38:13] My laptops are all spaceships -- I'm sitting at Voyager right now and Enterprise is in the closet [10:38:32] No, but $title->getPrefixedText() would [10:38:37] $title is a Title object [10:40:04] so basically i can just use some php function to check whether an instance of "Forum:" exists in $title->getPrefixedText() to check the namespace was forum? [10:40:21] anger2headshot: hooking into userCan is how Lockdown works. you'd have to adopt it to work with 1.6, tough [10:40:34] You're better of using $title->getNamespace(), but yes, theoretically [10:40:38] if you are going to write somethign like that, looking at the code of Lockdown might help [10:40:42] off* [10:40:48] "$title->getNamespace()" - now you suggest that? xP [10:40:55] >_< [10:40:56] yes, use numberical namespace ids, as returned by getNamespace [10:41:09] Try reading through the Title class -- it's .. uhh .. sort of helpful :) [10:41:11] wait so $title->getNamespace() returns a namespace id? [10:41:19] Yes [10:41:38] the namespace forum is 100, so $title->getNamespace() on the forum ns returns 100? [10:41:38] 03(NEW) Multi-select Namespace Search - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10718 15enhancement; normal; MediaWiki: User interface; (eep) [10:42:02] Yes [10:42:08] Seriously, read it: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Title.php?revision=24229&view=markup [10:42:25] mw v = 1.6.10 [10:42:26] ... [10:43:17] ok, so say im on the forum namespace... [10:43:18] if ($title->getNamespace()==100) { $onforumns=true; } else { $onforumns=false; } [10:43:24] Okay, then http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_6/phase3/includes/Title.php?revision=13598&view=markup [10:43:24] would that return true? [10:43:31] It's pretty much the same Title still [10:43:50] Yes ... [10:44:29] May I ask what you are trying to do? [10:44:59] well since the namespace is called "Forum:" don't you think its quite obvious? [10:45:06] xP [10:45:17] No, actually it's not [10:45:26] ... [10:46:25] You could be trying to change its display, allow anons to edit it while not being able to edit anything else, allow a group to read it ... who knows [10:46:40] i want the forum of the wiki to be the only area editable by everyone - im using mediawiki in a way as a way of not logging into cpanel to make/edit pages. [10:47:21] essentially, im using mw like a cms for a personal website. [10:47:56] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/PrivateNamespaces/ should be 1.6 compatible [10:48:11] I haven't tested it, but theoretically it should be [10:48:18] so the forum problem is solved, so now i need to know how to remove the discussion tab on the top... [10:48:40] Although you'll have to make a simple modification to it [10:48:46] the only problem is that user talk pages wouldnt be easy to access... [10:49:04] Should be able to remove it using css [10:49:32] Or actually, isn't Lockdown 1.6 compatible? [10:49:37] nope... [10:49:55] im assuming that the id of user_talk is 3? [10:50:51] 03(NEW) SpecialPage hooks are broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10719 04BLOCKER; normal; MediaWiki: Special pages; (vickery.matthew) [10:51:10] It's NS_USER_TALK [10:51:15] .... [10:51:21] Using the constants will save you headaches :) [10:51:35] and so NS_USER is also a constant? [10:51:41] Yes [10:51:43] 03(mod) SpecialPage hooks are broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10719 (10vickery.matthew) [10:52:07] if ($title->getNamespace()==NS_USER || $title->getNamespace()==NS_USER_TALK) { $onuserns=true; } else { $onuserns=false; } [10:52:10] like that? [10:53:18] Yes [10:54:52] It would be a lot cleaner if you'd just do $editable = in_array( $title->getNamespace(), array( NS_USER, NS_USER_TALK, 100 ) ); though :) [10:56:41] meh, im havent learnt about arrays in php yet. [10:57:45] Consider yourself lucky [10:58:41] perhaps i should find out how to find out whether the current viewed page was a user page/user talk page using javascript, and if not, just hook into the id ca-talk and blank it. [10:58:58] but then there would be an extra space, probably [10:59:04] actually, there would be a tab. [10:59:15] *gak* [10:59:19] *amidaniel blinks [10:59:23] Uhhh ... no ... [10:59:30] ? [10:59:51] js is evil ... and very easy to get around :) [11:00:00] You certainly shouldn't use it for any security purpose [11:00:19] then how would i remove the discussion tab from all pages except for user pages? [11:00:43] Oh, I misunderstood -- I thought we were still on lockdown. Should have a css class all to its own [11:01:22] Hrm .. or maybe not [11:01:53] stupid mediawiki:sidebar... [11:01:54] Well, there should be a hook somewhere in the skin or in output page that'll let you fuck with it [11:02:04] Much nicer to do server side rather than as js/css [11:02:27] ** Forum:Main_Page|Forum <- disappears when i go to the main page... [11:02:33] >_< [11:02:45] wonderful. [11:02:47] purge your cache [11:03:07] i think its because of the fact that the main namespace's main page conflicts with it perhaps? [11:03:24] because that link appears on all other pages. [11:03:31] btw .. why are you using all this forum mumbojumbo as opposed to just talk? [11:03:37] ... purge your cache [11:03:48] sidebars, sitenotices, etc. are heavily cached by browsers [11:04:31] amidaniel: because i want to have discussions not relating to other stuff, but i want to have a forum-y interface without having to set up another smf board [11:04:52] that reminds me, i need to kill one of my smf forums... [11:04:53] hrmkay ... [11:05:19] can i just ask what browser youre using? [11:05:49] heavily customized FF2 [11:06:10] ok, can i ask whether this http://a2h.uni.cc/w/Main_Page looks screwed or totally fine? [11:06:49] Your Forum:Main_Page link is there [11:07:05] Certainly not my taste in styles, but it doesn't look "screwy" [11:07:28] i changed it to [[Forum:Home]] [11:07:42] and the forum link appears. :) [11:08:05] Here it's linked to Forum:Main_Page [11:08:22] When I purge, it's now linked to Forum:Home [11:08:39] ... as I said, a caching problem [11:08:52] i just #R the forum to its rightful home. [11:09:11] in internet explorer, the wiki is horrid to look at. [11:09:28] unless i login and switch to monobook. [11:09:59] *amidaniel refrains from making a snide remark [11:10:45] *Perthro is back [11:12:43] can i just ask what does it mean when there is a red exclamation mark in the list of recent changes? [11:13:33] the edit is unpatrolled [11:13:55] ? [11:27:01] 03(NEW) Please clean up and lock Kanuri Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10720 15enhancement; normal; Wikimedia: Site requests; (jorohr) [11:30:56] hi/re [11:31:08] inputbox extension doesnt work on 1.6.10... any help? [11:31:17] problematic line seems to be $boxhtml=str_replace("{{PAGENAME}}",$parser->getTitle()->getText(),$boxhtml); [11:32:06] the error given by the line is "syntax error, unexpected T_OBJECT_OPERATOR" [11:33:25] maybe it doesn't work with php4? which version did you install? [11:33:40] SyntaxHighlight extension... is it possible to use internal links like [[]] within ... ? [11:33:51] ehh, i had a look in m:Help_talk:Inputbox [11:34:00] someone claims to have found a solution [11:34:08] "unchain the ->" [11:43:09] in Localsettings.php, will any rights that i not gain a usergroup, like with "true" be "false" by default? [11:43:32] i.e. do i have to explicitely specify each variable for each group [11:52:51] 03greg * r24404 10/trunk/phase3/maintenance/ (postgres/tables.sql updaters.inc): Add ar_page column [11:56:26] http://meta.wikimedia.org/wiki/Help:User_rights [11:56:29] in the example [11:56:34] there is a user named "user" [11:56:44] does its rights apply to all logged in users? [11:56:49] or just to the user "user" ? [12:05:30] can i link to a category page from within an article? without relating it the to category? [12:05:35] *fractus hello all [12:09:07] wish version of mediawiki supports mysql-3.23.58 ??? :S [12:09:25] which version of mediawiki supports mysql-3.23.58 ??? :S [12:11:53] wb [12:13:06] ¿? [12:13:58] wath's the lasted version that run OK with mysql-3.23.58 [12:15:26] hi - when installing MW, you are prompted to select a license [12:15:33] how can you change that retroactively - i.e. which pages do we need to edit [12:16:19] lousygarua: [[:category:name]] [12:16:22] Ace_NoOne: is to me? [12:16:30] fractus: I think it's 1.5 [12:16:33] fractus: ?? [12:16:38] yep [12:16:55] rainman-sr: very oldye, no? [12:17:12] yes, very old, you should upgrade to mysql4 if possible [12:17:21] ufff :S [12:18:30] actually, 1.6 might work as well [12:18:51] rainman-sr: thx [12:19:39] 5,654,000 pages (20.159/sec) [12:19:41] WOOHOO [12:19:44] dump is done [12:19:56] only 5.6 million pages [12:20:07] rainman-sr: 1.6.10 is posible to run with mysql-3.23.58?? [12:21:12] according to release notes yes, but haven't tested it myself [12:21:26] OK. I try it [12:22:46] I'll [12:24:09] 03greg * r24405 10/trunk/phase3/maintenance/ (3 files in 3 dirs): Various updates to Postgres schema and updater. [12:25:57] rainman-sr: the RELEASE-NOTES says >> [12:25:57] MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. [12:25:57] At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. [12:28:11] is it possible to put separators into the sidebar? [12:28:15] like a line or something [12:29:37] fractus: indeed, it seems documentation is not entirely correct on mediawiki.org, anyway, 1.5 then [12:32:18] *fractus ok. thanks to all [12:32:22] bye bye [12:37:09] is there an extension for voting or polls? [12:37:46] WTF [12:38:01] exporting the 20 gig db to bg.zip brought it to 63 MB [12:38:07] HOW COULD THIS BE [12:38:15] does not sound right [12:38:25] lol [12:38:38] quantum compression (I know, doesn't make any sense... ) [12:38:55] no really [12:39:11] looking at the tables through phpmyadmin it was around 19 gigs [12:39:26] compressed into bz its 63 megs [12:39:35] un compressed its a 350 mb sql file [12:39:41] can this be right? [12:39:51] I have no idea [12:40:02] anyone before i upload? [12:40:12] dmb062082: try it on a local install [12:40:18] ahh might as well [12:41:54] fractus: What's wrong with 5.x ? [12:43:04] does mysql searching work if page compression is enabled? [12:43:11] How can it? [12:54:08] Oo [12:59:35] brb [13:16:07] hello [13:20:26] hi there [13:20:38] I have installed wikipedia in Spanish [13:20:48] but it is incomplete [13:21:03] especially the categorylinks table [13:21:33] there are only 7789 entries [13:21:55] have you ever encountered that problem ? [13:22:45] the dump import seems to have done well though [13:33:53] 03(mod) Not accepting uploads if uploader didn't specify license - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10716 +comment (10wikipedia.danny.b) [13:37:14] 03(mod) Multi-select Namespace Search - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10718 +comment (10wikipedia.danny.b) [13:45:29] Anybody know a way to echo $wgUser into an actual article? [13:46:45] 03nickj * r24406 10/trunk/extensions/Wikidata/OmegaWiki/NeedsTranslationTo.php: Adding semicolon to prevent parse error. [13:47:10] how can I prevent the edit link from being rendered on a User: page? [13:49:32] AphelionZ, this might help: http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_remove_the_article.2Fedit_etc_tabs_for_users_who_are_not_logged_in.3F [13:49:49] or at least get you in the right direction [13:54:59] nofrak: you want the user that saved the article, or the one who views it? [13:55:40] AphelionZ: hide it using css. there's a namespace-specific class assigned to the body element, so it's easy to select [13:56:36] Duesentrieb_: thanks, that really seems like the best option but I've been trying to add a line to common.css and it's just not recognizing it and it's driving me crazy [13:56:38] body.ns-2 div#globalWrapper div#column-one div.portlet ul li#ca-edit { display: none; } [13:56:43] or even just: [13:56:55] body.ns-2 #ca-edit { display: none; } [13:57:08] i don't get it :( [13:57:09] AphelionZ: just #ca-edit does it, no need to specify further. [13:57:22] well, yea body.ns-2 #ca-edit { display: none; } is right [13:57:27] ok [13:57:32] remember to do a forced reload (ctrl-r in ff) [13:57:39] firefox caches css agressively. [13:57:44] 03(NEW) Case insensitivity in section anchors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10721 trivial; low; MediaWiki: Page rendering; (conman) [13:57:46] mm [13:57:54] F5 will *not* do [13:58:53] Duesentrieb_, the one who views it [13:59:23] nofrak: that is not possible, due to caching. wikitext is not rerendered for every view, that would be very expensive. [13:59:28] i.e. slow. [14:00:43] Duesentrieb_, my installation is quite small and limited to a small number of users, I've disable caching already for an extension and haven't seen any kind of performance hit. Still no hope? [14:01:19] you can then write a magic word or parser function to do it [14:01:25] shouldn't be hard, but i have never tried. [14:02:36] Duesentrieb_, ok, great. I'm actually looking at Parser.php right now. [14:02:46] so I'll let you know if it works [14:03:07] don't try to work that oiut. it'll drive you mad [14:03:13] look for instructions on writing parser functions [14:03:27] you don't need to touch Parser.php for that. you can just plug them in. [14:03:34] Oh, beautiful [14:04:01] I'll do that then [14:04:14] Wait, I'm looking through the source now - where does common.css get included? I'm using the default monobook skin - is it a CSS import or..? [14:04:18] I can't find the call [14:04:30] version 1.10.0 [14:04:40] nofrak: http://www.mediawiki.org/wiki/Extension:Parser_function_extensions may have a link to some examples [14:05:50] nofrak: look here: http://www.mediawiki.org/wiki/Extending_wiki_markup#Parser_functions [14:05:53] ok, thanks [14:06:32] AphelionZ: why do you need to find that? you should simply be editing MediaWiki:common.css *on* the wiki. [14:07:07] ooooooooh [14:08:04] will you look at that, thanks!! [14:15:57] 03(NEW) "What links here" redirects-only page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10722 15enhancement; normal; MediaWiki: Redirects; (holek.n) [14:16:15] one last question, hopefully - is there a way in PHP to retrieve the contents of the page as a string variable? [14:16:39] by page I mean article [14:17:11] Fatal error: Call to a member function selectRow() on a non-object in /User.php on line 829 [14:17:29] can anyone help with this error ^^^ [14:18:15] I'm trying to upgrade from mediawiki 1.7.2 to 1.10 [14:20:38] 14(DUP) "What links here" redirects-only page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10722 +comment (10wikipedia.danny.b) [14:20:40] 03(mod) Allow separated inclusions, links, redirects on whatlinkshere - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6934 +comment (10wikipedia.danny.b) [14:20:49] lolop: that means the database connection failed or broke [14:22:11] I can login by doing #mysql -u root -p wikidb [14:22:16] from cli [14:24:58] you... may not want to use root for something that is going to be exposed to the web... [14:25:29] np it's internal [14:25:37] no web connection at all [14:25:58] you shouldn't do it anyway. 1 error in mediawiki, or an extension, and your db is fubar [14:26:18] never use root for anything but manual admin stuff [14:26:58] im a mysql noob how would i go about changing the ownership of the db without screwing things up? [14:27:10] lolop: also note that to mysql, localhost != 127.0.0.1 [14:27:33] lolop: databases are not owned. they just exist, and you grant access to them. [14:27:44] check out the grant syntax in the mysql documentation [14:27:59] you should provide a password with the first grant you specify for a user. [14:28:19] grant select, insert, update, delete to wikiuser on wikidb.* identified by "myprettypassword"; [14:28:24] that's it [14:28:38] lolop: also note that to mysql, localhost != 127.0.0.1..... damn..... I bet that is my problem [14:28:48] ah, sorry: "wikiuser"@"localhost" [14:29:00] or @"127.0.0.1" or whatever you connect from [14:29:11] lolop: "localhost" makes mysql use a fifo, not tcp. [14:29:27] access for root is usually restricted to "localhost" per default [14:29:48] hi there I have installed wikipedia in Spanish but it is incomplete especially the categorylinks table there are only 7789 entrieshave you ever encountered that problem ? the dump import seems to have done well though [14:32:47] Duesentrieb_: Thanks im off to fix it! [14:33:38] lolop: the grant statement i gave you si lightly off - it's first "on", then "to". but read the docsumentation. [14:33:50] I am using bulleted lists. So I have a top level bullet, then a second level immediately below (using a **)... then a block of code, then another line with **. When I look at the preview, the second bullet item has two bullets side by side and it is not indented. What am I doing wrong? [14:33:56] cool thanks [14:34:00] To get an articles content is it just $article->mContent? [14:41:40] :\ [14:49:08] LionsMane: you are doing nothing wrong - the code block breaks the list. it's a known problem, and i don't know a solution [14:49:20] maybe try if you can use
    ,
  • , etc directly, they might be allowed. [14:49:48] Duesentrieb_: Thanks for letting me know. This is a "good to know thing" [14:50:01] i guess so. [14:50:06] Duesentrieb_: We'll stay on top of keeping the packages current. [14:50:35] that's good, although i don't think is is going to be fixed soon - because the parser can't really guess what was intended. [14:50:55] for hte parser, any block that is not a list block ends the list, period. [14:50:58] Duesentrieb_: It better, to me, to know it is not my problem. I have been struggling with some aspects of wiki code. I started on Trac, and it is completely different from most wiki languages, at is turns out. [14:51:20] i tried Trac wiki... made my head hurt [14:51:39] but that might only be because i'm so used to mediawiki [14:54:15] yeah, I think that is the case... they strike me as needlessly different. [14:54:44] There are a handful of things that Trac deos better, but MediaWiki allow more HTML to be included in the code [15:28:53] I am still having issues here [15:31:14] I am using a wiki family installation (linked everything to a source dir, with only images dir and localsettings as real files) and now i try to use one of the maintanance scripts, importImages. It gives me this error now: "A copy of your installation's LocalSettings.php must exist and be readable in the source directory." [15:32:04] Anyone got a clue where this might come from? Might be a general thing with console applications there.. [15:36:25] I see it has to do with $IP in there: $IP = realpath( dirname( __FILE__ ) . '/..' ); [15:36:38] line 39 in commandline.inc [15:36:48] http://mediawiki.pastey.net/71400 Could someone take a look? [15:37:39] lolop: Error: 1146 Table 'wikidb.objectcache' doesn't exist (localhost) [15:37:54] the table is not in existance, theres your problem :) You trying to install ? [15:38:30] no... i'm upgrading from 1.7.2 to 1.10 [15:38:57] is there a proper way to convert from old to new? [15:39:03] And you get this error in the upgrade script ? [15:39:18] there is, the upgrade script... [15:40:30] http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script [15:41:14] you can run the installer again, that would do the trick too [15:41:37] read that whole page there, that should help you do a clean update [15:44:08] ok I did try that earlier but it failed..... http://mediawiki.pastey.net/71401 [15:45:50] well make a backupp of everything, then remove the querycache table and run it again :) [15:45:59] (it is after all only a cache) [15:49:18] I tried doing "drop table if exists qeurycache;" but I get an error Unknown table 'querycache'..... Am I using the right syntax? [15:49:54] show TABLES; does show a table named querycache [15:56:04] just "DROP TABLE querycache;" [16:02:03] now I am getting the same error about object cache [16:02:11] *objectcache [16:03:24] when I try and drop it I get Unknown table 'objectcache' [16:07:08] IS there something like
     that will wrap lines?
    [16:07:30] 	I just want to keep the line breaks in a region of text.
    [16:07:45] 	and have long lines wrap.
    [16:08:14] 	It must be a common desire.
    [16:09:54] 	x99: 
    text
    [16:09:59] adjust widht as needed? :) [16:10:25] maybe use "em" as a unit instead of px, might work better [16:10:47] lolop: if it exists you must be able to drop it [16:11:12] put phpmyadmin on it, you chouls be able to see it and drop it in there (neat interface that will help you work with tables) [16:11:20] Thanks simon. [16:11:25] np x99 [16:13:01] Is there anyway to get it to wrap according to browser width? [16:13:46] yeah myphpadmin only sees three tables.... although it reports wikidb (33) [16:14:05] x99: width="100%" takes teh browsers width ... [16:14:22] perfect, thanks [16:14:49] lolop: that cant be right, you cant see only 3 tables in a wiki... 1.10 uses 34 tables and the version before it not much less [16:15:38] morning setuid! got your problems fixed ? [16:15:49] I've imported a dump of the English Wiktionary into a local mediawiki copy, and when I load the main index page, it redirects to en.wiktionary.org... and I can't figure out why. [16:16:28] The other languages seem to work fine [16:16:57] Heh. How can I do this:
    {{{1}}}
    [16:17:00] setuid: there could be a javascript at work in there somewhere [16:17:11] Stored in the database content? [16:17:13] Ugh [16:17:44] install "noscript" extension on firefox and then forbodid your own page in it [16:17:47] The {{{1}}} gets quoted. [16:17:49] then see if you can see teh content [16:18:22] I've got WebDev, and I can just uncheck it [16:18:24] noscript blocks all javascripts. And if that one works, you can savely look for where the thing is sitting.. [16:18:26] But it looks like a 301 [16:18:53] Nope, its not javascript [16:19:07] x99: you wanted a disply like pre that goes to the width of the whole page, roght ? Otherwise just drop the pre parts [16:19:07] Its an actual redirect from Main_Page [16:19:37] add &redirect=no to the mainpage url [16:19:39] see if that works [16:20:53] wiktionary:Main Page links to en.wiktionary.org/wiki/Main_Page [16:21:51] #REDIRECT [[Wiktionary:Main Page]] [16:21:52] Simon: I want the line breaks of the text [16:23:26] Any other way of getting them than using pre. Is there a style way of saying to use the line breaks (I haven't been able to find one yet) [16:23:36] How do I know what "[[Wiktionary:Main Page]]" links to or points to? [16:24:54] setuid: open it? Wiktionary:Main Page as url for the page [16:25:36] SimonMoon, The only contents on Wiktionary:Main_Page is the one line above: #REDIRECT [[Wiktionary:Main Page]] [16:26:09] remove it [16:26:23] and remove it on the "Main_Page" as well [16:26:27] should do the trick technically [16:26:31] uh [16:26:42] might be an interwiki link, coming to think of it [16:26:45] Main_Page includes one line: #REDIRECT [[Wiktionary:Main Page]] [16:26:54] When it should be showing the random definition of the day, etc. [16:27:11] Is "#REDIRECT [[Wiktionary:Main Page]]" interwiki syntax? [16:27:16] yes blank it [16:27:26] the og to the real wiktionary and look for its code there [16:27:26] Sure, I blank it and then Main_Page is a blank page (of course) [16:27:39] well at least it doesnt forward anymore ofr the moment :) [16:28:26] I am running into troubles with the maintanance scripts here... hmmm [16:28:41] Lots of random pages with titles, but no content in them [16:29:05] look at the source of them, they might be templates and you just done see content :) [16:29:36] Enchufasteis [16:29:36] From dictoPlucker [en] [16:29:36] Jump to: navigation, search [16:29:36] There is currently no text in this page, you can search for this page title in other pages or edit this page [16:30:31] thats odd.. [16:31:57] Something fishy... enwiktionary-latest-pages-articles.xml.bz2 doesn't seem to include all of the same content that the public version does [16:32:14] Do I need to reimport more tables aside from page/text/revision? [16:32:51] enwiktionary-latest-image.sql.gz enwiktionary-latest-interwiki.sql.gz [16:32:51] enwiktionary-latest-imagelinks.sql.gz enwiktionary-latest-pagelinks.sql.gz [16:32:58] Maybe I need interwiki and pagelinks? [16:34:08] simon actually:
    blah
    doesn't work [16:34:24] (even when lifted from the template) [16:35:29] setuid: no idea.. I do not have any experience with importing any wikipedia content. [16:35:37] Well, its worth a shot [16:35:52] x99: odd, should technically do its thing without any problems [16:36:24] simon: the blue bounding box is shrunk, but the text still overflows [16:36:41] (firefox) [16:38:37] even: [16:38:38] {| [16:38:38] |- [16:38:38] | width=40em| [16:38:38]
    [16:38:41] 	does no better
    [16:39:43] 	Surely it can't be this hard to cut and paste a block of plain text!
    [16:40:57] 	why dont you reformat it so it fits into the wiki better? 
    [16:41:34] 	if you do width:90%;max-width:90%; does it still push over the boundaries ?
    [16:42:47] 	Yes.
    [16:42:48] 	03(NEW) Give users the ability to edit their own edit summaries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10723 15enhancement; normal; MediaWiki: Page editing; (e.martinson)
    [16:43:06] 	I can do that, but it's unreasonable to expect users to.
    [16:43:30] 	well, its a standard wiki text thing.. 
    [16:43:44] 	one line break means nothing, while only 2, start a new line.
    [16:44:13] 	you could hack the output code, and add a nl2br around the content part before its displayed
    [16:44:38] 	Sure, but to not even have a way of supporting cut and pasting of text is a real violation of least surprise
    [16:44:41] 	that would be the easiest thing but also wreak havoc with everything more special
    [16:45:35] 	You cant do it in html as per se, either... And its a wiki, not a forum, so there are a lot differences..
    [16:46:06] 	another thing is you could create a "convertor" script, that would allow the peopel to copy paste into that and then it returns you the text for the wiki..
    [16:47:03] 	ok: http://en.wikipedia.org/wiki/Template:Pre
    [16:48:40] 	hello, is there a built-in feature to use float:left/right formatting in articles or i have to use alter my theme CSS?
    [16:49:04] 	pre {
    [16:49:04] 	    overflow: auto;
    [16:49:04] 	    width: auto;
    [16:49:04] 	}
    [16:49:04] 	x99: it mimcs it only, i see nothing that would do in it what you wnt it to.. try it, but it only "looks" as if..
    [16:49:59] 	lousygarua: for images there is, simply [[Image:bla.jpg|right]] 
    [16:50:36] 	other things, you would need to look closer at their documentations or change some css (or simply add some in the page)
    [16:50:47] 	SimonMoon: i'm trying that for a table... like the Country info template on wikipedia. i guess i need a css class for that
    [16:51:04] 	you can put it directly into the code
    [16:51:18] 	although putitng it into a css is a better solution and using a class for that
    [16:53:13] 	lousygarua: {| border="1" cellpadding="5" cellspacing="0" align="center"
    [16:53:25] 	that would center it, while "right" makes it float on the right side..
    [16:54:00] 	but using a class is the more elegant version :) or t leats a template.. :)
    [16:55:08] 	SimonMoon: thanks i'll try these out. i'm not creating a template info-box, i'm just adding a small table with important links on a user's page
    [16:56:59] 	yeah then table and the align=right are your best choice
    [16:57:16] 	http://meta.wikimedia.org/wiki/Help:Table
    [16:57:28] 	go there if you need some more table help, more detailed than on the mediawiki.org page :)
    [16:58:17] 	Simon: {{pre}} doesn't work either, as far as line breaks are concerned.
    [17:01:08] 	hrm, so its not pagelinks
    [17:05:06] 	brion: i haven an idea for a nice approach to shared user-provided js gadgets - but before I start coding, I'd like to know if you think it's sane enough to be considered for wmf sites. got a minute?
    [17:10:57] 	x99: told you so :)
    [17:12:19] 	hmm either i just had a stroke of medium genius or i am an idiot... *tries to fix this wiki farm*
    [17:16:47] 	grrr
    [17:18:40] 	Something isn't making sense here
    [17:22:56] 	welcome to the club then setuid
    [17:23:03] 	But i think i just nailed my problem
    [17:23:10] 	Yeah? 
    [17:24:04] 	ah well, that was too early to celebrate
    [17:25:52] 	wooot ! i think i got this time!
    [17:26:23] 	yes *does the happy dance*
    [17:26:48] 	you have to bend over a bit with the maintenance scripts but after that they work just as they should
    [17:27:42] 	all they needed was the $IP variable, and to get it in the correct place the maintnance dir needs to be in the non virtual tree, while you then link all files into it
    [17:29:01] 	growl
    [17:29:06] 	Ok, something is seriously amiss here
    [17:29:34] 	I imported the English Wiktionary dump into a local db, and installed mediawiki to point to that db... all appears well, except... there's no page content, just titles and blank content. 
    [17:29:54] 	Its like every single page has a title, but the body is missing the content that should be there
    [17:31:12] 	did you run the rebuildall script in maintenance ?
    [17:31:30] 	No
    [17:31:36] 	Am I supposed to? I've never had to before
    [17:31:43] 	I came across that a couple times now when handling imports. Try it, might do the trick :)
    [17:32:56] 	http://rafb.net/p/1RJF5t39.html
    [17:33:26] 	whoa, and its operating on the completely incorrect tables
    [17:33:39] 	that might be the problem :)
    [17:34:14] 	Problem with what? How does it know what tables and database to operate on? 
    [17:35:33] 	does mediawiki have a way to roll back all changes/edits made by a particular registered user?
    [17:35:40] 	fsck
    [17:35:49] 	Apparently mediawiki can't deal with table prefixes
    [17:35:57] 	Even though it allows you to use that as an option at install time
    [17:36:00] 	shit
    [17:36:23] 	setuid: really?  Because I set up a wiki that uses table prefixes, no problem
    [17:36:26] 	kjdavies: as far as i am aware of it, no.
    [17:36:26] 	fsck, that's 5 days of work, down the drain 
    [17:36:36] 	kjdavies, Try to run the rebuildall.php from maintenance ;) 
    [17:36:44] 	haha
    [17:36:46] 	setuid: ah.  haven't had to do that
    [17:36:46] 	It won't work, if you have more than one wiki in the same db
    [17:36:48] 	that wont work kjdavies
    [17:37:02] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  normal->15enhancement; normal->lowest; +comment (10wikipedia.danny.b)
    [17:37:11] 	setuid: Hack the code.
    [17:37:23] 	SimonMoon: hrm.  I'm considering opening up a wiki that currently has a short list of editors... I'm not *terribly* worried about defacement, but I know it happens
    [17:37:24] 	MinuteElectron, No kidding, but that means hacking 11 .inc files
    [17:37:33] 	ANd that'll of course break, for the other 53 wikis I ru n
    [17:37:52] 	setuid: Not necessarily.
    [17:37:57] 	kjdavies: i know, had it happen to me as well
    [17:38:12] 	setuid: sounds like a FREQ -- 'make rebuildall look at LocalSettings for table prefix'
    [17:38:13] 	a mass roll back of one users edits would eb a neat extension :)
    [17:38:29] 	!extensions
    [17:38:29] 	MediaWiki has been built so it can easily be customized by adding extensions, this is usually a simple process, to find a list of them visit http://www.mediawiki.org/wiki/Category:Extensions
    [17:38:32] 	kjdavies, A frequency? 
    [17:38:37] 	!faq
    [17:38:37] 	Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ
    [17:38:43] 	setuid: feature request
    [17:38:53] 	!bz
    [17:38:53] 	All bugs in the MediaWiki software should be reported at http://bugzilla.wikimedia.org. This is also the place to request new features or enhancements to existing features, although bear the following points in mind before making a feature/enhancement request: 1) If the request is specific to a Wikimedia wiki, please discuss the issue on that wiki first. 2) Consider whether a custom extension would be more appropriate.
    [17:39:36] 	wow, the entire script is *WAY* out of date
    [17:39:41] 	SimonMoon: that's what I thought, because I suspect -- if editing is limited to registered users, and since defacers tend to be lazy (apart from tromping over other peoples' work), that'd probably go a long way toward solving it
    [17:39:45] 	The tables it tries to query don't even exist
    [17:40:12] 	Then go fix it.
    [17:40:52] 	kjdavies: i disable edits for anonymous users. that blocks about 99%. Add the spam blacklist extension and that kilsl of the spammers straight there. Afte rthat you just gat the occasional asshat trying some crap. I had a site with over 15k users a day that got defaced liek that ONCE in over a year now.
    [17:40:59] 	MinuteElectron, NSS 
    [17:41:25] 	setuid: NSS?
    [17:41:26] 	SimonMoon: so, limiting a wiki with a relatively small user base to registered users only is probably sufficient?
    [17:41:31] 	No Shit, Sherlock
    [17:41:34] 	ok
    [17:41:47] 	kjdavies: that and spam blacklist and you have most bases covered
    [17:42:04] 	we had 3 registred spammers witin 2 months. after the blacklist, 0
    [17:42:12] 	'spam blacklist'.  where's that?
    [17:42:33] 	http://www.mediawiki.org/wiki/Extension:SpamBlacklist
    [17:43:19] 	using it for about 18 monhts now and had not one spammer anymore since that time.
    [17:44:11] 	If someoen goes and spams manually, it even cacthes them as long as the url is in the spam list. If it isnt you simply add it and revert the guys spam and he has nothing more he can do..
    [17:44:13] 	I feel silly
    [17:44:19] 	I don't remember what version mediawiki I'm using
    [17:44:20] 	why? :)
    [17:44:27] 	update to the latest one..
    [17:44:39] 	1.6.8 (provider only supported PHP4 when I set it up)
    [17:45:00] 	and yeah, I've been meaning to
    [17:45:07] 	or call the page Special:Version
    [17:45:13] 	found it
    [17:45:37] 	ok, wtf is going on here. Check this out: 
    [17:45:46] 	[814] sixtyfour:/usr/local/www/apache22/data/mediawiki/wikis/en/dp/maintenance
    [17:45:46] 	# grep -i scriptpath ../LocalSettings.php 
    [17:45:46] 	$wgScriptPath       = "/mediawiki";
    [17:45:55] 	[815] sixtyfour:/usr/local/www/apache22/data/mediawiki/wikis/en/dp/maintenance
    [17:45:58] 	# cd ..
    [17:46:01] 	[816] sixtyfour:/usr/local/www/apache22/data/mediawiki/wikis/en/dp
    [17:46:01] 	# grep -i scriptpath LocalSettings.php 
    [17:46:01] 	$wgScriptPath       = "/mediawiki/wikis/$vhost_uri[3]/$vhost_uri[4]";
    [17:46:08] 	How is that even remotely possible?!
    [17:46:40] 	The same file, when grepped from two separate directories, reports _two different_ results?!
    [17:46:55] 	Why use grep?
    [17:46:56] 	03(mod) Give users the ability to edit their own edit summaries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10723  +comment (10wikipedia.danny.b)
    [17:47:06] 	$emacs LocalSettings.php
    [17:47:14] 	$cd maintenance
    [17:47:19] 	emacs? 
    [17:47:21] 	$emacs ../LocalSettings.php
    [17:47:22] 	Are you joking? 
    [17:47:31] 	huh?
    [17:47:37] 	emacs doesn't go within 40 billion kilometers of any machines I touch
    [17:47:43] 	hmm
    [17:47:48] 	Why would that be?
    [17:47:51] 	setuid: do you have a link somewhere in the path?
    [17:48:11] 	if you've got a link to another directory, it looks like a child of the current directory
    [17:48:13] 	03(NEW) Update for Cantonese language (zh-yue) #49, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10724 15enhancement; normal; MediaWiki: Internationalization; (shinjiman)
    [17:48:18] 	kjdavies, Yes, LocalSettings.php is symlinked further up in the tree... I have 54 vhosted wiki intsances, running from the same source base
    [17:48:23] 	but if you cd into that directory and look in '..', it points at the 'real' parent directory
    [17:48:29] 	But there is only _one_ LocalSettings.php file
    [17:48:36] *MinuteElectron 	ponders why people dislike emacs.
    [17:48:47] 	Ok, so this is exactly why rebuildall.php is grabbing the wrong db then
    [17:49:04] 	and if rebuild all does, so do other parts...
    [17:49:13] 	Not likely
    [17:49:19] 	Let me put a static LocalSettings.php in here
    [17:49:21] 	setuid: hmm.  do 'ls -lF ../LocalSettings.php'.  That should show the true path to the file
    [17:49:44] *kjdavies 	has been bitten by symlinks before
    [17:50:48] 	03leogregianin * r24407 10/trunk/tools/planet/pt/ (11 files in 3 dirs): Creating portuguese planet
    [17:50:52] 	Yep, its hard-coded throughout the mediawiki source tree to use mw_ as table prefixes, not the _actual_ table prefixes as defined by $wgDBprefix in LocalSettings.php
    [17:50:55] 	crap
    [17:51:02] 	Its all disjointed
    [17:51:19] 	Its incompatible with itself
    [17:52:16] 	it wouldn't be hard to write a script to replace mw_ with something else ("{$wgDBprefix}")
    [17:52:35] 	assuming, of course, that that variable is known everywhere mw_ is currently used
    [17:52:58] 	03leogregianin * r24408 10/trunk/tools/planet/ (6 files in 6 dirs): link to planet portuguese
    [17:53:37] 	Right, but I hate littering the code with these little peeks and pokes with perl one-liners to s,old,new,g' vars and strings
    [17:53:50] 	function dropTextIndex( &$database )
    [17:53:51] 	{
    [17:53:51] 	        $searchindex = $database->tableName( 'searchindex' );
    [17:54:00] 	For example, hard-coded table name in rebuildtextindex.inc
    [17:54:21] 	can someone help me? i am trying to let some namespaces be searched by default, but it doesnt work: http://rafb.net/p/3ZS3wC64.html
    [17:54:55] 	setuid: you sure its hardcoded? Maybe the databse class uses the prefix in itself..
    [17:55:52] 	relaoded the page after this change with shift pressed ?
    [17:56:12] 	After what change? 
    [17:56:48] 	Searchindex is `mw_searchindex`
    [17:57:00] 	Nope, its getting it from somewhere global, because none of my tables begin with mw_ at all 
    [17:58:37] 	aton``: Incorrect syntax.
    [17:58:39] 	03(mod) Give users the ability to edit their own edit summaries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10723  (10alex.emsenhuber)
    [17:59:26] 	MinuteElectron, i followed the help
    [17:59:33] 	aton``: once sec
    [17:59:34] 	SimonMoon: so, the default setting for SpamBlacklist ('use mediawiki's blacklist') is usually sufficient?
    [18:01:20] 	aton``: http://paste2.org/p/5242
    [18:02:09] 	MinuteElectron, thanks! (you shouldnt have done all the work lol)
    [18:02:27] 	aton``: Simple find and replace, but difficult to tell you using words.
    [18:02:59] 	yes kjdavies
    [18:03:37] 	should I fetch wikimedia's blacklist?  Doco says it happens automatically every 10-15 minutes
    [18:03:50] 	MinuteElectron, thanks
    [18:03:57] 	kjdavies: I would copy it down to a local TXT file
    [18:04:07] 	I'm trying to install this extension: http://www.mediawiki.org/wiki/Extension:Variables
    [18:04:12] 	And maybe run a cron every 24 hours or so for an update
    [18:04:13] 	aton``: My pleasure.
    [18:04:22] 	but it's just causing the code of the extension to display at the top of my wiki
    [18:04:31] 	SimonMoon: I don't have access to cron on this server, I think
    [18:04:42] 	RedACE: Check for whitespace.
    [18:04:49] 	MinuteElectron, ah, ok..
    [18:05:13] 	RedACE: In the extension files and LocalSettings.php
    [18:05:52] 	there isn't any
    [18:05:54] 	kjdavies: most allow you crontab access
    [18:06:04] 	nearlyfreespeech.net doesn't seem to
    [18:06:08] 	but then i didnt update mine for about 4 months now :)
    [18:06:22] 	RedACE: link?
    [18:06:32] 	shit shit shit, this just killed my entire project
    [18:06:32] 	You can do it by hand once a month and you will be fine too..
    [18:06:40] 	https://docs.its.uwo.ca/wiki/Main_Page
    [18:06:46] 	setuid: congratulations, welcome to hell
    [18:06:55] 	SimonMoon: could do... though as I said, doco says it'll pull ever 10-15 minutes
    [18:06:55] 	2 years of work
    [18:06:59] 	MinuteElectron, still doesnt work
    [18:07:08] 	setuid: any backups?
    [18:07:10] 	setuid: you need to be able to update a single wiki?
    [18:07:14] 	SimonMoon, backups? 
    [18:07:20] 	aton``: hmm, refresh your cache + log out and try
    [18:07:20] 	How would backups of broken code help? :) 
    [18:07:28] 	http://rafb.net/p/7eWxwD59.html
    [18:07:30] 	MinuteElectron, ya, I just logged out and I see it's gone :)
    [18:07:33] 	RedACE: I don't see any code.
    [18:07:42] 	looks like something I did fixed it
    [18:07:45] 	RedACE: heg
    [18:07:48] 	*heh
    [18:07:52] 	ah okay now it works
    [18:07:54] 	kjdavies, I've imported the English Wiktionary pages-all dump into a local database, and the page titles are there, but the page content is missing
    [18:07:58] 	oh well, thanks =)
    [18:08:13] 	setuid: That took you two years?
    [18:08:19] 	aton``: cool
    [18:08:24] 	SimonMoon suggested I try running rebuildall.php
    [18:08:28] 	MinuteElectron, Of course not
    [18:08:34] 	:D
    [18:08:59] 	a project that big would take a lifetime!
    [18:09:00] 	But rebuildall.php and all of the .inc files in ./maintenance are hard-coded to the non-prefixed table names
    [18:09:13] 	03(NEW) Activated Breadcrumb in help namespace of de.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10725 15enhancement; normal; Wikimedia: General/Unknown; (michael.frey)
    [18:09:27] 	MinuteElectron, http://projects.plkr.org/encycloplucker for one example
    [18:09:29] 	setuid: Then un-hard-code them.
    [18:10:54] 	I'm not confident that rebuildall.php is the solution
    [18:11:21] 	setuid: Remind me of your problem.
    [18:11:50] 	might not be, but if you only have the titles... thats more than odd..
    [18:11:59] 	MinuteElectron, I imported the English Wiktionary content into a local database, and all of the content is missing. Titles are there, but no page content (i.e. no definitions for each word) 
    [18:12:37] 	Are you sure you downloaded the right dump?
    [18:12:55] 	I downloaded all of them for 9 languages, 6 projects
    [18:13:06] 	Ok.
    [18:13:19] 	Have you tried a re-import?
    [18:13:24] 	Yep
    [18:13:32] 	truncated text, page and revision and reimported
    [18:13:44] 	setuid: Is the content in the MySQL database?
    [18:13:55] 	Yep, rows are there
    [18:14:10] 	mysql> select count(*) from dp_en_page\G;
    [18:14:10] 	*************************** 1. row ***************************
    [18:14:10] 	count(*): 566359
    [18:14:28] 	Have you tried dropping the database and recreating and reimporting?
    [18:14:31] 	has anyone deployed mediawiki in quercus (php on the JVM)?
    [18:14:39] 	The entire database? Hell no
    [18:14:47] 	setuid: ?
    [18:14:50] 	There's over 920 tables in this mediawiki database
    [18:15:11] 	setuid: Why are you using tables?
    [18:15:16] 	*prefixes
    [18:15:34] 	Because I have one database, with each wiki represented in the db with a different table prefix
    [18:15:45] 	ok
    [18:15:45] 	so dp_en_, dp_nl, etc. 
    [18:16:27] 	setuid: setuid Tried drpiing the tables?
    [18:16:29] 	*dropping
    [18:16:33] 	Yes
    [18:16:42] 	But I'll humor you and drop them again and reimport
    [18:16:55] 	I am willing to bet the Wiktionary dumps are screwed.
    [18:16:58] 	One sec.
    [18:17:32] 	setuid: You having this problem with just enwt or dewt too?
    [18:17:37] 	Let me check
    [18:17:47] 	setuid: There is no need to humor me.
    [18:18:15] 	If I keep clicking random page (Zufällige Seite), some pages have content, most are blank though... except their titles. 
    [18:18:28] 	hmm
    [18:18:36] 	ok, let me see how big the dumps are
    [18:19:00] 	setuid: You use pages-articles.xml.bz2 ?
    [18:19:04] 	Yes
    [18:19:17] 	14MB, fair enough.
    [18:19:34] 	MD5 (enwiktionary-latest-pages-articles.xml.bz2) = 379617bbb35d735984e564aa23cbbb9c
    [18:19:46] 	setuid: I am downloading de
    [18:19:52] 	53M 
    [18:20:25] 	setuid: What about dewik?
    [18:20:44] 	MD5 (dewiktionary-latest-pages-articles.xml.bz2) = 440516ca98ada49bff9411409edc21ea
    [18:20:55] 	yes, 14M 
    [18:20:59] 	ok
    [18:21:06] 	downloading as we speak
    [18:21:30] 	setuid: Which tool do you use to import?
    [18:21:37] 	mwdumper
    [18:21:40] 	ok
    [18:22:06] 	java -Xmx512m -XX:+UseParallelGC -XX:ParallelGCThreads=4 -server -XX:+UseAdaptiveSizePolicy -jar ./mwdumper.jar --format=sql:1.5+dp_de_ wiktionary/de/dewiktionary-latest-pages-articles.xml.bz2 > wiktionary/dp_de.sql
    [18:22:47] 	Note the --format bit
    [18:22:50] 	ok
    [18:23:04] 	That adds the table prefixes to the output file for the INSERT statements
    [18:23:12] 	vening
    [18:26:09] 	setuid: Can I skip the -server bit?
    [18:26:27] 	mr JRE doesn't have it.
    [18:26:31] 	*m
    [18:26:33] 	*my
    [18:26:35] 	Sure
    [18:26:47] 	Its just a cpu/memory load balance tweak
    [18:26:52] 	Sun's jvm has it 
    [18:26:58] 	You can skip most of those java args
    [18:27:18] 	Exception in thread "main" java.lang.IllegalArgumentException: SQL version not k
    [18:27:22] 	nown: 1.5+dewiktionary-latest-pages-articles.xml.bz2
    [18:27:26] 	hmm
    [18:28:06] 	category proble: I have a template that, among other things, places the page transcluding it into some categories. the documentation then gives an example and so ends up winding up in these (wrong) categories too. Is there a way to disable category inclusion?
    [18:30:02] 	setuid: My computer apparently doesn't have enough storgae.
    [18:30:10] 	its not that large ;) 
    [18:30:25] 	Exception in thread "main" java.io.IOException: Not enough storage is available
    [18:30:28] 	to process this command
    [18:30:36] 	That's RAM, probably
    [18:30:39] 	yep
    [18:30:42] 	thought so
    [18:30:42] 	Throw the -Xmx in there
    [18:30:47] 	128m should be fine
    [18:31:10] 	Invalid maximum heap size: -Xmx
    [18:31:11] 	Could not create the Java virtual machine.
    [18:31:29] 	oh
    [18:31:30] 	ok
    [18:31:35] 	i see
    [18:32:11] 	Something is hoggin my PC>
    [18:33:08] 	Okay, restarting brb.
    [18:36:06] 	Just did a database dump, recreated the db tables, reinstalled the wiki, reimported the database dump... still empty
    [18:37:42] 	hmm
    [18:39:00] 	I'm using MyISAM... let me try a left-field idea and use InnoDB
    [18:40:25] 	MD5 
    [18:40:35] 	dewiktionary-latest-pages-articles.xml.bz2 440516ca98ada49bff9411409edc21ea
    [18:40:49] 	That matches yours.
    [18:41:09] 	So your dumps aren't correupted.
    [18:41:43] 	Ok
    [18:43:46] 	I'm trying InnoDB now
    [18:44:16] 	setuid: I will try mwimport - can't get mwdumper to work. It will at least give some info about the problem.
    [18:46:53] 	This code is the best to use the wiki without /index.php? http://paste.milk-it.net/518
    [18:48:40] 	Is this code the best to use the wiki without /index.php? http://paste.milk-it.net/518
    [18:50:45] 	!repeat
    [18:50:45] 	Please do not repeat yourself to often, if little conversation has occurred since your last message then it is likely no one has an answer or someone who does hasn't looked in IRC yet. You stand a chance of annoying people if you repeat yourself.
    [18:51:18] 	milk-it: its one possible solution
    [18:51:27] 	"the best" does not exist per se :)
    [18:54:54] 	MinuteElectron, sorry, my english is sux! I attempt correct the phrase
    [18:55:15] 	SimonMoon, thanks! :D
    [18:55:38] 	milk-it: Oh, sorry - I didn't relaise.
    [18:57:59] 	03(mod) Closing of Herero Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10690  +comment (10robin_1273)
    [19:09:21] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  (10tcrow777)
    [19:11:49] 	MinuteElectron, I solved it 
    [19:11:55] 	$wgCapitalLinks = 0;
    [19:13:05] 	heh
    [19:13:12] 	How silly
    [19:13:14] 	Such a simple problem.
    [19:13:26] 	*solution
    [19:13:43] 	setuid: Two years of work wasted?
    [19:13:49] 	No no
    [19:14:05] 	If I had to go gutting the codebase to rewrite all the static calls in the ./maintenance/ dirs and other php files
    [19:14:09] 	That problem still exists
    [19:15:18] 	bugzilla.isyourfriend.com
    [19:15:27] 	AFK
    [19:16:24] 	:O
    [19:27:06] 	hi
    [19:27:26] 	<3
    [19:27:33] 	can anyone of you tell me whats a 'hook'?
    [19:27:52] 	it's a word that rhymes with book
    [19:28:04] 	no need to thank me.
    [19:28:11] 	RedACE: thank you, helps me a lot :)
    [19:28:16] 	helping the community is reward enough.
    [19:28:52] 	if you talk about a hook in the MW code, its a sort of "entry point"
    [19:28:59] 	Hi all, is there a common place to find out when updates are released? not the mailing list, preferably an RSS feed?
    [19:29:17] 	hooks call functions extensions at whatever time the hook is called
    [19:29:21] 	and what do i need to install to restore images?
    [19:29:46] 	Instead of you going and put code directly into that location, a hook allows you to create a function and "register" it with that hook. When the code gets executed at that point, the hook calls all functions registred with it, and its executed as if it would be at that location
    [19:29:48] 	restore images?
    [19:29:57] 	RedACE: yes
    [19:30:15] 	like from backup?
    [19:30:17] 	adrian: not that i am aware of. The low frequency update mailinglist should be suffient though
    [19:30:32] 	RedACE: i am sysop in a wiki
    [19:30:42] 	so i can restore articles
    [19:31:00] 	and i want to restore an image wich was previously deleted
    [19:31:15] 	adrian: you could track chancges on this page though: http://www.mediawiki.org/wiki/Template:MW_stable_release_link
    [19:31:28] 	go to the image: page
    [19:31:33] 	for the image
    [19:31:40] 	thx SimonMoon  I must have looked at the dev list :$
    [19:32:16] 	RedACE: yes
    [19:32:22] 	adrian: sign up here: http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
    [19:32:29] 	that will only mail you if there is a new version
    [19:32:34] 	click (rev)?
    [19:32:51] 	many thx SimonMoon  
    [19:33:30] 	really, you'll only get like 1 or 2 emails a month from that list
    [19:33:32] 	RedACE: yes
    [19:34:10] 	viele: um... so did I answer your question?
    [19:34:25] 	no
    [19:34:44] 	wait a moment, ia am uploading a screenshot at the moment
    [19:39:00] 	RedACE: http://abf.test.sonstiges.ch.volumax.hostorama.ch/index.php/Bild:Screenshot.jpg thats my situation
    [19:40:05] 	um, what exactly you dont udnerstand there? Simply write somethin in that field and press wiederherstellen :)
    [19:40:22] 	SimonMoon: i want to restore the image
    [19:40:28] 	Greetings to the eidgenossenschaft btw :)
    [19:40:56] 	Mediawiki conseirders everythign a "page"
    [19:41:24] 	so when it says there seite wiederherstellen" thats just semantics. Just insert why you want to put it online again, or something, and click teh button and it should do it
    [19:41:33] 	SimonMoon: i can restore simple articles http://abf.test.sonstiges.ch.volumax.hostorama.ch/index.php?title=Spezial%3ALogbuch&type=delete&user=ABF&page=Linux
    [19:42:02] 	but if i click wiederherstellen at that point... wait, ill show you
    [19:42:23] 	it's all greek to me
    [19:42:28] 	http://abf.test.sonstiges.ch.volumax.hostorama.ch/index.php/Bild:Arbsitsplatz.jpg
    [19:42:32] 	that happens
    [19:42:35] 	its german :)
    [19:43:07] 	RedACE: you can log in and change the language :)
    [19:43:15] 	it says there is no such image
    [19:43:26] 	SimonMoon: yes.
    [19:43:34] 	there was one before i deleted it
    [19:43:42] 	but i can not restore
    [19:44:35] 	You deleted it with all its revisions when you deleted it
    [19:44:52] 	that means its gone for good, you have to reupload it
    [19:45:21] 	SimonMoon: but i do not oversight it
    [19:45:37] 	and in wikipedia andmins can yust restore images
    [19:45:42] 	and in commons as well
    [19:46:02] 	there are two ways to delete
    [19:46:08] 	one is with the simple page delete on the top
    [19:46:24] 	the other is with a link, that will not only delete the image as is, but all its past revisions
    [19:46:29] 	thats what i have one (first)
    [19:46:37] 	so if you do that (and i guess you are sysop, so you can) its gone for good
    [19:46:51] 	no restore possible
    [19:47:05] 	i am sysop an beaurocrate so i can :)
    [19:47:12] 	not possible?
    [19:47:14] 	:(
    [19:48:35] 	thank you anyway.
    [19:48:43] 	when you delete f iel in wondos it goes into the recycle bin
    [19:48:52] 	you can retore it from that easy
    [19:48:57] 	but once you enpty it, its gone
    [19:49:04] 	the same happened here
    [19:49:20] 	you used the option to delete it for good, so it is not there anymore, at all
    [19:49:27] 	SimonMoon: not really. i can restore it in windows even then
    [19:49:28] 	sorry :(
    [19:49:37] 	its a general analogy
    [19:49:44] 	with cirtan programs
    [19:49:45] 	tehcniclly the same is true on this here
    [19:50:01] 	but i doubt you have that kinda access to the webserver to get it back again
    [19:50:49] 	SimonMoon: but whats with http://commons.wikimedia.org/w/index.php?title=Special%3ALog&type=delete&user=Notschrei&page=Image%3AWappen_Freudenstadt.png ?
    [19:51:52] 	the delete there is not permanent, it is a "soft delete"
    [19:52:17] 	since you are not sysop there you cant do the hard delete there, so its "safe"
    [19:52:22] 	how can i 'soft delete'?
    [19:54:54] 	i have to go now
    [19:55:03] 	thanks anyway :)
    [19:55:37] 	use the normal delete link at top of the page and make sure you dont check teh "delete all revisions" checkbox
    [19:55:41] 	np, yw
    [20:03:31] 	03(mod) Allow multiple namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628  +comment (10eep)
    [20:06:54] 	Is there a list that outlines the changes to mediawiki since 1.6.10 to 1.10.1?
    [20:08:18] 	03(mod) Activated Breadcrumb in help namespace of de.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10725  (10robchur)
    [20:12:24] 	03(mod) A user can get around the 255 character signature limit. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10715  15enhancement->minor; lowest->low; +comment (10robchur)
    [20:21:31] 	what would happen if google was crawling a page of searched result of another search engine?
    [20:21:50] 	They're smart enough not to do that
    [20:22:09] 	setuid @.@ how please?
    [20:22:18] 	How what? 
    [20:22:35] 	they can't know all the names of search engines in the world..
    [20:22:49] 	No, but they can know what a SERP looks like
    [20:22:53] 	And they add them all the time
    [20:23:57] 	setuid i see... so how about if i make a site with infinite 'next next next' links?
    [20:24:10] 	Why would you do that? 
    [20:24:15] 	What is the goal here? 
    [20:24:23] 	because i need to make a seach engine
    [20:24:43] 	i need to solve that problem
    [20:25:18] 	i can think of using the basic method to limit the level of links that it could search into
    [20:25:28] 	but don't know if there could be any better method
    [20:26:33] 	What does google's crawling have to do with YOUR search engine? 
    [20:27:46] 	Google should not be crawling your SERPs, they should be crawling the content on your site that the SERPs reference. 
    [20:27:55] 	This is precisely what robots.txt was designed for
    [20:35:32] 	Q: is $wgAjaxSearch disabled on WMF projects ?
    [20:35:43] 	I think so
    [20:36:25] 	oh well .. was triyng to make a userscript, like with (also disabled) Live Preview...
    [20:45:23] 	Hi Bdk[a]. :)
    [20:45:43] 	hi Jack_Phoenix 
    [20:46:27] 	setid ya...i mean if my search engine searched google, it would loops...
    [20:47:43] 	DavidHKMrPowers: err - it may "loop" anyway, no matter if you hit aother search engines or not. links may lead in circles.
    [20:48:15] 	the solution is simple: before loading a url, ask your database if you have already looked at that url recently. if yes, skip it.
    [20:48:17] 	hi all!
    [20:49:31] 	hoi Duesentrieb_ :-)
    [20:49:33] 	DavidHKMrPowers:  also, you should REALLY comply with robots.txt. And preferrably also follow the robots noindex/nofollow directives.
    [20:49:36] 	moin Bdk[a] 
    [20:49:38] 	Im trying to have a situation where a person creates a phpbb v3 RC3 account and then log into both a wiki and phpbb. I've followed the instructions at http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration
    [20:49:53] 	but I've descended into a mess of errors
    [20:50:26] 	is it RC3 being very different to RC1 or something else (like /me being an idiot)?
    [20:51:00] 	tc1415: keep in mind that the extension is in no way official, and that the author of that extension is really the only definite person to ask.
    [20:51:13] 	i have no clue about phpbb versions (or phpbb at all).
    [20:51:14] 	ok, was just wondering if any of you had any advice
    [20:51:19] 	but what *are* the errors you are getting?
    [20:51:47] 	tc1415: R3 is very different.
    [20:51:47] 	tc1415: well, you'll have to give us some more info to gon on...
    [20:51:51] 	a myriad, the first one was complaining about a comparison between latin_swedish_ci and utf8_bin
    [20:52:05] 	yay mysql collation cruft.
    [20:52:09] 	:D
    [20:52:12] 	apu
    [20:52:12] 	fixed by replacing all the collation conversion sql statments
    [20:52:39] 	gimmie a sec whilst I recreate the next error on my test box
    [20:53:15] 	Duesentrieb_ i see! so robot could stop me from going into infinite uesless links?  i know it should check whether a link has been fetched. but if a page has infinite next next next links, say page.php?n=1, page.php?n=2, etc, it could still have problem.
    [20:54:10] 	DavidHKMrPowers: you know ther eare sites that are specifically designed to be traps for search engines? http://en.wikipedia.org/wiki/Link_farm
    [20:54:20] 	now i'm getting this http://rafb.net/p/PZgU3J81.html :S
    [20:54:43] 	DavidHKMrPowers: indexing all the web is not trivial. following all links will give you an infinite number of pages.
    [20:56:15] 	tc1415: well, it's missing a class - no idea where it expects to get it from. "session" is not defined by mediawiki, and never was afaik.
    [20:56:37] 	maybe it's trying to load it from phpbb? and doesn't find it because it's called something else in your version?
    [20:56:42] 	no, you are correct, and it livers in phpbbs session.inc
    [20:56:56] 	which is never included
    [20:57:05] 	_however_
    [20:57:08] 	yay broken extensions...
    [20:57:17] 	including it produces a more pernicious error
    [20:57:56] 	tc1415: this soundy like you should tak to the author of that extension, or just write your own. implementing an auth plugin isn't that hart, afaik
    [20:58:15] 	http://rafb.net/p/lfbVYJ43.html
    [20:58:22] 	if your interested
    [20:58:34] 	and that error make *no* sense
    [20:59:42] 	tc1415: well, the function exists. but there might be a conflicting class called user defined by phpbb. or some other obscure screwup.
    [20:59:51] 	lol, i know
    [20:59:58] 	ill write my i think
    [21:00:03] 	might also be a problem with order of initialization or somethign
    [21:00:07] 	any good links to an auth extension guide?
    [21:00:49] 	tc1415: i think there's an exampel auth plugin in the extensions module...
    [21:00:55] 	ok, thanks
    [21:01:48] 	tc1415: http://www.mediawiki.org/wiki/AuthPlugin
    [21:02:05] 	Duesentrieb_ thanks! it seems i understand it
    [21:02:06] 	tc1415: "If you need to write your own plugin, see the source doc at Mediawiki Source Documentation" -> http://svn.wikimedia.org/doc/classAuthPlugin.html
    [21:02:59] 	thank you all
    [21:03:13] 	tc1415: this is probably a simple example: http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER
    [21:03:18] 	nice little project for the weekend :)
    [21:03:26] 	(havn't looked at it closely, may be rubbish, i dunno)
    [21:04:46] 	tc1415: if you get it to work, put it up on mediawiki.org, or at least put a link on the old extension's talk page
    [21:05:18] 	will do!
    [21:09:00] 	03(NEW) Wikipedia page does not show interwikilinks at [[Larynx]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10726 15enhancement; normal; MediaWiki: Page rendering; (mathias.schindler)
    [21:13:54] 	03(mod) Wikipedia page does not show interwikilinks at [[Larynx]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10726  15enhancement->normal (10minuteelectron)
    [21:21:50] 	hmmm, it seems the extension works
    [21:22:01] 	it is the signle signon stuff that is flawed
    [21:23:18] 	very nice if you get it to work. I have 8 wikis running off one VB user db
    [21:24:17] 	yeah, single signons are broken for phpbb3, so ill edit the wiki to note this
    [21:24:32] 	i may have a look at why they are not working when I'm back from Vienna next week
    [21:24:55] 	Duesentrieb_: Thanks again for the help the other day.
    [21:25:07] 	Duesentrieb_ Everything is working fine now.
    [21:25:17] 	tc1415 you mean signing in using the phpbb3 user db?
    [21:25:35] 	14(INVALID) Wikipedia page does not show interwikilinks at [[Larynx]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10726  +comment (10wiki)
    [21:27:16] 	using the db works, logging into phpbb3, then going to the wiki requires you login again, the single login is broken
    [21:27:22] 	*single login _bit_
    [21:28:04] 	Well if you are on the same domain, make a hack (extension) that reads the phpbb3 cookies :)
    [21:28:16] 	did the same thing for vb. Still fine runing it, but in essence it works there
    [21:28:29] 	should work just as fine for phpbb
    [21:28:46] 	yeah, ill have a look when i'm back from vienna about doing that
    [21:29:00] 	need to actually set this site up now :)
    [21:43:54] 	03david * r24409 10/branches/liquidthreads/ (4 files in 4 dirs): (log message trimmed)
    [21:43:56] 	Merged revisions 24397-24408 via svnmerge from
    [21:43:58] 	svn+ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3
    [21:44:00] 	........
    [21:44:02] 	 r24404 | greg | 2007-07-27 04:52:38 -0700 (Fri, 27 Jul 2007) | 2 lines
    [21:44:04] 	 Add ar_page column
    [21:44:06] 	........
    [21:49:05] 	Is there a way to make a column un-sortable when using sortable? I don't mean "don't have a sort box", I mean "is always the same no matter how the other columns are sorted", for a rank column?
    [22:13:27] 	03(mod) CAPTCHA challanges keep blind users from using wikimedia' s full functionality - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10340  +comment (10Platonides)
    [22:13:27] 	14(DUP) CAPTCHA doesn't work for blind people - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4845  +comment (10Platonides)
    [22:22:58] 	nice
    [22:23:00] 	;P
    [22:47:34] 	03(mod) CAPTCHA challanges keep blind users from using wikimedia' s full functionality - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10340  (10oedipus)