[00:03:31] I hope this is the right place for this... I apologize greatly if it is not. [00:03:31] I'm trying to get my mediawiki database out of a linux xampp install. I can successfully export the database with phpmyadmin, but of course this misses the actual page text. [00:03:31] dumpBackup.php fails utterly to connect to xampp's mysql daemon and I can't figure out how to tell it to look in the correct place (or even what the correct place is.) I tried mw-tools, but it decided to delete the backup rather than import it into the new database. [00:03:31] I have located the folder containing the (I thought the) full database, and the place I want the full database, cleared the target and copied the 'full' into it, and ended up with exactly what I started with: lots of pages, no text. [00:03:34] So my question is, the page text has to be stored _somewhere_, does anyone know where, and if I can just move the file manually? [00:05:52] why would phpmyadmin miss the actual page text? [00:06:03] the pag text is stored in teh database on a default setup [00:06:14] that's what I thought too [00:06:20] well it is [00:06:24] but it's not there [00:06:33] where do you expect it to be [00:07:49] I tracked down the database locations in the actual filesystem, I'd expect it to be somewhere in there. [00:07:57] no [00:08:02] it is stored in binary [00:08:13] dump your database using mysqldump [00:08:17] it should be in that dump [00:08:35] I'll try that [01:27:14] "Error creating thumbnail". Is there a script to run for this? [01:28:04] 03simetrical * r38019 10/trunk/phase3/includes/ (OutputPage.php parser/ParserOutput.php): [01:28:04] Move some member variable initialization to the declarations and out of [01:28:04] constructors. This is better style and less error-prone: [01:28:04] OutputPage::$mIsPrintable was first being set to true and then to false in the [01:28:05] constructor, and $mAllowUserJs and $mLinkColours are missing defaults entirely. [01:28:07] Also, Tim said there's some lazy-loading or shared memory or something if it's [01:28:09] done this way, so it might be a performance boost. [01:34:10] Hello, I'm back and I'm trying to set up mediawiki locally on my computer here (not on the web), can I get any help please? [01:43:05] !ask | theandric [01:43:05] --mwbot-- theandric: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [01:45:01] I think his question was, how to set up mw locally on his computer [01:45:47] Yes [01:46:57] Try http://www.mediawiki.org/wiki/Installation [01:48:25] I've read that page a dozen times, but I do not know exactly where to put the mediawiki files [01:48:34] i've downloaded and installed xampp [01:50:40] Have you checked http://www.mediawiki.org/wiki/Manual:Newcomers_guide_to_installing_on_Windows ? [01:50:58] no, I'll check it now [01:51:04] thanks [02:13:37] I've installed xampp but via the guide, I type in http://localhost but it doesn't take me to http://localhost/xampp/ like it says in the guide [02:49:42] Bah. Where's thumb.php in the trunk? [02:50:33] 03(NEW) mailing list for fawiki admin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14916 15enhancement; normal; Wikimedia: Mailing lists; (mohsensalek) [02:52:03] 03(mod) mailing list for fawiki admin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14916 (10mohsensalek) [02:52:24] nm [03:21:51] Is there a way to create users as the sysop? I don't want users to be able to create their own user accounts but would like to create them manually as the admin user [03:22:09] i dont see it in the faq how to create a user like that [03:22:42] im assuming it wasnt meant to work like that but wanted to know if it can [03:24:54] This might help: http://www.mediawiki.org/wiki/Manual:Userrights [03:47:09] illsci: Was that what you were looking for? [03:49:25] hello all ........ am looking for skizzerz can anyone help please [03:50:00] He's not online at the moment. [03:50:22] He has a talk page, though: http://www.mediawiki.org/wiki/User_talk:Skizzerz [03:50:27] right u r MZ did he come on earlier pl [03:50:57] tku - i shall drop a message for him on the talk page too [04:05:15] anyone here like UNIX fortunes? [04:37:03] \join #zen-cart [04:48:43] 03(mod) Timezone for fi.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14642 (10N/A) [04:59:43] hi, I installed Extension:UserFunctions and I have this : PHP Fatal error: Cannot redeclare wfuserfunctions() (previously declared in /var/.../extensions/UserFunctions/UserFunctions.php:39) in /var/.../extensions/UserFunctions/UserFunctions.php on line 48 [05:05:19] Anyone know if the performance implications of $wgCompressRevisions are negative enough that it's not a good idea unless you really need it? (example wiki: average article size ~ 2.5kb, ~9000 "good" articles, current text table size 820.8Mb) [05:06:08] We're not hurting for disk space, I just wonder if it might actually be faster, given that we're not CPU-bound either. [05:22:13] Well, honnesly, if you turn it on then it's going to need to be uncompressed and recompressed every time the software wants to make use of the data or save it [05:22:35] There's no way you could make things faster by doing that [05:24:08] The MySQL field is a BLOB, so the database doesn't care what is inside there during queries, so it doesn't make much difference on the size of the data [05:25:59] OK. Was just thinking it might be a bit faster, if it had to get it from the disk - but I guess the difference isn't that great. [05:26:12] Plus, it's not likely to happen often. :-) [05:29:21] ^_^ Ya, especially if you use Memcached [05:31:04] First stops for MediaWiki performance and removing barriers blocking native features from being used... Memcached and an Optcode cache (PHP Accelerator) [05:32:51] Yeah, we've got both them in place, plus squid. [05:33:06] Was tempted by Varnish, but holding off on that for a while more. :-) [05:33:08] mmm, squid [05:33:58] cephalopods over resin! [05:35:57] APC was almost full, but it improved significantly when we got everything using the pool's includes and extensions. [05:48:14] Hmm.. I should check out how much of eAccelerator is being used [05:50:49] Bleh... 100% [05:50:57] Time to fix [05:57:21] 03demon * r38020 10/trunk/phase3/ (CREDITS README): Add CREDITS file, listed all those who've committed something to trunk since the 1.13 branch. Need patch submitters (any thus far?) and translators. [06:15:53] hi need help! [06:17:48] im using the Extension:ArticleComments and it looks ugly.. as per instructions here http://www.leerwiki.nl/How_to_add_comment_guestbook_forum_to_mediawiki_(extension) i need to place the css to the theme css.. im using a paul gu theme and dnt knw whr to place it .. [06:18:38] help! [06:18:48] MediaWiki:nameoftheme.css [06:18:54] is usually the right place [06:20:19] okay let me see [06:21:19] Odd . . . ETags are calculated in Article.php regardles of whether they're being used . . . [06:23:33] well the main.css imports 3 diff css [06:26:48] should i paste the code in a seperate css file and import that css in the extension.php? [06:28:22] That sounds like a good thing to try, sentinel100. [06:29:32] well then would i have to include it in the skins css file? considering the extension is being included in localsettings.php it should automatically import the required css file rite? [06:30:51] no that's a bad idea [06:31:01] you should not have to edit any files on disk [06:31:50] you want to edit the article with the name of [[MediaWiki:nameoftheme.css]] and put the css code in there [06:31:53] hmm.. well how about add the css tags to common.css [06:32:09] i would greatly appreciate if someone had a look at http://www.leerwiki.nl/How_to_add_comment_guestbook_forum_to_mediawiki_(extension) [06:32:52] OverlordQ: the theme name is gumax [06:33:03] then edit MediaWiki:gumax.css [06:33:40] hmm nope.. in /skins/ folder there is gumax.php and in /skins/gumax there is main.css [06:34:08] the main.css imports 3 diff css namely gumax_main.css gumax_template.css [06:34:17] i added the tags to gumax_main.css [06:34:20] and to others [06:34:29] but it didnot work i contacted the developer of the skin [06:34:41] this is wad he had to say [06:35:01] no [06:35:05] you dont edit the files [06:35:18] the CSS goes to CSS file, I don't think the extension code can go to any themes [06:35:30] http://forum.paulgu.com/viewtopic.php?f=6&t=140 [06:35:31] *on your wiki* you edit MediaWiki:gumax.css [06:35:36] *on your wiki* you edit MediaWiki:gumax.css [06:35:51] hmm... well but i dont see it calling gumax.css anywhere [06:35:58] ie: your wiki is www.somesite.com/wiki/ [06:36:06] yes [06:36:08] you put that css in www.somesite.com/wiki/MediaWiki:gumax.css [06:36:32] okay i will do that but IMHO since the skin name is gumax.php and it imports main.css [06:36:37] shouldnt i be editing main.css? [06:36:48] *shrug* do whatever [06:36:48] or rather y not add it to common.css? [06:36:56] sorry [06:37:02] okay i will do that and get back! [06:37:10] OverlordQ: Peace sorry [06:39:27] :S no change! [06:40:07] i edited gumax.css there was nothing in it! so i placed that code! [06:40:38] edited a page added checked preview it came up with that ugly box! [06:41:08] *cleared cache too* [06:48:38] i need help im tryin to modify Extension:ArticleComments its a pretty ugly box as per instructed here http://www.leerwiki.nl/How_to_add_comment_guestbook_forum_to_mediawiki_(extension) where should i be placing the css tags? [06:48:57] cant for life of me modify the looks of the box! [06:49:01] HELP [06:58:26] :S [06:58:32] anyone ideas? [07:01:59] hi all [07:02:07] a question to ask [07:03:22] i need help im tryin to modify Extension:ArticleComments its a pretty ugly box as per instructed here http://www.leerwiki.nl/How_to_add_comment_guestbook_forum_to_mediawiki_(extension) where should i be placing the css tags? [07:03:25] cant for life of me modify the looks of the box! [07:03:27] anyone ideas? [07:03:40] sorry for repeat cannot find documentation either [07:04:40] I download the wikipedia database and when i import it to my own database the phpmyadmin gave a error [07:05:15] I don't konw how to do ,who can help me ? [07:06:54] People might be able to help more if you mentioned what the error is, JamBlock. [07:07:14] ok [07:07:19] sentinel100, we hear you, but it's 3AM EST, probably a lot of people are asleep. [07:07:49] !css | sentinel100 [07:07:49] --mwbot-- sentinel100: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [07:08:24] sentinel100: no idea about that extension though. i wrote TalkHere for a similar purpose, maybe you like that better. It's a pretty heft hack though. [07:08:32] *hefty [07:08:56] the phpmyadmin said the there are inaccurate punctuation [07:09:23] JamBlock: err. i suppose you are trying to import an XML dump? that's not a database dump. phpmyadmin can't do anything with it. [07:09:42] yes ,XML [07:09:58] JamBlock: you have to use maintenance/importDump.php from the command line (or mwdumper and then maintenance/refreshAll.php) [07:09:59] and----what can I do now? [07:10:06] this request shell access [07:10:12] *requires [07:10:17] *Duesentrieb can't type this morning [07:11:01] you can also use mwdumper to convert to sql locally, and then try to feed that into phpmyadmin. but for large amounts of data, that is bound to fail (and there may be problems with character conversion also) [07:11:33] you mean ,I should import it by CMD or Shell commend? [07:11:49] i mean you need to access your webspace via ssh [07:12:20] if you have that kind of access. if not, you'll not be able to import large xml dumps (or do any thing fancy, really) [07:12:31] for small xml dumps, you can use Special:Import [07:12:47] (for up to 100 pages, or maybe even 1000) [07:12:57] the XML dump is 896MB.... [07:13:06] yes. no way to do that over the web [07:13:19] you need "real" access [07:13:28] !shell [07:13:28] --mwbot-- Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [07:13:30] but I just want import it to my local database [07:13:40] define "local" [07:14:00] your desktop, or your webspace? [07:14:09] my computer [07:14:34] your can use mwdumper for that [07:14:36] !mwdumper [07:14:36] --mwbot-- http://www.mediawiki.org/wiki/Mwdumper [07:14:47] JamBlock: but... what are you *actually* trying to do, and why? [07:15:05] do you have mediawiki up and running on your local computer? [07:15:10] (if yes, why?) [07:15:49] yes I have mediawiki and I just want to read the wikipedia when I can't use internet [07:16:24] a local mirror [07:16:26] if you have enough disk space, i'd recommend using a static html dump for that [07:16:37] much less pain. and it has images too :) [07:16:45] maybe I hava :) [07:16:55] check out the html dump then [07:17:15] in fact ,I don't need all wikipedia [07:17:21] otherwise, yes, you have to run importDump.php from the command line (this is going to take long. probably days for the english wikipedia) [07:17:35] well.... what *do* you need? [07:17:46] I just need the chinese part [07:17:53] :) [07:18:03] ah. that's not quite so big [07:18:10] yep [07:18:17] set up adminsettings.php [07:18:20] !adminsettings [07:18:20] --mwbot-- AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [07:18:39] then run from the command line: php maintenance/importDump.php yourdumpfilehere [07:18:54] and be prepared to let it run for quite a while [07:19:02] and hope your box doesn't overhead (mine does) [07:19:36] but sorry....my english is not good ,,,,,I can't understand you last sentence [07:20:43] Duesentrieb: Appreciate ur help.. 1. is talk here a commenting system? link? 2. Im using a paul-gu skin in /skins i have gumax.php in/skins/gumax i have main.css template_main.css still since i want the css style for the comment to affect all skins shouldnt i just put it in common.css(dint wrk even after putting ther)! [07:21:07] sentinel100: TalkHere integrates the talk page into the page itself. [07:21:09] !e TalkHere [07:21:09] --mwbot-- http://www.mediawiki.org/wiki/Extension:TalkHere [07:21:37] thank u [07:21:41] sentinel100: you should edit css not in files at all. you should endit the wiki page called MediaWiki:commons.css [07:22:08] what about MWDumper? [07:22:24] it'S an alternative to importDump.php which has more options [07:22:34] ok [07:22:35] it's also faster iunder some conditions [07:22:43] but it wouldn't help you i think. [07:22:50] oh [07:22:50] it's an extra install and requires java [07:22:58] just run maintenance/importDump.php [07:23:09] ok [07:23:22] and, before you do anything, check out the static html dump :) [07:23:39] where are you from Duesentrieb?? [07:23:45] germany [07:23:47] hmm did but dint quite have any effect! dnt knw i well when i was checking Special:AllMessages i came across Article-comments-new-comment out there there was something in default value and again something in the current value is it possible that default value is overiding current value [07:23:53] oh [07:24:14] why? [07:24:19] thanks a lot [07:24:46] sentinel100: no. and... what does that have to do with css? [07:25:18] well ahem.. i did have to modify that file add some code which would call that css [07:25:33] sentinel100: but that's not css. [07:25:35] having a look may clear all ambiguties http://www.leerwiki.nl/How_to_add_comment_guestbook_forum_to_mediawiki_(extension) [07:25:44] sentinel100: if you modify files, perhaps you should know what the hell you are doing :) [07:26:07] its a request this thing has sucked the life outta me! [07:26:08] JamBlock: http://static.wikipedia.org/downloads/2008-06/zh/ [07:26:39] JamBlock: extracting the dump from there should give you about 6GB of plain HTML that you can browse. no need for mediawiki, php, apache or mysql. [07:27:08] lame as it may sound i just followed the instructions here! the extension works flawlessly, but the box looks ugly.. the extension page snd a link to this page and nw im stuck [07:27:26] ok [07:27:41] sentinel100: it sais "Also put the following CSS in your theme-CSS". That would be MediaWiki:common.css, NOT MediaWiki:Article-comments-new-comment [07:27:47] wikipedia-zh-html.ta..> 26-Jun-2008 00:21 626M [07:27:49] sentinel100: the HTML code goes into MediaWiki:Article-comments-new-comment [07:27:51] not the CSS [07:27:53] this? [07:27:59] JamBlock: yes [07:28:07] thank u very much! [07:28:38] and It' html and I can use it just via firefox or IE ? [07:28:50] sentinel100: <-- tag bit goes into the wiki page where you want to have the comment box. [07:28:58] JamBlock: yes. [07:29:21] JamBlock: i think it has thumbnail images too (not entirely sure) [07:29:22] why I not find that------emmmmm, thank u again [07:29:33] np :) [07:29:55] JamBlock: the problem with static html is that it's HUGE. So huge even the export often breaks for larg wikis. [07:30:12] this is my first time to use IRC :) [07:30:15] I see [07:30:41] my dearest german friend, well i have done exactly that... pasted the html code to the article page and the css to common.css [07:30:49] JamBlock: oh btw... i think it's 7z-kompressed. so you need to install 7zip [07:30:59] I have [07:31:04] sentinel100: url? [07:31:10] JamBlock: excellent :) [07:31:18] :) [07:31:57] not too huge ,just 600M......maybe 2-6GB [07:32:39] it's highly redundant html, and 7z compresses *massively* better than zip. so... it'S probably a bit more than thatz [07:32:49] 20GB maybe? could even be more. try it. [07:32:58] -- [07:33:00] hehe [07:33:42] oh jeebus, the en version is 14Gig compressed? [07:35:03] yep. [07:45:27] MinuteElectron: you don't share the code? [07:50:08] Nikerabbit: pardon? [08:08:41] MinuteElectron: you were complaining it was too big [08:09:16] yeah [08:09:41] if you're running a wiki on the cheap it is [08:10:01] disk space is precious in that instance (of course, that is not one of MediaWiki's goals) [08:10:34] do you share the files between installations? [08:12:22] We have three installations, the live wiki, a development wiki, and a wiki for an unrelated project - it is therefore impossible to share the code since the people who are in charge of the unrelated project want to make there own decisions, and the development wiki has to be seperate so we can test changes first. [08:12:45] Ah, ew :-/ [08:13:31] the upgrade wasn't as bad as original expected though, only about 10MB bigger than 1.12. [08:13:50] but thats 30MB in total, and we've only got 50MB left. [08:14:13] MinuteElectron: use version control system :D [08:14:34] heh, no shell access :( [08:14:46] dah [08:14:57] and I don't any of them provides views like that [08:15:05] +think [08:15:15] yeah [08:15:20] but it is still not fair complaining about mediawiki when the problem is fully elsewhere :) [08:16:14] i wasn't complaining as such, just noting that it was big [08:16:38] a VC has its own overheaded as well anyway, probably much larger than just using two installations. [08:17:16] things growing fastest are i18n and extensions [08:17:36] true [08:19:17] yeah, if worst came to worse i could easily save 45MB by deleting translations server wide [08:20:34] MinuteElectron: put them into ram if you hare more of it :) [08:21:31] hehe [08:55:31] TimStarling: ping? [08:55:40] hi [08:55:49] TimStarling: hey from sunny France :) [08:56:23] TimStarling: I configured Wikimedia Commons as a foreign repo on Betawiki. Ran into 1 warning immediately based on the documentation. I fixed that in the documentation. [08:56:31] TimStarling: now I run into another: [08:56:37] [25-Jul-2008 08:52:58] PHP Notice: Undefined property: ForeignAPIRepo::$apiThumbCacheExpiry in /var/www/w/includes/filerepo/ForeignAPIFile.php on line 34 [08:57:04] TimStarling: should that also be defined in the config (and in the docu) or should it be fixed inc code? [08:58:30] ask ^demon to fix it [08:58:46] TimStarling: will do, thanks. [08:59:09] Hmm, not here. Have to put that on a todo. [08:59:12] http://en.wikipedia.org/wiki/User:^demon [08:59:49] http://en.wikipedia.org/wiki/Special:EmailUser/^demon [09:00:01] TimStarling: that'll work :) [09:03:48] Should I upgrade to SVN to use Fckeditor? [09:05:15] no [09:09:35] can anyone tell me how i add an image to the bottom of my mediawiki?? [09:12:29] men det tyter jo ut slike festivaler over alt [09:12:38] er det et jorde s?? er det en festival der [09:13:20] eh, sorry [09:13:37] wrong chan [09:27:16] can anyone tell me how i add an image to the bottom of my mediawiki?? [09:29:21] can anyone tell me how i add an image to the bottom of my mediawiki?? [09:30:40] maximum2007weeee: repearint yourself will only get you ignored [09:30:56] the answer is basically: it's not easy, sadly. youwill probably have to hack the skin [09:30:57] !skinning [09:30:57] --mwbot-- Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [09:35:27] okay [09:35:39] and how di i move the search box to the top [09:35:42] on th eleft side [09:40:04] maximum2007weeee: there's a new hack to do that.-.. i think only since 1.13 [09:40:21] you can put an item called SEARCHBOX into the sidebar [09:40:24] !sidebar [09:40:24] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [09:40:51] especially http://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Order_of_elements [09:41:57] thank you very much [09:46:33] where do i find the version of my mediawiki? [09:47:13] Special:Version [09:47:19] 1.13 is not out yet [09:47:30] alpha should be a matter ofdays [09:47:36] release.-.. in a couple of weeks i guess [09:48:09] ahhh okay [09:48:14] are you german? [09:51:38] ? [09:56:17] Duesentrieb ?? [09:59:38] hello [09:59:56] Duesentrieb ?????? [10:00:46] maximum2007weeee: Ask your questions, don't try to annoy people. It's clear that Duesentrieb is not here right now and can't answer your question at the moment. Have some patience please. [10:00:57] trka: Hi there [10:02:23] well i just need somebody really good with mediawiki who can do some change to it for money! [10:13:15] Duesentrieb: 1.13.0rc1 is out now [10:13:33] see the topic, or the three mailing lists I announced it to, or the mediawiki.org main page [10:16:03] TimStarling are you an expert for mediawiki? [10:16:16] no, sorry [10:16:24] i need one [10:16:28] just found out about it yesterday [10:16:32] it's pretty cool eh? [10:17:11] yeah but yustomizing isnt that easy [10:17:15] cu [10:17:26] evening [10:20:06] *TimStarling wonders why maximum2007weeee is buying the idea that I found out about MediaWiki yesterday, and the same day, announced a new release to three mailing lists [10:20:41] you clicked "tell all your friends about mediawiki" when you found out about it, of course [10:21:57] can anyone help me annotate this ? http://www.mediawiki.org/wiki/PHP_configuration#Example [10:22:12] I am not sure which options are essential / useful / nonsense [10:22:52] --with-jpeg-dir and --with-iconv-dir, both nonsense [10:23:08] the rest is OK [10:23:40] --with-apxs2 is required if you want to build mod_php [10:24:46] APXS is for configuring compilation of an apache module [10:27:20] bah, who reads mailing lists? too much cruft there :) [10:27:38] hm... maybe i should subscribe to the announce list, and read that. [10:27:48] i *think* that'S why it exists... could be wrong though [10:27:59] anyway, time for lunch :) [10:28:12] http://lists.wikimedia.org/pipermail/mediawiki-announce/2008-July/date.html [10:28:15] Hello. [10:28:18] it's pretty low-traffic [10:28:34] 03(mod) Special:UnwatchedPages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14903 (10huji.huji) [10:28:38] I use [[ ]] tags, but tehe image is'nt showing up. [10:28:39] TimStarling, thanks for the input [10:29:52] hi [10:30:19] is it possible that all new article gernerally in one category? [10:32:10] kGrown: Special:UncategorizedPages is sorta that (for pages not categorized obviously) [10:32:35] 03(mod) After installing MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14911 +comment (10huji.huji) [10:34:42] OK, more text added for review... http://www.mediawiki.org/wiki/PHP_configuration#Example [10:37:02] Splarka: yes and no :-) [10:37:12] in my wiki are templates [10:37:29] for example some user create a game artcile he use the gaming template [10:37:41] but i did not see if there fill all fields out [10:37:49] so maybe its not really final [10:37:57] hopefully u understand [10:40:36] well, you can use Special:Newpages, if you want all pages in a list without exception, based on age [10:52:30] 03(mod) When __INDEX__ and __NOINDEX__ both occur, the last one in the source should win - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14899 (10huji.huji) [11:01:15] 03(mod) When __INDEX__ and __NOINDEX__ both occur, the last one in the source should win - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14899 +comment (10tstarling) [11:10:38] 03(NEW) Session cookie are not created for anonym user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14917 15enhancement; normal; MediaWiki: User login/settings; (enrico.daga) [11:13:31] Duesentrieb: can you give me an link to this http auth plugin? [11:19:35] saerdnaer: http://www.mediawiki.org/wiki/Extension:HttpAuth and http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER [11:19:42] don't know which one is better [11:21:37] is anyone willing to do some userrightchanges and some design changes to my mediawiki for money?????? [11:22:12] Duesentrieb: Naja die gehen beide davon aus, das HTTP Auth schon davor kommt, die Authenifizierung also vom Webserver uebernommen wurde [11:22:30] ja, so functioniert http auth nunmal [11:22:32] das ist die idee [11:23:04] naja, ich dachte eigentlich eher daran, das das mediawiki die entsprechenden http headersendet und dann eben benutzernamen und passwort auswertet [11:23:18] kann man schreiben. aber wozu? [11:23:32] aber ich seh schon, da muss ich mir wohl selbst eine ensprechende extension schreiben [11:23:32] http auth ist gro??er mist. sollte man nicht verwenden wenn man nicht muss [11:23:42] also finde das toll ;-) [11:23:54] O_O German [11:23:58] ahh ihr redet alles deutsch [11:24:01] okay [11:24:10] ist jemand von euch bereit mir an meinem wiki zu helfen [11:24:12] n??, nicht alle [11:24:21] und auf englisch bekommt man auch eher eine antwort [11:24:25] so, muss wieder lernen [11:24:30] Wyvernoid: you are missing nothing :P [11:24:32] vor allem kann man dann auch links mit authenifizierung verwenden, man muss sich das ganze cookie zeug nicht machen, man braucht keine session ids ;-) [11:24:33] Duesentrieb hast du denn gut ahnung vom wiki? [11:24:36] ich liebe dich [11:24:38] lol [11:25:10] hey Wyvernoid ic an translate for you ;) [11:25:37] okay, dann mach ich das mal bei gelegenheit, danke fuer die auskunft @ Duesentrieb [11:25:49] maximum2007weeee: No thanks =] [11:28:48] where ya from? [11:31:09] China. [11:31:44] 03(NEW) Automatic sighting for new versions of images does not work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14918 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [12:08:10] hia [12:08:23] is there a way to add an anchor in mediawiki manually? [12:09:39] hey [12:09:44] anyone here? [12:09:57] no [12:09:59] http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:Wikipedia:Datei%FCberpr%FCfung%20(Tageskategorien,%20zuk%FCnftig)&cmsort=timestamp&cmdir=desc <<<<<<<< why are there some categorymembers missing?? [12:10:05] archivist: ok bye :( [12:10:11] Drazha: no [12:14:10] Drazha: will jump down in all modern browsers with #anchor in the URL [12:14:23] (unless you mean another type of anchor) [12:38:15] <^demon> Anyone have a clue when the $wgExtensionMessagesFiles/wfLoadExtensionMessages() was added as opposed to older systems of adding messages directly to $wgMessageCache? [12:43:01] annotate? [12:44:17] ^demon: tim added it few version ago [12:44:25] ircc [12:44:36] if recall creative commons? [12:44:59] <^demon> Nikerabbit: Gotcha, thanks. [12:54:39] 03(NEW) Upload by URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 minor; normal; MediaWiki: Uploading; (Kanonkas) [12:57:29] 03(mod) Upload by URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 +shell; +comment (10innocentkiller) [12:57:49] 03(mod) Enable Upload by URL for Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 summary (10innocentkiller) [13:03:26] *Splarka wonders if URL uploads bypass php/apache POST limits and only are limited by Manual:$wgMaxUploadSize [13:05:07] <^demon> Hmmm, that could be possible. [13:05:30] <^demon> I would think you could set the max size PHP/Apache could GET from another site too, but I'm just assuming here. [13:06:21] as this might be a way for commons to end up with ~100 meg files... [13:06:43] (without having to beg for more than 20 meg POST limits) [13:06:54] sneeky if so [13:06:55] <^demon> Splarka: Go test it on your localhost? [13:07:59] 03(mod) Enable Upload by URL for Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 +comment (10daniel) [13:07:59] what am I, crazy && !lazy? heh [13:13:22] *^demon eyes CIA-54 and reaches for something to hit him with [13:14:39] use one of the 5 preprogrammed macro things [13:15:11] <^demon> Mine are more creative. [13:15:55] <^demon> Even if they do fail to illicit a response. [13:15:59] *^demon smacks CIA-54 [13:17:34] Hi All [13:18:50] A CentralAuth Question. All my unified users are getting the standard tagline (that is From SITENAME) where as un-unified users are getting my custom one set in Mediawiki:Tagline. How would I set the tagline for unified users to be the same for un-unified users? [13:20:48] hmm, interesting, $wgMaxUploadSize isn't defined in InitialSettings or CommonSettings on noc.wikimedia (or the ones from March anyways), so it'd probably be the default of 100 megs [13:21:49] Or its set in PHP. ini [13:22:18] Prom3th3an: read the recent log of this chan for context [13:22:19] Which is more than likely [13:22:31] this is in reference to upload by URL [13:23:25] Argh okey [13:23:34] also, by tagline, do you mean the
? [13:24:56] <^demon> Splarka: He just joined anyway, his missed the part about $wgAllowCopyUploads. [13:25:33] hence the suggestion to see the logs, which are available from a URL in the topic! [13:25:53] <^demon> Touche. [13:25:54] *Splarka takes some thorazine to fight off senile agitation [13:25:55] By tagline im referring to the text that appear below the page titile ( [[Mediawiki:Tagline]] [13:26:17] right, that is the siteSub (in monobook skins anyway) [13:26:49] by default it is hidden in CSS (but shows in print, for attribution), but lots of sites, like wikipedia, override the hiddenness [13:27:13] is the actual content of the siteSub different for the two situations? how about for anon users? [13:27:19] Would that explain why unified users get the defual taglinet whilst un-unified get the custom tagline as set in [[mediawiki:tagline]] [13:27:19] <^demon> Splarka: You have schizophrenia? [13:27:29] Anonuser get the custop tagline [13:27:32] no we don't [13:27:34] custom^ [13:27:42] lol [13:27:50] <^demon> Splarka: I feel like a loser for knowing what that medication does :( [13:28:08] I don't understand "standard tagline", you mean the default in MediaWiki:Tagline from MessagesEn.php ? [13:28:27] it does lots of things, ^demon [13:29:37] http://ouroboros.files.wordpress.com/2007/07/senile-agitation-control.jpg <-- but this is a funny (real) ad from a medical trade journal of days past, that is amusing [13:31:04] The tagline is a phrase that appears directly below the page title, Standard (Default) Tagline is "From SITENAME" (EG: From Wikipedia). However you can set the Tagline to what ever you want by changing the Mediawiki:Tagline pages to the text you want. [13:32:00] right, and so you're saying the default shows for unified accounts? [13:32:10] My issue is that Unified users (using centralauth) do not get the custom tagline that i have set (EG "From Wikipedia, the free encyclopedia") instead they get the default "From:Wikipedia" [13:32:19] This is on my wiki [13:32:22] have you tried action=purge (or null edit) on MediaWiki:Tagline ? [13:32:26] im just using wikipedia as an example [13:32:48] do they get it for all page views? or just on the login success screen? [13:33:01] <^demon> Splarka: Significant other is in med school, it rubs off :-P [13:33:18] I'm sure it does, heh [13:33:23] *wink* [13:33:56] Sparkla: Yes i have [13:34:28] An odd issue i know [13:35:48] how about anon users? [13:36:09] Anon users get the custom tagline [13:36:16] its just unified users.... [13:40:45]

From Wikipedia!

[13:40:51] From {{SITENAME}}! [13:41:06] (unified account on test.wp, I see the modified version) [13:42:18] Yes, that what im getting at, They have obviously set some parameter for unfied accounts, i'd love to know what it is. [13:42:42] sounds like paranoia, and probably just a bug [13:42:45] take some thorazine ^_^ [13:44:08] We will [13:44:13] :P [13:46:15] 03(mod) New:=?UTF-8?Q?=20Portal=20namespase=20and?= =?UTF-8?Q?=20=D0=92=D0=9F=20?=(alias to Project) on be-x-old: Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14920 (10N/A) [13:46:45] how about in other skins? cologneblue for example [13:48:13] Still using the default tagline.... [13:48:17] Its CentralAuth [13:48:21] for sure [13:48:33] Just have to hack it to do what i want it to do [13:48:35] lol [13:50:56] seems very odd, any other msgs do that to you? [13:53:41] No, But I have noticed that things I put into the initalisesettings.php file overide the localsettings.php file for unified users (I found this out when I accidentaly put to different site names in each file) [13:53:58] So im guessing theres way of setting the tagline for unified users [13:54:07] Ill just ask brion [13:54:54] see http://noc.wikimedia.org/conf/InitialiseSettings.php.html [13:55:18] That is where they set alot of the settings for central auth [13:55:34] <^demon> Prom3th3an: I checked out the i18n file for CA, nothing jumped out at me. [13:56:01] a { display: block; } a:hover { display: none; } [13:56:08] What happens if you try to hover over the link? [13:56:10] *Simetrical scratches head [13:56:49] heh [13:57:40] http://www.twcenter.net/~simetrical/hovery.html [13:58:05] Pretty well-behaved. Pegs the CPU, but only as long as you hover over it. [13:58:10] IIRC "good" browsers will only update it on each instance of a mouse movement (with whatever refresh rate the mouse sensitivity is at), but some versions of Firefox will go into an infinite loop for happy fun good times [13:59:06] (similar to changing padding, margins, size, inline/block, visibility, wrap, etc) [14:00:04] <^demon> I was working on a website for a teacher back in high school. He wanted a:hover { font-weight: bold; } [14:00:13] for example, in my old mozilla, every mouse movement makes it disappear, but it comes right back when I stop moving the mouse [14:01:33] if you want fun [14:01:52] a {visibility:visible;} a:active {visibility:hidden;} [14:02:06] try to click, disappears [14:03:29] 03(mod) When __INDEX__ and __NOINDEX__ both occur, the last one in the source should win - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14899 +comment (10Simetrical+wikibugs) [14:07:09] ^demon, is it useful to say, on trunk, what version a feature was added in? [14:13:10] It is possible to name the subpattern with (?Ppattern) since PHP 4.3.3. Array with matches will contain the match indexed by the string alongside the match indexed by a number, then. [14:13:20] can anyone get that to work? [14:14:30] hmm [14:14:41] php -r '$matches = array(); preg_match( "~(?P.)~u", "k", $matches); var_dump( $matches );' [14:14:47] that works for me, something wrong in my regex then [14:16:20] looks like preg_Replace_callback doesn't support it [14:17:13] Uh, how could any regex *replace* function support anything whose purpose is to adjust the array of *matches*? [14:21:12] <^demon> Simetrical: Why not? [14:23:17] Simetrical: it just adds string keys alongside the numerical ones [14:23:20] ^demon, well, it's trunk. If you're using trunk, why do you care about older versions? I guess if you're writing extensions that you want to be compatible with old versions. [14:26:26] <^demon> Simetrical: That was my thought. Since wfLoadExtensionMessages() is for extensions, I thought documenting it would help people if they're trying to maintain BC with older versions of MW. [14:26:35] Guess so. [14:28:05] <^demon> I went ahead and established a CREDITS file. Welcome to input (and tweaks) to that. [14:30:29] You misspelled my name. :( [14:30:33] Seriously, how hard is copy-paste? [14:31:00] <^demon> At like 1:30am? Surprisingly hard. [14:34:26] <^demon> In any case, apologies. [14:37:58] Hi, I'm installing MediaWiki 1.11.1 on OpenBSD 4.3 (PHP 5.2.5, MySQL 5.0.51a), and I get: Attempting to connect to database server as root...failed with error [2002] Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (61). [14:38:18] I have tried on-line port scanners, and they do recognize my server. [14:39:09] If I try to connect to my DNS instead of localhost, a connection is tried and rejected (because I disallow root connection if it's not from localhost). [14:39:44] Any idf [14:39:47] Any idea? [14:40:15] Socket does exist, and I think it has the right priviledges. [14:40:22] Server is running. [14:41:23] adelfino: not sure this is it, but it's something to conider: it's not trying to use tcp. it's trying to use a named pipe at /var/run/mysql/mysql.sock [14:41:49] adelfino: in mysql, "localhost" means "use the named pipe", if you want to use loopback tcp, specify 127.0.0.1 [14:42:05] adelfino: when granting access permissions in mysql, the same distinction applies [14:42:18] <^demon> adelfino: Does the mysql user have rights to /var/lib/mysql? [14:42:38] does the *php* user have access there, too? [14:42:47] <^demon> http://forums.devarticles.com/mysql-development-50/error-2002-can-t-connect-to-local-mysql-server-through-4635.html - seems to be a similar problem (fixed by chown'ing /var/lib/mysql) [14:42:55] <^demon> To the correct users, that is. [14:43:38] ^demon, I have no /var/lib [14:43:59] That might be a linuxism. [14:45:23] G'morning, all you fine people. I'm getting "error[s] creating thumbnail:". How would I identify the source of the problem? [14:45:55] Duesentrieb, loopback work OK. [14:45:57] adelfino: /var/run/mysql then. just check file permissions for the named pipe and the directories above it [14:46:17] drwx--x--x 2 _mysql _mysql 512B Jul 25 11:31 mysql/ [14:46:32] srwxrwxrwx 1 _mysql _mysql 0 Jul 25 11:31 mysql.sock [14:46:35] Inside the above. [14:46:42] adelfino: just make sure the db connection info you give mediawiki is consistent with where mysql is listening, and with the permissions given to users inside mysql [14:46:59] hm, the persmissions look ok [14:47:15] does connecting work from the command line? [14:47:24] How could I check [14:47:24] ? [14:47:36] *can [14:47:54] compare "mysql -h localhost -u root -p" with "mysql -h 127.0.0.1 -u root -p" [14:48:36] try this as a regular user [14:48:41] Both work, Duesentrieb. [14:49:02] hm. and... mediawiki is connecting as root? [14:49:09] Yes.. [14:49:15] is that during install? [14:49:19] Right. [14:49:44] hm... no clue... problems can arise if the version of the mysql lib for php mismatches your mysql server version [14:49:51] but i think the problem should look different [14:49:57] i.e. the error message [14:50:10] anyway, goota go. i'm out of ideas anyway [14:50:15] Is wrong to use 127.0.0.1 instead of localhost? [14:50:18] Thanks! [14:50:51] for root? well, per default (on debian etc), mysql doesn't listn on tcp at all. and root access is often limited to localhost [14:50:59] so 127.0.0.1 would not work [14:51:06] Ah, ah. [14:51:12] but since it woprked with the command line client, there shouldn't be a problme [14:52:08] Great, thanks for your help, Duesentrieb! [14:55:30] Well? No clues? Seems like the aspect ratio is screwed up, not returning properly. [15:11:29] 03(mod) Enable Upload by URL for Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 (10Bryan.TongMinh) [15:12:16] 03(NEW) Special:Contributions/: add user name to - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14921 15enhancement; normal; MediaWiki: Special pages; (jidanni) [15:15:03] <Nikerabbit> how can I get list of pages in a category? [15:17:08] <Nikerabbit> select from categorylinks where cl_to = 'mycategory' ? [15:21:24] <josch> hey guys! [15:21:49] <^demon> hi :-) [15:22:14] <josch> i have a problem with mediawiki - i do a $dbr->select( 'categorylinks', 'DISTINCT cl_to', $conds, __METHOD__, array( 'ORDER BY' => 'cl_to', 'LIMIT' => $chunkSize ) ); [15:22:23] <josch> $row = $dbr->fetchObject( $res ) [15:22:29] <josch> print "{$row->cl_to} [15:22:32] <josch> the problem is [15:22:39] <josch> that the output looks like latin1 [15:22:47] <josch> so all utf8 chars are destroyed [15:22:48] <josch> but [15:22:56] <josch> when i do this query with mysql cli [15:23:01] <josch> then everything is fine [15:23:45] <josch> example: [15:23:46] <josch> mysql: Abh??ngiges_Gebiet_(D??nemark) [15:23:53] <josch> php: Abh????ngiges_Gebiet_(D????nemark) [15:24:28] <josch> how can this be?? [15:26:18] <NicDumZ> yes, Nikerabbit :) [15:27:44] <NicDumZ> but hopefully it will change soon to select from categorylinks, category where cl_target=cat_id and cat_title= 'mycategory' :) [15:33:35] <Sasoriza> How do you specify height in thumbnails? [15:35:13] <MinuteElectron> not possible [15:36:48] <wikibugs> 03(mod) Enable FlaggedRevs Patrolling Configuration on Esperanto Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14728 (10Yekrats) [15:37:52] <wikibugs> 03(NEW) Google Pie and Google Bar crashes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14922 04CRIT; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [15:38:50] <Sasoriza> No? Hmm. Thought it was. Trying to figure out why I'm getting these null return errors. [15:38:54] <str4nd> Sasoriza: It is possible: [[Image:Example.png|thumb|x100px]] [15:44:33] <CIA-54> 03demon * r38029 10/trunk/phase3/includes/GlobalFunctions.php: Add some docs on how far back wfLoadExtensionMessages() goes [15:44:39] <CIA-54> 03shinjiman * r38030 10/trunk/phase3/includes/ (ZhConversion.php zhtable/tradphrases_exclude.manual): Update the Chinese conversion tables [15:45:28] <Sasoriza> Would older versions of ImageGallery.php be compatible with 1.14alpha? [15:46:31] <Nikerabbit> argh [15:46:36] *Nikerabbit is very very pissed off [15:46:50] <Nikerabbit> NicDumZ: how soon is soon? [15:47:35] <neelaManga> http://rafb.net/p/IjmULU56.html plz see this error [15:47:41] <Duesentrieb> Sasoriza: if mediawiki complains about a hook function returning null, this means the hookfunctions fails to explicitly return true (or false, but that's unlikely). [15:47:44] <neelaManga> any one know about this? [15:48:47] <Duesentrieb> neelaManga: this does not look related to mediawiki. or php. [15:48:50] <^demon|away> Nikerabbit: Be happy :-) [15:49:45] <Nikerabbit> ^demon|away: I try... but it's hard when nothing works and there is too much to do [15:50:43] <Sasoriza> Has anyone else had errors creating thumbnails lately? [15:51:56] <^demon|away> Nikerabbit: Find something fun to work on that has no deadline? [15:52:49] <NicDumZ> Nikerabbit, I dont know, it's my branch, on category redirects [15:52:56] <Nikerabbit> how does that help when the work with deadline has to be done? :o [15:53:24] <Nikerabbit> has my reply reached wikitech? [15:53:44] <^demon|away> Nikerabbit: You put that on the back-burner for a day or two to sit down and code something fun :-P [15:54:04] <Nikerabbit> demon, it's been there for four das already [15:54:13] <^demon|away> :( I tried. [15:54:14] <NicDumZ> Nikerabbit, how does my schema change affect you ? :) [15:54:15] <Sasoriza> The problem: When [[Image:Example.png|thumb|100px]], if the img is less than 100px, it returns an error. Happens on galleries too. Specifying height has no effect. I know it's not 1.14-specific; was happening in 1.12 also. [15:54:29] <^demon|away> And no, I haven't seen your reply on Wikitech. Nothing new on the list. [15:54:56] <MinuteElectron> Nikerabbit: The one regarding CREDITS? Yes, it has. [15:55:08] <Nikerabbit> NicDumZ: no idea, but there should be nice function get list of pages in category :D [15:55:34] <NicDumZ> well, add it in Category.php :) [15:55:56] <^demon|away> Bah, yes it has. Stupid me. I'm on too many lists. [15:56:25] <josch> hey can somebody give me an advice with my problem earlier? [15:56:28] <josch> :) [15:56:36] <Sasoriza> me too :) [15:59:06] <^demon|away> Later all. [16:03:14] *Sasoriza twiddles his thumb(nail)s [16:14:21] <osiasJota> hi [16:14:40] <osiasJota> I was trying to submit data to a wikipage simulating the "preview differences" button, but it's not working [16:14:49] <osiasJota> maybe some anti-spam measures [16:15:17] <osiasJota> is there some official way to do that? [16:17:27] <osiasJota> I mean the "show changes" button [16:19:19] <brion> http://flickr.com/photos/brionv/2700932121/ :D [16:20:42] <osiasJota> brion, was it aimed to me? [16:21:26] <osiasJota> I'm trying to write an interlanguage comparison tool [16:21:48] <brion> no. [16:21:55] <osiasJota> oh, thanks :D [16:21:56] <brion> but you might be amused by it anyway [16:23:22] <CIA-54> 03shinjiman * r38031 10/branches/REL1_13/phase3/includes/ (ZhConversion.php zhtable/tradphrases_exclude.manual): [16:23:22] <CIA-54> Update the Chinese conversion tables [16:23:22] <CIA-54> Last changes for the release branch 1.13 [16:24:05] <CIA-54> 03demon * r38032 10/trunk/extensions/PasswordReset/PasswordReset_body.php: Move wfLoadExtensionMessages(). Caused the page title to not show up, blah. [16:24:25] <osiasJota> anyone? [16:24:57] <CIA-54> 03rotem * r38033 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryUsers.php): API change: Registration time of users registered before the DB field was created is now shown as empty instead of the current time. [16:26:19] <Sasoriza> Can a report be generated of when mw was installed (per version)? [16:28:35] <CIA-54> 03eloy * r38035 10/trunk/phase3/maintenance/refreshLinks.inc: avoid php FATAL error when Parser_OldPP is used [16:28:53] <brion> Sasoriza: well, you can save the output from the installer manually [16:28:57] <brion> currently it's not logged to disk :( [16:29:38] <Sasoriza> dang it, knew I should have did that [16:29:42] <CIA-54> 03aaron * r38027 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php specialpages/ReaderFeedback_body.php): [16:29:42] <CIA-54> * More UI tweaks [16:29:42] <CIA-54> * Restrict oldid and add key [16:31:09] <CIA-54> 03siebrand * r38023 10/trunk/extensions/ (57 files in 53 dirs): Localisation updates for extension messages from Betawiki (2008-07-25 10:43 CEST) [16:32:45] <CIA-54> 03siebrand * r38024 10/trunk/extensions/WikimediaMessages/WikimediaMessages.i18n.php: Remove native name for Gothic for now. Gives some problems. [16:33:17] <ialex> CIA-54's lagging a bit [16:33:21] <CIA-54> 03aaron * r38026 10/trunk/extensions/FlaggedRevs/ (2 files in 2 dirs): Show notice if user voted [16:33:41] <CIA-54> 03demon * r38028 10/trunk/extensions/PasswordReset/ (3 files): If $wgExtensionMessagesFiles is going to be defined, use wfLoadExtensionMessages() rather than adding the messages on every pageload. A bit of cleanup to PasswordReset.php as well, just for OCD organizational sake. [16:37:26] <CIA-54> 03simetrical * r38034 10/trunk/phase3/CREDITS: Fix spelling of my name. [16:38:10] <Simetrical> Stupid laggy bot. [16:38:19] <Nikerabbit> emails lag [16:38:58] <CIA-54> 03siebrand * r38025 10/trunk/extensions/WikimediaMessages/WikimediaMessages.i18n.php: Localisation updates for extension messages from Betawiki [16:40:40] <CIA-54> 03siebrand * r38022 10/trunk/phase3/languages/messages/ (16 files): Localisation updates for core messages from Betawiki (2008-07-25 10:43 CEST) [16:45:01] <Sasoriza> which file sets the div around gallery objects [16:46:13] <FunPika> is something wrong with the bot? O_O [16:48:21] <wikibugs> 03(FIXED) limit=50 on RC gives count set in preferences, not 50 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14659 +comment (10alex.emsenhuber) [16:49:46] <ialex> Sasoriza: see includes/ImageGallery.php [16:52:22] *Alexfusco5 kicks CIA-54 [16:52:22] <CIA-54> ow [16:52:50] *ialex kills CIA-54 [16:52:51] *CIA-54 dies [16:53:06] <Sasoriza> ok, which file generates the thumbnail [[Image:image.png|px]] parameters that get passed to ImageGallery.php (and also on pages)? [16:53:51] *Alexfusco5 eats CIA-54 [16:53:52] *CIA-54 tastes crunchy [16:54:06] *VasilievVV kills ialex for killing CIA-54 [16:54:11] <ialex> :( [16:54:24] *ialex dies [16:54:30] *Sasoriza brings ialex back to life with a wave of magicwand.php [16:55:24] <josch> you could edit him and add {{life}} [16:55:31] <Sasoriza> there you go [16:55:33] *Alexfusco5 kills VasilievVV, 2 wrongs don't make a right, but 3 lefts do [16:55:39] <Alexfusco5> :P [16:56:04] *Alexfusco5 rubs CIA-54's tummy [16:56:05] <CIA-54> *purr* [16:57:47] <Sasoriza> Something is screwing with my aspect ratio, and it's really starting to irk me. [16:57:50] <Nikerabbit> ialex: yay someone hates my code [16:58:05] <ialex> :) [16:58:09] <VasilievVV> Alexfusco5: right now you killed a developer who killed another developer. Now, since 2 devels are dead, things are going 2 times slower. Read WP:BITED (yes, every joke has some real sense), dude [16:58:39] <Alexfusco5> O_o [16:59:09] <VasilievVV> Nikerabbit: who is that? [16:59:58] *Sasoriza hates code, period. [17:00:19] <Alexfusco5> VasilievVV: a Flying pig told me to do it and flying pigs are more important :P :P [17:00:59] <VasilievVV> Alexfusco5: flying parchement will deal with flying pig then [17:02:38] <Nikerabbit> ialex: you didn't fix FormOptions but just shuffled code around? [17:03:19] <ialex> Nikerabbit: for the moment [17:04:48] <Nikerabbit> ialex: something like else { unset(); } could prolly dy [17:07:47] <ialex> Nikerabbit: maybe that: http://mediawiki.pastey.net/92441 [17:10:33] <faceface> hello, I am having some troube configuring apache to run php5... is this documented on the wiki? [17:10:41] <faceface> I can't seem to find it [17:11:46] <faceface> I have the AddType set up, but I see raw php when I browse to the page [17:13:30] <Nikerabbit> are you missing mod_php? [17:13:47] <faceface> Nikerabbit, I don't think so... LoadModule php5_module modules/libphp5.so [17:14:03] <faceface> but there is no 'if mod' type directive that I can see in the config... [17:14:26] <faceface> we are using a centralised apache install with 'per user' config for separate server setups [17:16:20] <faceface> could not open document config file /etc/httpd/httpd/conf/httpd.conf <- which is what I wnat [17:20:07] <NicDumZ> "I suggest take the end space out of <ref name="" />, its only required in XHTML for backwards compatibility and we could save a few bytes on the encyclopedia" <- boooh :( [17:20:16] <faceface> Server version: Apache/2.0.52 [17:20:22] <faceface> I'll go ask in apache [17:20:27] <NicDumZ> some guys are funny. [17:21:32] *Sasoriza goes berserk and pours soda over his head [17:31:55] <StanAccy> Is it possible to switch on a users' logged in state inside a Special Page? [17:32:32] <ialex> $wgUser->isLoggedIn() [17:33:26] <StanAccy> and Mediawiki will execute that code if inserted into a SpecialPage? [17:33:48] <StanAccy> specifically the Navigation Bar [17:34:13] <ialex> if( $wgUser->isLoggedIn() ) { /* User is logged in */ } else { /* User is not logged in */ } [17:37:15] <StanAccy> Hmm - that doesnt work [17:37:26] <Sasoriza> Ok, let's try this again. I want thumbnails to render at the user-specified px. Where does this happen? [17:37:27] <StanAccy> I suspect that SideBar is being read by something else [17:37:58] <Sasoriza> I know I've seen it in the past, but forget. [17:38:03] <StanAccy> and not interpreted as PHP [17:39:17] <ialex> StanAccy: Sidebar is generated in Skin.php [17:39:22] <StanAccy> OK, thanks [17:40:45] <StanAccy> whats the easiest way to find a file in unix? [17:41:08] <MinuteElectron> go to the directory and look for it [17:41:11] <StanAccy> ls -laR | grep Skin.php finds the file, but doesnt tell me where it is [17:41:11] <hFox> locate <filename> [17:41:12] <MinuteElectron> its in includes/ [17:41:23] <StanAccy> hFox: Thanks [17:45:04] <hFox> My turn: parts of the parser on my friends mediawiki wiki is dead, some of the parts which doesn't work are: #if and switches. [17:45:35] <Wuzur|Away> Parserfunctions enabled? [17:45:52] <hFox> Yes. [17:48:14] <StanAccy> ialex: $wgUser is not defined inside of Skin.php [17:49:12] <ialex> StanAccy: $wgUser is a global [17:49:49] <StanAccy> thats what I thought - but I cant access it inside of there [17:50:04] <ialex> global $wgUser; [17:50:12] <StanAccy> you have to "import" it? [17:50:18] <StanAccy> before you use it? [17:50:30] <ialex> StanAccy: yes, see my last message [17:50:36] <StanAccy> ah, thanks [17:51:30] <StanAccy> Cool - that works great [17:51:37] <StanAccy> Many thanks [17:51:44] <ialex> np :) [17:51:52] <StanAccy> 'Toolbox" next [17:52:45] <Sasoriza> Still waiting for an answer, here: Which file generates the message "Error creating thumbnail:"? (those exact words) [17:53:16] <ialex> Sasoriza: thumb.php [17:53:27] <Sasoriza> ty [17:53:50] <StanAccy> Whre do the search boxes and toolbox sidebars get generated? [17:54:01] <StanAccy> also in Skin.php? [17:54:09] <ialex> skins/Monobook.php for monobook skin [17:54:52] <StanAccy> Thanks [18:05:23] <hFox> New try: Where is the parser for #if and switches defined? [18:06:21] <Simetrical> hFox, the ParserFunctions.php extension. [18:06:35] <Sasoriza> ialex: You wrote "there are still a lot of warnings when generating the doc." (thumb.php) Of what sort? [18:07:05] <ialex> Sasoriza: when generating http://svn.wikimedia.org/doc/ [18:07:23] <ialex> Sasoriza: they're not PHP errors [18:08:05] <Farejobaldo> Hi [18:10:04] <Farejobaldo> My parser is mean. How should i punish it into submission? [18:10:19] <StanAccy> rm -rf * [18:11:05] <hFox> Yay! [18:11:10] <Farejobaldo> Fail! [18:13:18] <Farejobaldo> Well, anyways.. It does not parse things like {{#if:foo|bar}} but rather spits it out unchanged. [18:15:11] <Simetrical> !parserfunctions | Farejobaldo [18:15:11] --mwbot-- Farejobaldo: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see <http://meta.wikimedia.org/wiki/Help:Parser_function>. For details about the extension, see <http://meta.wikimedia.org/wiki/Help:ParserFunctions>. [18:16:13] <Farejobaldo> oh... [18:17:06] <Sasoriza> pfs are great, if you can get the damn things to do what you want them to do [18:17:56] <wikibugs> 03(NEW) Add methods for getting an array of titles from a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14923 15enhancement; normal; MediaWiki: Categories; (minuteelectron) [18:19:00] *ialex kicks CIA-54 [18:19:01] <CIA-54> ow [18:19:06] <ialex> You lag! [18:19:11] <Sasoriza> Is Nikerabbit happy now? [18:22:03] <Nikerabbit> Sasoriza: huh? [18:24:04] <Sasoriza> nm, wrong bug [18:27:21] <wikibugs> 03(mod) Add methods for getting an array of titles from a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14923 (10maxsem.wiki) [18:27:45] <Sasoriza> would 21855 work on 1.14alpha? http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/thumb.php?r1=21855&r2=22580 [18:27:50] <NicDumZ> ialex, CIA-53 is actually 8 hours late on #pywikipediabot :) [18:28:14] <ialex> :) [18:28:24] *ialex stabs cia.vc then [18:28:34] <wikibugs> 03(NEW) Images with Non-ASCII characters don' t work with Windows Server - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14924 normal; normal; MediaWiki: Images; (dj.bauch) [18:28:34] <Farejobaldo> Yay, it works. Thank'ya. [18:30:13] <wikibugs> 14(DUP) Images with Non-ASCII characters don't work with Windows Server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14924 +comment (10maxsem.wiki) [18:30:20] <wikibugs> 03(mod) Can't upload file with non-ASCII name (eg cyrillic) on Windows host - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1780 +comment (10maxsem.wiki) [18:30:33] <faceface> cheers maties [18:33:56] <wikibugs> 03(mod) Add methods for getting an array of titles from a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14923 (10minuteelectron) [18:38:47] <wikibugs> 03(mod) Add methods for getting an array of titles from a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14923 +comment (10Simetrical+wikibugs) [18:42:56] <MinuteElectron> Simetrical: Thank you for the constructive comments, I'll implement them in a bit. [18:43:03] <MinuteElectron> And sorry for the whitespace. [18:44:49] <Nikerabbit> Simetrical: why I have always thought you are German? [18:47:11] <Simetrical> Nikerabbit, . . . [18:47:52] <Nikerabbit> Simetrical: :o [18:49:08] *Alexfusco5|Away hugs CIA-54 [18:49:09] *CIA-54 hugs Alexfusco5|Away [18:52:15] <Simetrical> MinuteElectron, I would talk to Tim about a TitleArray. It would be really nice if we had one of those. [18:52:27] <Simetrical> The code would be basically identical to UserArray. [18:52:32] <Simetrical> Meh, I may as well write it. [18:52:36] <Simetrical> Or copy it, rather. [18:53:19] <Nikerabbit> mmm that's kinda elegant [18:53:58] <Nikerabbit> Simetrical: is it so that query results consumes very little memory? [18:56:56] <Nikerabbit> what are persistent database links? [18:56:59] <Nikerabbit> http://fi.php.net/manual/en/language.types.resource.php [18:59:24] <Nikerabbit> ah [19:03:13] <Sasoriza> is the api dirty or something? [19:04:10] <Nikerabbit> Sasoriza: ? [19:04:23] <Nikerabbit> Simetrical: I can't find any article talking about this [19:04:46] <Simetrical> Nikerabbit, first of all, the result only contains a few bits of info about each user. The User object contains all sorts of stuff that it derives from that, and pointers to methods and whatever else. [19:05:07] <Simetrical> Nikerabbit, second of all, Tim says MySQL results are much more efficient than PHP arrays anyway. [19:05:48] <Simetrical> MinuteElectron, I just committed a TitleArray.php, although CIA-54 seems to be having one of its sulky days today. I'd suggest you use that. [19:06:24] <Simetrical> Nikerabbit, I don't know what a MySQL result actually is. Ask Tim. But it's more efficient, evidently. [19:06:30] <Nikerabbit> Simetrical: could it be that when you are using the data, it is actually copied? [19:06:36] <Simetrical> What? [19:06:59] <Nikerabbit> but the resource is just pointing somewhere else :o [19:07:44] <Simetrical> I have no idea. Tim wrote UserArray to be efficient and so I assume it's efficient. [19:09:00] <Nikerabbit> could be one of the reasons my code is using so much data [19:09:30] <RaySl> is there a way to disable people from doing http://foo.com but still allow [http://foo.com foo] ? [19:10:13] <RaySl> the text can still show, I just don't want it to be auto linked [19:10:56] *ialex points Simetrical to docs/hooks.txt [19:11:29] <ialex> CIA left :( [19:11:51] <ialex> Come back! [19:11:57] <Nikerabbit> ialex :o [19:13:05] <Simetrical> ialex, rats. [19:13:14] *Simetrical copies that from the UserArray docs too [19:13:26] <ialex> I don't know why, but I think there'll be some joke with the FBI [19:31:32] <Simetrical> I don't suppose functions like count() and usort() actually work on iterators, in PHP. [19:32:59] <Simetrical> Oh, I see, count() works on iterators. It just always returns 1. [19:33:03] *Simetrical SIGHS [19:34:51] <Simetrical> No way to order a MySQL result set either, I guess, except to do it on MySQL's side. [19:34:59] <darkcode> iterator_count() [19:36:32] <Simetrical> Thanks for TRANSPARENT INTERFACES, PHP! [19:37:02] <Simetrical> usort() is hopeless, understandably. [19:37:32] <Simetrical> Warning This function is currently not documented; only its argument list is available. [19:37:55] <Simetrical> iterator_count() is inefficient anyway, compared to count(). [19:38:55] <darkcode> I never claimed it was efficient I was just supplying an answer to how to count them since count() didn't work [19:43:42] <Simetrical> Why does Article::getHiddenCategories return an array of Titles when an array of strings would have worked just as well? [19:43:58] <Simetrical> Delete "Obj" from the callee and it would behave just the same. [19:44:14] <Nikerabbit> :o [19:44:16] <Nikerabbit> fix it? [19:44:57] *Simetrical shrugs [19:45:54] <ScarredSun> I ran into a PHP memory error using MW 1.12, bumped the memory limit up to 32MB in hopes of it resolving, and it still hasn't. [19:46:02] <ScarredSun> http://info.sonicretro.org/Image:Satsr_wii_jp.jpg [19:46:08] <ScarredSun> What's next? [19:46:30] <darkcode> what if you need information on each title other then just its name? [19:46:56] <Simetrical> darkcode, you create Title objects one by one instead of passing huge arrays of them around everywhere. [19:47:04] <Simetrical> That's what TitleArray does, basically. [19:48:46] <exobuzz> Simetrical: that thing about getting titles in an array (for extensions etc). should they just use the api directly from php ? [19:48:51] <exobuzz> shouldn't [19:49:44] <Simetrical> exobuzz, what? [19:49:48] <Simetrical> What API directly from PHP? [19:50:08] <exobuzz> Simetrical: sorry. you commented on a bug earlier about getting article titles in category in an array [19:50:17] <darkcode> well if that information is already hanging around anyways from Title caching what does it matter? It should try to reduce the number of copies of the name information if that's a problem [19:50:24] <exobuzz> https://bugzilla.wikimedia.org/show_bug.cgi?id=14923 [19:50:41] <exobuzz> why not just use the api internally ? [19:50:51] <darkcode> err same information [19:51:02] <Simetrical> darkcode, because in one case, it can be garbage-collected immediately after use. In the other, it has to hang around as long as there's a reference to the array. [19:51:07] <Simetrical> exobuzz, what API? [19:51:15] <exobuzz> Simetrical: the mediawiki api.. [19:51:39] <Simetrical> I never got how the MediaWiki API was supposed to be for extension developers. [19:51:45] <exobuzz> http://www.mediawiki.org/wiki/API:Calling_internally [19:51:52] <Simetrical> It never made the slightest bit of sense to me. [19:52:02] <Simetrical> Why not just use the actual normal methods? [19:52:05] <exobuzz> seems pretty easy [19:52:24] <Simetrical> Uh, if you want to make a FauxRequest and initialize the entire API framework. [19:52:31] <Simetrical> Which seems both ugly and inefficient. [19:52:40] <Simetrical> Or else you could just call a method on an object you already have a copy of? [19:52:44] <exobuzz> but it has the various control limits etc which was mentioned in that bug thread [19:52:58] <Simetrical> So it should use the new Category method too. [19:53:04] <Simetrical> Maybe. [19:53:08] <exobuzz> or at least, if some stuff if implemented with limits in the core code, the api should then use that [19:53:11] <Simetrical> Except that it might be more general, I guess. [19:53:33] <Simetrical> I've given up on trying to reduce code duplication with the API, it's hopeless. People who write the API don't touch the core code and vice versa. [19:53:42] <exobuzz> oh.. [19:53:43] <exobuzz> :/ [19:53:47] <exobuzz> not ideal. [19:57:35] <wikibugs> 03(FIXED) Restricted at free text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14798 +comment (10yaron57) [20:00:08] <wikibugs> 03(WONTFIX) Subst support - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14913 +comment (10yaron57) [20:02:22] <wikibugs> 03(FIXED) Semantic Forms short-circuts the new wfLoadExtensionMessages system and tests incorrectly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14357 +comment (10yaron57) [20:03:40] <wikibugs> 14(WFM) Creating new Page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14571 +comment (10yaron57) [20:03:52] <wikibugs> 03(mod) Enable Upload by URL for admins on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 summary (10daniel) [20:03:57] <darkcode> Simtrical the title cache is always hanging around because of how its stored, so its never garbage collected... [20:04:25] <darkcode> I noticed recently a size cap was put on the title cache though probably from realizing it was causing a memory leak [20:04:35] <Simetrical> What Title cache? [20:04:43] *Simetrical looks [20:05:00] <ialex> the one of Title::newFromText()? [20:05:03] <Simetrical> Ah. [20:05:20] <Simetrical> Yeah, that gets truncated every once in a while. [20:05:38] <Simetrical> It only gets triggered on newFromText(), too, not newFromRow(). Right? [20:05:48] <Simetrical> TitleArray calls newFromRow(). [20:05:52] <wikibugs> 03(mod) After installing MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14911 (10ArtjomZab) [20:07:55] <darkcode> well if TitleArray doesn't involve an internal cache then TitleArray will be garbage collected immediately every its done being used as well right? [20:08:21] <wikibugs> 03(mod) kkwiki doesn't get MediaWiki:Common.js from DB after r29945 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12717 (10daniel) [20:08:48] <darkcode> so probably need two functions maybe one to create just a list of string titles and one to create a list of title objects, depending on what's really wanted [20:11:46] <ialex> \o/ [20:11:58] <ialex> CIA's back! [20:13:04] <wikibugs> 03(mod) Enable Upload by URL for admins on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14919 (10daniel) [20:14:34] *Duesentrieb is feeding the CIA [20:16:38] <CIA-55> 03simetrical * r38046 10/trunk/phase3/includes/ (Article.php Title.php): Move more initialization to member variable defaults. (The Title constructor now actually does nothing, but I left it for the comment.) [20:16:55] <Simetrical> darkcode, uh? The TitleArray will be garbage-collected when there are no more references to it. [20:17:23] <Simetrical> If a Title is pulled from it, it will remain in memory only until there are no references to that specific Title object. [20:17:58] <Simetrical> This is a big saving on memory over an actual array of Titles if there are, say, 100 of them. [20:21:27] <darkcode> and there won't be no more references to it after the caller is done making use of the TitleArray right? [20:22:31] <Nikerabbit> ergh [20:22:49] <Nikerabbit> can someone look why ArticleSaveComplete is twice in hooks.txt? [20:22:54] <Simetrical> darkcode, depends what the caller does with it, obviously. [20:23:16] <Simetrical> If they append it to an array variable that's declared static, obviously the reference will stick around. [20:24:17] <wikibugs> 03(mod) Can't upload file with non-ASCII name (eg cyrillic) on Windows host - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1780 (10dj.bauch) [20:24:40] <darkcode> which could be done even if it didn't return Title objects, by creating them and then passing them to a static array [20:24:49] <^demon> Nikerabbit: ArticleSaveComplete got added to Importing or something like that? [20:25:14] <^demon> Or not. [20:25:16] <^demon> Nevermind me. [20:26:19] <darkcode> seems like TitleArray would be TitleStringArray or something if it was just a an array of title strings and not Title objects [20:28:59] <Simetrical> darkcode, the underlying implementation stores the title info as a MySQL result object. When you iterate through it with foreach(), it dynamically creates the Title objects. They aren't all stored in the array because that uses more memory. [20:29:06] <Simetrical> I don't understand what the problem is with this. [20:31:07] <darkcode> no problem here, just thought someone most of had a reason for making it title objects to begin with and wonder if it would break anything to make it do anything different [20:32:05] <Simetrical> It *does* provide Title objects, that's the point. It just doesn't actually store them. [20:32:26] <Simetrical> It's not quite the same as an array, unfortunately, because you can't sort it or anything. [20:35:21] <darkcode> is that what it does or what your talking about doing? [20:35:31] <Simetrical> It's what TitleArray does. [20:35:41] <Simetrical> That's the point. [20:36:20] <wikibugs> 03(NEW) Refactor upload code to split backend and interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14925 15enhancement; normal; MediaWiki: Uploading; (Bryan.TongMinh) [20:37:28] <darkcode> so why make it just strings? what about instead of getting them as foreach is used, but when more information then the title name is requested? [20:38:14] <Simetrical> I don't understand what you're saying. [20:40:21] <darkcode> you want to change TitleArray to consist of an array of strings right? [20:40:46] <darkcode> and not include title objects at all [20:41:22] <wikibugs> 03(NEW) Multiple customizable upload forms - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14926 15enhancement; normal; MediaWiki: Uploading; (Bryan.TongMinh) [20:42:12] <Simetrical> darkcode, . . . it already doesn't contain Title objects. Or strings. It never has. I added it to the software like an hour ago. [20:42:19] <Simetrical> It only contains a database result. [20:42:31] <Simetrical> It returns Title objects, which it dynamically creates and does not store anywhere. [20:42:42] <Simetrical> I don't want to change anything about it. If I had, I would have just made it differently, an hour ago. [20:43:04] <darkcode> oh, guess I must of misunderstood something you said... [20:43:13] <Simetrical> Apparently for the past half-hour, yes. [20:43:29] <CIA-55> 03ialex * r38047 10/trunk/phase3/docs/hooks.txt: rm dupe [20:44:42] <darkcode> I was trying to suggest dynamically creating the title objects as information about a title is requested, leaving just the title name to be available otherwise, since I thought you were talking about having it be just an array of strings and nothing more [20:45:53] <Simetrical> That's exactly what it does. It creates the Title objects as needed. [20:46:09] <darkcode> <Simetrical> Why does Article::getHiddenCategories return an array of Titles when an array of strings would have worked just as well? [20:46:14] <darkcode> that's where I got confused [20:46:39] <Simetrical> I was referring to the pre-TitleArray days. [20:46:44] <Simetrical> I.e., before just now. [20:46:55] <darkcode> ok [20:47:02] <Simetrical> Titles are 1870 bytes each or so, even *before* they're unstubbed. [20:47:15] <Simetrical> I guess that's all method pointers or something, although I don't see why you have to duplicate those in every Title. [20:48:27] <darkcode> ya [20:49:10] <Nikerabbit> uh [20:49:22] <Nikerabbit> why ArticleSaveComplete is giving me a NULL revision? [20:50:07] <Simetrical> Nikerabbit, it didn't change in the last few revisions, did it? Because I just changed how the defaults for Article objects got initialized. [20:51:25] <Nikerabbit> Simetrical: no idea, I just started using it [20:51:34] <Simetrical> Ah, so hopefully not my fault. [20:52:28] <TimStarling> titles aren't stubbed in the first place, that's why they're big [20:52:48] <Simetrical> TimStarling, what's actually using up all the memory? [20:52:57] <TimStarling> the member variable hashtable [20:53:12] <MinuteElectron> Simetrical: Thank you, I will look into implementing it using the new version right away. [20:53:14] <Nikerabbit> hmm, probably my fault [20:53:25] <TimStarling> PHP objects don't have method pointers, that's why you can't customise the methods object-by-object like you can in javascript [20:53:37] <TimStarling> they just have a class pointer, and the class has methods [20:53:47] <darkcode> I think null page saves are allowed or use to be anyways... [20:53:51] <Simetrical> TimStarling, so it's basically just the number of variables that causes the big size? Or their contents? [20:54:20] <TimStarling> yes, the number of variables [20:54:23] <Simetrical> darkcode, that wouldn't give a null revision, probably, it should give the current revision. [20:54:48] <TimStarling> plus some overhead for the structure [20:54:51] <Kosmo> Hi folks, how can I get a picture rigt to the table of contents [20:56:26] <Nikerabbit> It's my life and it's now or never [20:56:57] <Nikerabbit> mm yes it was my fault, I was using die() while testing, but of course the save goes trough because it is done before it [20:57:19] <darkcode> {| [20:57:23] <darkcode> | __TOC__ [20:57:32] <darkcode> | [[Image:]] [20:57:37] <darkcode> |} [20:58:12] <Kosmo> thank you darkcode i will testing [21:01:35] <MinuteElectron> Simetrical: I'm not sure how to use your TitleArray - I'll only have data from the categorylinks array (so only a page id), not a full blown page query. [21:04:34] <Kosmo> darkcode it does not work, the page http://wiki.openstreetmap.org/index.php/JOSM_Benutzerhandbuch [21:05:50] <darkcode> your missing the | before [[Image]] [21:06:52] <Duesentrieb> you could aslo just say [[Image:foo.jpg|right]] and forget about the table cruft [21:07:02] <Duesentrieb> (or does this only work with thumb images?) [21:07:43] <Kosmo> looks good thanks a lot [21:08:43] <darkcode> seems to only work with thumb images [21:08:57] <darkcode> in my experience, why I used a table... [21:10:55] <wikibugs> 03(FIXED) Shared Image doesn't work if $wgCapitalLinks is false - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5174 +comment (10innocentkiller) [21:12:10] <Duesentrieb> darkcode: http://de.wikipedia.org/wiki/Benutzer:Duesentrieb/Sandbox [21:14:04] <wikibugs> 03(mod) Hidden SVG layers should not be rendered - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14896 +comment (10tstarling) [21:15:20] <Nikerabbit> ^demon: :oo you are really trying to make it work? [21:15:56] <^demon> Nikerabbit: What, specifically? [21:16:20] <Nikerabbit> ^demon: the foreign repos or what it is called [21:17:06] <^demon> ForeignApiRepos do work. [21:17:18] <Nikerabbit> heh [21:17:40] <Nikerabbit> ^demon: did you get the message from siebrand? [21:18:36] <^demon> About credits? [21:18:46] <Nikerabbit> ^demon: no, about the new warnings [21:20:57] <^demon> No? [21:21:23] <^demon> I saw a fix go in for two of the repo variables I forgot to put into parent classes, but that was it. [21:21:40] <Kosmo> darkcode With your help it better now, thank you again [21:21:59] <darkcode> yw [21:29:44] <guyvdb> TimStarling: Is there a particular reason why the DiffEngin compare by == in stead of ===? [21:29:54] <TimStarling> no [21:31:02] <wikibugs> 03(FIXED) Pages with timelines don't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14858 +comment (10Bryan.TongMinh) [21:31:54] <guyvdb> I added a trigger to my heuristic where the algorithm goes into a greedy mode when the complexity gets too high. Now you can limit all diffs to say, 2 seconds. [21:32:46] <Sasoriza> I think what's happening is thumb.php tells certain images to return null if less than a certain aspect ratio. Isn't there a way to force them to render regardless? [21:35:33] <Renate> Hi all [21:36:13] <Sasoriza> TimStarling, any ideas on that? [21:37:35] <TimStarling> Sasoriza: what is the problem? [21:38:02] <Sasoriza> Lots of "Error[s] creating thumbnail:" [21:38:36] <Sasoriza> Images at certain res don't render [21:38:51] <TimStarling> URL? [21:39:11] <Sasoriza> (as in [[Image:Image.png|px]] (sorry, private wiki) [21:39:59] <CIA-55> 03guyvdb * r38048 10/branches/visual_diff/phase3/includes/Diff.php: bugfixes, new greedy heuristic and refactorings [21:40:04] <TimStarling> why were you talking about thumb.php? [21:40:33] <Sasoriza> I thought that generated the thumbnails and the error msg [21:40:44] <TimStarling> have you explicitly enabled it? [21:40:57] <TimStarling> it's not usually used [21:41:27] <Sasoriza> Hmm... thought it was true by default. Will check. [21:41:58] <solifugus> If we want to track who's made how many updates to a given page, on the bottom of each page--how might I go about that? [21:42:24] <solifugus> (It's a credit thing) [21:45:11] <Sasoriza> Yep, it's enabled [21:45:34] <Sasoriza> Should I do rewrite rule maybe? $wgGenerateThumbnailOnParse = false? [21:45:38] <guyvdb> What's the policy on committing test scripts? I have some stuff that benchmarks my code and I'm not sure if I should commit it or not, and where to commit it. [21:46:50] <MinuteElectron> guyvdb: tests/ [21:47:58] <wikibugs> 03(NEW) OTRS Language translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14927 normal; normal; Wikimedia: OTRS; (scream) [21:48:44] <guyvdb> MinuteElectron: A benchmark is not really a test that should be run automatically... [21:48:57] <guyvdb> I assume it's not welcome in /tests [21:51:00] <MinuteElectron> maintenance/ then - there is already a benchmark script in there. [21:51:28] <wikibugs> 03(mod) OTRS Language translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14927 (10wiki) [21:52:10] <Sasoriza> No, wait. I'm wrong. It's not enabled. Hmm. I don't get it. Thumbnails used to render fine; still do on another 1.12 installation. This was 1.12 but they didn't; upgraded and still the same problem. [21:55:26] <CIA-55> 03huji * r38049 10/trunk/extensions/CategoryTree/CategoryTreeFunctions.php: Counts should be shown using localized digits, just like r 37784 [22:02:48] <Sasoriza> Nikerabbit, heard of Nightwish? [22:32:37] <wikibugs> 03(NEW) Redirect images without deleting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14928 15enhancement; normal; MediaWiki: Images; (lejonel) [22:38:26] <Lady_Aleena> Okay, I know that this is another of my tedious questions, but how can I reset the default "What links here" hits to say 500 instead of 50? [22:39:23] <kibble> maybe [[Special:Preferences#prefsection-6]] ? [22:41:52] <Lady_Aleena> Which is prefsection 6? I just got the User profile tab. [22:43:32] <OverlordQ> RC tab [22:44:20] <Lady_Aleena> That just works for Recent changes, but now for anything else, like What links here. [22:45:05] <Lady_Aleena> Mine is currently set at 250, but on What links here pages I still only get 50 a page. [22:50:12] <Sasoriza> what's the extension that enhances rc's? [22:51:34] <OverlordQ> think that's core [22:53:41] <Sasoriza> so it is [22:53:57] <Sasoriza> was thinking CleanChanges [22:54:53] <Sasoriza> hmm. can enhanced by defaulted 'on'? [23:00:10] <Sasoriza> I'd like to enable the ExtensionDistributor (even tho I know it's currently mw.org-specific). I've installed it; how exactly do I configure $wgExtDistTarDir and $wgExtDistWorkingCopy? [23:12:43] <CIA-55> 03demon * r38050 10/trunk/phase3/includes/ (AjaxFunctions.php PrefixSearch.php SearchEngine.php): [23:12:43] <CIA-55> Remove a bit of useless $wgCapitalLinks logic, all these code paths lead through Title::secureAndSpit() which handles initial-character-capitalization. [23:12:43] <CIA-55> *In SearchEngine's case, it gets caught every time further up the page (it never even reaches the upper/lower casing of only first character part) [23:12:43] <CIA-55> *PrefixSearch eventually sends it through ApiQueryBase::titleToKey() [23:12:46] <CIA-55> *AjaxFunctions immediately sends it to Title::newFromText() [23:26:50] <Lady_Aleena> I hope that Tim and Brion don't squash me like a little bug from my SiteMatrix nitpicking. :) [23:27:46] <Sasoriza> Report it on bugzilla :) [23:28:16] <Lady_Aleena> Nah, I used the talk page, I like talk pages. [23:28:48] *Sasoriza sighs. She missed it. [23:29:01] <Lady_Aleena> Missed what? [23:29:11] <Sasoriza> nm [23:29:14] <Lady_Aleena> Me nitpicking? [23:29:39] <Lady_Aleena> ok