[00:00:37] A solution for wikis that have ParserFunctions extension installed is to use [00:00:38] {{#titleparts:{{PAGENAME}}|1}}. [00:01:10] 03(mod) Add variable to show the topmost level in the tree of subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12872 +comment (10fantasy) [00:01:25] Reedy, there, I made a comment. [00:01:42] :) [00:01:52] should be a fairly simple bug IMHO [00:02:10] *Lady_Aleena is fantasy. [00:03:30] Reedy, I need something that can expand and contract. I will look into title parts later, I am not on my game tonight. [00:03:39] heh [00:04:27] Reedy, I am still a little shy on bugzilla. I am not a techie, just someone who uses a lot of magic words and parser functions. (Sometimes too many.) [00:05:01] :) [00:05:05] As long as you at least try and search first, and put a reasonable report together, no one will complain ) [00:05:07] : [00:05:18] Reedy, have you ever had a page come back saying that you have used too many expensive parser functions? I had no clue that there was a 500 limit until I saw this weird category show up on one of my pages. [00:05:30] haha, nope [00:05:56] I just love {{#ifexist:}} so much. It is a wonderful thing. [00:07:16] What I don't understand is all of the EEs. [00:07:17] lol [00:07:24] EEs? [00:07:48] PAGENAMEE, SUBPAGENAMEE, etc etc etc. [00:07:49] I've got 5 open bugs atm :P [00:08:02] What is with the EEs? I just don't get it. [00:08:23] *Reedy shrugs [00:08:28] the functions look the same [00:08:36] oh no [00:08:44] No? [00:09:03] I think one is so you can pass the page you want to get the stuff from [00:09:19] "This extension enables a reimplementation of builtin functions like PAGENAME, but with the possibillity to define the base path." [00:10:08] And that means? I am not a techie, I can't even understand Perl and that is supposed to be simple. [00:10:55] You can pass it a parameter of the page you want [00:10:58] rather than the current page [00:11:13] Oh, okay... [00:11:20] Hi, how can I trim a string to a specific number of letters? of example if i want to only get "ab" out of "abc" [00:11:25] No one wants to kill my bug. [00:11:29] using what bit` ? [00:11:40] wikimedia! [00:11:43] :D [00:11:44] mediawiki [00:11:47] you mean? :P [00:11:52] ya [00:12:13] Lady_Aleena: Encoding. [00:13:10] MZMcBride, encoding my bug? I thought no one wanted it cause no one else is on the CC list. [00:13:17] the only string modification i could find was {{padleft:}} [00:13:17] {{PAGENAME}} = Magic words. {{PAGENAMEE}} (an extra E for encoding) = Magic_words. [00:13:55] MZMcBride, OH! Okeydokey! [00:13:57] And #ifexist and a few other parser functions are limited because they aren't batched when hitting the servers. Each request goes through individually, which is no good. [00:13:59] *Lady_Aleena feels sheepish. [00:14:34] {{PAGESIZE: }}, {{PAGESINCATEGORY: }}, and one other one, I believe. [00:15:02] MZMcBride, I know that it is bad when I have too many on a page because it breaks after 500 which makes me sad. :( ;) [00:15:36] Heh. I used like 5,000 on a page at one point. [00:15:49] I think that was the reason for the implementation of the limit. ;) [00:15:55] MZMcBride, did the server go OMGWTFBBQ? [00:16:06] Nah, it processed them just fine. [00:16:18] But I think there were concerns about it being used abusively. [00:16:25] And eventually causing server issues. [00:16:29] help? [00:16:47] !e StringFunctions | bit` [00:16:47] --mwbot-- bit`: http://www.mediawiki.org/wiki/Extension:StringFunctions [00:16:50] bit`, I don't know but I am sure that MZMcBride or Reedy can help you. [00:17:02] oh thanks! [00:17:10] That extension has a truncate option, I believe. [00:17:42] yeah that would work [00:17:47] {{#sub:string|start|length}} [00:18:17] *Lady_Aleena says "I know people." and then giggles. :) [00:18:19] If its a private wiki, you might need to install the extension [00:18:25] 03(NEW) Searching for IP Addresses in page content unsuccessful - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15027 normal; normal; MediaWiki: Search; (cameronem) [00:18:26] actually what i'm trying to do is get a random value, i though i can use {{CURRENTTIMESTAMP}} and trim the seconds [00:18:44] do you know of an extension that generates a random number? [00:18:51] !matrix [00:18:51] --mwbot-- I don't know anything about "matrix". You might try: !compare !extensionmatrix !extensions [00:18:55] Bah. [00:19:02] !matrix is extensionmatrix [00:19:02] --mwbot-- Successfully added keyword: matrix [00:19:04] !matrix [00:19:04] --mwbot-- extensionmatrix [00:19:05] Isnt there one that allows php functions? [00:19:13] *MZMcBride stabs mwbot in the throat. [00:19:18] http://www.mediawiki.org/wiki/Extension:DynamicFunctions [00:19:28] See #rand [00:19:34] or that :) [00:19:44] Not installed on MediaWiki for some reason. [00:19:59] thanks [00:20:02] I still want #skin to work. [00:20:14] !matrix [00:20:14] --mwbot-- http://www.mediawiki.org/wiki/Extension_Matrix [00:20:25] That's usually the best place to find extensions. [00:20:29] OMG! Did I know something off the top of my head that you guys didn't? [00:20:45] lol [00:20:48] hahaha [00:20:53] *Reedy notes he only uses MW :P [00:21:09] Reedy, same here. [00:21:22] Well, i've got a couple of private wiki's, etc [00:21:35] I have no other Wikis. [00:22:14] Well, none that I am active on anyway. I went through an account creation phase, then quit when I saw just how many there were out there and how bad they were compared to MW. [00:25:20] 03aaron * r38522 10/trunk/phase3/includes/PageHistory.php: Remove div [00:51:02] 03(NEW) Logo for wuu.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15028 15enhancement; normal; Wikimedia: Site requests; (kbblogger) [00:53:26] 03simetrical * r38523 10/trunk/phase3/languages/Language.php: Document what the month number means for Language::tsToHebrew(). [00:53:57] 03(mod) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 (10ned) [01:23:40] 03(mod) Global groups defined for certain sets of wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14556 (10mohsensalek) [01:23:44] 03shinjiman * r38524 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [01:39:20] 03(mod) Patch for UsernameBlacklist to support multiple blacklist sources - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15010 (10brion) [01:41:40] rev_deleted is intended to replace oversight when it is ready, yes? [01:45:48] in theory yes :) [01:46:40] 03(mod) Enable GlobalBlocking extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8707 (10brion) [01:46:51] Maybe not a skin. Perhaps an internal sidebar to the page itself via a template would be appropriate. I just need some sort of vertical sidebar. Preferably not involving tables, and without too much hacking of Monobook.css. [01:50:46] 03(NEW) Replace Oversight with rev_deleted on all WMF wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15029 normal; normal; MediaWiki: History/Diffs; (mike.lifeguard) [01:51:55] I guess it's the method of ads on http://genomics.org/index.php/$0_Genomics that would be useful. /me goes looking in the coding [02:13:28] 03(NEW) List global group rights similar to Special: ListGroupRights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15030 15enhancement; normal; MediaWiki extensions: General/Unknown; (mike.lifeguard) [02:30:54] <^demon> siebrand: Ping. [02:30:57] most useless extension? http://www.mediawiki.org/wiki/Extension:Minimum_Name_Length [02:38:24] TimStarling: I think I can find a more useless one [02:39:08] and here it is: http://www.mediawiki.org/wiki/Extension:WhatIsMyIP [02:39:23] I say it because the guy who wrote it was a core developer, and he could have added it to the core with like three lines of code [02:39:31] ah [02:39:34] true :P [02:39:53] actually, why isn't that in core? it'd probably be good to have in there [02:41:39] TimStarling: also, how do I get an extension to show up on Special:ExtensionDistributor? [02:41:47] does it have to be in a branch as well as in trunk? [02:41:57] Skizzerz: fun note: you can go to Special:Version and look in the HTML source for the report of the ip :) [02:42:11] I think that's a bug in the extension [02:42:14] brion: hence why that extension is useless [02:42:22] it doesn't try to create the directory if it's missing [02:42:29] you should fix it if you know how [02:42:40] Skizzerz: well it'd be nice to display it in a user-visible fashion :) [02:42:48] we added it to special:version as a hack to track down live mirrors ;) [02:42:49] I always go to Special:Mytalk logged out if I'm curious about my IP [02:42:51] {{USERIP}}? [02:43:29] Skizzerz, something like {{USERIP}} wouldn't be feasible, because it can't be cached [02:43:42] yeah, realised that after I said it [02:44:53] TimStarling: I'd have to figure out WHAT isn't working before I can work on a fix ;) [02:45:35] I'm busy at the moment fixing mediawiki.org [02:45:47] *Skizzerz opens up Notepad++ [02:45:49] apparently we haven't kidnapped enough WikiGnomes [02:46:06] I have to add templates myself [02:47:33] TimStarling, what's the issue? I've been looking for work to do on there [02:47:45] aha [02:48:42] Krimpet: go to http://www.mediawiki.org/w/index.php?title=Special:AllPages&from=Minimum&namespace=102 [02:48:58] then in another window, get a list of all extensions in wikimedia version control [02:49:14] say http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ [02:49:24] yep, done. :) [02:49:47] then for all the extensions in wikimedia version control, fix the download parameter in the extension infobox [02:49:59] it should read {{WikimediaDownload|}} [02:50:21] and optionally fix the download instructions in the main text, I haven't been doing that in the last batch because it takes too long [02:50:24] Ah, sure [02:50:32] see my contributions for examples [02:51:44] 03(FIXED) Global groups defined for certain sets of wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14556 +comment (10pathoschild) [02:52:08] ok, let's have a look at this ExtensionDistributor bug [02:52:29] getExtensionList() looks perfectly fine in theory [02:53:31] well, it doesn't update the repo mirror [02:53:37] maybe we can just have a cron job that does it [02:54:04] that'd work wouldn't it? [02:54:11] it should [03:01:06] 03brion * r38525 10/trunk/phase3/maintenance/parserTests.txt: [03:01:06] Change test case added in r38400 [03:01:06] We shouldn't append a wiki link fragment onto a redlink; the edit UI is [03:01:06] different from a page view, so appending a page-content fragment will at best do [03:01:06] nothing and a worst conflict with the UI and scroll us down unexpectedly. [03:02:28] I'm running svn up on it manually, it's taking a while [03:10:07] 03(mod) Global groups defined for certain sets of wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14556 (10brion) [03:17:20] ok, done [03:20:15] *brion wtf [03:20:20] "The action you have requested is limited to users in the group steward." [03:20:26] but... i am... a steward? [03:20:30] *brion yay testing [03:20:37] Heh. [03:24:11] XD [03:24:25] aha [03:24:38] special:editwikisets arbitrarily wants me to have a global account. that doesn't help me [03:25:04] but you have a global account :) [03:25:23] not on my local test wiki on my laptop [03:25:42] oops :) [03:26:30] hey brion [03:29:27] oy [03:30:12] brion: did you notice how many ajax bugs are open? [03:32:29] 03brion * r38526 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php SpecialEditWikiSets.php): [03:32:29] Revert r38412 for now ("Polish wiki sets a little bit:") [03:32:29] Seems to be adding a JavaScript-only dropdown which will be displayed for non-JS [03:32:29] users as well. I can't currently test this on my laptop (no CA config) but it [03:32:29] looks like it'd be pretty awkward to me, even when JS is available. A more [03:32:32] traditional 'all available / those included' list might be a better end product [03:32:34] here, or something more creative but still a little more polished [03:33:01] AaronSchulz: "X would be cooler with AJAX" bugs or "this AJAX thing is broken" bugs :) [03:33:16] little of column A, little of column B [03:35:17] AaronSchulz: hmm, might be interesting to consider doing those graphs with svg instead of gd :) [03:35:30] or... element ;))) (d'oh there's IE ) [03:37:45] brion: bug 14556 should be reopened then? [03:37:46] 03aaron * r38527 10/trunk/phase3/includes/AjaxFunctions.php: respect return value of $article->doWatch() (bug 11135) [03:38:26] Mike_lifeguard: ...no? [03:38:33] unless you know some reason it should be [03:39:17] 03(FIXED) wfAjaxWatch in AjaxFunctions.php doesn' t check the return value of $article->doWatch(); - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11135 +comment (10JSchulz_4587) [03:39:30] *Mike_lifeguard misread you [03:41:47] bah, shit [03:44:30] hmm, bug 1510 is interesting [03:44:41] though not really worth it ;) [03:45:35] 03brion * r38528 10/trunk/phase3/includes/User.php: [03:45:35] Revert r38427 "Create User::getGroupsInRoles(). Given an array of roles (edit, read, delete), return the groups allowed to do each." [03:45:35] This seems a bit odd; the name is certainly confusing -- [03:45:35] getGroupsWithPermissions() would be clearer, but I'm not really sure I see why [03:45:35] it's given an arbitrary-length list here (vs a simpler single check which can [03:45:39] simply be run multiple times). [03:46:06] AaronSchulz: the general problem, on a public site in particular, is that clicking 'edit' doesn't necessarily mean you're going to do anything [03:46:08] Hi how can i specify where a link ends if it has spaces, when I use [http://somewebsite.com?param=has spaces text] [03:46:18] 03(WONTFIX) Provide "edit warning" for pages when someone else has just started editing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1510 +comment (10JSchulz_4587) [03:46:20] too much pre-locking could lead to a lot of false positives [03:46:28] and of course the DoS possibilities are lovely :D [03:46:52] ' Way for anons to disable search box AJAX suggestions ' [03:47:00] some of this bugs are kinda stupid [03:48:00] *AaronSchulz lols at bug 11130 [03:48:21] > I had a plan to implement this using Ajax since one or two years ago. [03:48:22] > [03:48:24] > But an Ajax-only solution wouldn't be good for people without JavaScript who do [03:48:26] > want these special symbols and tools. [03:48:28] They depend on JavaScript to begin with... [03:48:41] brion: nice comment ;) [03:48:53] 03(WONTFIX) Way for anons to disable search box AJAX suggestions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13848 +comment (10brion) [03:49:02] :) [03:50:02] ok, bug 12513 is about breakage [03:50:24] ooh that's an oldie [03:50:29] well, mildly oldie [03:50:39] anything newer than my move to san francisco isn't old in the absolute sense [03:50:40] 03(mod) Provide "edit warning" for pages when someone else has just started editing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1510 (10l8qjvx002) [03:50:50] that's all young'uns [03:51:30] we should redo the old skins under SkinTemplate some day [03:51:35] save a lot of trouble :P [03:51:56] and finish unifying the ids for things... Modern added some complexity recently, it should be brought in line :P [03:51:59] the ajaxwatch.js code looks kinda bad in some places [03:52:06] i don't doubt it [03:52:16] it's from the age of "i heard about ajax on slashdot, let's do it!" [03:52:32] now it's "why can't we look like Facebook?" [03:52:33] there was probably some crack involved [03:52:59] i draw the line at facebook [03:53:15] btw, they are redesigned the site [03:53:16] well no [03:53:19] i draw the line at myspace [03:53:32] holy fuck yes [03:53:34] as long as we can keep from looking like myspace, we're in biz [04:01:04] 03(mod) Special:Search should have descriptive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11035 (10brion) [04:02:45] <CIA-55> 03brion * r38529 10/trunk/phase3/languages/messages/MessagesEn.php: [04:02:45] <CIA-55> Revert r38442 "Tweaking description for apihighlimits, as people are constantly asking what the limits are." [04:02:45] <CIA-55> Hardcoding limits into a UI message isn't a good practice, as they may change. [04:04:09] <GreenReaper> Is anyone able to explain http://www.mediawiki.org/wiki/Extension:TitleKey more completely? It says what it is, but it doesn't say why you would need it. Presumably it's a means to do AJAX searches from the search box and perhaps in the page, but it doesn't specify what front-end you might use it with, if any. [04:06:10] <GreenReaper> (If such searches are part of MediaWiki, it's not clear if there's anything that needs to be done to enable it - installing the extension and running update.php doesn't seem to be sufficient.) [04:07:50] <Krimpet> GreenReaper, it appears that all it touches is OpenSearch, the AJAX autocomplete, and redirecting when the user clicks "Go" [04:08:23] <GreenReaper> Any ideas how this "AJAX autocomplete" is enabled? [04:09:38] <GreenReaper> We have $wgUseAjax but that doesn't seem to be sufficient, at least on 1.12 [04:10:58] <GreenReaper> I know Wikipedia uses lucene now, but I don't know that we want to go that hardcore. :-) [04:11:43] <brion> GreenReaper: 1.13 [04:12:02] <GreenReaper> OK. We'll update to that in due course, we can wait for that feature. Thanks. :-) [04:12:04] <wikibugs> 03(NEW) Enable enotif (email notifications) on all but the largest wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15031 15enhancement; normal; Wikimedia: Site requests; (brianna.laugher) [04:13:29] <Krimpet> GreenReaper, $wgDefaultUserOptions['ajaxsearch'] = 1; [04:13:31] <Krimpet> (sorry, laptop's on the fritz) [04:14:10] <GreenReaper> Cool, I'll give that a go and see what happens. <g> [04:14:36] <brion> GreenReaper: that's an older thingy which imho isn't very good ui [04:15:44] <Splarka> ew, that thing sucked! [04:16:21] <Krimpet> brion, I recently sent you an e-mail by the way :) [04:16:31] <brion> how recently? [04:16:40] <Krimpet> Friday night [04:16:49] <brion> what was it about? [04:17:20] <Krimpet> I'm interested in applying for commit access [04:18:19] *brion looks [04:19:21] <Krimpet> particularly to help with the Doxygen docs - http://svn.wikimedia.org/doc/ is my bible when working with MW, but it's incomplete in parts. [04:20:09] <brion> :D [04:20:34] <brion> Krimpet: while i've got you here, can you update the patch on https://bugzilla.wikimedia.org/show_bug.cgi?id=15010 ? it looks like it moves a lot of code to separate files but they didn't make it into the patch :) [04:20:54] <Krimpet> brion, ah, yes, sorry about that - it didn't translate well to .diff form [04:21:16] <brion> i believe you can do 'svn add' locally even on an http checkout [04:21:22] <brion> then they'll get included in 'svn diff' output [04:21:31] <Krimpet> ohhh. I get it now [04:21:39] <brion> what do you prefer as username? 'krimpet' or something else? [04:21:49] <Krimpet> 'krimpet' is good. :) [04:22:07] <MZMcBride> I thought we were considering anon cookies. [04:22:21] <MZMcBride> (In regard to disabling MWSuggest for anons.) [04:22:56] <Krimpet> MZMcBride, I know gmaxwell threatened to stab me when I gave anons cookies in the site JS once. :p [04:23:06] <MZMcBride> Right, but that bug was fixed. [04:23:22] <wikibugs> 03(NEW) cannot create templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15032 15enhancement; normal; MediaWiki extensions: Semantic Forms; (f5644002) [04:24:07] <Splarka> js cookies shouldn't have had an affect on squid caching before X-vary [04:24:29] <brion> Splarka: all cookies get sent back to the server, whether they were set in js or not [04:24:38] <Splarka> ew [04:24:51] <Splarka> well, then they did X_X [04:25:08] <Splarka> brion: was the x-vary thing mostly so anons could have varied edit tokens? [04:26:02] <brion> Splarka: i think it was so the sitenotice hiding, video playback options etc would stop polluting the cache space [04:26:26] <Splarka> mkay [04:26:36] <brion> afaik we still support anons editing without cookies... :) [04:26:37] <Splarka> did squid ever implement that in their core? [04:27:23] <Splarka> right, but if people start exploiting that, you may have to switch on tokens for anons? [04:27:38] <Splarka> (which then means you need some way of identifying the anon, and that usually means cookies) [04:28:35] <brion> Krimpet: ok, added. :) see http://www.mediawiki.org/wiki/Commit_access for guidelines [04:29:22] <Krimpet> thank you very much, brion :D I'll take a look right away [04:29:46] <brion> you're welcome -- looking forward to those doc fixes :D [04:31:18] <brion> Splarka: dunno about squid offhand [04:31:32] <brion> and yes, at some point we may start requiring sessions for anon edits [04:31:53] <brion> it makes me feel warm and fuzzy that people can edit without js or cookies :) [04:31:58] <brion> in a kind of web 0.9 way [04:32:16] <Splarka> agreed, I hate JS-reliance (ironic because I love JS enhancements, and still hate JS itself) [04:32:54] *Krimpet looks to see how to make emacs less picky about its indenting [04:32:56] <Splarka> but (BEANS) any website can create forms and have user clients submit them via JS, with predictable nonsession tokens [04:33:29] <Splarka> although with anon article creation disabled on enwp it isn't that terribly useful [04:34:19] <Splarka> anyway brion, it looked like the last word for x-vary-options was: http://www2.nl.squid-cache.org/mail-archive/squid-dev/200802/0282.html [04:34:45] <Splarka> but I see no bugzilla entry for it on http://www.squid-cache.org/bugs/ [04:37:36] <brion> Splarka: yes, though they can already do their edits through proxies etc so it's not a security issue (can't escalate priveleges with a session) [04:37:59] *Splarka grins [04:38:11] *brion stuffs WP:BEANS in Splarka's nose :) [04:38:13] <Splarka> although before API callback had session data removed [04:38:20] <Splarka> ow! [04:38:40] <brion> :) [04:39:02] <brion> "and that's why we don't give session information to random strangers over <script>" [04:42:33] <CIA-55> 03krimpet * r38530 10/USERINFO/krimpet: Hoping this works :) [04:43:02] <brion> Krimpet: woohoo :) [04:43:16] <Krimpet> ooh, it did. :) [04:43:17] <Splarka> brion, tell the truth, you've set up a minesweeper UI for SVN revert, and every new commit access you grant is you upping your skill level [04:43:55] <brion> :DD [04:44:18] <MZMcBride> Regarding "Way for anons to disable search box AJAX suggestions", can it be marked LATER instead? To make me feel better? [04:44:25] <Krimpet> now to bind mwdocgen.php to a function key... [04:44:26] <brion> at least i've got the cheat codes [04:44:37] <brion> MZMcBride: only if we actually have a plan to do it later :) [04:44:55] <MZMcBride> Heh. Ok. [04:45:55] <brion> sometimes we use LATER as "stop bugging me by reopening this thing we don't want to do" but i prefer to use it for reals as "someday if X happens we'll get back to this" [04:46:12] <Splarka> why not just do it? things like that shouldn't break caching eh? if the activation has a simple cookie check. And even things like advanced recent changes (since recent changes isn't cached)? [04:46:41] <brion> why do it? :) [04:46:50] <Splarka> shuts up the anons! [04:46:57] <MZMcBride> We could have skin preferences coupled with it... [04:46:58] <brion> they can just create an account :) [04:47:03] <MZMcBride> And perhaps some other things. [04:47:06] <Splarka> then they never shut up [04:47:11] <brion> hehehe [04:47:20] <brion> we could tie anon prefs into the donation system [04:47:25] <SQLDb> give'em an inch, and, they're gonna want a mile :P [04:47:34] <brion> "donate $1 to enable enhanced recent changes" [04:47:44] <Splarka> hah <3 [04:47:53] <brion> give em an inch, they'll want an option to display 2.54 cm [04:48:04] <MZMcBride> Hehe. [04:48:05] <Splarka> damn, movie is subtitled, bbl ^_^ [04:48:41] *brion wonders if Splarka can get a program to read his subtitles aloud for him [04:49:16] <MZMcBride> Two hours of hearing a robot speak? :( [04:50:36] <brion> mc hawking? [04:51:13] <MZMcBride> Heh. [04:59:28] <brion> AaronSchulz: r38512 (Avoid some confusion with watching on edit by setting checkbox when ajax watch is used (bug 12395).) doesn't seem to work for me (Firefox 3.0) [04:59:40] <CIA-55> 03demon * r38531 10/USERINFO/krimpet: svn:eol-style [04:59:50] <brion> hmmm no wait [05:00:18] <brion> i was looking at the wrong damn box ;) [05:01:37] <qsheets> nice [05:02:52] <^demon> brion: if I change the method's name and make it check only one param at a time, would that be ok? [05:02:57] <qsheets> brion don't worry... i was looking for a set of non-flattened image files on my computer [05:03:29] <qsheets> when all the time i knew they were safe and on my flash drive [05:06:12] <brion> ^demon: sounds reasonable... offhand isn't there already code doing this? like for getting the lists of groups for a permission that the user doesn't have in permission errors? [05:06:21] <brion> either there's a function that does this, or that code should be calling this one ;) [05:08:07] <CIA-55> 03midom * r38532 10/trunk/phase3/includes/JobQueue.php: add some useless WHERE condition instead of 'Job::pop' :) [05:09:11] <^demon> brion: I believe it's the latter. Werdna said something like this might be useful for the badaccess-groupX stuff. [05:09:22] <brion> supa [05:11:55] <Krimpet> ^demon, oh, is there a certain type of EOLs we should use? [05:13:42] <domas> HI! [05:13:51] <domas> did anyone fix api.php not to scan page/pagelinks? [05:14:43] <^demon> Krimpet: All files should be svn:eol-style:native. [05:14:45] <CIA-55> 03demon * r38533 10/trunk/phase3/includes/User.php: Reimplement User::, now with less crappy name and only taking one permission at a time. :) [05:15:19] <CIA-55> 03brion * r38534 10/trunk/phase3/ (includes/Linker.php maintenance/parserTests.txt): [05:15:19] <CIA-55> Followup to r38525 (tweaks from r38400) -- don't put fragments on redlinks; they won't be useful on the edit UI, which isn't a page view. [05:15:19] <CIA-55> (I suppose it's dubious whether we should do the same to nonexitent special pages.... but fragments there wouldn't be too helpful either so no need for extra logic to add it back. :) [05:15:31] <Krimpet> ah, OK - reading the page on auto-props now [05:15:43] <^demon> Krimpet: http://www.mediawiki.org/wiki/Subversion/auto-props - I also suggest adding "RELEASE-NOTES" to the list, as you'll commit that a good bit too :-) [05:31:24] <brion> Error in /home/wikipedia/common/php-1.5/extensions/AbuseFilter/AbuseFilter.parser.php line 249: syntax error, unexpected T_STRING, expecting T_VARIABLE [05:31:25] <brion> grr [05:33:18] <CIA-55> 03brion * r38535 10/trunk/extensions/AbuseFilter/AbuseFilter.parser.php: fix parse error, stray executable bit [05:35:37] <Werdna> brion: you're around late. [05:35:44] <brion> *yawn* [05:36:02] <brion> setting up machines for new folks starting this week; i sure won't have time for it during the day :) [05:36:17] <Werdna> brion: You should use the native parser. [05:36:35] <wikibugs> 03(mod) User list includes MediaWiki: Viewprevnext without rendering markup. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11454 (10wiki) [05:37:07] <Werdna> brion: support for the PHP parser is sketchy at best. It needs to be rewritten to have the same functions as the native one :) [05:38:50] <brion> Werdna: mm, well it'd be best to suppor tboth :) [05:39:01] <Werdna> I know, abuse filter isn't finished yet. [05:39:06] <AaronSchulz> brion: http://de.wikipedia.org/wiki/Main_Page [05:39:07] <brion> but for now i'm just making sure our update script doesn't reject the entire code update because of an extension we're not using [05:39:08] <AaronSchulz> !!! [05:39:08] --mwbot-- I don't know anything about "!!". [05:39:23] <Werdna> brion: ahh. [05:41:49] <AaronSchulz> brion: is imagemap broke? [05:46:03] <brion> AaronSchulz: you tell me [05:46:16] <AaronSchulz> demon made a commit [05:46:19] <AaronSchulz> not sure if that was it [05:46:33] <brion> step one is to point to something specific and describe it with words [05:47:04] <MZMcBride> http://de.wikipedia.org/wiki/Main_Page <-- Large red error messages. [05:47:24] <MZMcBride> http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=38411 <-- Most recent commit to the ImageMap extension. [05:47:46] <AaronSchulz> brion: you don't see the errors? [05:47:49] <AaronSchulz> I gave a link [05:48:06] <brion> AaronSchulz: i don't go to random links with no explanation why when i'm doing five other things for work at the same time [05:48:27] <AaronSchulz> heh, well, at any rate, I don't see a cause [05:48:42] <AaronSchulz> <imagemap>-Fehler: Ung??ltiger ???desc???-Parameter, m??glich sind: top-right, bottom-right, bottom-left, top-left, none [05:48:48] <AaronSchulz> a bunch of times [05:49:10] <Werdna> 04:23 < Krimpet> particularly to help with the Doxygen docs - http://svn.wikimedia.org/doc/ is my bible when working with MW, but it's incomplete in parts. [05:49:33] <Werdna> the code is my doc :) [05:50:17] <AaronSchulz> bah, silly review button [05:50:21] <brion> the template expands to: desc keine [05:50:29] <brion> this is apparently not considered valid? [05:50:39] <brion> perhaps there's been a regression in the localized magic word specs [05:51:16] <Krimpet> Werdna, yes, but with proper doxygen comments, the code can be a *better* doc. :) [05:51:23] <brion> 'imagemap_desc_types' => 'oben rechts, unten rechts, unten links, oben links, keine', [05:51:26] <brion> has vanished [05:51:29] <brion> there a reason for this? [05:53:26] <brion> svn: Commit failed (details follow): [05:53:27] <brion> svn: Can't convert string from 'utf8' to 'UTF-8': [05:53:29] <brion> i fucking hate you svn [05:54:15] <CIA-55> 03brion * r38536 10/trunk/extensions/ImageMap/ImageMap.i18n.php: Revert r38484 in this directory -- caused regression on German Wikipedia [05:54:35] <sherrod> are any of you running SocialProfile extension>? [05:55:04] <MZMcBride> All better, Brion. :) [05:55:05] <AaronSchulz> brion: ok, now to find out why ajax review doesn't trigger [05:55:17] <AaronSchulz> no errors show up [05:55:53] <AaronSchulz> non-ajax is on at testwp, and works, ajax works on my testwiki...hmmm [05:56:26] <Krimpet> sherrod, I haven't used it myself, is it causing issues though? [05:57:29] <sherrod> Krimpet: Well.. it is strangley... "half baked" [05:57:40] <sherrod> Some of it works nicely, other parts are missing [05:58:17] <wikibugs> 14(INVALID) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15020 +comment (10brion) [05:58:36] <sherrod> I am interested in seeing a fully-implemented demo of it to check it out. [05:59:32] <MZMcBride> Wikia would have one, no? [05:59:56] <Krimpet> If this effing laptop reboots on me again, I'm going to run it through a blender and bake it into a cake instead. [06:00:02] <wikibugs> 03(mod) "Did you mean . . ." search feature to automatically spellcheck all search terms - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=974 +comment (10brion) [06:00:03] <sherrod> MZM: instance of social profile? I haven't seen one. [06:00:09] <wikibugs> 03(mod) Search Engine So Poorly Deseigned It May As Well Be Broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15021 +comment (10brion) [06:00:37] <wikibugs> 14(DUP) searching within an article's history - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15019 +comment (10brion) [06:00:46] <wikibugs> 03(mod) Search within history of articles - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10643 +comment (10brion) [06:00:59] <MZMcBride> !e SocialProfile [06:00:59] --mwbot-- http://www.mediawiki.org/wiki/Extension:SocialProfile [06:01:18] <MZMcBride> It was written by Wikia... [06:02:04] <sherrod> oh, yeah, halopedia is using it [06:02:43] <wikibugs> 03(mod) 'Templates used on this page' list in view source should be wrapped in a div with class "templatesUsed" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15016 +easy (10brion) [06:03:33] <sherrod> ok cool, this helps a lot. Mine is mostly working like I want except the "gifting" which I haven't really focused on [06:03:48] <sherrod> XBox Gamertag IdQuetsalcoatl lol [06:05:15] <wikibugs> 03(mod) Searching for IP Addresses in page content unsuccessful - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15027 (10brion) [06:06:40] <AaronSchulz> maybe I didn't bump the style version [06:09:06] <AaronSchulz> no, not that [06:10:19] <wikibugs> 03(mod) Limiting which namespaces can be searched - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15018 +comment (10wiki) [06:10:25] <AaronSchulz> works with js off [06:23:21] <sentinel100101> is there a way to auto categorize pages or rather have a folder type categorization so that the user can navigate like World-->Asia-->Singapore-->Some City just by expanding like in explorer/nautilus [06:23:34] <sentinel100101> with simple clicks! [06:24:28] <sentinel100101> more like a TOC having all continents each of them expanding too have place in it.. each of those place supporting more places etc [06:25:25] <AaronSchulz> Tim-away: you still up? [06:25:25] <CIA-55> 03aaron * r38537 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php flaggedrevs.js): don't bail out if these fields are not there [06:41:54] <harej> how can i change the filesize limit for uploads? [06:42:30] <GreenSleeper> I think that is a PHP setting? [06:42:41] <harej> ok, which one? [06:42:44] <GreenSleeper> http://www.radinks.com/upload/config.php [06:42:59] <harej> ohh, that one [06:43:37] <harej> thank you [06:44:04] <CIA-55> 03aaron * r38538 10/trunk/extensions/FlaggedRevs/flaggedrevs.js: no need to add param twice here [06:57:26] <sentinel100101> need help in setting up rss feed :( [06:57:37] <wikibugs> 03(NEW) Flagging no longer possible if Javascript is activated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15033 04CRIT; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [06:58:19] <sentinel100101> which is better cURLRSS wikiRSS or lastRSS? [07:00:01] <wikibugs> 03(FIXED) Flagging no longer possible if Javascript is activated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15033 +comment (10JSchulz_4587) [07:03:36] <sentinel100101> help! [07:09:53] <sentinel100101> k solved it required cURLRSS! [07:17:41] <CIA-55> 03mfarag * r38539 10/branches/REL1_13/extensions/ (22 files in 22 dirs): Add author info [07:19:50] <CIA-55> 03aaron * r38540 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Streamline ajax ui [07:27:47] <wikibugs> 03(mod) Renaming users to a globally-reserved name should verify password/ email first - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14824 major->15enhancement; +comment (10vasilvv) [07:35:10] <MaxSem> since VasilievVV is in for CentralAuth right now, /me humbly asks him to look at https://bugzilla.wikimedia.org/show_bug.cgi?id=14447 [08:05:48] <CIA-55> 03aaron * r38541 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php flaggedrevs.js): some JS fixes [08:07:20] <Chriswaterguy> I want to display the Recentchanges only for certain namespaces. I can do this easily for a single namespace, but can I do it for two namespaces? (A feed would be ideal, but displaying within the wiki would also be good) [08:10:32] <CIA-55> 03jojo * r38542 10/trunk/extensions/Collection/README.txt: document MediaWiki API requirement for render server [08:16:02] <wikibugs> 03(mod) Mention titles limit for action=query in API documentation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14713 (10innocentkiller) [08:17:14] <wikibugs> 03(mod) Mention titles limit for action=query in API documentation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14713 +need-review +patch (10innocentkiller) [08:17:15] <CIA-55> 03mfarag * r38543 10/trunk/extensions/ (12 files in 12 dirs): Add author info [08:34:53] <CIA-55> 03werdna * r38544 10/trunk/extensions/AbuseFilter/SpecialAbuseFilter.php: Oops, was using the wrong message [08:39:23] <CIA-55> 03mfarag * r38545 10/trunk/extensions/ (13 files in 13 dirs): Add author info [08:47:25] <wikibugs> 03(mod) Flagging no longer possible if Javascript is activated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15033 (10JSchulz_4587) [09:04:00] <CIA-55> 03aaron * r38546 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: check rcid [09:07:09] <CIA-55> 03siebrand * r38547 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: [09:07:09] <CIA-55> Follow up on r38536: [09:07:09] <CIA-55> 'imagemap_desc_types' from ignored to optional [09:14:26] <CIA-55> 03siebrand * r38548 10/trunk/extensions/ImageMap/ImageMap.i18n.php: Follow up on r38536. Re-introduce correct parts (also see r38547). [09:24:35] <Ellywa> hi all goodmorning [09:24:40] <Dor> gm [09:24:51] <Ellywa> can anybody help with a problem? [09:24:57] <Ellywa> When I'm using a non-standard character in the wiki of gpps.nl, such as ??, it appears correct on the screen. However, the next time I am editting the same page, it is messed up conpletely. [09:24:58] <Ellywa> Do you know the cause of this? [09:25:36] <Dor> try using the ascii code of the characters [09:25:40] <Dor> like [09:25:49] <Dor>  [09:26:14] <Dor> chatzilla... [09:26:15] <Ellywa> thanks I will try that, although not so userfriendly.... [09:26:27] <Dor> many special characters require that [09:26:40] <flyingparchment> no special characters require that if the wiki is configured correctly [09:27:49] <Ellywa> what would be the parameter, do you know that? [09:28:18] <Ellywa> with another installation I had no problem at all [09:28:20] <flyingparchment> you shouldn't have to change anything. no idea what might cause that off hand [09:28:38] <flyingparchment> did you perhaps select 'experimental mysql 5 utf-8 schema' when installing? [09:29:09] <Ellywa> ... I did not do the installation myself, but I can look into the PHP [09:29:16] <Ellywa> if I know what to look for [09:32:46] <sentinel100101> hi i want to integrate a forum on the wiki such that users on the wiki are auto added into the forum.. (vice versa support not neccessary but would be good).. phpBB extension seems to do the work.. bt it works only the other way round.. users of the forum and edit the wiki.. [09:33:40] <Duesentrieb> sentinel100101: you'll have to use some extension to that forum software, then [09:34:12] <sentinel100101> yes phpbb is the extension for integratin the forum... [09:34:13] <flyingparchment> not necessarily, an authplugin can create users in an external database [09:34:59] <Duesentrieb> true. wouldn't work for logging them in, though [09:35:09] <Duesentrieb> at least not if it's not on the same domain. [09:38:18] <flyingparchment> <img> ;) [09:39:25] <wikibugs> 03(mod) Session cookie are not created for anonym user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14917 (10enrico.daga) [09:42:00] <sentinel100101> hmm so any clue as to how to make sure users are auto added to the forum? [09:42:17] <sentinel100101> coz ppl would be directed to my forum form the wiki so no point integration it vice versa [09:44:21] <Prom3th3an> Where's tim.s when you want him... [09:44:55] <wikibugs> 03(mod) Session cookie are not created for anonym user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14917 +comment (10daniel) [09:45:03] <Prom3th3an> meh, The HTTP 500 errors on wikipedia are getting annoying [09:46:21] <Duesentrieb> sentinel100101: you will probably have more luck asking people who know about the forum software. because that's where you would need to hook in. [09:46:58] <Duesentrieb> sentinel100101: as flyingparchment said, it would be possible fro a mediawiki auth plugin to create users in some other database, but it would probably be easier to do it from inside phpbb. [09:47:18] <Duesentrieb> sentinel100101: for sharing the user base, you could also look into usin openid [09:47:34] <sentinel100101> okies.. [09:47:36] <sentinel100101> let me check [09:47:48] <Duesentrieb> http://phpbbopenid.com/ [10:20:47] <siebrand> Duesentrieb: ping? [10:21:03] <Duesentrieb> hm? [10:21:09] <siebrand> Duesentrieb: Could you maybe have LanguageSelector use SkinTemplateToolboxEnd instead of MonoBookTemplateToolboxEnd? I was wondering if it was just changing the hook name. [10:22:15] <Duesentrieb> havn't looked at in in a while. i have some changes to the skins pending, i'll probably revamp LanguageSelector after merging them [10:22:28] <Duesentrieb> the skin integration of LanguageSelector is rather broken anyway [10:22:54] <siebrand> Duesentrieb: great. [10:36:16] <CIA-55> 03aaron * r38549 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: call updateLog() properly [11:09:52] <CIA-55> 03aaron * r38550 10/trunk/extensions/FlaggedRevs/flaggedrevs.js: skip some ajax useless inputs [11:23:05] <siebrand> Any reason why {{BASEPAGENAME}} would behavy differently on Windows? In [[Test/test]] it just gives me Test/test. [11:24:48] <Dantman> Does [[Test]] exist, and are subpages set for that namespace? [11:25:56] <siebrand> Dantman: [[Test]] exists. Subpages: checking. [11:26:48] <siebrand> Dantman: subpages: no (ns:1) [11:27:54] <Dantman> well that could be the issue [11:28:06] <siebrand> Dantman: correct. Thank you. [11:28:47] <Jhs> AaronSchulz, what does "pristine" mean? [11:29:13] <AaronSchulz> basically "featured" [11:29:16] <Splarka> most people think it means "clean" but it really means "untouched" [11:29:24] <AaronSchulz> heh [11:29:33] <Splarka> you can have a pristine pile of rhino feces [11:29:41] <Jhs> :D [11:29:53] <Splarka> until the zookeeper shovels it away [11:30:14] <Jhs> AaronSchulz, featured, unless there's no featured revision, where it's sighted? [11:30:23] <siebrand> having its original purity; uncorrupted or unsullied. [11:30:30] <Splarka> pristine should apply to unsighted [11:30:40] <siebrand> http://dictionary.reference.com/browse/pristine [11:34:17] <wikibugs> 03(mod) Searching for IP Addresses in page content unsuccessful - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15027 +comment (10dan_the_man) [11:37:19] <isforinsects> Do the semantic MediaWiki folks hang out here by any chance? [11:42:37] <wikibugs> 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10pbirken) [11:46:54] <alnokta> i have to enable user js? its not enabled defaultly [11:47:30] <wikibugs> 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10JSchulz_4587) [11:52:36] <CIA-55> 03raymond * r38551 10/trunk/phase3/languages/messages/MessagesEn.php: Remove second (dupe) link to Special:Contributions. Keep the message short, the summary line is limited to 254 chars. [11:59:18] <ThomasOwens> other than hacking apart User.php, is there a way to use an existing database for things like real names, email addresses, etc? I can already authenticate against this database, I just want to pull more info from it. [12:02:32] <alnokta> what this means? Reverting page: couldn't grab element "editform", aborting, this could indicate failed respons from the server [12:02:49] <alnokta> the same script works on other wikis [12:05:55] <DarkoNeko> bot problem ? [12:06:08] <DarkoNeko> this could mean the page is protected ans the script didn't detect it [12:06:13] <CIA-55> 03aaron * r38552 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: tweak transactions [12:07:35] <alnokta> DarkoNeko, no, the page isn't protected and it is a javascript (twinkle) [12:08:03] <flyingparchment> all JS should be protected [12:08:11] <flyingparchment> by virtue of being in user space or the MediaWiki namespace [12:08:36] <alnokta> its in userspace [12:08:43] <flyingparchment> then it's protected [12:08:54] <alnokta> the page (script running on it) isn't protected [12:09:05] <flyingparchment> where is this page? [12:09:22] <flyingparchment> unprotected javascript that's actually used is a serious security risk and should be removed anyway [12:09:46] <alnokta> http://ar.wikipedia.org/wiki/%D9%84%D9%8A_%D8%B3%D9%88_%D9%8A%D9%88%D9%86%D8%BA [12:10:10] <flyingparchment> that's javascript? [12:10:28] <Werdna> flyingparchment: he's USING javascript [12:10:34] <Werdna> flyingparchment: not trying to EDIT a javascript page [12:10:38] <Splarka> "the page isn't protected" and "it is a javascript (twinkle)" are referring to separate things [12:10:58] <alnokta> http://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Alnokta/twinklefluff.js [12:11:01] <flyingparchment> 'the page isn't protected and it is a javascript' = the page is not protected; also, the page is a javascript [12:11:20] <Werdna> flyingparchment: well, I knew what he meant, but only because I had context (twinkle is a tool used to revert) [12:11:29] <Splarka> "this could mean the page is protected" ans "the script didn't detect it" [12:11:32] <Splarka> was what it was in reply to [12:11:46] <Splarka> what is this, semantics mediawiki? ^_^ [12:12:00] <Splarka> anway, if you wanted to, you could load non-protected javascript, with action=raw&ctype=text/javascript with anything as the &title [12:12:49] <alnokta> the problem must be on arwiki but i don't know how to track it. because the same script works on other ar wikis [12:13:32] <Splarka> check differences in the page source, perhaps one is missing "editform"? [12:14:36] <wikibugs> 03(NEW) Not possible to flag particular article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15034 major; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [12:14:59] <alnokta> Splarka, they all have <form id="editform" name="editform" [12:15:27] <CIA-55> 03werdna * r38553 10/trunk/extensions/AbuseFilter/ (6 files in 2 dirs): [12:15:27] <CIA-55> Abuse Filter: [12:15:27] <CIA-55> * Make with -O3 instead of -g, to improve performance. [12:15:27] <CIA-55> * Add AJAX filter syntax checking. [12:15:55] <alnokta> Splarka, i am getting this error, could it be the problem? Error: mismatched tag. Expected: </br> [12:17:26] <wikibugs> 03(FIXED) Not possible to flag particular article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15034 +comment (10JSchulz_4587) [12:17:38] <CIA-55> 03werdna * r38554 10/trunk/extensions/AbuseFilter/parser_native/ (af_parser syntax_check): Add some binaries which should have been added a while ago [12:21:20] <Splarka> alnokta: hard to say, maybe see if any local scripts interfere with the edit form.. [12:41:50] <VasilVV> Werdna: do you remember someone wanted a filter builder like in iTunes? [12:43:00] <alnokta> Splarka, any way to discover which one causing trouble? [12:44:44] <Splarka> not easily, ask Azatht when he comes on maybe [12:48:14] <wikibugs> 03(mod) Shared repo APIs should include 'repo-sharedupload' and ' repo-name' messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14981 +comment (10roan.kattouw) [12:48:28] <RoanKattouw> Splarka: API trouble? Or Twinkle? [12:49:35] <alnokta> Splarka, got it, something is wrong here: http://ar.wikipedia.org/wiki/%D9%82%D8%A7%D9%84%D8%A8:%D8%B5%D9%86%D8%AF%D9%88%D9%82_%D8%A7%D9%84%D8%AA%D8%AD%D8%B1%D9%8A%D8%B1 [12:50:06] <Splarka> RK: Twinkle on ar.wp [12:52:35] <Splarka> is that transcluded to edittools? [12:54:19] <carl-m> alnokta: what does this message say? http://toolserver.org/~cbm/data/1.png [12:54:44] <carl-m> whatever happened there would certainly confuse twinkle as well [12:55:17] <alnokta> carl-m, the template is protected [12:55:48] <CIA-55> 03siebrand * r38555 10/trunk/extensions/Translate/ (6 files in 2 dirs): [12:55:48] <CIA-55> * add link to "Other translations" in toolbox [12:55:48] <CIA-55> * move user toggle code to utils file [12:56:07] <alnokta> autoconfirmed (it is transcluded in mw:edittools) [12:56:29] <carl-m> how did I get to a protected template? I was looking at my user page... sigh [12:57:23] <alnokta> :) [12:58:57] <Werdna> VasilVV: how much do you know about C++? [12:59:22] <Werdna> VasilVV: any idea why cin.peek() / cin.get() would return -1? [13:00:16] <RoanKattouw> Werdna: Isn't there a cin/cout reference out there somewhere? [13:01:07] <Werdna> yeah, but it doesn't specify why that owuld happen [13:01:20] <RoanKattouw> Weird [13:01:37] <flyingparchment> Werdna: you attached cin to a file? [13:01:37] <MotS> Hello. I'm having difficulty with ajax in mediawiki. In windows, my extension loads $wgTitle with the page calling the ajax, but under linux, it doesn't seem to work. [13:01:39] <RoanKattouw> In what kind of context is this? Maybe cin isn't even a valid stream [13:02:17] <RoanKattouw> MotS: That's very weird. MediaWiki is very much platform-indifferent [13:02:18] <MotS> I was hoping someone had this exact problem and could tell me "Oh, just flip this switch here". But it's never that easy. [13:02:32] <RoanKattouw> MotS: Do you mean $wgTitle in PHP or in Javascript? [13:02:40] <Werdna> flyingparchment: Not exactly. [13:02:41] <MotS> PHP [13:02:50] <RoanKattouw> Did you remember to do global $wgTitle; ? [13:02:54] <wikibugs> 03(mod) Shared repo APIs should include 'repo-sharedupload' and ' repo-name' messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14981 (10jhsoby) [13:02:57] <RoanKattouw> Also remember that $wgTitle is an object [13:02:58] <Werdna> flyingparchment: I'm piping into it from PHP. [13:03:06] <MotS> It's the same code on both windows and linux. [13:03:16] <flyingparchment> Werdna: so cin isn't a file? then what do you expect peek to return? [13:03:34] <Werdna> 0 [13:03:39] <MotS> Now, I'm willing to believe it's something else, like how php on linux doesn't include php-gd, while windows version does. [13:03:40] <flyingparchment> why? [13:03:45] <Werdna> I'm passing in NULL-separated records [13:03:46] <MotS> But I don't know where else to look. [13:03:59] <Werdna> and I've just done cin.get( stringbuf, '\0' ); [13:05:02] <flyingparchment> stringbuf is what? [13:05:14] <wikibugs> 03(mod) Shared repo APIs should include 'repo-sharedupload' and ' repo-name' messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14981 (10roan.kattouw) [13:05:20] <Werdna> flyingparchment: a stringbuf [13:05:26] <carl-m> Werdna: have you looked at what the value of EOF is on your system? it's probably -1 [13:05:26] <Werdna> stringbuf codesb(ios::out | ios::in); [13:05:35] <RoanKattouw> MotS: Exactly what doesn't work then? [13:05:45] <Werdna> carl-m: eofbit is not set [13:05:47] <Werdna> Status: Good 0 bad 0 eof 0 fail 1 [13:07:11] <MotS> $unimportantVariable = $wgTitle->getArticleID() [13:07:14] <Werdna> flyingparchment: what can cin.fail() == 1 mean? [13:07:32] <Werdna> (when cin.eof() == 0, cin.bad() == 0) [13:07:43] <VasilVV> Werdna: I/O error? [13:07:45] <RoanKattouw> MotS: And how does it not work? [13:07:53] <MotS> The ID is always 1 on this linux system. [13:08:07] <MotS> But it is correct on a parallel windows system. [13:08:36] <RoanKattouw> MotS: Are you using different pretty URL schemes on Windows and Linux? [13:09:09] <RoanKattouw> MotS: Does article #1 happen to be the main page? [13:09:26] <RoanKattouw> In that case, you probably need to pass the title= parameter to index.php [13:09:44] <MotS> 1 is the main page, yes. [13:09:50] <Splarka> &title=- [13:10:03] <flyingparchment> Werdna: http://www.dinkumware.com/manuals/default.aspx?manual=compleat&page=ios.html#basic_ios::fail http://www.dinkumware.com/manuals/default.aspx?manual=compleat&page=ios.html#ios_base::iostate [13:10:05] <MotS> I believe the ajax is being called with index.php?title=ArticleName [13:10:28] <RoanKattouw> MotS: Make sure that it really is. If title= is omitted, it defaults to Main_Page [13:10:33] <carl-m> Werdna: does it block to wait for input, or just return -1 immediately? [13:11:22] <MotS> I will check again. Away for a moment or seven. [13:11:46] <Werdna> flyingparchment: I read that already. I asked because I don't know why "failure to extract a valid field from a stream" could occur. [13:11:51] <Werdna> carl-m: returns right away. [13:12:05] <carl-m> your c++ library behaves differently than mine [13:14:56] <Werdna> ah,t his looks more like it [13:14:57] <Werdna> No characters were extracted because either the end was prematurely found or the insertion operation in the destination failed (this only applies to the streambuf case). [13:15:01] <Werdna> Notice that some eofbit cases will also set failbit. [13:15:28] <Werdna> what would be the difference between "prematurely finding the end" and hitting EOF [13:16:18] <carl-m> presumably - if there are no characters in the input buffer, but no explicit EOF has been issued? [13:16:48] <MotS> I'd guess if the input stream closes without an actual EOF [13:17:11] <MotS> Like how candlejack needs more r [13:19:39] <Werdna> actually, it looks like it gives that error if the next char is the delimeter [13:19:45] <Werdna> delimiter* [13:25:16] <carl-m> Werdna: what does this code output for you? http://rafb.net/p/oL0mZm32.html [13:28:32] <CIA-55> 03mfarag * r38556 10/trunk/extensions/Makesysop/SpecialMakesysop.i18n.php: typo [13:33:09] <CIA-55> 03rotem * r38557 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update for he. [13:33:34] <CIA-55> 03mfarag * r38558 10/branches/REL1_13/extensions/Makesysop/SpecialMakesysop.i18n.php: typo [13:33:44] <CIA-55> 03rotem * r38559 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Localization: Removing deleted message centralauth-editset-add. [13:45:53] <MotS> so, I have a new question. When a page uses javascript to call sajax_do_call(), how does the ajax handler know what page did the call? [13:49:15] <Duesentrieb> it doesn't. [13:50:00] <MotS> Hmm. Than I have no idea how this Does work. [13:50:35] <Duesentrieb> well, you can pass any parameters you like. including the current ??age's name, of course [13:50:49] <MotS> right, I get that much. [13:51:28] <MotS> On a windows system, I have an ajax handler reference $wgTitle->getArticleID() and work correctly. [13:51:39] <MotS> On linux, it always returns article 1, Main Page. [13:51:59] <MotS> So, now I'm going to try to find out how it succeeds on windows. [13:52:19] <VasilVV> Werdna: abuse filter triggers "Notice: Undefined variable: status in /wikis/extensions/AbuseFilter/SpecialAbuseFilter.php on line 150" if there are no filters [13:52:25] <Duesentrieb> MotS: uh... you have a windows and a linux *server*? [13:52:51] <Duesentrieb> MotS: if yes, i suspect it has something to do with rewrite rules. [13:53:10] <RoanKattouw> Duesentrieb: I said that too. Said that he should add title= explicitly [13:53:23] <Duesentrieb> RoanKattouw: for an ajax call? [13:53:29] <RoanKattouw> I don't know [13:53:36] <Duesentrieb> RoanKattouw: nnnnope :) [13:53:47] <Duesentrieb> ajax is not page based [13:53:51] <RoanKattouw> All I know is that rewrite rules (or their absence) mess up forms sometimes and cause them to return to the main page [13:53:56] <RoanKattouw> Adding title= explicitly solves those cases [13:54:10] <MotS> The link includes title=name. The javascript passes only a couple other values. On windows, it has magically worked. [13:54:14] <RoanKattouw> Duesentrieb: If AJAX is not page-based, how the hell is $wgTitle->getArticleID() gonna return anything useful? [13:54:21] <Duesentrieb> yes, but... ajax isn't supposed to be per page at all. at least that's how i always understood it. [13:54:36] <Duesentrieb> though maybe wgTitle *is* set up. i never checked [13:54:38] <RoanKattouw> Duesentrieb: Then how does the AJAX-based "watch this page" link work? [13:55:00] <Duesentrieb> RoanKattouw: maybe it passes the page's name explicitely? as a parameter? that's what i would have thought.- [13:55:10] <MotS> I will investigate. [13:55:20] <Duesentrieb> but again, maybe wgTitle *is* set up based on the title= parameters [13:55:53] <Duesentrieb> no page object should get instantiated though... hm [13:56:12] <xx_xx_> how secure is the latest version of mediawiki? [13:56:25] <MotS> on a scale of 1 to 10? [13:56:38] <MotS> Where 1 is windows 2000, and 10 is the voyager probe? [13:56:42] <RoanKattouw> xx_xx_: As secure as any other, AFAIK [13:57:25] <xx_xx_> well i just mean, how do you keep on top of it? does it require a lot of time to constantly monitor? [13:57:33] <RoanKattouw> No [13:57:39] <RoanKattouw> Unless you're worried about vandalism [13:57:43] <xx_xx_> can anything catostrophic happen? [13:57:50] <RoanKattouw> In which case you have to check [[Special:Recentchanges]] regularly [13:58:03] <RoanKattouw> Well, no, it's not like vandals can take your wiki down [13:58:08] <xx_xx_> im not worried about vandalism, as much as a catastrophy [13:58:15] <RoanKattouw> They could deface it, though [13:58:34] <RoanKattouw> But you can protect certain vital pages (such as the main page) from being edited by anyone but administrators (sysops) [13:58:42] <RoanKattouw> !protect | xx_xx_ [13:58:42] --mwbot-- xx_xx_: You can protect pages to prevent them from being edited by certain user groups. When a page is deleted its' protection is retained. Also you can protect nonexistant pages since 1.12. See <http://www.mediawiki.org/wiki/Manual:Administrators#Protections> [13:59:12] <Platonides> you just will need to worry about bots if you're not watching the wiki [13:59:33] <Platonides> set up a captcha for registering an account [13:59:37] <xx_xx_> yeah [13:59:39] <Platonides> !captcha [13:59:39] --mwbot-- For more information about CAPTCHAs and MediaWiki, see <http://www.mediawiki.org/wiki/Extension:ConfirmEdit>. [13:59:44] <xx_xx_> but even captcha can be bypassed [13:59:59] <MotS> If the computer is on, it can be bypassed. [14:00:06] <RoanKattouw> The best solution is to just go to Special:Recentchanges every day or so [14:00:18] <RoanKattouw> And check that no blatant vandalism has happened in the last 24 hours [14:00:23] <wikibugs> 04(REOPENED) Not possible to flag particular article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15034 +comment (10pbirken) [14:00:28] <CIA-55> 03siebrand * r38560 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: Check Syntax -> Check syntax [14:00:32] <RoanKattouw> If it has, you can undo it with a few clicks and block the vandal [14:00:33] <xx_xx_> is it easy to take down vandalism? [14:00:38] <xx_xx_> ok [14:00:43] <xx_xx_> great roankattouw [14:01:03] <xx_xx_> what about sql injects or XSS attacks? [14:01:07] <RoanKattouw> The good thing about MediaWiki is that it keeps a history of pretty much everything, so if you or someone else screws up, you can always put it back right [14:01:22] <xx_xx_> or null bytes [14:01:44] <RoanKattouw> We've run some scanners for SQL injection and XSS vulnerabilities and fixed what they turned up [14:01:50] <xx_xx_> is there protection against those? [14:02:00] <xx_xx_> ok cool. [14:02:11] <RoanKattouw> And Brion can sense most of those vulnerabilities with his eyes shut :P [14:02:20] <CIA-55> 03wegge * r38561 10/trunk/phase3/languages/messages/MessagesDa.php: New translation for history-search. [14:02:47] <Duesentrieb> MotS: RoanKattouw was right, wgTitle is set up in the ajax context. [14:03:14] <Duesentrieb> MotS: so, if that doesn't work for you, it's probably rewrites interfering [14:03:56] <CIA-55> 03siebrand * r38562 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: [14:03:57] <CIA-55> Abuse Filter [14:03:57] <CIA-55> optional = abusefilter-history-action [14:04:25] <Duesentrieb> xx_xx_: nothing is perfectly safe, but mediawiki is probably one of the more secure webapps, simply because of it's huge user base and potential for abuse. [14:04:41] <xx_xx_> can i customize the theme/css so that it does not look like plain vanilla envelope mediawiki? [14:04:54] <Duesentrieb> sure [14:05:00] <Duesentrieb> !skinning [14:05:00] --mwbot-- Overview: <http://www.mediawiki.org/wiki/Manual:Skins>. Skin usage: <http://www.mediawiki.org/wiki/Help:Skins>. Gallery of CSS styles: <http://meta.wikimedia.org/wiki/Gallery_of_user_styles>. Writing your own: <http://www.mediawiki.org/wiki/Manual:Skinning> [14:05:01] <RoanKattouw> Duesentrieb is right. I think that if MW has XSS or SQL injection vulnerabilities, they would've been exploited against Wikipedia already [14:05:02] <RoanKattouw> !skin [14:05:02] --mwbot-- Overview: <http://www.mediawiki.org/wiki/Manual:Skins>. Skin usage: <http://www.mediawiki.org/wiki/Help:Skins>. Gallery of CSS styles: <http://meta.wikimedia.org/wiki/Gallery_of_user_styles>. Writing your own: <http://www.mediawiki.org/wiki/Manual:Skinning> [14:05:37] <xx_xx_> roankattouw: yes correct. [14:05:44] <MotS> Duesentrieb: can you explain 'rewrites' a little more? Do you mean on the apache server, or some other extension? As far as I can tell, the url after the server address is the same. [14:06:05] <RoanKattouw> MotS: Rewrites and aliases are generally about rewriting /wiki/Foo to /w/index.php?title=Foo [14:06:18] <RoanKattouw> i.e. pretty URLs [14:06:33] <Duesentrieb> also the handling of "path info" typ??e urls, i.e. index.php/Foo, maybe be different [14:07:14] <Duesentrieb> MotS: so the question is not of the url you see in your browser is the same, but if the *effective* query path is the same. [14:07:18] <CIA-55> 03siebrand * r38563 10/trunk/extensions/SocialProfile/UserRelationship/UserRelationship.i18n.php: Consistency in capital usage [14:08:29] <MotS> I will look into it, but on both my servers the URL is http://server/index.php?title=PageName&action=myaction&myvar1=foo [14:08:39] <MotS> I wouldn't expect this to be rewritten. [14:08:59] <MotS> I will go do some more testing, and maybe come back for more help. Thanks so far. [14:09:18] <RoanKattouw> MotS: You could also do what Duesentrieb said and use a different parameter, like myTitle=foo [14:09:37] <RoanKattouw> And then do $myTitle = Title::newFromText($wgRequest->getVal('myTitle')); [14:09:47] <MotS> Alright. [14:09:57] <Duesentrieb> MotS: you have your installation in the document root? BAD idea. [14:10:12] <Duesentrieb> MotS: and if there are *any* rewrite rules, that may well be the causer of your troubles [14:10:35] <MotS> I know nothing of this. Please learn me some knowledge. [14:10:39] <RoanKattouw> !rewrite [14:10:39] --mwbot-- To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at <http://www.mediawiki.org/wiki/Manual:Short_URL>. There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [14:10:45] <Duesentrieb> !rewriteproblems [14:10:45] --mwbot-- 1) Try <http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access> as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root; 4) Use different paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. [14:10:51] <xx_xx_> so you cannot use mod rewrite with mediawiki? [14:10:56] <RoanKattouw> xx_xx_: Yes you can [14:11:02] <Duesentrieb> xx_xx_: sure you can. it's quite common [14:11:04] <RoanKattouw> But there are a few things you need to look out for [14:11:21] <RoanKattouw> Such as 2 through 6 in the message above [14:11:33] *MotS is lost, and has reading to do to catch up. [14:12:01] <Duesentrieb> MotS: does http://server/Foo get you directly to page Foo? on any of your servers? [14:12:08] <RoanKattouw> If you don't follow those instructions, your rewrite rules *could* break, and we're not even gonna *try* to help people fix that if they don't follow those guidelines [14:12:13] <MotS> On the Linux one, which isn't working. [14:12:22] <MotS> So I'll try to follow those guidelines. [14:12:48] <Werdna> VasilVV: that was already fixed in my working copy. Got a bit more to implement and then I'm committing. [14:12:49] <Duesentrieb> MotS: so that's your problem right there. rewrite is set up and interfering. [14:12:55] <Werdna> VasilVV: including a 2-fold speed improvement :) [14:13:05] <Werdna> now 1.8ms/filter, used to be ~5ms per filter [14:13:06] <VasilVV> Werdna: what will be in /tools? [14:13:08] <xx_xx_> it sounds like there is some room for error [14:13:08] <Werdna> so closer to 3-fold [14:13:17] <Werdna> VasilVV: expression tester [14:13:27] <Werdna> so, you can enter a blob of filter code, and it tells you what the output would be [14:14:04] <RoanKattouw> xx_xx_: There is. But if you follow guidelines 2 through 6 stuff can't really break very badly, and the failsafe method mentioned in guideline 1 is guaranteed to work (Wikipedia uses it) [14:14:15] <Duesentrieb> MotS: i strongly recommend to move your installation to a subdirectory, and then use rewrite rules as appropriate [14:14:23] <VasilVV> Werdna: I'll try to write JS-based filter constructor for noobs [14:14:28] <Duesentrieb> xx_xx_: there always is. it's easy to shoot yourself in the foot with rewrite rules [14:14:44] <RoanKattouw> That's true for all web apps though, not just MediaWiki [14:15:03] <Duesentrieb> RoanKattouw: Wikipedia uses aliases, not rewrites, afaik. [14:15:11] <RoanKattouw> Yes [14:15:13] <^demon> RoanKattouw: I wrote up a patch last night for Bug 14713 if you wanna take a look. [14:15:13] <Werdna> VasilVV: I've got it half-done [14:15:15] <Duesentrieb> though i never *quite* got the difference [14:15:30] <Werdna> just won't be in the next commit because it's nowhere near done, and it's 12:15am :) [14:15:56] <RoanKattouw> ^demon: You can use the right-writeapi and right-apihighlimits messages here [14:16:00] <MotS> I was incorrect. it's //server/index.php/Page [14:16:16] <VasilVV> Werdna: also, it triggers me "1048: Column 'afh_filter' cannot be null (localhost)" when I try to add filter [14:16:19] <RoanKattouw> Duesentrieb: The difference is that aliases rely on /w/index.php/Foo to work [14:16:25] <wikibugs> 03(NEW) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 15enhancement; normal; MediaWiki: Internationalization; (webboy) [14:16:43] <MotS> Just //server/page_name does not work. [14:16:55] <^demon> RoanKattouw: I thought about that, but wasn't 100% sure if that would be best. I guess wfMsgExt with the options 'escape', 'replaceafter' and 'language' => 'en' could do it? [14:17:12] <wikibugs> 03(mod) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 +comment (10roan.kattouw) [14:17:26] <RoanKattouw> ^demon: I guess. I'm not a wfMsg() expert. Just try [14:18:19] <Werdna> VasilVV: thanks. Will look at it [14:18:21] <MotS> I'll just pass the page explicitly. Thank you for your help. [14:19:21] <Duesentrieb> MotS: you will still have probelms with incorrect rewrite rules [14:19:24] <VasilVV> Werdna: usability note: when I enter incorrect filter, it should return me the form I entered, not the blank form [14:19:34] <RoanKattouw> ^demon: If you've got it working, commit right ahead. [14:19:37] <Duesentrieb> MotS: sooner or later, it'll bite you. you your setup streight. [14:19:42] <CIA-55> 03rotem * r38564 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update for he. [14:19:56] <RoanKattouw> ^demon: Oh and in hindsight, it might be better not to use the right-$right messages as they don't have those handy $1 and $2 for limit numbers [14:20:00] <Werdna> VasilVV: I thought it idd. [14:20:03] <Werdna> did* [14:20:18] <Werdna> at least, I intended it to [14:20:20] <^demon> RoanKattouw: That was also part of the reason for not using the messages, since they lack the params. [14:20:49] <^demon> I can always do it without the params for now, and if the params ever get added (would need a tweak to Special:Listgrouprights too), it can be changed then. [14:20:49] <RoanKattouw> ^demon: OK, so the real question here is: does your patch work? If yes, go ahead and commit [14:21:00] <^demon> I'll clean it up w/o the params and commit. [14:21:09] <RoanKattouw> ^demon: No need. I like the params [14:21:11] <wikibugs> 03(mod) Renaming users to a globally-reserved name should verify password/ email first - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14824 (10Simetrical+wikibugs) [14:21:25] <CIA-55> 03rotem * r38565 10/branches/REL1_13/phase3/languages/messages/ (MessagesEn.php MessagesHe.php): The change was reverted in trunk in by raymond in r38551: 'Remove second (dupe) link to Special:Contributions. Keep the message short, the summary line is limited to 254 chars.'. [14:21:27] <RoanKattouw> The fact that the 500/5000 numbers are explicitly mentioned is good [14:21:32] <^demon> So keep it with the ApiBase::$Rights array? [14:21:37] <RoanKattouw> Yeah [14:21:54] <Werdna> VasilVV: cannot reproduce first bug report on my working copy. Can reproduce second one, looking into it [14:22:01] <RoanKattouw> Maybe rename it to $mRights for consistency [14:22:39] <MotS> Duesentrieb: The Manual:Short URL link you referred to me has 3.3 look like the links I'm using. If you have the time, could you explain why it will bite me? [14:23:19] <Werdna> found second bug [14:25:32] <Duesentrieb> MotS: 3.3 is for http://server/index.php/Foo - you said you use http://server/index.php?title=Foo and http://server/Foo also works. which is it, now? [14:25:41] <Werdna> and fixed [14:25:48] <Werdna> okay, time for me to go to bed [14:26:32] <CIA-55> 03demon * r38566 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiMain.php): Display permissions specific to the API (such as writeapi and apihighlimits) on action=help. For apihighlimits, give the limits they're held to (bug 14713) [14:26:32] <Duesentrieb> MotS: actually, i don't even really understand what 3.3 is about :) [14:27:21] <Duesentrieb> MotS: having the files installed in the document root is only ok of you do not want to use any rewrites for anything, and only use "ugly" urls. then it's fine. in that case, remove the rewrite rules on the linux system. [14:28:01] <CIA-55> 03werdna * r38567 10/trunk/extensions/AbuseFilter/ (14 files in 2 dirs): [14:28:01] <CIA-55> Abuse Filter: [14:28:01] <CIA-55> * Reimplement tools, starting with a spiffy AJAX expression tester. Didn't bother implementing as non-AJAX, as it's just an extra. [14:28:01] <CIA-55> * Change exchange protocol between native parser and PHP app. Resulted in 2-3-fold performance boost. [14:28:01] <CIA-55> * Fix minor bug from last night. [14:28:16] <RoanKattouw> ^demon: Don't forget to add yourself to CREDITS if you didn't do that already [14:28:20] <Duesentrieb> MotS: but you may want to use "nice" urls at some point. then you will need to *separate* pathes for "real files" and "wiki pages". so nither of them can be in the document root. you have to use subpathes for both (one real, on virtual) [14:28:41] <^demon> RoanKattouw: There's a CREDITS specific to the API? [14:28:48] <RoanKattouw> No [14:28:55] <RoanKattouw> I'm talking about the general CREDITS [14:29:08] <^demon> Then I'm already there, hehe [14:29:09] <wikibugs> 03(FIXED) Mention titles limit for action=query in API documentation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14713 +comment (10innocentkiller) [14:29:13] <RoanKattouw> The API has its own credits section in action=help, but it only mentions four people right now [14:29:26] <RoanKattouw> Oh wait three [14:29:33] <RoanKattouw> I'll add Bryan, he deserves the credti [14:29:33] *Dantman should probably add himself to CREDITS [14:30:53] <alnokta2> http://validator.w3.org/check?uri=http%3A%2F%2Far.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D%25D8%25AF%25D9%258A%25D9%2584%26action%3Dedit&charset=(detect+automatically)&doctype=Inline&group=0 [14:31:02] <MotS> Duesentrieb: I also said I was wrong about what worked. http://server/index.php/Foo works. server/index.php?title=Foo works. [14:31:35] <Duesentrieb> and http://server/Foo does what? nothing? [14:31:37] <VasilVV> Werdna: make: *** No rule to make target `eval.o', needed by `af_expr'. Stop. [14:31:46] <MotS> page doesn't exist [14:32:00] <^demon> RoanKattouw: I was writing up a basic ApiForeignRequest class last night to handle interwiki apis. I'll throw a patch up somewhere when I make it at least _work_ [14:32:27] <RoanKattouw> ^demon: I saw you accidentally commit rd_interwiki. I noticed you'd also added rd_fragment, which I like [14:32:52] <RoanKattouw> Mind to turn that into a patch so I can implement decent redirect handling in Article.php? [14:33:15] <Duesentrieb> MotS: hm. that's... good, kind of :) but then i don't know what your problem is. you can only try to look through your access log to see which urls are queried and which redirects are happening on that level. that might get you some insight. [14:33:30] <^demon> RoanKattouw: I've got the patch on my localhost (and it's on the rd_interwiki bug). Been trying to poke brion to approve the schema changes before I commit. [14:33:43] <Duesentrieb> MotS: having your files in the document root is still not a good idea, but nmo immediae problem as long as you don't use rewrites [14:34:09] <MotS> Duesentrieb: Thank you for your help. [14:34:10] <RoanKattouw> ^demon: Right. That patch includes both fields, right? [14:34:20] <RoanKattouw> I'll poke Brion about it when he gets here [14:34:23] <^demon> Yep. [14:34:33] <RoanKattouw> I have another API-related schema change to poke him about anyway. Something ancient [14:34:41] <^demon> A maintenance script to back-fill all of the fields might be useful. [14:37:34] <CIA-55> 03rotem * r38568 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update for he. [14:37:38] <CIA-55> 03catrope * r38569 10/trunk/phase3/ (CREDITS includes/api/ApiMain.php): [14:37:39] <CIA-55> * Mention multivalue parameters in the message about apihighlimits [14:37:39] <CIA-55> * Add Bryan Tongh Minh to the API credits. Half of all image-related code is his [14:37:39] <CIA-55> * Add myself to CREDITS. Why do we sort that by first name, though? Kind of weird [14:38:01] <RoanKattouw> ^demon: Might be. But I intend to modify Article.php to back-fill each redirect when it's first viewed [14:38:19] <RoanKattouw> That should solve bug 10391 as well [14:38:35] <RoanKattouw> Oops, wrong number: bug 10931 [14:39:18] <^demon> I was about to say, that's already fixed ;-) [14:39:54] <RoanKattouw> Yeah it's marked as fixed [14:39:58] <RoanKattouw> But most of the fix was reverted [14:41:23] <CIA-55> 03ashley * r38570 10/trunk/extensions/SocialProfile/UserStats/UserStatsClass.php: fix one E_NOTICE (Undefined property: UserLevel::$level_name), change some $fnames to __METHOD__, remove unused globals and change some of the database calls to work properly when $wgDBprefix is set [14:43:23] <RoanKattouw> And I need to poke Brion about bug 14200, which is about spreading a schema change that has been done on some DB servers to all servers. It's been pending since May [14:43:37] <^demon> RoanKattouw: Granted, I was writing the ApiForeignRequest crap at like 3:30am last night. I haven't looked at it this morning, so who knows how bad it is :-P [14:44:41] <RoanKattouw> Well once you get it working and all, post it as a patch to the relevant bug (don't recall the number, though I believe it ends in 5) [14:45:15] <RoanKattouw> Ah, bug 14024 [14:48:43] <wikibugs> 03(mod) Add rd_interwiki colum to redirect table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14418 (10roan.kattouw) [14:51:07] <wikibugs> 03(mod) Add rd_interwiki colum to redirect table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14418 (10Simetrical+wikibugs) [14:57:33] <wikibugs> 14(INVALID) cannot create templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15032 +comment (10yaron57) [15:08:02] <njathan> i am trying to install mediawiki on a free hosting service.. doesn't seem to install well.. says.. "Notice: Undefined variable: wgSkipSkin in...." and many such variables. Finally it also says "Fatal error: Class name must be a valid object or a string in.........GlobalFunctions.php on line 2169"> What does this mean? [15:10:35] <njathan> something to do with permissions on the hosting service? i'd installed it successfully on the apache server on my PC [15:12:45] <CIA-55> 03mkroetzsch * r38571 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: Prevent nested getSemanticData() calls from clearing each others cache [15:16:52] <RoanKattouw> njathan: Did you install any extensions? Also please verify that you've downloaded a MediaWiki release and not an SVN snapshot [15:21:24] <njathan> this is mediawiki v1.12.0. And, before i really install extensions, dont i need to mediawiki.. in any case this is just the vanilla package.. ni extension/skins or any extra packages whatsoever [15:21:47] <RoanKattouw> OK [15:21:53] <RoanKattouw> Did you do the installation yet? [15:22:46] <RoanKattouw> If not, go to http://www.example.com/where/your/wiki/is/config/ [15:22:49] <njathan> i made the username/database etc entries and clicked the "Install Mediawiki" button.. and it throws me the error after "Generating configuration file..." [15:23:09] <RoanKattouw> That's weird [15:23:28] <RoanKattouw> Please verify that you've really uploaded all files, even those in subdirectories [15:23:48] <RoanKattouw> And please paste the full list of errors in the pastebin at http://rafb.net/paste/ [15:24:06] <njathan> you mean should i see "LocalSetting.php" in config/ ? [15:24:40] <RoanKattouw> njathan: The installer should create that file [15:25:56] <njathan> here's the pastebin: http://pastebin.com/d5daa8934 [15:28:31] <Nikerabbit> why doesn't php allow foo || return false;? [15:29:02] <RoanKattouw> Nikerabbit: Use "or" instead of || [15:29:11] <Nikerabbit> RoanKattouw: doesn't work either [15:29:20] <RoanKattouw> Constructs like connect() or die('Failed'); work [15:29:24] <Simetrical> Nikerabbit, it does, just like C. [15:29:41] <Simetrical> || and && (and or and and) are lazy-evaluated. [15:29:44] <Nikerabbit> Parse error: syntax error, unexpected T_RETURN [15:29:46] <Simetrical> And work as statements. [15:29:49] <Simetrical> Oh. [15:29:59] <RoanKattouw> njathan: Your problem is very weird, I don't know what could cause it. Simetrical, maybe you know? [15:30:07] <Simetrical> Well, "return" isn't an expression, I guess. [15:30:11] <Simetrical> So you can't use it with and/or. [15:30:11] <RoanKattouw> Installer throws a fatal error from wfCreateObject() [15:30:22] <RoanKattouw> After a lot of undefined $wg* variables in Setup.php [15:30:30] <RoanKattouw> See http://pastebin.com/d5daa8934 [15:30:40] <Simetrical> njathan, re-download it and make sure you've copied every single file to your web host. [15:30:53] <RoanKattouw> Nikerabbit: You can return foo() or false but that's not what you want probably [15:31:13] <Simetrical> Also notice this part: "16M seems too low, installation may fail!" [15:31:22] <Simetrical> Free hosts are free for a reason. You get what you pay for. [15:31:30] <CIA-55> 03siebrand * r38572 10/trunk/extensions/Translate/ (README Translate.php): Update version and README to r38555. [15:31:48] <Simetrical> But it looks like you're probably missing a file or something, if I had to guess. [15:32:28] <Nikerabbit> RoanKattouw: nope, I want readable and short code [15:32:34] <RoanKattouw> Simetrical: The fatal error he gets is not due to a lot memory limit. In that case, the error would actually say something about the memory limit [15:32:42] <Simetrical> Yes, I know, true. [15:32:44] <Nikerabbit> which I cannot write, thanks to PHP being such an asshole [15:32:52] <RoanKattouw> Nikerabbit: I get it. But if(!foo()) return false; is the best you can do [15:33:01] <njathan> oh.. okay.. that might quite be the reason.. the site had indeed given problems while uploading the files on FTP.. i'll upload them again and try [15:33:15] <Simetrical> Nikerabbit, what languages *does* that work in? [15:33:22] <Simetrical> Certainly not Python, and I doubt C. Perl? [15:33:24] <Nikerabbit> Simetrical: shell scripts! [15:33:43] <Simetrical> I'm not sure I've ever written a function with a return value in a shell script. [15:33:53] <Nikerabbit> RoanKattouw: not very nice with preg_match( with many parameters ) [15:33:57] <RoanKattouw> Nikerabbit: Alternatively, you could do try { lots_of_stuff; } catch(Exception unused) { return false; } [15:34:13] <Simetrical> . . . [15:34:18] <RoanKattouw> Simetrical: Shell scripts themselves also have return values (0 for success, higher for error) [15:34:25] <Nikerabbit> die() would be nice but bad for library code [15:34:30] <RoanKattouw> Oops that should be $unused [15:34:36] <Simetrical> RoanKattouw, that's not using "return", though. I use "exit" for that. [15:34:39] <RoanKattouw> Nikerabbit: That does work. foo() or die('Oops'); works [15:34:42] <njathan> Simetrical: i did see the big bold 16MB limit line there.. just thought i would still give it a shot.. but shouldn't that mean that a single file 16 MB large should give a prob? [15:34:49] <RoanKattouw> Simetrical: True [15:34:51] <Simetrical> njathan, no, that's not how it works. [15:35:05] <Simetrical> njathan, it's talking about a limit of 16M of usable memory for the script, not 16M of files you can upload or anything. [15:35:43] <RoanKattouw> njathan: It depends on a lot of factors. For instance, [[List of years]] from the English Wikipedia is only 55K of wikitext, but because of the huge amount of links in it it needs more like 55M to parse [15:36:22] <RoanKattouw> So 16M sucks, actually 20M does too. 50M or even 100M is much better for real-world wikis [15:36:31] <Simetrical> 20M is okay for me so far, thankfully. [15:36:35] <wikibugs> 03(NEW) WebTV users unable to view wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15036 normal; normal; MediaWiki: User interface; (wilhelm) [15:36:44] <RoanKattouw> Simetrical: Import [[enwiki:List of years]] and try to view it ;) [15:37:11] <RoanKattouw> Any sufficiently complex page will exceed the 20M limit with easse [15:37:14] <alnokta2> RoanKattouw, you use 100M ? [15:37:24] <RoanKattouw> alnokta2: Lemme check [15:37:36] <RoanKattouw> Yes, 100M [15:37:45] <RoanKattouw> I used to have 50M but [[List of years]] exceeded that [15:37:53] <alnokta2> ok thx [15:37:54] <RoanKattouw> I imported it to check some link-related stuff [15:37:55] <^demon> wtf? People still use WebTV? [15:38:16] <wikibugs> 03(mod) WebTV users unable to view wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15036 (10Simetrical+wikibugs) [15:39:15] <njathan> hmm.. thanks for the info.. [15:40:56] <wikibugs> 03(mod) WebTV users unable to view wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15036 +comment (10Simetrical+wikibugs) [15:41:53] <njathan> err... [[list of years]] is too big to be used anywhere other than wikipedia!! :p [15:43:07] <alnokta2> njathan, what about obama|bush ? [15:44:40] *njathan steps into the furnace to let alnokta2 fire it [15:44:50] <njathan> ;p [15:45:14] <alnokta2> why :) [15:46:47] <njathan> can "memory_limit" be increased afterwards? and would mediawiki use the new value? [15:47:00] <Simetrical> njathan, your host won't allow it. [15:47:15] <njathan> oh no.. host was only a temporary idea.. [15:47:18] <Simetrical> Unless they decided to set memory_limit=16M except if you ask nicely, which I doubt. [15:47:21] <RoanKattouw> njathan: Yes, you can increase the memory limit in LocalSettings.php, but that's useless if it exceeds the maximum your host has set [15:47:28] <njathan> my server's taking time to come.. thats why the host [15:47:31] <Simetrical> If you have shared hosting, you're stuck with your host's limit. [15:47:41] <Simetrical> If you have VPS or dedicated, you can set it to whatever you want. [15:49:04] <njathan> ok [15:56:26] <vinodhrajan> Hi. Is there anything wrong with this Extension http://www.mediawiki.org/wiki/Extension:WikiToWordPress . It shows a Fatal Error, when I try to install it as an Plugin in Wordpress. However it got Added Perfectly as a Mediawiki Extension. [15:56:35] <MotS> in further news... The sajax_do_call on my windows server postpends title=pagename after all the rsargs[]. My linux server doesn't. [15:56:51] <RoanKattouw> vinodhrajan: You should ask the WordPress people, not us [15:57:05] <vinodhrajan> I mean, can someone check the PHP code :) [15:57:13] <RoanKattouw> MotS: Then pass it explicitly in your rsargs[] [15:57:34] <RoanKattouw> vinodhrajan: That won't be of much use unless you know how to write WordPress extensions, which we don't [15:57:37] <MotS> yes, I'm doing so now. [15:58:02] <vinodhrajan> The same code is used as an Mediawiki Extension and Wordpress plugin. [16:00:02] <^demon> vinodhrajan: What's the fatal error? [16:00:55] <vinodhrajan> Thats the Problem. Wordpress Doesn't show it. It just says Fata Error :( [16:01:45] <vinodhrajan> I check the Error Logs too in the Server. Nothing I could find out. [16:03:39] <CIA-55> 03wegge * r38573 10/trunk/phase3/ (CREDITS languages/messages/MessagesDa.php): Removing some wikipedianisms, adding myself as translator [16:03:46] <Jack_Phoenix> hey brion :) [16:04:24] <wikibugs> 03(mod) cannot create templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15032 (10f5644002) [16:04:32] <^demon> vinodhrajan: I suggest checking with the Wordpress folks. Also, this extension was written by an anonymous user on Mediawiki about a month and a half ago, so take it with a grain of salt. [16:10:12] <vinodhrajan> I have written in the Forum + Mailed the problem to the Extension Author. Lets see. [16:12:25] <barcalex> hello, can someone tell me something about the randomice function ? i want to make a random in a specific category ... how can i manage ? thx for your answers [16:17:21] <brion> morning folks [16:17:29] <barcalex> i have found http://www.mediawiki.org/wiki/Help:Random_page but i cannot manage it [16:19:42] <Simetrical> brion, it looks like your change to CSS structure might have broken, of all things, WebTV. [16:19:49] <brion> yay webtv [16:19:55] <brion> somebody buy us a webtv so we can test it [16:27:40] <will_hough> Does Microsoft still offer WbTV ? [16:27:46] <will_hough> WebT* [16:30:57] <Simetrical> will_hough, apparently. [16:31:50] <Steve[cug]> are there any scripts out there that would allow me to delete/move/swap pages from a commandline? [16:32:36] <Steve[cug]> we are using mediawiki as our server library, and the amount of management thats needed to keep it up to date it getting arduous. [16:33:51] <alnokta2> #pywikipediabot Steve[cug] [16:34:12] <Steve[cug]> ty [16:44:26] <DanielTahar> does anyone feel like taking a look at my site and giving me feedback [16:46:25] <CIA-55> 03mkroetzsch * r38574 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: Fixed wrong checks for Title where SMW 1.2 now uses SMWWikiPageValue objects [16:57:31] <will_hough> Simetrical: WebTV is now called MSN TV [17:06:43] <wikibugs> 03(NEW) New logo for Ukrainian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15037 15enhancement; normal; Wikimedia: Site requests; (Ahonc.ua) [17:07:38] <wikibugs> 03(mod) New logo for Ukrainian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15037 +shell (10raimond.spekking) [17:12:11] <CIA-55> 03mkroetzsch * r38575 10/trunk/extensions/SemanticMediaWiki/ (INSTALL RELEASE-NOTES): Prepare SMW 1.2.1 minor release (end of this week) [17:13:39] <CIA-55> 03ashley * r38576 10/trunk/extensions/SocialProfile/UserBoard/ (UserBoard.i18n.php UserBoardClass.php): fix one E_NOTICE, clean up the SQL queries, change some $fnames to __METHOD__ and add one Finnish translation [17:16:39] <CIA-55> 03ashley * r38577 10/trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php: [17:16:39] <CIA-55> fix E_NOTICE. not really tested as it's kinda hard to test a script that's meant [17:16:39] <CIA-55> to be ran only once and has no effect on the second time. however, the E_NOTICE [17:16:39] <CIA-55> is not present so I'd assume it works. also changed some $fname calls to [17:16:39] <CIA-55> __METHOD__ [17:30:14] <CIA-55> 03ialex * r38578 10/trunk/phase3/includes/Skin.php: Use wfScript() [17:34:12] <CIA-55> 03siebrand * r38579 10/trunk/extensions/Translate/TranslateUtils.php: Normalise key in case it contains spaces instead of underscores [17:37:06] <CIA-55> 03siebrand * r38580 10/trunk/extensions/Translate/utils/ToolBox.php: Close link [17:40:28] <Chriswaterguy> I want to display the Recentchanges only for certain namespaces. I can do this easily for a single namespace, e.g. Talk pages. But is it possible to display all changes in, say, two namespaces? A feed would be nice too. [17:41:17] <RoanKattouw> brion: Ping [17:41:57] <wikibugs> 03(NEW) Missing items in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15038 04CRIT; normal; MediaWiki: History/Diffs; (vassyana) [17:42:37] <wikibugs> 03(mod) Missing items in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15038 04CRIT->normal (10roan.kattouw) [18:01:51] <RoanKattouw> Chriswaterguy: You can get such a list through the API: http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcnamespace=0|1 for the main and Talk namespaces [18:02:12] <RoanKattouw> You can't currently get it through the UI, though, and you can't get a restricted RC feed, only the full one [18:06:16] <CIA-55> 03ashley * r38581 10/trunk/extensions/SocialProfile/UserBoard/SpecialUserBoard.php: fix a bunch of E_NOTICEs [18:07:49] <CIA-55> 03ialex * r38582 10/trunk/phase3/includes/SkinTemplate.php: Add declaration of $links in SkinTemplate::buildCssLinks() [18:09:24] <ryno> Quick question: Does anyone know where the text for the wiki entries are located in the tables? [18:09:26] <Sundance_Raphael> hi [18:09:31] <flyingparchment> in the text table [18:09:51] <ryno> that is what I thought....awesome. Thanks! [18:11:40] <ryno> Do you know why that would be blank? (Other than that there is no content :-) ) I have the columns as being old_id, old_text, and old_flags. Is that correct? [18:12:41] <Krimpet> ryno, yes, that should be the table [18:13:02] <Krimpet> (it used to be called "old", hence the column names) [18:14:35] <CIA-55> 03siebrand * r38583 10/trunk/extensions/Wikidata/util/voctrain/i18n/language.i18n.php: Localisation updates [18:15:06] <ryno> Krimpet: Thanks! [18:15:28] *Jack_Phoenix grumbles [18:15:39] <Jack_Phoenix> an E_NOTICE fixed and something else broken...fun :) [18:22:25] <RoanKattouw> brion: Could you please look at my request in bug 14200 and give your red or green on the proposed schema change in bug 14418 ? [18:23:54] <CIA-55> 03mark * r38584 10/trunk/routing/twistedbgp/src/bgp.py: Implement AutomaticStart and oscillation dampening (idle hold timer) [18:24:29] <ryno> So what links the text in the text table to a wiki entry? [18:24:48] <RoanKattouw> ryno: rev_text_id refers to old_id and page_latest refers to rev_id [18:24:53] <RoanKattouw> !man Database_layout [18:24:53] --mwbot-- http://www.mediawiki.org/wiki/Manual:Database_layout [18:25:08] <ryno> thnx guys! [18:25:36] <brion> RoanKattouw: hrmm is that for an existing index which isn't fully deployed, for for something new? [18:26:02] <RoanKattouw> brion: Existing index. Not fully deployed, and I need it to be before I can commit that patch. [18:28:57] <CIA-55> 03ashley * r38585 10/trunk/extensions/SocialProfile/UserBoard/UserBoardClass.php: umm yeah, let's not break functionality when fixing E_NOTICEs :D now the E_NOTICE should be gone *and* all public/private messages should display correctly [18:29:21] <tusho> Installing MW I get connection failed on mysql [18:29:27] <tusho> why, it works perfectly for everything else [18:29:28] <tusho> :\ [18:29:56] <RoanKattouw> What's "everything else" in this case? [18:30:15] <RoanKattouw> Also check that you entered the settings (host name, port, user, pass) correctly [18:30:39] <tusho> everything else using mysql [18:30:40] <tusho> and I did [18:31:17] <ryno> I had the same issue. RoanKattouw: Also check that you entered the settings (host name, port, user, pass) correctly. make sure the format is right [18:31:52] <tusho> It's all correct. [18:31:55] <RoanKattouw> tusho: Are they also web apps? [18:32:03] <RoanKattouw> Also, what error do you get? [18:32:08] <ryno> hmm [18:32:09] <tusho> RoanKattouw: Well, no. And MW doesn't tell me [18:32:19] <tusho> ' Database host: [ localhost ] Connection failed ' [18:32:27] <tusho> aha, wait [18:32:27] <tusho> I see [18:34:15] <tusho> hmph [18:34:21] <tusho> now it insists my passwords are wrong [18:34:42] <RoanKattouw> What did you do? [18:35:02] <CIA-55> 03ialex * r38586 10/trunk/phase3/languages/messages/MessagesEn.php: Update URL in edit-externally-help, page moved to mediawiki.org [18:35:32] <tusho> RoanKattouw: php config error [18:35:34] <tusho> (wrong socket) [18:35:45] <RoanKattouw> Ah [18:41:13] <tusho> :\ [18:44:14] <CIA-55> 03raymond * r38587 10/trunk/phase3/ (4 files in 4 dirs): [18:44:14] <CIA-55> * (bug 2314) Add links to users custom CSS and JS into Special:Preferences [18:44:14] <CIA-55> ** Attn Betawiki: Message 'skinpreview' renamed to 'skin-preview': brackets outside of the hyperlink(s) now: (Preview | associated CSS | associated JS) [18:45:04] <wikibugs> 03(FIXED) Users custom CSS and JS not linked from Special:Preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2314 +comment (10raimond.spekking) [18:51:18] <sweetlilly19> hi [18:56:03] <VasilievVV> Raymond_: don't forget that some sites disallow user CSS and JS [18:56:26] <Raymond_> VasilievVV: aaargs.. good point. [19:08:20] <tusho> :\ [19:11:51] <Simetrical> That's the default, isn't it? [19:13:35] <ialex> yes [19:19:11] <wikibugs> 03(mod) default uselang problems - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14802 (10joystick.pl) [19:21:39] <wikibugs> 04(REOPENED) default uselang problems - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14802 (10joystick.pl) [19:25:10] <wikibugs> 03(mod) WebTV users unable to view wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15036 (10brion) [19:25:31] <Niluge_KiWi> Hi [19:26:35] <Niluge_KiWi> I've a question about this hook: http://www.mediawiki.org/wiki/Manual:Hooks/UserLoadFromSession [19:26:59] <CIA-55> 03siebrand * r38588 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Rename message group StalkerLog to Stalker Log [19:27:25] <Niluge_KiWi> How am I supposed to return the User modified object? [19:28:43] <MotS> Thanks again. [19:33:11] <ialex> Niluge_KiWi: $user->setId( $id ); [19:33:28] <CIA-55> 03raymond * r38589 10/trunk/phase3/ (3 files in 3 dirs): Follow up for r38587: Thanks to VasilievVV for pointing out that not every wiki allows userCSS/JS. [19:34:01] <Niluge_KiWi> I have not yet tested MW1.13, but it's a new hook replacing AutoAuthenticate [19:34:16] <Niluge_KiWi> and this old hook used refecence to the User object [19:34:31] <Niluge_KiWi> and the new one does no more... [19:35:23] <Niluge_KiWi> maybe I dont really understand how reference parameters work with objects [19:35:34] <CIA-55> 03ashley * r38590 10/trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php: E_NOTICE [19:36:33] <CIA-55> 03simetrical * r38591 10/trunk/phase3/includes/ (Linker.php Xml.php): [19:36:33] <CIA-55> Make good-faith effort to run BrokenLink hook in Linker::link(). No parser-test [19:36:33] <CIA-55> regressions, and it shouldn't change behavior unless Xml::expandAttributes() and [19:36:33] <CIA-55> Sanitizer::decodeTagAttributes() aren't inverses up to normalization. [19:36:36] <Simetrical> Niluge_KiWi, in PHP 5, objects are always passed by reference. [19:36:41] <Niluge_KiWi> okay [19:37:02] <Niluge_KiWi> Simetrical: thanks, I'll read some doc about all that... [19:37:10] <kanzure> I'm trying to see what cookie stores a user's password. I see that $wgCookiePrefix.UserName is the username and $wgCookiePrefix.UserID is the index in the mysql db table. But I need to pass the cookie over to a java applet and have the java applet POST to a script on the server. Is it the $wgCookiePrefix.token variable? [19:39:09] <Simetrical> kanzure, you shouldn't need the password . . . if you pass the same cookie, it should use the same session. I think. [19:39:42] <kanzure> Hm? sessionstart() and so on is passable via cookies ? [19:39:51] <ialex> $wgCookiePrefix.token only changes if you change user's password, iirc [19:40:10] <kanzure> 'The PHP session id is typically stored in a cookie. Your java applet will need to pass this information back to the PHP page.' [19:40:20] <kanzure> hrm [19:40:25] <kanzure> This seems to be more a #php question then. [19:40:46] <Charitwo> kanzure: ##php * [19:40:55] <kanzure> oops, excuse me :) [19:40:57] <ialex> you need either to pass the three cookies or the session cookie [19:41:18] <kanzure> ialex: UserID, UserName, Token, or what's the session cookie? [19:42:08] <ialex> kanzure: these are the three cookies, the session cookie is defined in PHP configuration or $wgSessionName [19:42:49] <ialex> but if you want to edit a page, you need the session cookie [19:43:06] <ryno> Ok guys...easy question. When you are viewing a wiki page, the elements I need from the wiki db are the title and the contents of the article. The page title is easy (page_title in the page table) but I am not sure how the article is stored. To get the entire wiki article, what do I need? Just old text or do I need to include something from recent changes? [19:43:21] <kanzure> Nah, it's really only so that the user doesn't have to register twice (once on the wiki and another for all of the other web app crap stuff that's included) [19:44:08] <ialex> if it's only to authenticate the user, use UserID, UserName, Token [19:44:20] <kanzure> okay [19:44:25] <kanzure> thanks ialex [19:53:54] <ryno> When you are viewing a wiki page, the elements I need from the wiki db are the title and the contents of the article. The page title is easy (page_title in the page table) but I am not sure how the article is stored. To get the entire wiki article, what do I need? Just old text or do I need to include something from recent changes? [19:53:55] <ryno> Anyone? [19:57:28] <ialex> you don't need recent changes [20:00:36] <ialex> select old_text from text left join revision on rev_text_id=old_id left join page on rev_id=page_latest where page_title=X and page_namespace=N [20:05:30] <proletaire> fdfds [20:17:01] <AzizLight> hi everybody [20:18:37] <AzizLight> I move my wiki from mamp to xampp(on OSX Leopard) and lamp(on ubuntu) and now everytime I try to access it I get this message on both machines: The requested URL /MyWikipedia/index.php/Main_Page was not found on this server. [20:18:59] <AzizLight> can somebody help me fix that problem please? [20:20:10] <ryno> ialex:Thanks for that!!! That is super helpful! [20:28:19] <kanzure> ialex: To check to see if the values in {$wgCookiePrefix}{UserID, UserName, Token} are legitimate, is it okay to just check database_name_user UserID and UserName and the token? Is that it? If there's no table results from that check, it's therefore an illegitimate user? [20:29:23] <wikibugs> 03(mod) Cite anchors should be numbered starting at 1 to correspond with on-screen labels - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10537 (10webboy) [20:30:02] <wikibugs> 03(mod) Cite anchors should be numbered starting at 1 to correspond with on-screen labels - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10537 +need-review +patch (10webboy) [20:31:10] <ialex> kanzure: select the row with the UserID cookie, and check that UserName and Token match user_name and user_token [20:31:26] <kanzure> ialex: awesome :) [20:31:28] <kanzure> thanks [20:35:34] <CIA-55> 03aaron * r38592 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: use getPrefixedDBKey() [20:36:16] <CIA-55> 03aaron * r38593 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: use getPrefixedDBKey() here too [20:40:43] <CIA-55> 03aaron * r38594 10/trunk/extensions/FlaggedRevs/flaggedrevs.js: more JS tweaks [20:42:08] <wikibugs> 03(mod) Not possible to flag particular article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15034 (10JSchulz_4587) [20:46:47] <Jinx> Perhaps a newbie question, but is there a simple way to create a "contents" item near the top of an article? [20:47:44] <Jinx> i've looked through the 'code' of pages with them, and it doesn't seem to actually contain anything to generate contents, which makes me think it's done automatically. if that's the case, is there a settings flag i need to enable? [20:47:56] <carl-m> Jinx: it's automatic once there are several sections [20:48:15] <carl-m> you can force it with __TOC__ but usually the automatic one works well [20:48:19] <Jinx> i have a page with 3 sections... has that not met the threshold? [20:48:29] <wikibugs> 14(DUP) Missing items in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15038 +comment (10brion) [20:48:31] <wikibugs> 03(mod) Logs about watched pages should appear in the watchlist and recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5546 +comment (10brion) [20:48:50] <Duesentrieb> Jinx: nope, 4 is the threashold. use __FORCETOC__ to force it. [20:48:55] <wikibugs> 03(mod) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 +comment (10brion) [20:49:52] <wikibugs> 03(mod) Enable enotif (email notifications) on all but the largest wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15031 (10brion) [20:50:05] <Jinx> alright... what's the difference between __TOC__ and __FORCETOC__ ? I just tried __TOC__ and it enabled the contents box [20:50:31] <Jinx> is __TOC__ only meant to imply a position within the article? [20:50:56] <Jhs> yes [20:51:00] <Simetrical> __TOC__ will force the TOC to appear at that exact point. __FORCETOC__ will force it to appear at the point it usually appears. [20:51:11] <Jinx> thank you :) [20:51:34] <Jinx> thanks to all three --no, four... of you [20:51:47] <wikibugs> 03(mod) Link trail uses PHP 5.1 only feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15035 +comment (10Simetrical+wikibugs) [20:51:55] <Jinx> what an embodiment of the wiki spirit--good community effort :) [20:53:35] <CIA-55> 03siebrand * r38595 10/trunk/phase3/maintenance/language/messages.inc: Fix syntax error [20:56:21] <Jhs> brion, you are already admin on those wikis; global groups :p [20:56:44] <wikibugs> 03(mod) New logo for Ukrainian Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15037 (10brion) [20:56:54] <brion> Jhs: nope, doesn't work [20:56:57] <Jhs> :o [20:57:19] <wikibugs> 03(FIXED) Logo for wuu.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15028 +comment (10brion) [20:59:42] <Jhs> brion, probably you were not autoconfirmed; added "upload files" to the global group now [21:00:36] <LeonWP> brion, could you create me a bugzilla component for the SelectCategory extension with default assignee leon@leonweber.de, please? [21:04:06] <TheOracle23> I have a problem: http://tinyurl.com/588d7h (problem uri) & http://pastesite.com/1674 (error messages) [21:05:24] <wikibugs> 03(mod) Searching for IP Addresses in page content unsuccessful - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15027 (10brion) [21:06:17] <TheOracle23> can anyone help? [21:06:34] <wikibugs> 14(INVALID) ?action=unprotect should default on (default) and not the current protection level - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15022 +comment (10brion) [21:07:06] <brion> LeonWP: sec [21:08:22] <brion> added [21:09:10] <LeonWP> thanks [21:10:44] <tusho> Can MW give an atom feed of recent changes? [21:10:48] <tusho> Aha. [21:10:49] <tusho> Yes. [21:13:30] <TheOracle23> hello? [21:14:34] <x100x_11> hi there peeps, i have setup a mediawiki so that signup and anon read access is disabled [21:14:51] <x100x_11> how do i ensure that all the regiserted users have the same skin [21:15:04] <MostafaDaneshvar> !ask | ???TheOracle23 [21:15:04] --mwbot-- ???TheOracle23: 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. [21:15:04] <x100x_11> and also that the error page which asks users to be signed in shows that skin [21:15:39] <x100x_11> :) MostafaDaneshvar was that for me? [21:15:51] <TheOracle23> no it was for me [21:16:10] <x100x_11> lol ok sorry [21:16:17] <Jelte> x100x_11: disable all other skins [21:17:58] <x100x_11> l sorted! cheers [21:19:14] <CIA-55> 03leon * r38596 10/trunk/extensions/SelectCategory/ (CHANGELOG README SelectCategoryFunctions.php): [21:19:14] <CIA-55> * Some inconsiderable variable renamings [21:19:14] <CIA-55> * Minor changelog cleanup [21:19:14] <CIA-55> * Readme update [21:20:17] <wikibugs> 03(mod) Add variable to show the topmost level in the tree of subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12872 (10brion) [21:25:12] <wikibugs> 03(mod) Add variable to show the topmost level in the tree of subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12872 +comment (10sam) [21:27:56] <wikibugs> 03(mod) Redirect images not subject to Bad image list rules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15008 (10brion) [21:28:07] <wikibugs> 03(mod) Redirect images not subject to Bad image list rules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15008 +easy (10brion) [21:34:47] <wikibugs> 03(mod) Add variable to show the topmost level in the tree of subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12872 (10brion) [21:41:26] <CIA-55> 03aaron * r38597 10/trunk/extensions/FlaggedRevs/ (13 files in 2 dirs): delay some message loading [21:47:33] <shaanbhagat> hello? [21:48:05] <Mike_lifeguard> shaanbhagat: Please ask your question. [21:48:15] <shaanbhagat> super [21:48:51] <shaanbhagat> well, I just installed MediaWiki on my server and I'm basically going to use it as a planner. I plan to put everything on it. I want to know how to create different sections on the front page [21:49:35] <shaanbhagat> like on wikipedia how they have "today's featured article", Did you know, On this day, etc etc [21:50:22] <shaanbhagat> instead I just want them to say "Work", "school", "Health" and social. In addition I also want to have a section that has my most updated/recently created pictures in it [21:51:14] <Mike_lifeguard> shaanbhagat: read the manual please -> http://meta.wikimedia.org/wiki/Help:Editing [21:51:47] <CIA-55> 03siebrand * r38598 10/trunk/phase3/languages/messages/ (249 files): [21:51:47] <CIA-55> Localisation updates for core messages from Betawiki (2008-08-04 22:51 CEST) [21:51:47] <CIA-55> * Also: remove some meta maintenance author artifacts for Niklas, SPQRobin, M.M.S., Siebrand, Jhs. Would otherwise have been removed on Betawiki export. [21:51:55] <Mike_lifeguard> you can create templates to transclude onto the main page; take a look at the source of English Wikipedia's main page [21:52:14] <shaanbhagat> great [21:52:17] <Mike_lifeguard> as for images, there is Special:NewImages, but I do not think this can be transcluded [21:52:17] <shaanbhagat> thanks! [21:52:30] <Mike_lifeguard> yup - if you explore the documentation you'll find everythin you need [21:56:46] <WalloO> Hi all. Is there a way to enable the search function to work with numbers with mediawiki? [21:58:23] <CIA-55> 03siebrand * r38599 10/trunk/extensions/ (104 files in 92 dirs): Localisation updates for extension messages from Betawiki (2008-08-04 22:51 CEST) [22:01:12] <Jelte> WalloO: I think the problem is that your numbers are too short (less than four digits). See http://www.mediawiki.org/wiki/Manual:FAQ#...is_a_search_for_a_short_keyword_giving_no_hits.3F [22:02:33] <wikibugs> 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10JSchulz_4587) [22:02:55] <WalloO> Jelte, maybe you are right, I was looking for 3 digit number. thank you for the link [22:03:06] <Jelte> WalloO: no problem [22:08:13] <CIA-55> 03siebrand * r38600 10/trunk/extensions/ (2 files in 2 dirs): Localisation updates for special pages for extensions from Betawiki [22:10:41] <wikibugs> 03(mod) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 (10JSchulz_4587) [22:11:08] <CIA-55> 03siebrand * r38601 10/trunk/phase3/languages/messages/ (MessagesArz.php MessagesHr.php MessagesKu_latn.php): [22:11:08] <CIA-55> Localisation updates from Betawiki [22:11:09] <CIA-55> * various: user name change, special page aliases update, forgotten translation update [22:25:12] <CIA-55> 03aaron * r38602 10/trunk/extensions/FlaggedRevs/flaggedrevs.js: use POST [22:25:38] <CIA-55> 03aaron * r38603 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: bump js [22:25:56] <wikibugs> 03(NEW) Centered thumbnails in tables pushes table border right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15039 normal; normal; MediaWiki: Page rendering; (wegge) [22:26:26] <Wegge> Oh how I hate IE [22:27:44] *Jhs too [22:28:47] <wikibugs> 03(FIXED) Not possible to flag particular article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15034 +comment (10JSchulz_4587) [22:29:35] <wikibugs> 03(mod) Bot flags automatically although previous version is unflagged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14196 (10JSchulz_4587) [22:53:41] <wikibugs> 03(ASSIGNED) Mailing list for the Japanese Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15024 (10cbass) [22:54:15] <wikibugs> 03(ASSIGNED) Mailing list for Malayalam projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15012 (10cbass) [22:55:52] <wikibugs> 03(ASSIGNED) mailing list for fawiki admin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14916 (10cbass) [22:56:49] <wikibugs> 03(ASSIGNED) Mailing list for Wikimedia Czech board - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14375 (10cbass) [23:57:07] <wikibugs> 03(mod) Add variant of MediaWiki: Pagetitle for customizing the main page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15007 (10dan_the_man)