[00:00:39] I have an existing 1.11.x install, but I am using a from-scratch theme that I built to integrate Mediawiki with the Mantis Bug Tracker. Will there be conflicts if I upgrade to 1.12.0, or is the theming system unaffected? [00:01:35] nuclear_eclipse: shouldn't be affected to the point where it breaks your theme, but you may need to update it with other new features that were implemented in 1.12.0 [00:02:09] Skizzerz: do you have a link to any information about the new features? [00:02:24] thanks, guys! :D [00:02:45] nuclear_eclipse: check the release notes? [00:02:58] I've edited the page on the logo - is it acceptable? [00:03:00] ok, thanks [00:04:02] username: yeah, pretty good. The only thing I would recommend against is signing your name [00:04:22] ah [00:04:36] username: yup. I'm going to add something anyways, so I'll take it out for you [00:04:52] done [00:05:13] well, that's going to help someone else I hope. Thanks everyone [00:06:03] it might be version related, so I've indicated that what I found is relevant to 1.11.2 - perhaps the original advice worked in some previous but unindicated version [00:06:58] damn api [00:07:00] that particular bit of code doesn't get drastically changed to maintain compatibility, so I'd imagine it would apply to earlier versions as well [00:07:50] I've received spam from a wikipedia.org address. can someone please tell me how to read the email headers to figure out wheter it is spoofed? [00:08:57] Waldir: check your mail prog for 'view headers' or 'view source' option [00:09:07] then poke through the lines looking at the various servers and such [00:11:44] brion http://rafb.net/p/iIljrp67.html I tried but there's too much stuff :s [00:12:15] I dont know where to look, or what to look for.. [00:14:45] Hi Iam currently trying to upgrade from 1.11 to 1.12.. running "php5.1 update.php" in the maintenance gives me: [00:14:50] Fatal error: Call to undefined function session_name() ... [00:16:20] 03brion * r32272 10/trunk/extensions/DidYouMean/DidYouMean.php: Don't toss in empty lines on pages that don't need a see templtae... [00:19:28] never mind... now it worked (had to enable some modules in the cli version of php5) [00:19:30] 03brion * r32273 10/trunk/extensions/Cite/ (Cite.php citeParserTests.txt): Revert r32256 -- lots of notice errors about undefined index & such seen while running tests [00:20:19] hm but I still get these unserialize errors on the PG database... :-/ [00:22:49] bah i'm getting out of here whiel i still can :D [00:31:14] is it safe to type xml tags in a bugzilla report - will it escape them? [00:31:26] yes [00:31:44] thanks [00:39:44] 03greg * r32274 10/trunk/phase3/includes/UserMailer.php: Don't call composeCommonMailtext() until we are sure we need to. [00:52:15] is anyone familiar with the chinese character set (trad, simp, etc.) selection functionality of MW? [00:52:36] i'm hoping to take it and use it for another project, but i don't have much clue about its scope or implications [01:10:26] 03greg * r32275 10/trunk/phase3/includes/Article.php: Don't attempt to insert if there are no rows. [01:11:36] hi when i installed the new version of MediaWiki it game me a php.ini error [01:13:04] hello [01:18:44] hello [01:18:56] hello - what's up? [01:25:06] hi when i install it gives me a nice error [01:25:09] on line 11 [01:25:59] error message? [01:26:43] Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /home3/zarknetw/public_html/driverwiki/includes/SiteStats.php on line 11 [01:27:10] waps not supposed to paste in here [01:27:15] but no one else is using [01:27:19] one line is ok :) [01:27:29] it looks like you don't have enough memory? [01:28:05] yeah but in the install it said 4m then was like adjusting to 20m.. ok [01:29:02] sorry, I don't understand you [01:29:04] is there a way to increase memory [01:29:13] or are other apps using the memory [01:30:04] I'd /guess/ other applications are using memory. [01:30:29] well its on a webserver [01:30:49] and there are maybe 3 other media wikis installed [01:30:51] but they work [01:31:49] *Mike_lifeguard doesn't know enough to help you, sorry. [01:32:30] its cool [01:32:59] Hey all. Question about namespaces. How can i translate a namespace number into its text, within a special page? [01:35:38] I guess i can always run the text through the parser like this: {{ns:'.$namespaceNumber.'}} But i'd prefer not to do that, if there's some other variable i can use [01:40:10] m4fia: is your php.ini limiting how much memory you can use? [01:40:54] 8MB isn't much. looks like my wiki has memory_limit = 1024M [01:43:55] . . . That's a bit excessive. [01:44:25] You'd better hope nothing tries to use that much, or else Apache is going to be killed by the OS on out-of-memory. [01:44:37] 20M is recommended. More might be useful, say 30M. [01:45:44] duke33, you want to use one of the methods provided by Namespace.php. Like Namespace::getCanonicalName(). [01:45:59] Hmm, no, I don't think that will work. [01:46:05] Hm, I guess it is excessive, but it hasn't seemed to cause problems [01:46:13] Well, you can index into $wgExtraNamespaces or whatever the variable is. [01:46:35] it's using suexec, so it certainly won't kill Apache itself [01:46:36] geofft, because nothing's tried to use it. That's a per-thread setting. You're saying every Apache child (assuming mod_php) is allowed to use 1G of RAM. [01:46:40] Ah, okay. [01:47:08] That's spawned anew for each request, so actually it won't kill any of them, probably. [01:47:23] Probably it will kill MySQL instead, since odds are that will be using more than 1G of memory. :P [01:48:03] MySQL's on another server :-) [01:49:02] Thanks Simetrical - i tried wgCanonicalNamespaceNames, and that seems to work [01:49:06] much obliged [01:51:35] 03(mod) Malayalam language characters don't work well with mediawiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11162 (10wikipedia.kawaii.neko) [02:16:42] 03greg * r32276 10/trunk/phase3/includes/Article.php: Revert last patch: not needed due to 32233. [02:21:02] If a Wiki doesn't set a license in it's configuration... What can be said about the status of the wiki? [02:34:44] 03(NEW) API generates an internal error when filtering image links by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13460 15enhancement; normal; MediaWiki: API; (carnildo) [02:35:11] 03(mod) API generates an internal error when filtering image links by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13460 (10N/A) [02:46:27] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10mrzmanwiki) [02:47:19] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +need-review +patch (10mrzmanwiki) [03:07:46] 03(NEW) log rollback edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13461 15enhancement; normal; MediaWiki: General/Unknown; (oysterguitarist) [03:08:23] 03(NEW) Enhance line matching in diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13462 15enhancement; normal; MediaWiki: History/Diffs; (random832) [03:08:55] filed my diff bug i was talking about a couple weeks ago - 13462 [03:34:44] 03(NEW) zh-tw user still sees zh-cn upon login first page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13463 15enhancement; normal; Wikimedia: Language setup; (jidanni) [03:35:19] 03(mod) Incomplete Taiwanese translation of "jumpto" and related messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8056 (10N/A) [03:44:23] ugh, rollback logs [03:44:31] man, it is just an edit [03:46:50] Does anyone know what this new "Remove restrictions on restored revisions" checkbox is? [03:47:13] sounds like an AaronSchulz thing [03:47:47] Mike_lifeguard: is this on a testwiki? [03:48:05] this is on en.wb, but I noticed it when I just updated my own wiki [03:48:39] hmm, I see it on en. [03:49:12] was it not supposed to go live yet? [03:55:03] also, it appears (and is checked by default) when undeleting pages which were not previously protected :\ [04:02:18] AaronSchulz: so... does it do anything, or does it just look confuxing? ;) [04:27:32] Also, there was work mentioned at one point about a method of doing history merges without the fuxed delete-undelete thing we currently do. [04:27:56] If I wanted to look at the code, would someone suggest a location to start (a location more specific than "In SVN" :D ) [04:28:42] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialMergeHistory.php?view=markup [04:29:00] lovely; thanks [04:43:39] Being able to arbitrarily move individual revisions would be a more useful tool than "take this title, take this other title, merge them" [04:44:08] the simple case would be move all revisions of one article onto another [04:44:22] but there are more complex cases [04:50:47] 03aaron * r32277 10/trunk/phase3/includes/SpecialUndelete.php: Don't show checkbox is the user can't use it [04:50:59] Mike_lifeguard: there we go [04:51:15] Random832: like what? [04:51:24] cases that actually occur [05:00:11] Hi guys [05:00:21] How do you like mediawiki? [05:00:29] Compared to other wikis [05:06:10] Nobody here? [05:08:20] hey derwin [05:08:26] hi! I am wondering if someone could point me in the direction of a mediawiki help page regarding including one mediawiki page's content in another, dynamically... :) [05:08:27] How do you like mediawiki? [05:08:47] Janice: I like it quite a bit, and not only as an avid wikipedia user :) [05:08:57] Did you check the extensions? [05:09:09] I know there is templating which allows you to include the template with values [05:09:12] I'm new to all this [05:09:22] but is there any way to include the entire text of another page? [05:09:36] 03aaron * r32278 10/trunk/phase3/includes/SpecialRevisiondelete.php: [05:09:36] rev_deleted merge: [05:09:36] *Allow deletion of archived revs, live old files, and archived files [05:09:36] *Allow viewing of deleted live old files [05:10:04] How will it know what to create and when to create it? [05:10:26] I'm thinking of a dynamic include [05:10:34] so that it loads the current state of the other page [05:11:30] There's a "Latest" extension I believe [05:11:38] Where it shows titles [05:11:54] Not entire message bodies [05:12:13] Though you might be able to modify the script for your purposes [05:13:03] Is there something for mediawiki when it comes to videos? Like displaying the latest added videos on a single page? [05:15:54] d'oh, well, no idea :) [05:16:34] http://en.wikipedia.org/wiki/Wikipedia:Transclusion [05:16:36] aha! [05:16:37] thanks, google :) [05:18:00] 03(NEW) Local Stewards on test.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13464 trivial; normal; Wikimedia: Site requests; (lilewyn) [05:43:59] 03(mod) Local Stewards on test.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13464 (10wikimedia.lestaty) [06:03:06] 03(NEW) cmnamespace=0 gives an internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13465 normal; normal; MediaWiki: API; (satyrtn) [06:14:56] 03(mod) cmnamespace=0 gives an internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13465 +comment (10JSchulz_4587) [06:26:28] What release was the new undo feature added to MW? [06:28:10] *AaronSchulz added it, but can't remember [06:28:14] 03aaron * r32279 10/trunk/phase3/includes/api/ApiBase.php: $value should come in as a string (if it doesn't, trim() will cast it to one anyway). Once trimmed, a truly empty list should be "" not "0". This fixes the massive namespace param breakage. [06:28:17] n/m [06:28:51] It was pre 1.9.3, I'm trying to list some of the major features added since then [06:39:57] 03(FIXED) cmnamespace=0 gives an internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13465 +comment (10JSchulz_4587) [07:04:16] AaronSchulz: wha? [07:04:19] AaronSchulz: I wrote undo :( [07:04:32] he mean multi-undo :) [07:04:38] oh, he didn't [07:04:39] huh [07:04:57] *AaronSchulz is seeing shit [07:05:04] *Werdna frapper AaronSchulz avec une grande truite francais. [07:58:27] hey, in wikimarkup, how do i continue a numbered list after some text that is outside the list? [07:58:33] for example... #first bit [07:58:36] #second bit [07:58:41] then something else [07:58:43] #third bit [07:58:53] the numbering starts again at 1... [08:02:34] it's a bit lame, gotta do it with
[08:02:52] maybe the wizzes in here know of a different way [08:03:45] hmm... bit hackish [08:03:50] but it should work :) [08:04:25] use
    [08:04:30] not sure about the attribute name [08:04:43] and then do it with
  1. the next item
  2. [08:04:44] etc [08:05:14] huh? [08:07:30] Werdna, so where does the
      go? [08:07:45] for the new list [08:07:47] i.e. [08:07:49] # Something [08:07:52] # Something else [08:07:56] Oh, and some text here [08:08:32]
        [08:08:37]
      1. Yet another thing
      2. [08:08:42]
      3. Something else
      4. [08:08:44]
      [08:08:46] ^^ [08:08:52] Werdna, perfect, thanks. [08:15:50] *SQLDb pokes werdan7 [08:15:51] ERR [08:15:56] *SQLDb pokes Werdna [08:16:14] {{subst:Archive top}} {{subst:Archive bottom}} [08:16:16] *SQLDb stabs [08:16:39] great work tho :) [08:20:33] SQLDb: ah [08:20:34] my bad [08:20:38] I'll get to them :P [08:20:45] I got 'em :P [08:21:12] ah [08:21:20] I don't think there's a backlog at all anymore [08:22:01] btw -- /Approved, if they don't have the bot flag, it's just {{BRFA|BotName|Tasknum(or not)|Approved|~~~~~}} the crats'll subst them when they give the flags :) [08:22:12] it took me 2 weeks to figure that out :P [08:22:39] *SQLDb agrees, no backlog [08:22:40] I tried that already [08:22:42] but it didn't work [08:22:44] ahh [08:22:49] me either my first several tries [08:23:10] *SQLDb points to http://en.wikipedia.org/w/index.php?title=Wikipedia%3ABots%2FRequests_for_approval%2FApproved&diff=199788413&oldid=199785433 [08:23:29] *SQLDb kinda screwed that one up too [08:24:07] :P okay [08:24:23] hahaha erwin's bot already was flagged. Mea culpa :P [08:25:50] :D [08:27:57] 03huji * r32280 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [08:36:13] Werdna: I'm thinking of closign postbot and pseudobot w/in a week, if no responce [08:49:21] SQLDb: yeah [08:49:34] 03(NEW) White space differences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13466 15enhancement; normal; MediaWiki: History/Diffs; (huji.huji) [08:50:09] 03(mod) Enhance line matching in diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13462 +comment (10huji.huji) [08:51:22] 03(mod) log rollback edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13461 +comment (10huji.huji) [08:51:28] 03werdna * r32281 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialMovepage.php): [08:51:28] * Disallow deletion of big pages by means of moving a page to its title and using the [08:51:28] "delete and move" option. [08:54:31] 03(mod) Private logging trough Special:Log interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13459 +comment (10huji.huji) [09:09:14] Does anyone know of a way I can make my titles completely case insensative, I wish to have a page LikeThis which is also the same as Likethis and likethis etc [09:31:41] Despot: you can't without hacking, and not retroactively. I can think of a hack, bu that would cause all titles to be shown in all upper or all lower-case too, always. [09:32:31] the hack is: in Title.php, find the line that sais "ucfirst", and replace ucfirst by "uc". [09:32:43] that forces all page titles to upper case onnormalization. [09:33:50] Can I change it to lc to make them all lowercase? [09:35:03] or just change database fields to be case insensitive :)) [09:37:40] 03(NEW) Add link type selectors to Special:WhatLinksHere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13467 15enhancement; normal; MediaWiki: Special pages; (kalan.001) [09:38:44] domas, as far as I know, this way is buggy [09:39:13] :( [09:39:16] is it? :) [09:40:59] domas, should be, because you will still see the improper tooltip; you may have duplicate table entries in different places, etc [09:41:49] you will not have duplicates [09:41:58] because those would have to be resolved at conversion :) [09:42:21] hm [09:42:23] indeed [09:42:45] but MediaWiki will be still unaware of this schema change, so it still may cause unwanted bugs :) [09:52:47] 03(FIXED) API generates an internal error when filtering image links by namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13460 +comment (10Bryan.TongMinh) [10:27:18] !bug help [10:27:18] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=help [10:27:29] hmm. [10:27:43] Morgen [10:27:46] !bug 13460 [10:27:46] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=13460 [10:27:56] That's a pretty simple script :) [10:28:26] I remember there is something that automatically grabs the bug if I say something like bug #13460 or something similar. [10:55:29] 03(mod) Allow modification of a block without unblocking - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10080 (10huji.huji) [10:56:33] ialex: have a sec? [10:56:39] Hojjat: yes [10:56:45] 03(NEW) Add message MediaWiki:Sitematrix-summary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13468 15enhancement; normal; MediaWiki extensions: SiteMatrix; (bugzilla.wikimedia) [10:56:55] could you please apply and test the patch I provided for 10080 [10:57:08] !b 10080 [10:57:08] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=10080 [10:57:49] I think I need your help, regarding the style of coding you have [10:58:00] The code needs to get cleaned up "and" tested [11:01:01] maybe it would be great to have a confirmation check box when modifying an existing block (like when a user is saving a page that was deleted between the time he started to edit and the time he saved the page) [11:01:34] for exampe if two admins block an user at the same time [11:03:21] is it possible to move a bunch of images to the images directory? how does the structure work? I already tried Special:UploadLocal, but that doesn't work out of the box or with the suggested fix [11:05:06] BamieaterX: use maintenance/importImages.php [11:05:35] BamieaterX: copying filesinto the structure would be possibel (it's md5-based), but pointless (images need to be registered in the database) [11:05:50] 03(mod) categoriespagetext should use {{PLURAL:}} for "Categor(y/ies)" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13456 +comment (10huji.huji) [11:06:03] I don't understand what the 'reupload-shared' permission does, can someone explain it to me? [11:06:09] ialex: yeah that is a great idea [11:06:17] why not to post it to the bug? [11:07:03] we can compare the timestamp the form was loaded and the timestamp of last block. If no block is there -> someone else has unblocked the user, so we don't save it right away, and let the admin know first! [11:07:21] if the timestamp of form is less than the last block => a new block has taken place.. so again ... [11:07:47] ialex: nevertheless, I still think the patch doesn't do what it can do by far, totally correctly [11:07:55] I feel it is mixing autoblock and user blcok otions [11:14:05] 03(mod) Tabs collapsed on LTR wikis for RTL users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13447 +comment (10huji.huji) [11:15:04] Hojjat: (Stripping trailing CRs from patch.) [11:15:11] *ialex hates windows [11:16:10] well, don't blame Windows that much. If we had an option to "svn diff" which would create the diff in the same line ending as the original file(s), we could live with it :) [11:17:21] Thank you whoever came to their senses and implemented move without creating a redirect. [11:18:04] poks [11:20:07] Except for the fact it doesn't work. [11:20:52] Duesentrieb: ty, it's importing right now [11:20:55] Does anyone know how to get the permission 'supressredirect' to work? [11:22:49] Duesentrieb: Any chance of your extension repository being updated? [11:23:11] MinuteElectron: it should update automatically once a week. does it not? [11:23:18] Yeah. but it's currently on 17th March, lots of changes have ahppend since then. [11:23:39] I'll just checkout svn then, not a big deal. [11:24:21] i canjuststartanupdate manually [11:24:36] naah, updating svn is quicker [11:24:44] :P [11:24:45] i just realised that i have all the extensions already checked out [11:24:53] do you knowanything about using the new preprocessor stuff? [11:25:00] one of my extensions is broken because of the change. [11:25:00] me? [11:25:05] yea. [11:25:12] *someone* gotta know :P [11:25:20] sorry, I don't have any experience with that stuff [11:25:25] the parser confuses me [11:25:31] it confuses everyone [11:25:41] and now the preprocessor confuses me too :( [11:25:49] mmh, which one is broekn? [11:26:03] News [11:26:22] i know why it is broken [11:26:27] i just don't know how to fix it [11:33:54] 03(mod) Local Stewards on test.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13464 +comment (10dungodung) [11:36:55] Duesentrieb: Has lockdown been tested with 1.12? [11:38:07] *h0n3st is back (gone 02:57:25) [11:40:52] MinuteElectron: onlywith eaqrly 1.12alpha [11:41:22] Does anyone have any experience with mwdumper? [11:41:25] MinuteElectron: i was going to update my own site to 1.12rc or 1.13alpha, but got stuck on the problem with News.So ididn't get around to test anything else [11:41:30] I'm reciving a java error when attempting to run it [11:42:14] Duesentrieb: oh, fair enough [11:43:12] Duesentrieb: I've set up a development version of one of the wikis I maintain to make the move, lots of the stuff is out of date so I'm using this as an oppertunity to clean up code and update - then push it out to the main site. [11:48:39] 03nikerabbit * r32282 10/trunk/phase3/ (4 files in 3 dirs): * (bug 13466) White space differences not shown in diffs [11:49:29] 03(FIXED) White space differences - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13466 +comment (10niklas.laxstrom) [11:51:19] any template wizards around? [11:51:35] maybe [11:51:55] MinuteElectron: http://en.wikipedia.org/w/index.php?title=Template:Werdnabot&action=edit [11:52:46] yes... [11:54:03] if you look at the way it's substituted on http://en.wikipedia.org/wiki/User_talk:Werdna/Sandbox -- I entered {{subst:Werdnabot|type=size}}, and it didn't produce what I expected [11:54:45] MinuteElectron: {{{subst:index|Archive index}}} didn't substitute out, and none of the ifeq's seemed to go through [11:55:53] Well, AFAIK there parser doesn't expand stuff inside HTML comments anymore, that would explain your problem. [11:56:07] ah [11:56:12] quite a big problem, as it happens [11:56:49] yes, it would seam that way. Surely there is a more efficient way of giving your bots commands via templates though [11:57:01] I shall investigate [11:57:02] i've always been bemused by why you chose such a weird system [11:57:12] well I did write it three years ago :) [11:57:35] heh, fair enough [11:58:24] bleh, time to rewrite the option parsing [12:00:21] MinuteElectron: anyway, it's still not correctly displaying the conditional info on the archiving scheme [12:02:09] oh [12:06:14] Duesentrieb: I can't get Lockdown to work, I've populated the $wgSpecialPageLockdown array, but can still access all the special pages while logged out. [12:06:49] This is correct syntax, right?: [12:06:50] MinuteElectron: i have seen two reports of this on the extensions talk page. so this seems to be true :/ [12:06:51] $wgSpecialPageLockdown[ 'Specialpages' ] = array( 'user', 'sysop' ); [12:06:58] yes. [12:07:04] MinuteElectron: can you also check for namespaces? [12:07:05] well, it is broken then [12:07:18] one moment, i set up namespace lockdown but haven't tested yet [12:07:43] hello could some one help me, i have an error with memory [12:08:03] Duesentrieb: Namespace lockdown is broken too. [12:08:10] :´( [12:09:00] yup [12:09:24] it might be version specific though, but i can't test that atm [12:12:01] MinuteElectron: i have put up warnings on the doc pages of News andLockdown [12:12:14] won't be able to look into it until May :( [12:12:47] hmm, that's too bad [12:13:08] feel free to fix it :) [12:13:10] !bug 13359 [12:13:10] --mwbot-- http://bugzilla.wikimedia.org/show_bug.cgi?id=13359 [12:13:20] once i've done setting stuff up i'll try installing the old version of lockdown i have and then see what has been changed since then in the extension to see if i can correlate the change that broke it [12:13:46] this also sounds like the perfect time to reestablish my test wiki farm so i'll also see if it is mediawiki version specific [12:14:02] since i have two weeks of virtually no commitments [13:07:01] 03siebrand * r32283 10/trunk/phase3/languages/messages/ (19 files): Localisation updates for core messages from Betawiki (2008-03-21 14:00 CET) [13:18:59] 03siebrand * r32284 10/trunk/extensions/ (59 files in 58 dirs): Localisation updates for extension messages from Betawiki (2008-03-21 14:00 CET) [13:31:25] 03siebrand * r32285 10/trunk/ (102 files in 100 dirs): Updating credits (Bdanee -> Dani) [13:35:01] 03(mod) categoriespagetext should use {{PLURAL:}} for "Categor(y/ies)" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13456 (10bugzilla.wikimedia) [13:35:05] 03ialex * r32286 10/trunk/extensions/SiteMatrix/SiteMatrix_body.php: (bug 13468) Allow MediaWiki:Sitematrix-summary message to be displayed on Special:SiteMatrix [13:36:17] 03(FIXED) Add message MediaWiki:Sitematrix-summary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13468 +comment (10alex.emsenhuber) [13:40:08] Are strict standards problems being fixed in the REL1_12 branch? [13:40:29] As I just found one. [13:41:15] MinuteElectron: being fixed? [13:41:34] prolly not no new fixes in branch [13:41:37] ok [13:41:48] but should be fixed in trunk imho [13:42:09] there is few common known still [13:42:19] I'm not sure if it fixed in trunk. [13:42:30] which one? [13:43:04] When uploading "Strict Standards: Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /w/includes/filerepo/LocalFile.php on line 1090". [13:43:18] yeah that is one of them [13:44:20] it's takes about 3/4 of entries in php error log [13:46:23] as an horrible workarround, we can move the image class to an other file, as it shouldn't be used anymore by the core [13:48:53] MinuteElectron: see bug 12202 [13:52:48] ok [13:52:50] afk [13:58:50] 03siebrand * r32287 10/trunk/extensions/ (FCKeditor/BROKEN Translate/Translate.php): [13:58:50] * FCKeditor is OUTDATED/BROKEN. Development is taking place elsewhere. [13:58:50] * Remove support in Translate for FCKeditor [14:00:21] 03siebrand * r32288 10/trunk/phase3/languages/messages/ (MessagesBg.php MessagesFi.php MessagesNl.php): [14:00:21] Localisation updates for core messages from Betawiki [14:00:21] * magic for bg, fi, nl [14:08:13] 03(NEW) Generators broken in 1.13alpha (r32246) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13469 major; normal; MediaWiki: API; (russblau) [14:20:21] Hi [14:27:57] 14(DUP) Generators broken in 1.13alpha (r32246) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13469 +comment (10Bryan.TongMinh) [14:27:58] 03(mod) cmnamespace=0 gives an internal error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13465 +comment (10Bryan.TongMinh) [14:35:04] Anyone here? [14:35:49] of course not, that's why there are only 182 people on the user list. :P [14:36:04] *MZMcBride isn't here. [14:36:31] :) [14:36:49] How easy is it to remove the sidebar in mediawiki? [14:37:01] !sidebar | Janice [14:37:01] --mwbot-- Janice: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [14:37:09] I find it serves no big purpose without taking up space [14:37:10] i am not here either :) [14:37:19] or to remove it entirely, take it out of the PHP file [14:37:44] Skizzerz -what will the difference be? less loading time if removedfrom php? [14:38:18] Hey Skizzerz, what's up? [14:38:22] the first is just to remove links from the "navigation" part, the second takes out the entire left thing (including logo, navigation, search, and toolbar) [14:38:46] Wiredtape: not much [14:39:06] OK [14:39:16] PHP it is [14:39:16] Janice, removing this from php might affect your layout (css wise) quite a bit, so mind that.. :) [14:39:23] Whats your wiki? [14:39:37] Skizzerz, or mine? [14:39:41] Both [14:39:59] *Skizzerz has a few... [14:39:59] mine is www.wiredtape.com [14:40:05] and i also have a few others :) [14:40:11] w.exofire.net is my personal one, though [14:40:14] but that is my primary [14:40:47] *zocky_ worships the ground TimStarling walks on for a while [14:41:02] zocky_ that's a bit extream no? :) [14:41:14] the new preprocessor is a life saver [14:41:44] Awesome wiki wiredtape [14:41:48] my parser functions can now actually tell what's going on runtime [14:41:54] Janice, thanks :) [14:41:56] Do you find a need for a "Go" and a "Search"? [14:42:13] Especially on smaller wikis? [14:42:16] Janice, no, especially since i have ajaxsearch on and a few changes into that.. [14:43:13] Also, what about removing tabs at the top of pages? Is there a section for that? [14:44:47] hmm.. you could remove from php.. but it really depends on what you want to do with them.. it might be just a css change.. [14:44:59] OK [14:45:01] Cool [14:45:48] I guess I'll give mediawiki a shot [14:45:48] :) [14:45:59] Janice, www.kud-fp.si is also mediawiki [14:46:12] you can dress it up anyway you want [14:47:09] (that's a closed wiki, though, so edit links and stuff are visible only for logged-in users [14:49:34] Cool [14:53:15] 03rotem * r32289 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [14:55:10] is there any documentation for the new parser function mechanism? [14:55:29] i'm not sure about how isChildObj and isLocalObj works [15:02:12] *Simetrical knows nothing about the new parser, ask Tim [15:23:22] Hi, "svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_12/phase3" offers version 1.11.2, is it intentional? It is presented (http://www.mediawiki.org/wiki/Download_from_SVN) as leading to 1.12 [15:24:18] natmaka, what makes you think it's 1.11.2? [15:25:28] It seems to be 1.12.0 as expected. [15:25:39] 03sanbeg * r32290 10/trunk/extensions/Cite/ (Cite.php citeParserTests.txt): add group option, initialize structures when we start group, clear them when finished [15:26:14] Thanks for replying. I checked it out Special:Version says "1.11.2", but I may have booed somewhere, if you obtain a 1.12 by checking out I will recheck all my stuff. Is it the case? [15:26:53] natmaka, look in includes/DefaultSettings.php. $wgVersion should be set to '1.12.0'. [15:27:18] If it's not, you checked out the wrong thing. As you can see, it's 1.12 in the branch you linked to. http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_12/phase3/includes/DefaultSettings.php?revision=32263&view=markup [15:27:22] Er. [15:27:25] http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_12/phase3/includes/DefaultSettings.php [15:27:30] Simetrical Ouch, you are right. I did not cut the 'phase3' directory. I'm sorry, thank you! [15:28:43] Does anyone know of an extension that blocks editing of articles except by the specified author of a page? [15:28:50] Not offhand. [15:29:13] Q: Can allow users of my mediawiki to use images from wikipedia commons? EG, interwiki images? [15:29:35] mozillamonks, I don't know. Possibly. [15:29:49] It would be kind of neat, and I doubt Wikimedia would notice any strain. [15:29:56] Hmm, no, actually probably not. [15:30:05] :P [15:30:06] Zaerath: do you want it to be automatically protected or up to the author to choose whether to lock it or not? [15:30:07] You have to be on the list to receive purge notifications for it to work right. [15:30:11] It's been proposed before; don't think it's ever been implemented. [15:30:17] MZMcBride, which one? [15:30:23] Grr :( [15:30:23] The Commons repository thing. [15:30:31] It would be interesting. [15:30:31] Somewhere on the mess that is Meta. [15:30:37] Skizzerz: Preferably a sysop feature, maybe go in and hit some checkmark. I really only need one article to not be editable by anyone but them... Maybe I should just do an indiv. protect? [15:30:43] But the purge notifications would be tricky. [15:30:44] Now I'll have to copy dozens of images over to my wiki by hand, and not recieve new image versions or changes :( [15:31:03] Actually, nevermind, probably not going to work. [15:31:10] Zaerath: in that case just full-protect it and have the author bring up changes on the talk page [15:31:14] Ideally this would be a generic API that any software could be written to use. [15:31:16] Hmmmm. [15:31:33] Oh well, I'm not going to do it. Too much of a pain to set up and test, since I don't have a wiki farm handy. :) [15:31:42] Skizzerz: That seems to be a lot of effort and I'm trying to avoid interaction with the users so much, do you know of any other way of going abouti t? [15:32:05] Zaerath, how about you tell other people that if they edit it, they'll be reverted and blocked? [15:32:16] You really don't have to take away buttons to stop people from editing stuff. [15:32:39] Simetrical: Sounds like a plan, thanks. :P [15:32:42] Any autoconfirmed can edit [[Wikipedia:Verifiability]], and it works very nicely. [15:34:34] !instantcommons | mozillamonks, Simetrical [15:34:34] --mwbot-- mozillamonks, Simetrical: InstantCommons is a proposed feature for MediaWiki to allow any MediaWiki installation to use media on the Wikimedia Commons. However, several issues (some legal) need to be worked out, and it is only a proposal. See < http://www.mediawiki.org/wiki/InstantCommons >. [15:34:52] Ahh, there it is. [15:34:54] Duesentrieb: Thanks! [15:37:07] Hello. I believe I found vulnerability in an extension that runs on en:. [15:37:10] Should I report it here (loged public channel) or to security@wikimedia.org? (Mediawiki itself is not vulnerable.) [15:37:37] it is cross-site request forgery thing [15:37:56] petr4: send it to that mail address [15:37:58] petr4, PM brion when he's around, or e-mail him at brion@wikimedia.org. [15:38:04] Or security, usre. [15:38:05] sure. [15:38:18] it ends up in brion's inbox anyway :) [15:38:23] ok [15:38:42] finding a trusted site admin on irc and talking about it in private good too [15:39:32] i see domas, mark and jeluf online (and who else has shell?). haven't seen them active in a while though. [15:39:46] well, i belive some trusted wikipedia admin is here, so the report would not be unheard [15:40:25] Duesentrieb: Does http://svn.wikimedia.org/viewvc/mediawiki/branches/instantcommons/ function? [15:41:12] mozillamonks: i have no idea. but it's a fork... [15:41:28] btw: i would like thank you developers (if you are here) for such nice piece of software. I realy like the devel documentation [15:41:48] there is documentation? [15:41:51] *Duesentrieb looksaround... [15:42:02] That's mostly written by non-developers, I think. [15:42:08] Except the in-code stuff. [15:42:14] mediawiki.org is, after all, a wiki. :P [15:43:02] naw, i doube anyone that has never touched code would bother with writing it [15:43:26] i wrote a few pages, and try to keep the worst cruft out [15:43:26] i think extension devs write a lot [15:43:38] core devs not so much (busy changing the softeware and obsoleting documentation=) [15:50:16] <_Brain> Ok, quick question. [15:50:18] <_Brain> How do I turn image uploading on? [15:51:31] !upload | _Brain [15:51:31] --mwbot-- _Brain: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [15:52:13] <_Brain> Thank you. [15:52:44] is there any documentation for the new DOM Frame thingy, and for the new return flags for parser functions? [15:53:03] <_Brain> Next, how do I change the image in the top left? [15:53:13] <_Brain> The one that says MediaWiki [15:53:24] !logo | _Brain [15:53:24] --mwbot-- _Brain: The logo that appears in the top left of each page is determined by the $wgLogo configuration setting in the LocalSettings.php file. To change this you simply need to change the value of $wgLogo to point to the URL of your own logo image. See for more information. [15:53:28] _Brain, there's information on the image itself :) [15:54:32] <_Brain> Can the url be an uploaded image to my files? [15:57:03] _Brain: for the logo ? yes [15:57:22] <_Brain> How so? Just show the file path? [15:57:38] absolute web path or full url [15:57:45] to the *file* though [15:57:48] <_Brain> ok. [15:57:50] not the description page [15:58:00] right-click the image, select "show image" [15:58:04] copy the url [15:58:24] 03(mod) Private logging trough Special:Log interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13459 (10JSchulz_4587) [15:58:25] hope that it will work forever [16:02:04] zocky_: the alternative is using Special:Filepath [16:05:09] ok, so if I return "isChildObj", my function result will be expanded in a transcluded template's scope, and if i return "isLocalObj", it will be expanded in the including page's scope? [16:05:46] where scope = "frame [16:07:11] bah, TimStarling shouldn't be allowed to sleep ever [16:17:18] Hi, I just installed Mediawiki on my test server, do I need to do something special to turn parsing on? When I use {{ #expr: 30 + 7 }} it shows as {{ #expr: 30 + 7 }} not 37? [16:17:40] !parserfunctions | RobJDavey [16:17:40] --mwbot-- RobJDavey: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [16:18:21] mwbot: thanks [16:21:20] <_Brain> Not working.. :| [16:28:12] Finally got Math working on my wiki (Using alternate windows solution documented in the manual), however the generated images look odd, as if a lot of the black pixels have been eliminated [16:28:14] e.g http://eduwiki.kingj.net/images/math/math-4650ce9ec57935affbfadac55b86e942.gif [16:28:18] _Brain, have you downloaded the extension set? [16:28:28] <_Brain> Which? [16:28:48] _Brain, svn http://...../extensions [16:29:10] !svn | _Brain [16:29:10] --mwbot-- _Brain: Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [16:29:17] <_Brain> I want to change the Logo, but I uploaded it to my CPanel files and put in in LocalSettings and nothing. [16:29:41] ah, sorry, thought you were the other guy :) [16:29:48] for the logo, I don't know [16:30:09] KingJ: Getting to work correctly is kind of a bitch. [16:30:18] You may want to try mimetex. [16:31:02] _Brain: is your wiki public ? [16:31:17] <_Brain> Yep. [16:31:26] Mimetex, right i'll look into it [16:31:33] _Brain: can I have the url ? [16:31:55] <_Brain> http://fallingstarproductions.org/sites/disneywonders.com/wiki/index.php?title=Main_Page [16:32:37] MzMcBride: Do I need CGI support on the server in order to use MimeTex? [16:32:51] Yes, I think so. [16:33:37] Hmm, not good. While I can install CGI support, I don't really want to install 101 extras, it's only a small personal wiki :) [16:33:43] _Brain: and where is your logo ? [16:33:48] Heh. [16:33:57] <_Brain> In my CPanel files under images.. [16:34:12] <_Brain> Should I upload direct to wiki? [16:34:55] _Brain: try this : $wgLogo = '/sites/disneywonders.com/wiki/images/dwwpng125.png'; [16:38:24] <_Brain> There it is! Thanks. [16:48:03] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10mrzmanwiki) [16:55:22] is there an extension for making the infobox side panel templates? [16:55:38] 03(NEW) Strange Display-Error for stable version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13470 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [16:56:04] MrZ-man: You about? [16:56:10] yes [16:56:12] why? [16:56:20] Does that magic word query the database? [16:56:22] what did I do now? [16:56:24] yes [16:56:33] You may have to limit it. [16:56:40] Same concerns as #ifexist. [16:56:58] 03ialex * r32291 10/trunk/phase3/ (includes/Exception.php includes/Wiki.php index.php): [16:56:58] * Document Exception.php [16:56:58] * Pass $wgArticle by reference in MediaWiki::initialize() so that it can be set before executing an action and can be used when throwing an exception. [16:57:07] what is the query for ifexist? [16:57:17] Hell if I know. :) [16:57:19] though this could be cached [16:57:19] 03(NEW) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 15enhancement; normal; Wikimedia: Usage Statistics; (soxred93) [16:57:40] its not like its going to be fluctuating wildly in most cases [16:57:46] Yeah, it could be. [16:57:47] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [16:57:57] Just mentioning the DB query thing. [16:57:59] why are people so obsessed over rollbackers? [16:58:17] there was a bug for a "rollback log" too" [16:58:18] A magic word to list the number of people in each group would be nice. [16:58:29] I'm just trying to make the template/magic word update automatically [16:58:31] {{NUMBEROFGROUPUSER:sysop}} [16:58:34] instead of SQLBot doing it [16:58:38] <_Brain> Ok, my next wiki, I need help the logo, it won't change. [16:58:40] But separate magic words is just silly. [16:59:07] well, number of sysops is stored somewhere I think for easy retrieval [16:59:30] Perhaps, dunno. [16:59:31] It seems not. [16:59:35] Although I thought it was. [16:59:42] It just does COUNT(*). [16:59:53] {{NUMBEROFPOVWatchers}} :P [16:59:59] I used a copy of the admin code [17:00:12] Just changed ADMIN to ROLLBACKER [17:00:17] Tested. [17:00:17] :( [17:00:21] why the heck it has to be somewhere? [17:00:31] people end up adding magic words all over, without realizing costs of them :)( [17:01:09] Soxred93, what's with the "crats" stuff? Your patch seems confused. [17:01:25] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 +need-review +patch (10soxred93) [17:01:42] Whoops, wrong patch [17:01:58] hmm, ifexist looks a lot more complicated than mine [17:02:06] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 -need-review ; +comment (10Simetrical+wikibugs) [17:02:09] bah [17:02:25] just have Template:NUMBEROFROLLBACKERS and have people update it manually whenever they promote someone [17:02:31] it worked for pokemon [17:02:52] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 +comment (10soxred93) [17:03:03] A generalized group count feature would be nice. [17:03:27] Ok, I'll get started on the general group, then [17:03:42] it'd be nice to get it cross-wiki too [17:03:55] {{NUMBEROFGROUPUSERS:m:steward}} [17:04:00] {{NUMBEROFGROUPUSERS:commons:sysop}} [17:04:18] Soxred93: for the patch: you have also to update magic words [17:04:32] Cross-wiki is a lot more complicated. [17:04:36] Yeah [17:05:22] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13471 +comment (10random832) [17:05:24] Simetrical: yeah, i know - just putting it out there as "would be nice" [17:06:02] cross-wiki transclusion would allow for a workaround to be made on wikis (meta and commons mainly) where users on other wikis care who or how many people have permissions there [17:07:06] hmm - another nice feature i thought of, not really related to this, but i just thought of it [17:07:16] {{#ifuserexist:}} - checks for existence of an account rather than a page. [17:07:29] 03(NEW) No error message if a version is sighted multiple times - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13472 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [17:07:29] would allow skipping a step on [[WP:CHU]] [17:07:35] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10Simetrical+wikibugs) [17:08:14] hello. i have a question about localsettings.php re: adding things. [17:08:26] 03yaron * r32292 10/trunk/extensions/SemanticForms/skins/SF_yui_autocompletion.css: [17:08:27] Fixed CSS to more closely match that of YUI's Sam skin, removed [17:08:27] now-unnecessary IE hack [17:08:49] WP:CHU is going away pretty soon anyway. Renaming doesn't work under SUL. [17:08:54] Not for global accounts, anyway. [17:09:26] i want to know about email notification of new users... [17:09:29] and even once it works again, it would probably have to be done by stewards [17:09:30] please [17:09:50] If it works again. Renaming users creates some unnecessary hassles. [17:10:28] though most renames probably aren't of users with accounts on multiple projects [17:10:40] MrZ-man: they will be once SUL happens [17:11:13] 03yaron * r32293 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Added "possible_values" field to SFFormTemplateField class [17:11:19] 04(REOPENED) Quality revisions make younger versions appear as unreviewed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13402 +comment (10pbirken) [17:11:21] Simetrical: eh - people need a way to fix typos. anyh chance of a self-rename feature to allow fixes to spacing and capitalization - maybe limit it to within the "too similar for a new account" space [17:11:44] Spacing and capitalization, maybe. [17:12:10] eh [17:12:27] If it normalizes to the same thing. That would be different. [17:12:29] though a confirmation page on sign-up would probably be easier [17:12:31] Hmm, or maybe not. [17:12:35] Still have to update all the DB rows. [17:12:41] i don't think it's a good idea to do away with renaming entirely, and it seems like it would be too much of a workload for stewards [17:12:45] Or just throw away the account if it really bothers you. [17:12:46] "Are you sure this is what you want?" [17:12:51] maybe allow local crats to do it for accounts that only have edits on one wiki? [17:12:56] Stewards can't rename either under SUL. The functionality doesn't exist at all. [17:13:00] It might eventually be added. [17:13:14] 03yaron * r32294 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: [17:13:14] Capitalized words displayed for "yes" and "no", added support for new "values" [17:13:14] parameter for fields, added "CDATA" tags around Javascript for HTML validation [17:13:18] Only local accounts can be renamed, not global accounts, and eventually there are supposed to be no more local accounts. [17:13:39] ...yeah, i meant global accounts, but that have only edited on one wiki [17:13:48] accounts that have edited on more than one wiki would need a steward [17:13:56] (or maybe a m:crat) [17:14:08] 03yaron * r32295 10/trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php: Added 'isHTML' => 'true' for #forminput function [17:14:35] 03yaron * r32296 10/trunk/extensions/SemanticForms/ (INSTALL includes/SF_GlobalFunctions.php): New version: 1.0.1 [17:14:39] [and, yes, i know the functionality exists now. i'm arguing for its need and suggesting implementation details] [17:14:43] *doesn't exist now [17:15:37] MrZ-man: we need a clear way to tell people that spaces are allowed, it's case-sensitive, the first letter is always capitalized, etc. probably half of the requests I see on CHU are people who didn't know that when registering [17:15:45] 03(mod) Add NUMBEROFROLLBACKERS magic word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13471 (10soxred93) [17:15:57] 03(mod) Quality revisions make younger versions appear as unreviewed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13402 (10JSchulz_4587) [17:16:09] Shoot, my computer's MYSQL is failing. [17:16:24] Hi. I am trying to define a magic word in my extension. I am using mediawiki 1.6.10. So i define my magic word with this: $wgHooks['MagicWordMagicWords'][] = 'wfAddCustomMagicWord'; function wfAddCustomMagicWord( &$magicWords ) { $magicWords[] = 'MAG_CUSTOM'; return true; } So, how can i use this magic word MAG_CUSTOM in my articles? I tried MAG_CUSTOM __MAG_CUSTOM__ {{MAG_CUSTOM}} It's only showing what I type, {{MAG_CUSTOM}} trying to show MAG_CUSTOM te [17:16:26] Can't run anything (MediaWiki, phpBB, etc) [17:16:33] OH NOES MYSQL FAILING [17:16:40] :( [17:16:40] Random832, how many edits do they usually have? They could just sign up a new account. [17:16:46] So could someone please test out my patch on their computer when I finish it? [17:17:11] Soxred93: just code on paper then [17:17:26] I can write the patch [17:17:30] but I can't test it [17:18:01] http://en.wikipedia.org/wiki/MediaWiki:Fancycaptcha-createaccount [17:18:08] http://en.wikipedia.org/wiki/MediaWiki:Signupend [17:22:27] Hmm, anyone here willing to test an update? [17:22:51] Someone who's MySql is working? [17:23:07] Simetrical: generally the new name they want is too similar to their current one. [17:23:19] so an admin would have to make the.... .crap [17:23:29] does SUL allow local admins to create accounts through "too similar"? [17:23:34] 03(mod) Quality revisions make younger versions appear as unreviewed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13402 (10pbirken) [17:23:38] Random832, dunno, ask Tim. [17:23:51] I'm not sure how account creation works. [17:23:55] in principle, it shouldn't, but disabling it would add even more to the workload of whatever meta group gets saddled with it [17:24:14] I'm not sure you can create global accounts directly (yet), can you? I think you create a local account and then promote it to global. [17:24:25] In which case, AntiSpoof is going to only kick in on step one. [17:24:31] Since it's not SUL-aware. [17:24:38] who is able to promote local accounts to global? [17:24:45] The user himself does it, generally. [17:24:47] Sorry, I was just testing if logging out and then in again would make mysql work. [17:24:49] I fail [17:24:55] does antispoof even compare the new username against global account names? [17:25:01] It doesn't know SUL exists. [17:25:06] It was written like a year ago. [17:25:22] ...right. do the global account names appear in a form that antispoof can digest (are there "fake" local accounts so it can see it in the list of names) [17:26:06] A local account is created to match your global account when you try to log in, or try to edit, or something like that. [17:26:20] You should really be asking Tim this stuff, I don't know most of it for sure. :) [17:26:25] I think there needs to be SUL-aware antispoof [17:26:48] wait a minute [17:27:10] what stops someone from creating an account with the _same_ username as mine on a wiki i've never logged in on [17:27:19] [and therre is therefore no local account] [17:27:20] Nothing, that's where conflict resolution comes in. [17:27:34] If you're concerned about global AntiSpoof, tell Tim to make a note of it. [17:27:42] i'm talking about when i _already_ have a global account, so conflict resolution is done [17:28:05] after that, what happens if someone tries to make an account "Random832" on, say, lojban wikiquote [17:28:11] Buggered if I know. [17:28:15] whem [17:28:20] when's Tim usually online? [17:31:38] Random832: Morning and afternoon UTC [17:31:43] 03(mod) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10N/A) [17:31:52] He's in UTC_8 iirc [17:32:02] *UTC-08:00 [17:32:33] oh, right, he works for wikimedia so he'd be in san francisco [17:32:47] (or somewhere from where one can commute to san francisco) [17:32:53] Hmm. Who here wants to help me test? [17:33:14] My idiotic mysql server is down [17:33:47] Random832: Tim is in Australia [17:34:00] ah, nevermind then [17:34:09] he usually comes on about the same time Brion is leaving [17:34:15] it works out well [17:34:32] hm? [17:34:38] ah [17:35:04] except whan you have to reach him from europe, when it's usually an ungodly time into the night :-\ [17:35:30] Ah, UTC+08:00 [17:36:18] I'll try to reset my MySql again, then [17:39:22] 03(mod) No error message if a version is sighted multiple times - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13472 normal->low (10JSchulz_4587) [17:40:38] Damn. Didn't work [17:43:25] 03aaron * r32297 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.php): Actually set the max ID ;) [17:45:25] 03(mod) Quality revisions make younger versions appear as unreviewed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13402 +shell; +comment (10JSchulz_4587) [17:47:36] Sigh. Who here wants to help me test out a revision? [17:51:02] Soxred93: give it to me [17:51:36] 03(mod) Strange Display-Error for stable version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13470 +comment (10JSchulz_4587) [17:52:13] ... [18:03:42] Hrm. [18:03:48] I hate this problem [18:04:13] I made a mofication [18:04:18] Now all pages are blank [18:04:33] what editor did you use? [18:04:36] 03aaron * r32298 10/trunk/phase3/languages/messages/MessagesEn.php: Make this more accurate [18:04:53] Smultron [18:05:00] O.o [18:05:14] maybe it added a DOM character [18:05:39] http://php.pastebin.com/m6f4cb9c4 [18:05:51] Added numberofgroupusers parser function [18:05:55] Soxred93: turn on error reporting [18:06:03] How? [18:06:22] add error_reporting( E_ALL ); to localsettings.php [18:06:28] to the top [18:07:31] Still nothing [18:08:03] 03(WONTFIX) Inverse selection for [[Special:Log]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11739 +comment (10nicdumz) [18:08:15] AaronSchulz: ^ this one is for you :) [18:08:55] AaronSchulz: honestly, I thought a lot about that filesort issue, it was eventually disappointed, since I spent some time on this. But you must be right. [18:08:56] ;) [18:09:18] s/it was/and I was/ [18:09:26] I think it can be done without a file sort [18:09:49] instead of using the type,time index, just use the time one, and exclude certain types [18:10:19] not sure how good that would be [18:12:39] not sure. for example, to show every events that are NOT of a patrol type, (everything ORDER BY timestamp) MINUS ( ... WHERE type = 'patrol') LIMIT xx ? [18:15:15] 03(mod) Inverse selection for [[Special:Log]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11739 +comment (10JSchulz_4587) [18:15:36] NicDumZ: the general timestamp index gives the ordering of the rows by timestamp [18:15:54] by reading of those and checking the type and excluding some, you avoid a sort [18:16:20] I was thinking about the type_timestamp index last time [18:16:27] which would need a filesort [18:17:25] recentchanges has a similar thing with the "hide patrolled" option [18:18:16] NicDumZ: the only problem is that, if I check all but two obscure logs, the invert select query will get bad [18:18:52] yes. And that's why I abandonned what I was calling the "multicriteria" search [18:19:33] 03(mod) Inverse selection for [[Special:Log]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11739 (10JSchulz_4587) [18:19:42] for example, if I want all but the "merge" and "patrol" logs on .en, it would do a table scan [18:19:52] NicDumZ: ah well ;) [18:20:34] yes, but all but "one type of log" should do. [18:21:06] recentchanges, yeah ? Going to take a look... [18:21:59] RC works because if patrolled edits are on, a good distributed portion of rows should be patrolled and some not [18:22:11] if patrolling is off, then that filter is turned off [18:22:16] otherwise it would get crappy [18:23:02] NicDumZ: yeah, one log exclusion should be fine [18:30:42] 03(mod) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10Simetrical+wikibugs) [18:31:14] AaronSchulz, it wouldn't do a table scan if you wanted all but merge and patrol. [18:31:28] It would scan more rows than necessary, is all. [18:31:38] Unless the only en logs are merge and patrol, which I doubt. :) [18:31:55] is anyone working on a web control panel for mw? (something to add/remove settings from localsettings.php and other stuff)? [18:31:55] Actually, hmm. [18:32:09] but it would definitely cost a lot, Simetrical :þ [18:32:16] Simetrical: I meant wanted only merge and patrol [18:32:18] Wiredtape, no, but we would like it if someone wrote one for us. :D [18:32:19] Wiredtape: tried that, but it didn't work all too well [18:32:20] by excluding the others [18:32:31] AaronSchulz, patrol is enabled now, remember? :) Should have plenty of hits. [18:32:56] only new page patrol [18:32:56] Simetrical, i have been thinking about it for a while along with some back-end analytics stuff... [18:32:57] if you do it wiki-side, you can't afford to mess anything up since it would then prevent you from reverting yourself, and externally would require a separate set of credentials [18:33:01] And it should be possible to write that so it uses the type_time index. [18:33:16] ugh, that filesort would come back [18:33:20] No it wouldn't. [18:33:30] Skizzerz, well, you could always just edit the files themselves, no? [18:33:33] how are you sorting the time? [18:33:34] yes [18:33:41] (log_type, log_timestamp) will retrieve in sorted order for WHERE log_type=x ORDER BY log_timestamp. [18:33:51] yes, we know [18:34:02] but for multiple types [18:34:11] Can be worked around using UNION. [18:34:22] You'll get a filesort, true, but only for a limited number of rows. [18:34:31] Skizzerz, and as for credentials, adminsettings.php could be used for this as well [18:34:35] a revisioning system would have to be implemented as well so that past versions can be reverted to in case of bad changes (I already have something like that up for my GroupPermissions manager extension, though) [18:34:52] (SELECT * FROM logging WHERE log_type=A ORDER BY log_timestamp DESC LIMIT 50) UNION (SELECT * FROM logging WHERE log_type=B ORDER BY log_timestamp DESC LIMIT 50) ORDER BY log_timestamp DESC LIMIT 50 [18:34:59] File-sorts 100 rows max. [18:35:17] Although that's still not great, it's not the end of the world, especially not if it's semi-uncommon. [18:35:24] but the time ordering is then iffy [18:35:30] though people wouldn't notice maybe [18:36:00] then again [18:36:06] How is it iffy? [18:36:20] You sort each subset by timestamp, then merge them and sort again by timestamp. [18:36:27] Skizzerz, yes this makes sense for arrays but not for booleans, atleast on a case by case basis.. a simpler situation would just be to do the revisioning the same as svn does as a new revision image is taken for each "commit".. [18:36:41] The second sort is a filesort, it's true, but only a small one. [18:36:49] Skizzerz, do you still have your initial work? [18:37:05] Wiredtape: the grouppermissions manager? or my initial localsettings editor? [18:37:16] the latter [18:37:16] Simetrical: oh, yeah, I see [18:37:23] i have the off-wiki version [18:37:34] but it doesn't work, sadly [18:37:39] has string encoding problems [18:37:53] If MySQL were smarter it would be able to sort the result sets more efficiently than with a standard filesort, but maybe it works out well anyway. [18:37:54] haven't attempted an on-wiki version yet [18:38:00] Hmm, no, probably not. [18:38:04] It probably concatenates then sorts. [18:38:12] But it's all in-memory anyway, or should be. [18:38:16] And not very big data sets. [18:38:36] Skizzerz, string encoding problems? such as? [18:39:18] it has to encode all the variables and such in the text area so that they aren't parsed out, then decode them again [18:39:24] it fails on the decoding part [18:40:08] I could DCC it to you if you want, it's actually not that large of a file [18:40:59] unfortunatly i can't have anything "sent" to me at the moment.. but if you could load it up to yousendit.com or pastey it I would like that.. [18:41:23] sure [18:42:24] http://pastey.net/84191 [18:43:07] Skizzerz, k, let me take a look .. :) [18:44:27] Simetrical: hmm, but when just excluding one, the the WHERE is better than the UNION. Maybe some funky heuristics to switch the query would help :) [18:45:00] AaronSchulz, the MySQL optimizer is what does that already. [18:45:10] Er, no. [18:45:17] You're right, not if you explicitly rewrite as a UNION. [18:45:23] Skizzerz, where is the writing portion? [18:45:28] Which the optimizer should do but doesn't (at least not in 4.x). [18:45:54] the fwrite puts \ in front of all the $ [18:45:55] Really though, as long as you avoid a table scan it's not going to be a huge deal, these aren't likely to be common queries. [18:46:16] hmm, that's not the most recent version of it... it doesn't even have my attempt to fix that issue [18:47:09] Skizzerz, k.. do you know where the most recent ver is? :) [18:47:22] gone [18:47:37] I deleted it from my website about 2 months ago [18:47:37] ok.. :) [18:47:48] I was actually thinking of something completely different to this [18:48:02] yes, as I've said I haven't attempted to code an on-wiki version [18:48:26] anyone know of maintenance/deleteOldRevisions.php works with 1.11? having trouble... [18:48:35] (or something that just gives you set options to config instead of allow you to change the entire file) [18:49:08] I was thinking of making a localsettings parser, and each setting could have some sort of section and so on.. and this could automatically create different tabs/panels for the settings based on grouping - and you could add settings on the fly by just introducing a new "section" [18:49:40] Skizzerz, yes, this would also be based on set options [18:49:41] but there could be a "mw settings file" to define this for the extension [18:50:57] jlerner, doesn't look heavily maintained. http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/deleteOldRevisions.inc?view=log [18:51:05] Simetrical: yah [18:51:11] maybe the schema changed... [18:52:47] i guess i could...fix it.... [18:53:13] Skizzerz, anyway, i'll see what i can come up with.. [18:53:27] good luck :) [18:53:38] thx [18:53:40] :) [18:55:38] Hi [18:56:27] hi Mal [18:58:37] hi. using semantic calendar extension... I have to enter the date in a certain format, dont i? [18:58:59] more than likely, check the extension page [18:59:26] [ [ Datum::26.März 2008 ] ] ie or how does it know what locale ? [19:00:16] sure i did. there'S nothing about on it [19:01:09] Jack_Phoenix, CookieWhore?? :) [19:01:50] ya, a wikia in-joke [19:02:21] Jack_Phoenix, it's funny to outsiders as well.. [19:02:26] ;-) [19:02:41] So you got message board to work, eh? [19:03:15] tons of frustration here guys! i'm not getting all imagemagick to on a mac os x 10.4 system. it works fine from the prompt though, but when i upload a .svg i'm getting an error: "sh: line 1: convert: command not found" everything else seems to work wgUseImageMagick = true is in localseetings, the path checks out! OMG! [19:03:23] Wiredtape, yup :-) [19:03:47] Jack_Phoenix, hmm, i still haven't :-\ [19:04:08] the YUI.php patch fixed it for me, I think [19:04:38] was there something new in this patch other than what i initially uploaded? [19:05:57] How do I make the toolbox in MonoBook dissapear from an extensions code? [19:06:12] 03(NEW) Add "E-mail signature" preference - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13473 15enhancement; normal; MediaWiki: User preferences; (danny_b) [19:06:49] MinuteElectron, easy way would be to css hide it? [19:06:56] anyway, i'm away :) [19:07:03] CSS isn't nice. [19:09:47] http://www.mediawiki.org/wiki/Extension_talk:Semantic_Calendar if anyone has an idea? thx [19:16:52] Jack_Phoenix: pahis [19:17:06] minäkö muka? [19:24:42] flo__: check the source file's comments ? [19:27:44] 03siebrand * r32299 10/trunk/phase3/languages/messages/ (125 files): Rebuild of all messages files; "unknown messages" section removed (contains removed messages after rebuild) [19:28:50] 03aaron * r32300 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Document [19:32:56] AaronSchulz: something is wrong with your email client: http://lists.wikimedia.org/pipermail/wikitech-l/2008-March/037069.html [19:33:16] *AaronSchulz hugs MSN [19:34:31] *Simetrical shudders [19:34:36] Why haven't we lynched him yet? [19:34:53] who? [19:36:21] Aaron. [19:36:32] For 1) using MSN and 2) screwing up e-mails all the time. [19:36:38] With ads and misquoting. [19:37:01] Eww stuff made by microfail [19:37:37] ☹ [19:38:04] ☠ [19:38:16] ok, those are just showing up as boxes for me ;) [19:38:30] Get UTF-8 and some decent fonts plz. [19:39:35] I AM in UTF-8 [19:39:46] Then you lack the decent fonts bit, or decent font fallback bit. [19:39:58] GNOME shows unrecognized characters as a box with the code point inside it. [19:40:01] *Simetrical hugs GNOME [19:40:11] yeah, that's what's showing up [19:40:25] box with four little numbers in it [19:40:28] hax :( [19:40:34] also, I have random ctcp version replies [19:40:35] What client do you use, on what platform? [19:41:09] VERSION xchat 2.8.4-1 Windows 5.0 [i686/1.10GHz] [19:41:36] Do unrecognized characters usually show up like that for you, or only in XChat? [19:42:15] depends on the program [19:42:35] I get the boxes with code point consistently on GNOME. [19:42:35] most do show up like that though [19:42:53] except in Microfail Word where they're just blank boxes [19:42:58] "microfail", hhe [19:43:04] Interesting. I never got those on Windows. [19:43:07] *AaronSchulz should use his GMail account [19:43:22] AaronSchulz, come on, you really tolerate having ads at the bottom of every damn e-mail? [19:43:24] almost everything I use uses a GTK environment ;) [19:43:35] What about Firefox? [19:43:49] they render the symbols correctly there >_> [19:43:54] Simetrical: better than in the content of every email you send and receive a la Yahoo and Hotmail [19:43:56] Simetrical: they used to be cute girls for dating/weight loss adds a lot :) [19:44:02] perhaps we could avoid the 'oslang' in here, i like to think we're more mature than that [19:44:07] it must have some font set that I don't know about [19:44:29] Skizzerz, Firefox is intelligent about fallbacks. [19:44:30] Simetrical: that's why my friends mom stopped using it [19:44:39] It magically finds fonts that have the desired characters. [19:44:59] Of course, on Linux that's not a problem, since the default fonts tend to have everything. :P At least Sans has a huge array of characters compared to XP's default fonts. [19:45:25] *Skizzerz doesn't even have XP xD [19:45:28] Yep, Monospace has all this stuff too. [19:45:34] 5.0 is Windows 2000 or something? [19:45:38] yes [19:47:00] heh, looks like stable version, SUL, and revisiondelete will be rolling out around the same time [19:47:12] why not just enable SMW while we are at it! [19:47:16] *versions [19:47:22] U+270D WRITING HAND [19:47:30] The Unicode Consortium people have too much spare time. [19:53:25] Hey, I'm looking for some API help [19:53:35] Is it possible to get the text of a page? [19:54:34] I know it's possible with query.php [19:55:25] Simetrical: i think their intention was to integrate all glyphs in the Zapf Dingbats font [19:55:35] Makes sense. [19:56:17] Soxred93: if you want the wiki code of a page, use action=raw, if you want the parsed text without navigation, etc., action=render [19:56:19] there's a proliferation of right-pointing arrows for that reason [19:56:38] Skizzerz, that's not the API, is it? [19:56:43] no [19:56:55] but why do you need the API? [19:57:02] but it's grabbable from the PHP backend to use in code [19:57:03] but it would be silly for the API to do something the wiki can do anyway [19:57:28] incidentally [19:57:43] i can't use ?action=render on special pages [19:58:01] Well, action=raw should be a fairly stable interface, it's true, but it seems weird to not have it in the API as well (hopefully not duplicating any code, of course). [19:58:42] raw doesn't make sense on special pages of course (except maybe for ones that have the ability to be transcluded), but render does [20:09:26] 03(mod) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10vasilvv) [20:11:13] 03(mod) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10Simetrical+wikibugs) [20:12:24] hey do you know where can i modify the login component of media wiki, basically i want to disable loging in and use the cookies set by another part of my website to maintain logged in status [20:12:28] ? [20:13:30] timetrek: have you looked at AuthPlugin? [20:13:49] its an extension? [20:15:43] Does anyone here have experience with wikipedia article dumps? I've downloaded one in xml format, converted it into sql however when attempting to import I recieve an error informing me its trying to insert into a table 'wikipedia' which doesn't exist...should it exist? Does the dump not use the same table structure as MediaWiki? I can't look to see as the dump is to big to open within any text editor. Thanks for any help. [20:16:28] timetrek: it's an interface to let you write your own login scheme [20:16:30] http://www.mediawiki.org/wiki/AuthPlugin [20:16:55] thanks [20:17:01] i owe you a beer [20:17:30] Does anyone actually get e-mails when they give their address to the Firefox crash reporter, or is it just some kind of cruel joke? [20:17:47] Despot: I don't think there should be a table called 'wikipedia' - do you mean its trying to insert into a /database/ called 'wikipedia'? [20:18:02] No, its trying to insert into a table called wikipedia, I'm 100% sure [20:18:15] The database test and the table wikipedia [20:18:46] *Mike_lifeguard wouldn't know, then [20:18:47] What's the exact error? [20:19:26] mysqlimport: Error: Table 'test.wikipedia' doesn't exist, when using table: wiki [20:19:29] pedia [20:19:34] sorry, split lines [20:19:43] As I said, its trying to insert into the table wikipedia [20:20:30] what do you mean converted to sql? can't you just use /maintenance/importDump.php? [20:22:07] I was told to use mwdumper which is a java program created by brion [20:22:16] I did so, and all seemed to go successfully [20:22:39] okay [20:22:40] Despot, very possibly brion did this mainly foor wikipedia and therefore it is looking for test.wikipedia [20:22:48] try editing the java code [20:22:59] *checking it, that is [20:23:12] simonrvn: finally got it. Source is always a good idea :) [20:23:18] eh? [20:23:26] I'd rather just use the wikipedia scheme, is this not possible? [20:23:44] brion, Despot-> error with mwdumper - [20:23:52] Not an error with mwdumper [20:23:55] that ran fine [20:24:05] An error with importing the dump created by mwdumper [20:24:12] I dont know if this is an mwdumper error at all [20:24:18] Or a mistake of my own [20:24:48] i would guess this is just the way mwdumper is programed to output right now.. but only brion would be able to answer that.. or someone who can look at the code [20:24:53] hello [20:24:56] Wiredtape: um, no? [20:25:08] there's certainly no table 'test.wikipedia' [20:25:14] that it would be trying to deal with [20:25:27] brion: That is wrong, its trying to insert into a table called wikipedia, not a table called test [20:25:38] right, it would not do that [20:25:45] (a table called 'wikipedia' in a database called 'test') [20:25:51] that's not a possible scenario from mwdumper [20:25:58] mysqlimport: Error: Table 'wikipedia.wikipedia' doesn't exist, when using table: wikipedia [20:26:06] Well I'm not understanding how this has happened [20:26:14] ok problem one [20:26:16] as its defently trying to insert into a table called wikipedia [20:26:22] mysqlimport is for LOAD DATA INFILE [20:26:25] not for SQL [20:26:31] Hmm ok [20:26:35] so mysqlimport would not do anything useful for you [20:26:38] What should I be using to import this [20:26:47] brion, i know it's table wikipedia in database test, just refered to it as table "test.wikipedia" - either way, i have no idea what the problem is :) [20:27:09] Despot: mysql [20:27:22] I also tried piping the dump into it but that hung for some unknown reason [20:27:27] brion: Which command? [20:27:55] Despot: mysql [20:28:09] Yes how though? [20:28:24] I tried mysql table < dump.sql but I believe that hung [20:28:37] as the systsem diskspace wasnt decreasing nor the was the amount of rows increasing [20:28:39] it doesn't give you any output until it hits an error [20:28:55] if you like, try using 'source dump.sql' from inside the CLI [20:29:35] Small problem...windows mysql server >_> [20:29:48] My server hasnt the disk space to do this as of yet hence I had to use my desktop machine [20:29:53] Which is windows...therefore no source command [20:29:59] ... [20:30:11] Despot: mysql command-line client has the same commands whatever os [20:32:06] brion: urg sorry, I thought you meant the unix command source [20:32:19] nah :) [20:32:28] brion: Love you :D Its working [20:32:36] Thanks for your help, very much appreciated [20:33:05] yay [20:34:35] Now to findout how long this takes on a windows machine >_> [20:46:25] brion: in November 2007 I got profiling data on the cluster's message usage to compile a list of most often used messages to be given priority for localisation. Stuff has changed since then, and I'd like to get currect data. Could you help me get it? [20:47:03] brion: back then the profiling was active for about 2 hours. Details at http://translatewiki.net/wiki/Most_often_used_messages_in_MediaWiki. [20:48:28] AaronSchulz: I'm nearly done with that "all but" thing. The only thing that needs to be done is to tweak the headers && title so that they say respectively " here are all logs, xxx excepted" &&& "all but xxx logs". And the fact is that most messages are currently like "This a log of user blocking and unblocking, etc...". I know how to deal with localized messages, but have you got any idea on how to implement it without adding 14 [20:48:28] new messages per language ? [20:48:46] siebrand: afaik it would still work; if it doesn't, check w/ domas and/or tim i guess [20:49:34] brion: the URL I got back then is no available. http://noc.wikimedia.org/cgi-bin/ng/report.py?db=all&sort=count&limit=5000&sample=&compare=&prefix=MessageCache::get [20:49:47] brion: or rather: gives cryptic output. [20:50:53] NicDumZ: are you using UNION ? [20:51:20] AaronSchulz: FORCE INDEX(times). Am I right ? [20:52:12] you force the type_timestamp index and UNION the queries for each type you want [20:52:24] like simetrical said above [20:52:42] must have missed it. [20:52:53] I was worried about the pagination, though [20:52:58] and it should only work if $wgMiserMode is off [20:52:59] domas: ping? [20:53:51] with a 1000 per page list, for 5 log types is 5000 rows scanned, then all sorted [20:54:17] wait. actually I was only implementing the simple "invert selection" thing, on a unique type [20:54:36] you mean excluding just one? [20:54:39] yes [20:55:00] since you said it would cost not that much, or... did you ? [20:55:29] that one would be fine yes, definetely [20:55:43] the multi-select one is not as fast [20:56:10] right :) , so I was just doing this simple task, which was the only one that has been ticketed / requested for now [21:00:12] hello, i have a little problem, my first mediawiki installation is complete, but in order to get on my homepage i have to write www.example.com/wiki, unfortunately www.example.com is not possible. [21:00:20] does the logo have to be 135 by 135 ? [21:00:28] i can't do a logo like the top bar of http://www.learnfren.ch/old/ ? [21:00:50] is there a preexisting style that would allow that? [21:01:00] actually, AaronSchulz, would you like to review my code ? [21:01:27] submit it to bugzilla [21:01:35] I'll be doing log stuff soon anyway [21:01:41] such as getting it to use pager [21:01:51] yes, definitely. [21:02:13] I would have taken a look into that, but you'll probably be more efficient [21:05:09] 03(FIXED) Requesting hook for search misses - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8934 +comment (10brion) [21:18:41] 03(mod) Inverse selection for [[Special:Log]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11739 (10nicdumz) [21:20:11] 04(REOPENED) Inverse selection for [[Special:Log]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11739 (10nicdumz) [21:21:10] Hi [21:22:11] hi [21:22:19] Duesentrieb, when do you think Extension:Lockdown will be working with 1.12.0? :-) [21:22:20] are there any recommended extensions, templates, or plug-ins to extension, template, or plug-ins [21:22:40] Church_of_emacs: not before may. [21:23:10] Wise answer :-) [21:23:16] windopain: sure. which are recommended however depends on what you are trying to achieve. [21:23:40] So, perhaps I should check back in some days? Or better some weeks? [21:24:29] does my wiki's logo have to be 135 by 135 ? is there a style or way i can easily have a top bar logo like this one i can't do a logo like the top bar of http://www.learnfren.ch/old/ ? [21:24:46] are there any recommended extensions, templates, or plug-ins to use to create flow-charts or some sort of state diagram on a wiki entry? i'd like to record several different groups of people and their reactions/choices through different stages or states... [21:24:50] Church_of_emacs: May, on my calendar, starts in about 40 days... [21:25:08] oh, ok [21:25:15] you mean the month [21:26:10] windopain: there are a few graphing extensions, including support for dia, gnuplot, ploticus and R [21:26:24] Ok, thanks for the info [21:26:26] there's a UML extension too [21:26:55] windopain: http://www.mediawiki.org/wiki/Category:Graph_extensions [21:27:00] i would like users to be able to vote certain information "up or down" similar to the way windows vista was (is) to handle data... popular data would "float" to the top of the pile... is there a term for this type of interface/application? [21:27:17] 03purodha * r32301 10/trunk/extensions/CrossNamespaceLinks/SpecialCrossNamespaceLinks.i18n.php: Update, and add, ksh messages. [21:27:29] Duesentrieb: thanks, i'll take a look at those [21:27:47] windowpain: http://www.mediawiki.org/wiki/Extension:Review and http://www.mediawiki.org/wiki/Extension:Rating [21:27:54] windopain: i have no clue but it sounds very much like something you would have to write yourself. for one thing, voting scores would have to be stored somewhere... [21:28:17] yes, rating extensions cover that.they usually don't do flowchart-like things [21:28:30] although i don't understand how these things are related, really [21:29:00] me neither... Extension:Rating seems like it will handle the polling part of what you're asking about [21:29:11] But then you want the data automatically graphed... or something? :\ [21:30:38] Duesentrieb: i'd like to have something similar to the "visual thesaurus" map-like display that allows users to add data to it... after too much data is added the map will not be able to fit it all on the screen so i'd like to use a rating/voting system to control what data is displayed [21:31:40] not sure if i can ever implement it into wikipedia, i'm hoping to accomplish it with Flex first. thought i'd ask here and see what i can learn first though [21:31:50] windopain: thatsounds like an interesting semantic deskop thing, but pretty hard to implement web based,and very much unrelated to mediawikis normal functionality. [21:31:55] my! .... freixenet is a real nice drink :) [21:33:40] Duesentrieb: well, that answers my question then... it isn't done with normal mediawiki functionality. bummer. :) [21:33:40] windopain: building a semantic thesaurus fro mwikipedia is what my theisis is about - visualizing it is another matter though. [21:34:31] windopain: i can't even think of how they would be related. there are touchgraph-based wikipedia/mediawiki navigators out there, but they generally use the "normal" linkstructure [21:34:35] 03brion * r32302 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialSearch.php): * (bug 1953) Search form now honors namespace selections more reliably [21:34:47] 03(FIXED) Namespace flags, when set, should be honored for the entire search page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1953 +comment (10brion) [21:36:31] Duesentrieb: i could live without the map-display.. there's probably a simple way to display the data [21:37:17] thenm you would have what?just alist of things, ranked by how people voted? [21:37:36] don't know if that exists, but someone may have done it. rating extensionssure exist. [21:37:58] 03(FIXED) Provide namespace options from Special: Search when blank search performed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8444 +comment (10brion) [21:39:22] Duesentrieb: yes, a list. i see it as a list either way though, just displayed differently. [21:39:27] does my wiki's logo have to be 135 by 135 ? is there a style or way i can easily have a top bar logo like this one i can't do a logo like the top bar of http://www.learnfren.ch/old/ ? [21:39:52] ahh i guess the "maps" are called "roamers" [21:42:36] 03(FIXED) Problem with namespace specific search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11742 +comment (10brion) [21:43:09] Sonja: if your logo doesn't fit in that corner box, you'll have to customize your styles... that's really going to be between you and your graphic designer :) [21:44:28] the thesaurus application sounds interesting; not sure if it would be applicable but i've wished there was a "technical/engineering" flag for thesauruses i use. certainly would be neat to be able to add/score entries and then view scores based on which group scored it (i.e. tech/engineer) ... anyway, thanks for the info. [21:46:18] hi.. is there anything special about the Template: namespace other than that you can refer to its members without explicitly specifying {{Template:Page Name}} ? [21:47:35] no [21:47:36] no [21:47:51] thanks :) [21:49:30] if you have a mainspace page called Page, and also Template:Page, which will be transcluded using {{Page}}? [21:49:41] The template. [21:49:50] {{:Page}} transcludes pages. [21:49:53] {{:Page}} transcludes the mainspace "Page" [21:49:56] >_> [21:50:00] 0 for 2 [21:50:16] *Skizzerz has to type faster [21:50:20] ok. But if the template doesn't exist, and the page does, then the preceding colon isn't needed, right? [21:50:25] Nope. [21:50:38] *Mike_lifeguard loves being right [21:50:38] You always need the colon if you want to transclude a page from (Main). [21:50:39] preceding colon is always needed [21:50:48] >_> [21:51:05] ........... [21:51:37] O.O [21:51:47] {{}} is not "smart" or anything, it takes Template: as the namespace unless you set a different one before it [21:51:52] ok, so then why wouldn't you need the colon for other namespaces :\ [21:51:56] you do [21:52:00] is it recommended to always use "(Main)" or something like it? [21:52:02] {{Talk:somepage}} [21:52:14] derwin: Hm? [21:52:23] derwin: it only says (Main) so that you don't think nothing is there. The actual namespace name IS '' [21:52:24] I mean, is there anything special about a "main" namespace [21:52:33] *Mike_lifeguard was totally misunderstanding how things worked... [21:52:36] or should you necessarily use it? [21:52:43] I am planning to do a mediawiki where I have no pages in '' [21:52:45] *Mike_lifeguard hates being wrongG!! >:| [21:52:48] I don't think using {{(Main):xxx}} will work [21:52:50] It doesn't have anything preceding it in the page title. [21:53:07] No, I use (Main) in conversation because using nothing at all would be confusing. ;) [21:53:29] the case I was thinking of, you specify the whole title, which means you're specifying which namespace [21:53:30] is it "sane" to have no pages in the '' namespace? [21:53:41] ("no") [21:53:43] Sure. [21:53:51] derwin: probably some special pages expect to work on the main namespace... [21:53:52] derwin: sure it is, depends on what your wiki is geared for [21:53:54] You can put pages wherever you like. [21:54:09] Or, alternately, you can just rename the (Main) namespace. [21:54:14] Which makes a bit more sense. [21:54:23] 03(mod) Selection of redirect only in Special:Whatlinkshere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13248 +comment (10huji.huji) [21:54:39] 03(mod) Add link type selectors to Special:WhatLinksHere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13467 +comment (10huji.huji) [21:54:44] I am planning to have three namespaces, each of which I always want to refer to explicitly [21:54:47] for my usage [21:54:58] I think that means I don't want ot use the (Main) namespace at all? [21:55:07] derwin: yeah, why not just rename the (Main) namespace to something with a definitive name to it? [21:55:24] Skizzerz: because then things might be accidentally put in it, basically. I don't want people putting pages in it. [21:55:34] but I want special pages to continue to work, etc. etc. [21:55:40] so I think I'll just not mess with it, and leave it empty [21:58:21] derwin: special pages should still work (I think) even if you rename it [21:59:28] If interwiki links and links across namespaces both have the format [[name:page name]], how do I know I'm getting a namespace instead of an interwiki link? [21:59:50] Skizzerz: yep, I just don't want any pages in it. so I think I'll leave it named blank and just set a policy that nobody puts pages there. :) [22:00:01] because if an interwiki ever happens to share the name of a namespace, the namespace on-wiki will always get linked to instead [22:00:38] ok, so local gets the pref, in other words, which makes sense [22:00:44] also, interwiki links will be a different colour than normal links [22:00:45] but I just have to manually make sure they don't conflict :) [22:00:58] yay, #mediawiki ftw [22:01:54] also [22:02:02] !wg NamespaceProtection | derwin [22:02:02] --mwbot-- derwin: http://www.mediawiki.org/wiki/Manual:%24wgNamespaceProtection [22:02:18] if you really want to prevent people from using the (Main) namespace, I suggest you use that variable [22:02:43] yeah, I was going to look at perms-based solutions [22:02:49] so thanks for the link :) [22:03:14] yeah, I was already planning to restrict my three custom namespaces using that var, woot [22:04:07] 03huji * r32303 10/trunk/phase3/ (3 files in 2 dirs): (bug 5745) Special:Whatlinkshere shows no more than 500 links through each redirect [22:05:41] 03(FIXED) Special: Whatlinkshere shows no more than 500 links through each redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5745 +comment (10huji.huji) [22:07:08] 14(DUP) Add link type selectors to Special:WhatLinksHere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13467 +comment (10huji.huji) [22:07:11] 03(mod) Allow separated inclusions, links, redirects on whatlinkshere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6934 +comment (10huji.huji) [22:09:05] when do edit tokens change? [22:17:33] if you want to use Qif Conditionals to display certain things and not others based on the contents of variables, how do you pass those variables from the referring page? [22:18:23] ie, I have three links, "a if x" "a if y" "a if z" where the only difference is that one step of a process is different.. how do I make a referring page which sets those variables so it displays "x" or "y" or "z" version? [22:18:38] (if this is, in fact, something which is sane to attempt..) [22:19:48] derwin: qif? whyuse qif? that's an anicent hack that has been overcome for some time, no? [22:20:28] heh [22:20:34] you see why I'm asking [22:20:45] qif because that's the link I saw from the page I was previously on [22:20:49] what "should" I use for this task? [22:21:24] install ParserFunctions and use {{#if:...|...|...}} [22:21:28] !parserfunctions [22:21:28] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [22:21:53] ah, I thought it was builtin, not an extension [22:22:00] nope [22:22:09] I had seen the ParserFunctions page but thought it was more detail of the Qif thing [22:22:13] thanks :) [22:22:14] there are a few built in parser functions. #if is not one of the, [22:22:39] 03(NEW) using nowiki to disable markup in a string property garbles factbox and inline query - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13474 normal; normal; MediaWiki extensions: Semantic MediaWiki; (info) [22:22:52] does my wiki's logo have to be 135 by 135 ? is there a style or way i can easily have a top bar logo like this one i can't do a logo like the top bar of http://www.learnfren.ch/old/ ? [22:23:02] qif was a hack used befre #if existed. i think the current implementation of the qif template on wikipedia uses #if, but there's no reason to start using qif now [22:23:19] Sonja: No, it doens't. If it is bigger you can move #column-one further down. [22:23:47] if it's wider you have to adjust a lot of cruft though [22:24:13] it also features #ifeq and #ifexist, and #ifexpr for complex stuff [22:24:19] derwin: --^ [22:24:33] yeah, I am looking at the Help:Parser_Function page now [22:24:59] it seems like I should be able to dynamically include sections based on variables specified in the link to them, using this mechanism [22:25:08] I'm just not sure if it's worth the challenge/hassle [22:25:25] when I can just use subsections for conditionals in my process docs [22:25:34] ie, 1.1 1.2 1.3 are an OR [22:26:05] it seems like this #if(...) stuff is reasonably complex to put into practice [22:27:11] Is it possible to convert from non-hashed directories to hashed directories? [22:28:07] AaronSchulz, to do the UNION thing you wouldn't force any index, MySQL will choose the correct one. [22:28:28] There's only one sensible one to use. If it has to decide between sorting and scanning, you might want to help it out. Otherwise usually it will make the right choice. [22:28:50] I thought it was faster to force it, since it doesn't have to use heuristics [22:29:35] No, you shouldn't use that unless it's necessary. [22:29:45] No point. [22:30:15] Unless domas or someone has said otherwise. [22:31:46] As far as I know there's no point, but I don't know everything about MySQL. :) [22:32:11] 03sanbeg * r32304 10/trunk/extensions/Cite/Cite.php: emergency fix, named refs are throwing off numbering for subsequent anon refs [22:32:53] 03(NEW) HTML entities to disable markup in a string property display as link in factbox - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13475 minor; normal; MediaWiki extensions: Semantic MediaWiki; (info) [22:33:40] Duesentrieb: Ok, I've identifed it's a change in core code that has caused Lockdown to break since it hasn't been updated for nearly a year. [22:34:01] MinuteElectron: cool, got a diff? [22:34:10] no [22:34:18] but i just no it's not your fault ;) [22:34:31] heh [22:34:34] i'll have to read your code now [22:34:41] but not tonight [22:34:49] if you can fix it, more power to you :) [22:35:00] :P [22:35:21] in fact, since you added to svn you've only modified it once which is very suprising [22:35:38] that's probably because it works and doesn't need bugs fixed every day? ;) [22:35:38] 03simetrical * r32305 10/trunk/phase3/RELEASE-NOTES: [22:35:38] Fix RELEASE-NOTES: this was not an API change, and the stated change didn't say [22:35:38] what was actually changed. I'm not sure we need a config option for this, [22:35:38] though . . . either let the user influence the page size or leave it alone. [22:35:39] What possible reason would a site admin have to change it globally? [22:35:46] Simetrical: yeah, the descriptions just seem to say it means "table scans are worse than using this index" [22:36:02] flyingparchment: heh, true true [22:36:03] so it is just another variable in the heuristics [22:36:47] 03brion * r32306 10/trunk/ (4 files in 4 dirs): [22:36:47] * (bug 9447) Added hooks for search result headings [22:36:47] * (bug 13338) DidYouMean extension now displays 'see also' on general search results [22:36:53] 03(FIXED) DidYouMean does not post suggestions on some search results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13338 +comment (10brion) [22:37:06] 03(FIXED) Request for hook in SearchEngine.php (for searchterm) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9447 +comment (10brion) [22:39:25] then again, it does limit the possible indexes that can be use, since it also does what USE does [22:40:49] I'm happy wasn't the only one to get confused on this :) [22:49:14] Hello [22:49:24] Can I use content from wikipedia in commercial project? [22:49:42] yes, but that question is not about mediawiki. you probably want #wikimedia [22:52:45] better yet, read the GFDL [22:53:48] Is there a maintenance script to convert from hashed to non-hashed directories. [22:54:17] "mv */*/* ." ? [22:54:30] damn,i washacking up something using find. [22:55:10] hm... if there are a *lot* of files, using find would be the right thing. [22:58:36] 03aaron * r32307 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Don't show diff for talk pages [23:03:51] flyingparchment: Is that a serious answer? [23:03:53] wait [23:03:54] no [23:03:55] i meant [23:03:59] non-hashed to hashed [23:04:00] sorry [23:05:00] MinuteElectron: you could probably hack it using importImages.php [23:05:16] move them somewhere else, and import them. might have to remove them from the image table first [23:05:27] MinuteElectron: what OS? [23:05:40] flyingparchment: Linux [23:05:42] MinuteElectron: you can of yourse write some code to build the directories based on the file name's md5, and move them [23:05:50] hmm [23:06:08] possibly [23:07:08] MinuteElectron: for f in *; do m=$(md5sum $f); a=$m[1]. b=$m[2]; mkdir -p $a/$b; mv $f $a/$b/; done [23:07:27] hmm, no, it's hash of the filename [23:07:43] so use this instead: m=$(echo "$f" | md5sum) [23:07:58] (echo -n? try it and see what works ;) [23:10:15] 03siebrand * r32308 10/trunk/extensions/Translate/TranslateUtils.php: Remove forced line height [23:13:48] 03brion * r32309 10/trunk/phase3/ (15 files in 5 dirs): [23:13:48] * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility [23:13:48] * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters [23:13:48] An autoloaded 'Namespace' class alias is retained for compatibility with [23:13:48] extensions which haven't updated to the new class name... however they too [23:13:51] will break on PHP 5.3. Yay! [23:14:11] flyingparchment: erm, sorry - i was distracted [23:14:18] brion: wow! [23:15:46] flyingparchment: I don't want to risk breaking everything. [23:15:55] flyingparchment: Do I change directory to my images folder irst? [23:16:52] so take a backup [23:17:02] yeah, fair enough [23:17:44] oh geez, 80MB of images :\ [23:23:22] brion: should we remove extensions/Filepath from trunk? [23:24:53] 03brion * r32310 10/trunk/phase3/includes/Linker.php: missed a Namespace:: [23:26:05] siebrand: mebbe [23:26:20] brion: any additionl criteria? ;) [23:27:10] 03river * r32311 10/trunk/tools/trainwreck/ (Makefile trainwreck.c): [23:27:10] - incorrect realloc() in do_ignore_errno corrupts heap [23:27:10] - failure to open logpos is not a fatal error [23:27:55] 03(FIXED) Use of 'class Namespace' in Namespace. php conflicts with reserved word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12294 +comment (10brion) [23:29:14] 14(INVALID) PHPTal templates don't support setOnloadHandler - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3172 +comment (10brion) [23:39:37] 03aaron * r32312 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Add &redirect=no [23:44:37] 03siebrand * r32313 10/trunk/extensions/ (14 files in 14 dirs): Formatting of messages and message files. No content changes. [23:47:59] 03(NEW) Rename namespace in scn.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13476 15enhancement; normal; Wikimedia: Site requests; (nnico) [23:50:45] hrm, ParserFunctions extension does not appear to be available for 1.8.x [23:50:47] http://www.mediawiki.org/wiki/Extension:ParserFunctions [23:50:53] am I misinterpreting this, somehow? [23:51:08] it says it requires 1.7.0 or above, but there's no 1.8.x version? [23:51:21] just ignore that [23:51:30] I was wondering if that might be the case :) [23:51:43] so I should probably use the "branched version" ? [23:51:46] no [23:51:50] just install the latest one [23:51:53] it will work [23:51:59] cool :) [23:55:40] 03brion * r32314 10/trunk/phase3/ (RELEASE-NOTES trackback.php): * (bug 6447) Trackbacks now work with transactional tables, if enabled [23:59:18] flyingparchment: Do I replace the m=$(md5sum $f) with your revised version? [23:59:39] MinuteElectron: try $(echo -n "$f" | md5sum) [23:59:55] just that command?