[00:01:54] dayid: will that permanently keep the path variable like that though? [00:09:53] 03(mod) Special:Userlogin should remember uselang - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11139 +comment (10cbrown1023) [00:11:12] 03(mod) Special:Userlogin should remember uselang - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11139 +reviewed; +comment (10EN.WP.ST47) [01:56:50] 03(NEW) Sanitizer blocks templates which contain non-validating HTML fragment. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11144 normal; normal; MediaWiki: Templates; (sacolcor) [02:01:01] 03(mod) Allow users to disable edittools from being sent to them - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11130 (10danny_b) [02:01:51] *Cbrown1023_away huggles _danny_b_ [02:09:41] hi all [02:10:04] i have a problem: i create a custom namespace called Notícias [02:10:30] maybe because it's a non english word with ´ doesn''t appear correct [02:10:37] the namespace [02:10:44] i have a strabge caracther [02:10:49] strange [02:10:56] how to fix it? [02:23:02] 03(NEW) Update Punjabi Translation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11145 15enhancement; normal; MediaWiki: Internationalization; (apbrar) [02:24:01] 03(mod) Sanitizer blocks templates which contain non-validating HTML fragment. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11144 (10danny_b) [02:24:47] <_Danny_B_> Cbrown1023_away: yes? [02:25:23] *Cbrown1023_away huggled you :-) [02:25:23] <_Danny_B_> lleoliveirabr: how did you create it? [02:25:54] $wgExtraNamespaces[100] = "Foo"; [02:25:54] $wgExtraNamespaces[101] = "Foo_talk"; [02:26:09] i think i have this porblem [02:26:10] http://www.mediawiki.org/wiki/Manual_talk:LocalSettings.php#Shuld_I_save_Localsetting.php_as_utf8_encoding_.3F [02:26:24] but i didn't understand what that guy did [02:26:34] require_once( "$IP/extensions/ExtraNamespace.php" ); [02:26:46] what is the content of extranamespace file? [02:27:21] any idea? [02:31:32] Danny? [02:32:09] <_Danny_B_> lleoliveirabr: that's beyond my knowledges, sorry [02:33:08] lol [02:33:49] <_Danny_B_> what to lol? [02:34:01] *Cbrown1023_away assumes nothing [02:34:22] i would like to know what add in extranamespace.php file? [02:36:34] <_Danny_B_> lleoliveirabr: i guess i should have loled on you. i asked how did you create Notícias ns and you answered $wgExtraNamespaces[100] = "Foo"; - well now you have foo ns instead :-P [02:37:08] $wgExtraNamespaces[113] = "Notícias"; [02:37:08] $wgExtraNamespaces[114] = "Notícias_talk"; [02:37:11] ok now? [02:37:11] <_Danny_B_> anyway - what does it mean "doesn''t appear correct " [02:37:25] why not? [02:38:12] <_Danny_B_> i'm asking how does it appear. be specific, don't describe issues in general words [02:38:23] ah ok [02:39:45] <_Danny_B_> lleoliveirabr: got your wiki public? [02:39:58] yes [02:39:59] wait [02:40:11] http://walter.gabrielfalcao.com/lampiao/mediawiki/index.php?title=Especial:Allpages [02:40:25] look it was to be Notícias [02:42:03] i think it's because localsettings doesn't accept uft8 so words with ^~´ ... doesn't work good [02:42:10] do you think is this? [02:42:47] <_Danny_B_> weird, we have í in czech and i added it normally with no probs [02:43:09] uhm [02:43:19] so whta is my problem? [02:43:22] what [02:45:20] <_Danny_B_> paste your entire localsettings in pastey (see link in topic) [02:46:11] <_Danny_B_> i have one idea what's wrong, but it's justidea [02:49:54] hi [02:50:02] need to type reverse [02:50:05] so boring [02:50:24] <_Danny_B_> ? [02:50:37] in the pastey [02:50:47] when you have link [02:51:20] look: [02:51:20] <_Danny_B_> so far i see you have formulário and formulário discusao -they contain also nonascii chars [02:51:44] yes, but was an extension that created this namespaces [02:52:26] the site name on localsettings is to be vIunaÍ and it's vIunÍ [02:52:41] but appear correct on wiki page [02:53:03] <_Danny_B_> so what's wrong with pastey? [02:53:34] need to type reverse the lonk name that have on text [02:53:49] i sisn't like to type reversed many links names [02:54:41] <_Danny_B_> why you need to type reverse? [02:56:05] *_Danny_B_ wonders what doesn't work on copy'n'paste entire localsettings to pastey [02:57:30] i have to go [02:57:40] mmaybe tomorrow [02:57:51] isomeone knows how to fix it [02:57:54] thanks [02:57:55] bye [02:58:18] <_Danny_B_> lleoliveirabr: if you pasted the code i could take a look [02:58:26] <_Danny_B_> otherwise i can't say anything [02:58:30] did work [02:58:34] <_Danny_B_> because i don't see it [02:58:39] need to validate [02:58:49] type the page reversed [02:58:54] boring things [02:59:01] understand? [02:59:22] do you have icq? [02:59:28] i can send you the file [03:14:37] vIunaÍ [03:14:47] and the namespace is Notícias [03:15:03] now i have to go, but really thanks [03:15:26] send by email for me, and i'll use a good php editor [03:15:30] ;P [03:15:41] and always save as utf [03:15:43] right? [03:30:33] <_Danny_B_> so it was mixed encoding [04:35:01] is the current revision don't have 'user creation log'? [04:43:31] 14(DUP) Parse Wikitext in outgoing email - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11141 +comment (10robchur) [04:43:32] 03(mod) Transform wikilinks to URLs in email messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7846 +comment (10robchur) [04:44:27] alnokta: User creation log has always been an extension... [04:44:51] Dantman|FS: oh really [04:44:59] Dantman|FS: pardon me then [04:48:19] 03(mod) Upgrade librsvg to version 2.18.0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10207 summary; +comment (10robchur) [04:48:20] 03(mod) Broken rendering of arrows in SVG - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5325 (10robchur) [04:48:43] 03(mod) Upgrade librsvg to version 2.18.0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10207 (10robchur) [04:48:45] 03(mod) SVG rasterisation on Wikimedia sites (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8901 (10robchur) [04:55:04] 03(mod) Special:Userlogin should remember uselang - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11139 -patch -reviewed ; +comment (10robchur) [05:17:42] Quick question: Does each article/page in a MediaWiki site have a corresponding CSS page? [05:29:47] 03(mod) SpamBlacklist should check for HTTPS URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11129 (10brovvnout) [06:29:53] how can I easily include a Google search? for now I just have a link to http://www.google.com/search?q=site%3A{{SERVERNAME}} [06:30:50] 03david * r25384 10/branches/liquidthreads/README-liquidthreads: rewrote README. [06:31:01] any one here i need some help -_- [06:31:35] with what, Rollen [06:31:44] i was editing my wiki users [06:31:51] and i accidently made my account a non-admin [06:32:03] is there any way to use like a system account [06:32:09] the WikiSysop account? [06:32:10] or like edit my account in the system files [06:32:25] no my Rollen account [06:32:30] how do i get into WikiSysop [06:32:30] then log in as wikisysop [06:32:41] that was created during the installation [06:32:50] you have assigned a password [06:33:05] Login error: [06:33:05] There is no user by the name "Wikisysop". Check your spelling, or create a new account [06:33:11] hold on [06:35:27] Rollen: I can't find it now, but search http://lists.wikimedia.org/pipermail/mediawiki-l/ for WikiSysop [06:36:19] k 1 more question i saw that there was a wiki that intergrated the forum members with the wiki members [06:36:32] wikia? [06:36:42] like instead of creating a account on the actuall wiki you they have a universel account for wiki and forums [06:36:50] yeah its a wikia [06:37:02] no MediaWiki [06:37:11] wikia uses mediawiki [06:37:27] they use a number of custom hacks; but they are planning to release them to the public at some point [06:37:50] oh so if i want to find that type of mod they would have it? [06:38:29] but they haven't released it to the public yet; search the mailing list archives above, it's been discussed recently [06:39:51] okay thanks "Create a user in the normal manner, and then add two rows in the [06:39:51] user_groups table; the ug_user field should be set to the ID of the [06:39:51] new user (probably 1), while the ug_group values should be "sysop" and [06:39:51] "bureaucrat" respectively. [06:39:59] where do i find user_groups table [06:43:55] sorry, I accidentally closed XChat [06:44:12] np [06:44:27] one guide had the same problem that the wikisysop wasnt created and they said this: [06:44:32] Create a user in the normal manner, and then add two rows in the [06:44:32] user_groups table; the ug_user field should be set to the ID of the [06:44:32] new user (probably 1), while the ug_group values should be "sysop" and [06:44:32] "bureaucrat" respectively. [06:44:47] i dunno where user_groups table is though [06:44:52] if you don't know how to handle the db tables, you better not mess with it [06:45:21] ugh but i have no other way to gain admin again -_- [06:45:31] hi [06:45:49] Rollen: have you worked with PhpMyAdmin before [06:45:54] yeah [06:46:35] well, then you should be able to find it [06:46:37] ah now i know where it is -makes a back up- >_> [06:46:44] heh [06:47:03] 1 last question xD [06:47:33] :3 i saw one wiki have like a image at the bottom left corner of the category boxes how do you add one in there [06:47:39] dofus.wikia.com they have that [06:48:36] 03david * r25385 10/branches/liquidthreads/extensions/ (LqtBaseView.php LqtModel.php LqtPages.php): misc. cleanup of tabs and comments [06:49:38] Rollen, that's CSS: #catlinks { background: url(...) no-repeat right center; } [06:51:05] k thanks [06:51:15] do i change Default2 from 0 to 1? [06:51:40] ? [06:53:19] when it says: the ug_user field should be set to the ID of the [06:53:19] new user (probably 1), [06:54:20] I dunno, really [07:01:29] ugh this is confusing... [07:02:31] Has anyone gotten math support for mediawiki to work on os x? [07:02:41] I can't install dvipng [07:09:30] dublisk any idea how to get into ug_user to edit the ID [07:09:46] no, I don't even know what that means [07:19:48] god i wish i didn't fuck up this bad -_- [07:25:14] 03(mod) Special:Userlogin should remember uselang - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11139 +comment (10JSchulz_4587) [07:27:47] Rollen: check the maintenance folder for useful scripts, maybe [07:33:54] god i wish i could just get a easy list of the members on a simple php file and be able to edit admins easily -_- [07:38:28] some one mentioned something about using a mysql console to edit users any idea where i can get one.. [07:39:22] search the MW-l archives [07:40:54] why can't there just be a one-click install of mediawiki for os x :P [07:40:56] MW-1? [07:41:15] Rollen: MediaWiki-l (that's an L) - the mailing list [07:41:18] I gave you the link above [07:42:28] oh yeah i'm there i'm finding solutions but no idea how to do them... [07:42:41] then post something there yourself [07:43:19] 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 +comment (10jeluf) [07:49:10] now this bugs me [07:49:22] i found out how to do it now but it says im missing the table user_rights [07:50:44] nvm [07:50:45] 03(FIXED) Restrict media upload to autoconfirmed users on it.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10640 +comment (10jeluf) [07:50:50] had to use the 1.5 commands [07:51:04] thanks for the help Ace and your patience i know i must of got kinda annoying XD [07:51:23] I'm not bothered; I'm sorry I couldn't be of more help tho [07:51:32] so you got it now [07:58:30] 03(FIXED) Closing of Herero Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10690 +comment (10jeluf) [07:59:24] 14(INVALID) Closing of Zhuang Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10691 +comment (10jeluf) [08:00:06] 14(INVALID) Closing of Sardinian Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10692 +comment (10jeluf) [08:00:20] its alright you helped plenty [08:00:23] 14(INVALID) Please clean up and lock Akan Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10705 +comment (10jeluf) [08:00:51] 14(INVALID) Please clean up and lock Wolof Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10707 +comment (10jeluf) [08:01:05] im looking at how to get bothe forum and wiki to use the same user databases and appearently it works best with phpbb but i have Discuz! as my forum [08:01:28] you think if i rename my db files corresponding to the discuz ones that maybe i can combine them all? [08:01:46] 14(INVALID) Please clean up and lock Kanuri Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10720 +comment (10jeluf) [08:02:18] 14(INVALID) Closure of Quechua Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10747 +comment (10jeluf) [08:02:33] 14(INVALID) Please delete articles on Choctaw Wikipedia which have been imported to the incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10748 +comment (10jeluf) [08:05:58] WOOT!!!! LATEX IS WORKING!!! [08:08:22] 03(WONTFIX) Increase the cached set size for query pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3149 +comment (10jeluf) [08:08:55] =) [08:09:23] yes!!!! [08:09:40] use toolserver for the first 1000 too! [08:22:27] domas: you are such a big miser! [08:22:53] wha!? [08:23:11] domas: ;) [08:23:14] hi, my mediawiki installation exploded, can anyone please help me work out why? http://mewiki.project357.com/ [08:23:43] domas: why don't they actually use the page and categorize the pages, so that they can see the next ones? [08:23:44] what is rc_cur_id nowadays? [08:23:53] the page_id [08:24:03] maybe they can [08:24:10] checkers: probably has something to do with the 357 part - that's just too big a caliber; it's prone to exploding [08:24:12] who? why? [08:24:32] Ace_NoOne, hurr hurr :p [08:24:48] it has been working fine, and just suddenly died seemingly without cause [08:25:40] maybe your db is b0rked - I dunno [08:29:29] I am more or less clueless when it comes to php and mysql, and even more so when it comes to mediawiki [08:29:47] :-( [08:30:59] oh, here we go [08:31:00] SHOW INDEX FROM `objectcache` ; [08:31:00] #1033 - Incorrect information in file: './project3_mewiki/objectcache.frm' [08:31:39] if this is just a cache, can I simply zero the file? I'm not quite sure what I need to do [08:32:07] checkers: REPAIR TABLE objectcache; [08:32:24] did you do any downgrades of mysql? [08:32:28] is that from the sql commandline? [08:32:31] yep [08:32:44] I don't think so, but it's running on a mates server so I will check [08:34:11] do I need to change to the mediawiki database first? how do I do that? [08:43:57] 'use' [08:52:26] didn't seem to change anything, I got this output: [08:52:26] mysql> REPAIR TABLE objectcache; [08:52:26] +-----------------------------+--------+----------+--------------------------------------------------------------------+ [08:52:26] | Table | Op | Msg_type | Msg_text | [08:52:27] +-----------------------------+--------+----------+--------------------------------------------------------------------+ [08:52:30] | project3_mewiki.objectcache | repair | error | Incorrect information in file: './project3_mewiki/objectcache.frm' | [08:52:33] +-----------------------------+--------+----------+--------------------------------------------------------------------+ [08:52:36] 1 row in set, 1 warning (0.02 sec) [08:52:40] whats the code [08:52:45] to get rid of the Content menu [08:52:53] is it like ___NOTC___? [08:53:02] checkers: use a pastebin next time [08:53:34] Rollen: __NOTOC__ IIRC [08:55:08] apologies, I should have just posted three lines [09:19:56] thanks Ace one more quest xD [09:20:22] all the pages on my wiki seem to like loose there form when the window is made smaller or bigger [09:20:31] is there any way to give the page a Fixed size [09:20:43] using the default Monobook skin? [09:20:46] so that people with different resolutions dont see a mess [09:20:50] yeah [09:21:03] the default skin adapts nicely to different resolutions [09:21:57] hi there [09:22:09] anyone got a bot to upload images via php? [09:22:34] Flominator, there's a script in maintenance/ for mass uploads [09:23:18] checkers: does it work without access to the database? [09:23:51] I forget sorry [09:32:13] hi root-80686 [09:37:08] hi Flominator [09:40:04] how are you? [09:42:28] most of maintenance scripts need db access [09:43:28] domas: thats the problem ... [09:51:24] not for me!!1 [09:53:27] but for me [11:05:49] hmm I have a parser function related question [11:06:21] http://es.wikipedia.org/wiki/Usuario:White_Cat/Gen [11:06:21] "This user contributes to [[ [11:06:22] en:Main|English Wikipedia]] a [11:06:29] why are those broken? [11:06:47] I use {{#ifeq:{{{lang}}}|en||:en:}} [11:06:57] which contains no newline char [11:07:23] it should return ":en:" by default [11:07:36] why || ? [11:07:37] but it is returning something like
en: [11:07:51] Duesentrieb if the lang value is en :en: shouldnt happen [11:08:12] yes, but that would be a single |, no? [11:08:19] hmm [11:08:33] probably unrelated to your question, but it looks broken anyway [11:09:04] Duesentrieb what I want to do is If (lang == en) return null else return ":en:" [11:09:26] re: [11:09:41] I expose what I want in http://mediawiki.pastey.net/73221 [11:10:01] Shiroi_Neko: oh, and you should be using #if, not #ifeq. And you need {{lang|}} [11:10:15] so: {{#if:{{{lang|}}}|en|:en:}} [11:10:28] hmm [11:10:54] err, no wait [11:11:12] Shiroi_Neko: what i said doesn't do what you want, sorry. i misunderstood. [11:11:33] :D [11:11:40] it does the oposite doesnt it? [11:11:54] ifnotequals or something along the line is what I need perhaps [11:12:01] Shiroi_Neko: it outputs "en" if lang is set (to anything), and :en: otherwise [11:12:14] what i wrote does [11:12:14] heh [11:12:32] bbl [11:12:34] I see [11:13:43] ifeq takes three parameters, right? in that case, your version does look correct (although providing a default value for lang seems like a good idea. [11:14:56] Duesentrieb but my version doesnt work right [11:15:02] it adds a newline [11:16:40] sorry, no clue about that, unless you have a linebreak before or after the ifeq stuff [11:16:52] check http://es.wikipedia.org/wiki/Usuario:White_Cat see the "1 4:ar:" [11:16:55] Duesentrieb I do not tho [11:17:18] thats the {{#ifeq:{{{lang}}}|es|1|2:es:}}{{#ifeq:{{{lang}}}|ar|3|4:ar:}} [11:17:25] passed value is es [11:17:30] si it works correctly there [11:17:35] doesnt work correctly elsewhere [11:17:43] is : a reserved char? [11:17:49] in parser fuctions [11:17:55] shouldn't be [11:18:27] maybe the empty parameter (||) causes problems. try |:| instead [11:19:41] ah fixed [11:19:48] the initial : was calusing the problems :/ [11:19:50] *Shiroi_Neko cries [11:26:16] 03daniel * r25386 10/trunk/extensions/CategoryTree/CategoryTreeFunctions.php: [11:26:16] avoid filesort. downside: subcategories are more likely to be lost if categories [11:26:16] and pages are listed together, and the limit is hit; that is, the limit is not [11:26:16] applied to the list as displayed. This is counter-intuitive (kind of like the [11:26:16] paging of subcategories on category pages) [11:26:20] domas: ----^ [11:31:49] *Shiroi_Neko pets Duesentrieb [11:31:55] 03(mod) Change paging link labels on page histories to "newest", "newer" , "oldest" and "older" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9579 +need-review +patch (10EN.WP.ST47) [11:35:11] How can I submit an extension or patch to svn? [11:35:26] bugzilla [11:35:46] Khayyam_win1: by getting commit access. which you usually get when you have supplied a good number of decent patches (via bugzilla) [11:36:02] aha [11:36:27] thanks. you mean I should submit patches to bugzilla first [11:36:30] yes [11:36:45] when I do it several times well [11:36:53] I can request for it [11:36:58] Where can I find information about Wikimedia Commons and how a similar shared media-wiki can be done? [11:37:25] ZeiP: http://www.mediawiki.org/wiki/Manual:Wiki_family [11:38:05] Jack_Phoenix, thanks. [11:38:08] np [11:38:46] Khayyam_win1: yes [11:38:58] MinuteElectron. thanks [11:40:04] How many bugs do you think I need to submit? [11:40:56] and how will the bug be checked? [11:41:20] Khayyam_win1: there's no fixed number. basically, if one of "the guys" feels he knows your coding skills and trusts you to not screw up completely, you get access. [11:41:43] Khayyam_win1: patches get reviewd (add the "patch" and "needs-review" tags when you attach patches) [11:42:01] thanks. so nice. [11:42:02] Khayyam_win1: sometimes you'll have to nag on irc to get someone to look at it :) [11:42:19] Khayyam_win1: depending on scope and nature of the path, getting it committed can take a few hours, or months. [11:42:30] it 's not good. I hate to nag [11:43:03] well, nagging every now and then is ok. whining isn't. [11:43:36] Khayyam_win1: anywqay, what do you want commit access for? For extensions, it's generally good enough to host it somewhere else. [11:43:57] I see. [11:44:10] normally, you don't make patches to get commit access, but you get commit access because you do a lot of patches... [11:44:26] but I thouht putting them in mediawiki.org causes them to be more useful [11:44:45] you can put them on mediawiki.org without them being in svn [11:44:48] Khayyam_win1: you can put them on mediawiki.org no problem. no need to have them in wikimedia svn for that [11:44:56] in fact, most extensions tehre arn't in svn [11:45:39] It is nicer to have them in Wikimedia SVN though as it allows them to be easily checked out and you don't have to find a repo such as sf. [11:45:50] IMO [11:46:08] thanks very much. but eventually , I still don't know how I can Identify myself in irc [11:46:20] to use my nickname [11:46:34] according to my wikipedia account [11:46:42] so I'll be one [11:46:55] MinuteElectron: actually, for people who don't have svn, getting extensions from there is a lot *harder* then just donloading a zip file somewhere. [11:47:18] True, providing in both format is nice though. [11:47:23] *formats [11:47:27] Khayyam_win1: hm? you mean, identify with nickserv? or do you mean an irc cloak? [11:47:38] yes [11:47:53] now you don't know who I am [11:47:55] MinuteElectron: sure. but extensions in svn should get branched and bundeled with the main code. [11:48:06] just my ip is avail;abe in info [11:48:08] currently, it's very hard to find an extension that'll work with 1.8, for example [11:48:38] Duesentrieb: I though if you look in branches/REL1_8/extensions it lists 1.8 compatible extensions? [11:49:15] Khayyam_win1: a) register you nickname with nickserv (/msg NickServ help); b) get an irc cloak (usually, there should be someone on your local wiki managing those for freenode) [11:49:35] MinuteElectron: branches/REL1_8/extension doesn't exist. extensions are not branched. that's my point. [11:49:47] Khayyam_win1: seanw does all cloaks. [11:49:54] Duesentrieb: hmm, one moment. [11:50:06] thanks very much. [11:50:13] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_8/ [11:50:34] Duesentrieb: But they are now: http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_10/extensions/ [11:50:39] do you mean IM to seanw? [11:50:50] MinuteElectron: ah, so me nagging brion finally helped :) [11:50:54] Khayyam_win1: Look at meta.wikimedia.org/wiki/IRC_cloaks [11:50:58] Duesentrieb: :D [11:51:17] thanks. That's better [11:51:18] Duesentrieb: So there is now a big benefit of svn. [11:52:27] MinuteElectron, I think svn looks more reliable [11:52:49] yes [11:52:49] than mediawiki.org [11:53:25] the one in mediawiki.org might change at any time and svn looks more official [11:53:33] *Werdnum returns [11:53:43] Hey Werdnum! [11:53:44] and looks to have a better history [11:56:19] hi anyone [11:56:37] could you tell me where should feature requests for irc.wikimedia.org go? [11:57:17] bugzilla [12:00:13] Don't you know if there is any plan for making apis for creating account [12:00:18] on mediawiki [12:00:18] hmm... what product should I choose? MediaWiki/Site_requests? [12:00:52] Khayyam_win1, probably no... why? how could you prove that you are not registrator bot then? [12:01:24] it will be made available for other sites to use, I presume [12:01:39] but I would not say there's much chance of it being activated on WM sites [12:01:46] not for wikimedia sites [12:01:56] for other sites it might be needed [12:02:08] the registration is limited to a user and [12:02:10] then [12:02:30] sure, it'd probably be a pretty trivial enhancement. [12:02:30] <[Jessy]> How can export all pages of a certain namespace? [12:02:36] but not likely something people could be bothered with [12:02:52] *Werdnum ponders [12:02:53] Jessy, go to Special:Allpages [12:03:03] Khayyam_win1: "export" all pages [12:03:27] as in export their contents as with Special:Export [12:03:28] choose the namespace you wwant [12:03:35] <[Jessy]> yes [12:03:50] *Werdnum signs into devanywhere to peek at the code. [12:03:52] and list the pages in Special:Export [12:03:57] <[Jessy]> its a custom namespace i created [12:04:17] if you haven't created it in the code and [12:04:31] just you've used : it doesn't work at all [12:04:39] <[Jessy]> ive added the line in localettings [12:04:55] *Werdnum peeks at code [12:05:12] so it apears in the list [12:05:32] <[Jessy]> and now? I Have all pages listed from my namespace under Special:AllSites [12:06:20] 03(mod) SpamBlacklist should check for HTTPS URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11129 (10EN.WP.ST47) [12:06:33] choose the namesapce [12:06:40] in the combo box [12:06:43] 03(mod) SpamBlacklist should check for HTTPS URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11129 +need-review +patch (10EN.WP.ST47) [12:06:50] [Jessy]: you could try using dumpBackup.php, and tweak a bit of the code. [12:07:20] I believe Werdnum's way is so better if [12:07:26] you have many pages [12:07:45] <[Jessy]> wheres the dumpBackup.php? [12:08:03] maintenance/ [12:08:08] *Werdnum wonders how to use it. [12:08:41] <[Jessy]> and the special:Export page cannot handle all pages of a namespace? [12:08:57] no, although it could, of course, be modified to do so. [12:09:58] <[Jessy]> but if my namespace pages got all a category then i would work? [12:10:16] why do you say that? [12:10:58] hey, SpecialExport.php does all pages in a category [12:11:04] *Werdnum didn't know that. [12:11:55] <[Jessy]> hm the dumpBackup.php can create me a backup of all pages of a given namespacE? [12:12:04] no, just all pages. [12:13:03] <[Jessy]> and how can i backup my just my namespace pages? [12:13:22] hold on, I'm looking into it. [12:13:30] <[Jessy]> thanks [12:16:21] [Jessy]: I'm writing a function for Special:Export that should do it for you. [12:16:48] <[Jessy]> wow thanks [12:16:59] is mediawiki supporting WikiCreole yet? http://www.wikicreole.org/ [12:17:27] "Creole is a common wiki markup language to be used across different wikis. It's not replacing existing markup but instead enabling wiki users to transfer content seamlessly across wikis" [12:17:59] bleh... [12:18:03] ew [12:18:35] http://ws2006.wikisym.org/space/Workshop%3e%3eWiki+Markup+Standard [12:20:18] http://uz.wikipedia.org/wiki/Bosh_Sahifa [12:20:22] could someone identify the filename of the uzbek logo I am actualy looking for a version without the hat(?) [12:20:30] so I can put it to commons [12:20:31] [Jessy]: luckily for you, I'm bored :P [12:22:27] <[Jessy]> ehm wait [12:22:46] <[Jessy]> don't code something for me [12:22:56] why not? [12:22:57] <[Jessy]> I make it by hand [12:22:58] I'm almost done. [12:23:15] <[Jessy]> its a little bit complicated. [12:23:30] to add all pages from a namespace? not at all [12:24:09] <[Jessy]> I have got a book in my wiki only to read. now i want to export it. Then Change the namespace name in the XML an reimport it [12:24:24] <[Jessy]> for a second version of the book, which the users can edit. [12:25:40] <[Jessy]> Maybe there a conflicts between the IDs of the backup if change it by hand [12:26:58] <[Jessy]> werdum [12:27:23] maybe that duplication of all pages in a namespace into another namespace could be done right on the mysql console, by something like INSERT into SELECT from .. [12:27:55] no, no page_id conflicts occur. [12:28:03] in fact, export/import will work well for you. [12:28:13] because you can specify which namespace to import into. [12:29:11] <[Jessy]> for e.g. i export the page mybooka:Chapter1 [12:29:59] <[Jessy]> then i change in the XML the title and then i import it [12:31:07] no need to change the XML, even [12:31:20] just change the namespace to which it is imported when you put it into Special:Import [12:32:09] *Werdnum thinks. [12:34:00] <[Jessy]> i can not change the namespace on special:import [12:34:55] yeah, I just noticed that [12:35:07] I'll look at that code once I'm done with Export. [12:35:26] I believe for an XML import, namespaces are derivitave of the element. [12:35:50] <Werdnum> english? [12:36:22] <TimLaqua> well, like if you look at the xml schema generated by an export, there's a <namespaces></namespaces> area [12:36:37] <TimLaqua> And the titles are all prefixed [12:36:46] <[Jessy]> yes [12:36:53] <TimLaqua> So like <title>Help:Contents will go to the Help namespace [12:37:21] The tag says that the Help namespace is key 12 [12:37:58] I just kind of jumped in here, waht are you trying to do? ;-) [12:37:59] <[Jessy]> i tried it and checked it with {{NAMESPACE}} [12:38:37] TimLaqua: wants to copy files from one ns to another. [12:39:05] <[Jessy]> I have something like a manual in a custom namespace only for read [12:39:08] 03werdna * r25387 10/trunk/phase3/includes/Xml.php: Allow an element name to be specified in Xml::namespaceSelector. [12:39:13] ah. [12:39:36] What namespace were they all in before? [12:39:59] <[Jessy]> now i want to export the manual, change the namespace in the xml and import it as a 2nd version of the book [12:40:17] ok, so you have it al exported now? [12:40:51] <[Jessy]> no i dont know how to export all pages of my custom namespace [12:41:31] How many pages do you have that you want to move? [12:41:40] <[Jessy]> 150 [12:42:25] [Jessy]: necessary code changes are at http://www.devanywhere.com/ViewPub.php?id=18 [12:44:03] <[Jessy]> i tried. Are there any conflicts with the IDs after the import? [12:44:29] bleh. yes, but by default all imports are put in a certain directory. [12:44:33] *Werdnum ponders a moment [12:45:11] Werdnum, it'd pry be easier to just make a Namespace mover extension. ;-) [12:45:25] TimLaqua: never! my ten-minute hack jobs > extensions [12:45:33] cant this be done with a single mysql query? [12:45:38] <[Jessy]> Hey [12:45:39] mutante: no. [12:45:45] I like that idea [12:46:06] <[Jessy]> is it more save to that i can get a list of all my namespace pages [12:46:17] <[Jessy]> which a paste to special:export? [12:46:17] huh? [12:46:27] [Jessy]: that's basically what my changes do. [12:46:47] [Jessy]: I can post a copy of the full file, instead of a diff, si tu veut. [12:47:14] <[Jessy]> please [12:47:32] also, take a look at $wgImportTargetNamespace [12:48:30] <[Jessy]> where? [12:49:46] add $wgImportTargetNamespace = NS_SOMENAMESPACE into your localsettings.php [12:49:57] <[Jessy]> ok [12:50:36] http://www.devanywhere.com/ViewPub.php?id=19 [12:50:41] (SpecialExport.php) [12:51:25] [Jessy]: save as SpecialExport.php, by the way [12:52:56] ugh! note to self: don't put the coke bottle in front of the laptop's ventilation slots. [12:53:00] LOL [12:54:09] <[Jessy]> i get this Fatal error: Call to a member function getDBKey() on a non-object in C:\xampp\htdocs\MediaWiki\includes\SpecialExport.php on line 56 [12:54:55] *Werdnum looks [12:54:59] I told you it was untested ;-) [12:55:35] oops [12:55:42] can you easily edit it? [12:56:16] if so, search for '$add_ns', and you should get to about line 208 [12:56:41] replace $nspages = wfExportGetPagesFromCategory( $t ); with $nspages = wfExportGetPagesFromNamespace( $add_ns ); [12:56:46] erm, 108* [12:57:39] alternatively, download the new file from http://www.devanywhere.com/ViewPub.php?id=20 [12:58:24] <[Jessy]> the search in eclipse sucks [12:58:55] :P [12:59:20] <[Jessy]> now i got this Fatal error: Call to undefined function wgGetDB() in C:\xampp\htdocs\MediaWiki\includes\SpecialExport.php on line 27 [12:59:28] *Werdnum groans [12:59:48] line 20, replace wgGetDB with wfGetDB [12:59:59] <[Jessy]> yes [13:00:14] <[Jessy]> MySQL 1065: Query was empty (localhost) [13:00:20] bleargh [13:00:37] line 35, replace $sql with $query [13:00:57] <[Jessy]> yes ;) i replaced [13:01:04] <[Jessy]> 1146: Table 'mediawiki.array' doesn't exist (localhost). [13:01:25] line 29, replace $page with list($page) [13:02:37] <[Jessy]> it works [13:02:44] =) [13:02:46] yay! [13:03:00] <[Jessy]> thanks a lot. [13:03:08] Hey, something to do :P [13:03:34] <[Jessy]> but the mediawiki api ;) [13:03:58] *Werdnum has spent all day with his girlfriend, I have to have SOME boring part to it :P [13:04:25] domas: http://www.devanywhere.com/ViewPub.php?id=22 -- please don't kill me [13:04:32] I hard-coded a button name! [13:04:34] oh, the shame [13:07:00] <[Jessy]> Werdnum i changed the namespace in the tag of the exported xml [13:07:14] <Werdnum> [Jessy]: don't bother, just use $wgImportTargetNamespace [13:07:36] <Werdnum> in your LocalSettings.php, add $wgImportTargetNamespace = [namespace code for the one you want to import into] [13:07:56] <Werdnum> Reverted '/mediawiki-dev/includes/SpecialExport.php' [13:07:59] <Werdnum> \o/ [13:08:54] <[Jessy]> and there a now errors or conflicts with the IDs [13:09:05] <Werdnum> hm? [13:10:03] <[Jessy]> the exported page have the tag <id> and <revision><id> [13:10:43] <[Jessy]> I hope there are no conflicts [13:10:44] <Werdnum> I don't think those are paid attention to by Special:Import. [13:11:14] <[Jessy]> You think they get new IDs? [13:12:00] <Werdnum> yeah [13:12:05] <Werdnum> otherwise it'd always conflict [13:12:06] <[Jessy]> ok. [13:12:22] <[Jessy]> Thanks a lot for helping me [13:12:38] <Werdnum> np :-) [13:15:16] <wikibugs> 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 +comment (10cbrown1023) [13:17:10] <[Jessy]> Im leaving [13:17:19] <Werdnum> okay, bye [13:17:20] <Werdnum> good luck! [13:17:25] <[Jessy]> ciao [13:33:38] <wikibugs> 04(REOPENED) Please delete articles on Choctaw Wikipedia which have been imported to the incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10748 +comment (10cbrown1023) [13:43:33] <wikibugs> 03(mod) Change in Malayam Wiktionary {{SITENAME}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11093 (10sadik.khalid) [13:57:52] <wikibugs> 03(mod) Add Toolserver to $wgCaptchaWhitelistIP - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11137 +comment (10jeluf) [14:00:32] <wikibugs> 03(mod) Add Toolserver to $wgCaptchaWhitelistIP - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11137 (10EN.WP.ST47) [14:04:02] <wikibugs> 03(WONTFIX) Set up Wikimedia open proxy list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6988 +comment (10jeluf) [14:07:33] <wikibugs> 03(mod) Add Toolserver to $wgCaptchaWhitelistIP - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11137 +comment (10daniel) [14:12:22] <wikibugs> 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 (10jeluf) [14:14:04] <wikibugs> 06(LATER) Please delete articles on Choctaw Wikipedia which have been imported to the incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10748 +comment (10jeluf) [14:14:33] <wikibugs> 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 (10cbrown1023) [14:22:49] <wikibugs> 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 (10robchur) [14:23:35] *Cbrown1023 is scared [14:24:23] *Cbrown1023 huggles robchur [14:24:48] *hojjat thinks robchur is not on the channel [14:24:59] <Cbrown1023> I know, but it's the thought that counts [14:25:18] *hojjat grins [14:25:49] <wikibugs> 03(mod) Adding the sha1 to the imageinfo query - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11115 (10Bryan.TongMinh) [14:27:50] <hojjat> Anybody has an idea about this: d: [14:27:50] <hojjat> cd d:\foldername [14:27:50] <hojjat> cmd.exe [14:28:05] <hojjat> Sorry correcting the link; [14:28:10] <hojjat> http://www.mediawiki.org/wiki/Project:Extension_requests#WhosOnline_extension [14:33:37] <wikibugs> 03(mod) Adding the sha1 to the imageinfo query - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11115 (10robchur) [14:42:19] <VasilievVV> Does MediaWiki store SHA1 as string? [14:44:21] <Duesentrieb> probably. [14:44:32] <Duesentrieb> it even stores dates as strings, so... [14:44:46] <Duesentrieb> but look into table.sql to be sure [14:46:15] <VasilievVV> It's varbinary [14:48:38] <omgs> re: [14:48:45] <omgs> I expose what I want in http://mediawiki.pastey.net/73221 [14:48:59] <omgs> At this moment, I'm close to what I want [14:50:46] <omgs> So, I've created an extension (changing {{H1}} with {{H1_CSS}}) [14:51:23] <omgs> The CSS is rendered ok, but no substitutions [14:54:35] <omgs> Duesentrieb: do I need a template with the extension to handle parameters? [14:55:43] <omgs> I've taken PageCSS.php as example for what I want [15:05:19] <CIA-15> 03catrope * r25388 10/branches/apiedit/phase3/ (5 files in 3 dirs): apiedit: Adding ApiProtect module [15:08:55] <CIA-15> 03catrope * r25389 10/branches/apiedit/phase3/ (4 files in 2 dirs): apiedit: Adding missingtitle error messages to ApiProtect, ApiDelete and ApiUndelete [15:09:26] <wikibugs> 04(REOPENED) Please clean up and lock Akan Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10705 +comment (10cbrown1023) [15:13:47] <CIA-15> 03catrope * r25390 10/branches/apiedit/phase3/ (35 files in 9 dirs): apiedit: Merging revisions 25325 and beyond from trunk [15:23:15] <wikibugs> 04(REOPENED) Please clean up and lock Wolof Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10707 +comment (10cbrown1023) [15:24:06] <VoiceOfAll> TimStarling: hello :) [15:27:06] <Cbrown1023> omg tim [15:27:43] <Viele-baeren> hi [15:27:54] <Viele-baeren> erm... i need some help [15:28:28] <Cbrown1023> just say what you need and if someone can, they'll help [15:28:41] <Viele-baeren> ist there a possibillity to protect pages, so, only users, even if they are new, can edit it? [15:29:03] <RoanKattouw> Viele-baeren yes [15:29:12] <Viele-baeren> something like [edit=user move=user) [15:29:15] <RoanKattouw> You mean registered users can edit, and anonymous users can't? [15:29:20] <Viele-baeren> yes [15:29:21] <RoanKattouw> Just disable anonymous edits [15:29:31] <RoanKattouw> Not sure where that goes though, just a second while I look it up [15:29:40] <Viele-baeren> no, yust in some pages [15:29:43] <Viele-baeren> not in all [15:29:51] <RoanKattouw> Oh [15:29:53] <RoanKattouw> Ehm [15:29:56] <RoanKattouw> Yes that's also possible [15:29:57] <Cbrown1023> the current protection ways are none, autoconfirmed, and sysop [15:30:09] <RoanKattouw> But if you set autoconfirm time to 0 [15:30:09] <Cbrown1023> he wants "user" [15:30:13] <RoanKattouw> You can use autoconfirm [15:30:14] <Cbrown1023> yup [15:30:28] <Viele-baeren> i know autoconfirmed [15:30:37] <RoanKattouw> $wgAutoConfirmAge = 0; [15:30:43] <RoanKattouw> And all registered users are autoconfirmed [15:30:46] <Viele-baeren> but is there another possibility? [15:30:56] <Viele-baeren> yes, but its a bit more difficult [15:31:09] <RoanKattouw> What do you mean more difficult? [15:31:16] <Viele-baeren> i want to protect some pages autoconfirmed and some for useres [15:31:19] <Viele-baeren> i want to protect some pages autoconfirmed and some for users [15:31:24] <RoanKattouw> Ah [15:32:19] <RoanKattouw> http://www.mediawiki.org/wiki/Extension:Require_Editor_Privilege [15:32:23] <RoanKattouw> Adds an 'editor' group [15:33:04] <Viele-baeren> ahhh [15:33:08] <Viele-baeren> thank you [15:39:33] <omgs> RoanKattouw: can you help me in a simple development issue? [15:39:41] <RoanKattouw> Sure [15:39:45] <RoanKattouw> What's your problem? [15:40:10] <omgs> The introduction is at http://mediawiki.pastey.net/73221 [15:40:56] <omgs> Then, I have created the extension, based on other small extension, but I'm unable to handle the parameters [15:41:21] <omgs> I wonder if there's a chance to use a extension with parameters and no "associated" template [15:42:07] <wikibugs> 04(REOPENED) Please clean up and lock Kanuri Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10720 +comment (10cbrown1023) [15:42:12] <RoanKattouw> omgs maybe it's better to create a tag like Extension:Charinsert does [15:42:20] <RoanKattouw> <charinsert>a</charinsert> you know [15:42:33] <RoanKattouw> Or <header number="1">Header text</header> [15:42:54] <omgs> Well, I think I can handle <foo>text</foo> [15:43:12] <RoanKattouw> I expect the whole numbering thing is ignored if the user has disabled header numbers in Special:Preferences? You gotta check for that too [15:43:19] <TimLaqua> Ryan_Lane, u around? [15:43:28] <omgs> Well, it's just a custom installation [15:43:50] <RoanKattouw> omgs maybe you need to use a hook somewhere [15:43:58] <omgs> Not a generic case, though I can contribute, of course [15:43:58] <RoanKattouw> Somewhere where == Header == is parsed [15:44:13] <omgs> RoanKattouw: I think I've got that [15:44:29] <omgs> My problem is that in the rendered css there are no substitutions [15:44:45] <RoanKattouw> You mean it doesn't auto-increment the numbers? [15:44:49] <omgs> So I get "0" as initial number [15:44:57] <RoanKattouw> Ah [15:45:12] <RoanKattouw> Maybe increment *before* you render the chapter title [15:45:17] <RoanKattouw> Tried that? [15:45:33] <omgs> It's not a css problem, but substitution before rendering [15:45:39] <RoanKattouw> Hmm [15:45:57] <omgs> The css initial number shows empty [15:46:03] <RoanKattouw> Weird [15:46:18] <RoanKattouw> But I hardly know anything about CSS, let alone this kind of advanced stuff [15:46:20] <omgs> I call it right now like {{H1_CSS|5}} (yes, I've renamed it) [15:46:33] <Duesentrieb> omgs: to make it work, you would have to modify PageCSS to expand template parameters. it's possible, but afaik, the details are a bit nasty. there'S proabably a couple of examples on mediawiki.org [15:46:34] <wikibugs> 04(REOPENED) Closure of Quechua Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10747 +comment (10cbrown1023) [15:46:35] <omgs> Don't worry about css [15:47:06] <omgs> Duesentrieb: yes, I made a duplicate of PageCSS and created my own extension [15:47:40] <RoanKattouw> I'm leaving now, folks; I'm sorry I couldn't help, omgs [15:47:49] <Duesentrieb> omgs: the simplest way to allow parameter expansion is to make it a parser function, instead of a tag hook. [15:47:55] <Duesentrieb> parser functions work on wikitext level. [15:47:58] <omgs> I "hardcopy" the css, but I'm doing something wrong with params [15:48:42] <omgs> First step: Is it possible to handle it all from the parse function with no template call? [15:49:03] <omgs> I recall that the wiki code is {{H1_CSS|5}} [15:49:35] <Duesentrieb> you can write a parser function (or hook) that simply injects *your* css, and applies whatever parameters you want. [15:49:37] <Duesentrieb> so, yes. [15:49:42] <omgs> So I intend to start numbering from five, or at leat to get that parameter from the function [15:50:02] <Duesentrieb> the approach wuing templates and a parsefunction-based-pagecss-clone is more generic and flexible [15:50:11] <Duesentrieb> (you can then use it for *any* css stuff you want to do) [15:50:17] <omgs> It's something silly about parameters that as a newbie I'm not handling properly [15:51:01] <Duesentrieb> well, what type of parameters are you talking about? template parameters are fundamentally different from parameters passed to tag hooks, and those are different from parameters for parser functions. [15:51:09] <omgs> Currently, the css is injected, but no parameter handling [15:51:29] <omgs> The introduction is at http://mediawiki.pastey.net/73221 [15:53:10] <Duesentrieb> omgs: my ecommendation: make a parderfunction out of the page-css stuff, you you can do {{#css|my css code goes here}}. then put {{#css|special case for h1, using {{{1}}} somehow}} into a template called headingnumber. then us it as {{headingnumber|5}} wherever you like. [15:53:59] <Duesentrieb> omgs: iirc, PageCSS currently only supports <css>your code</css>, which will not work with {{{1}}}. [15:54:44] <Duesentrieb> tag hooks have no pre- or post-processing, they work as raw-input -> html converters. parser functions have recursive pre-processing, and can specify how their output is further handled. [15:55:33] <Duesentrieb> omgs: you don't care about the output (there is non, you use other methods to inject stuff into the html head). all you want is the preprocessing. [15:55:39] <Duesentrieb> so, use parser functions. [15:55:55] <omgs> I've done an update at http://mediawiki.pastey.net/73250 [15:58:26] <omgs> Duesentrieb: I've just updated (overwritten) the last pastebin, http://mediawiki.pastey.net/73250 [15:58:31] <omgs> Please reload the page [15:58:42] <TimLaqua> Anyone know the LdapAuthentication plugin very well? [15:59:48] <TimLaqua> I'm trying to figure out the reasoning behind caching ALL LDAP group names [16:27:43] <Viele-baeren> hi Turelion [16:27:46] <Viele-baeren> :P [16:27:53] <Turelion> Hi Viele-baeren ;-) [16:27:59] <Turelion> Nice to see you again [16:28:10] <Turelion> Hello to all [16:28:21] <Turelion> I am Turelion from the german wikibooks [16:28:35] <Turelion> And we have a little problem at the moment [16:29:18] <Turelion> A User of us is not able to register his AOL-EMail-Address to his Wikibook (and Wikipedia)-Account [16:29:51] <Turelion> Does anybody here know something about that? Is that a common problem? [17:35:25] <tty1> anyone here a tiny bit familiar witht he mediawiki skins? im trying to modify one and having a heck of a time getting out of the door (im trying just to copy the skin to a new skin by a new name.. but the new skin is showing up ifferent then the skin im copying from, it looks like monobook) [17:36:10] <CIA-15> 03rotem * r25391 10/trunk/phase3/includes/WatchlistEditor.php: Don't show contributions link to user subpages in the watchlist editor. [17:39:40] <CIA-15> 03rotem * r25392 10/trunk/phase3/includes/WatchlistEditor.php: Using the function Title::isSubpage instead. [17:40:27] <tty1> anyone/ [17:40:28] <tty1> ? [17:40:42] <hojjat> tty1 hi [17:40:48] <tty1> hojjat: hey ya [17:40:54] <hojjat> how's it going? [17:41:09] <tty1> hojjat: not too bad.. the skins are giving me a hell'a a headache [17:41:23] <hojjat> And about the extension? [17:41:33] <tty1> hojjat: havent touched it since last we spoke [17:41:50] <hojjat> tty1, my efforts for having other people's attention failed [17:42:25] <hojjat> Indeed, those from whom I had the honor to have their attention, didn't know how to help : [17:42:27] <hojjat> :( [17:42:40] <tty1> hojjat: :( [17:42:59] <Nikerabbit> uga [17:43:18] <Jack_Phoenix> hey Nikerabbit :) [17:44:10] <Nikerabbit> greetings from Laihia [17:44:38] <Jack_Phoenix> <tähän kohtaan laihialaisvitsi> ;-) [17:44:51] <hojjat> Nikerabbit, I'd like to also ask you for help about that problem. [17:45:39] <hojjat> Nikerabbit, if you mind: http://www.mediawiki.org/wiki/Project:Extension_requests#WhosOnline_extension [17:50:36] <CIA-15> 03rotem * r25393 10/trunk/phase3/includes/WatchlistEditor.php: Use standard URL for contributions page. [17:56:21] <_Danny_B_> how big issue to fix is that parser tags can't receive template parameters? i mean is it expactable to have it fixed in weeks, months, years, never? i don't have any idea how id works therefora i don't have any idea about how difficult is to fix it [17:58:07] <CIA-15> 03robchurch * r25394 10/trunk/phase3/ (RELEASE-NOTES includes/WatchlistEditor.php): Revert r25349 and offspring; the watchlist editor shows titles, not users - a contributions link is not appropriate here, nor is it useful [18:20:46] <Dantman|FS> Special:Export on Wikipedia says that only up to 100 revisions will be exported, but the actual output makes me doubt that a little... Is that message making a valid statement for MediaWiki? [18:25:26] <Platonides> Dantman|FS, i think you can configure it [18:25:59] <Dantman|FS> Well... I'm on the client side in this case... [18:26:12] <Dantman|FS> So I can't even verify that [18:29:57] <omgs> What is the function to insert some html text in the current parsing point? [18:31:08] <omgs> I've tried $text=$parse->mOutput->getText(), and then $parse->mOutput->setText($text . '<h1counter />') but no success [18:31:54] <omgs> I think that I'm also having a caching problem, regardless that I've disabled caching and reloading with the force reload keys [18:32:26] <Ryan_Lane> omgs: did you disable parser caching? [18:32:30] <hojjat> tty1 the extension is fixed: http://www.mediawiki.org/wiki/Extension_talk:Whos_online#Upgrade_for_MediaWiki_1.10 [18:32:44] <tty1> hojjat: awesome! [18:32:46] <omgs> Ryan_Lane: in preferences? [18:32:52] <tty1> hojjat: thanks ill check it out in just a minute [18:33:01] <Ryan_Lane> omgs: in LocalSettings.php [18:33:06] <hojjat> tty1 we should indeed thank Nikerabbit, for showing me the way [18:33:31] <Ryan_Lane> omgs: you could also try just clearing the parser cache of a single page by appending ?action=purge [18:33:33] <omgs> Ryan_Lane: I didn't touch anything in the file but including my extension [18:33:34] <Ryan_Lane> to the url [18:33:48] <tty1> Nikerabbit: thanks a bunch :) [18:33:51] <omgs> I thought that the only way to enable/disable was via preferences [18:34:02] <tty1> hojjat: you certainly deserve some credit for holding down the fort [18:34:38] <Ryan_Lane> omgs: no, you can disable it wiki wide, or purge it individually on any page you want [18:34:46] <hojjat> tty1, thank you. Please comment on the link I posted. Make sure you also right about your views on making it a Subversion extension. [18:34:49] <omgs> $wgMainCacheType = CACHE_NONE; [18:34:59] <Ryan_Lane> ummm [18:35:11] <tty1> hojjat: will do [18:35:16] <hojjat> tty1, thanks [18:35:23] <tty1> hojjat: thank you [18:35:56] <omgs> Ryan_Lane: do you believe that I'm having a caching problem? [18:36:13] <Ryan_Lane> omgs: i have no clue. just telling you how you can test if you do or not [18:36:20] <Ryan_Lane> omgs: is your wiki public? [18:36:33] <omgs> No, it's just for private issues [18:37:07] <omgs> Anyway, my major concern is insert a piece of html when my parsing function is called [18:37:15] <Ryan_Lane> omgs: what hook are you using? [18:37:42] <omgs> look some lines above [18:37:55] <omgs> I've tried $text=$parse->mOutput->getText(), and then $parse->mOutput->setText($text . '<h1counter />') but no success [18:38:00] <Ryan_Lane> is your extension code publicly available? [18:38:54] <omgs> No, I'm just testing [18:39:13] <omgs> The details are in http://mediawiki.pastey.net/73250 [18:39:57] <Andre> Hi. If I have a site and want create, for example, a wiki in Portuguese and other version of this wiki in English [with versions of same articles translated], I need install mediawiki two times in my server or can I separate the two in the same installation? [18:40:55] <wikibugs> 03(mod) Upladed file size calculations to compare with upload quota - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10976 (10wikipedia.kawaii.neko) [18:41:09] <Ryan_Lane> omgs: so you just want to add css to a page that has the extension enabled? [18:41:39] <omgs> Yes, and the css is already done [18:41:59] <omgs> Now I want to insert an HTML piece of code when the function is called [18:42:43] <Ryan_Lane> omgs: sec [18:43:23] <omgs> ok [18:44:24] <Ryan_Lane> omgs: your function just needs to return the HTML you want to display [18:44:46] <omgs> ok, let me try [18:47:18] <omgs> Ryan_Lane: ok, but I want to insert '<h1counter />', and it's written as '<' and so on [18:47:51] <omgs> How to get rid of the postprocessing (or whatever changes that)? [18:48:23] <Ryan_Lane> you mean you are returning '<h1counter />', and it is getting outputted as '<htcounter />'? [18:48:26] <omgs> I've tried with <nowiki><h1counter /></nowiki>, but no success (unless caching is doing something) [18:48:33] <omgs> Ryan_Lane: yes [18:49:39] <wikibugs> 03(NEW) Removal of 9/11 wiki from the wikimedia projects list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11146 minor; low; Wikimedia: General/Unknown; (wikipedia.kawaii.neko) [18:49:56] <Ryan_Lane> omgs: hmm, that shouldn't happen [18:50:07] <Ryan_Lane> omgs: can you paste your extension code? [18:50:11] <Ryan_Lane> to pastey [18:50:20] <Church_of_emacs> Hey, I've got an idea for a new MediaWiki feature: Linking an article with action=edit. At the moment, you have to use an external link, or something like: <span class="plainlinks">[{{SERVER}}{{localurl:myarticle|action=edit}} linktext]</span>. My proposal: A magic word like {{EDITLINK:myarticle}} or interwiki-like: [[edit:myarcicle]] [18:50:35] <ST47> D [18:50:37] <ST47> oops [18:50:55] <Church_of_emacs> What do you think about that? :) [18:51:02] <ST47> Does Special:Sitematrix get data the same way as the no such wiki page? [18:52:23] <omgs> Ryan_Lane: http://mediawiki.pastey.net/73255 [18:54:30] <Ryan_Lane> omgs: on the page you are having problems, add ?action=purge to the url, and clear your browser cache [18:56:07] <omgs> Ryan_Lane: no change [18:56:27] <Ryan_Lane> omgs: ah ha... http://www.mediawiki.org/wiki/Manual:Parser_Functions [18:56:52] <Ryan_Lane> omgs: in there .... To return unparsed HTML output instead of wikitext output using a parser function, use: return array($output, 'noparse' => true, 'isHTML' => true); [18:57:20] <omgs> ok, I'll try [18:58:48] <Ryan_Lane> omgs: hmm. although that is for parser functions, not tag extensions [19:01:33] <Ryan_Lane> omgs: it shouldn't be parsing what you are trying to return. [19:02:25] <omgs> Ryan_Lane: maybe the problem is that I'm calling a template from the wiki code, not the extension itself [19:02:52] <omgs> Or at least, that's my intention :( [19:03:09] <Ryan_Lane> omgs: does the template use the extension? [19:03:25] <Ryan_Lane> omgs: the template shouldn't cause a problem [19:03:51] <omgs> I use {{H1_CSS|5}}, but it's converted into <H1_CSS chapter="5"> after saving [19:04:16] <omgs> The template uses the extension [19:05:10] <omgs> But *I think* that the last form uses directly the extension, right? [19:05:39] <Ryan_Lane> omgs: try using it without the template, and see if it works [19:06:12] <wikibugs> 03(NEW) Special (Log) page for First Contribution date - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11147 15enhancement; normal; MediaWiki: Special pages; (skizzerz) [19:07:49] <omgs> Ryan_Lane: finally got it, but there's a "design" issue :( [19:07:55] <Ryan_Lane> ? [19:24:25] <omgs> Ryan_Lane: dinner time, thanks [19:24:29] <omgs> ups... [19:28:48] <wikibugs> 14(DUP) Changing the text when a wiki doesn't exist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11125 +comment (10wikipedia.kawaii.neko) [19:28:49] <wikibugs> 03(mod) Removal of 9/11 wiki from the wikimedia projects list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11146 +comment (10wikipedia.kawaii.neko) [19:41:21] <Turelion> Cu all [20:15:08] <ChemicalBit> How many days after registratio an user bacame autoconfirmed? [20:17:46] <mikedld> hello there, guys. is there any *good* extension to write multilingual articles and connect them to each other?.. [20:18:27] <ChemicalBit> mikedld: what do you mean? (sorry, I'm not very skilled) Like some of the articles on meta? [20:19:59] <mikedld> I mean the extension which allowes you to specify localized title and specify which articles are translations of that one. like on wikipedia, [en:Title], [es:...] etc [20:23:48] <ChemicalBit> this work wth a family of wiki (different wiki intallations). You need not extansione, as far ass I kow, but just to configure them properly [20:23:55] <ChemicalBit> *extension [20:24:55] <mikedld> I've installed Polyglot already, but I don't like how title looks [20:25:43] <mikedld> like here: http://wiki.kolibrios.org/Writing_drivers_for_KolibriOS/ru [20:26:22] <mikedld> I don't want that "/ru" in the title, and I actually want title be "Пишем драйвер для КолибриОС" which is the first section of the article [20:29:44] <ChemicalBit> mikedld: I'm sorry I cna help you, as I do not kneo that extension :-( [20:29:50] <Duesentrieb> mikedld: the reason the title looks that way is that it allows mediawiki to *automatically* send people to the version of the page that correspeonds to their preferred language [20:30:35] <mikedld> nope [20:30:37] <Duesentrieb> mikedld: the alternative is to do what common, meta, mediawiki.org, etc do: name the pages in the appropriate language, and use a template to cross-link them. [20:30:59] <Duesentrieb> mikedld: err, what do you mean "nope"? it *is* the reason, i wrote that thing :) [20:31:48] <mikedld> well, URL does that, there's no need to display the same in title if don't want to [20:31:56] <Duesentrieb> i don't think there's a good way to combine both ("native" naming and automatically showing the "right" page) [20:32:24] <wikibugs> 03(mod) Special (Log) page for First Contribution date - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11147 (10robchur) [20:32:41] <Duesentrieb> mikedld: there's a directive for overwriting the display title of any page. though i think it limited to "similar" names, at least per default, to avoid confuseion [20:33:15] <Duesentrieb> you can also use redirects with polyglot, but i think it will not always work as expected [20:33:18] <mikedld> what is it, sorry is that's written somewhere in the manual :) [20:33:29] <mikedld> what directive? [20:33:46] <Duesentrieb> {{DISPLAYTITLE|whatever}} iirc. [20:33:57] <Duesentrieb> or {{#DISPLAYTITLE|whatever}} [20:34:00] <mikedld> thanks, I'll try that [20:34:11] <Duesentrieb> it'S a but of a hack, so i think it has the first (non-standard) form [20:34:38] <Duesentrieb> mikedld: but as i said, i think it's restricted. it's mainly intended to allow an article about the iPod to show a lower-case i. [20:34:49] <Duesentrieb> iirc, it will not work if the title is completely different. [20:34:53] <ChemicalBit> http://lists.wikimedia.org/pipermail/mediawiki-announce/2007-July/000065.html <---- MediaWiki 1.11.0 release pushed back on Jul 23 . Any news? [20:34:56] <Duesentrieb> but maybe there'S a way tochange that# [20:35:11] <mikedld> thanks anyway, Duesentrieb [20:35:25] <Duesentrieb> mikedld: oh, and you have to enable it: http://www.mediawiki.org/wiki/Manual:%24wgAllowDisplayTitle [20:36:11] <mikedld> Duesentrieb: and thanks once again ;) [20:37:01] <omgs> Duesentrieb: I finally got it, but now I have a kind of pure CSS problem [20:37:24] <omgs> I made a public copy [20:38:43] <omgs> I hope this stage is not too off-topic [20:39:25] <omgs> The problem now is to isolate the title css classes so the stuff applies only to those [20:40:00] <Duesentrieb> omgs: html source sais: <h1 class="firstHeading"> [20:40:03] <Duesentrieb> simple enough, no? [20:40:25] <omgs> It should be, but I'm not css expert [20:40:43] <Duesentrieb> h1.firstHeading { whatever style } [20:41:25] <omgs> I forgot to mention that I added h2 to the style list [20:41:33] <AzaTht> something is fishy with ApiQueryRevision in trunk [20:41:54] <AzaTht> yurik added rev_len at r24693 [20:42:01] <Duesentrieb> omgs: err - but if you want to restrict it to the title, how does h2 play into this? [20:42:05] <AzaTht> I'll get Notice: Undefined property: ApiQueryRevisions::$fld_len in /home/azatoth/public_html/srcwiki/includes/api/ApiQueryRevisions.php on line 239 [20:42:46] <omgs> h1 sets the starting, but h2 is the most visible tag [20:43:35] <Duesentrieb> omgs: you probably want .bodyContent h2 { xxx } then [20:43:43] <Duesentrieb> i.e. all h2's in the body. [20:43:48] <AzaTht> omgs: h1 is the first section heading [20:43:52] <Duesentrieb> err, content body. the real text, not the ui stuff [20:43:53] <AzaTht> h2 is the second [20:44:06] <Duesentrieb> AzaTht: o_O [20:44:13] <AzaTht> omgs: visibillity has nothing to do with it [20:44:26] <AzaTht> it's all semantic [20:45:07] <AzaTht> where is yurik when you need to poke him [20:52:56] <omgs> Sorry, I might be misunderstanding what you say [20:53:13] <omgs> I'm trying things but I can't get the expected result [20:55:49] *omgs wonders why cache is annoying so much, being theorically disabled [21:11:23] <Ryan_Lane|away> omgs: I'm betting it really isn't disabled ;) [21:12:45] <Ryan_Lane> omgs: $wgEnableParserCache = false; [21:47:01] <wikibugs> 03(mod) Check French link trail - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11127 (10D.U.Thibault) [22:26:04] <wikibugs> 03(mod) Please clean up and lock Kanuri Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10720 (10cbrown1023) [22:28:43] <wikibugs> 04(REOPENED) Changing the text when a wiki doesn't exist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11125 +comment (10cbrown1023) [22:29:13] <Shiroi_Neko> Duesentrieb [22:29:29] <Shiroi_Neko> you operated commons ticker right? [22:29:53] <Duesentrieb> Shiroi_Neko: it mostly operates itself lately :) [22:30:05] <Shiroi_Neko> Duesentrieb contact for trwiki changed [22:30:10] <Shiroi_Neko> it is no longer Cool Cat [22:30:11] <Duesentrieb> not gonna touch it irght now if it's not badly broken [22:30:14] <Shiroi_Neko> but White Cat [22:30:24] <Duesentrieb> Shiroi_Neko: fix it on the meta page. [22:30:28] <wikibugs> 14(DUP) Removal of 9/11 wiki from the wikimedia projects list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11146 +comment (10cbrown1023) [22:30:29] <Shiroi_Neko> okay [22:30:29] <wikibugs> 03(mod) sep11 wiki still on Special:SiteMatrix - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10273 +comment (10cbrown1023) [22:30:34] <Shiroi_Neko> can you link me? [22:31:45] <wikibugs> 03(mod) Removal of 9/11 wiki from the wikimedia projects list - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11146 (10wikipedia.kawaii.neko) [22:32:36] <Cbrown1023_away> Shiroit_Neko: :-) [22:32:40] <Duesentrieb> Shiroi_Neko: [[m:User:Duesentrieb/CommonsTicker]] [22:42:59] <CIA-15> 03kim * r25395 10/trunk/extensions/Wikidata/util/copy.php: [22:42:59] <CIA-15> Hmph, copying definitions was trickier than I thought. [22:42:59] <CIA-15> This DB is byzantine :-P [22:47:57] <wikibugs> 03(mod) Closing of Sardinian Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10692 +comment (10cbrown1023) [22:49:26] <Shiroi_Neko> CIA-15 is developing a personality [22:49:45] <ST47> ;) [22:49:54] <TimLaqua> is it possible to control the behavior of §ion=new [22:49:55] <TimLaqua> ? [22:50:13] <Cbrown1023_away> TimLaqua: how do you mean? [22:50:19] <TimLaqua> like, by defualt, it makes the subject/headline an H2 - is there a built-in way to change it? [22:50:32] <TimLaqua> I didn't see anything in the system messages [22:50:36] *Cbrown1023_away doesn't believe so [22:50:48] <Cbrown1023_away> you might be able to dig around in the .php files [22:50:59] <TimLaqua> bummer. think EditPage? [22:51:43] <TimLaqua> and i'm sure the digging plan will work.. that just sounds like... you know... work... [22:52:02] <Cbrown1023_away> :-D [22:55:52] <Ryan_Lane> TimLaqua: you needed help with LDAP eh? [22:58:33] <TimLaqua> ;-) [22:58:35] <TimLaqua> sortof [22:58:46] <TimLaqua> our AD has over 3000 groups [22:59:08] <TimLaqua> I just commented out the line that retreives the group cache [22:59:16] <TimLaqua> works like a charm [22:59:17] *Ryan_Lane has a small seizure [22:59:26] <Ryan_Lane> thats a hell of a lot of groups [22:59:30] <TimLaqua> oh yes... I am familliar with that seizure. [22:59:34] <TimLaqua> oh yes... [23:00:05] <Ryan_Lane> did you comment it out because of memory issues? [23:00:09] <TimLaqua> Cbrown1023_away, Article.php, line 1174 - hardcoded == $summary == [23:00:32] <Cbrown1023_away> :-) [23:00:43] *Cbrown1023_away high-fives TimLaqua [23:01:01] <TimLaqua> Ryan_Lane, well, more because I wasn't getting any error codes and no debug info [23:01:21] <Ryan_Lane> eh? really? thats kind of weird [23:01:29] <TimLaqua> so I just started walking through the code and then had a small heart attack when I say the * filter [23:01:40] <Ryan_Lane> was the plugin crashing, or just not working properly? [23:02:15] <TimLaqua> well... I'd say there should just be a global var to disable LDAP group caching for large (and stupid) AD schemas. [23:02:41] <Ryan_Lane> the group cache is actually meant for large DITs [23:02:53] <TimLaqua> I think it was just timing out [23:02:55] <Ryan_Lane> so that you don't have to search more than once [23:03:07] <TimLaqua> hmm... [23:03:16] <TimLaqua> I can help troubleshoot ifyou like [23:03:25] <Ryan_Lane> let me look at the code real quick [23:03:27] <TimLaqua> k [23:03:32] <TimLaqua> i'll go grab the line i commented out [23:04:02] <Ryan_Lane> ohhh, you mean the getallgroups thing [23:04:18] <TimLaqua> $this->allLDAPGroups = $this->getAllGroups( $ldapconn, true ); [23:04:19] <TimLaqua> yup [23:04:23] <TimLaqua> crazy! [23:04:25] <Ryan_Lane> do you use group sync? [23:04:30] <TimLaqua> yup [23:04:51] <TimLaqua> wait... [23:05:09] <TimLaqua> No - what's Group sync do? [23:06:12] <Ryan_Lane> it syncronizes LDAP groups with MediaWiki groups [23:06:18] <Ryan_Lane> to let you do access control [23:06:23] <TimLaqua> Umm... [23:06:37] <Ryan_Lane> like give "WikiAdmins" group in AD "Sysop" privileges in MediaWiki [23:07:00] <TimLaqua> Yeah, I do that [23:07:04] <Ryan_Lane> ok [23:07:16] <Ryan_Lane> lemme check to see my reasoning for getting all of the groups again [23:07:50] <TimLaqua> Is there a GroupSync variable? or is that UseLDAPGroups? [23:08:14] <Ryan_Lane> sec [23:08:27] <Ryan_Lane> I have too many options :) [23:08:43] <Ryan_Lane> yeah, its the use groups stuff [23:08:52] <TimLaqua> it fits in well with the rest of MW. ;-) [23:09:36] <Ryan_Lane> i'm surprised the group sync stuff is working for you [23:09:41] <TimLaqua> me too [23:10:07] <Ryan_Lane> the plugin checks to see if that LDAP group exists before adding a user into it [23:10:27] <TimLaqua> I don't create users... [23:10:40] <Ryan_Lane> right, don't need to for this [23:10:54] <TimLaqua> like, people login with an AD account and it autocreates a MW account [23:11:13] <Ryan_Lane> i didn't write the group sync stuff, it was a patch, so I can't really say the quality is up to par [23:11:21] <Ryan_Lane> yeah, that does happen [23:11:41] <TimLaqua> And every login, LDAP is queried for that user's group membership [23:11:46] <Ryan_Lane> yeah [23:11:50] <TimLaqua> then, it compares that list to the MW list [23:12:12] <Ryan_Lane> but it also ensures that the group the user is being added to exists in AD [23:12:41] <Ryan_Lane> although to be honest, that isn't terribly necessary. if it found the group in AD to begin with, the group must exist right? [23:12:44] <TimLaqua> that's not a separate check though [23:12:49] <TimLaqua> exactly [23:13:03] <TimLaqua> the query is actually filtering on objectclass=group [23:13:09] <TimLaqua> and member=sAMAccountName [23:13:20] <TimLaqua> or full DN f/ AD stuff (yet another var) [23:13:21] <Ryan_Lane> oh wait [23:13:36] <Ryan_Lane> it'll add users into the group, but it may not remove them [23:13:54] <Ryan_Lane> i really need to rewrite this [23:13:57] <TimLaqua> lol [23:14:06] <Ryan_Lane> the logic is pretty bad [23:14:18] <Ryan_Lane> a working patch is a working patch though right? :) [23:14:20] <TimLaqua> I looked at it long enough to be confident that I could comment that line out [23:14:22] <TimLaqua> yeah [23:14:24] <TimLaqua> 1.11f [23:14:40] <Ryan_Lane> your users most likely aren't being removed from the groups [23:14:43] <TimLaqua> oh, you mean "it's working" - definately. [23:14:58] <TimLaqua> my users are all over the place [23:15:01] <TimLaqua> ;-) [23:15:16] <Ryan_Lane> meaning if you remove them in AD, they are probably still in the group in MediaWiki [23:15:29] <Ryan_Lane> hmm [23:15:34] <Ryan_Lane> no, that is probably working too [23:15:36] <TimLaqua> which could be a problem [23:15:48] <Ryan_Lane> it looks like the getAllGroups thing really isn't needed at all [23:16:04] <TimLaqua> This particular applicaton is for a University - they all leave every 3 months. [23:16:13] <TimLaqua> So i'll let you know in three months! [23:16:14] <TimLaqua> ;-) [23:16:15] <Ryan_Lane> heh [23:16:30] <Ryan_Lane> argh. this is the last time I accept a patch that is hard to understand [23:17:05] <TimLaqua> it is some pretty loopie logic. [23:17:08] <Ryan_Lane> yeah [23:17:18] <TimLaqua> lets get all the groups! WHAT?!?!! [23:17:22] <TimLaqua> ;-) [23:17:30] <Ryan_Lane> I'm pretty sure the getAllGroups stuff is necessary to allow people to use local MediaWiki groups [23:17:39] <TimLaqua> nope, I use that too. [23:17:46] <Ryan_Lane> if you aren't using $wgLDAPUseLocal, it should work properly [23:17:56] <TimLaqua> I am using that [23:17:59] <TimLaqua> oh [23:18:04] <TimLaqua> you mean if I wasn't, it would work fine [23:18:14] <TimLaqua> with the code as-distributed? [23:18:39] <Ryan_Lane> I'm almost positive your users aren't going to get removed from the groups :) [23:18:55] <Ryan_Lane> you need to fix this line: if ( ( !$this->hasLDAPGroup( $cGroup ) ) && ( $this->isLDAPGroup( $cGroup ) ) ) { [23:19:08] <TimLaqua> I do? [23:19:11] <TimLaqua> ;-) [23:19:37] <Ryan_Lane> well honestly I need to fix the whole debacle, but I'm too lazy right now :) [23:20:28] <Ryan_Lane> that line says if the user doesn't have the LDAP group, and the group is in fact an LDAP group, remove the user from the group [23:20:51] <Ryan_Lane> it is written that way to avoid removing users from local groups [23:21:25] <Ryan_Lane> I think it is poor logic though, because if that group gets deleted, the users will stay in the group... it is actually a security bug [23:21:50] <TimLaqua> eyah, all the users hsould be removed if it's "not" an ldap group [23:22:03] <Ryan_Lane> but then you can't manage groups locally ;) [23:22:22] <TimLaqua> touche. [23:23:18] <Ryan_Lane> yeah, this is actually a mediawiki flexibility problem. there is no way to differentiate between external groups and local ones [23:24:12] <Ryan_Lane> I'm going to fix it the strict way, and add a config option to allow the insecure way, with a warning [23:24:53] <Ryan_Lane> however, the getallgroups thing is actually required for that... [23:25:32] <Ryan_Lane> ... or is it? argh, this is killing me [23:26:13] <Ryan_Lane> no. no it isnt :) hah. ok. I'm gonna shut up now :) [23:27:08] <TimLaqua> it's crazy. [23:27:10] <TimLaqua> just crazy. [23:27:12] <Majorly_away> Werdnum: http://en.wikipedia.org/w/index.php?title=Wikipedia:Missing_Wikipedians&curid=305368&diff=155102196&oldid=155058949 someone misses you :P [23:28:32] <Ryan_Lane> agreed. the real issue is that it is necessary to remove the user from the group. this is really a mediawiki problem [23:29:06] <TimLaqua> only if mediawiki is built to support external directory auth [23:29:10] <TimLaqua> ;-) [23:29:16] <Ryan_Lane> the way an OS works is that the groups are only known for the session, and every time you login, the info is pulled. no need to remove the groups [23:29:44] <Ryan_Lane> that would be a rediculous amount of work. [23:30:34] <Ryan_Lane> the core code expects there to be user info in the database [23:30:42] <TimLaqua> sortof [23:31:14] <TimLaqua> I was just gonna suggest deleting the user every time - but that would do really cool things to the user table. ;-) [23:31:28] <Ryan_Lane> that would do very, very evil things ;) [23:33:11] <TimLaqua> and I suppose there really isn't a "groups" table in MW either [23:33:35] <Cbrown1023_away> TimLaqua: I think there might be a bug for it though :-) [23:33:41] <Ryan_Lane> essentially, User.php, SpecialUserlogin.php and SpecialUserlogout.php, would need to be modified to allow info to be pulled completely from a remove source [23:33:45] <TimLaqua> bug... pfft. [23:33:49] <Ryan_Lane> TimLaqua: there is a groups table [23:33:50] <TimLaqua> there's a bug for like everything! [23:34:14] <Ryan_Lane> thats what makes things difficult [23:34:17] <TimLaqua> Ryan_Lane, isn't the groups table just mapping from user_ids to a group name? [23:34:43] <Ryan_Lane> yeah, but thats exactly whats in LDAP [23:34:47] <Ryan_Lane> so you have to keep the two in sync [23:35:14] <TimLaqua> I mean if there was a true "groups" table, you could add a source field - and indicate if it was an LDAP group [23:35:19] <Ryan_Lane> ahhh ok [23:35:28] <TimLaqua> then if an "ldap" group went bye, bye, you could safely blow it away [23:35:54] <Ryan_Lane> yeah, it would be nice if the schema supported external info [23:36:05] <Ryan_Lane> I *really* need a field for external userid [23:36:17] <TimLaqua> 'could just add one [23:36:24] <TimLaqua> chop chop [23:36:26] <TimLaqua> ;-) [23:36:29] <wikibugs> 03(NEW) Users can login with global account and create an account in a wiki even if IP is blocked from account creations - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11148 minor; normal; MediaWiki extensions: CentralAuth; (rotemliss_public) [23:36:48] <Ryan_Lane> I'd prefer to have core code support for whatever I'm doing [23:36:52] <TimLaqua> I think they usually notice when we commit schema changes. [23:37:03] <Ryan_Lane> I don't like the idea of dynamic schema changes [23:37:19] <TimLaqua> well, we could add to the core schema [23:37:22] <AzaTht> <b>Notice</b>: Undefined property: ApiQueryRevisions::$fld_len in <b>/home/azatoth/public_html/srcwiki/includes/api/ApiQueryRevisions.php</b> on line <b>239</b><br /> [23:37:35] <Ryan_Lane> they'd probably want to take my balls if I added a schema change without an OK from them ;) [23:37:46] <TimLaqua> man, I was hopin you'd do it. ;-) [23:38:12] <TimLaqua> maybe we can get Cbrown1023_away to do it... ;-) [23:38:13] <AzaTht> is this a bug in SVN, or is it a local problem of mine? [23:38:15] <Ryan_Lane> naaa, I don't do core code changes without either an OK, or them doing it for me [23:38:28] <Duesentrieb> you can always put stuff into the preferences blob [23:38:32] <Cbrown1023_away> TimLaqua: O_O [23:38:41] <AzaTht> anyone has any clues? [23:38:43] <Ryan_Lane> Duesentrieb: I couldn't for external userID [23:38:47] <Ryan_Lane> it needs to be indexed [23:38:55] <Duesentrieb> ah [23:39:11] <Duesentrieb> make an extra table [23:39:14] <AzaTht> as I really want to know if the API will be totally b0rked at next scap or not [23:39:21] <Duesentrieb> managed by an extension [23:39:37] <TimLaqua> we've been down that road. ;-) [23:39:48] <Ryan_Lane> I don't really like that idea either, then the plugin needs permissions to modify the tables [23:39:48] <AzaTht> no one know? [23:40:18] <TimLaqua> aren't all db queries made with the same user rights? [23:40:27] <Ryan_Lane> and I'd have to add SQL code to the plugin, and other plugins likely need the same capability [23:40:42] <AzaTht> I just want to know if I have done something wrong or not, could you at least tell me that? [23:40:45] <Ryan_Lane> TimLaqua: yes, but not everyone gives that user permissions to modify the tables [23:40:57] *TimLaqua does. ;-) 777 4 life! [23:41:11] <AzaTht> Tim-away: 7777 it should be [23:41:14] <TimLaqua> or... grant all on ... to for life... [23:41:20] <TimLaqua> eyah, that oen. [23:41:23] <TimLaqua> ;-) [23:41:25] <Ryan_Lane> Duesentrieb: how does OpenID handle this? [23:41:34] <Duesentrieb> i have no idea [23:41:40] <AzaTht> Duesentrieb: do you know anything about my problem? [23:41:54] <TimLaqua> someone shoudl screenshot that question. [23:41:57] <Ryan_Lane> isn't wikipedia planning on going down the OpenID route after single sign on? [23:42:09] <Duesentrieb> AzaTht: nope [23:42:28] *AzaTht hates that when something is b0rked, the smart people are gone [23:42:44] <Duesentrieb> Ryan_Lane: i don't know. it would be very cool, though :) [23:42:57] <Duesentrieb> AzaTht: thanks dude :P [23:43:08] <AzaTht> (only the usual stupids^Wsuspects are here [23:43:11] <AzaTht> ツ [23:43:20] <Ryan_Lane> Duesentrieb: I'm pretty sure I remember reading Brion's slides from a WikiMania that mentioned it [23:44:00] <AzaTht> yurik WHERE ARE YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 [23:44:15] <Ryan_Lane> If OpenID is used, there is going to have to be some way to link an OpenID username to a MediaWiki username right? unless everyone's usernames are going to change [23:45:59] <Duesentrieb> Ryan_Lane: the openid username would be the url of your user page. the mapping would be implicite [23:46:07] <Ryan_Lane> ah, here it is [23:46:09] <Ryan_Lane> http://upload.wikimedia.org/wikipedia/wikimania2006/9/90/BV1_slides.pdf [23:46:38] <AzaTht> So, there are two possibillities, 1: someone fnucked up the API, and is in hiding, 2: I've made something wrong, and forgot to hide [23:48:47] <Ryan_Lane> Duesentrieb: so, I could make my plugin make a user page the user's unique ID, and the username the non-unique name? [23:48:58] <Ryan_Lane> and map them that way? [23:49:16] <wikibugs> 03(NEW) Temporary block may prevent a user from winning the unified account - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11149 minor; normal; MediaWiki extensions: CentralAuth; (rotemliss_public) [23:49:31] <Duesentrieb> Ryan_Lane: that'S how i always thought it would work. but i havn't looked closely. [23:49:44] <Ryan_Lane> hmmm. that is an interesting idea [23:49:55] <TimLaqua_away> I hate that unique userid page thing [23:50:09] <TimLaqua> like the FaceBook auth [23:50:11] <Ryan_Lane> although, then the user's userid is actually the userpage, and not the userid... [23:50:14] <TimLaqua> User:34560981346 [23:51:08] <Duesentrieb> Ryan_Lane: google for "rdf identity crists". i rean into this problem before, but the other day i learned that it has a name :) [23:51:18] <Ryan_Lane> heh [23:51:28] <Duesentrieb> "crisis", that is [23:51:53] <Ryan_Lane> yeah. [23:51:58] <Ryan_Lane> it is a pretty painful problem [23:52:08] <Duesentrieb> topic maps solve it nicely. [23:52:19] <Duesentrieb> can be solved in rdf too, but only with conventions/discipline. [23:52:22] <TimLaqua> This line: $text = "== {$summary} ==\n\n".$text; - What's w/ the curly brackets? [23:52:36] <TimLaqua> do they mean something to PHP? [23:52:51] <Ryan_Lane> Duesentrieb: is the user's page a specific field in the database? [23:52:53] <Duesentrieb> for by potd stuff, i resorted to use Image:foo for the image page amd Media:foo for the image, but that's not so great either. [23:53:05] <Ryan_Lane> or is it in the preferences blob? [23:53:06] <Duesentrieb> Ryan_Lane: no. that'S also implicite. [23:53:17] <Ryan_Lane> oh, so it is based upon the username? [23:53:22] <Duesentrieb> user namespace + user name with " " -> "_" [23:53:26] <Duesentrieb> yes,# [23:53:37] <Ryan_Lane> ah, then mapping via the user page isn't possible [23:53:55] <Duesentrieb> why not? [23:54:02] <Duesentrieb> you can calculate it easily enough [23:54:06] <Ryan_Lane> how? [23:54:52] <Duesentrieb> Ryan_Lane: as i said above... replace spaces by underscores, add the prefix. [23:54:56] <Ryan_Lane> if the username is ryan, and the openID is ryan@test.com, and you have another openID place you trust that has ryan@conflicting.com.... [23:55:37] <Ryan_Lane> you need to map ryan@test.com to "ryan", and ryan@conflicting.com to "anotherrandomusername" [23:55:39] <Duesentrieb> hm? sorry, i don't remember 100% how openid works. [23:55:50] <Duesentrieb> would mediawiki have to store your id from other sites? [23:55:55] <Ryan_Lane> openid is a decentralized authentication system [23:56:03] <Duesentrieb> i was thinking of wikipedia acting as a provider for openids. [23:56:17] <Duesentrieb> Ryan_Lane: i know what it is, and what it does, but not exactly how :) [23:56:51] <Ryan_Lane> take a look at Brion's PDF slideshow [23:57:39] <Ryan_Lane> "* use your Wikimedia account to identify your posts [23:57:40] <Ryan_Lane> on blogs and wikis supporting OpenID [23:57:42] <Ryan_Lane> * use your blog or wiki account to identify your edits [23:57:43] <Ryan_Lane> on Wikimedia wikis" [23:58:41] <Ryan_Lane> I would imagine it needs to support mapping other OpenID accounts to your wikipedia username [23:59:33] <Ryan_Lane> i could be completely interpreting that wrong though :)