[00:00:58] erm, which Feed generator can be used with the latest version? i currently have WikiArticleFeeds -> it is ugly, i think it needs too much human labor to produce the feed... I cant setup rss export, following the wiki guide i end up with a whole lot of errors [00:00:58] any advice? [00:01:19] BrokenArrow, you can undelete images . . . [00:01:36] aeolist, what kind of feed do you want? Article histories have RSS and Atom feeds in the core software. [00:01:43] 03siebrand * r30007 10/trunk/phase3/languages/messages/ (11 files): Localisation updates for core messages from Betawiki (2008-01-21 1:00 CET) [00:02:07] Simetrical: and select some specific revision of the image description page, too? [00:02:21] Simetrical: i want a news rss feed [00:02:28] 03(mod) Some edits only show when logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12696 (10brett) [00:02:53] currently what we do is we have a news page with and every time someone adds a news, he removes the oldest one and moves it to an old_news page [00:02:59] BrokenArrow, I dunno. [00:03:03] or at least i think that's what happens... [00:03:26] tks, will test [00:03:27] aeolist, I don't know, then. Generally that kind of thing is done with either bots or DynamicPageList, AFAIK. [00:03:29] !dpl [00:03:29] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [00:03:37] DPL is pretty heavy-weight, though. [00:04:08] It's what's used on Wikinews, but everyone refuses to enable it on the bigger Wikimedia projects because it would probably melt the database servers. [00:04:21] 03aaron * r30008 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: Use percents [00:05:41] 03siebrand * r30009 10/trunk/extensions/ (28 files in 27 dirs): Localisation updates for extension messages from Betawiki (2008-01-21 01:00 CET) [00:06:00] actually, each news item is not a separate page [00:06:10] maybe i just need the News extension [00:06:27] *Werdna waves, this time from Sydney [00:15:27] aeolist, have you been pointed to http://www.mediawiki.org/wiki/Category:RSS_extensions yet? [00:15:42] aeolist, I think wiki article-feeds could be quite nice, if you'd enhance it a little. [00:16:16] Splarka: i have already read all that, didnt find much useful stuff [00:16:21] (like proper date and author tags) [00:16:52] jamasi: unfortunately, i dont have time/etc to tinker with extensions, i just need something that works :) [00:17:35] perhapps I'll do this in a 1-2 months timeframe [00:17:52] (I'm looking for a good extension to blog as well) [00:18:35] is it clear what i am looking for? [00:19:02] i need to produce an rss feed of the first 10 paragraphs of a page [00:19:05] or something similar [00:19:13] Question about Regular expression syntax. Would it be correct to say that * acts like an elipsis, so that overflow:\s*auto will find "overflow" followed by " auto" regardless of what might be between. It will not, however, find "overflow:auto" [00:19:37] one could easily hack that into the extension. [00:20:22] (if you do it quick & dirty you should be ready in at max 30 min. [00:20:34] I mean "overflow:" followed by " auto" or "overflow: " followed by "auto" (space on either side) [00:20:48] Steev43230: it will find zero to infinite whitespaces in that case [00:20:58] overflow:auto overflow: auto overflow: auto [00:21:10] rssExport _is_ broken for the latest mediawiki? [00:21:41] note you have to escape the colon though [00:21:43] But doesn't the \s require it to look for a space between "overflow:" and "auto"? [00:21:58] asterisk means "zero or more", maybe you want plus [00:22:11] overflow\:\s+auto [00:22:13] I'm just trying to unserstand the manual [00:22:30] 03aaron * r30010 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: Tweak [00:22:50] each platform has minutely different syntax interpretation for regex too [00:24:04] overflow\:\s+auto will skip "overflow:auto" and catch "overflow: auto" "overflow: auto" etc [00:24:55] So \s* means to look for 0 or more spaces? [00:25:03] mmm, jamasi i re-read what wikiarticle feeds does [00:25:11] whitespaces, not quite the same thing [00:25:18] it might include tabs, for example [00:25:20] i dont know why we had considered it as inadequate [00:25:22] spaces, tabes [00:25:25] tabs [00:25:31] hard spaces [00:25:32] i'll recheck with my guys back at our base [00:25:33] etc. [00:25:33] okay, you know {} syntax? [00:25:35] right? [00:25:47] a{1,3} will find 1 to 3 of the letter a in a row [00:25:56] a aa aaa but not aaaa (will only match the first 3) [00:26:05] You can write what I know with 0 letters of the alphabet [00:26:29] a{1} will find exactly one, a{3} exactly 3, a{1,} will find 1 or more, a{4,} 4 or more, etc [00:26:36] What I'm trying to do is comment my very simple $wgRegEx line in LocalSettings.php [00:26:45] $wgSpamRegex [00:26:47] a? = a{0,1} [00:26:52] a+ = a{1,} [00:26:56] a* = a{0,} [00:27:10] right [00:27:24] what does this line do: $wgSpamRegex = "/". ? [00:27:43] should add nothing to the spam regex [00:28:52] But http://www.mediawiki.org/wiki/Manual:%24wgSpamRegex#A_Large_Example [00:29:40] right, that is adding more [00:29:49] the / and /i at the end are the wrappers [00:30:00] Adding more what? What is the purpose of the "\" ? [00:30:13] \ is the escape character, / is the regex wrapper [00:30:32] /regex/parameters [00:30:43] parameters include i (ignore case) g (global) etc [00:30:54] Ok, my question was only abotu $wgSpamRegex = "/". - why they start the expression with that line [00:30:56] on wikimedia, I believe this is still in the wgSpamRegex: overflow: auto; height [00:31:06] because regular expressions start with / [00:31:10] OH! [00:31:16] in the code [00:31:29] for spamregex, you might use something other than /, like , or {} [00:31:30] but on a wiki page like m:Spam_Blacklist, they aren't needed [00:31:44] the reason it starts with / is the first character sets the terminator [00:31:57] HOw come on the manual there isn't a "/" at the end? [00:31:58] ,a/b,i and /a\/b/i are the same, but the former is easier to read [00:32:38] flying: is the wmf spam blacklist still treated as one giant regex or is it split now? [00:32:52] *Splarka remembers wikia's running out of space and having to be split, heh [00:32:54] i don't know anything about the spam blacklist [00:33:00] i think tim increased the max size a while ago [00:33:04] k [00:33:26] How come http://www.mediawiki.org/wiki/Manual:%24wgSpamRegex#A_Large_Example doesn show a "/" at the end? [00:33:41] Should it? [00:33:45]  "/i"; //Make the test case-insensitive [00:33:54] it does, just before the parameter [00:33:55] Steev43230: the first / is the start. the second / is the end. everything following the end, i.e. 'i', is the flags [00:34:17] I see. Thanks. [00:34:30] if you need a / in the regex, be sure to escape it with \ [00:35:26] Should this line have a pipe preceding the final quotation mark? "display\s*:\s*none". [00:35:49] I guess not - because the very next line is the last line [00:35:50] no, because | is used to separate two strings, either of which can match [00:36:03] i'm sure google has a tutorial on using regular expressions somewhere.. [00:37:06] <^demon|away> Quick API question: What would be the easiest way to replicate this output (http://en.wikipedia.org/w/api.php?action=parse&text={{:Bruno_Maddox}}) only with an old id specified. [00:38:55] why do we use regexes for spam blacklisting? [00:39:10] It adds so much pointless processing overhead [00:39:33] ^demon|away: doesn't seem possible [00:39:39] Werdna: isn't it disabled right now for that reason? [00:39:43] Werdna: it's fine for the regex [00:39:48] ^demon|away: you can sort of do that with action=render though [00:39:50] Werdna: the spamblacklist extension probably doesn't need it [00:40:13] I mean, how many times do we actually use the regex functionality of spamblacklist anyway? [00:40:24] http://en.wikipedia.org/w/index.php?title=-&action=render&oldid=12345 just returns the html of the revision [00:41:23] Werdna: sofixit, maybe split the spam blacklist into two parts, a regex and an index search, with two corresponding sections on the wiki to edit [00:41:24] Ryan_Lane: title blacklist is disabled, not spam blacklist [00:41:36] flyingparchment: ahhh. ok. [00:42:03] title blacklist, sans regexes, is in core. [00:42:11] Werdna: and also disabled [00:42:19] <^demon|away> Splarka: That's what I thought. I was thinking the *easiest* way to get all that info (actually, minus prop=text, don't need that), but be able to specify an oldID. I guess it'll just be easier to grab each one by itself, using action=query instead. [00:42:24] Shouldn't "display\s*:\s*none". be "display:\s*none". ? [00:42:39] Steev43230: no, since "display : none" is valid css, afaik [00:42:45] <^demon|away> It is. [00:42:50] flyingparchment: the protectedtitles stuff is disabled on wikimedia? [00:43:05] Werdna: Hagger, Jews did WTC, and Hermy [00:43:10] Werdna: the thing which is called "TitleBlacklist" is disabled [00:43:18] Then shouldn't the same be true for "height:\s*[0-4]px|" - it should instead be "height\s*:\s*[0-4]px|" ? [00:43:23] ^demon|away: you should request via bugzilla that action=parse allows a revision or article ID to be specified, as well as raw text [00:43:26] Steev43230: yes [00:43:31] Werdna: and if it's made global, probably /index.php [00:43:31] flyingparchment: right, but the same functionality, without the ability to do regexes, is implemented in core. [00:43:39] Same for "overflow" too then? [00:43:48] Werdna: okay. but that is not "TitleBlacklist". i was explaining to ryan what had been disabled [00:44:09] right [00:44:13] Steev43230: many of these are only because of bots that are repetitive [00:44:17] MZMcBride: Isn't that best done with an adminbot? [00:44:19] Kewl. Thanks. [00:44:29] Werdna: adminbot on en.wiki? zomg [00:44:43] "overflow: auto; height" on wikimedia should still be blacklisted, but you could bypass that by putting height first [00:44:44] <^demon|away> Adminbots will kill us all, haven't you heard the memo? [00:44:55] MZMcBride: political issues aside, that's probably the best solution, n'est-ce pas? [00:44:56] a lot of the variants could certainly be protected with &action=protect, but regex is better [00:45:15] seems silly to do 300 protections vs. one line of regex [00:45:26] regex that doesn't use 15% of the cluster is better? [00:45:29] and TitleBlacklist has already been fixed to not be so expensive [00:45:30] right. but the regex can be evaluated by a bot. [00:45:36] the problem with titleblacklist was not the regex [00:45:40] it was shitty coding :) [00:45:44] subst/regex/hooks [00:45:51] but it can't have helped [00:45:52] it's been fixed. waiting for review currently [00:46:00] without regex, perhaps domas wouldn't have found the problem so fast ^_^ [00:46:46] Werdna: your way would work as well, but what would the bot do exactly? protect non-existent pages or delete them when they show up or what/ [00:46:55] MZMcBride: delete + block when they show up [00:47:05] haha. never going to happen on en.wiki [00:47:27] sure. But it'd be the best solution [00:48:18] the best solution is to give me money, then delete the pages manually [00:48:22] best solutions are rarely what en.wiki strives for. if it were the most bureaucratic or the most ludicrous, then it might happen [00:48:48] we couldn't even get an adminbot to delete the user / user talk pages of indefinitely blocked accounts [00:48:53] people went nuts [00:49:03] MZMcBride: why would you do that? [00:49:13] it doesn't necessarily sound like a good idea. [00:49:23] certainly contentious at best. [00:49:32] unless it's cast-iron policy to always do that now. [00:49:47] that would be a stupid policy. oh, enwiki.. [00:50:23] we do it if the user wasn't proven to be a sock [00:50:32] no real point in keeping the pages [00:50:44] no point in making a bot delete them, either. [00:50:51] Would someone be willing to look at http://www.mediawiki.org/wiki/Manual:%24wgSpamRegex#A_Large_Example and make sure I haven't screwed up the example there? Or lied (in the comments I revised)? [00:50:55] it's that or do it manually [00:50:58] no point in deleting them at all, either [00:53:52] Is there an extension that will automatically change words, such as a word macro, that will do things like change, e.g., "Chairs" to "chairs" or "colour" to "color" when the page is saved? [00:54:03] the best way to see if a bot has approval is to run it slowly on your own account for a while. If nobody complains, then it shouldn't be a problem to botflag it. [CAUTION: If you actually do this, people will probably ban you!] [00:54:18] Steev43230: that will work great until you write a page that "In British English, many words (e.g. colour) are spelt differently." [00:54:54] Yeah, I know the risks. But it's a closed wiki, intended to have only 3 or 4 editors. [00:55:26] <^demon|away> There's no point in keeping them even if they aren't a sock. Unused meta-pages need deletion, unless they're archived for some reason. [00:55:27] And less than ten words to be affected, and primarily in case, not spellnig. [00:55:34] Or spelling, even! [00:55:44] ^demon|away why? [00:55:48] ^demon|away: what is the purpose of a user page? [00:56:01] Steev43230: your users never start a sentence with "Chair"? :) [00:56:20] <^demon|away> Werdna: Why keep an unused page lying around? [00:57:04] It would have to be an exception. Primary problem is my Users think Everything is a Proper Noun and is is irritating as Hell. [00:57:23] Why delete it? You are making the positive claim that these pages should be deleted. Therefore, the burden of proof lies on you to show that it should be deleted, not me to show that it need not be. [00:57:23] Steev43230: perhaps you should write your wiki in German [00:57:38] :) [00:57:53] <^demon|away> Werdna: Keeping un-needed stuff lying around looks messy, if nothing else. Do you keep every item you get in the mail? [00:57:59] Is this chat kept in the Wayback machine, or otherwise accessble later? [00:58:09] Steev43230: link in the /topic [00:58:16] ? [00:58:24] Steev43230: the topic of the channel. there is a link [00:58:35] e [00:58:38] bletch [00:58:41] http://tinyurl.com/2896ae [00:58:45] In other words :) [00:58:49] I see - so it is logged. OK. [00:58:59] <^demon|away> amidaniel: I've missed you :( [00:59:02] hmm, don't some zh variants auto-convert on save? or is that only on view? [00:59:17] Splarka: view i believe. not sure though [00:59:34] Werdna: i am not using ^demon|away. shall we delete him from the channel? [00:59:37] The subject and the analogue of that analogical argument have negatively relevant differences, namely that keeping every item from the mail incurs nontrivial storage costs, and tends to clutter up a bench or something. In the case of a page, there is no evidence that it exists, from a user perspective, except if a user happens to try to view it. [00:59:42] Steev43230: you could do some javascript, heh heh [00:59:42] ^demon|away: Missed you too, you sexy beast :) [00:59:46] No one knows of such an extension, then? How about customizable spelling extensions. I assume there's plenty of those, right? [00:59:48] Where ya been hiding? [01:00:10] Sparkla, /you/ could do JS; all I could do is put myself into an asylum. [01:00:12] <^demon|away> amidaniel: Hehe, I try. Mind if I /msg you with a question? [01:00:26] Sure thing [01:00:42] *amidaniel eagerly awaits ^demon|away's message :D [01:00:45] Ooh .. just got it [01:00:52] <^demon|away> Exciting, yes? [01:01:11] Very [01:01:15] Hmmm ... how shall I respond? [01:01:17] *amidaniel thinks [01:01:17] *Splarka jelous [01:02:00] we should rename this channel to #wikimedia-mediawiki [01:02:05] <^demon|away> No. [01:02:10] not only a palindrome, but even more confusing to new users [01:02:13] great fun for everyone [01:02:20] 'tisn't a palindrome [01:02:28] unless "wiki" and "media" are letters. [01:02:33] Werdna: they are [01:02:40] multiglyphical spoonerism [01:02:57] there's probably a more accurate word for it, but you know what i mean ;) [01:03:02] flyingparchment: ;) [01:03:32] *Splarka wonders if flyingparchment knows "werdna/andrew" knows his palindromes [01:03:51] i only realized that palindrome about a week ago... [01:04:03] Werdna: "word-order palindrome" [01:04:20] MZMcBride: it's not a palindrome [01:04:26] unless you wrote werdnAndrew [01:04:33] right. [01:04:39] *MZMcBride isn't thinking [01:04:57] MZMcBride: you mean "MZMcBride doesn't think" [01:05:08] (i didn't make that up, that is apparently what wikimedia-mediawiki is) [01:05:12] "werdna andrew" or "andrew werdna" are palindromes [01:05:33] flyingparchment: sauce? [01:05:53] http://en.wikipedia.org/wiki/Palindrome#Words [01:06:02] Werdna: Poetry Glossary. Copyright © 2007, ILOVEPOETRY, Inc [01:06:10] (no doubt a very reliable source) [01:06:44] heh [01:12:46] what's the way to purge a changed javascript? [01:13:02] ow, wrong changgel. [01:28:07] flyingparchment: http://en.wikipedia.org/wiki/Talk:Jacques_Derrida#Is_Derrida_really_dead.3F [01:28:09] LOL [01:34:58] Thanks for everyone's help - it would be great if someone would look at http://www.mediawiki.org/wiki/Manual:%24wgSpamRegex#CSS_Hidden_Spam and make sure the comments I added, showing how the code is parsed, are accurate. [01:35:54] Steev43230: since we're all lazy, please provide a diff link [01:36:11] I don't know how to do that. [01:36:23] go to history, find the revision you made, click 'last' on the left [01:38:05] Not sure this would be helpful - much easier just to read the comments on the page - but here goes http://www.mediawiki.org/w/index.php?title=Manual:%24wgSpamRegex&diff=162232&oldid=162231 [01:38:54] It's just the section that follows the text that says "To prevent CSS hidden spam of the form style="display:none;"" - I added comments to the code. [01:39:38] flyingparchment: I love postmodern comments like that one [01:39:51] always gives me a smile and makes my day ;) [02:18:27] Are namespaces like this acceptable? [02:18:28] $wgExtraNamespaces[100] = "d1"; [02:18:30] $wgExtraNamespaces[101] = "d1_talk"; [02:18:32] $wgExtraNamespaces[110] = "d1modding"; [02:18:34] $wgExtraNamespaces[111] = "d1modding_talk"; [02:18:52] what's wrong with that? [02:19:25] nothings, wrong. I'm just being cauious... don't really know much about namespaces. [02:19:37] check the manual page? [02:19:44] !wg ExtraNamespaces [02:19:44] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgExtraNamespaces [02:20:06] is it possible to host all images on a secondary server? [02:23:19] gcardinal: yeah, you can just mount it under the images directory [02:23:37] not mw config at all [02:24:53] yeah but I kinda have BW problems, my main server at the limit of the montly data transfer limit, so I was thinking to somehow to split it up and host images on a different host so it doesnt uses so my bw [02:25:08] gcardinal: ohhh [02:25:33] gcardinal: nope, i dont know of a solution to that [02:25:57] ok [02:57:25] 03shinjiman * r30011 10/trunk/phase3/languages/messages/ (4 files): [02:57:25] * Update Chinese translations [02:57:25] * Update Cantonese translations [02:57:25] * Update Old Chinese / Late Time Chinese translations [03:25:14] hi, how do i get a stewards group on my wiki farm? [03:25:47] !e Makesysop [03:25:47] --mwbot-- http://www.mediawiki.org/wiki/Extension:Makesysop [03:26:03] chuck: that extension ^^ [03:26:09] 03tstarling * r30012 10/trunk/phase3/config/index.php: [03:26:09] * Remove debugging code (errant var_dump) [03:26:09] * Mark DBA cache "not recommended" [03:26:09] * Fix warning in escapePHPstring [03:26:09] thanks [03:26:27] or you can directly modify the DB; but that's kinda gross, in my opinion [03:30:16] 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 (10azatoth) [03:31:34] hrm, how do i add myself to the stewards group now? [03:33:10] localsettings. [03:33:34] by the way, if you're running 1.12, that extension probably isn't needed [03:36:16] i'm running 1.12alpha :S [03:36:29] and i get permission errors when i try to visit special:userrights [03:36:47] my user is in sysop, bureaucrat, and steward [03:37:11] and i put the following in localsettings [03:37:12] $wgGroupPermissions['steward' ]['makesysop' ] = true; [03:37:12] $wgGroupPermissions['steward' ]['userrights'] = true; [03:37:12] $wgGroupPermissions['bureaucrat']['makesysop' ] = true; [03:37:13] $wgGroupPermissions['bureaucrat']['userrights'] = false; [03:39:44] can you access Special:Makesysop? [03:40:35] yeah [03:41:36] 03(mod) Display tabs at bottom (as well as top) of page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12708 +comment (10danny_b) [03:43:58] anyone know what's wrong? [03:45:15] chuck: you're sure you're in the steward group? [03:47:01] pretty sure [03:47:02] 03(mod) Add a "(content)" option to the namespace picker on special pages that use it - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12702 (10danny_b) [03:47:09] i added a row to the user_groups table [03:47:25] i'll try making bureaucrats use userrights to see [03:47:29] chuck: Check Special:Listusers [03:48:07] nope, still nothing [03:48:08] amidaniel: ok [03:48:22] http://meta.melbyemedia.org/index.php?title=Special:Listusers [03:48:29] it says i'm a sysop bureaucrat and steward [03:49:19] you're logged in, right? [03:49:26] just making sure... [03:49:26] yes [03:49:30] :P [03:49:36] :) [03:50:11] can't you do something like: [03:50:16] $wgGroupPermissions['bureaucrat']['steward' ] = true; [03:50:34] try logging out and logging in, sometimes rights are cachy [03:50:49] oh, good idea [03:51:23] Splarka: thanks so much! that fixed it [03:51:53] MZM: a steward isn't a right.. [03:52:05] I think that would do nothing [03:52:10] now it's saying i don't have permission to edit rights on other wikis when i try to edit a user on another wiki db :S [03:52:52] meh. [03:53:00] $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true; [03:53:11] try setting that, with 'steward' of course [03:53:14] or steward? oh okay [03:53:29] MZM: there is a way to give one group all the rights of another though, I forget the syntax [03:53:36] i'm getting a syntax error in the most recent svn [03:53:50] blame domas [03:56:22] is there a way to check the api version or check for availability of a feature from javascript? [03:56:25] urgh, now it's saying the database doesn't exist -.- [03:57:08] hippietrail: wgVersion (in the pages, not via API) isn't good enough? heh [03:57:37] Splarka: does that tell me the mediawiki version or the api version? or are they the same thing? [03:57:48] the API is core, so they're pretty much the same thing [03:57:59] you can guess at the features anyway, with that [03:58:14] only problem is, 1.12alpha covers a wide range of features [03:58:16] Parse error: syntax error, unexpected T_SL in /var/www/wiki.zachhauri.com/w/includes/Title.php on line 2382 [03:59:18] Splarka: it's a bit coarse grained. it wouldn't let me check for a feature that i know is there today but wasn't yesterday would it? [04:00:04] hippietrail: if you need 100% accuracy, just load api.php with no arguments, and check that page for mention of the feature [04:00:13] well, 99% (the help isn't always accurate) [04:00:25] isn't there some sort of log of changes to the api? [04:00:36] that's a bit of a hit for a javascript extension [04:00:42] well [04:00:53] you could do like MZM is suggesting, and hit Special:Version and grab the revision, but.. [04:01:08] that doesn't always work, like for example on Wikia, which is forked and uses a different revision system [04:01:40] nevermind, it was an svn merge conflict [04:01:42] did Wikia get attacked today? [04:02:23] cool. that revision isn't available elsewhere is it? it would be handy to have a wgRevision that exposed it [04:03:18] ah so in that case a version number or "supports" function for the api would be a better solution [04:04:43] MZM: did it? [04:05:10] i heard a rumor [04:09:05] do you know if the SiteConfiguration class is available anywhere? [04:09:24] api.php does have a version parameter but it only works with help and does not work with format=json [04:09:27] nvm [04:13:06] hippietrail: so submit a bugzilla request for a version return in all formats ^_^ [04:13:36] Splarka: thanks i will (-: [04:13:49] *MZMcBride file a bugzilla request today [04:13:50] and possiby a... [04:14:18] api.php?gotfeature=action%3dparse or something silly [04:14:20] silly protection log logs unprotections when nothing happened [04:37:15] w00t! i finally got userrights working! [04:39:56] why wasn't it working? [04:41:03] he's doing it on a personal install [04:42:48] anyone alive in here? [04:43:09] Nope. [04:43:13] ask :) [04:43:14] aight. [04:43:30] just wondering - i've just upgraded my wiki and added a captcha extension [04:43:43] but now im left with a 1500 or so vandalbot accounts [04:43:55] is there no way to remove them except through the database directly? [04:44:08] my suggestion is to just leave them [04:44:33] i would, but i kind of need an "untarnished" userlist [04:44:51] !ext DeleteUser | RC [04:44:51] --mwbot-- RC: http://www.mediawiki.org/wiki/Extension:DeleteUser [04:45:08] no page [04:45:11] Or, http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete rather [04:45:12] :) [04:45:22] *MZMcBride was about to suggest that [04:45:26] the new cache improvements make javascript development extremely difficult [04:45:45] hippietrail: no kidding X_X [04:45:47] you know, for all the talk about Special:Killuser, I'm shocked no one's actually written it yet [04:45:48] i wonder why that addon doesnt allow you to delete users straight away... its why im asking here, since it would prety much double what i have to do otherwise :P [04:46:02] hippietrail: I did figure out, the absolute lowest s-maxage is 5 minutes [04:46:02] Splarka: even action=purge isn't helping [04:46:07] RC: Because that causes mucho headaches [04:46:08] contribs have to go somewhere? [04:46:11] so wait five minutes and try again [04:46:16] amidaniel|away, howso? [04:46:22] ah, like that [04:46:23] RC: Just trust me :) [04:46:40] hippietrail: #mediawiki-scripts [04:46:44] if i do large changes to my source it's ok but small changes i can't get the old stuff out of the cache [04:46:50] oooh, -scripts time! [04:46:59] *amidaniel|away hobbles over there too [04:47:17] ah! [04:47:26] if i read it right, i can simply merge all the bot accounts into 1? [04:47:35] yes [04:47:37] Sure [04:47:42] and the merged accounts will be deleted [04:47:44] that's actually even more useful than deleting. [04:48:31] thanks :) [05:45:46] hi, this extension : http://www.mediawiki.org/wiki/Extension:InterWiki : (if i read the source correctly) rebuilds the interwiki table from file everytime a page that includes localsettings is called. is that a performance hit? [05:47:36] i think you'd be better off with http://www.mediawiki.org/wiki/Extension:SpecialInterwiki [05:47:40] it's stable vs. beta [05:48:27] i have multiple databases running mediawiki though, it's kind of tedious to go through each to add a new interwiki [05:48:54] can't you make them share the same table? [05:49:22] i don't *think* so [05:49:42] i saw someone to it with a patch they made, but even then , all the mediawiki instances were in the same database [05:50:02] well, it looks like that extension could be a performance drain [05:50:11] yeah [06:11:07] nn Brownout [06:11:10] brion-away: [06:16:46] 03(FIXED) Enable subpages for namespace "Template" in it.wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12709 +comment (10jeluf) [06:28:23] where can I find the optimized strtr for PHP? [06:35:41] 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 (10igor) [06:36:35] Hey ya'll [06:36:48] I'm doing something rather complicated - I need functionality in a template. [06:36:51] How can I achieve this? [06:37:20] Sorry, I mean, I need functionality to be passed from the template to the page it's included in... so bits of THAT page are included/not included correct if I include IT elsewhere. [06:37:24] Make more sense? [06:37:45] *MZMcBride can't remember if that's possible or not [06:37:51] you want subcluded noincludes, right [06:37:59] it sometimes used to work with: [06:38:19] nevermind! [06:38:46] clude> clude> [06:38:49] or other silly tricks [06:39:07] i'm not sure those tricks still work [06:39:28] yeah I doubt that would work, but will try... [06:39:41] and i'm using an oooold ass version of mediawiki [06:40:25] so they might [06:40:33] hmm, I wonder if #tag can create noinclude [06:40:42] hmmmmmmmmmmm [06:40:44] that' [06:40:46] is odd [06:40:48] elliottcable: another possibility is to check the PAGENAME if you have parserfunctions [06:41:01] Splarka: I do, that [06:41:08] messy, though? [06:41:10] Splarka: I don't think we have tag though, again, it's oldass parser functions [06:41:17] messy's fine,a s long as it works >.< [06:41:47] #tag is rather new [06:41:49] but I mean [06:42:17] if you have a page with {{Something}} and Template:Something that has {{Foo}}... [06:42:36] and in Foo you only want something to show if it is in one level of transclusion down... [06:42:50] {{#ifeq:{{NAMESPACE}}|Template|show it|don't}} [06:43:01] I have a page List, that includes Items, which are built with Template [06:43:02] would only show in template namespace, for example [06:43:03] the items on their OWN page need to display normally [06:43:17] oh [06:43:21] but all of that display sutf is no-included, and includeonly'd is a table row alternative display of data [06:43:27] can't you just {{foo}} [06:43:31] so we can build pages, but also see all the data from the pages in a tabular format on the list page [06:43:34] make sense? [06:43:44] ahh [06:43:47] no, because all this has to happen in the template [06:43:51] because editors are stupid [06:44:07] I want them to enter the data once on the page, and then the tempalte does the work so that when the page is included, it becomes a table row [06:44:10] haha [06:44:25] sounds complex [06:46:00] I know, ugh [06:46:25] The trick worked weird - it created tags that are rendered directly into the page, not evaluated [06:46:34] yet it made the tags completely disappear [06:46:44] the content inside said tags wasn't touched at all, both appears normally [06:47:07] tweaking required probably [06:47:44] but you may have to result to #ifeq and #switch, and namespaces/pagenames [06:47:44] here's what I got now, did I do this wrong? [06:47:48] http://ddo.enterwiki.net/page/Complicated_include_list_test/Item_template [06:47:50] http://ddo.enterwiki.net/page/Complicated_include_list_test/Item_template [06:47:52] oops [06:47:54] 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 (10voyagerfan5761) [06:47:54] pasted twice hehe [06:48:35] *Splarka hasn't tried to do cascading includeonly/noinclude for a long time, so is not sure [06:49:07] hell, I haven't touched WIKIS for a long time, this project has suddenly been ressurected by a group of users while I wasn't looking [06:49:13] and they're like ADMIN ADMIN SAVE US [06:49:17] >.< [06:49:21] heh [06:49:27] *Splarka points and laughs like Nelson Muntz [06:49:30] ha ha [06:50:17] stfuuuu [06:50:19] d= [06:50:21] sigh... [06:50:30] I really have no idea how to go about this. [06:50:36] What were you suggesting using parserfunctions? [06:51:08] {{#switch:{{PAGENAMEE}}| [06:51:13] Complicated_include_list_test/Item_template= foo [06:51:23] |#default=bar}} [06:51:29] for example [06:52:23] hmmmmmmmmmmmmmmmm [06:52:33] I think someone broke something somewhere at some time recently [06:52:45] on an old version of mediawiki: [06:52:56] {{#ifeq:Abc's d|{{FULLPAGENAME}}|Yay|hiss}} would return Yay, on [[Abc's d]] [06:53:04] but not on wmf... [06:53:06] 03siebrand * r30013 10/trunk/extensions/Translate/MessageGroups.php: Remove 'ext-titleblacklist' from extensions used by WMF [06:54:44] wmf? [06:55:58] WikiMediaFoundation, eg, wikipedia/wiktionary/etc [06:59:06] Splarka: but the includeonlys wouldn't work in there [06:59:16] because they're parsed before any templates or parserfunctions, right? [06:59:28] so it'd just break up the parserfunction, not parse ON the parserfunction... [06:59:40] well [06:59:48] this would just be a way to control which pages display some parts [07:00:07] (tangent) this used to work on wmf sites: http://en.wikipedia.org/wiki/Special:ExpandTemplates?contexttitle=A%27d&input=%7B%7B%23ifeq%3AA%27d%7C%7B%7BFULLPAGENAME%7D%7D%7CYay%7Chiss%7D%7D [07:00:59] Splarka: I think I see [07:05:00] hrm, I still cannot seem to find it :/ [07:05:13] tried ##php ? [07:05:27] nah, it was def' by one of the mediawiki people [07:05:31] 03brion * r30014 10/trunk/phase3/ (3 files in 2 dirs): [07:05:31] * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender [07:05:31] address in Reply-To instead of From for user-to-user emails. [07:05:31] This protects against SPF problems and privacy-leaking bounce messages [07:05:31] when using mailers that set the envelope sender to the From header value. [07:05:40] they would not allow it because of the use of GPL code [07:05:45] which goes against their license [07:06:08] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FastStringSearch/ [07:06:15] that *almost* looks like what I am looking for [07:06:22] but that does not contain the rewrite of strtr [07:06:48] grepped the code? [07:07:09] I don't have access to svn [07:07:39] download and grep? [07:07:57] or use google codesearch: [07:07:58] http://google.com/codesearch?num=100&q=package%3Asvn.wikimedia.org%2Fsvnroot%2Fmediawiki%2Ftrunk+strtr [07:08:37] I tried that [07:08:42] only shows the PHP stuff [07:08:54] when I add lang:c, I get nothing relevant [07:11:02] Splarka: holy crap, I got it working! [07:11:11] Splarka: But it's really fragile - it only works on a specific page >.< [07:11:35] foozbad: http://google.com/codesearch?as_q=strtr&btnG=Search+Code&hl=en&as_lang=&as_license_restrict=i&as_license=&as_package=svn.wikimedia.org%2Fsvnroot%2Fmediawiki%2Ftrunk&as_filename=%5C.c%24&as_case= [07:11:53] eg, file:\.c$ [07:11:57] I saw that, it is not relevant [07:12:08] well, maybe, but it does show .c results [07:12:24] yeah... [07:13:51] maybe werdna is still around and feeling helpful [07:13:54] *Splarka prods the werdna [07:15:30] 03(FIXED) Cracker can get any user email address. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12655 +comment (10brion) [07:24:40] 03(mod) ImageMagick in SafeMode - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12663 (10konrad.pfleiderer) [07:26:03] Splarka: what? [07:28:42] werdna: foozbad wants to know where some code is that he saw once, most likely on svn.wikimedia [07:29:10] but claims he can't grep it without access, and you being in a post-vacation helpful mood... [07:29:20] what's he looking for [07:30:00] Werdna: I am looking for replacement code for strtr() [07:30:16] there is supposed to be a more optimized version of it somewhere [07:30:19] where can I find the optimized strtr for PHP? [07:30:23] oop [07:30:55] DAMNIKT [07:31:02] includes/StringUtils.php? [07:31:03] It works, but it won't execute the table HTML [07:31:17] elliottcable: have htmltidy? [07:31:18] Nikerabbit: it is supposed to be a patch to PHP itself [07:31:24] Splarka: eh? [07:31:25] it cannot be a PHP function [07:31:50] Splarka: here's what I finally got: [07:31:50] Splarka: here's what I finally got:http://meta.enterwiki.net/edit/People [07:31:50] http://meta.enterwiki.net/edit/Ken_Prows (et. al) [07:31:50] http://meta.enterwiki.net/page/Template:Person [07:32:00] elliottcable: try this: {{#if:1|}}
[07:32:05] look the code :o [07:32:06] I have to go [07:32:28] Splarka: huh? [07:33:35] that does not seem to be it [07:34:03] elliottcable: you need Tidy if you want to break up html tables via transclusions/parserfunctions [07:34:09] you don't seem to have it [07:34:12] so you'll have to use wikitables [07:37:13] Splarka: oh I forgot about wikitables, thanks [07:37:18] however [07:37:20] Splarka: been too long since I played with wikis [07:37:21] hahaha [07:37:23] it doesn't look like you are breaking them up, hmm [07:37:29] no, I am breaking them up [07:37:33] oop, wait, you are... [07:37:36] haha [07:38:00] btw, you can't use | inside #switch, because it would see it as a delimiter [07:38:16] really? [07:38:23] no way around that? what if I need a template inside the switch? [07:38:27] so the usual fix is to create Template:! and use that instead [07:38:38] well, you can't use uncovered | [07:38:44] will that subclude into the templates, etc? [07:38:52] {{foo|bar}} or [[Foo|bar]] will work in a parserfunction [07:39:08] but not: ... [07:39:11] {{#switch|{{PAGENAME}}|{{{name|{{{1}}}}}}= .... [07:39:11] like... {{#switch:foo|bar|{{atemp{{!}}arg{{!}}arg2}}|baz}} [07:39:19] no no [07:39:27] those are covered by {{}} [07:39:29] those are safe [07:39:32] ah ok got it [07:39:34] but wikitables [07:39:40] {| [07:39:40] |foo |bar [07:39:41] oh got it [07:39:42] won't work [07:39:43] haha [07:39:47] you have to replace those with {{!}} [07:40:01] since the {| will be outside the function [07:40:18] fun wot [07:40:55] I can't remember wikitable syntax, how do i delimate a tr? [07:41:04] |- or {{!}}- [07:41:09] has to be on a newline though [07:41:42] will it count as being on a newline if the template being called is on a newline? [07:42:25] sometimes, but not predictably [07:42:30] 03brion * r30015 10/trunk/phase3/includes/SpecialEmailuser.php: Use $wgPasswordSender instead of $wgEmergencyContact [07:42:51] so if my template renders into |- {{{1}}} | {{{age}}} | {{{sex}}} | {{{rank}}} [07:42:54] it will be good in a table? [07:42:58] eh illl just test [07:43:06] oop, no... [07:43:11] |- [07:43:15] | {{{1}}} | {{{age}}} | {{{sex}}} | {{{rank}}} [07:43:21] so: [07:43:24] {{!}}- [07:43:31] {{!}} {{{1}}} {{!}} {{{age}}} {{!}} {{{sex}}} {{!}} {{{rank}}} [07:43:35] ok ty [07:43:50] you can also make with ! [07:44:04] uh that still renders onto one line [07:44:05] which is nice and confusing, you'll often see ! header {{!}} cell [07:44:06] ah fuck. [07:44:09] http://meta.enterwiki.net/page/People [07:44:40] it just rendered into Ken Prows | 26 | m | developer Samy G | 18 | m | administrator Joseph G | 32 | m | editor
[07:44:44] I don't know why [07:44:57] oh! do I need two {{!}}{{!}} betweem cells? [07:45:14] you have a newline in Template:! [07:45:43] Splarka: it won't let me remove that, ever page i've ever created with mediawiki has removed all newlines on the end, then added exactly one. I have no idea why. [07:45:51] but it doesn't show that new line when including, so it works [07:45:55] ahh, k [07:46:38] you left out the initial {{!}} [07:46:41] GRR still didn't work though... http://meta.enterwiki.net/page/People [07:46:49] oo [07:47:15] oh my god. it worked. [07:47:20] Splarka: I LOVE YOU <3 [07:47:22] hahahahahahah [07:47:28] buy me dinner first [07:47:34] heh [07:47:49] isn't this nice and complicated fun? [07:49:09] *MZMcBride throws a {{!}} in the mix [07:49:19] 03(NEW) A way to know which features api.php supports - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12718 15enhancement; normal; MediaWiki: API; (hippytrail) [07:49:31] MZMcBride: NO! It's working now. [07:49:32] haha [07:49:37] :) [07:50:38] Splarka: Hmm do you know how I could make a page like this with every page from a category? [07:50:49] God, I wish I could just write evaluated ruby in a wikipage. [07:50:55] So many things would be so much easier. [07:51:14] !dynamicpagelist [07:51:14] --mwbot-- I don't know anything about "dynamicpagelist". You might try: !dpl [07:51:19] !dpl [07:51:19] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [07:51:20] Splarka: but how I could make a page that automatically includes every item in category foobar [07:51:26] amidaniel|away: how do you alias again? heh [07:51:37] elliott: dpl [07:51:37] yeah I have DPL, will that do this for us? [07:51:44] !dynamicpagelist alias dpl [07:51:44] --mwbot-- Successfully added alias: dynamicpagelist [07:52:34] depends on what version, there are vast differences between the versions [07:52:35] meow [07:52:37] Splarka: I don't see how DPL would include every item though - link to, yes, but not include [07:52:47] really? I'm using an oldass version, crap )-: [07:52:51] I can't update anything any more [07:53:09] which version? [07:54:56] mediawiki 1.9svn, DPL2 v0.8.1 [07:55:21] just some magic you can't do [07:55:30] ...without more extensions [07:55:51] haha yeah, awh well [07:55:53] 1.9's not that old [07:56:38] 0.8.1 is.. [07:56:40] I would assume so, I isntalled it like a year ago [07:57:00] forgive my spelling, it's late, I'm multitasking like a maniac [07:57:41] tell them to find more mediawiki nerds to help you, pitiful users [07:59:36] yeah, srsly [07:59:44] I have more meaningful coding that isn't as obtuse as WikiML [07:59:47] ruby ftw! <3 [08:01:13] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10huji.huji) [08:06:48] 03(mod) Unprotecting a non-protected page leaves a log entry - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12716 (10huji.huji) [08:16:06] 03(NEW) GIF and PNG images are not displayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12719 major; normal; MediaWiki: Images; (bertrand.grondin) [08:18:42] 03(mod) GIF and PNG images are not displayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12719 (10bertrand.grondin) [08:29:37] Hi, I'm doing a small extension that requires me to do some regexp/replace on the content of the edit-form, any good way to do this? [08:32:02] I have used hooks to do the regexp/replace when an article is saved and when it's viewed, only one I can't find a good way to fix is the edit window [08:32:10] 03(mod) GIF and PNG images are not displayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12719 (10bertrand.grondin) [08:38:58] hi @all [08:39:01] hi [08:39:06] 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 (10igor) [08:40:24] is there an easy way to add a rich text editor to a wiki, while still keeping wiki markup as an option? [08:41:21] there's an extension that wikia did [08:43:43] mathew: you mean, you want to change the contents of the edit window after it has been modified and just before save? or just after clicking edit and before any editing takes place? [08:47:52] 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 (10brion) [08:51:25] 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 (10voyagerfan5761) [08:54:54] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10brion) [08:55:18] *MrZ-man points brion-away toward http://bugzilla.wikimedia.org/show_bug.cgi?id=12327 [08:55:27] Is there a known issue with 1.11.0 related to Special:Recentchanges not showing changes that have taken place in the defined time period? My wiki is only showing some of the edits from Jan 2008. [08:56:22] 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 (10igor) [08:56:29] tyagi: what's $wgRCMaxAge? default is one week [08:58:42] 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 (10igor) [09:00:01] brion: I don't have that variable set in LocalSettings, so I guess it's still at the default? [09:00:30] yep [09:00:35] so does that mean that I'm automatically dumping changes older than 7 days, even if people select a Recentchanges search of 30 days? [09:00:44] recentchanges is periodically cleared of entries older than $wgRCMaxAge [09:01:02] so they wouldn't show even if you cranked up the max days or number beyond that [09:01:08] ah.. thanks. So do I now need to go away and say 1000 times "I will read the Release Notes"? [09:01:13] the defaults not matching up with the paging links is maaybe kind of lame though :) [09:02:46] thanks. I've put an entry in LocalSettings. See how that works. [09:03:39] MrZ-man: i'll poke it in the morning [09:04:06] isn't that a few minutes ;) [09:05:33] *brion-away bed now [09:15:00] Splarka: after clicking edit and before any editing takes place [09:15:53] Splarka: what i'm doing is encrypting some information that is saved to the database (same wiki-db will ba shared between two different wiki's, where one of the wikis in is a higher security area) [09:17:21] ahh, well, no JS then ^_^ [09:17:42] (unless you wanted to do it in js on edit page load, heh) [09:18:45] Prefer doing it in php in an extension, today it works to write some text, do a secret text with wiki-markup and it gets encrypted with AES-256 in the DB [09:19:09] 03(NEW) action=raw should define Content-disposition - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12720 15enhancement; low; MediaWiki: User interface; (herd) [09:19:18] if the wiki loading the page has access to the correct key, it decrypts it before the parser kicks in, or if it's a wiki without the key it just change it to "Secret" [09:26:22] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10bertrand.grondin) [09:27:19] 03(FIXED) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10bertrand.grondin) [09:29:00] mathew: must this be by extension only? you could probably easily hack in a hook to EditPage.php [09:29:34] Prefer to keep it our of the mediawiki source, makes it a pain to upgrade [09:29:39] but that migh be the last resort [09:30:51] or scrape it for all hooks mentioned, spaghetti code is fun [09:31:07] or request such a hook be added, at bugzilla.wikimedia.org [09:31:52] probably right after $text = $this->mArticle->getContent(); ? [09:32:19] need to dig in and look, if it works it can be a short term solution, this is still mostly a proof of concept [09:33:34] Could always submit it back, if anyone would be intrested.. but guess this is kind of special thing (and against what some of what wiki is all about :) [09:35:57] could be useful for variants, alternate wikicodes, whatnot [09:37:20] yeah, true [09:41:29] 04(REOPENED) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 major->15enhancement; +comment (10roland.hieber) [09:42:28] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10roland.hieber) [09:43:46] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10bertrand.grondin) [09:47:31] hi [09:51:12] Anyone played around with Visio SVG's? rsvg renders them very buggy [09:54:21] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10heuler06) [10:23:19] 03(mod) Show images on image description page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11243 (10roland.hieber) [10:45:03] 03thomasv * r30016 10/trunk/extensions/ProofreadPage/proofread_index.js: enabling this by default [10:46:31] 03(NEW) Fix a bug in LocalSettings.php in Crimean Tatar Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12721 normal; normal; Wikimedia: General/Unknown; (alessandro_gor) [10:55:09] I'm having an issue when I'm trying to setup mediawiki on my centos box. It keeps coming up PHP 5.1.6 installed Could not find a suitable database driver! when php is already installed and running.... ANy help? [10:56:05] 03(mod) Fix a bug in LocalSettings.php in Crimean Tatar Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12721 (10alefzet) [10:58:43] 03thomasv * r30017 10/trunk/extensions/ProofreadPage/ProofreadPage.php: forgot version number... [11:01:22] 03(mod) Optionally exclude redirects from Special:Allpages and Special: Prefixindex - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7204 +comment (10alefzet) [11:35:12] hi guys, how do I fix this: http://localhost/wiki/index.php/Main_Page to http://localhost/wiki/Main_Page [11:38:53] check http://www.mediawiki.org/wiki/Manual:Short_URL/Apache_Rewrite_rules appelza [11:39:18] *click* ty [11:39:58] yw [11:58:23] Hello is it possible to create links that opens in a new window (target=_new)? [12:00:05] No afaik. [12:02:33] Thanks! [12:04:41] 03(mod) action=raw should define Content-disposition - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12720 +comment (10huji.huji) [12:20:32] 03(mod) action=raw should define Content-disposition - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12720 (10herd) [12:21:54] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10huji.huji) [12:57:36] how do I reset the wiki? I ran the config/setup.php, but specified the wrong db prefix. Now I want to rerun this setup, but it doesn't recreate the tables... [12:58:40] Hello. How do I link to a Category index page, without making the linking page be a part of the category? Example: I've got some pages which I'd like to categorize under "Servers". So I added [[Category:Servers]] to the end of each page. Now I'd like to link to the category index page from the main page. I added [[Category:Servers]] there as well. But now Main Page seems to belong to that cateogry as well. How do I make it, that this does not happen? [13:00:30] mschmarck, [[:Category;CategoryName]] [13:01:53] Sasa^Stefanovic, works great. Thanks! [13:04:12] np [13:13:16] any tips how to tell my wiki to start all over, to recreate the db tables (with a different prefix) [13:16:24] 03raymond * r30018 10/trunk/ (6 files in 6 dirs): Localisation updates German [13:17:05] 03wegge * r30019 10/trunk/phase3/languages/messages/MessagesDa.php: Typo in alias for Mostecategories special page [13:19:35] jelle__: I believe if you move the LocalSettings.php back into the config directory it'll think it was never configured before [13:26:00] that sounds strange, since the config/index.php puts the localsettings in the config direcetory. so putting it back in there is like i has just run... right? [13:26:16] <[1]dv> siemano [13:26:23] jelle__: hmmm.. when everything is done, LocalSettings.php should end up in the root of the wiki [13:26:53] doc says config/index will create a loacalsettings in the config dir, that you should move up a directory by hand [13:27:12] ok, then i have no idea ^_^ [13:27:17] so yes, when everything (and everyone) is done, it does end up in the root of the wiki. by hand [13:27:44] just untar the wiki again and start fresh... [13:34:42] I would if I could, but I have only ftp access to the server [13:34:59] I'll just export, hack, import the db. [13:36:36] jelle__: that sounds scary :) why are you trying to do? [13:36:42] err, *what* [13:37:12] I mistyped the prefix that I wanted to use for my tables. Now I want to rerun the config/install, but that won't recreate any tables. [13:38:17] 03(mod) A way to know which features api.php supports - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12718 +comment (10vasilvv) [13:40:38] 03(NEW) Change patrolling settings on Russian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3D12724 15enhancement; normal; Wikimedia: Site requests; (vasilvv) [13:44:52] uhuh. I'm getting the good old blank page again. all empty page. not even ... I fixed that a while ago, what was it again... [13:48:29] jelle__: any fatal error will look like that [13:49:27] jelle__: to fix the mistyped prefix, you can either rename the tables by hand in the database, and change the config file accordingly. or you re-run the installer - if you supply a different prefix, it should create tables with that prefix, and also generate a localsettings.php accordingly. [13:49:41] 03(NEW) Fix Proofread Page extension for RTL languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12725 15enhancement; normal; MediaWiki extensions: Extensions requests; (dovijacobs) [13:50:00] 03(mod) Fix Proofread Page extension for RTL languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12725 (10dovijacobs) [13:52:02] 03(NEW) In ExpandTemplates parameter substitution does not work anymore. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12726 major; high; MediaWiki extensions: ExpandTemplates; (patrick.wikipedia) [13:52:07] the latter didnt do anything, but I did the former, so that will get me going. thanks. Now adding the right extentions to get my white page filled. [13:53:29] there we go! [13:53:33] thanks. [14:04:25] 03(mod) Change patrolling settings on Russian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12724 (10Ahonc.ua) [14:25:21] When I edit a page on http://meta.wikimedia.org, there's a box with all sorts of special characters under the textbox. How do I add that to my own wiki installation? [14:26:30] Example url: http://meta.wikimedia.org/w/index.php?title=Help:Edit_toolbar&action=edit -> http://img231.imageshack.us/my.php?image=bildschirmfotoeditinghedj6.png [14:27:04] !charinsert [14:27:04] --mwbot-- http://www.mediawiki.org/wiki/Extension:CharInsert [14:27:11] mschmarck: That link. :) [14:27:44] Pathoschild: thx! [14:27:51] Welcome. [14:34:05] Pathoschild: do I need to do something, to enable it? I downloaded CharInsert.php, placed in the extensions directory and added include("$IP/extensions/CharInsert/CharInsert.php"); to the end of my LocalSettings.php. Now I tried to edit the Main Page by going to index.php?title=Main_Page&action=edit, but there's nothing added under the textbox? [14:35:25] mschmarck: charinsert doesn't ad anything there. it's just a tool that allows you to add more stuff there, more conveniently-. [14:36:52] mschmarck: usually, you would put the stuff to insert into MediaWiki:Edittools, like wikipedia does: http://en.wikipedia.org/w/index.php?title=MediaWiki:Edittools&action=edit [14:43:30] 03(mod) Fix Proofread Page extension for RTL languages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12725 (10thomasV1) [14:44:41] Duesentrieb: hm. fine. I went to http://www.mediawiki.org/w/index.php?title=MediaWiki:Edittools&action=edit and copied what they have to my MediaWiki:Edittools page (after logging in as a Sysop). But when I edit a page, it doesn't look at all like what they've got. Compare my page at http://img88.imageshack.us/my.php?image=bildschirmfotoeditingmevw3.png with theirs at http://img88.imageshack.us/my.php?image=editingextensioncharinsni1.png [14:47:04] mschmarck: that would indicate that the extension is not active [14:47:16] look at Special:Version, if it's mentioned there somewhere [14:47:16] ah! I had: include("$IP/extensions/CharInsert/CharInsert.php");. But I put the file in extensions, not in extensions/CharInsert :) [14:47:31] don't use include. [14:47:35] use require_once [14:48:03] on http://www.mediawiki.org/wiki/Extension:CharInsert they had "include". [14:48:05] (for once thing, that triggers an error if the file doesn't exist) [14:48:10] that's stufpid. [14:48:15] include is for inlining text [14:48:21] it should NEVER be used to load libs [14:48:25] not in php, no. [14:48:41] in PHP, there's not much of a difference between include and require. [14:50:04] there is. [14:50:04] the diff is, that require will make the script abort, if the "loaded" file cannot be found. [14:50:04] with include, a missing file is "okay". [14:50:04] yes. [14:50:04] a missing extension file (or any library file) is NOT ok [14:50:04] well. that's a quite important difference. [14:50:04] yes, it is :) [14:50:04] so, don't use include for libs. ever. [14:50:04] but it's not like "include is for text", or something like that :) [14:50:04] btw, require without once, and include with once, are both pretty silly imho [14:50:04] well, going to change the mediawiki page right now. [14:50:12] mschmarck: i can't think of any other good use for include, except for inlining actual text [14:50:20] mschmarck: i already fixed it [14:50:34] Duesentrieb: hehe :) thx! [14:51:07] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10roan.kattouw) [14:52:03] Duesentrieb: fixing your fix :) [14:52:20] did i typo again? [14:52:29] Duesentrieb: you forgot to change the require_once which pointed to extensions/CharInsert [14:52:56] Duesentrieb: but the download statement said, that the file was to be downloaded directly to the extensions directory. [14:53:51] 03(mod) A way to know which features api.php supports - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12718 +comment (10roan.kattouw) [14:54:54] what other extension does mediawiki.org use, so that the "section" under the editing box looks the way it does? They have some sort of select box, where you can seleect "Standard", "Latin", "Greek", ... [14:54:59] how do they do that? [14:55:25] i guess it's a javascript hack [14:55:31] probably not really an extension at all [14:55:48] somthing stuffed into MediaWiki:common.js, probably [14:58:06] mschmarck: btw, that select box is a terrible waste of traffic [14:58:30] 03(mod) Invalid TIMESTAMP format in r28543 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12325 +comment (10roan.kattouw) [14:59:29] AlexSm: well, I'm "developing" a Wiki for internal use. I don't care about traffic :) [15:03:43] hi all [15:04:21] I'm having an issue with my wiki where if I try to view page revisions, MySQL returns the error "2006: MySQL server has gone away (localhost)". Can anyone help me troubleshoot this problem, or is there a different channel for that? [15:05:02] 03catrope * r30020 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): (bug 12716) Unprotecting a non-protected page leaves a log entry [15:05:08] People, why may not working a treeview4? [15:05:12] 03(FIXED) Unprotecting a non-protected page leaves a log entry - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12716 +comment (10roan.kattouw) [15:05:20] draugath: I'd start with checking that the mysql server is running [15:05:51] I have the server running. In fact, every other aspect of the wiki works just fine. That I have tried. [15:06:40] i did all steps in install, but treeview not work [15:07:07] ZorroIII: I have turned on query logging on the mediawiki side of things and taken the query that fails, modified it slightly to mean the same thing, and I get a response. [15:08:03] does anyone know of any WYSIWYG edit interface addons to mediawiki [15:09:16] 03(mod) In ExpandTemplates parameter substitution does not work anymore . - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12726 (10N/A) [15:09:28] adam1213, tiny is good one [15:09:34] http://www.mediawiki.org/wiki/Category:WYSIWYG_extensions [15:10:35] Rolph: the problem with tiny that I ran into with my short test of it, was that it generated html formatting instead of wikimarkup [15:10:51] thats what FCKedit did when i tried that, which is the problem [15:11:29] adam1213: odd.. when I tried FCKedit.. it has been generating wikimarkup just fine. [15:11:44] i think there may be a way of converting the html back into wiki markup, but formatting would get lost and it would be very dodgy to convert a page to html, edit it and convert it back [15:11:59] which fckedit did you get [15:12:14] was it hard to get fckedit with wikimarkup working? [15:12:29] adam1213: I just snagged the latest about 5 days ago. [15:12:51] adam1213: and just dropped it in according to the instructions at the mediawiki page for it. [15:12:57] i just tried today [15:13:22] guys, why treecview4, may not work? [15:14:11] fckedit did not have good support for internal links to what i have seen [15:14:15] adam1213: I'm going to give it another test to verify.. I'm still in the design phase of a new wiki and I've been trying out various components in a very limited sense. [15:15:02] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10heuler06) [15:15:09] you may have set it up in a way where it does wiki markup->html ->fckedit (save) -> html -> wiki markup [15:15:27] you would lose some wikimarkup that was manually done in that process [15:16:04] Nope.. I just did another test of it.. and it's using wikimarkup. and when I tested the links.. it actually goes out and looks up existing pages. [15:16:40] does yours have a wikitext button instead of source [15:16:52] you probably have http://mediawiki.fckeditor.net/index.php/Main_Page [15:17:28] That looks about right. I am using the integration extension for it. [15:17:37] i tried http://www.mediawiki.org/wiki/Extension:FCKeditor_%28by_Mafs%29 [15:18:23] this is the one that I'm actually using.. : http://www.mediawiki.org/wiki/Extension:FCKeditor_%28by_FCKeditor_and_Wikia%29 [15:19:28] It does have a few problems that others have reported already which I'm going to have to muddle through though. For instance, it doesn't play nice with Semantic MediaWiki [15:19:54] i am using mediawiki v1.6 (the server only has php 4) [15:31:28] 03(ASSIGNED) pre-built search returns no matches - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12627 (10filop) [15:41:30] Hello, is it possible to resize an image on the fly, similar to html from the wiki editor? For example: [[Image:myimage.jpg width=70 height=70]] [15:43:39] !images | willluongo [15:43:39] --mwbot-- willluongo: For instructions to use images in MediaWiki, see . For more technical details about image uploads, see and . Note that uploads are disabled per default (see !uploads). [15:43:48] willluongo it should be there. [15:43:53] 03(mod) Relativity of left and right =/= {{BEFORE}} and {{AFTER}} - code portability - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5337 +comment (10gangleri) [15:43:59] mentioned there i mean. [15:44:11] Thank you so much isnogud! [15:53:33] draugath: did you have to download parseroptions.php or did fckeditor just work for you? [16:17:00] 03(mod) Optionally exclude redirects from Special:Allpages and Special: Prefixindex - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7204 +comment (10cbrown1023) [16:30:14] 03siebrand * r30021 10/trunk/phase3/languages/messages/ (15 files): Localisation updates for core messages from Betawiki (2008-01-21 17:19 CET) [16:36:21] 03tstarling * r30022 10/trunk/ (8 files in 4 dirs): (log message trimmed) [16:36:21] Postcard from linuxland. [16:36:21] * Reduced stack depth by using an internal stack in expand(), and by having some [16:36:21] common code paths (e.g. non-subst double-brace during PST) return objects which [16:36:21] can be expanded in that internal stack instead of the PHP stack. This is [16:36:22] friendly to xdebug but slightly slower than the original version. Also it [16:36:26] probably helps robustness when you don't add 7 stack levels per pair of double [16:38:02] hi.. i've got a quick question [16:38:18] I'm casually playing with mediawiki and I was wondering if there was any easy script for creating stubs? [16:40:17] 03(mod) In ExpandTemplates parameter substitution does not work anymore . - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12726 (10danny_b) [16:52:46] Got a ticklish template query.... anyone waround whose good with template issues? [16:57:16] 03siebrand * r30023 10/trunk/extensions/ (71 files in 68 dirs): Localisation updates for extension messages from Betawiki (2008-01-21 17:19 CET) [16:57:36] !ask | FT2 [16:57:36] --mwbot-- FT2: 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:58:03] !sharedupload [16:58:03] --mwbot-- I don't know anything about "sharedupload". [16:58:12] I hope you're going to answer his question, Pathoschild. [16:58:27] Perhaps. :O [17:01:15] Poor Tim Starling... Commiting parser rewriting in 3:30 AM [17:01:22] *at [17:03:43] I have a long template that'll only work if SUBST'ed. Its not recursive. Whats the simplest way to tes if it's being added via subst? [17:03:48] I mean, to test? [17:05:40] No way, I think [17:08:55] how would you do it? Basically the template has stuff in it that wont work unless SUBSTed... so one of those big red "this template must be SUBST to work" things would be good. But I dont yet follow the HELP on how to do thjat [17:09:10] FT2: some en.wp teplates warn you (in preview) if you try to use them without subst, is that you want? [17:09:12] I know some templates do, but I'm not fully understanding how [17:09:18] yeah :) [17:09:24] I dont get hwo they're doing it [17:12:39] FT2: just look at the code where it calls {{error:not substituted}} [17:13:12] yeah. I don't quite get the logic what it's doing [17:17:31] hi, it's possible to run mediawiki with php with safe_mode enable? [17:18:08] !safemode | backblue [17:18:08] --mwbot-- backblue: 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. [17:19:17] VasilievVV: thanks. [17:31:02] 03(FIXED) Some edits only show when logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12696 +comment (10brett) [17:31:51] 03siebrand * r30024 10/trunk/phase3/languages/messages/MessagesNso.php: Fix syntax error [17:38:48] 03raymond * r30025 10/trunk/phase3/ (2 files in 2 dirs): Document additional available parameters for 'revertpage', introduced with r29794. [17:46:04] I'm trying to code a piece for a website using the API. Thanks to a few of the devs I was able to successfully install the latest rev of 1.12 alpha and now I'm running into some issues, namely with action=render.. has this been disabled? I can't seem to get it to work [17:47:46] 03raymond * r30026 10/trunk/phase3/includes/OutputPage.php: Add an comment for used messages, to enssure that grep gives a complete list [17:49:45] even http://en.wikipedia.org/w/api.php?action=render&text=%7B%7BProject:Sandbox%7D%7D returns an error, and i swore this was working not two weeks ago [17:50:25] If this isn't an option, is there a way to include the parser functions so I can manually parse out the text from action=expandtemplates ? [17:52:11] I seem to remember that &render was listed at http://en.wikipedia.org/w/api.php [17:52:31] now it's not, so maybe it was disabled indeed [17:52:43] that's a shame [17:53:04] i wonder if i can roll back to a previous revision where it was enabled [17:53:18] with SVN you should be able to do that AphelionZ [17:53:49] yeah, thats what ive been using... i think between that and trying to get the Parser's help a roll back is the easiest [17:54:12] hmm .. action=expandtemplates still works; also see http://www.mediawiki.org/wiki/API:Expanding_templates_and_rendering [17:54:55] AlexSm - yeah i noticed that.. im wondering if it's as simple as taking that output and running it through a parser function to have it spit out HTML [17:55:36] It'd be nice if I could include a few files and have the array of mediawiki functions available to me from an external page (I'm using a codeigniter model to interface with the API) [17:55:50] AphelionZ: well, you still can do a preview with &live parameter [17:57:14] hrmm? [17:57:28] action=render is deprected and have been remo recetly [17:57:37] *recently [17:57:53] AlexSm: I dont see any documentation for the &live parameter [17:57:56] do you have an example? [17:58:22] VasilievVV: WHYYYY [17:58:34] AphelionZ: use action=parse instead [17:59:24] VasilievVV: it would be nice to reflect the change on mediawiki.org (link above) [18:00:24] VasilievVV: now how does this work exactly, can I input the name of an article and have it return the parsed text in HTML format? [18:01:27] AphelionZ: for rendering text of some article, use index.php?title=Title&action=render [18:01:40] action=parse you mean :) [18:02:21] VasilievVV: if API parameter "render" was simply renamed to "parse", just say so [18:02:44] AlexSm: it wasn't renamed [18:03:06] http://wikibondev.org/w/api.php?action=parse&title=Category:Email_storage :( [18:03:34] I also have written an httpd.conf from /vault/ to /path/to/wiki/w/index.php as described here: http://www.mediawiki.org/wiki/Manual:Short_URL [18:03:37] will that affect anything? [18:04:04] AphelionZ: no, for specific page you need to use http://wikibondev.org/w/index.php?action=render&title=Category:Email_storage [18:04:29] oh, wild [18:05:09] AphelionZ: actually, "parse" is explained right here at http://en.wikipedia.org/w/api.php [18:05:46] I guess I didnt know that action=render was a function of index.php as opposed to api.php [18:06:30] ok, this is awesome! [18:06:36] my last question (for now) [18:06:46] I noticed these pages are sans title [18:06:52] is there a way to include that [18:07:01] or do I just need to parse it from the URL [18:10:36] update user set user_password = md5(concat(user_id,’-',md5(’new_password’))) where user_name=someone is the correct way to reset a password? [18:12:06] oooooooh, it's double md5, no wonder I coudln't get it to work [18:12:20] !passwordsql | RichiH [18:12:20] --mwbot-- RichiH: UPDATE user SET user_password=MD5(CONCAT("1-",MD5("password"))) WHERE user_id=1; This will reset the password for the user with user_id 1 (the default admin account, usually WikiSysop) to "password". If you do not know the name of the user account, execute: SELECT user_name FROM user WHERE user_id=1; [18:13:17] strange [18:13:21] that is what i am doing [18:13:55] 03siebrand * r30027 10/trunk/phase3/RELEASE-NOTES: [18:14:56] * re-add bug 12655 that was added in r30014 and disappeared in r30020 [18:14:56] * remove EOL whitespace [18:14:56] what's the #regex room? [18:14:56] haha nevermind [18:14:56] 03(mod) Invalid TIMESTAMP format in r28543 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12325 (10overlordq) [18:22:36] can somebody here tell me what i can do with this rewritecond? RewriteCond $1 !^(index\.php|vault|w|user_guide|BXS-portal|style.css|lib) seems to disable any url that begins with a w, but if I put w$ in its place then the rules before it break [18:23:55] what does a bureaucrat need to do to reset a password? [18:24:17] AphelionZ: what are you trying to do? [18:24:36] Would need to see the RewriteRule AphelionZ [18:24:49] that's what the $1 refers to [18:25:04] http://rafb.net/p/7uWTux28.html [18:25:42] k.. a few things - first I have short URLS enabled so there's a httpd.conf alias http://www.mediawiki.org/wiki/Manual:Short_URL [18:26:17] and i'm also running codeigniter which is pretty greedy about "unclaimed" urls (ones that arent in that rewritecond) [18:28:48] I suppose I could just rename my controller but having it called /wiki/ is pretty nice.. it just seems like that rule wants to gobble up any url that starts with w because of the |w| [18:36:34] 03(NEW) Protecting image description pages against creation does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12727 15enhancement; normal; MediaWiki extensions: TitleBlacklist; (meno25wiki) [18:37:26] can anyone please direct me to some documentation on making special pages? the special page i want to make is literally only a few PHP things to make a list, it shouldn't be that hard [18:37:49] chuck: as extension? [18:38:00] well i don't know the best way to do it [18:38:15] but i just want a special page that will make a list based on a file i have [18:39:01] chuck: have you seen http://www.mediawiki.org/wiki/Writing_a_new_special_page ? [18:41:51] labas [18:42:42] 03(NEW) Add log comment field when importing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12728 15enhancement; normal; MediaWiki: General/Unknown; (meno25wiki) [18:44:21] is it possible to change the variable $wgSitename in LocalSettings.php ? I mean will that have any nasty consequences ? like from say "foo" to "moo" I don't have any pages under the namespace "foo" [18:49:22] okay, in a special page, is there a way to get the url to a local wiki page? [18:49:43] so i don't have to hard code the url into the script [18:51:00] 03raymond * r30028 10/trunk/extensions/ (4 files in 4 dirs): Localisation updates German [18:51:31] anyone know? lol [18:53:53] Raymond_: see your commit http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ProofreadPage/ProofreadPage.i18n.php?r1=30028&r2=30027&pathrev=30028 [18:54:18] Title::getLocalUrl or some variant of it [18:55:09] o.O [18:55:41] *Axis waits for an answer [18:55:52] SPQRobin: thanks... dunno what happen :( will fix ist [18:55:53] -s [18:58:16] hmm... where's Roan? [18:58:50] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/RELEASE-NOTES?r1=30020&r2=30019&pathrev=30020 <-- seems like that needs fixing [18:58:51] *Axis asks again [18:58:56] is it possible to change the variable $wgSitename in LocalSettings.php ? I mean will that have any nasty consequences ? like from say "foo" to "moo" I don't have any pages under the namespace "foo" [18:59:08] should be fine [18:59:20] MZMcBride: me ? [18:59:26] namespaces are integers [18:59:34] yes, you [18:59:52] MZMcBride: already fixed in revision 30027 (I told it to siebrand) [19:00:08] 03raymond * r30029 10/trunk/extensions/ProofreadPage/ProofreadPage.i18n.php: Localisation updates. Fix accidently deleted lines in r30028. [19:00:13] like I installed it with the site name as #foo (because it is for an IRC channel ..) but I heard that it should not start with # so I want to change it to "foo" [19:00:38] SPQRobin: ah, there we go :) [19:00:44] silly cache [19:01:13] Axis: should be fine [19:01:25] MZMcBride: thank you :) [19:01:34] worst case scenario, it breaks, and you revert the change to LocalSettings [19:01:40] Nikerabbit: that gave me an error [19:01:44] but it really shouldn't break [19:01:48] Fatal error: Call to undefined method Allprojects::isExternal() in /var/www/melbyemedia/phase3/includes/Title.php on line 788 [19:01:51] I will check it [19:02:06] i used it like Title::getLocalUrl("PageName") [19:05:22] MZMcBride: I think it didn't break, heh thank you :) [19:05:28] no problem [19:06:49] Hello, how do I disable rss feeds in mediawiki? [19:07:35] !wg FeedLimit [19:07:35] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgFeedLimit [19:08:02] eghjaytee: suppose you could set that ^^^ to 0 [19:08:36] I hope that 0 wouldnt be like unlimited, lol [19:13:30] that worked [19:13:33] is there a good table class in mediawiki's modern skin? [19:13:34] thanks MZMcBride [19:13:48] *chuck pokes flyingparchment about it [19:13:51] chuck: wikitable isn't bad [19:13:58] what? [19:14:41] flyingparchment: is there a table class in modern that fits in with the rest of the skin? [19:15:02] no, but it shouldn't be a user-visible class anyway [19:18:18] is there a plugin with i can manage wiki registered users? like list who they are etc [19:19:02] there's a new user log extension [19:19:03] Special:Listusers [19:19:07] what else do you want to manage? [19:19:25] Hello, sometimes on my wiki it will start ignoring the markup in the edit box. For example if you look at http://rafb.net/p/KJyJlq44.html everything after line 10 the links don't work [19:20:09] willluongo: example on your actual wiki please [19:20:27] URLs must start with http:// or something similar to work [19:21:11] flyingparchment: It is on a closed intranet, sorry. I could post a screenshot though... [19:21:24] MZMcBride: I will see if that does it [19:21:54] heh, when he said 'markup is ignored' i'd assumed he actually checked the markup was correct ;) [19:21:55] MZMcBride: That was the problem. [19:22:07] :) [19:22:20] That was apparently a bad assumption! ha [19:22:44] Thank you both for your help. [19:37:20] 03aaron * r30030 10/trunk/phase3/includes/api/ApiFeedWatchlist.php: Convert to the right timestamp format before doing a query [19:37:41] flyingparchment: thank you, will look into it right away [19:37:43] 03(FIXED) Invalid TIMESTAMP format in r28543 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12325 +comment (10JSchulz_4587) [19:37:55] actually, i was astounded by the lack of admin panels [19:39:34] 03(mod) CheckUser installation has invalid SQL for Postgres - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 +comment (10JSchulz_4587) [19:42:51] check this out: http://wikibondev.org/wiki/v/Email_archiving [19:43:05] I'm using the api with $html = file_get_contents("http://wikibondev.org/w/index.php?action=render&title={$title}"); [19:43:15] and simply echoing $html [19:44:06] a) where is that "s" coming from and b) is there anything else that's modifying the headers? [19:44:45] 03(mod) CheckUser installation has invalid SQL for Postgres - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 (10overlordq) [19:45:10] i was surprised to see that our little community, whose forum has no more than 400 ppl, had 200 ppl in the wiki database [19:45:17] wot [19:45:28] most of the articles have been written by 10 ppl at the most [19:48:04] 03aaron * r30031 10/trunk/phase3/includes/SpecialUpload.php: Disallow uploads to protected titles (bug 12727) [19:48:17] 03(FIXED) Protecting image description pages against creation does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12727 +comment (10JSchulz_4587) [19:48:55] hi everybody :) - got a problem: i have written my email in the settings, but it comes no message when anybody edit a article or something - jepp, choose on all options an marker - whats the problem? oO [19:49:38] T-Vairus: try to send yourself a mail via wikimail explicitly [19:49:50] 03aaron * r30032 10/trunk/extensions/CheckUser/cu_log.pg.sql: I thought I fixed this already... [19:49:50] (via the "email this user" link) [19:50:03] 03(mod) CheckUser installation has invalid SQL for Postgres - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 (10JSchulz_4587) [19:50:19] wikimail? oO where i find that? [19:50:33] duesentrieb - german? [19:50:44] how do i edit rights for a wiki that uses a sharedDB? [19:51:01] T-Vairus: ja sicher. but if we talk german, you are stuck wirth me :) [19:51:08] and i tend to run off suddenly... [19:51:24] ah verstehe - ok :) - i have nothing heard about an wikimail oO [19:51:29] i created a user 'Z' on wiki1, and can log in with 'Z' on wiki2, but when using wiki1 to assign rights to 'Z'@wiki2, it says the user doesn't exist. [19:51:37] is it a another function in the mediawiki? [19:52:06] yea. yo to your user page. look in the toolbox. [19:52:10] *go [19:52:19] wait - i look [19:52:55] T-Vairus: btw - are you using shared hosting, or do you run the server yourself? do you have shell access? [19:53:28] puh - i dont know what u mean dusentrieb... i have an hoster (not free!) [19:53:51] when i click my userpage - i see an field where i can create an article oO [19:54:03] i know my email is 100% right [19:54:09] so you probably havn't created you user page yet. doesn't matter [19:54:14] look in the left bar [19:54:26] the last box [19:54:37] there should be a link that allows you to send an email to the user [19:54:43] (yourself, in this case) [19:54:57] oh yeah - i see it - wait i try to send a email :D [19:56:02] i can't seem to edit rights for a wiki that uses a $wgSharedDB [19:56:07] ok - no mail come - i try to change my email in the adminoptions [19:56:19] but i know my email now is 100% right [19:58:18] hey wait! the mail is come! jepp - it seens, it works - but why cames no mail when anyone edit an article? oO [19:58:39] ps: i have nor change my email right now [19:58:44] nor=not [19:59:35] AaronSchulz: ping [19:59:47] P0ong [20:00:11] re: pg SQL for CheckUser, yea 30032 works. [20:00:52] 03(FIXED) CheckUser installation has invalid SQL for Postgres - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12714 +comment (10JSchulz_4587) [20:01:54] how does $wgReadOnly work? [20:01:58] i set it, but i can still edit [20:02:31] when I try to grant rights to "shared" users on Wiki 2 from Wiki 1, it says the user is not found [20:03:39] even though they show up on the user list of wiki 2 and can log in there [20:06:50] Ahaha, scared myself there for a second, didn't test through running php update.php, ran the query manually, went back to test it through the maintnence script and it threw an error [20:07:03] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9862 (10jeffq) [20:07:16] Forgot to delete a sequence =( [20:08:23] duesentrieb - are u there? [20:08:46] how do I get the raw wikitext of an article? do I use the api or do i do something to index.php?action=render [20:09:09] action=raw ? [20:09:14] T-Vairus: sorry, got distracted reading wikipedia haiku (http://en.wikipedia.org/wiki/Wikipedia:HAIKU) [20:10:35] T-Vairus: what are your wgENotifXXX settings in your LocalSettings.php? [20:11:14] T-Vairus: also, whendo you *expect* mails to come? Enotif will send mail when pages on your *watchlist* are edited (if you enabled that globably *and* in your user settings). [20:11:39] for getting mail on *all* edits, you need an extension, iirc - using the RSS feed is better for that anyway [20:12:16] AphelionZ: action=raw , or if its your own wiki, you can select from mysql directly too [20:12:35] is $wgSharedDB and $wgLocalDatabases incompatable when used together? [20:14:51] 03(mod) Missing Database Schema update for protected_titles (Was: Protecting Non-Existant Page causes Internal Error) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12715 major->minor; summary; +comment (10overlordq) [20:16:32] i tried granting permissions on Wiki 2 to a user on the shared DB using the Special:Userrights on Wiki 1, but it says "There is no user by the name "Z@wiki2". Check your spelling." [20:17:23] should i just file a bugzilla? [20:19:21] Hello does anyone know of a setting in LocalSetting, or anywhere else where I can specify the path for images for client requests? I dont want to change the upload paths, but rather the url for all images for clients. [20:20:41] eghjaytee: uhm, i guess that would rather involve configuring apache and using mod_rewrite [20:21:32] 14(INVALID) Missing Database Schema update for protected_titles (Was: Protecting Non-Existant Page causes Internal Error) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12715 +comment (10JSchulz_4587) [20:23:01] 03(NEW) Special:Userrights can' t find users in SharedDB when granting on another wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12729 15enhancement; normal; MediaWiki: User login/settings; (zach) [20:26:58] Zach: a problem i had was with capitalization [20:27:14] Zach: make sure you capitalize everything correctly, and format $wgLocalDatabases correctly also [20:27:33] Hullo. Stupid oft asked question, I'm sure: How would I(or can I) go about setting up multiple wikies with just one wiki 'install'? Anything other than copy/paste/rename the wiki folder? [20:27:36] i don't think that's the problem, i can grant to the user that mediawiki created when running the /config/ script [20:27:43] but not any of the shared db users [20:28:08] !wikifarm [20:28:08] --mwbot-- To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. [20:29:52] that doesn't help :/ [20:30:08] i have two seperate installations on two seperate dbs [20:30:18] different folders hear meaning the differently named folders that start out with the same files as the default wiki, yes? [20:30:30] hi [20:30:57] i would like to know the status of this on wikipedia's mediawiki http://www.mediawiki.org/wiki/Bitfields_for_rev_deleted [20:32:35] Ah, well. [20:32:38] Thanks, guys. [20:32:39] maybe I could add $wgSharedDB='wiki1'; to the config for wiki1. [20:37:02] 03(NEW) Enable Special:Import on some Catalan projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12730 15enhancement; normal; Wikimedia: Site requests; (aleator_wiki) [20:37:56] 03(mod) Enable Special:Import on some Catalan projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12730 +shell (10raimond.spekking) [20:39:07] Alright guys check it out http://wikibondev.org/wiki/v/Email_archiving# [20:39:14] the first three links work like a charm :) [20:39:27] and i'm getting closer to what I've been seeing in my head... its exciting! [20:39:51] adding $wgSharedDB='wiki1' to 'wiki1' config worked [20:39:56] 14(DUP) Generated png images do not correspond to SVG's - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12722 +comment (10brion) [20:39:58] 03(mod) Broken rendering of arrows in SVG - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5325 +comment (10brion) [20:41:10] 14(INVALID) Special:Userrights can' t find users in SharedDB when granting on another wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12729 +comment (10zach) [20:41:21] meh. [20:42:00] 03(mod) Add log comment field when importing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12728 (10brion) [20:45:21] 14(DUP) Upload protection - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12713 +comment (10brion) [20:45:23] 03(mod) Protecting image description pages against creation does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12727 +comment (10brion) [20:45:48] Zach, so shared users works when using a sharedDB? [20:46:36] yea, eventually i figured out that adding $wgSharedDB='wiki1' to the config for 'wiki1' made it work [20:46:41] 14(INVALID) Display tabs at bottom (as well as top) of page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12708 +comment (10brion) [20:48:39] i have SharedDB with a shared user table working, but is it possible to have the user only sign on once? [20:48:53] 03magnusmanske * r30033 10/trunk/wiki2xml/php/wiki2xml.php: patch by Steve Bjorg [20:49:42] Zach, what does this mean in terms of different language wikis? -> Does it share articles as well? [20:50:00] it just shares the user table [20:50:17] so users with an account at wiki1 will also be able to log into wiki2 with their same info [20:51:43] i suppose if you set the cookie to a common domain (like if you have wiki1.wikis.yoursite.com and wiki2.wikis.yoursite.com, setting the cookie domain to ".wikis.yoursite.com" should work) [20:51:53] i could be wrong, and i don't know where to set that option [20:52:04] hmm.. interesting, and so you do this by adding $wgSharedDB='xxx' to the new wiki.. and it shares the usertable, but still has it's own seperate db as well? [20:52:20] session data might not be shared with the user table? [20:52:30] Wiredtape, yes [20:52:38] but, [20:52:46] chuck, afaik the only way to do that as of now is LDAP.. [20:52:49] it only works if both wikis are on the same server? [20:53:09] i don't think single signon is supported at all, actually [20:53:17] unless you write your own auth plugin [20:53:20] or if both wikis are on the same database server actually [20:54:17] Zach, ok thank you.. [20:54:29] Duesentrieb, the LDAP extension doesn't support this? [20:55:21] no idea. single signon is tricky, with cookies and stuff. it depends for example if both wiki use the same domain name - if not, one can't read cookies for the other [20:55:26] 03magnusmanske * r30034 10/trunk/wiki2xml/php/ (content_provider.php w2x.php xml2odt.php): Patch by Peter Chiocchetti [20:55:31] it probably can be made to woprk somehow... [20:56:14] 03(mod) "Invalid call hook poem" with refreshLinks.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12705 +comment (10brion) [20:56:14] 03(mod) Enable new parser on Wikimedia (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12652 (10brion) [20:56:17] Duesentrieb: oh, that's a shame [20:56:24] hi [20:56:29] it's getting tiring having to enter my username and pass all the time on my wiki farm [20:56:49] hi hjubal... [20:56:50] by default, the ldap extension doesn't support SSO [20:56:55] chuck: the stay logged it :) doing it once a month is ok for me... [20:57:02] :) [20:57:58] anyone here using fedora 8? [20:58:04] Duesentrieb: yeah [20:58:18] do you guys know if modern is going to be the new default skin? [20:58:34] I can't imagine why it would be [20:58:55] wouldn't feel like home w/o monobook. ;-) [20:59:34] who created monobook? [21:00:03] it says at the top of it's css file [21:00:06] or atleast contributed the most to it :) [21:00:28] chuck, if I remember correctly the top of the css file says something about "loosely based on..." [21:00:48] ummm... Gabriel Wicke [21:01:32] It's funny that his name should sound like "wiki"/wicke.. [21:01:38] agreed [21:01:45] heh [21:01:52] gabriel did quite some work back in the day [21:02:01] pity he's gone [21:02:03] what else did he work on? [21:02:14] squid integration [21:02:43] gone? [21:02:55] well, doesn't work actively for quite a few years [21:02:59] oh [21:03:09] he move on to another project? [21:03:15] yeah [21:03:16] "life" [21:03:22] or "family" [21:03:23] zing [21:03:26] or whatever was his project [21:05:43] speaking of moving on, what happend to rob chruch? [21:06:08] he got annoyed by all the n00bs asking him questions and i can't say i would argue with that [21:06:21] looking at the discussion page of Main_Page on even testwikipedia would make me want to leave [21:08:59] 03raymond * r30035 10/trunk/extensions/ (15 files in 2 dirs): [21:08:59] Localisation updates Kazakh extension translations [21:08:59] (bug 7971) Patch by AlefZet [21:09:23] 03(FIXED) Kazakh i18n updates for extensions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7971 +comment (10raimond.spekking) [21:24:21] 03dale * r30036 10/trunk/extensions/MetavidWiki/ (5 files in 2 dirs): updated scraping and database syncing maintenance tools [21:27:01] I think there might be a problem with CAPTCHA appearing when anon doesn't enter any external URLs [21:30:28] try to make null edit (while logged out) to http://en.wikipedia.org/wiki/User:Alex_Smotrov/t 2 or 3 times and the message "Your edit includes new external links ..." appears with a CAPTCHA [21:30:53] 03(mod) Add a "(content)" option to the namespace picker on special pages that use it - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12702 (10brion) [21:31:34] domas: did you get my email? [21:31:45] probably [21:32:05] just wanted to tell you that I figured it myself, so you can simply delete it [21:32:13] good [21:32:17] :) [21:32:18] cause I don't know where it is ;-) [21:32:20] been traveling [21:32:22] email is hell then [21:32:28] yeah, figured that! [21:32:34] congrats for the new position btw [21:33:24] well, I'm not really in it yet [21:33:30] will take a while to finish the acquisition [21:35:40] welcome mikeX [21:35:50] but yeah [21:35:52] will be fun [21:35:53] :) [21:36:17] :) [21:36:47] hi, can I ask why does mediawiki use latin1 encoding with mysql, even though it stores utf8 text? [21:38:55] 03(mod) GIF and PNG images are not displayed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12719 (10brion) [21:39:11] 03(mod) toolbar non displayed on Wikimedia Projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12700 (10huji.huji) [21:39:29] mikeX: because mysql kind of puts everything in 'as is' and obtains in 'as is' [21:39:37] the good way to do it is use varbinary instead of latin1 fields [21:39:42] but thats what is being used in non-unicode schemas [21:39:45] and unicode schemas use utf8 [21:40:25] well how should I properly change my schema to use utf8? [21:41:01] should I alter table on all the latin1 columns? [21:43:42] could a wikitable be included as variable input for a template? {{{text}}}={|... [21:43:46] domas: a whole community depends on your answer :) [21:44:13] 03raymond * r30037 10/trunk/extensions/SiteMatrix/SiteMatrix_body.php: * (bug 12638) Add ID to "Other project of Wikimedia" section [21:44:28] mikeX: well, if you really want to convert, easiest would be... dumping all data with mysqldump --default-character-set=binary or so [21:44:39] then recreate all tables with utf8 [21:44:41] 03(FIXED) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12638 +comment (10raimond.spekking) [21:44:55] (the mediawiki schema supports that iirc) [21:45:01] so mediawiki won't interfere with the table structure later on, right? [21:45:06] edit first lines of dump to specify correct charset [21:45:17] mikeX: mediawiki supports unicode tables [21:45:40] mikeX: my suggestion would be trying to install unicode-based mw somewhere, and play with importing of data [21:46:39] thanks a lot domas [21:46:58] you may want to check if there're some special localsettings lines for that [21:47:01] I don't remember [21:47:06] we're stuck at latin :) [21:47:07] Huuuuurm [21:49:30] *facepalm* tsearch changed, funstuff [21:50:00] someone runs on PG? :) [21:50:07] *domas COIs [21:50:14] Well I did lol :-( [21:50:40] Looks like in 8.3 tsearch is now integrated into PG [21:50:58] Was wondering why the installer wouldn't work. [21:51:09] duesentrieb - ok, thanks for the informations :) [21:53:21] I upgraded mediawiki from 1.5.6 (MySQL) to 1.11.0 (PostgreSQL), everything is fine but all the images are missing and "php maintenance/rebuildImages.php" complains "DB connection error" [21:53:48] ... [21:54:03] domas: you what runs PG? CZ :D [21:54:20] I know :) [21:54:30] *OverlordQ bangs head repeatedly against keyboard [21:54:45] I wonder why people migrate to PG [21:54:50] does mediawiki work better there? :) [21:55:20] Some of us just feel accuracy is better :) [21:55:37] accuracy? [21:55:46] which accuracy doesn't mysql provide? :) [21:56:09] *Hojjat is listening! [21:56:15] domas: i wonder why people use MY when PG works great [21:56:27] I wonder why people use PG when MY works great :) [21:56:33] :D [21:56:57] I wonder why people wonder their favorite DB works great! [21:57:01] because MySQL has had some pretty horible bugs in the past with munging your data in horrible ways and failing silently about it. [21:57:21] domas: I wonder why people switch and fuck everything up :) [21:57:39] *Hojjat waits for the next wonder-man to come! [21:57:40] So how much in the WP code depends on tsearch? [21:57:57] MZMcBride: ping? [21:58:06] OverlordQ: "in the past" - how many years ago? :) [21:58:40] domas: Not too long, remember one a few years ago about dates, can't remember details but did pretty horrible stuff with it. [21:59:06] domas: we got like a few duplicate entries X( [21:59:24] So anyways, back to my tsearch question *grin* [21:59:28] aeolist: no wonder, utf8 collations are case insensitive by default :) you may want to try utf8_bin or resolve dupes [21:59:43] *AaronSchulz puts domas in a bin [21:59:47] resolve dupes by hand... how purty... [21:59:59] is there maybe a tool or something for this job? [22:00:18] we had similar probs with smf, but smf had a specialized tool for the job [22:00:30] aeolist: well, there's simple mysql command, select ...,count(*) c group by ... having c >1 [22:00:56] OverlordQ: few years ago PG's performance was quite crappy too :) [22:01:02] *domas ducks [22:01:19] ok utf_bin, let's see [22:01:28] is there any known issue with 'rebuildImages.php' like 'dumpBackup.php' (http://www.mediawiki.org/wiki/Manual_talk:Backing_up_a_wiki) [22:01:30] and mediawiki has nice timestamp layer that converts dates :) [22:01:32] domas: where are the bitmap indexes? :) [22:01:42] How does one include the name of the user in a template. Not their signature (~~~ or ~~~~) but just the current users' name? [22:01:44] mediawiki has a nice DB layer in general [22:01:54] 03(NEW) Incorrect URL link in Special:SiteMatrix - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12731 trivial; normal; Wikimedia: Site requests; (lilewyn) [22:01:57] =) [22:02:14] it is some of the only good code we have [22:02:20] Which was the postgresql tracking bug? 843? [22:02:29] domas: database.php and pager.php [22:02:34] now that is some nice code [22:02:43] loadbalancer.php ;-) [22:03:01] domas: Wont argue there :) PG went accuracy over speed :) [22:03:31] OverlordQ: in mysql world people used to care about their data at app level [22:03:38] now it is all interleaved [22:03:57] oh, and I work in same company with Josh Berkus ! :) [22:04:19] *FT2 pokes gently for an answer if anyone has one? :) [22:05:01] FT2: You mean the user viewing the page, or the user editing? [22:05:04] 03(NEW) tsearch changes in PostgreSQL 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12732 15enhancement; normal; MediaWiki: Database; (overlordq) [22:05:07] 03(mod) PostgreSQL support (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10overlordq) [22:05:35] Dashiva - I'm doing a template for opening requests, and I'd like to iunclude the text "this request opened by [user] at [timestamp]. [22:05:53] I can make the template include the timestamp easily by iusing a combination of NOINCLUDE and ~~~~~ [22:06:00] FT2: there is no way, ~~~ will five you a nickname which quite often is not a username :( [22:06:01] domas: And MySQl has a $company$ behind it, whereas PG is all user driven :) [22:06:13] but I'm stumped how to include the username of the user posting (SUBSTing) the template [22:06:30] OverlordQ: oh, btw, MySQL has same company behind it as PG! :) [22:06:38] theres no {{currentuser}} or anything? [22:06:39] err? [22:06:41] *domas giggles [22:06:49] OverlordQ: Sun has been supporting PG ;-) [22:06:50] FT2: {{USERNAME}} or {{LASTEDITOR}} was proposed on bugzilla several time now [22:06:57] ah [22:07:03] proposed meaning "not enacted" :) [22:07:11] yep [22:07:16] on the other hand, how is that '$company$' any kind of argument :) [22:07:23] there was a problem with it? [22:07:40] Support vs ran buy :) [22:08:37] FT2: see for yourself: http://bugzilla.wikipedia.org/buglist.cgi?quicksearch=lasteditor [22:09:15] OverlordQ: ? :) [22:09:52] domas: one (officially unofficial) view on it: http://people.planetpostgresql.org/greg/index.php?/archives/120-guid.html [22:10:18] there already [22:10:22] caching concerns [22:11:35] OverlordQ: well, I know that difference :) [22:12:24] 03raymond * r30038 10/trunk/extensions/Nuke/ (SpecialNuke.i18n.php SpecialNuke.php): [22:12:24] * (bug 12657) i18n of submit buttons in Special:Nuke. Patch by Lejonel [22:12:24] * Fix syntax error in i18n wikilinks: ] -> ]] [22:12:24] * 'nchanges' supports {{PLURAL}} -> use it. [22:13:09] FT2: also, regarding you previous question: this bit of code behaves differently depending whether it's subst'ed or transluded: {{subst:ns:0}} [22:13:23] 03(FIXED) I18n of submit buttons in Special:Nuke - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12657 +comment (10raimond.spekking) [22:14:21] is there a way to make the "edit" section link go away specifically? (for example when including a template) [22:15:03] Wiredtape: use

and wait for a new preprocessor [22:15:09] http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor [22:15:32] if I upload a pdf and want to include a link from a text page to the pdf (do be downloaded), what should the link look like? [22:16:19] AlexSm, thanks... [22:16:27] jelle: [[Image:foo.pdf]] ? [22:17:12] 03(NEW) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 15enhancement; normal; MediaWiki: General/Unknown; (FT2.wiki) [22:17:37] that is kinda strange, it will create a little picture that opens a new page that contains another link that downloads the pdf, instead of just giving a link to the document [22:18:01] carl-m: that goes to the description page, [[Media:foo.pdf]] is direct [22:18:12] Point taken Dashiva, and hopefully trhat request isn't _too_ daft :) [22:18:12] jelle: see that post <-- [22:20:19] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 +comment (10FT2.wiki) [22:23:22] carl-m: eh, what post? [22:23:32] oh. right [22:23:33] jelle: Try [[Media:Foo.pdf]] [22:23:38] :) [22:23:40] I will [22:24:25] domas: we did `sed -i 's/latin1/utf8/g' wiki-latin1.sql` and mysql imported the base fine, but now the wiki shows up as empty [22:24:38] even though I can see stuff in the tables, like article titles [22:24:53] AlexSm,

doesn't help.. there is still an edit link... [22:25:34] Wiredtape: did you use a time machine or at least ?timtest=newpp ? [22:26:54] oh.. hehe, got it.. I thought you said h2 would work for now, and later in the newpp i could use ==bla== :) [22:27:11] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10FT2.wiki) [22:27:17] Hello [22:28:43] What's the proper way to get date formats from MessagesXX.php ? Is there any global function to get it ? [22:31:32] whats the fastest way to determine what the version of MW is on a given install [22:31:45] FT2: should that ~~~~~~ use the user's name, or their nickname? [22:31:51] Poundo: [[special:version]] [22:32:07] carl-m: The User: [22:32:34] The example shows it being used to link to a user page, so only that makes sense [22:32:39] The name you'd use for SPECIAL contribs, or their userpage or whatever [22:32:42] not their nickname [22:32:48] Raymond_: thanks! [22:33:30] its to allow you to create templates that refer to the useraccount directly rather than "create the template then eddit the page" [22:34:36] FT2: it's a really trivial addition [22:34:40] yup [22:34:43] I hope so :) [22:34:55] but would mean a load of templates that cant be fully automated, then could be [22:36:08] FT2: I agree that would be useful, right now you can only automate the name part when you create a subpage wuth that name [22:38:45] is it possible to test editing with the new parser on the wiki yet? [22:38:58] Heh, looked at the postgres search stuff, lets just say I'll leave that to somebody smarter then me :) [22:40:19] carl-m: you can see how pages will look with the new preprocessor by appending &timtest=newpp to URLs [22:40:47] BrokenArrow: can I do that on an edit page? I want to see what ~~~~ does on the new parser . Something is broken on my wiki, want to check it out [22:41:17] carl-m: i think test.wikipedia.org is using the new preprocessor [22:46:03] I am using geshicodetag to highlight codes, but I can't use overflow (like in pre), now how did mediawiki manage to get the syntax and the overflow option ? [22:46:37] Duesentrieb: the test wiki is running something strange, the preferences dialog is all different. maybe related to unified login [22:47:07] possibly [22:49:36] carl-m: actually... i don't see the difference. what do you mean? [22:50:41] Duesentrieb: I think I was confused about the "Real name" thing [22:51:28] ah. that's a basic option. [22:51:40] has been around forever [22:52:15] however... err. it's not enabled on testwiki, so...? [22:53:13] no, but it's enabled on my home wiki somehow [22:53:27] I was just confused [22:53:35] but I found the problem I was having, so that's done [22:54:06] 03raymond * r30039 10/trunk/phase3/ (3 files in 2 dirs): * (bug 12692) Add the long time existing 'upload-summary' to MessagesEn.php, mark it optional as other '-summary' messages too. [22:55:03] 03(FIXED) Upload-summary is missing in MessagesEn.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12692 15enhancement->normal; +comment (10raimond.spekking) [22:56:25] hello [22:56:45] I would to know if it's possible to embedd php data in a mediawiki page. [22:58:23] strange bug [22:58:23] if you block someone in lowercase, it doesn't show up in their block log [22:58:56] Nakon: good to know [22:58:57] Nakon: like 'foobar' for 'Foobar' or like for 'FooBar' (which would be a different name)? [22:59:39] brion: Nakon (Talk | contribs | block) blocked "nakon (Talk | contribs)" (account creation blocked) with an expiry time of 15 minutes ‎ (test) (Unblock) [22:59:47] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10Simetrical+wikibugs) [23:00:02] and the lowercase nakon is redlinked [23:00:13] Nakon: are you able to unblock it? [23:00:31] *Random832 didn't think to try blocking _myself_ that way [23:00:40] i'll take a peek [23:00:53] Random832: yes [23:00:55] 03(mod) "(last change)" in new messages box should link to combined diff of all changes since last visit - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12701 (10cbm) [23:00:59] because you can only unblock yourself while blocked, you can't unblock other users, and was wondering if that affects this [23:03:10] questo lo conoscete? http://www.freebee.it/ [23:04:32] Nakon: confirmed. probably not too hard to fix.... [23:04:42] brion: OK, thanks for looking at it [23:05:58] 03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733 (10cbm) [23:08:49] ok just double checking before i commit [23:10:02] 03brion * r30040 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialBlockip.php): * Log username blocks with canonical form of name instead of input form [23:10:30] * nods... would allow a lot of templates to be automated :) [23:11:23] 03(mod) tsearch changes in PostgreSQL 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12732 (10overlordq) [23:12:27] BrokenArrow: pong? [23:14:05] MZMcBride: hi. still looking after the newpp. We've found another quirk in a template, care to look if it's intended? [23:14:15] sure [23:15:59] http://it.wikipedia.org/w/index.php?title=Utente:Gvf/Sandbox10&timtest=newpp is using http://it.wikipedia.org/wiki/Template:Bio/Sandbox2 a simplified version of http://it.wikipedia.org/wiki/Template:Bio which is heavily used on it.wiki [23:19:33] 03(mod) Special:Disambiguations issues (interface strings, redirects) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2814 +comment (10wikimedia) [23:19:46] this is strange, I used syntaxhighlight and it gives me a fatal error when I do ? [23:22:36] yes [23:22:45] no, i'm saying did you try closing your quotes? [23:23:04] apparantly, it's not working for php too, yes I closed it, typo here [23:23:30] is mirc even a supported GeSHi type? [23:23:36] yes it is. [23:23:56] Axis: is it working with any language? [23:24:04] ok, will do if I can't get hold of Splarka here [23:24:07] nopes, I get the same error for php too [23:24:34] 03(mod) More flexible reports, dynamic arguments, template awareness ... - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9203 (10N/A) [23:24:37] what's the error? [23:24:59] BrokenArrow: sounds good; he's usually online in about an hour [23:25:01] should I post it here in the channel or notice ? [23:25:07] !pastebin [23:25:07] --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. [23:25:14] one line error [23:25:22] feel free to paste here [23:25:31] Fatal error: Call to undefined function wfLoadExtensionMessages() in /home/content/d/i/p/diptesh/html/w/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 203 [23:27:30] If needed, change the following line in SyntaxHighlight_GeSHi.class.php to suit the path of your geshi.php file <-- did you do that? [23:27:45] it is geshi/geshi.php [23:28:09] I have the geshi folder in the SyntaxHighligh_GeSHi folder [23:28:44] +t [23:29:22] does it only error when trying to use tags [23:29:41] I tried only till now, works fine with
[23:30:27] 	all I want is the overflow option of pre or similar and syntax highlighting, like mediawiki.org has
[23:30:50] 	does Special:Version list it as installed?
[23:31:04] 	yes
[23:37:18] 	should I use the 1.11.0 or the 1.11.0rc1 package?
[23:37:41] 	MZMcBride: would you like to see the version page ?
[23:37:56] 	1.11.0
[23:37:58] 	not yet
[23:38:23] 	TimStarling: thanks
[23:38:54] 	I have read the "discussion" page of the above mentioned extension too, but there is no similar problem faced by anyone
[23:40:14] 	Axis: sounds like the extension expects a newer version of mediawiki
[23:40:31] 	1.10.1
[23:40:32] 	Axis: upgrade mediawiki, or downgrade the extension
[23:40:45] 	yes, i think the extension messages stuff was introduced in 1.11
[23:41:24] 	Duesentrieb: hrmm, but mediawiki.org doesn't show me a downgraded version of the extension :(
[23:41:32] 	Axis: what do you have inside extensions/SyntaxHighlight GeSHi?
[23:41:52] 	MZMcBride: the 3 files of the extension and the geshi folder
[23:41:53] 	MZMcBride: his problem is pretty clear...
[23:42:00] 	ok
[23:42:12] 	Axis: extensions are forked with the rest of mediawiki
[23:42:29] 	Axis: in the 1.10 fork, you will find an extension dir which has the right version for you
[23:42:44] 	Duesentrieb: ok I will look for that thank you :)
[23:42:49] 	http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_10/extensions/
[23:42:58] 	:]
[23:43:33] 	03(mod) Request to create ~~~~~~ = username of poster - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12733  (10FT2.wiki)
[23:43:58] 	Duesentrieb: so basically I replace the 3 files of the extension by the 2 files from the downgraded extension right ?
[23:45:15] 	yeah, it has a readme too, cool.
[23:45:35] 	the overflow stuff is just css, i think
[23:45:47] 	not sure if the extension comes with that...
[23:46:00] 	I am using the default, monobook
[23:46:08] 	overflow works with pre
[23:47:14] 	re
[23:49:11] 	so
[23:49:37] 	why does bugzilla require an email? why not integrate it so you can use a wiki account
[23:49:49] 	not the same software? 
[23:50:15] 	but couldn't the developers do something?
[23:51:43] 	Duesentrieb: ok, it worked now, now how do I do the overflow like pre with highlight as mediawiki has ?
[23:52:38] 	Axis: find out how to select the block generated by  in css and set overflow:auto for it in MediaWiki:common.css
[23:53:56] 	Axis: hm, looks to me like it actually generates a 
 tag too, so the style should probably already apply...
[23:54:02] 	no idea why it wouldn't.
[23:54:09] 	ok I am a complete noob in this heh
[23:54:34] 	edit MediaWiki:common.css
[23:54:37] 	I am just using stuff here
[23:54:45] 	ok I will try that now
[23:54:54] 	you are looking at wiki text. css applies to generated html#
[23:55:17] 	put this into MediaWiki:common.css: pre { overflow: auto; }
[23:55:23] 	the clear your browser's cache#
[23:55:26] 	should do the trick
[23:55:39] 	alright, the MediaWiki:common.css is empty atm
[23:55:47] 	yes, as it should be per default
[23:56:18] 	ok added that line, now to test
[23:58:31] 	Duesentrieb: w00t, it worked as you said!!
[23:59:43] 	\o/