[00:00:08] hmm [00:00:08] Status (Ransom) column [00:00:09] then we could ORDER BY hs_delta DESC and have an "up and coming articles" page :) [00:00:17] maybe somali pirates hijacked the CSS [00:00:22] werdnum: i was thinking we could just list the per-time-period count in each period rather than a total [00:00:30] so i guess just the delta :) [00:00:39] we can always get totals by adding up the previous entries [00:01:37] That's what I'm doing [00:01:47] but by 'delta' I mean "Number of hits yesterday" - "Number of hits today" [00:02:08] erm, other way around [00:02:12] White_Cat: the border comes from this rule: [00:02:16] .wikitable th, .wikitable td, .prettytable th, .prettytable td { ... } [00:02:29] since it's a td inside a .prettytable or .wikitable, it gets a border [00:02:29] So the "up and coming articles" page would be a page of articles with lots more hits yesterday than today. [00:02:29] you'd need to explicitly remove the border on that cell or set up another rule to do it [00:02:46] uh, again, reverse that. [00:02:47] werdnum: hmm ah i see, you want the derivative :D [00:02:48] *brion always knew that math shit would come in handy [00:02:48] or ... something like that [00:03:05] anyway an idea of how it's changing from yesterday? [00:03:09] do we need to store that or can we calc it fresh? [00:03:36] depends on whether we want to index it. [00:04:11] I was thinking we could CREATE the row with an hs_delta of -(Number of hits yesterday), and increment it per-hit. [00:04:20] well... we want to index it for today's stuff, but do we need to keep it around forever? [00:04:20] erm, INSERT the row. [00:04:20] true. [00:04:38] on the other hand it might be interesting to have historical "these were exciting moments" info [00:05:00] It's only an extra few hundred megabytes, in the scheme of a few hundred million rows, I think [00:05:15] what's a few hundred megs between friends [00:05:24] You don't need derivatives for discrete things like views per day, they're only useful for continuous/instantaneous stuff. Just differences are what we need here. [00:05:49] exactly, Brion :) [00:06:11] remember, of course, that we'd be consolidating old data, too. [00:06:11] oh we could get into all kinds of fun stuff about how hits are discrete while hit rates are continuous :) [00:06:17] yeah [00:06:45] *werdnum throws rocks at brion. [00:06:45] Hit rates aren't continuous unless you smooth them. [00:06:46] well technically speaking the rate varies between 0 and infinity, with no middle ground! [00:07:08] Which would be kind of stupid given that you could achieve the exact same effect by just calculating a delta. :) [00:07:20] depending on how you calculate it ;) [00:07:45] brion: also, I wanted to put in something like Google Trends. You put in a couple of articles names, and it graphs them against each other. [00:07:54] brion how can I override it? [00:08:30] *brion would calculate a smooth rate with a moving window, probably [00:08:30] but... all we need here is big chunks and count the hits within it, probably [00:08:31] werdnum: HOT [00:08:36] brion: it's real simple with the google charts API. [00:08:37] White_Cat: ugly way, put an explicit style="border:none" on each cell [00:08:38] the hardest part is "A UI which accepts more than one article name". [00:08:48] TWO ARTICLES ENTER. ONE GRAPH LEAVES [00:08:49] :O [00:09:01] I need to run up to the store for a few minutes. I haven't got a cosage for my girlfriend's formal this evening. [00:09:05] and I *will* be murdered if I come without one. [00:09:20] *brion looks at terms for google charts [00:09:30] don't get murdered dude [00:09:32] please your woman [00:09:48] http://code.google.com/apis/chart/ [00:09:54] brb :) [00:10:06] 4.2 Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Services which Google provides may change from time to time without prior notice to you. [00:10:11] If you only wanted current trends, you could do a moving average. [00:10:15] Maybe snapshot it regularly for historical purposes. [00:10:38] Then you would only need to maintain one number per article, and it would be a sliding window. [00:10:51] mmm [00:11:12] keeping track of peak rates might be interesting [00:11:12] Instead of "hey, this article is suddenly important now that midnight has passed!" [00:11:39] brion: so, is a comment editing/deletion feature in the works for CodeReview? :) [00:11:43] Skizzerz: not yet, but i bet it could be done. why, you vandalizing? ;) [00:11:50] nah [00:12:15] but features and fun begin with the same letter, so they must have the same meaning! [00:12:37] :D [00:14:22] 03(mod) Search stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16358 (10dasch_87) [00:17:39] hmm... [00:17:39] ohloh seems to have stopped updating itself [00:33:29] 18:14 < Simetrical> Instead of "hey, this article is suddenly important now that midnight has passed!" [00:33:30] hey. [00:33:30] stop making work for me :P [00:33:42] werdnum, moving average is probably less work. [00:33:42] :D [00:33:52] yeah, but I already wrote the other method :P [00:34:51] and I don't understand why a moving average would be *less* work. [00:34:51] It would seem that you would have to store which hits expire when. [00:34:52] Nope. [00:35:11] mm, we should add a mime index on image :P [00:35:15] One field per page. [00:35:15] Unless you want to keep history. [00:35:24] how, then? :/ [00:36:10] Use a weighted moving average. I think this link is what I mean, at a glance: http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average [00:36:16] Hmm, let's see, maybe I didn't think this through. [00:36:27] I guess it'd be a little more complicated. [00:37:10] The way I was thinking is that every interval, you'd average the current value with the value over that interval, probably weighted heavily toward the current value. [00:37:33] I believe that's how load averages are generally calculated in Unix -- they don't maintain a list of all scheduler events for the past 15 minutes, I'm pretty sure. [00:38:53] http://en.wikipedia.org/wiki/Moving_average#Cumulative_moving_average [00:38:53] That's what you're thinking of. [00:39:10] I don't think so. [00:39:40] That would involve throwing things out regularly. [00:39:44] I'm sure there's a reasonable algorithm that would weight things usefully and only maintain a single field per page. [00:39:52] Maybe two fields, last view and the running average. [00:40:23] and count... [00:40:41] Total count over all time? That's not needed for this, I'm ignoring it. [00:40:44] I think it might be sensible to implement first, and *then*, maybe work on some different ways of determining the averages. [00:41:41] 14(INVALID) Core Javascript (wikibits.js, ajax.js, etc.) should not be loaded from different server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16379 +comment (10brion) [00:47:43] brion: 18:13 < brion> 4.2 Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Services which Google provides [00:47:43] may change from time to time without prior notice to you. [00:47:47] Is that bad? [00:48:01] only if you're paying money [00:48:01] that seems like a normal condition for a free service [00:48:09] it merely amuses me :) [00:48:10] okie :) [00:48:10] oh, and you're only allowed 50,000 graphs per day... [00:48:29] (*different* graphs) [00:48:37] we're generally leery of shelling out to external services in JS, since that exposes users' sessions to a third party [00:49:00] 'tisn't JS. [00:49:00] it's just an image. [00:49:59] teh graphzorz [00:50:18] hmmmmm [00:50:31] well that still exposes yer ip, user-agent, etc :D [00:50:38] True. [00:50:46] we could always download it to image servers :) [00:51:58] heh [00:52:13] You think I'm joking, don't you? :) [00:52:14] i always hate that balance between reinventing the wheel and not relying on a third party which might shiv ya ;) [00:53:37] well, it *is* google.. [00:53:37] can't squids cache things/images other than your own backends? (bow chicka wow wow) [00:53:50] I mean, not that they're never going to do anything, but it's not some random dude on the intarwebs. [00:54:42] hmmmm, hypothetically [00:54:42] werdnum: right :) [00:55:10] while we think about this, I think you should watch this to clear your head: http://www.gizmodo.com.au/2008/11/dutch_use_43_million_dominoes_to_shatter_all_dominorelated_records-2.html [00:55:27] so, put the src="" pointing to a squiddy domain, and have squid fetch it directly from google if it doesn't already have it? [00:56:20] ... ask if we needed any more proof of the detrimental affects of legalized marijuana [00:56:22] *Splarka waits for 'effect/affect' nazis [00:56:29] heh, writeAPI probably suffers from the same thing [00:56:42] what, detrimental 'affects' of legalized marijuana? [00:56:58] playing with 43 million dominoes for one [00:59:03] brion: I guess I *could* learn to use one of these fancy schmancy OSS graphing frameworks. [01:00:12] :) [01:03:42] so what do you think? Google, CSS + bar graphs, or gnuplot? [01:03:43] try the google ones for now [01:03:47] okie, shall do [01:03:48] if they're awesome enough we'll either decide to use them or be encouraged to make something else awesome ;) [01:04:02] I'll send you some screenshots with my report tomorrow :) [01:06:13] *Splarka ponders saying "You know who else liked screen shots" "Godwin'd!" "No, I meant Elvis" but werdna would yell at him [01:06:34] wha? [01:06:52] (bad jokes) [01:07:51] *werdnum giggles [01:07:51] http://letmegooglethatforyou.com/ [01:18:09] 03(mod) Search stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16358 (10wladston) [01:49:27] 03(mod) HTMLFileCache's $mFileCache is initialized too late - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16388 +comment (10innocentkiller) [01:50:31] is this the place for dumb questions? [01:51:18] yep, except that one [01:51:18] !ask [01:51:18] --mwbot-- 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. [01:52:24] so, on mediawikis main_page it has the three hub boxes. is there a special formatting command for implementing that into my own? [01:57:00] ...or rather, do you make those 'hubs' with wiki-code, custom css, extensions, etc.? [02:02:38] Hello [02:02:38] hi, currently my mediawiki installation uses uris such as index.php/Main_Page, how do I change that to index.php?Main_Page ? [02:03:02] Not in my pay grade [02:05:31] pheezer: you mean the layout? that is just divs and tables, and css styles, no extensions should be needed [02:07:50] I've tried adding $wgArticlePath = "$wgScriptPath/index.php?$1"; to the LocalSettings.php but then pages don't work on the wiki [02:07:51] are they classes that you can already use in the common.css sheet? [02:10:01] pheezer: Common.css is shipped blank, but there are a few in skins/common/shared.css [02:10:22] just copy what you need from mediawiki.org's (or wherever you see a site layout you like) [02:11:18] ok, thank you [02:11:34] http://www.mediawiki.org/wiki/MediaWiki:Common.css [02:11:38] and put it in your [[MediaWiki:Common.css]] [02:13:29] pheezer: and the layout is mostly at : http://www.mediawiki.org/w/index.php?title=Template:Main_page&action=edit and some subtemplates [02:16:57] Can audio captchas be enabled? [02:17:14] if so, how hard is it? [02:21:59] does anyone know a solution to my uri problem? ( I need to change the URIs from index.php/title to index.php?title ) [02:23:15] !shorturl | rand7 [02:23:15] --mwbot-- rand7: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [02:23:46] Geoff_Plourde: https://bugzilla.wikimedia.org/show_bug.cgi?id=4845 [02:24:57] the problem is IIRC, they don't exist on wikimedia or anywhere in an open source environment (in a suitable non-trivial-to-bypass) method [02:25:00] mwbot: that will not work, I am using a java server, and can not easily make mod rewrite rules, and it will not recognise index.php/title as a php script, but instead index.php as subdirectory, so I need to change the trailing slash to ? [02:27:07] oh I was looking at another page [02:27:08] werdnum: thnx [02:27:46] ok [02:29:25] Geoff_Plourde: more reading... [02:29:25] http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20080227.txt [02:29:44] http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20080228.txt [02:29:44] look for 'audio captcha' in browser (ctrl+F) [02:31:26] so even if you can vary the input slightly by changing its frequency, you can still do a brute force attack [02:31:26] etc [02:31:48] more at: http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20080303.txt [02:32:43] it's very clever, but scary for a captcha designer because it shows you how easily known recordings can be detected even in high noise or distortion [03:05:55] does anyone know how to configure batik? [03:37:51] Woot... JavaScript and dynamic loading of systems... ^_^ gotta love it [04:35:19] Isn't the SiteNotice JavaScript on Wikimedia wikis weird? It has things like "siteNoticeValue = '...';/var" and "msgClose ; = ''if". Is this just some obscure JavaScript syntax I (and IE) don't recognize? [04:37:01] See the last three lines on < http://meta.wikimedia.org/wiki/User:Pathoschild/Sandbox >. [04:40:12] url? [04:40:44] Source code of any page on Meta: < view-source:http://meta.wikimedia.org/wiki/Main_Page >. [04:41:00] I see... [04:41:00] var cookieValue = ""; [04:41:00] var msgClose = "dismiss"; [04:41:00] ... what is view-source:? [04:41:34] var siteNoticeID = "2.12"; [04:41:35] yksinaisyyteni: It's used by Chrome; I didn't mean to paste that part. [04:41:36] view-source: is a proprietary mozilla protocol [04:41:52] hm, i don't see siteNoticeID or siteNoticeValue [04:42:01] are you logged in to meta? different for anons [04:42:03] (no cookie stuff) [04:42:20] yes, just checked on secure and it's there [04:43:26] Pathoschild: what do you get with JS disabled? if IE lets you [04:43:27] it looks fine to me also [04:43:27] there's some weird \x in the value, but i assume that's just to escape it [04:43:47] Hmm. It's odd in Chrome, but seems fine in IE and Firefox. [04:43:51] http://p.defau.lt/?Z1rLSgHR0dt76RBxwgweDg [04:44:43] hmm, there is some weird... [04:45:16] http://p.defau.lt/?3YCglkAXvc_ALKtImeupDA that is the post-js-transformy-output [04:46:13] looks okay there though [04:46:13] js-transform? [04:46:13] whatever it is called, the result of the XML after document.write ^_^ [04:46:15] (not typically shown in the view-source) [04:46:23] why are we using document.write ;( [04:46:23] It's probably another weird Chrome error, then. [04:46:48] GOOD question [04:46:48] very fucking good question [04:47:07] but innerHTML is the alternative [04:47:52] (unless someone wants to write an XML parser or include a library for it, or have all the messages designed in js) [04:48:17] it looks wrong in my chrome too [04:48:17] probably a browser bug [04:48:46] http://rafb.net/p/6BZKVG47.html [05:43:46] I am trying to create a wiki for my team. When i am creating a page, after inserting multiple lines, in the view, it showing all the lines combined. I am not seeing any line break icon in the page creation. What the extension that i need to install for getting line break ? [05:44:27] shashi, you just need to either wrap the whole thing in
, or put double line breaks for each new paragraph.
[05:46:10] 	03(mod) Recursion depth in SMWResultPrinter as configuration parameter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16299  (10for_amby)
[05:47:58] 	or you can place line breaks using 
[05:48:28] but double blank lines inbetween paragraphs normally does it [05:48:44] Yes,
solved my problem. Thank you. [06:20:49] 03(mod) Change public domain URL to something other than Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16293 (10nathanlarson3141) [08:06:59] I am trying to upload a Logo in the Main Page. The size of my file is 133*133. I have specified the picture name in LocalSettings.php file. The picture is file is in same directory as LocalSettings.php . After that, if i access the Main page, the page is blank. It is not displaying anything on the browser. But if i remove the $wgLogo line, then all is OK. What i am missing ? [08:07:16] shashi_: you added a syntax error to localsettings [08:07:18] paste the exact line you added [08:07:44] $wgLogo = "hp-logo-black-april08_33.jpg" [08:08:27] <_wooz> lo [08:08:27] specify a full path (starting with '/' or a protocol) and append a semicolon to the line -> ; [08:10:44] Ok, Thanks. i added ";" , Now the main page is displayed on the browser. But the picture is not displayed. [08:11:52] Hello everyone [08:11:53] try $wgLogo = "/hp-logo-black-april08_33.jpg" [08:13:10] I have download the wikipedia dump of 15GB, try to extract, after extraction i can get only 33GB of extracted file and after that error occured. [08:13:29] Can anyone help to get complete dump [08:13:36] Oh! Good, Thank you. [08:14:10] with the semicolon [08:14:10] *Splarka snickers [08:14:18] too many coaches [08:14:19] Splarka: sometimes there are times when you just need to give it to people >.> [08:14:21] p858snake: right, but giving him the wrong info after he just got it working... (you missed the semicolon) [08:14:58] also, the website root at / might not be the right place [08:15:56] does anybody have a suggestion for the best python libraries for parsing/rendering mediawiki, wiki files? I am using mwlib now, but I didn't know if there was something else. [08:16:44] ginovation: check the hash of the compressed file to make sure its not corrupted [08:17:38] p858snake: ya i have done it.no error [08:20:19] p858snake: The downloaded tarball is .tar.7z format. So is there any problem due to archive format. is this the problem of Extraction. [08:23:28] 03(NEW) meta=userinfo&uiprop=rights returns duplicate results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16398 trivial; normal; MediaWiki: API; (matthew.britton) [08:59:51] 03(mod) meta=userinfo&uiprop=rights returns duplicate results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16398 (10public) [09:15:21] Hello [09:16:02] Has anyone ever used the new ImageBeforeProduceHTML hook ? [09:27:53] Hi guys, at Commons someone is playing around with automatic translation. It works, but wont this screw up caching? Or can mediawiki handle this [09:27:54] what is automatic translation? [09:28:51] yksinaisyyteni : See for example http://commons.wikimedia.org/w/index.php?title=Template:No_permission_since&action=edit [09:29:03] typically crazy features like content depending on {{int:}} will be screwed up by caching, rather than screw up caching [09:30:42] He wants the GFDL template changed. That one is used in 1,336,375 pages..... [09:31:32] so if the last user was french, and the next english, the english user will see french, assuming the english user doesn't have [x]Disable page caching [09:31:33] parser cache is per-language, iirc [09:31:33] (last user to edit, purge, or whatever) [09:32:16] ((doesn't affect anons since &uselang typically gives them a different URI for the squids to cache)) [09:32:34] (((Eh?))) [09:32:35] ((((((parenthesiseeees)))))) [09:32:47] See for example http://commons.wikimedia.org/w/index.php?title=Template:GFDL/autotranslated&uselang=fr [09:32:57] function() [09:33:40] with &uselang=fr that is a different URL, so the (squid level anyway, dunno about backend) cache treats it differently than without the uselang [09:34:04] I'm trying to understand why ImageBeforeProduceHTML hook doesn't seem to work with my mw1.13.2 . I should be called from |makeImageLink2| but I can't figure out how parser invoke this function. With debug added in parse I can't see no call, but image are rendered, so if there's a image rendering guru it would be helpful :) [09:35:11] Splarka : Yeah, and as a logged in user? I can change my language as a logged in user and that seems to work. [09:36:26] try it (make sure cache isn't disabled in your prefs), what happens? [09:37:05] can you get the wrong message to show if you purge the page in english and change your lang to french? [09:38:09] *MZMcBride doesn't speak French. [09:38:13] mmm, last time I bugged someone about this, the only negative consequences we could work out are more abstract things... like for example... [09:38:24] {{#ifeq:{{int:Yourlang}}|English|[[Category:English]]|[[Category:French]]}} [09:38:32] which category will the page appear in? depends on who last purged/edited it [09:38:33] and other fun stuff [09:39:58] http://commons.wikimedia.org/wiki/Template:No_permission_since works for en & fr (but not nl, but that's probably something else) [09:42:33] anyway, per your question "It works, but wont this screw up caching?" it won't anymore than translation of the UI does [09:43:31] It sure makes it easier for the users. [09:44:32] but it will screw things up in secondary ways [09:45:24] Splarka : Any idea how to get around this hack http://commons.wikimedia.org/wiki/Special:PrefixIndex/MediaWiki:Lang/ ? [09:46:05] yah, Stephen Colbert has the right idea [09:46:05] "SPEAK ENGLISH" [09:46:20] you can't translate everything [09:47:29] A lot of users don't speak English. [09:47:56] hmm [09:47:56] well you could probably stick it into MW namespace [09:49:23] No i have to create a subpage at http://commons.wikimedia.org/wiki/Special:PrefixIndex/MediaWiki:Lang/ for every language [09:49:29] *now [09:49:38] god, imagine translating everything... italian html! [09:49:42] why? [09:50:38] you have a message you want to appear in the user's selected language, or with uselang, _if_ it has been translated, right? [09:50:42] and english if not [09:50:42] Splarka : The code for auto translation is now {{No permission since/{{#ifexist:Template:No permission since/{{int:Lang}}|{{int:Lang}}|en}}|day={{{day}}}|month={{{month}}}|year={{{year|}}}}} [09:51:05] yes/no? [09:51:33] When i set my language to the nl, the template tries if Mediawiki:Lang/nl ({{int:Lang}}) exists. [09:51:58] ... [09:51:58] Yup, that's the plan. I didnt create this btw, just debugging it :P [09:51:58] You have a message you want to appear in the user's selected language, or with uselang, _if_ it has been translated, and english if not, yes? [09:51:58] okay... [09:52:48] *Splarka gets out the mw cheat book [09:52:58] Auto translation is only available in the mediawiki namespace, so this is an easy way to make use of that. [09:53:21] yes but a silly way... [09:53:47] Yep, it's a hack [09:55:14] the correct way to do this is to put the messages into the MediaWiki: namespace [09:55:23] compare: http://test.wikipedia.org/wiki/Thingy http://test.wikipedia.org/wiki/Thingy?uselang=fr http://test.wikipedia.org/wiki/Thingy?uselang=es [09:56:32] only [[MediaWiki:Thingy/es]] and [[MediaWiki:Thingy]] exist [09:56:32] this prevents overabuse of #ifexist and crap like that [09:56:36] (it also pollutes message cache, so should be used sparingly) [09:57:04] I don't think we want to put all templates in mediawiki namespace. [09:57:22] .... you're going to translate all templates into all languages? [09:58:07] Nah, only a small subset. I myself will probably translate some templates to dutch. [09:59:06] well, then you're stuck with that hack, or an extension that does it for you [09:59:34] but you really really should try to do one thing to not annoy or break anyone/anything... [09:59:51] and have nothing but plain text be changed based on the results of int: [09:59:51] certainly have no categories in the translated subpages [10:00:08] but also try not to have images, links, external links.... (interwikis are okay) [10:00:41] because their registered existence in various tables will depend on who saw the page last [10:00:50] Some user from he wikipedia started this. I'm probably going to optimize it to only have the translated text in the subpages, nothing else [10:00:50] that's good [10:01:10] Otherwise when we change the layout of an template we have to change like 20 language versions :( [10:02:30] right, but try to resist even wikilinking any of the words if possible ^_^ [10:02:48] remember, ist das fragile! [10:03:32] hrmf. i'm trying to move a wiki of mine (currently at http://libxml2.dose.se) to a web hotel instead of my own server, but when i try to visit http://foo.com/w/index.php, i get redirected to http://www.foo.com/w/index.php, which doesn't exist.. anyone know what might have gone wrong? [10:06:54] Could anyone know how images are rendered by Parser ? I'm trying to figure out why new ImageBeforeProduceHTML hook doesn't work as expected on my mw1.13.2 ... [10:07:11] what happens is i get 301 Moved Permanently response, but i can't understand why :/ [10:07:28] Splarka : Thanks for your help. Would be nice to have interface stats for Commons now ;-) [10:07:51] the files seems to have correct permissions and all, could it be something with the web hotel's Apache configuration that messes it up.. if so, what would result in a 301 like that? [10:07:51] Multichil: too bad user prefs aren't on toolserver [10:17:56] 04(REOPENED) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 +comment (10tim) [10:30:37] 03(FIXED) Draft tab does not disappear after sighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14561 +comment (10JSchulz_4587) [10:31:14] How to get wikitext dump [10:31:24] How can i download the total dump of wikipedia in wikitext format [10:33:28] okay, i solved my problem by turning off page caching and then turning it back on ($wgCachePages). [10:33:29] (for anyone with a weird 301 Moved Permanently problem after moving a wiki to another host ^^) [10:45:59] Is there any help for setting up mediawiki? I'm talking about something that would help configure 'sane' settings for permissions. And user management.... [10:53:53] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 +comment (10catlow) [10:54:19] Is there a way to control user logins? [10:54:27] manage users? make them confirm their e-mail addresses? [10:56:31] !access | quentusrex [10:56:31] --mwbot-- quentusrex: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [10:56:36] hm... the bot seems sleepy.. [10:56:52] there we go [10:58:18] Duesentrieb, I'm looking for something that will restrict reading of any page other than the home page to 'confirmed' users. [10:58:44] I want to be able to have users confirm their e-mail, then also wait for admin to confirm the users. [10:58:44] follow the links, read the pages [10:59:20] I read the pages... I'm asking is there a simple way to do this other than manually editing config files? [10:59:59] no. [10:59:59] !config [10:59:59] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [11:00:00] man is tht thing slow today [11:00:00] *Duesentrieb kicks mwbot [11:00:29] ok... [11:00:32] quentusrex: mediawiki is not made for read-restrictions. it's a wiki. [11:00:38] !cms [11:00:38] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For was to restrict access in MediaWiki, see !access. [11:01:09] :) [11:01:09] thanks... [11:03:47] 03siebrand * r43754 10/trunk/phase3/ (2 files in 2 dirs): Update 'undelete-show-file-confirm' to allow time and date to be used separately. [11:04:08] Duesentrieb, I think i'm looking for a private wiki. to organize information, rather than to publish the info. [11:04:55] mediawiki can be made to work for that, but other wiki engines are probably better suited. [11:05:06] don't try to mow your lawn with a tank. [11:05:07] :) [11:05:30] do you have an example wiki that might be more suited? [11:06:16] i don't know really.probably something lightweight with permissions and nodb requirement. depends on how many users you want to have, or if this is really a personal desktop thing, etc [11:06:35] !engines [11:06:35] --mwbot-- For a comparison of wiki software, see and [11:06:49] It's for a family website. so mysql db is available... [11:07:03] but it's designed only for the family to use. [11:08:27] as i said: mw *can* be used for that. look around and play with other alternatives. [11:08:48] *i* would use mw, because i can simply hack it to do waht i want. [11:09:06] if you don't like to edit config files, don't try to do this with mw. [11:10:08] 03siebrand * r43755 10/trunk/phase3/languages/messages/MessagesFi.php: Fix incorrect setting for namespace alias for NS_IMAGE_TALK from r43687 [11:10:08] I don't mind editing configs. I do it for everything else... It's just getting really old.... and I'm starting to be very glad for guis... They seem to save a lot of time... [11:14:11] Have you considered a free hosting service... such as Wikispaces or YourWiki ? [11:20:19] hrmf. i'm going insane; anyone had this problem http://dose.se/prob.txt ? [11:21:07] ì've tried all variants from http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access including the suggestions on the discussion page, but they all have the same symptom in one way or another :/ [11:22:14] for some reason the index.php from MediaWiki sends a 301 Permanently Moved, i can't see why.. [11:23:39] 03siebrand * r43756 10/trunk/phase3/languages/messages/MessagesFi.php: Remove accidentally added BOM [11:29:13] is DefaultSettings.php automatically created? [11:29:31] no, it's part of the software like the other php files [11:29:36] that's why you shouldn't edit it [11:32:43] quentusrex: Basically when you download mediawiki Defaultsettings.php will already be made, but you dont edit it, Instead make all changes in LocalSettings.php [11:32:45] soz, bold [11:33:48] quentusrex: Localsettings.php is made when you run the installer, after the installer you can manually set parameters as required [11:34:07] Prom_cat, I'm basically trying to figure out how to lock down the wiki [11:34:49] easy [11:34:50] I want something where users can sign up for accounts, but until confirmed they can't do anything at all. [11:34:54] $wgGroupPermissions['*']['read'] = false; [11:34:58] that works [11:34:58] that will stop anon users reading the wiki [11:35:45] and anything else? [11:35:45] you can make a right that you can add to users to allow them to read the wiki eg $wgGroupPermissions['confirmed']['read'] = false; [11:35:54] or you can install confirmaccount extension [11:35:58] $wgGroupPermissions['*']['read'] = true; [11:35:58] ^ [11:36:01] dammit [11:36:24] doyou have a link to the confirmed account extension? [11:36:24] ill get it right in a sec [11:36:35] (The extention is the better way to go) [11:38:17] http://www.mediawiki.org/wiki/Extension:ConfirmAccount [11:39:09] Now ill fix my pasting errors :P [11:41:36] You want to set $wgGroupPermissions['*']['read'] = false; [11:42:42] And tehn just follow the instructions on the extension [11:44:59] ConfirmAccount extension requires $wgEnableEmail set to true [11:44:59] but it is set to true... [11:45:10] nvm [11:45:27] Yep, thats fine [11:45:39] I put the include too high up in LocalSettings.php [11:46:21] Yeah, thats why they tend to say put it somewhere near the bottom. [11:46:54] I didn't see that part. [11:47:02] fixed it though. [11:47:24] now I boot up my laptop and see just what an unregistered visitor can see... [11:48:28] lol [11:48:28] Are you a crat? [11:48:28] it's soo locked down users can't even request an account. [11:48:28] yes [11:48:28] I know [11:48:28] I am on my desktop. [11:48:28] we're about to fix that [11:49:01] lol [11:49:01] ok also add [11:49:01] $wgGroupPermissions['bureaucrat']['requestips'] = false; [11:49:01] $wgGroupPermissions['bureaucrat']['confirmaccount'] = false; [11:49:01] $wgGroupPermissions['bureaucrat']['lookupcredentials'] = false; [11:49:01] true for all [11:49:01] not false [11:49:19] I can view it just fine on my desktop [11:49:37] but my laptop can't even request an account... [11:49:41] $wgWhitelistRead = array('Special:RequestAccount'); [11:49:41] that will fix it [11:49:44] Dont forget to add those 3 lines (true) or you wont be able to approve accounts [11:49:45] my 'super' user can. [11:49:45] ok [11:50:01] for now I'm happy with that. [11:50:01] This is a cool feature. [11:50:01] That should be setup now :) [11:50:02] thanks SOOO much Prom_cat [11:50:12] Prom_cat++ [11:50:20] Thats ok, I'm a bit clumsy but we got there in the end :P [11:50:39] that's all that matters. [11:50:58] If you need anything else we will be here :) [11:50:59] awesome. [12:02:31] quentusrex: don't forget to whitelistread Special:UserLogin else people can't login [12:05:35] Maybe that should be automatic. It's kind of silly. [12:06:34] I believe it is, but... $wgWhitelistRead = array('Special:RequestAccount'); [12:06:36] wouldn't that overwrite it? [12:07:18] and you never know, maybe people using third party authentication would want to make it inaccessable [12:08:11] Possible. [12:10:40] *Splarka tries to think of the word to finish that thought, meh, stupid vocabulary, being replaced by tetris [12:10:56] ok. this is truly bizarre. i just rm -rf'ed the entire docroot on my web host, checkout out the 1.13 branch to the directory w and pointer my browser at foo.com/w/config, and i still got a 301 Moved Permanently. wth is going on?? [12:11:05] implicit! [12:11:05] s/checkout out/checked out/ [12:11:21] so you wouldn't wanna make it an implicitly allowed page, is what I mean [12:11:21] 03siebrand * r43757 10/trunk/phase3/languages/messages/ (19 files): Localisation updates for core messages from Betawiki (2008-11-20 12:57 CET) [12:11:43] *Splarka tired apparently [12:14:54] 03siebrand * r43758 10/trunk/extensions/ (38 files in 32 dirs): Localisation updates for extension messages from Betawiki (2008-11-20 12:57 CET) [12:19:57] ah i needed config/ to be writable. what a weird way to tell me with 301 ;) [12:23:33] hi guys [12:24:45] i just installed 1.13.2 and edited the Main pages, after saving my changes, it seem like MediaWiki drops or parse some letter from the text and mixes up the layout. [12:26:03] i am not sure wht it might be...something twith the char-set? oder maybe something with parsing normal words als wiki markup?? [12:26:11] And ideas wht that might be?? [12:27:02] I am not sure..i tried to describe to google for it..but i guess i am not sure how to describe the problem exactly to find more help and info? [12:27:40] are you indenting the first line or anything? [12:30:41] Splarka, How do I enable page editing for a user group? [12:31:00] http://www.mediawiki.org/wiki/Manual:User_rights [12:31:34] Splarka, I've accidentally removed editing rights from even my superuser [12:31:37] $wgGroupPermissions[GROUP][RIGHT] = true; [12:32:09] (the name being in quotes) [12:33:40] MWeber: a confusing part of mediawiki syntax is an indented first line indicates a
, so don't indent
[12:33:40] 	Splarka, how do I confirm my e-mail address?
[12:33:58] 	go to preferences, put in an email address, click the 'confirm' link
[12:34:16] 	sleep!
[12:34:38] 	Anyone else know how to confirm my e-mail address with mediawiki? there isn't a confirm link...
[12:44:50] 	@Splarka: Well with and without indent, MediaWiki shredders all text after the first paragraph
[12:48:18] 	@Splarka: I did the headline as second level headline in Wiki-Syntax...and remote all other special syntax...but the problem of removing single letters stays alive
[12:49:50] 	It is also not always the same letter that are removed...it is more like selected round-robin
[12:55:35] 	this isn't twitter, dude
[12:55:55] 	thanks anyways
[12:56:45] 	simonrvn: what was that about?
[12:56:46] 	ECHAN
[13:03:31] 	Error Table 'parsertest_objectcache' doesn't exist when trying to run parsetests
[13:03:32] 	What am I missing?
[13:26:01] 	are there any known issues with creating articles on postgres in mediawiki trunk?
[13:31:42] 	svenk: No. If you find something, raise a bug at bugzilla.wikimedia.org
[13:34:18] 	03(mod) Can't install 1.14 with Postgres 8.3 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16256  +comment (10greg)
[13:34:46] 	G_SabinoMullane: will do
[13:34:55] 	i am not yet sure were the bug is coming from as I have some local modifications
[13:35:40] 	but my modifications shouldn't do that
[13:53:17] 	problem is still there after reverting my modifications
[13:54:36] 	Hey everyone! Todays question: How does mediawiki handle session data? I tried to write something into a session to pass it to another page but this doesn't work. The text is not displayed. example: http://pastebin.com/m2d8c4647
[13:55:37] 	I can only pass data by URL
[14:01:50] 	03aaron * r43759 10/trunk/extensions/CodeReview/Subversion.php: (bug 16390) SubversionShell should always use --non-interactive
[14:01:51] 	03(FIXED) SubversionShell should always use --non-interactive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16390  +comment (10JSchulz_4587)
[14:03:52] 	03(mod) SVN proxy error when purging diff - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15943  (10JSchulz_4587)
[14:04:58] 	03siebrand * r43760 10/trunk/extensions/Configure/Configure.settings.i18n.php: Updated a few messages. Suggestions by SPQRobin
[14:12:56] 	Mazi, try using the same session name as mediawiki
[14:14:19] 	03siebrand * r43761 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Remove two optionals
[14:15:33] 	@Platonides: Which one? Where can I get more information on mediawiki and session?
[14:16:00] 	Can't I just put my own data into a session?
[14:23:16] 	Mazi, you will need somthing like session_start('mywiki_session');
[14:23:34] 	ahh, that's a first hint. Thanks! If anyone has got additonal information please let me know.
[14:26:57] 	03aaron * r43762 10/trunk/extensions/CodeReview/CodeRevisionView.php: Fix bad XHTML
[14:29:47] 	03(FIXED) Can't add tags to revisions any more - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16381  +comment (10JSchulz_4587)
[14:36:08] 	okay, together with some _great_ support from my web hotel, i have now finally found the problem with a faulty redirect to www.foo.com/bla instead of foo.com/bla from withing MW.
[14:37:07] 	the SERVER_NAME was incorrectly set to www.foo.com instead of foo.com on their side, and MW used it to set $wgServerName.
[14:38:17] 	the test was if( isset( $_SERVER['SERVER_NAME'] ) ) { $wgServerName = $_SERVER['SERVER_NAME']; } elseif( isset( $_SERVER['HTTP_HOST'] ) ) { $wgServerName = $_SERVER['HTTP_HOST']; } .. had only the test for HTTP_HOST been before it would have worked, as HTTP_HOST was naturally correct on their server.
[14:46:43] 	03catrope * r43763 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryUserInfo.php): API: (bug 16398) meta=userinfo&uiprop=rights lists a right twice if it's granted to two groups the user is in
[14:47:35] 	03(FIXED) meta=userinfo&uiprop=rights returns duplicate results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16398  +comment (10roan.kattouw)
[15:03:13] <_JayT_>	hey all
[15:03:17] <_JayT_>	need some help with moving a wiki to a new server
[15:03:35] <_JayT_>	done all the steps but, something's not quite right....
[15:08:07] 	_JayT_, maybe if you explained it more...
[15:09:44] <_JayT_>	well, i think my problem lies in LocalSettings.php
[15:10:03] <_JayT_>	i did a myqldump on the old server
[15:10:07] <_JayT_>	and imported the tables on the new one
[15:10:28] <_JayT_>	recreated the user
[15:10:28] <_JayT_>	with perms to the wiki db
[15:10:31] <_JayT_>	then, i zipped up the wiki folder (pages, etc)
[15:10:33] <_JayT_>	and move that over to it's new home
[15:11:01] 	_JayT_: Did the URL to the wiki change?
[15:11:19] <_JayT_>	yeah, slightly
[15:11:28] 	In that case, you need to update LocalSettings.php to reflect that
[15:11:28] <_JayT_>	right....
[15:11:37] <_JayT_>	ok
[15:11:45] <_JayT_>	just wanted to make sure I was looking in the right place....
[15:11:45] 	$wgScriptPath and $wgArticlePath are likely suspects
[15:12:02] 	hi, a short question how to handle spam properly
[15:12:04] 	hanno: What do you mean with 'handle properly'?
[15:12:05] 	if there's spam on a nonexisting page, I can just delete, but what about spam on a discussion page? there is no deleting
[15:12:05] 	hanno: Revert
[15:12:15] 	Go to the history of a page, and you'll find (undo) and [rollback] links
[15:13:39] 	The former will undo a particular revision, while the latter will undo the top revision, plus any other revisions made by the same user that are also on top
[15:13:47] 	RoanKattouw - should I file a bug about r43763, or just tell you here?
[15:14:04] 	awaynomie: What's wrong with it?
[15:14:45] 	array_unique doesn't reindex the array, so it makes format=json output the rights like {0:"read",3:"edit"}
[15:14:54] 	Oh right
[15:14:54] 	I'll fix that
[15:15:02] 	thanks
[15:15:39] 	03catrope * r43764 10/trunk/phase3/includes/api/ApiQueryUserInfo.php: Fix up r43673: reindex the rights array after removing duplicates
[15:15:40] <_JayT_>	i updated $IP so that it reflects where mediawiki lives on the new server
[15:15:40] 	There you are
[15:16:08] <_JayT_>	but what's $wgScriptPath ?
[15:16:12] 	Err $wgScript maybe
[15:16:14] 	I'm not very good at telling them apart
[15:16:35] 	Anyway, there's a $wgArticlePath variable in LocalSettings that depends on the URL to your wiki, and it has some friends nearby that also need updating
[15:16:48] 	They're close to each other in that file though, so they should be easy to find
[15:17:01] <_JayT_>	for me, I can't tell what I set $wgScriptPath to?
[15:17:02] <_JayT_>	the same as $IP ?
[15:17:32] 	03rotem * r43765 10/trunk/ (2 files in 2 dirs): Localization update for he.
[15:17:47] 	$wgScriptPath should be the URL (*not* the path) where index.php lives, IIRC
[15:17:58] 	!wg ScriptPath
[15:17:58] --mwbot--	http://www.mediawiki.org/wiki/Manual:%24wgScriptPath
[15:18:11] *RoanKattouw 	eats mwbot
[15:18:12] *RoanKattouw 	kicks mwbot
[15:18:46] 	brion: Could you scap some CodeReview fixes Aaron made yesterday? Tagging revisions is impossible right now, for instance
[15:19:41] <_JayT_>	hmmm
[15:19:41] <_JayT_>	i have two local settings
[15:19:42] <_JayT_>	one in the root and one in config
[15:19:42] <_JayT_>	do they both have to match ?
[15:20:08] 	No, the one in /config is ignored
[15:20:54] <_JayT_>	that's once you copy it over, right?
[15:20:54] 	how do you link to a category without parsing the [[category]] tag? i just want it to link to the category page...
[15:21:15] 	[[:Category:MyCategory]]
[15:21:16] 	thx
[15:21:17] <_JayT_>	if I rename the one in root temporarily, will that take me back to the original config page?
[15:23:37] 	setup wizard?
[15:24:54] 	_JayT_: Yes
[15:24:59] 	But you shouldn't need to
[15:26:09] <_JayT_>	this is in the log:
[15:26:15] <_JayT_>	PHP Fatal error:  require_once() [function.require]: Failed opening required 'includes/Utf8Case.php' (include_path='.;/opt/wiki;/opt/wiki/includes;/opt/wiki/languages') in /opt/wiki/languages/LanguageUtf8.php on line 24
[15:26:36] <_JayT_>	any idea what that is?
[15:27:24] 	_JayT_: Is your wiki in /opt/wiki ?
[15:27:47] <_JayT_>	yes
[15:28:19] 	Check that the file /opt/wiki/includes/Utf8Case.php exists; it probably doesn't. In that case you need to re-upload or re-copy it
[15:28:58] <_JayT_>	it's there
[15:30:57] <_JayT_>	yeah it's there 
[15:33:26] <_JayT_>	the perms are set....755
[15:36:37] 	How can I disable password reset?
[15:37:22] 	_JayT_: Check that the capitalization matches
[15:42:17] <_JayT_>	it does
[15:42:29] <_JayT_>	it was a straight copy
[15:42:29] <_JayT_>	no changes
[15:53:46] 	I'm trying to use embedded pages. {{Template:DSC02512.akte}} works, but {{MySpace:DSC02512.akte}} does not; why?  how to fix?
[15:58:39] <_JayT_>	RoanKattouw: yeah everything looks good as far as caps goes
[15:59:04] 	fbax: Try {{:MySpace:....}} (with an added : up front)
[16:04:12] 	RoanKattouw:  Thanks, that works!  That syntax is not mentioned in help page http://meta.wikimedia.org/wiki/Help:Embed_page
[16:05:13] 	fbax: It is. MySpace: is not a namespace, so [[MySpace:Foo]] is in the main namespace
[16:05:14] 	"For the pages in the main namespace, add a colon before the page name."
[16:05:59] 	Then I don't understand namespace either; how do I create/use a new namespace?
[16:07:58] 	The embed page also says syntax is {{Namespace:Pagename}} which implies "MySpace" is a namespace in my example.
[16:08:22] 	fbax: Look at Help:Namespaces and find out that it isn't
[16:08:52] 	Also, {{foo}} is equivalent to {{Template:Foo}}, that's why your {{MySpace:Foo}} thingy didn't work
[16:22:49] 	hm. anyone know where i can set the page title format, i mean This title.. default is "$pagename - $wgSitename", but i would like the reverse, $wgSitename followed by the the page name..
[16:23:44] 	oh darn it's in the faq it seems. nevermind.
[16:26:00] 	When I do a Special:Import from an xml upload
[16:26:00] 	the page just sits there, indefinitely loading
[16:26:00] 	What does this mean?
[16:26:08] 	ehird: either you're importing a huge amount of data, or something's wrong and you should debug it
[16:26:20] 	not a huge amount. 100kb. barely anything
[16:26:30] 	and yes, I imagine something is wrong. What should I do? :)
[16:26:51] 	enable debug log? poke at it with a debugger? add some print statements and see what's going on?
[16:27:09] 	not sure how to enable the debug log :S
[16:28:24] 	set $wgDebugLogFile
[16:28:28] 	!mw debuglog
[16:28:28] --mwbot--	http://www.mediawiki.org/wiki/Special:Search?search=debuglog&go=Go
[16:28:45] *brion-breakfast 	wonders if that bot works or if he forgot how to call it
[16:28:49] 	yay
[16:28:49] 	sort of
[16:29:10] 	http://www.mediawiki.org/wiki/How_to_debug
[16:29:54] 	03(NEW) Add a new source language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16399 15enhancement; normal; MediaWiki extensions: Extensions requests; (djihane_ayeva)
[16:31:02] 	ok, it seems to be a memory usage problem
[16:31:11] 	[php is running out of memory on import]
[16:36:52] 	ehird: try upping the mem limit in php.ini.
[16:37:23] 	estan: um, won't that make it use MORE memory?
[16:37:32] 	the point is that
[16:37:32] 	ehird: memory_limit afaik.
[16:37:32] 	hm.
[16:37:33] 	my php processes are literally using tons of memory
[16:37:33] 	10% plus, constantly
[16:37:34] 	using fastcgi
[16:37:45] 	and this is causing problems, apart from just being a memory hog
[16:37:59] 	okay, when you said "running out of memory" i thought you meant it hit memory_limit.
[16:38:09] 	but yea, then something is probably wrong.
[16:41:08] 	!debuglog
[16:41:08] --mwbot--	I don't know anything about "debuglog". You might try: !errors 
[16:41:09] 	(Ignore me.)
[16:44:17] 	beh. i wonder why this is happening
[16:44:23] 	03(mod) enable new usergroups and rights for en.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16248  (10brion)
[16:49:04] 	Greetings, I am trying to install a local Wikipedia copy. Is it true that mySQL can not fully utulize the multi-cores CPUs on the server? Is there any work around this?
[16:50:56] 	Is it possible to change a username? how?
[16:50:57] 	!rename
[16:50:57] --mwbot--	I don't know anything about "rename". You might try: !deleteuser !extranamespace !renameuser 
[16:51:17] 	You are a bastard bot.
[16:51:17] 	!renameuser | fbax 
[16:51:17] --mwbot--	fbax: Renameuser provides a special page which allows authorised users to rename user accounts. See < http://www.mediawiki.org/wiki/Extension:Renameuser > for more details.
[17:10:42] 	Got it.  Is there some requirement that first letter of username must be capital letter?
[17:14:10] 	fbax: Yes.
[17:14:15] 	Though I believe it's configurable sorta.
[17:28:49] 	is there a way to get the wikicode of a page but with all templates expanded?
[17:29:39] 	ehird: I think there is a tool to extract the Wiki Text 
[17:33:05] 	hey dudes
[17:33:24] 	hey dude
[17:35:10] 	dude
[17:36:07] *lch 	just noticed the ability to use Wikimedia Commons through ForeignRepo after updating to 1.13.2... goddamn, that is cool
[17:36:22] 	I think I heard that similar plans were made for Templates, is that correct?
[17:36:39] 	that's a lot more hassle than images even
[17:37:36] 	dunno how feasible it would be to implement that the templates are cached, recursively for descending down, too
[17:40:52] 	lch: i think there' some kind of system already in there for templates, but i'm not sure how well it works
[17:40:53] 	i think it's the "scary transclusion" option ;)
[17:41:23] 	:)
[17:42:17] 	it would probably mean a lot higher load than just the images, to both ends
[17:50:07] 	During first few days of using WikiMedia; I made some mistakes.  is it possible to really delete some pages?  Templates too.
[17:53:04] 	fbax: http://www.mediawiki.org/wiki/Help:Deleting_a_page
[17:53:51] 	fbax: and the software is MediaWiki, not WikiMedia ;)
[17:58:19] 	Sorry.  Deleting_a_page refers to a Sysop page which also mentions undelete.  I'd like to REALLY delete a page with no possibility of undelete.
[17:59:17] 	!e Oversight | fbax
[17:59:17] --mwbot--	fbax: http://www.mediawiki.org/wiki/Extension:Oversight
[18:08:06] 	03ialex * r43766 10/trunk/extensions/SemanticMediaWiki/ (7 files in 5 dirs): fixed some E_STRICT
[18:11:58] 	is there already a function to check if the current page is an edit page?
[18:14:42] 	I have a user, whom whoever changes his settings, the site stalls, and whenever he visits a page, a MySQL query times out.
[18:16:16] 	Is there a right that have something specific to do with the settings?
[18:19:32] 	03ialex * r43767 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php: fixed bugzilla's URL (http -> https)
[18:31:41] 	Hi quick question is there a way to only allow logged in users to edit pages, maybe in the localsettings.php. been searching for ages but could not find anything.
[18:32:02] 	yes
[18:32:16] 	thats good news
[18:32:30] 	# Disable anonymous editing
[18:32:30] 	$wgGroupPermissions['*']['edit'] = false;
[18:32:30] 	http://www.mediawiki.org/wiki/Manual:Preventing_access
[18:32:42] 	Great, thanks.
[18:41:20] 	how do i move a wiki to a new server?
[18:41:50] 	i do have an admin-account on the old wiki and even root access on the new server
[18:41:56] 	you have to copy the database
[18:42:22] 	so i'd need root (or at least rights to dump the db)  access on the old server, too?
[18:42:34] 	you'd probably want most of the files too
[18:42:34] 	if the paths are identical on each server, then it should be relatively easy to do. just copy the database, import it into the new sql program
[18:42:37] 	yes
[18:42:43] 	or at least, the local settings
[18:42:49] 	and extensions
[18:42:55] 	how do I find all subpages of a page?
[18:43:10] 	lch, Special:PrefixIndex
[18:43:19] 	thx
[18:43:41] 	ok, gotta chat with a friend who has root-access on the old box, then. Thanks!
[19:06:09] 	03ialex * r43768 10/trunk/extensions/Configure/ (CHANGELOG Configure.css Configure.ext.php Configure.php): Added a border to all table cells
[19:13:37] 	03(NEW) Old property value not deleted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16400 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (pnelnik)
[19:52:41] 	03mkroetzsch * r43769 10/trunk/extensions/SemanticMediaWiki/ (includes/SMW_DV_Time.php languages/SMW_Language.php): various fixes in Type:Date, support incomplete dates
[19:54:47] 	03(NEW) Update request for ga.wikipedia logo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16401 trivial; normal; Wikimedia: General/Unknown; (gabriel_beecham)
[19:57:15] 	03(NEW) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 15enhancement; normal; MediaWiki: Special pages; (bdanee88)
[20:08:41] 	03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402  (10brion)
[20:10:28] 	03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402  (10bdanee88)
[20:40:20] 	03straussd * r43770 10/civicrm/trunk/sites/all/modules/exchange_rates/exchange_rates.module: Clean up code style for exchange rates module.
[20:41:38] 	03straussd * r43771 10/civicrm/trunk/sites/all/modules/exchange_rates/exchange_rates.module: Currency code is ILS, not ISL.
[20:43:17] 	Hi.  I've got a MW site running fairly well, but it locks the browser up when using Special:Upload.  The upload does not complete, and the browser, even after hitting stop, cannot access the WM site, unless the browser is closed, or apache is restarted.  MW 1.13, on debian etch w/php5 and apache2.
[20:44:32] 	THis works, (very) intermittently, so I think my basic config is right - can anyone make a suggestion to try out?
[20:47:06] 	03straussd * r43772 10/civicrm/trunk/sites/all/modules/exchange_rates/exchange_rates.module: Only load the new ILS rate if XML parsing succeeded.
[20:50:25] 	03sanbeg * r43773 10/trunk/phase3/includes/parser/Parser.php: this should prevent the parser from inserting 

tags around the second line of divs [20:52:52] 03(FIXED) Paragraph due to tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14910 +comment (10ssanbeg) [20:54:19] 03(NEW) create namespace portal: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16403 15enhancement; normal; Wikimedia: Site requests; (no_onelse) [20:56:55] hi every one [20:57:16] i will nobody can edit somthing without Complete regestration from ME [20:57:16] how can i set that [20:58:46] 03mkroetzsch * r43774 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: Exgtended support for querying date components, support for XML Schema/ISO conformant formatting [20:59:15] 03straussd * r43775 10/civicrm/trunk/sites/all/modules/exchange_rates/exchange_rates.module: Make Tomasz' code work ;-) [20:59:42] 03mkroetzsch * r43776 10/trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php: Use new API to get XML Schema conformant date instead of internal DB representation; smarter completion of end dates [21:00:24] !prevacc | S-i-A [21:00:24] --mwbot-- S-i-A: http://www.mediawiki.org/wiki/Manual:Preventing_access [21:01:39] MrZ-man: ok thanks [21:02:06] but how can i be just the Admin and usercreation just from me. [21:03:44] 03(mod) create namespace portal: - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16403 (10no_onelse) [21:06:17] 03(mod) Provide preference-based autoformatting for unlinked dates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10N/A) [21:09:20] 03mkroetzsch * r43777 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: use getFunctions for accessing date components to get defaults (variables might be FALSE if unspecified) [21:10:54] 03huji * r43778 10/trunk/phase3/languages/messages/MessagesFa.php: Localisation updates: Adding/updating Persian translations [21:18:29] 03(mod) create portal: namespace for dv.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16403 summary (10alex.emsenhuber) [21:33:09] *Splarka ponders a gadget solution to 16402 [21:56:38] 03(mod) HTMLFileCache's $mFileCache is initialized too late - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16388 (10lambert) [22:01:29] 03(mod) HTMLFileCache's $mFileCache is initialized too late - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16388 +comment (10lambert) [22:03:30] 03(mod) Activation of FlaggedRevs in French Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15346 (10bertrand.grondin) [22:05:15] 04(REOPENED) Activation of FlaggedRevs in French Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15346 (10bertrand.grondin) [22:10:11] 03mkroetzsch * r43779 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: Documentation of major features, various fixes, especially in output of BC years [22:13:51] Hello could anyone tell me, how I can get Captcha to work for createing accounts? [22:14:08] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 +comment (10roan.kattouw) [22:15:05] Sancus: http://www.mediawiki.org/wiki/Extension:ConfirmEdit#Configuration [22:15:39] Ok thanks, I'll check that out. [22:18:05] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 (10brion) [22:18:30] *brion wonders if he can make colloquy ignore when wikibugs pings him for the thing he just edited [22:19:31] 03mkroetzsch * r43780 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: documented that Julian calendar conversion is not supported yet [22:21:48] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 (10roan.kattouw) [22:22:06] 03tomasz * r43781 10/trunk/extensions/CentralNotice/SpecialNoticeText.php: Removing old unused functions [22:23:08] 03skizzerz * r43782 10/trunk/extensions/EditUser/ (5 files in 5 dirs): * fixes for EditUser extension. Now it can actually SAVE stuff again :). Added a debug mode to assist users in reporting future problems [22:26:08] yay removal of functions! [22:27:42] hmm, brion/roan: the api used to do 16402 as described, it would take multiple parameters and interweave them seamlessly, although apparently it was very spooky since you two removed that feature (especially since there was no limit on the number of names, I remember submitting a thousand at a time or so) [22:27:42] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 (10brion) [22:27:55] :D [22:28:08] We removed it because it produced very slow DB queries [22:28:08] :( [22:28:31] but, what about a filter for the recent changes table? letting you specify user name(s)? it would only go back 30 days but be useful for current wars [22:28:37] When I was young and foolish, I used to introduce such an inefficient query every now and then and get slapped by Domas, Simetrical and Brion (in that order) [22:28:53] heh, like a reverse 3-stooges slap [22:29:23] Splarka: Same problem. You want to filter by name and sort by timestamp. That's bound to be inefficient [22:30:16] 03skizzerz * r43783 10/trunk/extensions/EditUser/1.11/EditUser_body.php: * fix a fatal error too due to some missing code [22:30:17] dude, last 30 days is... a LOT of edits [22:30:38] If it uses an index on the name, it'll sort *really* slow; using an index on the timestamp is better, but that makes filtering by name slow (probably not as slow as a filesort, but still unacceptably slow) [22:30:48] how does a 'newbies' filter work? is there an index specifically for them? [22:30:48] Filesort vs. full table scan [22:31:28] I don't know. I do know that the minor/bot filters are unindexed [22:31:42] But that's not too much of a problem because minor and non-minor edits are fairly well balanced. [22:32:02] a filter for specific user rights would be great too... but that is a pipe dream... [22:32:06] So you can just sort the table by timestamp, throw out the minor ones from the top until you're left with 50 non-minor ones [22:32:40] list=recentchanges&rcrightsfilter=sysop|!bot|!steward [22:32:53] But for every edit by you there's hundreds if not thousands of edits not by you. So tens of thousands of edits would have to be processed before the DB has found 50 edits by you [22:33:03] ahh, poo [22:33:11] The way Domas would describe it is 'sparse'. [22:33:13] <^demon> brion: Did you see my cleanup to the paths in thumb caching? It should be working properly now :) [22:33:27] Yeah [22:33:27] ^demon: yay! i'll look in a sec [22:33:36] WHERE rev_deleted = 0 vs. rev_deleted = 1 is an even more extreme example [22:33:45] rev_deleted = 1 revisions are very sparse [22:34:40] been trying to think of a quick temporary gadget for 16402, all I can think of without loading each user's full contribs in javascript memory... is to do a small timeslice using ucstart and ucend, and keep query-continuing until I could fill the chosen pagination limit (50, or whatever) [22:35:05] so for example, grab last 24 hours for ucuser=Bob|Ted|Alice|Willy, then grab next 24, next 24... [22:35:39] Splarka: well i'd probably just grab the limit at a time for each, that's probably cheaper than doing extra round-trips on smaller queries [22:36:07] so if i'm going to show up to 50, i grab 50 for brion's contribs, 50 for splarka's contribs [22:36:12] brion: right, but they won't interweave in a balanced way [22:36:12] then interleave the results and discard any extras [22:36:14] who cares if they're balanced? [22:36:16] I might have to grab 100,000 edits for user A before I reach the same time index as user B for 50 [22:36:33] the requesters of the bug who want all edits shown interwoven ^_^ [22:36:36] bastards. [22:36:43] since it is for observing 'edit wars' [22:36:43] fucking 'users' and their 'requirements' [22:36:43] Splarka: if i've paged 2000 times to get there then yes [22:37:10] but if i'm paging once then i'm only doing 2 queries each [22:37:23] if i don't page at all i only do 1 query each [22:37:26] i start from a given time (either NOW or a particular time in the past) [22:37:34] mmm... [22:37:44] i grab 50 (or 250 or whatever) edits for that user from that time on back [22:37:49] then i interleave them, by time, until i hit 50 (or 250 or whatever) [22:37:54] then i'm done [22:37:54] well, it would be nice if the API let you do.. say.. "get me last 50 edits of each of these users" instead of "get me 500 edits by the last user in my list alphabetically" [22:37:56] brion, May I implement that configuration option that will skip the public IP address checking if enabled (or vice versa)? [22:38:20] Splarka: that's because it does a shitty awful query instead of doing what i'm recommending ;) [22:38:21] Splarka: It would be nice if the *database* would let me do that ;) [22:38:39] *Splarka snickers [22:38:57] brion: I got a big fat email from Erik (Zachte) [22:38:57] this is basically the only semi-efficient way to do it [22:39:05] werdnum: \o/ [22:39:06] well [22:39:14] I think their solution then is a toolserver tool [22:39:16] grab full edit history for say, up to 5 users, interweave, and show paginated [22:39:20] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 (10roan.kattouw) [22:39:22] yes! no need for toolserver though, that could be, say, integrated [22:39:37] brion, if you don't say anything, I'm going to implement it :P [22:39:37] werdnum: About what? [22:39:46] heh [22:39:55] RoanKattouw: some stats work Brion has me doing. [22:39:59] Right [22:40:16] hi there [22:40:20] Figured I'd keep up with what my fellow Dutchmen are up to [22:40:25] is it possible to change the color of the background of a page ? [22:40:44] sputnick: Of an individual page, or the entire wiki? [22:40:45] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 (10brion) [22:40:46] *chuck wishes there was some way to skip checking out i18n in an svn up [22:40:48] (either way it is possible) [22:41:13] chuck: surely it's pretty fast anyway... [22:41:40] MinuteElectron, takes a while on my compy [22:41:40] (unless you're on dial-up, of course) [22:41:40] ah [22:41:56] $svn checkout [path] -ENGLISHWASGOODENOUGHFORJESUS [22:42:05] chuck: you could write a bash script i suppose [22:42:21] chuck: lots of the i18n stuff is important when developing though [22:42:21] I'm on cable :P but i've a dearth of processor speed and memory, so I'm sure that affects it in one way or another [22:43:16] MinuteElectron: only one page [22:43:33] sputnick: each page has a (mostly) unique class on the tag [22:43:44] ^^ [22:44:01] *Splarka snipes ME's help answer! score [22:44:09] *Splarka draws a little stick figure on the side of his computer [22:47:18] Splarka: maybe I can do something like ? [22:47:45] anyway... [22:47:51] sputnick: no. what you do is go to [[MediaWiki:Monobook.css]] [22:48:26] meanwhile you find the tag in the source of the page you want to style and look for the class="" parameter, which is a space-delimited list of applicable classes [22:48:43] lets say you want to change the background color of [[Special:BlankPage]] [22:48:52] [22:48:53] brion, is $wgUsePrivateIPs an O.K. name for the setting [22:49:07] ... dear lord that is a lot of classes, anyway... each word there is a class [22:49:33] "page-Special_BlankPage" is the page identifier, and in CSS you specify a class with tag.class or just .class... so in this case: .page-Special_BlankPage [22:50:12] in [[MediaWiki:Monobook.css]] you'd add something like: body.page-Special_BlankPage {background-color:#ff00ff} [22:51:19] Splarka: no [[MediaWiki:Common.css]] ? [22:51:24] s/no/not [22:51:53] not a good idea [22:52:02] ok [22:52:02] you're messing with things outside the content area [22:52:12] which is basically the UI, which is unique to each skin [22:52:12] *FunPika looks at the sizes of a fresh svn co of 1.14, and finds it interesting the whole software is about 71.5MB, and the languages directory alone is 53.2MB of that. XD [22:52:25] chuck: prolly ok [22:52:29] Common.css should usually only contain styles for user-generated content and UI content common to all skins [22:52:50] FunPika: exclude the .svn dirs... that should help :) [22:53:26] brion: That wouldn't influence the ratio between languages/ and the total, right? [22:54:00] prolly not, but at least it wouldn't be so huge :D [22:56:39] <^demon> There's not a maintenance script for nuking unused thumbnails is there? [22:58:15] Splarka: I put "body.page-Special_BlankPage { background-color: white; color: black; } " in [[MediaWiki:Monobook.css]] and in my special white page : " (stuff) * [22:59:40] purge cache? [22:59:51] heh :D [23:00:00] :/ [23:00:15] ^demon: How would it know... [23:00:19] <^demon> If there's no entries in imagelinks? [23:00:32] <^demon> So it would only be half-good. [23:00:42] Does that include math stuff? [23:00:42] didn't help Splarka :/ [23:00:44] Or the other ways to generate thumbs? [23:01:45] sputnick: can you link? [23:01:50] nope, sorry [23:01:50] I can pastebin the code if needed [23:01:50] also, white.. is the default background color on the body tag I believe [23:01:51] try another color [23:01:51] my default color is black [23:01:51] or, do you not mean the page background, but the content background? [23:01:54] ahh [23:01:54] maybe your other styles are overriding it [23:02:06] sounds like yes Splarka [23:02:34] without .svn files, MediaWiki is as a whole 35.8MB, and languages is 26.7MB of that XD [23:02:50] that way, I may need to modify [[MediaWiki:Common.css]] maybe [23:04:41] 03(mod) ffmpeg thumbnailing of Ogg videos barfs on Ogg Skeleton metadata - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16167 (10N/A) [23:08:23] brion, would this work? [23:08:25] if ( isset( $ipchain[$i + 1] ) && !( $wgUsePrivateIPs && IP::isPublic( $ipchain[$i + 1] ) )) { [23:08:25] $ip = $ipchain[$i + 1]; [23:08:31] } [23:09:16] chuck: maybe some context would be useful :) [23:09:42] what is $ipchain? [23:09:43] chuck: i think that would mean that if you disable $wgUsePrivateIPs it will ignore all x-fowarded-for headers [23:10:43] brion, yeah, that's what it's supposed to mean [23:10:52] oh wait [23:10:52] hrm [23:10:52] i think that's not what you want :) [23:10:53] no, it's not :P [23:10:53] yeah [23:10:53] :D [23:10:54] 03(mod) Speex support in Cortado and OggHandler - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13206 (10N/A) [23:14:54] <^demon> How does ForeignDBRepo do a findBySha1? Only LocalRepo seems to have implemented it...? [23:17:01] ^demon: class ForeignDBRepo extends LocalRepo { [23:18:13] *^demon facepalms [23:19:56] 03(NEW) API should include a way to look up images by sha1 hash - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16404 15enhancement; normal; MediaWiki: API; (innocentkiller) [23:24:25] short question: what is /includes/"WebStart.php" used for? Is this a security mechanism which is always loaded when a request is sent? [23:24:39] ^demon: how about by mime type... [23:25:32] brion, allright, how about this: [23:25:33] if( $wgUsePrivateIPs || ( !$wgUsePrivateIPs && IP::isPublic( $ipchain[$i + 1 ] ) ) ) { [23:25:33] $ip = $ipchain[$i + 1]; [23:25:33] } [23:25:48] 03(mod) Build page set from image hashes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13371 +comment (10Bryan.TongMinh) [23:25:48] 14(DUP) API should include a way to look up images by sha1 hash - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16404 +comment (10Bryan.TongMinh) [23:26:48] hmm [23:27:15] how about: $wgUsePrivateIPs || IP::isPublic( $ipchain[$i + 1 ] ) [23:27:17] yeah, just realized that it was a bit redundant :P [23:27:17] :D [23:28:18] <^demon> Mazi: WebStart contains all of the setup-configuration-etc code needed to make MW run. [23:30:06] so it's just called a) once when installing OR b) once when loading a wiki page first time [23:30:08] ??? [23:30:23] *chuck waits..... [23:30:23] 03charlie * r43784 10/trunk/phase3/ (3 files in 2 dirs): Added a new configuration option ($wgUsePrivateIPs) to force MediaWiki to use forwarded Private IPs from a Proxy server [23:31:03] Mazi: when loading a wiki page [23:32:27] ahhh, thanks! this is connected to an earlier question no one could really answer: "How does mediawiki handle session data? I tried to write something into a session to pass it to another page but this doesn't work. The text is not displayed. example: http://pastebin.com/m2d8c4647" maybe you can help me with this? [23:43:53] 03demon * r43785 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Get the real canonical name for NS_IMAGE, don't assume it will be Image: forever. [23:46:05] Mazi: not sure about the rest, but I don't think you need to call session_start(), MediaWiki already does that [23:47:17] VyZnev: but whether I start the session myself or not the data isn't passed. Is there any security issue I have to take care of (therefor my question about "webstart.php")? [23:47:40] dunno, but take a look at what includes/specials/SpecialUpload.php does [23:47:53] it's the only part of MediaWiki core that my quick grep shows using sessions for anything other than authentication [23:50:17] generally, you want to be pretty careful with session data anyway. remember that the user may have multiple tabs open or may decide to go back to an earlier page at any time [23:51:02] overuse of session data leads to those "DON'T USE THE BROWSER'S BACK BUTTON" warnings you see on badly done online surveys and the like [23:53:10] hehe [23:53:43] thanks for your help, Vyznev. Security is important but in my case it's just a research environment so this has less priority. main think is that everything works "somehow" and this session problem is still eating my time :-( [23:54:02] Mazi: The issue isn't security, it's just that it's terrible design. [23:54:02] *chuck wonders what language "el" is [23:54:03] greek [23:54:03] It always take a bit longer to download for me [23:54:03] ah [23:54:12] there's probably an "it's all Greek to me" joke in there somewhere [23:54:17] werdnum: sure, but this is less important ;-) Only goal is to "somehow" set up a working prototype [23:54:38] Mike_lifeguard, thanks, those language codes are all greek to me [23:54:48] Vyznev, happy? :P [23:55:20] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 (10Wiki.Melancholie) [23:55:51] 03sanbeg * r43786 10/trunk/phase3/includes/parser/Parser.php: undo 43772; there seems to be various special behavior hacked onto

, some of which may be intentional [23:58:18] *wondering* I still think there is some kind of security mechanism which eats my session data... [23:58:21] http://lists.wikimedia.org/pipermail/wikitech-l/2008-November/040271.html <-- This is one reason HTML 5 is great. [23:59:50] Mazi: it certainly isn't security [23:59:58] what, HTML 5 doesn't require tags to be correctly nested? [23:59:58] Hmm, wait, maybe it wouldn't help here. :( http://www.w3.org/html/wg/html5/#syntax-tag-omission