[00:58:59] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10Simetrical+wikibugs) [01:02:00] 04(REOPENED) Log events occassionally unlogged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12129 +comment (10JSchulz_4587) [01:13:57] 03(NEW) Change the default index behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 15enhancement; normal; Wikimedia: Site requests; (lar) [01:21:53] 03(mod) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 +shell; summary; +comment (10Simetrical+wikibugs) [01:22:43] 03(mod) MediaWiki:Sidebar regularly falls back to an obsolete version, due to server cache effect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5092 (10Wiki.Melancholie) [01:23:31] anyone alive that knows anything about extensions? [01:25:57] !ask | Zacosham [01:25:57] --mwbot-- Zacosham: 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:28:14] heh [01:28:26] :) [01:28:29] also [01:28:31] !extensions [01:28:31] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [01:28:35] Im trying to fix Shane's Calendar Extension to work with 1.12.0 and for some reason theres some error that I cant figure out >.<; [01:28:51] what's breaking? [01:29:23] Its throwing a Fatal Error: Call to member function exsists() on a non-object [01:29:36] line #? [01:29:55] sec lemme check [01:30:02] 218 [01:30:32] also, is it Shane's normal or extended version? [01:30:41] extended [01:31:57] 03aaron * r33953 10/trunk/phase3/includes/LogPage.php: Looks like this is not over yet. Silently log failures to a 'logging' debug log [01:32:16] Zacosham: can you copy/paste the php code of the extension file that you are using onto http://rafb.net/paste ? [01:32:26] sure one second [01:33:02] http://rafb.net/p/otVnuG94.html [01:34:29] ... that code is gross [01:34:33] yes [01:34:45] If it didnt have such a great look and feel I wouldnt of used it :( [01:35:03] how about the Google calendar extension? [01:35:38] 03(mod) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 (10lar) [01:35:39] it moves editing offsite, but the look & feel is pretty nice imo [01:35:41] I havent seen that one o.o im suddent interested [01:36:10] http://www.mediawiki.org/wiki/Extension:GoogleCalendar -- not sure if that'll work w/ 1.12.0 either [01:37:51] see ya [01:38:35] ill check it out [01:38:49] I should have just never upgrade >.<; [01:39:25] Zachosham, though i have no idea in what context you just said that.. I felt the same way earlier today :) [01:39:39] ya lol [01:39:52] *Skizzerz looks forward to upgrading his mw :D [01:39:56] I can write decent php code but this extension is like scare x.x;; [01:40:14] that extension follows approx 0% of the coding conventions for mediawiki [01:40:56] Skizzerz, that's what i thought, the upgrade went great... but 2 important eextensions for my site now don't work >-: [01:41:13] Wiredtape: lemme guess... DPL and SMW? [01:41:18] it worked fine but the second I hit 1.12 something changed that messed it up lol [01:41:52] Skizzerz : nope, much much silly'r :) NiceCategoryList2 and IncludeArticle.. [01:41:57] :P [01:42:18] *Skizzerz pokes the devs who are familiar with the parser to make DPL work again >_> [01:42:21] SMW, works fine with 1.13a as far as I could check on my tests.. :) DPL of course doesn't.. [01:42:55] hmm [01:43:03] maybe I should upgrade to 1.13! [01:43:06] Skizzerz, i saw a note about DPL on the extension page, something about choosing old parser... (that could be a nice solution, having the option for extensions to work off old parser or new pp) [01:43:17] yeah... it would be [01:44:03] hmms [01:44:12] theres a way to specify what parser you use>? [01:45:14] Zacosham: no, i don't think so.. it was a hope :) [01:46:03] The most aggrevating thing is that in Nicecategorylist ext. there's a problem with the Title object and even when i solved that.. it still doesn't work :-\ [01:46:35] oh [01:46:41] what was the deal with your title object [01:46:46] that sounds like what I am having [01:47:47] I think they changed it to return false instead of an empty object when the page doesn't exist in the db after you use newFromText or something, idk [01:48:28] interesting [01:48:32] basically, for some oddball reason $title = Title::newFromText($category); (Skizzerz i think you just saved me.. :) ) escapes.. [01:48:33] hmm [01:50:02] I'll have to look into it tomorrow.. [01:52:00] the good thing about 1.12 is that now my website loads 2x faster :) [01:56:18] how would I [01:56:24] change what Wiredtape said [01:56:33] to work for the new way Title:: works [01:56:56] Zacosham : do you also use ncl? [01:57:04] no [01:59:29] Zacosham: why do you need to change Title object? [01:59:57] one of my extensions is using the old way they did title objects [02:00:52] which one? [02:02:13] Shane's calendar extension [02:02:45] ahh.. don't know that one.. but if you find what the problem was.. let me know :) [02:07:25] well [02:07:27] I sorta fixed it [02:07:34] but now it messes up my entire page lol [02:08:47] good luck [02:10:44] 03aaron * r33954 10/trunk/phase3/includes/LogPage.php: Use $log_id [02:23:38] is it possible to integrate mediawiki with kerberos? [02:31:30] het all [02:31:34] what would I use to quote some code [02:31:44] in html I believe it is etc... [02:32:03] daemon, same in wikitext. [02:32:07] Most "safe" HTML works in wikitext. [02:32:08] ah cool [02:32:19] i just read that as I said it :) [02:32:23] thank you for the help though [02:35:19] 03(mod) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 +comment (10dragons_flight) [02:35:28] Simetrical, hmm if does not correctly capture it [02:35:32] what would you suggest [02:35:40] its blocking bits of the code but not all of it [02:36:22] http://80.177.203.173/~paul/Screenshot-41.png [02:37:26] daemon, heh [02:37:37] daemon: that DaemonWorlds thing looks cool [02:37:48] daemon: nad maybe try
 ?
[02:37:58] 	*and
[02:37:59] 	
 
instead of [02:38:16] yeah [02:38:33] cool let me try that :) [02:39:10] ah that works perfectly [02:39:44] great :D [02:39:50] I wonder why did not handle it [02:40:00] because is an inline element [02:40:01] *chuck has no idea [02:40:05] and pre is a block element [02:40:21] ah [02:40:26] so I could do [02:40:40] [02:40:45] and it would work (just out of intrest) [02:40:53] no [02:44:34] is it possible to use PAM with mediawiki? [02:59:23] *Skizzerz kicks CIA-50 [02:59:23] ow [02:59:29] ok... so it's working... [02:59:42] just might be slow then [05:01:25] hi, how can I make a link to an image (not the info page) which would show the browser download dialog (make MediaWiki send the image file as application/octet-stream)? [05:03:34] application/octet-stream? why not just image/png etc with a Content-disposition: download? [05:03:50] (or whatever the case/spelling is on those) [05:03:59] I didn't know about that method [05:04:46] there is a ctype parameter but it doesn't support that... [05:04:46] well, now you do :) [05:04:54] :) [05:05:50] $allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit'); [05:06:08] you could add 'application/octet-stream' on RawPage.php but it would probably be insecure [05:06:25] I tried linking to index.php?title=Media:Filename.ext&action=raw&ctype=application/octet-stream, but it sends the image description instead of the content [05:06:40] phase3/includes/SpecialExport.php does allow content-disposition: attachment but only for xml [05:07:36] you'd probably have to write an extension to do it specifically [05:07:49] you think no one has yet? [05:08:26] not seeing one on mediawiki.org [05:09:12] hmm :/ [05:09:35] http://www.mediawiki.org/wiki/Extension:Pdf_Export [05:09:46] here is an extension that optionally uses that though [05:09:50] #http://www.mediawiki.org/wiki/Extension:Pdf_Export [05:09:51] er [05:09:59] #header(sprintf('Content-Disposition: attachment; filename="%s.pdf"', $page)); [05:10:20] all right, thanks [05:10:23] you might be able to just clone thumb.php and insert something like that into it, for a download path [05:10:45] I probably don't need this bad enough to be worth writing an extension [05:10:53] like /w/thumb.php -> /w/filedownload.php?w=Somefile.ext [05:11:42] there's a thumb.php? [05:11:51] oh, it's not in "includes" :P [05:12:09] then construct a link like [{{SERVER}}{{SCRIPTPATH}}/filedownload.php?w={{urlencode:{{PAGENAME}}}} download] [05:12:30] er f= [05:12:45] whatever ^_^ [05:13:04] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/thumb.php?view=log [05:13:23] the content type is written by wfStreamFile in includes/StreamFile.php [05:15:04] that one's simple enough though [05:15:48] hmm [05:31:38] hello [06:00:24] Hi, I got diferred here because people from #wikimedia because no one there can tell me if the monobook skin background (http://upload.wikimedia.org/wikipedia/commons/archive/9/9f/20050728185638!Wfm_headbg.jpg) is a flower or not? Us wikipedians need answers! Can anyone assist please? [06:00:48] That's a book [06:01:09] I can see the bending of the spine and the edges of the pages at the end, hee [06:01:11] Are you sure its not the mediawiki sunflower [06:01:23] Positive [06:01:37] Although I have to tilt my LCD screen to see it right away [06:02:01] When I do that, there's enough contrast for me to make it out unambiguously [06:02:06] orz [06:02:07] anyone else have an opinion on this? can we reach a consensus? [06:02:15] yeah looks like a book too O_O [06:02:26] because I have a sneaking suspicion its a flower, because the media wiki logo has a flower in it [06:02:40] more like those memo/address books [06:02:49] the dark part is the middle of the flower, and the outer part looks like the petals [06:03:23] I don't think it's a memo/address book...more like a dictionary that has the different lettered pages with different dark marks all the way down the edge of the book [06:03:24] nah its a hard-cover book definitely for sure [06:03:27] Uncyclopedia added a flower to it [06:03:29] Yeah [06:03:30] and now it looks like a vagina there [06:03:39] lolz [06:03:42] Splarka, eww :P [06:03:44] how designed the backgroun d? [06:03:48] No problem with that, ha [06:03:48] can we ask them? [06:04:00] firemonkey93: lets check, shall we [06:04:04] Oh great monobook designer, hear me! [06:04:10] how? [06:04:10] *Splarka goes to skins/common/images [06:04:37] not there, lets check /monobook [06:04:41] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/headbg.jpg?view=log [06:04:51] moved from /stylesheets, so lets check there [06:05:30] Is there a place to upload an image really quick with no fuss? [06:05:38] I autolevel'd it in Graphic Converter [06:05:42] Which makes it obviously a book [06:05:47] hmmm [06:05:52] I still think its a flower [06:05:57] where is the svn entry? [06:06:09] its a hard-book with those soft covers which can be removed [06:06:35] like those encyclopedias :P [06:06:37] *Splarka multitasking... [06:06:41] http://images.wikia.com/uncyclopedia/images/a/a4/Orchidbg3.jpg [06:06:44] there is a flower [06:06:53] Look at this [06:06:53] http://audrajohnson.com/images/mediawiki_book_header.jpg [06:07:09] Oh nifty, that does look like an orchid [06:07:22] gasp! [06:07:24] hmmm [06:07:28] But yes [06:07:30] Definitely a book [06:07:31] but is it a flower book? [06:07:35] Possibly! [06:07:42] Maybe it is a book all about flowers. [06:07:50] yes! [06:07:53] XD [06:07:54] we are onto something! [06:08:02] Maybe it is a book on orchids! [06:08:07] Yes!!!! [06:08:16] gasp! Jimbo's secret conspiracy! [06:08:28] its a hard cover book with those alphabetically slit pages :P [06:08:41] I fell so disillusioned, i prefered it as a flower! [06:08:47] I think it looks like the edges are dyed, not slit [06:08:50] or jimbo's nose hair O_O [06:08:56] lolz [06:09:06] Haha, sorry firemonkey93--you should have left it a mystery then and not asked! [06:09:10] hello [06:09:15] helol [06:09:21] welcome to history in the making [06:09:33] heh [06:09:38] we at #mediawiki just discovered that the mediawiki flower, is a book!!! [06:09:55] firemonkey93: I think you should tune your monitor's contrast/brightness a bit :) it's very obviously a book here [06:10:22] its like one of those optical illusions thou [06:10:29] you see it as how you see it [06:11:00] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/stylesheets/monobook/headbg.jpg?view=log&pathrev=3000 earliest version I see [06:11:03] oh well, I sorted out my problem [06:11:07] thanks for the help guys [06:11:16] yes [06:11:20] well, hmm [06:11:29] I think i must post this onto Wikipedia!!! [06:11:40] WP:WTF IS THE BACKGROUND [06:12:02] and user.gif is from plone [06:12:06] i must show everyone why i tihnk it is a flower! [06:12:28] http://dev.plone.org/plone/log/CMFPlone/trunk/skins/plone_images/user.gif?rev=2888 [06:12:36] Good luck, Don Quixote [06:12:43] plone has a monopoly on small icons [06:13:04] wow, that's a big version [06:13:05] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/stylesheets/monobook/headbg.jpg?pathrev=3000&revision=2881 [06:14:35] what i cant believe is that I managed to start a huge debate over the mediawiki background [06:15:14] well, better than the debate about user.gif being racist, a few weeks ago [06:15:32] lol [06:15:48] well im going to show you all why i tihnk the background looks like a flower [06:17:02] ummm, guys, something scary is happening [06:17:09] when i opened the book background [06:17:34] hold on, ill post a screenshot [06:19:09] Ok, mediawiki people [06:19:23] I have a very important question [06:19:35] this image: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/stylesheets/monobook/headbg.jpg?revision=2881&view=markup&pathrev=3000 [06:19:38] I downloaded [06:19:53] and opened in Macromedia fireworks, thas fine, it looks like it should [06:19:58] a slightlyh grey book/flower thing [06:20:07] but then [06:20:22] on the open screen, it showed me a preview [06:20:31] and its a completely different book [06:20:34] on the preview [06:20:36] ill post a pic [06:21:45] ok [06:21:53] could someone please look at this? (http://atyndall.heliohost.org/Picture%201.png) [06:22:08] how does fireworks know what the picutre previously loked like? [06:22:40] anyone? [06:23:19] *firemonkey93 -_- [06:24:15] images can embed original thumbnails? [06:24:30] they can? [06:24:43] mhmmmm [06:24:50] well [06:24:54] ok then [06:25:06] *firemonkey93 stops slightly freaking out at the scary picture [06:25:06] jpeg can? [06:25:23] I never realized that headbg has it :) [06:27:34] domas: that is a very old version of headbg [06:27:42] from March 2004... [06:29:11] ahh [06:29:14] it is from the camera [06:30:59] 03nikerabbit * r33956 10/trunk/extensions/Babel/Babel_body.php: * Fix notice [07:10:55] T_T Eeeewwww... phpBB3's 'auth plugins' are horrid [07:37:11] well remember it *is* phpbb [08:03:46] <_wooz> lo [08:12:15] 03werdna * r33957 10/trunk/extensions/GlobalBlocking/ (5 files in 2 dirs): [08:12:15] Globalblocking updates: [08:12:15] * Patch security vulnerability: unprivileged users were able to remove global blocks with URL craftsmanship. [08:12:15] * Introduce feature to allow global blocks to be locally disabled on individual wikis. [08:30:38] *firemonkey93 is disturbed by the silence in all the channels he is in. [08:31:27] firemonkey93: so that phantom image... [08:31:38] that is the EXIF preview that the camera generated [08:32:20] and when he edited it in Photoshop 7 the EXIF data was never modified to reflect the changes made, eg the cropping, desaturation, and contrast/brightness [08:32:30] (probably) [08:32:35] OK, I am glad that fireworks wasn't using some sort of time machiene to show what the image previously looked like [08:32:48] because that is just plain wierd [08:33:17] meh dont worry about exif data, the current exif parser silently throws away some of it anyways :P [08:33:56] OverlordQ: firemonkey was just spooked because the original version of headbg.jpg was doing the time warp again [08:34:05] it was showing the full book in preview mode [08:34:29] nothing to do with images uploaded to a mediawiki ^_^ [08:34:45] OverlordQ: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/stylesheets/monobook/headbg.jpg?revision=2881&view=markup&pathrev=3000 [08:35:01] ah :) [08:35:19] still the MW exif parser doesn't like some valid EXIF data and just throws it out :( [08:35:24] shame on it [08:35:40] indeed [08:35:43] anyway, read the logs from a few hours ago for an interesing conversation comparing that book to a flower (and uncyclopedia's implementation of it) (if you care) [09:04:32] 03werdna * r33958 10/trunk/phase3/includes/SpecialListusers.php: Update UsersPager to make buildGroupLink, getGroups accessible in subclasses (i.e. private --> protected). Needed for global groups support in CentralAuth. [09:20:28] 03(mod) Enable CommentPages extension on English Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11586 +need-review; +comment (10fearow00) [09:23:50] Greetings. I'm starting to use mediawiki, but some questions popped up that I couldn't find the answer in the docs: What is the IDHost at the SMTP configuration? [09:31:17] helklo [09:32:34] hello [09:32:55] I have a big problem with mediawiki 1.11.2; [09:32:56] : [09:33:57] there is an articel called "Sanitätshelfer", when I insert into the search box and click on "search", the artikel is being found and I can view it by clicking on the link. but when I click on "article" to directly open the article, I get the message that the article hasn't been found ... [09:34:06] I'm redirected to "index2.php?title=Sanit%C3%A4tshelfer" [09:34:29] I'm actually beginning to use mediawiki, so I'll probably won't be useful [09:35:24] I don't know what'Äs wrong witrh it ... :( [09:36:09] perhaps somebody knows it ... [09:36:15] I'm with a bigger problem here: When I create an account to test the whole thing I get a blank page... :( [09:36:52] the strange thig is that I cannot change "%C3%A4" to "ä", it's always rechanged to "%C3%A4" when I hit enter [09:37:10] but there are links on the mainpage, that link directly to index2.php?title=Sanitätshelfer [09:37:13] and they work, too [09:37:14] ... [09:37:57] hi [09:38:12] hi [09:39:44] Is there anyone here who could help me? [09:39:54] which one? [09:40:50] When I create an account to test the whole thing I get a blank page... The user is created, but I don't receive any e-mail to confirm and the result is a blank page [09:41:12] 03(NEW) Errors in css files of www.wikipedia.de - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13865 normal; normal; Wikimedia: General/Unknown; (rupert.kolb) [09:41:43] Is the e-mail failure related to the blank page? [09:41:49] Sounds like a PHP error [09:41:56] Yeah [09:42:02] Check your php log file [09:43:04] Gotcha: Failed opening required 'Mail.php' [09:43:33] 03(mod) special firstChar() routine for Korean characters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1701 +comment (10anon.hui) [09:43:35] Is this a sign that the Pear required package isn't installed? [09:43:45] Sounds like something was misuploaded to me [09:43:49] Check you uploaded Mail.php [09:43:50] Sorry about these stupid questions, but it's a shared hosting [09:43:57] 'scool [09:44:02] there ar no stupid questions [09:44:05] just inquisitive iditots [09:44:07] *Werdna runs. [09:44:09] heh [09:44:14] ouch [09:44:29] I've installed mediawiki cvs trunk on my server with nothing but basic PHP so it shouldnt be needing packages [09:44:39] *Werdna runs from the irony of misspelling 'idiots' [09:44:49] lol [09:45:03] TheFearow: Do you know where Mail.php should be? [09:45:30] I would assume somewhere in includes. I havent delved into the mail code that much though [09:45:40] nvm let me look at the script that requires it [09:46:18] hm... brb [09:47:12] Bingo, the file doesn't exist [09:47:18] Try redownloading it [09:47:23] Reuploadin* [09:47:56] reuploading* [09:47:58] yep, but I'll try a lazy solution first. Let's see if the host allows simple mailing [09:48:03] :p [09:48:23] So I can curse them and make them fix it before re-downloading/uploading :P [09:48:44] what version are you running? [09:49:25] the latest one (1.12, if I'm not mistaken). Downloaded it less than a week ago [09:49:28] whats about /var/log/apache/error.log? [09:51:26] marvxxx: What about it? [09:51:33] It's the webserver's error log [09:51:46] it gives alot of information about problems [09:52:09] 03mkroetzsch * r33959 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: break; instead of continue; (Bug 13858) [09:52:50] marvxxx: Yes, this is what it does. It logs every error that occur related to the webserver [09:53:15] 03(FIXED) performance: SMWSQLStore->getPropertyTable() always loops 10 times even if no subproperties - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13858 +comment (10markus) [09:53:17] I think he is suggesting you check it [09:53:33] ZaphodBeeblebrox: it was more about your problem with the blank page [09:53:52] Oh, sorry, I thought you were asking a question [09:53:59] any idea on how I could restrict access to uploaded content, like I can protect wiki content through $wgWhitelistRead = array( "Main Page", "Special:Userlogin" );? I only can think of putting a .htaccess into the 'images' folder, but that's quite poor (because it's not coupled with the wiki login) [09:54:23] mediawiki isnt made for restricting access to things - I doubt there is an easy way [09:54:37] marvxxx: I've located the problem cause: it's missing the Mail.php file [09:54:58] zaphod: Check the svn repository, see if its something not in your version [09:55:07] Someone might have checked something into a stable by mistake [09:55:47] TheFearow: I'm downloading it again, hold on [09:56:07] ZaphodBeeblebrox: ah ok so :) [09:56:13] :) [09:57:16] Oh my... The file isn't there [09:57:25] Check in trunk [09:57:53] doing that, just a sec [09:58:00] TheFearow: so there is no way. a pity. i'd really like to use MediaWiki for our company's internal wiki needs but make it easily accessible for employees / partners / freelancers from the internet [09:58:16] padde: http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_all_pages says "Note: Uploaded images will still be viewable to anyone who knows the image directory's name. Either point $wgUploadPath to the img_auth.php script and follow the instructions in Manual:Image Authorisation, or use some external method to protect images, like .htaccess." [09:58:29] paddle: I use it for my companies intranet [09:58:44] http://www.mediawiki.org/wiki/Manual:Image_Authorisation [09:58:52] padde: If they are employees, they are under non discolsure contracts anyway, so letting them see extra stuff shouldnt be a problem [09:58:56] Splarka: great! [09:59:12] (note: not advised) [09:59:31] 03mkroetzsch * r33960 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: extended docu [09:59:32] Yeah, its not foolproof. It's easil bypaassed by anyone who spends a few minutes looking at mediawiki coe [09:59:48] TheFearow: it's about uploaded content. if they'd have the URL saved somewhere, the could access the documents even after they quit... [10:00:15] No way to stop that, as the image files are served by the webserver [10:00:29] 14(INVALID) Errors in css files of www.wikipedia.de - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13865 +comment (10danny_b) [10:00:52] you could do an htaccess that only served them when the referer was a page on your wiki [10:01:01] TheFearow: that's exactly the problem (which i hoped to find a solution for...) let me have a look at Splarka's link [10:01:04] That would stop the average users [10:01:32] htaccess blocking referers not from your wiki might work, but you'd have to try [10:01:32] TheFearow: Is it ok to just re-upload everything but the LocalSettings script? It is, right? I won't have to re-install everything, right? [10:01:40] Should be [10:01:43] "access the documents even after they quit..." ... the could do that by saving them too ^_^ [10:01:45] As long as it isnt a new version [10:02:01] TheFearow: yes, that would be better than nothing... but usually people who want to get access so much are willing to fake a referer ;) [10:02:03] ahh, true [10:02:06] Splarka: The idea is you remove their accounts before saying they are fired so they dont have the chance [10:02:07] oh my... Not in the trunk either... [10:02:12] heh [10:02:20] I'm guessing Mail.php is the PEAR package [10:02:24] zaphod: Hmmm. Thats odd [10:02:25] that's the problem [10:02:26] Splarka: yes, but they couldn't obtain new versions and stuff... [10:02:28] Must be [10:02:29] TheF: the link above shows how to make each image call an authorized script call, rather than a simple image request [10:02:38] yes, the most logical cause [10:02:49] So I'll have to bitch with my ISP heh [10:02:59] Life is beautiful [10:03:04] *grins* [10:04:56] BTW, one more question: What is an "IDHost"? [10:05:02] Never heard of it [10:05:30] Something that hosts ID's? [10:05:35] (best guess) [10:05:35] rofl [10:05:53] It's about message ID, but I never heard of needing one to send e-mail. [10:07:08] I think its like SPF's [10:07:11] To verify senders [10:07:16] probably [10:08:36] well, gonna rest a little before the ISP begins it's commercial shift. Thanks, guys, for the help. Later! [10:09:15] 03(NEW) PATCH - skins/common/shared.css - invalid attribute fixing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13866 trivial; normal; MediaWiki: General/Unknown; (danny_b) [10:09:22] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [10:18:40] Splarka: thanks for the link, that's exactly what I was looking for :D [10:18:45] enjoy [10:18:52] don't blame me if it is insecure tho [10:19:53] Splarka: hehe, i won't. but now it should be about as "secure" as the rest of the wiki's content, without making the users jump through another authorisation (.htaccess basic auth or something) hoop [10:20:21] Danny_B: meow [10:20:55] 03werdna * r33961 10/trunk/extensions/CentralAuth/ (10 files in 2 dirs): Add support for global groups to the CentralAuth extension. Involves a schema change on the CentralAuth database. [10:21:15] Nikerabbit: woof-woof [10:23:19] 03(mod) Show TOC on Special:SpecialPages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13862 (10danny_b) [10:24:19] 03nikerabbit * r33962 10/trunk/phase3/ (RELEASE-NOTES skins/common/shared.css): * (bug 13866) skins/common/shared.css - invalid attribute fixing [10:24:34] the patch wasn't done in root :o [10:25:06] 03(FIXED) PATCH - skins/common/shared.css - invalid attribute fixing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13866 +comment (10niklas.laxstrom) [10:28:17] 03(mod) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 (10danny_b) [10:30:02] 03(mod) "Justify paragraphs" does not work in modern skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13860 (10danny_b) [10:30:09] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [10:40:07] svn up [10:40:21] wrong window, LeonWP :) [10:40:46] right :) [10:48:04] 03(NEW) Interwiki links to other languages doesn' t use the corresponding font - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13867 15enhancement; normal; MediaWiki: Page rendering; (hkytrewq) [10:50:28] 03(NEW) Allow hiding revisions when rendering Special:Undelete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13868 normal; normal; MediaWiki: Special pages; (fearow00) [10:53:43] anyone have a minute to review that patch? [10:55:06] preferably someone who can also commit it :D [10:55:10] can't be a big patch then [10:55:46] Its two lines [10:55:55] One of which is just adding global $wgRequest [10:56:13] But I cant test it as my server is down [10:56:27] its so simple theres nothing that can go wrong though :p [11:01:21] 03(mod) Support collation by a certain locale ( sorting order of characters) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=164 +comment (10anon.hui) [11:03:37] Hi. Does anyone have time to talk me through installing the wikipedia-style citation templates on a local copy of mediawiki? [11:05:23] 03(ASSIGNED) Allow hiding revisions when rendering Special:Undelete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13868 +comment (10fearow00) [11:06:17] 03(mod) Allow hiding revisions when rendering Special:Undelete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13868 (10fearow00) [11:09:52] can we get any help in here? [11:10:20] Just ask your question [11:11:24] Is there a way to add a banner or more then one banner to an article to discribe it's status of "approved", "to be approved" and so on? [11:13:34] Use templates [11:15:21] ok .. but is there an interface that my reviewers can use to approve articles and eventualy put in some comments like "approved with comments: maybe some screenshots would be handy" [11:16:03] and when the screenshots are uploaded and incorporated then put the banner to "full approved" [11:16:41] TheFearow|Away: just used an example [11:17:55] Yes there is something to approve edits before they are shown to the public I believe - cant remember what its called, itll be some extension [11:18:04] http://www.mediawiki.org/wiki/Category:Rating_extensions [11:19:16] Can anyone explain how to install templates to me? I'm trying to install the {{cite web}} ones whichi Wikipedia uses. [11:21:41] you copy http://en.wikipedia.org/wiki/Template:Cite_web to your wiki. It uses some subtemplates like http://en.wikipedia.org/wiki/Template:%21 as well as the ParserFunctions extension [11:22:12] so you'd also need to install http://www.mediawiki.org/wiki/Extension:ParserFunctions and copy that {{!}} template [11:24:04] Thanks, Splarka - I'll try that now! [11:24:59] it seems to often be used in tags, so you might be wanting the http://www.mediawiki.org/wiki/Extension:Cite extension too [11:40:02] That's looking a lot better - but still not quite as in Wikipedia... The ref looks like this: [11:40:04] ^ cite_ref-0 Zollinger RM, Ellison EH (October 1955). "Primary peptic ulcerations of the jejunum associated with islet cell tumors of the pancreas". Ann. Surg. 142 (4): 709–23; discussion, 724–8. PMID 13259432. |↑]] Zollinger RM, Ellison EH (October 1955). "Primary peptic ulcerations of the jejunum associated with islet cell tumors of the pancreas". Ann. Surg. 142 (4): 709–23;... [11:40:05] ...discussion, 724–8. PMID 13259432. [11:40:39] So it's duplicated. Can I check I've got all the necessary sub-templates somehow? [11:40:41] 03(NEW) No plural check for Turkic and Mongolic languages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13869 15enhancement; normal; MediaWiki: General/Unknown; (alefzet) [11:41:07] I think all the other subtemplates are for the documentation [11:41:20] and various "this is permanently protected" stuff [11:42:01] not sure why it would be duplicated [11:42:56] Is there a way to make a feed of new users on a wiki page? (something like "Extension:Newest Pages" but based on the user creation log) [11:43:18] 03raymond * r33964 10/trunk/ (9 files in 9 dirs): Localisation updates German [11:44:36] chriswaterguy: http://www.mediawiki.org/wiki/Extension:Newuserlog [11:45:22] eg: http://en.wikipedia.org/wiki/Special:Log/newusers [11:46:17] *Splarka sneeks to bed [11:47:38] Spartla: Thanks! [11:47:44] oops [11:47:57] Sparkla: Thanks! [11:48:11] (bloody fingers aren't used to Dvorak) [11:50:24] Is there a way of having it as a feed in a wiki page, like with http://www.mediawiki.org/wiki/Extension:Newest_Pages ? [11:50:45] (see http://www.appropedia.org/ main page for example) [11:53:32] hello everyone [11:53:47] how do i create a new anonymous user in mediawiki? [11:55:24] I don't think "new anonymous user" is meaningful. [11:55:31] more specifically, when i call the preSaveTransformText function of the parser, it returns sth like [[User:|User:]] 16:50, 28 April 2008 (PKT), instead of [[User:127.0.0.1|127.1.0.1]] 16:50, 28 April 2008 (PKT), so i probaly need to create a user object, how do i create it [11:56:16] 03(mod) Use listboxes instead of comboboxes for reason in deletion and protection dialogs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13843 (10semenik) [11:56:26] then what do i need to do so that the call the presavetransformtext function actually returns an ip for a non existing user, instead of returning the wrong answer [11:57:49] ah, you're talking about the code. [11:57:54] yes [11:58:05] $wgUser is a pretty good bet. [11:58:44] my problem is that i am trying to call it from a point whwere i myself have to initialize wgUser, it is not initialized for me [11:59:16] 03(NEW) Set a new logo on Yiddish Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13870 15enhancement; normal; Wikimedia: General/Unknown; (nurtsch-cv60) [11:59:20] so i want to know which functions mediawiki calls to initialize an anonymous user [11:59:52] have a look at StubObject.php [12:00:00] search lkeyword: AutoAuthenticate [12:00:06] the method it gives you is how we do it [12:00:23] thanks so much for ur help! [12:01:14] 03(mod) Set a new logo on Yiddish Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13870 +shell (10raimond.spekking) [12:14:53] i have questin. how to get if article in edit mode is new or existing one? [12:17:24] i have $wgArticle avalaible in hook , but i am not sure ho to get information if is new article object or existing one. [12:21:05] nobody helpfull here?:) [12:21:58] 03werdna * r33965 10/trunk/extensions/CentralAuth/CentralAuthHooks.php: Create accounts for users who browse to other wikis on shared sessions. [12:21:58] Gali: hmm.. I'm thinking about it [12:24:03] I am not sure if i can rely on method getContent() if is empty (cause emty articles are not allowed ) [12:25:58] I only need to know if Article is present in database. so if someone can help, i will appreciate it. [12:26:28] Gali: let me see what methods the article object offers [12:26:47] Gali: which hook are you using? [12:26:56] isn't there ->getID() or something that returns 0 if the article doesn't exist? [12:26:58] UnknownAction [12:27:11] zocky: yes i think it is.. [12:27:24] 'UnknownAction': An unknown "action" has occured (useful for defining [12:27:32] your own actions) [12:27:33] hmm [12:27:56] zocky: i think it is i was looking for.. thx [12:28:04] * @return bool Whether or not the page exists in the database [12:28:05] */ [12:28:05] function exists() { [12:28:05] return $this->getId() != 0; [12:28:07] } [12:28:23] yes, so $article->exists() will get you there [12:28:45] hell , i am blind i havent seen it :), thx Werdna :) [12:28:57] :) [12:29:14] btw, speaking of hooks.... it would be brilliant if the article ID still existed in ArticleDeleteComplete [12:29:40] or passed otherwise [12:30:12] the way it works now, you have the capture the ID in ArticleDelete or wherever, and then use it in ArticleDeleteComplete [12:30:25] or is there another way that I don't know off? [12:31:49] zocky: why do you need the article ID in that hook. [12:32:15] I've just patched Article.php to add it. Give me a use case and I'll stick it in the commit message and commit [12:32:46] Werdna, to delete stuff from my custom data tables [12:34:29] Werdna, i insert/update the data on linkupdate, and delete on deletecomplete [12:34:35] seemed like the most appropriate places [12:34:39] 03werdna * r33966 10/trunk/phase3/includes/Article.php: Pass the old article ID in the ArticleDeleteComplete hook, to allow, for example, extensions that store metadata about articles to do their own cascading deletes [12:34:53] cookie plz [12:34:54] Werdna, thanks a bunch :) [12:35:04] *zocky gives Werdna a plate of cookies [12:35:10] btw, there's more where that came from [12:35:16] mm? [12:35:52] ok, so that I don't make a complete ass of myself - is there another logical place to put parser output from your hooks than parser->mOutput? [12:36:15] parser output being? [12:36:27] i.e. when my parser function harvests the data that I want input into my tables [12:36:37] ah, right. [12:36:42] I don't think so. [12:37:01] well, then it would be nice if a reference to mOutput was passed to the link update hook [12:37:22] let me see.. [12:37:54] it now gets the arrays of the standard links extracted from mOutput, but no way to access the whole mOutput [12:38:44] hmmm.. I still don't understand what you need to place in the parser output, and why. [12:39:28] i have a function {{#data that does all the data magic for me. {{#data:row|tablename|field=value|field=value|...}} stores the data row in the table [12:39:43] right. [12:39:50] this needs to be done when the page is saved and when included templates change [12:39:54] right. [12:40:12] so, you need to store that somewhere that will get reset when a new page is parsed [12:40:23] it's normally not a problem, because you view one page at the time [12:40:26] like in the database? [12:40:27] it gets problematic on import [12:41:11] Werdna, what, write it to the database on every parse? [12:41:32] *Werdna ponders. [12:41:38] what are you doing with the data? [12:42:15] selects that return array IDs that are passed to loop/tree functions that make reports/forms [12:42:19] ...long story [12:42:27] it should be available for online viewing in a few weeks [12:42:45] hmm.. okay, I think I see why you want to use the parser output [12:43:05] anyway, you should be able to access the output using $parser->mOutput [12:43:50] (phone) [12:44:40] Werdna, I'll have to check, but IIRC, you only get the LinkUpdate object which doesn't have the parser [12:44:55] zocky: what hook are you using? [12:45:36] function hook_LinksUpdateComplete(&$linksUpdate) [12:47:00] adding a reference to parser would probably be even better [12:47:14] zocky: right, so you want the parser output to be included in that hook's parameters? [12:48:07] Werdna, I think the best way would be to add $this->mParser =& $parser; (or whatever the convention is in that file) before the hook is called [12:48:13] ew. [12:48:16] =& [12:48:40] how's this? [12:48:54] 03werdna * r33967 10/trunk/phase3/includes/LinksUpdate.php: Save the parser output to a member variable of LinksUpdate, so that hooks can access it. [12:49:19] yeah, that's alright :) [12:49:36] you don't even get the parser there, so this is the best that can be done in one place [12:49:43] *zocky packs a box of cookies for werdna [12:49:52] are you going to wikimania? [12:50:06] nah, too much work, not enough money [12:50:14] next time it's in europe [12:50:19] *Werdna is applying for a scholarship [12:51:02] i tried that last year, when I was more useful to wikimedia than I've been lately [12:51:18] but, since we're EU now, I was considered too rich or something :) [12:51:50] hehe [12:52:20] let me see if I have any small hacks left [12:52:46] i'm not going to ask you to fix up the preprocessor and the parser for my obscure needs :) [12:52:50] haha [12:52:57] *Werdna doesn't know much about the parser [12:53:25] *zocky knows more about the parser than he wants to [12:53:29] hehe [12:53:39] at least you can know stuff about the new parser/preprocessor combo [12:53:50] the previous arrangement was totally baffling [12:55:15] actually, i think that's all the small hacks I made [12:55:27] i've been quite disciplined in the latest rewrite of my stuff [12:56:04] I also found quite a bad bug in the parser that looks easy to fix, but who knows what consequences that may have [12:56:22] poke Tim. [12:56:24] he knows stuff [12:56:59] we're mostly on IRC at totally opposite times [12:57:08] i think I'll have to file a bug request for this one [12:57:18] is there way in MW to run sql query? [12:57:31] Gali: Special:AskSQL [12:57:34] it can be messy to fix [12:57:36] disabled by default though [13:01:06] https://bugzilla.wikimedia.org/show_bug.cgi?id=8997 [13:01:14] so that's an old bug [13:01:22] and it's still not fixed :\ [13:02:31] it's a very annoying bug. you return some html from your parser function, set isHTML=true, and your HTML gets treated as wiki paragraphs, and probably lists too [13:31:55] Hey, do anyone know if it's possible to pass extra variables with an url in order to access them in a php script (i.e. in an extension)? [13:32:40] "Article_name&action=edit&myvariable=foo" [13:39:03] 03(mod) Problem with Encoding - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13838 (10dasch_87) [14:13:11] is possible to get $wgDBprefix from LocalSettings.php from standalone script? Cause there is some require_once statements. (and i wont to run them) [14:15:56] hmm no one? [14:20:54] and one more question, in sql files of MW are in comment sections /*$wgDBprefix*/. And I want to ask what object do interprete that? [14:39:36] Does anyone know if there is a mediawiki extension that can send the user a popup whenever a particular article is updated? [14:42:19] Is it possible to alter what is shown on the navigation box? IE, this is an internal wiki, so I want to remove donations, community portal, etc. [14:42:38] I tried looking at the "what links here" page for the donations page, and it says nothing does [14:43:33] draeath: yes, change the sidebar [14:47:20] moe25: do you happen to know the URL for the sidebar? [14:47:41] yep, MediaWiki:Sidebar [14:47:53] log in as an administrator and edit it [14:48:32] ah thats why i can't see it, not logged as sysop. Doh! [14:51:15] thanks moe25 [14:52:20] no problem [14:55:13] Has anyone seen brion lately? [15:19:41] in sql files of MW are in comment sections like /*$wgDBprefix*/. And I want to ask how it can be interpreted as string variable.. [15:40:33] anyone know how to embed javascript code into an article? [15:40:59] 03mkroetzsch * r33968 10/trunk/extensions/SemanticMediaWiki/skins/images/smw_button.png: [15:40:59] "Powered by SMW" button by Rozana Vrandecic (not used in software, but this should not be hidden; maybe [15:40:59] someone wants to advertise the extension and just lacks the button ;-) [15:41:16] moe25: one doesn't do that [15:41:25] moe25 do you really want that? [15:41:31] why not use a template? [15:41:36] and monobook [15:41:53] where such modifications are "secure" [15:47:44] shiroi: so are you saying that javascript code can be embedded in a template? [15:48:09] moe25 please use Monobook.js [15:48:16] of course it //can// [15:48:23] but it is something you do not want to do [15:48:41] keep js in mediawiki namespace [15:48:56] so i can add my js code to mobobook.js ? [15:49:07] thats what .js is for [15:49:17] try reading about it in the manual [15:49:24] It isnt something I know a lot about :) [15:49:34] no one can answer my question, i cannot find any information related to this. (in sql files of MW are comment sections like /*$wgDBprefix*/. And I want to ask how it can be interpreted as string variable..) [15:50:51] Gali, because once processed by the scripts (for instance update.php) this comment isn't looked at.. [15:51:23] basically, on the transfer between php->mysql this gets converted to the actual var value [15:59:34] hmm. [16:00:40] Hmm :)? [16:06:31] 03rotem * r33969 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update for he. [16:10:42] hi anyone I can change the title on a wiki page [16:10:46] regardless of the URL [16:11:09] jza, an extension called pagetools (or pagefunctions, i don't remember which one) [16:11:16] NOTE: doesn't work with cache [16:11:44] Wiredtape, any other way? [16:11:51] javascript? [16:12:06] which also won't really work with cache.. [16:12:14] ok [16:12:29] it's kind of difficult since MW is built on the substructure of titles [16:16:09] 03siebrand * r33970 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Capitalisation fixes in links [16:18:33] Wiredtape: and ok, so bassicaly, if i write down to sql file anywhere /* php code */ then it will be executed? [16:19:03] no [16:19:37] Gali, as MinuteElectron said: nope.. -> they are first processed through php, and then sent to mysql [16:19:55] Wiredtape: aha, i got v view. [16:20:38] v view? [16:22:20] 03huji * r33971 10/trunk/extensions/Babel/Babel.i18n.php: * Adding/updating Persian translations [16:22:49] i have problem to express , but i wanted to tell that i understand now :) [16:23:13] ok.. [16:23:33] and one more question, i bother with. [16:23:59] i want to create stanalone script to create database tables. [16:24:26] ok..? [16:25:06] MinuteElectron, have any idea what the changes to Title::newFromText were between 1.11 and 1.12? [16:25:58] No, sorry; what is the issue you are having? [16:26:28] ok, i found a way. (it was how to get wgDBUser and Password).. but i can use commandLine.inc for that , yes? [16:27:56] MinuteElectron: I upgraded yesterday to 1.12 (from 1.11) and an extension I use (NiceCategoryList2) isn't working, because of something to do with that function.. it passes a parsed $category object to the title function, and then something goes wrong.. this could be because of the parsing or because of the title function.. [16:28:03] How can I have a link in the navigation to chose between http and https? [16:28:20] 03vasilievvv * r33972 10/trunk/phase3/ (5 files in 4 dirs): * (bug 889) Improve conflict-handling between shared upload repository (commons) and local one [16:28:21] does anyone know what directory to put Common.js in ? [16:28:47] moe25: You save it as a page on the wiki, MediaWiki:Common.js [16:28:50] 03(FIXED) Improve conflict-handling between shared upload repository ( commons) and local one - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=889 +comment (10vasilvv) [16:28:59] Wiredtape: Oh, that's unfourtunate. Sorry I can't help you. [16:29:18] Gali, depends on what you are doing, but possibly yes.. [16:29:19] you don't want to do that by changing the actual title of the page [16:29:20] minuteelectron: thanks [16:29:37] MinuteElectron: thanks for trying though :) [16:29:44] just suppress title display in css or wherever [16:29:56] and use =Title= to display your custom titles [16:33:20] 03(WONTFIX) Allow explicit use of commons images when a local image has the same name - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2717 +comment (10vasilvv) [16:38:40] Does anyone have a Perl mediawiki module they would suggest using. There are a couple. I just want to write a program that will update data on a page. And it has to be able to authenicate both with the wiki and with the HTTP authentication. [16:42:21] deltaray2: use python [16:44:27] 03huji * r33973 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [16:44:32] Betacommand, why? [16:45:07] deltaray2: there is a great framework for mediawiki that is written in python [16:45:21] I remember a while ago Simetrical was suggestion creating a way to connect mw with javascript frameworks.. Anyone know if this ever happend? [16:46:40] Betacommand, that's nice. I asked for a recommended Perl module though. Perl is a different programming language that I know how to program in. See http://www.perl.org/ [16:47:03] deltaray2: In know that [16:47:10] *Wiredtape boos deltaray2 [16:47:43] deltaray2: I was recommending the best framework, not some other piece of crap [16:47:58] Betacommand, really? Because for some reason you didn't seem to understand that in my question I was asking for something for Perl. And yes, I'm being sarcastic because I hate it when people think they are so cool to recommend a language that they think is superior. [16:48:07] perlwikipedia is the most wildly used perl library [16:48:14] Thank you [16:48:18] See how easy that was. [16:48:37] but its still crappy and has a lot of bugs [16:49:23] i imagine he recommended python because pywikipedia sucks less, not because of the language [16:49:51] No, he said "Use python", not "use pywikipedia". [16:50:15] Later on he explained his reasons. [16:50:20] he said both [16:50:26] But if nobody really wants to help me, then I'll just do my own testing. [16:50:53] deltaray2: perlwikipedia is probably the only generalised perl mediawiki framework [16:51:16] or at least the mostpopular [16:51:25] we helped you [16:51:26] :) [16:51:48] MinuteElectron, ok. Well there are other mediawiki modules for perl: http://search.cpan.org/search?query=Mediawiki&mode=all I was just wondering what most people are using. [16:53:07] 03rotem * r33974 10/trunk/phase3/ (2 files in 2 dirs): Update. [16:53:21] fwiw, i don't think i'll call pywikipedia 'great' until it they can create an interwiki script that uses less than 1GB RAM [16:53:22] 03aaron * r33975 10/trunk/phase3/profileinfo.php: Use dbprefix, so it actually gets results [16:53:30] or a script to replace text in articles that uses less than 750MB [16:54:04] Sheesh, that's nuts. [16:54:17] flyingparchment: it depends on how you use pywiki [16:54:35] these people use it by running the scripts they ship with the software, unmodified, as far as i can tell [16:54:38] the out of the box scripts are not that great [16:54:50] flyingparchment, really? those are the numbers? [16:55:03] but the framework is pretty solid [16:55:18] even with the API now? [16:56:03] Wiredtape: pywiki is in the middle of a rewrite for the API [16:57:33] Wiredtape: why would the API make a difference? last i checked, extracting page text even without the api didn't need that many MBs ;) [16:57:46] Betacommand, ahh... [16:58:09] flyingparchment, :) i [16:58:44] * i am assuming they parsed locally and that was the cause? (of course this doesn't explain the amount either) [16:59:19] 03siebrand * r33976 10/trunk/extensions/GlobalBlocking/GlobalBlocking.i18n.php: Use {{SITENAME}} instead of 'this wiki' for 3 messages [16:59:20] Wiredtape: i've no idea - fixing users broken code isn't my problem :) [17:02:07] flyingparchment: :) [17:02:32] 03aaron * r33977 10/trunk/phase3/includes/Article.php: Fix profiling [17:05:38] 03aaron * r33978 10/trunk/phase3/includes/Article.php: wfProfileOut( __METHOD__ ); [17:08:42] 03btongminh * r33979 10/trunk/phase3/ (3 files in 2 dirs): [17:08:42] * Honor upload restrictions in SpecialUpload.php and FileRevertForm.php [17:08:42] * Add 'restriction-upload' => 'Upload' to MessageEn.php [17:14:25] it should now be possible to enable upload only protection by setting $wgRestrictionTypes[] = 'upload'; [17:14:43] problem is that the upload protection box will also appear on normal pages [17:14:45] 03aaron * r33980 10/trunk/phase3/includes/Parser.php: Fix profiling [17:15:08] but creating a separate $wgRestrictionTypesPerNamespace for uploading only sounds silly [17:16:16] on the other hand you may want to enable cascading upload protection on non images [17:16:17] so... [17:17:06] yeah, I know [17:17:14] I tried doing that a while ago but the UI was too ugly [17:18:02] ah well I could just sneak in 'upload' in $wgRestrictionTypes [17:18:19] the unlock thing is odd thoughh [17:18:25] maybe should fix that first [17:18:47] upload should only show for Image: ns [17:20:21] you may want to protect all images on a page [17:20:38] you mean cascade down upload protection? [17:20:42] yes [17:20:45] hmm, I remember thinking of that too [17:20:50] deja vu! [17:21:27] hmf cascading is only available for transclusion [17:21:34] Bryan: so the reason it to allow locking reuploads but not the description page? [17:21:42] yes [17:21:56] why is that good? :) [17:22:02] *AaronSchulz can't remember [17:22:16] PENISPENISPENIS! [17:22:20] but then graphically ;) [17:22:39] https://bugzilla.wikimedia.org/show_bug.cgi?id=6579 [17:23:46] ------- Comment #10 From Aaron Schulz 2007-06-01 21:25:41 UTC [reply] ------- [17:23:48] heh, and the "Unlock move permissions" does look kind of funky :) [17:23:50] ghe [17:26:53] 0.27 Profiling error: in(OutputPage::output), out(MediaWiki::finalCleanup) [17:26:59] bah, more [17:30:10] Yesterday, I upgraded from 1.11 to 1.12, and now all of a sudden ajaxsearch doesn't work.. (ajaxsearch.js doesn't even load) [17:30:20] 03aaron * r33981 10/trunk/phase3/includes/Title.php: Missing out call [17:32:16] anyone know why this might happen? [17:34:11] 03rotem * r33982 10/trunk/phase3/ (2 files in 2 dirs): Update. [17:41:15] no one? [17:43:08] *Jack_Phoenix waves to ialex :-) [17:43:18] hey Jack_Phoenix [17:43:20] :) [17:43:21] rar [17:46:43] 03ialex * r33983 10/trunk/extensions/CentralAuth/SpecialGlobalGroupMembership.php: Notice : Undefined property: Title::$getPrefixedText [17:47:04] Hi Jack_Phoenix, ialex :) [17:47:14] hello Wiredtape [17:47:15] rar Wiredtape [17:47:54] gzip Jack_Phoenix :) [17:48:24] By any chance did either of you run into a problem upgrading from 1.11 -> 1.12 where ajaxsearch.js doesn't load? [17:49:29] Wiredtape: check if there's an preference for this in 1.12 [17:49:37] in Special:Preferences [17:50:29] ahh.. damn it, stupid me :) (i forgot about that.. ) let me check [17:52:33] 03(mod) Allowing protecting files without protecting image pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6579 +comment (10Bryan.TongMinh) [17:53:07] ok.. that was the problem, thanks ialex.. (is there any way to make this the default preference for everyone?) [17:53:49] $wgDefaultUserOptions iirc [17:54:21] Wiredtape: and if you want to change this for all registred accounts, there's a maintenance script [17:54:37] ialex, remember which one it is? [17:54:43] Jack_Phoenix, thx [17:55:08] Wiredtape: userOptions.php [17:55:14] np :) [17:55:25] ialex, is that an updater for all userOptions? [17:55:47] open the file and read the doc ;) [17:56:45] ialex, thanks :) [17:56:56] np :) [17:57:30] i want to ask, how would you do creation of tables for extension? [17:57:57] cause i see many ways in extension svn repo how they do it. [17:58:35] hurm... [17:58:38] http://download.wikimedia.org/mediawiki/1.12/mediawiki-1.12.0.tar.gz [17:58:40] d'oh. [17:58:43] PHP Fatal error: Class 'DOMDocument' not found in /var/www/cjac/mediawiki-1.12.0/includes/Preprocessor_DOM.php on line 566 [17:58:52] that's better... wrong buffer the first time :) [17:59:04] !DOMDocument [17:59:04] --mwbot-- If the DOM_Document class is missing, install PHP's XML module (and restart Apache) or set $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash' (see for details) [17:59:10] danke [17:59:58] Gali, just send a php mysql request.. [18:01:10] 03ialex * r33984 10/trunk/phase3/includes/ (Article.php Xml.php): [18:01:10] bug fixes: [18:01:10] * Be sure that article name is escaped when outputing a redirect page [18:01:10] * Mark Xml::buildForm() as static [18:04:02] Wiredtape: but question is how, create special page for quering SQL creation of tables, or stanalone, or as..... [18:06:13] Gali, well.. that completely depends on you doesn't it? As a note of warning: it would be a major risk to have a special page which gives direct access to mysql... [18:19:11] Wedna: just a question for CentralAuth: shouldn't the link "Member list:" on Special:GlobalUsers go to Special:GlobalUsers and not Special:Listusers ? [18:19:17] *Werdna [18:20:29] ialex: Use tabcomplete :) [18:20:39] str4nd: maybe ;) [18:21:54] and the link is on Special:GlobalGroupPermissions [18:21:57] *sigh* [18:26:20] 03aaron * r33985 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: XHTML [18:32:19] How can I edit the current themes' css from mediawiki? [18:33:51] matthew: for single users, users of skin, or all users of the site? [18:34:04] there are .css wiki pages in the MediaWiki: namespace [18:34:16] the skin for a wiki... I remember it is in the database [18:34:34] MediaWiki:skinname.css [18:34:39] what skin? [18:34:43] ok.. yes.. that rings a bell... [18:38:56] 03(mod) Setup new groups in no.wikibooks and access to Special: Userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13853 (10herman) [18:38:59] i need some help with mediawiki, I'm getting a permissions issue whenever I try to create a thubnail. [18:39:13] anybody here? [18:40:02] were here.. [18:40:09] what permissions issue? [18:46:37] That was wery short coffee break. [18:52:07] Hi, i'm with a problem when uploading images. The image reach the serv, but i got a 403 (forbidden) error when try to open it. [18:52:24] i also have this error with tex-generated formulas. [18:53:34] jrenan: Permissions wrong on the image directories? [18:53:48] No, /images is alredy 755 [18:54:31] but the created file is always 644 [18:54:50] jrenan: are you using rewrite rules for short urls? [18:54:52] 03raymond * r33986 10/trunk/ (4 files in 4 dirs): Localisation updates German [18:55:14] (sorry, not 644, but 600) [18:55:51] that an be a problem if you are using suphp [18:55:58] Duesentrieb, i don't know. [18:56:04] I'm using php [18:56:07] well, if you didn't set it up, you don't- [18:56:31] err. yes, you are using php. either modphp or suphp or phpcgi [18:56:51] I didn't set the server up, just the wiki. If i phpinfo(), will i get this information? [18:57:33] about suphp yes, i think. about rewrite rules, no. but files being created with 600 permission under suphp sounds the likely cause [18:57:52] http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security [18:58:04] "If using suphp, make sure the umask is set to 0022 (or less) in /etc/suphp.conf." [18:58:17] if you are using suphp, task to the sys admin about this [18:58:37] Ok, thanks. I'll find if i am or i'm not using suphp. [18:59:13] "Server API CGI/FastCGI" [18:59:15] suphp means that the php script is running under a different user than the webserver. which is often the case for sharesd hosting places. [18:59:29] it also means that the webserver can't read a file that php creates with 600 permission [18:59:46] huh... nut entirely sure what suphp will report as. [18:59:52] *not [19:00:51] jrenan: are you getting the error when trying to access the actual file, or the files's description page? [19:01:16] The actual file. [19:01:22] brion [19:01:24] we need to talk [19:01:45] jrenan: Is the upload directory owned by the user web server runs as? [19:02:02] No, but it has read-access. [19:03:24] The upload is made, the files are in place.. but with chmod 600 tale . [19:03:40] Duesentrieb, Hi, long time no see... was wondering if there's a way (already written) to remove "Category:" from your categorytree extension? (remove the Cat namespace from the name of the link) [19:04:04] Wiredtape: no there isn't. unless you show only categories. then the prefix is never shown. [19:04:21] i'm still busy with my thesis, so i'm not going to mess with it anytime soon.. [19:04:36] 03raymond * r33987 10/trunk/phase3/ (3 files in 2 dirs): Remove 'emailconfirmed' related messages per removal of this group with r33800. [19:04:38] jrenan: is the file owned by the apache user, or some other user? [19:04:49] jrenan: if it's owned by apache, 600 should be enough... [19:04:52] Duesentrieb, ok, thanks.. [19:05:10] Wiredtape: people keep asking about it... i wonder why noone hacks it :) should be trivial enough [19:05:12] Duesentrieb, other user. [19:05:42] jrenan: that would imply php is running under that other user... which in turn points at suphp. i don't know another way to let php run under a different uid. [19:06:12] Ok... i'll talk with the admin. [19:06:17] basically, you need to change the umask used by that user. which, for suphp, is done in /etc/suphp.conf (depending on distribution i guess) [19:07:43] Duesentrieb, when I use the texvc command the generated file is not 600, is 644. [19:08:44] Duesentrieb, they keep asking about removing "category:" ? [19:09:26] jrenan: when you do it how? from the command line, or via php? [19:09:42] Wiredtape: yes, see the talk page of the extensionj [19:09:45] command line. [19:10:00] jrenan: yea. suphp uses a separate umask [19:10:27] jrenan: write a php file that does exactly what you did on the command line. call it from your browser. observe results. [19:10:29] Duesentrieb, heh, didn't know it was a usual request :) let me hack it quickly and send you a patch? [19:10:38] [19:10:45] (those are backtics, not apostrophes) [19:11:13] I'm not very good at php Duesentrieb, how do i make it runs texvc? [19:11:21] Wiredtape: i'm not committing anything until me thesis is done. that extension is live, so i need to test extensively before committing... [19:11:42] jrenan: see the bit above. just put any command line between backticks. [19:11:54] ok. [19:12:16] Duesentrieb, ok.. so i'll just put the fix in the discussion page.. this really shouldn't be that big of a deal :) [19:12:41] jrenan: or use passthru("your command here"), so you see any output. [19:13:21] Wiredtape: the tricky bit is passing the parameter via ajax to all bits that get loaded, and getting cache keys right with that, etc [19:14:14] 03nikerabbit * r33988 10/trunk/extensions/GlobalBlocking/SpecialGlobalBlockList.php: * Let grammar work now that the message has {{SITENAME}} [19:14:52] Duesentrieb: (without looking at the code) i thought i would just strip the category: after all the db stuff loads with a simple string search.. [19:15:49] but let me see what i'm talking about first [19:15:50] Wiredtape: a) you need the localized category name b) prefixes donÄt come from the database c) you need to make that optional. c) is the really tricky bit, because of the ajax brouhaha [19:17:11] Duesentrieb, ok let me just take a look :) [19:17:14] hi all - I recently upgraded from 1.7 to 1.12, and the content edit box is now only 2 lines high in IE (works fine in Firefox)... any ideas? [19:18:08] bdwelle, css issue? [19:18:30] Duesentrieb, it's a chmod600 file. [19:18:38] (the one generated with php) [19:20:07] jrenan: so you have a minimal test case for your problem now, and a suggested cause and a suggested fix. go talk to your sysadmin :) [19:20:40] thanks a lot.. [19:20:46] Wiredtape - hmm. The edit textarea says rows='25' cols='80' in FF, but rows='0' cols='0' in IE [19:23:39] bdwelle, are you using a custom skin? [19:23:39] 03(mod) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 (10cbrown1023) [19:24:18] using default/monobook [19:27:26] bdwelle: are you logged in in both browsers? [19:27:52] digging... I see $rows is set from $wgUser->getIntOption( 'rows' ); [19:28:07] indeed [19:28:10] it is a user option [19:28:21] and if you are logged in in one and not in the other, that would explain the zeros above [19:29:45] 03(FIXED) Set a new logo on Yiddish Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13870 +comment (10jeluf) [19:30:28] which comes from wgDefaultUserOptions... but why would this be coming back different for IE? [19:31:15] bdwelle: well, both in IE and FF: what appears in p-personal? your username or a login link? [19:31:55] sorry, what is p-personal? [19:32:17] I am logged in in both browsers... [19:32:18] the personal toolbar, top right of the screen above the action tabs [19:32:26] right, I have a username there [19:32:26] logged in as the same user? [19:33:36] aha! different user... [19:34:02] so check the prefs on that user, go to [editing] tab in prefs ^_^ [19:34:42] 06(LATER) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 +comment (10jeluf) [19:35:32] gotcha... ok... for user with edit box _not_ working, those prefs are blank [19:35:45] Duesentrieb, you mind peeking real quick at: http://rafb.net/p/27bTqb54.html and telling me if i understood $label correctly? [19:35:54] shouldn't wgDefaultUserOptions take precendence then? [19:36:52] bdwelle, depends on when defaultuseroptions was set and when the user was registered... [19:37:08] Wiredtape: yes, but why get the prefix in the first place if you donÄt want it? $title->getText() gives you the title without the namespace prefix. [19:37:25] I mean wgDefaultUserOptions in DefaultSettings.php [19:38:36] Duesentrieb, because perhaps someone didn't set mode to cats or $wgCategoryTreeOmitNamespace ... (Like in the case of mode=pages or mode=all) [19:39:46] Wiredtape: huh? if ( $wgCategoryTreeOmitCatNS == True ) ... $title->getText() ... else ... $title->getPrefixedText() [19:39:59] avoid string magic. string magic is bad. [19:40:48] ok.. also possible of course :) [19:42:02] I see in the FAQ that "In some cases, after you change a default user preference, you may also want to change the user preferences of all existing user accounts." [19:42:28] bdwelle: thereÄ's a maintenance script for that [19:42:50] where? [19:43:00] looking... [19:43:24] in the maintenance dir, whre they all are [19:43:24] Does $title->getNamespace return a number or a string? [19:43:30] i think it's called setUserOption or some such [19:43:40] Wiredtape: a number, i think. read the source :) [19:43:52] Wiredtape: probably a number as a string [19:44:13] *Duesentrieb eyes Nikerabbit [19:44:53] Duesentrieb: warum? [19:45:10] why would it be a string? it comes from anumeric field in the db, no? [19:45:13] bdwelle, the maintenance script is userOptions.php :) [19:45:33] yeah, found it... trying shortly [19:45:39] it's a number .. [19:45:53] whether string or not, doesn't matter :) [19:46:01] Duesentrieb: because X === NS_TEMPLATE doesn't work :o [19:46:18] >_< [19:46:25] it never works, or it doesn't reliably? [19:46:33] *Duesentrieb hates php's sloppyness [19:50:05] Duesentrieb: http://rafb.net/p/bCizHA18.html -> that should be it.. of course i could improve all those redundant if's :) [19:50:10] ok, thx, that maint script worked! [19:50:30] am I to understand that the default settings only apply to newly created users? [19:50:52] bdwelle, yes.. as settings are saved in db.. :) [19:51:09] you wouldn't want the server to override users choices would you? [19:51:53] I hear you, but if the user settings are null, it would seem that the "default" settings would apply [19:51:58] Wiredtape: looks ok on first glance, and if you don't allow it to be a per-use option, you avoid the complexity of passing options around with ajax too. [19:52:18] s'ok... probably has something to do with how I am creating users... (under the covers, linked in from another system) [19:52:43] thx for the help, Wiredtape & Splarka [19:52:44] Duesentrieb, :) -> i'm still not sure if $ns is checking correctly or not, but worst case is change the if to NS_CATEGORY... [19:52:49] bdwelle, np [19:53:01] ör [19:53:15] isn't if ( X == true) redundant [19:53:29] Nikerabbit, is it possible to edit the footer of a site? i.e. the part where it says About {{SITENAME}} Disclaimers, etc? [19:53:44] everything is possible [19:53:57] :-) [19:54:00] kibble, those are system messages.. go to Special:Allmessages :) [19:54:06] Wiredtape, I don't see it there [19:54:21] Wiredtape, if you find it, I'll give you a cookie [19:54:27] a cookie :) [19:54:34] the thing you are asking requires local modifications to skin though, if you want to add links [19:54:52] kibble, what exactly do you want to do? [19:55:04] Nikerabbit, okay [19:55:06] Wiredtape: you should check against NS_CATEGORY, hardcoding magic numbers is bad. 14 == '14' in php [19:55:14] Wiredtape, I don't... someone else was wondering :-) but Nikerabbit just said it [19:55:17] Wiredtape: however, not 14 === '14' [19:55:25] :o [19:55:26] and I'm sure c-ary can bother br-ion if he really wants it done [19:56:08] Duesentrieb, yeah, that's why i said whether it's a string or number didn't really matter.. i'll switch to NS_CATEGORY, and post this to the discussion page [19:56:10] that paste could use some reformatting to used styles :o [19:56:32] Wiredtape: make sure to initialize $wgCategoryTreeOmitCatNS along with the other config vars [19:56:41] and make a proper patch [19:57:40] Duesentrieb, where should the patch go? [19:57:47] on the talk page [19:58:02] or attache it to the bug report, if one exists. [19:58:18] does mw.org accept uploading zips/rars? [19:58:29] no. what for? [19:58:42] so you want just a text patch? [19:58:50] sure. nice and readable. [19:58:56] k.. :) [19:59:01] bugzilla even colors it nicely [19:59:08] haha, zip diffs, that's a new one [19:59:45] a zip of that patch would probably be larger than the original [20:05:20] 04(REOPENED) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 +comment (10lar) [20:06:35] How can I link to an external image and show the image in the wiki page? [20:07:29] http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages [20:10:35] bryanl: I think I got another Bug with the category members api: http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:Wikipedia:Quellen%20fehlen&cmsort=timestamp&cmdir=asc&cmlimit=1&cmprop=title&cmstart=20060624022423 [20:11:20] mau [20:11:21] Oh, hrm .. that's not right .. [20:12:35] Where can I learn the extensions employed by wikipedia? [20:12:44] http://en.wikipedia.org/wiki/Special:Version [20:13:01] specifically: http://en.wikipedia.org/wiki/Special:Version#Installed_extensions [20:13:24] (the ones with credits anyways) [20:16:05] dorjepy: if you want to check all sites at once, see http://noc.wikimedia.org/conf/CommonSettings.php.html for the actual extension logic [20:16:27] for example, timeline is on all by default: [20:16:27] include($IP.'/extensions/timeline/Timeline.php'); [20:17:04] but some are conditional based on the db name, etc: [20:17:08] if ( $wgDBname == 'testwiki' ) { [20:17:08] include( $IP . '/extensions/PovWatch/PovWatch.php' ); [20:18:31] codeispoetry: Huh .. it seems to be working for me correctly on HEAD [20:19:04] amidaniel: o_O? [20:19:17] that's interesting [20:19:28] Yah .. I don't see anything that's changed since the last scap though [20:20:41] Ah, wait, no it's not [20:20:43] Hold up [20:21:00] Hmm .. that's odd [20:21:13] jep? [20:22:34] Ah, I think I might see the problem [20:22:37] Just a sec [20:23:03] 03(mod) Option in categorytree-tag to hide Category-prefix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8019 (10bredtape) [20:23:51] Wait .. no ... hrm... [20:23:52] *amidaniel stabs [20:23:59] 03(mod) Option in categorytree-tag to hide Category-prefix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8019 (10bredtape) [20:24:58] It *looks* right to me ... so why isn't it working? [20:25:20] It fetches limit + 1 rows, returns the cl_timestamp of that row as the cmstart and breaks from the loop [20:25:29] Exactly as it does for cmcontinue, which works [20:25:36] normally it works ;-) [20:26:00] 03(FIXED) Option in categorytree-tag to hide Category-prefix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8019 +comment (10bredtape) [20:26:17] Duesentrieb, ok.. done :) [20:26:24] codeispoetry: Was this working before? [20:26:27] Or in another query? [20:27:33] yes, it worked even for this very category [20:27:49] this is the first problem since bryan's fix [20:27:50] O rly? When about? [20:29:20] Ah, found it [20:30:51] Gahh, I gotta run .. I'll be back in a bit [20:35:10] =\ [20:36:55] MinuteElectron, are you ok ? :D [20:41:50] *Wiredtape wishes mootools was already easily integrated into mw.. and he wouldn't have to do it all by himself :-< [20:51:02] Well, here's your problem: http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:Wikipedia:Quellen%20fehlen&cmsort=timestamp&cmdir=asc&cmlimit=2&cmprop=title|timestamp&cmstart=20060624022423 [20:51:34] Multiple entries all with the same timestamp [20:52:14] intended behaviour? [20:52:26] "intended" [20:52:33] Not umm .. ideal, though [20:53:10] Trying to think how this can be made to work as expected ... [20:55:02] Do we have to use cmstart as the continue arg? Couldn't we just use cmcontinue? [20:56:19] amidaniel: cmcontinue ist afaik deprecated ;) [20:56:51] it is? [20:57:17] That's still the continue param returned for all cm queries not sorted by timestamp ... [20:57:17] perhaps sub-timestamp precision is needed, heh [20:57:26] Splarka: Yeah, that's what I was thinking :) [20:57:32] Something like timestamp + offset [20:57:43] But that gets ookie [20:58:12] well, perhaps [20:58:19] Yeah [20:58:22] in query-continue [20:58:34] Bah! [20:58:35] But it's still ookie [20:58:36] then one returns both [20:58:37] Humbug! [20:58:42] Wiredtape: ? [20:59:25] so, how many category members can be added in a second, theoretically? [20:59:38] *Wiredtape is dissatisfied by something completely irrelevant to your conversation. Sorry to interrupt amidaniel :) [20:59:55] Splarka: I don't see why that number would be finite :) [21:00:01] damn [21:00:11] well, there are other timestamps associated no? [21:00:18] Looking [21:00:21] how about the timestamp of the last edit to the category member, or first edit [21:00:22] or last touched [21:01:03] All we have to work with are cl_from, cl_to, cl_sortkey, and cl_timestamp [21:01:31] *Splarka whispers "schema change" [21:01:45] psssst [21:01:47] ;) [21:02:17] but it isn't all bad... the ucuserprefix query-continue is much more unusable [21:02:23] You're looking for a number to distinguish between categories? [21:02:33] cl_from is obviously going to be unique for a given cl_to, so we *could* pass in a timestamp and a pagename [21:02:38] But the query gets a little ugly [21:02:57] why not the id+timestamp of creation? [21:03:04] And I'm not sure we're guaranteed that sql will spit them out in the same order either [21:03:14] Wiredtape: That's what I was thinking [21:04:00] So what if we have too pages Foo and Bar, created at the same time. On the first query we get back foo with a continue timestamp and another continue param "Bar" [21:04:13] amidaniel, :) doesn't seem like an ugly query to me ... [21:04:56] If we add a page Gah to the mix, created at the same time, there's no guarantee that on the next sql query Gah won't be consider above "Bar", so we might never get to it ... [21:05:13] (Seeing as we're sorting by timestamp, not page name) [21:05:24] And we need to guarantee that we get exactly 'limit' items back [21:05:30] *amidaniel scratches head [21:05:42] isn't id assigned by creation? [21:05:48] go alphabetically by the date added to the category? [21:05:50] that will always be sequential no? [21:05:59] ohh.. [21:06:00] (reason being: time travel is hard) [21:06:02] Wiredtape: It's not an id [21:06:06] It's a varchar title [21:06:17] Splarka: But if they're the same :) [21:06:25] We could sort by cl_from and cl_timestamp though [21:06:38] ami: so resolve disputes for the same second upon add ^_^ [21:06:48] *Splarka hides [21:06:56] hehe [21:07:30] Well, rather than try to haxxor this code I'm not particularly familiar with, I think I'll just post a bug for Roan :) [21:08:13] *Wiredtape is going to drink some "Cozy Chamomile" tea :D [21:08:40] query-continue my wayward son, there'll be peace when you are done, lay your query head to rest, don't you api no more... [21:09:45] Splarka, lol [21:09:47] *amidaniel loves Kansas :) [21:10:19] the country of the band? [21:10:24] s/of/or [21:10:37] s/country/state [21:10:38] when a coder loves a codemonkey [21:11:23] rainman-sr: The band :) [21:12:36] amidaniel, the old, or the new one? [21:14:55] rainman-sr: O.o [21:14:58] There's a new one? [21:15:40] hm, maybe i'm imagining it.. it's with a female vocalist, nothing like the '70 thing [21:16:53] 03(NEW) cmstart as continue param when muliple categories have same cl_timestamp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13871 minor; normal; MediaWiki: API; (cannon.danielc) [21:17:01] *amidaniel hates writing bug descriptions [21:17:08] [[wp:en:Kansas (band)]] - 19852013present: Reformation and touring [21:17:12] Usually easier just to fix em without explaining em :) [21:17:35] 2013? [21:18:20] 2013? [21:18:28] http://en.wikipedia.org/wiki/Kansas_%28disambiguation%29 .. I don't see any "new" band ... [21:18:35] [[wp:en:Kansas (band)]] - 1985 2013present: Reformation and touring [21:18:43] your client did something funny to the dash I guess [21:18:56] looked like you were being prophetic [21:19:28] where do you see that? hehe.. (all i see is 1985-present) [21:19:38] amidaniel: thank you [21:20:39] Wiredtape: http://tools.wikimedia.de/~amidaniel/chanlogs/%23mediawiki/20080428.txt at [21:17:08] [21:20:58] amidaniel, hm, i must be imagining it then... [21:21:00] 03(mod) cmstart as continue param when muliple categories have same cl_timestamp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13871 (10N/A) [21:21:29] ahh, U+2013 is the en dash [21:22:03] Eww .. I really need to write some kind of an interface to search through those [21:22:06] That's just awful [21:22:32] heh [21:22:34] Splarka, yeah , i just looked that up as well :) [21:22:44] ami: how about a grepindex [21:23:10] eg: a grep search tool that returned results as anchored referrers [21:23:13] I wonder if I could teach the bot to do the searching for us :D [21:23:23] @search 2013 [21:23:23] --mwbot-- Results: [] [21:23:27] Or something :) [21:24:03] splarka could you repost the link for the log? [21:24:25] meh, I'll probably just give you a search box that spits out the output of grep :P [21:24:37] Wiredtape: 15:20 < Splarka> Wiredtape: [21:24:39] Woops [21:24:46] http://tools.wikimedia.de/~amidaniel/chanlogs/%23mediawiki/20080428.txt [21:24:49] so you could grep for 2013, get the returned results, one of which was a link to http://tools.wikimedia.de/~amidaniel/chanlogs/search.php?line=12345&file=%23mediawiki/20080428.txt#_21_17_08_ [21:25:07] (the reason being, you could link someone to the exact spot in the log without having to paste or ctrl-f) [21:25:08] thanks [21:25:15] Yeah, that'd be nice [21:25:30] *amidaniel adds it to his todo list [21:25:47] also: cure cancer, negotiate world peace, disarm wikimedia shellers of their knives [21:26:00] are these logs spider'd by google? [21:26:04] Wiredtape: No [21:26:29] amidaniel, yay :) Wiredtape can continue using his nick ... [21:26:36] hehe [21:27:22] i wonder why when i typed 1985-present the second time, it didn't do it... [21:28:04] Did you maybe do a -- or something? [21:28:13] That put in a dash instead of two hyphens [21:28:30] 03(mod) Install SpamRegex for en.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13811 normal->high; +comment (10happy_melon) [21:28:31] i did: - 1985-present: [21:28:43] Hm [21:28:50] Get yourself a better client :P [21:29:03] this is the java pjirc client :) ( i don't use this usually ) [21:29:13] it's from when i am away from my own comp [21:29:55] did you copy from the

or the TOC? [21:30:03] the h2 [21:30:11] ha! [21:30:18] Smart Splarka :) [21:30:41] well, it shouldn't actually make a difference.. [21:30:46] although: [21:30:47] ===1985–present: Reformation and touring=== [21:30:59] silly wikiwriters [21:32:07] – [21:32:13] Does that look screwy to anyone? [21:32:25] amidaniel: no [21:32:40] Alright, well, that's an – [21:32:45] but then again, when i pasted it originally, i didn't see the 2013 either... [21:32:48] Looks fine here .. not at all what you sent [21:33:17] amidaniel: this is from your log: â20ac201c [21:33:20] yah, that's proper unicode (oxymoron) [21:33:28] that isn't ^_^ [21:33:34] Greetings. I'm having some weird problems in here: If I access my wiki with the default language (pt-BR) my user (which is a member of sysop) can't see the edit link. If I change the language to English in the preferences and go back to the article I see the link... Any ideas? [21:33:37] No, no it isn't :) [21:33:57] Splarka, amidaniel, yes it is.. i'm looking at it with my own eyes... [21:33:58] mwbot's using UTF encoding though, so it's not his problem .. and it looks screwy to me on my client as well [21:34:09] amidaniel: this is from your log: â  2 0 a c  2 0 1 c [21:34:10] UTF-8 that is [21:34:35] Wiredtape: What's your character encoding? [21:34:37] Splarka, lol, thats different of course from what i typed :) [21:34:46] UTF-8 [21:34:47] Wired: I simply escaped it... [21:35:02] Wiredtape: Well that's not UTF-8, so it shouldn't look right :) [21:35:35] final conclusion: PJIRC isn't a great client.. [21:35:44] heh [21:35:46] Hehe [21:36:26] ZaphodBeeblebrox, perhaps you changed the systemmessage that correspondes to "edit" in your lang? [21:36:51] Wiredtape: I didn't but something like that crossed my mind. Where can I check that? [21:36:52] per the original 2013: [21:36:56] 31 39 38 35 1E 32 30 31 33 70 72 65 73 65 6E 74 [21:36:56] 1 9 8 5 ? 2 0 1 3 p r e s e n t [21:37:58] 03aaron * r33989 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Check isEmailConfirmed() [21:38:19] and amidaniel: this is from your log: E2 1E 32 30 61 63 1E 32 30 31 63 [21:38:46] ZaphodBeeblebrox: Special:Allmessages [21:38:59] 03(mod) Change default robot indexing behaviour for several namespaces - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13864 -shell ; +comment (10jeluf) [21:39:20] Wheee ... 11 bytes to represent one character :) [21:39:43] Splarka, you've really delved into this haven't you ? :) [21:40:12] Wiredtape: I only see Special:Allpages [21:40:12] 1E = record seperator in ASCII ... [21:40:16] well, it is interesting watching the corruption cascade from your browser to your irc client to ami's bot to my browser to my hex viewer [21:40:32] Woops, gotta run again ... talk to you all later [21:40:33] and of course the second time... through your browser and irc client *again* [21:40:37] Splarka, it is very interesting :) [21:40:39] Wiredtape: System messages, perhaps? [21:40:55] ZaphodBeeblebrox, yes, and put on your other head too.. [21:41:03] does it only speak french? [21:41:11] it's a long list, so you'll need them both [21:41:45] Wiredtape: Sorry I'm *very* new, so what exactly should I do? (Aside from RTFM, of course ;)) [21:43:00] ZaphodBeeblebrox, you should look in Special:System_messages, and look for 'edit' and see what it says (or in whatever language you work in) [21:43:18] k, just a sec [21:43:39] Splarka, so what are you doing these days.. ? what are you working on? [21:44:29] nada really, just javascripts on demand when bored [21:45:03] Splarka, are you bored now? :) [21:45:27] uhoh [21:45:43] provisionally [21:46:36] Wiredtape: I'm using english right now. I don't see Special:System_messages on the list [21:47:53] hehe, wanna help me with getting mootools framework to work with mw? or a much simpler thing would be to help me write a small ajax faq script.. (i want to allow people to answer/ask questions on the fly on any article).. (help would be greatly appreciated :) ) -> i'll give you a hot air baloon .. [21:48:05] ZaphodBeeblebrox, go to Special Pages in the tool box [21:48:15] near the bottom you will see system messages [21:48:22] in system messages search for edit [21:49:11] what are 'mootools' ? [21:49:47] Wiredtape: Ok, searched. What now [21:50:08] Splarka, just a nice framework for javascript, nice transitions, effects and imo nice ajax methodology) [21:50:18] ZaphodBeeblebrox, what does it say under edit? [21:50:28] does it say Edit? or edit? or something else? [21:50:32] *Splarka shudders a bit [21:50:56] Splarka, you can do it! :) [21:51:50] MediaWiki:Edit/pt-br ? [21:51:55] Wiredtape: I have an entry saying "edit (new line) Talk" on the left column and "Edit" on the right column [21:52:00] Is that it? [21:52:50] ZaphodBeeblebrox, and right now you are working in english? [21:52:55] Yes [21:53:00] is it possible to filter out two namespaces at once on recent changes? [21:53:08] So I should take a look using pt-BR right? [21:53:15] yeah [21:53:19] kk [21:53:26] Getting the hang of it! :) [21:54:48] Wiredtape: Ok, I see it and the value on the right column is the pt-BR translation of the term "Edit" [21:56:40] ZaphodBeeblebrox, ok, so did you say the entire tab disappears or only the text in it? [21:58:08] I see a "View code" tab, which says I don't have permission and the text on the Article tab itself (since it has no text, in english it shows "Edit ... bla bla" disappears [22:00:31] ok.. and you're a sysop on this site? [22:00:56] Yes. I've registered a second user to test it [22:01:05] and assigned this user to the sysop group [22:01:09] cleaned the cookies [22:01:16] and logged in with "him" [22:01:44] and? [22:02:04] And this happens: [22:02:07] I see a "View code" tab, which says I don't have permission and the text on the Article tab itself (since it has no text, in english it shows "Edit ... bla bla" disappears [22:02:42] ok.. [22:02:54] so maybe this page is protected at bureaucrat level? ( [22:03:16] How can I check this? [22:03:39] Oh, no, it's not this [22:03:40] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [22:03:54] since I also added this user to the bureaucrat group [22:04:00] ZaphodBeeblebrox, than i don't know.. [22:04:04] sorry i couldn't help [22:04:26] No problem, thanks a lot for trying :) [22:04:33] np [22:04:33] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [22:04:56] well.. i'm off.. see you all later [22:11:58] 03(NEW) In r33988 disabled fallback for extensions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13872 15enhancement; normal; MediaWiki: Internationalization; (alefzet) [22:13:22] 03(mod) In r33988 disabled fallback for extensions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13872 (10alefzet) [22:22:18] How do you link to an external graphic? (so it shows on the page) [22:22:31] !externalimages [22:22:31] --mwbot-- To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [22:38:39] whats the syntax of that thing [22:38:51] where I do {{wiki:blah}} or something [22:39:06] and it makes it into a link to en.wikipedia.org [22:43:17] hello [22:43:36] interwiki link? [[w:blah]] ? [22:43:36] I'm trying to change the default skin, can you tell me where the php executable is? I'm using debian sid [22:43:46] bitbit: is this on wikimedia or elsewhere? [22:44:20] it's wikimedia software, but not ON wikimedia [22:44:34] mediawiki software then? [22:44:35] according to http://www.mediawiki.org/wiki/Manual:Skin_configuration I shall run userOptions. but there is no php executable link [22:44:45] sec [22:45:58] [[w:blah]] doesn't work [22:50:25] Hello, I'm using MediaWiki 1.6.8 and I have rights management problems [22:50:36] bitbit: well, yes, which is why I asked if this was on wikimedia [22:50:38] ok it was [[Wikipedia:blah]] [22:50:44] w: is set up as an interwiki [22:50:47] bitbit: where is this? [22:50:56] I would like users to be able to edit only one namespace, but not others [22:51:01] cookiepedia (; [22:51:05] interwiki tables are not intrinsic to mediawiki, they have to be configured [22:51:08] is that on wikia? [22:51:19] no, it's a new project [22:51:24] cookiepedia.nfshost.com [22:51:32] right [22:51:51] anyway, interwiki tables are customized and customizable for each installation [22:52:08] 03(WONTFIX) cmstart as continue param when muliple categories have same cl_timestamp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13871 +comment (10roan.kattouw) [22:52:23] seems yours had Wikipedia: set up as an interwiki alias to en.wikipedia but there was no way for us to know that ^_^ [22:52:26] what's interwiki tables exactly [22:53:59] at end of "LocalSettings.php", I added instructions pasted here : http://rafb.net/p/oBkqZ096.html [22:54:12] But it doesn't work.... [22:54:24] bitbit: http://meta.wikimedia.org/wiki/Interwiki_map for example, is the one run at Wikimedia [22:54:48] Either the user is able to modify everything if I a let "$wgGroupPermissions['MW_contrib']['edit'] = true;" [22:55:02] Or he can't modifiy anything if I comment this line [22:55:09] that means, if you prefix something with aew: in a link the link changes to http://wiki.arabeyes.org/$1 where $1 is replaced by the link after the colon [22:55:37] It's like if Mediawiki don't understand wgNamespaceProtection instruction... [22:55:54] Any idea about this problem, please ? [22:56:24] oh i see [22:57:32] MarineW: yes, you are running a horribly outdated version of MediaWiki. all of the things you just mentioned are for later versions [22:57:46] thanks for the help! [22:58:15] if you have PHP 5, I'd recommend updating to 1.12.0, otherwise I'm not sure if there is anything that can help you [22:58:47] Skizzerz: thanks for reply. I was affraid to have to upgrade... :-( [22:58:58] it's not that difficult [22:59:01] !upgrade [22:59:01] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [22:59:46] basically thus: 1) backup database 2) upload the files 3) run the update.php maintenance script [23:00:12] even with such an old version, it will work ? [23:04:21] Upgrade Release-note speak about mirgating from 1.6 wikis... So, that should work [23:04:34] Thnaks again for quick reply. [23:15:23] 03(NEW) Book notes by page, paragraph and line for a particular ISBN - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13873 15enhancement; normal; MediaWiki extensions: Cite; (basilwhite) [23:17:52] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [23:37:58] hi, could someone help me please? [23:48:29] Has this channel always been without ChanServ? [23:52:19] Soxred93, yes, like most channels on FreeNode. It's not really necessary at all. [23:52:31] Hmm, I never noticed it. [23:52:39] This is the only one without. [23:53:05] Um, no. [23:53:10] #wikipedia doesn't have it, for instance. [23:53:17] #wikimedia-tech. [23:53:29] #math. [23:53:38] #not-math [23:54:04] Etc. [23:54:09] Really, it serves no purpose. [23:54:40] I'm not in any of them [23:54:40] on smaller channels it does, keeps the soft topic and soft modes if everyone leaves [23:55:09] but if the channel will never be emptied, not much use [23:55:47] I'm in #wikipedia-BAG, #hrwiki, #pywikipediabot, #wikimedia-toolserver, #wikipedia-en-help, #wikipedia-en, #wikimedia-ops, all which do not seem that they will ever lose everyone [23:56:04] could one of u help me with infoboxes? [23:58:18] Greetings. If I'd wish to make all pages protected from "regular users" by default what should I do? Set $wgNamespaceProtection['*'] = array('sysop'); ? Thing is I want to allow regular users to create and edit talk pages, but don't allow them to edit the article itself [23:59:20] I mean, is there a "general" namespace? [23:59:38] no one wants to help here....ive been trying to get help for 30 minutes [23:59:42] no responses