[00:13:58] 03aaron * r32935 10/trunk/phase3/includes/Revision.php: Use page_latest, not the one before it [00:22:19] 03dale * r32936 10/trunk/extensions/MetavidWiki/includes/ (MV_MetavidInterface/MV_Overlay.php MV_ParserCache.php): cache naming bug [00:49:50] 03(NEW) Sitenotice is always displayed in site language, never translated although translations exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13647 major; normal; Wikimedia: Language setup; (danny_b) [00:49:59] Hi - can anyone tell me why these pages appear differently even though I am using the exact same wiki code [00:50:00] http://en.wikipedia.org/wiki/Template:Infobox_Wrestling_event [00:50:01] and [00:50:04] http://wrestlerpedia.com/info/Template:Infobox_wrestling_event [00:50:22] differences: the top box is on the left instead of right [00:50:27] and has no black outline [00:50:33] yet the wiki code is exactly the same [00:51:45] ? [00:52:14] HypedZJ: "Wrestling" is redirected to "wrestling" .. they should be identical [00:53:28] brion broke OTRS? [00:53:47] yep [00:53:54] he's fixing it though [00:54:00] so let's not ping him :-) [00:54:05] refer to him with bri-on [00:55:22] Noirb [00:55:42] HypedZJ: on wrestlerpedia, the have CSS class "infobox" is not defined in your Common.css: http://wrestlerpedia.com/info/MediaWiki:Common.css [00:55:51] compare with http://en.wikipedia.org/wiki/MediaWiki:Common.css [00:55:59] ok thank you! [01:09:52] 03aaron * r32937 10/trunk/phase3/maintenance/ (populateParentId.php updaters.inc): Add a script to populate rev_parent_id [01:20:43] 03(mod) Blocking and tagging from checkuser interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12808 (10mapellegrini) [01:23:33] I'm trying to import an xml dump, and I get: DB connection error: Access denied for user 'wikidb'@'localhost' (using password: YES) (localhost) [01:23:49] Which part of this have I screwed up? [01:24:39] do you have an AdminSettings.php file set up? [01:25:28] !AdminSettings | amgine [01:25:28] --mwbot-- amgine: AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [01:26:34] !del AdminSettings [01:26:34] --mwbot-- I don't know anything about "del". You might try: !deleteuser !protect [01:26:41] !AdminSettings is AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [01:26:41] --mwbot-- Keyword "adminsettings" already exists. Use "!adminsettings del" to remove it. [01:26:50] !AdminSettings del [01:26:50] --mwbot-- Successfully removed keyword: adminsettings [01:26:52] !AdminSettings is AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [01:26:52] --mwbot-- Successfully added keyword: adminsettings [01:50:00] Anyone there? I see a lot of users, but don't see any chatting going on... [01:50:54] it's very quiet. are you looking for anyone in particular? [01:51:54] I'm looking for general help- I have an installation of MediaWiki that's loading pages at a snail pace. [01:52:10] http://www.bjaodn.org [01:52:31] I was running 1.11.1, then upgraded to 1.12, and now it's slow. [01:52:42] I tried downgrading to 1.11.2, but it's still slow. [01:53:05] And the only thing I carried over was the database. Everything else, excluding the config files, uploads, and extensions, was nuked. [01:54:10] *nwwaew hopes that someone knows how to fix this... [01:55:59] I'm running Apache 1.3.41, PHP 5, and MySQL 5.0.45-community, on a shared Lunarpages server. And it's not the shared server that's the problem- the issue started when I upgraded. [01:56:27] nwwaew: ya, that thing is mad slow. [01:56:53] That's a big understatement. [01:57:32] nwwaew: how did you import? [01:57:46] Import the database? [01:57:50] just run the SQL file? [01:57:51] ya [01:58:22] I left the database intact, then used that for the database when I installed. [01:58:39] ah [01:59:06] Yeah. [01:59:39] Main page - Served in 18.449 secs. [01:59:44] OUCH. [01:59:46] nwwaew: just a random thought, how big is the job queue? [01:59:51] 0 [01:59:57] ;-) [01:59:59] Dunno. [02:00:05] it's at 0, i checked [02:00:13] Okay. [02:00:20] Yeah, it's a pretty quiet wiki. [02:00:51] pull it out of readonly? [02:01:23] Not yet. Want me to? [02:02:00] I don't think there were any db changes for 1.12 [02:02:07] ya [02:02:32] Done. [02:02:46] It's now read and write mode. [02:03:30] seems faster [02:03:33] [02:03:34] w00t [02:03:52] WTF? [02:03:59] Just taking out of read/write mode did that? [02:04:03] *nwwaew is stunned... [02:04:07] *TimLaqua shrugs [02:04:24] i interpret "read only mode" as "not normal" [02:04:38] special:statistics is much much faster now [02:04:43] Yeah, I only put it into read-only when I'm doing upgrades, or working on the database. [02:04:50] how did you set it in read-only mode? [02:04:56] $wgReadOnly [02:05:02] odd [02:05:06] I switched it back to read only. [02:05:15] Lets see if it went slow again. [02:05:16] oh, now it's mad [02:05:21] you made a syntax error [02:05:47] Fixed. [02:06:07] still pretty quick [02:06:08] And it's running fine in read-only mode now... [02:06:17] no idea [02:06:24] *TimLaqua shrugs again [02:06:40] I have no idea what to think now. [02:07:02] I've seen MediaWiki be crazy slow right after a move [02:07:12] And that fixes it? [02:07:22] it just always seemed to go away on it's own for me [02:07:24] ;-) [02:07:26] I guess you just won "Stump the Developers on IRC" [02:07:46] I'm not a developer in any sense of the word [02:07:57] but I don't know why it was slow and now isn't [02:08:06] magic [02:08:08] Neither do I. I assume it's just "one of those things". [02:08:17] Thanks for the help, everyone. [02:08:23] np [02:08:36] Now, I'm going to see if I can get this upgraded to 1.12. [02:08:49] And there are database changes, according to the readme. [02:09:22] I didn't see any in updaters.inc [02:09:49] but you ran update.php anyway, right? [02:10:02] I can't. [02:10:21] I have shell access to the server, but PHP 5 is enabled through cPanel. [02:10:27] the web install method works fine [02:10:34] what were the db changes? [02:10:38] Yeah- I reinstall the software entirely. [02:10:57] how did you migrate the db? [02:11:11] I just left it, and told the installer to use it. [02:11:44] And there's several schema changes, according to this. [02:11:55] http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_12_0/phase3/RELEASE-NOTES [02:11:55] right - that could be part of the problem [02:12:12] Then that is a serious problem. [02:12:24] Because I don't think I can run update scripts from the shell, without PHP 5. [02:13:42] nwwaew: the web installer will upgrade the db [02:13:52] Excellent! [02:14:14] make sure you use the same prefix, same db, same admin user, etc. [02:14:39] I do. [02:16:04] are the schema changes documented anywhere? [02:16:23] I haven't seen any documentation yet. [02:21:49] well, hopefully the web install script will fix everything [02:22:05] Yeah, same here. [02:22:09] the upgrading docs also suggest 'phpshell' as a possible way to run the update script [02:22:24] I've tried that before. No dice here. [02:22:53] I use the web updater on a few godaddy hosted sites, and update.php on some local servers - never had problems w/ either method [02:23:26] MrZman: Actually, yes, I have the AdminSettings.php set up. [02:24:20] Sorry, MrZ-man [02:24:24] hmm, incorrect password or username there is the only thing I could think of that would cause that [02:24:41] Yah, that's what's confusing me as well. [02:25:17] you could try creating another user [02:25:27] Trying that now. [02:27:04] alternatively, you could use mwdumper [02:27:09] !mwdumper [02:27:09] --mwbot-- http://www.mediawiki.org/wiki/Mwdumper [02:27:50] I was using mwdumper when it imploded about 3 hours into it. [02:28:00] :S [02:28:02] I don't know how to restart it where it left of. [02:28:04] off. [02:28:54] import seems to be working... no output from it, but the new account is working. [02:47:55] er, quick dumb question. I have an example of a link, http://www.foo.com, I want in the page, but I don't an actual link. How do I prevent it from being interpreted as a link? [02:48:34] http://www.foo.com [02:48:40] ahhhh. Thanks. [02:48:47] Is there any easy way to have mediawiki spit out an ical file? so people's calendars in outlook, thunderbird etc, can automatically be updated with a particular page/variable? [02:48:52] for my lug, www.lilug.org [02:49:15] unstable: that that I know of, but there might be something in the extension matrix [02:49:57] !extensionmatrix [02:49:57] --mwbot-- http://www.mediawiki.org/wiki/Extension_matrix [02:54:06] unstable: if you don't find an extension that does it, throw an request in the Extension Request page - i'll take a look. [02:55:08] heh. I'd be interested in an ical extension of some form... [02:55:21] Especially one tied in to a tide event generator. [02:55:29] What about a DVIM-extension? [03:03:53] Where is the extension request page? [03:05:33] http://www.mediawiki.org/wiki/Extension_requests [04:39:03] hi folks [04:39:14] I'm trying to change the skin for every user in my wiki [04:40:07] in the setup I have to work with, I don't have php-cli so I can't run the maintenance script like recommended on http://www.mediawiki.org/wiki/Manual:Skin_configuration [04:40:25] but I do have access to a phpMyAdmin and to the command line mysql tool [04:40:49] but I don't know enough to know how to edit the blob "user_options" in the user table. [04:41:31] in phpMyAdmin, it says the field is of type "blob" and there's a button to upload a replacement value, but I couldn't figure out how to download the current value (to edit it) [04:42:06] in the cli mysql, I can see that the blob is in fact a bunch of key/value pairs, but I don't know enough SQL to figure out how to modify just the one line in the blob. [04:42:13] can anybody help? [04:49:51] hello [04:50:45] whats the best way for me to get short urls for a wiki tthat is in sub directory and still have a websitee in the root of the doomain [04:58:39] roboman: you could use an alias if you have access to the apache config. or use a domain prefix (wiki.domain.com) if that's an option (you need to have access to both the apache config and the DNS then) [04:59:01] roboman: or just rename that wiki directory to make it shorter ;) [05:00:23] 'ok [05:00:50] so since I dont have root acces, is using a aubdomain the best way to do it? [05:01:41] I can create subdomains but dont have root access [05:01:48] roboman: a subdomain isn't an option, unless you can define virtual hosts for apache, which usually requires root rights [05:02:55] ok [05:15:54] moring [05:36:09] I got it working with a subdomain [05:36:16] thanx [05:37:49] *Werdna waves [05:39:21] *amidaniel beats Werdna over the head with a tire iron [05:50:56] 03aaron * r32938 10/trunk/phase3/includes/Revision.php: Check if rev_parent_id is set first [06:05:19] *Lady_Aleena skulks into the channel. [06:10:13] *amidaniel waves to Lady_Aleena [06:10:30] *Lady_Aleena waves amidaniel. [06:12:37] amidaniel: what did I do now? :( [06:13:01] *Lady_Aleena waves Werdna. [06:13:24] Werdna: Just my new way of greeting people. [06:13:25] *Werdna waves TimStarling [06:13:47] hello [06:14:02] *amidaniel waves to TimStarling too [06:14:04] *Lady_Aleena waves TimStarling too. :) [06:14:14] Don't you feel loved? :) [06:14:31] I don't wave to anyone, I just pick them up and wave them about. :) [06:15:50] hey [06:15:55] *Splarka wonders why ami didn't iron tim [06:16:20] He didn't seem to have any wrinkles. [06:16:29] *Lady_Aleena waves AaronSchulz and Splarka and realizes she wishes she had an IRC template to do it. ;) [06:17:16] I was seriously considering making a template for the creation of Assessment pages. I mean the whole page. [06:17:28] for s in `/names`; do wave $s ; done [06:17:52] *Werdna stabs amidaniel for using bash scripting [06:18:05] amidaniel: I am not sure that I can do that with Trillian. [06:18:13] dammit, somebody wrote PAGESINCATEGORY magic word [06:18:18] bastard.. that was my bug for today [06:18:43] *Lady_Aleena bounces on her tippy toes. [06:18:45] Does it work? [06:19:01] *amidaniel bashes Werdna over the head with a red-hot poker [06:20:04] {{PAGESINCATEGORY:Doctor Who}} gives me a redlink. [06:20:12] Lady_Aleena: it's not live yet [06:20:16] and it'd be #pagesincategory [06:20:45] Do you know when it will be live? [06:21:09] the usual, next scap [06:21:16] scap? [06:22:11] *TimStarling newbie sensor alert [06:22:15] !scap | Lady_Aleena [06:22:15] --mwbot-- Lady_Aleena: Sync-Common-All-PHP - this is when SVN changes are synchronised to the application servers. For further information, see [06:22:31] *amidaniel pets mwbot [06:23:40] Okay, when will that be, pretty please? TimStarling, I am a newbie on this channel, however I have been editing on and off for about 2 years. [06:24:32] I love playing with templates. [06:24:44] it looks like the schema update is finished [06:24:54] it's a discussion for #wikimedia-tech, anyway [06:25:28] TimStarling: Which discussion? My enjoyment of fiddling with templates or the update question? [06:26:19] the things I have to do before a scap are a discussion for #wikimedia-tech [06:26:24] Also, is there a discussion page somewhere for PAGESINCATEGORY? [06:26:59] Tim, are you a god? [06:28:29] *AaronSchulz rolls eyes ;) [06:28:43] *Lady_Aleena giggles. [06:30:46] 03tstarling * r32939 10/trunk/phase3/maintenance/archives/upgradeLogging.php: Fixed progress output [06:41:30] miranda is everywhere [06:41:36] there's no place to hide =( [06:43:30] nokmar: That is not a bad thing as far as I know. [06:44:15] as far as I know, Miranda is a horrible person [06:44:27] I remember ##cremepuff222 was created to get away from her [06:47:22] 14(DUP) alternative thumbnail not possible - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11816 +comment (10raimond.spekking) [06:47:27] 03(mod) Thumb= parameter on images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13624 +comment (10raimond.spekking) [07:13:29] 03siebrand * r32940 10/trunk/phase3/maintenance/language/messages.inc: Add new messages to messages.inc [07:14:01] good morning siebrand [07:24:35] 03siebrand * r32941 10/trunk/phase3/languages/messages/ (36 files): Localisation updates for core messages from Betawiki (2008-04-08 08:39 CEST) [07:26:48] 03nikerabbit * r32942 10/trunk/phase3/includes/LogEventsList.php: * Add a class for styling [07:26:59] -> shower [07:28:22] ok, updated to r32942 [07:33:42] Errors parsing /home/wikipedia/common/php-1.5/extensions/GlobalUsage/GlobalUsageDaemon.php [07:35:57] 03tstarling * r32943 10/trunk/extensions/GlobalUsage/GlobalUsageDaemon.php: fixed parse error [07:36:20] 03siebrand * r32944 10/trunk/extensions/ (68 files in 66 dirs): Localisation updates for extension messages from Betawiki (2008-04-08 08:39 CEST) [07:40:00] I love mediawiki [07:40:59] I committed GlobalBlocking a day ago, and it's now in bulgarian, german, galician, luxembourghish, dutch, norwegian, slovak, serbian cyrilliic ekavian, swedish, vietnamese [07:41:14] 03aaron * r32945 10/trunk/phase3/includes/Revision.php: Consistent case [07:43:01] Werdna: I said you will be happy :) [07:43:17] hehe [07:44:38] TimStarling: dodgy population of rev_parent_id [07:44:52] in fact, rev_parent_id will be populated to all zeroes. [07:45:19] 03(mod) Single login (Unified login) on all wikimedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=57 (10anon.hui) [07:49:41] 03siebrand * r32946 10/trunk/phase3/languages/messages/MessagesAf.php: Fix namespace names [08:01:26] 03(NEW) New Zealand Timezone - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13648 15enhancement; normal; Wikimedia: Bugzilla; (certain.shadow) [08:04:02] 03(mod) New parser breaks some template expansion in Semantic MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12906 +comment (10nicolas.brouard) [08:09:49] Werdna: ooh the whining started? :o [08:09:59] or the slowness [08:10:01] Nikerabbit: where? [08:10:05] Werdna: about the logs [08:10:13] they are slow as fuck [08:10:13] haha [08:10:30] Aaron|sleep: yeah, that's good, the can't access them to whine about :o [08:10:39] hehe [08:11:15] <_wooz> lo [08:12:26] Werdna: bah there is only to – there [08:29:12] hello [08:29:17] need help [08:29:21] With? [08:29:39] how do I delete permanently files please? [08:29:52] 03(NEW) wfTimestamp() called with illegal output type - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13649 04CRIT; normal; MediaWiki: Page editing; (nicolas.brouard) [08:30:02] YK_SysRes: What type of file? [08:30:19] pics [08:30:30] Did you upload them? [08:30:40] i delete them, but they're still here ready to restore [08:30:47] yes [08:31:31] When Wikipedia comes back up, you can also post your request on the appropriate deletion page. [08:32:17] ?* [08:32:36] YK_SysRes: is it on your own wiki or a wikimedia wiki? [08:32:42] what's wikipedia has to do about it? [08:32:53] I guess I should have asked that first. [08:32:54] ye my own wiki [08:33:05] example [08:33:24] right, there is a setting, to have deleted files stored or not [08:33:39] Oh, then I don't have any idea. Sorry. [08:33:48] http://wiki.no.intro.free.fr/index.php?title=Image:SNSP-RI-FAH-PCB.jpg&action=history [08:34:27] why the deleted files are still here goddamnit [08:34:47] it is a setting [08:34:58] really? [08:35:00] and only sysops can (usually) see them [08:35:06] I can set it to perm delete? [08:35:13] is there an extension to be able to flag the articles (I mean that normal users can notify moderators that the content of an article should be reviewed or deleted) [08:35:41] Piero, example? [08:35:53] Piero> this can be easily done with a few templates [08:35:58] there is an article lets say with racism in it [08:36:17] i want to tell the admin that it should be removed [08:36:26] by clicking on something [08:36:36] Piero, have you tried working it out with the other editors of the article? [08:36:41] i think there is a template to mark a page for deletion [08:36:53] i mean, i know how to program it, but it would be better if i could use something already made [08:37:19] YK_SysRes: hmm, that file is viewable though, and you tried action=delete ? [08:37:30] it's better to avoid extensions when possible [08:37:38] they tend to break with updates [08:37:39] Piero: Try {{POV}} for the article or section. I think that is the name of the template. [08:37:40] really..? [08:37:54] yeah [08:37:55] http://209.85.173.104/search?q=cache:omBA5i1qw50J:www.mediawiki.org/wiki/Manual:%24wgSaveDeletedFiles+site:mediawiki.org+wgSaveDeletedFiles&hl=en&ct=clnk&cd=1&gl=us http://209.85.173.104/search?q=cache:OdNOJeSWFG0J:www.mediawiki.org/wiki/Manual:%24wgFileStore+site:mediawiki.org+wgFileStore&hl=en&ct=clnk&cd=1&gl=us (caches, mediawiki.org is a bit slow or down atm) [08:38:03] i just had {{POV}} in an article? [08:38:28] you need to write the template too [08:39:05] Piero: That will alert other editors that there is a problem needing resolution. You could also open a dialog on the article's talk page about the problem. [08:39:37] the first link is deprecated [08:39:43] can someone help me on the perm deletion stuff? [08:39:53] Piero: depends on version [08:40:03] not everyone runs trunk [08:40:04] i want to perm delete files as I run out of space in my server [08:40:06] Piero: I would be more precise, but Wikipdia is down or awfully slow at the moment. [08:40:28] YK_SysRes: what do you want to do sorry? [08:40:28] YK_SysRes: are you a sysop? [08:40:38] i'm the site owner [08:41:08] you may have to go to the folder and remove the hash file directly [08:41:26] but that still doesn't answer the question, is your account on the wiki set to 'sysop'? ^_^ [08:41:46] yeah sysop, bureaucratt etc... [08:41:52] all possible powers [08:42:00] YK_SysRes: http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Undeleting_images [08:42:17] right, so is the image you want deleted this one? http://wiki.no.intro.free.fr/images/b/b6/SNSP-RI-FAH-PCB.jpg [08:42:27] or an older version that has already been 'deleted' ? [08:42:52] Duesentrieb> WOW thanks just what I needed [08:43:02] (note that we can only see that one, of the URL you gave us) [08:43:19] So i found that: [08:43:20] [08:43:28] And then what, i just add it at the bottom of the article? [08:43:53] *Splarka linked to Manual:$wgFileStore earlier... bah [08:43:55] Top of the article or section. [08:43:56] Piero: please paste post more than three lines. and, err... that does not look like a mediawiki template. [08:44:09] Splarka> it's an older file, but even if i delete it in ftp, it will still ask me if i want to restore it [08:44:23] im developing a wiki, i just want to give the users the possibility to notify the sysop if an article should be reviewed [08:44:33] Piero: write a teample for that [08:44:39] !templates | Piero [08:44:39] --mwbot-- Piero: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy . [08:44:46] YK: there is another solution then... [08:44:47] Piero i can help you by pm [08:44:52] thanks [08:44:57] pm me [08:45:01] Piero: Oh, I thought that there was an article on Wikipedia you were having trouble with. [08:45:15] im blocked [08:45:21] cause im unregistered [08:45:25] damn freenode [08:45:28] YK_SysRes: to pm you, he needs to register, or you need unfiltered pm [08:45:50] i tried to register but it never works [08:45:59] /msg nickserv set unfiltered on [08:45:59] YK_SysRes, Piero: just join #ykhelp [08:46:07] :) [08:46:18] thx :) [08:46:19] Splarka: works if he's registered :) [08:46:31] 03aaron * r32947 10/trunk/phase3/includes/LogEventsList.php: Force index [08:46:34] Piero check this : [08:46:35] http://wiki.no.intro.free.fr/index.php?title=Template:Deletion [08:47:19] *Splarka shakes his head at dues [08:47:26] you know, goldfish only have a 3 second short term memory [08:47:34] did you remember mentioning it first? heh [08:48:00] huh? [08:48:07] and so what they've been marked for deletion [08:48:16] thats what i want to do and it doesnt help me! :p [08:48:23] i know i can do it [08:49:09] well what would help you? [08:49:34] the template manual you gave me! :) [08:49:55] #ykhelp [08:50:23] Piero: i think you didn't quite understand the link YK_SysRes gave you. yea, go both to that channel :) [08:50:30] *Duesentrieb should get off irc and get work done [08:50:47] Duesentrieb thx again [08:50:56] np [08:52:04] 03aaron * r32948 10/trunk/phase3/includes/LogEventsList.php: type/time [08:58:42] 03(mod) ability to have member categories as well as subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13590 (10catlow) [09:16:11] YK_SysRes: Are you still here? sorry a last question. When the article has been marked for deletion, you cant cancel the template, i mean cancel the deletion marking?? [09:17:36] does anybody know how to cancel a deletion request? [09:18:14] ye [09:18:21] :p [09:18:33] just delete the {{deletion}} in article [09:18:46] its not there [09:18:48] anymore [09:18:50] 03aaron * r32949 10/trunk/phase3/includes/LogEventsList.php: Tweak - title index better than user in these cases most likely [09:18:59] when i edit it, its not in the text [09:19:10] link? [09:19:44] http://en.sports-wiki.net/index.php?title=Badminton&action=edit§ion=1 [09:19:52] link to your list of articles marked for deletion [09:20:12] http://en.sports-wiki.net/Category:Request_Deletion [09:20:46] Current revision (08:59, April 8, 2008) (edit) (undo) [09:20:46] Ierpe (Talk | contribs) [09:20:46] (?Badminton) [09:20:46] Line 1: Line 1: [09:20:46] + {{deletion}} [09:20:56] it is still here! [09:21:13] lol im dumb or what? i cant see it [09:21:16] delete + {{deletion [09:21:40] ha yeah its there, i swear it wasnt [09:21:57] prolly a cache problem xD [09:22:56] thx again! [09:23:02] Hola. [09:23:03] np =} [09:24:26] Once more I run into a wall with the template programming... How to make a template add more lines only if a certain stat is there? IE : If I have "Date of Birth" variable set, I want it shown, if I haven't I would prefer not to have a blank box in my table... [09:25:08] And is there any way to do this somewhat arbitary? Like "Child 1, child 2, child 3" etc [09:25:41] I am thinking nested templpates but... that is a mire that sounds somewhat scary? [09:27:27] the typical way is with ParserFunctions [09:27:54] *nods* I have been looking at #switch [09:27:55] is Duesentrieb around? [09:27:57] {{#if:{{{dateofbirth|}}}|Date of birth: {{{dateofbirth}}} }} [09:28:13] That simple? Nice... [09:28:17] infobox templates on wikipedia for example, add wikitable rows for each parameter, usually [09:28:29] note that #if only checks nullity [09:28:54] {{{dateofbirth|}}} < that pipe in the variable name? that means "if undefined, define as such", and with nothing after it, that means null [09:29:08] so is needed on the #if check [09:29:26] it isn't needed in the next call to it, since that never happens if the parameter is undefined [09:29:42] alternatively, for required parameters, you might use: [09:29:52] {{{dateofbirth|please define a '''date of birth'''}}} [09:29:52] Buut... I could make a subtemplate then that uses {{Sub:{{{1}}} }} to type the effects in the more arbitary way I need? [09:29:54] ... nice. [09:30:24] what arbitrary way do you need? [09:31:10] Basically just wanting to be able to add {{Template|Data about person|Child1 etc etc etc }} and make it work no matter how many children I add to it... [09:31:22] ahh [09:31:36] {{#if:{{{1|}}}|{{{1}}}}} [09:31:39] {{#if:{{{2|}}}|{{{2}}}}} [09:31:42] 03(mod) Create (rev_timestamp,rev_user_text) index - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13622 (10roan.kattouw) [09:31:48] for as many parameters as you might have [09:32:19] And that'd work even if I have named parameters before? :) VERY nice. [09:32:27] well [09:32:33] hmm [09:32:41] no [09:32:45] but you can cascade them [09:33:02] {{#if:{{{1|{{{dob|}}}}}}|{{{1|{{{dob}}}}}} }} [09:33:12] will check if 1 *or* dob is defined [09:33:17] Like... what if I want to be able to add {{Child|Birth={{{2}}}|Death={{{3}}} }} [09:33:57] on what conditions? [09:34:47] IF there is a child IE {{#if:{{{Child1|}}}| {{Child|Birth={{{2}}}|Death={{{3}}} }} [09:35:39] IF there is a child IE {{#if:{{{Child1|}}}| {{Child|{{{Child1}}}|Birth={{{2}}}|Death={{{3}}} }} Even [09:37:20] well, what will 2 and 3 be? [09:37:32] you probably want those named... [09:39:01] {{Maintemplate|TYadda=1jhjkjh|yadda=djhhkaj|Child1=Name|Bdate1=1932|Ddate1=1988|Child2=}} As the call... [09:39:22] {{#if:{{{Child1|}}}| {{Child|{{{Child1}}}|Birth={{{Bdate1}}}|Death={{{|Ddate1}}} }} [09:39:25] {{#if:{{{Child1|}}}| {{Child|{{{Child1}}}|Birth={{{Bdate1}}}|Death={{{Ddate1}}} }} [09:39:30] er, yah, that [09:39:40] ... the big question is this? [09:39:54] Could I put the child1 replaces with just using a [09:40:09] {{Maintemplate|TYadda=1jhjkjh|yadda=djhhkaj|Name|Bdate1=1932|Ddate1=1988|Name2}} As the call... [09:40:26] And let the #if check just {{{1}}} and {{{2}}}} ? [09:40:36] well, technically, but easy to mess up [09:40:41] are you expecting users to use this? [09:40:49] safer to use names for complex template calls [09:40:49] No, only me. :) [09:41:07] then yes, you can... just be careful ^_^ [09:41:17] I am glad if any of my six users actually takes the time to input ANYTHING. :) [09:41:20] you could even do... [09:41:52] {{Maintemplate|TYadda=1jhjkjh|yadda=djhhkaj|Name|1932|1988|Name|1921|1999|Name|1955|-|Name|1234|4321}} [09:42:07] {{#if:{{{1|}}}| {{Child|{{{1}}}|Birth={{{2}}}|Death={{{3}}} }} [09:42:20] {{#if:{{{4|}}}| {{Child|{{{4}}}|Birth={{{5}}}|Death={{{6}}} }} [09:42:21] etc [09:42:30] THAT works. :) [09:42:42] That was actually exactly what I hoped for. :) [09:42:54] Thanks for tipping me where to look. :) [09:42:55] but easy to mess up, be aware ^_^ [09:43:00] you may wanna do something like [09:43:08] {{Maintemplate|TYadda=1jhjkjh|yadda=djhhkaj| [09:43:19] {{children|Name|1932|1988|Name|1921|1999|Name|1955|-|Name|1234|4321}} [09:43:25] |foo=bar|baz=baf}} [09:43:39] wrap the children template calls in a sub template as a template parameter [09:43:41] 03btongminh * r32950 10/trunk/pngds/: Creating directory for pngds [09:43:57] Yeah that'd work even better. Easier for others to understand too. [09:45:53] 03btongminh * r32951 10/trunk/pngds/ (5 files): Adding (unfinished) tool to resize PNGs in a memory friendly way [09:47:56] 03(NEW) decimal fractions in image sizes are parsed incorrectly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13650 normal; normal; MediaWiki: Images; (gtisza) [09:50:09] where can I get more information about "The Adjacency List Model" && rev_parent_id ? :) [09:50:46] or actually, is rev_parent_id always the id of the previous revision for the same page ? [09:51:27] 03tstarling * r32952 10/trunk/phase3/includes/Hooks.php: Workaround for call_user_func_array bug [10:14:07] 03(NEW) "Automatically resolve redirects" -feature causes error at fi.wikipedia.org. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13651 normal; normal; MediaWiki: API; (asko.soukka) [10:14:23] Question MediaWiki awesome people: Keep in mind that the path to the stylesheet is relative. It is skins/roundedblue/main.css. If the stylesheet is not being applied when you select this skin in your preferences, then change the main.css stylesheet path to fit the directory structure in your own MediaWiki installation. [10:14:44] Can you translate that into instructions on how I fix the issue? [10:15:28] IE I'm having the problem and I'm pretty sure that's the issue but since my mediawiki admin abandoned us I really have no clue what I'm doing! =) [10:44:23] hello, I want to know how delete a page's history and images backup (image i have deleted) ? [10:45:59] Where is coded the editing menu (All the templates buttons)? i cant find it in EditPage.php... [10:46:22] i want to add new buttons for templates i created [10:46:39] Piero: I believe some of it is in MediaWiki:Edittools [10:46:54] thx ill look into it now [10:47:35] hmm i cant find a page called Edittools [10:47:44] [[MediaWiki:Edittools]] [10:48:21] That's where the buttons below the edit box come from [10:48:33] ah, RoanKattouw, can you confirm that rev_parent_id IS NULL <=> page is new ? :) [10:48:35] I don't know where the buttons *above* the edit box come from, though [10:48:41] no i want to add new buttons above the edit [10:48:42] :p [10:49:12] NicDumZ: Don't count on that. rev_parent_id IS NULL for all revisions made before yesterday [10:49:19] piero: those are mwCustomEditButtons [10:49:25] Unless you ran the maintenance script [10:49:30] thx [10:49:36] http://www.wikia.com/wiki/Help:Custom_edit_buttons [10:49:38] there's a populate script :) [10:49:40] yes [10:50:33] And there's something to watch out for: a page with merged histories will have two revisions with rev_parent_id IS NULL [10:50:44] At least that's what I think [10:50:48] interesting [10:50:58] You should probably ask Aaron about the details, but he's asleep now [10:51:00] well yes, a bit of doc is missing here :) [10:51:16] That's not that strange, it was added less than 12 hours ago [10:51:39] I wanted to implement https://bugzilla.wikimedia.org/show_bug.cgi?id=4150, Record "new" pages on User contribs, with that [10:51:57] the populate script, yes, but the sql field has been here for a long time :) [10:52:24] I'll wait a bit ^ [10:55:13] is there an expert of mediawiki here? [10:55:28] the thing is i want to add a button for all the users, i need to know where is the default toolbar coded... :/ [10:55:42] experts ? :) Some developers, maybe... :þ [10:56:11] Piero>button are coded in include/editpage.php [10:56:22] YK_SysRes: No they're not, he checked [10:56:31] NicDumZ> is it possible to disable save old image? [10:56:38] Image archiving? [10:56:53] save deleted image [10:56:57] Disabling that would suck: what if someone uploads a 1x1 image on top of another image? [10:57:07] He'd effectively have deleted it [10:57:32] RoanKattouw> on my wiki only ops can over write an image [10:57:51] man, undo has got to be the best feature I have ever written [10:57:53] Piero: you're trying to add buttons to the edit toolbar? [10:57:53] On Commons, anyone with an account older than 4 days can overwrite an image (IIRC) [10:57:55] it sucks my server space and is totally useless to me [10:58:08] I want to kill the dev who made this default [10:58:09] YK_SysRes: Maybe Special:Nuke will work for you [10:58:11] !e Nuke [10:58:11] --mwbot-- http://www.mediawiki.org/wiki/Extension:Nuke [10:58:35] YK_SysRes: maybe mediawiki isn't what you should be using. [10:59:18] Piero: we did it with js. Look at http://en.wikibooks.org/wiki/MediaWiki:EditToolbar.js [10:59:29] included in Common.js so all users have it loaded [10:59:38] Special:Nuke doesn't seem to be usefull to disable save deleted image [10:59:54] Werdna> how about STFU! [11:00:05] ... [11:00:15] YK_SysRes: There is a maintenance script to delete old revisions--it might do images too [11:00:19] YK: mind your manners please [11:00:31] and by old I mean deleted [11:00:37] he should mind his manners too [11:00:48] MediaWiki is all about keeping a history of everything that's done. That's what a wiki is. [11:00:54] what's rude about suggesting mediawiki isn't the best software for what you want to do? [11:01:17] I can't run the maintenance scripts, at all since I only own a sub domain [11:01:28] considered something like phpshell? [11:01:44] I've heard mixed reports about how that works, but in theory it should let you run the maintenance scripts. [11:02:25] will give it a try [11:02:49] but I doubt I can do anything that require right on the whole server [11:03:04] it doesn't need rights on the whole server. [11:03:44] if it need to be installed in the server then i simply can't do it [11:04:16] i can't touch any of the server setting or softwares [11:04:29] all i can do is upload in my subdomain [11:04:30] it doesn't need to be installed on the whole server. [11:04:37] it's a php script, which you upload to your site [11:04:55] http://mgeisler.net/php-shell/ [11:05:48] The latest version of PHP Shell is 2.1 from December 27, 2005. Download it as [11:10:14] How have the block "contents" in the page ? [11:14:59] 03(mod) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 +comment (10roan.kattouw) [11:15:05] 03(mod) "Automatically resolve redirects"-feature causes error at fi. wikipedia.org. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13651 +comment (10roan.kattouw) [11:15:27] phpshell failed [11:15:39] i go in the maintenance folder [11:16:01] and then it tells me php or php-cgi are not valid commands [11:17:29] YK_SysRes: Try php5 [11:18:56] php5 is not a valid command [11:19:00] it says [11:19:20] That sucks [11:19:53] it seems nothing is a valid command for this piece of shit script [11:20:21] not really surprised since it's a 2005 script [11:20:25] The script doesn't suck, your hosting does [11:20:46] i am using xampp latest [11:20:47] YK_SysRes seems to have quite an attitude given his incomprehension [11:21:08] what about xampp sucks? [11:21:32] well, it doesn't have a php cli [11:22:32] mark: Yep [11:23:27] phpshell is supposed to be a php cl [11:23:44] Hi... I am hunting a bug in an extension I wrote. I am using the ParserAfterTidy-Hook which is fired twice. The way I understand the documentation it is supposed to fire only once. Is that behaviour documented anywhere? [11:24:21] yankee: The way I understand it, AfterTidy runs a lot of times on small fragments of wikitext [11:24:28] Oh wait not wikitext, HTML [11:24:52] YK_SysRes: No, phpshell is a *wrapper*: it makes the PHP CLI accessible if you don't have CLI access [11:25:02] YK_SysRes: no, it's a php SHELL provider. there is no cli to php on your hosting, and it can only be installed by your host [11:25:25] damn [11:25:42] I knew i could do nothing command line related :/ [11:26:37] how do i install a CL ? [11:26:55] i will do it on local [11:27:10] Download it from www.php.net ? [11:27:15] 03(NEW) EXIF to Semantic Data - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13652 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [11:28:00] RoanKattouw: Is there a better way to output some javascript code that I want to emit on every page? [11:28:00] the whole package? [11:28:15] yankee: Better way than what? [11:28:35] ParserAfterTidy? [11:28:36] Definitely [11:28:37] Better that using the AfterTidy-Hook [11:28:38] yankee: use common.js [11:28:44] $wgOut->addScript() [11:28:54] oh.... yup. wrong [11:28:59] *Mike_lifeguard !quiet [11:29:00] Mike_lifeguard: It's part of an extension [11:29:21] yankee: There is a hook for that somewhere [11:30:26] BeforePageDisplay [11:30:31] 03mkroetzsch * r32953 10/trunk/extensions/SemanticMediaWiki/ (4 files in 3 dirs): + Arabian language version (by Mahmoud Zouari), some CSS changes for better RTL language support [11:30:41] http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay [11:31:15] RoanKattouw: thx... That helps [11:31:20] yankee: You basically need to do $out->addScript(''); in a BeforePageDisplay hook [11:33:01] xampp actually has the command lines [11:33:12] php.exe [11:33:27] Then maybe they're not in your PATH [11:37:01] the maintenance folder needs to be in the same folder as php? [11:37:31] makes no sense :s [11:37:37] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10joseluislikebetter) [11:39:04] YK_SysRes: That's not what I said [11:39:13] 03mkroetzsch * r32954 10/trunk/extensions/SemanticMediaWiki/README: updated translation credits [11:39:26] There's the $PATH environment variable that lists a couple of folders [11:39:37] C:\Windows is among them on a Windows system [11:40:03] If you enter a command (like 'notepad'), the shell will go through those folders to see if there's a notepad.exe in there [11:40:24] Apparently the folder containing php.exe isn't in your PATH [11:40:26] So you need to find it [11:40:35] Or ask your host which one it is [11:40:48] my stucture is [11:41:03] home/php [11:41:16] home/htdocs/mw1120/ [11:41:17] Oh you installed PHP locally? [11:41:19] Even better [11:41:45] i installed php shell in home/htdocs/mw1120/ [11:41:56] Where's your MediaWiki install? [11:42:08] in home/htdocs/mw1120/ [11:42:15] Right [11:42:20] So is PHPShell working now? [11:42:26] yes [11:42:29] Good [11:42:45] i mean no :s [11:42:59] It didn't *have* to be in the same folder, but you'd have to do 'php ..\mw1120\maintenance\update.php' instead [11:43:03] nothing i ask it is valid [11:43:14] YK_SysRes: Is PHPShell working? I don't care whether maintenance.php is working (yet) [11:43:25] What did you ask it then? [11:43:49] i can open phpshell in browser yes, then I login and see a command line [11:43:55] Enter 'dir' [11:44:02] i can do cd command [11:45:04] ye? [11:45:24] 06/04/2008 11:29 . [11:45:24] 06/04/2008 11:29 .. [11:45:24] 21/12/2007 04:01 306 apache_installservice.bat [11:45:24] 21/12/2007 04:01 353 apache_uninstallservice.bat [11:45:24] 06/04/2008 11:30 bin [11:45:25] 06/04/2008 11:30 conf [11:45:27] 06/04/2008 11:29 error [11:45:29] 06/04/2008 11:29 icons [11:45:31] 08/04/2008 13:32 logs [11:45:33] 21/12/2007 04:01 566 makecert.bat [11:45:35] Yes yes I get the point [11:45:35] 06/04/2008 11:29 modules [11:45:37] 06/04/2008 11:29 proxy [11:45:39] 06/04/2008 11:29 symbols [11:45:43] please don't do that. [11:46:17] Anyway, you'll have to find out where php.exe is [11:46:32] it's in home/php [11:46:36] Good [11:46:46] Where was MediaWiki again? [11:47:02] in home/htdocs/mw1120/ [11:47:21] Then cd your way to home/php [11:47:28] done [11:47:30] $ cd php [11:47:38] And from there run 'php ..\htdocs\mw1120\maintenance\whatever.php' [11:47:42] Current Working Directory: D:\Development\xampp\/php [11:48:14] :oh [11:48:19] giviong it a try [11:48:23] lol you fond XAMPP's PHP [11:48:38] I don't think it'll work [11:48:48] Because you're in XAMPP's PHP directory, not in your own [11:49:10] it doesn't work [11:49:22] still the same 'not valid command' rant [11:49:23] Do you know the full path to your MW files (like D:\foo\bar\mw1120) [11:49:38] yes [11:50:03] D:\Development\xampp\htdocs\mw1120\ [11:50:04] Then do php D:\whereever\that\is\mw1120\maintenance\whatever.php [11:50:29] i try with php-win.exe [11:50:37] Ah that's probably better [11:50:37] maybe better for windows [11:51:48] x______x php-win is not a valid command [11:51:51] I typed [11:52:01] $ php-win D:\Development\xampp\htdocs\mw1120\maintenance\deleteOldRevisions.php [11:52:11] Try php-win.exe instead of php-win [11:52:45] not valid x____x [11:53:36] What's the *exact* error? [11:54:24] 'php-win.exe' is not a valid command [11:54:37] you dont have it in your current PATH .. [11:54:38] 'php-win.exe' is not a valid internal command [11:54:50] Mesophan: It's in his working directory [11:54:51] 03tstarling * r32955 10/trunk/ (2 files in 2 dirs): Don't use query groups for master connections [11:55:09] cant be. [11:55:11] YK_SysRes: Try using the full path there too: D:\whatever\php-win.exe [11:55:28] k [11:55:53] Or prepend cmd /c to your command, like 'cmd /c D:\whatever\php-win.exe something' [11:56:12] $ D:\Development\xampp\php-win.exe D:\Development\xampp\htdocs\mw1120\maintenance\deleteOldRevisions.php [11:56:19] YK_Sysres: Using Windows OS?? [11:56:24] ye [11:56:33] Shinjiman: PHPshell [11:56:45] If so, did you set the php directory to the PATH?? [11:56:47] oh it worked!!! [11:57:02] no it didn't :x [11:57:09] What the hell [11:57:12] What happened? [11:57:15] Fatal error: Cannot redeclare deleteoldrevisions() (previously declared in D:\Development\xampp\htdocs\mw1120\extensions\SpecialDeleteOldRevisions.php:140) in D:\Development\xampp\htdocs\mw1120\maintenance\deleteOldRevisions.inc on line 68 [11:57:25] yikes... [11:57:51] i'll try another script [11:58:11] Alright but running maintenance scripts works at least [11:58:32] YK_SysRes: Are you running the most recent version of MW (1.12)? [11:58:51] $ D:\Development\xampp\php\php-win.exe D:\Development\xampp\htdocs\mw1120\maintenance\cleanupImages.php [11:58:51] DB connection error: Unknown error [11:59:10] yes 1.12.0 [12:00:40] now i get DB connection error: Unknown error [12:00:47] :s [12:01:03] That's weird [12:01:16] Is your wiki small (<1000 pages)? If so, you can safely try update.php [12:02:21] MediaWiki 1.12.0 Updater [12:02:21] A connection to the database could not be established. Check the [12:02:21] values of $wgDBadminuser and $wgDBadminpassword. [12:02:50] YK_SysRes: Did you set up AdminSettings.php correctly? [12:02:55] values in AdminSettings.php are correct [12:03:02] ye [12:03:56] oh wait no [12:04:11] my local username is different [12:04:16] retrying [12:04:27] ... seems to work O_O [12:04:41] ... [12:04:41] Checking site_stats row...ok. [12:04:42] Purging caches...done. [12:04:42] Done. [12:05:11] Don't paste script output please [12:05:28] just as a proof of working [12:05:31] update.php does schema changes and cleans up some stuff [12:05:33] OK [12:05:43] The other scripts should work now [12:05:45] delete Old revision still gives fatal error tho [12:05:55] Yeah that's weird [12:06:02] Lemme try that on trunk [12:06:59] why was I doing this already? ah ye to disable save deleted image [12:07:42] YK_SysRes: deleteOldRevisions.php is not the script you're looking for, it deletes page revisions [12:07:55] deleteArchivedFiles.php maybe [12:08:15] deleted images counts as "Archived" ? [12:08:27] I think so [12:08:32] k [12:08:33] Because you can undelete them [12:08:54] what are other archived files? [12:09:17] sounds, docs.. basically any allowed uploaded file I imagine... [12:09:43] articles doesent count as a file that way [12:09:53] Lemme check that [12:11:08] No, the script only deletes deleted files [12:11:34] trying [12:12:16] done [12:12:30] YK_SysRes: Are you Yakushi.kabuto at www.mediawiki.org ? [12:13:20] obviously yes [12:13:34] why? [12:13:43] Then please don't do stuff like http://www.mediawiki.org/w/index.php?title=Manual:%24wgFileStore&diff=prev&oldid=179048 or http://www.mediawiki.org/w/index.php?title=Manual:%24wgSaveDeletedFiles&diff=prev&oldid=179061 again [12:13:53] If you have a question or comment post it on the associated talk page [12:14:29] RoanKattouw> are you an operator of mediawiki? [12:14:41] I'm a MediaWiki developer and sysop at www.mediawiki.org [12:15:17] http://www.mediawiki.org/wiki/Project:Support_desk#How_do_I_disable_UndeleteOldImage_in_mediawiki_1.11_and_higher.3F [12:15:28] maybe you can reply to this then [12:15:58] I think, as I said before, that if you don't want to keep a history, a wiki may not be the best choice for your needs. [12:16:03] I'll look at it now; I replied at http://www.mediawiki.org/wiki/Talk:Wikipedia_buttons too [12:17:21] thanks for that [12:17:34] I'm trying to set up a skin called RoundedBlue. For some reason the CSS isn't applying. I found help online from the creater which instructed me to make sure that the path to main.css in roundedblue.php was correct - as it is not the default skin on my wiki - I believe I corrected the path right, but still no dice. I'm unsure where to go from here. [12:17:50] When I try to preview the skin, I get: http://www.religionisfree.org/wiki/index.php?title=Main_Page&useskin=roundedblue [12:18:55] YK_SysRes: I don't think it's possible; you'll just have to run that maintenance script from time to time (the command was kinda complicated, maybe store that in a text file and copy+paste it when you need it) [12:19:49] even after running deleteArchivedFiles.php I still get this message in wiki: [12:19:52] View or restore one deleted edit? [12:20:02] YK_SysRes: It might be stuck in cahce [12:20:13] Click it to see if that old rev is really there [12:20:20] It might also just be the description page [12:20:57] i refreshed browser and it's still here [12:21:03] we might call it a bug [12:21:14] anon1532_: Do you have Firefox? If so, open your error console and check the errors, I got about 10 of them [12:21:21] YK_SysRes: You need Shift+Refresh button for that [12:22:07] oh that's right!!! [12:22:18] with shift+ref it disappears [12:22:28] OMG I'm so happy!!! xD [12:22:29] 03raymond * r32956 10/trunk/phase3/ (3 files in 3 dirs): Add a nice fieldset around the external search input form [12:22:49] Roan: I sure do. Thank you for the tip. [12:23:07] YK_SysRes: Remember Shift+Refresh (also called clearing your cache), worth a try whenever something gets stuck like that [12:23:52] 03(mod) decimal fractions in image sizes are parsed incorrectly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13650 (10gtisza) [12:25:11] anon1532_: heh, part of project chanology, eh? [12:25:31] are mediawiki sysop & dev paid? [12:25:43] there are two that are [12:25:53] only two? [12:25:57] indeed. [12:26:05] 4 [12:26:26] oh yes, right, there are contractors too [12:26:27] mark and domas [12:26:32] wrong [12:26:38] all ppl like Roan should be paid [12:26:39] domas is not paid [12:26:45] tim is also a contractor [12:26:52] mediawiki rises a lot of funds [12:27:00] Well people like MONK3000 pay me to code special features for them [12:27:08] YK_SysRes: Those servers cost a lot of money [12:27:20] mark: hmm.. who's #4? [12:27:25] Rob [12:27:44] hiho [12:28:11] i have a plugin related question...guess not the best place to ask right ? (FCKeditor in mediawiki) [12:32:12] 03(mod) "Automatically resolve redirects"-feature causes error at fi. wikipedia.org. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13651 +comment (10russblau) [12:34:39] re [12:36:38] вобщем такой вопрос: никто не испытывал трудностей с загрузкой системы при использовании grub-0.97-r5 [12:36:57] а то у меня кажется из-за него задница с загрузкой. :) [12:37:14] my cyrillic is a bit rusty [12:39:55] Werdna: everything has settled down? [12:40:36] 03(mod) "Automatically resolve redirects"-feature causes error at fi. wikipedia.org. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13651 (10roan.kattouw) [12:40:43] Nikerabbit: indeed [12:41:23] Apparently there was a downgrade recently. I am being reported pages with without any in the body were displaying right before, and are not anymore : http://fr.wikipedia.org/wiki/%C3%8Ele_du_Petit_Ribaud [12:41:23] no suicide reports yet because of the new log headings? :D [12:41:35] nope, none yet [12:41:39] I enjoyed the surprise :D [12:44:08] I thought I was editing the right link but now I'm not so sure. As per the instructions I am reading: [12:44:12] "The path to the stylesheet is relative: skins/roundedblue/main.css. Change the path if for some reason the stylesheet is not being applied. You'll find the path in the roundedblue.php file, in the HTML head section, right underneath the title tag." [12:44:29] I found this line " [12:44:30] anon1532_: The stylesheet IS being applied, it's full of errors [12:44:40] (at least that's what Firefox tells me) [12:44:46] I don't think that's correct Roan after I compared it to the others. [12:44:52] I don't think I'm editing the right line. [12:44:59] Give me that link again? [12:45:15] Also I got the same errors from another skin that is working perfectly. [12:45:19] Oh got it [12:45:31] anon1532_: I'll paste the errors I get into the pastebin [12:45:49] Sure, maybe I'm not seeing what you are. [12:46:15] I did several comparisons to try to figure out what's happening on my own but I saw the same errors. [12:46:25] (despite other skins working perfectly) [12:48:43] All of this is extremely confusing to me. The person setting everything up bailed on the project. I've been considering simply hiring somebody to make everything nice and pretty for us. :P [12:49:07] anon1532_: http://rafb.net/p/Axf01N58.html [12:49:22] did the behavior recently changed ? I searched a bit bugzilla but couldnt find anything [12:49:26] sorry [12:49:29] :) [12:49:29] There is definitely something wrong with your CSS [12:49:43] anon1532_: I have a personal interest in what you're doing. if you need a hand, feel free to poke me later and I'll help out (but I have to go to sleep now) [12:50:56] anon1532_: What the hell, it works for me now [12:51:00] Try Shift+Refresh [12:51:18] Oh wait that's the other skin [12:51:19] NicDumz: I had a similar problem to what you were describing earlier, they rolled back an extension to fix it but I'm not sure which. As I was saying earlier, very feeble minded with this stuff. :P [12:51:36] Never mind [12:51:42] 03shinjiman * r32957 10/trunk/phase3/languages/messages/ (4 files): [12:51:42] * Update Chinese translations [12:51:42] * Update Cantonese translations [12:51:42] * Update Old Chinese / Late Time Chinese translations [12:52:00] Yeah :P [12:52:59] Question: is there a known way to bulk copy all templates from one Mediawiki engine wiki to another? [12:53:14] bradg1: Database dump [12:53:28] Roan: I read a bunch of people's discussions on installing/getting this skin to work, and several people had the same problem I am now expericing, they just don't explicitly state how they fixed it, just what I pasted. It lead me to believe that I was changing the wrong line. [12:53:47] Yes, I want to stealz all wikipedia's precious templates for my own! :-P [12:54:45] Hmm [12:54:48] bradg1: encyclopedia dramatica has a gigantic template database, if you contact one of their administrators they will send it to you and make your work very simple [12:55:01] that would be great [12:55:07] thanks 1532 [12:57:03] what manual page is about creating new groups? i cant find it with the search... [13:06:50] Nikerabbit: was there some reason to take away the
  • s? [13:07:51] is in an extension ? [13:08:59] !rights | Piero [13:08:59] --mwbot-- Piero: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [13:09:11] Piero, groups exist whenever there's a $wgGroupPermissions entry for them. [13:09:18] NicDumZ, yes, Cite. [13:09:18] NicDumZ, yup. A part of Cite [13:09:22] ok thx [13:09:24] so I don't have to lounge around encyclopedia dramatica too long, what's the best, quickest way to determine who is an admin and who is not, or a general administrator email for the site? [13:09:31] okay, nice. [13:09:38] Well it is badly broken. reporting it. [13:10:18] bradg1, Special:Listusers [13:10:29] bradg1, choose whichever group you want from the dropdown. [13:10:35] Special:Listadmins is a shortcut to listing all the sysops. [13:10:50] bradg1: message core or rorschach [13:11:06] bradg1: eibmoz also [13:11:34] ty both, 1532 once again [13:12:18] Question: What extension makes refences all tiny and pretty and neat like so many other large wiki's? [13:12:49] references* [13:16:30] 03(NEW) with no in article body outputs an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13653 major; normal; MediaWiki extensions: Cite; (nicdumz) [13:17:59] I believe a bug causing ten thousands of pages to print big red messages like http://en.wikipedia.org/w/index.php?title=User:NicDumZ/Test&oldid=204205912 could get mrked as critical, could it ? [13:19:48] NicDumZ, seems reasonable, yes. [13:19:56] Well, maybe. [13:20:00] Nah, it's only tens of thousands. [13:20:08] Major is fine. [13:20:17] mm. right. [13:20:36] 10K on fr:, I started a count on en: [13:20:59] NicDumZ, can you link to a page showing the problem? [13:21:01] Oh, you did. [13:21:07] :) [13:21:19] Um, it seems kind of contrived. [13:21:32] Can you link to an actual article? [13:21:48] It seems to me that having with no s is in fact an error, and should display an error message. [13:22:24] it's really common that a ref gets deleted and that the tag is not. [13:22:38] Then you'll usually have an empty "References" section anyway. [13:22:47] In that case, the section should be deleted, so the page is wrong anyway. [13:22:53] The red error message helps draw attention to this fact. [13:23:29] mm... that means work, lot of work, for us, bot owners... [13:23:50] It should possibly fail silently rather than forcing it to be "fixed" [13:23:54] No, because people will remove the error messages by themselves when they see them. [13:23:58] Mike_lifeguard, yes, but is it desirable? [13:24:02] We could have all Cite failures be silent. [13:24:12] I think so, yes [13:24:30] there's no need for a warning message. simply don't show refs when there aren't any [13:24:34] It would help if someone linked to an actual article that needed to be fixed due to this and wouldn't have otherwise needed to be fixed. [13:24:39] Maybe. [13:24:42] It could go either way. [13:26:37] 03(mod) with no in article body should not output an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13653 major->normal; summary; +comment (10Simetrical+wikibugs) [13:27:36] I've decided I don't want to go the Encyclopedia Dramatica route for obtaining a template database: I just don't wanna deal with the subject matter prevalent there, but thank you anon1532. Anyone have another suggestion on how to obtain a thorough template database? [13:28:50] 03(mod) Single login (Unified login) on all wikimedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=57 +comment (10Simetrical+wikibugs) [13:28:58] bradg1, steal it from Wikipedia? That's if your content is licensed under the GFDL, anyway, or a compatible license. [13:30:50] I'd love to Simetrical. could you give me a little more info on that process? [13:32:01] bradg1, copy and paste. [13:33:23] :) that's what I started to do, but I eventually found I was traveling up a long line of templates, something I was hoping to avoid [13:34:11] 03(mod) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 (10powerpdn) [13:34:51] Someone above had mentioned the possibility of database dumping to do this, but without further details [13:35:39] 03(mod) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 (10Simetrical+wikibugs) [13:44:55] bradg1: what are you hoping to do? [13:46:25] hmm, roan went away.... [13:50:41] hmmm how can i delete all revisions? [13:55:16] carl-m, I'm hoping to avoid copying and pasting an indefinite number of templates. Most templates are inter-dependent, so if I want to do one thing, I have to round up 30 templates to accomplish the task. It's mostly for preventative reasons that I'd like to have a thorough template library. [13:56:33] bradg1: there are two options. first, special:export now has the ability to export all dependencies along with the page being exported. second, you can use a database dump to import all the templates [13:57:53] to do that, you would need to write come code to extract just the templates from the database dump [13:58:46] 03simetrical * r32958 10/trunk/phase3/includes/LogEventsList.php: Special-case the WHERE for a single restricted log type; use the database functions for escaping and making lists. [14:00:54] 03(NEW) Watchlist bug: Certain last actions cause a page not to appear on the watchlist. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13654 minor; normal; MediaWiki: History/Diffs; (cuerden) [14:00:59] is there a way to know if a category contains articles or not? [14:01:01] thx, carl-m, I'll work on that. [14:02:06] good luck [14:03:02] i created a category request_deletion, and i would like to test if it contains articles, so i could inform the admins when there is new deletion requests [14:05:30] Piero, "a way to know" in what context? PHP code? Wikitext? JavaScript? [14:05:56] 03(ASSIGNED) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 +comment (10roan.kattouw) [14:09:43] php code [14:11:17] for example i can see if i go on my Category:Request_Deletion, it says "There is one article in this category", so i know its there, i just dont know which function it is! :p [14:12:22] it must be in CategoryPage.php [14:12:31] Piero, try Category.php. [14:12:37] im in it [14:12:55] Should be something like: $cat = Category::newFromName( "Request Deletion" ); $count = $cat->getPages(); [14:13:26] thx [14:13:29] No, it's $cat->getPageCount(); [14:14:02] i dont have this function in CategoryPage.php [14:15:20] no i dont have it [14:15:41] Piero, this functionality is new in 1.13. [14:15:47] Before that, you need to run a query manually. [14:16:08] could you copy/paste me the function please [14:16:20] if you have it handy... [14:17:37] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10kanjy.wm) [14:17:41] Something like: $res = $dbr->selectRow( 'categorylinks', 'cl_from', array( 'cl_to' => $categoryname ), __METHOD__ ); $exists = (bool)$res->cl_from; [14:17:49] That's to check if there's anything in the category. [14:18:05] Hmm, maybe that's not optimal. [14:18:22] $exists = isset( $res->cl_from ); [14:18:24] That's better. [14:18:34] thx [14:30:09] Simetrical: its working fine [14:34:26] hiya ialex :-) [14:34:38] hey Jack_Phoenix :) [14:34:53] *ialex pokes CIA-48 [14:54:52] 03(NEW) Using action= render on diffs of Image pages produces incorrect result. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13656 normal; normal; MediaWiki: History/Diffs; (hartman) [14:55:24] Heh. Does action=render even work on diffs? [15:03:58] Simetrical: yes, and I even have a whole script built on that [15:04:04] hmmm how can i delete all revisions? [15:04:16] with maintenance script [15:04:32] it can not mass delete? [15:05:31] 14(DUP) Using action= render on diffs of Image pages produces incorrect result. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13656 +comment (10AlexSm) [15:05:40] 03(mod) On images action=render does not work with diff= - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13433 +comment (10AlexSm) [15:06:35] 03(mod) Enable page importing from en.wikibooks to it.wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13283 +comment (10powerpdn) [15:07:58] I want new "renderonly=true" parameter that would work everywhere ... [15:20:07] Hello [15:20:26] I want to know how clear a page's history [15:20:45] haha [15:20:50] hello nax [15:20:52] and how remove completly a image (even from the history) ? [15:20:58] nax, use the delete button. [15:21:00] haha [15:21:11] simetrical, no [15:21:14] Simetrical: but the page stay in history [15:21:21] he want to perm delete [15:21:35] Yes :) [15:21:42] use maintenance script [15:21:54] hum, is it an extension ? [15:21:56] with php command line [15:22:00] That's not really a supported operation in MediaWiki. [15:22:08] It's not possible through the interface. [15:22:13] ok [15:22:13] no it's the files in the maintenance folder [15:22:20] You can directly modify the database, or try to get a maintenance script to do it. [15:22:30] 04(REOPENED) Specify revid on action=parse - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13544 +comment (10innocentkiller) [15:22:31] but it takes memory space for nothing [15:22:40] nax, disk space is very cheap. [15:22:41] i agree nax [15:23:01] If your database grows large, you can use compression. [15:23:01] simetric, no it's very expensive [15:23:09] look at hosting prices [15:23:20] *Simetrical looks [15:23:23] it's obvious you don't pay hosting [15:23:35] at host.com [15:23:47] I pay for hosting. [15:23:54] 60$/month for only 200Mo [15:23:55] It's just a dedicated server. [15:24:07] So I get 500 GB, it just costs $300/month. ;) [15:24:11] price are crazy [15:24:22] How many old revisions can be stored in 200 MB? A lot. [15:24:33] <^demon> I used to help a friend run his host (basic support). In lieu of payment, I got free server space and (virtually) unlimited bandwith. [15:24:38] <^demon> That was always fun. [15:24:51] revision isn't the biggest problem [15:24:51] MediaWiki is not primarily intended for shared hosts. It's a large, scalable product. [15:25:00] What is, then? [15:25:36] For pictures, there not a solution for perm delete ? [15:25:44] My wiki's revision data is under 4 MB, although it's not very large. [15:25:49] nax, manually delete it from the filesystem. [15:25:54] ok [15:25:59] If you don't like that, find an extension or another wiki package. [15:26:00] thanks [15:26:36] 1and1.com seems to offer 100 MB MySQL space for $4/month. [15:26:48] I'm glad I don't have to deal with this low-cost shared stuff, anyway. :) [15:27:11] *Simetrical has a database of maybe 3 GB, and a few hundred GB free for any purpose he wants [15:28:03] *^demon just realized why his other laptop wouldn't go online, and feels rather stupid [15:28:11] hum i have 5 DB with 40 MB each [15:28:15] big problem is archives of deleted images [15:28:24] that sucks [15:28:35] delete them [15:28:43] impossible [15:28:47] why? [15:28:58] Are they stored in the filesystem or the database? [15:29:05] you need maintenance scripts to do that [15:29:08] *Simetrical can't remember [15:29:11] <^demon> Either way, it's not /impossible/ to delete it. [15:29:20] YK_SysRes, you can delete it from the database/filesystem manually if you like. [15:29:20] <^demon> Maintenece scripts or not. [15:29:22] Wherever it's stored. [15:29:45] but it's very hard, and it's impossible to prevent archives of deleted files [15:29:53] WHICH IS TRULY STUPAD [15:31:06] in 1.10 you needed to enable archive of deleted files [15:31:15] in 1.11 not only it's enabled default, but you CAN NOT disable? [15:31:24] kill the dev who did that! [15:32:14] YK_SysRes, MediaWiki has never had the goal of skimping on disk usage for tiny wikis. [15:32:22] now I have 100MB of archived deleted image on a webspace of 200MB???? [15:32:36] YK_SysRes, you should be able to enable filesystem storage for deleted images, no? [15:33:00] ??? [15:33:07] i don't get it [15:33:08] <^demon> Simetrical: Would setting $wgFileStore['deleted']['directory'] = "/dev/null"; do it? [15:33:16] Hmm, that might work, yes. [15:33:24] <^demon> no [15:33:27] Assuming PHP is configured to allow access to /dev/null. [15:33:28] i tried that [15:33:36] and it didn't work [15:33:37] What happens? [15:33:38] people should have shell access to MW [15:33:42] <^demon> Simetrical: Yeah, that's the only thing I was wondering. [15:33:49] it still save files in deleted folder [15:33:50] it is hard to run as site without proper access to do stuff [15:33:59] that way, running the script is trivial [15:34:21] <^demon> AaronSchulz: True. Altough people have asked for a web-interface for those scripts for quite some time. [15:34:34] i have no shell access on my site, it's a subdomain [15:34:47] <^demon> YK_SysRes: Then FTP to your site and delete the directory. [15:34:57] i need to do that shit on local and reupload, that's madness [15:35:17] <^demon> That makes no sense. [15:35:32] <^demon> What do you mean do it on local then reupload? Re-upload a deleted directory? [15:35:34] ^demon> yeah but the wiki still remember there were deleted files [15:35:47] <^demon> YK_SysRes: The install PHPMyAdmin and do it by hand. [15:35:47] so that method is improper and causes errors [15:36:32] no re-up after shell script [15:36:50] YK_SysRes: delete all the deleted directory [15:37:05] Maybe we should have better support for this, if anyone can be bothered. [15:37:11] But shared hosting is really not the target audience, honestly. [15:37:17] vBulletin & phpBB have maintenance scripts that don't require shell access [15:37:23] The target audience is Wikipedia, or at least people with VPSes. [15:37:29] mediawiki is too much complicated [15:37:36] Yes, because it's mainly meant for Wikipedia. [15:37:43] <^demon> YK_SysRes: Good for vBulletin and phpBB. [15:37:55] There are bits of core code that have '/home/wikipedia' hardcoded in them if you set the right switches. [15:38:07] Release to third parties is largely an afterthought. [15:38:26] All the developers come in from Wikipedia, pretty much, so nobody volunteers much to help out the little shared hosting people. [15:38:33] You may just want to use a different software package. [15:38:34] wikipedia can not have all the knowledge in the world [15:39:04] specialized wikis are needed [15:39:09] think about us [15:39:16] If you're paying $60/month for shared hosting, by the way, you're getting completely ripped off. You can get a dedicated server for $90/month. [15:39:21] <^demon> YK_SysRes: That's not what MediaWiki is made for. [15:39:25] Or $70/month, even. [15:39:38] http://www.theplanet.com/dedicated-servers/?class=ss [15:39:51] With an 80 GB hard drive that you can use for whatever you want. [15:39:58] actually i don't pay [15:40:07] my parents do [15:40:22] So tell them to pay $10 more and get you a non-pathetic package. :) [15:40:29] and i didn't choose that [15:41:05] <^demon> Tell your mom she's getting ripped off and is overpaying by a very long shot. Should get her moving in the right direction. [15:41:15] Anything that restricts you to 200 MB space is ridiculous. [15:41:35] 1and1.com offers something like ten times that for $4/month (subject to some usage restrictions, admittedly). [15:41:36] at host.com you see more than 200Mo? [15:41:44] YK_SysRes: what is your host ? [15:42:07] look at that http://www.ovh.co.uk/products/rps_offers.xml a dedicated server for about $10 [15:42:29] Now that's too good to be true. [15:42:39] :O [15:42:46] It's 10 pounds, anyway, so more like $20. [15:42:54] I don't believe them. [15:43:02] My host is theplanet.com, I don't have any problems with them. [15:43:18] They seemed to be the cheapest reliable host at my price bracket when I looked around a year or two ago. [15:43:38] 10 GB :O [15:43:44] i want that [15:43:52] <^demon> I used to be with ThePlanet. LiquidWeb isn't bad, if a bit pricey. You get what you pay for tho. [15:44:09] 03sanbeg * r32960 10/trunk/extensions/Poem/ (Poem.php poemParserTests.txt): fix problem with leading spaces in compact poems, fix a few regression tests that changes slightly due to new preprocessor(?) [15:44:23] that sounds too good to be true [15:44:31] hum, it's because the hard disk is shared (but you have your partition [15:44:40] are you sure it's not down half of time? or something? [15:44:42] your own partition* [15:45:33] my free hosting gets me 300 MB [15:45:47] i'm not sure about the quality, but it's cheap. [15:45:55] k, my host does suck [15:45:58] terribly [15:46:00] <^demon> YK_SysRes: http://asmallorange.com/services/vps/ [15:46:04] <^demon> $25/mo. [15:46:40] <^demon> 5GB of storage, 75GB of bandwith. You'll be fine. [15:46:59] but i like being subhosted [15:47:15] <^demon> Why would you want that? [15:47:25] i don't need to worry about installing and updating php, mysql and all the shit [15:47:48] since i suck at that [15:47:49] <^demon> It comes installed. [15:47:51] YK_SysRes: but it's not soo hard [15:47:55] so* [15:48:32] *Oberoten is just SO pleased about his own alt... running my wiki at a dedicated host on a old computer I had left over. :) [15:48:38] Curently i'm sub hosted, and i want to have a dedicated server [15:49:24] ((Sadly this alt of mine means that if I have to reboot it or if it has to reboot... well I have to go home and do it manually. )) [15:50:28] 03aaron * r32961 10/trunk/phase3/includes/LogEventsList.php: [15:50:28] * Let MySQL choose among more indexes for title/user conditions [15:50:28] * Remove redlink contribs crap [15:52:36] 03aaron * r32962 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Code cleanup [15:54:04] 03(NEW) Unused ParserFunctions messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13657 normal; normal; MediaWiki extensions: ParserFunctions; (robin_1273) [15:55:13] 03sanbeg * r32963 10/trunk/extensions/LabeledSectionTransclusion/ (lstParserTests.txt lsth.php): apply lsth patch from bug 12906, update lst parser test for redlink=1 feature [15:55:27] guys, does anybody know if there is a hook that is called in the specific situation when there is an Edit Conflict ? [15:55:48] what does that maintenance script do? -> deleteDefaultMessages.php [15:55:54] I don't get it [15:57:56] <^demon> moisadoru: I don't see one in the manual. Don't believe so. [15:58:01] * Deletes all pages in the MediaWiki namespace which were last edited by [15:58:01] [15:58:08] * Deletes all pages in the MediaWiki namespace which were last edited by [15:58:09] [15:58:17] MediaWiki Defaut [15:58:21] sorry [15:58:23] 03shinjiman * r32964 10/trunk/extensions/ (6 files in 6 dirs): [15:58:23] * Update Chinese translations for extension messages [15:58:23] * Update Cantonese translations for extension messages [16:01:03] 03raymond * r32965 10/trunk/extensions/ParserFunctions/ParserFunctions.i18n.php: * (Bug 13657) Remove unused ParserFunctions messages (r32932) [16:01:18] hum, i found the file deleteOldRevison.php [16:01:34] 03(FIXED) Unused ParserFunctions messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13657 +comment (10raimond.spekking) [16:01:34] and it works ! but history stay on the wiki [16:04:04] 03rotem * r32966 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [16:06:23] <^demon> Oh wow, just noticed...When did search get disabled? [16:06:31] 03ialex * r32967 10/trunk/phase3/maintenance/parserTests.inc: Fixed E_NOTICE: array to string conversion in parserTests. [16:06:43] hey guys [16:06:45] what file is "in charge" of supporting the &uselang= variable? [16:07:38] Holek_: includes/StubObject.php [16:07:47] ^demon, search is disabled? Where? [16:08:20] <^demon> Simetrical: All WMF wikis. [16:08:25] Holek_: in method StubUserLang::_newObject() [16:08:46] <^demon> Simetrical: http://en.wikipedia.org/w/index.php?title=Special%3ASearch&ns0=1&ns9=1&ns11=1&search=Test&fulltext=Advanced+search [16:09:14] <^demon> First noticed on Mediawiki.org, double checked against enwiki. [16:09:29] ialex: thank you :) [16:09:51] Holek_: no problem [16:09:58] :) [16:10:57] <^demon> Simetrical: It's in the topic for #wikimedia-tech. [16:11:19] Interesting. [16:11:38] 03(mod) Number of articles in subcategories shown on category page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3834 (10Simetrical+wikibugs) [16:12:16] Eh? [16:15:12] what does that maintenance script do? -> deleteDefaultMessages.php [16:15:36] nax : i know what it written in file but i don't get it [16:15:58] YK_SysRes: it deletes messages in MediaWiki: namespace if the last editor is MediaWiki_default [16:16:08] what is a file edited bu mediawiki anyway? [16:16:36] anyone here? [16:16:45] !ask | Ek1 [16:16:45] --mwbot-- Ek1: 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. [16:16:48] ialex? [16:17:19] 03ialex * r32959 10/trunk/phase3/maintenance/updaters.inc: E_ERROR: file not found [16:17:45] CIA-48 has some lag :D [16:17:53] ialex? [16:18:00] YK_SysRes: yes [16:18:04] what is a file edited bu mediawiki anyway? [16:18:05] 03(NEW) Add snapshots of pywikipedia to download.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13655 15enhancement; normal; Wikimedia: Downloads; (Eugene.Zelenko) [16:18:28] YK_SysRes: this script doesn't edit any file [16:18:32] 03raymond * r32968 10/trunk/ (5 files in 5 dirs): Localisation updates German [16:18:50] YK_SysRes: it deletes messages in MediaWiki: namespace if the last editor is MediaWiki_default [16:19:09] ??? [16:19:18] MediaWiki_default??? [16:19:27] what the ? [16:19:31] <^demon> YK_SysRes: If you haven't customized any interface parts, it doesn't do anything. [16:19:36] <^demon> If you have, it restores them to default. [16:19:44] <^demon> To put it simply. [16:19:50] it does? odd name for a script that does that [16:20:04] thx demon [16:20:09] now get it [16:20:14] default messages aren't needed anymore [16:20:23] so they get deleted [16:20:31] what it actually seems to do is delete pages which are the default message [16:20:45] flyingparchment: yes [16:21:55] Fatal error: Maximum execution time of 60 seconds exceeded in D:\Development\xampp\htdocs\mw1120\phpshell.php on line 244 [16:22:15] get that whenever i try running rebuildall [16:22:32] why is it impossible to rebuild? [16:23:10] YK_SysRes, your host has a limit on the length a PHP process can take to run. [16:23:16] And it can't choose to override that. [16:23:31] In short, you need real shell access if your host is configured like this, unless the scripts run really really quickly. [16:23:33] <^demon> Simetrical: He was running that on his localhost. [16:23:45] Using phpshell? [16:23:47] why would someone use phpshell on their own computer? [16:24:41] i'm doing this on lacal winXP [16:25:52] *local [16:27:50] 03siebrand * r32969 10/trunk/extensions/ParserFunctions/ParserFunctions.i18n.php: Raymond, you owe me a beer... [16:29:35] yes [16:35:56] 03(ASSIGNED) Specify revid on action=parse - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13544 +comment (10roan.kattouw) [16:43:21] TimStarling: think you should remove DWTFYWWI from the archive [16:43:28] not really needed [16:43:37] and gives a bad impression [16:45:03] what archive? [16:52:19] ParserFunctions/COPYING [16:52:32] s/archive/svn/ [16:52:36] ツ [16:52:53] as it's a DWTFYWWI you can just change it to GPL [16:52:59] no need to have both [16:53:11] GPL is not DWTFYWWI :O [16:54:22] <^demon> Well this is moderately odd. Apache stopped running on my localhost... [16:54:51] 03(NEW) skin.php: selected skin does not exist anymore causes error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13658 normal; normal; MediaWiki: Templates; (kinneko) [16:54:59] <^demon> There we go. [16:55:55] AzaTht: not really [16:56:18] because the DWTFYWWI license relates to what *you* can do with it [16:56:34] *you*? [16:56:40] the licensee [16:57:11] whereas GPL restricts what any licensee can do with the code [16:57:28] *d1d4c saluda [16:57:35] with DWTFYWWI, one licensee can't restrict another licensee's actions [16:57:48] TimStarling, they can release their modifications under terms that do, though, right? [16:57:54] indeed [16:57:58] So you can still "relicense" it under the GPL. [16:58:06] you can [16:58:21] That doesn't negate the fact that part (maybe all) of it is still usable under DWTFYWWI, but you don't have to advertise that fact. [16:58:35] is it possible to write a template and make this default on all user profiles? [16:58:39] "The author grants everyone permission to do whatever the fuck they want with the software, whatever the fuck that may be" [16:59:44] MONK3: yes, you have to edit the localsettings [16:59:45] <^demon> MONK3: Do you mean a {{template}} or a skin? [16:59:46] Simetrical: yea, I also think it's unneccesary to advertise the fucking licence [17:00:00] TimStarling: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Changing_e-mail_address_and_unified_login [17:00:07] demon: a {{template}} [17:00:24] MONK3: then the answer is (what???) [17:00:24] can you take a peek at that and make sure there isn't a problem? [17:00:47] i want that all user pages have a section on top including: PM this User | Edits: | etc [17:01:10] <^demon> MONK3: There's a way to control what's put into the default user page when the account is created, give me a second. [17:01:13] hi. i'm trying to devolping an extension [17:01:53] <^demon> Ramac: Hi, to do what? [17:02:00] demon: that would be ace since only 1 of 500 users edits his user page. i hate the red user links all over my wiki [17:02:04] brion: so to change email, I must change the email on ALL wikis before I can relog in again on ANY wiki? [17:02:07] brion: I'm not sure why that would happen, but it's not a surprising failure mode [17:02:22] I want to change the email handling completely, I've already announced that on wikitech-l [17:02:51] i copied this example, ^demon , http://www.mediawiki.org/wiki/Manual:Variable#Example but i don't get anything when using the var [17:02:59] it is listed on special:versione too [17:03:00] is SUL open for all now? [17:03:31] I want to make it so that you don't have to log in in order to propagate your email address [17:03:51] *nod* [17:03:57] Hi guys. How can I make a link to an internal editing old? [17:04:06] presumably this alias feature that I'm talking about on foundation-l will work the same way [17:04:11] <^demon> Simetrical: How do you set the default user page contents on account creation again? [17:05:55] TimStarling: one thing I though about, perhaps when a person has unified his login, all sessions should perhaps be invalidated [17:06:27] <^demon> Ramac: I'm not sure what you're trying to do. [17:06:58] ^demon: i copied the example in a file and i included it in localsettings [17:07:31] but when i use the variable in a page i don't get anything :( [17:07:44] AzaTht: why? [17:08:40] as it's technically not the same account any more, and that the passwords might have changed [17:08:42] TimStarling: so mr. evil with an account where he set a matching password can't, with his still-valid session, do some evil now with the global account [17:08:52] s/password/email/ [17:09:08] yeah, but the global user is screwed anyway [17:09:23] because it's exploitable in half a dozen other ways [17:09:24] hehe [17:09:46] so just expiring the sessions alone doesn't help much [17:10:33] TimStarling: and because for my self when I had unified beofre, not until now some sessions where invalidated, and I had forgot that I had the other password [17:11:11] so you want it to ask you for your password so that you'll remember which one you're meant to use? [17:11:51] I think maybe the email merge method should be removed [17:11:53] TimStarling: no, just it would be more logical to do it at that time than later [17:11:58] we could do it by password only [17:12:02] hmm [17:12:18] any plan of sharing sessions? [17:12:26] a user is really meant to know all their passwords [17:12:49] and an attacker shouldn't know any [17:12:55] TimStarling: yea, but some might have forgotten their password for hubbabubba-wiki [17:13:17] TimStarling: you can reset the passwords manually by email [17:13:19] then it's not their account anymore [17:13:23] but that's a pain in the arse :) [17:13:40] TimStarling: true, but wouldn't it be required to unify ALL accounts, and not just SOME? [17:14:40] the attach operation could be done on the local wiki [17:14:59] the main problem is working out how to fill the user row when you don't know the default preferences [17:15:07] but that could be done locally [17:15:33] now displays an error in red when no ref is present on the page. why ? [17:15:52] is it something that is going to stay ? [17:15:55] TimStarling: you could require everyone to re-verify their email first [17:16:11] that doesn't help [17:16:15] with password [17:16:21] <^demon> ThomasV: Why would you put if there were none on the page? [17:16:45] well, we've already talked about password-only authentication [17:16:51] Do you know how can I do an internal link to an old edition of an article? [17:16:57] true [17:16:59] ^demon: just in case [17:17:04] the thing is, you *can* reset your password manually [17:17:20] demon: i tried to search mediawiki.org myself but dunno what to search for specifically [17:17:27] and if the user does that on a malicious account, they will be vulnerable to hijacking [17:17:30] <^demon> MONK3: I can't remember offhand. [17:17:37] TimStarling: but if you are able to connect on one wiki: password, username and email, then the email could be usable on other wikis [17:17:52] so letting CentralAuth do it, and having it do it properly, may well be the most secure solution [17:18:00] ok cheers [17:18:03] <^demon> ThomasV: It makes more sense to fail loudly. Putting that tag there uselessly is pointless. [17:18:21] <^demon> MONK3: I've looked around. I could've sworn I'd seen it before. [17:18:37] AzaTht: the attack which everyone is concerned about is that a user may accidentally verify their email address for a maliciously created account not controlled by them [17:19:08] I see [17:19:14] then when they obtain that account, say by a password reset, they inherit the malicious user's preferences and user javascript [17:19:18] i heard about that feature before when i asked the same question but i didn't want it since i wanted it for existing user pages as well. now i'd be happy :) [17:19:26] ^demon : who decided that it should fail loudly ? [17:20:00] and also user_token and user_newpass [17:20:33] so what you have to do is wipe all the preferences, plus all the login credentials, when you execute a merge of this kind [17:20:45] well, at least the security-sensitive preferences [17:21:27] <^demon> ThomasV: It makes more sense to. If you don't like it, you can customize the MW message for it. [17:21:31] ^demon: it might be pointless, but there has not been this loud failure so far, and users have added to a bunch of pages [17:21:38] the same attack was also possible via admin merges [17:21:47] that's why I removed the admin merge feature [17:21:48] 03brion * r32970 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialSearch.php): [17:21:48] Revert r32811 -- regression in search. [17:21:48] Caused search terms containing underscores to fail, as they had the underscores silently changed to spaces. [17:21:48] The means it's impossible to search for many programming terms in body text, say function names like 'str_replace'. [17:21:50] This was listed as a fix for bug 13616, but that seems to actually be about bad links in custom 'no article' text. [17:21:53] The links should be corrected instead. [17:22:06] but I replaced it with admin account deletion which is just as good, deployed today [17:22:12] ^demon: can I customize it to the point that it is invisible ? [17:22:54] 04(REOPENED) Bad searches, irritating - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13616 +comment (10brion) [17:25:19] <^demon> On your wiki, sure. [17:25:29] <^demon> I'd get consensus before changing it on enwiki though. [17:28:21] ^demon: you did not answer my question. who decided this ? [17:29:32] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php?r1=32403&r2=32573 a guy from incubator's silesian Wiki says that first letter ("ś") shouldn't be lowercased here [17:29:38] it should be "Ś" [17:30:02] <^demon> ThomasV: Whoever wrote it originally. [17:30:21] no, it is a recent change [17:30:30] another problem i have atm: somebody answered me to a support desk question that i use {{#if|this is|1|than2}} but i can't find any documentation about if function in templates? [17:31:11] {{#if:{{{param2|}}}|{{{param2}}}|{{{param1}}}}} [17:31:42] i have no idea how to implent it and the user is not answering my mail [17:32:57] brion: do you know who decided that should display a failure message if there is no in the page ? [17:33:02] what are you trying to do MONK3? [17:33:15] ThomasV: far as i know it's always done so [17:33:51] brion: on wikisource we're seing this message from today on [17:33:56] are you trying to execute something if the string param1=param2? MONK3 [17:34:18] ThomasV: file a bug and i'll look at it when i get to it [17:34:36] :-P [17:34:47] <^demon> ThomasV: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/Cite.i18n.php?r1=32405&r2=32492 [17:35:03] thanks, ^demon [17:35:30] <^demon> Actually, even better. [17:35:30] <^demon> http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=32492 [17:37:34] Raymond_: your cite commit has some interaction with proofreadpage [17:38:01] ThomasV: in which way? [17:38:24] is added in page footer for all pages (not on de) [17:38:34] I wonder what to do [17:38:55] ThomasV: even if no is in the page? [17:38:59] it now displays a message in red [17:39:14] Raymond_: yes [17:39:36] I guess the extension should not do that [17:39:44] ThomasV: hmm... someone has filed a bug about this today. but I think not wikisource related [17:40:42] I blanked MediaWiki:Cite_error as a workaround [17:41:57] but I wonder what to do, because the tag is present in a bunch of pages already [17:42:16] add a note to the bug explaining that it affects wikisource in this way please [17:42:40] I'm looking for that bug [17:42:57] ThomasV: hmmm... I fixed with r32492 a PHP notice... and I think the usage of without is an error message worth.. I was not aware about the proofreader [17:43:23] I mean that proofreader adds every time [17:43:36] it has not always been so [17:43:55] and I can change it back [17:44:16] but adding it makes life easier for those who do not want to open the footer window [17:45:45] oh, bug # is 13653 [17:48:33] 03(mod) with no in article body should not output an error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13653 +comment (10thomasV1) [17:48:42] ok, bug is commented [17:49:06] i have to run now [17:49:11] bye [17:51:08] http://it.wikipedia.org/wiki/Speciale:Registri/newusers ← is it normal not to see the "*" before the date? [17:51:26] if yes, can I ask why? (I really don't understand, sorry) [17:52:15] someone changed it [17:52:46] that would be me [17:53:22] Nikerabbit: and why did you do that change, If I can ask? [17:53:47] Nikerabbit: I don't see a big difference after all, or not? :) [17:53:52] Filnik: share your opinion at http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#New_log_format [17:54:01] 03(NEW) Enable FlaggedRevs on Russian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13659 15enhancement; normal; Wikimedia: Site requests; () [17:56:16] the bullets should be easy to add back with styles [17:56:59] Nikerabbit: "We're reverting back. --brion (talk) 16:48, 8 April 2008 (UTC) " ← uhm..? will it be or not? [17:57:19] don't ask me, I'm not to decide that [17:57:51] 03(NEW) Changing e-mail address after unifying accounts fails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13660 major; normal; MediaWiki extensions: CentralAuth; (wikiwodup) [17:57:55] Filnik: you know, it actually takes time to go through a few hundred commits and review them and perform various actions on some and others of them [17:57:56] Noobie needs help enabling image uploading and putting images on pages [17:58:06] hence the future tense "will" [17:59:03] brion: yes, sorry for the ping. I only asked that because otherwise I have to change 2-3 regex for my bots :) (API for special pages doesn't work as good as HTML's data..) [17:59:06] *don't [17:59:16] if it is just enwiki that gets it off, I don't mind [17:59:34] (and also because the new regex seems not to work, dunno why) [17:59:41] can anyone help me figure out how to enable image uploading and getting images onto pages? [18:00:35] am I visible here? [18:00:42] hello? [18:01:05] yes we can see you [18:01:28] http://www.mediawiki.org/wiki/Manual:Image_Administration [18:03:39] Anyone: is there something else I have to set to activate LDAP authentication than just: $wgAuth = new LdapAuthenticationPlugin(); [18:04:09] Because it doesn't seem to be working.. [18:04:39] And.. It doesn't even seem to be going into the UserExists() function [18:05:09] 03brion * r32971 10/trunk/phase3/includes/EditPage.php: tweak to r32864 -- remove extra parameters from string replacement which were removed from captures [18:20:42] 03brion * r32972 10/trunk/phase3/ (3 files in 2 dirs): [18:20:42] Revert r32842, r32942 for now. [18:20:42] * The date-split view is visually disjoint; loss of distinguishing bullets makes [18:20:42] the lines harder to read and distinguish, while the extra date headers cause [18:20:42] significant vertical expansion of log lists when searched on specific criteria. [18:26:09] After setting $wgAuth, how can I make mediawiki use the new authentication mechanism? [18:26:26] matthew_: in theory, that should be it. [18:26:42] i can't help you specifically with ldap setup stuff, though; have you checked over some of the doc pages on mediawiki.org? [18:28:07] brion: I see, it gets to the connect() function, but not the userExists() function.. [18:28:21] hello, i am trying to edit imagepage.php so that i can have text above the image on the image page. Anyone know how I can change that page to do this? [18:28:47] brion: I am printing debug messages to a file.. debugging mediawiki is hell.. [18:30:37] It already prints debug info!! But where to? $this->printDebug( "Entering Connect", NONSENSITIVE ); [18:31:08] Hello [18:33:34] There s quite a bit of discussion on Wikinews about whether javascript that produces a ticker based on your location can be embedded into MediaWiki site. Can someone tell me if this is possible? [18:35:36] Anonymous101: there's something experimental sitting around somewhere. we can consider the possibilities [18:36:00] thanks for info [18:36:02] bye [18:37:30] 03aaron * r32973 10/trunk/phase3/maintenance/populateParentId.php: Some tweaks [18:39:04] anyone know anything about how to hack imagepage.php? To move the text to above the image? [18:39:15] includes/imagepage.php [18:41:16] odes2: well, dive in and get to it :) [18:41:28] i believe you'll find there's some 'before' and 'after' bits. move some from one to the other ,maybe? [18:45:05] 03emiller * r32974 10/trunk/extensions/GoogleMaps/ (GoogleMaps.body.php SpecialGoogleMapsKML.php): [18:45:05] * Use quotation marks in "define" statements for PHP4 compat. [18:45:05] * Drop use of recursiveTagParse--can't get it work and we have to support the old-fashioned way anyway. [18:46:34] brion, thanks for writing back, I often think I am talking to myself. I don't know much php. I guess what would help is to know what code creates the text, then I could move it above the image section. In the html, there is no class assigned to the text. [18:48:05] odes2: the guts are all in the view() method [18:48:22] now there's a lot of stuff in there, but you can strip it down to a few essential bits [18:48:33] $this->openShowImage(); <- it starts some image stuff [18:48:44] Article::view() <- it calls the parent class to show the text [18:49:00] $this->closeShowImage(); <- it finishes up the image stuff (currently empty) [18:49:05] then it adds some history bits [18:49:17] so my suspicion is that you want to rearrange a couple of those bits [18:50:25] let me look :) [18:50:28] thanks [18:53:10] 03ialex * r32975 10/trunk/phase3/includes/StubObject.php: Document a bit. [18:54:59] man this sucks--so complex [18:55:42] i'm still lost brion, but thanks to you I no longer HOPELESSLY lost, just lost [18:56:03] still have hope--hope dies last [18:56:54] heh [18:57:10] yeah some of that's not the prettiest code [18:57:47] 03emiller * r32976 10/trunk/extensions/GoogleMaps/GoogleMaps.body.php: Google Maps Extension: Fix rendering of tabbed balloons. [19:02:19] okay, I was able to remove the text by deleting: [19:02:19] if( $this->getID() ) { [19:02:19] Article::view(); [19:02:19] } else { [19:02:19] # Just need to set the right headers [19:02:19] $wgOut->setArticleFlag( true ); [19:02:21] $wgOut->setRobotpolicy( 'index,follow' ); [19:02:23] $wgOut->setPageTitle( $this->mTitle->getPrefixedText() ); [19:02:25] $this->viewUpdates(); [19:02:27] } [19:05:19] now I know it should be moved above openShowImage(); right? But where [19:05:36] i get parse errors when I move it [19:05:51] what is considered pretty code? [19:06:00] it all looks the same to me [19:06:05] more comments would be nice [19:06:07] :) [19:06:28] it amazes me there is no real guides to hacking mediawiki--good compelte guides [19:06:44] i have spent three days doing this [19:06:56] trying to figure out how to edit the image page [19:08:00] I DID IT--yes! I movved the code above $this->openShowImage(); [19:08:04] YES YRS YES [19:08:08] THANK YOU BRION [19:08:19] God bless you [19:11:58] Hello, is it possible to delete or disable default namespaces? [19:13:21] hey guys, got a question... [19:13:46] is it possible to have mutliple media wikis accessing information from more than one media wiki db? [19:13:59] added the solution to metamediawiki.org. you helped thousands of mediawiki users Brion [19:14:06] tthanks and bye [19:14:17] :) [19:26:23] hmmmmm. [19:26:25] Warning: mysql_data_seek() [function.mysql-data-seek]: Offset 0 is invalid for MySQL result index 227 (or the query data is unbuffered) in F:\xampp\htdocs\wiki_de\includes\Database.php on line 788 [19:26:31] using special:userrights [19:27:37] hi [19:30:01] o_O [19:31:48] Hello ! I m looking for a way to make batch edit to my wiki, I like a command line tools, is there anything ? [19:34:56] 03raymond * r32977 10/trunk/phase3/includes/LogPage.php: Add a CSS class to the headertext [19:36:16] hi, I have mediawiki installed on an intranet site, I'd like to embed a search box for our internal search engine on our main page. is that possible? [19:37:12] !style | stadaro_work [19:37:12] --mwbot-- stadaro_work: 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 [19:40:48] How would I use css to add content? [19:41:18] Adylas: there is a script to make one edit at each time, but no batch script [19:41:48] i wonder why 13661 hasn't shown up in here as (NEW) yet [19:42:04] ( [19:42:09] ("Invalid redirect IDs were found") [19:47:26] ialex: + * "uselang" parameter that can be passed to inde.php. This object have to be [19:47:48] oops ? :) [19:49:25] Nikerabbit: only that one ? :) [19:49:48] ialex: didn't spot any others, sorry :) [19:50:00] hmm, has to be? [19:50:13] thanks for marking that duplicate, ialex [19:50:51] hehe [19:52:06] roan seems to be the API king [19:52:18] and we are beholden unto him... [19:52:31] 03ialex * r32978 10/trunk/phase3/includes/StubObject.php: Typo, thanks to nikerabbit for reporting it :) [19:53:16] I can't see any way to uses css to accomplish what I want. what would happen if I added form and text to the list of allowed HTML tags? could I construct a search box in the article itself? [19:54:58] stdaro_work: maybe there's an extension for this [19:56:24] good evening everyone [19:56:39] (sorry, first time i use irc) [19:57:09] i've struggled long time with a development task, maybe anyone can help? [19:57:58] i'm looking for a way to separate "official" pages from "non-official" ones [19:59:06] i thought about displaying a kind of "official-stamp" for pages that are 1) protected and 2) are categorized with a special category, call it "official site" [19:59:26] any ideas if this is a secure/good way? [20:01:06] so technically this could be done in the main site template (monobook.php) [20:17:34] 03huji * r32979 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [20:20:41] 03aaron * r32980 10/trunk/phase3/includes/LogEventsList.php: Hack to preserve special page parameter (e.g. "/delete") [20:24:43] 03ialex * r32981 10/trunk/phase3/includes/api/ApiQuerySiteinfo.php: Don't use $wgDBservers to get server ip, it isn't set on Wikimedia and return host="" for all db servers [20:24:57] nacht [20:25:43] Why are we publishing host names of db servers through the api? [20:25:56] because.... we're crazy? :) [20:25:58] The api is useful, but I see no reason to publish such sensitive information. [20:26:09] that should only be done if we have the option enabled to display internal hostnames [20:26:12] i'm pretty sure there already is one [20:26:28] MinuteElectron: set $wgShowHostnames to false and it won't show it [20:26:30] (we don't care on our system, since we have most of our config info sitting out in public :) [20:26:44] mmh [20:26:45] ok [20:26:47] that's cool [20:27:11] Does it default to false? [20:27:32] not on wikimedia [20:27:38] but by default yes [20:27:42] oh, good good [20:27:44] awesome [20:27:54] brion:https://wikitech.leuksman.com/view/Server_roles [20:27:59] need update [20:28:14] for db servers [20:30:46] is there a way to have a raw html file from the server included in a page or template? [20:31:00] <[KrusheR]> hi [20:31:28] anyone can help about finding the categories given to a page? is there a way to get this information in MonoBook.php [20:31:30] ? [20:31:37] <[KrusheR]> i've seen some fancy captchas in wikipedia, are those coming in 1.13? [20:31:37] stdaro_work: i think an extension allow to do this, but i don't remember wich of them [20:32:01] [KrusheR]: no it's an extension [20:32:17] I guess I could just write an extension that just returned the HTML [20:32:28] <[KrusheR]> witch one? [20:32:43] [KrusheR]: ConfirmEdit [20:32:49] <[KrusheR]> thanks ialex [20:33:45] stdaro_work: http://www.mediawiki.org/wiki/Extension:HTMLets [20:34:22] 03aaron * r32982 10/trunk/phase3/includes/ (8 files in 2 dirs): [20:34:22] * Add redirect and size fields to title. Add accessors. [20:34:22] * Add newFromRow() function for Titles to optionally avoid some queries on accessor use [20:34:22] * Make linkbatch and some things that directly use linkcache select len/redirect fields along with the rest all in one query. This avoids query spam for link coloring. [20:36:39] 03aaron * r32983 10/trunk/phase3/includes/Title.php: Consistency [20:39:05] 03aaron * r32984 10/trunk/phase3/includes/Title.php: Remove cruft from earlier testing [20:42:02] grrr [20:42:08] 03aaron * r32985 10/trunk/phase3/includes/filerepo/File.php: Gah, left this one too... [20:42:42] there we go [20:42:48] brion: can you give that peek? [20:44:07] moment [20:47:07] 03aaron * r32986 10/trunk/phase3/includes/Parser.php: This wants a title now [20:51:04] With the LDAP extension, where do you specify the password for the bind user? [20:51:26] I get this message.. obviously for lack of anywhere to specify the password: wsuDebug(" [20:51:51] 03aaron * r32987 10/trunk/phase3/includes/ (LogEventsList.php SpecialContributions.php): Remove "wtf" $_GET hacks ;) [20:51:51] I mean this message: Failed to bind as sAMAccountName [20:52:01] matthew_: I'm guessing you set it in LocalSettings... check the extension page or install instructions [20:54:25] Skizzerz: the extension page gives examples without using a password... I have no idea why.. [20:58:02] hello [21:00:14] 03aaron * r32988 10/trunk/phase3/includes/Title.php: Some cleanup per brion [21:11:28] 03aaron * r32989 10/trunk/phase3/includes/Parser_OldPP.php: *ahem* [21:16:42] 03aaron * r32990 10/trunk/phase3/includes/Parser_OldPP.php: Same syntax error, goddamn [21:20:35] can someone explain how categories work if you have custom namespaces? [21:22:56] 03aaron * r32991 10/trunk/phase3/includes/LogEventsList.php: Don't copy over, append [21:23:38] bonbonthejon: The same as when you don't have cutom namespaces. [21:24:03] MinuteElectron: do pages from main and custom all get thrown together? that's my main question. [21:29:01] bonbonthejon: yup [21:29:25] MinuteElectron: hmm. Ok, thank you. I'll need to think about this some more. [21:38:53] 03aaron * r32992 10/trunk/phase3/includes/Revision.php: Make parent ID null to avoid stupid looking sp:contribs [21:45:04] hi [21:46:04] someone here? [21:49:55] !ask | aitiba [21:49:55] --mwbot-- aitiba: 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. [22:38:42] could someone help me for a moment regarding infoboxes? [22:40:06] I have added an infobox and have it coded correctly, but all that displays is Template:Infobox, how do I get this to display a box with the info inside of it? [22:40:28] stuchman: what page? [22:40:46] http://dirk.alpinevideoproductions.com/index.php?title=Skeleton_Coast [22:40:49] 03aaron * r32993 10/trunk/phase3/includes/LogEventsList.php: Don't set $this->pattern unless it is allowed [22:46:00] <[KrusheR]> anyone knows how to limit per extension file sizes? [22:46:41] <[KrusheR]> or rejecting animated gifs [22:48:05] Mike_Lifeguard, did you find the link? [22:48:08] stuchman: uhhh... Template:Infobox doesn't exist, how could anything be shown there? [22:48:34] steal wikitext from Wikipedia, and try again ;) [22:49:21] hmmm, new to this still, so I need to put info on the page Template:Infobox? [22:51:08] 03aaron * r32994 10/trunk/phase3/includes/ (LogEventsList.php LogPage.php): Kill useless div that bumps everything down [22:52:10] stuchman: http://meta.wikimedia.org/wiki/Help:Template [22:54:29] 03aaron * r32995 10/trunk/phase3/includes/LogEventsList.php: Same for $this->user [23:30:49] 03aaron * r32996 10/trunk/phase3/includes/ (Linker.php LogEventsList.php): [23:30:49] * Fix user param [23:30:49] * Fix sync errors [23:30:49] * Use red contribs links if needed [23:38:17] uhm... hello x3 someone are not sleeping? xD [23:39:26] *Mike_lifeguard is sleeping [23:39:54] ._. [23:41:34] noone awake here? q,q [23:42:00] !ask | GodLesZ [23:42:00] --mwbot-- GodLesZ: 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. [23:42:00] <[KrusheR]> not even the bots [23:42:40] dont like bots <_< [23:42:52] I am having absolutely no luck getting RewriteRule clean URI's to work. http://www.gryphonrun.org/htaccess.txt [23:43:19] http://www.gryphonrun.org/log.txt [23:43:39] 03rainman * r32997 10/branches/lucene-search-2.1/ (36 files in 16 dirs): [23:43:39] Various smaller tweaks: [23:43:39] * removed excessive caches&checks during warmup [23:43:39] * fixed explanations when boosts are scaled multiple times [23:43:39] * remove some unwanted error reporting [23:43:40] * fixed CJK highlighting [23:43:42] * proper variant conversion for sr [23:44:30] kay, so, im new to this Wiki Software and have read the Manual (not yet complete x_x) but never find a section, how to add a new Navigation Link, like "Sitename-Portal" or "Mainpage" or something else... could someone link me to an explanation or could explain me that? :D [23:44:59] <[KrusheR]> do you refer to sidebar? [23:45:05] tw, im german, so please excuse me bad english <_< [23:45:14] could e xD [23:45:16] *e [23:45:27] the links under the wiki logo ^^ [23:45:42] *below [23:45:46] <[KrusheR]> yes, it must be the sidebar [23:45:51] <[KrusheR]> check mediawiki:sidebar page [23:46:13] kay i will do, thank u ^^ [23:46:19] <[KrusheR]> np [23:47:44] !sidebar | GodLesZ [23:47:44] --mwbot-- GodLesZ: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [23:48:33] on the way ppl, on the way xD [23:48:43] 03brion * r32998 10/branches/REL1_12/phase3/ (3 files in 3 dirs): [23:48:43] * (bug 12077) Fix HTML nesting for TOC [23:48:43] Copy r32387 from trunk [23:59:17] okay thank u guys, cYa ^^