[00:10:43] hello dear friends [00:11:09] i am trying to hack a solution for my media article feed problem [00:11:18] 03siebrand * r31411 10/trunk/extensions/ (30 files in 11 dirs): [00:11:18] * move directories part of SocialProfile in a subdirectory [00:11:18] * made a start with integrating all subextensions into one (SocialProfile.php) [00:11:18] * using wfLoadExtensionMessages [00:11:18] * (partially) updated installation documentation of components [00:11:19] Unfinished and unstable at the moment. Lots of 'Undefined variable' notices. [00:11:28] in short, feed items dont get an field [00:11:31] which is bad [00:12:57] the AtomFeed class in Feed.php does a formatTime( wfTimestampNow() ) ?>Z [00:13:28] 1) what's the Z for, 2) why wfTimestampNow (dunno what that is) instead of $this->getDate ? [00:19:05] 03siebrand * r31412 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Add support for SocialProfile (3 groups) [00:21:34] Jack_Phoenix: I think I did a lot of the work already. But the extensions are giving a lot of 'Undefined varialble' notices. I do not know how to resolve those. [00:22:17] siebrand, cool. :-) dunno why they're spitting out undefined vars though...I suggest poking someone who actually knows something about php, such as brion or Tim ;-) [00:22:43] it was made by Wikia, I'm just surprised it hasn't gotten PHP fatal errors for non-wikia setups [00:22:45] Jack_Phoenix: well, there are many more that know I guess. [00:22:53] hi [00:23:05] Skizzerz: care to take a look at SocialProfile? [00:23:12] sure, why not [00:23:17] Skizzerz: installation has become a bit more easy. [00:23:18] *Skizzerz svn updates [00:23:27] siebrand: yup, I bet :-) [00:23:47] Skizzerz: just require_once SocialProfile/SocialProfile.php and add all the tables from *.sql. [00:23:48] *Skizzerz watches the flood of i18n go by [00:23:55] mmm, i asked the wrong stuff [00:23:57] hey, that's a bit easier then [00:24:03] Skizzerz: need to make an install script for that. [00:24:05] I'm actually taking a look at SocialProfile this very moment myself :) [00:24:17] Skizzerz: found and example somewhere in the extension tree, but it is getting late... [00:24:21] *Skizzerz is NOT the one to be looking at to write install scripts ;) [00:24:26] I want to access a parser hook function (googlemaps extension) for every page, what hook would i use? [00:24:38] siebrand, when was this updated? (the installation part?) [00:24:43] Wiredtape: cool. Have fun. I think I did the basics, now those better at programming have to take over... [00:24:56] Wiredtape: a few minutes ago. [00:25:03] yay PuTTY fatal errors? [00:25:29] siebrand :), were you the one who posted it on wikitech-l? [00:25:55] Wiredtape: nope. I'm just another annoying committer. [00:27:16] .. i just wrote a reply on that.. saying it would have been nice to have the "recent changes", "networks", "gifts" and "statistics" widgets available.. [00:27:27] Wiredtape: yeah, just read it. [00:27:52] Wiredtape: let's get this monster working properly on trunk ;) [00:27:55] :) [00:29:07] btw, how do you lay it out on there? [00:31:26] Wiredtape: was that a q for me? And if so: can you rephrase. I do not understand the question. [00:31:28] ugh, that's a lot of code [00:32:11] and not XHTML compliant [00:32:38] siebrand, yeah, sorry it was a bit of a mess :) I was wondering, once installed, how does the "social profile" lay out.. (what's the layout of the widgets, can you change that?) [00:32:40] Skizzerz, when has wikia been? ;-> [00:32:43] Skizzerz: yeah. Should be considered unstable and needs work... [00:32:59] Wiredtape: not a clue yet. [00:33:12] *Skizzerz wonders if he can get Wikia to pay him to fix the code to make it work without tons of errors... [00:33:50] Wiredtape: I just fixed the structure of the code for now. Should be more readable (I hope) so that someone who actually gets it can more easily work with it. [00:34:06] off to sleep, 'night everyone :) [00:34:08] Skizzerz: not a bad idea. I suggest to enter private mail mode... [00:34:12] ;) [00:34:28] ;) [00:34:31] Skizzerz: I already put in 4 hours or so. [00:34:50] yeah, it's still in rough shape [00:34:50] hmm, probably moer. [00:35:06] granted, Wikia seems to be attracted to unstable stuff [00:35:27] Skizzerz, like all "closed" project :) [00:35:40] siebrand, am checking out from svn now.. [00:36:40] Skizzerz: oh, and some ExtensionCredits have to be sprinkled over it... [00:54:07] I create a language class for mediawiki, how can I send it to main servers? [00:54:37] Is there any main developer here to talk to him/her? [00:55:34] oxygenws: sorry, is this for your local install of mediawiki or for the wikimedia foundation? [00:56:27] Skizzerz, now i implement the class, but want to send it to main server of mediawiki (or send to someone to test and upload it) [00:56:30] ah [00:57:34] Skizzerz, what? [00:57:52] oxygenws: please add your request here -> http://translatewiki.net/wiki/Translating:Tasks [00:58:03] oxygenws: you can submit patches to bugzilla.wikimedia.org. If you want to work on i18n/L10n, please also visit http://translatewiki.net. [00:58:16] skiidoo, is it in transating isues? it is about time n date [00:58:41] Skizzerz, is it in transating isues? it is about time n date [00:58:41] oxygenws: Skizzerz' suggestion is also nice, although http://translatewiki.net/wiki/Translating:Support is probably better. [00:58:49] siebrand: forgive me for being ignorant, but L10n = ? (Localisation would be my guess) [00:59:13] yes [00:59:23] Skizzerz: correct. Localisation is the language specific implementation of internationlisation features. [00:59:28] l10n = localization, i18n = internationalisation [00:59:31] don't you love it how people answer their own questions [00:59:32] yes [01:00:46] Skizzerz, thanks, i try to find what should i do, after your link :D [01:00:56] oxygenws: and you may also want to join #mediawiki-i18n if you are thinking on staying active in the field.. [01:01:14] siebrand, thanks :) [01:01:20] ooh, another mediawiki channel I didn't know about [01:03:13] siebrand, i didn't patch anything, only implement a new language for its calendar and NOT for its phrases [01:03:49] oxygenws: yep, that's what I understood from your question. [01:04:12] oxygenws: if you link to the file on [[betawiki:Support]], Nikerabbit will most probably check your code and commit it. [01:04:45] siebrand, thanks :D [01:15:47] Evenin' folks. Anyone able to help me code a collapsible navbox on a wiki? [01:20:30] 03(NEW) Ability to use hyperlinks in log summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13205 15enhancement; normal; MediaWiki: General/Unknown; (agkwiki) [01:20:55] Bodhisattva: you may want to check out the NavFrame/Collapsible Tables code from http://en.wikipedia.org/wiki/MediaWiki:Common.js [01:22:13] Skizzerz: Thanks! But... I'm not quite sure what to do with it. [01:23:02] bodhisattva, you have also a new extension that does that .. [01:23:31] Really? [01:23:32] copy it to your wiki's MediaWiki:Common.js (you must be a sysop), clear your browser cache, then put in on a page in the format found http://en.wikipedia.org/wiki/Wikipedia:NavFrame [01:23:45] That's the issue. I'm not a sysop. Unfortunately. [01:23:55] Wiredtape: what extension? [01:23:57] Bodhisattva, hmm.. if you [01:24:12] *you're not a sysop you won't be able to add the extension either [01:24:13] I'm just a common user. [01:24:18] Crappy. [01:24:36] I was trying to code it the hard way, but was unsuccessful. [01:24:49] Skizzerz: extension:NavContent [01:24:58] !e NavContent [01:24:58] --mwbot-- http://www.mediawiki.org/wiki/Extension:NavContent [01:25:04] laziness ftw [01:25:08] :) [01:25:53] That NavContent doesn't quite seem to be what I was looking to do. [01:26:06] you wanted to show/hide stuff, no? [01:26:18] hmm, that doesn't fit a lot of purposes though, it requires stuff to be placed on other pages [01:26:31] true.. [01:26:49] but, it's atleast a step in the right direction. [01:27:07] I wanted to create collapsible Navboxes like you find on Wikipedia, and yes, it's definitely a step in the right direction. :) [01:31:08] But, since I'm not a sysop, this is going to be quite the challenge. [01:36:43] Is there any way to get texvc without compiling it? I'm on a shared host [01:39:34] siebrand, (in socialprofile extension) - do you have any idea where UnlistedSpecialPage class is defined [01:39:35] ? [01:40:00] Wiredtape: grep in phase3/includes/ [01:40:04] Wiredtape: use SpecialPage::UnlistedSpecialPage [01:40:11] it's in /includes/SpecialPage.php [01:41:02] Skizzerz, ok.. then it should be defined.. UserRelationship is extending it, but there's a php fatal error about it not being defined.. [01:41:24] yeah, you have to use that thingie I just used to define it [01:41:59] ok.. thanks [01:42:11] SpecialPage class does NOT include the subclasses, the subclasses extend the main class. So you have to call it with the subclass and not the main class :) [01:42:37] :) [01:43:17] How can I determine the absolute file name from an image page? e.g. How do I get from "./index.php/Image:TestImage4.JPG" to [01:43:23] it's almost comical... you know exactly what you're talking about, yet you call it a "thingy" [01:43:37] "./images/d/d9/TestImage4.JPG" which is how the image is stored? [01:43:43] james9999: clicking on the image should work [01:44:03] use {{filepath:TestImage4.JPG}} if you have a newer version of MediaWiki to get it inline [01:44:04] hehe, no, but i don't think you can reference a subclass in a class definition line.. (or atleast php doesn't think so.. giving me an error for the :: ) [01:44:13] hmm [01:44:21] I am trying to write a pararamio like extension ... so I need to get the actual file name to write into a kml generator [01:44:25] how about i just require specialpage for now.. [01:44:41] you have to put in all the stuff that's required ;) [01:44:53] :) [01:45:04] hey WholeWheatRadio, how're things in alaska? [01:45:11] Going great Wired! [01:45:23] UnlistedSpecialPage( $name, $restriction = '', $function = false, $file = 'default' ) [01:45:46] Skizzerz, just like that? [01:45:51] so SpecialPage::UnlistedSpecialPage( 'SomePage' ); [01:46:00] Anyone want to save me the time of searching the code to find which module I need to tweak so that ~~~~ automatically adds the user's talk page (as seen on Wikipedia)? [01:46:03] should do fine unless you need to restrict it [01:46:36] WholeWheatRadio: MediaWiki:Defaultsig IIRC [01:46:52] (if not try MediaWiki:DefaultSig :P ) [01:46:53] AHA! Thanks! Easier than I thought it would be! [01:49:03] Skizz where can I get the {{filepath:TestImage4.JPG}} filepath template? Its not in my install of the latest mediawiki stable release ... ? [01:49:24] it's a paser function, added in either 1.11 or 1.12 (can't remember) [01:50:03] !gimme a list of parser functions [01:50:03] --mwbot-- I don't know anything about "gimme". [01:50:09] :( [01:50:50] james9999: http://www.mediawiki.org/wiki/Extension:Filepath is an extension for earlier versions that does the same thing [01:51:08] siebrand, u have commit for socialprofile? (if yes, I have a small fix for you.. regarding the mysql table setup (doesn't set up with prefix)) [01:51:43] Wiredtape: I really, really have to go get some sleep now... Almost dropped my head on my keyboard... [01:51:46] Wiredtape: I can commit [01:52:07] Skizzerz, will put on pastey in a few minutes.. siebrand - good night :) [01:52:14] dcc me the patch and I'll apply+commit it... or use a pastey [01:52:27] hello all [01:52:33] much obliged skizz [01:54:06] I'm trying to setup the CategoryTree extension. I put everything where it's supposed to go but when I try the example tag I get "Category Manual not found". What am I doing wrong? [01:54:34] "Manual" is the name of the first tree [01:56:15] *Skizzerz notes that it has been "a few minutes" ;) :P [01:57:31] Skizzerz, :) it turns out it much more messed up than i thought... - isn't selectRow, supposed to try using the dbprefix? [01:57:41] no [01:57:48] only the names of tables use the prefix [01:57:59] the rows inside remain untouched [01:58:08] right.. but you need to select a row from within a table if you have selected one.. [01:58:22] *if you haven't selected one [01:58:48] apparently UserStatsClass.php assumes there is a table selected.. [01:58:57] SELECT `some_row_no_$wgDbPrefix` FROM $wgDbPrefix . 'table_name' ... [01:59:12] Skizzerz, yeah i know :) [02:00:12] yeah, just add $wgDbPrefix (don't forget to global it first!) to the beginning of the table name in all select/update/etc. commands [02:00:56] 03(NEW) speex - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13206 normal; normal; MediaWiki: General/Unknown; (azatoth) [02:01:39] anyway, I g2g. memoserv me the link of whatever to fix, etc. [02:01:53] k [02:02:36] skizz im confused ... http://www.mediawiki.org/wiki/Extension:Filepath says its stable but deprecated and now built into 1.12ALPHA whereas 1.11 is the official stable version which im running. They say dont use it but to get its functionality im supposed to install an alpha??? [02:03:18] someone... [02:04:02] Silentrage, is manual created, did you enter some text in it? [02:04:23] I have a page with an existing table of contents [02:04:31] is taht what is needed or something else? [02:05:00] Silentrage, that's what's needed.. hmm.. perhaps you didn't call category:Manual ? [02:05:29] that could be it, how do I correct that? [02:05:45] is that a namespace? [02:05:48] yes.. [02:06:00] or if you have a link i can take a look [02:06:04] i'm new to adding extensions and stuff... [02:06:40] give me a minute and i'll see if i can add it [02:06:45] ok [02:12:28] 03avar * r31413 10/trunk/extensions/Cite/Cite.php: typo: Languague => Language [02:15:47] ok cool, looks like it's working [02:25:23] Don't mean to be dense but Mediawiki:DefaultSig doesn't seem to work to change 4 tilde sigs. Wikipedia has http://en.wikipedia.org/w/index.php?title=MediaWiki:Signature&action=edit but that did nothing either when I added it to my Mediawiki namespace. I see where sigs are handled in Parser.php but don't want to mess if Mediawiki ns allows changing sig. It should?? http://en.wikipedia.org/wiki/W [02:25:24] ikipedia:Village_pump_%28proposals%29/Archive_5#Updated_in_svn [02:26:24] Er, and when I say Mediawiki:Signature did nothing, I also mean I just put stuff like "test" in it to see if I would get that word in the sig and it didn't show the word. [02:27:45] WholeWheatRadio, check if it comes up as a message.. or you might want to add a message.. [02:29:07] ? If I create Mediawiki:Signature and just put the word "test" in it, then go to an empty page, put ~~~~ in it and Show Preview, it just shows the normal sig. So it's as though Mediawiki:Signature isn't being used. Or else it's a caching issue which I'm testing now [02:29:44] right.. which is why i think ~~~~ is set to something else.. which you might be able to see in Special:Allmessages [02:31:24] i am searching the API for a way to extract the hiragana (phonetic) spelling of japanese article titles. it might only be present in article texts... any help? [02:33:01] can i get article contents through the api? [02:33:42] brick_ijigg, yes, take a look at the !api [02:33:45] !api [02:33:45] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [02:34:00] yeah, i've been reading those pages without finding it yet [02:34:24] it *should* be there, i haven't personally used it yet.. so i can't help :) [02:34:28] seriously, it seems to be none of the section headings on the right side [02:34:32] OK. [02:40:58] I searched Special:Allmessages pretty closely looking for ~~~~ to be translated ... searched on "sig" and none of those looked like what I wanted. Sure looks like http://en.wikipedia.org/w/index.php?title=MediaWiki:Signature&action=edit is it ... and I'm on 1.11.1 so my code is recent enough ... scanning Parser.php function pstPass2 where it all happens now to see if I can figure out a... [02:41:00] ...Mediawiki:xxx that is uses [02:43:12] Again, I don't mean to be dense and I realize the folks who actually wrote the code might be looking and saying "What an idiot" but it looks pretty hardcoded in http://rafb.net/p/IDrVPZ99.html [02:45:57] And getUserSig doesn't appear to do any magic either. Well ...... hmmmm. I realize Raw sigs in Prefs would let users control it, but I'm wanting to force a link to their talk page after every sig just as Wikipedia does (for good reason) [02:46:52] when you use --~~~~ it doesn't get you a link? [02:48:16] Yes, it does ... to the user page. I want the link to go to the User_talk:xyz page. [02:48:28] ahh... [02:49:58] Er... okay ... I see the code now at the bottom of GetUserSig ... return( '[[' . $userpage->getPrefixedText() . '|' . wfEscapeWikiText( $nickname ) . ']]' ); That's an easy tweak. And one I can keep on the list of things to change on new releases. Still would rather have it be a Mediawiki:Signature thing but I'll take this. [02:50:29] :) i'm glad you found it.. [02:50:35] and now i am going to bed! [02:52:29] Goodnight! [03:04:24] Wiredtape, WholeWheatRadio, blue_asterisk.... I just LOVE seeing all this off-the-wall nicks! I really value the creativity some people have for their handles... hehe... [03:05:06] this = these [03:16:53] Okay - got it. One liner on Parser.php to add a link to a user's talk page on sig. I don't understand why Mediawiki:Signature apparently isn't in the code I'm using, but I am a mere mortal so I shall accept what I've been given. :-) [03:17:17] Thank y'all and good night... ::wave [03:22:15] I need some navbar templates to start from but all the ones i find integrate other navbars and I can't find a good starting point [03:25:50] 03(mod) Category Transclusion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13203 (10tylerromeo) [04:25:27] 03(mod) Add Create permission to Protectedpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12583 (10N/A) [05:10:06] is there some package i can get that has all or most of wikipedia's Template: files in it? [05:20:39] 03raymond * r31414 10/trunk/ (3 files in 3 dirs): Localisation updates German [05:37:21] anyone know if there's a way to view categories in order of body content length? [05:37:35] ie. special:Shortcategories ? [05:38:01] sort it i think [05:39:26] how? [05:41:14] http://meta.wikimedia.org/wiki/Categories#Default_sort_key [05:41:41] is there some package i can get that has all or most of wikipedia's Template: files in it? [05:44:16] please tell me I don't have to add each one by hand [05:45:25] Silentrage: You can export multiple pages at once. [05:45:55] And, frankly, you wouldn't want every template on Wikipedia. Some of them are God-awful bad. ;) [05:46:28] really? so i can just grab the ones i want and mass upload to my own or similar? [05:48:22] yes [05:54:27] the export page is not letting me add any pages to export [05:54:43] wait... [05:54:50] nm [06:01:00] 04(REOPENED) Allow title for new comments to come from the URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13100 (10md5) [06:04:49] 03(mod) Allow title for new comments to come from the URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13100 +comment (10md5) [06:09:12] Silentrage: I can't seem to open that link, bad connection perhaps [06:09:20] could you give me the gist? [06:09:49] basically you should be able to come up with a way to sort your categories [06:10:06] and have that method used by default [06:10:47] I don't want to do it be default though... [06:10:56] hang on a sec [06:11:01] is there a way to do it with the URL? [06:12:39] never mind, it's coming up now [06:12:44] oh ok [06:12:54] cool [06:14:02] I don't think sortkeys does it [06:14:27] scroll past that there is another sort method [06:14:28] I have about 80 categories, of which about 50 are blank [06:14:55] and I want to view the categories in order of the amount of text on the category page [06:15:06] independant of the articles IN the category [06:15:14] wow [06:15:25] not sure it that is possible [06:15:36] I sorts the way normal pages are sorted [06:15:57] Which is by alphabetical or what have you [06:15:59] does anyone know how to do the equivalent of printf("%6d", x); in Java 1.4.x? [06:16:24] it's been driving me a bit crazy [06:16:47] TimStarling: i believe you want NumberFormat, it's a little involved [06:17:02] yeah, I've been trying to understand the documentation for NumberFormat as it happens [06:17:06] naught101: basically it sorts according to the name of the file, not what's in it, unless you do something on the backend like sorting the actual files in the folder to clean them up [06:17:14] maybe there's a tutorial or something [06:18:03] Silentrage: I was just hoping :) thought I might be able to do something like index?title=Special:Allcategories&sort=size or something [06:18:36] well keep at, i am not 100% sure it can't be done [06:19:00] keep asking around, some helpful guys are here [06:26:11] hmm, found a tutorial, but it's still not giving me what I want [06:26:26] DecimalFormat df = new DecimalFormat("#####"); [06:26:26] System.out.println( "[" + df.format( t ) + " " + prefix[lev] + "] " + line ); [06:26:51] df.format(t) does not pad the number t [06:47:27] are the rss and atom feeds documented or linked anywhere other than for recent changes? [06:47:54] special:contributions? [06:49:37] jeremyb: is there a link somewhere or do we just have to know we can add &feed=rss ? [06:50:49] pretty sure it's in the toolbox [06:51:02] i don't have a functioning browser instance handy atm though [06:54:38] hmm i only see it on recent changes [06:56:37] yeah, i don't see it there [06:56:49] pretty sure rc isn't though only place though [06:57:07] makes sense not to be on special:contributors in retrospect [06:57:18] *jeremyb points to the rc table [07:01:04] hmm i can't even get it to work via editing the url for contribs - maybe it's only enabled for rc on the main wikis [07:05:08] no, it was page hist i was thinking of [07:08:31] hippietrailwork: http://pastebin.mozilla.org/349992 [07:09:03] aha [07:12:15] hippietrailwork: better http://pastebin.mozilla.org/350003 [07:13:47] that diff algo is pretty bad :( (http://pastebin.mozilla.org/?diff=350003) [07:33:26] watchlist feed?? [07:39:45] 03rotem * r31415 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [08:13:10] 03(mod) Bots to edit protected pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13137 +comment (10huji.huji) [08:14:58] 03aaron * r31416 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount_body.php SpecialConfirmAccount.php): [08:14:58] * Support adding DEFAULTSORT keys for categories [08:14:58] * Fix misspelled variable [08:21:15] 03(mod) Inaccurate description for Special:Categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13147 (10huji.huji) [08:29:43] 03huji * r31417 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [08:38:57] 03aaron * r31418 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: [08:38:57] *Fix comment [08:38:57] *Forgot to bump version [08:48:26] 03(mod) Ability to use hyperlinks in log summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13205 +comment (10huji.huji) [09:27:38] 03(mod) Hook: TitleMoveComplete, Wrong Page ID present - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13204 +comment (10roan.kattouw) [09:46:05] 03catrope * r31419 10/trunk/phase3/includes/EditPage.php: Fixing bug 13100 by removing a redundant line in EditPage::initialiseForm() ($this->summary is empty by default). [09:47:41] 03(FIXED) Allow title for new comments to come from the URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13100 +comment (10roan.kattouw) [09:47:43] <_wooz> lo [11:08:35] if i create 2 wikis en.url.org/wiki/ and de.url.org/wiki/ and a third media.url.org/wiki/ containing all media files, can i set up all 3 wikis so i can use the media from media.url.org in both wikis like the media would be placed there, with all the linking and thumbnails and so on? [11:19:59] yes [11:24:42] can i insert the content of article in another article which have the ns 0 ? [11:29:16] matata: yes [11:29:35] dungodung, how ? [11:29:41] {{:Article}} [11:31:00] dungodung, i tried to use {{0:Article}} but it failed, thank you for the info :-) [11:31:05] :) [11:31:29] dungodung was that yes an answer to my question? :D [11:31:38] if you don't want to transclude, but rather place the text from the Article, then use {{subst::Article}} [11:31:49] DarsVaeda: indeed [11:32:08] is there a tutorial somewhere or anything i can read? [11:32:14] possibly [11:32:24] how is that called? [11:32:47] i googled filecharing and similar but got no results :( [11:33:20] hmm [11:35:19] dunno. try searching for mediawiki file repository or somesuch [11:35:37] k i'll give a try thanks :) [11:37:16] 03(mod) Ability to use hyperlinks in log summaries - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13205 (10agkwiki) [12:10:47] 03(mod) error with the parser function with CategoryTree - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13028 +comment (10kevin.paul.nichols) [12:17:06] 03(mod) Introduce {{NUMBEROFINTERWIKIS}} magic word - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6548 (10niklas.laxstrom) [12:17:58] what the heck is rc_params [12:19:18] O_o an interwiki count... wtf [12:20:09] I was going to wontfix it but I just threw it out of i18n :o [12:28:46] 03(NEW) Patterns containing "--" breaks page layout - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13207 normal; normal; MediaWiki extensions: LinkSearch; (sco_scam) [12:30:15] 03(mod) Patterns containing "--" breaks page layout - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13207 (10sco_scam) [12:30:58] Hi. can i somehow list all files by MIME type? e.g. list all audio files. i hate to have all the images listed when i look for audio files in my wiki [12:32:08] MONK3000: there's a MIMESearch extension [12:33:05] MONK3000: ah, wrong - it's not an extension. just go to Special:MIMESearch [12:35:12] wtf! checking. and i requested a new extension :) [12:36:49] I noticed in Title.php theres getLatestRevID, to get the latest revision, but is there any way to get the *first* revision? [12:37:43] Hello there, can I somehow list a template (with parserfunctions & {{pagename}}) on all pages of a wiki automatically? [12:38:14] show* [12:39:52] MnaNaHEreann, try editing MediaWiki:Sitenotice of your wiki [12:40:54] TimStarling, is there a way in ParserFunctions to handle expressions such as 1E-09? it can output it, but it doesn't accept it as an input, and this is a problem [12:41:05] Sitenotice is not what I'm looking for, I need to show a template, that changes according to the existance of a subpage - on all pages in the wiki [12:41:23] I am trying to switch a domain on a wiki I have and it was really basically just a default install so i transfered over the LocalSettings.php (its also in a different directory) but it uses the same db, it seems to redirect to mediawiki.org :/ http://wiki.madgizmo.org/ any ideas? [12:41:41] MnaNaHEreann, you can check with {{#ifexist:}} ... and btw, where do you need to show it? [12:42:02] On the page itsself, preferably beneath the title [12:42:59] I am working on the template, but I can't find a way to Force it to show up on all pages [12:43:26] there is an extension, one moment... [12:43:35] I tried the MediaWiki:Tagline but that doesn't seem to parse correctly, as its for printing purpose [12:44:41] http://www.mediawiki.org/wiki/Extension:PageNotice ? [12:46:56] Re: Special:MIMEsearch. I can get working for audio/mp3 on my wiki but not Mediawiki or wikipedia. same for image/jpeg etc. any reason? wanna check how the list looks like compared to my 1.8.2 http://de.wikipedia.org/wiki/Spezial:MIME-Typ-Suche?mime=audio%2Fmp3 [12:48:28] enhydra: Thanks I'll give it a try [12:56:08] MONK3000: there's no mp3 on wikimedia sites. [12:56:18] it's not allowed to upload that [12:56:38] ok but try to list some other mime type [12:57:00] in 1.8.2. it looks like this http://mixesdb.com/db/index.php/Special:MIMEsearch?mime=audio%2Fmp3 [12:57:36] no idea why it doesn't work on wikimedia sites. odd :P [12:57:52] same cache msg on wikipedia [12:58:43] o_O [12:59:57] bah, it's cached. because the database is missing indexes on the mime types. i guess that cache is never updated :( [13:01:07] hmh just wondered if the list is more useful in the latest MW version e.g. table, sort etc [13:01:57] unlikely [13:02:21] probably best to use categories to organize your media [13:02:59] bbl [13:04:24] don't tell me i can put files into categories :O [13:10:47] oh dear!!! [13:22:18] Duesentrieb [13:22:58] Your PageNotice Extention has Beta status, what's still beta about it? [13:25:10] Duesentrieb_: as I'm not sure if I should use it [13:26:32] the html within in the body of my parserfunction conditionals gets escaped - what am i doing wrong? [13:28:03] http://rafb.net/p/WobyCX14.html [13:28:29] failing that, what'd be the proper SQL to do the same efficiently? SELECT rev_id FROM revision WHERE (rev_deleted=0) AND rev_page='1234' LIMIT 1; ? [13:30:21] strangely is not escaped. only td and tr is. [13:30:56] MnaNaHEreann: it's beta because it just "works for me" [13:31:21] okay, so it is secure (it works on my testwiki) [13:32:09] itÄs secure as far as i know. an i can't imaging what kind of insecurity it would introduce. but there's no guarantee of any kind (about anything, including all of mediawiki) [13:32:35] okay [13:32:41] i've seen nothing in the documentation regarding escaping and the lot ... quite strange [13:33:16] Is there an easy way to use a template to change all those mediawiki pages at the same time? [13:33:23] yawn: beware leading whitespace. it triggers pre mode. [13:33:59] MnaNaHEreann: no. you would have to change the skin for that, or at least a system message. [13:34:25] MnaNaHEreann: in short, i donÄt know of an easy way to put the pageby thingy on every page. it might be possible. not sure [13:34:55] So you can't put something like {{Template:Top message}} on the message pages? [13:35:14] 03btongminh * r31420 10/trunk/phase3/ (3 files in 2 dirs): Fix description for UploadComplete hook. New hooks: FileDeleteComplete, FileUndeleteComplete [13:36:22] Duesentrieb: let me test this [13:38:45] duesentrieb: no leading whitespace at all in the whole template ...? [13:39:03] yawn: no leading whitespace at all anywhere in the wiki, unless you want a pre-formated block [13:39:30] Duesentrieb: all right [13:43:45] Bryan: as you are adding hooks... I have a need for another hook. [13:44:06] what kind of? [13:44:15] Duesentrieb: same result with zero whitespace (at all) [13:45:01] Bryan: extension SocialProfile requires adding require_once stuff to AjaxFunctions [13:45:15] Bryan: I guess that should be done properly with a hook. [13:45:30] Bryan: but that's not something I feel comfortable adding myself. [13:45:38] ah... I dunno... guess you should somebody who really knows php/mediawiki :P [13:45:59] *siebrand pokes Simetrical. [13:46:02] yawn: ok, some more tips: don't mix html-style tables with wiki-style tables. also, when using parserfunctions, tables and templates togeither, make your you have tidy enabled (wgUseTify=true). [13:46:12] err, wgUseTidy [13:46:42] yawn: also, your call to #if weems to be terminated by |}} (which terminated a table) instead of a simple }} [13:47:06] yawn: hm, actually, |}} in that context is ambiguous. sucks :P [13:49:07] yawn: works for me: http://de.wikipedia.org/wiki/Benutzer:Duesentrieb/Sandbox [13:50:01] Duesentrieb: thanks. i'll try that ... [13:52:11] http://meta.wikimedia.org/wiki/User:White_Cat#Bots [13:52:13] do you kow why it would slip #2 ? [13:52:17] *skip [13:57:42] Duesentrieb would you know? [13:58:41] err? [14:08:11] 03(mod) Malayalam language characters don't work well with mediawiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11162 (10wikipedia.kawaii.neko) [14:09:15] Duesentrieb: I found something that might be doing this. in the included EditPage.php this is the code that's directly beneath the editbox (just like the html code before, they're related) - I'm a total extension noob. but found that this is related with yours, is there a way to disable that?: $wgOut->addHTML( $this->editFormTextBottom ); [14:10:39] MnaNaHEreann: all that sais is "output the html contained inthe variable called editFormTextBottom" [14:11:20] MnaNaHEreann: why the html is messed up is a different question entirely. anyway, i'm not too proud of that extension. it might well be that it's broken by now anyway. [14:11:46] 03(mod) Default signature contain a link to the talk page. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3391 (10wikipedia.kawaii.neko) [14:11:48] Duesentrieb: okay, so there is no way to disable the apearing of it beneath the edit box? [14:12:31] When I use a non-English language for my wiki, say, Portuguese, is Predefinicao:Etc actually called that or is it just an alias for Template:Etc? [14:12:55] And is there any way of using the Template: namespace instead? [14:13:05] 04(REOPENED) Enable dynamic dates for tr.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7128 +comment (10wikipedia.kawaii.neko) [14:13:20] MnaNaHEreann: there is probably some way. it also probably includes doing what it does in an entirely different way. [14:13:41] MnaNaHEreann: it's not supposed to show there. so if i know an easy way to prevent that, i would have done it. [14:13:58] hey ive got a problem, i have got ajax raiting system on my mediawiki, but it is still in englisch but i want to change the language [14:14:06] cctoide: it's an alias. the english (canonical) namespace names (and magic words) still work [14:14:12] Duesentrieb: Okay, thank you for your explanation [14:14:36] Duesentrieb: ah, thanks [14:14:40] bango: is it written to support internalionalization? [14:15:06] dont know :/ [14:15:48] Duesentrieb: I thought so because in your extension it says $wgHooks['OutputPageBeforeHTML'][] = 'wfPageNoticeHook'; or are they not related? [14:15:48] bango: does it contain a pah files mit "messages" or "i18n" or similar in the name? [14:16:09] MnaNaHEreann: is what not related? [14:16:29] $this->editFormTextBottom and OutputPageBeforeHTML ? [14:16:30] no [14:16:40] 03(mod) Renameuser does not update the `archive` table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5930 (10wikipedia.kawaii.neko) [14:16:41] Duesentrieb: yes that [14:16:49] bango: then it probably doesn't. look into the source code, maybe it has a message array there. [14:17:12] *facepalm* [14:17:16] MnaNaHEreann: well, it's not directly or conceptually related. but obviously, the problem is that the latter influences the former. [14:17:19] * See diff.doc [14:17:19] * @todo indicate where diff.doc can be found. [14:17:24] Sooo helpful lol :( [14:17:30] MnaNaHEreann: the question is, how and why and, more importantly, how to avoid that. [14:17:38] would it be hard to limit number of anonedits per IP per timeunit? [14:19:12] 03siebrand * r31421 10/trunk/extensions/SocialProfile/ (6 files in 5 dirs): [14:19:12] * update table creation scripts to no drop tables when exist and allow for table prefix [14:19:12] * add install.php for table creation [14:19:13] * add install.settings [14:19:55] 03btongminh * r31422 10/trunk/extensions/GlobalUsage/ (5 files): [14:19:55] Partly rewritten GlobalUsage so that it uses only one database even if multiple [14:19:55] image repositories is available. Supports update on LinksUpdate, ArticleDelete, [14:19:55] FileDelete, FileUndelete, Upload. TODO: Update gil_page_namespace on cross [14:19:55] namespace page moves. [14:23:18] does a page move change the page_id? [14:25:48] Bryan: no [14:25:53] ok, nice [14:27:25] Duesentrieb [14:27:30] can you help me ou a bit? [14:28:15] White_Cat: not sure [14:28:26] you can try [14:28:37] firstly http://meta.wikimedia.org/wiki/User:White_Cat#Bots [14:28:46] the numbering starts from 1 then skips to 3 [14:28:50] and continues normaly [14:29:05] I dont know what to make of it [14:29:15] 03siebrand * r31423 10/trunk/extensions/ (93 files in 58 dirs): Some improved XHTML compliancy here and there ('<[bB][rR][/]>' -> '
') [14:29:26] numberlists normaly work fine [14:29:44] what numbering? [14:29:51] on my userpage [14:29:52] which line is suposed to be #2 ? [14:30:02] i only see a list of wiki domains there. [14:30:08] oh [14:30:11] it is fixed [14:30:16] o_O [14:30:16] since there's no way to delete a user, is there a way to completely block a user? i only see a possibility to ban a user from editing [14:30:18] I did not do anything [14:30:34] Duesentrieb [14:30:35] okay [14:30:35] http://meta.wikimedia.org/w/index.php?title=User:White_Cat&oldid=900367 [14:30:37] there [14:30:59] http://meta.wikimedia.org/w/index.php?title=User%3AWhite_Cat&diff=900393&oldid=900367 [14:31:03] khaur: since anyone can view everythign anyway, what's thedifference? [14:31:03] supposed to fix it [14:31:33] meta: line is #3 when it should be #2 [14:31:39] Duesentrieb: except that in my wiki only users that have logged in can view anything [14:32:20] khaur: in that case it would make sense, i agree. but i don't know of a way. since that wasn't intended in the design of mediawiki, i guess this was simply overlooked. [14:32:28] *MnaNaHEreann wonders how khaur did that [14:32:32] i guess my only choise is to change the password. how would i do that? [14:32:34] khaur: one way is to blank the password and email fields in the database [14:32:43] !access | MnaNaHEreann [14:32:43] --mwbot-- MnaNaHEreann: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [14:33:01] okay [14:33:12] Duesentrieb do you see it? [14:33:23] Duesentrieb: hmm.. so with blank password there's no way to login? [14:34:03] 71 thanks, always thought it wasn't very secure, as mediawiki is supposed to be viewable, and the pages show up in recentchanges [14:34:07] White_Cat: yes. there's an empty
  • tag in the html output. don't ask me why. [14:34:30] Duesentrieb why? [14:34:34] :P [14:34:43] Duesentrieb how would I file a bug for this? [14:34:49] khaur: with a blank password *field* there's no way to log in. that field is supposed to contain a hash. so a blank string will never match [14:35:11] Duesentrieb: ah yes, of course :) [14:35:29] thanks [14:35:29] White_Cat: like for anything else, i guess. but make a *small* test case. copy the full wiki text of your page, and strip bits away, until you have the bare minimum needed to reproduce. [14:36:00] khaur: be sure to also blank the email field, and also the temp password field. [14:36:01] Duesentrieb I dont know how to do that [14:36:11] 03btongminh * r31424 10/trunk/extensions/GlobalUsage/ (GlobalUsage.php GlobalUsage.sql GlobalUsage_body.php): Update links on article move; add some indices [14:36:12] White_Cat: how to do what? [14:36:21] White_Cat: copy your wiki text? delete bits of it? [14:36:31] no recreate the issue [14:36:51] by copying the wikitext of the broken version [14:36:59] and then deleting bits of it [14:37:08] MnaNaHEreann: it's not possible to view even recent changes when setup correctly [14:37:43] well, !cms and !secrets applies... [14:37:44] !cms [14:37:44] --mwbot-- You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See if you really want too. [14:37:44] okay [14:37:47] !secrets [14:37:47] --mwbot-- MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [14:38:10] mwbot, that's what I read [14:38:21] MnaNaHEreann: hiding *all* pages is reasonable secure. hiding *some* pages is much more tricky [14:38:53] i plugged the most gaping holes, but still [14:39:08] Duesentrieb: and hiding parts of pages? (A) [14:39:18] not possible [14:39:28] okay [14:41:14] 03(mod) Renameuser does not update the `archive` table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5930 (10Platonides) [14:42:38] Duesentrieb: I suddenly see this at the top of my pages: Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\wi\extensions\PageNotice\PageNotice.php:1) in D:\xampp\htdocs\wi\includes\WebResponse.php on line 1 [14:43:11] correcting: WebResponse.php on line 10 [14:43:16] that's a secondary sypmtom [14:43:28] it'S caused by something generating output prematurely [14:43:48] Duesentrieb: by temp password do you mean user_newpassword? [14:44:06] if you see no outout before that (looking at the html source), then you probably added a blank line to the start of end of a php file, or you added a BOM to some file by using a broken editor [14:44:08] !bom [14:44:08] --mwbot-- The byte-order mark (BOM) is a special character added to files by some text editors, most notably, by Notepad. It is unnecessary and breaks PHP code. You should not use Notepad to edit PHP files. Alternatives for Windows include Notepad++, SciTE, EditPlus, and UltraEdit. [14:44:55] khaur: yes [14:45:34] ah, yes, I used notepad, as I'm on a different pc ^^' [14:47:18] Duesentrieb can you file this for me? [14:47:24] Duesentrieb: do you by any chance happen to know how to change it in phpmyadmin? it tells me that it's "binary - do not edit" and only offers me a way to upload a file there. unfortunately i can't access the database it in any other way [14:47:28] because I dont really understand you [14:47:36] *White_Cat <- moron [14:48:14] White_Cat: if you can make a minimla test case, simply point to the broken revision. that leaves it to the developer to make a test case, and thus makes it less likely that someone will do it. [14:48:19] i won't at the moment. [14:49:25] khaur: phpmyadmin is stuppid about binary fields. and mediawiki uses binary for all text fields, because mysql is stupid about utfb. make an empty file and upload it as value. [14:51:07] Duesentrieb: okay, thanks a lot :) [14:52:16] hello [14:52:42] 03(mod) "File links" on the image pages should list links from other wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1394 +comment (10Bryan.TongMinh) [14:55:22] 03(NEW) Numberlists are sometimes broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13208 normal; normal; MediaWiki: General/Unknown; (wikipedia.kawaii.neko) [15:00:41] hey guys [15:01:27] do you know how to find the page that lists the top rated articles from the ajax rating extension? [15:02:08] ?? [15:05:17] 03(NEW) Add Revision Diff functionality to API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13209 15enhancement; normal; MediaWiki: API; (overlordq) [15:08:02] 03(mod) Add Revision Diff functionality to API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13209 (10overlordq) [15:09:01] 03ialex * r31425 10/trunk/phase3/ (docs/memcached.txt includes/ProxyTools.php): [15:09:01] * Update docs/memcached.txt [15:09:01] * Kill call to $wgUseMemCached in includes/ProxyTools.php [15:09:58] 03(mod) Default signature contain a link to the talk page. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3391 +comment (10cbrown1023) [15:15:35] 03(mod) Add Revision Diff functionality to API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13209 +comment (10Bryan.TongMinh) [15:20:13] 03(NEW) Upload a new version of image causes an internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13210 normal; normal; MediaWiki: Images; (jburos) [15:24:27] 03(WONTFIX) Add Revision Diff functionality to API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13209 +comment (10vasilvv) [15:25:20] hi, as logged in user i can set where to search at Special:Search, can i predefine what a anonym user searches in? because i want them to search more that pages as default [15:25:49] Line 80, Column 26: invalid comment declaration: found name character outside comment but inside comment declaration. [15:25:53] [15:25:56] wtf is that supposed to mean? [15:26:34] DarsVaeda: see http://www.mediawiki.org/wiki/Manual:%24wgNamespacesToBeSearchedDefault [15:26:57] thx [15:27:22] VasilievVV: aww, such a buzzkill [15:27:41] :) [15:28:27] Nikerabbit: -- is illegal *anywhere* inside html or xml comments [15:28:43] that's a nasty gotcha, and really sucks. [15:28:48] but it's the truth. [15:29:23] arr...where do i get the definiers for the namespaces again? like NS_MAIN [15:29:39] includes/Defines.php [15:30:19] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Defines.php?view=markup [15:30:54] i set my own ones, but not in that file ^^ [15:31:07] Duesentrieb: but the message is very unclear [15:31:14] Nikerabbit: indeed. [15:31:49] DarsVaeda: you can also use integers [15:32:16] so i can also do like "1 => false," ? [15:32:39] yup [15:32:51] ahh ok, i know where to find that numbers thx :) [15:38:10] 03siebrand * r31426 10/trunk/extensions/Translate/MessageChecks.php: Revert r31423 for MessageChecks.php. Was supposed to be in there. [15:39:21] 03nikerabbit * r31427 10/trunk/extensions/LinkSearch/ (LinkSearch.php LinkSearch_body.php): [15:39:21] * (bug 13207) Patterns containing "--" break page layout [15:39:21] * Fix invalid label for target: reference to non-existent ID "target". [15:39:35] 03(FIXED) Patterns containing "--" breaks page layout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13207 +comment (10niklas.laxstrom) [15:54:20] 03ialex * r31428 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): (bug 11561) Fix fatal error when calling action=revert to non-image page [15:56:51] 03(FIXED) invalid case in Wiki.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11561 +comment (10alex.emsenhuber) [15:58:13] does Mediawiki has anything out-of-the-box to mark an article as "work in progress" or "incomplete" ? [15:58:44] you can write "incomplete" on it [15:59:38] I mean something fancy like when Wikipedia mark something as a stub or accuracy not verified or disputed? [16:00:32] that's just plain wikitext [16:09:12] *jeremyb points to wikinews for a better example [16:28:02] 03(mod) Renameuser does not update the `archive` table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5930 (10wikipedia.kawaii.neko) [16:31:04] do you know how to find the page that lists the top rated articles from the ajax rating extension? [16:32:33] TimStarling [16:32:34] https://bugzilla.wikimedia.org/show_bug.cgi?id=5930 [16:32:41] do you think that can be done with ease? [16:32:56] should I file a seperate bug? [16:38:23] 03(NEW) Bugs in guarani and navajo wikipedias - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13211 15enhancement; normal; Wikimedia: wikibugs; (hugo_a_saavedra) [16:39:00] hi all [16:39:08] 14(DUP) Add a lang="mediawiki" to syntax highlighting - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13173 +comment (10danny_b) [16:39:10] 03(mod) Support wikitext as language to highlight - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10669 +comment (10danny_b) [16:39:25] is it possible to permanently delete one of the histories for a page? It has some sensitive information that shouldn't be there [16:46:14] xushi: delete the page and restore only insensitive revisions [16:48:56] Thanks. One more thing, I've set $wgFileExtensions = array(......) and added 'pl' in there for .pl scripts to upload. However, when i try to, it still says that i'm not allowed to upload .pl files [16:50:21] 03(mod) Support wikitext as language to highlight - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10669 (10md5) [16:53:26] VasilievVV: should https://bugzilla.wikimedia.org/show_bug.cgi?id=12999 be marked as resolved ? [16:53:54] ialex: yes [16:54:27] hi [16:54:41] i got a question. [16:54:59] i would like to replace a certain pattern in *all* pages of the wiki [16:55:28] clamiax: use pywikipediabot's replace.py [16:55:37] cool [16:55:37] 03(FIXED) Introduce ipb_by_text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12999 +comment (10alex.emsenhuber) [16:55:42] siebrand: i'll read about [16:55:45] siebrand: THX [16:55:49] yw [16:56:34] oh [16:56:49] i have no shell access [16:57:24] clamiax: you don't need it. Install python on a computer, download the framework, make user-config.py and you're in business. [16:57:37] ah [16:57:42] clamiax: if you want to work on a provate wiki, you have to create a family file, too. [16:58:44] mmh.. i think i'll have to read a bit [16:58:46] THX again [17:06:45] can the querystring ever contain "http://" ? [17:08:46] I've set $wgFileExtensions = array('pdf', 'jpg', ....) and added 'pl' in there for .pl scripts to upload. However, when i try to, it still says that i'm not allowed to upload .pl files [17:09:39] xushi: .pl is in the filetype blacklist in DefaultSettings.php and $wgFiletypeBlacklist (or whatever it's called) overrides $wgFileExtensions [17:10:06] is it not safe to upload .pl files then ? [17:10:32] Jack_Phoenix: should i remove the blacklist, or do something else, like rename it to .pl.txt ? [17:11:05] I guess you could remove it from the blacklist in defaultsettings...dunno [17:13:16] 03(FIXED) Support crosswiki blocking - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12987 +comment (10vasilvv) [17:16:45] how do you align a wiki table to be centered ? [17:17:27] {| align="center" [17:17:29] I think [17:18:08] Oh i see now, i was putting it in the wrong place [17:19:02] sorry, one more thing.. Is it possible to disable the automatic content tree for a page ? [17:19:29] the one automatically created when you make treed titles (=a= ==b== ===c=== ) [17:21:21] xushi: put __NOTOC__ anywhere on the page [17:21:49] Excellent. Thanks a lot! you all have been really helpful :) [17:22:24] do you know how to find the page that lists the top rated articles from the ajax rating extension? [17:27:14] *kibble huggles VasilievVV [17:27:22] yeah? [17:27:43] VasilievVV: your recent bug change [17:28:01] :) [17:29:20] 03(NEW) Install CrosswikiBlock extension on Wikimedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13212 15enhancement; normal; Wikimedia: Site requests; (vasilvv) [17:29:24] 03(mod) Support crosswiki blocking - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12987 (10vasilvv) [17:30:20] Is there a way to allow normal users that register with your wiki to only have access to write to Discussions, and if you add them to another group, then and only then, they'll have access to modifying the actual page ? [17:30:51] yes [17:34:04] OverlordQ: do you have any tutorial on how to do it ? [17:34:27] !userrights [17:34:27] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [17:34:47] thanks [17:54:08] createtalk , is that the discussions page ? [17:55:37] OverlordQ: i can't figure it out.. I should set createtalk to true, but i can still edit normal pages. If i set 'edit' to false, then both won't work.. [17:55:41] it's either all or nothing [17:55:50] createtalk requres the edit right [17:56:03] http://www.mediawiki.org/wiki/Manual:%24wgNamespaceProtection [17:56:15] think you need that. But it doesn't give many examples for config so :-/ [17:57:41] something like: $wgNamespaceProtection[NS_MAIN] = array( 'yourspecialpermission' ); [17:58:59] read over this page too: http://www.mediawiki.org/wiki/Manual:Preventing_access [17:59:08] reading. [18:00:52] aah, i think i see it now .. [18:01:36] so "allow" write perms to logged in users with 'edit = true', and as well, add a namespace protection to limit the editing of non-talk pages to those in a specific group [18:05:35] but how do i create my own special permission ? [18:06:57] nevermind, i'll figure out :) [18:07:29] !man User_rights | xushi [18:07:29] --mwbot-- xushi: http://www.mediawiki.org/wiki/Manual:User_rights [18:07:35] yea found it :) [18:12:20] Skizzerz: I can't find it in there... [18:12:30] http://pastebin.ca/924767 This is what i have so far. I'm not sure if it's right or wront [18:13:25] xushi: you need $wgGroupPermissions['xxxx']['inauthorgroup'] = true; [18:13:33] replacing xxxx with a group name [18:18:19] Errr *facepalm* why can't I get to Special:Userrights on my own wiki lol :( [18:18:58] sorry, lost connection [18:19:00] Skizzerz: doing so, and adding my user to the 'author' group allows me all access appart from editing the page. [18:21:34] Anyone got a link to some useful wiki gadgets? [18:26:43] xushi_: http://pastebin.ca/924782 [18:26:48] something like that should work [18:27:20] OverlordQ: should i remove everything i've done? or just the namespace protections section ? [18:27:35] then have a beauracrat add the user to the editmain group and then they can edit non-talk pages [18:30:40] you can do it either way, but a lot of the rights you were setting there were rights user never had in thefirst place, so they're kinda extraneous [18:31:43] I see, Yea i think i got it to work now. I'll create another 'user' grouped user to double check. [18:34:05] Yep! that did it. All that's left is to do the same with the 'history' and 'view source' sections too [18:50:19] 03siebrand * r31430 10/trunk/extensions/cldr/LocalNamesEn.php: Add some English language names [18:57:34] 03rotem * r31431 10/branches/REL1_12/phase3/languages/messages/MessagesHe.php: Reverting unnecessary changes. [18:59:43] oh [19:00:01] is it possible that if i removed a file now i can't upload another file with the same name? [19:00:13] 03rotem * r31432 10/branches/REL1_12/phase3/maintenance/language/messages.inc: Messages consistency. [19:00:40] Also i can't choose a different name for the destination file because i get error while copying [19:28:03] anyone seen roan last decade? [19:32:19] AzaTht, not recently, no [19:32:49] hmm [19:52:03] 03(NEW) New Property Type: Category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13213 15enhancement; lowest; MediaWiki extensions: Semantic MediaWiki; (dataweaver) [19:54:21] 03(NEW) blows up small images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13214 normal; normal; MediaWiki: Images; (skizzerz) [19:54:40] 03(mod) Formatting wrong in enhanced recent changes/ watchlist when RTL text is the last in the edit summary (not in IE) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7885 +comment (10ral315) [19:57:43] 03(mod) RTL in edit summary makes watchlist goes wild - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8996 +comment (10ral315) [20:16:19] is there a guide for setting up wikimedia on kubuntu? [20:16:49] Martijn81: as on any linux system [20:17:00] You may try to use a package, but [20:17:10] !packages | Martijn81 [20:17:10] --mwbot-- Martijn81: I don't know anything about "packages". You might try: !nopackages !package [20:17:23] !package [20:17:23] --mwbot-- Many Linux distributions provide MediaWiki in a packaged format for that distribution. The MediaWiki development team refers you to your Linux distribution for assistance with installing, configuring or using them. The individual communities & companies who maintain such packages should provide installation instructions. [20:18:01] so i better ask in #kubuntu huh? [20:18:07] just a note: packages are often out-of-date [20:18:28] but it's easier to install the package and then upgrade than install the latest version from scratch ;) [20:18:29] Martijn81: no, you should just install it :) [20:18:51] Skizzerz: i don't really care, i only need it for local pages [20:18:54] !packages alias package [20:18:54] --mwbot-- Successfully added alias: packages [20:19:01] Skizzerz: no, packages use their own directry, structure [20:19:15] s/,// [20:19:31] *Skizzerz knows this, but it is still possible to update the files within once you know said structure [20:20:16] i tried twiki already, but could not getting that to work [20:20:34] so mediawiki it should be [20:21:02] i installed it with apt-get, but http://localhost/mediawiki/index.php gives me a 404 [20:24:06] any help? [20:24:32] uhmm, lemme look [20:24:39] What serverpackage do you use? [20:24:51] 03grondin * r31434 10/trunk/extensions/SocialProfile/ (3 files in 3 dirs): update SocialProfile extension for french language [20:25:04] As you use localhost [20:25:12] did you enable the alias? [20:26:00] MnaNaHEreann: [20:26:03] ~$ apt-cache policy mediawiki [20:26:06] mediawiki: [20:26:10] Geïnstalleerd: 1:1.11.1-1 [20:26:14] Kandidaat: 1:1.11.1-1 [20:26:18] Versietabel: [20:26:19] *** 1:1.11.1-1 0 [20:26:19] 500 http://nl.archive.ubuntu.com hardy/universe Packages [20:26:19] 100 /var/lib/dpkg/status [20:26:19] oops, little too much [20:28:03] okey [20:29:03] but for the localserver? [20:30:25] and i get here [20:30:26] $ sudo mysqladmin -u root password "bbr2486ytz"mysqladmin: connect to server at 'localhost' failed [20:30:26] error: 'Access denied for user 'root'@'localhost' (using password: NO)' [20:30:45] i follow this guide btw http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu [20:30:50] yea thats . . . not how you specify the password [20:31:18] or am I thinking of plain mysql [20:31:18] like OverlordQ says [20:31:43] oh, huh, it is. [20:31:59] It is? :o [20:32:23] well to change the password yes [20:32:29] but to specify a password to login, no [20:32:51] then the guide is incomplete [20:34:02] :O [20:34:04] just put a -p on the end and specify the password for the root mysql user [20:36:03] then i get this: [20:36:04] $ sudo mysqladmin -p bbr2486ytz [20:36:04] Enter password: [20:36:04] mysqladmin: connect to server at 'localhost' failed [20:36:04] error: 'Access denied for user 'root'@'localhost' (using password: YES)' [20:36:21] *OverlordQ is confused [20:36:35] mysqladmin -u root password "beans" will change the password to beans [20:37:05] mysqladmin -p "beans" will login using the current password of beans [20:37:42] sudo mysqladmin -u root password "bbr2486ytz" -p [20:37:48] then on the next line it will ask for the current password [20:38:21] "The password to use when connecting to the server. If you use the short option form (-p), you cannot have a space between the option and the password" [20:38:25] $ sudo mysqladmin -u root password "bbr2486ytz" -p [20:38:26] Enter password: [20:38:26] mysqladmin: connect to server at 'localhost' failed [20:38:26] error: 'Access denied for user 'root'@'localhost' (using password: YES)' [20:38:26] martijn@martijn-laptop:~$ [20:38:38] then you're putting in the wrong password [20:38:54] i have no password set at all [20:39:01] not that i know of lol [20:39:20] Then what's is it you're trying to do? [20:39:42] i try to install mediawiki [20:39:54] i did this with apt-get, but i also follow this guide http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu [20:39:57] 03ialex * r31435 10/trunk/phase3/docs/ (hooks.txt memcached.txt): doc tweaks [20:41:32] 03(mod) Add Revision Diff functionality to API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13209 +comment (10roan.kattouw) [20:41:46] aah okay [20:43:52] 03(mod) "File links" on the image pages should list links from other wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1394 +comment (10roan.kattouw) [20:44:22] help me please guys, i have no clue what todo [20:45:51] Martijn, try this http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix [20:47:57] Have a question now where I define my alingnment of my infobox templates. I see on wikipedia any infoboxes that are displayed are aligned to the left with text wrapping around them.. I can't figure out where this defined in template [20:48:00] do i have to reboot before mysql works [20:48:12] Yes, didn't you do that already? [20:48:38] sudo reboot ;) [20:50:55] will do! [20:54:10] rebooting to get mysql to work? what are you running, windows? [20:54:14] $ sudo mysqladmin -u root password "password" -p worked! [20:54:17] kubuntu [20:54:25] :) [20:54:28] rebooting actually worked [20:54:31] there's no reason to 'sudo mysqladmin' [20:54:33] /etc/init.d/mysqld start [20:54:36] mysqladmin doesn't care what user you run it as [20:54:45] Can someone link me to some forms for mediawiki. I want to see what level of detail is possible with it. [20:55:00] Silentrage: "forms"? [20:55:02] flyingparchment: but you'd want the daemon to be running i suppose :) [20:55:21] Yeah forms. With input fields. [20:55:33] Silentrage: mediawiki doesn't do forms. you probably want to write your own special page [20:55:34] Silentrage: the answer is: that's not supported. [20:55:36] eeh, try the main page, on the left :-P [20:55:36] Unless mysqladmin will automatically start mysqld if you run it as root, I don't see how that matters. [20:56:02] How would I do it with a special page? [20:56:09] Silentrage: in php. [20:56:12] you'd output a
    tag [20:56:46] Silentrage: there are extensions that allow you to place forms in wiki pages. however, you need some server side script to handle the data submitted by the forms. which you'll have to write in php (or whatever language you like really) [20:56:46] Can I have it log the answers to a database within mediawiki? [20:56:52] Martijn81: suc6 [20:57:00] you can do anything you want, the form would be posted back to your special page [20:57:11] I see [20:57:13] (which is written in php) [20:57:26] Silentrage: when writing server side code, you can do whatever you like. if you do it in the mediawiki framework, some things are easier (and some moretricky) [20:58:17] Ok. In the past I have created forms using MS Infopath which lets me export them to xml. Does mediawiki support forms from xml? [20:58:38] you can write the form data out as XML, if you want [20:58:57] the data is posted to your special page. the special page is written in PHP. you can do anything you want with the data as long as it's possible from php [20:59:18] Hmm [20:59:44] I'll do some tinkering and see what I cam come up with [21:00:52] 03emiller * r31436 10/trunk/extensions/GoogleMaps/ (4 files in 2 dirs): Google Maps Extension: support for the moon and Mars. Drop use of 'const' to work with PHP 4. [21:06:45] Silentrage: basically, mediawiki is not made for precessing forms. it doesn't support it. it doesn't keep you form using them eiter, if you don't mind writing code for it. [21:06:55] Silentrage: it's a wikim, not a web application framework. [21:10:43] Anyone able to help with my problem from when I first entered the room. The example which I am using is from http://en.wikipedia.org/wiki/Template:Infobox_Federal_LEO [21:11:12] My infoboxes will not align to left like wikipedia's [21:11:32] I know it is something simple but I am just not seeing it... [21:11:35] Duesentrieb: I got ya [21:11:55] crichins: align to the left? what do you mean? [21:12:07] crichins: it looks fine to me. [21:12:33] My site does not do that... My site puts the infobox clear donwn at bottom of page... [21:12:54] So no matter where I insert it always goes to bottom... [21:13:16] http://www.prideworship.org/index.php?title=Newsletter [21:14:19] i dont see an infoboxx [21:14:45] Total Cost? [21:14:58] Is that your infobox there? [21:15:04] Yes.. [21:15:15] The PrideWorship.org breakdown of costs... [21:15:21] crichins: if you want it at the top, but it at the top [21:15:43] pastebin the code here perhaps [21:15:44] crichins: if you want text to "flow" around it, give it the position:float; css style. [21:16:11] look at the infobox template [21:16:39] http://www.prideworship.org/index.php?title=Template:Infobox_costs [21:17:08] crichins: it uses class="infobox". did you define the infobox class? [21:17:30] firebug says you didn't. [21:17:43] anybody who has lucene running and feels like testing my api module for it? http://rafb.net/p/BSWLR064.html [21:17:45] and then the actual newsletter.. Did the same thing on January's newsletter.. You can view direct at http://www.prideworship.org/index.php?title=Newsletter/January_2008 [21:18:07] 03catrope * r31437 10/branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php: ApiEdit_Vodafone: Committing (untested) watching and preference respecting code, so svnmerge doesn't whine about local modifications [21:18:56] started infobox with only {{Infobox costs}} [21:19:31] So I have to define class in infobox such as {{Infobox costs class="infobox" ? [21:21:04] Sorry got dropped.. Send last reply after my msg if sent. [21:21:24] crichins: please learn about css classes [21:21:24] 03(mod) action=query, list=search API not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10908 (10Bryan.TongMinh) [21:21:27] !css [21:21:27] --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 [21:21:36] that's some info where to put them [21:21:46] (or where to find them on wikipedia, to copy) [21:22:06] ok [21:26:06] Fatal error: Maximum execution time of 60 seconds exceeded in O:\xampplite\htdocs\wiki\includes\RecentChange.php on line 225 [21:26:36] It's not letting me import files I got from another wiki [21:27:25] Silentrage: for large imports, donÄt use the web interface. [21:27:35] Silentrage: use maintenance/importDump.php from the command line [21:28:00] Line 225 reads: $enotif = new EmailNotification(); [21:28:06] Oh [21:28:20] it doesn't matter what it read. it simply takes to long. then it just fails *somewhere* [21:28:58] 03btongminh * r31438 10/trunk/extensions/LuceneSearch/LuceneSearch_body.php: Add id 'lucene-results' to results list to allow easier access of results by JavaScript. [21:36:18] Ok what's the full command to execute it? [21:37:51] Wait I found it [21:40:00] 'php' is not recognized as an internal or external command, [21:40:00] operable program or batch file. [21:40:12] C:\php\php ? [21:40:14] how do i add an external link on mediawiki:sidebar [21:40:15] ? [21:40:33] it's running from en external drive [21:44:33] 03(NEW) Add the 'Portal' namespace and a related ' =?UTF-8?Q?Descusi=C3=B3n=20Portal?=' namespace to the Aragonese Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13215 normal; normal; Wikimedia: General/Unknown; (esborrany) [21:47:26] Could not open input file: o:\xampplite\htdocs\wiki\maintenace\importDump.php [21:49:44] Silentrage: sais what? [21:50:01] 03(mod) Add the 'Portal' namespace and a related ' =?UTF-8?Q?Descusi=C3=B3n=20Portal?=' namespace to the Aragonese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13215 normal->15enhancement; +shell (10raimond.spekking) [21:50:07] Silentrage: it's not executable by itself.. [21:50:09] It can't open the input file importDump.php [21:50:32] O:\xampplite\php>php importDump.php < o:\xampplite\htdocs\wiki\maintenance\Wikip [21:50:33] edia-20080301183032.xml [21:50:34] "it" being php? [21:50:45] err. [21:50:48] ^ That's my command [21:51:14] well, that command expects importDump.php to be located in the current directory, which is O:\xampplite\php right=? [21:51:40] I tried switching it around [21:51:58] cd to o:\xampplite\htdocs\wiki\maintenace\ [21:52:00] O:\xampplite\php>php o:\xampplite\htdocs\wiki\maintenace\importDump.php < o:\xam [21:52:00] pplite\htdocs\wiki\maintenance\Wikipedia-20080301183032.xml [21:52:00] Could not open input file: o:\xampplite\htdocs\wiki\maintenace\importDump.php [21:52:02] then call it. [21:52:19] Hang on [21:52:40] 03(mod) action=query, list=search API not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10908 +need-review +patch; +comment (10roan.kattouw) [21:52:55] you probably also need to set up AdminSettings.php [21:52:56] !asminsettings [21:52:56] --mwbot-- I don't know anything about "asminsettings". [21:53:00] !adminsettings [21:53:00] --mwbot-- AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [21:55:41] 03catrope * r31439 10/branches/ApiEdit_Vodafone/ (20 files in 6 dirs): ApiEdit_Vodafone: Merging latest revisions from trunk [21:57:17] When I rename Adminsettings.sample to .php where should I move it to? [21:57:23] Or just leave it there? [21:57:29] hmm no catrope here? [21:58:51] 03emiller * r31440 10/trunk/extensions/GoogleMaps/GoogleMaps.php: Google Maps extension: restore MW 1.7 compatibility [22:00:31] Hi, I download Mediawiki and trying to do table in right side like here for example: http://en.wikipedia.org/wiki/JavaScript I cop code and paste to mine Mediawiki and dont work this :/ Maybe need extension or what? I'm new on this [22:01:57] you will need to copy a lot of templates from Wikipedia and install ParserFunctions and maybe more extensions [22:02:22] but a table on the right side can be done by: {| style="float: right" *content here* |} [22:06:15] cu [22:08:38] Anyone home? [22:08:50] nope [22:08:51] :P [22:08:53] lol [22:09:17] hence the empty uselist -- only 185 [22:09:24] userlist, even [22:09:36] What does the dark green icon mean? [22:09:43] ? [22:10:02] Giai blesses you [22:10:04] To the left of literally everyone's username is a darkgreen sphere [22:10:11] what dark green icon? /me isn't familiar with chatzilla [22:10:24] ah what are you using? [22:10:25] idk, that they're identified to nickserv? [22:10:28] *Skizzerz uses xchat [22:10:39] Giai? [22:10:49] Goddess of the earth [22:10:53] Silentrage: you meant Gaia ;) [22:11:10] Anywho.. I can't run php from cl for some reason [22:11:17] I thought so [22:11:20] Skizzerz: Ah [22:12:08] Skizzerz you seen the Support desk? [22:12:17] I also tried running php-cgi rebuildall.php [22:12:25] yes, I have [22:12:28] Failed as well [22:12:40] want me to nuke the redirects? [22:13:55] Oh yeah you are an addy aren't you? [22:13:59] Yes that would be good [22:14:21] Here http://www.mediawiki.org/wiki/Special:Prefixindex/Project:Support_desk [22:14:43] *Skizzerz is using Special:Nuke ;) [22:16:24] done [22:16:43] I've no idea what Special:Nuke looks like, so wouldn't know if something like that displays [22:16:44] Thanks [22:17:08] You missed Support desk/Archive1 [22:17:13] Support desk/Archive 1 [22:17:19] and Support desk/Archive 9 [22:17:24] gives a list of every page that user created, with checkboxes letting you select/deselect things [22:17:35] Alright [22:18:16] Curses I want to go pilot a robot [22:18:31] lol listening to orchestral music from Eureka seveN [22:19:40] can you mark the other pages you want deleted with {{speedy}} or {{delete}} please? [22:19:56] Jawohl [22:20:18] I'll take care of those redirs though [22:21:56] Ok it's working [22:22:35] Sweet all gone [22:23:30] You swallowed? [22:23:41] Is it a MediaWiki: page that has all the links? [22:23:43] LOL [22:24:08] What is sweeter than honey and stronger than a lion? [22:24:34] The maid robot from the Jetsons [22:25:42] hehe riddle from the Biblle [22:25:44] Sampson [22:25:55] likes dirty jokes [22:27:48] PatPeter: uh, were you talking about MediaWiki:Edittools [22:28:00] Yeah I thought that was it I found it [22:28:11] Someone needs to add tags to it [22:28:55] should be in the button strip atop the edit box [22:29:22] crossed-out "W" [22:32:14] I guess I need to enable my wiki to understand html [22:32:36] Cause the imported templates are coming over all messed up [22:33:07] !templates | Silentrage [22:33:07] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [22:33:29] !credit | Silentrage [22:33:29] --mwbot-- Silentrage: NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! Please read . [22:34:04] Thanks bub [22:35:15] What scripts do you use to run your bot btw? I need to update my own [22:35:29] !help [22:35:29] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn > [22:35:40] Ahhh the crossed out W [22:36:17] Guys why is this not displaying right: http://www.maporchestra.com/wiki/index.php?title=MediaWiki:Edittools [22:36:19] ? [22:36:22] *amidaniel is pinged [22:36:27] It's java? [22:36:36] amidaniel: it's your own damn fault :P [22:36:46] *amidaniel eats Duesentrieb [22:37:01] *Duesentrieb gives amidaniel a hickup [22:37:16] I... thought it was Jana [22:37:18] java* [22:37:25] PatPeter: maybe because you don't have charinsert installed? [22:37:34] Yeah how do I do that? [22:37:43] Or which extension I should say [22:37:45] !extensions [22:37:45] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [22:37:51] !charinsert [22:37:51] --mwbot-- CharInsert is an extension that enables the creation of JavaScript links which, when clicked, insert predefined text into the text box. These links are usually used in the "MediaWiki:Edittools" interface message. For more information, see < http://www.mediawiki.org/wiki/Extension:CharInsert >; for example usage, see < http://en.wikipedia.org/wiki/MediaWiki:Edittools >. [22:38:09] Sweet [22:39:05] good day :-) [22:39:32] I'm currently looking into short URL support by utilizing mod_rewrite [22:39:52] !rewriteproblems | barra [22:39:52] --mwbot-- barra: 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root; 4) Use different paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. [22:40:04] so far it worked for me by modifying .htaccess [22:40:05] *Duesentrieb is on a bot run [22:40:10] hehe [22:40:16] thanks Duesentrieb, I've already read this page [22:40:25] barra: and, did you follow it? [22:40:29] my question is specific: ampersand encoding works [22:40:30] yep [22:40:39] but question mark encoding fails [22:40:44] sorry for not lettingyou ask your question then :P [22:40:48] Alright, well, I gotta go grade papers :( [22:40:52] Be back sometime soon [22:41:04] this is the rewrite rule for ampersands: RewriteRule ^(.*)\&(.*)$ $1\%26$2 [22:41:34] I know not much about apache and rewrite rules but I tried to apply common sense and came up with this rewrite rule for question marks: [22:41:46] RewriteRule ^(.*)\?(.*)$ $1\%3F$2 [22:42:13] barra: i don't think question marks can work in titles [22:42:35] ohh, so we might want to simply remove the question marks? [22:42:59] not sure. $wgLegalTitleChars contains it. [22:43:10] Yep I'm off to do Ecclesiastical Latin [22:43:11] ? breaks in titles, even though it's legal [22:43:22] makes it a pain to do anything except view [22:43:26] i'm pretty sure it will not work in urls [22:43:33] hmm so the best solution is to avoid it? [22:43:33] maybe it can be made to work in links [22:43:53] (just like + will never work in urls, but if you are carefull, canbe made to work in links) [22:44:14] barra: how would you ever get a url with a ? in it as part of the title?= [22:44:19] barra: short of typing it by hand [22:44:39] barra: what happens if you make a link like [[foo?]] ? what does it point to? [22:45:31] if not exist /index.php?title=Foo%3F&action=edit [22:45:53] o_O [22:46:10] hmm that's strange [22:46:15] try http://86.80.42.68/wi/index.php/Foo%3F [22:46:21] :D ? in a title [22:46:30] http://wiki.fifengine.de/Foo%3F [22:46:39] it points to Foo :-/ [22:47:13] yeah, reminds me of a good old time when a vandal decided to register under '???????' >_< [22:47:29] *g* [22:47:30] it was a pain to access blockip [22:47:45] in this case we can simply rename the article and remove the question marks this way [22:47:57] thanks for your help :-) [22:48:01] barra: well, *that* bit might be a problem with mod_rewrite. [22:48:34] look here: http://86.80.42.68/wi/index.php/Main_Page#.3F_in_titles [22:48:42] barra: Foo%3F in the url should, in theory, work. however, iirc, it's not püossible with mod_rewrite for + either. it should be possible using an alias directive. [22:48:51] barra: try on wikipedia to find out :) [22:49:06] (I tried it, see the link) [22:49:59] Hey, is there a way to force a preview before you save? [22:50:03] using plain pathinfo (half-ugly) urls it appears to work, yea [22:50:36] Soxred93: that is missing as an option. afaik there's a four-line-config-hack used even by some wikipedias. [22:50:55] JS? [22:51:20] no, php [22:51:30] it's probably doable with js too [22:52:36] hey all, trying to find out how to make $wgLogo, appear on the printable version.. [22:52:39] anyone know [22:52:40] ? [22:52:54] Duesentrieb, I tried that [22:52:58] Wait, no [22:53:02] Where is the PHP one? [22:53:21] Duesentrieb & barra: so why does it work on my local wiki and doesn't it on barra's? [22:53:44] maybe you're running a modified mod_rewrite version? [22:53:56] he's not using rewriting at all [22:54:08] MnaNaHEreann: because mod_rewrite is buggy, and you are not using it. [22:54:24] MnaNaHEreann: barra doesn't have the index.php bit in the url. this is a voided by using rewriting [22:54:32] aaah [22:54:35] I get it [22:54:41] That's the apache problem with urls [22:54:50] one of many [22:55:43] barra: look into DefaultSettings.php, where $wgLegalTitleChars is defined - above it, there's a lengthy comment about what works where [22:55:53] MnaNaHEreann you too [22:56:04] aye [22:56:30] when using a path to query rewrite rule, URLs are [22:56:30] * double-unescaped: once by Apache's path conversion code, and again by PHP [22:56:40] (that's one aspect of one problem with this) [22:56:59] ah, I see it [22:58:06] 03emiller * r31441 10/trunk/extensions/GoogleMaps/GoogleMaps.body.php: Google Maps Extension: remove script tags from included pages. [22:58:46] 03(NEW) Enable trigonometrical functions to #expr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13216 15enhancement; normal; MediaWiki extensions: ParserFunctions; (rene.kijewski) [22:59:29] Duesentrieb & barra: on your wiki barra: http://wiki.fifengine.de/index.php?title=Bar%3F&oldid=10071 [23:00:26] Ok I'm trying out html tidy [23:00:31] I guess, that works, because of the index.php in the url (it also works without the oldid) [23:01:12] yep, looks like you can't have both [23:01:28] And I found the install files for the Extension: ParserFunction but no readme file. Do I just call it in localsettings.php and leave it at that? [23:02:30] yep, you're basically working around the short URLs in this case MnaNaHEreann [23:03:41] htmltidy looks like it still would have me go through through every file one by one.... [23:04:45] Silentrage: err? htmltidy is something you simpyl turn on. $wgUseTidy = true; [23:05:01] Silentrage: ParserFunction is just a single require_once, like most extensions [23:05:09] d'oh ;) [23:05:21] Duesentrieb / barra: once I can't find a way to get what I want, I try to make it look like I succeeded in what I want, if you understand what I mean [23:05:48] yes absolutely :-) [23:08:44] Duesentrieb / barra: If you create articles at [[Foo]] you can still link to [[Foo?]] as it autoredirects [23:09:17] we'll simply get rid of the question mark articles MnaNaHEreann, there are just two [23:09:34] The negative side of that is that you can't see the links on the what links here page and you need to omit the ? from being used when searching for articles [23:09:39] so simply removing the question mark is the easiest option for us [23:09:49] Indeed [23:11:06] but you can still show the text for the link with a ? in your sidebar, like Foo|Foo? [23:11:09] ;) [23:11:43] I'm going for bed now [23:12:07] Thanks for all the help Duesentrieb :) [23:12:29] 03emiller * r31442 10/trunk/extensions/GoogleMaps/export/ (GoogleMapsImgExporter.php GoogleMapsJsExporter.php): Google Maps Extension: Fix two display bugs. [23:13:12] $wgUseTidy=true; [23:13:12] $wgTidyConf = $IP.'/extensions/tidy/tidy.conf'; [23:13:22] That's what I added. Correct? [23:14:38] does extensions/tidy/tidy.conf exist? [23:14:51] I just made it, yeah [23:15:09] then, yes. but why don't you use the defaults? [23:15:24] $wgTidyConf = $IP.'/includes/tidy.conf'; [23:15:33] 03(mod) Enable trigonometrical functions to #expr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13216 +comment (10minuteelectron) [23:15:36] Oh, I copied that from a site [23:15:37] that'S already there. no reason to mess with it. especially not when you want to be copmpatible to wikipedia [23:15:39] do the pyAutoWikiBrowser developers hang out in here? [23:15:43] I will try your way [23:15:51] copying from "a site" is usually not such a great idea :) [23:16:04] Well it was from a wiki, lol [23:16:07] just don't specify TidyConf at all [23:17:20] thanks for your help Duesentrieb :-) [23:18:31] Ok I removed that line completely [23:18:54] I still have problems on the page [23:22:52] Wich one of the parser function files do I call in the localsettings file? [23:23:12] Right noe I am calling ParserFunctions.php [23:23:16] now* [23:24:15] *Werdna waves [23:24:21] no brion around [23:24:24] silly boy. [23:25:15] Should I be calling ParserFunctions.php or Epr.php? [23:25:22] 03(NEW) Users should be able to resign using Special:Userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13217 15enhancement; low; MediaWiki: General/Unknown; (lugusto) [23:25:41] Expr* I mean [23:25:53] ParserFunctions.php [23:25:59] what problem are you having? [23:26:14] Imported templates look screwy [23:26:22] how so? [23:26:45] Some of the code around the template is visible on the pages [23:26:59] 03(mod) Enable trigonometrical functions to #expr - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13216 (10rene.kijewski) [23:27:03] Silentrage: exaple? [23:27:17] Silentrage: ah, so you don't think it's installed properly. [23:27:20] Check Special:Version. [23:27:28] Does the ParserFunctions extension appear there? [23:27:47] 03(mod) Enable trigonometrical functions to #expr - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13216 (10rene.kijewski) [23:27:57] ParserFunctions (version 1.1.1) [23:28:12] 14(INVALID) Users should be able to resign using Special:Userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13217 +comment (10cbrown1023) [23:28:17] okay, so what text is appearing? Do you have an example? [23:28:26] I also added htmltidy but I don't see it there [23:28:36] htmltidy isn't an extension. [23:28:38] I will upload a screenshot for yo [23:28:39] u [23:28:48] Ok [23:29:09] Silentrage: a link would be enough... [23:29:23] 04(REOPENED) Users should be able to resign using Special:Userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13217 +comment (10cbrown1023) [23:29:45] It's not on the net [23:30:08] just copy-paste [23:30:12] the actual text. [23:30:19] we don't need to see [23:31:13] http://mediwiki2.pastebin.org/22025 [23:34:28] Silentrage: can you copy and paste the section under "parser function hooks", from your Special:Version page into this channel? [23:35:46] *Silentrage looks [23:38:19] categorytree, if, ifeq, switch, ifexist, ifexpr, iferror, expr, time, timel, rel2abs, titleparts, int, ns, urlencode, lcfirst, ucfirst, lc, uc, localurl, localurle, fullurl, fullurle, formatnum, grammar, plural, numberofpages, numberofusers, numberofarticles, numberoffiles, numberofadmins, numberofedits, language, padleft, padright, anchorencode, special, defaultsort and displaytitle [23:40:38] one sec, just grepping some mediawiki source code [23:40:53] ok [23:44:28] '(Florence will surely remember his explanation for one of these: "I don’t make any money, and my wife needs a washing machine." Her response was wonderful: "A gold-plated washing machine?")' [23:44:34] opps, wrong chan [23:49:34] AaronSchulz: I have some suggested patches for ConfirmAccount: http://rafb.net/p/n8z7kB37.html and http://rafb.net/p/cADll110.html [23:49:44] what for? [23:50:10] ok, $wgAccountRequestIgnoreACB, yeah, such a thing is good [23:50:28] is this for WP:Requests for account or whatever? [23:50:33] yeah [23:50:37] for collateral blocks, hmm [23:50:40] ok [23:50:43] there would be other tweaks necessary [23:50:55] those are the easiest/most important [23:51:22] the second one is not needed [23:51:33] no? [23:51:34] as long as the right is set after the extension is included [23:51:38] ah [23:51:43] $wgGroupPermissions['*']['createaccount'] = true; [23:51:53] anything else? [23:52:10] not now