[00:00:36] I thought we did. [00:00:41] I mean, we don't just not track sessions. [00:05:03] *robchurch looks for the log of his discussion with Tim about "visible" vs. "cache dependency" links [00:10:30] 03(NEW) Enable Import on it.Wikibooks for pages from it. wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10664 15enhancement; normal; Wikimedia: General/Unknown; (ilklamo) [00:11:30] imedia [00:19:03] 03(mod) Enable Import on it.Wikibooks for pages from it.wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10664 +shell (10Simetrical+wikibugs) [00:52:34] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/archives/patch-img_sha1.sql?sortby=date&view=log [00:52:37] sweet [00:55:07] 03robchurch * r24327 10/trunk/extensions/Sort/ (README Sort Sort.class.php Sort.php): [00:55:09] * Code refactoring [00:55:13] * Trim list tokens from each line [00:55:15] * Rename readme to README [01:03:23] 06(LATER) logevents query returns zeros for logid & pageid - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10660 +comment (10robchur) [01:56:34] robchurch, ping [01:56:41] robchurch, Where can I find the Wikitravel folks? [01:56:47] wikitravel.org ? [01:56:52] I did a channel search, nothing relevant came up here on Freenode [01:57:16] Oh weird... their channel doesn't show up in the list, they're in #wikitravel [01:57:17] blarg [02:02:13] I managed to figure out what was wrong with my rss->db dump mirroring script, and brion/et al. fixed the bugs with the rss feeds pointing to missing/broken links, so now all is well with the world [02:02:37] Now I'm re-rolling all of the mobile versions again, to see if they still function [02:03:09] Top 8 languages across 8 of the mediawiki projects (books, pedia, quote, etc.) [02:08:50] robchurch, As this thing goes live again, after a 2+ year hibernation, which is the best list to announce it on? [03:03:19] 03aaron * r24328 10/trunk/phase3/maintenance/archives/patch-img_sha1.sql: *grr [03:51:32] The usernames of logged-out users is stored in a cookie right? [03:54:28] Wouldnt a very reliable sock-detection system be to log in the user table the username cookie as of the time of registration? It would stop most sockpuppeteers who weren't really determined [04:01:45] that was on SVN briefly, then reverted [04:08:18] MW stores cookies even if you explicitly log out? Why? [04:08:30] that cookie will be removed anyway [04:09:03] Oh, that was before browsers remembered that kind of thing, I guess. [04:09:05] Or something. [04:09:59] I thought it would be useful to find socks [04:10:06] a Special:Viewsocks page for admins [04:10:55] maybe better for CheckUsers [04:13:39] Well no [04:13:43] The idea is a way for admins [04:13:54] Since no information is released thats personal, such as no IPs [04:14:14] Its just accounts created on that same PC while the other account was logged out [06:02:35] Is this the place to ask questions? [06:03:45] Ah, okay. How do I move the logo to the left so that the small margin between the left edge and the logo disappears? [06:15:06] good morning [06:15:16] Morning! [06:20:18] Does anyone know how to move the logo to the left, eliminating the space between the left edge of the screen and the left edge of the logo? [06:24:49] I assume by editing the css [06:26:06] Yes, but what part of the CSS would I have to edit to remove that margin? [06:28:41] the bit for the logo, not sure exactly where in the CSS [06:30:17] The bit for the logo doesn't cover that margin [06:59:50] hi amidaniel [07:20:54] hello [07:21:00] i'm trying to figure out how i can make an image link to a page [07:21:14] let's say i have image Xyz.jpg and i want it so that when the user clicks on it, it wil ltake them to article Abc [07:29:01] o/ perthro [07:29:52] frozenskimo: The easiest way is to use the imagemap extension [07:40:19] ../o ? [07:41:40] <_wooz> lo [07:41:41] 03(CLOSED) Illegal XHTML for navigation is created - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10659 (10bkuehl) [07:45:20] http://digg.com/offbeat_news/Fox_News_left_their_image_directory_open & http://www.foxnews.com/cgi-bin/ [07:59:51] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10fearow00) [08:02:11] 03(mod) Linker::userToolLinks and friends should not require a user ID - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 +comment (10fearow00) [08:03:38] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10robchur) [08:04:28] Linker::userToolLinks($name.contains("."), $name) [08:04:56] Three points to each person who can identify a flaw in the above line of code. [08:05:11] Arg I am trying to set up my mediawiki [08:05:31] 6toe.com/wiki/ but the install points me to my index page [08:05:43] even after removing the .htaxs [08:05:51] There are a total of 12 points available. [08:06:00] dmb062082: Please be specific. [08:06:18] well I am trying to go to http://www.6toe.com/wiki/config/index.php [08:06:45] it directs me to my main site index while keeping the original wiki url syntax [08:07:07] i just assumed it was due to my htaccess so I deleted it and that does not help at all [08:07:08] Is there perhaps some configured alias which would mean /config/ has special meaning? [08:08:09] TheFearow, image map is ugly [08:08:46] TheFearow: Perhaps you can identify the flaws? [08:09:59] robchurch: I used java syntax [08:10:13] For String manipulation? That is one flaw. [08:10:21] robchurch: Because I cbf looking up the PHP function [08:10:27] I only look things up when actually coding :p [08:11:42] Incorrect scoping. Logic error with respect to interpreting what an anonymous user is. [08:11:54] Ahh [08:12:08] I want !$user.contains(".") [08:12:17] Hardly. [08:12:24] But I got that wrong anyway, because its not all what it is [08:12:45] I thought they were identified by the . in their name? [08:12:54] Perhaps it would be prudent to, er, look up the correct syntax when you're *arguing on a matter of code quality* [08:12:56] Certainly not. [08:13:22] My argument was that user objects allow a lot more flexibility, not the specific example [08:13:50] *robchurch shrugs [08:14:17] I don't know exactly anyway - I wrote a patch to add flexibility, and apparentally its already made, just not that easy to implement [08:15:42] I can't find anything that useful to implement, so I do unusual things most people wouldnt consider doing [08:17:57] hello [08:19:09] Hey [08:19:28] robchurch: In practice, you dont want group names longer than 50 chars, right? [08:21:03] anyone knows how to use WebStore? I do not know how to setup $wgWebStoreSettings['scalerAccessRanges'] [08:26:54] | ug_group | char(16) | NO | PRI | | | [08:55:19] I am lost, mediawiki /config/index.php points to my server root [08:55:38] No install for me [08:58:23] 03robchurch * r24329 10/trunk/phase3/languages/messages/MessagesEn.php: s/one time/once/ [09:05:35] Editing the "MediaWiki" namespace is defined by the editinterface permission rather than the standard protect permission, correct? [09:27:03] 03(NEW) More descriptive landing page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10665 15enhancement; normal; Wikimedia: General/Unknown; (fearow00) [09:27:12] Wow, wikibugs is fast [09:29:08] 14(DUP) Change name of no.wikibooks' project namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10555 +comment (10herman) [09:29:10] 03(mod) Namespace and site rename on Norwegian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10641 +comment (10herman) [09:34:45] NO! [09:34:52] Some evil person disabled redirecting to Userlogout [09:39:19] moorning [09:41:30] hi Raymond_ [09:47:56] Is $result = Database::query("SELECT * FROM table;"); a good way to get queries, or do I have to get a Database object? [09:48:43] you need an object [09:48:51] the object encapsulates the db connection [09:48:57] Ahh, I saw it referred to it that wa in comments, but I thought it did [09:49:02] calling that method the static way is going to fail. [09:49:22] Whats the easiest way of getting a database object? [09:49:24] well, that's the qualified name of the method. but not the correct way to call it [09:50:10] Whats the code to get the Database object? I've been trying to find it [09:50:21] TheFearow: $dbr = wfGetDB( DB_SLAVE ); [09:50:38] use $dbw = ... DB_MASTER if you need to *write* to the db [09:50:40] Ok. Is all data on slave automatically? [09:51:00] yes, but subject to replication lag. [09:51:16] on wikimedia sites, that's up to 30 seconds (after that, write access is locked until the slaves have cought up) [09:51:19] Ahh ok. The stuff i'm reading isnt really critical [09:51:29] use slaves then [09:51:33] Its likely to be changed about once every 6 months or less [09:51:44] so replag shouldnt be a problem [09:52:09] if the query is non-critical, and bound to be done often, consider using the object cache [09:52:21] err, non-trivial [09:52:24] Itll be done once per execute [09:52:25] i.e. not very fast [09:52:33] once per execute of what? [09:52:42] Of mediawiki [09:52:49] every page load? [09:52:58] in that case, do use the cache. [09:53:00] That seems the easiest way, yes [09:53:06] Is it difficult? [09:53:16] The problem for me is, its multiple queries [09:53:21] I think ill work on something easier [09:53:27] no, caching stuff isn't hard. purging the cache is the tricky bit [09:53:38] but if it's not critical, simply let it time out after a few hours or something [09:53:58] *especially* use the cache if it's multiple queries [09:53:59] Ill show you what im doing [09:54:37] http://mediawiki.pastey.net/71188-46dd [09:54:53] I was considering doing it as a JOIN, but i was going to do that once I get it working [09:55:49] doesn't matter. if you plan to use it on a decently busy site, you should use the object cache [09:55:56] let me look at how it's done, it has been a while... [09:57:05] It was meant for wikimedia [09:57:13] As devs hate editing configs, and often new groups are wanted [09:57:26] And wikipedia etc is rather busy [09:57:57] then you MUST use the object cache [09:58:11] I'll work on something easier [09:58:24] TheFearow: it's trivial [09:58:53] TheFearow: global $wgMemc; $wgMemc->put($key, $value, $expiry); $wgMemc->get($key); [09:58:58] $expiry is in secopnds. [09:59:17] if get returns null, re-run the query and put the result into the cache [09:59:20] trivial [10:03:04] Anyway, i'm going to bed [10:03:17] Also, the object cache may be a good bet, but ill see [10:03:40] it's essential for almost anything you want to do on wikimedia sites [10:03:47] Thanks! [10:03:48] Night [10:03:49] anything that is run often and would need the db [10:03:55] good night to you [10:19:27] 03(mod) Logged on as someone else. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6464 (10Platonides) [10:22:15] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 (10Platonides) [10:35:28] lalala [10:42:22] is it possible to have a table height between 1 and 2?\ [10:44:45] hm? 1 and 2 what? [10:45:04] well, I would like to have a height of 1.5px [10:45:17] i tried %, but that did not work [10:45:31] 1.5px?? for a table? [10:45:38] o_O [10:45:43] I have 2px...that is too big [10:46:00] i don't get it - why do you want a *table* that small? [10:46:13] and pixels are kind of atomic, i guess :) [10:46:14] small? it is not that small [10:46:15] <_mary_kate_> how do you expect the browser to draw a 1.5px table? [10:46:22] <_mary_kate_> you can't draw half a pixel [10:46:26] EK_123: two pixels is... small. [10:46:33] hmm maybe im doing something wrong lol [10:46:44] but i see a big differance between 1 and 2 [10:46:48] well, what are you *trying* to do? [10:47:58] well I have 10 tables right below eachother [10:48:09] I would like to adjust the height [10:48:12] of each table [10:48:59] somehow if I do "height: 20;" nothing happens [10:49:08] <_mary_kate_> you forget the unit [10:49:15] but when I do "height: 20px;" I do get a large table [10:49:23] very large [10:49:44] so when I try 2px...then the table is like 8cm in height [10:49:45] well, to what your you applying that? and is that in a style attribute=?# [10:50:13] yes [10:50:23] also, a fixed hight for a table is icky - it's not even in the html standard, afaik... [10:50:32] | style="height:1px; font-size:90%; background:#F1FAFF; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" |
{{Hoofdpagina/Samenvatting|switches=Introductie & Help}}
[10:50:34] uh, that seems *very* odd. [10:50:39] this is what I have [10:50:59] <_mary_kate_> mixing em and px like that is disgusting [10:51:02] EK_123: you have rather big padding there. [10:51:25] yeah but when I remove the padding, the whole table goes mixed up [10:52:03] like this, it is perfect, but I would like to tune the height a bit [10:52:28] if I could have something between 1px and 2px, it would be perfect for me :) [10:52:33] EK_123: px is pixels. if it turns out as something else for you, something is very broken. [10:53:11] well, I got this from mediawiki table tutorial [10:53:20] so maybe mediawiki is very broken [10:53:46] it passes on the styles to html unchanged... more or less. [10:53:58] have you looked at the html source that is generates? [10:53:59] look at: [10:54:00] http://en.wikipedia.org/wiki/Help:Table [10:54:02] what does the style say there? [10:54:22] what do you mean? [10:55:22] look at the generated html [10:55:31] the source does have the same code [10:55:40] then its unrelated to mediawiki [10:56:29] EK_123: giving a small table hright usually has no effect, because the table grows to accomodate the contents. explicite table hight might even be ignored completely, afaik. [10:56:50] ohh [10:56:53] let me explain [10:56:59] the text is not really in the table [10:57:11] because mediawiki does not support background images [10:57:33] so I have found a workaround to have a background-image into a table with text in it [10:57:58] so this might not look usual [10:59:21] i have to create the table first and then add the text to it (positioning) [10:59:47] if I dont do this, the text can be outside the table (even half inside and half outside) [11:00:01] that is why I need fixed heights [11:02:31] I guess there is no solution to this? [11:03:44] EK_123: there's no solution i know that would work in all browsers. [11:04:20] EK_123: you can in theory just use divs, and make the inner divs fill the outder diff to 100% using position_absolute or something [11:04:24] but is it good to remove the padding maybe? [11:04:26] that doesn't work in msie though [11:05:05] mess css stuff like that is tricky. [11:05:14] if you get it working, make sure it works in all browsers [11:05:33] look at the "click" template that is used for image links on en.wikipedia, perhaps [11:05:36] it does simethign similar. [11:05:48] buti gotta go [11:05:49] bbl [11:06:11] thnx anyway [11:47:09] 03(NEW) Create system message MediaWiki:Sysop.js - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10666 15enhancement; normal; MediaWiki: User interface; (innocentkiller) [11:48:20] hi :) is it possible to turn off anonymous editing and account creation in mediawiki? [11:49:28] <^demon> asymingt: Yes [11:51:11] asymingt_: $wgGroupPermissions['*']['createaccount'] = false; in LocalSetting.php [11:51:30] ialexandre: thanks [11:51:42] and $wgGroupPermissions['*']['edit'] = false; [11:52:34] that makes a lot of sense :) i was looking for more general setting [11:52:37] <^demon> Does create cascade under edit? [11:52:48] but i see how it is achieved - thank you [11:53:09] asymingt_: for more options see http://www.mediawiki.org/wiki/Manual:$wgGroupPermissions [11:53:53] 03(mod) Single login on all wikimedia projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=57 (10dejan.papez) [11:57:56] <^demon> For the record, programming to "Beautiful Things" by Andain is very relaxing. [12:05:29] 03(mod) Add revisionId to ArticleSaveComplete hook - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9595 (10seventowers) [12:09:08] <^demon> What's the easiest way of checking if a user is a sysop? [12:11:03] Hi [12:11:08] <^demon> hi [12:23:31] ^demon: $wgUser->getEffectiveGroups() and then check if there is sysop in the array [12:23:40] <^demon> Thanks. [12:24:36] in_array( 'sysop', $wgUser->getEffectiveGroups()) [12:26:21] Hi. How should I force the use of a different skin in the event that the user has a browser that I've not done the fixes for? [12:26:46] <^demon> ialexandre: So to only make something for sysops, you'd do: [12:26:49] <^demon> if (in_array( 'sysop', $wgUser->getEffectiveGroups())) { [12:27:25] ^demon: yes [12:28:37] 03(mod) Create system message MediaWiki:Sysop.js - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10666 (10innocentkiller) [12:29:00] <^demon> ialexandre: If you've got a second to check out that bug, I'd appreciate feedback on my code. [12:29:55] ^demon: sorry, i have to go [12:30:01] <^demon> It's ok, thanks again for the help. [12:30:37] MartinCleaver: there's no way apart from crude js hacks that would basically mean requesting each page twice. [12:31:22] <^demon> Either that, or you can limit use of skins to one specific skin. [12:31:23] MartinCleaver: basically, if a user has a browser that doesn't work well with the default skin, let him choose a different skin the the preferences. use a skin that works for all as default for anons. [12:32:08] <^demon> $wgSkipSkins - if you only want to limit them to one skin. [12:32:38] ^demon: well i assume he wants them to use his custom skin, but that doesn't work with all browsers. [12:33:06] <^demon> Yeah I guess you're right. [12:38:46] Thanks. Yes, I've customized monobook to match my site [12:39:01] but I can't / don't have the patience to test for all browser [12:39:20] It works well under FF2 and IE7 and ok under IE6 [12:39:50] (IE6: Apart from the damn personal controls) [12:39:56] 03(mod) Install DynamicPageList on Dutch Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6163 +comment (10j_dunnewold) [12:40:18] IE 5.5 and below: it's bound to be broken in horrible ways. [12:40:36] MartinCleaver: well, Opera and Safari/Konqueror would be the other essential ones i guess. [12:40:43] Opera etc. I should care but I have other priorities right now [12:40:53] 5.5 is iportant when dealing with people fron low-tech palces [12:41:02] ignore stuff older than 5.5 :) [12:41:18] What's that site that automates browser screen dumps? [12:41:32] http://browsershots.org/ ? [12:42:31] *MartinCleaver queues http://browsershots.org/website/http://wiki.wikiconsulting.com/index.php/Main_Page#success [13:06:09] Can I get from mediawiki an unformatted page? I want to use a page to contain the menu structure that I have going across the top of the page [13:06:39] i.e. http://wiki.wikiconsulting.com/index.php/Site_menu_structure has two bullet points. I want these to go into the grey bar like so: [13:06:41] http://wiki.wikiconsulting.com/index.php/Site_menu_structure [13:06:46] same same [13:07:15] currently I hardcoded the menu content into my Skin's PHP file [13:07:36] MartinCleaver: use a system message (i.e. MediaWiki:Site_menu_structure), the use wgMsg (or wgMsgForContent or one of the 10 other variants) to fetch it. [13:07:46] MartinCleaver: this is how MediaWiki:Sidebar works... [13:08:01] 03vrandezo * r24330 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php: Export to RDF added [13:08:27] *MartinCleaver googles [13:08:33] thanks Duesentrieb [13:09:26] 03vrandezo * r24331 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php: Checks if we export OWL Full [13:09:36] 40 hits for http://www.google.ca/search?num=100&hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=apc&q=wgMsg&btnG=Search&meta= [13:09:45] 1 hit for http://www.google.ca/search?q=wgMsgForContent&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a [13:10:24] MartinCleaver: wfMsg, not wgMsg, sorry [13:10:29] 03vrandezo * r24332 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: Adds flag for OWL Full export [13:10:30] thanks [13:10:50] 03vrandezo * r24333 10/trunk/extensions/SemanticMediaWiki/ (2 files in 2 dirs): Made export leaner [13:13:33] There been much talk about merging wpmu and mediawiki? [13:14:46] wpmu? [13:14:55] wordpress multiuser [13:15:46] <^demon> Why would we merge WP and MW? [13:16:00] more so, how? [13:16:05] seen suitetwo ? [13:16:17] wouldn't that be like trying to merge, say, firefox and konqueror? [13:16:23] sec - phone call - back in a bit [13:16:36] different - one blog other wiki [13:16:47] that, too. [13:17:20] <^demon> I still don't see why you would want to merge blog and wiki software. Aren't there MW extensions that add blogs? [13:17:52] http://www.socialtext.com/node/119 [13:18:00] back in 20 [13:20:34] <^demon> Duesentrieb: I still don't see why... [13:20:52] he nither [13:21:15] well, having a common code platform for a wiki and a blog system, allowing them to be mixed and matched, would be nice. [13:21:33] Hello guys, do you know by chance if there is something like a "shoutbox" for mediawiki? [13:21:36] i can't really see how merging the codebase of two totally different projects would help with that though [13:22:10] EK_123: you could use the TalkHere extension to get something a bit like that. [13:22:22] thnx Duesentrieb [13:22:27] maybe there are other extensions that do it better, don't know [13:22:43] ok, but you have help me a lot already :D so thnx million times [13:25:21] Duesentrieb, nice you are the author of TalkHere :D [13:25:34] that's why i recommend it :) [13:25:54] is there also an example? [13:27:15] EK_123: http://brightbyte.de/page/Think_of_the_children [13:27:47] EK_123: i use it for talkback in the main namespace. but you can restrict it to the user namespace, as a shoutbox feature, if you like. [13:27:52] positioning can be done with css. [13:28:11] nice, great [13:29:08] ok back [13:29:31] y, there's always the question of wiki-centric vs. hotch-potch of two systems [13:30:50] MartinCleaver: so? what does that have to do with mergin to concrete implementations? [13:35:01] well, you'd get the (beneficial/detrimental) effects of two customer bases, two developer communities [13:35:22] there's some acceptance that both functionality sets are useful [13:38:46] MartinCleaver: but merging two totally unrelated codebases is pretty much impossible. a silly idea, really. following your arguments, you could also suggest to merge, oh, i don't know, gmail and slashdot, or whatever. [13:39:14] ok. no prob. I'm too busy to argue ;) [13:39:17] writing something that merges the concepts - sure, why not. [13:39:21] hey, wfMsgForContent is not what I wanted [13:39:23] but the code? no way. [13:39:40] It translates a system message according to preferences [13:39:59] I want the bare content for a page [13:40:08] *MartinCleaver read ----:---F1 GlobalFunctions.php (PHP Abbrev)--L318--15%-------------------- [13:40:51] MartinCleaver: err, that's the same thing... the translation *is* the base contents of a page. [13:41:12] MartinCleaver: if that üpage exists. if not, the message is taken from the language file. [13:43:10] oh, well I got the name of the page back. [13:43:24] Should I use the _'s in the name? [13:43:55] yes [13:44:05] Simetrical|away: remember how i broke my wiki moving from /w to /wiki? I figured out what went wrong, the .htaccess file still referred to /w. That was simple. ;) [13:44:11] *MartinCleaver tries without [13:44:12] well, per convention, systen messages have no blanks or _s in the name. it should work with _ though [13:44:34] Are system messages defined in pages? [13:44:36] you'll get back if the page doesn't exist (not NULL) or something. [13:44:43] yes, in pages [13:44:46] MediaWiki:foo [13:44:51] is the system message foo. [13:45:04] So I have $header = wfMsgForContent('Site menu structure'); [13:45:15] and I get back: [13:45:40] because MediaWiki:Site_menu_structure doesn't exist. [13:45:47] i'd also not use blanks there. [13:45:55] not sure if the cache will like it. [13:45:55] I had it with _ before [13:46:18] when you say: "MediaWiki:" [13:46:24] is this the default namespace? [13:46:56] should I have this page not in the default namespace but some place only I can see? [13:47:22] e.g. http://wiki.wikiconsulting.com/index.php/Me:Site_menu_structure ? [13:47:29] no. [13:47:34] it's the MediaWiki namespace [13:47:37] as in MediaWiki [13:47:49] like, you know, type "MediaWiki" [13:48:01] If I put it in there, and upgrade, what happens to my page? [13:48:11] nothing [13:48:25] customized messages stay as they are [13:48:45] what's the user's default namespace called? [13:49:14] there's no user's default namespace. there'sa default user namespace... [13:49:21] called "User", surprisingly. [13:50:00] $header = wfMsgForContent('User:Site_menu_structure'); doesn't do me any favours either [13:50:11] i.e. I get back "" [13:50:20] *sigh* [13:50:26] it doesn't work like that [13:50:40] wfMsgForContent('foo') retrieves MediaWiki:foo [13:50:46] you can't do that for the user namespace [13:51:12] can I wiki edit http://wiki.wikiconsulting.com/index.php/MediaWiki:Site_menu_structure ? [13:51:28] there are other ways to get page content, of course, but they are much slower, and thus not a good choice when generating a menu, etc [13:51:44] MartinCleaver: yes. that's what i have been telling you for about half an hour... [13:51:45] caching is okay by me [13:51:48] *Duesentrieb is impatient today [13:51:52] *Duesentrieb should go and do something else [13:51:55] I see no edit button on http://wiki.wikiconsulting.com/index.php/MediaWiki:Site_menu_structure [13:52:08] ah. one sec. [13:52:45] hmm. better. [13:53:03] is this namespace cached for performance? [13:53:24] <^demon> Yes. [13:53:39] <^demon> All namespaces are cached by default. [13:53:49] system messages are cached extra [13:54:20] on a lower level, for use while building the interface [13:54:27] this is weird. The first time I was able to edit by hitting the red 'message' link. The second time that same link was a view action, not edit [13:54:46] MartinCleaver: are you logged in? [13:54:49] yes [13:54:53] is it protected? [13:54:55] err. [13:55:10] a link is always "view", unless it's red. if it's red, it's an edit action [13:55:17] so you can create stuff that doesn't exist yet [13:55:22] its the same with all wiki links... [13:55:28] anyway, off for now. [13:55:33] thanks Duesentrieb [13:57:21] I get the literal page contents back [13:57:41] so if I write "* foo" I don't get back "
  • foo" - fair enough [13:57:43] but [13:57:52] how best to apply a transform to the content [13:57:59] because I want back: [13:58:14] e.g.
  • [13:58:14] Home [13:58:14]
  • [13:58:21] but to write: [13:58:37] * [[http://wiki.wikiconsulting.com Home]] or whatever [13:58:55] is there a way I can apply the transform? [14:00:20] maybe HTML is good enough for now [14:04:05] hi, i just installed 1.10.1 last week and it was working fine, on sunday it's now throwing "you have not specified a valid user name" for any user that tries to login, including WikiSysop ... specs on server are Apache 2.0.55, PHP 5.1.6, mySQL 5.0.24 ... any ideas? [14:04:06] ok. Ugly but functional [14:04:18] ^ referring to own issue [14:06:06] earlmred: your own server or shared? [14:06:36] I have a feature request, I have a number of uses for a variation on __TOC__ that allows the inclusion of the table of contents for another page, eg __TOCPAGE=pagename__ [14:06:48] brion-office own, just did a clean install of ubuntu 6.06 since we were having this problem on an old server running fc1 [14:07:00] brion-office clean install, new server. [14:09:32] confirm the user record is in the database, and that you're accessing the correct tables (prefix etc) [14:10:07] brion-office yes, i just checked all of the users are still in the database, and it's pulling all of the correct content [14:10:38] is it possible to make template that has variable amount of parameters? [14:11:02] brion-office an dthere's no prefix [14:14:30] earlmred: can you first confirm that DefaultSettings.php is the shipped version, that it contains a setting for $wgMaxNameChars ? [14:14:35] *MartinCleaver looks for the way to shorten urls, removing index.php with a trick .htacccess [14:15:11] *MartinCleaver finds http://www.mediawiki.org/wiki/Manual:Short_URL [14:15:45] brion-office $wgMaxNameChars = 255; # Maximum number of bytes in username [14:15:54] brion-office it looks to be the shipped version to me [14:17:19] i'll update my edgy isntall and see if i can repro [14:17:30] for example if I want to make general-menu template but for each context I need of course different amount of menu items [14:17:31] ok. out of these solutions. I don't care how I need to organize the files on the disk, but I want the wiki pages to be at the top of the url structure e.g. wiki.wikiconsulting.com/Page_Name. I have root access. [14:17:34] brion-office i'm actually on dapper drake; 6.06 [14:17:41] oh [14:17:45] well, sucks to be you [14:17:46] brion-office it worked for about 5 days, and then just stopped. [14:18:05] brion-office i checked logs and no new packages were installed/updated [14:18:06] no idea, you'll have to debug it [14:18:07] *MartinCleaver reads http://www.mediawiki.org/wiki/Manual:Short_URL#Two_Subdomains_with_no_Subdirectory_in_Article_URL [14:18:12] check the steps in isValidUserName and elsewhere [14:20:50] with this two subdomains solution, do users ever see the static. url? [14:24:23] http://www.mediawiki.org/wiki/Manual:Short_URL#Subdomain_with_no_Subdirectory_in_Article_URL looks like what I want but the warning is dire [14:25:32] brion-office okay even when i try to login i get "not a valid user name" [14:25:38] brion-office err create a new user [14:26:10] brion-office and if i try to edit as an anon user it doesn't. [14:26:45] Is there anyway to show "Top Users" [14:26:59] bother [14:32:16] hey, i was reading the database layout for media wiki at http://www.mediawiki.org/wiki/Manual:Database_layout, i'm building a "kind of similar in some tables" database, but i was wondering, in the text table, why is there mediumblob and tinyblob to store text? what are they for actually, i remember only seing blob before, but i'm kind of new in database world.. thx [14:33:35] okay, so the first page I'd like to be able to include TOCs from elsewhere on is http://en.wikinews.org/wiki/Wikinews:Water_cooler . On this page we have 5 sub-pages all with their own table of contents. If you want to see if there is an existing discussion on one of these subpages you have to guess and look where it is. If, instead, I could include the TOC from the sub-page in a expand/collapse [14:33:37] box then all the information is on one page. [14:33:46] earlmred: did you upgrade php or anything recently? [14:34:24] how do I set user as administrator? [14:34:55] ghaith: see mysql documentation; the various blob variants have different maximum sizes [14:35:09] (and presumably, slightly different amounts of usage in the main row due to that?) [14:36:33] brion-office, oh ok i'll check that, but why is text stored in blob then? [14:38:29] brion-office, nevermind it's in the documentation as well :) [14:38:47] blob is binary-safe [14:46:05] does anyone have experience with FCKeditor? [14:51:56] 03(NEW) Special: Wantedcategories contains items which should not be there - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10667 normal; normal; MediaWiki: Special pages; (wikipedia.danny.b) [15:01:27] <^demon> _DannyB|backup: Thanks for the vote for my bug. [15:03:29] <_DannyB|backup> ^demon: sysop.js? you were just faster ;-) i had the same idea but solved it the other way: in common.js: if sysop load admin.js ;-) [15:03:49] <^demon> I thought about doing it that way, but that's more expensive user-side. [15:03:54] brion-office no, i didn't. I just put return true; at the top of isValidUserName in User.php and it's still saying "You have not specified a valid user name" [15:04:08] <_DannyB|backup> ^demon: not that much [15:04:17] <_DannyB|backup> but i agree server side's better [15:05:23] where can I find launching date of ml.wiktionary.org? [15:05:27] static function isValidUserName( $name ) { [15:05:27] return true; [15:07:11] hmm ok sec earlmred [15:07:22] Sadik: ask on meta or on #wikimedia or on #wikimedia-tech. [15:07:58] and the name isn't in $wgReservedUsernames right? [15:11:03] thanks [15:11:10] brion-office no it's not, does it for all users, including wikisysop, this worked up until saturday, looking at server logs nothing changed; i had this exact same problem on a fedora core 1 box that had no updates. [15:11:44] <^demon> Sadik: The earliest revision to ml.wiktionary.org's Main page is 4 August 2004, so that's a good bet. [15:12:01] These short url instructions are messed up [15:12:01] http://www.mediawiki.org/wiki/Manual_talk:Short_URL [15:12:18] I mean http://www.mediawiki.org/wiki/Manual:Short_URL#Two_Subdomains_with_no_Subdirectory_in_Article_URL [15:14:19] 03(WONTFIX) Prevent uploads with missing descriptions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10650 (10brion) [15:14:40] :) [15:15:06] something like that [15:15:07] 03(NEW) Upon login receive Login error: You have not specified a valid user name. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10668 04BLOCKER; highest; MediaWiki: User login/settings; (j.boyd) [15:16:04] why do people think that "blocker" means their website doesn't work? [15:17:07] blocker means *nobody*'s website works ;) [15:17:21] TimStarling: quick note on the image deletion [15:17:30] i haven't gone over the code yet, just the commit message ;) [15:17:37] 03(mod) Upon login receive Login error: You have not specified a valid user name. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10668 04BLOCKER->04CRIT (10j.boyd) [15:17:41] * $wgSaveDeletedFiles has been removed, the feature is now enabled unconditionally. Added a "deleted" directory for the default location, protected by a .htaccess file and the practical obscurity of content hashes. [15:17:49] ^ that worries me a little [15:17:59] .htaccess won't always be used [15:18:00] yeah, I had it on my todo list to discuss that with you, but I didn't get around to it [15:18:06] for instance a locked-down apache, or a non-apcahe web server [15:18:11] TimStarling okay, changed to critical... [15:18:25] yes sometimes it won't work [15:18:32] one thing that might help would be to add an empty index.html into each created subdirectory; that would make it impossible to spider the directory tree [15:18:33] Anyone here do a http://www.mediawiki.org/wiki/Manual:Short_URL#Subdomain_with_no_Subdirectory_in_Article_URL_using_mod-rewrite ? [15:19:16] can do... [15:19:19] woot [15:19:22] although it says "You should never do this" the one it does say you should do ("Two Subdomains with no Subdirectory in Article URL") doesn't work [15:19:47] the philosophical question is whether it's better to risk data loss, or to risk disclousure of deleted files [15:19:51] as it messes up when it saves [15:20:05] I'm not a big fan of data loss personally [15:20:39] TimStarling: i'd prefer for the undelete to be available; database storage as default instead of files here minimizes disclosure, but i don't think we have it available yet :) [15:21:05] MartinCleaver: "two subdomains with no subdirectory in article URL" sounds very scary, and offhand i wouldn't recommend it [15:21:11] at least if that name describes it accurately [15:21:42] brion-office: what do you use? [15:21:46] *MartinCleaver reads http://www.mediawiki.org/wiki/Manual:$wgServer [15:22:28] MartinCleaver: http://www.mediawiki.org/wiki/Manual:Short_URL#Using_aliases_in_httpd.conf [15:22:53] if I waant to add a top banner to my wiki how should I do that? [15:22:54] *MartinCleaver reads http://www.mediawiki.org/wiki/Manual:$wgScriptPath [15:23:00] (like a long logo over the top) [15:23:06] *MartinCleaver clicks [15:23:07] MartinCleaver: your problem with the two-domain version is probably with cookies. you'll probably have to change the cookie settings to allow the session to work properly on both domains [15:23:10] earlmred: at this stage, it's a support query rather than a bug [15:23:28] what's with the 'w' ? [15:23:44] ok. I can leave it out [15:23:50] anyone? [15:24:29] Stick some html in your skin/YourSkinName.php file, imownbey [15:24:57] brion-office: my problem was not with cookies but that the pages didn't save [15:26:24] 03(mod) Prevent uploads with missing descriptions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10650 +comment (10wikipedia.danny.b) [15:28:09] it's a directory name, chosen arbitrarily [15:28:25] *MartinCleaver pushes the content back to the original subdomain [15:31:52] 03(WONTFIX) Linker::userToolLinks and friends should not require a user ID - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 +comment (10brion) [15:34:14] 03(mod) More descriptive landing page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10665 (10brion) [15:35:00] *MartinCleaver muffles the screams [15:35:41] earlmred: i guess what you want to do is instrument authenticateUserData() in SpecialUserlogin.php and see where it dies out [15:35:49] it's either returning self::NO_NAME or self::ILLEGAL [15:36:12] possible conditions thus being: empty $this->mName, null result from User::newFromName(), or bad result from User::isUsableName() [15:36:41] you could add wfDebug() calls and enable the debug log and watch that, or just add in some if( $blah ) die("nooo"); like i tend to do ;) [15:36:59] <^demon> brion-office: As do many others :-P [15:37:21] welcome... to the height of 1980s debugging [15:37:58] You should try reading IBM crash dumps, dunno what era of debugging that qualifies as. [15:38:13] brion-office: do you have the /w bit omitted, as indicated is possible? [15:38:29] I want this URL: http://wiki.wikiconsulting.com/Industry_News to be able to work [15:38:42] not http://wiki.wikiconsulting.com/w/Industry_News or http://wiki.wikiconsulting.com/wiki/Industry_News [15:40:46] *MartinCleaver sighs [15:41:14] MartinCleaver: /w is irrelevant [15:41:24] that just happens to be where we put a directory on our servers [15:41:26] it has no relevance [15:41:28] it has no meaning [15:41:29] it means nothing [15:41:30] ignore it [15:41:32] http://www.mediawiki.org/wiki/Manual:Short_URL#Using_aliases_in_httpd.conf [15:41:32] $wgScriptPath = ""; [15:41:32] $wgScript = "$wgScriptPath/index.php"; [15:41:32] $wgArticlePath = "/$1"; [15:41:57] ugh [15:41:57] y, it's an internal rewrite path I think [15:41:57] ok ^^ in LocalSettings.php [15:42:01] that sounds complicated and annoying [15:42:06] just use a consistent path and stick to it, eh [15:42:36] I am following the instructions at http://www.mediawiki.org/wiki/Manual:Short_URL#Using_aliases_in_httpd.conf [15:43:00] It says "If you put the wiki installation in a subdirectory such as /w, use $wgScriptPath = "/w" as appropriate. If you put the files (such as index.php) in the root, you can use $wgScriptPath = "" in LocalSettings.php." [15:43:11] so, $wgScriptPath = ""; [15:44:57] *MartinCleaver waits for comment [15:47:43] I have these lines in httpd.conf: [15:47:48] 03(mod) Special: Wantedcategories contains items which should not be there - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10667 (10brion) [15:47:50] #These must come last, and in this order! [15:47:50] Alias /wiki /home/wikiconsul/domains/wikiconsulting.com/public_html/wiki/wiki/index.php [15:47:50] Alias /index.php /home/wikiconsul/domains/wikiconsulting.com/public_html/wiki/index.php [15:47:50] [15:47:56] brion-office hmm so, finding another problem, if i'm trying to create a completely new wiki from scratch, i get "Something's not quite right yet; make sure everything below is filled out correctly." [15:48:19] hopefully it'll tell you which bit is wrong with a little red note [15:48:20] is it? [15:49:07] brion-office yes, it says wiki name must not be blank, password must not be blank, db password must not be blank ... which they weren't until after submitted [15:49:32] 03thomasv * r24334 10/trunk/extensions/ProofreadPage/proofread.js: improved zoom [15:51:25] <_DannyB|backup> brion-office: regarding wantedcategories - so is there anything we can do to help you? [15:51:34] _DannyB|backup: you no :) [15:51:42] just needs some maint cleanup on backend [15:52:20] <_DannyB|backup> ok, got any idea when (no pushing, just want to forward it to those who are asking...) [15:52:30] when i get to it [15:52:31] after lunch [15:52:34] <_DannyB|backup> great [15:52:38] <_DannyB|backup> thanxalot [15:52:45] earlmred: can you try this test script for me? [15:52:55] brion-office sure. [15:53:11] [15:53:16] erp, just ?> at end there [15:53:46] *MartinCleaver mopes [15:53:58] Parse error: syntax error, unexpected ';' in /home/wikitest/public_html/test.php on line 1 [15:54:04] [15:54:22] remove that ; before the echo, sorry [15:54:27] i can't type today :P [15:54:28] <_DannyB|backup> brion-office: actually, we have an idea that this occurs if some exact devil-order of steps is done, since this is not the first time when this happens and iirc it's always when we "move" category - if this helps you to find possible bug in it... [15:54:48] [15:54:51] and i probably missed a ) :) [15:54:51] Parse error: syntax error, unexpected T_ECHO in /home/wikitest/public_html/test.php on line 1 [15:54:53] yep [15:55:09] brion-office returns ok [15:55:18] _DannyB|backup: well, stick the steps on the bug if you think you know what they are :D [15:55:22] earlmred: hmmm [15:55:29] well hell if i know then :P [15:55:52] was this php 5.1.6 on both fc1 and ubuntu? [15:55:53] seems like apache isn't getting posted data ... [15:55:55] shipped from the distro? [15:55:59] recently installed updates or no? [15:56:11] brion-office compiled on fedora core, ubuntu i've done all updates right after it was installed [15:56:48] <_DannyB|backup> brion-office: not quite sure. i'll try to promote to otheres to remember the order how they did it for next time [15:57:39] <_DannyB|backup> btw: is the tech channel dead during holidays? rather to catch people here? [15:57:49] *MartinCleaver moves his entire installation directory into /w so he can match ~~If you put the wiki installation in a subdirectory such as /w, use $wgScriptPath = "/w" as appropriate.~~ [15:58:43] how pointless [15:59:08] well i don't seem to be having problems with the post fields on the installer on 5.1.6 on edgy... don't have a dapper on-hand [15:59:22] I'm now at a loss as to what to try [16:00:00] fuck i fixed it [16:00:05] changed php memory limit back down to 8MB [16:01:20] o_O [16:01:27] mw won't work then :) [16:01:30] fixed other wiki too. [16:01:36] brion-office well set it back to 20M [16:01:42] brion-office but i had it set at 128M [16:01:44] changed that back down [16:01:48] and everything works again. [16:01:50] memory leak? [16:01:51] should work fine............ the hell [16:01:56] can you show me *exactly* what setting you had? [16:03:02] brion-office post_max_size was set to something like a GB, memory_limit 128M, max_input_time was set to an hour [16:03:19] brion-office because our users need to be able to upload up to 1GB of data at a time [16:03:21] earlmred: can you show me the exact lines in php.ini? [16:03:22] *MartinCleaver gives up [16:03:25] do I have to use an extension to create an rss feed? [16:03:42] brion-office unfortunately i was a dumbass and overworte it with .dish [16:03:44] *dist [16:03:59] :( [16:04:07] yeah. [16:04:21] i'm suspicious of that post_max_size [16:04:22] but those are the settings i'd changed [16:04:24] that might be something [16:04:33] brion-office me too, since it was like uh can't post anything [16:04:46] lemme try something quick [16:05:27] brion-office strange thing is it worked for about a week, then stopped working [16:05:39] brion-office and continued to not work after i rebooted/restarted services, so wasn't a memory leak... [16:05:44] bingo [16:05:47] thanks anyway [16:05:58] post_max_size = 1G <- works [16:06:04] post_max_size = 1GB <- no data in form [16:06:17] brion-office i had it set to 1024MB, sorry to rain on your parade [16:06:22] er 1024M [16:07:00] maybe you did, maybe you didn't ;) [16:07:04] haha [16:07:05] okay. [16:07:18] anyway, that was probably your problem. ... [16:07:21] and it's lunchtime :D [16:07:24] good luck [16:07:24] okay [16:07:27] i'll be back after lunch [16:07:32] to talk about proper ways to increase upload limits [16:07:33] *MartinCleaver tries the http://www.mediawiki.org/wiki/Manual:Short_URL#Apache_rewrite approach [16:07:38] :) [16:07:46] *brion-office back after lunch..... [16:08:39] this is retarded. I'd end up with a url like sitename.com/wiki/Article_Name [16:08:56] *MartinCleaver tries to not be judgemental [16:10:47] *MartinCleaver changes the mediawiki wiki [16:12:33] *MartinCleaver tries the "dodgy" http://www.mediawiki.org/wiki/Manual:Short_URL#Subdomain_with_no_Subdirectory_in_Article_URL [16:18:36] How can I make a catagory sort the pages by lastname? [16:18:41] (or last word as it might be) [16:19:55] <_DannyB|backup> imownbey: you have to add sorting key to every page in such catgegory like [[Category:Presidents of the USA|Bush, George]] [16:21:15] *MartinCleaver turns on rewritelogging [16:32:13] Ello. On some MediaWiki wiki, there's a JPEG image marked with a MIME type of unknown/unknown. Is there an easy way to change this to image/jpeg? [16:41:40] *MartinCleaver settles on the "dodgy" rewrite rule [16:53:36] 03(NEW) Support wikitext as language to highlight - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10669 15enhancement; normal; MediaWiki extensions: SyntaxHighlight (GeSHi); (wikipedia.danny.b) [17:04:39] 03(mod) Upon login receive Login error: You have not specified a valid user name. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10668 04CRIT->normal; highest->normal; +comment (10j.boyd) [17:15:28] 03(mod) Upon login receive Login error: You have not specified a valid user name. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10668 (10brion) [17:18:57] qsheets, ping [17:19:02] 03tstarling * r24335 10/trunk/phase3/includes/GlobalFunctions.php: debugging code accidentally left in [17:20:19] 03tstarling * r24336 10/trunk/phase3/includes/BagOStuff.php: Debugging [17:21:34] 03tstarling * r24337 10/trunk/phase3/includes/filerepo/FSRepo.php: Seed subdirs in the deleted zone with a blank index.html file, to prevent crawling. [17:22:22] 03tstarling * r24338 10/trunk/phase3/includes/filerepo/LocalRepo.php: Fixed LocalRepo::cleanupDeletedBatch(), wasn't working [17:22:45] Aww, 1.11 didn't get released. [17:23:05] !mwbot [17:23:05] Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. There's not much documentation on me, but you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [17:23:20] hi, is there a mediawiki forum where one can ask some questions? =) [17:23:37] I said on the weekend that releases wait for no man [17:23:50] so brion has proved me wrong [17:24:10] Quakeile: mwusers.com [17:24:32] here is fine too [17:24:41] TimStarling: heh [17:24:45] despite not being a forum in the technical sense [17:24:57] <_mary_kate_> it is a forum in the english sense ;-) [17:25:07] :D [17:26:53] jamasi: what? [17:27:15] I see ami's bot hasn't been kicked out yet. [17:27:45] I've taken a look at your SpecialIRC extension and I dislike the need to place a file in includes/ [17:27:58] is it a good forum MinuteElectron? [17:28:08] is this neccessary for compatibility with older MW versions? [17:28:23] all versions [17:29:05] Quakeile: Supposedly, unofficial though. The wiki , here, and the mailing list are probably better since key developers and other major users hang around there. [17:29:39] That was me following the wiki tutorial on how to create a SpecialPage extension [17:29:42] I've been bale to register the specialpage when it's contained in extensions (but only tested on MW 1.10) [17:30:21] g2g my internet session is over [17:30:35] Hello. My question: can I tell MediaWiki to not display underscores in articles as spaces, but just as underscores? [17:30:46] I just had a look at the specialpage tutorial and it has been updated not to require you to place any file into include/ [17:31:29] (and based on the updated tutorial I included an .i18n.php, too.) [17:32:23] I put a question about where to find a sandbox-script on mwusers.com 3 months ago, no answer =/ [17:33:32] As I just found your newer version of the extension I'll try to merge it in. And give you link to it so you can try it and maybe update your code. [17:35:19] another addition might be the use of a parameter for which channel to join. [17:35:22] *qsheets has it running on an extension test site(running MW 1.6.10)... http://mwtesting.gotdns.com [17:38:38] If you don't mind I'll try to do some enhancements (testing against 1.10) and then you could check/fix if it's still working on 1.6, OK? [17:39:36] *qsheets is running both 1.6.10 and 1.10.1 [17:40:07] I have more than one website on my server [17:44:14] are you planing on inclusion into mainline? because patching MW is not that user friendly. [17:45:38] (I understand what that patch is for, but still it's not something which is nice from an administrators pov) [17:46:45] where can I find a sandbox script or any other information about the sandbox? [17:47:31] jamasi: what makes you think so? [17:48:38] think of upgrading from one MW version to another. with the patches you've got another thing to forget in the process. [17:49:47] *qsheets is no where close to being a person who can write a good php file w/o looking at tutorials or examples [17:50:04] it's a matter of maintainability. [17:50:21] and I personally think that most wiki admins are more capable than I am [17:51:13] me neither, but I'll try if I can enhance your extension a little [17:51:59] I suppose you can do the nick-storing thin without any DB hack or patch to MW [17:52:27] anyways if they were to forget the patch by mistake when upgrading users will only be able to use their current IRC nicks [17:52:30] (I think about using User:username/Ircnick to store it) [17:53:14] good luck calling that into the extension [17:53:44] this will cause a DB lookup, but you don't refresh the IRCApplet that often. [17:53:53] evening [17:54:02] 03(mod) Special: Wantedcategories contains items which should not be there - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10667 (10brion) [17:54:22] qsheets, I'll contact you when I'm done. [17:54:26] k [18:00:31] qsheets, one more question: am I right that IRC_Chat/Freenode and IRC_Chat/Local only differ in server settings? [18:01:42] It's wheter you installed PJIRC or not [18:01:54] s/wheter/whether [18:07:45] Can someone explain to me in a little more detail the difference betwee maintenance/deleteOldRevisions.php and maintenance/deleteRevisions.php? [18:09:29] deleteOldRevisions deletes old revisions [18:09:35] deleteRevisions deletes the revisions you tell it to [18:11:30] so, for spam protection, one of our guys came up with an interesting solution [18:11:31] how easy is it to get MW:Inputbox to append the namespace into the "create article" function [18:12:02] and and also, leave the name of that article in the page where the form is located [18:12:11] http://wiki.armagetronad.net/index.php?title=Working_with_SVN <--- click "edit" to see the spam protection [18:12:15] the company wants an "ideabank" >\ [18:12:19] :\ [18:12:30] it's basically a prompt after you click edit that makes you click another link, which is a bit trivial to do [18:12:41] it's eliminated all spam from our wiki for now [18:13:26] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [18:14:03] anyone have suggestions?> [18:14:10] Lucifer_arma, if it goes mainline spammers will adept [18:14:34] Can I tell MediaWiki to not display underscores in articles as spaces, but just as underscores? [18:17:33] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 (10Simetrical+wikibugs) [18:20:43] 03(mod) Create system message MediaWiki:Sysop.js - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10666 (10Simetrical+wikibugs) [18:22:43] jamasi: yes, indeedy. And it's a trivial hack, so I'm suggesting it to anybody interested in doing it. :) It's probably not worth going mainline with it because it's so trivial, spammers would adapt as soon as they see it [18:23:56] for the fun of it I'd replace the link with a hammertime stopsign ;) [18:24:53] heh [18:25:00] 03(mod) Install DynamicPageList on Dutch Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6163 (10Simetrical+wikibugs) [18:25:24] well, that was it, see y'all later [18:26:18] TimStarling: tables.sql and updater have different sizes for img_sha1 and oi_sha1 fields [18:26:26] (31 in updater, 32 in tables.sql) [18:27:06] it doesn't really matter, but 32 is probably better [18:27:51] just in case some code tries to put a leading zero in [18:28:05] currently I'm not aware of any such code, but it's no extra storage space to make it 32 [18:28:27] heh [18:28:28] 03(mod) Detect and notify user of extremely low (probably accidental) POST limits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10668 normal->15enhancement; summary; +comment (10Simetrical+wikibugs) [18:29:01] is there wiki moders here? [18:29:24] committed [18:29:36] 03tstarling * r24339 10/trunk/phase3/maintenance/archives/patch-img_sha1.sql: 32 width [18:29:55] looks like I'll need help modding mediawiki inputbox mod to do what I need it to do [18:30:26] woot [18:31:02] brion-office, is it really noticeably more expensive to pass a single User object than a text string, given that only one call of the function will be on the stack at once? [18:31:12] It's not even necessarily initialized, and it's passed by reference. [18:31:42] 03(mod) Create system message MediaWiki:Sysop.js - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10666 (10innocentkiller) [18:32:03] Simetrical: one once? or several hundred of them you have to build and throw away? [18:32:50] The constructor consists of initializing two variables. Shall I benchmark? [18:32:56] sure :) [18:34:50] is this channel moderated, or am I just getting ignored? [18:37:43] just ignored :) [18:37:49] jason__, the channel isn't moderated. Look at the mode: +n. [18:38:11] crap, was hoping that I wasn't shunned [18:38:12] You could try asking more specific questions, as they arise, kind of thing. [18:38:55] ok, i'll start from the beginning and hope for the best [18:39:33] end from the end [18:39:44] My company is trying to start an ideabank wiki and currently we have articles created to reflect a specific category people can post ideas on [18:39:59] for example, "Charity" is one of these categories [18:40:28] brion-office, okay, I'll grant, it takes about twice as long to do the User objects. [18:40:29] *Simetrical frowns [18:40:46] but also, there is plan to expand the wiki to other resources, not just ideabank, so I want to exploit the use of namespaces for ideabank ideas [18:40:56] For 500 iterations, it's 0.7 s for the objects, 0.4 for the strings. [18:41:12] *Simetrical tweaks the setup to be a bit more realistic [18:41:20] Oh, wait. [18:41:26] D'oh. I was calling getID(). [18:41:30] one of the things I'm looking at and discovered is the mediawiki inputbox extension, but I'll need it tweaked in a way more usable for us [18:41:53] O_O [18:41:59] .7 seconds? christ [18:41:59] Hah, there: Time for User object: 0.453054904938, Time for other way: 0.416286945343 [18:42:03] That's for 500. [18:42:11] Calls of userToolLinks. [18:42:14] that's absurdly slow to begin with :D [18:42:28] for example, I want to create a "create new idea" form on the "Charity" page which will not only prefix "idea:" in the article name (for the name space) but put the article name the "Charity" article itself [18:42:32] However, there's no noticeable difference provided you don't actually have to initialize the object. [18:42:34] is that doing existence checks for user and talk pages? [18:42:38] No. [18:42:41] Er, maybe. [18:42:41] i'm not much of a programmer, and was wondering how difficult this could be? [18:42:42] Hmm. [18:42:46] Yeah, I suppose it must be. [18:42:48] miserably slow if it's not :D [18:42:59] No, it has to be. [18:43:09] (hopefully page existence is cached?) [18:43:23] well, it should be doing batch lookups i'd say.... [18:43:32] Maybe it is, I dunno. [18:43:37] Anyway, I've demonstrated it's not any slower if it's not initialized, so can I reopen my bug and possibly commit? [18:43:41] *Simetrical goes AFK [18:43:47] TimStarling: any opinion on ar_page field that voa added? [18:44:10] Simetrical: if it's a clean load, ok [18:44:16] *jason__ guesses his question is too hard to follow :( [18:44:30] jason__: the answer is "try it and find out" i think :) [18:44:52] except I don't know how to modify this extension, i'm not a programmer :o [18:45:08] well, what i can tell you is the code for the inputbox extension is crappy ;) [18:45:12] but it doesn't sound particularly hard [18:45:17] <^demon> jason__: If you're sorting different ideas by category, the "Add Article to Category" extension might better suit your needs. [18:46:14] ^demon: I guess we're trying to nubify the wiki as much as possible since we have some clueless users [18:48:12] specially if you have to tell them to put "idea:" in front of the article name you want to create ;) [18:48:21] <^demon> Then "Add Article to Category" is good for you. It's what we did internally for one of our wikis. We set different categories for different departments, put a category listing on the homepage, then added the "add article to category" extension. [18:48:21] and it really sucks that the "namespaces=" feature in mediawiki inputbox only supports search [18:48:21] <^demon> Categories worked better than namespaces. [18:48:21] <^demon> I thought about namespaces, but categories worked just fine. [18:48:21] even though there is plans to expand the wiki into other functions [18:48:21] ie projects, meeting minutes, etc. [18:48:21] *^demon shrugs [18:49:11] yeah, i'm just having a fun time with people coming from "whats a wiki" to nose dive "get this thing running" [18:50:28] Then you must be able to tell me if I can tell MediaWiki to not display underscores in articlenames as spaces when linking. [18:54:54] howdy .. we are working on developing a simple flash wysiwig for mediawiki, and I was wondering if anyone can point me to any info on what i need to know for implementing that into the wiki system [19:04:22] how can I allow integrate raw HTML A elements on a wiki page? (I'm admin/sysop) [19:04:41] I need it for design: http://www.tiddlywiki.org/tmp/panelPortal.html [19:05:54] Ace_NoOne: $wgRawHtml = true; in LocalSettings.php [19:06:05] ialexandre: yeah, but that might cause problems [19:06:45] hmm ... http://www.mediawiki.org/wiki/Extension:SecureHTML might be what I'm after [19:08:23] hi, one quick question, how can I find out the version of mediawiki i'm running? I didn't install it in case you wonder that, it was already here when I started t this job :) [19:08:50] hi guys ;-) [19:08:56] kwame: there is a special pages for version [19:09:03] kwame: [[special:version]] [19:09:44] ahhhhh wtf [19:09:51] uh-oh [19:09:55] i've got parsertests failing with a bogus 'image' table somehow [19:10:00] this makes no sense........ [19:10:12] brion b0rked the MediaWiki [19:10:23] Seid gegrüßt [19:10:47] Ace_NoOne: thanks man, I'm running MediaWiki: 1.8.2, am I too old ? [19:11:00] kwame: dunno, I'm 24 [19:11:08] Jemand aus Deutschland hier, der mir bei einem Skin Problem helfen kann? [19:11:15] der^Waechter: eventuell... [19:11:24] kwame: you should update to 1.10.1 if possible [19:11:33] @Ace darf ich dich anqueryn? [19:11:43] yup [19:11:47] kwame: http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki [19:12:57] Ace_NoOne: :) one more question, is there an relative easy way on getting an wysiwyg editor in mediawiki? [19:13:12] kwame: well ... I haven't done that myself [19:13:20] but there are drawbacks to using WYSIWYG [19:13:52] kwame: http://meta.wikimedia.org/wiki/WYSIWYG [19:13:55] exit [19:13:57] exit [19:14:15] *brion-office slaps self [19:14:19] shared image repository :P [19:14:37] Ace_NoOne: like what drawbacks? [19:14:46] lol brion [19:14:54] kwame: we are actually in the process of attempting to develop a flash wysiwig [19:15:03] axman_: who is "we"? [19:15:15] kwame: read that page on Meta I linked you to [19:15:21] axman_: flash wysiwyg? jeez [19:15:23] Ace_NoOne: A few of us at the Univesity of Wisconsin - Whitewater [19:15:50] axman_: cool! using raw HTML or wiki markup [19:15:58] 03(NEW) Searching for multiple imageinfos working incorrectly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10670 minor; normal; MediaWiki: API; (rob.tandy) [19:17:08] 10Ace_NoOne:01 I think our current goal is to maybe have a tab for wiki markup, and then also allow raw HTML .. we are still thinking abuot the best and simpliest way to make it [19:17:40] *Nikerabbit stabs trillian developers [19:17:53] 14(DUP) Searching for multiple imageinfos working incorrectly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10670 +comment (10brion) [19:17:55] 03(mod) imageinfo is not cleared for each page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10662 +comment (10brion) [19:18:02] *axman_ wonders if Nikerabbit is using Astra ... [19:18:26] 14(INVALID) Support wikitext as language to highlight - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10669 +comment (10Simetrical+wikibugs) [19:18:33] *Simetrical thinks an UPSTREAM closure reason would be nice [19:18:38] axman_: where can I subscribe to a newsletter or feed [19:18:46] "INVALID" makes it sound like there's no issue to speak of. [19:18:54] And "WONTFIX" implies we think it's a bad feature. [19:19:27] 16 previously passing test(s) now FAILING! :( [19:19:30] hmmm that's not good [19:19:34] Ace_NoOne: in regards to the wysiwig? we currently don't have anything public/published about what we are trying to do. [19:19:53] axman_: it's the only client that manages to mess up with colors so badly [19:19:56] axman_: well, I don't wanna miss a release... [19:20:55] Nikerabbit: yeah, trillian has issues both on the irc and jabber fronts .. at least they are rewriting the jabber plugin from the ground up in Astra, not sure on irc [19:20:57] 03(mod) Special: Wantedcategories contains items which should not be there - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10667 (10Simetrical+wikibugs) [19:21:39] axman_: I assume you are aware of all the drawbacks of current WYSIWYG solutions? [19:21:54] <_DannyB|backup> brion-office: thanks for cleanup [19:22:03] enjoy [19:22:50] Ace_NoOne: once we get a product, we will share it and alert the mailing list and so forth [19:23:04] axman_: very good :) ETA? months, years? [19:23:08] Ace_NoOne: What are the current drawbacks? i've been googling aroudn trying to collect information [19:23:28] we are shooting for months :), but we all know how that goes [19:23:36] axman_: IIRC, FCKeditor stores raw HTML (making it non-reversible) [19:23:42] not sure about the rest [19:23:51] http://meta.wikimedia.org/wiki/WYSIWYG [19:25:02] what is the desired output format? [19:25:15] 03(mod) Create system message MediaWiki:Sysop.js - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10666 (10Simetrical+wikibugs) [19:27:26] axman_: wiki code, of course [19:27:31] as entered [19:27:34] by the user [19:28:44] I've got a script spitting out some text i'd like included on an article page, any ideas? [19:30:03] alxndr: sense please? [19:30:55] I want the output of this perl script included in my Main Page. output can be piped to a file or something and then the file included. [19:30:59] and a couple hundred more mediawikis on the net .. http://scribblewiki.com/main.php & http://www.wik.is/?page=directory [19:36:24] Ouch. [19:36:25] Hmm. [19:36:37] brion-office, I just realized my benchmarks were totally bogus, because I was using my modified local copy. [19:37:08] Well, not *totally* bogus, but they slowed down both quite a bit. [19:37:20] *Simetrical tests some more [19:40:07] 03simetrical * r24340 10/trunk/phase3/includes/User.php: Optimize User::getID() for special cases, and User::isLoggedIn() generally (the latter seems to have always required a database query in the past, when in fact it never should). [19:41:31] (well, maybe if generated from a session or something) [19:42:46] i should probably just rewrite this thing in PHP and make it an extension, huh... [19:54:48] 04(REOPENED) Linker::userToolLinks and friends should not require a user ID - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 +comment (10Simetrical+wikibugs) [19:54:56] 03(mod) Linker::userToolLinks and friends should not require a user ID - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 (10Simetrical+wikibugs) [20:01:51] getting a PHP 5.0.0 or higher is required. ABORTING. error when php 5.0 IS installed and configured on my server [20:06:43] jamasi: done yet? [20:30:23] almost [20:30:23] any way to wrap a [[www.hyperlinks.org|link]] around multi-line contents? [20:30:23] Put in
    . [20:30:24] You can't stretch a link over multiple paragraphs, it's invalid HTML. [20:30:24] Which I've always found to be completely retarded, but there you have it. [20:30:24] hi [20:30:24] Of course, CSS is set up for that horrible inline/block dichotomy. The default HTML4 stylesheet avoids declaring any display property for del and ins. [20:30:26] *Simetrical snarls under his breath [20:30:26] Simetrical: http://www.tiddlywiki.org/tmp/panelPortal.html [20:30:26] I have to use A elements there, even if it's invalud [20:30:26] *invalid [20:30:26] No you don't. [20:30:36] because of IE!? [20:30:36] You could use them inline in the HTML and then set them display: block. [20:30:36] That's what we do for content-action tabs, for instance. [20:30:36] It's just retarded that you have to do that. [20:30:36] Simetrical: not sure I follow [20:30:37] At least semantically. In terms of layout it's a reasonable restriction. [20:30:37] Ace_NoOne, consider that link you gave me. [20:30:37] qsheets, I'm testing it atm [20:30:37] You have:

    ...

    ...

    . [20:30:37] Hmm. [20:30:37] Actually . . . yeah, I guess you either have to do that or make it non-semantic. [20:30:37] *Simetrical frowns [20:30:37] kk [20:30:37] You could do something like , but that's awful. [20:30:37] 03(NEW) Mailing list for nds Wikinews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10671 15enhancement; normal; Wikimedia: Mailing lists; (wiki) [20:30:37] Oh, no, I know. would work, with appropriate styles. [20:30:46] Simetrical: then the rollover won't work properly [20:30:46] Which rollover? [20:30:46] Oh, that. [20:30:46] Why not? [20:30:46] Hello, our wiki server has just has its ip address changed (it has been moved to a different subnet) but now connecting gives a database error (see http://m3toolbox-gforge.coms.ua.ac.be/index.php/Main_Page) [20:30:46] Oh, just put the ID on the div. [20:30:46] Or whatever. [20:30:50] I googled and checked the mediawiki page and it is a known error but I found no fixes [20:30:50] Simetrical: :hover only works for A in IE [20:30:50] dgorissen, try running TRUNCATE wiki__objectcache. [20:30:50] disclaimer: i did not setup the system [20:30:50] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10l8qjvx002) [20:30:50] Ace_NoOne: in a mysql prompt? [20:30:50] Ace_NoOne, oh, you're using :hover for that? Hmm. Well, no, that couldn't really be done without that. You could just use a JS workaround for IE. [20:30:51] dgorissen, yes, assuming you're in the appropriate database. [20:30:51] Simetrical: putting JS on a wiki page is a pain... [20:30:51] Ace_NoOne, so is putting a non-inline , isn't it? :) [20:30:51] Simetrical: not if I use raw HTML :P [20:30:51] but I was hoping to avaoid that [20:30:51] *avoid [20:30:51] If you use raw HTML you can use onmouseover and onmouseout if you want. [20:30:51] I assume, anyway. [20:30:52] Besides, it's no harder to use CSS than JS if you're going to put it in a proper stylesheet. [20:30:52] AceNoOne: now I can at least see the wiki, but I get the same error when saving an edit [20:30:52] dgorissen: why are you talking to me? Simetrical is your helper [20:30:52] Simetrical: I don't follow... [20:30:52] sorry, my bad [20:30:52] dgorissen, could you post the exact error somewhere? [20:30:52] Ace_NoOne, well, whatever, you have the answer as to what works and what doesn't. What to use is up to you. [20:30:52] Simetrical: sure, hang on [20:30:53] Simetrical: I guess I'll go for http://www.mediawiki.org/wiki/Extension:SecureHTML (enables raw HTML within protected pages) [20:30:53] Simetrical: I posted the error I get on saving an edit here: http://azungu.dyndns.org/error.html [20:30:53] 03(mod) Token to suppress table of contents autonumbering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4127 (10Platonides) [20:37:44] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 -need-review -patch ; +comment (10Simetrical+wikibugs) [20:37:51] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10Simetrical+wikibugs) [20:38:00] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10Simetrical+wikibugs) [20:47:12] Simetrical: can you access the page? sorry to bug you if now is not a good time I i can come back tomorrow [20:47:24] Sorry, I missed that. [20:48:01] There's something wrong with the warnings. They shouldn't be occurring. Have you modified the software at all? [20:48:41] You might try just reinstalling the software with your database in place, so it will just generate a new LocalSettings.php. [20:48:51] Then you can add any customizations to the end of that. [20:50:08] Simetrical: nothing was modified as far as I know, a few basic settings and added some spam protection, everthing was running fine until we changed the IP address of the server [20:50:33] Try recopying the files from MediaWiki over your existing ones. It sounds like there's an error somewhere. [20:51:15] And as I say, move LocalSettings.php to a new name and rerun config/index.php and copy any modifications. [20:51:27] Some of the variables in your current LocalSettings might be wrong for your new server, I guess. [20:51:59] brion-office, why do we use INSERT instead of REPLACE for objectcache? [20:52:21] Simetrical: nb: the server is still the same, we only moved the PC to a different room (different subnet), besides the IP address nothing was changed [20:52:31] Ah. [20:52:39] how can I make an image link to a url? [20:52:44] Well, it's worth trying. Clearly something is wrong, and I doubt it's in the database, so reinstall the software. [20:53:02] sanmarcos, you can't in the current software. The ImageMap extension allows this, and more, in a sort of roundabout way. [20:53:23] is it builtin? [20:53:41] sanmarcos, no, it's an extension, as I said. [20:54:03] how is such a simple feature overlooked? [20:55:38] sanmarcos, for a long time there was reluctance to include it because of sourcing/maintenance issues. It was desired that clicking on the image should always bring you to its image page, including things like copyright info and buttons to overwrite it, etc. [20:56:12] Eventually we more or less caved to popular demand, but it's still not in core. Nobody's bothered adding it. [20:57:10] Simetrical, I expect it done by tomorrow, get to work [20:58:13] sanmarcos, actually I just saw this edit now when looking at my watchlist: http://en.wikipedia.org/w/index.php?title=Wikipedia:Wikipedia_Signpost&diff=146566670&oldid=146397594 [20:58:14] :) [20:59:00] Simetrical, huh? [20:59:12] Huh what? [20:59:29] what is that [20:59:53] I just linked to a diff. Someone changed a page to remove on the grounds that the image needed to be clickable for source info. [21:00:03] listen, I am not editing wikipedia [21:00:12] I dont need my image to link to my image page, I need to link to an extrenal url [21:00:27] Oh, wait. [21:00:33] No, that's not possible at all. [21:00:37] That I know of. [21:00:45] You'd have to enable raw HTML or something. [21:01:01] It wouldnt be that hard [21:01:05] [url [[Image]]] [21:01:10] You haven't seen our parser. [21:01:22] I know its PHP, thats enough... [21:01:25] Heh, right. [21:02:05] Did you know it's 4898 lines and for most part has undefined behavior? [21:02:18] no, but as long as it works [21:02:25] It could be easy to add, but I'm not going to figure out how to do it, personally. [21:02:27] I couldnt care, I am not the one coding it, and it seems to work pretty well [21:02:37] Oh, you have an extension to do it? Or a hack, whatever? [21:02:46] no, I just wont do it, screw it [21:02:50] *Simetrical shrugs [21:02:53] I am going to drink a mojito [21:03:23] all in all, its still pretty decent software [21:03:47] Simetrical: because the objectcache code is old and crappy and contains premature generalization and is generally kind of lame [21:03:50] the editing toolbar is pretty basic, and doing skins is a pain (no templating engine), but hey, thats life [21:04:01] Hi , can someone point me out on more docs on how to use page_restrictions table ? [21:04:03] or should I say PHP!!! [21:04:06] MWHAHAHA!! [21:04:13] marco, what do you mean "how to use" it? [21:04:49] Simetrical: I re-ran config/index.php and now the warnings are indeed gone (with a clean localsettings) but I still get the database error on a save page (see http://azungu.dyndns.org/error.html) [21:05:12] *Simetrical frowns [21:05:13] ... I would like to give, programatically, access rights ( to groups ) to particular pages [21:05:31] is there a way to edit waht it says on the upload page, or the edit page? [21:06:02] said that, I'm interested in understanding how that table works & what are the values for read/edit [21:06:06] dgorissen, what version of MW are you using? Maybe you should copy the latest version over your existing files? [21:06:19] sanmarcos, Look at the page Special:Allmessages. [21:06:27] Simetrical: (nb. however the edit *seems* to have gone though regardless or the error) [21:07:01] marco, you generally shouldn't be directly modifying the table. Use the ordinary protection interface and options. [21:07:54] marco, you might want to look at things like $wgRestrictionLevels and $wgRestrictionTypes. [21:07:57] Simetrical: version 1.8.4 I believe (I didnt setup this gentoo server and have no prior experience with gento) [21:08:01] qsheets, I'm done: http://www.jamasi.kilu.de/piratentestwiki/extensions/IRC.tar.gz [21:08:31] kk, tnxs for the hint . googling .... [21:08:57] no one should be installing 1.8.4 these days [21:09:01] install 1.10.1 please [21:09:12] jamasi: can i view it first? [21:09:14] dgorissen, it might be a good idea to upgrade, on general principle. You should get the latest version from www.mediawiki.org, untar it into your installation directory, and run "php maintenance/update.php" from the shell. [21:09:21] Simetrical: I guess updating would be best indeed, I will have to figure out how to do this tomorrow [21:09:27] It's working with MW 1.10. I suppose for MW 1.6 there has to be another way to register the specialpage, but it schould not be that difficult to get this working, too. [21:10:13] ups, sorry forgot to uncomment a thing... [21:10:27] Simetrical: the current version was installed through the gentoo package system, I guess it should be safer to upgrade using that system, no? [21:11:11] dgorissen, we don't recommend the use of package systems for us, because they tend to be horribly outdated. Plus, MW is easy to install manually. [21:11:38] You just need to subscribe to the mediawiki-announce list to be told of new releases, which are rare (once every couple of months typically). [21:11:55] And then untar them into your install directory and run maintenance/update.php. [21:12:30] qsheets, http://www.jamasi.kilu.de/piratentestwiki/index.php/Spezial:SpecialIRC or http://www.jamasi.kilu.de/piratentestwiki/index.php/Spezial:SpecialIRC/flood if you want to join #flood [21:12:32] Simetrical: that was my idea as well :) ok, I will untar the new version into my current installation directory and run the update script [21:12:44] Gentoo is semi-up-to-date, though, you could just update through them. [21:12:52] They have 1.10.0, and 1.10.1 doesn't include anything too important. [21:12:54] I will try that first, thanks [21:14:00] qsheets, now the applet will try to use your nickname (or ip) from the wiki first and if User:Nickname/IrcNick exists then it will use this. [21:14:43] most settings are now configurable via MediaWiki:IrcFooBar [21:14:52] jamasi: it's now taking soo long to load [21:15:17] 03jeluf * r24341 10/trunk/extensions/geoserver/geoserver.psql: Small fix to make migrating to other DBs easier [21:15:24] that schould only be for the first time. [21:15:44] (it's a new domain for your browser so it has to get the code again) [21:16:02] jamasi: it's been loading for 3 min [21:16:10] currently I've set it to use freenode as default [21:16:14] and i have broadband [21:16:44] then it's one of your new settings [21:17:10] *qsheets sobs as java dies [21:17:40] have a look at the source of the page perhapps one can spot the error. [21:17:55] Simetrical: hmmm [21:17:57] + } elseif( $this->mId === null ) { [21:17:57] + // Don't load if this was initialized from an ID [21:17:57] ? [21:18:30] ah [21:18:33] brion-office, if it was initialized from an ID (or, irrelevantly, if it's already loaded), $this->mId will be set, so it can be immediately returned. [21:18:33] never mind, i see [21:18:53] I should have said "created from an ID (or already loaded)" or sth. [21:20:19] jamasi: Error: The stylesheet http://e404.kilu.de/ was not loaded because its MIME type, "text/html", is not "text/css". [21:20:21] How to make all files go to another newspace [21:20:30] namespace [21:20:48] qsheets, well, that's unrelated to the IRC applet [21:21:03] that was firefox error [21:22:27] No one knows? [21:28:27] lleoliveirabr: dtabase edit [21:28:35] *database [21:28:36] how can i set my mediawiki to require a login to view/edit any wiki pages? [21:28:46] wow [21:28:48] LocalSettings.php [21:28:49] No other way? [21:28:58] not that I know of [21:30:33] bmk789: copy the user settings from includes/DefaultSettings.php to LocalSettings.php and edit them to your needs [21:32:10] 03(NEW) Make Linker:: doEditSectionLink protected instead of private - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10672 15enhancement; normal; MediaWiki: Page editing; (seventowers) [21:33:17] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10l8qjvx002) [21:33:36] jamasi: I just thought of something...storing the IRC nick in the database is more secure... other users cant change it [21:34:01] i have the localsettings.php but i cant find what to edit to require a login to access the wiki [21:34:04] well a nickname is not that vital [21:36:00] and the user can always reclaim it (and if sb is really concerned about this then the wiki admin can install this extension: http://www.mediawiki.org/wiki/Extension:KeepYourHandsToYourself) [21:37:18] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10l8qjvx002) [21:37:29] qsheets, did the applet load in a secound try? [21:38:01] bmk789: copy line 943-1026 of includes/DefaultSettings.php to LocalSettings.ph [21:38:19] **LocalSettings.php [21:38:29] jamasi: no [21:38:36] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10Simetrical+wikibugs) [21:39:44] jamasi: nym...java was hiding behind firefox long enough for it to lock up [21:39:52] s/nym/nvm [21:40:00] ahh the security notice.. [21:40:17] 03simetrical * r24342 10/trunk/phase3/includes/Linker.php: (bug 10672) Make Linker::doEditSectionLink protected, not private [21:40:33] 03(FIXED) Make Linker::doEditSectionLink protected instead of private - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10672 +comment (10Simetrical+wikibugs) [21:40:44] jamasi: [21:40:54] *qsheets is guessing your on Windows [21:41:08] no I'm on linux [21:42:07] *qsheets got nice little pjirc error like he did when his was on windows [21:42:12] qsheets: working just as i wanted, thanks [21:42:51] yup [21:45:04] qsheets, have a look at the code. I changed quite a lot. [21:45:44] mostly to comply with http://www.mediawiki.org/wiki/Writing_a_new_special_page [21:57:03] if I'm running on a Windows box how do I execute the maintenance scripts? [22:03:10] qsheets, I'll try to code 1.6 registrationcode from the docs. so you can test/debug this later. [22:05:38] or do we drop support for MW< 1.7? [22:06:42] because in my opinion the code is now good enough to go into MediaWiki SVN [22:28:28] hello. tables.sql is actually missing the new ar_page field [22:30:07] not surprising [22:30:29] sorry, that's unfair [22:31:59] How would I go about cleaning out all of the old revisions and deleted articles? [22:32:37] 03(mod) Linebreaks are mishandled in
    and
  • - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6200 (10l8qjvx002) [22:32:51] Plasma86: try cygwin [22:34:45] I'm guessing that you're recommending trying that to run maintenance scripts? [22:34:56] Maintenance scripts should work on Windows. [22:35:03] I don't know what Cygwin has to do with anything. [22:35:07] *Simetrical raises an eyebrow at qsheets [22:35:34] jamasi: if anything I'd call your version 1.10a [22:35:34] s/1.10a/1.1.0a [22:36:02] *qsheets didn't look at files [22:36:22] as it's almost a complete rewrite I think a new minor version is justified. [22:36:41] Simetrical: all i know is Cygwin does linux commands in Windows [22:37:00] Yes, but MW is cross-platform . . . [22:37:12] true... [22:37:16] and it's way to interface with the user is changed, too, so a versionbump is needed imho. [22:37:41] *qsheets still doesn't really like it [22:38:05] 03tstarling * r24343 10/trunk/phase3/maintenance/tables.sql: Added ar_page [22:38:25] 03tstarling * r24344 10/trunk/phase3/maintenance/archives/patch-archive-ar_page.sql: fixed comment [22:38:26] anaconda: there you go [22:38:27] My goal is to basically setup a copy of MW to function almost like Wikipedia does, however I can't use the Linux box I have to host it [22:38:42] since it will eventually be used for work and we have nothing but Windows servers [22:38:43] thx [22:39:12] qsheets, well if you're keen on your version we can fork of course. [22:39:49] my version will soon feature more [22:40:14] and is able to be intertwined with other aspects of MW [22:40:19] well then I suppose it's best to fork and inspire each other occasionally ;) [22:40:29] lol [22:40:31] yup [22:41:03] just like Beryl and Compiz once did [22:41:48] *qsheets = Compiz and jamasi = Beryl (sorta) [22:42:54] as I did nottry any of those, yet, I cannot comment on this mapping ;) [22:43:12] lol [22:43:15] Why isn't diff an action?!?!?! [22:43:25] why is it just diff=foo and not action=history or action=diff or something? [22:43:36] davidmccabe: diff function = patch [22:43:50] NVM [22:43:58] huh? [22:44:29] nevermind [22:44:40] i didn't read second post [22:45:41] idno [22:46:44] davidmccabe, I dunno, redundant? [22:46:46] Ah, history. [22:47:20] "we'll base all dispatching on 'action'... except this one thing..." [22:47:30] :) [22:47:38] :D [22:54:48] <}{obbes> I'm wanting to import the template http://en.wikipedia.org/wiki/Template:Quotation to my own MediaWiki installation, but it obviously doesn't understand the {{#if... syntax (nor do I). How do I go about changing that? [22:58:40] Which file stores the parsing progress of the posts? [23:00:11] Or articles. [23:00:32] " parsing progress"? [23:00:36] Yeah. [23:00:52] Turning ''<>'' into <> [23:00:53] }{obbes, you need to install the "ParserFunctions" extention to use those [23:00:54] And so forth. [23:01:00] }{obbes: install parserfunctions [23:01:02] <}{obbes> Oh. [23:01:09] <}{obbes> Thank you. [23:01:27] svip: the parser. in Parser.php. [23:01:38] svip: what does that have to do with "progress"? [23:06:36] svip, if you want to intercept parsing you have to register a parserhook (like explained in the extension manual) [23:06:43] :< Nah. [23:06:47] I just want to copy some of it. [23:06:51] <}{obbes> Worked as a charm. Thank you :) [23:08:52] <_DannyB|backup> where is page length stored? [23:11:05] _DannyB|backup: in the revision table [23:11:14] i think... [23:12:11] rev_len [23:12:23] <_DannyB|backup> thx [23:12:59] <_DannyB|backup> and it is the length of entire source, right? including iw links, cat links etc.? [23:13:09] sure [23:13:33] it's simply a string. the database doesn't care about the structure at that point [23:13:37] <_DannyB|backup> plus it's in bytes iirc not chars (just making myself sure) [23:13:37] strlen( $pagetext ) [23:13:49] yea, would be bytes [23:14:05] <_DannyB|backup> any chance to make it in chars in future? [23:14:18] unlikely [23:14:49] <_DannyB|backup> because eg chinese shows 3-5 times higher values [23:15:20] maybe an additional field... but it would probably cost... decoding utf-8 isn't trivial. [23:16:27] It's trivial to do so on page save. [23:16:32] <_DannyB|backup> right [23:16:36] Just Brion doesn't like all these crazy foreign alphabets. [23:16:45] And also, he points out, just counting characters doesn't get you much. [23:16:54] You still count diacritics and various control characters. [23:17:14] <_DannyB|backup> but chars are more descriptive than bytes [23:17:23] I agree, Brion doesn't. :P [23:17:26] <_DannyB|backup> yep another column would solve it [23:17:38] Just change the existing one. [23:17:44] <_DannyB|backup> or... [23:18:00] <_DannyB|backup> but i guess both sizes are interesting [23:18:06] Not enough to store two columns. [23:19:22] <_DannyB|backup> ok then [23:20:02] <_DannyB|backup> you guys are masters of db... ;-) [23:26:59] Simetrical: i thin size in bytes would be the measure you need for all kinds of internal operations, while size in chars would be for statistics and display. [23:27:11] though i'm not sure what the byte-size is currently actually being used for [23:27:19] Nothing except display, that I know of. [23:27:34] You can always SELECT LEN(text) or whatever the function and field names are. [23:27:51] That's not particularly slow unless you want to sort by it or whatnot. [23:28:09] hm, well then... but it's still dangerous to simply change the meaning of an existing field. might break extensions, toolserver tools, etc [23:28:09] Actually, hmm, do Longestpages and Shortestpages even use rev_len? [23:28:17] *Simetrical shrugs [23:28:29] Two nearly-identical fields strikes me as excessive. [23:29:15] <_DannyB|backup> Simetrical: well, in chinese they are definitely not _nearly_ identical ;-) [23:29:41] <_DannyB|backup> as well as in other non latin alphabet langs [23:30:32] <_DannyB|backup> therefore byte lengths can't be taken even as orientative length [23:30:47] _DannyB|backup, they're nearly identical in that you get one from the other (approximately) by multiplying by some X. [23:30:57] That is, nearly identical for logical purposes, although not actually necessarily close. [23:31:59] <_DannyB|backup> i wonder if i should put this in bugzilla or if it is already there [23:32:19] If it is, it's been WONTFIXed. [23:32:24] As I say, I agree with you, but Brion doesn't. [23:32:28] He's vetoed it. [23:32:34] <_DannyB|backup> oh, did he? [23:32:45] Yes. [23:32:45] <_DannyB|backup> that's bad [23:32:56] He's lead developer, y'know. Thus the significance of his opposing it. [23:33:44] <_DannyB|backup> maybe if i knew reasons... but "i don't like foreign alphabets" doesn't sound like a reason for me :-/ [23:34:27] I dunno, ask him. [23:34:40] <_DannyB|backup> i definitelly will [23:37:13] <_DannyB|backup> speaking about bytes/chars difference - any chance to have summary/comment/reason field longer than 200B? [23:37:39] Ah, now that actually has some reason behind it. [23:37:53] The longest field length possible for VARCHAR in MySQL 4 is 255 bytes. [23:38:08] It would have to be made MEDIUMTEXT to allow anything longer. [23:38:09] 03david * r24345 10/branches/liquidthreads/ (4 files in 3 dirs): Headers work in old way, but now correctly. showPostBody doesn't crash with non-existant articles. [23:38:40] I think Citizendium actually did that. [23:39:06] At least I saw a super-long edit summary when I looked at it once. [23:39:34] Personally I think 255 bytes is too short anyway, I constantly want more than that to explain myself. MEDIUMTEXT would be awesome. :D [23:42:07] 03david * r24346 10/branches/liquidthreads/ (40 files in 11 dirs): (log message trimmed) [23:42:09] Merged revisions 24302-24345 via svnmerge from [23:42:11] svn+ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [23:42:13] ........ [23:42:19] r24310 | aaron | 2007-07-21 18:40:58 -0700 (Sat, 21 Jul 2007) | 1 line [23:42:21] *Add ar_page; allows for easier restoration when several large pages are merged into one deleted history. [23:42:26] ........ [23:44:57] oh... liquidthreads is... alive! [23:45:22] Has been for a couple of months. [23:45:27] More or less alive, anyway. [23:47:15] 03aaron * r24347 10/trunk/phase3/includes/filerepo/LocalRepo.php: *Look only at unique keys. If a file has versions that have the same key, this can otherwise through errors trying to delete non-existent files during cleanup. [23:48:09] VoiceOfAll, you know, an unpaired initial asterisk is typically used to delimit items in a list. [23:48:20] Not put at the beginning of an isolated line. [23:48:46] <^demon> Simetrical: I suppose you're right (in regards to my bug I filed) [23:48:56] yeah, but it looks festive and fun [23:49:14] <_mary_kate_> you'd usually put a space after it too. it looks odd without one [23:49:15] it's also an OCD thing :) [23:50:00] _mary_kate_: at least no one pointed out that typo [23:50:06] should be "throw" lol [23:54:07] <_mary_kate_> hi brain [23:54:29] hi pinky [23:56:49] *VoiceOfAll hugs brion [23:57:01] _DannyB|backup, you can ask brion now. [23:57:05] I guess. [23:57:11] brion: so 1.11 will be delayed, does that gives time for log_id maybe? [23:57:13] Unless he's off-duty. [23:57:17] *sob* [23:57:20] well we'll see [23:57:28] best time to do these schema changes is over the weekend [23:57:35] but we're all gonna be travelling this weekend i think [23:57:57] brion: my bitching will only stop when it's done :) [23:58:09] *_DannyB|backup thinks about some valuable bribe for brion [23:58:10] i guess i could be a dick and start schema changes in the background, then leave on my flight to taipei... >:) [23:59:49] brion: we here wondering earlier why having a page size in *chars* isn't feasable. it would be nice to have...