[00:00:26] you could also briefly set ['user']['userrights'], heh [00:01:46] <^demon> brion: Not my table , just happened to notice it :-P [00:01:47] hi everyone [00:01:50] *Anamacha doesn't know how to implement Splarka's hack -- any clues? [00:02:14] i have a question [00:02:20] if you know that please tell me [00:02:49] i find a code sample to use that find the similarities of two files as percent [00:03:14] is there any program like that ??? [00:06:21] @sod: try UltraCompare, part of the UltraEdit package [00:06:34] not free, but I think it's what you want [00:10:08] @splarka: the only trouble with your hack is that the weird characters aren't translating properly ... I'd put your line into LocalSettings, and there's a lot of translation when copying and pasting [00:10:10] How do I make sure MediaWiki calls my hooks in object mode rather than using the class as a static object? [00:10:51] Anamacha: try temp-granting $wgGroupPermissions['user']['userrights'] = true; [00:11:09] then modifying it via Special:Userrights, then immediately remove said line [00:11:15] @Skizzers: in LocalSettings? [00:11:19] yes [00:11:35] okay, trying [00:13:52] okay,am I dropped it in, now what/ [00:13:53] ? [00:14:46] go to Special:Userrights and set yourself sysop [00:14:48] ah, now add myself to the groups [00:14:50] and bureaucrat [00:14:53] 10-4 [00:16:46] okay I am in http://www.anamacha.net/wiki/index.php?title=Special:Userrights ... that account is member of no groups, with Bots, Sysops, Bureaucrats available ... but I can't seem to add the acct to those groups [00:18:57] omg ... this is so borked [00:22:07] Anamacha: you need certain permissions to add/remove users from groups; this is configurable through localsettings.php [00:22:13] okay, every account in a wiki is part of the group 'user' ? [00:22:33] every /account/ is in "user" yes (unless blocked?) [00:22:38] Mike: where, or with what syntax? [00:22:53] *Mike_lifeguard looks... [00:23:17] Mike_lifeguard: have you been following what's happened with Skizzerz? What he's suggested? [00:25:02] not so much... [00:25:02] 14(DUP) TOC won't collapse - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13832 +comment (10brion) [00:25:03] 03(mod) The Sanitizer doesn't validate the contents of id attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4515 +comment (10brion) [00:25:03] Mike_lifeguard: Anamacha's user_groups table is filled with garbage characters [00:25:04] O.O how... what... who? [00:25:04] Mike_lifeguard: basically there seem to be special characters at the end of my Sysop accounts [00:25:04] yeah, what he said [00:25:04] O.o [00:25:05] check it out: http://www.anamacha.net/wiki/index.php?title=Special:Listusers [00:25:05] well... that's strange. [00:25:05] the only sysop account on that page should be 'anamacha' ... the rest are spammer accounts [00:25:17] but you see how bureaucrat and sysop have crap after them? [00:25:19] ok, have you tried fuxing around in the db? [00:25:41] $wgAddGroups['user'] = array( 'sysop', 'bureaucrat' ); [00:26:06] ie finding yourself in there, and fixing it manually? [00:26:27] or $wgGroupsAddToSelf [00:26:29] Mike_lifeguard: I don't know enough about php to do it [00:26:53] oh, it's not hard... I did it after I locked myself out of my own wiki :P [00:27:16] How did the database get screwed up... [00:27:16] Mike: but Skizzerz had me editing the table through myphpadmin [00:27:25] No extensions. Hm.. [00:27:34] MZMcBride: I have NO idea how this happened [00:27:50] yeah, that'd work. That's how I did it [00:27:50] Anyone have direct DB access to your database? [00:28:01] just find your 2 rows, and remove the funky characters [00:28:02] Anyone else, that is. [00:28:05] MZMcBride: I dont' know enough about this to screw it up this bad ... all I know it was working fine one day, and it quit the next [00:28:09] Mike_lifeguard: tried that, doesn't work [00:28:24] wft? [00:28:34] MZMcBride: noone else but me has access, not that I know of [00:28:53] I didn't configure anyone to have access, other than me, unless there's a preinstalled back door or something [00:28:57] how does that "not work" ?? [00:29:26] Mike_lifeguard: damned if I know [00:29:37] in that case, I'd listen to sparkla then, cuz... that's messed up [00:29:45] skizzers had me truncate the table and recreate a new one, that didn't fix it [00:30:22] try manually setting http://www.anamacha.net/wiki/index.php?title=MediaWiki:Group-sysop-member&action=edit to something [00:30:40] I'd make it so users can add their own userrights briefly; add yourself to sysop and crat; then change it back to normal [00:30:48] ...which is what was said above [00:31:03] Mike_lifeguard: right, but I don't know how to do that [00:31:32] $wgGroupPermissions['user']['userrights'] = true; [00:31:40] I think that's what I was trying to do by adding " [00:31:40] # hack [00:31:40] $wgGroupPermissions['user']['userrights'] = true; [00:31:40] " [00:31:47] $wgGroupsAddToSelf['user'] = array( 'sysop', 'bureaucrat' ); [00:31:53] to LocalSettings [00:32:02] then go to [[Special:Userrights]] [00:32:20] ahh, but did you try the second part too? [00:32:24] MrZ-man: I can't edit that page [00:32:40] Splarka: no, I don't have the array statement in there, hold on [00:32:52] your database isn't locked is it? ^_^ [00:32:55] Anamacha: that's also odd [00:33:44] Splarka: I didn't lock it, no [00:33:53] doesn't mean it's not locked :O [00:34:48] Mike_lifeguard: where would I see if it is locked or not? [00:36:03] that's a good question... [00:36:11] Splarka: I added the 2d line to your hack, and Special:Userrights is behaving the same way [00:37:16] you can't modify? [00:37:31] no [00:37:35] I don't think so [00:37:44] can you do anything? can you change your preferences? [00:37:46] Anamacha: don't do that. [00:38:00] Werdna: don't do what? [00:38:05] granting 'userrights' permission lets the user add/remove ANY groups at userrights. [00:38:06] 03(mod) Add image data option to Special:Export - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13827 (10Phoenixoverride) [00:38:15] ahh, 1.11, the array wouldn't matter [00:38:40] Anamacha: what exactly did you try on userrights? select sysop/bureaucrat and click [save] (or whatever it was in 1.11) [00:39:11] ahh, you're a sysop now it looks like [00:39:22] Splarka: that's exactly what I did, yes. [00:40:16] well, remove that hack [00:40:29] the "account is a member of these groups" panel was blank, the three basic groups were listed in the other panel; I clicked on Sysop and nothing happened. I clicked GO and then reloaded the page for that user -- no change [00:40:32] I removed it [00:40:44] erm... /me doesn't see anyone in Special:ListUsers/sysop :\ [00:40:53] try logging out and logging back in [00:42:01] go look at http://www.anamacha.net/wiki/index.php?title=Special:Listusers ... the account "Anamacha" should be in bureaucrat and sysop groups, but there's those extra characters in the group names [00:44:14] Splarka: tried that, no go [00:46:27] 03(mod) Add image data option to Special:Export - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13827 (10brion) [00:49:04] 03(mod) Add image data option to Special:Export - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13827 (10Phoenixoverride) [00:50:00] 03tstarling * r33800 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php): Removed the emailconfirmed group by default, since it is slow when combined with CentralAuth, and not actually used anywhere in the MediaWiki core or Wikimedia. [00:53:11] anyone? [00:54:54] Anamacha: have you tried seeing if you can change your preferences? like changing skins? anything? [01:02:26] splarka: ah, yea, forgot that bit [01:04:27] splarka: it said preferences were saved ok, but I reviewed the changes I made, and only one took [01:05:00] then you may have more fundamental problems [01:05:04] I went to Recent Changes tab, changed 7 days to 14, and number of edits to show to 100 -- went back and only the 100 took [01:06:14] I'm making other changes and those are taking okay [01:06:33] I think the numbers I changed first are hard coded somewhere ... no big deal [01:07:42] changing languages seems ok [01:12:44] I'll be back later to see if I can get this sorted out [01:14:40] thanks all [01:28:06] hi everyone, i'm helping package mediawiki for fedora, and api.php is having problems for us. even though the wiki is perfectly set up, api.php tells us that we have to set up the wiki first [01:36:06] LocalSettings.php should be in the same directory as api.php [01:36:47] well, that probably isn't going to work, because index.php and LocalSettings.php are stored in /var/www/wiki, and the rest of it is in /usr/share/mediawiki [01:36:57] which i thought was a bit odd when i first saw it but there's a reason for it [01:38:30] the purpose of which is to be able to have more than one wiki, while still having one shared directory for mediawiki's core [01:38:44] includes/WebStart.php looks in the current directory for LocalSettings.php and various other files [01:39:13] one option is to make a wrapper script around all the entry points, changing the current directory before starting mediawiki [01:39:20] that's what it does [01:39:25] another option is to patch WebStart.php [01:39:39] not well enough, obviously [01:39:43] yeah. [01:40:52] looks like it sets $DIR to getcwd(), then does chdir('/usr/share/mediawiki');, and then requires includes/WebStart.php [01:42:04] what does? [01:42:11] index.php [01:42:12] the wrapper script? [01:42:13] in /var/www/wiki [01:43:09] is it a patched MediaWiki index.php, or a separate small script? [01:43:21] it's a patched MW index.php [01:43:32] well, it shouldn't be [01:43:41] ok. [01:43:49] is there documentation on this somewhere [01:43:56] probably not [01:44:06] you should have the stock index.php in /usr/share/mediawiki [01:44:24] and a simple loader in /var/www [01:44:36] similar to index.php5 [01:44:44] hmmm [01:44:46] !farm [01:44:46] --mwbot-- To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. For more advanced setups, see [01:45:20] (probably could have some more write-up) [01:45:49] I don't think Ian wants to install them in separate folders [01:46:06] distro packagers are kind of picky about that kind of thing [01:46:15] ahh [01:46:32] I use AliasMatch for my local test farm [01:46:41] 03(FIXED) Duplicate anchors and missing form id tag in search form on Cologne Blue skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2571 +comment (10brion) [01:46:52] it's pretty cool [01:47:14] add a section to that page about it? ^_^ [01:47:17] share the coolness [01:48:13] TimStarling, is overriding the template callback function supposed to be done on the global parser or on a separate instance? [01:49:56] i want to make action=inspect which would show the page normally, but wrap all template calls in some html so you can identify which bits of content come from which template [01:50:28] that's impossible [01:51:23] you can't just put
around a template and expect it to be a valid document tree [01:52:09] templates can contain arbitrary fragments of HTML [01:53:08] they can? [01:53:17] since the new preprocessor? [01:53:23] since forever [01:53:41] hmmm... I'm pretty sure there was some tidying going on [01:53:53] you couldn't put in one template and
in another [01:54:02] well, if you had tidy disabled, perhaps [01:54:18] but with tidy disabled it was horribly broken and useless [01:54:23] speaking of [01:54:31] Would someone tell me that for a small project mediawiki is too bloated and over kill? Plus the acls are hacks? [01:54:32] why not merge tidy into the sanitizer? [01:54:36] Yes, TIdy should really be integrated. [01:54:43] I read the quote from a mediawiki developer too often saying that mediawiki is for wikipedia like projects. Anything else and they should look elsewhere [01:54:43] Wikia doesn't use tidy... because it breaks some things [01:54:43] *MZMcBride glares. [01:54:50] and the devs are too lazy to fix them, so they just leave tidy disabled [01:55:03] Well, every user who copies templates from Wikipedia has the same issue. [01:55:05] meanwhile breaking every imported enwp template [01:55:29] it is just asinine to have tidy optional and default disabled when so much relies on it.. [01:55:30] We really should coordinate better. [01:55:46] [01:55:49] Can someone debunk the myth or shout otherwise? [01:56:15] sdakak: The software is written primarily for Wikimedia Foundation wikis. [01:56:24] sdakak: I use MW for just me :) [01:56:35] If you want to build a free online encyclopedia, it's great. For other things, it depends. [01:56:37] Mike_lifeguard: I know it can be done. I have got it runnig here [01:56:39] but, yeah, it's indended for (massively) collaborative editing :D [01:56:48] (another option would be to only check html coherence after expanding templates, why can't mediawiki do that without tidy?) [01:56:49] I'd be happy to coordinate with wikia if wikia was happy to pay the foundation insane amounts of money for my time [01:57:01] Wikia is just an example (a big one though) [01:57:03] MZMcBride: Mike_lifeguard: Would you people be able to make a wiki recommendation if I tell you what purpose I plan to use it for? [01:57:21] There are several sites that could recommend software. [01:57:34] Though I can't remember their addresses off-hand. :/ [01:57:44] you could check the logs and see how many people ask for help with fragmented html problems, to which the solution is to enable tidy... [01:58:05] I couldn't, no. I use MW because WMF does too; I have no reason to use anything else. I don't even know what other software exists [01:58:06] but the core devs have no interest in fixing the root problem because "it works for us" [01:58:06] so when you say "tidy should be integrated", you actually mean "tidy should be ported to PHP and thus made to run 100 times slower", is that right? [01:58:24] Mike_lifeguard: ok. [01:58:44] Splarka: careful who you're slandering [01:59:02] some people have spent immense amounts of time catering to the needs of general users [01:59:23] Splarka: most of the old problems were due to the difference between template handling between tidy and non-tidy mode [01:59:24] hey, just saying, it is an apparent deficiency in the core software [01:59:27] that difference no longer exists [01:59:32] Splarka: Could you recommend doku or moin over mediawiki for a small newsletter project that will have 500 people working at most and which will require page permissions, and other non-wiki features extensively? [01:59:57] and that the fix is (or was?) a long time in coming because it worked fine on wikimedia [02:00:34] if you choose to interpret that as slander, you must hate bugzilla ^_^ [02:00:35] no, it was a long time coming because a) it was a pain to fix right and b) there was a particular workaround (enable tidy) [02:00:45] So the new preprocessor relieved a lot of the Tidy dependencies? I didn't know that. [02:00:59] "this software is broken" "omg slander!" [02:01:10] Splarka: no opinion? [02:01:26] sdakak: nope [02:01:33] !cms | sdakak [02:01:33] --mwbot-- sdakak: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For was to restrict access in MediaWiki, see !access. [02:01:39] Try that? [02:02:00] Splarka: I don't think you said the software is broken, I think you said the core devs have no interest in fixing it [02:02:02] MZMcBride: I have got joomla here. But this is more open than a cms and i little more closed than wikipedia [02:02:18] ok, i'm thinkin' it's quittin' time [02:02:22] see y'all tomorrow kids [02:02:25] bye [02:02:31] See ya, brion. [02:02:34] I said "apparent deficiency" [02:02:39] and play nice :) [02:02:58] Tim: Splarka does have a point about MediaWiki's tendency to use broken hacks for far too long. [02:03:08] Because they work. [02:03:15] Or "work," rather. [02:03:29] subst/MediaWiki/MediaWiki\/Wikimedia [02:03:33] *Splarka hides [02:03:36] you said "the core devs have no interest in fixing the root problem because "it works for us"' [02:03:39] You mean MediaWiki or Wikipedia? Or Wikimedia? [02:03:54] TimStarling, certainly there's more motivation to work on features of benefit to Wikipedia. [02:04:01] "no interest" is a little strong. [02:04:01] I mean MediaWiki and Wikimedia. They're pretty closely linked, y'know. ;) [02:04:03] Tim: yes, it sure seems that way [02:04:21] MZMcBride, Wikipedia uses tons of horrible hacks. MediaWiki, not so much, for the most part. [02:04:31] Nor Wikimedia, in terms of server administration and so forth. [02:04:32] fragmented html works in templates/parserfunctions/parameters on wm, because tidy is enabled and working [02:04:51] Wikipedia uses horrible hacks because they can't use anything else, mostly, since they only have templates to work with. [02:04:56] although not without problems, but the problems get fixed as they come, like the checkboxes with &editintro and

[02:04:57] Splarka: well, it's simply not true [02:04:58] But certain things are implemented poorly and then forgotten about because they accomplish the task at hand. [02:05:04] Such as? [02:05:10] I'm sure there are *some* examples. [02:05:21] But I wouldn't say it as a general thing. [02:05:22] ask brion how much time he spends on releases alone [02:05:49] Several hours once every three months? [02:06:00] Three? [02:06:08] releases are a PITA [02:06:10] Well, except last release where it was six. :) [02:06:21] I sure as hell wouldn't do them if it were up to me [02:06:37] but I do spend a lot of time fixing bugs that are only relevant to non-wikimedia users [02:06:49] but in summary: it would be nice if the sanitizer did not need to rely on tidy, in order to do something like {{#if:1|}}
[02:06:50] and improving the software for that use case [02:07:03] Splarka, it's been pointed out that, in fact, it no longer does need to rely on tidy. [02:07:09] Or at least it's not supposed to anymore. [02:07:17] I suppose the same thing being said about Tidy also applies to ParserFunctions. [02:07:17] but is that true? [02:07:23] When people come in here for help, if it's not Tidy, it's ParserFunctions. [02:07:26] Splarka, I dunno, try it. [02:07:30] *Splarka still types !tidy every few days in here [02:07:35] MZMcBride, well, that's mostly because they haven't installed it. :) [02:07:46] But should they have to? [02:07:56] It's been suggested that it be an installation option. [02:08:02] And dear God, isn't ExtensionFunctions.php still required some places? [02:08:11] well, people come in and say "why is the template I copied from wikipedia rendering escaped html fragments?" [02:08:16] By some obsolete extensions, maybe. I don't think otherwise. [02:08:19] Splarka, using 1.12? [02:08:32] Simetrical: not sure, check the logs [02:08:47] You check the logs, I don't care. It's not Wikipedia! [02:08:49] or disable tidy on test.wp ^_^ [02:08:58] http://www.mediawiki.org/wiki/Extension:ExpandTemplates says ExtensionFunctions is needed. :/ [02:09:36] *Splarka is admittedly biased on this subject, having spent months on Wikia converting imported html templates to wikitemplates [02:09:54] Er, why didn't you just use Tidy again . . .? [02:10:15] I tried for about 3 years, constantly requesting it from the Wikia devs [02:10:24] the few times they did enable it, it broke a few things, so they disabled it [02:10:37] So blame them. :D [02:10:49] no one is innocent in this! [02:10:53] original sin ^_^ [02:11:01] *Splarka kicks the dog, tidy is your fault [02:11:24] but, Wikia was just, as said, an example ^_^ [02:11:53] SpecialCite.php also requires ExtensionFunctions, according to the docs. [02:12:29] As does Filepath (may it rest in peace). [02:12:32] *Splarka goes back to doing nothing useful [02:12:51] *MZMcBride continues to curse ExtensionFunctions. [02:13:41] my internet fails [02:14:24] what's wrong with ExtensionFunctions? [02:14:43] It's another "Help, my extension won't work" issue in here. [02:15:21] In my opinion, it should be deprecated entirely or put into core. The KISS principle. [02:19:02] the only reason it's a problem is the complete absence of a distribution system for extensions [02:19:43] a lot of people complain about missing files as well, because they forget to copy and paste all of them off the web [02:20:02] my internet blew up again. are the logs realtime? [02:20:44] what logs? [02:21:00] in the topic [02:21:07] yes they are. woo [02:24:08] looks like i missed some good conversation [02:33:14] ok i just read the logs. what? [02:35:27] wait i think i see it [02:42:21] hmm, this confuses me. how do any of the skins and images work if they're all in /usr/share/mediawiki [02:42:31] *ianweller asks the other packagers [02:42:37] ianweller: your distribution probably installs an apache alias of some sort [02:42:43] fix the problem, don't use distribution packages :) [02:42:53] flyingparchment: here's the thing, i'm trying to package it :D [02:42:55] look at this [02:42:56] wget -c http://ubuntu.osuosl.org/releases/.pool/ubuntu-8.04-desktop-i386.iso [02:43:00] chequen esto [02:43:00] wget -c http://ubuntu.osuosl.org/releases/.pool/ubuntu-8.04-desktop-i386.iso [02:47:38] flyingparchment: there's an unfortunate rule that fedora apparently has, which is that anything that infrastructure uses to run stuff has to be packaged [03:10:44] is there a syntax or wiki setting for allowing an external link to open up in a new window/tab by default for all users? [03:11:57] There is JS that can be used. [03:12:06] The English Wikipedia has a gadget that does it, I believe. [03:14:19] MZMcBride: know whereabouts by chance? common.js is rather large and ctrl - f isn't helping [03:14:32] It's a gadget. [03:14:35] !e Gadgets [03:14:35] --mwbot-- http://www.mediawiki.org/wiki/Extension:Gadgets [03:14:50] So, check your preferences. [03:25:57] http://en.wikipedia.org/wiki/MediaWiki:Gadget-exlinks.js [03:26:44] *Charitwo rars Splarka [03:26:49] straightforward onload iterate over content links and append a target [04:15:52] <[Hyarion]> hmm, is there anyway to change the skin based on the browser the visitor is using? [04:21:12] hello- i've got several users of my mediawiki install (codex.gallery2.org) whos emails are bouncing. unfortunately, they are watching every page, so every time a page is created or moved, i get a bounce email (I need to keep bounces on for other reasons). The only things in the watchlist table for these users are the file upload page, how can I manually turn off their notifications? [04:22:33] just set their user_email field to blank [04:22:38] that ought to fix it [04:22:54] ah nice. brilliant! i was trying to figure out how to delete the notification rules themselves somewhere :) [04:22:55] does that automatically remove emailconfirmed on them too? [04:23:38] you mean emailconfirmed as in the useless group that i just removed? [04:23:56] *ckdake guesses user.user_email_authenticated [04:24:10] well, the right that allows users to, say, email other users ^_^ [04:24:17] looks like i might could NULL those as well [04:25:10] isEmailConfirmed() checks if the email address is valid [04:26:01] hmm, and any changes to the email confirm automatically unset the confirmed status? [04:26:13] (er, that is, email field, in prefs) [04:26:24] yes [04:26:37] otherwise it would be a bit insecure, wouldn't it? [04:26:58] well, yes [04:27:03] which is why I asked ^_^ [04:27:12] *ckdake axes users 4195, 6835, and 9461's email addresses and hopes to never get a bounce again from them! thanks all [04:27:33] hope they don't forget their password ;) [04:28:04] so the only problem would occur if you changed user_email to something else that looked valid, without invalidating the validation [04:28:08] *ckdake has been getting ~50 bounce a day for each for too long! [04:29:03] ckdake: you might leave them talk page notes, or... heh... emails [04:30:44] Splarka: maybe.... none of them have actually ever made any edits so i'm not too concerned [04:32:07] well, that's rude of them [04:32:13] indeed :) [04:32:44] but 3/10k+ for bouncing all the time ain't bad [04:34:03] *ckdake heads to bed [06:01:47] Is there any intermediate stage between pure html: http://wikia.pastey.net/86404-3dua and wikicode: http://wikia.pastey.net/86405 that will let me have only 4 lines of code, but not be so complex? [06:08:36] hi AaronSchulz [06:08:46] *AaronSchulz yawns [06:08:49] sleep time! [06:09:04] Werdna: you can fix those $IP calls now [06:09:06] *AaronSchulz runs [06:09:42] maybe. I'm doing global groups [06:12:18] NicolasJager: you can sometimes mix wikicode and html, though without tidy it might break [06:12:45] also, you could have the wikitables called from templates, maybe... but would that be less complex... [06:12:54] {| border="1" [06:13:04] {{tablerow|a|b}} [06:13:05] etc [06:13:37] and what would the content of {{tablerow}} be, splarka? [06:16:04] {{!}}- [06:16:04] {{#if:{{{1|}}}| [06:16:04] {{!}}|{{{1}}}}}{{#if:{{{2|}}}| [06:16:04] {{!}}|{{{2}}}}}{{#if:{{{3|}}}| [06:16:12] oop, sorta like that I'd imagine [06:16:41] continuing on with a closing }} [06:16:48] ah, something like this would work? http://shaiya.wikia.com/wiki/User:Nicolasjager/Template:Z [06:17:48] I don't want the tablerow template to be any more complex than it needs be, cause I"m worrying about pre-expand limits [06:17:59] oops [06:18:10] typo *fixes* [06:19:35] so would this template work: http://shaiya.wikia.com/wiki/User:Nicolasjager/Template:Row2 (under the condition I know a 2 column row will be needed)? [06:19:54] a/b testing, wikitables are evil [06:20:40] a/b testing? what's that? [06:21:05] that means hitting preview a lot [06:23:30] and, why can't I find any pre-expand quantity for http://shaiya.wikia.com/wiki/User:Nicolasjager/Template:Z in it's source code? Is it 0? [06:26:51] okay, try this for the contents of that template: http://p.defau.lt/?7w8lvOGAS6a5ELh_PalECw [06:27:14] oop, or, what you have should work, if you are sure it will only be 2 rows [06:27:19] heh [06:31:47] alright, thanks. I want it as simple as possible, so I'll go with assuming 2 rows. [06:31:56] 2 columns* [06:47:44] <_wooz> lo [06:56:46] 03werdna * r33801 10/trunk/phase3/includes/SpecialUserrights.php: Split off getAllGroups(), to facilitate subclassing for weird circumstances (like, for example, writing a global version of it to go with CentralAuth) [07:05:54] call_user_func( array(get_class($this), 'getAllGroups' ) ) [07:05:55] hmm [07:05:57] am I on crack? [07:06:21] Dantman: what's wrong with using this? call_user_func( array(get_class($this), 'getAllGroups' ) ) [07:06:44] what's wrong with $this->getAllGroups()? [07:06:58] flyingparchment: it's a static method. [07:07:11] and you don't know the class name? [07:07:16] I didn't think you were allowed to call static methods using that syntax. [07:07:20] flyingparchment: right. [07:07:28] php... [07:08:09] *Werdna shrugs. [07:08:10] In where? [07:08:12] looks like it works. [07:08:14] never mind. [07:08:20] Actually... That there is kinda pointless since it's effectively the same as: [07:08:32] call_user_func( array(__CLASS__, 'getAllGroups' ) ) [07:08:50] and, apparently, the same as $this->getAllGroups() [07:08:55] 03werdna * r33802 10/trunk/phase3/includes/SpecialUserrights.php: Fix up last commit so that it works for its intended purpose (use in derived classes) [07:08:56] what's wrong with self::getAllGroups() ? [07:09:07] oh the static badness [07:09:09] Nikerabbit: calls it on class of caller, not class of the object. [07:09:18] Ooooohhh [07:09:22] I see the issue here [07:09:24] Werdna: yeah they only fixed it recently, if they did [07:09:38] ^_^ This is why PHP added in static:: in 5.3 [07:10:10] I had the same anoyance when I tried to subclass some of MW's classes and found out I had to redefine things because it was calling the parent method [07:11:38] http://bugs.php.net/bug.php?id=26930 haha [07:11:42] "bogus" [07:13:31] i actually agree that the current behaviour is correct [07:15:26] Is it possible to have everything else load first, and then load images? [07:15:45] that is a question for your web browser, not mediawiki [07:16:00] "Dear firefox..." [07:16:16] As of PHP 5.3.0, it's possible to reference the class using a variable. The variable's value can not be a keyword (e.g. self, parent and static). [07:16:19] Oh...figures. [07:16:19] huh? [07:16:32] Nikerabbit: $this->myname::foo()? [07:16:42] $a = 'Xml'; $a:element() ? [07:16:49] i guess so [07:17:48] *Lady_Aleena hates having to commune with software providers other then Wikimedia. The others never help. [07:18:24] where's the page that documents static::? [07:20:08] aha late static binding [07:21:32] is possible to a wrapper for it? [07:21:45] so that we could start using it already? [07:53:23] 03mkroetzsch * r33803 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php: typo in variable name [08:04:37] bah [08:04:46] not having much luck getting answers to my questions here :o [08:10:44] Sorry to read that...wish I could help, but you probably have a technical question. :S [08:11:49] 03werdna * r33804 10/trunk/phase3/includes/SpecialUserrights.php: Also split off logging from Userrights class. This is the last of the modifications needed for the modified version in centralauth to work. [08:13:01] Nikerabbit: around? [08:13:09] Werdna: yes [08:13:32] I'm about to write a web interface for setting the centralauth equivalent of $wgGroupPermissions [08:13:43] what do you suggest in the way of figuring out a list of all the rights that are available. [08:14:26] on all projects? heh [08:15:34] well, the same rights would be available everywhere, if they're using the same software [08:15:34] um? [08:16:29] I don't know if it is possible at all [08:17:39] groups are easy.. but rights no [08:18:38] hmm [08:18:47] I'm thinking of stepping through $wgGroupPermissions and grabbing them all [08:18:58] that might not be all though ^_^ [08:19:37] $wgGroupPermissions['unused']['flibble'] = true; [08:19:55] maybe request the configurer add all unused ones to at least one group, and blame them if they don't [08:20:06] Werdna: how does r33802 work? [08:22:25] first you were calling non-static method staticly and now static method non-staticly? [08:33:16] Nikerabbit: it works. You can call a static method like that. [08:36:16] Werdna: wtf [08:36:20] it should be fatal error [08:36:23] 03jojo * r33805 10/trunk/extensions/Collection/README.txt: be even more precise [08:37:08] naah, it should just be E_STRICT; it makes sense [08:37:15] Calling non-static methods statically generates an E_STRICT level warning. [08:37:25] A member declared as static can not be accessed with an instantiated class object (though a static method can). [08:44:38] Hi, does anyone knows how to access directly the images shown on wikipedia? I mean getting a permanent URL... [08:44:59] Special:Filepath/Imagename.ext [08:46:58] and what is the filepath? [08:47:12] is it image dependant? [08:49:29] brasseur: If all the images are stored in the same directory tree, it is not image dependen.t [08:50:41] tale: the actual url depends on the image [08:52:05] tale: the way I know to access the image is http://upload.wikimedia.org/wikipedia/en/// [08:52:12] brasseur: you can use thumb.php too [08:52:33] tale: and i don't know how to deduce the two alpha numeric... [08:52:39] the alphanumeric is the first and then first/second letter of the md5 of the title [08:52:41] brasseur: Why don [08:52:51] why dont youy use the Special page? [08:52:59] $md5(Wiki.png) = bc32c4ef985f1924664e5f5c7359ef62 [08:53:07] so the image is in /b/bc [08:54:14] so the URL for each image is permanent based on the name, just a bit odd ^_^ [08:54:23] but as above, there are other ways: [08:54:29] this next commit is going to blow you away :P [08:54:32] not on the contents fortunately [08:54:51] Werdna: is that plural you? :o [08:54:58] Nikerabbit: almost. [08:56:04] Sorry to interupt, but could someone tell me what a basic bot consists by way of code? [08:56:14] brasseur: for thumbnails you can use http://en.wikipedia.org/w/thumb.php?w=130&f=Wiki.png and for fullsize you can use http://en.wikipedia.org/wiki/Special:Filepath/Image:Wiki.png [08:56:23] me gives a cookie the one who commits CorePath.php to extensions first :o [08:56:49] Lady_Aleena: logging in, doing stuff. [08:56:57] Lady_Aleena: use one of the frameworks [08:56:59] perlwikipedia works well. [08:57:12] use pywikipedia if you have 2GB or more ram [08:57:17] Splarka: thanks and what about the thum.php? [08:57:31] brasseur: that was one of the examples [08:57:34] The question came up, and I didn't know how to answer it. [08:58:10] 03werdna * r33806 10/trunk/phase3/languages/messages/MessagesEn.php: Introduce descriptions for user rights. Will be used in new CentralAuth changes, and is now used on Special:Listgrouprights [08:58:13] Splarka: sorry i just saw u already answer [08:58:43] brasseur: the thumb.php URL path returns the image directly (or error), and Special:Filepath returns a 302 to the /x/xy path [08:58:51] 03werdna * r33807 10/trunk/phase3/includes/ (SpecialListgrouprights.php User.php): Also, include includes when committing changes (haw haw) [08:58:55] second time I've done that in the last few days. [08:59:09] Werdna: you use svn ci -m? [08:59:36] Werd: I am wondering why more people aren't committing just some random phrases to /messages/ to get free translation services [08:59:36] oki [09:00:07] Werdna: translators will kill you for that :) [09:00:21] *Lady_Aleena is glad she is not a translator. [09:00:48] +'right-apihighlimits' => 'Use API high limits', [09:00:52] that's not user friendly [09:01:36] 'Get high in API' [09:01:36] More results from API queries? [09:02:01] rhyme in english whenever possible, drives translators nuts [09:03:27] hmm yet another place that loads all messages :o [09:07:49] is it possible to allo anonymous upload of files in media wiki [09:08:14] sure [09:08:25] $wgGroupPermissions['*']['upload'] = true; [09:08:29] !access [09:08:29] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [09:09:07] Werdna: what happens when anon users own log entries? [09:09:39] huh? [09:10:38] verb missing? :o [09:11:07] details kthx [09:12:20] *Nikerabbit splarkas splarka's splarka splarkas [09:12:39] buffalo buffalo buffalo buffalo buffalo buffalo nikerabbit [09:12:54] Splarka: I have written parsers that parse that sentence [09:13:06] Werdna: thanks! where do i send digital cookies? :) [09:13:33] Splarka: the number or parses grows pretty fast :o [09:13:36] ams: are they httpOnly cookies? [09:14:06] Splarka: good to see you made a grammatically accurate sentence [09:14:11] Nikerabbit: in good humor: get('life',1) [09:14:27] *Splarka is one to talk, made a prime factorization template earlier.. [09:14:37] buffalo buffalo buffalo buffalo buffalo buffalo the horse walked past the barn. [09:15:18] Werdna: what happens when anon users own log entries? [09:15:37] Splarka: what're you on about? [09:15:38] Werdna: no, the chocholate and hazelnut kind [09:15:41] what happens when anon users perform actions that create log entries associated with them [09:16:02] the verb 'own' [09:16:38] ah right [09:16:38] well, the non-determiner [09:16:47] ams: ooh, I like the sound of that :P [09:16:53] Splarka: no idea, ask aaron [09:17:04] I imagine log_user_text has IP, log_user has 0? [09:17:20] if(!aaron) werdna.bug().bug().bug().bug().bug() [09:17:31] no semicolon [09:17:55] Werdna: hm... doesn\t seem to work for me that wgGroupPermission thingy... [09:18:45] added it in LocalSettings.php? [09:18:51] yup [09:19:06] what error message do you get when you try to upload a file? [09:20:00] ah, maybe i need to set a+rwx on the upload directory? [09:20:21] and perhaps $wgEnableUploads = true? [09:20:31] if( !$wgUser->isAllowed( 'upload' ) ) { [09:20:32] if( !$wgUser->isLoggedIn() ) { [09:20:32] $wgOut->showErrorPage( 'uploadnologin', 'uploadnologintext' ); [09:20:41] ... [09:20:53] hmm [09:20:55] what? [09:21:00] but it doesn't actually stop them [09:21:03] Werdna: yup [09:21:08] odd that it shows another error completely though, no? ^_^ [09:21:17] not really [09:21:57] Werdna: cannot see anything strange int he lgos [09:22:57] ams: eh? [09:23:09] Werdna: cannot see anything strange in the logs :) [09:23:14] ah [09:23:21] what error do you get when trying to upload as an anon? [09:23:30] that one has to be loged in [09:23:34] ah [09:23:39] do you have command-line access? [09:23:39] (it is in swedish, so i'm not going to paste it here) [09:23:42] yep [09:23:48] php maintenance/eval.php [09:24:14] print_r($wgGroupPermissions['*']['upload']); [09:24:38] empty... [09:25:06] where've you put this $wgGroupPermissions['*']['upload'] = true;? [09:25:37] can i spam a few liens? [09:25:41] yeah [09:25:47] if it's 5 or so, I don't care [09:25:50] if it's more, pastebin it [09:25:52] $wgGroupPermissions is in LocalSettings.php [09:26:02] 03(mod) Auto protect the redirects created when a protected page is move - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13830 (10wikipedia.kawaii.neko) [09:27:08] Werdna: www.update.uu.se/~ams/bar [09:27:55] Werdna: doesn't even work after that [09:28:41] ams: where is it in LocalSettings.php? [09:29:12] /var/lib/mediawiki1.7/LocalSettings.php [09:29:30] no, like, bottom of the file? top of the file? [09:29:34] middle [09:29:46] can you pastebin your LocalSettings, redacting db passwords and so on [09:29:51] 23% into the file.. [09:31:34] www.update.uu.se/~ams/LocalSettings.php [09:33:10] heh [09:33:42] ams: rename to LocalSettings.php/txt [09:33:45] erm, .txt [09:34:23] you mean mv localsettings.php localsettings.txt? [09:35:52] ams: he means that that .php is being interpreted there [09:36:26] huh? [09:36:28] there where? [09:38:21] i really do not know what i am being asked to do... [09:39:16] go to the URL you just gave us [09:39:24] oh.. [09:39:25] ok :) [09:39:43] www.update.uu.se/~ams/LocalSettings.txt [09:39:44] done [09:45:15] re [09:59:36] 03jojo * r33808 10/trunk/extensions/Collection/README.txt: added notice about egg cache and write access [10:10:28] 03(mod) Flagged Revision Box is above categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13629 (10arnomane) [10:12:35] Werdna: ping? [10:13:35] Werdna: re: r33806: in message 'right-unwatchedpages', Special:Unwatchedpages should probably be a link, as there now is no localisation. [10:14:23] siebrand: doesn't work [10:14:28] I did have it linked [10:14:55] but, e.g. on Special:Listgrouprights, it stuffed up. [10:15:04] Werdna: hmm... Localisation wise the current message sucks. [10:15:25] mind you, I've always thought Special:Listgrouprights is lame because every goddamn word on the page is linked. [10:15:38] Werdna: true enough [10:15:54] would make more sense to have a UL in columns, and have a comment up the top that says "See this link for details about rights" [10:16:01] since it looks less lame now. [10:16:03] Werdna: how about just removing the special page name, and make it "unwatched pages"? [10:16:14] okay [10:16:21] will stick it in with my next commit (more fun!) [10:16:25] Werdna: ok, will do that [10:16:41] i already did it [10:16:43] but I'm not committing yet [10:16:51] I have stacks and stacks of changes to go with this centralauth stuff [10:17:25] Werdna: people are going to see the message in Betawiki and translate it. I want it in asap, so just paste the message so I can commit it and you do not get a merge conflict on update :) [10:18:38] it's cool [10:18:43] committing now [10:18:54] thanks [10:18:54] I had no other changes to that file [10:18:54] 03werdna * r33809 10/trunk/phase3/languages/messages/MessagesEn.php: Change Special:Unwatchedpages to "a list of unwatched pages" [10:20:23] siebrand: bah, I wanted the api high also to be changed :o [10:23:48] Werdna: i think there should be a page of unwatched lists [10:24:49] http://en.wikipedia.org/wiki/MediaWiki:Licenses [10:25:03] I want to include a default parameter to self type licenses [10:25:06] how about an unwatched page of lists? [10:25:28] called "author=[[User:]]" [10:25:41] what magicword would I use? [10:26:40] flyingparchment: We have one. [10:26:42] a username magicword would break cache [10:26:48] try author=~~~ [10:26:49] flyingparchment: Special:Specialpages [10:27:29] Okay, so how on earth do I present a list of 42 checkboxes for permissions sensibly? [10:27:49] [ ] Enable 42 permissions. [10:27:55] have them flee from the mouse cursor [10:28:01] *Splarka saw a fun javascript that did that [10:28:15] seen that. [10:28:22] I guess I'll do it with a UL for now [10:28:51] Splarka no that wont be good [10:28:57] some people have complicated signatures [10:29:22] https://bugzilla.wikimedia.org/show_bug.cgi?id=4196 [10:30:44] there was some talk of making a subst-only magicword, like {{subst:CURRENTUSER}}, but I don't think that ever went anywhere [10:35:34] 04(REOPENED) New variable giving USERNAME - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4196 +comment (10wikipedia.kawaii.neko) [10:36:47] lets rehash that discussion :/ [10:37:02] oh goodie [10:38:01] 03siebrand * r33810 10/trunk/extensions/ (5 files in 5 dirs): Define some user rights in extensions for localisation on Special:ListGroupRights [10:38:16] siebrand: oh, I was going to do that [10:38:20] siebrand: did you do centralauth? [10:39:26] no, you didn't [10:40:05] siebrand: I've done centralauth in my working copy [10:40:27] 03siebrand * r33811 10/trunk/extensions/ConfirmEdit/ConfirmEdit.i18n.php: Fix syntax error in my previous commit [10:41:13] Werdna: for now I just did the extensions that we use on Betawiki :) [10:41:35] ah [10:43:04] 03rotem * r33812 10/trunk/phase3/ (2 files in 2 dirs): [10:43:04] * Rebuilding English file. [10:43:04] * Adding new messages to messages.inc. [10:49:23] whoa, this is such a mammoth commit [10:50:58] Werdna: better not to let it too big :o [10:51:27] uploading a screnshot [10:51:34] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Image:Global_Group_Management.png [10:52:10] Werdna: "List of globalrightsmanager"? ;) [10:52:29] örnay [10:52:39] why we don't have that in core? :o [10:53:48] flyingparchment: where globalrightsmanager is User::getGroupMember( 'globalrightsmanager' [10:53:52] ) [10:54:00] so, for sysops, it would be "list of sysop" [10:54:08] well that's not much better [10:54:11] Werdna: http://en.wikipedia.org/wiki/User_talk:Jimbo_Wales#System_Developer.2Fsteward ツ [10:54:11] and if I can figure out how to get the plural, I'd be better off. [10:54:13] 03werdna * r33813 10/trunk/extensions/GlobalBlocking/ (GlobalBlocking.i18n.php GlobalBlocking.php): Right descriptions for GlobalBlocking [10:54:39] AzaTht: haha [10:54:45] hehe [10:55:31] flyingparchment: well I'm not sure where to get the plural name. I guess I'll have to reword that message [10:58:34] 03rotem * r33814 10/trunk/phase3/ (3 files in 2 dirs): [10:58:34] * Update for he. [10:58:34] * Several fixes of right descriptions. [10:58:54] Werdna: i suggest "List of the people who are called: sysop" [10:59:17] it's now this: '[[Special:Listusers/$1|List of users with $2 rights]]', [11:02:35] In MediaWiki:Edittools, I have

. How can I make return "enter" on pages in a select namespace input this automatically? [11:03:05] VonSchmut: i can't parse that sentence [11:03:09] 03jojo * r33815 10/trunk/extensions/Collection/README.txt: added info about MediaWiki version [11:03:36] (return = "enter") [11:04:25] 03rotem * r33816 10/trunk/phase3/ (3 files in 2 dirs): Reordering rights, and grouping similar rights together. No changes in messages. [11:05:00] hehe, I generated the list with a perl script parsing DefaultSettings.php [11:06:14] Maybe I need to explain this better. [11:06:38] I have pages under a specific namespace. Let' [11:07:31] Let's call it "Foo:". When editing pages under that ns, I want the
to print automatically whenever I hit "enter". [11:07:43] why would you want that? [11:07:52] does it matter? [11:08:04] there's probably a better method [11:08:38] The specific div I'm using has a css class [11:08:43] that's why [11:09:05] Werdna: any clues? [11:10:05] 03(NEW) Redirects that contain text between "#REDIRECT" and "[[ LINK]]" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13833 normal; normal; MediaWiki: Redirects; (wikipedia.kawaii.neko) [11:11:18] 03(mod) Invalid redirects that are treated like valid redirects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13833 summary (10wikipedia.kawaii.neko) [11:11:19] basically it just has to create the properties of this css class whenever hitting enter, without loading a bunch of code into the page [11:12:10] I can almost see it, but haven't gotten to figuring it out yet [11:12:42] and I'd bet someone else has already done it [11:13:11] that would surprise me, it's a pretty bizarre thing to do [11:13:37] People are bizarre. Don't you know that? [11:14:33] 03rotem * r33817 10/trunk/phase3/ (3 files in 2 dirs): Some other fixes. [11:15:04] But actually, it's not bizarre really [11:15:35] It just takes the work out of having to use that function in edittools manually [11:16:04] 03rotem * r33818 10/trunk/phase3/ (3 files in 2 dirs): Adding userrights-interwiki. [11:19:24] 03rotem * r33819 10/trunk/extensions/ (2 files in 2 dirs): Update for he. [11:20:14] Anyone have a helpful suggestion? No? [11:26:28] 03jojo * r33820 10/trunk/extensions/Collection/ (Collection.body.php README.txt): [11:26:28] Don't use a new tempfile as logfile and errorfile for every run of mw-pdf and mw-zip. [11:26:28] Introduced config variables $wgMWPDFLogfile and $wgMWZipLogfile. README.txt adjusted. [11:27:47] 04(REOPENED) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 +comment (10wikipedia.kawaii.neko) [11:37:00] 03werdna * r33821 10/trunk/phase3/ (docs/hooks.txt includes/GlobalFunctions.php): Various final compatibility additions to work with global groups, which is ready for review [11:37:06] damn, I have to wait for brion [11:37:27] I should proobably clear this with him before I commit it, since it's got schema changes galore, and performance probably hates it [11:38:10] performance hates it? then be prepared to run away as domas sees it ;-) [11:38:57] hehe, well, it's not too bad [11:39:01] just needs some strategic caching. [11:42:49] Werdna: should wfBuildForm be in Xml? [11:43:13] sure, you can put it there [11:43:23] Xml::tags, Xml::submitButton... [11:43:29] I was going to fetch food... [11:43:40] It's just something I wrote for globalblocking which makes writing user interfaces tolerable for me :-) [11:43:43] fiine [11:43:46] I'll do it [11:43:56] class => $id [11:43:59] uh [11:45:29] shh :P [11:45:34] nobody will notice since I moved it :) [11:46:34] 03werdna * r33822 10/trunk/phase3/includes/ (GlobalFunctions.php Xml.php XmlFunctions.php): By suggestion of NikeRabbit, move wfBuildForm into Xml.php [11:48:09] you don't really need to add new functions to xmlfunctions I think, they are just backwards compatibility I think :o [11:50:00] meh [11:50:07] they're convenient [11:50:11] now the id is unused? [11:50:25] id isn't even passed to it. [11:50:34] where's $id even defined? [11:50:56] + $id = "mw-gb-$labelmsg"; [11:51:16] ah [11:53:19] 03werdna * r33823 10/trunk/phase3/includes/Xml.php: Fix loss of in moving buildForm to Xml.php, generalise it (this isn't just for global blocking anymore :-)) [11:53:34] are you happy now, Nikerabbit?!!!!!! [11:55:16] still don't know what does it do :o [12:00:30] 03minuteelectron * r33824 10/trunk/phase3/includes/ (GlobalFunctions.php MessageCache.php): [12:00:30] * MessageCache::get $forContent parameter replaced with $langcode parameter so [12:00:30] that messages can be retreieved for any language. [12:00:30] * wfLoadExtensionMessages() now has the option to load messages for all the [12:00:32] languages it contains. [12:00:34] * 'language' option added to wfMsgExt() so that a message can be retreieved from [12:00:36] a specific language. [12:01:39] 03werdna * r33825 10/trunk/phase3/includes/Xml.php: Typo [12:03:41] 03minuteelectron * r33826 10/trunk/extensions/Babel/ (Babel.i18n.php Babel.php LanguageCodes.php): [12:03:41] * Get rid of the "MultiMessageCache" -- it was a bad idea and my modifications [12:03:41] to the MessageCache provide all the necessary functionality. [12:03:41] * Get rid of the babel-n-r messages, they might be readded later if their [12:03:41] functionality is really needed. [12:03:41] * Extension now has correct messages on the boxes. [12:05:24] *MinuteElectron hopes he hasn't screwed up. [12:13:54] 03werdna * r33827 10/trunk/phase3/ (2 files in 2 dirs): [12:13:54] Instead of linking every single right to a help page, put a friendlier link at [12:13:54] the top. This is more sensible now that we use actual descriptions for our [12:13:54] rights. Edit-conflicted on doing the same reword to the same message, too. [12:18:51] 03rotem * r33828 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [12:24:16] http://translatewiki.net/sandwiki/sanderrors :) [12:24:41] 03siebrand * r33829 10/trunk/phase3/maintenance/language/messages.inc: 'listgrouprights-link' was removed. Removed from messages.inc. [12:27:05] nobody told me about that file. [12:30:13] 03minuteelectron * r33830 10/trunk/extensions/Babel/Babel.php: [12:30:13] * Stop a PHP Notice with a temporary measure, will be properly fixed soon. [12:30:13] * Add an item to the TODO section. [12:33:11] 03minuteelectron * r33831 10/trunk/extensions/Babel/Babel.php: Actually get rid of the notice. [12:45:13] Nikerabbit: wanna do some code review? [12:45:33] screw the swedish speech then, show me [12:47:04] http://www.epstone.net/~andrew/ca-patch.diff [12:47:21] eek, 404 [12:48:25] Nikerabbit: try now [12:49:43] hmm [12:52:47] *ialex waves to Jack_Phoenix [12:52:53] hmm [12:52:57] code looks quite pretty [12:53:17] + $wgOut->addWikitext( wfMsg( 'centralauth-globalgroupperms-grouplist' ) ); [12:53:18] + $wgOut->addHTML( '
    ' ); [12:53:21] unclosed ul? [12:53:33] let me see [12:54:10] and you should prolly use $wgOut->addWikiMsg( 'centralauth-blag' ) [12:54:52] I didn't know that existed. [12:54:58] 03werdna * r33832 10/trunk/extensions/CentralAuth/ (9 files in 2 dirs): Fix unclosed
      [12:55:05] ooops [12:55:15] ou do now [12:55:27] it is supposed to parse the messages in correct language [12:56:23] wfInput [12:56:41] 03werdna * r33833 10/trunk/extensions/CentralAuth/ (9 files in 2 dirs): Revert r33832. That was code in my working copy not yet ready to commit. [12:57:14] oh well, I'm not going to whine over every wfXXX call of xml functions... [12:57:44] count(X)>0 feels redundant to me compared to count(X) [12:58:40] looks fine, but I didn't check code flow nor database related code :o [12:59:49] right [13:00:02] It's going to need work: I know that. [13:00:13] its performance is crap, because it's hitting centralauth db per pageview [13:00:35] hrr [13:01:05] domas already got mad when the existing code did the same :) [13:01:25] hehe [13:02:45] 03ialex * r33834 10/trunk/phase3/includes/ (GlobalFunctions.php MessageCache.php): [13:02:45] * Simplify a bit MessageCache::get(), don't load all valid languages name if the value passed is boolean [13:02:45] * do the same in wfMsgGetKey() [13:03:08] :) [13:03:33] when you're hitting enter in an edit field, what is it actually doing? [13:03:59] I mean, where and how does it know to do a return [13:04:14] that's not a MediaWiki issue [13:04:14] a return? [13:04:22] hitting enter is no different to hitting any other key. [13:04:35] \n is Just Another Character [13:04:49] a return can mean it either adds a new line or submits the form :o [13:05:13] Werdna: Right, but say I want it to do something in mw... [13:05:28] trying to find the function [13:06:02] Nikerabbit: in a textarea, newline [13:06:11] there must be a mw file that knows to say, "okay, this is a return" [13:06:11] Von: look for the onchange js event of the textarea [13:06:21] Von: what makes you say that? [13:06:44] because it wouldn't do one otherwise, maybe? [13:06:53] it's not a mediawiki thing [13:06:55] it's in firefox. [13:07:21] to MediaWiki, it's just another byte that gets sanitised, expanded, and sent to an external storage cluster in tampa [13:08:21] What I'm saying is, I want it to do something special when I hit return (enter) [13:08:33] when a page is requested, that byte (0D) is taken out of storage by the parser, parsed (in this case, the sequence 0D0D is treated as special, and turned into a

      ), and sent back to a client as HTML. [13:08:48] Von: ah. then, as I said, you want the onchange or onkeypress event of the textarea [13:08:52] in javascript [13:08:58] ok [13:14:29] hi, {{SITENAME}} is displayed as it is instead of being the actual site name... i didnt notice it before and im not sure anymore when that happened... [13:14:41] what file is related to it? [13:14:57] to link the {{ }} to a variable [13:15:53] ? [13:16:16] ierpe: can you reproduce it? [13:16:28] hi, {{SITENAME}} is displayed as it is instead of being the actual site name... i didnt notice it before and im not sure anymore when that happened... [13:16:48] im using a 1.10 [13:16:58] and changed stuff to use 1.12 extensions [13:17:05] wtf [13:17:20] and now its displaying {{SITENAME}} instead of the site name [13:17:26] 1) where it is displayed [13:17:35] on the mainpage [13:17:54] wanna see? [13:17:54] do you have a link? [13:18:04] www.sports-wiki.net [13:18:07] go bottom page [13:18:27] about {{SITENAME}} [13:18:30] see? [13:19:19] i made some change to messageCache.php, maybe its coming from there...? [13:19:31] uhm [13:19:46] you have a custom skin and code modifications? [13:19:49] makes it hard to debug [13:19:53] yeah [13:19:56] i know... [13:20:12] 03huji * r33835 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [13:20:14] thats why we didnt upgrade to a 1.12 yet [13:20:28] cause we changed too many stuff and we have to merge it in a new version [13:21:08] anyway, do you know which file is doing that? [13:21:13] is it the parser? [13:21:20] but i didnt touch the parser [13:21:23] ... :/ [13:21:35] what did you do to the message cache? [13:22:04] hmm i added some function to get the extension messages [13:22:31] im not really sure, see thats the pb, i did that a while ago and didnt notice the bug [13:22:36] yeah could do [13:22:58] it's either your skin getting the message in a wrong way or you have somehow disabled magic conversion [13:23:48] you can check the first by grepping aboutsite [13:23:49] http://rafb.net/p/9PB7TQ93.html [13:24:02] ok [13:25:27] so the messageCache was from a 1.10 [13:25:47] and then i modified it.. but i cant remember exactly what i did! :D [13:25:51] lol [13:27:49] If I wanted to add a ns to WHERE page_namespace=".NS_MAIN." AND page_is_redirect=0";, is that an allowable place to do it, and how do I combine them? [13:28:29] ierpe: can't help much then :/ [13:28:39] :/ [13:28:51] thx anyway! ^^ [13:28:59] Von: you are asking so specific questions we can't possibly know what you really want to do [13:29:20] ierpe: just edit the message and replace the variable with sitename, saves some speed too usually :o [13:29:21] excuse me? [13:29:35] what page or function does the magic words conversion? [13:29:54] hehe i was thinking about it, but its not only here... [13:30:41] ierpe: well it is done in multiple places [13:30:47] hmm [13:30:47] one of them is deep on messagecache->get [13:31:00] yeah thats what i modified [13:31:01] and others are on the message getting entry points [13:31:10] its definitely on this file [13:31:12] thx [13:31:17] ill sort it out! ^^ [13:33:58] how do I add a ns to WHERE page_namespace=".NS_MAIN." i.e., main + foo [13:34:35] not sure on the syntax [13:34:43] page_namespace IN $list [13:35:01] you can get list with $dbx->makeList( array( NS_MAIN, NS_TALK ) ) ircc [13:41:18] 03werdna * r33836 10/trunk/phase3/includes/User.php: [13:41:18] Two new cache vars in User [13:41:18] * Cache mRights. If a hook adds some rights, then that hook needs to be called again and again without caching (e.g. upcoming changes to CentralAuth to add global groups) [13:41:18] * Cache mEmail. [13:42:06] domas: :-) [13:42:34] can you just do AND? [13:43:38] Werdna: wanna know one trick? [13:43:58] domas: yeah? [13:44:03] Werdna: you'll have to promise to be a good boy to learn it. [13:44:18] I may or may not be a good boy. [13:44:29] nah, you have to be a good boy :( [13:44:51] I promise that I will not be a bad boy. [13:44:56] I may be a neutral boy. [13:44:58] ok [13:45:00] suits me fine [13:45:26] bad boys absorb bad boys [13:48:03] Is there a forum where these questions are better asked & answered? [13:49:05] I already know about mw forums, I'm talking code [13:58:47] 03yaron * r33837 10/trunk/extensions/SemanticDrilldown/includes/SD_FilterValue.php: New class representing a single value for an applied filter [13:59:31] 03yaron * r33838 10/trunk/extensions/SemanticDrilldown/skins/SD_main.css: Changes and additions for new drilldown capabilities and display [14:00:35] 03yaron * r33839 10/trunk/extensions/SemanticDrilldown/skins/ (4 files): New images for filter display [14:01:17] 03(mod) A way to bypass Spam Blacklist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12896 (10vasilvv) [14:08:37] 03yaron * r33840 10/trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php: Fixed language-value setting for MediaWiki versions before 1.11, other changes [14:11:10] Does anyone know why EditPage keeps its own reference to the edited title object in EditPage->mTitle instead of just using EditPage->mArticle->mTitle? [14:11:27] convenience? [14:11:49] 03yaron * r33841 10/trunk/extensions/SemanticDrilldown/includes/SD_AppliedFilter.php: [14:11:49] Moved some functionality to SDFilterValue, added handling of multiple values [14:11:49] (through OR) [14:13:10] hmm. its not something more complex? like the article->mTitle object can be modified by... something during the edit process? [14:13:47] could be. [14:13:57] are hooks called with &$this->mTitle or something? [14:14:22] 03yaron * r33842 10/trunk/extensions/SemanticDrilldown/includes/SD_Settings.php: Added commented-out values for new optional settings [14:15:41] that could be. doesn't look like it though. thanks for the help. ill play with it and see if it breaks [14:22:25] 03huji * r33843 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [14:24:15] 03yaron * r33844 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: [14:24:15] Added handling for OR values, single-category display, hiding and showing [14:24:15] of filter values, tag-cloud-style display of filter values, category-style [14:24:15] display of results, manual setting of the page title, and others [14:24:19] 03huji * r33845 10/trunk/extensions/ParserFunctions/ParserFunctions.i18n.php: * Adding/updating Persian translations [14:24:32] 03yaron * r33846 10/trunk/extensions/SemanticDrilldown/INSTALL: New version: 0.4 [14:24:51] 03ialex * r33847 10/trunk/extensions/Configure/Configure.body.php: [14:24:51] * Use User::getRightDescription() if available [14:24:51] * Tweak for MW < 1.12 : use User::getImplicitGroups() [14:25:35] 03siebrand * r33848 10/trunk/phase3/languages/messages/MessagesEn.php: {{int: -> {{MediaWiki: for 'listgrouprights-summary' [14:28:12] 03huji * r33849 10/trunk/extensions/ParserFunctions/ParserFunctions.i18n.magic.php: * Adding/updating Persian translations [14:30:40] 03ialex * r33850 10/trunk/extensions/SemanticDrilldown/includes/SD_FilterValue.php: svn:eol-style native [14:35:11] Simetrical: can you do me a favor please? [14:35:42] Hojjat: he's not around. what's the problem? [14:35:59] werdna: do you have sysop access to MediaWiki wiki? [14:36:05] yep [14:36:09] okay [14:36:12] http://www.mediawiki.org/w/index.php?title=MediaWiki:Defaultns&action=edit [14:36:16] change it, from HTML to wikicode [14:36:24] that fixes https://bugzilla.wikimedia.org/show_bug.cgi?id=13826 [14:38:03] How do I add ExtraNamespaces to shortpages/longpages [14:39:41] werdna: thanks [14:40:35] 03(FIXED) 'Search in these namespaces by default' - text broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13826 +comment (10huji.huji) [14:42:38] Hojjat: i think the repoter would html to be allowed in this message [14:42:52] as he's Sysop on MW.org [14:43:05] o_O [14:43:09] my bad, then. [14:44:39] ialex: but I don't get it. None of the other legends use HTML, do they? [14:46:12] nope [14:46:29] we don't allow html just because someone requests it :o [14:47:53] Nikerabbit: not all html, just tags allowed in wikitext [14:48:27] ialex: I see your point, I don't see why such things are needed in a "legend" which is a one-line plain text, usually [14:48:38] ialex: let's not call that html then :o [14:53:35] Hojjat: yeah, but that was allowed before ^^ [14:53:54] mebbe it was ommitted to get disabled! [14:54:00] and people used that :( [14:54:09] :p [14:54:11] 04(REOPENED) 'Search in these namespaces by default' - text broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13826 +comment (10wiki) [14:56:25] 03(mod) MediaWiki:Defaultns should accept Wikicode - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13826 summary; +comment (10huji.huji) [14:56:44] ialex: how does it sound like, now? [14:57:19] Hojjat: better [14:58:35] :D [15:00:45] Nikerabbit: so do you think we should enable Wikicode or not? [15:01:11] Hojjat: in a legend? [15:01:23] yes [15:01:55] if you allow you get all kinds of nasty things with paragraphs and other non inline stuff [15:02:21] hi [15:02:38] Anyone online? [15:03:07] yakichan: There are lots of people online any time of the day. [15:03:07] I need some help to upgrading mediawiki :-( [15:03:17] yakichan I am! [15:03:24] Hi! [15:04:13] yakichan: What parts in the upgrade manual are confusing you? [15:04:36] I have follow all the instructions to upgrade to 1.12 [15:04:45] Hojjat: is it now Xml::element( 'tag' null, wfMsg('something')? [15:04:55] I have an error when upgrading [15:05:19] Nikerabbit : Xml::element( 'legend', null, wfMsg( 'defaultns' ) ) [15:05:32] Creating user_newtalk table... [15:05:32] [15:05:32] Warning: fopen(D:\webapache\wiki/maintenance/archives/patch-usernewtalk2.sql) [function.fopen]: failed to open stream: No such file or directory in D:\webapache\wiki\includes\Database.php on line 2212 [15:05:32] [15:05:32] Could not open "D:\webapache\wiki/maintenance/archives/patch-usernewtalk2.sql". [15:06:09] I don't know what I made wrong [15:07:57] I tried "Alternative 2: Re-run the installer" when I get the same [15:08:13] (but I get the same) [15:08:43] (sorry my poor English... :-P [15:09:36] yakichan: Those path separators changing from \ to / look suspicious. [15:10:06] yes [15:10:48] I have never installed MW to Windows, so I don't know if that is normal. What is the upgrade manual saying about those? [15:10:57] But that is the upgrading script, what can i do with this? [15:12:04] http://www.mediawiki.org/wiki/Manual:Upgrading (nothing about this) [15:12:44] :-( [15:13:40] Nikerabbit: maybe Xml::tags( 'legend', null, wfMsgExt( 'defaultns', array( 'parseinline' ) ) ) [15:15:38] maybe, but I wouldn't do it [15:16:49] yakichan: Do you have the file D:\webapache\wiki/maintenance/archives/patch-usernewtalk2.sql [15:17:09] yes [15:17:56] I have the previous version in the same path [15:18:19] yakichan do you have PHP skills? [15:18:24] It worked ok [15:18:39] I mean, can you write a simple PHP file yourself, to see if you can fopen that file youself? [15:19:56] mmm... I'm going to try. I have no skills, but I have good coders here... :-P [15:20:20] yakichan: is D:\webapache\wiki\ the root of your web server? [15:20:59] and is D: a FAT32 drive or an NTFS one? [15:21:27] 03(mod) Allow a way to force numeric sort for sortable tables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13535 minor->15enhancement; summary; +comment (10Simetrical+wikibugs) [15:28:31] hojjat: yes. NTFS [15:28:50] yakichan: well, I'm not sure, but I guess there was some issues with Apache and NTFS [15:29:03] because, in order for Apache to open a file, it should have read access to the file [15:29:26] and a simple cut-paste of a file from some NTFS location to another NTFS location can corrupt the reading perms [15:29:55] I suggest this for now: copy the file and paste it with a different name in the same fodler. Delete the original. Then rename the new one to the old name [15:30:17] yakichan if that didn't work.. follow the idea of writing your own PHP script and trying to fopen it yourself [15:30:42] ok. Im going to try. txs! [15:43:16] Hojjat: Woooo! The file patch-usernewtalk2.sql does not exist.. there is not any patch-usernewtalk2.sql file in the zip upgrade... :o [15:43:26] oh [15:56:49] 03(mod) MediaWiki:Defaultns should accept Wikicode - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13826 (10wiki) [15:58:42] ugh [15:58:57] why not just add new explanation message there, defaulting to none [16:10:06] Is it possible to make a gallery () using external images? I have it enables in the settings file. But this doesn't work: [16:10:07] Image:http://img247.imageshack.us/img247/3865/screenshot1hd2.png|The Traymenu [16:10:19] uuh [16:10:37] Image:the_full_adress_to_an_image|The Traymeny [16:10:38] there's a config setting [16:11:11] How can i find out which? [16:13:03] 03thomasv * r33851 10/trunk/extensions/ProofreadPage/ProofreadPage.php: touch links of modified pages [16:13:07] 03(NEW) Too much formatting! - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13834 15enhancement; normal; MediaWiki extensions: Inputbox; (dan.bolser) [16:13:43] VelcroMan: have you checked the FAQ [16:16:37] Trying to install mediawiki 1.11.2, and its whining about tsearch2 not being installed. I'm using postgresql 8.3, of which tsearch2 is built-in. What can I do? [16:18:30] dammit, hurry up brion [16:18:31] :) [16:20:12] if I wanted to add javascript to all pages inside a template / category [16:20:14] is that possible? [16:20:33] mecredis, how about you add it to all pages and then use a conditional to check if it's in the category? [16:20:42] sounds good to me [16:20:47] then Common.js ? [16:21:10] Simetrical: feel like some code review? [16:22:08] How would I add extra namespaces to Special:ShortPages (and presumably LongPages)? [16:23:19] how do I include external scripts into Common.js ? [16:23:26] like script src =" ... [16:24:07] hrm, looks like I have to do a document.write [16:24:07] OK [16:27:40] Trying to install mediawiki 1.11.2, and its whining about tsearch2 not being installed. I'm using postgresql 8.3, of which tsearch2 is built-in. What can I do? I tried installing the change in SVN 30795, but it appears to have made no difference. [16:29:02] dammit brion, hurry up :P [16:30:58] draeath: use a newer version [16:31:47] there's a couple other schema changes as well, but I dont know the bug/revs off hand [16:39:58] How do I... get an answer around here? [16:40:42] Sasoriza: you ask your question and hope :) [16:40:45] 03(mod) When looking at difflinks, the status of the respective versions should show - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13748 (10pbirken) [16:40:57] I did. Ignored again, like usual. [16:42:08] If this channel was as helpful as much as it isn't = an inverse ratio... wow, it'd be really helpful. [16:45:14] Hello [16:45:47] hey Wiredtape, how goes? :-) [16:47:00] Sasoriza: What is your problem? [16:48:11] Jack_Phoenix, hey, goes well.. just came back from a vacation :) [16:48:14] how have you been? [16:48:51] fine, thanks. managed to fix some problems with SocialProfile...waiting for Brion to give me commit access so that I can commit the fixes :-) [16:49:22] I'm waiting for brion to review my centralauth changes [16:49:48] we all are waiting for brion to do something...man, he must be quite busy :) [16:50:03] lol.. i was about to write something similar [16:50:07] *Jack_Phoenix thinks that Brion should have a co-worker who could help him review changes etc. [16:50:33] yes, Tim. [16:50:33] Jack_Phoenix, have any idea if the changes i made were ever commited? [16:50:53] dunno...ask siebrand? :) [16:51:01] Sasoriza, I suggest you have a look at the source of those specialpages [16:51:07] Werdna, Tim is as busy as brion.. :) possibly they need another ? [16:51:38] Jack_Phoenix, how's your biz going? [16:51:41] Siebrand, ping? [16:51:52] Wiredtape: Tim usually has the time to go through things with me [16:52:02] there you should be able to see if there is an option for this or if you'll have to hack it yourself. [16:52:26] Werdna, well that's because you're special :) (I guess I misspoke then.. ) [16:53:01] Wiredtape: nah, Tim has less responsibilities for day-to-day stuff than brion [16:53:08] so he can afford to work with people on things [16:53:35] Tim's always been good like that.. willing to take time to invest in teaching people. [16:54:02] Wiredtape, everything's going quite well \o/ [16:54:11] Well.. maybe he was temporarily busy when working on pre-parser [16:54:20] Jack_Phoenix, good to hear :) [16:55:03] Werdna, you've convinced me :) [16:55:19] *Werdna shrugs. [16:55:28] why's brion not in by 10 today? [16:55:54] isn't he san-fran time? [16:56:56] yeah [16:57:08] 16:38 < LinkyC> Werdna: Los Angeles 09:55 | New York 12:55 | London 17:55 | Berlin 18:55 | Nairobi 19:55 | IST 22:25 || Hong Kong 00:55 | Tokyo 01:55 | Sydney 02:55 [16:58:24] from where i'm sitting, i think US time for san-fran is 8:58am [16:59:03] google says 9:58am Thursday (PDT) - Time in San Francisco, California [16:59:27] hmm .. i thought California was -8 .. [16:59:32] i guess it's -7 [17:00:10] Wiredtape: DST [17:01:49] Werdna, i thought of DST but it doesn't make sense since my time is 1pm and i'm Eastern US.. so difference from here is supposed to be -4.. but I think this subject needs no further investigation :) [17:02:14] well, -5 normally for you [17:02:20] -8 normally for cali [17:02:29] so 3 hours difference [17:02:34] -4/-7 in DST [17:02:37] so 3 hours difference [17:02:42] subtract 3 hours from 13:00 [17:02:45] and you get 10am [17:03:30] 03(mod) Section edit conflict expands edit box to entire article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4745 minor->normal; normal->high; +comment (10equazcion) [17:03:53] yup... [17:04:43] damn, I thought we got rid of severity/priority for bugzilla [17:10:11] hello, I have a question for a developer: How long would it take to 'learn' wiki code from scratch? [17:11:14] Tommy, well, depends on what you want to do.. [17:11:29] you wanna know *everything*? [17:11:40] I'm basically embarking on a mad project to 'splice' mediawiki with PHPBB forums [17:11:43] you mean wiki code or wikitext? [17:11:51] I mean wiki code [17:12:21] so you want to learn to write extensions and so on for mediawiki? [17:12:55] I guess, but I have a feeling that it might involve changing core code as well [17:13:02] Tommy have you looked at: http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration [17:13:15] no firckin way! [17:13:27] Tommy: well, I've been a developer for 2 years, on and off, worked on thousands of lines, and still don't know half of what there is to know [17:13:28] I had no idea [17:13:37] I see [17:13:51] but you get to a point where you know where to look [17:14:39] Would you say the documentation is good for mediawiki? [17:14:57] code quality is good, so normally you don't need documentation [17:15:29] Yes, the comments in the code are quite self explanatory [17:15:54] Werdna, two years? Really? I became a dev in the summer of 2006, which is less than two years ago, and you were after me. [17:16:20] Simetrical: well, I just know, 2006-2008 :) [17:16:25] 18 months, then [17:16:27] whatever :P [17:16:40] Simetrical: anyway, wanna review my code? :) [17:16:44] For what? [17:16:59] global groups [17:17:51] I don't have a CentralAuth installation and haven't looked at any of that code, so, no. [17:17:54] ok [17:19:03] Anyway, Tommy, MediaWiki is maybe half a million lines of code, not counting extensions. The question isn't whether you can understand all of it, it's whether you can learn enough to do what you want to do. [17:19:13] 03(mod) Create a global rollback group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10Andrew) [17:19:50] Maybe I could tell you what I want, and you could point me to the files that I need to deal with? [17:20:27] Tommy, i'll try, shoot [17:21:08] My intention is to have PHPB threads that are linked to certain list items in a wiki page [17:21:27] list items? [17:21:45] so you have a list item, then next to it, there's a link to discuss, which takes you straight to the relevant forum thread [17:21:58] *Werdna kicks wikibugs [17:21:59] Yes, list items of a particular class [17:22:02] eh. [17:22:04] too late [17:22:18] Simetrical: if you see brion, tell him to look at bug 13773 [17:22:23] *Werdna goes to bed. [17:22:24] nn [17:22:35] 03(mod) Create a global rollback group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 +need-review +patch +schema-change; +comment (10Andrew) [17:23:14] Tommy, so basically a list of stuff with links pointing to their respective discussions and relevant forum threads and this needs to be created automatically i presume? [17:23:29] that's right [17:23:49] automatically according to the wikitext [17:24:13] does phpbb announce when a new thread is created? (announce meaning is there a hook you could use?) [17:24:29] I will have to look into that [17:24:46] I'm sure it must [17:25:34] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 summary; +comment (10Andrew) [17:25:39] ok, if i understood correctly, my suggestion is to write a parser function that will create a list of this stuff based on params you pass to it.. and you could edit this functions params by using the api on a phpbb create thread event... [17:26:27] I think you're right with the parser functions [17:26:41] i'll give you an example of what i'm thinking.. [17:26:47] Yes, and that makes sense to me. I need to find the relevant files! [17:27:08] there are no relevant files :) read: [17:27:10] !api [17:27:10] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [17:27:14] !parser [17:27:14] --mwbot-- For alternative parsers, see . A new formalization and parser for mediawiki syntax is being discussed on wikitext-l, see . For an (incomplete) specification of mediawiki syntax, see . [17:27:35] !extensions [17:27:35] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [17:27:55] and take a look at extension Parser Functions, to see how they wrote a parser function [17:28:03] ok [17:28:20] I think that's enough for me to get on with for the time being. Thank you! [17:28:24] np [17:29:24] 03yaron * r33852 10/trunk/extensions/SemanticDrilldown/languages/SD_LanguageEn.php: Cosmetic changes [17:29:59] 03aaron * r33853 10/trunk/phase3/includes/SpecialRevisiondelete.php: Only users with hiderevision can lock [17:30:08] 03yaron * r33854 10/trunk/extensions/SemanticDrilldown/languages/SD_Language.php: Added 'Has drilldown title' property alias [17:31:16] 03yaron * r33855 10/trunk/extensions/SemanticDrilldown/skins/SD_main.css: Made header one size larger [17:32:41] 03yaron * r33856 10/trunk/extensions/SemanticDrilldown/includes/SD_AppliedFilter.php: Removed no-longer-necessary 'value' field [17:33:24] 03yaron * r33857 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: Bug fixes [17:33:29] *amidaniel wonders what this SemanticDrilldown thingy is [17:33:35] *Simetrical has no idea [17:33:37] *AaronSchulz always does too [17:33:40] Nor SemanticForms. [17:33:50] Which he also works on. [17:33:51] SemanticForms is actually pretty nice [17:33:56] For that matter I don't know who yaron is either. [17:34:00] hehe [17:34:06] Alright, glad to hear I'm not the only one :)) [17:34:29] Should I enlighten you dev's? :) [17:35:04] Please do :) [17:36:33] 03aaron * r33858 10/trunk/phase3/includes/DefaultSettings.php: Update comment [17:36:44] yaron is the creator of semanticforms.. an extension which basically enables people to create structured form input for creating articles.. ive seen some really nice uses for it over at: www.chickipedia.com, www.sidereel.com and others.. (note, i am not affiliated with him in any way :) ) [17:36:55] i have no idea what semanticdrilldown is [17:37:39] *AaronSchulz regrets clicking that link [17:38:22] which one? [17:38:35] Notice: Undefined index: mRights in C:\Server\xampp\htdocs\MW\includes\User.php on line 216
      [17:38:47] Wiredtape: what do you think? [17:39:42] i'm guessing chickipedia.. yet i don't see the problem.. it isn't porn.. [17:39:56] 03yaron * r33859 10/trunk/extensions/SemanticDrilldown/includes/SD_FilterValue.php: Bug fixes [17:40:04] they've restriced their Special:Version...grr, annoying [17:40:48] Jack_Phoenix, i'm guessing you're talking about sidereel, because chickipedia had theirs in the open until not long ago [17:40:57] o_O [17:41:02] hey Jack_Phoenix [17:41:07] lemme double-check [17:41:10] heya str4nd :-) [17:41:40] http://www.chickipedia.com/Special:Version [17:41:44] You are not allowed to execute the action you have requested. [17:41:45] Return to Main Page. [17:41:47] is what I get [17:41:55] (I even have an account over there...) [17:42:36] hmm.. i'll have to recheck when i get home, i'm on a computer which won't let me go to it.. but you can see the semanticforms syntax if you click create article.. (or is it add chick there?) [17:42:54] Werdna: Image:Global Groups Management.png - No file by this name exists, you can upload it. [17:43:03] yah, it's *very* cool, Wiredtape :-) [17:43:08] 03yaron * r33860 10/trunk/extensions/SemanticDrilldown/languages/SD_Messages.php: Added messages for 'or' and 'add another value' [17:44:14] i'm waiting to see an ajax version for semanticforms and a parser function, so you could create on-the-fly forms which could update the article without a need to click edit :) [17:44:53] MediaWiki definitely could use more AJAX features ;-) [17:44:58] there is one more think i've always wondered about which is wikinvest's contact page.. they have a really nice ajax update system going on there.. and i can't figure out how they did it .. [17:44:59] how can I export en.wikipedia pages? Over 100 revisions that is... [17:45:21] White_Cat, is the problem specifying the revisions or the actual export? [17:45:33] I want to export all revisions [17:45:43] its only exporting 100 of them [17:46:18] ahh.. i think that's something you won't be able to overcome.. you will probably need to download the xmldump from sometwhere and parse it yourself.. [17:48:23] 03yaron * r33861 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: More bug fixes [17:48:25] I want to do it in a way that doesnt make me download a database dump [17:48:43] I want to export a spesific number of pages [17:48:45] about 200 [17:48:57] White_Cat: I'm not sure that you can [17:49:07] I remember trying to get around this some time ago .. not sure I ever succeeded [17:51:58] White_Cat: Yeah, 100 is a hard limit on Wikipedia. [17:52:07] My suggestion would be to bribe someone with shell [17:52:12] okay [17:52:30] how much are devs average price? [17:52:38] I do not want to get ripped off [17:52:45] and remember to keep this between you and me [17:52:46] Case of whiskey should do it :) [17:53:04] no one else should know... [17:53:15] amidaniel I dont want them exporting things when they are drunk [17:53:30] lol [17:54:10] http://xkcd.com/323/ [17:54:19] I imagine that applies to dbas as well :) [17:55:42] amidaniel, lol :) [17:58:17] anyone here have mediawiki consuming rss feeds? [17:58:33] "consuming" ? [17:58:46] *Sasoriza is going to go stark-raving mad if he can't get extra namespaces to list under shortpages/longpages [18:00:21] Sasoriza: Line 41 of includes/SpecialShortpages.php [18:00:22] Wouldn't I only have to include an extra .NS WHERE page_namespace=".NS_MAIN." [18:00:28] ? [18:00:40] no [18:01:00] where page_namespace =". NS_MAIN . " or page_namespace = " . WHATEVER [18:01:39] so just .FOO, not .NS_FOO ? [18:01:41] And you'll need to purge your server cache and possibly force the query to run again in order to see anything change [18:02:00] Sasoriza: It depends upon what the constant is called [18:02:18] If you wanted to include talk you'd use NS_TALK .. if you wanted namespace 109 you'd use 109 [18:02:26] ahh [18:03:04] or you could specify constants for your extra namespaces (preffered) and use that as well.. [18:03:07] How do you combine them, or can you? [18:03:13] 03yaron * r33862 10/trunk/extensions/SemanticDrilldown/includes/SD_FilterValue.php: Added comparison for numeric fields [18:03:21] Wiredtape: Meh .. that's more work :) [18:03:27] Sasoriza: using or [18:03:37] where x = y or x = z [18:03:50] I thought there was a syntax like , ; ... something [18:04:21] There are fancier ways to do it, but mysql is usually happier if you're verbose about it [18:04:31] WHERE x IN (y,z) works too. [18:04:40] And probably better than OR, if there's any difference. [18:04:42] fancier way ^.^ [18:05:07] Sometimes MySQL (older versions especially) gives up with OR and just does table/index scans. [18:05:12] Whereas it's cleverer about IN. [18:05:16] O rly? [18:05:19] amidaniel :) [18:05:21] Hmm .. exact opposite of what I thought [18:05:39] Well, now you know. [18:05:43] Indeed :) [18:06:00] *Dashiva waits for "And knowing is half the battle." [18:08:44] OverlordQ: A while ago you told me to use a newer version. Just saying thanks, I did so and it works fine. I was making a monster out of a paper tiger (mediawiki installation is NOTHING compared to installing apache, php, and postgres) [18:09:18] 03nhuffschmid * r33863 10/trunk/wap/ (. config.php lang/nl/keywords.php lang/nl/translations.php): support of dutch language [18:09:38] amidaniel, at least I think that's true. [18:09:47] Maybe I'm confusing it with something else. [18:09:57] OR can be worse than UNION, maybe that's what I was thinking. [18:12:36] Hi! [18:13:07] I just installed MediaWiki, but the "Please install medawiki" screen is still showing up. Yes, I ahve moved LocalSettings.php [18:13:59] Dvyjones: And you can not get to any other page? Refreshing does not change screen? [18:14:10] Did you get the message that installation was successfull? [18:14:18] Yes and yes [18:14:36] or, what do you mean by get to any other page? [18:14:51] Dvyjones: Did you move your LocalSettings.php back into the wiki root? [18:15:00] yes amidaniel, I did [18:15:33] Dvyjones: show directory listing in pastebin to prove you did move it. [18:17:28] Ahh, nvm, I forgot to delete config/ directory [18:17:40] maybe it should be clearer that you should do it? [18:18:22] Well, it is pretty clear, if the wiki does not work at all if config exists. [18:19:08] But I seem to remember it was enough to move the LocalSettings.php away from config/. [18:20:05] Simetrical: Can you give an example using WHERE x IN (y,z)? [18:20:14] Sasoriza, you just gave one? :) [18:20:23] Assuming you have three columns x, y, z. [18:20:29] WHERE page_namespace IN (0,1) [18:20:44] mui tale [18:21:16] You mean using sql directly...? [18:21:26] I have no idea, what was the context? [18:21:32] Nikerabbit: Hölkynkölkyn vaan. [18:21:36] I never do silly things like checking the context of a discussion before I comment. [18:21:44] It's a waste of time, guessing mostly works. :D [18:21:48] *Simetrical scrolls up [18:21:57] Including extra namespaces in shortpages [18:22:19] Yes, it looks like you'd need to tweak the SQL query. [18:22:26] ah, gotcha [18:23:06] but if it's a newer sql OR should be okay [18:24:37] Why is that only NS_MAIN and not all content namespaces? [18:24:48] Hmm. [18:25:23] It works if you create Foo: (a page) manually, but not specifying extra ns in LocalSettings [18:25:36] which is really tedious [18:30:27] *Sasoriza gets an unknown column [18:37:41] Isn't there ns:16, :17, etc.? [18:48:30] 03ialex * r33864 10/trunk/phase3/includes/DefaultSettings.php: remove emailconfirmed group from $wgImplicitGroups, was already removed from $wgGroupPermissions [18:49:06] *Sasoriza goes to get cranially challenged by a steamroller [18:51:36] Sas-away: What are you having difficulty with ? [18:52:53] Is it possible to make Mediawiki support small letters in the start of an article name on some articles (like, every article starting with "ll" (double-L)) [18:54:30] !wg CapitalLinks | Dvyjones [18:54:30] --mwbot-- Dvyjones: http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks [18:55:11] Oye .. svn is running slow today [18:55:15] Or maybe it's just me [18:55:28] Is it possible to do it on ONLY pages starting with ll? [18:55:34] no [18:55:56] amidaniel: maybe it's you ;) [18:56:04] Dvyjones, you could javascript it to appear like that [18:56:25] k [18:56:35] we have a fresh PHP notice: PHP Notice: Undefined index: mRights in /var/www/w/includes/User.php on line 216 [18:56:42] *amidaniel growls and eats ialex [18:57:01] anyone would do me the favor of making that js? [18:57:08] siebrand: Where are you seeing that? [18:57:19] siebrand, did we ever commit the latest changes i did for socialprofile? [18:57:20] hmm [18:57:22] siebrand: flush cache [18:57:22] amidaniel: Betawiki, running head. [18:57:34] that's Werdnas change [18:57:37] Hrm .. not seeing it here [18:58:00] it appears if you use $wgMemc [18:58:18] i also get that before [19:00:05] Ah, okay [19:00:25] ialex: flush which cache? [19:00:47] siebrand: wiki (i.e. memcached, apc, ...) [19:01:00] ialex: all of apc's cache? [19:01:16] siebrand: dbname:user: [19:01:17] just user part [19:04:34] Nikerabbit: in "User Cache Entries" search for what? [19:05:54] siebrand: mediawiki-bw_:user [19:07:28] Nikerabbit: OK, done [19:07:41] amidaniel: Recognizing a custom ns [19:08:46] Sasoriza: What namespaces do you want it to use? [19:08:54] 104 [19:09:16] I know I'm doing it right as far as syntax, but... [19:09:23] then change it to "WHERE page_namespace in (" . NS_MAIN . ",104) ... [19:11:32] amidaniel: ty *bows* [19:13:07] np [19:18:57] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [19:21:38] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [19:24:59] 03(NEW) {{filepath:Wiki. png|nowiki}} renders wrong with the new parser PP - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13835 15enhancement; normal; MediaWiki: Page rendering; (raimond.spekking) [19:25:17] 03(FIXED) Add import source to gd.wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13817 +comment (10jeluf) [19:25:33] wikibugs, you are late :P [19:27:52] 03(FIXED) Please enable "enotif" on nl.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13537 +comment (10jeluf) [19:30:00] Anyone know why Extension:CSS doesn't work in 1.12? [19:30:10] 03ialex * r33868 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): (bug 12145) Kazakh message updates [19:31:24] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alex.emsenhuber) [19:41:05] 03(FIXED) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 +comment (10jeluf) [19:49:46] Notice: Undefined index: mRights in C:\Server\xampp\htdocs\MW\includes\User.php on line 216
      [19:49:50] anyone fix that yet? [19:51:06] meh i need to upgrade [19:51:15] AaronSchulz: this is a problem with wiki cache [19:51:35] you have to clear the wiki cache [19:51:42] why should I? [19:51:43] how do i fix this Error creating thumbnail: /usr/bin/convert: Unrecognized option (-thumbnail). [19:52:47] AaronSchulz: because there are new cached vars of User object [19:53:02] yes, and who should it throw errors if I don't [19:53:07] brion: I don't like that [19:53:15] s/who/why [19:53:27] 03(mod) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 (10jeluf) [19:57:05] 03(mod) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 +comment (10Simetrical+wikibugs) [19:58:50] AaronSchulz: hm? [19:59:01] ^ [19:59:09] 03(FIXED) Enable transwiki import for sysops on Alemannic Wikipedia [als] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13306 +comment (10jeluf) [19:59:09] how long has it been broken? [19:59:15] a day or so [19:59:31] as long as it doesn't throw errors I am fine [19:59:38] brion, Werdna added some new properties to the User object for CentralAuth purposes in the last day. [19:59:51] saying, "oh, purge the storage cache btw" isn't nice [19:59:52] Apparently that's causing problems unless the User object cache is cleared. [19:59:52] ah, then i haven't reviewed it yet and it's not live [19:59:59] right [20:00:08] i'll poke it after lunch then :) [20:02:54] 03(FIXED) oldwikisource import from meta and commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13377 +comment (10jeluf) [20:20:07] Why doesn't the installed extension appear on Special:Version? [20:20:36] does it have $wgExtensionCredits? if not, it won't show up on Special:Version [20:20:49] Jack! :D [20:20:55] :P [20:21:11] ohai Dvyjones [20:21:14] long time no talk ;) [20:21:17] yea [20:21:18] :P [20:28:15] Are there a shortcut for the internal link button on the editing toolbar? [20:29:03] Dvyjones: an accesskey? there isn't by default IIRC... [20:29:38] yes, an accesskey :P :( [20:29:57] *Splarka checks the ID [20:32:20] Splarka: Do you find it? :P (are you at all looking, or did I misunderstand?) [20:32:53] mw-editbutton-link [20:33:01] :D [20:33:03] ty [20:33:06] *poof* [20:33:06] 03(mod) Add a MediaWiki:Printable.css page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13831 (10Platonides) [20:34:00] Gah, another one? [20:34:04] That bug's a dupe. [20:34:53] so dupe it [20:35:10] I guess it was intentional. [20:35:13] Or something. [20:36:46] https://bugzilla.wikimedia.org/show_bug.cgi?id=2889 [20:40:35] Bleh, I got a nasty error when trying to make new pages: MySQL returned error "1146: Table 'wikidb.protected_titles' doesn't exist (localhost) [20:41:44] Run update.php ? [20:43:24] 03(mod) Add a MediaWiki:Printable.css page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13831 (10alex.emsenhuber) [20:43:25] 03(NEW) internal_api_error_MWException on &iiprop= metadata with ogg files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13836 normal; normal; MediaWiki: API; (herd) [20:43:30] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10alex.emsenhuber) [20:44:33] *Splarka sighs [20:44:43] I try to write a nice javascript, and get sidetracked by finding unrelated API bugs [20:44:53] *Splarka shakes fist at sky [20:45:04] The Code, it mocks you. [20:45:27] all greek to me [20:45:44] and if you've ever had a greek taunting you... [20:46:48] *e_s_p taunts Splarka [20:47:11] 03(ASSIGNED) internal_api_error_MWException on &iiprop= metadata with ogg files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13836 +comment (10roan.kattouw) [20:47:16] Ok, that's weird. [20:47:26] "http://localhost/mainsite/dragonwiki/maintenance/update.php" >> Forbidden [20:47:31] mornin all [20:47:39] David_Bane: that URL works for me [20:47:47] heh [20:47:52] David_Bane: run it from a command line [20:48:07] yo brion [20:48:18] hey brion :) [20:48:19] Where are you that it's morning? [20:48:26] "Dear Noc, We found your site and we liked it, but it looks like you could be getting a lot more visibility and traffic on the search engines if your site was easier to locate. For no cost to you we will analyze your site and your web placement and show you how a higher listing with specific key words would greatly benefit your online results." [20:48:40] :D [20:48:58] it's always morning in happy shiny funville [20:49:08] do we really need this ? :) [20:49:28] hello, [20:49:28] I wonder if google gets emails like that [20:49:42] any way to link 2 mediawiki sites so one can be a backup in case the first one goes offline? [20:54:28] 03amidaniel * r33867 10/trunk/phase3/RELEASE-NOTES: Adjust RELEASE-NOTES -- previous commit effects shortpages and longpages. [20:54:43] wassap e_s_p [20:55:15] ialex: Just opens up in notepad. [20:55:25] 03siebrand * r33869 10/trunk/phase3/languages/messages/ (33 files): Localisation updates for core messages from Betawiki (2008-04-24 22:48 CEST) [20:55:50] CIA-50 lagging a bit [20:57:27] David_Bane: execute "php maintenance/update.php" from a shell while being in your wiki dir [20:57:56] 03siebrand * r33866 10/trunk/extensions/Translate/MessageGroups.php: Set optional for 'configure-section-memcached' [20:58:22] brion: my buoyant spirits! [21:01:13] Ah-ha! [21:01:51] I probably need to set php up as a command then. [21:03:22] php-cli [21:11:58] 03siebrand * r33870 10/trunk/extensions/ (59 files in 59 dirs): Localisation updates for extension messages from Betawiki (2008-04-24 22:48 CEST) [21:21:34] how do i fix this error "Error creating thumbnail: /usr/bin/convert: Unrecognized option (-thumbnail)." [21:21:59] Are there any know issue upgrading from 1.7 to the last 1.12? [21:22:25] shouldn't be any... [21:22:38] just be sure to run the update.php script :) [21:22:49] no issues known to me :) [21:24:38] thank you both [21:25:36] 03(mod) ArbCom Wiki request for nl.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12962 (10brinkie) [21:31:26] 03amidaniel * r33865 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialShortpages.php): Special:Shortpages should return pages from all content namespaces, not just NS_MAIN. [21:36:26] <[KrusheR]> hi [21:36:49] <[KrusheR]> is there any diference between MediaWiki:badaccess-group1, 2 and 3? [21:39:59] anyone read Esperanto? [21:40:51] [KrusheR]: [21:40:52] $n = count( $groups ); [21:40:52] switch( $n ) { case 0: case 1: case 2: $message = wfMsgHtml( "badaccess-group$n", $groups ); [21:41:56] in some languages the grammar is different for 1, 2, 3, or more items [21:42:04] 03(FIXED) Add namespaces to $wgNamespacesToBeSearchedDefault for de.ws - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13294 +comment (10jeluf) [21:43:09] wel, zero/one/two/more rather [21:44:40] [KrusheR]: so basically, 0 is when there are zero groups that can perform the action, 1 is when there is one, 2 is when there is two, and s is when there are more than 2, the phrasing is similar in english for the latter 3 [21:45:49] Urg. [21:46:15] <[KrusheR]> Splarka: thanks [21:46:19] Ok, so I tried to use Update.php, and it says "No superuser crdentials could be found. Blah blah I hate you die blah" [21:50:01] 03(FIXED) Create "Index" namespace on English Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13385 +comment (10jeluf) [21:51:02] 03(WONTFIX) New variable giving USERNAME - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4196 +comment (10brion) [21:56:50] *Splarka wonders why urlencode is defined in $mVariableIDs but anchorencode isn't [21:58:26] *Lady_Aleena ponders Splarka's wondering. :) [21:58:44] but both are defined in CoreParserFunctions(), does a function hook defined there preempt a variable? [21:59:46] 03(WONTFIX) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 +comment (10brion) [22:00:05] Hi [22:03:03] Hi can sombudy help me? [22:03:24] We could if we knew the problem. [22:03:31] thx [22:04:50] I have Install mediaWiki, but i dont know how can i change my Navigation on the left sigt [22:04:58] 03tstarling * r33871 10/trunk/extensions/wikidiff2/ (Makefile wikidiff2.spec): Package for PHP 5.2.x, bump version due to r33451. [22:05:44] !sidebar | TuXL [22:05:44] --mwbot-- TuXL: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [22:07:00] ahh thx, [22:08:03] i will make a 'Browse categories' on the left sight [22:09:14] me html is vary bad can you tell me how can make this? [22:09:25] me html is vary bad can you tell me how can i make this? [22:12:01] No html [22:12:07] Just a list [22:17:59] I am about to write an extension that shows the category tree above the current page as a sort of hierarchical menu. Would somebody point me to anything like this that exists, or tell me why it's a bad idea? [22:21:10] like http://www.mediawiki.org/wiki/Extension:CategoryTree ? [22:23:32] also: http://www.mediawiki.org/wiki/Extension:Tree_view [22:27:58] 03yaron * r33872 10/trunk/extensions/SemanticDrilldown/includes/SD_Filter.php: Fixed OR-handling for boolean filters [22:29:03] 03yaron * r33873 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: Fixed handling of 'none' and 'other' for boolean filters [22:34:58] 03brion * r33875 10/trunk/phase3/includes/User.php: [22:34:58] Revert r33836 and bump cached user object version so any bad cached items get cleared. [22:34:58] * mEmail was already cached, don't need it twice. [22:34:58] * mRights isn't safe to cache -- it may change due to updates to $wgGroupRights, which won't clear the cached User entries. [22:39:51] I just set up media wiki on a linux server with php 5 (CentOS 5), and whenever I go to any page it is totally blank [22:39:59] Can I get some help? [22:40:16] Check your php error log? [22:40:29] Ok [22:40:35] Duh, [22:42:57] Is there a reason that {{#skin}} is not installed? I could really use that. [22:43:31] Ok, getting a "Class 'DOMDocument' not found in includes/Preprocessor_DOM.php" error [22:47:03] 03(NEW) wikibits.js fix Formating of buttons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13837 15enhancement; normal; MediaWiki: General/Unknown; (dasch_87) [22:50:13] MikeSmitty_: The dom extension should be in the core of php5... [22:51:16] I would think so? [22:51:31] aha [22:51:35] CentOS doesn't include it. [22:51:36] Maybe RedHat doesn't include it by default. They split PHP up quite a bit. [22:51:50] Thanks, I'll install that [22:54:47] 03(NEW) Problem with Encoding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13838 15enhancement; normal; MediaWiki extensions: Semantic Drilldown; (dasch_87) [22:56:03] 03(NEW) Sorting is not used - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13839 15enhancement; normal; MediaWiki extensions: Semantic Drilldown; (dasch_87) [22:57:03] 03(mod) Problem with Encoding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13838 15enhancement->normal; normal->high (10dasch_87) [22:57:21] Splarka: nope. but thanks anyways :) I'll talk about it more later. [22:58:39] Dashiva: Thanks, it's working. [23:13:27] 03brion * r33874 10/trunk/phase3/includes/SpecialShortpages.php: make my paranoia feel better by escaping values :) [23:17:59] 03(mod) Section edit conflict expands edit box to entire article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4745 (10brion) [23:17:59] 03(mod) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 (10dan_the_man) [23:21:28] dan: if bots can make edits where users and even admin cannot, that is bad [23:21:43] because they can't be reverted [23:22:18] Do we have a message for that DOM error yet? [23:22:19] !dom [23:22:19] --mwbot-- I don't know anything about "dom". You might try: !bundles !domdocument [23:22:22] Then exempt the admins [23:22:22] !domdocument [23:22:22] --mwbot-- If the DOM_Document class is missing, install PHP's XML module (and restart Apache) or set $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash' (see for details) [23:22:25] (spam url edit) -- blacklisting of url -- (bot edit ignoring spam url) -- human has to fix bot edit [23:22:28] It's a flag, add it to bot and sysop [23:22:29] !dom alias domdocument [23:22:29] --mwbot-- Successfully added alias: dom [23:23:17] Dan: that makes as much sense, as, say letting admins add tags [23:23:30] you're basically changing the parser behavior with the spam blacklist, and allowing regression is bad [23:25:35] It's a flag, add it to bot and sysop <-- what is? [23:26:32] Mkay... missread the title... But ideally this would be a flag rather than something hardcoded [23:26:45] Misread the title, so I didn't note that. [23:27:28] no one is exempt [23:27:37] 03yaron * r33876 10/trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php: Fixed closing of HTML tag if there are no results [23:28:08] the bots should be programmed correctly ^_^ [23:28:13] to comment out the URL, for example [23:28:37] 03(mod) Section edit conflict expands edit box to entire article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4745 (10edwardzyang) [23:30:03] Well someone could have noted that idea on the bug [23:30:19] If you oppose without giving better ideas, then no-one is going to listen [23:30:31] Dan: like they did in comment #1 and #2? [23:30:48] well [23:31:09] if I ++support the WONTFIX with logic, they have no choice ^_^ [23:31:14] the better solution is: fix the bots [23:33:25] I don't see the comment in #1 and #2 [23:34:16] that admins aren't exempt? [23:34:20] or what did you mean? [23:35:38] that bots should be written correctly? that is in #5 [23:36:51] Bots written correctly, but in what way? The assumption without any other info is that 'correctly' is to remove the links entirely, which isn't good. [23:37:20] now you're just nitpicking [23:37:39] fine, I'll add a comment, if it'll make baby dan happy ^_^ [23:37:45] Already did [23:38:19] is here any extension developer for mediawiki_ [23:38:22] ? [23:38:41] :/ There are plenty, but most will only aim in a certain area [23:38:53] hmm tnx Dantman [23:38:55] So perhaps asking a question would be good... [23:39:15] i am newbie in creating (hooking) in mediawiki. [23:39:16] Dan: that is what they meant, probably with addition of an isAllowed() check [23:39:25] but adding such, as explained above, would be bad [23:41:45] there are lot of hooks avalaible,, but somehow i dont know what extension is good for.. .. I know its not question.. I need to add new tab where edit tab is. And i dont know how to hook this.. [23:42:06] i am not sure if SkinTemplateTabAction is what i need. [23:46:34] what will the tab do? [23:47:15] i want to add specific stuff for every article. [23:52:26] 03(mod) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 (10dan_the_man) [23:53:45] Gali: well, what action will that take? [23:54:07] will it be a special page of meta info, like Special:Info/pagename ? [23:54:27] will it modify the page like an action? title=pagename&action=something ? [23:55:18] I have a question. If there's a feature that we think would be awesome on mediawiki how do we submit it or tell a developer? [23:57:47] Ever since our small community at gpwiki gave over our game programming wiki to gamedev they've been really fast in organizing it, but there's something even the admins of it found odd. There's no way to easily manage a glossary. We were thinking that for each page there could be a check box with a glossary word and definition that links back to the page. [23:59:39] and this would automagically generate the data for a large glossary page. (in our case only game programming terms) so maybe check boxes that allow you to select certain glossaries the definitions belongtoo [23:59:42] Superpig, you're too slow [23:59:47] ah, I see Sirisian beat me here :) [23:59:49] Splarka: i am not sure what to use, if special pager or title=pagename&action=something but , i preffer second choise. (special page can be addressed to article or not?)