[00:00:15] Raymond_ has been fiddling with HTML lately. [00:00:51] yeah but not in watchlist [00:01:10] *brion looks at AaronSchulz [00:01:19] I'm curious if this is gonna stay (then I'll go and fix fix my WL sorting script) [00:01:59] AlexSm: I did it to stop every line from overflowing and starting from the left rather than the block should be in [00:02:48] brion, what's it up to? I want to look at some of the cats it's hit already. [00:03:08] got to eat, brb [00:04:24] up to the As in commonswiki [00:04:33] the database list should be mostly alphabetical [00:04:46] eww [00:05:18] dunno if it does it in other browsers, but infoboxes totally molesting the category list in FF2 [[Category:Algebra]] [00:05:49] Is this related to the ongoing category changes? [00:06:22] http://commons.wikimedia.org/wiki/Category:Algebra ? [00:06:29] looks reasonably ok in FF 3 [00:06:38] err en [00:06:55] http://en.wikipedia.org/wiki/Category:Algebra also fine in FF 3 [00:07:09] yea it works fine in FF3 [00:07:10] what's the issue? [00:07:20] Not up to "Admin reviewed Flickr images", or is it not working? [00:07:24] what's going on with categories? [00:07:47] Cities_and_villages_in_Saint_Martin_(Netherlands) [00:07:48] Wiredtape, new category table being added. [00:07:55] Which will allow accurate counts of various things. [00:08:11] hmm.. nice :) i'm assuming this is per the conversations on the mailing list.. [00:08:12] brion, this is Commons? Something seems wrong. http://commons.wikimedia.org/wiki/Category:Admin_reviewed_Flickr_images [00:08:25] Oh, no. [00:08:26] It works, yay! [00:08:33] infoboxes overlap subcategory listing in ff 2 [00:08:33] It was just being slow. [00:08:45] "The following 200 files are in this category, out of 23791 total. " [00:08:55] what rainman-sr said [00:09:14] http://i25.tinypic.com/20tlz4w.jpg [00:09:15] ah i see, it depends on your window size [00:09:30] you could stick a br clear in there to keep em out [00:09:45] that's stilla horrible kludge though [00:10:30] looks like those numbers could use some formatnum lovin' :) [00:10:37] but at least they're like...... more useful than '200' :D [00:10:50] Hmm, didn't think of formatnum, that's right. [00:11:02] brion, we could clear the subcategory headings. Floats don't work with tables. [00:11:20] *nod* [00:12:41] d'oh [00:12:51] "UPDATE `category` SET cat_pages = '1019342',cat_subcats = '16',cat_files = '1018907' WHERE cat_title = 'GFDL'" [00:12:51] from within function "Category::refreshCounts". [00:12:52] MySQL returned error "1213: Deadlock found when trying to get lock; Try restarting transaction (10.0.0.231)" [00:13:04] So Tim was right. [00:13:13] Drop the LOCK IN SHARE MODE, then. [00:13:19] I asked Domas, twice, and he said it was fine. [00:13:23] :) [00:13:28] *TimStarling wins again [00:13:45] *Simetrical counts out the bottle-caps and pushes them over to Tim's pile [00:13:50] might try putting that in the deadlock loop func, too [00:14:02] What deadlock loop func? [00:14:15] you could just lock the category row [00:14:22] How? [00:14:25] importDump.php: return $dbw->deadlockLoop( array( $revision, 'importUpload' ) ); [00:14:25] Oh. [00:14:26] Hmm. [00:14:32] you could delete it [00:14:46] open a transaction, delete the category row, count the categories [00:15:02] as long as it has the new codebase, category updates will block [00:15:14] But what happens when they unblock? [00:15:20] then you insert the new row and commit the transaction, and that releases the lock [00:15:37] Hmm, right. [00:15:43] when they unblock, the count will be incremented [00:15:52] That will stop the transaction, so the categorylinks change won't be counted. [00:16:00] So the increment should still appropriately go ahead. [00:16:07] yes [00:16:09] I wasn't thinking transactionally enough. [00:16:26] well, the trick is to work out how to lock rows without using locking reads [00:16:38] because it's the locking reads that generate the deadlocks, the locking writes are generally OK [00:16:52] What I want is something that will do the count and update in a single SQL statement. I tried with joins, but UPDATE doesn't like aggregate functions like COUNT. [00:17:00] Of course subqueries would work, if we had them. [00:17:09] Well, we could use FOR UPDATE instead of LOCK IN SHARE MODE. :) [00:17:55] well, my vague recollection was that LOCK IN SHARE MODE was worse for deadlocks than FOR UPDATE, but not by much [00:18:30] anyway, even if it was a single query, you'd still need to use a locking read [00:18:38] with two queries, you don't [00:18:56] but you'd really want to do three queries, insert select would be a disaster [00:19:11] Where's the third? [00:19:16] delete, select, insert [00:19:56] Why the delete again? Just to get a lock on the row? [00:20:01] yes [00:20:07] What happens if you try to update something that's deleted in another transaction? [00:20:10] and to delete it, if it exists, so the insert will work [00:20:25] And what happens to people who are using READ UNCOMMITTED or MyISAM for some reason? [00:20:30] Well, they're screwed anyhow, I guess. [00:20:41] But they at least won't get data corruption currently. [00:20:56] Which they will if the row is deleted before the insert, unless maybe you use REPLACE. [00:21:04] I guess that would work well enough. [00:21:26] 03(NEW) Enhanced Recent changes / Watchlist display has unpaired parentheses - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13440 minor; normal; MediaWiki: Special pages; (mormegil) [00:21:37] nobody is going to use READ UNCOMMITTED, so you can stop worrying about that [00:21:58] as for MyISAM, well, nobody should be using that except on single-user installations [00:22:27] you could always do a LOCK TABLE... [00:22:41] I wouldn't bother, personally [00:23:43] as for updating (Simetrical always seems to think in spurts doesn't he?) the read part of the update will block, and then it'll continue after the transaction has finished, and it'll get the new value of the row [00:24:11] I think in spurts because I say something and then wander off to do something else for a minute before checking back. [00:24:14] A.k.a., multitasking. [00:28:20] 04(REOPENED) Explain the wiki syntax in detailed EBNF - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7 +comment (10tstarling) [00:31:29] 03aaron * r32194 10/trunk/phase3/includes/ChangesList.php: [00:31:29] *End parenthesis lost in output somehow, add it back [00:31:29] *Remove hard-coded size attribute [00:33:49] 03(FIXED) Enhanced Recent changes / Watchlist display has unpaired parentheses - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13440 +comment (10JSchulz_4587) [00:36:04] 03(ASSIGNED) Image caption is interpreted as a parameter (e.g. =?UTF-8?Q?=20when=20it=20ends=20with=20?==?UTF-8?Q?=E2=80=9Cpx=E2=80=9D?=) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13436 +comment (10soxred93) [00:39:59] can you help me removing the donate link from the navigation bar of my wiki? [00:40:36] !sidebar | german [00:40:36] --mwbot-- german: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [00:40:56] thxalot [00:47:43] Whoever wrote SpecialCategories.php, or the framework for it, deserves a giant gold star. [00:47:52] Changing it to use the category table took like 120 seconds. [00:49:15] 03simetrical * r32195 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialCategories.php): Use category table for more efficient display of Special:Categories. I never realized how awesome our frameworks for this kind of boilerplate special page were. This was a two-minute job. [00:51:13] ola..... might I ask a dumb question? [00:53:07] !ask | Rescue1185 [00:53:07] --mwbot-- Rescue1185: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [00:54:50] well Ill just ask and see who laughs at me first... Im trying to install a hook, and there are 2 sections, one is the Define Function the other is attach hook, now I get attach hook goes in LocalSetting.php but where does the Define function go? [00:55:22] you can put it in LocalSettings.php too [00:55:32] or you can make a file for it, and include it from LocalSettings.php [00:56:16] When I put it in LocalSettings, the wiki no longer loads and I just get a white screen [00:56:31] maybe I am not understanding how to use the hook [00:56:37] well, that's not because you're putting it in the wrong place [00:57:04] a white screen is how PHP tells you that there is a problem with your code [00:57:46] search the manual for display_errors and log_errors [00:57:51] ok, then I am missing what the hook needs I think [00:58:19] where in the svn would i find the location of the default system messages, looking but not finding too quickly [00:58:31] For example this is the hook I am trying to install http://www.mediawiki.org/wiki/Manual:Hooks/LanguageGetSpecialPageAliases [00:59:06] Do I need to change anything in the code? [01:01:13] is there a way to filter the rc feed so that I only see edits from bot flaged users? [01:03:53] 03aaron * r32196 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Remove various fields when they don't apply (patch by MrZ-man) [01:04:02] White_Cat, no. [01:04:09] G_SabinoMullane: does CZ have $wgAllowRealNames or whatever true? [01:04:13] kirby, languages/messages/ [01:06:34] Oh wait when you said there is a problem with the code did you mean in the extention I am trying to use or the hook itself [01:08:56] 03(NEW) [[Special:Recentchanges]] filter to filter out non-bot edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13441 15enhancement; normal; MediaWiki: General/Unknown; (wikipedia.kawaii.neko) [01:20:22] 03(mod) Add "beta" or "mul" interwiki link prefix for beta.wikiversity. org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13334 summary (10wikipedia.kawaii.neko) [01:20:30] "Fatal error: Unsupported operand types in /var/www/trunk/phase3/includes/GlobalFunctions.php on line 969" [01:20:34] How did I cause that? [01:20:51] 03aaron * r32197 10/trunk/phase3/includes/ChangesList.php: [01:20:51] *Border should explicitly be 0 [01:20:51] *Spacing [01:21:41] 03(mod) [[Special:Recentchanges]] filter to filter out non-bot edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13441 +comment (10Simetrical+wikibugs) [01:22:31] Simetrical: that usually means you're trying to index a string with something that's not an integer [01:23:21] TimStarling, here it's addition. [01:23:28] I think it was trying to add a string to an array. [01:23:49] fair enough [01:30:49] Simetrical: is that a live bug? [01:30:55] AaronSchulz, no. [01:36:37] That is the first time in a long time I've actually mistaken = for ==. [01:38:07] yeah, that almost happen to me recently, almost... [01:47:04] how can i create a link to a special page? (in wikitext) [01:47:19] [[Special:Page]] [01:47:25] Asga: like normal [01:47:30] okay [01:47:35] somethings wrong then ;) [01:47:37] *Mike_lifeguard is too slow [01:47:39] or i have to check my code [01:47:40] thanks [01:49:08] so if i have a patch for Extension:SocialProfile (in wikimedia svn) [01:49:18] should i ask for a svn account os i can just fix it? [01:49:25] jlerner: send it to the author [01:49:28] k [01:49:33] tx [01:49:34] if you find yourself submitting a lot of patches, you might ask for access [01:49:46] 03simetrical * r32198 10/trunk/phase3/ (4 files in 3 dirs): [01:49:46] Nighttime commit when I'm tired and want to get this thing checked in and go to [01:49:46] bed! Yay! Allow sorting by number of members on Special:Categories, and also [01:49:46] allow descending sorts. Mostlinkedcategories should be killed and turned into a [01:49:46] redirect to this. [01:49:50] Or in this case, the committer, not the author. [01:51:42] TimStarling, if you wrote Pager.php, I just want you to know you're awesome. It's a beautiful piece of abstraction. [01:53:53] *AaronSchulz noticed that too [02:02:07] 03simetrical * r32199 10/trunk/phase3/includes/CategoryPage.php: Use formatNum for counts on category page. [02:03:28] "The following 200 pages are in this category, out of 260820 total. " [02:03:34] That commit definitely needs to go live. :) [02:05:06] does a nonexistent article really justify internal_api_error_MWException, Exception Caught: Database::makeList: empty input ? [02:05:44] *Simetrical leaves it to the API people to answer that [02:06:11] *Simetrical is hyper and wants to do more coding, but goes to bed instead, for his own good and that of the poor codebase [02:06:22] brick_ijigg: how did you get that? [02:06:42] Simetrical: what did r32199 do?? [02:08:47] 03aaron * r32200 10/trunk/phase3/includes/ChangesList.php: Spacing cleanup [02:10:03] 03aaron * r32201 10/trunk/phase3/includes/ChangesList.php: Remove debug borders [02:10:22] carl-m, what i actually got from the API was [02:10:50] which appears to be the result of any query for a missing page [02:11:23] what kind of query? [02:12:14] http://en.wikipedia.org/w/api.php?action=query&prop=langlinks|categories&redirects&titles=Manqdsvina [02:12:40] drop the "qdsvina" and it works fine, of course [02:13:09] looks like the problem is with langlinks [02:13:25] http://en.wikipedia.org/w/api.php?action=query&prop=categories&titles=Manqdsvina works correctly [02:13:46] fascinating! [02:15:45] brick_ijigg: have you filed a bug about it yet? [02:16:06] carl-m, i have not. more interested in a workaround at the moment. [02:16:33] please do so if you've got the itch :) [02:17:01] the issue is that the title may not be valid? try some other query to see which ones are valid? [02:17:20] unfortunately that code is probably not live yet [02:17:52] yeah, i can do a followup query, potentially, in those cases [02:17:57] i don't love it but it's doable [02:18:19] welcome to the fun world of an incomplete api [02:18:38] three weeks ago, the 'categorymembers' query was broken [02:19:57] does the same error happen for revisions? [02:21:31] nope [02:21:33] 03aaron * r32202 10/trunk/phase3/includes/ChangesList.php: No need to these [02:21:56] http://rafb.net/p/c1dLaK83.html should fix it [02:24:20] MrZ-man: see bug 13390 [02:24:29] !bug 13390 [02:24:29] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=13390 [02:25:09] hmmmmm [02:25:12] there's some chance that that will fix this as well [02:25:56] r32109 should be live [02:27:01] 1.13alpha (r32193) [02:27:12] is what wikimedia is using now [02:27:21] carl-m, this is the first problem i've had with the API - how incomplete do you think it is? [02:27:23] 03(NEW) api invalid title passed to langlinks causes internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13442 15enhancement; normal; MediaWiki: API; (cbm) [02:27:48] thank you for filing that! [02:28:30] most of the big things are there, apart from editing code. but they aren't heavily tested yet, so there is a constant stream of bugs like the one you found [02:28:56] ahh, i see [02:29:06] 03(mod) api invalid title passed to langlinks causes internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13442 (10mrzmanwiki) [02:29:39] killer simple patch [02:29:48] you guys are on the ball! [02:30:05] hmm, MrZ-man: does that patch work? [02:30:14] yes [02:30:25] MrZ-man: if you pass one valid title and one invalid, what happens? [02:30:30] Man|Mandsfd [02:30:54] oh - yes, that works already [02:31:31] btw, my original query was Manquin, Virginia :) [02:31:33] so I can commit that? [02:31:35] http://mrzenwp.student.cwru.edu/w/api.php?action=query&prop=langlinks|categories&redirects&titles=Manqdsvina|Main_Page [02:31:44] Skizzerz: no, it isn't right [02:31:55] ok [02:32:04] it does fix the internal error [02:32:20] I see [02:32:21] your "oh -yes, that works already" made me think that specifying one valid and one invalid didn't cause issues [02:32:40] bad interpretation on my part, I suppose [02:32:56] right - it does the right thing, which is to return "missing" for the invalid one. the patch doesn't appear to do that [02:33:00] http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Man|Manqdsvina [02:33:10] Skizzerz: Looking for bugs? [02:33:23] MZMcBride: sure, why not [02:33:25] :) [02:33:39] or just another reason to commit something that isn't an extension >_> [02:33:51] short of adding a hook into every single function :P [02:34:14] carl-m: http://mrzenwp.student.cwru.edu/w/api.php?action=query&prop=langlinks|categories&redirects&titles=Manqdsvina returns [02:34:20] Skizzerz: https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 [02:34:32] Fixing that one would be nice. [02:34:38] ooh, that looks "fun" [02:34:39] Bad links are teh suck. [02:34:54] MrZ-man: in the patched version? [02:34:57] yes [02:35:12] in the unpatched version that would just give an internal error [02:35:16] in that case, Skizzerz - I was wrong, the patch does do the right thing [02:35:25] it'd be easy if the xxxx@frwiki just needed to be a link like [[frwiki:User:Pathoschild]] [02:35:34] MrZ-man: I didn't expect an empty result to give that output [02:36:02] instead of [[w:fr:User:Pathoschild]] =/ [02:36:23] well, it fixes the bug in Langlinks, not sure if there might be an underlying problem somewhere else [02:36:50] *Skizzerz waits until roan looks at it and finds out what is really wrong, etc. [02:36:57] (in regards to api) [02:37:41] 03(mod) api invalid title passed to langlinks causes internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13442 (10mrzmanwiki) [02:38:32] Skizzerz: Yeah, it seems like a real bitch. [02:39:35] because while a meta-specific fix can probably be applied easily with a switch statement, getting something to work across all installs will be much more difficult, since the naming scheme apparantly doesn't have to match the interwiki [02:40:30] Across all installs? [02:40:30] (minus the easily part now that I look at the log a bit more) [02:40:57] meaning a change in the core to make it link correctly for everyone that uses interwiki userrights [02:41:23] I could work on a meta fix though, since that seems to be what the bug is about [02:42:34] well, i am having trouble following your conversation, but i couldn't be more psyched that you guys are paying attention to the problem in real-time. it's very excellent. [02:45:28] brick_ijigg: the most active developer on API at the moment is Roan Kattouw, and he has been doing a lot of work on it. the editing code is in alpha state and lot of bugs are getting fixed [02:46:45] MZMcBride: hmm, I think perhaps using strpos to search for @ in the target string, then if it's found separate the language code from the project, and use a switch to build an interwiki link based off of that [02:47:17] I guess my only concern would be usernames that contain an at-sign. [02:47:25] which are disallowed now anyway [02:47:29] I was about to look into that [02:47:49] and since this would be a meta-specific fix, that's not an issue [02:48:11] fixing it in core will be a bitch though, unless we restrict how the @xxxx can be named [02:48:12] hi [02:48:17] hi baggiobanglio [02:48:22] i have a dude [02:48:28] Well, from what I understand, new usernames with at-signs aren't allowed. Old ones are modified by using user IDs. [02:48:29] i'm not english [02:48:31] I think. [02:48:42] looking at it more, I don't think there really is an underlying API problem [02:48:52] yes, I think that's how it works. [02:49:17] I think the problem was just with the LangLinks [02:49:21] now the main question: where might the offending code be located ;) [02:50:03] carl-m, sounds good! i will keep paying attention here. [02:50:16] I just make a script in PHP to post an update in Twitter, and I don't know how I can include this in my wiki, the script is this: http://guaj.es/linuxalcuadrado/prueba.html [02:50:18] Hmm... [02:50:22] anyone can help me? [02:50:22] a lot of the API query pages seem to use the same code I suggested in the patch [02:50:24] :) [02:51:04] MZMcBride: I'm guessing probably when it gets logged, so SpecialUserrights.php? [02:51:06] or.. anyone understand my bad english? [02:51:06] xD [02:51:24] Yeah, either there or SpecialLog.php [02:51:57] !html | baggiobanglio [02:51:57] --mwbot-- baggiobanglio: For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [02:51:57] ... [02:51:57] *Skizzerz pokes mwbot [02:51:57] shoot, I'm about to be dced [02:52:01] (or not) [02:52:12] *Skizzerz watched his lag-o-meter shoot up to 20 secs [02:52:20] ok, thanks :) [02:52:31] *MZMcBride pets mwbot [02:53:41] one more thing, hoy I can include this HTML in all of new pages? [02:53:52] in my wiki [02:54:00] 03aaron * r32203 10/trunk/phase3/includes/ChangesList.php: Remove lead space - not useful [02:55:02] 03(NEW) Wikipedia does not support #vardefine: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13443 15enhancement; normal; Wikimedia: Site requests; (anthony.lofthouse) [02:55:40] 03(mod) Wikipedia does not support #vardefine: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13443 (10N/A) [02:56:46] soo... who wants to WONTFIX that? [02:57:23] *Skizzerz is pretty sure that's been asked a few times before too, maybe he can just DUP it [02:58:10] how I can include any HTML code in all of new pages created? [02:59:02] I think I recall an extension that does something like that [02:59:15] 14(DUP) Wikipedia does not support #vardefine: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13443 +comment (10skizzerz) [02:59:15] 03(mod) Enable extension VariablesExtension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7865 +comment (10skizzerz) [02:59:35] ok, I will find them, thank you! [03:00:02] I don't know if my english is understandble [03:00:11] http://www.mediawiki.org/wiki/Extension:Boilerplate [03:00:18] that might do it [03:00:45] oh, thank you very much!!! [03:00:47] :D [03:00:50] 03aaron * r32204 10/trunk/phase3/includes/ChangesList.php: Image should be 'middle' aligned [03:01:06] http://www.mediawiki.org/wiki/Extension:PreloadManager [03:01:26] PreloadManager sounds better [03:01:41] but, is only text or is valid html? [03:02:15] anything you could add through normal editing [03:03:12] ok, I will do that with the previous extensions? [03:06:02] another thing, [03:06:02] These extensions are used to make a template [03:06:37] if I want to make this template protected? [03:06:53] do you understand me? [03:07:25] PreloadManager puts the template in MediaWiki space, which is protected by default [03:14:21] ok, but the entire page is protected or only the template text? [03:20:36] baggiobanglio: what do you mean? The page is protected. You can't protect only part of a page :\ [03:22:29] You can protect templates though. [03:23:10] 03ivanlanin * r32205 10/trunk/phase3/languages/messages/MessagesId.php: Indonesian (id) localisation updates for core messages. [03:24:32] I want to protect only the template part of the page [03:24:41] Can I do that? [03:25:06] Not easily. [03:26:15] But it's possible? [03:30:06] [03:30:06] There is a tutorial to be able to do that? [03:32:23] baggiobanglio: umm, if you only want to protect part of a page (an included template) then protect the template. [03:39:13] 03aaron * r32206 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Avoid showing empty box due to lack of privilege (patch by MrZ-man) [05:15:12] hi! [05:19:36] I have upgraded mediawiki from 1.5 to 1.11. I also migrated database from one machine to another and between mysql 4.1 and 5.0. Now almost everything works fine except that fact that some pages aren't displayed at all. When I start editing these pages I see that their text contains undefined characters marked with questing sign in my browser. So, for some reason mediawiki rejects to display an article at whole. I am sure that those articles didn't con [06:05:45] 03raymond * r32207 10/trunk/phase3/ (2 files in 2 dirs): [06:05:45] * Add the new messages from r32198 to messages.inc [06:05:45] * While I am in this section, move some other messages to their corresponding sections [06:12:08] i'm trying to copy http://en.wikisource.org/wiki/Template:Header2 [06:12:17] but on my page: http://en.bahaikitext.org/Template:Header2 [06:12:30] the bar is not green, and it doesn't take up the full page [06:12:43] any ideas about this? [06:12:54] i've been installing contribtuions all night :p [06:13:45] You're missing the appropriate CSS. [06:13:49] ahh [06:13:56] where can I find that? [06:14:13] http://en.wikisource.org/wiki/MediaWiki:Common.css [06:14:24] just copy that whole thing probably? [06:14:24] heh [06:17:51] that didn't help :/ [06:18:17] Yes it did. [06:18:24] Bypass client-side cache. [06:18:59] oh [06:19:01] great haha [06:19:04] thanks very much! [06:19:11] No problem. [06:23:40] do you know what extension would give the drop-down menu from this page: http://en.wikisource.org/wiki/MediaWiki:Edittools [06:30:04] 03raymond * r32208 10/trunk/phase3/ (2 files in 2 dirs): [06:30:04] Messages 'data' and 'version' removed, seems unused since ages. [06:30:04] Please double check for usage before rebuilding all message files. [06:38:25] i'm having trouble setting up subpages like this: Main_Page/article, I get a "page does not exist" error [06:38:30] does anyone know what would cause this [06:38:55] 03huji * r32209 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [06:40:13] grar [06:40:23] I wish people wouldn't TALK ABOUT ME WHILE I'M NOT HERE :P [06:40:32] it's past backscroll, too [06:40:33] silly [06:46:53] if i navigate to my Main_Page/subpage i get a 'page does not exist' error and cannot create subpages, anyone know a solution to this? [06:52:13] Werdna: increase the buffer then :D [06:52:41] [15:40:05] Simetrical> Apparently Werdna and Tim were discussing that. [06:52:46] this one? [06:54:36] 03yurik * r32210 10/trunk/phase3/includes/ (SpecialVersion.php api/ApiMain.php): Updated credits per discussion with Brion [06:55:03] 03(mod) [[Special:Recentchanges]] filter to filter out non-bot edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13441 (10wikipedia.kawaii.neko) [06:57:51] Nikerabbit: yeah, that one [06:57:56] but I can't see the context. [07:05:49] *SQLDb talks about Werdna [07:06:31] 03raymond * r32211 10/trunk/phase3/ (3 files in 2 dirs): [07:06:31] * (bug 13322) Messages 'orig' and 'loadhist' removed, unused since ages [07:06:31] Message 'isbn' removed too, was replaced by 'booksources-isbn' some time ago [07:09:43] bad SQLDb [07:09:46] http://en.wikipedia.org/wiki/Wikipedia_talk:Bots/Requests_for_approval#A_proposal_-_more_community_input [07:09:49] eek [07:09:53] the last thing we need with bots is community input [07:10:13] 03(FIXED) Unused messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13322 15enhancement->normal; +comment (10raimond.spekking) [07:10:55] the TASK should be community-approved, but the purpose of having a bot approvals group is that trust is placed in their expertise. [07:11:02] heh [07:11:44] [15:39:42] ialex> Simetrical: shouldn't Article::updateCategoryCounts() be in Title.php to avoid creating an article object in LinksUpdate.php ? [07:12:10] more context :o [07:15:11] Werdna: ... the channel's logged. [07:15:24] meh [07:16:15] MZMcBride: unfortunately [07:17:51] *SQLDb looks shiftily around the room [07:18:11] impossible to find anything relevant with my nick with all these logs and archives and now someone else has started using my nick too :/ [07:19:04] Nikerabbit: I wrote a useful tool for that [07:19:16] for what? [07:21:23] it kicks people off if they use your nick :) [07:21:26] brb [07:22:26] Werdna: doesn't really help if they take it on some wow3kiddiewiki or you "shit" tube or or whatever [07:23:43] yeh, called /ns ghost nick passwd [07:52:54] I have a recursive link on my category page. I didn't know about the "Category:" feature, and now that I do I redirected the old page that was standing for the category page to teh category page.... now the first page is showing up on the Category list - any idea? [07:57:36] any ideas? [08:07:19] does anybody know why my favicon is only visible in seamonkey and not in internet explorer!? :( [08:09:01] and in the page source i can see it... [08:21:00] 03raymond * r32212 10/trunk/phase3/ (2 files in 2 dirs): [08:21:00] Easter housekeeping: [08:21:00] * Message 'subcategorycount' was removed in r32085 [08:21:00] * Message 'groups' unused since ages [08:24:26] mondschein, old IE can not show favivon. (Have read it, not using IE self) [08:30:27] mhm oh thanks for the hint i'll google that... [08:47:09] 03(NEW) Watchlist description missing on API help page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13444 trivial; normal; MediaWiki: API; (sco_scam) [08:50:38] 03(NEW) Add a watched field in prop=info - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13445 15enhancement; normal; MediaWiki: API; (sco_scam) [08:51:15] 03dale * r32213 10/trunk/extensions/MetavidWiki/ (4 files in 2 dirs): updates for bot maintenance of stream files [09:01:56] 03(NEW) Intermitent error with Special:Uncategorizedpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13446 minor; normal; MediaWiki: Special pages; () [09:04:49] if I try and use subpages in the main namespace I get 404 errors, anyone know what causes this? [09:04:53] or how to fix them [09:18:07] Hi! [09:18:07] How can I add stuff under MediaWiki:Sidebar (under the toolbox)? [09:20:36] 03vasilievvv * r32214 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryAllCategories.php): [09:20:36] * (bug 13395) list=allcategories should use category table [09:20:36] * cat_hidden doesn't work. why? [09:20:55] 03(FIXED) list=allcategories should use category table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13395 +comment (10vasilvv) [09:21:06] 03grondin * r32215 10/trunk/phase3/languages/messages/MessagesFr.php: Localisation updates for extensions messages from Betawiki [09:24:29] How can I add stuff under MediaWiki:Sidebar (under the toolbox)? [09:25:35] 03(FIXED) wrong link to Special:SMWAdmin after setup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11233 (10mak) [09:25:39] I have "$wgNamespacesWithSubpages[NS_MAIN] = true;" in my LocalSettings.php but when I add Main_Page/something I get a 404 error [09:25:43] does anyone know what causes this? [09:28:11] 04(REOPENED) Enable patrolled edits on Italian Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12826 (10federicoleva) [09:30:18] i'm getting a 404 error with subpages in my main namespace, anyone know how to fix this? [09:33:34] t0lk2: provide more infos [09:33:59] i have tried everything to get subpages working in my main namespace [09:34:30] http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages [09:34:33] from that page [09:34:57] but when I navigate to an article in my main namespace, eg. Main_Page/something it returns as a 404 error [09:34:57] t0lk2: my guess is that you are having a problem with rewriting and/or pathinfo [09:35:12] t0lk2: can you give an exampekl url? [09:35:21] http://en.bahaikitext.org/Main_Page/page [09:35:37] subpages or /page works fine in every other namespace [09:35:40] except the main one [09:36:42] this is my .htaccess if it matters: http://rafb.net/p/CAhHxF66.html [09:37:04] t0lk2: it's very likely a problem with the rewite rules you are using. which is further complicated by the fact that you map stuff into the document root. which is a BAD IDA (tm) [09:37:12] !rewriteproblems | t0lk2 [09:37:12] --mwbot-- t0lk2: 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. [09:37:28] t0lk2: get all that right, and if it still doesn't work, come back... [09:37:41] hmm [09:37:54] the problem is that i've already set it up this way [09:39:10] thank you for your help :) [09:48:12] TimStarling: in what version did the parmeters expected by Parser::ReplaceVariables change? 1.12 or only 1.13? also - how do i construct an appropriate PPFrame programmatically, if i have a key->value array of template params to replace? [09:50:57] 03(NEW) Tabs collapsed on LTR wikis for RTL users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13447 15enhancement; normal; MediaWiki: General/Unknown; (meno25wiki) [09:50:59] 03(mod) RTL/bidirectional issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=745 (10meno25wiki) [09:54:24] re [10:06:21] 03grondin * r32216 10/trunk/phase3/languages/messages/ (MessagesEn.php MessagesFr.php): Fixing missing message for extention title [10:09:57] I try to import the dump of no:wp to my freshly installed mediawiki, but the rows for revisions are different, any of you got a good tip on how to fix that? [10:12:40] 03(NEW) Upload form w/ o wpDestFileWarningAck generates error in upload.js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13448 normal; normal; MediaWiki: Special pages; (lupo.bugzilla) [10:17:22] Atluxity: "rows for revisions"? what are y outring to import, exactly? [10:17:29] there should be not rows at all... [10:19:59] TimStarling: i'm trying to create a frame to hold by template arguments using newChild... but it fails with 'DOMXPath::__construct() expects parameter 1 to be DOMDocument, null given' [10:20:11] what do i need to do? [10:20:39] hello [10:20:43] *Werdna waves [10:20:47] several hours of simcity later... [10:20:58] anyone help me wiht open_basedir issue when installing mediawiki [10:20:58] TimStarling: i'm trying this on the parser object i get passed into the handler for a parser hook. [10:21:11] Warning: main() [function.main]: open_basedir restriction in effect. File(/convertLinks.inc) is not within the allowed path(s): (/var/www/vhosts/bizteligence.com/httpdocs:/tmp) in /var/www/vhosts/bizteligence.com/httpdocs/wiki/maintenance/updaters.inc on line 13 [10:35:44] Duesentrieb: the sql-file i got from "xml2sql"-tool had 9 things to input for each line, but it looks to me like the database wants 11 things, and then sends error.. Im no good at mysql, so I might use strange words [10:36:02] there are 9 comma-separated values [10:36:06] in the sql-file [10:36:25] Atluxity: xml2sql? why are you using that? afaik its very old and unmaintained. [10:37:08] it seemed to work with pages and text, but oh well [10:37:13] what do you suggest I use? [10:37:14] ERROR 1136 (21S01) at line 6: Column count doesn't match value count at row 1 [10:37:19] HI! [10:37:19] How can I add stuff under MediaWiki:Sidebar (under the toolbox)? [10:37:20] thats the error I got, anyway [10:37:22] Atluxity: importDump.php? [10:37:36] Duesentrieb: I read about that, but I didnt find it [10:37:57] Atluxity: it's THE way to import dumps. it's in the maintenance directory, whith all the other maintenance scripts. [10:38:04] ah [10:38:05] thanks [10:38:21] LolliRock: you can't. [10:38:25] I'll try that, then [10:38:28] LolliRock: well, only be editing the skin code directly [10:39:25] *Duesentrieb* And which files precisely? [10:40:00] LolliRock: skins/MonoBook.php (if using the monobook skin, which is the default) [10:40:22] Ok... so there's not a /includes/Sidebar.php file? [10:46:37] 03raymond * r32217 10/trunk/phase3/includes/SpecialUpload.php: [10:46:37] * (Bug 13448) Fix regression from r32077: Readd CSS id for hidden field. [10:46:37] Please see above bug for a suggestion. I haven't touched upload.js and I am unsure about it. Thanks. [10:51:54] *Duesentrieb just did the "fixed up updated, go back to backup" routine for the first time. [10:52:34] works well enough. yay backup script! [10:53:50] Hi people, i'm using an external page ( http://tools.wikimedia.org/~multichill/commonscat.php?language=en ) to add text to pages. Is it possible to set the edit summary? [10:55:13] Multichil: hmm.. let me poke the code [10:55:47] Or another way to add the text, i'm now using the add new section way [10:56:42] Multichil: there are much better ways [10:56:48] (I think) [10:58:31] Ok, i'm curious how you would solve it. I'm open to suggestions [11:01:20] maybe not [11:01:26] I thought there were url parameters you could pass [11:01:27] 03(mod) Upload form w/o wpDestFileWarningAck generates error in upload. js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13448 +comment (10raimond.spekking) [11:01:34] wait, of course, but you're doing them as POST [11:01:35] never mind me [11:02:19] doesnt seem to work [11:02:22] *typo [11:03:19] It just adds a new section [11:04:48] Oh yeah, because wpSummary is ignored for new sections [11:06:16] I'm in the process of downloading a xml dump of wikipedia articles, how can I convert this to sql? Thanks [11:07:05] 03(NEW) Separate link text from page header in MediaWiki: Contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13449 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [11:07:23] Despot: wrap a frog's liver around your nose, go to a bend in a river close to a willow tree at midnight during a full moon, and summon the dormant beast of xml2sql [11:07:47] your mileage may vary. I've seen reports within one screen of this conversation that it is out of date and won't work. [11:07:53] If you just want to import, use ImportDump.php [11:08:09] perhaps you could use ImportDump.php, and use mysqldump to extract it as sql [11:08:49] I hope you're not plan on importing the en wikipedia..... [11:11:16] Werdna, Thanks :) [11:11:24] Multichil, Just the articles, not the revisions etc [11:12:34] Despot : 2,288,516 article? That will take ages [11:12:48] Correct [11:14:17] Werdnam, Despot: xml2sql is outdated, no? any reason not to use mwdumper? that's at least written and maintained by brion. and it's probably also faster. [11:14:33] also, why convert first, and not import directly? [11:14:47] (also using mwdumper, or, if you like, importDUmp.php, but that's slow) [11:14:48] Eh, is it possible to import xml? [11:14:50] I wasn't aware it was [11:14:57] Sorry...I'm not very familiar with xml [11:15:16] I'll look into mwdumper, thanks [11:15:21] Despot: we have an exporter for out xml format, it would be ptretty silly if we didn't have an importer as well :) [11:15:43] Fair enough :) [11:15:50] 03(mod) Upload form w/o wpDestFileWarningAck generates error in upload. js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13448 (10lupo.bugzilla) [11:16:01] I think its a tad silly the imports arnt provided in sql in the first place...but we can't all be pleased :) [11:16:02] Despot: fyi: mysql has "xml support" too, using an "xml dump" formnat - that is completly unrelated and will NOT work with mediawiki dumps. [11:16:38] Despot: there are several good reasons for not supplying sql. first of all, the xml is version agnostic. it'll work with 1.6 or 1.18. [11:16:41] the sql will not. [11:16:59] ah ok [11:17:24] Despot: secondly, the actual pure sql data may contain private info, deleted revisions (copyright violations) etc, that would be a legal problem [11:17:43] Fair enough [11:18:04] I'm just downloading the articles though, not the revisions :) [11:18:12] Despot: thirdly, wikimedia uses external text storage on an extra cluster, an elaborate scheme involving compressed chunks of multiple revisions serialized into blobs, etc. that is not something you can or want to import directly :)I [11:18:22] Therefore an sql wouldnt cause harm...but fair enoguh regarding the version compatability [11:18:53] Grr ^^ [11:20:27] 03raymond * r32218 10/trunk/phase3/includes/ChangesList.php: Add a few CSS classes to the tables [11:38:29] AaronSchulz, hi [11:38:56] you changed the font of the recentchangesflags this morning, right? [12:19:33] uh, xml dumps used to have Foobar - but now they have Foobar? wtf? [12:22:41] 03raymond * r32219 10/trunk/phase3/ (2 files in 2 dirs): [12:22:41] * Readd 'version' to messages.inc. Thanks to Grondin :) [12:22:41] * Add comments for messages which are not used as normal message but as header for the special page itself [12:31:19] does someone know how i can add the upload form inside another page? [12:31:38] the on from specialupload, how can i call it in another special page? [12:31:42] the one* [12:31:56] can i delete the whole history of a mediawiki? [12:44:19] Hi. Can I add some content to sidebars (not just link)? [12:59:40] 03(NEW) Email notification reject - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13450 15enhancement; normal; MediaWiki: Email; (grin) [13:00:44] 03(NEW) Technical updates to bs.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13451 15enhancement; normal; Wikimedia: Site requests; (demicx) [13:26:47] 03raymond * r32220 10/trunk/phase3/languages/messages/MessagesDe.php: Localisation updates German [13:36:01] Hallo [13:36:29] Kann mir vielleicht hier jemand helfen? [13:38:38] !ask | kualko2 [13:38:38] --mwbot-- kualko2: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [13:41:19] I'm getting confused, here. Let's say I have a template, and I want some pages using that template to be included in one category, and other pages using that template to be included in a different category, but not both categories--only one or the other. What's the best if conditional to set for this? [13:42:28] I've tried the simple if-then-else and it isn't working. [13:43:46] OK. I have installed media wiki on my server, and i wanna have infoboxes, but i dont get it to work [13:44:41] Sasoriza: "not working" how? [13:45:15] kualko2: You mean like http://en.wikipedia.org/wiki/Wikipedia:Infobox? [13:45:15] kualko2: you probably want to install parserfunctions, and also to enable tidy. [13:45:23] !extensions [13:45:23] --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. [13:45:26] oh, nm me then [13:45:28] err, no. [13:45:34] !templates [13:45:34] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy . [13:45:52] kualko2: ---^ [13:46:18] kualko2: also, don't try to copy the boxed from wikipedia, they tend to be overly complicated [13:46:20] 03(mod) [[Special:Recentchanges]] filter to filter out non-bot edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13441 (10Simetrical+wikibugs) [13:46:25] thry to understand how it works and make your own [13:46:37] you need to know a bit of css though [13:46:50] (selfhtml ist dein freund) [13:48:39] 03rotem * r32221 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [13:50:41] "selfhtml" [13:51:32] Whatever happened to Rob Church? [13:51:44] I already don´t know how it works. I also have checked the extensions and the FAQ, but -i have still no idea how to become it working [13:52:08] :-( [13:53:14] roan: get here [13:56:26] kualko2: well, what have you tried? did you start by making a simple template? one that takes parameters? [13:56:42] I have the monobook template [13:57:32] monobook is a skin [13:57:41] skins and templates are very different, unreated concepts [13:57:46] (in mediawiki, anyway) [13:58:19] infoboxes have nothing to do with skins [13:59:34] kualko2: http://de.wikipedia.org/wiki/Hilfe%3AVorlagen [14:00:10] kualko2: http://de.wikipedia.org/wiki/Hilfe:Vorlagenprogrammierung [14:00:18] kualko2: http://de.wikipedia.org/wiki/Hilfe%3AInfobox [14:01:11] *Duesentrieb should make a nice set of standard tags and boxes, ready to download & reuse [14:01:20] I have tried to become reasons from the pages you have written, but also this doesnt work. If I do a new chapter "Vorlage:Infobox" [14:01:27] Also dont work [14:01:46] This would be very helpful :-) [14:01:48] kualko2: url? [14:02:15] http://ecally.plane.hl-users.com/rcwiki [14:03:49] kualko2: funktioniert doch super. http://ecally.plane.hl-users.com/rcwiki/index.php?title=Benutzer_Diskussion:Admin [14:03:53] schau in den wikitext [14:03:59] schau dir die vorlagenseite an. [14:04:14] das soltle reichen, umdie idee zu verstehen. [14:06:12] Also ich glaub ich steh echt voll auf der Leitung im Moment. [14:06:32] Sehe zwar was du geschrieben hast, aber weiß jetzt nicht weiter. Sory, bin neuling mit wiki [14:08:20] 03(mod) New:=?UTF-8?Q?=20Localisation=20of=20Site?= =?UTF-8?Q?name=20=2D=20Wikipedia=20to=20?= =?UTF-8?Q?=E0=A4=B5=E0=A4=BF=E0=A4=95=E0=A4=BF=E0=A4=AA=E0=A5=80=E0=A4=A1?= =?UTF-8?Q?=E0=A4=BF=E0=A4=AF=E0=A4=BE?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13452 (10N/A) [14:08:53] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13452 (10ksamudra) [14:09:12] Ich hätte gerne, dass das so aussieht wie auf der folgenden Seite rechts diese Tabelle da: http://de.wikipedia.org/wiki/Mantis [14:09:16] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13452 (10ksamudra) [14:09:57] kualko2: und ich versuche dir zu zeigen, wie man templates schreibt. ganz allgemein. angefangen bei einem ganz einfachentemplate, das nur hallo sagt. naja, ich hab's "infobox" genannt, das war vielleicht nicht so toll. [14:10:29] 03simetrical * r32222 10/trunk/phase3/maintenance/tables.sql: Change misleading comment [14:10:44] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13452 +shell (10raimond.spekking) [14:11:29] Ah OK [14:11:36] kualko2: die vorlage aus der wikipedia ist ziemlich kompliziert. die bei dir zum laufen zu brijngen ist nicht einfach, und anpassen kannst du sie dann auch nicht, weil du sie nicht verstehst. [14:12:10] desshalb bau dir lieber selber was. versuch die grundkonzepte zu verstehen. templates, parameter, tabellen. dann die paar css-eigenschaften die du brauchst. [14:12:26] :-( Ich dachte nicht dass das mit dieser Box so schwierig ist. [14:12:59] muss es auch nicht sein. man könnte einfache bauxen zum wiederbenutzen machen [14:13:12] hat nur keiner gemacht, so weit ich weiß. [14:13:19] Schade eigentlich. [14:13:28] jo. wenn mir mal langewilig ist :) [14:14:24] :-) Ich muss einfach noch ein bischen weiterversuchen, weil ich muss das irgendwie schaffen. Kennst du das, wenn man sich etwas in den Kopf setzt, und dann nicht aufhören will? [14:15:18] wasn't this an international channel? [14:15:38] HelLViS69: sure, that'S why people use different languages. [14:15:53] lol [14:16:37] english is generally the most usefull, and i try not to get people talking to me in german, because the it all gets stuck on me :P [14:16:41] but every now and then... [14:17:08] kualko2: ideale methode, was zu lernen. [14:19:37] Also das was du mir gezeigt hast, war schon mal sehr hilfreich. Habe das verstanden glaube ich. Hab auch schon was geändert. Nur die Box muss ich noch irgendwie schaffen :-) [14:23:12] kualko2: die "floating" box ist reines html. schau bei selfhtml, wie man sowas macht. und schau nach beispielen. firebug hilf übrigens... [14:25:44] *Sasoriza is part German and ashamed he doesn't speak his ancestors' language [14:28:12] is there a non-database way for using interwikis in mediawiki? [14:31:31] marvxxx: depends on what you mean by "using" :) [14:31:43] i think there's an extension for configuring them, if that's what you mean [14:32:21] http://www.mediawiki.org/wiki/Extension:SpecialInterwiki [14:32:30] this looks like what i need [14:32:44] and its stable...so i can give it a try [14:34:09] marvxxx: note that it's very unclear who states that it is stable, and what that is supposed to mean :) [14:34:33] it's pretty much just what the auther minself sais. often, it doesn't mean more than "works for me". [14:35:36] hehe ok you are true [14:35:46] you have experiences with that extension btw? [14:36:51] the function isLoggedIn() doesnt say if the user is actually logged in now, but returns true if the user exists in the db, is there a function that returns true is the user is loggedIn? [14:37:15] is there a function that returns true if the user is loggedIn?* [14:38:38] Piero, that's not tracked in the database. [14:38:41] At least not to my knowledge. [14:38:54] hmm yeah thats what i thought... [14:39:00] it sucks! :P [14:45:52] Piero: uh, i don't get it. what would "logged in" mean in that context anyway? [14:46:11] is it normal that a mediawiki installation already has tons of interwiki links installed? [14:46:23] marvxxx: yes. [14:46:35] Duesentrieb: cause there is stuff like gentoowiki [14:46:40] marvxxx: though it used to miss one for wikipedia :) check for that, i hope it was fixed... [14:46:51] you can check in the user.php what the isLoggedin functin does [14:46:56] yes, it has the default interwiki map that wikipedia uses. mroe or less. [14:47:01] yes there is...but for en.wikipedia.org and i want german :) [14:47:02] whcih is why wikipedia was missing :) [14:47:13] haha ok [14:47:16] that makes sense ;-) [14:47:33] interwiki links are awsome...very welcome for what we do here [14:47:40] my user list preview has to contain an online/offline status of the users [14:48:07] so i need to know if each user is actually logged in or not when i call the list preview [14:48:33] Piero: again, that does not make sense. http has no concept of persistent sessions. it's all simulated smore and mirrors. [14:48:41] the server can not know if a user is "online". [14:48:51] i know [14:49:00] the server could only track how long ago the user last requested a page while logged in [14:49:08] Duesentrieb, it's common to fake it in a reasonable fashion, though. [14:49:12] i have to add a field in the db that changes when a user logs in and out [14:49:18] and check it then [14:49:19] Which is what the question means, probably. [14:49:25] i.e. you could say someone is "online" if he last sent a valid cookie less than 10 minutes ago [14:49:29] which is really heavy for the db [14:49:38] Piero, a user can log in or log out multiple times in succession. You can't assign a state of definitely "logged in" or "logged out". [14:49:47] hmm [14:49:49] true [14:49:51] Logging in only sets cookies, it doesn't affect the database. [14:50:01] Piero: "logging out" generally happens by no longer sending a cookie, or a session expiering. [14:50:03] but i can modify the db [14:50:04] What you usually do is do it by the last page view. [14:50:13] hmm [14:50:26] Piero: explicit logout is the exception. i nearly never do it. same for most people i guess [14:50:40] <_aib> "Warning: array_slice() [function.array-slice]: The first argument should be an array in /var/www/ccnlab/languages/Language.php on line 1105" [14:50:48] <_aib> any idea what causes this? using latest mediawiki [14:50:49] Piero: my login is good for 30 days at a time :) [14:50:55] You can explicitly log out and still be logged in anyway. [14:51:02] Say log out in IE, keep browsing in Firefox. [14:51:02] i mean, its just requirements i have to fullfill you know :p i have to have an online/offline status displayed on my user profiles and user preview list [14:51:11] Simetrical: yes [14:51:12] _aib, some extension. [14:51:12] i have to find a solution to do it [14:51:19] Plus bad error-checking in MediaWiki cor.e [14:51:20] re. [14:51:37] That always comes up, I don't know why. I looked at the code briefly but don't see what a graceful way to handle the error is. [14:51:50] Piero, try looking for extensions, or other wiki software. [14:52:07] Piero: the only solution there is is activity tracking. i.e. every time a user loads a page and is recognized as being logged in, reset a timestamp in the database (maybe attached to the user record, or in anextra table) [14:52:21] :p [14:52:24] Piero: you can then tell if a user was active less than x minutes ago. [14:52:32] hmm i see [14:52:46] <_aib> i disabled them all. does this help? [14:52:46] but thats gonna be heavy to code and i dont have much time! :p [14:52:48] <_aib> "from within function "Title::loadRestrictions". MySQL returned error "1146: Table 'ccnlab.page_restrictions' doesn't exist (localhost)"." [14:52:54] Piero: when explicitly logging out, you could invalidate the timestamp; however, that will get confused when using multiple browsers [14:53:12] _aib, you need to run update.php when you update the software. [14:53:13] yeah its complex for a little thing [14:53:15] _aib: run update.php [14:53:16] <_aib> ok thanks [14:53:19] _aib: sounds like youupdated mediawiki without updating the database [14:53:40] <_aib> no, wasn't me :) [14:53:42] Piero: it's a classical problem. google it. [14:53:44] <_aib> just troubleshooting [14:53:54] thats what i just did ;) [14:53:59] Piero: there's no "real" solution to this, http is not made for it. xmpp is. [14:54:26] "presence" is the first "p" :P [14:54:29] <_aib> thanks [14:55:04] Well, no perfect solution, but activity tracking is what people tend to mean when they talk about whether someone is logged in, in web apps. [14:55:12] hmm [14:55:13] It's a de facto solution that works Well Enough. [14:55:45] i know loads of websites are doing it now, ilke myspace, bebo, stuff like that, they must be an 'not too complex' solution [14:55:54] That's the solution they use. [14:55:58] Piero: yes: they lie to you. [14:56:03] ^^ [14:56:09] they track activity, not logged-in-nes [14:56:10] Someone is "logged in" if they've sent an HTTP request in the last, say, 15 minutes. [14:56:30] hmm i see, which is i will probably have to implement [14:56:41] ok thx for your advices! ^^ [14:57:23] Simetrical: do you know anything about the new perser stuff? like how to deal with PPFrame? [14:57:29] No. [14:57:33] damn [14:57:38] I didn't know anything about the old Parser stuff either. [14:57:46] :P [14:57:49] who does except tim? [14:58:21] . . . hmm. [14:58:26] Well, Tim does. [14:58:49] yes, but he's busy rolling out SUL i guess. [14:58:58] Hello, I've got the following problem; sometimes my wiki won't load (without any reason, actually) and I got this permission error: "Can't contact the database server: Access denied for user 'robin'@'localhost' (using password: YES) (localhost)" [14:59:01] i need someone to help me fix my extensions [14:59:21] SPQRobin: then the database server is down or refusing connections [14:59:39] not down actually. that error looks different [14:59:47] SPQRobin: when that happens, complain to the dba [15:00:55] Duesentried: it is just an offline wiki on my computer [15:01:50] SPQRobin: then complain to yourself. the error means the database refuses the login. to find out why, ask in #mysql perhaps. [15:02:12] AaronSchulz: what's purpose of $wgReviewCodes? [15:06:00] how do i do nice links in mediawiki? mod_rewrite? [15:07:04] !shorturl | marvxxx [15:07:04] --mwbot-- marvxxx: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [15:07:27] thanks [15:10:19] Hi! I'd like to use SHort URLs like example.com/Page_Title, I tried all the methods exaplin in the help but they don't work with MW1.12.0rc1 ....... [15:10:41] 03(mod) Tabs collapsed on LTR wikis for RTL users - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13447 (10gangleri) [15:10:53] !shorturl | LolliRock [15:10:53] --mwbot-- LolliRock: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [15:10:57] They do work in 1.12. [15:11:01] Wikipedia uses them. [15:11:04] Or at least the first one. [15:11:34] *Simetrical should really add a 404 handler to do rewriting in a nice, non-frustrating way [15:15:15] Well... I'm moving MW from the root dir to /wiki.. hwo can I redirect with htaccess all my articles to the new dir? [15:16:13] LolliRock, you haven't been following the manual very well if you were trying to rewrite to the root web dir. [15:17:02] 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 +comment (10lupo.bugzilla) [15:18:54] Simetrical: Mmmh... I'm simply moving MW from root to /wiki [15:19:22] LolliRock, what exactly is the problem? [15:19:30] I don't understand the difficulty. [15:19:53] There are lots of tutorials on how to use short URLs. [15:20:06] Simetrical: I'd like to know the code to redirect all my articles to /wiki with .htaccess (in 1 rule)... [15:20:35] !shorturl | LolliRock [15:20:35] --mwbot-- LolliRock: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [15:21:25] which file is called for on a link to MyWikiUrl/User:aUser ? [15:21:52] which page is managing the output of user pages? [15:21:58] i mean which file [15:22:32] Piero: user pages are just pages like all others. and "managing output" could mean anything. [15:22:40] what are you trying to actually do? [15:22:42] Are there any active mediawiki devs here? I'm trying to write my own wiki-like software and I had a few questions about how mediawiki caches pages. [15:23:11] in lots of ways :) [15:23:19] i have to create user profiles, so basically when you click on a username, you are redirected to his profile where the user's details are displayed [15:24:04] i already implemented the profile in the db and in the app, users can enter and save their details, now i want to create their profile page that will display all this info [15:25:25] habnabit, yes, there are multiple active devs here. [15:25:37] Piero, you might be interested in Wikia's SocialProfile extension. [15:25:43] k [15:26:44] Okay. How are page modifications tracked with respect to modifying templates? As in, how does mediawiki know to rebuild a page that includes a template which has been modified? [15:27:21] grrr im so noob at the wiki media software... i already implemented loads of shit... i should have thought that someone would have done the same... :8 [15:28:03] habnabit, we have a templatelinks table that contains (page_id, target_namespace, target_title) containing the names of all templates included (directly or indirectly) on the page_id. When a template is modified, all pages using it are retrieved from that table, and have their caches purged. [15:28:26] 03huji * r32223 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [15:28:34] Simetrical, okay, and that's generated when a page is parsed? [15:28:41] They then must be reparsed to account for possible recategorization, etc. This takes a long time and so is put in the job queue, which is a queue of items that get run in batches by a cron job. [15:28:44] Yes. [15:28:55] The template expansion mechanism maintains a list of all templates it's calling as it goes along. [15:29:12] That's then put in the database on save, along with comparable lists of page links, category links, etc. [15:29:45] Okay. So all links are tracked in the database. [15:30:29] Yes. [15:31:31] That makes sense. Disk space is cheap and database selects are pretty fast. [15:31:53] Simetrical, thanks. [15:32:28] "Disk space is cheap" is definitely a credo MediaWiki abides by. :) [15:32:49] *Simetrical has had fights with vBulletin developers about adding needed indexes because they didn't want the disk space usage :( [15:33:16] For something like a forum, I don't know why you'd prioritize disk usage over speed. [15:33:41] Apparently some web hosts have database size limits. [15:34:03] Probably as a crude way to prevent slow queries, under the assumption that the software users will run is crap. [15:34:09] Also as a way to get more money, of course. [16:02:19] greetings [16:19:45] is there any way to change the options up at the top where the username etc are? i want to add another link to that [16:22:26] anyone [16:22:58] i'm sure, but I dont know what it is [16:24:47] yes its possible, start looking in the template files for the text along the top of the page. [16:25:03] I can't remember of the top of my head exactly where. [16:25:06] Template files? [16:25:09] What template files? [16:25:29] pretty sure you can do it with css [16:25:29] You can't add content with CSS. [16:25:29] Ever. [16:25:35] err javascript [16:25:36] You can modify monobooks.php [16:25:41] bingo... [16:25:58] sorry... theme = template. Too many software projects in my skull [16:27:18] "Skin". [16:28:52] 03vasilievvv * r32224 10/trunk/phase3/includes/api/ApiBase.php: Handle empty sets correctly [16:28:56] bah, i'm sure i could figure out a way to add content with css :P wouldn't be pretty, and would involve lots of base64 encoded junk but it's dooable [16:29:15] If you don't care about IE up through 7, you could get plain text added. [16:29:18] OverlordQ: 'before' and 'after' would work [16:29:19] As well as pictures and so on. [16:29:21] Links, no. [16:29:26] No way to add links with CSS. [16:29:40] span.foo:before { content: "go away"; } [16:30:41] I hope IE7 will be included in XP SP3 [16:30:41] Thanks simetrical... skin. Oi vay... [16:31:11] Please can anyone help me or point me in the right direction, I am trying to offload mediawiki image serving from apache, my server is grinding to a halt [16:31:17] 03(mod) Can't upload file with non-ASCII name (eg cyrillic) on Windows host - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1780 (10mormegil) [16:31:34] ok, new question.... how do you edit the personal tools options that it displays? [16:31:51] VasilievVV: don't you already get it automatically when windowsupdating? [16:31:52] i know you can edit navigation by mw:navigation, but i cant find personal tools [16:31:53] newrkv: what did you want to change? [16:32:03] some of the options it displays [16:32:28] newrkv, you hack the code, I think. [16:32:28] Or write a plugin if you're lucky. [16:32:36] flyingparchment: no ideas. At least many companys install only service packs [16:32:46] how do they get security updates? [16:33:20] WSUS [16:33:25] They probably don't [16:33:59] OverlordQ: WSUS only provides updates, it isn't an update itself :) [16:34:12] oh, misread the question [16:34:25] *OverlordQ been up all night [16:35:32] would it be mw:personaltools? [16:36:56] VasilievVV: used in key hashes [16:36:59] 03(mod) Can't upload file with non-ASCII name (eg cyrillic) on Windows host - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1780 +patch (10mormegil) [16:37:19] Act as a sort of validation for template/image version metadata [16:39:14] 03vasilievvv * r32225 10/trunk/phase3/includes/Category.php: Use Title::makeTitleSafe [16:43:07] What would be the best way to get mw 1.8.x users collapseable tables and whatnot. I can do it using wm 1.11.x and javascript, but where would I put the js in the old mw version? [16:43:40] Unfortunately upgrading to mw1.11.x isn't an option yet. [16:46:03] 03(NEW) rebuildrecentchanges broken on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13453 15enhancement; normal; MediaWiki: Database; (overlordq) [16:46:06] 03(mod) PostgreSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10overlordq) [16:49:24] 03greg * r32226 10/trunk/phase3/maintenance/rebuildrecentchanges.inc: Don't quote the size, it's an int or a literal NULL. Per bug 13453. [16:49:46] 03(FIXED) rebuildrecentchanges broken on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13453 +comment (10greg) [16:52:26] *OverlordQ prods G_SabinoMullane [16:53:19] hola [16:53:36] When I do a search in mediawiki, it returns the page title and lines under it with page text matches. Can I turn the page text match results off easily somehow? Like have it just show the page titles in the results? [16:57:43] 04(REOPENED) rebuildrecentchanges broken on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13453 +comment (10overlordq) [16:58:42] Ah, gotcha. [16:59:37] 03greg * r32227 10/trunk/phase3/maintenance/rebuildrecentchanges.inc: $lastSize is also an int or a literal NULL. Bug 13453. [16:59:59] :P I'm sure I"ll have some more minor things like that, being bored and going through all the maintnence scripts [17:02:48] 03simetrical * r32228 10/trunk/phase3/ (5 files in 4 dirs): (log message trimmed) [17:02:48] Move some of the changes I made to Special:Categories out of [17:02:48] SpecialCategories.php and into Pager.php. Allow multiple possible sort orders [17:02:48] for IndexPager, allow user override of sort direction for IndexPager, add extra [17:02:48] links as appropriate for AlphabeticPager. Some of this seems to duplicate [17:02:50] TablePager logic; I'm not sure why that's a separate class to begin with. Or [17:02:52] why AlphabeticPager is called that, given that it's not necessarily alphabetic [17:03:46] 03(FIXED) rebuildrecentchanges broken on PostgreSQL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13453 +comment (10overlordq) [17:04:43] hi [17:04:44] 03simetrical * r32229 10/trunk/phase3/includes/Category.php: I knew there was a better way. Use makeTitleSafe for this too. [17:04:57] Hmm, wait. [17:05:00] im trying to setup a hook to customize title/cat loading on a page [17:05:01] Maybe I should test that. [17:05:01] http://pastebin.com/m3f081bc9 [17:05:04] *Simetrical frowns [17:05:13] somehow it doesnt run the last function [17:05:15] any idea? [17:07:20] 03simetrical * r32230 10/trunk/phase3/includes/Category.php: Wait, never mind, revert that. This is supposed to be DB keys . . . [17:08:29] :) [17:11:51] 03hashar * r32231 10/trunk/phase3/maintenance/patchSql.php: eol native ) [17:12:10] mw-cl-cbg ? [17:12:21] When I do a search in mediawiki, it returns the page title and lines under it with page text matches. Can I turn the page text match results off easily somehow? Like have it just show the page titles in the results? [17:13:07] brion: hmm, someone added some funky class names [17:13:36] simetrical answered in wikitech-l [17:15:28] jtowe: you mean, not search in text? or not show context snippets? [17:15:50] not show context snippets [17:15:55] but still search in text [17:16:32] set the context lines option to 0 [17:16:34] 03brion * r32232 10/trunk/phase3/includes/ChangesList.php: Revert r32218 -- incredibly cryptic illegible class names [17:16:41] (if you're not running trunk where atm they're hardcoded to 2 lines) [17:19:08] brion: the arrows should always be by the timestamp right? [17:19:29] !r 32218 [17:19:29] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=32218 [17:19:30] when there are a bunch of users, it is in the middle of the block [17:20:00] hrmf [17:20:30] I should make another for the users and crap below [17:20:32] arrow should be in line with the first line [17:20:41] that could let me have the arrow on first line [17:20:46] and it might look better anyway [17:20:49] o_O [17:20:56] that would make the list twice as long 99% of the time -- suck [17:21:02] the updateCategoryCounts stuff new? [17:21:13] OverlordQ, yes. [17:21:18] Entire Category class and category table are new. [17:21:32] ok, it broke refreshlinks maintnence script :-/ [17:21:32] brion: then again, at the moment, I have a 15' crap monitor, so my advice is a bit skewed [17:21:40] they already bleed over ;) [17:21:52] *15" [17:22:01] spacing seems to have changed too [17:22:11] the arrow's slammed right up against the new page marker, it looks crowded [17:22:38] hmm [17:22:44] haha, I had a space there and then removed it [17:22:50] the date blocking is wrong too [17:22:53] not sure if that's new or not [17:23:07] what about it? [17:24:04] http://www.mediawiki.org/wiki/Image:Enhanced_RC_date_blocking_bug.png [17:24:39] or wait.... [17:24:44] no that's normal [17:24:54] i've just got weird times i think :D [17:25:48] hmmmmmm [17:25:50] brion: like http://noc.wikimedia.org/~tstarling/rcl-screenshot.png ? [17:26:04] lol, that is old [17:26:18] that was fixed? [17:26:29] yes, just go to RC [17:26:34] Thanks brion! [17:26:38] you can see for yourself :) [17:26:47] it was never broken for me, my resolution was too high to tell [17:27:06] well, the arrow for long username lists is the only thing that bothers me [17:27:34] hm [17:27:44] im not really an extension guru, but how can i combine two hooks? [17:27:56] bothers how? [17:28:04] phrearch: combine hooks? [17:28:06] not the same [17:28:11] I have $wgGroupPermissions['*']['read'] = true; so that anyone can read the results. Can I set the preferences of *? [17:28:15] like a renderbeforetemplate hook should disable the title, when the hook detects a certain setting [17:28:19] yes [17:28:38] $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array("wfCleanPage"); [17:28:48] function wfFilterDisplay(&$template, &$templateEngine) { [17:28:51] $templateEngine->set( 'title', ''); [17:28:53] this works [17:28:53] stop [17:28:56] sorry [17:29:01] paste in to pastebin [17:29:02] not meaning to paste more than 3 lines [17:29:06] ok [17:29:27] http://pastebin.com/m56d2c29c [17:29:28] *Simetrical pokes brion toward the Wysiwyg thread on wikitech-l [17:29:46] 03(NEW) new Category changes break refreshlinks maintnence script - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13454 normal; normal; MediaWiki: Database; (overlordq) [17:29:47] That FCKeditor looks to be good enough to try out (as a disabled-by-default option) on Wikimedia. [17:29:51] i dont know how to combine both hooks :/ [17:30:16] Simetrical: Doesn't it use HTML instead of Wikitext? [17:30:23] I was under the impression that is what it does. [17:30:36] MinuteElectron, not anymore, apparently. [17:30:49] MinuteElectron, try it yourself. http://mediawiki.fckeditor.net/ [17:31:24] phrearch: which function is supposed to handle RenderBeforeTemplate? [17:31:35] heh, F*CKeditor [17:31:37] wfFilterDisplay [17:31:56] it should call the templateengine set function, to set title to '' [17:32:15] it works on its own, but combined with wgParser->setHook... [17:33:04] i guess i want the parser to detect a , and when the tag has a param like , it should set templateengine->set('title',''); [17:33:39] Where does RenderBeforeTemplate fire? [17:33:45] 03simetrical * r32233 10/trunk/phase3/includes/Article.php: (bug 13454) Article::updateCategoryCounts can attempt to execute empty inserts. [17:33:55] 03(FIXED) new Category changes break refreshlinks maintnence script - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13454 +comment (10Simetrical+wikibugs) [17:34:06] Who changed the login form so you have to click another link to make a new account, that is actually the most retarded change ever. [17:34:11] Why would someone do that?# [17:34:34] http://pastebin.com/m6ddb21d8 [17:34:36] MinuteElectron, I once did a blame. I totally forget who, some ancient person I didn't know. But they didn't give a reason. [17:34:39] i guess i had this in mind from the start [17:34:40] Change it back! [17:34:45] Simetrical: me? [17:34:54] renderbeforetemplate fires from within the parser hook function [17:35:12] yay happydance. php rebuildall.php runs with no errors now [17:35:15] I would, but I don't want my second commit to phase3/ to get reverted. [17:35:21] so i can set the title to '' with a certain tag [17:35:25] Silly, we all get stuff reverted. [17:35:36] :P [17:35:45] You'll never get anything done if you fret all the time. [17:35:48] I'll look into the code, but it could have change loads since it was made. [17:36:33] and i can't seam to find a working version of the fckeditor on that site :\ [17:36:44] What's your SVN name? [17:36:47] MinuteElectron, just try editing a page. [17:36:59] MinuteElectron: are you using monobook? [17:37:02] phrearch: it looks like you're hooking SkinTemplateOutputPageBeforeExec twice [17:37:02] Simetrical: minuteelectron and, i did try editing a page. [17:37:05] gem2501: yes [17:37:12] Simetrical: some sort of magic word that would return the number of pages in a category would be nice, like {{PAGESINCATEGORY:Foo}} [17:37:22] MrZ-man, yes, that's now possible. [17:37:30] yea, i forgot about that. bit tired :/ [17:37:34] i removed it [17:37:34] Is there a bug for it? [17:37:44] the title stays visible now [17:37:53] Simetrical: I don't think so [17:37:59] http://pastebin.com/m3b3d3a42 [17:38:01] do you want me to make one? [17:38:10] If you like. [17:38:12] 03(mod) Special:Categories&offset=lowercase does not work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13332 normal->minor (10Simetrical+wikibugs) [17:38:21] it calls the function when i call the renderhook from outside the parser hook [17:38:22] MrZ-man, have it block 13326. [17:38:32] I'm going to be looking at that one's dependencies sometime. [17:38:56] so, i guess rendering is already done when the parser hook is going on? [17:39:02] MrZ-man, 6943 [17:39:18] phrearch: change array("wfFilterDisplay") to just "wfFilterDisplay" [17:39:27] like - is it even firing? ever? [17:39:56] same thing [17:40:07] phrearch: and ya, order of execution is definately a possible problem [17:40:12] try a later hook [17:40:46] weird, when i put a die() before the render hook in that function, the code execution just goes on [17:40:57] well that saved some time [17:41:25] join #camp [17:41:33] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10mrzmanwiki) [17:41:33] sry [17:42:06] ok, !google later hook [17:43:14] phrearch: BeforePageDisplay would be an option [17:43:44] Simetrical: r11896 - tomglider. [17:44:01] That's the one. [17:44:20] and it wasn't even a big change at the time :\ [17:44:31] but it'll be veyr difficult to stitch them back together [17:44:53] it appears neither works within a function [17:44:59] outside the function it works fine [17:45:00] hm [17:45:02] scope :/ [17:45:20] oh, ha. [17:45:33] you have to do global $wgHooks inside of renderCleanPage [17:47:08] http://pastebin.com/m50a2b44e [17:47:09] no change [17:47:20] although i can hide the title with that code (outside the function) [17:48:00] Seriously though, why woudl someone make that change. [17:48:49] phrearch: you pasted in a breadcrumb extension? [17:48:54] i can't fix that, going now bye [17:49:45] haha [17:49:46] oops [17:49:49] wrong bluefish tab [17:50:02] http://pastebin.com/mf245bb9 [17:50:03] lol [17:51:06] If standing in Foo and using #rel2abs:, is there a way to call all page content EXCEPT categories? [17:51:16] from another page, that is [17:51:22] is there anyway to avoid having /wiki in the url of a mediawiki install while still setting it up the way most people say it should be? [17:54:36] hm [17:54:49] its hard to put conditional statements in with events [17:54:55] one sec, i think I see what's happening [17:54:55] mod_rewrite? [17:55:02] thats why it fails [17:55:06] Couple other things I've been idly wondering: 1) What happened to Rob Church? (where did he go?), 2) Has anyone tried to devise/add a C+P function for extension pages (long code)? [17:55:25] C+P? [17:55:29] maybe i can set the &$templateEngine without calling the event? [17:55:46] t0lk: http://www.mediawiki.org/wiki/Manual:Short_URL [17:55:52] y'know, without having to actually c+p [17:56:06] copy-paste? [17:56:11] yes [17:56:40] http://example.com/Page_title (not recommended!) [17:56:47] why is that? [17:57:11] global $templateEngine; [17:57:21] isnt there something like that? [17:57:40] arg [17:57:44] *dang* [17:58:24] t0lk: http://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory [17:58:37] thanks OverlordQ` [17:59:50] 03aaron * r32234 10/trunk/phase3/includes/ChangesList.php: Align arrows to top, but move down half a line, so it lines up [18:00:03] domas: ping? [18:00:21] yup [18:00:54] t0lk: I think this is what we did with my wiki and it works fine: http://www.mediawiki.org/wiki/Manual:Short_URL/wiki.example.com/Page_title--difficult [18:01:19] phrearch: http://rafb.net/p/fe6vT936.html [18:02:31] doesnt work [18:02:37] Hey, what's that do [18:02:39] edit and re save [18:02:44] your page is cached. [18:03:05] Hello..How can I create new "categories" to the main page of a wiki? [18:03:24] wow [18:03:25] it works [18:03:29] ;-) [18:03:30] you're the best man :D [18:03:37] don't try to rewrite pages into the root [18:03:43] (example.com/Title) [18:03:50] it causes all sorts of unexpected problems later [18:03:59] Simetrical: Do you know if there is a bug already for merging the login and create account pages? [18:04:07] MinuteElectron, doubt it. [18:04:09] ok [18:04:12] opening one [18:05:15] nice :) [18:05:36] what was wrong with it? [18:05:38] cache? [18:06:28] marinosi: what exactly do you want to do? [18:10:34] phrearch: ya, cache [18:10:55] fyi, pretty sure there's an extension that adds __NOTITLE__ somewhere [18:11:13] that would be pretty handy [18:11:24] !e NoTitle [18:11:24] --mwbot-- http://www.mediawiki.org/wiki/Extension:NoTitle [18:11:36] can someone tell me why this wouldn't work: [18:11:37] $wgScriptPath = '/w'; [18:11:37] $wgArticlePath = '/$1'; [18:11:49] to get .com/article_title [18:12:15] t0lk, when it tries to retrieve /w/skins/monobook/main.css, for instance, it will end up retrieving the article with that name. [18:12:18] Which is not what you want. [18:12:38] Same goes for /robots.txt, /favicon.ico, and probably others, even if you make an exception for /w. [18:12:48] ok [18:12:56] t0lk: did you get my message about http://www.mediawiki.org/wiki/Manual:Short_URL/wiki.example.com/Page_title--difficult [18:12:56] i think this could be what you want. [18:13:10] ok, ill use that :) [18:13:11] yeah but that is for subdomains right? [18:13:24] t0lk: so you just have to add the not a file and not a directory RewriteCond s [18:13:38] t0lk: whats wrong about wiki.yourwikiname.domain? [18:14:00] i've been running a site for over a year on domain.com/article_name [18:14:03] trying not to change that [18:14:28] oh, okay. [18:15:01] Simetrical, it seems that those issues are fine on my wiki for some reason: http://bahaikipedia.org/skins/monobook/main.css [18:15:31] t0lk, you probably specify to skip the rule if the file/directory already exists. [18:15:39] oh [18:15:41] So now it will break if someone tries to make an article called "w". [18:15:42] i bet [18:15:51] but the article "w" is illeagal [18:15:53] Because MediaWiki will happily try that, but the article will be inaccessible. [18:15:54] yeah i have had problems like that [18:15:55] ;-) [18:15:57] Is it? [18:16:03] Oh. [18:16:04] Hmm. [18:16:04] Case. [18:16:04] ya, "W" [18:16:08] ;-) [18:16:14] That's not reliable. [18:16:18] it's a pleasant loophole [18:16:19] i usually use FAQ as an example [18:16:20] I think. [18:16:28] If there's a file named that . . . [18:16:30] Isn't there a nocat (no category) extension? [18:16:44] you can also do articles in lower case... [18:17:01] gem2501: the first letter is always capitalized [18:17:07] no. mom. [18:17:26] TimLaqua: not if you enable $wgCapitalLinks [18:17:29] or disable it, or whatever [18:17:36] why would you do that? [18:17:38] ;-) [18:17:41] because you're wiktionary [18:17:48] true enough [18:18:13] well then - you can make a more complicated rewrite rule to allow "w" but no other directories [18:18:23] 03(NEW) Merge create account and log in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13455 15enhancement; normal; MediaWiki: User login/settings; (minuteelectron) [18:18:26] flyingparchment: thx. you were faster [18:18:33] the biggest problem i've had with the .com/article_title is that article_titles with a . in them don't work [18:18:48] and I can't seem to get Main_page/subpage to do anything but give me a 404 error [18:19:11] t0lk: why don't you do some fine redirect and a subdomain? [18:19:27] 03siebrand * r32235 10/trunk/phase3/languages/messages/ (88 files): Localisation updates for core messages from Betawiki (2008-03-20 18:56 CET) [18:19:28] what would that look like? [18:20:09] t0lk: if someone types in "yourwiki.com/article_title" he'd be redirected to "wiki.yourwiki.com/article_title" [18:20:17] oh [18:20:29] t0lk: but i have to say i don't know how to do that. i just know that you can. [18:20:30] yah i could do something like that too [18:21:29] t0lk: i think that would be the easiest way if there isn't some other reason to stick with yourwiki.com/article_title [18:21:47] yah [18:24:07] 03btongminh * r32236 10/trunk/phase3/ (3 files in 2 dirs): Missing pages in prop=langlinks and prop=extlinks are now handled properly. (bug 13442) [18:24:37] 03(FIXED) api invalid title passed to langlinks causes internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13442 +comment (10Bryan.TongMinh) [18:24:38] I'm trying import a wikipedia inner my mediawiki, but show me a error: [18:24:39] C:\wiki>java -jar mwdumper.jar --format=xml eswiki-20080317-pages-articles.xml mysql -u root -p15895006 wikidb [18:24:41] Exception in thread "main" java.lang.IllegalArgumentException: Input already set [18:24:42] ; can't set to mysql [18:24:44] at org.mediawiki.dumper.Dumper.main(Unknown Source) [18:28:14] 03btongminh * r32237 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryWatchlist.php): (bug 13444) Add description to list=watchlist [18:28:32] 03(FIXED) Watchlist description missing on API help page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13444 +comment (10Bryan.TongMinh) [18:28:34] from this guide: http://www.mediawiki.org/wiki/Manual:Wiki_family#Scenario_4:_Multiple_wikis_sharing_common_resources [18:28:51] under "Install" it says "Run the install script for each wiki. (This solution duplicates source code.)" [18:28:58] how do you do that exactly? [18:29:13] 03siebrand * r32238 10/trunk/extensions/ (96 files in 94 dirs): Localisation updates for extension messages from Betawiki (2008-03-20 18:56 CET) [18:30:04] http://pastebin.com/m7a8f8234 [18:30:22] this hides both categories and titles with [18:34:30] t0lk: what do you mean? [18:34:35] hello [18:34:54] nevermind, I thought it was talking about sharing the files between them all [18:35:00] but I think it's saying install mediawiki like 6 times [18:35:09] t0lk: exactly :) [18:35:27] t0lk: but there are some files you can share [18:35:44] t0lk: LocalSettings.php for example - if you want to. [18:36:01] t0lk: or ./extensions, if they are the same for all wikis. [18:36:07] 03(mod) sortkey doesn't work with generator=categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13437 +comment (10Bryan.TongMinh) [18:36:09] ok [18:36:19] t0lk: you can do that with symlinks. [18:37:16] ok [18:37:19] 03rotem * r32239 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [18:37:30] 03(mod) Add a watched field in prop=info - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13445 +comment (10Bryan.TongMinh) [18:37:34] i'm trying to follow the article you gave me on subdomains :) [18:37:55] t0lk: ok. [18:39:38] I'm triting to make a mediawiki wikipedia import from a xml file but show that error -->>> http://pastebin.com/m1bf1f34c [18:40:13] Gahh! This is driving me crazy... mostly because I'm sure I'm missing something simple. Trying to transclude a page and omit the categories. I know how to do #relabs: but can't transclude the entire content of a page and exclude the categories. What should I be doing? [18:40:41] 03rotem * r32240 10/trunk/extensions/CentralAuth/CentralAuthUser.php: Avoid a logic error in chooseHomeWiki when both wgCentralAuthAutoNew and wgCentralAuthAutoMigrate are on, and a new account is created when no other account named like this exists. [18:41:06] put around the categories? [18:41:21] jlerner: Tried that. Doesn't work [18:41:39] 'm trying to make a wikipedia locally and make a mediawiki wikipedia import from a xml file but show that error -->>> http://pastebin.com/m1bf1f34c [18:42:10] I only need a technical help, that is a simple dump import [18:42:32] 03(mod) Please, may we use square brackets in JSON callbacks? - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12136 +comment (10Bryan.TongMinh) [18:43:36] bet here -->> http://pastebin.com/m1e38f518 [18:44:00] All these frakkin extensions for adding and formatting cats, but for excluding...? *shakes head* [18:44:15] Sasoriza: it works, i just tried it [18:44:34] at least on 1.13alpha (r31976) [18:44:36] jlerner: Yeah, normally it does, but not for what I'm doing [18:45:16] Doing "foo" as {{:foo}} and providing a different cat., trying to leave out foo's cats [18:45:23] ahoy folks [18:45:38] what's a reasonable timeframe to expect wikimedia to roll out the fix for bug 13442 ? [18:45:47] i'm not sure what release it's meant to be in [18:45:56] Excuseme, Could you help me in the dump import? -->> http://pastebin.com/m1e38f518 [18:46:07] Sasoriza: what are you trying to do? [18:46:19] look up ^^ [18:46:24] yeah [18:46:26] i don't get it [18:46:35] worked for me... [18:46:54] I'm trying to deploy it via template [18:47:33] yes [18:47:44] i have {{:Sandbox/Test}} in [[Sandbox]] [18:47:57] it doesn't pickup Test's categories [18:48:23] 03siebrand * r32241 10/trunk/extensions/UsageStatistics/SpecialUserStats.i18n.php: Fix link [18:48:29] Good afternoon. I am trying to elaborate a wikipedia in DVD. First intent to load a wikipedia locally.But when attempting it it shows me an error. -> http://pastebin.com/m1e38f518 [18:48:49] 03siebrand * r32242 10/trunk/extensions/UsageStatistics/SpecialUserStats.i18n.php: Fix typo [18:49:00] the page it transcludes in is transcluded, though [18:49:46] #switch, #if, #ifeq... all conflict with a category variable in a template on the transcluded page [18:50:12] 03(mod) New parser function / magic word, for "pretty-printed" numbers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13025 (10Greg_L_at_Wikipedia) [18:52:24] jlerner: Are you omitting cats on your transcluded page? [18:52:31] no [18:52:33] hmm [18:52:46] what wiki? [18:52:51] transcluded page content is: hi. [[Category:Job postings]] [18:52:56] just local test wiki [18:53:02] is there a .js at work? [18:53:11] i don't think so [18:53:14] it's pretty vanilla [18:54:34] Normally transcluding foo as in {{:foo}} will produce foo... including cats. AFAIK. [18:54:52] how long does it usually take for MW patches to make it into production at wikimedia? (i'm interested in bug 13442.) [18:55:01] 03rotem * r32243 10/trunk/extensions/CentralAuth/ (CentralAuthPlugin.php CentralAuthUser.php): Make CentralAuthPlugin::updateUser work properly: do save changes (were not saved on login); update e-mail authentication timestamp; only update attached accounts. [18:55:02] Not sure why it's excluding yours. [18:55:10] Sasoriza: not if you use ;-) [18:58:04] 03siebrand * r32244 10/trunk/extensions/SignDocument/SpecialSignDocument.i18n.php: Remove leading tabs, newlines before start of sentences [18:58:50] 03brion * r32245 10/trunk/phase3/includes/ChangesList.php: [18:58:50] Messed about in this horror myself a bit, think I got some issues worked out. :D [18:58:50] * Arrows align with the text again -- by keeping them within a text line, 'middle' alignment works [18:58:50] * Forced no-wrap whitespace to keep the line from breaking around the arrow or spacer image when the text line was long in Firefox [18:58:58] Hmm. For some reason that just isn't doing it. [18:59:36] jlerner: Which version do you have, again? [18:59:44] 03siebrand * r32246 10/trunk/extensions/Translate/Translate.i18n.php: Add link [19:00:37] Does anyone know why wget is reporting "connection reset by peer" recently despite the fact I've been downloading a dump all day. The URL also continues to work within my browser, its as if my wget download has been blocked...which is extremely annoying considering I'm over 50% there and I'd have to redownload using another tool [19:00:42] oh, the unreleased 1.13... [19:05:45] what's the default input for yes-no? y,n? 1,0? [19:06:17] Sasoriza, I'm not 100% what you mean [19:06:22] But PHP always uses true or false [19:06:29] which is the same as 1 or 0 [19:06:33] never yes or no [19:07:33] er, yeah, that's what I meant [19:08:36] Simetrical: poke [19:09:08] grrr, why doesn't $wgOut->addScript work inside a PersonalUrls hook? [19:09:34] Misza13: maybe because you're too late by the time it's run? [19:10:06] duh, but addHtml works? [19:10:21] you mean the is already sent but not the ? [19:10:35] that makes no snese though [19:12:17] brion, Hi, Do you know why the wikimedia.org servers are refusing to let wget to continue downloading a dump of articles? [19:12:22] I get connection reset by peer [19:12:32] But can view the download within a browser fine [19:14:19] wget is probably banned [19:15:03] It was working earlier [19:15:09] Why ban wget? [19:15:19] Its a very common download manager [19:15:25] And does no harm (from what I'm aware) [19:16:14] it's a slippery slope between letting people automate downloads of the content and opening up to a distributed denial of service attack [19:16:19] wget --header="User-Agent: lolmyagent 1.0" ... [19:16:32] I certainly wasn't causing a ddos attack [19:16:42] Nor was it an automated download [19:16:45] I manually called it [19:17:36] anyway, I want to include some JS only for logged-out users - any better ideas than checking for 'anonlogin' in PersonalUrls? [19:17:40] Misza13, I get the same thing when forging the user agent [19:18:25] 03(mod) Special:Categories hides categories having 0 current members - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10915 +comment (10Simetrical+wikibugs) [19:19:07] Misza13: if (!wgUserName) ... ? [19:19:41] is the download site down? [19:19:50] AlexSm: preferably, I don't want to load the JS *at all* for logged in users [19:19:56] Despot: Not you specifically, but wget in general. [19:20:07] Eric_: no [19:20:17] isnt workign for me [19:20:28] Firefox can't establish a connection to the server at download.wikimedia.org. [19:20:53] oh [19:20:57] that server is down temporarily [19:21:00] Misza13: make it a separate JS file, like en:MediaWiki:Sysop.js is called from Common.js ; there is no other way imho [19:21:15] Eric_: will be back up once stuff gets synced across, it gets sorted out and dns syncs itself [19:21:24] AlexSm: duh, I'm making an extension :| [19:21:26] thanks [19:21:30] urg, you are correct download servers are down...Firefox was caching :| [19:22:35] hi is the download link broken for mediawiki? I can't download http://download.wikimedia.org/mediawiki/1.12/mediawiki-1.12.0rc1.tar.gz [19:22:49] that server is down atm [19:22:52] will be back up soon [19:22:56] ok thanks [19:29:18] where's Rob Church? [19:33:27] Sasoriza: He's been gone for nearly half a year. [19:33:39] Just left, for the forseeable future according to his final blog post. [19:35:17] ah... thanks [19:36:24] it's unfoutunate though - he was a pretty decent developer [19:36:56] 03nikerabbit * r32247 10/trunk/extensions/Translate/SpecialMagic.php: * Trim spaces properly [19:39:38] hi guys, i was able to get subpages working with domain.com/Article using http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_PHP_as_a_CGI_module%2C_no_root_access#Alternate_option_II and it fixed all the other problems I was having [19:39:40] if anyone cares :p [19:40:21] Just wondered if he said anything, if he's alright, or whatever [19:41:21] "Just a quick heads-up for anyone who cares, but I have no futher intention to continue working on the (uncommitted) Slideshow extension I wrote for MediaWiki back in the summer, nor do I intend to commit the work I was doing on log formatting methods. I don.t see myself committing any further code to the mainline, nor any extensions for the foreseeable future." [19:41:30] -- Rob Church, June 2007. [19:41:52] Hmm. Curious. [19:42:15] I remember seeing that now. [19:43:20] Well adios muchachos [19:44:36] 03siebrand * r32248 10/trunk/extensions/ (32 files in 32 dirs): Formatting of messages and message files. No noteworthy content changes. [19:45:35] 03siebrand * r32249 10/trunk/extensions/Chemistry/ChemFunctions.i18n.php: Fix syntax error [19:46:10] Hmm, how queer. I can't get FCKeditor to work on any sites it's installedon. [19:47:27] oh, it just doesn't work in opera [19:49:21] 03nikerabbit * r32250 10/trunk/extensions/Translate/SpecialMagic.php: * Fix the table while I'm at it [19:50:05] 03siebrand * r32251 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Add support for EditMessages, and EditSubpages [19:52:42] 03siebrand * r32252 10/trunk/extensions/Translate/Translate.php: Fix typo [20:05:12] 03siebrand * r32253 10/trunk/extensions/Translate/Translate.php: Fix typo [20:37:23] 03(NEW) categoriespagetext should use {{PLURAL:}} for "Categor(y/ ies)" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13456 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [20:39:02] someone know kiwix?. I need help, I want to run a Spanish wikipedia offline [20:40:34] why getting it offline when you are already connected ? ;) [20:42:19] hashar: Because I'm in the 3er World [20:43:15] there are the static html dumps [20:43:28] It is for schools without conection, in my country. I live in a country of the third world. Venezuela [20:43:48] hmm they are no more generated :( [20:43:56] It doesn't fit in a DVD [20:43:59] brion, poke back. [20:44:22] wot [20:44:26] oh i had some question about.... something [20:44:30] category sorting ui [20:44:37] hi there guys - can I point out a little error in a default system message? [20:44:42] hashar: Could u help me? [20:44:44] The Special:Categories sorting UI sucks. [20:44:50] I just tacked stuff on the end. [20:44:51] 03(mod) Meta rights log should link to user page on affected wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 (10skizzerz) [20:44:57] atm it's only showing one of the available options; might or might not be nicer to have it show both options, like we do for the paging [20:45:04] !ask | Thehelpfulone [20:45:04] --mwbot-- Thehelpfulone: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [20:45:14] brion, you mean with one blanked out, I guess? That makes sense. [20:45:18] Should only take a second to fix. [20:45:48] ya [20:45:48] the trick is going to be to make sure it's not cluttered :) [20:45:49] libertad, venezuela is third world? [20:45:54] libertad: german people made a DVD I think [20:46:03] on all the wikis: lastmodifiedat=This page was last modified $2, $1. and lastmodifiedatby = This page was last modified $2, $1 by $3. -- are the defaults. However, just after last modified, there needs to be a *on* added - to make it grammatically correct [20:46:05] b0lt: yes [20:46:10] 03(mod) Meta rights log should link to user page on affected wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 +need-review +patch (10skizzerz) [20:46:14] hashar: link, spanish? [20:46:15] silly bugzilla doesn't let you add keywords when you submit patches >_> [20:46:21] brion, oh, well, prettiness, someone else can fix that. [20:46:31] Skizzerz, no, nor change statuses, or any of a ton of other things. [20:46:37] libertad: only in german, have a look at http://download.wikimedia.org/dvd.html [20:46:50] libertad: you might want to ask on the wikimedia foundation mailing list [20:46:53] Simetrical: my question asked above ^ [20:47:00] hashar: I'm searching a spanish version [20:47:14] Simetrical: anyway, mind checking that patch out to see if I'm crazy or something (if you aren't all that busy)? [20:47:24] hashar: link [20:47:47] Thehelpfulone, I don't know if it's incorrect, but "on" (or is it a date? "at"?) sounds better, I guess. [20:48:02] libertad: https://lists.wikimedia.org/mailman/listinfo/foundation-l [20:48:26] Simetrical: It is a date: # This page was last modified 12:11, 11 February 2008. [20:48:28] libertad: #wikimedia can help also ;) [20:48:53] It sounds okay to me. [20:48:59] hashar:I have already asked for those roads [20:51:31] bah my AjaxQueryPages do not support Pager pages :( [20:52:23] 03(mod) Meta rights log should link to user page on affected wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 +comment (10Bryan.TongMinh) [20:54:41] 03simetrical * r32254 10/trunk/phase3/includes/Pager.php: Per Brion's suggestion, show the selected options too for the Pager stuff, with no link, just as we do for the other bits. [20:55:58] Skizzerz, the patch doesn't seem to handle usernames that actually have a @ in them, which is possible for old usernames. [20:56:11] figured as much =/ [20:56:27] It also doesn't seem to account for whether you're actually on a Wikimedia site. [20:56:41] it was a meta-only patch as explained in the summary [20:57:01] Live hacks are bad. They confuse things. [20:57:03] 03(mod) FCKeditor extension broken with new parser in 1.12a - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12891 (10Simetrical+wikibugs) [20:57:03] I've got a bit more work to do before I can make one that works everywhere [20:57:14] Well, we have some stuff in the code that only works on Wikimedia. [20:57:27] But it only functions if some secret undocumented switches are set, is the point. [20:57:41] So hapless third parties won't get hardcoded attempts to open /home/wikipedia. [20:58:13] (Have you ever looked at commandLine.inc? Fun stuff.) [20:58:26] 14(INVALID) Merge create account and log in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13455 +comment (10brion) [20:58:31] Oh, wait, no, they get the hardcoded access anyway, it's just that it does nothing. :D [20:59:02] brion, I really liked it when I signed up. It was one less click than most sites. :( [20:59:14] I thought "Wow, this is really easy! Why didn't I do this before?" [21:00:47] 03(mod) Can't upload file with non-ASCII name (eg cyrillic) on Windows host - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1780 (10brion) [21:00:52] heh [21:01:40] 03(mod) Special:Categories hides categories having 0 current members - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10915 (10Simetrical+wikibugs) [21:07:03] hmm, dantman isn't here [21:09:59] 03brion * r32255 10/trunk/phase3/includes/Pager.php: [21:09:59] comment the extra category paging option links for now as they're kinda broken [21:09:59] the new options aren't retained on the paging links, and they don't interact correctly with various special page parameters such as starting points on the user lists [21:11:00] should the QueryPages be migrated as Pager ? [21:11:22] we have two places in code that handle the prev-next links now :p [21:11:46] hashar, that would be an excellent idea. [21:12:04] The current Pager structure goes like: Pager -> IndexPager -> AlphabeticPager, ReverseChronologicalPager, TablePager. [21:12:24] It would make much more sense to me if it went Pager -> IndexPager, QueryPager -> actual pages. [21:12:34] Er, rather, you need an extra class in there. [21:12:43] Since Pager is an interface, not a class. [21:12:54] my biggest trouble is that we have two differents methods that does almost the same thing [21:12:54] HELLO TO EVERYBODY - ONE LITTLE QUESTION: MY FIRST MADIAWIKI INSTALLATION IS COMPLETE; BUT TO GET TO THE SITE I HAVE TO WRITE WWW.example.com/wiki in my browser, but I WOULD LIKE IT LIKE www.example.com , can somebody help me? [21:13:00] Pager -> SomeGeneralPagerClass -> IndexPager, QueryPager -> ... [21:13:07] Traveler1, please turn off caps lock. [21:13:07] Traveler1: stop shouting please [21:13:23] !shorturl | Traveler1 [21:13:23] --mwbot-- Traveler1: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [21:13:32] Traveler1, note that the setup you want is not recommended at present. [21:14:13] why ? [21:14:32] Traveler1, interference with the web files, and special files like robots.txt. [21:14:52] how do I insert a table of contents into a mediawiki page? [21:14:59] __TOC__ [21:15:09] Or have at least 3 headers by default. [21:15:14] but this will be in the futur for some users very diffcult i thin [21:15:27] You can lower the number. [21:15:46] brion, the asc/desc option is not preserved when changing the order method, by design. You use the default sort direction for the new order. [21:16:15] any reason for that? [21:16:16] brion, stuff like offset doesn't seem to make sense to preserve if you're changing the sort direction, and certainly not if you're changing the sort type. [21:17:54] brion, originally I had it like you said, but it felt weird. If I went to the page and hit "sort by count", I got a descending count as expected. But then when I set the count to ascending and toggled back to descending and returned to sort alphabetically, everything was sorted backwards. [21:18:00] It seemed more intuitive this way when I tested it out. [21:18:14] thanks [21:18:57] brion, if you preserved the current sort order in all cases, you'd basically have the default sort orders forced to be the same, which is wrong. If I go to the page (getting ascending alphabetical sort) and then sort by count, I should get a descending count, not an ascending count. [21:19:22] What program do I use to unpack MediaWiki [21:19:31] It would make sense to preserve the offset for changing direction, although of course not for count. [21:19:54] I've enabled image uploads on my wiki, but mediawiki isn't chmodding the files correctly, so users are unable to view the images... how can I solve this? [21:19:59] or do i just upload it to my webspace in tar.gz form [21:20:11] Actually, something just occurred to me. Sorting by count is a problem, because count isn't unique. That's bad. [21:20:22] hmmmm [21:20:25] :( [21:20:46] It has to sort by (count, cat_id). Which of course means a filesort unless the index is changed, *already*. [21:20:48] sort by (count, name)? [21:20:54] bah [21:21:00] Yeah, that makes more sense than count, id. [21:21:21] Scott_Dude25, use any common unpacker that's better than WinZip. WinRAR, etc. Google for something. [21:21:35] If you have shell access you can use tar xzf in the shell. [21:22:12] brion, and I'm not sure that the ascending/descending thing is actually useful given that you can do first/last, come to think of it. [21:22:21] Hm. Maybe best to back all this out. [21:22:24] aww [21:22:29] well it looked neat :) [21:22:43] If we could keep the sort-by-count stuff it would be good. But that needs an index change. [21:23:56] Little help? I'm trying to add to the 'You've followed a link to a page that doesn't exist yet' page. Can this be done from within my wiki, or do I need to get into the SQL stuff? I've Googled relentlessly, but to no avail :( [21:24:02] How many rows is the category table? Small enough to do a live rebuild? [21:24:21] Dharma, look at Special:Allmessages. [21:24:31] great, thanks! [21:27:06] 03sanbeg * r32256 10/trunk/extensions/Cite/ (Cite.php citeParserTests.txt): add "group" parameter to allow multiple reference/footnote groups [21:27:41] 03brion * r32257 10/trunk/phase3/includes/ChangesList.php: Don't add spurious ')' in enhanced RC block line if we don't have a clean size change [21:27:53] 300406 rows on enwiki, Simetrical [21:28:04] it's not a huge table, we could see what happens ;)) [21:28:13] Should be a few minutes. [21:28:22] If not less, you have faster servers than I do. :P [21:28:43] I get like five to ten minutes for a couple million rows on my box. [21:31:44] brion: damn you! I was looking for how to make spans non-breakable and gave up on that route! [21:32:05] >:D [21:33:45] brion: you made it look easy :) [21:35:06] ok, enhanced RC looks better than a few days ago now [21:36:16] all: help semantic-mediawiki question over in #semantic-media [21:36:46] *brion is trying to make log entries work right now :D [21:37:59] brion: what is wrong? [21:38:14] nothing, it just doesn't support proper log entries yet [21:38:22] (with the title & ns set to the target, so we can put them in watchlist) [21:38:36] I was going to commit that soon [21:38:45] logs in watchlists [21:39:02] it works mainly by using the new unused RC fields [21:39:23] brion: problem is, some of that is mixed with the log restrictions code [21:40:08] that code restricts log_types in the logging table, but I am not sure if private logs should be in the same table [21:41:27] Is there a built in class for reading XML within MediaWiki? [21:41:30] *AaronSchulz really likes enhanced RC now [21:41:46] the lines don't bleed over back to the far left anymore, that used to be VERY ugly [21:41:53] brion, okay, I've killed the redundant direction sorting in my local copy. Should I reenable the sort by count on the Categories page, and make a note to fix the bug later, or leave it off until I fix the bug? [21:41:55] which is why I didn't use it before ;) [21:42:00] 03(mod) Logs about watched pages should appear in the watchlist and recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5546 (10brion) [21:42:19] i stuck my work patch on that bug, AaronSchulz. feel free to use it or laugh and throw it away ;) [21:42:28] i'm gonna poke at other things in the meantime [21:42:36] In practice it will work well enough for the big categories, which is what people are mostly going to be interested in, but it's still kind of stupid of me. [21:42:40] brion: ok, when can we sort out the private log issue? [21:42:50] Simetrical: i'd say leave it off until we make it work right :) [21:42:59] Okay. [21:43:07] brion: maybe I could make a patch to give the gist of the method [21:43:33] sera [21:43:36] *Simetrical will have to add support for multiple-column sorting to IndexPager, probably not going to happen right now [21:44:30] 'sera franc1 [21:44:51] se4ra [21:45:01] sera [21:45:25] Simetrical: after I finish the few rev_deleted file merges, I want to make logs use Pager [21:45:29] using timestamp [21:45:30] sei italiano [21:45:45] (unless Rob Church magically returns and does it) [21:46:46] AaronSchulz, yay. [21:48:41] 03brion * r32258 10/trunk/phase3/skins/common/upload.js: bug 13448 second bit [21:48:47] 03(FIXED) Upload form w/o wpDestFileWarningAck generates error in upload. js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13448 +comment (10brion) [21:49:35] 03simetrical * r32259 10/trunk/phase3/ (5 files in 4 dirs): [21:49:35] Remove the functionality allowing users to change the default direction; this is [21:49:35] basically redundant with first/last. Uncomment the multiple-ordering stuff in [21:49:35] Pager.php, since it works fine, but comment it out in SpecialCategories.php, [21:49:35] since the index is not unique and it won't sort correctly. IndexPager needs to [21:49:38] support multiple-column sort, and the index should be extended to (cat_pages, [21:49:40] cat_title). [21:51:14] 03brion * r32260 10/branches/REL1_12/phase3/skins/common/upload.js: last bit of last bug fix [21:51:22] 03(mod) Allow multiple classes of footnotes on the same page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6271 +comment (10ssanbeg) [21:52:04] i'm gonna go ahead and push out 1.12.0 [21:52:13] 03greg * r32261 10/trunk/phase3/includes/Linker.php: Annoying typo. [21:52:29] how can I get mediawiki to chmod image uploads correctly? when users upload them they can't view them :/ [21:52:39] I have to manually chmod it each time [21:57:18] mrmonday, what are permissions and ownership when MW creates the file? [21:57:44] not sure, I just chmodded it straight away [21:58:41] mrmonday, the permissions should generally be fine. If not, you maybe have a weird umask set or something. [22:01:12] 03ialex * r32262 10/trunk/phase3/includes/filerepo/ (File.php LocalFile.php): Fix call to deprecated functions [22:05:06] 03brion * r32263 10/branches/REL1_12/phase3/ (RELEASE-NOTES includes/DefaultSettings.php): bump to 1.12.0 [22:06:16] How do I get the current interface language being used? [22:06:42] 03(mod) Allow multiple classes of footnotes on the same page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6271 +comment (10Simetrical+wikibugs) [22:07:06] MinuteElectron, $wgLang. [22:07:10] thanks [22:07:25] 03brion * r32264 10/tags/REL1_12_0/: 1.12.0 bump woo [22:10:26] *siebrand congratulates brion. [22:10:32] \o/ [22:11:58] yeahhhhhhh [22:12:23] 03siebrand * r32265 10/trunk/phase3/languages/ (3 files in 2 dirs): Adding script variants for Tatar (Latin and Cyrillic). Defaults to Latin. [22:15:33] 03aaron * r32266 10/trunk/phase3/includes/SpecialUndelete.php: Remove bogus variable call [22:18:52] 03aaron * r32267 10/trunk/phase3/includes/filerepo/LocalRepo.php: Check extension of key too, for the off chance of collisions [22:22:54] 03(NEW) ES Wikinews - Editprotected for bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13457 15enhancement; normal; Wikimedia: Site requests; (julian_pastine) [22:24:07] 03(mod) Allow multiple classes of footnotes on the same page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6271 (10ssanbeg) [22:24:11] 03(NEW) An empty trailing line is added to preview - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13458 minor; normal; MediaWiki: Page editing; (mormegil) [22:24:48] 03(mod) An empty trailing line is added to preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13458 (10mormegil) [22:25:41] 03(mod) ES Wikinews - Editprotected for bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13457 (10julian_pastine) [22:25:59] 1.12.0 out [22:26:00] enjoy [22:26:07] brion: your release script should also update wikipedia :) [22:26:21] http://en.wikipedia.org/w/index.php?title=Template:Latest_stable_release/MediaWiki&action=edit [22:27:27] 03(NEW) Private logging trough Special:Log interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13459 15enhancement; normal; MediaWiki: Special pages; (JSchulz_4587) [22:27:40] brion: there we go [22:30:59] have a good night ! [22:31:22] 03siebrand * r32268 10/trunk/extensions/Makesysop/SpecialMakesysop.i18n.php: tt->tt-latn [22:31:31] hashar: n8 [22:45:11] how long is the reanimation sequence for roan? [22:51:21] 03brion * r32269 10/trunk/phase3/includes/ChangesList.php: hackaround for table background hardcoded in monobook [22:54:34] thanks again Simetrical, bye all [22:57:22] I got an odd PHP error about a call to a non-object when the DB was down, isn't there supposed to be a prettyfied error message for that? [22:57:42] This on 1.12.0rc1 [22:57:55] nope [23:00:17] Fatal error: Call to a member function selectRow() on a non-object in /home/aqstats/public_html/wiki/includes/User.php on line 701 [23:00:51] 03brion * r32270 10/trunk/phase3/ (includes/DefaultSettings.php skins/monobook/main.css): [23:00:51] Don't force a white background on s appearing in a
; [23:00:51] this'll take care of most uses of table layouts in special forms on [23:00:51] sites like English Wikipedia which add a non-white background color [23:00:51] to the special page namespace. [23:03:31] hi there. I've been receiving spam coming from wikipedia.org addresses. I suppose those are fake addresses, but is there a way it could be avoided? [23:03:57] I mean, that is harmful for Wikipedia's reputation, at least [23:04:13] Waldir: check the headers, its likely spoofed [23:04:13] brion: http://en.wikipedia.org/wiki/MediaWiki_talk:Monobook.css#Light_BG_fix [23:04:52] MrZ-man: what about it? [23:04:55] 03brion * r32271 10/trunk/phase3/includes/filerepo/LocalRepo.php: [23:04:55] Revert r32267 (require match of file extension when doing SHA-1 file lookups). [23:04:55] This would fail to match files which have legitimate variations of an extension (case, aliases -- .JPG vs .jpeg etc) [23:04:55] Would also fail to match files which can't be type-checked reliably so might be uploaded under multiple different extensions without impediment. [23:05:16] brion: I think that's what you just fixed in r32270 [23:05:21] Charitwo, how do i do that on gmail? [23:05:22] MrZ-man: yes i know [23:05:26] that's why i fixed it [23:05:44] so the changes that were just made locally are unnecessary now? [23:06:18] well, once you sync it [23:06:28] I have media-wiki 1.6 and I want to upgrade; should I upgrade to 1.11, as written here: "http://www.mediawiki.org/wiki/Manual:Upgrading" - or should I upgrade to "current version", that is, 1.12, and if so, where will I find a guide for it? [23:06:32] yes [23:06:43] ^ MrZ-man [23:06:49] peleg: upgrade to 1.12 [23:06:57] Charitwo, I guess i found it... "show original" [23:07:17] brion: will you be syncing it soon? [23:07:21] brion: thanks - the same upgrading guide applies? [23:08:28] peleg: yep [23:08:34] i just di d asearch-replace of the version numbers [23:08:55] brion: cool, thanks! [23:08:55] *Mike_lifeguard was surprised that upgrading mediawiki using SVN is easier than updating most other software [23:09:41] svn up; php maintenance/update.php <- works most of the time :D [23:13:30] seem wfGetDB return a null somehow. [23:13:53] I'm guessing the connection was lost in the script execution [23:14:12] I'm trying to make a logo be in the corner of my mediawiki installation (1.11.2) [23:14:21] It's not appearing [23:14:57] This information seems to make it not work properly at all: http://www.mediawiki.org/wiki/Localsettings#Logo [23:18:00] Charitwo: http://rafb.net/p/iIljrp67.html [23:18:06] how can I tell :s [23:18:07] ? [23:19:42] can the logo be jpeg, or is it restricted to png only? [23:21:20] jpeg is allowed [23:24:17] then the instructions given don't work [23:24:44] if I do what it says on that page, the whole site lists itself as text in a single galley [23:25:47] I can't believe it's taken a whole evening just to put the logo in, and it still isn't in [23:29:41] 03(mod) Block element written inline splits multiline paragraphs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5718 summary; +comment (10mormegil) [23:30:18] 14(DUP) Line break in tablecells - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8037 +comment (10mormegil) [23:30:18] 03(mod) Block element written inline splits multiline paragraphs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5718 +comment (10mormegil) [23:30:38] unbelievable. It still isn't showing. What on earth am I supposed to do to make the logo appear? [23:32:34] username: Do the error logs indicate an attempt to load the image? [23:32:37] Ok, I have tried to upgrade using the instructions in the site... well: after renaming localsettings.php to localsettings.old.php, and pointing my browser to my wiki's url, I am redirected (using a link) to mypath/config/index.php, only to see an "Internal Server Error" and " The server encountered an internal error or misconfiguration and was unable to complete your request.". any ideas? [23:33:19] which is the error log? [23:33:35] username: For your web browser. [23:33:44] ah - I'll find out [23:34:23] peleg: You might also benefit from looking at your error logs, it should spell out the exact problem. [23:34:56] G_SabinoMullane: where shall I find these? [23:35:25] here's hundreds of 'file does not exist' messages, [23:35:27] and: I am not sure that I'll find it there, because it doesn't look like a media-wiki error, more like an apache error. [23:35:32] http://wiki.freeall.org/config/index.php [23:35:41] peleg: Right, you want to check the apache error logs. [23:35:58] G_SabinoMullane: can't. It's on a shared host. [23:37:25] No access to the logs at all? Time for a better host. You'll have to do it the long painful way and just check everything blindly and keep reloading. [23:37:51] my logo file does exist, though [23:37:55] G_SabinoMullane: ok, I'll try to figure out how to check these logs.. maybe it is possible somehow. [23:37:58] Thanks! [23:38:03] peleg: Check the file permissions on config too. [23:38:39] G_SabinoMullane: I made it 777 (the directory: should the file itself be also like this?) [23:38:41] username: It may be looking in the wrong place for it then. [23:39:03] peleg: No, that's fine. [23:39:15] ok, thanks [23:39:46] Well, I'm typing in what it says to type in, in the right place, in http://www.mediawiki.org/wiki/Localsettings#Logo - what else is there to go on? [23:40:24] the logo file is correctly copied into skins/common/images/ [23:41:02] I usually just stick it in the same dir as LocalSettings.php to make it easy. [23:41:30] username: make it an absolute path (like http://yourwiki.com/wiki_path/skins/common/images/logo.png) [23:41:45] instead of a relative path like /skins/common/images/logo.png [23:41:52] okay [23:41:59] /skins/common/images/logo.png is an absolute path [23:42:07] http://exaple.com/whatever is a absolute URL [23:42:12] >_> [23:42:21] absolute URL then :) [23:42:46] *Skizzerz thanks lyingparchment for the clarification [23:42:53] * flyingparchment >_> [23:43:55] hi [23:44:04] i use the beagle skin [23:44:22] but i can't insert the edit tollbar! plesa help me! [23:44:42] thanks. that's worked. I can't believe that official document was wrong. Six bloody hours that's wasted, trying what it said. [23:45:25] username: they're almost all volunteers, and all extremely busy :) [23:45:39] oh that's alright then [23:46:11] username: perhaps you could fix up the documentation? [23:46:52] yes, very good idea - get someone who hasn't the slightest clue what it's all about, and has been using it for an afternoon to write up on it. I'll see what I can do. [23:47:26] username: you could fix the problem you ran into, or at least put a warning - <--- THIS MAY NOT BE RIGHT ! [23:47:35] Well if it's too complex and that's why you made misunderstood, then having you do it would be a good idea. That's why it's on a wiki, after all [23:51:42] I'm trying to rewrite the mediawiki manual based on this afternoon's extensive experience I now have, but it won't let me edit it. [23:52:12] I've got a user account, but there's no 'edit' facility [23:52:34] there's no edit tab at the top?? O.O [23:52:51] that's right. there's no edit tab at the top [23:53:07] that's not good. what page? [23:53:14] aha, its protected [23:53:24] http://www.mediawiki.org/wiki/Manual:LocalSettings.php#Logo [23:53:25] *semiprotected [23:53:30] semi, yes. [23:53:46] i retract my earlier comment encouraging username to fix that page [23:54:06] oh well, could someone else edit it and point out that the logo instructions are flawed? It might spoil the effect, though, if someone with actual experience does it. [23:54:19] yeah, that's a bummer. sorry man. [23:54:22] you can complain on the talk page... [23:54:26] no problem. [23:54:31] Mike_lifeguard: I don't think unprotecting it will harm it, it was protected way back in June [23:54:42] so the protect reason may not apply anymore [23:54:50] *Mike_lifeguard isn't an admin there, but I'd give it a try, yes [23:54:59] well, my logo is appearing, so I'll leave it with you people. Thanks though. [23:55:31] unprotected [23:55:44] one thing though: this line makes mediawiki list the page as a single galley of text: $wgStylePath = "/wiki/skins/"; [23:55:48] username: you should be able to edit it now [23:55:53] without that line, it doesn't break [23:56:06] thanks [23:56:22] hi, I have read the FAQ and so forth. I want to create a mediawiki with two different types of docs, and I want to have the ability to restrict my searching to one or the other, or both. from reading the docs it seems like I "should" create a namespace for each of those types of docs, and that will do what I want. but I'm not sure if I'm misunderstanding how I "should" use namespaces, so I am asking here. :) [23:57:16] just append the name of the namspace followed by a colon to the beginning of the pagename [23:57:21] !namespace | derwin [23:57:21] --mwbot-- derwin: For help with understanding and manipulating namespaces, please consult . See also !extranamespace [23:57:30] !extranamespace [23:57:30] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [23:57:51] yes, I know how to add namespaces, I'm asking if namespaces are what I want to add.. :) [23:57:58] derwin: I'd say so, yes [23:58:09] yay, thanks for the sanity check! :D [23:58:10] yes, considering searching them is a major point of yours [23:58:36] ok, I noticed there was some upcoming (but not extant) stuff for searching categories, so I wanted to be sure I wasn't hosing myself by committing to namespaces, etc. :) [23:59:03] 03(mod) Block element written inline splits multiline paragraphs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5718 +comment (10mormegil)