[00:00:32] I have the settings correct but I can't figure out how to upload them on the site.... [00:00:51] ahh, i ended up on the meta wiki [00:00:51] there's a link called "upload" in the box on the left [00:00:56] or go to Special:Upload directly [00:01:05] is there any flash addon that could display 3d model (eg: from collada or dwg files)? [00:01:08] xCuber125: Special:Upload [00:01:24] test34_: yes, but I can't remember the exact extension offhand. allow me to look for it [00:01:27] Dee: stuff on meta is mostly old. most important/current docu has been migrated to mediawiki.org [00:01:48] ok thx [00:02:14] ahha! [00:02:15] http://www.mediawiki.org/wiki/Internationalization#Parameter_substitution [00:02:22] took a while :) [00:02:41] erm... [00:03:03] that section doesn;t seem top cover what it says [00:03:31] test34_: take that back, the extension I was thinking of was something different. [00:03:46] Dee: indeed :) it's doesn't quite know what it wantsw to be about. should be fixed. [00:04:17] Dee: i recommend: look for some messages that use $1, $2, etc on Special:Allmessages. then look for the message key in the code. that way you see how they are used. [00:04:30] Dee: while you are at it, fix the documentation :) [00:05:08] ahh, the hard core method [00:05:24] fising it requires knowing wtf it should say :) [00:06:08] yea, find out by the hard core method... [00:06:12] read the source :) [00:06:27] (if i remembered the details, i'd tell you. but i don't) [00:06:31] anyway, i need to go to bed. [00:06:37] ok, thanks [00:06:48] *Dee watches teh messages files scroll past [00:07:08] search in includes/ [00:07:21] that's where the "real" code is [00:07:50] yeah [00:07:53] got it [00:08:13] just params to wfmsg() [00:08:32] Dee: read the comments on the individual versions of wfMsg [00:08:52] iirc, you have to apply html escaping to the parameters values for *some* versions in *some* modes [00:09:04] ok... :) [00:09:05] thanks [00:09:15] screwing that up would open a vector of xss attacks [00:09:20] anyway... gn8 [00:09:21] regarding search - there's no way to search for non-word chars, right? [00:22:24] is there any such things as Featured Templates - like Feature Articles, but you know, for mediawiki tempaltes [00:23:02] ah here we go: http://en.wikipedia.org/wiki/Wikipedia_talk:Featured_content/Archive_2 [01:15:40] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:19:43] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:17] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:17] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:18] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:18] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:18] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:20] On wikipedia, when you search you get the relevance thing, how do i get that on my site? [01:22:38] shush, repeating won't get you anywhere. [01:23:57] does anyone know? [01:25:46] i don't, considering I have it too, so I don't know what your problem is -_- (might be a version thing) [01:28:58] xCuber125, Wikipedia uses the Lucene search extension. Its search is totally unrelated to the default search. [01:29:00] !lucene [01:29:48] !lucene | xCuber125 [01:29:48] xCuber125 : http://www.mediawiki.org/wiki/Extension:LuceneSearch [01:30:11] It requires the ability to use Java, and the ability to install Lucene. Probably root access. [01:30:32] that might explain why I had that search thing too :P (/me has that extension) [01:31:02] LuceneSearch gets all the spiffy features, because Wikipedia doesn't use the default MySQL search and so nobody cares about it. [01:31:14] Also, MySQL fulltext search sucks anyway. [02:06:51] 03(mod) Image extension should not be part of the name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4421 (10meno25wiki) [02:08:16] 03(mod) Message transformation leaves strip markers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12056 +comment (10dotkorg) [02:22:58] 03(NEW) Fatal error: Class StubObject not found in ... ParserFunctions.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12153 major; normal; MediaWiki extensions: ParserFunctions; (tom.scrape) [02:31:35] 03(mod) Support global (crosswiki) blocking - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8707 (10meno25wiki) [02:41:38] 03(mod) Setup new groups in no.wikipedia and access to Special: Userrights - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11509 (10meno25wiki) [02:51:06] 03(mod) Setup new groups in no.wikipedia and access to Special: Userrights - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11509 (10dotkorg) [02:57:09] 03(mod) please create appendix ns on oc.wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12066 (10a9502784) [03:00:50] How do you insert line breaks into a wiki? [03:01:00]
works [03:01:28] really? what other HTML works? [03:01:43] xCuber125, almost all of it, save for alarming stuff like forms and JS. [03:01:48] yea [03:02:28] lots of non invasive html works, so anything that trys to mess with the page like js and iframes and junk are disabled but a good number of them are allowed [03:02:30] so a list would work too? [03:02:44] like
    [03:02:49] 03(mod) please create appendix ns on oc.wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12066 (10a9502784) [03:03:44] I don't see why not, but just use the wiki santax for that # is ol [03:03:49] xCuber125, yes, although there's wikisyntax for that. [03:04:04] xCuber125: Yep. [03:04:21] what is wikisyntax? [03:04:25] Here is a question, is there an easy way to disable viewing of the User: pages for non-logged in users? [03:04:43] there is a whole bunch, look at the basic editing help [03:05:05] !lockdown | Jlew [03:05:05] Jlew : an extension for prevention of read or write acess by namespacd and limit access to special pages. For more information see http://mediawiki.org/wiki/Extension:Lockdown and for more information on preventing access to your wiki, please see . [03:05:09] http://www.mediawiki.org/wiki/Help:Formatting [03:06:12] thanks Simetrical, I'll look that up, i was hoping they may be a simple config that i didn't know about but ill look into that [03:14:14] 03(NEW) Erratic total failure of unstrip phase in new preprocessor - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12154 04BLOCKER; high; MediaWiki: Page rendering; (tstarling) [03:20:12] 03(FIXED) Message transformation leaves strip markers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12056 +comment (10tstarling) [03:22:03] Tim-away: Splarka wanted me to ask you if a full text search of all wikis was possible to root out all of the UNIQs [03:22:36] why me? [03:22:55] you're a dev with full db access? [03:23:03] I'm not the one who put the bloody thing live without asking anyone [03:23:18] Tim-away, brion asked everyone present. :) [03:23:39] you agreed did you? [03:23:43] i know; but there is a rather large mess that's pretty hard to cleanup; i'm worried about smaller wikis and confused users [03:24:01] *MZMcBride ducks for cover [03:24:32] Tim-away, well, why would I object? [03:24:54] what's the point of having a severity field if you put the software live with open "blocker" bugs? [03:25:36] you should have objected because it was crazy [03:27:12] i think people are very excited for the new parser; i certainly am; and brion didn't think there were any major issues [03:28:16] Tim-away, was there an open blocker bug? I don't watch bugs anymore. [03:28:31] *Simetrical once found a years-old blocker bug filed by Avar that no one ever closed [03:28:39] i think he's referring to http://bugzilla.wikimedia.org/show_bug.cgi?id=12056 [03:28:46] I brought it to brion's attention, he even commented on it [03:29:43] When I make a template it looks all screwed up when i view it... [03:30:07] on your personal wiki? [03:30:21] sortof [03:30:26] can you link to the template and the page you're using it on? [03:30:26] did you copy the code from wikipedia? [03:30:31] it might be an error in the coding [03:30:40] i copied from wikipedia [03:30:45] (or missing CSS, if you copied from wp) [03:30:48] !templates [03:30:48] For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [03:31:49] (and copying the necessary classes from Wikipedia's MediaWiki:Common.css and/or MediaWiki:Monobook.css if the issue is with how it actually looks) [03:32:38] thats it [03:32:54] when using lockdown, how do i lockdown the user namespace? $wgNamespacePermissionLockdown[NS_USER]['view'] = array('*'); something like that? [03:33:17] where do i put the css? [03:33:43] [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]] on-wiki [03:34:11] how do i change skins? [03:34:25] xCuber125: go into your preferences (Special:Preferences) [03:34:28] Jlew: that'll lockdown the user namespace from viewing, but not other things [03:34:43] it doesn't seem to be locking it down for some reason [03:35:39] !skin [03:35:39] Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [03:37:09] Jlew: did you try bypassing your cache? [03:37:33] I think so ill try again but i don't belive that is teh problem [03:38:17] doesn't seem to work no i still see my user page when not logged in [03:40:54] $wgNamespacePermissionLockdown[NS_USER]['*'] = array('*'); does not seem to be blocking non logged in from seeing/touching the user namespace [03:41:06] NS_USER is that part correct? [03:42:18] should be [03:42:24] 03(mod) Message transformation leaves strip markers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12056 (10dotkorg) [03:46:00] Jlew: what's your objective? [03:46:43] To make it so that the wiki is open EXCEPT user pages which should be only accessible by users. [03:48:01] $wgNamespacePermissionLockdown[NS_USER]['*'] = array('user'); [03:48:14] This is for an club and we want out users to put some contact info on their user page. Right now the wiki has edit only to users and we would like to block non-logged in users from viewing them [03:48:27] will keep non-logged in users from doing anything to pages in the User: namespace [03:48:46] however, you also need to use: $wgNonincludableNamespaces[] = NS_USER; [03:49:01] to avoid template transclusion of the pages [03:49:43] thankyou [03:49:50] works? [03:50:03] 03(mod) Changing the Numbering System on Arabic Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3443 summary (10meno25wiki) [03:50:06] yes it did thanks [03:50:12] no problem [03:50:24] i thoguht you say waht you want to remove access from now what you want to limit it to [03:50:30] ok i got it now thank you very much [03:50:36] :) [03:50:45] 03(mod) Changing the Numbering System on Arabic Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3444 summary (10meno25wiki) [03:51:18] 03(mod) Changing the Numbering System on Arabic Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3445 summary (10meno25wiki) [03:52:12] I will not be using that $wgNonincludableNamespaces[] = NS_USER; because i want to allow users to make their own templates and stuff they can include in their sub pages, since only users can edit, if a user wants to include their page then they ca [03:52:15] can* [03:52:54] er... that line prevents people from being able to view the user page via transclusion in another namespace, you realize? [03:53:17] {{User:whomever}} in the Project: namespace would show whatever's on the user's page [03:53:59] 03(mod) Changing the Numbering System on Arabic Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3443 (10meno25wiki) [03:54:09] 03(mod) Changing the Numbering System on Arabic Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3444 (10meno25wiki) [03:54:40] 03(mod) Changing the Numbering System on Arabic Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3445 (10meno25wiki) [03:54:50] there's no significant results in the search index for "QINU", for en, de, fr or ja [03:55:01] you mean UNIQ? [03:55:07] maybe it hasn't been updated yet [03:55:19] UNIQ is usually followed by a random string of numbers and letters [03:55:34] e.g. "UNIQ699896e027ff968b" [03:56:03] 03(mod) Names of months - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3584 summary (10meno25wiki) [03:56:08] so that would be tokenized as such, and you wouldn't be able to search for UNIQ in it [03:56:26] ahh, well the en.wiki list is here: http://en.wikipedia.org/wiki/User:Splarka/UNIQ_list [03:56:27] but the QINU at the end appears by itself [03:56:34] yea i know that, but if a REGISTERED user (which we have to activate) would be doing that we would just simply ban them [03:56:35] gotcha [03:56:54] i know but if you have that to disable it then that means some users like username/header and junk like that which is not allowed [03:57:01] Jlew: well depending on your configuration, an UNREGISTERED user could do that too [03:57:28] very true; just depends on your config [03:57:30] no the enitre wiki is set up so only registered users can edit [03:57:43] ok [03:58:09] but thank you for your help! [03:58:33] yep [04:01:12] 03(mod) Change logo in Arabic (ar) Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9504 summary (10meno25wiki) [04:05:18] 03(mod) Set $wgAutoconfirmCount to 20 for English Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10864 (10meno25wiki) [04:09:16] does anyone here know of a mediawiki extension that will show recent SVN commits? [04:10:53] er... no [04:11:03] what would that extension do? [04:11:36] an example is at http://www.ipodlinux.org/ [04:11:51] and at the bottom-ish part of the page [04:13:18] that's some serious custom-work [04:13:31] and that version of mw is rather old [04:16:57] 03(mod) Erratic total failure of unstrip phase in new preprocessor - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12154 (10dotkorg) [04:18:05] yeah, it's pretty old [04:27:51] hi all, how can I add a "comments page", that is editable by anyone, when the rest of the wiki requires you to be logged in? [04:28:42] pabs3: that would be very difficult to implement, i think [04:29:49] hmm, maybe there is a way to add a new "protection level" that does it? [04:30:57] 03(mod) Extension to allow reattributing edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2858 (10meno25wiki) [04:36:07] 03(mod) Rollback all user edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11712 (10meno25wiki) [04:49:56] 03(mod) Unclear how to submit feature requests. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3659 (10tm_wikizilla) [05:11:57] 03(NEW) Change logo for Wikimania Team wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12155 15enhancement; normal; Wikimedia: General/Unknown; (meno25wiki) [05:13:44] 03(NEW) FEATURE REQUEST: Per Entry Question/FAQ/ Want-to-Know so readers could ask/influence contributors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12156 15enhancement; normal; MediaWiki: General/Unknown; (tm_wikizilla) [05:14:26] 03(mod) FEATURE REQUEST: Per Entry Question/FAQ/ Want-to-Know so readers could ask/influence contributors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12156 +comment (10tm_wikizilla) [05:23:52] 03(mod) please create appendix ns on oc.wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12066 (10jeluf) [06:11:06] 03(NEW) Hide and show (collapsed) option of Wikipedia' s templates does not work on Firefox 3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12157 normal; normal; MediaWiki: Templates; (carlosguitar) [06:13:18] 03(mod) Hide and show (collapsed) option of Wikipedia' s templates does not work on Firefox 3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12157 (10carlosguitar) [07:14:47] morning [07:15:13] hello [07:21:26] 03(NEW) suffix still English - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12158 normal; normal; MediaWiki: Internationalization; (jidanni) [07:36:56] <wikibugs> 14(DUP) Web interface for multiwiki blocks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8279 +comment (10effeietsanders) [07:36:59] <wikibugs> 03(mod) Support global (crosswiki) blocking - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8707 +comment (10effeietsanders) [08:02:56] <CIA-39> 03david * r27957 10/trunk/extensions/LiquidThreads/LqtPages.php: Bugfix for nonexistant talkpage regression. [08:26:04] <wikibugs> 03(mod) Category listings are not updated when deletion of or edits to a template change the category membership of transcluding pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5382 (10mike.lifeguard) [08:28:35] <TimStarling> I don't suppose there's anyone around with an install demonstrating bug 12154? [08:28:47] <TimStarling> I might have to use wikimedia otherwise... [08:29:23] <Werdna> what's bug 12154? [08:30:30] <TimStarling> complete parser breakage [08:30:46] <TimStarling> formerly 12056 [08:31:15] <Werdna> nope [08:31:19] <Werdna> I saw it occur on wikimedia, though [08:40:00] <_wooz> lo [08:43:24] <Hashar> hello :) [08:43:45] <wikibugs> 03(mod) please create appendix ns on oc.wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12066 (10a9502784) [08:54:40] <Nikerabbit> 5 Fatal error: Call to a member function getNamespace() on a non-object in /var/www/w/includes/Parser.php on line 1821 [08:54:53] <Nikerabbit> I wonder why this started to happen suddenly [08:55:17] <TimStarling> Nikerabbit: are you bug 12154 as well? [08:55:42] <TimStarling> *are you getting [08:58:30] <Nikerabbit> TimStarling: yes but I don't think they are related [08:59:01] <Nikerabbit> or if they are, they are not happening at the same time [08:59:44] <TimStarling> can you do a test for me? [09:00:40] <TimStarling> put this in your LocalSettings.php: [09:00:51] <TimStarling> $wgParserConf = array( 'class' => 'Parser_OldPP' ); [09:00:57] <nsh> yo [09:01:07] <TimStarling> and see if <nowiki> breaks [09:01:14] <nsh> when mediawiki redirects, the http location isn't updated? [09:01:32] <nsh> insert (is there a reason for this) before questionmark [09:02:02] <Nikerabbit> the problem is that I haven't managed to break nowiki myself [09:02:41] <TimStarling> that's a problem, yes [09:03:02] <CIA-39> 03tstarling * r27958 10/trunk/phase3/includes/Parser_OldPP.php: Don't define SFH_OBJECT_ARGS [09:04:31] <nsh> TimStarling, was that to me? [09:05:39] <TimStarling> no [09:05:59] <nsh> ah ok [09:07:09] <TimStarling> nsh: you mean redirects between articles? [09:07:15] <nsh> yeah [09:07:21] <TimStarling> I thought at first you meant HTTP redirects [09:07:26] <nsh> ah, sorry [09:08:01] <nsh> well, the problem is that http redirects aren't used, isn't it? (i mean: firefox doesn't show real location of the article after a redirect, just the url typed) [09:08:08] <TimStarling> the reason is because we don't want it to [09:08:08] <TimStarling> search bugzilla [09:08:23] *nsh vaguely remembers this [09:09:21] <nsh> is there not a quicksearch for the bugzilla anymore? [09:09:30] <nsh> WP:Bugzilla links to it, but 404 [09:14:38] <nsh> ok, i can't find it. could you please summarise why having redirects not update the http location is the right thing? [09:15:59] <Nikerabbit> TimStarling: found something: http://translatewiki.net/sandwiki/requests [09:16:13] <marchelly> re [09:18:11] <TimStarling> nsh: 1) because it allows for a link back to edit the redirect without relying on the Referer header which may be filtered by privacy firewalls [09:18:27] <TimStarling> 2) because it improves search engine relevance by putting the redirected from text prominently into the page text [09:18:46] <nsh> ah, i see [09:19:15] <Nikerabbit> TimStarling: weird things happen why I try to debug one of those requests [09:19:16] <TimStarling> possibly at the slight expense of pagerank [09:19:24] <TimStarling> although that's arguable [09:19:29] *nsh nods [09:20:48] <Nikerabbit> hmm [09:21:03] <Nikerabbit> calling wfBacktrace there results parse error [09:22:16] <Nikerabbit> feels like some bad memory corruption :E [09:28:56] <Nikerabbit> hmhmhm [09:29:07] <Nikerabbit> something weird going either with that page or with section editing [09:34:23] <Nikerabbit> hiim where did time go [09:35:46] <Nikerabbit> lovely typos [09:35:52] <Nikerabbit> hmm where did tim go* [09:37:11] <Nikerabbit> TimStarling: can you reproduce a fatal error with http://translatewiki.net/sandwiki//index.php?title=Sandbox&action=edit and doing a section edit? [09:38:39] <Nikerabbit> bumpy bumpy [09:47:54] <Nikerabbit> TimStarling: there? [10:09:19] <wikibugs> 03(NEW) Please add $wgBlockAllowsUTEdit to LocalSettings. php in the Malay Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12159 15enhancement; normal; MediaWiki: General/Unknown; (edkh1989) [10:19:41] <wikibugs> 03(NEW) A user couldn't edit! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12160 04CRIT; normal; MediaWiki: Page editing; (edkh1989) [10:19:55] <CIA-39> 03thomasv * r27959 10/trunk/extensions/ProofreadPage/proofread.js: enforcing newlines [10:21:47] <wikibugs> 03(NEW) Last update date/time is not shown correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12161 minor; normal; MediaWiki: General/Unknown; (sjacobi) [10:23:18] <userfhd2885> hai [10:23:57] <Nikerabbit> hui [10:23:59] <wikibugs> 03(mod) A user couldn't edit! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12160 +comment (10niklas.laxstrom) [10:30:57] <Richlv> hi. i'm reading through editing help, but can't find how can i make numbered lists in tables :) [10:31:06] <Richlv> # in tables seems to be rendered just like that [10:32:07] <Werdna> try using <ol>/<ul> [10:33:27] <Richlv> hmm. where and how ? [10:33:54] <Werdna> the usual html way, <ol> for numbered lists, fill it with <li>text</li>, and end with </ol> [10:34:03] <Werdna> each li is a List Item [10:34:06] <Werdna> ol is Ordered List [10:35:42] <Richlv> hmm, i wonder how will this work if i want a column with numbers only - trying out now :) [10:37:27] <Richlv> doesn't want to number empty tags, but numbers   [10:37:50] <Richlv> Werdna, thanks for the hint - but shouldn't there be some more convinient way to number table rows ? [10:41:06] <Hashar> I think robchurch made an extension to enhance list [10:41:08] <Duesentrieb> Richlv: you can sue # in tables. but the # must be at the beginning of a fresh line (i.e. you can't use short table syntax) [10:41:25] <Duesentrieb> Richlv: also, numbering across table cells will not work. [10:41:38] <Duesentrieb> not even with html syntax. numbered lists don't support that. [10:42:13] <Duesentrieb> Richlv: afaik, the only way to number table rows, in wikitxt as well as in html, is: by hand. [10:42:19] <Richlv> damn. [10:42:33] <Richlv> that's mighty inconvinient :) [10:42:35] <Duesentrieb> we have a nice javascript base sorting feature for tables, though :) [10:42:54] <Duesentrieb> oh, and you can do numbering with js if you like. but that kind of sucks [10:43:21] <Duesentrieb> and... maybe someone wrote something to generate tables in a nicer way... maybe the thing Hashar refered to? [10:44:59] <Hashar> there is http://www.mediawiki.org/wiki/Extension:Sort [10:45:10] <Richlv> well, i'm stuck with older mediawiki version anyway because of php4 for now [10:45:11] <Hashar> but it's just about sorting lists :-/ [10:45:27] <Hashar> the easiest way is to use HTML anyway [10:45:36] <Richlv> i guess mediawiki could parse tables with numbering itself, right ? [10:45:50] <Richlv> Hashar, html doesn't seem to work across table rows [10:45:55] <Richlv> it restarts at every row [10:46:02] <Hashar> <ol><li>item 1</li><li>item 2</li></ol> then in the next column <ol start="3"> ... [10:46:23] <Hashar> you can use the HTML attributes "start" wich is available in both <ol> and <ul> elements :o) [10:46:53] <Hashar> example: http://www.htmlcodetutorial.com/_OL_START.html [10:47:04] <Richlv> uh [10:47:12] <Richlv> ol start is in no way better than manual numbering ;) [10:47:15] <Hashar> htmlcodetutorial is a good reference for all that kind of stuff :o) [10:47:27] <Richlv> automatic numbering is good ebcause, well, it autonumbers ;) [10:47:43] <Richlv> inserting a new entry at the start should not require manual renumbering... [10:47:57] <Hashar> so if you add an element to the first list, you just have to change the value of the "start" attributes in the following list [10:48:06] <Hashar> no need to remember everything, it saves a bit of time [10:48:26] <Duesentrieb> Hashar: for lists, yes. but how to you number table rows? i donÄ#t think it's possible [10:49:13] <Duesentrieb> hm... i'm thinking of a statefull parser funtion... {{#num|5}} sets it to 5 (and renders 5), {{#num}} increments and renders as the current value. [10:49:32] <Duesentrieb> state could be confused if this is used in templates, though [10:49:53] <Duesentrieb> global state is evil... but hey, it's convenient :) [10:50:07] <Hashar> I hate the {{#<stuff>}} things [10:50:10] <Hashar> it looks hacky [10:50:19] <Hashar> i havent read Tim's Parser change yet though [10:50:22] <Duesentrieb> the syntax isn't too pretty [10:50:37] <Duesentrieb> parser functions ar fine conceptually though [10:50:41] <Richlv> maybe tables could simply support # as numbering in cells ? [10:50:49] <Richlv> the same it is done in body part [10:50:50] <Duesentrieb> Richlv: no. [10:51:11] <Duesentrieb> Richlv: in the body, #+ translates directly to a html <ol>. [10:51:17] <Duesentrieb> Richlv: this is impossibel for table rows. [10:51:35] <Duesentrieb> note that the numbers you see for lists are *not* generated by mediawiki. they are not in the html source [10:51:40] <Duesentrieb> you browser generates them. [10:51:50] <Richlv> yes, but maybe they could be generated by mediawiki in tables ? [10:52:01] <Duesentrieb> very theoretically. [10:52:23] <Duesentrieb> how then could have make a numbered list in a table cell? that would get confusing [10:52:36] <Duesentrieb> also, code-wise, it would be difficult: tables are not parse as a whole. [10:52:56] <Richlv> of course, i'm just talking from user viewpoint - can't code :) [10:53:08] <Duesentrieb> it's also confusing from a user viewpoint [10:53:22] <Duesentrieb> if you want a "big" cell that contains a list. or multiple lists. [10:53:32] <Richlv> well, currently it is impossible to do anyway [10:53:37] <Duesentrieb> no. [10:53:45] <Duesentrieb> lists in table cells are quite possible [10:54:51] <Duesentrieb> Richlv: http://de.wikipedia.org/wiki/Benutzer:Duesentrieb/Sandbox [10:55:49] <Duesentrieb> Richlv: you can also have a table in a table in a table containing a numbered list with an unnumbered sublist which has a numbered sublist.... [10:56:29] <Duesentrieb> this would make it pretty much impossible to determin what a # in a specific cell is supposed to mean in that context [10:57:16] <Duesentrieb> hm... one *could* imaging giving a cell that contains *nothing* but # a special meaning. would be another parser hack. but possible. [10:57:53] <Duesentrieb> though you would have to keep track of recursive table structures. which, afaik, the current parser is not designed to do. it's a flat multi-pass munger. [10:59:01] <Richlv> "you can also have a table in a table in a table containing a numbered list with an unnumbered..." [10:59:07] <Richlv> :D [10:59:15] <Richlv> well, your example shows restarted numbering in each cell [10:59:29] <Duesentrieb> yes. [10:59:37] <Richlv> which still leaves numbered rows not possible [10:59:42] <Duesentrieb> yes. [10:59:56] <Richlv> it's not that bad in my case, as i need only 13 rows right now [10:59:58] <Duesentrieb> but if numbered rows are somehow made posible, the "old" behaviour must not break. [11:00:10] <Richlv> but i can imagine that being pain with larger tables :) [11:00:24] <Richlv> maybe creating table in openoffice.org and then exporting it to mediawiki is easier... [11:00:24] <Duesentrieb> especially if you have to check about 20 million wikipedia pages [11:00:42] <Richlv> which would require keeping main doc version in oo.org [11:00:43] <Duesentrieb> backward compatibility is somewhat crucial [11:00:50] <Richlv> obviously [11:01:26] <Duesentrieb> using oo and exporting is ok *once* [11:01:36] <Duesentrieb> it no longer works as soon as someone else edit4ed [11:02:15] <Duesentrieb> Richlv: you might be interested in this: http://area23.brightbyte.de/csv2wp.php [11:02:35] <Duesentrieb> Richlv: CSV is supported by pretty much any spreadsheet and database program [11:05:40] <ConradIrwin> assuming I am allowed to rudely interrupt your conversation, could I ask if there is anyway to transclude <includeonly> tags in templates [11:06:33] <Duesentrieb> ConradIrwin: i don't think so, but there might be some hack. why would you need that? [11:06:54] <ConradIrwin> if I wanted to make a template for use in templates [11:07:51] <ConradIrwin> specically for en.wiktionary.org, it would be nice if it could be done on thesaurus pages so that they are easy to transclude into dictionary pages. [11:09:51] <Richlv> Duesentrieb, using oo.org works as long as everybody uses oo.org to edit that particular numbered table :) [11:10:05] <Richlv> near impossible to do on public wikis, somewhat - on internal [11:11:03] <Duesentrieb> if everyone uses the same base document, yes [11:11:22] <Duesentrieb> if you just need it for one table... how about simply including it from a html snippet? [11:11:31] <Duesentrieb> HTMLets lets you do that [11:11:44] <Duesentrieb> or write an extension that fetches it from a database :) [11:13:16] <DaveRig> Hi [11:14:45] <DaveRig> I'd like to change the HTML class of certain anchors based on if the linked Article is in a given category - could anyone give me any pointers? [11:18:34] <wikibugs> 03(mod) $wgArticlePath = '/$1' fails if also $wgUsePathInfo set to true - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11428 (10N/A) [11:45:23] <wikibugs> 03(NEW) wikitags changed to UNIQ on page save - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12162 normal; normal; MediaWiki: Page editing; (lejonel) [11:46:09] <mboman> Does anyone know how I am supposed to apply this to my website? http://meta.wikimedia.org/wiki/Gallery_of_user_styles#Voice_of_All.27s_Admin_Monobook [11:53:30] <Duesentrieb> mboman: edit the pages MediaWiki:monobook.css and MediaWiki:monobook.js respectively. [11:53:33] <Nikerabbit> TimStarling: the fatal error I got is related to section editing, I have one test case for it: http://translatewiki.net/sandwiki//index.php?title=Sandbox [11:53:49] <Need_Help123> Hello everybody! I have I question about MediaWiki! It is possible to configure the Login script, that UserDataBase will take from another, external MySQL database. (Sorry for my bad english) [11:53:53] <mboman> Duesentrieb, oh.. Like that.. Thanks! [11:56:51] <TimStarling> Nikerabbit: it was a missing title object, right? [11:56:57] <mboman> Duesentrieb, do I need to format it in any special way, or just copy & paste? [11:57:51] <Duesentrieb> mboman: copy&past should be enough. to be safe, copy from the edit/source view [11:58:18] <Duesentrieb> note that you are copyign from voa's live use styles - they may have changed or contain experiments [11:58:29] <Duesentrieb> *live user styles [12:00:14] <Nikerabbit> TimStarling: yes [12:01:08] <Nikerabbit> my theory is that some tags cause parser path where in section extracing title is not defined [12:02:22] <TimStarling> with subst? yes, that looks possible [12:02:55] <TimStarling> separate bug though, it's not the main game [12:13:03] <aton`> is there a mailing list for known mediawiki bugs/exploits so that i know when i should update? [12:13:24] <aton`> (low traffic prefered) [12:17:22] <TimStarling> mediawiki-announce [12:23:46] <wikibugs> 03(NEW) SMWStore "getAllPropertyObjects()" function needed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12163 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (yaron57) [12:26:25] <CIA-39> 03tstarling * r27961 10/trunk/phase3/includes/ (DefaultSettings.php Parser.php): [12:26:25] <CIA-39> * $wgDebugTidy feature [12:26:25] <CIA-39> * Fixed a bug in extractSections() -- inappropriate expansion of double-brace constructs causing a fatal error under some circumstances (reported by Nikerabbit, thanks) [12:27:17] <wikibugs> 14(DUP) wikitags changed to UNIQ on page save - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12162 +comment (10roan.kattouw) [12:27:18] <wikibugs> 03(mod) Erratic total failure of unstrip phase in new preprocessor - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12154 +comment (10roan.kattouw) [12:28:10] <wikibugs> 03(mod) Extension to allow reattributing edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2858 +comment (10roan.kattouw) [12:29:23] <RoanKattouw> TimStarling: PING [12:29:39] <TimStarling> hi [12:29:44] <xCuber125> How Do I make templates? I copied one from wikipedia but it doesn't work on my site. [12:30:18] <RoanKattouw> xCuber125 it may A) Depend on other templates or B) Depend on extensions like ParserFunctions [12:30:22] <TimStarling> RoanKattouw: I'm about to try putting the new code live on wikimedia with the Parser_OldPP class [12:30:37] <RoanKattouw> So that [12:30:42] <RoanKattouw> s the old preprocessor? [12:30:44] <xCuber125> how do i install parserfunctions? i tried but i couldn't understand [12:31:09] <TimStarling> yeah, old preprocessor [12:31:23] <TimStarling> want to try it on your wiki? it works like this... [12:31:35] <Duesentrieb> !templates | xCuber125 [12:31:35] <mwbot> xCuber125: For more information about templates, see <http://www.mediawiki.org/wiki/Help:Templates>. The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions<http://meta.wikimedia.org/wiki/Help:ParserFunctions> and HTML Tidy<http://www.mediawiki.org/wiki/Manual:%24wgUseTidy>. [12:31:38] <TimStarling> $wgParserConf = array( 'class' => 'Parser_OldPP' ); [12:31:41] <Duesentrieb> !extensions | xCuber125 [12:31:41] <mwbot> xCuber125: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See <http://www.mediawiki.org/wiki/Manual:Extensions> for details on writing an extension and <http://www.mediawiki.org/wiki/Extension_Matrix> for an overview of known extensions. [12:31:44] <TimStarling> in LocalSettings.php [12:32:11] <RoanKattouw> TimStarling lemme just svn update [12:32:45] <xCuber125> does htmltidy come with the latest release? [12:33:07] <RoanKattouw> No [12:33:53] <xCuber125> oh [12:34:14] <Duesentrieb> hm? [12:34:28] <Duesentrieb> htmltidy isn't an extension... [12:34:34] <Duesentrieb> it's a php module, iirc [12:34:48] <RoanKattouw> Duesentrieb a standalone program IIRC [12:34:49] <Duesentrieb> it should be included in most installations. you just have to tell mediawiki to use it [12:35:05] <xCuber125> ok [12:35:10] <Duesentrieb> RoanKattouw: that too. but it's also a php module. which is what mediawiki uses per default. external tidy is an option. [12:35:41] <Duesentrieb> from DefaultSettings.php: $wgTidyInternal = extension_loaded( 'tidy' ); [12:35:46] <Duesentrieb> do, mediawiki uses internal if it's there [12:36:39] <RoanKattouw> TimStarling: x<nowiki>y</nowiki>z works [12:36:43] <TimStarling> good [12:37:16] <RoanKattouw> <redircite> works as well [12:38:06] <xCuber125> hopw do i install parserfunctions? [12:38:48] <RoanKattouw> xCuber125 there are installation instructions at www.mediawiki.org/wiki/Extension:ParserFunctions [12:39:16] <xCuber125> but where do i put the files it says nothing about that [12:39:25] <RoanKattouw> In /extensions/ParserFunctions [12:39:37] <RoanKattouw> "and put them in a new directory called ParserFunctions in your extensions directory." [12:39:37] <Hashar> and update the documentation :) [12:39:46] <RoanKattouw> Hashar it's in the docs already [12:39:56] <xCuber125> <?php [12:39:56] <xCuber125> [12:39:56] <xCuber125> if ( !defined( 'MEDIAWIKI' ) ) { [12:39:56] <xCuber125> die( 'This file is a MediaWiki extension, it is not a valid entry point' ); [12:39:56] <xCuber125> } [12:39:57] <xCuber125> [12:39:59] <xCuber125> / Character classes [12:40:01] <xCuber125> define( 'EXPR_WHITE_CLASS', " \t\r\n" ); [12:40:03] <xCuber125> define( 'EXPR_NUMBER_CLASS', '0123456789.' ); [12:40:05] <RoanKattouw> Wow wow wow [12:40:07] <xCuber125> [12:40:07] <xCuber125> / Token types [12:40:09] <xCuber125> define( 'EXPR_WHITE', 1 ); [12:40:11] <xCuber125> define( 'EXPR_NUMBER', 2 ); [12:40:13] <xCuber125> define( 'EXPR_NEGATIVE', 3 ); [12:40:17] <RoanKattouw> Please don't paste the entire file here [12:40:41] <RoanKattouw> @search parserfunction [12:40:41] <mwbot> Results: [parserfunctions, templates] [12:40:46] <RoanKattouw> !parserfunctions [12:40:46] <mwbot> "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see <http://meta.wikimedia.org/wiki/Help:Parser_function>. For details about the extension, see <http://meta.wikimedia.org/wiki/Help:ParserFunctions>. [12:41:13] <Hashar> this is a lovely tool :) [12:41:43] <RoanKattouw> TimStarling all XML stuff I tried works, both internal and extensions [12:41:56] <Duesentrieb> the seconds link is wrong though [12:42:21] <RoanKattouw> Duesentrieb it's not [12:42:36] <Duesentrieb> well why is it the same link twice? [12:42:58] <RoanKattouw> It's not [12:43:05] <RoanKattouw> Parser function and Parser function*s* [12:43:14] <Duesentrieb> oh... and the blank... [12:43:17] <Duesentrieb> you are right :) [12:44:00] <wikibugs> 14(DUP) Deleted watchlisted pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12062 +comment (10dungodung) [12:44:01] <wikibugs> 03(mod) Logs about watched pages should appear in the watchlist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5546 +comment (10dungodung) [12:49:36] <wikibugs> 03(NEW) Edit conflict while prodding causes deleted page to be recreated - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12164 minor; low; Wikimedia: General/Unknown; (K.Dent-Brown) [12:50:31] <wikibugs> 03(mod) Edit conflict while prodding causes deleted page to be recreated - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12164 (10K.Dent-Brown) [12:54:04] <Andropov> Hi, I setted a virtual host in apache to my mediawiki, it's like "ServerAlias wiki.myhost.org.br wiki.myhost.com" and "DocumentRoot /home/httpd/html/wiki". Ok, but the links in the mediawiki page has a "/wiki" after the url, leading to a page not found error. Has someone here configured properly a mediawiki virtual host? [13:01:31] <wikibugs> 03(ASSIGNED) {{words}} and page titles (in Unicode) are unstable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12073 normal->high; +comment (10admin) [13:01:44] <SunStar> hi there! [13:01:53] <SunStar> can anyone help me?? [13:02:31] <Hashar> just ask :p [13:02:47] *Nikerabbit blinks [13:02:51] <Nikerabbit> hi Hashar [13:02:56] <Hashar> lo nike :) [13:03:16] <Hashar> I am on a course right now :) [13:03:51] <Nikerabbit> sounds familiar [13:04:33] <Hashar> the good point is that IBM actually let me use IRC in their classrooms 8) [13:04:38] <SunStar> I've created the page on BoardVote extension, on [[Extension:BoardVote]], can anyone expand it please?? [13:05:12] <Hashar> SunStar, you might want to contact the extension author ) [13:06:33] <SunStar> I don't know who wrote it though, but I can't get it to work either... our organization needs this for its board voting! [13:07:24] <Hashar> just fill the box : http://www.mediawiki.org/wiki/Extension:BoardVote [13:07:42] <SunStar> I created that page but can't expand it further [13:10:10] <RoanKattouw> Andropov you need to change $wgArticlePath in LocalSettings.php [13:10:27] <Hashar> someone will :) [13:10:27] <SunStar> downloaded it from SVN, can assign the boardvote privilege but it doesnt work [13:10:27] <SunStar> thanks Hashar [13:10:28] <Hashar> iirc it was made for the Wikimedia Foundation board vote, so it is not really meant to be used by anyone else <) [13:10:28] <SunStar> Please can someone make me a sysop on mediawiki.org - if there are no objections?? [13:10:28] <SunStar> I was trying to adapt the boardvote for our organization [13:10:28] <Hashar> you can contact Tim Starling, but he is busy with wikipedia.org right now [13:10:28] <SunStar> thanks Hashar [13:10:28] <Cometstyles> http://meta.wikimedia.org/wiki/Board_elections/2005/Interface_translation read ;) [13:10:29] <SunStar> The only reason I request sysop access on mediawiki.org is that I've been a temporary sysop on two Wikimedia projects [13:10:29] <Hashar> as for sysoping, Duesentrieb and I can assist you on mediawiki.org :) [13:10:29] <SunStar> ...notably the Akan Wikibooks and Cornish Wiktionary [13:12:02] <SunStar> Please can anyone sysop me?? [13:12:19] <SunStar> ? [13:12:22] <SunStar> Hello [13:13:09] <Hashar> sysoping is not an option [13:13:24] <SunStar> Help! [13:13:31] <Hashar> look at the list of sysop, there is only developers or long time trusted wikipedia users ) [13:14:08] <SunStar> OK, thanks [13:15:58] <SunStar> thanks, Hashar, you've been helpful [13:20:25] <Nikerabbit> meow [13:21:42] *dungodung hugs Hashar [13:21:46] *dungodung hugs Nikerabbit [13:22:06] <Hashar> lovely boy [13:22:23] <Nikerabbit> juvenile [13:22:39] <dungodung> :) [13:23:06] <Need_Help123> Hello everybody! I have I question about MediaWiki! It is possible to configure the Login script, that UserDataBase will take from another, external MySQL database. (Sorry for my bad english) [13:23:44] <RoanKattouw> Need_Help123 there are extensions that allow logins from apps like phpBB to be carried over to MediaWiki [13:23:50] <RoanKattouw> They're called AuthPlugins [13:24:06] <Hashar> you can even use LDAP ) [13:26:11] <Need_Help123> Thanks... But it's possible to make this without installing extension? Just modify Auth script code? [13:26:26] <flyingparchment> you could, but that would be pointless and stupid [13:26:28] <RoanKattouw> Not that I know of [13:28:21] <Need_Help123> I have a question about those phpBB like extension. This extension creates a copy of phpBB database? [13:28:36] <flyingparchment> no [13:28:42] <flyingparchment> it accesses your existing phpbb database [13:28:53] <Need_Help123> Kewl! Thats what I need. [13:29:35] <Need_Help123> And there is possible to connect not a phpBB database? Just another MySQL database where are user account? [13:29:48] <flyingparchment> yes, you can write your own authplugin [13:30:04] <Need_Help123> O.K. [13:30:06] <Need_Help123> Thanks! [13:30:21] <Need_Help123> Do you tried to install this extension by yourself? [13:30:50] <flyingparchment> which? the phpbb one? no, since i don't use phpbb [13:31:02] <flyingparchment> i did write my own authplugin for atlassian crowd, which we use for web authentication [13:31:37] <Need_Help123> I see [13:35:17] *dungodung points all the moderately free devs to a rather trivial bug - 12084 [13:35:30] <RoanKattouw> bug 12084? [13:37:05] <wikibugs> 03(mod) Enable patrolling and create patroller group on huwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12085 +comment (10dungodung) [13:37:23] <dungodung> RoanKattouw: simple mediawiki: message [13:38:28] <RoanKattouw> dungodung it's in /languages/messages/MessagesEn.php [13:38:41] <dungodung> good [13:38:46] <dungodung> but the bug's not for me [13:39:48] <RoanKattouw> ? [13:40:29] <dungodung> the bug needs fixing. i.e. a developer is to change the file and commit it to svn [13:42:36] <wikibugs> 03(mod) Enable patrolling and create patroller group on huwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12085 (10gtisza) [13:43:55] <CIA-39> 03catrope * r27962 10/trunk/phase3/languages/messages/MessagesEn.php: (bug 12084) Password reminder email title is misleading [13:46:24] <wikibugs> 03(FIXED) Password reminder email title is misleading - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12084 +comment (10roan.kattouw) [13:47:02] <dungodung> :) [13:47:37] *Werdna pokes brion_away [13:47:50] <dungodung> andrew! [13:47:55] <Werdna> hmm.. he shouldn't be on in too long [13:49:26] <Nikerabbit> wth [13:49:26] <Werdna> hi dungodung [13:49:34] <dungodung> :) [13:49:36] <Werdna> Nikerabbit: ? [13:49:50] <Nikerabbit> r27962 is not ok [13:49:56] <Werdna> what's wrong with it? [13:50:08] <Nikerabbit> message name really needs to be changed if the meaning changes [13:50:14] <Werdna> mmm [13:50:24] <Werdna> otherwise old customisations cause weird issues. [13:50:26] <dungodung> then change it [13:50:54] <Werdna> what time does brion usually sign on? [13:51:52] <Duesentrieb> Werdna: he's on pacific time [13:51:55] <Duesentrieb> so, it [13:52:05] *Werdna ctcp time'd, and it's nearly 9am [13:52:14] <Werdna> so he can't be too long [13:52:21] <Duesentrieb> err, so it's like 5am for him now, if i'm not mistaking [13:52:30] *Werdna needs brion's permisson to enable rollback for all users :) [13:52:35] <Werdna> 13:49 CTCP TIME reply from brion_away: Fri Nov 30 08:49:32 [13:52:51] <Werdna> he's on eastern time [13:52:56] <Werdna> in florida, isn't he? [13:53:05] <Duesentrieb> didn't he move to sf? [13:53:12] <Duesentrieb> along with the office? [13:53:21] *Werdna shrugs [13:53:22] <RoanKattouw> Werdna: Why not just enable delete for anons? [13:53:39] <dungodung> Duesentrieb: office is still in florida [13:53:48] <Nikerabbit> hmmm [13:54:13] <Werdna> because it's (1) Computationally expensive to delete, (2) causes mass changes to an article with a non-obvious fix, (3) makes an entire article unavailable for an extended period of time. [13:54:13] <Duesentrieb> dungodung: yes, but in the process of moving... and i recall him talking about renting a place. but i dunno if he actually moved yet [13:54:19] <Werdna> RoanKattouw: Why not enable rollback for anons? [13:54:32] <Werdna> RoanKattouw: and if you read properly, I said all *users* [13:54:35] <Werdna> not all *anons* [13:54:36] <dungodung> that was just for a week or stg [13:54:37] <RoanKattouw> I know [13:54:39] <Werdna> so your strawman is bullshit anyway [13:54:48] <dungodung> while they were scouting for the office in SFBA, afaik [13:54:51] <RoanKattouw> Just pulling your leg [13:54:56] <Duesentrieb> *shrug* dunno :) [13:55:29] <Nikerabbit> hmm [13:56:08] <Werdna> TimStarling: what time does brion usually sign on? it'd have to be at some time close to now [13:58:49] <CIA-39> 03yaron * r27963 10/trunk/extensions/SemanticForms/specials/SF_CreateCategory.php: Parent category can also be set [14:00:24] <wikibugs> 14(INVALID) <title> suffix still English - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12158 +comment (10niklas.laxstrom) [14:02:39] <hijodedios> hello [14:02:55] <Cometstyles> hello [14:03:05] <CIA-39> 03yaron * r27964 10/trunk/extensions/SemanticForms/specials/SF_AddData.php: [14:03:05] <CIA-39> Added printAltFormsList(), plus handling for only alternate forms (no [14:03:05] <CIA-39> default form) specified [14:03:22] <hijodedios> I was hoping maybe to find some help on hiding pages on mediawiki for only certain users to see [14:03:30] <Werdna> !access | hijodedios [14:03:30] <mwbot> hijodedios : 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>. [14:03:33] <Werdna> !faq | hijodedios [14:03:33] <mwbot> hijodedios : Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [14:03:44] <hijodedios> thank you [14:03:58] <hijodedios> aND i JUST LEFT THE faq [14:04:02] <hijodedios> oops [14:04:04] <hijodedios> sorry [14:04:04] <CIA-39> 03yaron * r27965 10/trunk/extensions/SemanticForms/specials/SF_EditData.php: printAddForm() now takes in a third argument [14:05:00] <CIA-39> 03yaron * r27966 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Added handling of 'Text' type, fix for handling of SMW 0.7 [14:06:52] <CIA-39> 03nikerabbit * r27967 10/trunk/phase3/languages/classes/LanguagePl.php: * (bug 11796) Plural for polish [14:07:00] <taduyducvn> hello there [14:07:12] <taduyducvn> do you know how to get some random article title [14:07:19] <taduyducvn> then out put it using a template [14:07:31] <wikibugs> 03(FIXED) Add third variant to Polish {{PLURAL}} like in Czech - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11796 +comment (10niklas.laxstrom) [14:07:34] <taduyducvn> so i can include in homepage [14:07:56] <RoanKattouw> taduyducvn does {{Special:Randompage}} work? [14:08:09] <taduyducvn> can it include in homepage? [14:08:17] <hijodedios> thanks for the lead, , this should do it [14:08:39] <taduyducvn> when i try [14:08:44] <taduyducvn> it's only include the link [14:08:54] <taduyducvn> i mean is that i want it to include some random titles [14:09:00] <mboman> Can I override any CSS setting using the MediaWiki:Monobook.css ? [14:09:01] <taduyducvn> or newest titles [14:09:03] <taduyducvn> titles/post [14:09:13] <RoanKattouw> taduyducvn there is a recent changes RSS feed [14:09:14] <taduyducvn> like a list [14:09:23] <taduyducvn> where is it? [14:09:23] <RoanKattouw> And an RSS extension [14:09:43] <RoanKattouw> RC RSS feed: RSS link in the toolbox for Special:Recentchanges [14:09:54] <RoanKattouw> RSS extension: www.mediawiki.org/wiki/Extension_Matrix [14:10:16] <Duesentrieb> !rss [14:10:16] <mwbot> http://meta.wikimedia.org/wiki/Category:RSS_Extensions [14:10:24] <Duesentrieb> hm? there should be two links... [14:10:27] <taduyducvn> let me check [14:10:27] <Duesentrieb> @search rss [14:10:27] <mwbot> Results: [rss] [14:10:30] <Duesentrieb> :/ [14:11:22] <RoanKattouw> !rss [14:11:22] <mwbot> http://meta.wikimedia.org/wiki/Category:RSS_Extensions [14:11:26] <RoanKattouw> OH [14:13:47] <Duesentrieb> @search feed [14:13:47] <mwbot> Results: [] [14:14:06] <Werdna> @search Duesentrieb [14:14:06] <mwbot> Results: [] [14:14:11] <wikibugs> 03(mod) Deferred template substitution ( with some magic keyword such as subst1) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11670 (10smjg) [14:14:27] *Werdna ponders if brion_away will be around in the next hour or so [14:14:32] <Werdna> if not, I should prooobably go to sleep [14:14:38] <Werdna> you know, having a date first thing tmorrow morning [14:15:33] <taduyducvn> really? [14:15:36] <taduyducvn> date [14:15:39] <taduyducvn> Boyfriend? [14:16:19] <Duesentrieb> Werdna: send an email [14:17:15] <Werdna> eh, I tried leaving a massage on irc, but to no avail [14:17:16] <Werdna> http://www.ln-s.net/1Dqo [14:17:19] *Werdna ducks [14:18:49] <dungodung> Werdna: good song :) [14:18:55] <Duesentrieb> Werdna: evil. [14:19:44] *RoanKattouw curses Werdna [14:19:50] <taduyducvn> http://vi.wikipedia.org/wiki/Trang_Ch%C3%ADnh [14:19:54] <taduyducvn> pls check this out [14:20:00] <taduyducvn> Bài viết chọn lọc [14:20:01] <wikibugs> 03(mod) Patch to make mediawiki work in mbstring. func_overload environments - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11054 +comment (10niklas.laxstrom) [14:20:06] <taduyducvn> they have special article [14:20:22] <taduyducvn> Bạn có biết [14:20:26] <Nikerabbit> taduyducvn: hmm vietnam? [14:20:29] <taduyducvn> yea [14:20:42] <telmich> is it possible to reset the password of a user? [14:20:45] <Nikerabbit> easy to identify from the amount of accents etc [14:20:48] <taduyducvn> they have new article also [14:20:48] <telmich> (from the webinterface) [14:20:50] <CIA-39> 03yaron * r27968 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: Added handling for 'text' type, removed English hardcoding for "chooser", added temporary handling for autocompletion for SMW 1.0 [14:20:51] <Duesentrieb> telmich: no. [14:20:57] <taduyducvn> :D [14:21:04] <Nikerabbit> telmich: can't the user just request new password? [14:21:14] <Duesentrieb> telmich: well, yes, via email. if supplied and confirmed. [14:21:16] <telmich> Nikerabbit: nope, the old e-mail does not work anymore [14:21:25] <taduyducvn> is there anyway possible to get those data? the new post and special random article, so i can put it on homepage. [14:21:27] <Duesentrieb> telmich: then fix the mail address in the db [14:21:37] <Nikerabbit> telmich: yeah, then you need to access the db [14:21:39] <Duesentrieb> telmich: you can also reset the pw in the db, but that's more complicated. [14:21:44] <Duesentrieb> telmich: actually all this is in the faq [14:22:02] <Duesentrieb> there's also an extension for resetting passwords, i think [14:22:17] <telmich> thanks [14:22:42] <Nikerabbit> taduyducvn: what do you mean? [14:22:48] <taduyducvn> i mean that [14:22:53] <taduyducvn> i want to get a list [14:22:56] <Nikerabbit> afaik all daily chaning articles are updated by hand or bot [14:22:56] <taduyducvn> of random article [14:22:59] <taduyducvn> and new article [14:23:06] <taduyducvn> >"< [14:23:11] <taduyducvn> hand + bot? >"< [14:23:17] <taduyducvn> is there no script [14:23:18] <taduyducvn> ? [14:24:07] <CIA-39> 03yaron * r27969 10/trunk/extensions/SemanticForms/languages/SF_Language.php: New base class for all language files, modelled after SMW's SMW_Language.php [14:24:56] <taduyducvn> anyone? [14:25:02] <Filnik> Hello [14:25:08] <taduyducvn> hi [14:31:00] <yoniDeBest> is it possible to use ajax to get pages from wikipedia and inserting them into a private site? [14:32:31] <TimLaqua> sure [14:32:38] <yoniDeBest> how? :P [14:32:45] <TimLaqua> same way you get any page using ajax. [14:33:36] <yoniDeBest> well, i keep getting errors. is there a script avaliable which i can copy? [14:33:47] <TimLaqua> a page theft script? no. [14:34:01] <TimLaqua> ;-) [14:34:23] <yoniDeBest> what do you mean? [14:34:55] <TimLaqua> what errors are you getting? [14:35:13] <CIA-39> 03yaron * r27971 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: [14:35:13] <CIA-39> Added handling for new language-file structure, including handling [14:35:13] <CIA-39> special-properties aliases; added handling for alternate-forms-only [14:35:13] <CIA-39> possibility; sffGetCategoriesForArticle() can now return all categories in [14:35:13] <CIA-39> the wiki [14:35:17] <yoniDeBest> i've tried xhr.open("GET", "http://he.wikipedia.org/w/index.php?title=%D7%AA%D7%91%D7%A0%D7%99%D7%AA:%D7%94%D7%A2%D7%A8%D7%9A_%D7%94%D7%9E%D7%95%D7%9E%D7%9C%D7%A5&action=render", true); but i get an error when doing so. [14:35:31] <TimLaqua> what error? [14:35:38] <CIA-39> 03yaron * r27972 10/trunk/extensions/SemanticForms/README: Updated [14:35:40] <yoniDeBest> lemme check [14:36:46] <yoniDeBest> permission denied [14:36:58] <TimLaqua> on Windows? [14:37:00] <TimLaqua> w/ IE? [14:37:04] <CIA-39> 03yaron * r27973 10/trunk/extensions/SemanticForms/INSTALL: New version - 0.7.8 [14:37:04] <yoniDeBest> yes, ie6 [14:37:26] <TimLaqua> where is the web page? [14:37:34] <yoniDeBest> http://www.wiki-pedia.co.il/search.aspx [14:37:34] <TimLaqua> your web page, that the script is running from? [14:37:56] <yoniDeBest> all the script is there [14:38:02] <TimLaqua> yeah, it won't work [14:38:03] <wikibugs> 14(INVALID) Tibetan script does not display properly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7827 +comment (10niklas.laxstrom) [14:38:13] <TimLaqua> you can't use ajax for cross-domain requests [14:38:18] <TimLaqua> unless it's stored locally [14:38:45] <yoniDeBest> bummer. no way around it? [14:39:02] <yoniDeBest> i tried using iframe but i could not get hold of the content of the iframe [14:39:07] <TimLaqua> so the methodology would be to make an ajax call to a handler page on your site, and then use ASP to do the cross-domain request and return it to the client. [14:39:31] <yoniDeBest> errr how would i do that? [14:39:39] <wikibugs> 03(mod) Captcha on nds.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6842 +shell (10niklas.laxstrom) [14:39:39] <TimLaqua> ;-) google it. [14:39:54] <TimLaqua> or wander over to an asp or .net room. [14:40:00] <yoniDeBest> what should i google exactly ;-) [14:40:08] <yoniDeBest> aha [14:40:41] <CIA-39> 03yaron * r27974 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Removed unnecessary function-name setting [14:41:42] <CIA-39> 03tstarling * r27975 10/trunk/phase3/includes/api/ApiMain.php: Trivial bug in new apihighlimit feature [14:43:30] <CIA-39> 03yaron * r27976 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Fix for incorrect function call [14:44:16] <yoniDeBest> ummm whats a handler page? [14:44:32] <TimLaqua> by handler, I just mean a page on your site. [14:44:39] <TimLaqua> like ajaxHandler.aspx [14:44:51] <TimLaqua> then you make your ajax request to that rather than wikipedia. [14:45:20] <yoniDeBest> oh. like use ajax to call another page, and that page will use asp to get the page? well, i can use asp on the origina page instead, can't i? [14:45:25] <TimLaqua> yup [14:45:30] <TimLaqua> well [14:45:30] <TimLaqua> no [14:45:35] <TimLaqua> that wouldn't be ajax [14:45:39] <yoniDeBest> right [14:45:43] <TimLaqua> that woudl require a refresh of the page [14:45:45] <TimLaqua> which is silly [14:45:55] <yoniDeBest> oh [14:46:36] <TimLaqua> umm... I suppose you could make the page handle ajax... but you ahve to understand that the ajax handler isn't returning a page so much as content. [14:46:45] <wikibugs> 14(INVALID) Not all system messages are listed in [[Special:Allmessages]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3554 +comment (10niklas.laxstrom) [14:46:47] <yoniDeBest> all i want to do is put a featured article from wikipedia in a frame on my web site. i didn't think it would be so complicated =/ [14:47:09] <TimLaqua> hmm... then yeah, you could just embed it. [14:47:42] <TimLaqua> in the main page asp because if it's not ever going to update that page as part of the UI, then sure, get the featured article on load [14:48:29] <yoniDeBest> right [14:48:40] <TimLaqua> I thought you were being fancier than that. ;-) [14:48:45] <yoniDeBest> so i need to learn asp to know how to do this [14:48:52] <TimLaqua> or php [14:48:54] <TimLaqua> whatever [14:48:55] <yoniDeBest> what do you mean? [14:49:19] <yoniDeBest> all i know is a bit of js. thats why i tried ajax. [14:49:23] <TimLaqua> ah [14:49:34] <TimLaqua> yeah, php and asp are just as important. [14:50:06] <Nikerabbit> mmmm [14:50:11] <wikibugs> 14(INVALID) Translation for all Mediawiki messages at Commons - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4998 +comment (10niklas.laxstrom) [14:50:12] <Nikerabbit> I feel so ev0l now [14:50:18] <TimLaqua> mind you, you CAN do the cross-domain stuff if you run the script from your local machine [14:51:01] <CIA-39> 03tstarling * r27977 10/trunk/ (6 files in 2 dirs): [14:51:01] <CIA-39> * Add #ifexist invocation count to the limit report comment [14:51:01] <CIA-39> * Fix limit report inclusion criteria for new preprocessor -- make it display only for the primary text on edit and page view [14:51:03] <yoniDeBest> what do u think is easier - php or asp? [14:51:10] <TimLaqua> they're the same. [14:51:12] <TimLaqua> ish... [14:51:41] <yoniDeBest> heh [14:51:48] <TimLaqua> there's more money to be made in ASP, specifically .NET stuff - but PHP is the open source standard. [14:53:32] <TimLaqua> asp might be easier to learn. like go download Visual Studio 2008 Beta 2 and you can pretty much drag and drop your way to a funcitoning page. [14:53:38] <yoniDeBest> my current page is aspx - will i have to change it? [14:53:41] <TimLaqua> they've also got some cute ajax tools in there. [14:54:13] <TimLaqua> well, then go learn c#.NET [14:54:26] <TimLaqua> g2g [14:54:49] <yoniDeBest> cya, thanks alot [14:55:06] <yoniDeBest> c# i kindof know [14:58:21] <CIA-39> 03yaron * r27978 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: Fixed incorrect function call [15:00:08] <Filnik> Hello [15:03:20] <wikibugs> 03(mod) Feature Request : Dynamic Fonts in the Tamil Wikipedia (http:// ta.wikipedia.org) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2361 +comment (10niklas.laxstrom) [15:08:04] <Nikerabbit> http://bugzilla.wikimedia.org/show_bug.cgi?id=398 over 3 years old, gotta love these old bugs [15:11:24] <aton`> how can i make it so that the background image (headbg.jpg) adopts its width from the screen resolution, like on wikipedia? [15:11:30] <aton`> my image gets cut on the right side [15:16:54] <wikibugs> 03(mod) UTF-8 Bug: umlaut misdisplayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=781 +comment (10niklas.laxstrom) [15:23:17] <CIA-39> 03yaron * r27979 10/trunk/extensions/SemanticForms/languages/ (6 files): "Create a semantic property" is now just "Create a property" [15:24:48] <wikibugs> 03(WONTFIX) For content language 'foo' disalow titles as [[MediaWiki:Bar/foo ]] / [[MediaWiki_talk:Bar/foo]] and handle them as equivalent to [[ MediaWiki:Bar]] / [[MediaWiki_talk:Bar]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5965 +comment (10niklas.laxstrom) [15:28:21] <Telemac> Hello [15:29:05] <Telemac> How can I prevent non-admin user from viewing protected page ? [15:32:03] <aton`> Telemac, in LocalSettings.php [15:32:34] <^demon|busy> I've set my include path so I can make use of the Zend framework, but it can't seem to find it. Any clues why? [15:32:56] <^demon|busy> $path = "/usr/local/bin/zend"; [15:32:56] <^demon|busy> set_include_path(get_include_path() . PATH_SEPARATOR . $path); [15:32:56] <^demon|busy> require_once('Zend/Search/Lucene.php'); [15:33:03] <^demon|busy> Fails on the require. [15:39:59] <Telemac> aton`: That is to say ? I have seen sample with wgGroupPermission to do that [15:42:18] <DigitallyBorn> I snagged the html output from the "Insert" quicklinks on WP's edit page and placed them on my own, but the symbols aren't showing correctly. I don't see a difference in font or charset, anybody else have any ideas? [15:42:24] <CIA-39> 03nikerabbit * r27980 10/trunk/phase3/languages/Language.php: * Removing loop that doesn't do anything, fixes bug 7973 [15:42:52] <wikibugs> 03(FIXED) Redundant cache expiration check in Language::loadLocalisation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7973 +comment (10niklas.laxstrom) [15:42:57] <TimStarling> ^demon: MediaWiki doesn't use the Zend framework, does it? [15:43:24] <^demon> TimStarling: Nope, but this room is filled with PHP developers and I was hoping someone knew the answer. [15:44:57] <Hashar> course ending [15:44:59] <Hashar> have fun guys ) [15:50:20] <chuck> does anyone here have any experience with the mediawiki Farmer extension? [15:50:48] <Inez> /msg TimStarling Hi. Do you know IRC nick of guy working on search for mediawikiw- that based on lucene. [15:50:58] <Inez> nice :) [15:52:45] <^demon> TimStarling: I got it working actually, thanks anyway. [16:00:47] <wikibugs> 03(mod) Update for Lithuanian language (lt) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9742 +comment (10garas-) [16:01:36] <wikibugs> 04(REOPENED) Update for Lithuanian language (lt) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9742 (10garas-) [16:06:20] <chuck> no one here has used the Farmer extension? [16:10:57] <wikibugs> 14(DUP) UTF-8 Bug: umlaut misdisplayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=781 +comment (10brion) [16:10:58] <wikibugs> 03(mod) Last modified display date not the last one - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6263 +comment (10brion) [16:11:15] <wikibugs> 04(REOPENED) UTF-8 Bug: umlaut misdisplayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=781 +comment (10brion) [16:11:18] <wikibugs> 14(DUP) Last update date/time is not shown correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12161 +comment (10brion) [16:11:22] <wikibugs> 03(mod) Last modified display date not the last one - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6263 +comment (10brion) [16:18:52] <Telemac> How can I prevent non-admin user from viewing protected page ? [16:22:26] <SPQRobin> Telemac: for every protected page or do you want to choose it per page? [16:23:25] <Telemac> SPQRobin: First for every, if possible page per page :) [16:24:03] <SPQRobin> Telemac: per page is certainly possible [16:25:09] <SPQRobin> Telemac: for per page, you can add the following in your LocalSettings.php: [16:25:11] <SPQRobin> $wgRestrictionTypes = array( 'edit', 'move', 'view' ); [16:25:14] <SPQRobin> default is: [16:25:19] <SPQRobin> $wgRestrictionTypes = array( 'edit', 'move' ); [16:27:06] <Telemac> SPQRobin: Do I need to purge cache ? [16:27:15] <SPQRobin> Telemac: no [16:27:53] <SPQRobin> Telemac: you never need to purge cache after a change in your localSettings file [16:28:02] <Telemac> SPQRobin: Sorry, I have understood that it make view right appear on protection management [16:28:08] <Telemac> haven't [16:28:59] <SPQRobin> Telemac: what do you mean? [16:30:07] <Telemac> SPQRobin: I was thinking the line in LocalSettings directly prevent non-admin user from viewing protected page, in fact it allow me to manage view right where I manage page protection. So that's right, I was wrong [16:31:32] <Telemac> SPQRobin: I've "edit=sysop:move=sysop:view=sysop" as protection [16:31:52] <SPQRobin> Telemac: yes, that should it be [16:32:04] <Telemac> SPQRobin: But I'm still able to view page when I logout [16:32:08] <SPQRobin> Telemac: I don't know how you can prevent non-sysop users from viewing all protected pages by default. [16:32:20] <wikibugs> 03(FIXED) Hide and show (collapsed) option of Wikipedia' s templates does not work on Firefox 3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12157 +comment (10brion) [16:32:32] <SPQRobin> Telemac: hmm.. that's strange [16:32:32] <Telemac> SPQRobin: not all but just the one I've protected ? [16:33:05] <Telemac> SPQRobin: The protection is applied as I can't modify it, but I still can view it [16:33:38] <SPQRobin> Telemac: try purging your cache, though I don't know it would help [16:34:27] <wikibugs> 03(FIXED) Need "Has alternate form" or "Has form" relation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11548 +comment (10yaron57) [16:34:44] <wikibugs> 14(INVALID) Fatal error: Class StubObject not found in ... ParserFunctions. php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12153 +comment (10brion) [16:34:46] <SPQRobin> Telemac: can you give a link to the wiki? [16:35:33] <Telemac> SPQRobin: Nope, sorry it was on our intranet [16:35:56] <Telemac> SPQRobin: I've added ?action=purge but I'm still able to view it [16:36:57] <SPQRobin> Telemac: I don't know a solution. I'll try it on my wiki... [16:37:09] <wikibugs> 03(NEW) Stub links disappear - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12165 major; normal; Wikimedia: General/Unknown; (russblau) [16:37:31] <Telemac> SPQRobin: Thanx [16:40:18] <SPQRobin> Telemac: I've got the same problem [16:41:44] <Telemac> SPQRobin: ok so maybe it's known issue [16:45:16] <wikibugs> 03(NEW) PATCH - Special:Emailuser - removed invalid attribute - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12166 normal; normal; MediaWiki: Special pages; (danny_b) [16:45:49] <chuck> does anyone here know why i'm getting mysql errors when i try to use the farmer extension? [16:46:18] <wikibugs> 03(mod) PATCH - Special:Emailuser - removed invalid attribute - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12166 (10danny_b) [16:56:18] <CIA-39> 03tstarling * r27981 10/trunk/phase3/includes/Linker.php: Recently-introduced typo in Linker::makeStubLinkObj() (bug 12165) [16:56:53] <jb> I am trying to make MediaWiki email all users when a new page is created and/or edited.. I found a thread that suggests that allows you to force every page to "watchable" from every user which would effectively enable this, but it seems to be for an older version.. any ideas on how to do this [16:57:14] <CIA-39> 03tstarling * r27982 10/trunk/phase3/includes/Article.php: limit report on page view [17:00:53] <wikibugs> 03(FIXED) Stub links disappear - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12165 +comment (10tstarling) [17:03:25] <CIA-39> 03nikerabbit * r27983 10/trunk/phase3/ (3 files in 3 dirs): [17:03:25] <CIA-39> * (bug 8396) Ignore out-of-date serialised message caches [17:03:25] <CIA-39> * MediaWiki now checks if serialized files are out of date. New configuration [17:03:25] <CIA-39> variable $wgCheckSerialized can be set to false to enable old behavior (i.e. [17:03:25] <CIA-39> to not check and assume they are always up to date) [17:13:09] <wikibugs> 03(FIXED) Ignore out-of-date serialised message caches - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8396 +comment (10niklas.laxstrom) [17:15:46] <wikibugs> 03(FIXED) Entity in message aboutsite - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11920 +comment (10niklas.laxstrom) [17:19:11] <iam8up|lpy> how do you span a row across four columns in wikicode? [17:20:32] <TimLaqua_away> |colspan="4"|row text [17:23:52] <minute> Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib [17:23:56] <minute> ahh [17:23:59] <minute> wtf? [17:25:47] <wikibugs> 03(WONTFIX) Easy manitenance of MediaWiki namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2086 +comment (10niklas.laxstrom) [17:28:36] <CIA-39> 03tbleher * r27984 10/trunk/phase3/ (3 files in 3 dirs): [17:28:36] <CIA-39> * Minor style fix: [17:28:36] <CIA-39> Normally, the function parameter to wfRunHooks() is enclosed in single [17:28:36] <CIA-39> quotes. Fix this in includes/SpecialPreferences.php. [17:28:36] <CIA-39> * Make maintenance/findhooks.php more tolerant, so it accepts both [17:28:37] <CIA-39> quoting styles. [17:28:39] <CIA-39> * Fix a typo in hooks.txt (the hook is 'userCan', not 'UserCan'). [17:29:07] <wikibugs> 03(FIXED) maintenance/findhooks.php does not find all hooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12146 +comment (10ThomasBleher) [17:33:34] <CIA-39> 03tbleher * r27985 10/USERINFO/tbleher: Add myself to USERINFO. [17:39:07] <iam8up|lpy> TimLaqua - ooh right in the row...damn..thanks =) [17:43:00] *Danny_B wonders which nick here belongs to niklas.laxstrom [17:45:47] *tbleher thinks it is Nikerabbit (after grepping through USERINFO) [17:48:00] <flyingparchment> correct [17:49:53] <wikibugs> 04(REOPENED) Entity in message aboutsite - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11920 +comment (10Simetrical+wikibugs) [17:55:34] <Ktron> So, I've a quick question-- is there a way to make all new pages that start with 'Foobar ' contain some basic content? [17:55:58] <Ktron> So when I create page 'Foobar X' it'll preload the page with a category, etc? [17:56:36] <wikibugs> 03(mod) Entity in message aboutsite - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11920 +comment (10danny_b) [18:00:22] <Danny_B> Ktron: use preload=pagename in url [18:00:58] <Danny_B> but so far i know there's no way to do it automaticaly, unless some extension does [18:00:58] <Ktron> Danny_B, you mean every time/ [18:01:14] <Ktron> ^/^? [18:01:19] <jlerner> Ktron: maybe try http://www.mediawiki.org/wiki/Extension:RegexNamespaceContext [18:02:02] <Ktron> jlerner, that looks plausible [18:02:15] <Ktron> Danny_B, jlerner, thanks, hopefully I can get that to do what I need [18:02:33] <jlerner> let me know how it goes, i'm gonna need it soon [18:03:41] <CIA-39> 03simetrical * r27986 10/trunk/phase3/includes/ (GlobalFunctions.php Skin.php): [18:03:41] <CIA-39> Fix regression from r26893: a few messages that formerly accepted character [18:03:41] <CIA-39> entities such as   no longer did. This broke existing behavior with no [18:03:41] <CIA-39> effective workaround, since a very common browser (Firefox < 3) cannot save [18:03:42] <CIA-39> forms containing literal nbsp (Mozilla bug 218277). The messages (which are [18:03:44] <CIA-39> link text) now allow entities, but not wikitext or other HTML, via a new [18:03:46] <CIA-39> 'escapenoentities' option for wfMsgExt. [18:04:45] <wikibugs> 03(FIXED) Entity in message aboutsite - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11920 +comment (10Simetrical+wikibugs) [18:06:35] <wikibugs> 03(mod) Entity in message aboutsite - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11920 (10Simetrical+wikibugs) [18:07:36] <Simetrical> Nikerabbit, you okayed JS code being put in the language files by default? [18:11:23] <wikibugs> 03(NEW) Change site name for Ido Wikipedia to 'Wikipedio' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12167 minor; normal; Wikimedia: Language setup; (malafaya) [18:13:26] <wikibugs> 03(mod) Change site name for Ido Wikipedia to 'Wikipedio' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12167 (10malafaya) [18:16:38] <CIA-39> 03simetrical * r27987 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialEmailuser.php): (bug 12166) Fix XHTML validity for Special:Emailuser. Patch by Danny B. [18:17:10] <wikibugs> 03(FIXED) PATCH - Special:Emailuser - removed invalid attribute - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12166 +comment (10Simetrical+wikibugs) [18:17:12] <wikibugs> 03(mod) XHTML compliance (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10Simetrical+wikibugs) [18:19:55] <wikibugs> 03(mod) XHTML compliance (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10danny_b) [18:36:16] <Nikerabbit> Simetrical: it seemed to be relevant [18:37:20] <Simetrical> Nikerabbit, it only works if the content language is Kazakh. And then it works even if the interface language is different. It needs to be interface-language-dependent, not content-language. [18:37:39] <Simetrical> Nikerabbit, and if any customizations are made on the wiki, no central changes are possible. [18:37:45] <Simetrical> I.e., no software changes. [18:37:59] <CIA-39> 03tstarling * r27988 10/trunk/phase3/includes/Parser.php: Bug 12150: missing increment [18:38:18] <wikibugs> 03(FIXED) Parser::insertStripItem not generating unique markers per call - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12150 +comment (10tstarling) [18:38:22] <Simetrical> Nikerabbit, the CSS/JS *messages* are for custom CSS/JS *only*. Any CSS/JS that ships with the software needs to go in skins/common/ or similar, for those reasons at least. [18:39:08] <Nikerabbit> Simetrical: why do you let entities go trough instead of decoding them? [18:39:29] <Simetrical> Nikerabbit, what's wrong with letting them go through? [18:39:53] <Simetrical> Hmm, it could break XHTML validity, though. [18:39:58] <Simetrical> Better fix that. [18:40:24] <Nikerabbit> it doesn't hurt to decode them first, and it's safer [18:40:44] <Simetrical> Seems slightly unexpected, though. [18:41:20] <Simetrical> I wonder what happens if you have an escaped control character? Like  or whatever? [18:42:05] <Simetrical> Hmm, doesn't seem to work well. [18:42:31] <Simetrical> htmlspecialchars( html_entity_decode( 'nbsp' ) ) produces a question mark. [18:43:16] <Nikerabbit> hmm [18:43:24] <Nikerabbit> oh well, better not to decode them then [18:47:52] <Simetrical> Er, s/nbsp/ / of course. [18:47:57] <Simetrical> I'll use the Sanitizer function. [18:49:58] *Simetrical kicks CIA-39 [18:49:59] <CIA-39> ow [18:55:57] <wikibugs> 04(REOPENED) Zh $wgSitename still English - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12158 summary; +comment (10jidanni) [19:01:13] <wikibugs> 03(mod) Multible inputboxes make page invalid due to repetitive similar id - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11777 (10danny_b) [19:01:17] <wikibugs> 03(mod) XHTML compliance (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10danny_b) [19:01:53] <Nikerabbit> ugh jidanni [19:03:22] <wikibugs> 03(mod) Multible inputboxes make page invalid due to repetitive similar id - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11777 +comment (10Simetrical+wikibugs) [19:04:27] <wikibugs> 03(mod) XHTML compliance (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10Simetrical+wikibugs) [19:04:27] <Nikerabbit> if for nothing else, we got some bug activity today :o [19:06:23] <Nikerabbit> mm [19:08:18] <Nikerabbit> Simetrical: I think these rtl issues are not solved properly any time soon :/ [19:08:37] <Simetrical> Nikerabbit, needs some work by someone. [19:09:50] <Nikerabbit> Simetrical: we once tried it, but the truth is the skins are a mess and thus almost impossible to change [19:10:40] <Simetrical> Needs some more work. :) [19:11:50] <Nikerabbit> Simetrical: unfortunately it isn't the only thing needing "some work" :D [19:13:58] <Danny_B> Simetrical: i think id is ok if automatically generated, maybe it could return an error message "you must provide id" if submitted without? [19:14:44] <Simetrical> Er, why do you need an id on the form? [19:15:41] *Simetrical realizes he wants some kind of grand id-tracking scheme that can calculate all id's that will be present anywhere in the page and ensure there are no conflicts . . . yeah right :( [19:16:16] <Duesentrieb> use strucured identifiers. [19:16:26] <Nikerabbit> just add some code to Outputpage::addHTML :O [19:17:02] <Nikerabbit> would be usefull only as a debug feature [19:19:19] <wikibugs> 03(NEW) Ghost entries in bgwiki.categorylinks; wanted categories affected - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12168 15enhancement; low; Wikimedia: General/Unknown; (b.manolov) [19:29:19] <acook> hey everyone [19:30:03] <acook> i've got what should be an easy question... i'm using an extension to allow SQL queries on a page... [19:30:13] <acook> the code is here - http://www.mediawiki.org/wiki/Extension:SQL2Wiki#Code [19:30:41] <acook> my quesiton is, how can i define a new variable in this code, for example $today = date("Y-m-d"); [19:31:09] <acook> i'm sure it's simple, i just can't figure out where to put it [19:33:12] <acook> anyone? [19:33:43] <_whitenoise_> hi [19:34:29] <_whitenoise_> is possible to configure mediawiki to approve all modification are propose by authenticated users? [19:36:32] <brion-office> acook: um, not sure i understand the question :) [19:36:43] <brion-office> your example sounds just fine? [19:37:24] <acook> yeah, except if I define a variable (let's say $today), when I call it from the Wiki, it doesn't seem to pass it [19:37:39] <brion-office> call what from the wiki how? [19:37:52] <Kaare> while trying to upgrade a mediawiki 1.5.7 database to 1.11 using update.php, the script fails with a non-existant "pagelinks" tabel - it's in the script, but apparently too late in the process [19:38:15] <acook> run the sql query from the wiki - using the extension [19:38:19] <wikibugs> 03(mod) Multiple inputboxes make page invalid due to repetitive similar id - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11777 summary (10roan.kattouw) [19:38:32] <Duesentrieb> _whitenoise_: no. it's a wiki. [19:38:43] <acook> my sql query is "SELECT * from changes WHERE ShortDes LIKE '%Whatever%' AND (StartDate>='$today '); [19:39:00] <Simetrical> _whitenoise_, only by using extensions, if I understand you right. [19:39:05] <_whitenoise_> ok [19:39:06] <_whitenoise_> ;-) [19:39:15] <acook> but it acts as if $today doesn't exist... in fact, i can put $sdnwieon (or whatever) and it doesn't error out [19:39:15] <Simetrical> acook, maybe you want to ask in ##php, not here? [19:39:27] *Simetrical wonders why this isn't ##mediawiki [19:39:44] <acook> perhaps, I thought i'd start here since it IS a mediawiki extension [19:40:30] <acook> ..and i'm not certin people in ##php would understand how this extension talks to mediawiki [19:40:32] <Duesentrieb> Simetrical: i don't know of any extension that does allow for edit moderation. flagged revisions probably come close, in a way... [19:40:48] *brion-office hmms [19:40:56] <Duesentrieb> acook: i'm afraid we don't quite understand what you want either... [19:40:57] <brion-office> Kaare: mysql? [19:41:03] <Kaare> brion: yup [19:41:50] <Kaare> brion, it fails here: "Creating redirect table..." [19:41:51] <Simetrical> Duesentrieb, I think there's one that CZ uses. [19:41:59] <Simetrical> VoA does something with it. [19:42:05] <Simetrical> Maintains it or something. [19:42:11] <acook> hmm, let me see if i can rephrase... ok, the extension (http://www.mediawiki.org/wiki/Extension:SQL2Wiki#Code) allows a user to execute a SQL query from the front end of mediawiki [19:42:23] <Simetrical> acook, there are already such extensions, I think. [19:42:27] <Duesentrieb> Simetrical: isn't that just this? flagged revisions aka stable versions? [19:42:42] <Simetrical> Duesentrieb, let me see. [19:42:44] <Duesentrieb> acook: dangerous, but ok, yes [19:42:58] <acook> it's ok, i've defined a user with SELECT access only [19:43:02] <acook> and it's on a seperate DB [19:43:16] <Duesentrieb> they can still cause a lot of load [19:43:22] <Duesentrieb> acook: anyway, how do php variables come into that? [19:43:29] <Simetrical> http://www.mediawiki.org/wiki/Extension:ConfirmAccount [19:43:36] <Simetrical> Hmm, that's not what was asked. [19:43:41] <Duesentrieb> nope :) [19:43:42] <Simetrical> Yeah, I think you're right, it's FlaggedRevs. [19:43:51] <Simetrical> That's all I've heard of, anyway. [19:43:52] <brion-office> Kaare: can you copy the output from the first update attempt? [19:44:03] <brion-office> paste it on a bug report maybe.... [19:44:05] <acook> ..but that aside, basically I'm trying to execute a SQL query with a variable (ie, SELECT * FROM blah WHERE Date="$today") [19:44:13] <brion-office> problem sounds vaguely familiar but i thought we fixed that ages ago [19:44:17] <Simetrical> acook, bet you ten bucks I can crash your MySQL server if you give me SELECT access. [19:44:24] <acook> hehe [19:44:25] <acook> probably [19:44:38] <acook> it's an extremely small db [19:44:41] <Duesentrieb> acook: you do not have access to php variables from the wiki. [19:44:54] <Duesentrieb> acook: there is nothing to evaluate them. [19:45:00] <Duesentrieb> that would be even more dangerous. [19:45:03] <Duesentrieb> not to say: insane. [19:45:13] <wikibugs> 03(mod) Zh $wgSitename still English - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12158 +shell; +comment (10niklas.laxstrom) [19:45:20] <acook> ok, so I can't define $today in the extension and call it from the front end? [19:45:26] <acook> ...using this extension? [19:45:50] <Kaare> brion: I can, but any ideas how to proceed now? - I need to take over this wiki ASAP because of an avid spammer [19:46:09] <Duesentrieb> acook: well, sure, you can hack the extension, look for the string "$today" in the query the user supplied, and replace it with whatever you want. [19:46:28] <Simetrical> acook, variables in PHP can't be called inside functions nested within their scope without use of the global keyword. Maybe that's your problem? [19:46:32] <Duesentrieb> acook: that's simple string-replacement. it doesn not (directly) have anything to do with php variables. [19:46:49] <acook> yeah, that's basically what I want to do.. in the extension I want to define $today as $today = date("Y-m-d"); [19:46:51] <Duesentrieb> Simetrical: ah, found the factoid. try !moderation := [19:47:08] <acook> that way when it's called in the query, it will replace $today with the date [19:47:20] <acook> ...but I'm uncertain where to put this in the code [19:47:22] <Simetrical> acook, you need to declare global $today; in the function where you want to use the variable, I think. [19:47:53] <acook> yeah, it seems like wherever I put $today in the code, it gets ignored [19:48:46] <Duesentrieb> acook: if you put $tody in the query, there is nothing that says "stuff that looks like php variables in the query have to be replaces by varables found in the local scope". [19:49:12] <Duesentrieb> acook: it's a sql query. not php code. if you want "variables" to be evaluated, you have to write the code that replaces them with whatever value. [19:49:39] <Simetrical> Duesentrieb, . . . there isn't? [19:49:40] <Duesentrieb> acook: be sure to apply correct escaping on all values in the query [19:49:45] <Simetrical> There is, if you use double quotes . . . [19:49:48] <Duesentrieb> Simetrical: hm? it's a user supplied string. [19:50:09] <Duesentrieb> Simetrical: the string comes from the wiki. it's not hardcoded in the extension. [19:50:10] <acook> ok, so I think I'm a bit lost... so, let's say I want $today to be replaced with 2007-10-30.... [19:50:24] <Simetrical> Duesentrieb, oh, I see. [19:50:31] <Simetrical> Yes, you need to do something like eval() it (ugh). [19:50:38] <Duesentrieb> acook: $sql = str_replace("$today", "2007-10-30", $sql); [19:50:50] <Duesentrieb> Simetrical: oh no, let's not get into *that*. [19:50:51] <Simetrical> Duesentrieb, single quotes for '$today'. ;) [19:50:59] <Duesentrieb> oh yea! [19:51:06] <Duesentrieb> so, sanely: [19:51:26] <Simetrical> $sql = str_replace('$today', "2007-10-30", $sql); [19:51:27] <Duesentrieb> $sql = str_replace('$today', '"'+$today+'"', $sql); [19:51:33] <acook> heh.. and would this go in the extension code (SQL2Wiki.php)? [19:51:40] <Duesentrieb> hehe, my version uses the local var :) [19:51:45] <Duesentrieb> and enforces quotes. [19:51:58] <acook> yeah, it basically needs to reflect today's date (whatever it may be) [19:52:02] <Duesentrieb> acook: that would go into the extension *function* [19:52:10] <Duesentrieb> acook: $sql being whatever the input thext is called. [19:52:27] <Duesentrieb> acook: you should know a *little* about what you are doing. you are messing with explisives here. [19:52:49] <Duesentrieb> acook: getting the quoting right is essential - otehrwise you open yourself up to all kinds of attacks. [19:53:05] <acook> well, i understand sql and have written several queries using variables... i guess i just don't understand how the extension is working [19:53:10] <acook> did you take a look at the code? [19:53:23] <acook> it's relatively small [19:53:31] <Duesentrieb> acook: to avoid some confusion, i recommend to use a different syntax for the variable. not something that looks like php (because it isn't).l [19:53:38] <Duesentrieb> use %today or something [19:53:57] <Duesentrieb> acook: i don't want to look at the code, to be honest. [19:54:11] <acook> ok [19:54:18] <wikibugs> 14(INVALID) Mongolian Wikipedia Tagline - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11483 +comment (10niklas.laxstrom) [19:54:21] <TimLaqua> code for SQL2Wiki? [19:54:27] <acook> yeah [19:54:33] <TimLaqua> lemme scroll up [19:54:39] <acook> http://www.mediawiki.org/wiki/Extension:SQL2Wiki#Code [19:55:14] <TimLaqua> what does that extension even do? ;-) [19:55:35] <acook> it lets you execute a SQL statement from a page on mediawiki [19:55:46] <TimLaqua> well that sounds mighty dangerous [19:55:48] <acook> yes, i know.. not a good idea [19:55:50] <acook> hehe [19:56:03] <acook> this is a private wiki, intranet only [19:56:07] <TimLaqua> ok, so you've got it working? [19:56:24] <acook> yes, i can execute a query just fine... HOWEVER, i'm trying to set a variable [19:56:30] <acook> ..and it's not working [19:56:36] <TimLaqua> okie [19:56:53] <acook> for example, i am trying to query results that match today's date.... [19:57:04] <TimLaqua> ah [19:57:06] <TimLaqua> mysql? [19:57:15] <Duesentrieb> TimLaqua: general theme: replace magic thingy in query by predefined value in code. caveat: quoting. [19:57:19] <acook> i'm using "SELECT * FROM wherever WHERE Date="$today" [19:57:37] <acook> and defining $today in the actual extension [19:57:37] *Duesentrieb goes back to java [19:57:40] <TimLaqua> ya, use mysql funcs [19:57:59] <Duesentrieb> ha, that's a completely different way - and a good idea :) [19:58:07] <TimLaqua> like SELECT * FROM wherever WHERE DATE = getdate() [19:58:09] <TimLaqua> OR [19:58:15] <TimLaqua> like SELECT * FROM wherever WHERE DATE = now() [19:58:17] <TimLaqua> I don't recall [19:58:18] <TimLaqua> one of those [19:58:31] <TimLaqua> and then you can convert it if you just want dateparts (like day/year, no time) [19:58:42] <TimLaqua> leave poor 'ol php alone. ;-) [19:59:02] <wikibugs> 14(DUP) Page size not displayed in some special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10356 +comment (10niklas.laxstrom) [19:59:04] <wikibugs> 03(mod) What links here navigation on hr wikipedia is broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11991 +comment (10niklas.laxstrom) [19:59:15] <acook> ok, that sounds like a great idea... now, is there any way to get the formatting of the date correct? it should be YYYY-MM-DD [19:59:25] <TimLaqua> yup [19:59:30] <TimLaqua> one sec, i'll go look it up [19:59:34] <Simetrical> That's the usual MySQL date format. [19:59:38] <acook> i guess i could look it up :) [19:59:43] <TimLaqua> indeed, you could [19:59:50] <TimLaqua> but then what would we do to feel important? [20:00:01] <TimLaqua> suppose we could like... fix some bugs or something... [20:00:44] <acook> my DATE colum is stored like this ... {ts 'YYYY-MM-DD HH:MM:SS'} [20:00:50] <TimLaqua> yup [20:01:12] <acook> ...so could i do WHERE DATE={ts 'now() 00:00:00'} ? [20:01:27] <acook> ...or whatever it is [20:01:33] <TimLaqua> "one sec" [20:02:20] <TimLaqua> NOW() [20:02:22] <chuck> hi, i'm trying to use the Farmer mediawiki extension, and i keep getting an error like this when i try to make a new wiki: from within function "Article::insertOn". MySQL returned error "1146: Table 'openshells.testpage' doesn't exist [20:02:24] <chuck> any idea why? [20:03:03] <TimLaqua> oh, I see. [20:03:16] <acook> ok, so "SELECT * FROM blah WHERE DATE={ts 'NOW() 00:00:00'}" should work? [20:03:32] <wikibugs> 03(mod) Fix portal_talk namespace in Malay language Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9907 +shell; summary; +comment (10niklas.laxstrom) [20:03:47] <TimLaqua> eh? no, that won't work [20:04:10] <acook> does it need to be escaped [20:04:42] <TimLaqua> SELECT * FROM wherever WHERE DATE(datefield)=CURDATE() [20:05:00] <TimLaqua> for mysql anyway [20:05:08] <acook> yeah, it's mySQL [20:05:14] <TimLaqua> 5.x? [20:05:17] <TimLaqua> or 4? [20:05:19] <acook> yes [20:05:20] <acook> 5 [20:05:25] <TimLaqua> k, then that should work [20:06:29] <acook> ok, so to plug that into my original query would be "SELECT * FROM blah WHERE DATE(datefield)={ts 'CURDATE() 00:00:00'}" ? [20:06:40] <acook> ...or should I just leave out the 00:00:00? [20:06:40] <TimLaqua> what's this TS stuff? [20:07:02] <acook> that's how the date/time values are store in the table [20:07:33] <TimLaqua> try exactly what I typed [20:08:04] <TimLaqua> maybe you have to singlequote one of them... I don't recall. lemme know if it throws an error. [20:09:39] <AlphaOmega> ok, i have a mysql xml dump of my wikidb in 1.8.5 version, and i just installed 1.11.0 version and its empty, what do i do first? [20:09:57] <AlphaOmega> i tried upgrading and it got borked [20:10:10] <acook> hmmm, yeah, that didn't work. if there's an easy way to make mySQL return a date as YYYY-MM-DD, that's all i really need... [20:10:31] <TimLaqua> that's that CURDATE() returns [20:10:49] <acook> the table that I'm pulling from stores the date as {ts 'YYYY-MM-DD HH:MM:SS'} [20:10:55] <acook> i'm not really sure why.. heh [20:11:00] <TimLaqua> yeah. that's a mysql timestamp [20:11:28] <TimLaqua> so if you do DATE('YYYY-MM-DD HH:MM:SS') it just returns the YYYY-MM-DD part [20:11:39] <TimLaqua> i.e. what I typed earlier. [20:11:48] <AlphaOmega> ahem, i have a mysql xml dump of my wikidb in 1.8.5 version, and i just installed 1.11.0 version and its empty, what do i do first to upload my sql data, whats the procedure , wheres the docs for this please? [20:12:01] <TimLaqua> ahem? [20:12:14] <wikibugs> 03(WONTFIX) Move mo to mo-cyr, set up new Latin-based mo - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4409 +comment (10pathoschild) [20:12:52] <acook> yeah, if i actually type SELECT * FROM blah WHERE date={ts '2007-11-30' 00:00:00'}, i actually get the right results [20:13:05] <CIA-39> 03brion * r27990 10/trunk/extensions/Wikidata/util/ (7 files): [20:13:05] <CIA-39> Unsafe scripts... [20:13:05] <CIA-39> * Using include() to load configuration files, with MEDIAWIKI constant forced to true. [20:13:05] <CIA-39> * If config files not present, code will execute with warnings, allowing register_globals settings to overwrite various database connection information which will be passed into connection functions. [20:13:05] <CIA-39> * Generally looks horrid and not something I want in my code tree. [20:13:10] <acook> i just want the 2007-11-30 part to change to the current date [20:13:29] <AlphaOmega> TimLaqua: yeah, im being ignored, while ppl flood paste the channel [20:14:09] <acook> it looks like me and Tim have just been talking... I don't recall anyone flood pasting [20:14:17] <TimLaqua> nobody did [20:14:27] <TimLaqua> where's this {ts ...} syntax from? [20:15:08] <acook> well, long story short.... there's a seperate script out there that pulls results from a sybase DB and dumps them in this mySQL db... [20:15:24] <acook> the "Date" column has the results stored like that [20:15:36] <acook> must be a sybase thing [20:15:47] <AlphaOmega> fuggit, i thought CIA-39 was a user [20:16:14] <acook> see, in a normal PHP page, i would define $today as a php variable and plug it into my query... it works every time [20:16:23] <Simetrical> Ouch, crackdown on third-party extensions in trunk. [20:16:55] <TimLaqua> no doubt [20:17:27] <Falcon27890> Hi, can anyone help me with a little problem while installing wikimedia? [20:18:27] <TimLaqua> $result = mysql_query ($input); yikes. [20:19:01] <acook> so Tim, is there a way to plug the mysql variable into the YYYY-MM-DD part? [20:19:14] <TimLaqua> it's running a mysql query [20:20:02] <acook> yeah [20:20:39] <TimLaqua> mysql should throw up on that {ts ...} garbage [20:20:50] <acook> haha [20:21:04] <TimLaqua> so the database that you're querying. [20:21:45] <TimLaqua> if you look at the tables (mysql tables), you see timestamps of 'YYYY-MM-DD HH:MM:SS' [20:21:46] <TimLaqua> right? [20:22:51] <brion-office> srv70, srv78 giving host key identification warnings [20:24:04] <acook> yes, if i look at the column "Date".... the values are stored as {ts YYYY-MM-DD 'HH:MM:SS'} [20:24:07] <acook> with { and all [20:24:13] <TimLaqua> ah [20:24:23] <TimLaqua> strings? [20:24:24] <acook> and i think it's just the way it's getting dumped from the other DB [20:25:25] <CIA-39> 03nikerabbit * r27991 10/trunk/extensions/SemanticForms/languages/ (SF_LanguageZh_cn.php SF_LanguageZh_tw.php): fixing parse errors [20:25:49] <acook> strings? [20:26:16] <brion-office> <b>Notice</b>: Undefined variable: file in <b>/opt/web/pages/trunk/languages/Language.php</b> on line <b>1994</b><br /> [20:26:20] *brion-office grrr [20:26:26] <Nikerabbit> hmm [20:26:31] *Nikerabbit hides [20:26:42] <TimLaqua> SELECT * FROM wherever WHERE datefield=CONCAT('{ts \'',CURDATE(),' 00:00:00\'}') [20:26:43] <TimLaqua> lol [20:26:47] <TimLaqua> that's bound to work. [20:26:55] <acook> haha [20:27:00] <acook> ok, one sec :) [20:27:17] <acook> one question first... what is the CONCAT? [20:27:23] <TimLaqua> concatenate [20:27:30] <TimLaqua> squishes strings together [20:27:50] <Nikerabbit> oh, it wasn't me \o/ [20:28:08] <acook> ok, now this column isn't a date/time type... it's VARCHAR [20:28:28] <TimLaqua> and? [20:28:43] <acook> so they're stored as plain text... and not actual dates [20:28:47] <TimLaqua> ya [20:28:50] <acook> ok [20:28:51] <TimLaqua> er... that's what i'm assuming [20:28:56] <TimLaqua> from what youd described [20:29:10] <acook> yes, just wanted to make sure... [20:29:21] <TimLaqua> did that work? [20:29:52] <CIA-39> 03brion * r27992 10/trunk/phase3/languages/Language.php: Don't spew notices all over everything... $file variable apparently no longer exists [20:29:52] <acook> testing [20:30:13] <acook> should i replace datefield with Date? (that's the name of the column) [20:30:18] <TimLaqua> yeah [20:32:44] <acook> hmmm, no go. here's the actual query i executed .. SELECT * from changes WHERE ShortDes LIKE '%Lawson%' AND (Date=CONCAT('{ts \'',CURDATE(),' 00:00:00\'}')); [20:32:50] <acook> just got no results [20:33:14] <TimLaqua> should it have results? [20:34:05] <acook> one sec... [20:36:15] <acook> ok, if I execute "SELECT * from changes WHERE ShortDes LIKE '%Lawson%' AND Date>={ts '2007-11-30 00:00:00'};", I get the results I want [20:36:28] <acook> that's perfect... [20:37:03] <TimLaqua> so change the equal in our query to >= [20:38:03] <acook> still no results :( [20:38:10] <acook> could it be the ' ' around the date? [20:38:18] <TimLaqua> do you have a mysql CLI open? [20:38:31] <TimLaqua> one sec, i'll open one. [20:38:39] <acook> i can :) [20:39:09] <acook> it's open [20:39:45] <TimLaqua> SELECT CONCAT('{ts \'',CURDATE(),' 00:00:00\'}'); [20:40:15] <TimLaqua> should return: {ts '2007-11-30 00:00:00'} [20:40:19] <TimLaqua> right? [20:40:42] <acook> let's see... [20:41:43] <acook> yes [20:41:48] <acook> it did :) [20:42:01] <acook> i think i see the problem [20:42:04] <acook> nevermind [20:42:09] <TimLaqua> eh? [20:42:30] <acook> ok, let's try the full query [20:44:05] <acook> hmmm, empty set again [20:44:23] <TimLaqua> SELECT * from changes WHERE ShortDes LIKE '%Lawson%' AND [20:44:23] <TimLaqua> DATE(MID(Date,5,19))=CURDATE(); [20:44:25] <TimLaqua> ? [20:44:28] <TimLaqua> how about that one [20:45:40] <acook> FUNCTION change_calendar.Date does not exist [20:45:51] <TimLaqua> umm.... [20:46:36] <TimLaqua> MID(Date,5,19)=CURDATE() [20:46:39] <TimLaqua> how about that? [20:47:27] <Kaare> brion, on the pagelinks problem: it seems that I got an incomplete database dump, unless there were only ten tables in version 1.5.7 - I'm going to slap the responsible person around for wasting our time [20:47:33] <TimLaqua> oop... [20:47:53] <TimLaqua> MID(Date,5,10)=CURDATE() the actual date part is only 10 long, 19 is the whole TS [20:48:35] <acook> hmmm, i'm getting an error... one sec [20:49:10] <acook> empty set, 23 warnings [20:49:42] <acook> what's the easiset way to produce YYYY-MM-YY? [20:49:51] <acook> NOW() ? [20:49:56] <TimLaqua> CURDATE() [20:50:03] <TimLaqua> NOW() is the entire timestamp [20:50:18] <acook> so shouldn't SELECT * from changes WHERE ShortDes LIKE '%Lawson%' AND Date>={ts 'CURDATE() 00:00:00'}; [20:50:20] <acook> work? [20:50:40] <TimLaqua> CURDATE() is inside a singlequoted string [20:51:26] <acook> so there's no way to plug it in there? [20:51:29] <acook> with \ ? [20:52:19] <acook> btw, i get an empty set when I execute that [20:53:42] <TimLaqua> how about Date=date_format(CURDATE(), '{ts \'%Y-%m-%d 00:00:00\'}') [20:53:47] <TimLaqua> er, >= [20:54:19] <TimLaqua> acook: in your mysql cli, type DESC changes; [20:54:29] <TimLaqua> what datatype is the Date field? [20:54:58] <acook> VARCHAR [20:55:12] <acook> empty set Tim [20:55:25] <TimLaqua> try ere's no way to plug it in there? [20:55:25] <TimLaqua> [14:51] <acook> with \ ? [20:55:25] <TimLaqua> [14:51] *** Versusray quit (Nick collision from services.) [20:55:25] <TimLaqua> [14:51] *** Versusray (n=chatzill@p4FCFD13C.dip.t-dialin.net) joined [20:55:26] <TimLaqua> [14:52] <acook> btw, i get an empty set when I execute that [20:55:26] <TimLaqua> [14:53] <TimLaqua> how about Date=date_format(CURDATE(), '{ts \'%Y-%m-%d 00:00:00\'}') [20:55:28] <TimLaqua> [14:53] <TimLaqua> er, >= [20:55:30] <TimLaqua> [14:54] <TimLaqua> acook: in your mysql cli, type DESC changes; [20:55:32] <TimLaqua> [14:54] <TimLaqua> what datatype is the Date field? [20:55:34] <TimLaqua> [14:54] <acook> VARCHAR [20:55:36] <TimLaqua> oop [20:55:39] <acook> hehe [20:55:40] <TimLaqua> evil buffer. [20:56:22] <TimLaqua> Date>='{ts '2007-11-30 00:00:00'}' [20:56:24] <TimLaqua> try that [20:56:32] <TimLaqua> er, escape the inside single quotes [20:56:44] <TimLaqua> '{ts \'2007-11-30 00:00:00\'}' [20:57:05] <acook> well, if i don't escape them, it's fine.. [20:57:24] <acook> SELECT * from changes WHERE ShortDes LIKE '%Lawson%' AND Date>={ts '2007-11-30 00:00:00'}; [20:57:33] <acook> works great... [20:58:30] <TimLaqua> umm... [20:59:17] <TimLaqua> Date>={ts CONCAT(CURDATE(),' 00:00:00')} [21:00:16] <acook> yay [21:00:17] <acook> haha [21:00:23] <acook> wow [21:00:28] <TimLaqua> that shouldn't work as far as i'm concerned. [21:00:30] <TimLaqua> ;-) [21:00:33] <acook> lol [21:00:52] <TimLaqua> gl. g2g. [21:00:58] <acook> one sec! [21:01:04] <TimLaqua_away> yes? [21:01:04] <acook> oh ok...thanks :) [21:01:08] <acook> oooh [21:01:23] <acook> just for future reference, if I want to call tomorrow... [21:01:28] <acook> can i add +1 or something? [21:02:30] <acook> btw, if you're ever in AZ, I'll buy you a beer!! :) [21:03:06] <TimLaqua_away> Date>={ts CONCAT(DATE_ADD(CURDATE(), INTERVAL 1 DAY),' 00:00:00')} [21:03:15] <TimLaqua_away> ;-) [21:03:38] <acook> you da man! [21:03:42] <acook> thanks again!!!! [21:03:55] <TimLaqua_away> np. [21:04:18] <acook> and is there a DATE_SUBTRACT for yesterday? [21:04:24] <TimLaqua_away> nope [21:04:25] <acook> actually, i can look it up :) [21:04:30] <TimLaqua_away> INTERVAL -1 DAY [21:04:35] <acook> got it [21:04:35] <TimLaqua_away> later for real. ;-) [21:04:38] <acook> thanks! [21:11:16] <yoniDeBest> anyone know if there is an asp vb channel here somewhere? [21:14:28] <wikibugs> 03(mod) Install the StringFunctions extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6455 (10brion) [21:31:22] <wikibugs> 03(mod) Specify timezones by location, to allow automatic adjustments of timeoffset and daylight saving time (DST ) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=505 (10brion) [21:33:12] <hiS_oWn> hi [21:33:22] <hiS_oWn> my mediawiki isn't thumbnailing at all [21:33:58] <Skizzerz> are you using the |thumb parameter in the image syntax? [21:34:12] <hiS_oWn> before it would just produce an error until i enabled '$wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php" [21:34:24] <Skizzerz> what error? [21:34:37] <Skizzerz> are you on a shared webhost by any chance? [21:34:43] <hiS_oWn> no dedicated [21:34:53] <Skizzerz> ok... so then it's probably not that [21:35:00] <hiS_oWn> it's a server box sitting in the next room over, dedicated ip [21:35:24] <hiS_oWn> previously it had the "error cannot produce thumbnail.convert then a path to my image directory" [21:35:28] <Duesentrieb> hiS_oWn: using thumb.php is probably not what you want... [21:36:01] <Duesentrieb> hiS_oWn: it seems to be trying to use imagemagick's convert, but failing to do that. [21:36:10] <wikibugs> 03(mod) Allow hiding of Cite.php references - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8033 (10brion) [21:36:13] <Duesentrieb> hiS_oWn: make sure it's installed and usable from php. [21:36:17] <Duesentrieb> or disable it and use GD [21:36:47] <hiS_oWn> convert is 777 [21:36:57] <hiS_oWn> i mean rx-rx-rx [21:37:19] <hiS_oWn> when i disable thumb.php i get this error: "Error creating thumbnail: convert: unable to open image `/var/www/html/img/d/da/G8display.JPG': Permission denied. convert: missing an image filename `/var/www/html/img/thumb/d/da/G8display.JPG/100px-G8display.JPG'." [21:37:22] <Duesentrieb> is it on the path php uses? is php prevented from using it by some safe-mode settings? [21:37:32] <hiS_oWn> not sure how to check that [21:37:35] <Duesentrieb> can convert write to the thumbs directory? [21:37:51] <hiS_oWn> thumbs directory is 777 [21:37:51] <Duesentrieb> phpinfo would be the first thing [21:38:06] <Duesentrieb> make sure safemode is off [21:38:07] <Duesentrieb> oh, and: [21:38:09] <Duesentrieb> !thumb [21:38:09] <mwbot> For information on configuring thumbnailing on MediaWiki, please refer to <http://www.mediawiki.org/wiki/Manual:Image_Administration#Image_thumbnailing>. [21:38:46] <Duesentrieb> also: [21:38:49] <Duesentrieb> !safemode [21:38:49] <mwbot> safe_mode is an ill-concieved, broken-by-design setting in PHP that is supposed to make broken scripts safe. It was deprecated in PHP5 and removed in PHP6. MediaWiki can run with safe_mode enabled, but many of the advanced features will not work or need additional configuration (image thumbnailing using ImageMagick, for example). See http://www.mediawiki.org/wiki/Safe_mode for more information. [21:39:12] <wikibugs> 03(mod) New-messages bar not coming up and/ or getting stuck up for IP addresses - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9213 (10brion) [21:40:03] <NicoV> !delete [21:40:31] <NicoV> hi, is there an easy way to delete a user from a mediawiki installation ? [21:40:32] <Duesentrieb> NicoV: click the "delete" tab :) [21:40:37] <Duesentrieb> no. [21:40:41] <Duesentrieb> users can not be deleted [21:40:53] <Duesentrieb> they are part of the revision history and logs [21:41:06] <Duesentrieb> you can block users, and rename them. [21:41:23] <NicoV> too bad, I'd like to clean up my own wiki that has been spammed a lot [21:41:26] <Duesentrieb> with a bit of hackery, you can also garble passowrds to make an account completely unusable. [21:42:02] <jlerner> NicoV: you can rename users with an extension to something that will at least show up at the end of a list of users [21:42:07] <jlerner> like ZZoldusername [21:42:13] <Duesentrieb> NicoV: just ignore them. [21:42:38] <NicoV> yes, but "blocking users" seems to cause troubles on my wiki [21:42:45] <Duesentrieb> o_O [21:42:53] <Duesentrieb> how so? [21:43:11] <NicoV> some registered users can't edit from time to time because mw says that there IP is blocked [21:43:22] <NicoV> but the blocked IP is not theirs [21:43:38] <Duesentrieb> automblocks [21:43:49] <NicoV> ? [21:43:59] <Duesentrieb> it happens when a blocked user uses an ip. then the ip is automatically blocked [21:44:02] <Duesentrieb> (but is never shown in clear) [21:44:24] <Duesentrieb> this is a bit obscure - iirc, you can simply choose to not use autoblocks when blocking a user [21:44:39] <NicoV> ah, ok, that could explain the problem [21:45:13] <Duesentrieb> not sure if there's any good documentation on this... on wikipedia, probably [21:45:23] <NicoV> but the mw message is clearly not understandable: usually it says IP x.x.x.x is blocked but the user seeing the problem has an other IP [21:45:37] <Duesentrieb> h hackish way to get rid of this: set $wgAutoblockExpiry to something low. [21:45:38] <Duesentrieb> http://www.mediawiki.org/wiki/Manual:%24wgAutoblockExpiry [21:45:55] <NicoV> ok, will try that, tks [21:46:28] <hiS_oWn> okay, back. [21:46:31] <hiS_oWn> safemode is off [21:46:53] <Duesentrieb> NicoV: see http://en.wikipedia.org/wiki/Wikipedia:Autoblock [21:47:23] <Duesentrieb> hiS_oWn: well... convert is failing in some way. try to find out how. maybe the debug log can tell you [21:47:24] <Duesentrieb> !debug [21:47:24] <mwbot> For information on debugging (including viewing errors), see <http://www.mediawiki.org/wiki/How_to_debug>. [21:47:28] <NicoV> strange, default value for $wgAutoblocExpiry is 1 day, and I experienced problems with a much longer delay [21:47:49] <Duesentrieb> NicoV: no idea... might be some other problem, i don't know. [21:48:40] <Duesentrieb> hiS_oWn: the debug log should tell you what command exactly mediawiki is tryoing to execute. you whould be able to experminet with that - from the command line, and maybe from a php file that contains nothing but that call. [21:49:15] <NicoV> I have upgraded to 1.11.0 yesterday, maybe it will be enough [21:49:17] <NicoV> otherwise, I will try lowering $wsAutoblockExpiry [21:49:40] <hiS_oWn> duesentrieb: where do i find the debug log? [21:50:19] <Skizzerz> question about isAllowed(), can you pass a parameter inside the parens (like isAllowed($right) ) instead of just a static right? [21:50:27] <Skizzerz> or does that not work? [21:51:56] <Duesentrieb> Skizzerz: you can use variables pretty much anywhere where you can use a constant or literal... that has nothing to do with isAllowed or mediawiki. it's a simple fact of php (and most other programming languages) [21:52:09] <Duesentrieb> hiS_oWn: wherever you put it. read the link [21:52:16] <Skizzerz> ok, because I was testing that in a parser function, but it didn't appear to work [21:52:30] <Duesentrieb> You Are Doing Something Wrong Then (tm) [21:52:41] <Skizzerz> yeah, figured that much out already [21:52:48] <Skizzerz> just need to figure out what I'm doing wrong [21:52:50] <Duesentrieb> Skizzerz: turn on full error reporting while testing [21:53:03] <wikibugs> 03(mod) New-messages bar not coming up and/ or getting stuck up for IP addresses - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9213 (10slakr) [21:53:03] <Skizzerz> ok... via? [21:53:05] <Duesentrieb> ok, once again: [21:53:07] <Duesentrieb> !debug [21:53:07] <mwbot> For information on debugging (including viewing errors), see <http://www.mediawiki.org/wiki/How_to_debug>. [21:53:42] <Telemac> Hello [21:53:44] <Skizzerz> ty [21:54:24] <Telemac> Does mediawiki has 'view' restriction (like 'edit' or 'move') ? [21:54:54] <Duesentrieb> Telemac: yes, but it's not air tight. [21:54:59] <Duesentrieb> mediawiki is not intended for that [21:55:02] <Duesentrieb> !cms [21:55:02] <mwbot> You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See <http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions> if you really want too. [21:55:17] <Duesentrieb> also: [21:55:21] <Duesentrieb> !access | Telemac [21:55:21] <mwbot> Telemac: 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>. [21:56:40] <Telemac> Duesentrieb: I'm ok with that and I want wiki, but I mean that mediawiki manage restriction for edit or create or move but it doesn't seem to work for view (with wgRestrictionType) [21:59:45] <Duesentrieb> Telemac: i don't know, frankly. it should be possible to introduce that restriction. but restricting viewing may not have been tested, since it's not really something that happens on a wiki. [22:00:07] <Telemac> It seems there is no 'view' action checked against those restrictions. I [22:00:16] <Duesentrieb> Telemac: i know the view restriction generally works, you can use it withj stuff like the Lockdown extension, or other userCan-hook based extensions [22:00:29] <Duesentrieb> so, "view" is checked. [22:01:02] <hiS_oWn> Okay i figured it out [22:01:05] <hiS_oWn> it's creating the thumb [22:01:07] <Duesentrieb> Telemac: ah.... wait :) [22:01:13] <hiS_oWn> but it's adding a '/' at the end, making it a folder [22:01:19] <Duesentrieb> Telemac: it's called "read" - i fell for that myself before :) [22:01:33] <Duesentrieb> hiS_oWn: that's normal. [22:01:41] <hiS_oWn> ah nm [22:01:49] <Duesentrieb> hiS_oWn: it creates a folder named like the image, to put all the thumbs into it. [22:01:51] <hiS_oWn> okay thne it's obviously never creating it [22:02:12] <Duesentrieb> yes. log what it's trying to execute. [22:02:15] <Duesentrieb> then play with that [22:03:01] <Telemac> Duesentrieb: I've added some debug in userCan but I don't see check for 'view' or 'read' in fact, and there is no message for that in languages dir. [22:03:02] <hiS_oWn> Duesentrieb: did the error_reporting(E_ALL); [22:03:03] <hiS_oWn> ini_set("display_errors", 1); from the link, but it doesn't post any errors [22:04:30] <Duesentrieb> Telemac: it may be that there is no message. i know that userCan is checked, otherwise you could read this: http://brightbyte.de/page/Private:Exam [22:04:56] <Duesentrieb> hiS_oWn: read the further down on that page. read about logging. [22:05:34] <Duesentrieb> hiS_oWn: your problem is not a php error. so the error_reporting stuff doesn't help you. though it's good to have on while debugging, as a default. [22:05:40] <Duesentrieb> remember to turn it back off later though [22:05:51] <hiS_oWn> hm kk [22:06:36] <Duesentrieb> Telemac: if per-namespace permissions would be sufficient, use Lockdown [22:06:43] <wikibugs> 03(mod) Install the StringFunctions extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6455 (10ssanbeg) [22:08:47] <Telemac> Duesentrieb: I don't understand. I've set sysop-only for read on protection form of page (edit=sysop:move=sysop:read=sysop) but I still can view it when I logout [22:09:16] <hiS_oWn> stupid question: do i have to restart the server to have the changes in php.ini propogate? [22:09:42] <Duesentrieb> Telemac: as i said: i know userCan gets called. i do not know if the per-page protection stuff works right for the "read" permission (as it should). [22:10:00] <Duesentrieb> Telemac: i'm suggesting to use a known-to-work extension that does something similar to what you want. [22:10:23] <Duesentrieb> hiS_oWn: i don't think so. php starts fresh for every request. [22:10:38] <Duesentrieb> hiS_oWn: but... err... what changes in php.ini? [22:10:42] <Duesentrieb> none should be needed [22:10:46] <hiS_oWn> nm i changed them back >_< [22:10:50] <hiS_oWn> read wrong thing [22:10:58] <hiS_oWn> XD [22:12:36] <Telemac> Duesentrieb: According my test per-page protection doesn't work for read [22:13:36] <Duesentrieb> Telemac_: report a bug then [22:14:09] <Duesentrieb> Telemac_: but if according to your test userCan doesn't get called at all, something is wrong with your test. or... you are using a veeery old version? [22:14:18] <CIA-39> 03shinjiman * r27993 10/USERINFO/shinjiman: Adding myself! [22:14:33] <Telemac_> Duesentrieb: No it is called, but not for read or view [22:14:55] <Duesentrieb> yes. but it is also called for read. [22:15:06] <Duesentrieb> otherwise, my extension wouldn't work :) [22:15:08] <Duesentrieb> which it does. [22:15:22] <Telemac_> mediawiki-1.10 [22:15:36] <Duesentrieb> 1.10 should be new anough... just barely. [22:15:54] <Duesentrieb> before that, read permissions could be easily circumvented [22:16:07] <Duesentrieb> and they stull can, if you are not very carefull. [22:16:14] <CIA-39> 03shinjiman * r27994 10/USERINFO/shinjiman: fixing typo [22:16:16] <Duesentrieb> for example, a "hidden" page could be included as a template [22:16:16] <Telemac> But I really don't see any read check [22:16:29] <Duesentrieb> well, i don't know :) [22:16:34] <Duesentrieb> i only know there has to be one. [22:18:32] <Telemac> Duesentrieb: When should it be check [22:18:43] <Duesentrieb> one every page view [22:18:57] <Duesentrieb> in Title.php, function getUserPermissionsErrorsInternal [22:19:06] <Duesentrieb> test line: if ($action == "read") print "YYYYYYYYYYYAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYY"; [22:19:11] <Duesentrieb> works. i just checked. [22:19:30] <Duesentrieb> Telemac: perhaps you are simply hitting a cached version of your page when you are logged out?.... [22:20:07] <Telemac> Duesentrieb: No, I've reset browser cache and purge mediawiki cache [22:20:25] <Duesentrieb> well, then do what i did, exactly, and try again. [22:22:57] <hiS_oWn> blah i can't get error logging to work [22:23:04] <hiS_oWn> it does give me this message tho: [22:23:40] <Duesentrieb> the debug log is not an error log... it's an execution trace [22:24:01] <hiS_oWn> Warning: finfo_open() [function.fingo.****] Failed to load magic database at 'usr/share/misc/magic' in 'wiki/Includes/MimeMagic.php on line 484" [22:24:30] <hiS_oWn> really? [22:24:46] <hiS_oWn> either way i added $wgDebugLogFile to the LocalSettings.php but it does nothing [22:26:43] <hiS_oWn> also added $wgDebugDumpSql and $wgShowSQLErrors [22:28:05] <Werdna> !seen brion-away [22:28:05] <mwbot> You don't have permission to do that. [22:28:23] <Duesentrieb> hiS_oWn: the error you are seeing means that you have a fileinfo/mimemagic module for php installed, but it's not configured right. this may interfere with correct mime detection of ruploaded files. [22:28:35] <Duesentrieb> hiS_oWn: well... what did you set $wgDebugLogFile to? [22:29:01] <Werdna> dammit [22:29:05] <Werdna> missed him by 45 minutes [22:29:22] <Telemac> Duesentrieb: I've just tested with a mediawiki 1.11, adding 'read' to wgRestrictionType, setting sysop-only to read, testing in another browser but I'm still able to read page without being logged [22:29:53] <Duesentrieb> Telemac: ut userCan *does* get called with the read action? [22:30:50] <Zet> hello [22:30:57] <Duesentrieb> Telemac: again, it might be that wgRestrictionType doesn't work right in this case. would be kind of odd, but a bug worth reporting. [22:31:01] <Zet> how do I disable the toolbox for unregistered users? [22:31:26] <Duesentrieb> Telemac: it's just your assertion that userCan never gets called for read that makes me think that something is wrong with what you are doing. [22:31:36] <Duesentrieb> Zet: hack the skin. [22:31:47] <Telemac> Duesentrieb: userCan is not call for read [22:31:50] <Zet> oh :( [22:31:52] <Zet> also: how do I disable the displaying of the ip address and "talk for this ip" things at the top right of the page? [22:31:56] <hiS_oWn> duesentrieb: $wgDebugLogFile = "$wgScriptPath/error_log.txt" [22:32:04] <Duesentrieb> Zet: that's a configuration setting. [22:32:25] <Duesentrieb> hiS_oWn: well, $wgScriptPath is generally not writable... at least, it shouldn't be. [22:32:45] <Duesentrieb> Zet: $wgShowIPinHeader [22:33:01] <Zet> ok thanks [22:33:01] <hiS_oWn> should the path be in my web directory or can it be any old directory on my system? ie www/temp/log.txt or /var/lib/log.txt [22:33:05] <Duesentrieb> Telemac: well, it is for me :) and also was in 1.10. so... something is off. [22:33:23] <Duesentrieb> hiS_oWn: any directory. i tend to use /tmp [22:33:38] <Duesentrieb> hiS_oWn: stuff under www should generally not be writable... [22:33:48] <Duesentrieb> with the exception of the image dir [22:33:50] <Telemac> Duesentrieb: my mediawiki 1.11 is one d/l from official website, without any patch [22:34:11] <Duesentrieb> Telemac: it's magic pixies then. i don't know. [22:37:59] <hiS_oWn> Diesentrieb: that did the trick [22:39:07] <Telemac> Duesentrieb: Does wgGroupPermissions['*']['read'] = true; could prevent protection check ? [22:39:43] <Duesentrieb> Telemac: no, generally, restrictions checks should override this. after all, it's also true for edit. [22:40:24] <Telemac> have added some debug in getUserPermissionsErrorsInternal but for me it never get call for read (or view) [22:40:35] <Duesentrieb> Telemac: anyway, you got me to test it myself. userCan *does* get called for read, on every page view. however, read protection using the restriction stuff does not appear to work as expected. [22:40:45] <Duesentrieb> Telemac: so, go ahead and report it [22:41:09] <Duesentrieb> Telemac: and a "view" permission does not exist.ö [22:41:38] <hiS_oWn> Diesemtrieb: from what i can deduce from the log file, there's a bunch of User::isblockedFrom: enter [22:42:19] <Duesentrieb> hiS_oWn: ignore all the cruft. search for convert. use grep (with a bit of context) [22:42:36] <Duesentrieb> hiS_oWn: the debug trace is noisy. [22:45:31] <CIA-39> 03david * r27995 10/trunk/extensions/LiquidThreads/README: Typo in README [22:45:48] <hiS_oWn> Duesentrieb: found all the convert references [22:47:50] <hiS_oWn> as far as i can tell everything is correct except nothing's being created [22:48:09] <hiS_oWn> reallyRenderThumb: running ImageMagick: '/usr/local/bin/convert' -quality 80 -background white -size 180 '/var/www/html/img/8/8e/ChinaMountains.jpg' -resize '180x320!' -depth 8 '/var/www/html/img/thumb/8/8e/ChinaMountains.jpg/180px-ChinaMountains.jpg' 2>&1 [22:48:11] <hiS_oWn> wfShellExec: '/usr/local/bin/convert' -quality 80 -background white -size 180 '/var/www/html/img/8/8e/ChinaMountains.jpg' -resize '180x320!' -depth 8 '/var/www/html/img/thumb/8/8e/ChinaMountains.jpg/180px-ChinaMountains.jpg' 2>&1 [22:48:12] <hiS_oWn> Saved in parser cache with key wikidb:pcache:idhash:1383-0!1!0!0!!en!2 and timestamp 20071130224028 [22:49:51] <hiS_oWn> is it because i have it pointing to my www folder? [22:52:56] <MZMcBride> Werdna: you around? [22:55:24] <Duesentrieb> hiS_oWn: no, that should be fine [22:55:37] <Duesentrieb> hiS_oWn: can you run that exact comand (copy&paste) on the command line? [22:56:46] <Werdna> I may well be [22:57:08] <Duesentrieb> hiS_oWn: next step: make a new php file that contains nothing but a shell_exec of that line [22:57:17] <Duesentrieb> and then call it from the browser [22:57:22] <Werdna> MZMcBride: yeees? [22:57:39] <MZMcBride> i saw your comments on WP:VP/T around protected titles [22:58:05] <MZMcBride> how difficult would it be to get an extension like BlockTitle installed [22:58:18] <MZMcBride> it solves the entire parser / ifexist issue altogether [22:58:34] <MZMcBride> http://www.mediawiki.org/wiki/Extension:BlockTitles [22:58:35] <Werdna> well no, it doesn't. ifexist isn't used ONLY on protectedtitles [22:58:50] <MZMcBride> yeah, i meant for this particular problem [22:59:09] <Duesentrieb> there's a massive problem with potd pages on commons, too :) [22:59:21] <CIA-39> 03shinjiman * r27996 10/trunk/tools/planet/pt/www/images/ (. feed-icon-10x10.png logo.png planet.png): add the missing images directory for the planet pt [22:59:22] <Duesentrieb> (2000xifexists, and still only half the page works) [22:59:42] <MZMcBride> Duesentrieb: can i have a link? [22:59:57] <hiS_oWn> Duesentrieb: yes i can it creates it just fine, and if i do it by hand, as long as i use the one they created, it works [23:00:19] <MZMcBride> Werdna: the protected titles problem seems like the easiest thing to fix with the new restriction in place [23:00:30] <Werdna> MZMcBride: BlockTitles doesn't allow admins to protect pages. [23:00:52] <Werdna> it allows /systems administrators/, with access to LocalSettings.php, to protect titles. [23:01:05] <Duesentrieb> MZMcBride: http://commons.wikimedia.org/wiki/Template:Potd/2007-12 [23:01:10] <MZMcBride> ah, shit [23:01:19] <MZMcBride> well what about something like Bad image list, then? [23:01:40] <MZMcBride> i misread that extension (obviously); thought it made life simpler [23:01:50] <MZMcBride> Duesentrieb: thanks [23:01:51] <Duesentrieb> MZMcBride: ah, i see all images now. i guess tim cranked the limit way up [23:01:53] <Werdna> I could do it that way, but bad image list is a hideous misuse of mediawiki localisation for configuration. [23:01:57] <Werdna> of course, the two could be merged [23:02:15] <Werdna> somebody needs to sit down and write it for a day. I might get around to it at some stage. [23:02:17] <MZMcBride> Duesentrieb: yeah, there's a one week grace period, i believe [23:03:21] <Duesentrieb> MZMcBride: well, i guess any solution would be appreciated then :) [23:03:30] <hiS_oWn> DAMN >_< [23:03:31] <hiS_oWn> STUPID [23:03:46] <hiS_oWn> Duesentrieb: figured it out, the pictures in the img folder are all read-only [23:04:02] <hiS_oWn> wait, that shouldn't make a dif [23:04:02] <MZMcBride> i have a stupid question: each page already has to have links checked to see if they exist; why can't ifexist do something similar? [23:04:22] <Duesentrieb> hiS_oWn: as long as the directories are all writable, it should work [23:04:54] <hiS_oWn> Duesentrieb: I don't get it, i keep getting this error message: Error creating thumbnail: convert: unable to open image `/var/www/html/img/d/da/G8display.JPG': Permission denied. convert: missing an image filename `/var/www/html/img/thumb/d/da/G8display.JPG [23:05:23] <hiS_oWn> G8display.JPG is readable, convert has RX for all groups, the source and destination path are both writable [23:05:42] <hiS_oWn> is it because img is a symantic link? [23:08:26] <Duesentrieb> hiS_oWn: unlikely, but possible. oooohhh... and, are you maybe useing SE linux? in that case, check ACLs [23:10:01] <Duesentrieb> hiS_oWn: also, are you able to reproduce this error with a plain php file that contains nothing but <? passthru("whatever your command was") ?> ? [23:14:21] <hiS_oWn> yes [23:14:41] <hiS_oWn> Duesentrieb: when i use the passthru command, I get the same error message [23:14:58] <Duesentrieb> gooooood.... then it's not a mediawiki problem :) [23:15:14] <Werdna> what distro areyou using? [23:15:34] <hiS_oWn> Duesentrieb: Red Hat with Apache i believe, MediaWiki version 1.6 [23:15:39] <hiS_oWn> Duesentrieb: lol [23:15:41] <Duesentrieb> hiS_oWn: keep changing things. like, the file to convert, its location, and where to put the result [23:15:52] <Duesentrieb> hiS_oWn: ugh. MW 1.6... *WHY* ? [23:15:59] <Duesentrieb> but it'S unrelated to MW or apache [23:16:07] <Duesentrieb> it's also not PHP. [23:16:11] <hiS_oWn> Duesentrieb: i did not setup the server, i've inherited it from a predecessor [23:16:24] <Duesentrieb> hiS_oWn: upgrade :) [23:16:29] <hiS_oWn> lol [23:16:29] <Duesentrieb> !upgrade [23:16:29] <mwbot> http://www.mediawiki.org/wiki/Manual:Upgrading [23:16:53] <Duesentrieb> hiS_oWn: but as i said: this is unrelated. [23:17:02] <Duesentrieb> hiS_oWn: what happens if you do this from the command line? [23:17:34] <Duesentrieb> oh, and what does it give you if you run whoami via passthru? [23:18:04] <Duesentrieb> hiS_oWn: and do check if you have SE mode enabled. [23:18:27] <Duesentrieb> i donÄt know much about it, only so much that it can confuse you if you don't know it's there :) [23:19:05] <hiS_oWn> Duesentrieb: if i run from command line as root, it works. [23:19:19] <hiS_oWn> if i run whoami via passthru i get "apache" [23:19:30] <Duesentrieb> hiS_oWn: well, don't run it as root. run it as the user the php uses. which is what whoami tells you [23:19:34] <hiS_oWn> and i've been reading up to see if i do have SE mode enabled [23:19:38] <Duesentrieb> yea. so, su - apache [23:19:40] <Duesentrieb> then try again [23:20:19] <hiS_oWn> su apache gives me "this account is not currently available" [23:20:36] <Duesentrieb> o_O [23:20:42] <Duesentrieb> whatever... whyever... [23:20:44] <yoniDeBest> Hi, i tried calling a page in vb with WebRequest. the page was ...index?title=...&action=raw. What I received was wiki code. I tired using action=render but got a timeout error. what am i doing wrong? [23:21:34] <Duesentrieb> hiS_oWn: anyway, this is pretty much down to file permissions. perhaps try something simpler instead of convert, to remove even more factors. for example, try runng the file command on the image file. [23:22:02] <hiS_oWn> i think you were on to something earlier: the guy who set it up worked for nasa, possibly put some SElinux stuff on, i'm gonna read up on it. i mean it's my only viable solution at this point [23:22:05] <hiS_oWn> thanks, lol [23:24:13] <yoniDeBest> are there any other options besides action=raw and action=render? [23:24:45] <MZMcBride> yoniDeBest: http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php [23:24:49] <Duesentrieb> yoniDeBest: sure, action=edit, action=delete, action=history... [23:27:38] <yoniDeBest> well, is there another way to get a wiki page in html besides the render action? [23:28:05] <Duesentrieb> no. [23:28:22] <Duesentrieb> well, yes, fetching the full page. without any action. [23:28:36] <yoniDeBest> hmmm, right. trying. [23:29:05] <Duesentrieb> yoniDeBest: which is also better because they are cached on squids (if you are not logged in) [23:29:21] <Duesentrieb> you'll have to do some parsing. shouldn't be so hard though [23:30:10] <yoniDeBest> darn. i get a timeout error for that too. only the raw action works =/ any idea why? [23:30:30] <yoniDeBest> mybe my WebRequest is broken [23:31:58] <TuskerKing> hi [23:32:12] <TuskerKing> <ref> editing command on my wiki installation is not working [23:32:22] <TuskerKing> how to resolve this problem? [23:32:48] <Duesentrieb> TuskerKing: by installing the extension that supplies it [23:32:51] <Duesentrieb> namely, cite [23:32:54] <Duesentrieb> !cite [23:32:54] <mwbot> http://www.mediawiki.org/wiki/Extension:Cite [23:33:07] <TuskerKing> thanks [23:33:13] <TuskerKing> where to install that? [23:33:20] <Duesentrieb> !extensions [23:33:20] <mwbot> MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See <http://www.mediawiki.org/wiki/Manual:Extensions> for details on writing an extension and <http://www.mediawiki.org/wiki/Extension_Matrix> for an overview of known extensions. [23:33:24] <MZMcBride> !localsettings [23:33:24] <mwbot> *All* configuration is done in LocalSettings.php. Do not edit any other file unless you want to get into serious hacking. You may want to *look* at the settings in DefaultSettings.php though, some are not in LocalSettings.php per default. See <http://www.mediawiki.org/wiki/Manual:Configuring_MediaWiki>, <http://www.mediawiki.org/wiki/Manual:LocalSettings.php>, <http://www.mediawiki.org/wiki/Manual:Config_script> [23:33:45] <Duesentrieb> MZMcBride: which doesn't tell him where to put the files :) [23:34:16] <amidanie1> Maybe he forgot what LocalSettings.php was and needed to look it up :) [23:34:24] *MZMcBride shrugs [23:34:42] <MZMcBride> you need files and localsettings to install anything :) [23:35:09] *amidanie1 installs apache with !localsettings [23:35:19] <TuskerKing> thanks [23:35:36] <Duesentrieb> well, true, it doesn't really matter where you put the extension files. you can stuff them into /tmp if you like. [23:36:22] <TuskerKing> dont need to download all files i mean in other language extensions too here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/ [23:39:18] <Duesentrieb> depends on how the extension is written [23:39:23] <Duesentrieb> you might not need them all [23:39:35] <Duesentrieb> but the simplest way it to grab the bundle anyway [23:39:54] <CIA-39> 03shinjiman * r27997 10/trunk/tools/planet/zh/templates/index.html.tmpl: localise the text into Simplified Chinese / Traditional Chinese scripts [23:40:05] <amidanie1> Hmm .. is there a reason we don't enable viewvc's "Downaload tarball" dealio? [23:40:28] <amidanie1> Concerns about load maybe? Seems like it would be useful to users who don't know their way around with svn [23:41:14] <sdss> hi all, how can I make an index on top of my pages like you see on 'http://gentoo-wiki.com/HOWTO_Initramfs' [23:41:53] <sdss> never mind, my mistake [23:43:38] <Duesentrieb> amidanie1: that's why i made http://tools.wikimedia.de/%7Edaniel/repository/extensions/ [23:43:58] <amidanie1> Duesentrieb: Aha .. good idea :) [23:52:47] <wikibugs> 03(mod) Install the StringFunctions extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6455 (10ross) [23:53:49] <TuskerKing> Thanks everybody it works well now [23:54:54] <julan_> Hello all! [23:54:59] <julan_> I have very basic computer skills and need to do a very simple thing that is driving me crazy. I've got the mediawiki installed on my server and running OK. I just want to do a little customization regarding the links on the left (Main Page, Community portal...), to change the name and link location. That's all. [23:55:08] <julan_> I googled for a solution with no success and I don't know where is the file I need to modify (LocalSettings.php??, main.css??) I've been exploring these files but I haven't found any clu into the code. Any suggestion would be much appreciated. Thank you. [23:57:59] <amidanie1> julan_: You need to edit MediaWiki:Sidebar [23:58:06] <Splarka> http://www.mediawiki.org/wiki/Manual:Navigation_bar [23:58:24] <amidanie1> @search .*(?:sidebar).* [23:58:24] <mwbot> Results: [sidebar, sidebarex] [23:58:29] <amidanie1> !sidebar [23:58:29] <mwbot> To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see <http://www.mediawiki.org/wiki/Manual:Interface/Sidebar>. [23:58:32] <amidanie1> There we go :) [23:58:47] <Splarka> you and I just said that, ami... heh [23:58:59] <amidanie1> :) [23:59:12] <Splarka> yay for redundancy and redundancy [23:59:46] <amidanie1> The bot ends an aire of reliability though, because clearly braindead bots know better than we do :) [23:59:50] <amidanie1> s/ends/lends [23:59:56] <julan_> Oh, Thank you very much mwbot and amidaniel