[00:00:35] Duesentrieb: thank you thank you :)) [00:00:53] does anyone know if DPL's randomseed works multiple times on one page? I'm getting an oddity, and i'm suspecting it's related to that. [00:02:43] okay, you know how the $wgSharedDB and $wgSharedDBUserTable variables or whatever? [00:02:58] is there a config variable to do the same thing with interwiki links? [00:04:41] chuck: no. [00:04:52] though that would be nice i guess :) [00:04:59] you can always use a mysql view... [00:05:43] yeah, that setting would be nice to have [00:05:54] i've been using mysql views, but they kind of get annoying to manage [00:10:43] 03(NEW) Shared Interwiki Tables? - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12734 15enhancement; normal; MediaWiki: Database; (charlie) [00:17:35] Hi [00:19:52] Hi [00:23:09] why isn't undelete an action, lust like delete? [00:24:45] 03(mod) librsvg workaround for black background on Firefox printing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4968 +comment (10mark.g.stewart) [00:25:16] 04(REOPENED) XML import does not update the redirect table - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12507 +comment (10tstarling) [00:26:50] hm I just locked myself out of the wiki by removing myself from the Bureaucrats group. Can I find the proper SQL statement for that somewhere? [00:28:06] You could just wing it, the user_rights table is pretty minimal [00:28:08] in the faq [00:28:27] and yes, user_rights is the way. [00:28:32] the only way, afaik. [00:28:37] ok i saw this table [00:28:47] err, sorry [00:28:49] user_groups [00:28:53] Right [00:28:56] yes ;) [00:29:00] user_rights was only used for a very short time [00:29:09] is the format "group1, group2" ? [00:29:14] no [00:29:19] one record per group [00:29:20] One row per group [00:29:22] ah ok [00:29:26] proper db design :P [00:29:32] where do I find available groups? [00:29:48] anything used in wgGroupPermissions [00:29:56] in DefaultSettings.php or LocalSettings.php [00:30:04] you can make up your own if you like [00:30:08] ah yes... I remember now, thx! ;) [00:30:19] interesting per default is probably sysop and beureaucrat [00:30:33] I wonder why there isnt a group table [00:30:45] and the group perms just ref'ed by group id.. [00:30:49] because there's nothing to store in it [00:31:03] id | name [00:31:12] this way you can rename a group... [00:31:26] 03(NEW) UTF8 user names with PostgreSQL backend cause login errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12735 major; normal; MediaWiki: Database; (alo) [00:32:11] Well, you add a level of indirection for a very minor benefit [00:33:32] mschiff: internal names are just identifiers. the visible name is localizable and controleld by system messages [00:34:04] ah ok thx [00:39:29] btw is it possible to hide single users from the user list special page? [00:40:01] if yes I would hide the "superadmin" for security reasons [00:40:39] no it isn't. [00:43:45] Do usernames have an id? [00:43:48] (number) [00:44:18] Wiredtape: yes [00:44:51] what's the method for retrieving a user's id? $wgUser-> ? [00:45:09] hm [00:45:26] user_id? [00:45:39] thats the name of the table field [00:45:40] I obviouslly don't know :) [00:46:15] I dont now how that $wgUser object looks like [00:46:28] Anyone who knows care to enlighten me? [00:46:45] you may have a look at it with the var_dump() function [00:47:09] or just in the user class... I was hoping someone here had a quick answer for me though .. :) [00:47:40] Wiredtape: try "echo
"; var_dump($wgUser); echo "
"; [00:48:06] mschiff, yeah.. np.. thanks .. [01:22:29] 03(mod) Incorrect URL link in Special:SiteMatrix - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12731 (10brion) [01:26:17] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10brion) [01:28:38] brion: would you be willing to consider that if it used REVISIONUSER instead? [01:29:29] carl-m: make a template :) [01:29:36] a template? [01:29:39] or.... learn to type your own name ya lazy ponce [01:29:58] it's for use in preload= pages [01:33:03] is there anything besides the extra tilde sequence that turns you off 12733 [01:49:48] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10FT2.wiki) [01:50:35] hello, i am near to cry ;) [01:50:47] huh? [01:51:05] why? [01:51:05] i made a template with a loop of the loopfunctions extension [01:51:27] in that loop i call another template [01:52:20] now i need a way to check if the second template gets any "dummy" parameters. that means: if {{{var}}} is set in template 1 then template 2 gets its value. if not template 2 gets the string {{{var}}} [01:52:33] i need a way to check if it has a value or not [01:53:18] {{ #if: {{{var}}} | {{template2}} }} doesnt seem to work in a loop body [01:53:23] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10FT2.wiki) [01:53:41] i guess, i explained it very weird :( [01:56:06] have you looked at documentation of the loop extension? I'm not familiar with it [01:58:48] yes i did [01:58:57] http://www.mediawiki.org/wiki/Extension:LoopFunctions [01:59:11] didnt found anything helpful in this matter [02:02:11] it talks about how the body is expanded only once, before the variable is ever substituted. could that be the issue? [02:02:30] maybe [02:02:41] i made an example [02:02:43] http://rafb.net/p/ToJ8oY78.html [02:02:58] there i transported the if expression in the second template [02:03:22] the docs talk about that [02:03:48] under In the loop body, templates, parser functions, and variables are expanded before replacing the index variable by its values. [02:04:58] ok, but how can i check if a parameter is set or just a string looking like a parameter? [02:05:24] wait a second. in your example, things like {{{foo2_3}}} are redlinks, right? [02:05:33] what is a redlink? [02:06:04] what exact output do you see? [02:06:13] it's plain text [02:08:37] I'm sorry, I don't see what's going on [02:08:50] ok thx anyway [02:09:30] if there would be a way to check a part of a parameter i would have a way [02:09:42] something like [02:10:04] if begin_of_string = {{{ then ... [02:10:12] 03(mod) Shared Interwiki Tables? - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12734 (10charlie) [02:11:13] you may be able to do that with StringFunctions. What exactly are you trying to achieve in the end? [02:12:01] i want to skip the output of unset parameters [02:12:24] in the end it's a template for a protocol of meetings [02:12:25] no, I mean why are you using loopfunctions, what are you trying to do? [02:12:54] the count of discussion points is variable [02:13:18] and each point has several conclusions [02:14:02] as another approach, have you thought about using #ifexist ? [02:14:19] i thought ifexist is only for checking if page exists? [02:14:26] *a [02:15:09] isn't the issue here that some of the templates don't exist? [02:15:28] no, the parameter doesnt exsist [02:15:41] there are only 2 templates, which both exist :) [02:15:46] or, if these are parameters, why aren'tyou using syntax like {{{paramter|}}} that defaults to empty if the parameter isn't defined? [02:16:17] oh, i always wondered what the | means on that position [02:16:21] let me try that [02:16:27] {{{parameter|default}} [02:16:30] }}} [02:16:51] I thought you were trying to use templates, sorry [02:17:20] Hmm. [02:17:54] I just got a wikipedia email from "wiki@wikimedia.org" It no longer seems to say which user sent it in any field that is displayed. [02:17:59] What's gone on? [02:18:33] now the output is empty -.- [02:18:55] Alp-: which part did you change? [02:19:32] FT2: known issue [02:19:35] you tried something like this: {{{foo$n$_1|}}} ? [02:19:36] before: {{ t2 | {{{foo$n$_1}}} }} [02:19:41] after: {{ t2 | {{{foo$n$_1|}}} }} [02:19:53] yes [02:20:19] try leaving that alone, and changing t2 [02:20:33] make sure that {{t2|1=}} has no output [02:21:45] 03(NEW) Bad image list is confusing users - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12736 15enhancement; normal; MediaWiki: Images; (hartman) [02:22:29] i didnt understand that [02:23:07] t2 gets a parameter with value {{{foo33}}} for example [02:23:24] {{{foo3_3}}} i mean [02:24:36] it's probably that I don't understand what's going on, sorry [02:28:24] night all [02:33:29] You can use {{#if:{{{1}}}|something|something else}} to print something if parameter 1 is set, and something else if not. [02:33:54] Werdna: yes, but that doesnt work in loops [02:34:14] O RLY Y? [02:34:28] YA RLY :) [02:34:40] NO WAI [02:34:53] ITS TEH TRUTH [02:34:58] why not? [02:35:27] because the loop body is parsed at first and ... i am not sure exactly, it just doenst work [02:37:01] sounds like a bug [02:37:16] or a feature designed to limit loop usage [02:37:32] avoid presenting a denial of service vector, etc etc [02:38:20] nested loops... that'd be fun (not) [02:38:52] if nested loops would work i wouldnt have this mess [02:39:20] that was my first, most natural approach [02:39:25] Alp-: My suggestion: Write a parser function. [02:39:35] Werdna: how? [02:39:50] do you have shell access to the wiki? [02:40:14] yes [02:40:16] hiho Splarka [02:40:28] rar [02:40:57] Werdna: it's just how they implemented the loops. the text is parsed once, and then the parameter is substituted with strtr [02:41:03] Alp-: http://www.mediawiki.org/wiki/Extending_wiki_markup#Parser_functions [02:41:34] Splarka: quick question: a wiki I go to has some js that prevents you from having short edit summaries (less than four characters IIRC), is there a way via js to add just some extra characters at the end of the summary if the summary isn't long enough when "Save Page" is clicked? [02:42:07] hmmm [02:42:20] depends on what their code does [02:42:36] it prevents the save and displays a warning message [02:42:38] their code probably adds an onclick event to the 'save' button [02:42:52] so your code would have to preempt that onclick [02:43:09] http://strategywiki.org/wiki/MediaWiki_talk:Common.js#Check_edit_summary [02:43:09] Werdna: is there a howto too? [02:43:16] that's the code [02:43:20] Skizzerz: #mediawiki-scripts [02:43:23] Alp-: I don't know. Have a look around. [02:43:26] mmk [02:43:41] Werdna: ok thank you, i'll try to add one, or i hack the existing if function [02:45:06] Alp-: What I mean is, instead of mucking around with templates, write your formatting function with a parser function. [02:45:11] you can then write it in php [02:45:27] Werdna: you are damn right, it's a very good idea [02:57:10] whats the function to check if a parameter exists? [02:57:21] in the media wiki php code? [02:57:45] 03aaron * r30041 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: More tweaks [03:01:53] flyingparchment: OK, so how do I modify 'modern' to get full edit width? [03:02:25] hmm, I should move the rev_deleted css to common [03:02:28] find whatever class/id is missing... perhaps #wpTextBox1 [03:02:34] copy it from monobook to modern [03:03:16] or just add a new one :) [03:03:26] textarea { [03:03:26] width: 100%; [03:03:26] padding: .1em; [03:03:26] } [03:03:27] #wpTextbox1 { width: 100%; } [03:03:32] yeah, that'd work too [03:03:37] well, it would [03:03:44] but that's what is in monobook/main.css [03:03:46] is rev deletion going to be usable some time this century? [03:03:48] silly monobook [03:03:58] we need some common css for the template skins [03:04:01] on wm, i mean, wrong channel really [03:04:53] Random832: it is a mediawiki issue really [03:05:10] flying: besides http://en.wikipedia.org/skins-1.5/common/shared.css?104 you mean? [03:05:11] it is/ i thought the feature already existed on mediawiki [03:05:25] Splarka: not quite [03:05:31] Splarka: that applies to the non-template skins too [03:05:34] oh [03:05:42] well, how about... [03:05:44] 03aaron * r30042 10/trunk/phase3/skins/ (common/shared.css monobook/main.css): Move rev_deleted stuff to shared [03:05:48] although it may be a lot of what's in monobook could go in there [03:05:52] add a body class for template skins [03:05:58] or, a globalwrapper class [03:06:36] so for example, div#globalWrapper.templateSkin textarea {} [03:06:43] into common/shared.css [03:06:51] ugly <3 [03:06:53] Random832: i believe it sort-of exists in a non-functional way [03:07:04] so when's it going to be done? [03:07:08] before or after single user login [03:07:09] (there's a branch iirc) [03:07:28] since brion will need to approve it, probably after [03:07:32] hmm [03:07:43] flying: do the templated skins all have something in common? [03:08:24] Splarka: there's #globalWrapper, i'm not sure how global it actually is [03:08:27] IIRC, the only things common in *all* skins are the body tag classes, the
, and then the generated contents (minus skin specific intracontent elements) [03:08:36] 03aaron * r30043 10/trunk/phase3/skins/modern/main.css: Full edit width [03:08:51] but the id=content includes parts of the UI, so isn't terribly handy [03:08:51] Random832: the branch is dead [03:09:04] the code is on my box only ;) [03:09:28] what is in mediawiki now is not safe for use [03:09:44] rev_deleted is in the main code... it's just not completely bug-free [03:09:51] *Splarka was toying around with the idea of making addPortletLink work in any skin by doing *something* in the other skins, but it seemed too complex [03:09:53] *Skizzerz wouldn't say it isn't SAFE though :P [03:10:16] is it safe enough to enable on test.wp ? [03:10:35] people would report a million useless bugs [03:10:52] I'll commit the code when someone has time to review [03:11:15] *Skizzerz would be willing to test every nuance of it ^_^ [03:13:12] anyway flying: it might be kind of confusing to create a third level of css sharing [03:13:44] man, the devices list in the finder on leopard seems really unreliable [03:13:50] most of the time it doesn't show my firewire disk [03:14:06] i have to hit the secret key combo to type in a path to /Volumes/whatever [03:14:08] what would it be called? templated? what skins are templated? Monobook/simple/myskin/chick? [03:14:16] *brion gives apple a friendly stab [03:14:41] Skizzerz: let me see [03:14:43] I guess you find them a-pealing [03:15:32] AaronSchulz: uh, what do you want to see? or was that just a figure of speech? ;) /me really couldn't tell [03:15:48] they also seem to have shipped php without PEAR [03:15:56] at least it's php 5 :D [03:16:14] brion: hmm, the wmf.org site list two vacant dev positions [03:16:22] brion: maybe that means more code review time :) [03:16:52] once we get through hiring :) [03:16:58] assuming we actually have money to hire now ;) [03:18:11] rev_deleted is like 3 months behind [03:18:26] brion: every time I have to manually merge I want to cry [03:18:46] :( [03:20:08] flyingparchment: ok, maybe the underlined links can die now? [03:20:11] *AaronSchulz isn't sure [03:20:26] AaronSchulz: underlined links are deliberate [03:21:00] can't it go by the setting prefs? [03:21:15] underlined links is a setting [03:21:19] there's a pref for that? that's stupid [03:21:33] Random832: in flying's new skin [03:22:05] there's a browser pref for that too, so you could probably ditch any styling in that direction [03:22:05] it is a browser pref too :) [03:22:06] /* generated user stylesheet */ [03:22:06] a { text-decoration: underline; } [03:22:22] some of the links must be underlined, like the ones in the footer [03:22:24] flying: you could probably make your skin default underline, but let user prefs and browser prefs overwrite [03:22:40] i suppose you could remove it from the others if you hate me :'( [03:22:42] wouldn't be hard to have footer links more stubbornly underlined too [03:23:03] have say, a { text-decoration: underline; } in your skin [03:23:10] and have user prefs generate: body a { text-decoration: underline; } [03:23:20] but also have in your skin: body #footer a { text-decoration: underline; } [03:23:22] isn't user js included after skin js anyway? [03:23:30] css you mean? [03:23:34] uh yeah [03:23:41] specificty weighs more than cascading [03:23:42] order doesn't matter for css [03:23:46] order does matter [03:23:49] unless it's the same EXACT selector [03:23:50] but only for the same level of specifity [03:23:57] a {foo} [03:23:58] i thought it was for the same selector [03:23:59] a {bar} [03:24:00] bar wins [03:24:02] Random832: the point is it WOULD be the same [03:24:10] body a {foo} [03:24:12] (i don't know if it is now, but that can be changed) [03:24:14] a {bar} [03:24:16] foo wins [03:24:20] i.e. if you have a.foo and a.bar, the same one wins no matter what order on a class="foo bar" [03:24:30] [i have no ide which one wins though] [03:24:35] well, ignoring that [03:24:44] just specify it differently [03:24:53] and then the order of the classes and definitions doesn't really matter [03:25:31] modern.css: "a { text-decoration: underline; }" prefs: "body a { text-decoration: none; }" modern.css: "body #footer a { text-decoration: underline; }" [03:25:53] then in theory their pref will overwrite the default, except in the footer [03:25:58] it ooks like order in the stylesheet does matter [03:26:26] and if they really want to, they can remove the footer underlines in their user/modern.css with more spec, or !important [03:26:40] why? [03:26:44] why what? [03:26:46] why not just leave it to the prefs [03:26:53] because the footer style depends on it [03:27:03] the links in the footer are the same colour as normal text [03:27:11] they need to be underlined or they don't look like links [03:27:22] and he wants all links to be underlined by default [03:27:31] but he should take into account user prefs to the contrary ^_^ [03:27:40] it isn't hard to do [03:27:42] just underline the ones in the foter [03:27:43] footer [03:27:45] Splarka: if you're anon, or didn't set a pref, does it still set a style? [03:27:50] why do you care about the ones in the body? [03:28:01] flying: the prefs are loaded via action=raw&gen=css [03:28:02] because underlined links look better for that style [03:28:10] which is only for logged in users [03:28:42] random: the body tag is just to make it more specifc [03:28:55] that means it overwrites less specific definitions, like "a {}" [03:29:12] the order of css loading can change, best to ignore the order when possible [03:29:20] Splarka: no [03:29:29] i mean why do you care about underlining for the ones outside the footer? [03:29:45] because _any_ css will override browser preferences [03:30:00] Skizzerz: http://amidaniel.com/voicewiki/index.php?title=Sam_Donaldson&action=history [03:30:09] random: I don't, but flying seems to ^_^ [03:30:15] flyingparchment: why? [03:30:18] AaronSchulz: underlined links are deliberate [03:30:33] for the ones in the footer, yeah [03:30:35] *Splarka wonders if flyingparchment is getting hilighted to death, flyingparchment flyingparchment flyingparchment [03:30:35] Random832: because underlined links suit the style better [03:30:45] but underlining for links in main text has traditionally been left for the user to decide [03:31:05] well [03:31:08] for, like, decades [03:31:09] like users know anything [03:31:11] cascading works in several dimensions [03:31:21] load order, specificty, !important, etc [03:31:22] 03brion * r30044 10/trunk/phase3/ (3 files in 3 dirs): [03:31:22] * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php. [03:31:22] Non-image handlers and full-size images may now decline it, fixing [03:31:22] mystery failures when using $wgThumbnailScriptPath. [03:32:39] 03(FIXED) OggHandler gives PHP fatal error with $wgThumbnailScriptPath; missing getScriptedTransform() - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11593 +comment (10brion) [03:32:49] flyingparchment: "the user is always right" :) [03:33:07] their satisfaction should bring joy to you :) [03:33:10] that's only if the user is giving you money [03:33:19] for $100, i'll remove the a styling [03:33:28] what about 100 smiles? [03:33:44] i hate happy people [03:33:56] well, there you have it folks [03:34:09] brion: I love being lovey dovey sometimes [03:34:39] 03(FIXED) GIF and PNG images are not displayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12719 +comment (10brion) [03:35:00] *brion huggles AaronSchulz [03:35:06] "everybody is a winner! yay!" [03:36:11] *flyingparchment won global thermonuclear war [03:36:30] the only way to win... is to strike first [03:36:38] exactly [03:36:41] with Love Bombs! [03:37:12] i had some global thermonuclear game for dos back in the day, it was great [03:37:22] brion: http://news.bbc.co.uk/2/hi/americas/4174519.stm [03:37:26] now that is war! [03:37:46] the high score screen listed "the greatest mass murderers of all time" with your kills in millions [03:38:16] AaronSchulz: the us military can't even get their gaydar working, i wouldn't trust them with a gay bomb :) [03:40:42] what should they create? a "lowering standards to meet recruitment quota" bomb? [03:41:06] heh [03:41:17] :D [03:41:21] they've already perfected that one [03:42:22] well, the trick is to do it to the enemy [03:44:07] typing with a cat in your lap is slightly awkward [03:44:08] the real trick is to do the enemy [03:44:13] accidents will happen - even in the best regulated families [03:44:13] that's what i get for being a pushover [03:44:36] to do the enemy? hehe [03:44:55] now you're back to the gay bomb [03:45:56] *AaronSchulz wants to fight some Amazons [03:46:13] hmm..."fight" [03:47:49] try ordering from the Amazon.com marketplace [03:48:56] do they have mail-order angels? [03:49:45] no, but they might give you a fight [03:49:46] hmm... brides? maybe. angels? probably not yet [03:49:56] oh amazonS, heh [03:52:26] 03brion * r30045 10/trunk/phase3/ (RELEASE-NOTES includes/UserMailer.php): * (bug 12327) Comma in username no longer disrupts mail headers [03:52:42] 03(FIXED) comma in username causes incorrect email headers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12327 +comment (10brion) [04:11:42] http://ha.ckers.org/blog/20080108/cross-site-printing/ :) [04:27:49] brion: thanks :) [05:17:23] I'm going through some of the API results and it seems my pageid for every page is the same? [05:18:01] examples? [05:18:04] sure [05:18:50] nevemind im wrong [05:21:28] 03(mod) Protecting image description pages against creation does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12727 (10N/A) [05:23:50] sometimes the revelation of seeing your own question echoed on IRC or email is the clue needed to reveal the path to the answer for yourself. [05:24:20] *Splarka often finds the obvious possible answer after typing out a question, and ends up looking a bit silly [05:26:16] 03(FIXED) Protecting image description pages against creation does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12727 +comment (10JSchulz_4587) [05:47:08] I have two mediawiki sites, but I want a good lite one for personal use, do you guys have any recommondations [05:47:56] tikiwiki maybe [05:56:43] splarka: i should just learn to say it out loud to myself [05:57:01] in this case it was actually flyingparchment's question that made me look in a different part of the code than the one i was looking at [05:57:11] *Splarka grins [05:57:15] that too [05:57:20] or even just a funny look [05:57:29] haha [05:57:44] "Why does {{foo|1=bar|baz}} define 1 as baz?" *dev squints at you* "oh" [06:53:40] *Werdna waves [07:56:00] 03siebrand * r30046 10/trunk/phase3/languages/messages/ (18 files): Localisation updates for core messages from Betawiki (2008-01-22 8:52 CET) [08:02:38] 03siebrand * r30047 10/trunk/extensions/ (46 files in 40 dirs): Localisation updates for extension messages from Betawiki (2008-01-22 8:52 CET) [08:19:51] hi people [08:20:11] please, help me... i've problem with treeview4 [08:20:36] i diâ all steps, but treeview not displayed [08:21:19] hi [08:21:57] Rolph, check your Special:Version first to check did you include TreeView extension corectly [08:22:23] i have an issue [08:22:56] about the error creating thumb [08:23:19] someone is here? [08:23:42] Sasa^Stefanovic, mediawiki ver. 1.11.0 [08:23:58] gersus, don't ask to ask, just ask [08:24:28] Rolph, down on that page is list of loaded extensions, did you see there TreeView ? [08:24:35] yep [08:24:43] i have a problem with thumb [08:24:54] gersus, we see that, can you be more specific ? [08:25:04] Rolph, is your wiki online ? [08:25:40] Sasa^Stefanovic, no i did for intranet [08:25:51] can i write the url, so you can see what im talking about? [08:25:58] gersus, sure [08:26:02] http://deafwiki.org/index.php5?title=Christy_Smith [08:26:17] Sasa^Stefanovic, i can install to my site... [08:26:29] Rolph, hmm, ok, wo when you put TreeView tags you don't have category tree, right ? [08:27:29] gersus, error is: Error creating thumbnail: convert: unable to open image `/hermes/web04/b1616/pow.deafwikiorg/htdocs/images/3/3b/Christy_smith.gif': No such file or directory. [08:27:46] cna you check that Christy_smith.gif is on that location [08:27:46] i did all steps: 1. Create treeview4.php and add to localsettings.php code. [08:27:54] where? [08:27:58] GerardM-, on that path [08:28:07] err GerardM- but gersus [08:28:14] gersus, /hermes/web04/b1616/pow.deafwikiorg/htdocs/images/3/3b/Christy_smith.gif [08:28:26] Sasa^Stefanovic, but if i add treeview tags, structure doesn't display [08:28:29] so, for you it will be on htdocs/images/3/3b/Christy_smith.gif [08:28:52] i see....i will check on which location? in mysql? [08:28:53] Rolph, did you get any error ? what you see when you save page ? [08:29:12] gersus, on your hosting server, it's a directory structure [08:29:22] i see...now i go to check it... [08:30:16] hmm, maybe you have some problems with permissions there [08:30:21] it could be that [08:31:02] do we have a list of includable special pages somewhere? [08:31:17] Nikerabbit, ugha :) [08:32:29] sasa...yes, it is inside the directory root [08:32:49] but i noticed something...may be the paths... [08:33:26] but when i try to open http://deafwiki.org/index.php5?title=Image:Christy_smith.gif i can't see image [08:33:34] images/3/3b are not correct...the path should be images/thumb/3/3b as i noticed it on the directory tree [08:33:43] (afk to brekfast, brb ~ 15 mins) [08:33:51] so thumb is needed? [08:33:59] ok [08:34:11] but it didn't display image itself, naither thumb of image [08:34:20] http://deafwiki.org/images/3/3b/Christy_smith.gif [08:34:30] see, that's link for full image view [08:34:40] i see... [08:34:42] i'm afk, brb [08:34:47] ok [08:47:31] 03(mod) Template parameters unavailable to XML-style parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 +comment (10bugrimov) [08:48:22] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 +comment (10dan_the_man) [08:57:34] gersus, any news ? [08:57:51] hi [08:57:58] i could not see pic [08:58:29] i have two issues - error creating thumbs and log in [08:58:34] i can not log in [08:58:42] though i am adiminstrator [08:59:05] and i checked the password in localsettings.php...the same password... [08:59:24] i just loged in [08:59:35] gersus: the passowrd in localsettings is the database password. it has nothing to do with the password you use for login [08:59:45] in fact, it should not be the same [08:59:55] i see...where to find the administrator password? [09:00:05] in the database. hashed. [09:00:09] you can not read it. [09:00:17] you can only reset it. read the faq [09:00:38] how to retrieve the forgotten password? [09:00:43] read the faq [09:00:50] where is the faq? [09:00:54] topic ^^ [09:00:57] red the channel topic [09:01:15] above this chat window? [09:01:24] ugh [09:01:50] !faq [09:01:50] --mwbot-- 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 [09:01:56] gersus: the first thing you see when you enter the channel... read it... [09:02:07] i see [09:03:01] 03(mod) Page titles could cause problems for some HTML editors that add a trailing slash to URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12703 +comment (10dan_the_man) [09:09:33] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10FT2.wiki) [09:15:57] i dont find solutions, but thank you, sasa [09:30:23] 03rotem * r30048 10/trunk/phase3/languages/messages/MessagesHe.php: Update comment. [09:40:47] Hello [09:41:38] What's the proper way to format date object using localized patterns from languages directory ($dateFormats array) ? Is there any global (wfXXX) function ? [09:45:30] $wgLang->{time,date,timeanddate}() [09:51:38] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10heuler06) [09:56:56] Nikerabbit: Thanx. Can you point me to some docs ? [09:57:13] what docs? [09:57:42] Nickerabbit: About what each function does exactly [09:58:31] Nikerabbit: read the code documentation [09:58:48] http://bugzilla.wikimedia.org/show_bug.cgi?id=1 [09:59:07] erm, that was directed at Telemac [09:59:14] http://svn.wikimedia.org/doc/classLanguage.html if you really want [10:00:01] 03rotem * r30049 10/trunk/extensions/ParserDiffTest/ParserDiffTest.i18n.php: Consistency. [10:00:04] *Nikerabbit hates frames [10:01:21] thanx [10:03:36] What is CIA's home channel? [10:03:44] I'm in the need for some flooding [10:03:49] #cia?:)) [10:04:33] #commits was what I was looking for but thanks [10:10:33] 03tstarling * r30050 10/trunk/phase3/ (3 files in 2 dirs): Fix for bug 12705. Fixed refreshLinks.php documentation. [10:11:43] 03(FIXED) "Invalid call hook poem" with refreshLinks.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12705 +comment (10tstarling) [10:13:05] How can I have a table larger than the page width, and get it to look good? [10:14:11] define the cells more explicitly [10:14:19] isn't that impossible? [10:14:37] you can set style on each cell [10:14:43] 03(mod) Single login (Unified login) on all wikimedia projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=57 (10conrad.irwin) [10:14:55] the table, if required to be bigger than the page, will get squished as much as possible, text wrapped and cells streched vertically [10:15:00] so don't allow it, heh [10:16:05] http://test.wikipedia.org/wiki/Table [10:16:05] http://test.wikipedia.org/w/index.php?title=Table&action=edit [10:16:16] Splarka, exactly [10:16:22] it gets squished [10:16:26] looks fine here [10:16:26] and I don't want that [10:16:28] what browser? [10:16:31] FF [10:17:03] http://test.wikipedia.org/wiki/Table?action=purge now? [10:17:15] http://rafb.net/p/CZXOzG48.html [10:17:19] this is my code [10:17:27] Splarka, on your page it looks ok [10:17:34] it is on my page that it's squished [10:18:01] ahh [10:18:20] try using style="" [10:18:34] ! style="width:200px" | [10:18:36] ! style="width:50px" | [10:18:37] etc [10:18:47] let's try [10:19:21] re [10:20:33] you might also try style="table-layout:fixed" in the element -- {| style="table-layout:fixed" [10:22:13] 03grondin * r30051 10/trunk/extensions/Nuke/ (SpecialNuke.i18n.php SpecialNuke.php): [10:22:13] Minor release [10:22:13] * Update language for fr and nl from Betawiki [10:22:13] * Minor edit of the second form [10:28:15] I'm having some problems installing the DPL-extension, it just doesn't seem to work. [10:29:07] I'm using mediawiki 1.11.0, [10:29:40] which version of DPL? [10:29:45] 1.6.5 [10:32:09] any the errors? [10:33:57] Nikerabbit: None, it just doesn't seem to register. [10:38:07] I have the require thingy after the require of DefaultSettings [10:40:11] and you have error reporting turned on? [10:47:55] Nikerabbit: I should, I get an error when I try to require a file that doesn't exist [10:47:58] 03tstarling * r30052 10/trunk/phase3/includes/ (Parser.php Parser_OldPP.php): Fix for bug 12726: make the internal OT_xxx constants class constants. [10:48:07] can increase it a bit though [10:48:18] 03(FIXED) In ExpandTemplates parameter substitution does not work anymore . - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12726 +comment (10tstarling) [10:49:08] Yeah I have all except for notices and coding standards warnings [10:53:28] hello, I changed my mysql db types/collation from latin1 to utf8, but now all my pages won't show up on the starting page (I can still retrieve the articles by manually entering the page url), any ideas? [10:55:22] there shouldn't be much notices [10:55:38] I just tried http://www.mediawiki.org/wiki/Manual:LocalSettings.php#Enabling_subpages by adding "$wgNamespacesWithSubpages[NS_MAIN] = 1;" into LocalSettings. However my Wiki still 404s when I go to top-level URLs that I want to make into a sub-page, eg. http://wiki.foaf-project.org/SparqlPress/ExampleSubPage [10:57:16] 03(mod) Classes like Parser and EditPage should use $mTitle member rather than $wgTitle - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12710 +comment (10tstarling) [10:57:18] danbri: what do you use for rewrite rules / aliases ? [10:57:36] people just don't get it? top level pages are just bound to cause that kind of problems [10:59:32] ah, good point ialex. it's .htaccess: [10:59:36] RewriteEngine On [10:59:36] # anything line which contains a dot (.) without a colon (:) should be left alone [10:59:36] RewriteRule ^[^:]*\. - [L] [10:59:37] # anything line which contains a slash (/\) without a colon (:) should be left alone [10:59:37] RewriteRule ^[^:]*\/ - [L] [10:59:37] # redirect to main page [10:59:39] RewriteRule ^/*$ /index.php?title=Main_Page [L,QSA] [10:59:41] # anything else is to be treated as a title [10:59:43] RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA] [10:59:51] *OverlordQ slaps danbri around a bit with a large trout [10:59:56] *danbri gets a regex headache [11:00:34] Nikerabbit: Can I do anything to check that it has registered as an mediawiki plugin? [11:00:39] like echo an variable or so? [11:00:43] krunaldo: checl special:version [11:01:15] Nikerabbit: Not seeing anything there about DPL [11:02:08] mikeX: did you change the tables too? and your char/varchar colums? [11:06:05] OverlordQ: the only thing I changed was `character set utf8 collate utf8_bin` in type definitions, in my sql dump [11:07:02] doesn't sound very wise [11:07:10] text was stored as utf8 anyway [11:07:22] but the character set of the columns was latin1 [11:07:29] as it is supposed to be [11:08:06] well I don't see why it should be like that, and I think that's responsible for some encoding issues i have with certain extensions [11:08:50] it shouldn't unless you have messed dump [11:09:09] 03(mod) More PST magic, e.g. editor username - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 summary; +comment (10tstarling) [11:09:28] the encoding issues is not related to the dumps, it's on my original installation [11:10:06] 03(FIXED) SVGs rendered as "empty" images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5463 +comment (10neroute2) [11:10:12] I'd say it is unlikely that the problem is *inside* the database [11:10:33] nevertheless, why should the character set be latin1 when the content is utf8? [11:10:42] danbri: i think it's "anything line which contains a slash (/\) without a colon (:) should be left alone" that cause problems [11:10:44] because mysql sucks at unicode [11:11:14] ialex, yeah you're right, i'm staring at it now thinking "OK, why's that there... how can it be constrained differently"? [11:11:17] any idea? [11:11:34] I don't know mediawiki url patterns very well [11:11:42] Nikerabbit: does the 'experimental utf-8' option store tables with proper character set? [11:11:47] danbri: save yourself much trouble and use subdirectory [11:11:51] mikeX: I think so [11:12:04] I don't follow what you mean, sorry [11:12:12] maybe I should set this to true then [11:12:14] oh, change all my urls? :( [11:12:51] aha, seems to work like a charm now [11:12:52] :) [11:13:01] danbri: http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Working_method_with_mediawiki-1.11 [11:13:04] danbri: That's why there's a disclaimer on the short urls page saying putting it into the top level directory is a Bad Idea (tm) [11:14:03] Nikerabbit: so, would a postgres backed be a better idea? [11:14:19] mikeX: better in which way? [11:14:41] well, for 'proper' unicode support at least [11:15:14] maybe [11:15:28] danbri: seems to work [11:15:45] thanks for you help Nikerabbit, OverlordQ [11:15:50] but the current setup should be good enough for you, I think [11:16:09] *danbri just commented out that line [11:17:42] mikeX: there's still a few bugs with a postgres backend I'm sure, I know just helped to fix a few the other day. That and I dont think MW gets tested against a PG backend quite as much as mysql [11:17:51] danbri: i thik it would be good to add the three first lines of http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_PHP_as_a_CGI_module%252C_no_root_access#Alternate_option [11:18:30] OverlordQ: I see, well now that my issue seems fixed with mysql I won't be chaning soon, just to know my options [11:18:47] 03(mod) More PST magic, e.g. editor username - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10FT2.wiki) [11:19:03] btw, is it possible to have corrupted columns now that I manually changed all latin1 columns to utf8? like in the case of gzipped text? [11:19:39] I know for sure searching is borked with latest postgres [11:20:18] my content seems ok on first glance, but I get some illegal bytes in vim and iconv [11:23:57] ialex, I think that's where I got the lines I have... [11:24:30] ah no, misread you (your link above didn't work for some reason, so I had to search, and missed which page-part you pointed at= [11:24:49] danbri: http://rafb.net/p/zP2hRN99.html [11:25:42] just 1st 3, not the path/to/web line? [11:26:56] between "RewriteEngine On" and "RewriteRule [...]" [11:27:02] commenting out RewriteRule ^[^:]*\. - [L] [11:27:02] earned me a server-error [11:27:42] so that it will not use the rewrite rule if the requested path already exists [11:28:22] so I leave the rules...? [11:29:59] you can override the two first rules [11:37:46] 'ello [11:38:26] does anyone have tips about querying media wiki from ruby? [11:39:42] <_wooz> lo [11:44:15] Hello. How do I make a Category page remove a prefix from page names when displaying the category entries? I've got several pages, where I document certain settings of servers. So I've got a page called "server1/web", "server1/mail" and also "server2/web" & "server2/mail". They belong to categories Server1 & Server2. On those pages, I now see "server1/mail" & "server1/web" and on S2, there's "server2/web" & "server2/mail". Now I'd like to get rid [11:44:15] of the "server1/" and "server2/" prefixes on the category pages. How? [11:54:22] people, how correct install treeview4? [11:54:34] i create file Treeview4.php [11:54:48] and insert code in localsettings [11:55:22] but, if i insert in Mediawiki:sidebar, menu not displayed [12:04:35] mschmarck: you can't easily do that using the Category system (same problem with namespaces)... [12:05:29] DPL might, or if you are looking for a native method, you can try creating a page with {{Special:Prefixindex/Server1/}} which will list all subpages of that page [12:06:09] (whether or not you have subpages enabled in the main namespace... the prefixindex doesn't really care) [12:06:48] hello [12:07:45] Oshuma: maybe with the http-api? [12:08:14] Nikerabbit: well, the problem i'm having is trying to strip all the wikiformatting [12:08:28] and just getting a summary of the page and not just the first n characters [12:08:38] i am querying through the api [12:09:40] would the rendered page html/xml be any easier? [12:10:32] Splarka: i'm getting the document in xml format [12:10:38] but the wikiformatting is still there [12:12:37] mmm, ambiguity [12:13:20] my ultimate goal is to just get like a 50 word paragraph from the top of the page [12:13:57] wait [12:14:22] you mean you're getting the raw wikicode in format-xml via the api? or you're getting the rendered html post-mediawiki-parsing? [12:15:20] yes, raw wikicode in xml [12:15:49] ahh, well why not get the html, parse the dom tree and grab the first 50 words of plaintext? [12:16:17] i'm looking into using hpricot to do just that [12:16:41] the problem arises that a lot of times the first 50 chars aren't what i need [12:17:00] (you can grab the html via action=render to index.php, but the API might have something better) [12:17:37] hmm, good point [12:17:43] http://en.wikipedia.org/wiki/Xenon?action=render [12:19:26] if you look at that, the top is infoboxes and other formatting [12:19:46] the actual content, outside of in-wikicode xml, starts with the first

[12:20:12] this is somewhat common in articles, the infoboxes are floating and in the top of the code, but the text inside them is not

wrapped [12:20:47] if you were to grab the first 50 words, in a top-level

, I'd wager that'd be a somewhat successful summary of the article in most cases [12:22:04] i'll give it a shot [12:22:15] i didn't see action=render in the api docs [12:22:19] i was using action=query [12:22:39] action=render isn't api, it is index.php [12:22:54] well, there is an action=render in the API but it is different, it is for inputting raw text [12:22:59] and has been replaced by action=parse [12:23:13] so action=render won't get deprecated down the line? [12:23:24] index.php?action=render has been around for yonks [12:23:37] api.php?action=render is already replaced, and different [12:23:39] how long is a yonk? :o [12:23:41] here is an example: [12:23:42] http://en.wikipedia.org/w/api.php?action=parse&text=[[Foo]] [12:24:09] that tells you, for example if you were running a wikiwyg, that the link [[Foo]] exists and should be rendered blue, and not class=new [12:24:18] hmm [12:26:08] *Splarka checks Title.php [12:27:56] Splarka: thx for your answer! [12:27:59] Splarka: the query string i'm using is this (ruby code): [12:28:06] http://en.wikipedia.org/w/api.php?action=query&titles=#{@query}&redirects&prop=revisions&rvprop=content&format=xml [12:28:27] #{@query} is obviously replaced with URI.escape'ed string [12:29:17] Splarka: I suppose I'll rename my pages from "Server1/email" to "email @ server1", or something like that. [12:29:58] mschmarck, might see also DPL [12:30:00] !dpl [12:30:00] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [12:30:07] Splarka: thx [12:30:12] it is made for outputting category lists [12:30:32] Oshuma: right, that returns the unparsed wikicode.. not ideal... [12:30:41] exactly [12:31:10] trying just '/wiki/SOMETHING?action=render' [12:31:14] http://en.wikipedia.org/w/index.php?action=render&title= [12:31:35] note that the articlepath, /wiki/, and url parameters are not always stable [12:31:48] ?action=raw for example can only be used via scriptpath, eg /w/index.php [12:31:54] ok [12:32:43] however, if you're doing this on wikipedia, or another project with cache servers, action=render doesn't cache, so it is actually better to just grab the html of the page via /wiki/Title with no parameters (except maybe maxlag) [12:33:08] are you running ruby remotely or on the same machine? [12:33:20] Splarka: "only"? [12:33:35] Splarka: it's an irc bot that has a '?wiki ' command [12:33:38] or will have, rather [12:34:01] Okay, it seems like I can't install any extension [12:34:08] They simply don't show up [12:34:19] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Article.php?r1=9835&r2=9849 action=render introduced 2005 [12:34:35] Nikerabbit: http://en.wikipedia.org/wiki/Xenon?action=raw [12:35:14] Oshuma: ahh, makes sense now, limited to about 500 bytes [12:35:32] Splarka: is that wikimedia setup? [12:35:43] no, a recent change [12:35:53] ah [12:36:00] actually... [12:36:07] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=12922 [12:36:10] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29939 [12:36:58] it never worked in IE, because you could ask someone to execute a page text (the page name overrode mime type) with something like /wiki/Page.js?action=raw [12:37:41] but in Mozilla I found a while ago it was possible to ask the user to download and save the file as any name you want, using action=raw, eg /wiki/Notthepagetitle.txt?action=raw&curid=12345 [12:38:14] this could be used, for example, to make a template to "download this page as .txt", via: [12:38:16] [http://yoursite.com/wiki/{{FULLPAGENAME}}.txt&action=raw&oldid={{REVISIONID}} {{FULLPAGENAME}}.ext] [12:40:04] but it also could be used to link to a wikipedia page by oldid or curid, and the browser would offer to save it as a .bat or .vbs or etc [12:40:28] Nikerabbit: there is an open bug to make it possible to re-enable it: http://bugzilla.wikimedia.org/show_bug.cgi?id=12720 [12:40:30] I need some help, How can I limit the size(width) of all images on my wiki? [12:41:05] $wgMaxUploadSize [12:41:15] oop, you mean the dimensions? [12:41:21] yes yes [12:41:53] Like, images larger than 576px should be thumbnailed to 576px [12:42:11] Is there anyway that I can do this? [12:42:44] see $wgImageLimits DefaultSettings.php for info on what you can do [12:43:07] or: http://www.mediawiki.org/wiki/Manual:$wgImageLimits [12:43:12] Thank you a lot, I'll check this now [12:43:35] you can then remove any dimensions bigger than that, and set the $wgDefaultUserOptions to what you want [12:45:10] $wgImageLimits = array ( [12:45:10] array(320,240), [12:45:10] array(576,432) ); [12:45:10] $wgDefaultUserOptions['imagesize'] = 1; [12:46:24] that would be the default max size on an Image: desc page, or if [[Image:Foo|thumb]] were used, but it would still be possible to make bigger ones, eg [[Image:Foo.jpg|1000px]], so you may wanna limit $wgMaxUploadSize as well [12:48:10] Thanks Splarka [12:48:19] I'll make the changes on my wiki [12:51:39] hi. i have question abuot MW:Sidebar: if i have line portal-url|portal, and in portal there is polish translation, in portal/en is english translation is there possibility to make portal-url depends on language used on wiki? [12:52:36] i know that Multilang extension doesnt work in sidebar.. [12:52:54] is there other way to do this? [12:53:33] hmm [13:01:34] what do i need to manually set an email address as verified? [13:01:40] with sql, that is [13:02:51] pbm_: http://www.mediawiki.org/wiki/Manual:Sidebar#Target [13:02:54] looks like no [13:04:20] Splarka: ok, thx.. [13:04:42] i think that maybe there is same extension to do that.. [13:04:42] resetting the password definitely does not work :/ [13:19:59] I try to add extensions but they don't show up on special:version [13:20:08] and they don't seem to be loaded otherwise [13:20:11] any clue why? [13:20:57] you didn't add them to your localsettings.php? [13:21:00] or your path is wrong. [13:22:13] path? [13:22:17] Context please [13:22:48] And I did add them, and they php require_once does it work but mediawiki doesn't seem to [13:24:00] your path to where the extensions are stored could be wrong. [13:24:11] pastebin your lines. [13:25:21] Morbus: http://rafb.net/p/bNw55e88.html [13:26:21] could it be that MW 1.10 does not have wfLoadExtensionMessages(), any more? [13:26:46] MW 1.11 here, but what would that mean? [13:29:19] krunaldo: i am using 1.10 and according to google, some versions of MW do not have that function [13:29:40] problem is, Password Reset, which is marked as stable, depends on that [13:30:02] as manually resetting the password does not work, i am clutching at straws, atm [13:30:10] RichiH: not "any more" [13:31:51] Nikerabbit: from what i read, the function was removed, then reinstated [13:31:58] i am not sure that is true, mind [13:32:06] just random pages pulled from google [13:32:22] krunaldo: you may wish to try removing the "$IP/" from each line, or add it to the DefaultSettings line. Or, move the two extension lines to the /bottom/ of your localsettings.php [13:32:33] of course, if you could tell me how to manually set an email address as confirmed, i can also go that way [13:33:15] that shouldn't affect special:Version anyway [13:35:26] Morbus: done, and still isn't working and it shouldn't affect things [13:35:43] i didn't say it would. i merely said to try. [13:35:48] investigation is paramount to solutions. [13:36:01] yeah [13:36:15] Could rewrite rules affect this kind of thing? [13:36:21] no. [13:36:26] rewrite rules only affect URLs. these are fs paths. [13:36:33] what's your $IP set for? [13:36:43] either the extension does not add anything to special:version or it is not loaded [13:36:46] /var/www/mediawiki/mediawiki/ [13:36:56] Nikerabbit: it does if you load password reset [13:37:05] krunaldo: so "ls -l /var/www/mediawiki/mediawiki/extensions/Renameuser/SpecialRenameuser.php" works? [13:37:32] Morbus: Yes [13:37:40] RichiH: what is "it" in this context? [13:38:10] krunaldo: for the sake of sanity, edit that file with a line at the top that says "MORBUS RULEZZZZZ." [13:38:21] it should cause your mediawiki installation to blow up if, in fact, it's loading that file. [13:38:37] I have done this [13:38:51] did it blow up? [13:38:58] yes [13:39:07] hi everybody. i am getting this error-output here: http://de.pastebin.ca/851080 whatever i do (update.php or re-install) with mediwiki 1.11.0. the CREATE TABLE `mediawikiobjectcache`just fails. [13:39:21] ok. odd. i run both extensions, and they do spit stuff into Special:Version. [13:39:34] Yeah, seems like something is very, very broken [13:39:38] i figured out that "varbinary(255)" and "binary" may not be in the CREATE-command at the same time [13:40:30] krunaldo: do you have other, working, extensions installed? [13:40:30] i don't know much about SQL, so i maybe you know what's wrong here... i have older wiki-versions on the same server and they work fine [13:40:47] Morbus: No [13:40:55] Morbus: No extensions load at all [13:40:56] that is the problem [13:41:46] broadcaster: what mysql version are you using? [13:42:46] Isnogud: Ver 14.12 Distrib 5.0.45, for pc-linux-gnu (i486) using readline 5.2 [13:47:59] this is also mentioned here: http://www.mediawiki.org/wiki/Project:Support_desk/Archive_12#Mediawiki_1.11.0_upgrade_error_on_CREATE_TABLE_.60objectcache.60 [13:48:05] Nikerabbit: special pages [13:48:12] Nikerabbit: i realized you talked to someone else, though [13:48:27] Nikerabbit: but i have my error on special pages, thus i misinterpreted :) [13:49:53] hello I have annoying Notice:unserialize():Error at offset xx of xxx bytes in /var/www/wiki/include/BagOStuff.php on line 392 on top of the page [13:49:55] wot [13:50:11] dejuren: maybe corrupted object cache? [13:50:42] Nikerabbit, no idea, I am a newbie [13:51:13] Nikerabbit, how can i check is it object cache problem or not? [13:53:03] which version of mediawiki? [13:53:35] 1.11.0 [13:54:20] hmm [13:54:28] can you access mysql? [13:54:53] not actually, I'm using postgres [13:55:01] lol [13:55:05] beat me [13:55:16] but, yes, I can access the DB server [13:55:59] yet another one striving for data accuracy! [13:56:21] haven't seen postgre corrupting object cache [13:56:47] in which case delete from prefix_objectcache can be used to clear it [13:57:07] or if you apc or similar as object cache [13:57:27] or something just passed bad data to object cache, or you are exceeding php memory limit [13:59:18] OK, will begin tests if something of these may be the case tks.... [13:59:44] Hey [13:59:53] spricht ihr jmd Deutsch? [14:00:51] yes but more people speak English [14:02:55] hm.. i don't know how to explane it in english but of corse.. when I create a new Site in my MediaWiki.. then there is sometimes a blue framework [14:03:44] http://ah72.thekis.de/wiki/index.php/Energie [14:04:22] mfg08: if you start lines with a space, that line is treated a pre-formatted and enclosed in a block like this [14:04:42] don't put spaces at the beginning of lines, unless you want pre-formatted text [14:05:40] mfg08: perhaps look into the poem extension. or, for what it *looks* like you are trying to do, use

and
[14:06:02] And how can I get a text indentation? [14:06:10] html? [14:06:16] : [14:06:19] :: [14:06:22] that indents [14:06:32] use * for bulleted lists and # for numbered lists [14:06:37] !syntax [14:06:37] --mwbot-- For help with MediaWiki's Wikitext syntax, please see . [14:06:49] oki thanks [14:17:21] broadcaster: as the reporter of the link that you provided above mentioned. i think that your versions are incorrect or maybe you are missing some important modules. maybe the system-specific instuctions at http://www.mediawiki.org/wiki/Manual:Installation_guide will help you get it running. [14:18:10] Isnogud: ok, will go through it again [14:19:49] 03raymond * r30053 10/trunk/phase3/ (6 files in 4 dirs): [14:19:49] * (bug 6436) Localization of Special:Import XML parser Error message(s) [14:19:49] * Add some more specific error messages [14:19:49] * Use proper Xxl:: functions [14:20:06] 03grondin * r30054 10/trunk/phase3/languages/messages/MessagesTl.php: Import message from tagalog wikipedia [14:21:00] 03(FIXED) Special:Import XML parser Error message(s) to be made available in the MediaWiki name space. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6436 +comment (10raimond.spekking) [14:24:29] Nikerabbit, finally tracked down my bug: http://bugzilla.wikimedia.org/show_bug.cgi?id=11292 [14:25:03] hello [14:25:08] is there something like wikitext with several lines which strips out all line-breaks? [14:27:24] Alp-: Don't think so. What do you need it for? [14:28:21] 03siebrand * r30055 10/trunk/phase3/languages/messages/MessagesTl.php: Revert 30054 at request. [14:28:32] Isnogud: for better readabilty of the source code of a page [14:28:40] Isnogud: there are several if expressions [14:31:15] *RichiH got it to work \o/ [14:31:46] Hey, people, I got a problem: http://pastebin.com/d4d187874 [14:32:05] editing the login page to let me in with a bad password and setting my password to a temp one, editing preferences, changing password and then saving my profile worked [14:32:23] the raw mysql nor the password maintainance script did [14:39:00] Alp-: i see. Sounds reasonable. If there exists no such function maybe you should open a request for that functionality on the bugtracker. [14:40:07] Isnogud: doesnt seem to exist [14:40:26] Alp-: then request it. [14:40:57] Isnogud: never used the bugtracker [14:43:47] !bugzilla | Alp- [14:43:47] --mwbot-- Alp-: All bugs in MediaWiki should be reported at http://bugzilla.wikimedia.org. This is also the place to request site configuration changes, new features or enhancements to existing features, although bear the following points in mind before making a feature/enhancement request: 1) If the request is specific to a Wikimedia wiki, please discuss the issue on that wiki first. 2) Consider whether a custom extension would be more appropriate. [14:44:10] thanks [14:44:22] i think that it is not a extensions specific thing. [14:44:30] /thing/issue/ [14:44:59] It would more likely be a nice enhancement for the MW-Core. [14:45:33] but ... starting a discussion on the wiki is maybe the best place to start.... [14:50:57] 03(mod) Classes like Parser and EditPage should use $mTitle member rather than $wgTitle - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12710 +comment (10roan.kattouw) [14:53:07] 03(NEW) Special:ExpandTemplates not correctly expanding templates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12737 minor; normal; MediaWiki: Special pages; (nvervelle) [14:57:59] 03(mod) Special:ExpandTemplates not correctly expanding templates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12737 +comment (10raimond.spekking) [15:17:19] I'm logged in as a sysop ... how do I create accounts for other people? [15:18:18] just as you would normally create an account for your self [15:21:04] and you don't need to be sysop to do it (anyone can create a ccounts anyway, so...) [15:21:22] but when I'm logged in there is no 'create account' link at the top [15:21:35] true - just go to the url directly [15:21:36] jorvis: is there a login link at the top? [15:21:37] Special:Userlogin [15:21:51] kibble: not if he's alreaydy logged in [15:22:11] ah, but that page has the 'create login' link [15:22:13] thanks! [16:08:27] hi! [16:08:59] i can you help me please? [16:09:15] ou no i.. [16:10:11] !ask | Orangeman [16:10:11] --mwbot-- Orangeman: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [16:12:09] I could not find anything missing or not fullfilling the requirements of mediawiki, it's just that mySQL 5.0.45 reports a syntax error for that certain CREATE command mentioned earlier this day. [16:12:23] mysql> CREATE TABLE w4_objectcache ( keyname varbinary(255) binary not null default '', value mediumblob, exptime datetime, unique key (keyname), key (exptime) ) TYPE=InnoDB; [16:12:23] ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null default '', value mediumblob, exptime datetime, unique key (k' at line 1 [16:13:27] looks like varbinary() and binary are both data types, which cannot be used at the same time for one entry, but... if they can't, then why does it work for everybody else? [16:13:42] *broadcaster cratches his head in confusion [16:13:54] binary is not a data type [16:13:59] it's a collation [16:14:12] varbinary shouldn't need binary modifier, yes [16:14:16] i have no idea what a collation is ;) [16:14:38] applying it to a varinary is redundant though [16:14:44] Isnogud: I edit article on czech wikipedia, and when i click to show prewiev, the article has only one half of article.... [16:15:07] please, help, i've problem with treeview [16:15:17] and, incidentally, in my tables.sql, it's not there [16:15:23] Orangeman: i think you're confusing wikipedia and mediawiki [16:15:29] i install and update localsetting.php [16:16:27] if i leave out the "binary" modifier, it works [16:16:54] installation/update continues then [16:17:41] broadcaster, insert code from example to mediawiki:sidebaê [16:17:43] domas: if varbinary(255) doesn't need the binary modifier, it still doesnt' mean it's a syntax error. [16:18:09] Rolph: i don't get what you mean [16:18:27] confusing? [16:20:51] 03(NEW) Database query syntax error in maintenance/storage/ compressOld.inc - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12738 minor; normal; MediaWiki: Maintenance scripts; (emil) [16:21:01] broadcaster, for the testing, i insert {{#tree: [16:21:01] *Root1 [16:21:01] **Sub-item [16:21:01] **Another sub-item [16:21:01] *Root2 [16:21:02] **Sub-item [16:21:04] **Another sub-item [16:21:06] }} [16:21:08] {{#tree:openlevels=1| [16:21:10] *Root [16:21:12] **Sub-item [16:21:14] **Another sub-item [16:21:16] }} [16:21:16] argh. [16:21:20] sorry [16:21:25] Rolph: Stop pls. [16:21:56] !pastebin [16:21:56] --mwbot-- Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [16:21:57] Rolph: please, don't ask _me_ about your problem, i have no idea. [16:22:26] broadcaster, ok, sorry [16:24:45] hi there.... [16:24:57] 03shinjiman * r30056 10/trunk/phase3/languages/messages/ (4 files): [16:24:57] * Update Chinese translations [16:24:57] * Update Cantonese translations [16:24:57] * Update Old Chinese / Late Time Chinese translations [16:25:07] is there a finite set of templates that could be used within mediawiki? [16:25:14] especially in wikipedia [16:25:49] hm? [16:26:04] wikipedia uses templates... the number is sure finite... [16:26:05] i am writing an API for Wikipedia and try to extend it to be usable with all supported languages.. and the translation of markup is really painful [16:26:33] Duesentrieb: yeah, sure it is finite now, but is it extended on the fly or really fixed? [16:26:57] it'S extended on the fly [16:27:04] a template is just a wiki page [16:27:15] any page can be used as a template, in fact [16:27:22] this all stems from the fact that mediawiki's "parser" does not even feature a usable tokenizer... [16:27:33] it's munger, yes [16:27:46] this has been lamented 1000 times before. and it sucks. [16:27:47] Duesentrieb: ok, so i have no chance to really cover all markup that i will encounter in Wikipedia? [16:27:54] no. [16:28:00] many have tried [16:28:10] i can just distinguish between templates, links, articles, ... [16:28:15] argh [16:28:37] template syntax alone is very complex to parse [16:28:48] ok, are you aware of a list of translations for commonly used markup in Wikipedia? [16:28:49] image links are, too (because they can be nested, unlike other links) [16:29:00] translations? to what? [16:29:02] and common where? [16:29:06] anyway: http://meta.wikimedia.org/wiki/Alternative_parsers [16:29:26] Duesentrieb: yes template and image links are giving me a headache.. i am in the process of writing a tokenizer in python whoch should be language agnostic... [16:30:16] Duesentrieb: translations between languages used in Wikipedia (for example Category->Kategorie, as an example english->german) [16:30:54] oh, that's just namespaces and magic words [16:30:58] that's covered by the language files [16:31:29] babilen: there's a new effort to formaslize mediawiki's markup. it's being discussed on wikitext-l, perhaps you'd like to join. [16:31:31] see http://lists.wikimedia.org/pipermail/wikitext-l/ [16:31:58] Duesentrieb: i would very much like to join.. so there will finally be EBNF for mediawiki markup? [16:32:11] and i can finally use flex/yacc? [16:32:15] antlr [16:32:20] maybe, help me, how integrate treeview in sidebar? [16:32:32] where can i find these "language files"? [16:32:47] in the mediawiki installation directory, in the languages dir [16:32:51] babilen: also look into wikicreol, btw [16:32:59] in the docs for Extension:NamespacePermissions the author refers to define() a macro. Can anyone tell me what this is or where to find info about it a search of mediawiki has not helped so far. [16:33:23] Poundo: define is for constants in php. [16:34:40] Duesentrieb: so "define('NS_ADMIN', 100);" is refering to a PHP macro? [16:34:53] a php constant [16:35:01] How do I enable lowercase displaytitles? I tried the template from wikipedia but it doesn't seem to work... (1.11 running here) [16:35:03] no idea what "macro" means here [16:35:30] Poundo: it's just a conveniance, so you don't have to remember which namespoace 100 is, but can use NS_ADMIN in config files, etc [16:35:56] Duesentrieb: here is what he says "The macro "define()" should be used to create extra-namespaces in LocalSettings.php. e.g." [16:36:16] Duesentrieb: I think I get it now! [16:36:29] Poundo: well, that statement is... misleading, at best [16:36:59] Poundo: because it's not a macro, and it doesn't define a namespace. it's a function that defines a constant for a namespace's id. [16:37:33] you'Äd use wgExtraNamespaces to actually define the namespace. and you don't need a constant for that (though it's nicer to use one) [16:37:59] Duesentrieb: Yea thats what I thought . probably just a brain stumble on the authors part [16:38:00] krunaldo: http://www.mediawiki.org/wiki/Manual:%24wgAllowDisplayTitle [16:38:24] Poundo: fix it :) [16:39:04] Duesentrieb: Oh wait a minuet. That may be above my pay grade :-D [16:40:11] hi. i ahve a private test wiki on my website. i want to protect it from the public. is there an easy way to include a login for that root? i mean domain.com should be normal but domain.com/wiki/... requires a login. i onyl need one login no registration etc [16:40:42] googling php scripts etc, but maybe theres an internal way [16:41:29] MONK3000: the easiest way is external: use http-auth. there's a gazillon pages that tell you how to do it using a .htaccess file [16:41:51] but you can also use in-wiki stuff: [16:41:56] !access | MONK3000 [16:41:56] --mwbot-- MONK3000: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [16:44:06] thanks daniel & mwbot. one should def work. forgot i can restrict READ in user rights [16:44:16] Duesentrieb: It should be enabled by default, but even if I enabled it in LocalSettings it doesn't do anything [16:45:11] krunaldo: are you using the exact synatx as explained on the page i linked to? did you re-edit the article after changing the config? [16:51:55] wow .htaccess is damn easy and exactly what i wanted [16:53:03] and it works for anything on your webserver [17:01:45] Duesentrieb: [17:01:47] Duesentrieb: yes [17:01:59] yeah most important was it affects all directories below so saved favourites by someone require a login now aswell [17:02:27] Duesentrieb: Sorry, missed the part about only changing case [17:07:39] 03(mod) Distinguish disambiguation pages from normal articles cheaply in database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6754 +comment (10jasonspiro) [17:12:12] hi [17:16:09] 03(mod) Distinguish disambiguation pages from normal articles cheaply in database - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6754 (10jasonspiro) [17:28:36] How can I add my own javascript file to be loaded on each page load? [17:29:14] [[Special:Mypage/monobook.js]] (if monobook is your skin) [17:30:09] my skin is gumax [17:30:46] I think it would be [[Special:Mypage/gumax.js]] then, but I'm not sure [17:31:02] i will try it here [17:42:07] !iframes [17:42:07] --mwbot-- To embed iframes on wiki pages, you can use . Alternatively, see !html for information on using full HTML on your wiki pages. [17:42:54] 03siebrand * r30057 10/trunk/phase3/languages/messages/MessagesZea.php: Remove some references to Wikipedia [17:50:10] 03rotem * r30058 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [17:51:41] TimLaqua: what about adding license to http://www.mediawiki.org/wiki/Image:ContributorsAddon_Example.PNG ? [17:57:14] broadcaster: of course, you tell me! [18:07:27] 03siebrand * r30059 10/trunk/phase3/languages/messages/MessagesEn.php: article -> page [18:16:35] Duesentrieb: interesting project that you posted. antlr grammar for Wiki Markup.... [18:17:45] Duesentrieb: but doesn't antlr create java parser? how could this be used in mw? [18:20:54] Has anyone sucessfully got Amazon ads in to a media wiki system. Because everything I've tried has failed [18:28:53] How can I activate the upload function [18:29:56] check the FAQ. [18:30:52] !upload | mfg08 [18:30:52] --mwbot-- mfg08: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [18:31:25] why disabled by default ? [18:31:31] (just curiosity) [18:31:42] I was wondering if anyone knows why I can't open up my installed Wiki in a frame, it breaks out of the frame that I put it in. MediaWiki: 1.6.10 [18:31:42] PHP: 4.4.7 (apache) [18:31:42] MySQL: 4.1.16 [18:33:28] you coded frames ''inside'' mediawiki ? [18:34:23] no, I made a page that tries to open up mediawiki in one of the frames [18:34:36] it breaks out of the frames and just shows the mediawiki URL [18:35:30] http://www.1rwnadmin.com/index.php?page=contacts&cd=1a424 [18:35:31] erm, can i change from innoDB to MyISAM during update or will that break my db? [18:39:30] hum, no, i think i can't, i would have to convert the db first (by dumping and restoring it) [18:41:42] kevmuskoka : mediawiki seems to work fine, your html may be bogus [18:42:40] i dont remember how #html frames works [18:42:58] the page I use opens up multiple pages in frames, the wiki one is the only one that breaks out [18:43:03] *OvrLrd-Q prods G_SabinoMullane [18:43:37] kevmuskoka : wiki works for me [18:44:34] *G_SabinoMullane rolls over, mumbles, and opens an eye questioningly [18:44:54] yes, the wiki works fine ... let me make another example.... [18:45:20] G_SabinoMullane: you're greg on svn commits right? [18:46:33] kevmuskoka: make sure that $wgBreakFrames is false in your LocalSettings.php [18:47:45] OvrLrd-Q: Yes [18:49:01] I put this in, $wgBreakFrames = false; [18:49:06] $wgBreakFrames = false; [18:49:17] but it still breaks out (even after CTRL-F5) [18:49:33] what mediawiki version are you using? [18:50:21] 1.6.10 [18:50:23] 03(NEW) Change wfMsg to wfMsgForContent for message " pfunc_max_ifexist_category" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12739 15enhancement; normal; MediaWiki extensions: ParserFunctions; (robin_1273) [18:50:52] kevmuskoka: that'd be why, BreakFrames wasn't added until 1.9 [18:51:23] but, I'm not sure why it's breaking them then... [18:51:24] yeah, I see that now. [18:51:37] where would the code be that breaks out of the frames ? [18:52:06] I need to keep this version, due to my versions of PHP/mysql [18:54:31] 03(mod) Namespace request for Wikibooks Turkish - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12677 (10serhat.er.95) [18:56:19] found it, it's in wiki/skins/common/wikibits.js [18:56:25] removed the code that removes it from frames [18:56:35] 03(mod) Enable new parser on Wikimedia (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12652 (10ssanbeg) [18:56:37] 03(mod) Install Labeled Section Transclusion extension on fr.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11766 (10ssanbeg) [19:04:14] So, anyone had sucess getting amazon links into pages? [19:04:44] !amazon [19:04:44] --mwbot-- I don't know anything about "amazon". [19:05:13] So far all the extensions have failed to work and same with the ifames extension [19:09:29] so wird langsam zeit für die hei muss um 5 uhr aufstehen [19:12:44] Will the functionality on http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages be available soon and if not is there similar functionality available? [19:14:27] I hate hardware. [19:14:29] All hardware. [19:15:17] heh [19:16:08] Take apart a computer to replace the CPU fan, end up breaking the motherboard and/or CPU, not knowing which, guessing wrong, replacing both. [19:16:15] What do I need $200 for anyway? Seriously. [19:16:31] Sim, I'll trade you. I'll take the hardware if you'll take over trying to get amazon links to work on my project ;) [19:17:29] Either that or I'll give you the $200 for an edit api function :D [19:18:52] I think ApehelionZ trumps my offer [19:19:23] And to back up a bit, what does hei? mean... [19:21:33] I know it's been 5 years since the German major, but not familiar with hei.... [19:24:39] Although, in my job, I get it on both ends: hardware and software. I don't get the luxury of blaming the other guy...it's all my fault. [19:25:03] hi [19:25:59] !iframe [19:25:59] --mwbot-- To embed iframes on wiki pages, you can use . Alternatively, see !html for information on using full HTML on your wiki pages. [19:26:08] !html [19:26:08] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [19:26:41] I'm installing 1.11.0, and it's telling me something's not quite right, check everything but I double checked. what can I do? could it be because I pre-created the user? [19:29:15] Kartagis: and what it says ? [19:30:21] labas [19:30:46] ialex: red letters say check your username and password but I've already created the user and gave its password, [19:31:13] Kartagis: for mysql database ? [19:31:24] Kartagis: Have you already created the database, and if so, does the user hav full access on that db? [19:32:22] ialex: yes and amidaniel yes [19:32:55] amidaniel: but the database is not empty. would that be a problem? [19:33:19] What else do you have in there? [19:33:45] in where? [19:33:56] In the database you created for the wiki [19:35:42] amidaniel: a few articled for my wiki [19:36:36] huh? I thought you hadn't installed the wiki yet ... [19:37:58] amidaniel: let's say I'm upgrading [19:39:54] doest it says "failed due to authentication errors. Check passwords." in the main list ? [19:40:05] Okay, well then you need to run update.php, not the install [19:43:47] amidaniel: may I pm you with the output? [19:44:02] ialex: nope [19:44:19] !pastebin | Kartagis [19:44:19] --mwbot-- Kartagis: Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [19:45:16] http://mediawiki.pastey.net/81080 [19:45:46] Kartagis: "php update.php" [19:51:34] or should we add some "#!/usr/bin/env php" in maintenance scripts ? [19:51:57] That breaks PHP. [19:52:00] No, we shouldn't :) [19:52:13] not with my version [19:52:14] It passes through the line, since it comes before Well, at least with some versions. [19:53:05] great, php :( [19:54:26] $ echo '#!/usr/bin/php' | php [19:54:26] #!/usr/bin/php [19:55:02] What happens if you stick a