[00:00:20] Wiredtape: if there was an easy-to-plug-in version of wikidata... yes. but semantic mw? not really [00:01:02] sure, you could have a computer calss, and a building class, and have a is-in relation, and then use that.... but it seems like an ill fit [00:02:03] Duesentrieb: well couldn't we have one category called "computers" and then have the pages pull information from the computer pages, accepting only listings that have "building1" [00:02:07] Duesentrieb, right, however, perhaps creating a new type and assigning these ip's as properties on a page/pages/categories could allow more use to the data [00:02:46] emily_: you probably could do that too - but having one category per building feels natural to me (in addition to a "computers" category - or even a namespace) [00:03:18] Wiredtape: maybe. i havn't looked into how semediawiki handles properties [00:05:29] brion: looks like the issue is in Special:Export. Apparently it doesn't work for ns8 if you aren't logged-in as a sysop. [00:05:43] o_O [00:05:54] BrokenArrow: can you show me an example? [00:06:02] Duesentrieb: yes but I was thinking...what if I wanted to filter based on a different criteria in the future? If I only one one page with all computers then I'd only have to update that one page and it would still work. If we decided to filter on five different things, I'd hate to have to remember to update 5 pages every time I intalled a new computer. [00:06:45] you wouldn't have to either way [00:06:59] category pages update automatically. you nearly never edit them. [00:07:08] Duesentrieb: can you join #mediawiki-scripts [00:07:28] Duesentrieb: oh! nice! well then if I create a new page for a new computer, how does it know to add it to the category page? [00:07:34] for each comuter you add, you have to specify all the criteria on that computer's page - as categorization and/or template parameters. [00:07:53] brion: I tried exporting MediaWiki:Common.css from it.wiki - while logged in I get the full page text, when I log out I only get the namespace description. [00:08:01] emily_: to add a page to category foo, you put [[Category:Foo]] on that page. [00:08:10] Duesentrieb: ahh! got it! [00:08:20] AzaTht: yes, but what for? [00:08:43] wait [00:08:59] alright, i'm gonna go mess aroudn with all this...thank you so much Duesentrieb. [00:09:18] it was a duplicate including on a gadget [00:09:20] freaky [00:09:21] inclusion* [00:11:24] BrokenArrow: woooooooow that's weird :D [00:11:24] It is indeed [00:11:26] i'l take a peek [00:11:39] brion: thanks - no bug needed, then? [00:12:04] if( !$title->userCan( 'read' ) ) continue; #TODO: perhaps output an tag or something. [00:12:09] Duesentrieb: no problem [00:12:14] kk [00:12:15] ^ that's the issue, but it _looks_ ok [00:12:51] hehe... i wrote that... [00:13:26] but userCan( 'read' ) is the correct check. if it returns false when it shouldn't... well, then it's broken, i guess :) [00:13:43] got i hate this permission shit :D [00:13:59] me too [00:14:26] ok... looks like getUserPermissionsErrorsInternal is wrong about read permissions [00:14:28] bleh [00:17:07] 03(NEW) Special: Export only works for sysops in MediaWiki namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12793 minor; normal; MediaWiki: Special pages; (broken.arrow) [00:17:21] bugged it for the record [00:17:57] "=_ o [00:18:02] psh what was that! [00:18:08] fingers on wrong keys :-p [00:19:42] Duesentrieb: Sorry, I thought of another question *blush*...given my previous example...what if I wanted to have a dpl that listed all servers in building A, with thier corresponding IPs? [00:19:47] 03brion * r30160 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialExport.php): [00:19:47] * Fix for restricted namespaces/pages in Special:Export [00:19:47] userCan('read') and userCanRead() DON'T RETURN THE SAME RESULT. [00:19:47] WHAT THE HELL [00:19:47] JESUS CRAP [00:19:48] NOOOOOOOOOOOO [00:19:50] 03brion * r30161 10/trunk/phase3/RELEASE-NOTES: Mark the bug number for export thing [00:20:01] 03(FIXED) Special:Export only works for sysops in MediaWiki namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12793 +comment (10brion) [00:20:02] 03(mod) When uploading a new version of a file watch this page is not automatic - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9246 +comment (10minuteelectron) [00:20:05] Duesentrieb: I think I found an error in gadgets [00:20:27] emily_: that would be the primary use case for dpl. [00:21:01] emily_: i can't tell you the syntax to achieve this, i havn't used it myself. but if i'm not completely wrong, it's designed to do pretty much exactly that. [00:21:04] brion: wow, that was fast! thanks :-)) [00:21:11] AzaTht: bugzilla it :) [00:21:11] Duesentrieb: i'm reading http://en.wikinews.org/wiki/Wikinews:DynamicPageList and I'm just not seeing that capability... [00:21:16] AzaTht: what is it? [00:21:20] Can someone take a look at my patch for http://bugzilla.wikimedia.org/show_bug.cgi?id=9246 quickly, I am pretty sure it works perfectly - but I want to be sure it doesn't break stuff. Thanks. [00:22:00] Duesentrieb: on wikibooks, I had marked a module as an active gadget, but probably an other gadget had been added above that gadget, so when I enter the preference for the gadgets, the gadget above the choosen gadget is marked [00:22:19] AzaTht: http://www.mediawiki.org/wiki/DPL [00:22:29] AzaTht: "values of templates calls" is what you need [00:23:09] uh? [00:23:19] I'm talking about gadgets [00:23:24] in the preference [00:23:27] AzaTht: it uses the full names as ids for preferences. maybe the same id is used twice? something like that? [00:23:54] AzaTht: sorry, got confuzzeled. emily_, that stuff up there was for you. [00:24:05] *Duesentrieb needs to go to bed [00:24:28] I have the unlink gadget activated on wikibooks, but when I enter th gadgets prefs, the revert gadget is marked instead [00:24:38] and not the unlink gadget [00:26:48] AzaTht: can't think of a reason why that would happen. put it on bugzilla, i currently can't look into it. [00:27:01] i'm quite tied up with uni atm (and right now, i need to sleep) [00:27:33] Duesentrieb: got it! thanks! you're the best! [00:27:42] ok [00:27:46] \o/ [00:28:16] Can I include a subpage of a template inside the template without hardcoding the name? [00:30:15] Just /Subpage seems to resolve to the page it's included on, and the same for {{PAGENAME}} [00:37:55] 03minuteelectron * r30162 10/trunk/phase3/includes/SpecialUpload.php: Fix bug 9246 by watching a page when the upload\reupload "Watch this page" checkbox is checked and unwatching a page when it is not. [00:38:16] 03(FIXED) When uploading a new version of a file watch this page is not automatic - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9246 +comment (10minuteelectron) [00:39:22] 03(NEW) Sinhalese namespace translation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12794 15enhancement; normal; Wikimedia: Language setup; (lilewyn) [00:50:58] Hello [00:55:05] 03brion * r30163 10/trunk/phase3/includes/SpecialUpload.php: (log message trimmed) [00:55:05] Revert r30162 for now. [00:55:05] A problem with this is that it *un*watches a previously watched image under the following [00:55:05] circumstances: [00:55:05] * 'watch pages I edit' is not enabled (eg, default state) [00:55:05] * go to Special:Upload and select the file [00:55:07] * hit 'upload' [00:55:50] brion: It's not my fault! [00:56:05] :D [00:56:06] 04(REOPENED) When uploading a new version of a file watch this page is not automatic - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9246 +comment (10brion) [00:57:26] brion: I guess we need a list of 'read-only' actions, and then only die in getUserPermissionsErrorsInternal for most stuff if it's a write action, or something like that. [00:57:55] prolly [00:57:56] maybe I could merge in the code for userCanRead into that big ass-method, or something. [00:58:13] possibly [01:00:40] hi folks [01:00:50] happy australia day [01:01:03] and to you, TimStarling [01:01:37] wow, I'm smart. I decided about two hours ago to make myself breakfast. So I started the oven heating up, and put ham and cheese on a muffin. [01:02:03] Two hours later, I walked into the room, and found the oven on, and my prepared breakfast on the table. [01:03:17] Jesus crap? [01:04:10] WP:VPT looks like business as usual [01:13:52] TimStarling: It's impressive that so few issues have ended up being reported (and those which have seem to be mostly expected) after such a huge code change. [01:15:38] it's good [01:15:49] if it's nice and stable, then maybe I can port it to C [01:16:29] that'd speed things up a little. [01:17:07] TimStarling: what percentage of parse time is in the preprocessor? [01:17:43] hey. [01:17:50] I'm not sure about the average case... [01:18:28] Where does that profile data live again? [01:18:29] maybe I can measure it [01:18:41] well, the profile data has a bit of a problem with recursion [01:18:52] oh yeah. I remember that. [01:18:55] hang on [01:22:18] oh, it's still got that CPU time issue [01:23:06] how can I make a piece of a template not appear when viewing from a deleted page [01:23:14] http://noc.wikimedia.org/cgi-bin/report.py [01:23:37] TimStarling: I get a divide by zero error [01:23:39] jayvdb: that would be quite clever [01:23:50] Werdna: right, that's the CPU time issue [01:24:05] domas removed CPU time, one of us is going to have to put it back in [01:24:16] because he didn't have a very good reason [01:24:45] ah [01:25:37] Anyone know why changing $wgLocalInterwiki in LocalSettings.php, the new value doesn't take effect immediately? [01:38:46] anybody know how mediawiki does diffs? is it delta compression? [01:38:48] TimStarling: yes, the pagename&namespace vars dont appear to help: http://en.wikisource.org/w/index.php?title=Template%3ACopyvio&diff=547755&oldid=383605 . I assume the page is rendered with those variables set to the pre-deletion values. [01:40:43] Can someone link me to an RSS feed of the latest releases of MediaWiki, so that I can keep my just-installed copy up-to-date as security and bug fixes are released? [01:40:44] There are a few exceptions [01:45:40] Hey y'all. [01:45:57] I just set up my wiki, and I'm getting a 403 forbidden error trying to visit it in a browser. [01:46:12] The entire directory tree belongs to the user that the webserver is running as, so it can't be that. [01:49:29] 03tstarling * r30164 10/trunk/phase3/includes/ (ProfilerSimple.php ProfilerSimpleUDP.php): [01:49:29] Revert removal of CPU time profiling in 29658-29661. Those 0's and 10's will add [01:49:29] up to the correct guestimate reliably, as long as the decision as to which [01:49:29] function gets the tick does not depend on the function. The variance of course [01:49:29] will be larger, but it was pretty large to start with. Should fix breakage in [01:49:32] report.py. [01:49:45] anybody? [01:52:42] Hell, I just ran the webserver as root to be sure - still can't access anything. [01:52:56] elliottcable: what's the URL? [01:53:01] TimStarling: http://ddowiki.net/wiki/index.php [01:54:15] "X-Awesome-Doggie: Tucker" [01:54:28] Haha [-: [01:54:49] First person in 5 years of setting that, that anybody's noticed it d-: [01:54:57] what server is it? [01:55:04] CentOS5 [01:55:20] and LightTPD, running on an Amazon EC2 instance. [01:55:31] TimStarling: thanks for the help, by the way. [01:56:09] alright, so it's your own dedicated server? [01:56:27] TimStarling: Close enough, yes. [01:58:18] well, I can get the text files, like http://ddowiki.net/wiki/README [01:59:05] maybe your server was set up to deny *.php requests, and later you put PHP on it [01:59:15] Yep, and http://ddowiki.net currently loads as well. I have no idea why the PHP is a 403 forbidden. [01:59:32] Nah, I just set up the server from scratch, in the last day-ish... [02:00:07] I just nano'd up a phpinfo script [02:00:28] Hmm that's forbidden too... [02:01:03] Ah, static file excludes override fastcgi servers. How odd. Thanks anyway, Tim (-: [02:05:50] Any thoughts on the $wgLocalInterwiki ? [02:21:00] is it "technically" possible to remove entries from Special:Log ? [02:21:32] Without going into the DB, you mean? [02:22:15] no, i'd assume it would have to be done in the database if possible [02:24:22] yes] [02:24:48] what query would have to be used? [02:25:13] delete from logging where [criteria]; [02:26:39] what about log_deleted> [02:26:51] update logging set log_deleted=1 where [criteria] [02:27:17] more along the lines of the block log [02:28:25] I asked this question about 50 minutes ago but got disconnected before I received an answer, so... Can someone link me to an RSS feed of MediaWiki announcements (security patches, bugfixes, etc)? Does one exist? I can only find the MediaWiki-announce mailing list and I'd prefer RSS if possible. [02:29:30] I doubt there is one [02:29:41] well, unless you could find some wiki page that you can get the history feed for [02:29:58] but that might not be ideal [02:30:00] Yeah, that'd be worth generating. [02:30:06] I would follow that as well. [02:30:09] @ricket [02:30:22] Zach: delete from logging [02:30:25] Aha, I could probably just use MailBucket... [02:30:45] http://www.mailbucket.org - gives you an email address and an RSS feed, any mail sent to the email is transferred to the feed [02:30:51] hm, well what is log_deleted for? [02:31:00] kicks? [02:31:07] future use [02:31:14] ah, always thinking ahead. [02:32:09] so it would currently show logs regardless of log_deleted? [02:32:31] I think so [02:32:38] so tim, can you give an example query from a random block log entry? im not the biggest SQL expert [02:32:39] and if not, there are probably other leaks [02:35:18] Charitwo, try this: "DELETE FROM logging WHERE log_type='block' AND log_title=""; [02:35:42] put the username of the blocked user in place of where it says [02:36:04] why do you have a stray quote? [02:36:04] hey y'all [02:36:13] I just installed mediawiki, and I'm getting a blank page >>< [02:36:17] uhm.. [02:36:19] phpinfo works, but not mediawiki [02:36:26] Check your php error log [02:36:39] DELETE FROM logging WHERE log_type='block' AND log_title=''; [02:36:51] Dashiva: where's that by defauly? [02:37:01] second time I've made that typo today... no, third! *defauly [02:37:06] ... fourth. *default [02:37:49] Not sure [02:38:01] Dashiva: ok, well, where is yors? [02:38:08] at least, what filename am I looking for... [02:38:33] what is ? [02:38:45] is it possible to monitor multiple pages for messages? [02:39:39] elliottcable: Could be in your apache log if you haven't set anything else [02:39:48] Random832: not through mediawiki [02:40:08] elliottcable: Check your php.ini for an error_log directive [02:40:11] Random832: you could have an RSS aggregator with RSS feeds for all the pages [02:40:35] Zach: then where is the "youhavenewmessagesmulti" used? [02:41:02] i don't know. [02:44:23] hang on, grepping [02:47:21] Random832: i guess it's for when more than one change is made to your talk page since you last visited? [02:47:37] Zach: no, it doesn't do that [02:49:59] hm, well then i'm not sure? [03:03:28] Hurm, wtf does it do lol :-/ [03:08:02] this isn't related to the mediawiki software, but how do you create a new table w/ phpmyadmin ? [03:09:36] the big box that says "Create new table on database " [03:09:57] 03(mod) sitemap-index doesn't include full location path - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9675 +comment (10michal) [03:10:09] Argh! [03:10:23] Got my PHP log working, and my error isn't in my settings files (which I had hoped, I could fix that) [03:10:26] I get this: [03:10:31] [25-Jan-2008 22:07:55] PHP Fatal error: Call to a member function getConnection() on a non-object in /srv/sites/ddowiki.net/ddowiki.net/wiki/includes/GlobalFunctions.php on line 2246 [03:11:05] OverlordQ, I don't see it :p [03:11:26] Monobi: jump in a term and do CREATE TABLE? [03:11:29] Monobi: d-: [03:12:21] O.o [03:12:53] Monobi: http://i28.tinypic.com/13zzh2g.jpg [03:17:12] 03(mod) tsearch changes in PostgreSQL 8.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12732 15enhancement->normal; +comment (10overlordq) [03:18:53] how many fields do I need for oversight? [03:19:10] lol, thanks for the picture OverlordQ ;) [03:20:21] :) I refrained from adding large pointy arrows too [03:20:58] :) [03:21:05] know how many fields are needed for oversight? [03:21:29] not a clue [03:21:39] ok [03:21:54] Bah, think imma havta switch back to MySQL :-( [03:22:06] anybody know what that means? [03:22:12] my error that is [03:22:29] elliottcable: sounds like your PHP install is Weird (tm) [03:26:37] OverlordQ: Haha - not really... [03:26:50] OverlordQ: my configure string: './configure' '--prefix=/opt' '--enable-fastcgi' '--enable-discard-path' '--enable-force-cgi-redirect' '--with-pgsql=/opt' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-openssl' '--with-curl=/usr' '--enable-exif' '--with-gettext' '--enable-mbstring' '--with-readline' '--enable-sqlite-utf8' '--with-zlib=/usr' [03:28:09] or your apache config is weird or something weird is going on between the two [03:28:53] lighttp, not apache... and the only thing weird is my mediawiki config. I just want to know which configuration settings may affect that function... I looked at the source, but it wasn't obvious to me [03:29:09] keep in mind that i know about as much about PHP as I know about hippopotamus breeding, aka, nothing [03:30:07] database settings [03:30:32] most likely, if that line is the same as what's on my install it's loadbalancing stuffs [03:39:16] 03(NEW) When moving a page, the "what links here" to the old name does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12795 normal; normal; Wikimedia: General/Unknown; (justinkoavf) [03:39:32] Schroeder: awesome name [03:40:01] thanks [03:43:29] oh, crap [03:44:09] where's the addgroup for 'crats, is it included in localsettings by default? [03:44:53] Monobi: Special:Userrights ? [03:45:28] I know, in my stupidity I assigned myself steward and 'crat access, but only the 'crat access is showing... [03:45:55] so I can only give out sysop and bot access :( [03:46:24] Did you remove the Steward group? [03:46:26] I'm not sure [03:46:43] amidaniel, I added it [03:47:04] I installed mediawiki on my local box. the only permissions were 'crat, sysop, and bot [03:47:19] Monobi: Are you positive you added it? Do you have a Special:Listusers/steward ? [03:47:23] yes [03:47:30] I'd show you, but it's on an internal IP [03:48:13] Ermkay ... have you messed with $wgAddGroups or $wgRemoveGroups ? [03:48:14] I added [03:48:15] $wgAddGroups['Stewards'] = array( 'sysop', 'bot', 'check users', 'bureaucrat' ); [03:48:15] $wgGroupPermissions['Stewards']['userrights'] = true; [03:48:42] doesn't stock mediawiki not come with a steward group at all? [03:48:47] nope [03:48:56] Random832: No, there's no need for it on single wikis [03:48:59] crats have access to userrights by default [03:49:15] amidaniel: i know this, i'm talking through this to try to figure out what Monobi is trying to do [03:49:22] Monobi: Okay, so set $wgAddGroups['bureaucrat'][] = 'Stewards'; [03:49:26] http://pastebin.com/d60cb21e2 <--- that's what I added [03:49:29] To get access to the group [03:50:18] Or do it the hardway by adding the relevant row to user_groups [03:50:26] s/hardway/hard way [03:50:36] amidaniel, that just disabled the 'crat group [03:51:28] Okay, I don't know what you mean when you say "disabled" [03:51:37] I can't give that permission [03:52:11] Just edit the array for $wgAddGroups['bureaucrat'] to include 'Stewards' [03:52:52] i fixed it [03:56:11] 03shinjiman * r30165 10/trunk/phase3/languages/messages/ (4 files): [03:56:11] * Update Chinese translations [03:56:11] * Update Cantonese translations [03:56:11] * Update Old Chinese / Late Time Chinese translations [03:59:42] amidaniel, http://pastebin.com/d4022401b this is everything I've added to the wiki. I want to have 'crats use special:makesysop and special:flagbot instead of using userrights. what do I need to add [03:59:51] *wiki --> localsettings [04:00:33] Monobi: Get rid of all the AddGroups crap. Just give Stewards plain userrights access and install the two extenions normally [04:01:43] ok [04:07:35] marching band tomorrow! [04:13:57] Hi [04:14:56] my pages using pages gives me this error : [04:14:57] « MathRenderer::_recall ». MySQL a renvoyé l’erreur « 1267 : Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' (localhost) ». [04:16:31] it was working well before updating to 1.10.3 :S [04:19:37] when I put back $wgUseTeX = false it works but I don't have tex images, any idea ? [04:21:13] What's the list of all MediaWiki pages? [[MediaWiki: ??? ]] [04:21:44] should I convert all my wiki tables to utf8 ? [04:22:07] Monobi: Special:Prefixindex/Mediawiki: , Special:Allmessages [04:22:16] thanks [04:26:20] solved it myself... only forgot to hack my math.php again :( [05:12:15] can i change the size of the thumbnails shown in categories? [05:18:03] a lot of the images on my wiki are < 100x100 px, and when shown in the category, they get all garbled [05:18:20] because the category forces them to 120x120 [05:19:11] and i did change $wgThumbLimits to (100, 150, 200, 250, 300), and changed my user preference to 100, but they are still showing up as 120 [05:22:39] ah, i see it's hardcoded in includes/ImageGallery.php: private $mWidths = 120, $mHeights = 120; // How wide/tall each thumbnail should be [05:24:04] hm, and i can also choose how many images per row, but i would have to modify the ImageGallery.php file to do it. *sigh* [05:24:08] you can change it with css maybe [05:24:17] I did that on a Wikia page.. somewhere [05:25:31] it suuuurrrree would be cooooool if i could change these in my LocalSettings.php *nudge nudge hint hint* [05:26:00] I mean, for one specific category page, one that was for custom edit button images... [05:26:16] I simply added a per-page css definition, to shrink the boxes [05:26:18] $wgGalleryThumbWidth, $wgGalleryThumbHeight, $wgGalleryPerRow [05:26:50] wow, i could almost write a unified diff by hand to do this. [05:26:53] ... [05:27:38] http://www.wikia.com/wiki/Category:Custom_edit_buttons [05:28:12] .page-Category_Custom_edit_buttons .gallerybox .thumb { padding:0 !important; } [05:28:40] you could simply make all tags in certain categories 100x100, not a perfect solution but useable [05:28:58] Splarka: i would have had more fun with that page [05:29:11] you could almost turn it into a list, with the icon on the left and the name on the right [05:29:26] sofixit [05:29:44] test it in your user/css and suggest a change on MediaWiki_talk:Common.css [05:29:49] it is a wiki after all ^_^ [05:30:07] *Splarka is not a sysop there currently [05:30:32] Anyone know much about the $wgLocalInterwiki variable? I've changed it to something other than the default $wgSitename, but any links with localinterwiki:article_here won't work, nor does the old localinterwiki namespace change to the new one... I am pretty lost. [05:30:39] eh - my idea depends on working css 3 multicolumns [05:30:39] I used to live in Canada, and they don't actually say "eh" that much, did you know? [05:31:18] i'd be more comfortable hearing that from someone who currently lives in Canada ;P [05:32:28] *Splarka has been to Victoria and Halifax and they say eh a lot... [05:32:39] (not so much in Toronto or Vancouver) [05:32:47] I live in Canada, born and raised. [05:33:05] Eh is not used much, if at all. [05:33:10] I used to live in Canada, and they don't actually say "eh" that much, did you know? [05:33:34] they sure say how much they don't use it though! [05:33:35] Annoying script is annoying. [05:33:35] heh [05:33:37] i guess it's a regional thing then [05:34:27] jmlane - what's that all aboot eh? [05:34:37] blame canada! [05:34:43] blame canada! [05:34:44] http://video.canadiancontent.net/91165170-william-shatner-i-am-canadian.html [05:35:06] Hivemind? [05:35:54] 03(mod) When moving a page, the "what links here" to the old name does not work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12795 +comment (10justinkoavf) [05:36:15] haha dr. spock [05:36:58] rofl [05:38:15] that was great [05:41:11] 03tstarling * r30166 10/trunk/phase3/includes/CoreParserFunctions.php: Fixed #tag support for PPNode [05:59:34] 03(NEW) Enable editors to control footnote ordering and to insert wikitex between footnotes . Also declutter article prose. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12796 15enhancement; normal; MediaWiki extensions: Cite; (bill.mitchell) [06:01:08] 03(mod) Enable editors to control footnote ordering and to insert wikitex between footnotes . Also declutter article prose. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12796 (10bill.mitchell) [06:01:59] Ok, how would I make a mainspace article a redirect to a category page without adding the mainspace article to that category? For example, [[Stubs]] is redirecting to [[Category:Stubs]], but I don't actually want [[Stubs]] IN [[Category:Stubs]] [06:03:38] tried "#REDIRECT [[:Category:Stubs]]" ? [06:05:52] Yeah, doesn't work [06:06:09] http://test.wikipedia.org/wiki/Category [06:07:39] worksforme [06:11:38] Ohh [06:11:46] I'm apaprently quite an idiot [06:11:59] I thought you were just saying put quotes around it, which I tried, and failed for. [06:12:03] I didn't see the colon. [06:12:04] Thanks [06:13:01] the common solution to many mediawiki problems is "stick it up your ass" .... or rather, more cleaning... "insert colon" [06:13:20] linking or redirecting images/categories, transcluding article namespace pages, etc [06:14:55] COLON BLOW! [06:15:08] hehe [06:18:32] 03(mod) Allow multiple classes of footnotes on the same page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6271 +comment (10bill.mitchell) [06:22:27] 03(mod) Greater flexibility with references - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5997 +comment (10bill.mitchell) [06:25:14] 03(NEW) Allow adjusting of default gallery display options - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12797 15enhancement; normal; MediaWiki: Images; (zach) [06:26:12] i keep forgetting i can attach and create bugs at the same time. [06:26:51] 03(mod) Allow adjusting of default gallery display options - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12797 (10zach) [06:27:33] 03(mod) Allow adjusting of default gallery display options - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12797 +need-review +patch (10zach) [06:27:48] sorry for the spammin [06:39:15] Hi ya'll [06:39:21] hello [06:39:21] Trying to get MediaWiki working with PGSQL [06:39:34] "Checking for tsearch2 in the schema "public"...FAILED. Make sure tsearch2 is installed. See this article for instructions." [06:39:40] I followed the instructions [06:39:42] and got this: [06:40:03] http://p.ramaze.net/316 [06:40:33] what version of pg? [06:40:45] 8.3 I see [06:40:49] Yeah [06:41:00] mediawiki is 'severely broken' in 8.3 [06:41:19] I found that out the other day lol :-( [06:42:06] haha aw [06:42:06] two big problem is that implicit casts were removed, effects various and sundry things that depend on timestamps [06:42:09] OverlordQ: thanks then [06:42:27] OverlordQ: Do you know if I can just re-compile and install, without re-creating the database and data folder and all that jazz? [06:42:46] and tsearch is built in instead of an addon, so the full-text search will have to be redone [06:43:07] I know 8.3 isn't backwards compatable with 8.2, so I'd assume no. Probably have to dump, recompile then load [06:44:18] I have the relavent bugs open in bugzilla but A) it's postgres, and B) it's still an RC version so I dont think they're too high of a priority to get fixed. [06:46:08] the tsearch stuff in contrib/ in 8.3 is supposed to be a compatability layer to be backwards compatable with <8.3, but doesn't seem to help [06:49:48] ah, ok [06:54:13] how do I make a page protected indefinitely? [07:02:02] ah, there is no syntax, blank is indefinite [07:34:02] I just compiled and installed xcache [07:34:09] but the MediaWiki install doesn't seem to have found it [07:34:19] and yes, I restarted the server after the make all install [07:37:56] anybody here played with xcache? [07:40:40] Visit http://www.porniplex.com - free youtube porn clone. Thousands of free videos. Updated daily. [07:40:48] youtube isn't working for me for some reason [07:41:12] bleh... irc solicitation... [07:55:15] Visit http://www.porniplex.com - free youtube porn clone. Thousands of free videos. Updated daily. [07:55:23] youtube isn't working for me for some reason [08:36:34] any chance of a keyword like "subst" that does recursive expansion of templates before saving? [08:36:46] [subst only does one level of expansion] [08:53:24] flyingparchment: I have a page with feedback on the modern skin: http://en.wikipedia.org/wiki/User:Random832/Modern_skin - mostly a list of things it's missing [08:58:29] 03(mod) New logo for Basque Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12789 +comment (10mik.iturbe) [09:02:31] Random832, i was bugged about the "no red tabs" thing too [09:02:50] Zach: fixed in my personal css file, if you want to copy it [09:03:56] haha, "defects in theme" [09:04:06] well, they are [09:05:32] [that code turns interwiki links green, so if you don't want that, leave that line off [09:06:33] i just stole the line that changed the tabs red if they don't exist [09:06:49] why is .new on the li instead of the a, anyway? [09:06:55] it's like that on monobook too [09:07:10] maybe so you can change the look of the tab (i.e. a border) if you want to [09:07:25] css would be better if there were a :contains() [09:07:38] e.g. li:contains(a.new) [09:08:36] anyway, goodnight [09:12:30] Do people ever land on the wiki page "Bad title" due to a malformed URL anymore? [09:13:49] yea, on wikinews because of our crappy javascript comment tab thing [09:13:57] 03(mod) JS: addOnloadHook() calls after runOnloadHook() fail - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12773 (10voyagerfan5761) [09:14:56] well actually, it gives "Bad request" "Your browser sent a request that this server could not understand." [09:16:54] that's probably something different. [09:26:32] Yep. [09:37:31] Simetrical: Are you still working on bug 13? [09:49:19] ciao a tutti [10:04:36] 03(NEW) Table class="navbox collapsible collapsed" is broken on enwp - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12798 normal; normal; MediaWiki: Page rendering; (FT2.wiki) [10:10:17] I am trying to translcude a subpage for a page that is not in the main namespace. The subpage is a subpage of the page where the transclusion will happen [10:10:42] is there a shorter way to do it than {{Namespace:Pagename/Subpage}} ? [10:11:50] 03(mod) Table class="navbox collapsible collapsed" is broken on enwp - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12798 +comment (10overlordq) [10:12:04] 03nikerabbit * r30168 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): * Support for CategoryStepper and MultiBoilerplate [10:12:56] henke37: you can try {{/Subpage}} - afaik [[/Subpage]] works like that, so maybe it works for templates too? [10:13:07] I tried that [10:13:15] did not do [10:13:17] I'm not sure [10:13:31] henke37: what version of mediawiki? [10:13:39] it resulted in a transclusion of Template:/Subpage [10:13:41] let's see [10:13:43] if it doesn't work in the latest version, file a feature request - it seems inconsistent. [10:13:56] 1.8.2 [10:14:00] oh, that's old. [10:14:11] It is? [10:14:16] yes, very [10:14:30] !upgrade [10:14:30] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [10:14:48] <_wooz> lo [10:14:52] I will tell the admins to upgrade then [10:15:16] ican't promise it'll work after upgrading (try in wikipedia's sandbox, if you like) [10:15:20] But can you check if the shorthand you sugested works on the latest version, just for comparison purposes? [10:15:31] but you'll get lots of nice features from upgrading anyway :) [10:16:09] henke37: http://test.wikipedia.org/wiki/Main_Page [10:16:35] a full sandbox install, neat [10:16:41] I had forgoten about that one [10:17:23] that one often runs a version newer even than the one used by wikipedia - and thus might be broken [10:17:41] henke37: oh, btw: this will only work on qa namespace that has subpage-features enabled. [10:17:51] the main namespace doesn't, per default [10:18:00] the user namespace does [10:18:01] What about Project? [10:18:09] not sure. don't think so [10:19:06] henke37: per default, most talk namespaces, and the user namespace [10:19:38] !wg NamespacesWithSubpages | henke37 [10:19:38] --mwbot-- henke37: http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages [10:19:39] so, that is a NO then [10:19:46] yep, a NO. [10:20:14] which may also be the reason it's not working for you. check in your 1.8 install in the user namespace, or in project talk or something [10:20:55] Well, it is a one time template for a single project: page [10:21:39] I can live with the long syntax [10:26:53] hello who can help me concerning MediaWik? [10:27:04] !ask | ben55 [10:27:04] --mwbot-- ben55: 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. [10:28:17] I noticed a bug in {{#tag}}, it cannot be used when transcluded [10:28:57] i want install this system and my question is where i can find pack language for mediawiki? [10:29:31] All languages are included in MediaWiki by default, simply select the language you desire during installation. [10:29:38] There are a few exceptions [10:30:16] ok i will cheak it out k [10:30:30] Ok, let me rephrase, all languages that have been partially\fully translated are included. [10:30:32] There are a few exceptions [10:31:06] or not ツ [10:31:12] why is there a chatbot here? [10:31:25] TimStarling: Can you silence lti - it's pretty annoying and confusing. [10:31:32] *AzaTht goes into hiding [10:32:01] lti? [10:32:34] A chat bot, he responds on stuff like all and eh [10:32:51] MinuteElectron: hmm, nothing I have noticed [10:32:56] all eh [10:33:09] but only sometimes, like i can say all languages and he responds sometimes, but other times he doesn't. [10:33:15] aha, there it is [10:33:18] spouts something about Canadians and not saying eh as much as believed. [10:33:47] MinuteElectron: just ban the network ツ [10:33:57] comcast is not important [10:34:13] Yeah, but I can't, since I am not an op. Thus why I asked Tim. [10:34:22] he aint online [10:34:37] Oh, chanserv lied then. [10:34:55] he ain ononline* [10:35:06] He looks online to me... [10:36:03] There aren't many active ops anyway, but we don't really get any trolls\spambots in here. [10:36:21] Hey y'all. [10:36:38] My pages don't seem to be gzipped, and i don't know why. [10:37:30] I though things would gzip by defauly if PHP was built with zlib, but they aren't. [10:37:38] "9 10 JimboWales 1y 12w 4d 12h 59m 10s" [10:37:41] haha [10:37:46] indeed [11:01:29] youtube [11:01:49] hm, lti doesn't have a witty comeback for that one. [11:01:57] *OverlordQ slaps lti around a bit with a large trout [11:02:06] Quick! He's defenseless [11:03:03] it's time for a bot beatdown [11:04:55] http://rafb.net/p/uPvHFr13.html [11:04:57] lmao [11:07:38] the only thing the bot had to say was "youtube isn't working for me for some reason" (well you need ears and eyes to enjoy youtube, no wonder it's not working /for you/) [11:08:30] Is there anyone working on this (http://bugzilla.wikipedia.org/show_bug.cgi?id=164) or it has just been left as non-important? [11:56:34] I would like to use more languages than Dutch in my Wiki. Can anyone explain how to do that? [11:56:35] Not that much more [11:58:11] hansdekleine: Hoe bedoel je dat precies? [11:58:37] Ikmijn wiki is nu in NL, maar ik wil de teksten ook vertalen in Engels en Frans [11:58:49] Ah ok, de inhoud dus [11:58:58] eigenlijk zoek ik een overzicht waar ik dit soort functies kan vinden (tags e.d.) [11:59:00] Ja, inhoud [11:59:18] Nou wat je kunt doen is nog twee wikis maken [11:59:28] Met daarop anderstalige inhoud [11:59:41] En dan daartussen interlanguage links maken; Wikipedia doet dat ook [11:59:51] ja, dat is idd een mogelijkheid [11:59:53] ok [12:00:03] Als je bijv. op het nlwiki artikel over "Hond" kijkt, zie je in de zijbalk een link "English" naar enwiki:Dog [12:00:19] is het niet mogelijk om binnen dezelfde wiki 1 tekst te plaatsen en ook de vertaling in dezelfde wiki op te nemen [12:00:35] Ik werk veel met CMS Joomla en de vertaalmodule die ik gebruik werkt ook zo [12:00:39] *mogelijk* ja, aan te raden is het niet [12:01:08] Wat je *kunt* doen is iets als www.mediawiki.org/wiki/API [12:01:17] Eigenlijk wel zo safe, een eigen wiki per taal [12:01:21] Zie de Languages balk bovenin [12:01:31] ok, ff checken [12:01:32] Het hangt er maar helemaal vanaf hoe ver je wilt gaan met je vertaling [12:01:41] Als je zo ongeveer alles wilt vertalen, zijn aparte wikis beter [12:02:32] Voor een klant ga ik een wiki opzetten die in meerdere talen beschikbaar moet zijn [12:02:37] en dan moet dus alles vertaald worden [12:02:52] Vind dit wel chique, zo'n talenbalk [12:02:53] Dan zou ik zeggen dat aparte wikis beter zijn [12:03:03] Ja maar ik wel erg veel moeite voor veel artikelen [12:03:30] Ja, maar dat valt te overleggen [12:03:31] Vergelijk http://en.wikipedia.org/wiki/Dog --> languages gedeelte van de zijbalk [12:03:42] komt in principe 1 beheerder per wiki/taal [12:03:48] dus zou moeten kunnen [12:04:26] ja, dit is eigenlijk meer wat ik zoek [12:04:51] weet je waar ik daar info over kan vinden, hoe ik het zo kan opzetten? [12:05:39] Ik zal ff zoeken [12:06:22] Nou in principe gaat het als volgt: [12:06:42] 1. Je zet 3 wikis op, bijv. nl.voorbeeld.com en.voorbeeld.com en fr.voorbeeld.com [12:06:55] 2. Je volgt de instructies op http://www.mediawiki.org/wiki/Help:Interwiki_linking#Interwiki_links_to_other_languages [12:07:17] (Kan makkelijker met een extensie) [12:07:27] !e SpecialInterwiki | hansdekleine [12:07:27] --mwbot-- hansdekleine: http://www.mediawiki.org/wiki/Extension:SpecialInterwiki [12:07:52] 3. Op bijv. de Nederlandse pagina "Hond" voeg je [[en:Dog]] en [[fr:Chien]] toe [12:09:04] 03(mod) Cannot rename/move images and other media files. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10ThomasBleher) [12:09:14] OK, ziet er niet ingewikkeld uit, ik ga het zo doen geloof ik :-D [12:09:23] En waar haal jij deze info nu vandaan? [12:09:28] Ervaring xD [12:09:36] Helaas staat dat niet echt ergens [12:09:47] Maar een groot deel van de mensen die op #mediawiki rondhangt weet het [12:09:51] Ik heb het boek MediaWIki Administrators' gekocht, maar daar staat alleen maar maar het topje van de ijsberg in [12:10:01] Hmm nooit van gehoord [12:10:03] OK, in ieder geval heel erg bedankt voor de hulp [12:10:14] Geen probleem [12:10:25] Zeg het maar als je ergens tegenaan loopt [12:10:33] http://www.amazon.com/MediaWiki-Administrators-Tutorial-Guide-installation/dp/1904811590/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1201349423&sr=8-1 [12:10:38] OK, doe ik [12:10:42] nogmaal bedankt [12:11:19] *RoanKattouw apologizes for spamming the channel with 2 screenfuls of what most people perceive as gibberish [12:13:15] dutch invasion [12:13:23] You bet [12:15:01] Hi... There is a math option in user preferences, "Recommended for modern browsers". Could anyone explain to me what it does? [12:15:30] No idea [12:15:34] It doesn't exactly say xD [12:18:14] I think it's using mathML to display some math then. [12:19:02] jamasi: There is already such option: MathML if possible (experimental) [12:19:12] usually MW just renders formulae as images with latex [12:19:46] perhapps the user is able to override the system-setting. [12:19:46] jamasi: I know, but my server is very slow and I was wondering if it's possible to use MathML or something lighter [12:53:58] Arrrrrrgh [12:58:39] When I set /join php [12:58:41] crap. [13:04:42] 03grondin * r30169 10/trunk/extensions/ (2 files in 2 dirs): Localisation updates for extensions from Betawiki [14:39:08] hi, i try to dive into mediawiki, so could anybody help me? i look into database schema and cant understand how artikles are stored. [14:40:14] is it right that all texts in all languages and all revisions are stored in text table? [14:40:45] das6745, see http://mediawiki.org/wiki/Revision_table and http://mediawiki.org/wiki/Text_table [14:48:17] so this is right that all texts are stored in the same place, but if there are a lot of articles (100 000+) which probably has a lot of revisions how we can store all of 'em? [14:49:00] i mean pk constraint limit [14:54:29] emm, maybe i miss something? [14:54:55] das6745, yes, everything is stored in one table. [14:56:23] If you need to store 100000 articles, use software RAID - it can make a number of hard disks into a one logical disk. [14:57:02] Steik: you're wrong [14:57:15] no, the problem is not in hd limit, i think that sometimes we get pk limit [14:57:18] MediaWiki supports external storage mechanism [14:57:24] I know [14:57:32] So you can use multiple database servers [14:58:08] and is there are fk support betwen db servers?? [14:58:14] what is "pk limit"? [14:59:19] primary key, i think we can store max 2^32 rows [15:02:17] das6745: the english wikipedia, which has 15,431,418 pages, only has 185,927,286 text rows. how large do you expect your wiki to be? [15:03:22] dunno, i just try to understand mediawiki engine [15:04:35] so there are should be 1db per language? [15:04:46] 1 database per wiki [15:04:54] you can have one wiki per language, if you like [15:09:37] the largest tables is probably going to be pagelinks [15:11:50] but there is no limit for rows [15:12:24] sry, except physical limits [15:14:16] anyway, thx for help! [15:20:45] *Werdna waves [16:20:55] 03(NEW) Search seens to be broken again (at least on s2) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12799 15enhancement; normal; Wikimedia: General/Unknown; (lugusto) [16:40:03] 03(mod) Search seens to be broken again (at least on s2) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12799 (10lugusto) [17:00:40] 03(NEW) Set two new namespaces for vec.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12800 15enhancement; normal; Wikimedia: Site requests; (nick1915) [17:34:26] Hey, does anyone know of a autocomplete (search) extension, site script or other option? [17:34:42] I heard that mediawiki has this option internally as well... is this true? [17:35:07] sorta... [17:35:38] Hey Splarka.. so what's the deal? [17:38:17] ajaxsearch.js thingy [17:39:03] http://www.mediawiki.org/wiki/Manual:$wgAjaxSearch [17:41:27] Splarka, is there a way to define the way the returned information is styled..? (without having it erased for every update.. ) [17:41:56] css styled? [17:43:42] Splarka, i guess it depends on how the script was written doesn't it? [17:43:51]
[17:44:02] you can style those it looks like [17:44:13] *Splarka icks, .innnerHTML [17:44:52] eg, red text: #searchTarget {color:#ff0000;} [17:45:00] in theory anyhow [17:46:14] I wonder why it doesn't work... ? [17:46:35] which? [17:47:21] the script... [17:47:54] 500ms is the delay.. i created a page called bla and typed b to see if it returns.. but nope.. [17:48:03] what site/mwversion/browser? [17:48:32] site: internal/localhost mwversion: trunk browser: ff2.0.0.11 [17:50:22] perhaps this is because if I search for bla it doesn't find it.. so I tried Bla and still no... I wonder what's going on.. [17:50:55] hey people - my Wiki contains mainly instructions for stuff, and i have a lot of "NOTE: whatever, whatever, whatsver" sections - is there a special "[NOTE whatever, whatever, whatever]" tag i can use to kinda make it stand out - a bit like the "nutshell" stuff on Wikipedia? [17:51:33] Wiredtape: ajax isn't always allowed on localhost, does ajax watch work for you? [17:51:37] fishponge_ you can make a template and style it however you want.. and then add... [17:51:45] Splarka, let's see. [17:51:50] Wiredtape: is that easily done? [17:52:01] Splarka, ajax watch works [17:52:11] Wiredtape: is there a standard "NOTE" template i can take from somewhere else, perhaps? [17:52:20] fishsponge_, fairly easily if you know templates, css and a bit of html.. [17:52:43] fishsponge_, if I were you I would search wikipedia for templates.. [17:52:46] wired: check ff js error console? [17:52:53] Wiredtape: i don't know CSS that well, i certainly don't know the mediawiki CSS, and i don't know templates at all [17:53:06] Wiredtape: thanks dude - i'll take a quick look now... [17:53:41] fishsponge_, np [17:53:53] splarka, no errors as far as i can see [17:54:45] Splarka, however, i can see that ajaxsearch.js wasn't loaded even though it's defined in localsettings.php [17:54:53] Wiredtape: having not read more than a paragraph yet, i must say, this seems a little overwhelming at first glance! [17:55:04] cache? [17:55:19] Wiredtape: is this something you expect to take me an hour with my current knowledge before i end up with a basic template? or is it simpler than that? [17:55:23] fishsponge_, use the help section, it explains things much easier [17:56:18] Splarka, internal cache was cleared and external purged.. [17:57:02] fishsponge_, I would expect that if you have a minor bit of scripting experience, it should be fairly easy and fast.. [17:57:59] btw, user "Mediawiki default" is the general setup creator? [17:58:38] with new version, it only creates the main page [17:58:55] (if i'm right) [18:00:15] ialex, i think you recall correctly :) [18:01:17] Splarka, any ideas? [18:01:41] nope, never tried it before [18:01:43] maybe it broke [18:01:47] perhaps trunk has somehow disabled including ajaxsearch.js when $useAjaxSearch = true;? [18:02:32] i'm going to give a quick run for 1.11 [18:03:29] maybe with $wgUseAjax = true; [18:04:10] ajax watch worked for him [18:04:17] and that requires that set to true [18:04:29] *Splarka shrugs [18:04:43] maybe it's because $wgAjaxSearch = true; should come before $wgUseAjax? [18:04:55] Ah? Problems with AJAX search? [18:05:26] You should probably enable it in preferences [18:05:28] 1.11 works when $wgAjaxSearch comes after $wgUseAjax... [18:05:44] VasilievVV, the problem is on trunk.. works on 1.11 ... [18:05:53] I know [18:06:24] I made it user preference somewhere in 1.12 [18:06:43] ahh.. [18:06:44] :) [18:06:52] if( $wgAjaxSearch && $wgUser->getBoolOption( 'ajaxsearch' ) ) [18:06:54] any way to make it site wide? [18:06:56] *Splarka snickers [18:07:00] Yes [18:07:01] sure, override that user preference [18:07:24] http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions [18:07:33] $wgDefaultUserOptions['ajaxsearch'] = 1; [18:09:26] now for the second problem :) -> does the search require a certain amount of letters before activated? because I can't find my test page "bla" ... [18:09:42] truth is, it can't find bla on search anyway... [18:11:05] 3 letters [18:11:18] VasilievVV, is that defined in the js file or somewhere else? [18:11:27] In JS file I think [18:11:30] and is there a way to override it without doing it again for each update? [18:11:47] yup in js file.. [18:12:01] You can just modify it [18:13:10] VasilievVV, but most likely next update I will need to change it again, no? [18:13:20] No [18:13:33] svn update automaticlly merges all changes [18:13:48] depending on the load order, you could just redefine the function in another script [18:14:01] (except the ajax are often last) [18:14:15] oop, they aren't anymore... [18:14:22] if there's a conflict, you will be informed [18:14:38] Wiredtape: try copying the function there called "function Searching_Call()" [18:14:47] to your Common.js and editing the < 3 to < 2 [18:14:54] 03grondin * r30170 10/trunk/extensions/ (54 files in 43 dirs): Localisation updates for extensions from Betawiki (2008-01-17 17:13 CET) [18:14:55] VasilievVV, right now i'm using trunk just for developing.. for the actual site I only use revisions.. and then when updated I don't see modifications... [18:15:21] Splarka, wouldn't that create some sort of conflict? [18:15:23] ah... [18:15:34] Fill a bugzilla request [18:15:54] Wiredtape: nope, it would just preempt the function, as long as nothing was executed until after page load [18:16:10] javascript is cascadingish [18:16:29] Splarka, wouldn't that depend on order though? so common.js is last? [18:17:22] well, in trunk it is after ajax.js and ajaxwatch.js [18:17:30] check a page source on your copy [18:17:51] [18:18:20] followed by: ajax, ajax watch, gen=js aka , which is both sitewide Common.js and Monobook.js (or skin name) [18:18:27] then the CSS styles, then your user JS [18:18:47] if ajaxsearch.js comes before those, you can "haxor" it [18:19:14] I see it like this: ajax, ajaxsearch, ajaxwatch, wikibits ... (which works out as well :) ) [18:21:03] I want the returned search to be categorised by namespace... how would I do that? (in terms of querying the search) .. obviously I would need to set those namespaces to be searched automatically [18:22:59] process the result before it is assigned [18:23:09] Bugzilla error: I could not figure out what you wanted to do. -> URL: http://bugzilla.wikimedia.org/token.cgi -> on loging attempt [18:23:26] Splarka, but would the result contain the namespace? [18:23:30] copy over "function Searching_SetResult( request )" and .. [18:23:40] t.innerHTML = result; just before that, mess with 'result' [18:23:43] no idea, try it and see [18:24:27] * on logging in attempt [18:24:52] 03grondin * r30171 10/trunk/extensions/Wikidata/SpecialLanguages.i18n.php: Localisation updates for extensions from Betawiki (2008-01-17 17:13 CET) [18:26:01] Splarka, so just strip "x" that comes before ":" (is that the basic idea? ) [18:26:15] 03(NEW) $1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12801 normal; normal; MediaWiki: Search; (alex.emsenhuber) [18:26:21] well, might not be that simple, examine the results and decide for yourself [18:30:45] 03(NEW) ajaxsearch.js "amout of letters before execute" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12802 15enhancement; low; MediaWiki: Search; (bredtape) [18:32:41] 03(mod) Disabling of user defined CSS/JS via URL command - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7365 +comment (10Platonides) [18:35:06] Is it me or is there a loop between function Searching_Call() & function Searching_Go() -> each calling each other internally ... ? [18:35:16] 03(mod) New "magic word" to assign an arbitrary CSS class to an image from the image description page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8298 (10Platonides) [18:37:00] also, what processes "rs=" ? [18:38:54] nm , ajaxdispatcher.php ... [18:40:54] 03(mod) New "magic word" to assign an arbitrary CSS class to an image from the image description page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8298 +comment (10Phoenixoverride) [18:41:13] VasilievVV, wfSajaxSearch() only searches cache? [18:41:14] Wiredtape: thanks for your help - the {{Note|Whatever, whatever, whatever}} template now exists! [18:41:16] me too [18:41:24] Wiredtape: no [18:41:25] fishsponge_, np [18:41:44] VasilievVV, Note: //AJAX search cache version (from ajaxfunctions.php) [18:41:56] Yes [18:42:15] is search cached? [18:42:27] of course [18:43:14] VasilievVV, and I assume Title::newFromText() strips namespaces? [18:43:52] Yes, it handle namespaces [18:44:16] VasilievVV, thanks.. [18:46:06] 03vasilievvv * r30172 10/trunk/phase3/includes/ (Article.php SpecialUndelete.php): Invalidate file cache on image redirects deletion [18:53:51] I'm guessing it would be easier to manipulate the data that comes out with js than to completely change the wfSajaxSearch() function from showing all of the things it shows... any thoughts? [18:54:18] Betacommand, i was replying to Ed Sanders about people watching the page [18:55:14] Wiredtape: what do you want to do with it? [18:58:15] VasilievVV, I want to only show the results (without the search page text and search pages named, also no headings) .. I also want results to have an icon next to them.. (this is either by a semantic property check or depending on what i decide, by namespace..) so if namespace= "x:" it gets icon x... [18:59:04] You can hack wfSajaxSearch() [19:00:01] VasilievVV, I can.. but do you think that would be a better method than to just manipulate the stuff with javascript? (for instance display:none for the stuff i don't want and similar stuff) [19:00:25] Whoopps... [19:00:30] Damn KVirc [19:01:12] hi! I'm looking for an extension i stumbled once about, to view (txt) files in filesystem as wiki pages [19:01:14] :) [19:02:00] 03(NEW) "updated since my last visit" shown incorrectly due to lag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12803 15enhancement; normal; MediaWiki: History/Diffs; (slowpoke) [19:03:35] Do i remember that correctly, is one existing? Nothing tag based, I want automatically checking the directory if no page in db exists [19:03:36] hello flo_ [19:03:38] I want one! [19:04:07] I am having a problem installing StubManager if i don't comment it out of LocalSettings.php i receive "[[Extension:ExtensionManager]] requires [[Extension:StubManager]]" heres a bit of additional info http://pastebin.com/m74e9bcaa . Anyone with thoughts? [19:05:08] VasilievVV, so you think it's better to hack wfSajaxSearch() than to use js? [19:05:18] no ideas [19:05:45] Infurnus: include StubManager before ExtensionManager [19:07:42] awesome, fixed the error but now just a white page :/ [19:10:29] the mediawiki manual states that the rc bot is kind of insecure because people can send packets to the port, how exactly would one do that so i can test if that's a problem for my firewall setup or not? [19:10:48] Simetrical: Do you have shell access? [19:11:01] Access to the Squids, I mean [19:11:53] domas: Do you have access to the Squids? [19:15:12] Would it be possible to override wfSajaxSearch() with an extension? [19:15:31] hello everyone [19:15:36] Wiredtape: www.mediawiki.org/wiki/Manual:Hooks [19:15:40] That's a rather broad generalization [19:15:44] Look through there for a hook [19:15:53] I noticed that, very occasionally, the API will return an empty resonse (no xml at all) for a query. any idea why? [19:16:05] carl-m: I think blank pages are getting stuck in cache [19:16:16] That's why I poked Simetrical and Domas just now [19:16:20] the API shouldn't be cached, though? [19:16:26] I need someone with access tot the Squids to purge [19:16:34] I don't think it should [19:17:01] Note that it only happens occasionally, so I think there are a few Squids caching blanks while others aren't [19:17:03] There are a few exceptions [19:17:42] lti: ? [19:18:47] RoanKattouw, I can't find a hook there.. is there one you know of? [19:18:54] No [19:19:14] Ask a developer to create one for you [19:19:27] I'm not at home so I can't commit anything now [19:21:05] any developers here? :-) [19:21:19] VasilievVV: PING [19:21:30] i'm here [19:21:38] RoanKattouw: better to try in #wikimedia-tech [19:21:39] Can you add the hook Wiredtape asked for? [19:21:51] To AjaxFunctions.php? [19:22:06] I guess [19:22:37] VasilievVV, yes.. to enable overriding the regular wfSajaxSearch()... and implement a different via extension [19:22:40] I can add SajaxSearch and SajaxSearchFormat output hooks [19:22:56] what would SearchFormat be? [19:23:20] before the returned html? [19:23:21] What happened afterwards? [19:26:00] Damn [19:27:05] How do i escape the usual functionality of a function when running a hook..? by returning false? [19:27:17] Wiredtape: Yes [19:27:18] return true; [19:27:32] 03vasilievvv * r30173 10/trunk/phase3/includes/AjaxFunctions.php: Introduce SajaxSearch hook [19:27:35] When you return false, no more hooks will be run, and the calling function should (generally) abort [19:27:44] hmmm [19:27:58] :), so which is it? [19:28:36] RoanKattouw, when you say: "no more hooks will be run" you mean for that specific event? [19:28:42] Yes [19:28:46] False [19:28:53] See mw:Manual:Hooks [19:29:24] RoanKattouw, I was looking at that and this is why i asked: "Returning false makes less sense for events where the action is complete, and will normally be ignored." [19:29:41] VasilievVV, thank you... [19:29:59] "The last result would be for cases where the hook function replaces the main functionality." [19:30:07] nvm [19:31:05] Wiredtape: It depends on how the hook was implemented, lemme look at VVV's commit [19:31:10] !r 30173 [19:31:10] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=30173 [19:31:40] Yep, returning false from the SajaxSearch hook causes the function to abort [19:31:44] how long before this revision is updated to trunk? [19:32:01] At least not till Monda [19:32:03] y [19:32:24] Judging by what I'm hearing in #wikimedia-tech, Tim's preprocessor seems to have broken full vs. semi protection notices [19:32:35] So WMF will have to update soon [19:32:47] Wiredtape: trunk already contains it [19:32:52] you can run svn up [19:32:58] thanks :) [19:33:10] how do extensions add new messages? i want to have a few messages be global to the whole wiki farm, and it was recommended that i make an extension that's included by all wikis [19:33:23] chuck: wfLoadExtensionMessages() [19:33:44] And http://www.mediawiki.org/wiki/Manual:%24wgExtensionMessagesFiles [19:34:30] If you need these messages to be loaded at all times, call wfLoadExtensionMessages('myextensionname'); somewhere in the extension setup function [19:34:48] VasilievVV, you decided to not put SajaxSearchFormat? [19:35:24] Wiredtape: no, because wfSajaxSearch generates HTML internally, not array [19:35:35] So, it requires some rewriting [19:35:55] VasilievVV, k.. [19:41:06] hello [19:41:31] what is the name of the category which gather the templates which make too many calls to {{#ifexists ? [19:43:52] RoanKattouw: can you give an example of a possibly cached api call? [19:44:26] found it [19:44:37] Splarka: http://en.wikipedia.org/w/api.php?action=paraminfo&modules=parse&querymodules=allpages|siteinfo&format=jsonfm [19:44:40] Refresh a couple of times [19:44:44] 03vasilievvv * r30174 10/trunk/phase3/ (3 files in 3 dirs): Show warning if image page exists [19:45:01] Hi. I'm having massive and very confusing issues with MediaWiki at the moment. No matter what username and password I enter for either my database or the root account, nothing works. [19:45:07] What might be the issue? [19:45:08] :/ [19:45:25] dav7: you can't log into mysql using the 'mysql' command? [19:45:37] I can [19:45:54] what's more, I can login to mysql using the mysql command as the wiki user [19:46:01] RoanKattouw: that shows MISS on all cache headers [19:46:11] I can also ssh to the wiki user and the password for the wiki user works [19:46:13] Refresh some more [19:46:35] I tried changing my root password in case my... "interesting" selection of characters was confusing something [19:46:38] that didn't help [19:46:42] dav7: what error do you get from mediawiki? [19:46:55] Attempting to connect to database server as root...failed due to authentication errors. Check passwords. [19:46:58] RoanKattouw: I am seeing blank [19:47:02] but no cache [19:47:03] that's with root selected [19:47:04] Exactly [19:47:09] ?!? [19:47:10] you have set all the $wgDB... variables? [19:47:15] Expires: not specified [19:47:15] in LocalSettings.php? [19:47:20] huh? [19:47:24] Hey yeah me too [19:47:26] Content-Length: 20 [19:47:28] you have to set that? [19:47:32] X-Cache: MISS from sq36.wikimedia.org [19:47:32] dav7: did you double-check the mediawiki configuration files [19:47:33] lol -.- [19:47:34] etc [19:47:40] Splarka: I'm looking at it right now [19:47:42] Very weird [19:47:43] so Roan: it is not a cache problem [19:47:45] no, I've just used this config interface [19:47:49] In that case the API is causing trouble [19:47:57] So I need someone to grep the logs [19:47:58] yep, spank it [19:48:20] heh [19:48:21] dav7: you have shell access. can you look at the LocalSettings.php file to see what's there? [19:48:27] I actually dived into config/index.php to have a look around (I know PHP myself)... I tried printing 'x' here and there... my "test results" weren't good [19:48:30] sure, let me have a look [19:48:45] the vars in question are wgDBuser, wgDBpassword [19:48:51] oh, and of course I'd have shell access, the server in question is about 20-25 inches away :P [19:48:54] okay [19:49:26] where's LocalSettings.php? [19:49:37] I'm not finding it... [19:49:40] aha [19:49:42] Does search understand subpages? or do i need to teach it? [19:49:45] hey wait a second, do I need to enable write access? [19:49:47] :) [19:49:49] lol -.- [19:50:04] dav7, 777/776 :) [19:50:06] what needs write access, and where? [19:50:08] 03(NEW) Image page is uneditable - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12804 major; highest; Wikimedia: wikibugs; (mickyfitz13) [19:50:09] okay [19:50:14] dav7: if you want the web based config to work. I forget where it sticks the file it generates [19:50:19] okay [19:50:24] *dav7 looks at the file himself [19:50:33] dav7 in /config/ [19:51:17] so you have to enable write on that dir, and then copy the LocalSettings.php file that the web config generates to the main directory [19:51:25] 03rotem * r30175 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [19:51:29] Wiredtape: I was actually thinking that [19:51:31] carl-m: ah, okay [19:53:00] wow, I can't believe this [19:53:03] it's still not working.. [19:54:00] "touch x" and "rm x" from the config/ dir works fine [19:54:12] oh, and I'm trying to connect as *root*... [19:54:17] dav7 did you copy the file? [19:54:33] what file? it's still not being generated! [19:55:49] yes, this IS weird. [19:55:50] O.o [19:55:56] dav7: the web-based config, if you do it again, should create a LocalSettings.php file [19:56:02] or it should give some error messages [19:56:05] I've tried 2 more times [19:56:13] and both times have given authentication errors [19:56:23] when I *KNOW* my root password is what I've entered [19:57:15] is the db on the same server as the webserver? maybe some sort of authentication issue? [19:57:28] yes, it's on the same server [19:57:38] can you give me some SQL to run to test the database? [19:57:54] or maybe a command to actually delete whereever the database is being stored so it can be recreated? [19:57:57] Does "search" understand subpages? or do i need to teach it? (does it distinguish between an article and a subpage of an article?) [19:58:23] 03(mod) Image missing all revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12804 major->04CRIT; summary (10minuteelectron) [19:58:46] dav7: select * from wikidb.page limit 1; should work if the tables have been created, but you're saying the web config is reporting auth errors instead? [19:58:56] yeah, it is [19:59:13] ok [19:59:16] ERROR 1142 (42000): SELECT command denied to user ''@'localhost' for table 'page' [19:59:37] ...is that a good or bad sign? I think it's both. [19:59:47] no user name? [20:00:20] how can that be? [20:00:41] I *am* logged in, heh [20:02:24] can you run 'status;' from the mysql prompt [20:02:25] now what? :'( [20:02:27] oh [20:02:30] does it show you logged in? [20:02:39] Current user:wikiuser@localhost [20:02:47] dav7, does the user you are logged in with have all privilges for db? [20:02:53] I have no idea. [20:02:56] ok, so you are not logged in as root [20:03:05] no I'm not [20:03:08] I can su... [20:03:31] can I define a function for a hook within an extension, or do I have to do that in localsettings.php? [20:04:05] dav7: ok, let's first make sure you can do it as root [20:04:19] okay [20:04:38] Current user:root@localhost [20:04:40] :P [20:04:49] select * from wikidb.page limit 1; [20:04:51] oops [20:04:57] ERROR 1146 (42S02): Table 'wikidb.page' doesn't exist [20:05:14] you might have used a different database name than wikidb; [20:05:32] first, though, check 'status' to make sure you are in mysql as root [20:05:51] I am [20:06:00] Current user: root@localhost [20:06:02] also [20:06:04] great [20:06:05] Current database: [20:06:10] is empty.. [20:06:12] now try 'show databases;' [20:06:47] okay [20:07:03] 03(FIXED) Image missing all revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12804 +comment (10random832) [20:07:04] I have a few, among them is 'wikidb' [20:08:16] connect wikidb; [20:08:33] ok [20:08:37] show tables; [20:08:40] anyone know why i'm getting this error? [20:08:41] Connection id: 136 [20:08:41] Current database: wikidb [20:08:42] Fatal error: Call to undefined function wfLoadExtensionMessages() in /var/www/melbyemedia/phase3/extensions/GlobalMessages/GlobalMessages.php on line 20 [20:08:47] Empty set (0.00 sec) [20:08:57] 03(mod) Image missing all revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12804 (10minuteelectron) [20:09:08] dav7: why hello there [20:09:12] chuck: What version of MediaWiki? [20:09:26] trunk (1.12) [20:09:32] oh hai chuck [20:10:23] *dav7 sighs [20:10:36] I'm very tired... I think I'll give mediawiki a miss... [20:11:00] anyone know why that function doesn't exist? [20:11:01] 04(REOPENED) Image missing all revisions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12804 +comment (10random832) [20:11:07] i'll post up the source of the extension [20:11:22] MinuteElectron: hi [20:11:38] Random832: hi [20:11:42] :P [20:12:01] so did the description page for that just recently disappear? or did you discover it already gone? [20:12:02] http://pastie.caboo.se/143874 [20:12:13] hoi MinuteElectron, can we now call you Mr. Developer? ;-) [20:13:07] Random832: When I opened the image page there was just the errors message, I looked in history and there were no revisions - which was quite obscure. It could have been oversighted however. [20:13:17] well, maybe [20:13:24] Jack_Phoenix: if you must... :P [20:13:31] \o/ [20:13:44] i wasn't able to undelete the file after deleting it, though (if you look there now, you'll see i reuploaded from another source, then realized the image was redundant anyway) [20:13:46] anyone know why that error is popping up? [20:13:47] 03(mod) $1 paramter isn't replaced correctly in 'searchsubtitle' message with AjaxSearch - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12801 +comment (10alex.emsenhuber) [20:14:51] Random832: Fair enough, but nevertheless still a bug; [20:15:08] actually, it may be _two_ bugs [20:15:16] my inability to restore it after deleting may be unrelated [20:15:49] well if it had no revisions then there would be nothing to restore since restoration is based upon revisions - but you are correct in a way [20:17:05] well, i wasn't able to restore the _file_ [20:17:07] Random832: What happend when you attempted to restore it? [20:17:10] even though i'd just deleted it [20:17:23] oh, right [20:17:24] the file did not show up on Special:Undelete; only the dummy description page I had made [20:19:00] i guess my reaction is kind of silly in a way - I saw "major->CRIT", clicked through, thought "that doesn't look very serious, an admin can deal with that" without thinking about the underlying cause [20:19:52] when a hook gets called, does it automatically get the variables passed by the hook or do i need to define that when registering the function to that hook? [20:20:01] It happens, I was just concerned about it happening again which it would be desirable to avoid. [20:20:06] Wiredtape: Can you explain more clearly? [20:20:10] And is really a bad thing. [20:20:26] Wiredtape: It automatically gets all the variables passed. [20:20:56] RoanKattouw, VasilievVV created -> if( !wfRunHooks( 'SajaxSearch', array( $term, &$output ) ) ) [20:21:34] my question is, when I register the function to that hook.. can i just call the function and inside use $term and $output, or do i need to specify something when registering the function with the hook? [20:21:35] function fnMyHook( $term, &$output ){ ... } should work as expected [20:21:49] Wiredtape: Your hook woudl be called with hookfunction( $term, &$output); if you specified $wgHooks[ 'SajaxSearch' ][] = 'hookfunction'; [20:22:00] thank you everyone.. [20:22:02] That's a rather broad generalization [20:22:07] hehe [20:22:23] whoever made lti was clearly losing his mind :) [20:23:48] lol @ $this->mBasetimestamp = $res['query']['pages'][$pageID]['revisions'][0]['timestamp']; [20:24:02] Six-dimensional arrays happen only in PHP :P [20:24:58] anyone know the problem with this extension? http://pastie.caboo.se/143874 [20:25:38] Do i need to load ajaxfunctions class? (when modifying wfSajaxSearch ) ? [20:26:01] chuck: It doesn't work? [20:26:03] no [20:26:16] Wiredtape: shouldn't need to [20:26:26] chuck: Are you sure you added require_once(whatever); to LocalSettings.php [20:26:26] RoanKattouw: no, here's the error: [20:26:28] me too [20:26:31] RoanKattouw: yes [20:26:36] 03(mod) "Return to" item doesn't retain contextual parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13 +comment (10minuteelectron) [20:26:37] Fatal error: Call to undefined function wfLoadExtensionMessages() in /var/www/melbyemedia/phase3/extensions/GlobalMessages/GlobalMessages.php on line 20 [20:26:50] lol [20:26:54] update to 1.11 [20:26:56] chuck: 1.11? [20:26:58] 1.12 [20:27:04] ^^ [20:27:11] ? [20:27:38] That's weird [20:27:42] It is indeed [20:28:12] if this function is called at the inclusion by localsettings.php, it won't works as this is defined later [20:28:16] Right [20:28:32] chuck: require_once("$IP/includes/GlobalFunctions.php"); [20:28:46] Or put the wfLoadExtensionMessages() call somewhere else [20:28:50] and $wgMessageCache isn't set [20:28:54] Right [20:28:57] where should i put that require_once line? the extension? [20:28:59] chuck: Forget the require_once [20:29:04] use a extension function [20:29:06] okay what then? [20:29:07] You should create a setup function [20:29:20] $wgExtensionFunctions[] = 'setupMyExtension']; [20:29:28] - ] [20:29:38] argh this seems like it's getting too complicated to just set a few global messages for the wiki farm [20:29:39] Then function setupMyExtension() { wfLoadExtensionMessages('myextension'); } [20:29:47] please this Irc Shannel is for ? [20:29:54] MinuteElectron: are you User:MinuteElectron? I left a message on that user's talk page, and i'm going to feel stupid if it's not you [20:30:00] SQLSRVX86: Support for MediaWiki www.mediawiki.org [20:30:13] Thanks [20:30:14] chuck: It's not; what I just said should take care of it [20:30:30] Random832: yeah, that's me [20:30:31] kk [20:32:23] nice, it works! [20:32:26] thanks RoanKattouw and ialex [20:32:57] 03huji * r30176 10/trunk/phase3/languages/messages/MessagesFa.php: Adding new translations [20:32:59] chuck: global messages for a wiki farm? could you tell me more, that sounds very interesting? :-) [20:33:58] RoanKattouw: hmm, just a question with the mime type of format=txt and format=dbg, the type text/plain works as expected with my version of IE7 [20:34:16] Jack_Phoenix: well i've setup a wiki farm, and theres a few messages, such as "sharedupload", that i want to show on all of the wikis in the farm [20:34:23] ialex: Not with mine [20:34:35] originally i was hardcoding the global messages into languages/messages/MessagesEn.php (not very pretty) [20:34:42] ialex: Put somewhere in your text/plain [20:34:49] RoanKattouw: text/text? [20:34:59] so river recommended me to make an extension that sets the global messages ;-) [20:35:06] VasilievVV: text/plain causes a security hole in IE7 [20:35:26] But maybe that's just because of intranet settings [20:35:42] Anyway, text/text was handled just fine by both Firefox and IE7 [20:35:53] Which hole? [20:35:54] chuck: fun - are you gonna release the extension on mediawiki.org? I've been looking for something like that for a while - hardcoding them in messagesEn.php is about the only choice atm :) [20:35:54] I'd like to be able to load action=raw as text/plain, to view source in-browser [20:36:03] Not by opera [20:36:12] And not by RFCs [20:36:22] Jack_Phoenix: i guess i could [20:37:16] WHAT THE FUCK!?!??!?!?! [20:37:33] "Raw pages must be accessed through the primary script entry point." [20:37:41] Yes [20:37:42] since when? [20:37:50] Since recently [20:37:53] um... [20:38:06] Brion closed that security hole a week ago [20:38:10] you do realize that action=edit still fails to display the source to anons if anon editing is disabled [20:38:13] how is that a security hole? [20:38:33] please tell me that's a wikimedia thing and not part of stock mediawiki [20:38:35] It's not a security hole [20:39:06] does anyone know why putting "err=98" breaks my new "Note" template? - instead of getting what i've typed in on the actual article, i get "{{1}}" [20:39:20] action=edit fails to display source of non-protected pages to anons on projects with no anon editing; without action=raw there is now NO way to get the wikitext [20:39:39] is it possible to have such thing ? {{TALKPAGENAME:User:Foo}} --> [[User_talk:Foo]] ; {{TALKPAGENAME:Foo}} --> [[Talk:Foo]] ? [20:39:40] think so [20:39:47] Use action=raw from primary script entry point [20:39:53] what's "primary script entry point"? [20:40:12] index.php? [20:40:17] E.g. /w/index.php?action=raw&title=test instead of /wiki/Test?action=raw [20:40:29] then it tries to save the file with the filename "index.php" instead of "Test" [20:40:41] yes [20:40:42] and, you know, the message could be a little more clear [20:40:54] i thought it was talking about some kind of referer check [20:41:12] and why isn't /wiki/Test?action=raw allowed? [20:41:31] Because it will be saved under "Test" filename [20:41:35] security issues [20:41:38] Wiredtape: do you know why putting "err=98" breaks my new "Note" template? - instead of getting what i've typed in on the actual article, i get "{{1}}" [20:41:51] hello ? [20:42:06] Imagine that someone created "test.pl" page [20:42:13] if someone created a page [[Virus.vbs]], /wiki/Virus.vbs?action=raw would save the page with a .vbs extension [20:42:21] User can run it by accident [20:42:25] currently i have no choice but make a switch which texts each namespace [20:42:29] tests* [20:42:44] but index.php?title=Virus.vbs&action=raw will save it as index.php [20:43:03] Also, IE sometimes ignore MIME types, so for IE this protection was enabled a while ago [20:43:53] though it makes Scary Translcuding even worse [20:44:08] which should be fixed [20:44:10] RoanKattouw: output changed (i.e. no more same font) but I recieve no alert [20:44:18] how do i enable nice URLs? i currently have index.php?title=Main_Page but i would like to have just Main_Page [20:45:14] for example i would like a template like this : [[{{{1}}}]] - [[{{TALKPAGENAME:{{{1}}}|Talk]] [20:45:34] [[{{{1}}}]] - [[{{TALKPAGENAME:{{{1}}} }}|Talk]] [20:45:51] marvus: Use {{ns:3}} [20:45:58] !prettyurl [20:45:58] --mwbot-- I don't know anything about "prettyurl". [20:46:01] !url [20:46:01] --mwbot-- 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 [20:46:12] fishsponge_: See above [20:46:21] ialex: What are you talking about? (Sorry, been away) [20:46:46] RoanKattouw: XSS issue with api.php and format=dbg... [20:47:03] thanks RoanKattouw [20:47:06] does anyone know why putting "err=98" breaks my new "Note" template? - instead of getting what i've typed in on the actual article, i get "{{1}}" [20:47:32] instead of [[{{{ns|}}}:{{{1}}}]] - [[{{#switch:{{{ns|}}}| [20:47:59] RoanKattouw : the 3 in {{ns:3}} is hardcoded [20:48:09] RoanKattouw: maybe you should introduce an "dbgfm" output [20:48:17] ialex: It's there AFAIK [20:48:19] i want it find it automaticly form User:Foo, Template:Foo, etc [20:48:21] In latest SVN [20:48:40] !magicwords | marvus [20:48:40] --mwbot-- marvus: For more information about creating magic words and their inner workings, see . For a list of magic words, please see . [20:48:45] Latter link [20:48:46] RoanKattouw: right [20:48:54] another question, how does $wgExtensionCredits work? i can't seem to get it listed in Special:Version [20:49:05] chuck: Put it outside of a function [20:49:14] And use $wgExtensionCredits[] = array(your stuff); [20:49:22] www.mediawiki.org/wiki/Manual:$wgExtensionCredits [20:49:40] Oh you need to use a type index [20:50:11] RoanKattouw: do you know why putting "err=98" breaks my new "Note" template? - instead of getting what i've typed in on the actual article, i get "{{1}}" [20:50:30] chuck: cool, could you please let me know when it's available? :-) (sorry for the late reply, so many tabs open at once, argh!) [20:50:51] fishsponge_: Use 1=err=98 [20:51:38] RoanKattouw: what does 1= mean then? [20:51:58] fishsponge_: using err=something means {{{err}} will be replaced with "something" [20:52:20] Whenever a value contains "=" signs, you need to prepend 1= (or 2=, 3=, whatever the position of the parameter is) [20:52:21] me too [20:52:23] fishsponge_: 1=err=98 [20:52:32] oh, right, someone already said that [20:54:14] RoanKattouw: well, the err=98 bit is actually part of a longer string ('...will say something like "Can't bind 0.0.0.0:http err=98" in which case...') - will 1= still work? [20:54:50] RoanKattouw: just tried it - doesn't work, here's what i have: [20:54:51] {{Note|It will say "Can't bind 0.0.0.0:https 1=err=98" if it's already running, in which case, kill any stone processes, wait 5-10 seconds and try again.}} [20:55:13] should i open a bug for my issue ? [20:55:23] Random832: could you look at my note above? [20:57:08] Jack_Phoenix: yep, just importing it into svn rght now [20:57:13] fishsponge_: try {{Note|1=It will say "Can't bind 0.0.0.0:https 1=err=98" if it's already running, in which case, kill any stone processes, wait 5-10 seconds and try again.}} [20:57:16] cool :D [20:57:58] does anyone know why interwiki transcluding uses action=render? [20:58:31] to not get the whole page, i think [20:58:52] but then it ignores things like [20:59:15] and interwiki template substitution uses action=raw [20:59:22] the page is parsed on the remote wiki like a normal page [20:59:51] to use action=raw, use {{raw:interwiki:template}} [21:03:59] does anyone know how to clear out the cache of pages? i've just changed my sidebar and need to visit a special page to clear the wiki cache (NOT the browser cache) and i can't remember the pagename... [21:04:23] it's the Main_Page that;s out of date [21:04:39] 03(NEW) dynamic talk page link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12805 15enhancement; normal; MediaWiki extensions: ParserFunctions; (alistrius) [21:04:50] fishsponge_: ?action=purge [21:05:00] here it is http://bugzilla.wikimedia.org/show_bug.cgi?id=12805 [21:06:59] fishsponge_: the sidebar? [21:07:11] is this a script in your user javascript, that does this? [21:07:29] MZMcBride: thanks - that's perfect, how do i link to that URL though? do i need to use [http...] or can it be done with [[pagename]] ? [21:08:09] you can do http://website.example/w/index.php?title=Pagename&action=purge [21:08:13] fishsponge_: you can't purge the cache for scripts, you just have to wait [21:08:20] Random832: read MZMcBride's note above for that answer [21:08:31] or you can do http://website.example/wiki/Pagename?action=purge [21:08:33] it won't work [21:08:38] depends on your configuration [21:08:52] *Random832 is confused maybe? [21:08:59] MZMcBride: so that means i have to hard code the URL? surely i can make it relative, just in case we move the server name or Wiki path? [21:09:19] just depends where you're putting the URL [21:09:19] i thought you were talking about a sidebar-modifying script on a wikimedia wiki [21:09:29] fishsponge_: {{fullurl:Pagename|action=purge}} [21:09:37] :) [21:09:43] Random's got it [21:09:48] cool :-) [21:09:51] one last question... [21:10:02] {{Note|It will say "Can't bind 0.0.0.0:https 1=err=98" if it's already running, in which case, kill any stone processes, wait 5-10 seconds and try again.}} [21:10:20] the above doesn't work due to the err=98 part - any suggestions? putting 1=err=98 does nothing [21:10:29] fishsponge_: no, you need {{Note|1=It will say "Can't bind 0.0.00:https err=... [21:10:37] damn. beaten again [21:10:42] when I said 1=err=98 I thought the parameter was only "err=98", not the whole thing [21:10:52] Random832: yeah, sorry about that... [21:12:40] ok, that works perfectly, but i'm still stuck with the {{fullurl:Pagename|action=purge}} thing... do i need to replace certain parts of this string? [21:13:36] {{fullurl:{{FULLPAGENAME}}|action=purge}} [21:13:43] !magicwords [21:13:43] --mwbot-- For more information about creating magic words and their inner workings, see . For a list of magic words, please see . [21:14:02] read more about fullurl: and {{FULLPAGENAME}} there ^^^ [21:17:29] thanks MZMcBride! [21:18:16] no problem [21:18:34] hi MinuteElectron [21:25:04] I [21:25:18] I'm still seeing there wierd empty responses from the API [21:26:03] MZMcBride: i'm still confused... :-( [21:26:48] hm? [21:26:50] {{fullurl:Pagename|action=purge}} still produces a link to http://mydomain.com/index.php?title=Template:Fullurl:Pagename&action=edit [21:26:52] 03(NEW) Fullurl doesn't work inside #tag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12806 15enhancement; normal; Wikimedia: General/Unknown; (MZMcBride) [21:26:56] my wiki is at root level btw [21:27:23] Jack_Phoenix: http://www.mediawiki.org/wiki/Extension:GlobalMessages [21:27:33] fishsponge_: which version of MW are you running? [21:27:38] 1.5.7 i think [21:27:49] oh, i don't think fullurl was supported then [21:28:01] ah, ok... any alternative that doesn't involve upgrading then? [21:28:06] chuck: cool, I'll check it out :D [21:28:13] i'm basically trying to get away from hardcoding in case we change the server URL or wiki patgh [21:28:14] actually, the help page says it is supported [21:28:15] *path [21:28:37] I'm having a problem with my function (called by a hook) .. it isn't causing the original function to exit when I use return false;... [21:29:28] fishsponge_: example here: http://pruebita.com/wiki/Main_Page [21:29:39] {{FULLPAGENAME}} is relative to wherever it ends up [21:29:47] are you trying to use it in a template? [21:29:57] no, just on a page [21:30:12] well, it should work [21:30:55] hmm... the wiki code looks different on your page... let me have a try... hold on [21:31:39] i think my wiki is missing something... with the same code you are using, i get this: [21:31:44] [{{fullurl:Template:FULLPAGENAME|action=edit}} purge] [21:31:52] whereas you get this: [21:31:53] purge [21:32:55] i think i'm missing the fullurl template, and the FULLPAGENAME template [21:33:46] can this be done with the template i actually have? this is a default 1.5.7 install btw [21:37:17] Hi, I am writing an extension... it is called on hook SajaxSearch (ajaxfunctions.php).. I am trying to return false so that my function will override wfSajaxSearch() however, it isn't working.. any ideas? [21:37:25] fishsponge_: you don't need any templates [21:37:35] {{fullurl: isn't a template, it's a parser function [21:38:44] ah well, i've done it this way now... click [{{SERVER}}/index.php?action=purge here] [21:38:45] lol [21:38:51] thanks for your help, but i've given up! [21:38:58] ok :) [21:39:03] * paste of my extension: http://rafb.net/p/mi9cs097.html [21:42:01] anyone have any ideas regarding the problem? [21:45:22] Is there a way to make the MediaWiki parser do math? Like if I have "1" and I want to do 4-1, how would I do that? [21:45:54] 03grondin * r30177 10/trunk/phase3/languages/messages/ (MessagesFi.php MessagesHu.php MessagesLa.php MessagesNl.php): Localisation updates for extensions messages from Betawiki (2008-01-17 22:22 CET) [21:46:26] habnabit: do you have the ParserFunctions extension? [21:46:38] MrZ-man, with {{if#}} and such? Yes. [21:46:50] {{#expr: 4-1 }} [21:46:55] Oh! Thanks a lot. [21:47:26] See http://meta.wikimedia.org/wiki/ParserFunctions [21:48:24] ! ParserFunctions | habnabit [21:48:28] !ParserFunctions | habnabit [21:48:28] --mwbot-- habnabit: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [21:59:43] Hi, I am writing an extension... it is called on hook SajaxSearch (ajaxfunctions.php).. I am trying to return false so that my function will override wfSajaxSearch() however, it isn't working.. any ideas? [21:59:51] * paste of my extension: http://rafb.net/p/mi9cs097.html [22:02:57] Wiredtape: there is no such hook. [22:03:44] ah, ok, there is now. [22:03:50] there *was* no such hook :P [22:03:55] :) [22:04:56] well it really should be working. how is it not working? not getting called? or do both get called? [22:05:51] instead of "deleting" the {{#ifexist: could it use some cache ? [22:05:55] both get called.. unless i return false; -> if I do, then nothing gets sent to the page.. (ie. there is no $response) [22:06:12] if the problem comes from server load issues [22:06:48] mostly because I am not returning a result, and just closing the function.. should I just echo onto the page directly? [22:07:00] marvus: i think it already uses linkcache (though icould be wrong) [22:07:27] Wiredtape: you must return a result. otherwise, you implicitely return NULL, and mediawiki will explicitly rais a fatal error. [22:07:42] which you will see when you enable on-page error output [22:08:02] hi, for the life of me, i cant figure out how to install this new skin i downloaded, can someone help me out [22:08:20] newrkv: that depends on how the skin is defined. [22:08:31] newrkv: is it a completely new skin, with php files and all? [22:08:37] Duesentrieb, I return false; (so the original function doesn't continue running) however, I can't then return the response from the ajax response class.. (or maybe I just don't understand how that works) [22:09:00] umm, let me give you the link so you can tell me, i am rather new to the mediawiki world. i was usin tikiwiki before [22:09:36] Wiredtape: hm? you get an out-param called $output. the ajax call will return whatever you set that to. [22:09:37] me too [22:09:48] http://meta.wikimedia.org/wiki/Gallery_of_user_styles#Voice_of_All.27s_Admin_Monobook [22:10:02] Duesntrieb, so just set $output to $html? [22:11:22] newrkv: that's just a bit of user styles. you enable this by pasting the code into the respective mediawiki pages. for yourself, that would be User:Newrkv/monobook.css resp. User:Newrkv/monobook.css [22:11:45] well.. it works now.. it worked with echo $html, or $output = $html... so either way it works .. thanks Duesentrieb... [22:11:50] newrkv: for everyone, you would put it into MediaWiki:monobook.css resp. MediaWiki:monobook.js [22:11:50] That's a rather broad generalization [22:12:16] bla bla bla bla youtube blah [22:12:17] youtube isn't working for me for some reason [22:12:20] HA! [22:12:21] Wiredtape: don't use echo. that screws up all the header management mediawiki does, also compression, etc [22:12:34] someone dump the lti bot [22:13:12] Duesentrieb, ok.. I am using $output.. [22:13:25] Wiredtape: so, what was the problem then? [22:13:27] blah blah bla language blah [22:13:29] im going to try it now [22:13:37] Hi, I have a question : " What is the use of the log-page "Merge log" in Special:Logs because when I make a merge, nothing appear in it ? Crochet.david@frwikiversity . [22:14:46] dcrochet: maybe they're adding a new feature to make history merging easier [22:14:53] rather than requiring multiple deletions and undeletions [22:15:38] i think someone wrote an extension for that [22:15:49] however, DO NOT DO THAT if the histories overlap. [22:15:57] is backspace considered typing for javascript? [22:16:06] Wiredtape: is it considered typing for what? [22:16:08] Wiredtape: very likely [22:16:13] it generates a keypress event [22:16:23] Wiredtape: it generates a key event, *and* it changes the content. so, yes. [22:16:47] ok, thanks all [22:16:52] if pressing&releasing ctrl is considered typing, *that* i don't know :P [22:17:27] Duesentrieb: i think that generates keydown and keyup events but no keypress [22:18:32] Duesentrieb: history's always going to overlap somewhat, due to people making a redirect as part of a cut/paste move [22:18:49] or pasting onto a redirect [22:19:40] Random832: yes, but that's easily detected. interleaving of last/first edit [22:25:20] makeKnownLinkObj( $nt ) creates an link to the article retrieved into $nt? [22:26:16] is it possible to assign an id to those links? [22:27:10] so i would go to /skins/monobook/ to do this right?b because there is nothing named monobook.css in there... [22:31:34] newrkv: no. [22:31:46] newrkv: it does not go into any file at all. it goes into a special wiki page. [22:31:54] i gave you the names of the pages in question. [22:31:56] oh.... [22:32:09] see, im completely new to this, sorry for sounding so unaware... ;) [22:32:23] !css [22:32:23] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [22:33:15] 03(mod) Server should return a 404 HTTP status code if the page does not exist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2585 (10Platonides) [22:33:15] newrkv: it's a common error. though i wonder why people are so stuck on the idea that is has to go into a file, even though i take care to always say "page" and the names look odd for a file name (containing ":") [22:37:09] so "refresh" became an additinal action on 1.12? (for sysops?) [22:38:52] Is there anything I have to do to mediawiki if I upgrade Apache from 2.0 to 2.2? [22:43:14] Or upgrading from PHP 5.1 to 5.2? [22:51:34] I'm running mediawiki-1.8.2. Is there a version I have to upgrade to for it to work with PHP 5.2? [22:51:59] 1.8.2 should work with PHP5.2 [22:52:07] deltaray2, i think anything above 1.8 should work with php 5 [22:52:17] 03(NEW) Add Secure Login Link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12807 normal; normal; Wikimedia: General/Unknown; (wm-thunderhead) [22:52:18] amidaniel, beat me to it :) [22:52:27] *amidaniel is good :) [22:56:27] (: good is amidaniel [22:56:38] or maybe [22:56:46] (: doog si leinadima [22:59:35] deltaray2: iirc, 5.3 will be problematic. mainly because "namespace" becomes a reserved word. [22:59:43] 03(mod) Add Secure Login Link - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12807 (10e.wikipedia) [23:01:04] (: egaugnal wen nuf a ekil sdnuos ... hoo [23:02:34] anyone here besides tim intimately familiar with the new parser? [23:19:25] carl-m: I think MZMcBride is pretty up-to-date on it [23:19:43] *MZMcBride is good at pointing out things and saying "it broked" [23:19:48] :p [23:23:41] :) [23:43:38] <_CitizenKane_> is there are good way to add internal links to a skin's code? [23:45:17] <_CitizenKane_> so i could say, make a sidebar of links to important pages? [23:47:46] _CitizenKane_: to change the sidebar, just use MediaWiki:Sidebar [23:47:50] it support external links [23:47:55] supports, even [23:48:13] and internal links [23:48:14] <_CitizenKane_> well, i want to do this in addition to the sidebar [23:49:20] well, you know you can add boxes in the sidebar, right? [23:49:42] <_CitizenKane_> ah, i didn't actualyl [23:50:14] <_CitizenKane_> didn't even think about that =/ [23:50:36] http://mediawiki.org for an example of a wiki doing it [23:50:50] <_CitizenKane_> well, thanks [23:53:48] can i change the default options selected on Special:BlockIp without using some ghetto js crap? [23:54:45] MinuteElectron, I'm theoretically working on all the bugs I've assigned to myself, but probably will not get around to dealing with many of them anytime soon. If you want to submit a patch, feel free. [23:55:19] Zach: you can check if there are parameters it will take [23:55:28] !man Parameters to index.php [23:55:28] --mwbot-- http://www.mediawiki.org/wiki/Manual:Parameters [23:55:33] silly bot [23:55:44] http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php [23:55:55] Simetrical: Well, this would be kinda useful to have so I wouldn't mind putting some work in on it myself and having it implemented - especialy if you don't plan to do it for a while. [23:56:22] Simetrical: Have you read my ideas on it - a second opinion would be nice before I rush into anything. [23:56:44] MZMcBride: sorry for the long delay. You've looked through the new parser source some? [23:57:11] nah. not really. i've mostly been reporting bugs and helping list expected differences