[00:00:06] have done that.. it tries to create a folder (for example) in the thumb directory which has the permissions 770 [00:00:46] yes, you need to manually create the folders, then enable that option in your localsettings.php [00:01:22] I manually created the folders thumb, archive and temp, but its trying to create more folders (for example inside the thumb folder) for the name of the image file [00:16:22] hmm, looks like my host may be to blame, I've chased it up with them :) [00:27:26] Werdna: you still about? [00:28:38] are there any devs about? [00:31:38] fireflies: there's a config option to not create the hash folders like 3/3a/ [00:31:48] fireflies: which is useful if for some reason your php config stops that from working [00:32:07] although now thumbs are in their own folder, that might not work anymore [00:32:38] what's the longest variable name in use in MediaWiki? [00:32:57] twincest: for some reason, it still seems to try creating hashed files [00:34:08] Nikerabbit: $wgCountCategorizedImagesAsUsed [00:34:28] I just added $wgTranslateDocumentationLanguageCode to my extension [00:35:02] excluding config variables, $oldFashionedRestrictions in Title.php [00:35:09] kinda cheating with prefix but... [00:35:57] 03grondin * r29014 10/trunk/extensions/Farmer/Farmer.i18n.php: Update from http://translatewiki.net/wiki/Process/tasks [00:43:15] 03siebrand * r29018 10/trunk/extensions/Translate/Translate.i18n.php: Tweak 2 messages [00:46:45] 03(mod) Auto-noindex user/user talk pages for blocked users. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11443 (10gmaxwell) [00:50:52] 03(mod) Auto-noindex user/user talk pages for blocked users. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11443 +comment (10JSchulz_4587) [00:59:57] speaking about images, is there any rhyme or reason to the decision of which hashed directory? is it by md5 or some such? [01:00:18] first and first/second of md5 of name [01:00:21] i'd love, if possible, to store the files in a way that makes sense if, say, browsed on a desktop. [01:00:45] $md5(Wiki.png) -> bc32c4ef985f1924664e5f5c7359ef62 [01:01:00] http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png [01:01:00] Splarka: and that's mainly to prevent the possibility of 50,000 files in a single directory, and the demonic dirread required? ;) [01:01:09] apparently [01:01:23] although for wikimedia that could be 50,000,000 [01:01:27] aye. [01:01:40] not just readdir(), we don't actually use that much [01:01:51] is there any magical ... .. "take images and put on a CD in a way that is logically browsable"? script, extension, whathaveyou? [01:01:55] some filesystems perform badly for specific lookups in large directrories [01:02:22] i know wikia provides image download tarbulls. i wonder what format thats in... [01:04:09] Splarka: are you a dev? [01:05:28] CIA-39: I hate you, all day you've been ignoring my and now you start... [01:05:46] nope [01:06:43] domas: you about? [01:25:38] 03(NEW) request for markup addition in lists - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12449 15enhancement; normal; MediaWiki: Page rendering; (FT2.wiki) [01:27:50] wow, that's complicated -_- [01:29:29] 03(mod) request for markup addition in lists - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12449 +comment (10FT2.wiki) [01:31:03] hello [01:31:08] hi [01:31:18] aahh skizzerz again :D [01:31:23] :D [01:31:28] i have a problem with mediawiki [01:31:30] http://thief459.th.funpic.de/wiki/config/index.php [01:31:34] look at that :D [01:31:55] have you icq? [01:32:18] uh... 1.6.5? [01:32:23] get 1.6.10 :) [01:32:32] i have 1.6.11 too [01:32:34] or better yet 1.11.0 [01:32:44] considering you have php5 [01:32:47] http://thief459.th.funpic.de/wiki_new/config/index.php [01:32:58] 1.11. must it be [01:33:21] ah [01:33:27] 335637963 ICQ [01:33:32] can you add me? [01:33:38] *Skizzerz doesn't have ICQ [01:33:47] schade [01:33:59] anyway, contact your hosting providor to get them to enable the required functions [01:34:21] i dont know what its false [01:34:41] tell your hosting providor to enable ini_set() and exec() [01:34:56] another question [01:34:56] (exec might not be disabled, but if it is, it'll cause problems with thumbnailing) [01:35:05] do you know a good freehoster? [01:35:08] a free webhost like that is never going to enable exec [01:35:21] *Skizzerz got a free webhost to enable exec [01:35:55] Neox: search http://www.free-webhosts.com/ and pick one you like :) [01:36:13] i want to create a wikipedia for a game called THIEF [01:36:28] I currently have some internal shortcuts added into the interwiki table on the database (so a w:... link turns into wiki:...) this works fine except it doesn't pick up empty pages (doesn't show them with the "edit" option and the colour to match, or in the wanted pages list).. is there any way to resolve this? [01:37:34] skizzerz.. which hosting service do you ... oh bad english... which is the best hoster for a wikipedia? [01:37:52] how can I track people's IP's when they register? [01:38:08] Neox: Not 1&1. [01:38:27] 1&1 is german shit, i know :D [01:38:55] I'm using it right now, but they don't use a recent version of PHP. [01:39:40] are you GERMAN? [01:40:13] nope :P [01:40:16] skizzerz. which service is the best for my plan? [01:40:22] I don't know [01:40:28] find one that suits your tastes [01:40:38] but make sure it has php5 and MySQL [01:41:23] you will also want to make sure there aren't any debilitating restrictions on php (aka no safe_mode, among other things) [01:41:57] finding a host that gives you SSH is a plus (lets you run maintenance scripts and upgrade your version) [01:42:19] oook^^ [01:53:08] http://www.free-webhosts.com/reviews/X10Hosting.php [01:53:28] geht das da? [01:53:29] they're pretty good [01:53:43] ... does mediawiki work there? [01:53:55] *Skizzerz actually uses them [01:53:55] yes [01:53:55] dont laugh about my english pls :D [01:53:57] *Skizzerz isn't [01:54:22] do you know how i can install it? [01:54:35] make an account, upload the files, and run the installer script [01:55:00] inside a template, how do i include the name of the page doing the transclusion? [01:55:07] 03aaron * r29019 10/trunk/extensions/CheckUser/CheckUser_body.php: [01:55:07] * Show last 10 agents for users [01:55:07] * Rename class attrib [01:55:12] Morbus: {{PAGENAME}} [01:55:18] in Category:1970, i'd like to include {{Posters Explanation}} and have it... thanks. [01:55:25] was looking on http://www.mediawiki.org/wiki/Help:Templates and saw the passed params, but not the list. [01:55:29] er, MorbusIff: {{PAGENAME}} [01:55:37] ah! its under variables. my bad [01:56:45] MorbusIff: http://meta.wikimedia.org/wiki/Help:Magic_words for full list [01:57:10] thanks. [01:58:33] ok skizzerz i am creating an account [01:59:28] Neox: a forewarning about them though, you have to visit their forum once every 14 days or they suspend their account (just visit, no posting required) [02:01:08] only enter the forum? [02:01:28] that's a strange requirement [02:01:43] i guess it ensures people aren't abandoning their accounts [02:02:02] ok 14 days are ok [02:03:29] skizzerz = referrer? [02:03:37] uh, sure ^_^ [02:03:45] but make it caps (so Skizzerz) [02:04:06] ? i dont uderstand:D [02:05:06] skizzerz is my referer... ready [02:05:06] the name of the referrer is case-sensitive and my name is "Skizzerz", not "skizzerz" [02:05:38] ok [02:06:05] ok account created now activating [02:07:03] 03aaron * r29020 10/trunk/extensions/CheckUser/CheckUser_body.php: Instead of reversing a bunch of arrays, just read them off backwards [02:10:13] Skizzerz, so run wget as a cron job? [02:10:31] Simetrical: ??? [02:10:52] Skizzerz, to automatically visit every day or something. [02:11:00] Or every week. [02:11:17] I don't know if that works, but I visit there often enough just to view the weekly contest winners [02:11:24] Simetrical: would you be willing to do me a favor? [02:11:38] Betacommand, depends what it is, I guess. [02:11:48] one week I wasn't on and I ended up winning that week, saw that I won the day after the period to claim it ended >_> [02:11:59] Simetrical: http://bugzilla.wikimedia.org/show_bug.cgi?id=12445 [02:12:27] I would be greatly thankful for something like that [02:13:18] Betacommand, I don't understand the rationale. Why don't you just search for appropriate fullurl: instances? [02:13:57] Betacommand, your solution wouldn't eliminate the existing fullurl: entries, they'd stick around in corners for years. You'd have to find them anyway if you wanted to be thorough. [02:14:08] Simetrical: I want to hide those edit links from the linksearch [02:14:30] Betacommand, ah. [02:14:40] *Splarka gets deja vu [02:14:49] Bug 11456 would be a good way to do it, I think. [02:15:00] Not sure it would be allowed in, though. [02:15:08] a magic word for that already exists, {{localurl}}, you just need a way to fool the parser into letting you use $wgScript-prefixed links [02:15:09] that would let us use them in stub templates without flooding linksearch [02:15:16] It seems kind of pointless at first glance, unless maybe we switch over to it as default. [02:15:28] Splarka, the problem is that it shows up in LinkSearch, apparently. [02:15:34] is it morning in your country? [02:15:40] right, as [02:15:52] but not as [02:15:55] 03(mod) Checkuser results omit information? - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12447 (10JSchulz_4587) [02:16:08] Simetrical: correct and when you add it to a stub template you get 1000+ extra links to filter out [02:16:10] {{fullurl}} generated a string of text starting with http://, and the parser then makes it a link after the fact [02:16:12] suddenly, deja vu [02:16:28] wikibugs: :) [02:16:33] wow, deja-vu jinx [02:16:55] Splarka, you can't avoid that with current wiki syntax, it needs to start with a protocol so we know it's a URL. [02:17:06] Sim: what if it was in brackets? [02:17:09] its 3:17am omg^^ [02:17:16] Simetrical: I like the idea of [[Special:Edit/Page]] too [02:17:17] '[' + $wgscript + ' ' [02:17:21] Splarka, we could change it, but it would be moderately breaking. [02:17:42] breaking things is fun [02:17:45] i don't think it should be restricted to wgscript if it does get added [02:18:07] dont break anything, just add a new ability, and users will adopt that [02:18:24] other options discussed included simply removing the URL prefix if it matched the $wgServer [02:18:34] (from all URLs, but that would break things on mirrors <3) [02:18:40] Splarka: that is a bad idea [02:18:44] no kidding [02:18:47] i still disagree that this is the correct way to fix Special:Linksearch ;) [02:18:55] 03(mod) Add [[Special:History/Page]] and [[Special:Edit/Page]] as functional internal wiki links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11456 +comment (10Simetrical+wikibugs) [02:19:02] as we would hide improper links to wikipedia [02:19:14] twincest, what would you say is correct? [02:19:30] so would either of those two bugs [02:20:39] Sim, if it would be for all action=, why not [[Special:Action/purge/Pagename]] ^_^ [02:21:07] but then you'd need one for diff=, oldid=... [02:22:05] Splarka, ugly. [02:22:12] There's no action=diff or action=oldid. [02:22:14] Technically speaking. [02:22:16] me, or the syntax? [02:22:23] well, yah [02:22:28] which is why they'd be separate [02:22:29] Splarka, I can't tell whether you're ugly through IRC. [02:23:01] ^rephrase for clarity/sim^ -> [[Special:Action]] would work for all actions, but then you'd need a separate syntax for diff=, oldid=... [02:23:20] then it gets silly [02:23:36] soon people'll want it for gen, ctype, curid [02:23:48] how would I create a namespace shortcut (such as wp -> wikipedia) which still detects if a page has not been created as normal? [02:23:50] or just a magic word that lets you edit a page [02:24:06] fireflies, what do you mean, "has not been created as normal"? [02:24:47] Simetrical: for example, on wikipedia, a link.. wp:something, becomes wikipedia:something.. if the wikipedia:something page doesn't exist, it has a red color and has the &action=edit... [02:25:41] fireflies: $wgNamespaceAliases [02:25:50] ahhh thankyou kindly :) [02:26:23] Hey, it looks like I may be eligible to get cash from Take-Two because of the hot coffee mod for GTA:SA. Cool. [02:26:58] Except it's $35 max and I have to submit a claim form, screw it. [02:27:35] skizzers are you there? [02:27:42] yeah [02:27:50] privat chat? [02:27:53] sure [02:28:26] *Betacommand thinks about offering Simetrical a cash reward if he fixes my bug [02:28:35] you see me? [02:29:07] Betacommand, meh, I don't need money for much of anything at the moment. Besides, as I say, I'm not sure it would get in, it looks kind of weird at first glance. [02:29:24] skizzers? [02:29:32] yes [02:29:39] /msg me [02:29:44] if you want private chat [02:30:10] Simetrical: I am just looking for a simple method of adding a edit link to text for use in templates that does not show up in LinkSearch [02:31:20] *Simetrical shrugs [02:33:19] Simetrical: do you have any good method of doing this/ [02:34:04] I don't see any conceptually attractive way. Of course you could just disable it from showing if you wanted. Hack it to not add those rows or whatever. [02:34:11] But I'm not sure that's best. [02:34:19] javascript ^_^ [02:34:25] You would probably want to hide some of the interwikis as well. [02:34:29] 03(mod) Dead end InterWiki prefixes due to missing sister projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4558 (10gangleri) [02:35:08] 03aaron * r29021 10/trunk/extensions/CheckUser/CheckUser_body.php: Add some space between radios and labels [02:36:04] Simetrical: I want to do this on en.wiki [02:37:14] Simetrical: how hard would it be to add an extra magic word that does the same thing, without generating URLs/ [02:38:19] Betacommand, easy, but it's not a clean solution. It's too special-purpose. We have a huge number of magic words already. [02:38:50] Some people probably want edit links to show up in the external links list. [02:39:16] heh [02:39:22] If anything, I think the cleanest would be to mark external links that point to a list of local domains, so that they can be hidden with a checkbox. [02:39:41] Simetrical: it might be special purpose but we need it for working with template based edit links [02:39:44] how about allowing a faux url syntax like local:/w/index.php?title=foo&action=edit [02:39:56] eg: [local:{{localurl:foo|action=edit edit] [02:40:28] that would let people choose what they put into linksearch, absolute or relative [02:40:30] Splarka: that does not address the issue of hiding it from linksearch [02:40:39] Betacommand, yes, many times small numbers of users want a very specific feature for a specific purpose. Every one we add increases the complexity of what we have to maintain and users have to understand. [02:40:42] it would if it didn't start with http:// [02:41:05] As I say, an extra checkbox on Linksearch seems best to me. [02:41:19] It's just a matter of implementing it. [02:41:31] Simetrical: that would only need to remove the edit links then [02:41:32] If you only wanted to skip one domain, really, it wouldn't be terribly hard. [02:41:40] Betacommand, way too specific here. [02:41:54] Meh. [02:42:00] I don't know, I'm not convinced. [02:42:04] If you can find someone else, go ahead. [02:42:28] Sim: the problem, as I understand it, is they want to find http://en.wikipedia.org links, but they don't want that list to be spammed with ?action=edit links [02:42:50] So use grep, I guess? [02:42:58] so probably what they'd need, is a regex filter, eg a way to hide action\=edit links [02:43:41] Too general, now, in that you hit efficiency barriers. [02:43:48] A regex that matched nothing would scan the whole index. [02:44:03] (Or matched everything, in the inverted sense you use.) [02:44:09] heh [02:45:28] at least Special:Linksearch isn't limited to 1000 like cached special pages [02:46:21] Splarka: true, but you still can get 5000+ results from a single template [02:49:05] so, would there be any security issues in allowing [external link] syntax to seletively omit the domain? [02:49:24] Splarka, spammers could use it easily enough . . . [02:49:37] If it's not restricted to a fixed set of domains. [02:49:37] to link to what? other local pages? [02:49:40] that is why I was thinking about using a special page or magic word to create the ability to have the edit links without flooding linksearch. perhaps a javascript to enable the edit function without adding a URL? [02:50:02] [local:/wiki/Viagra Cheap Viagra!!!] [02:50:35] obviously it would have to start with a slash, eg (per my example) "local\:\/" would work but local\:[^/] would fail [02:51:03] or you'd get confusing links, eg would act differently on /w/ and /wiki/ [02:51:12] what about local://foo/bar - wouldn't that create a CIFS link to a Windows system? [02:52:01] well, one slash only then [02:52:10] also, the local: (or whatever) would have be removed [02:52:17] hm, apparently it doesn't [02:52:20] local\:\/[^/] [02:52:29] would be matched, and then local\: removed [02:52:51] eg local:{{localurl:page}} would become [02:53:08] eg local:{{localurl:page|action=edit}} would become [02:53:42] that'd be about the least hackish way to do it, compared to making magic words or special pages for each action [02:53:54] IMHO ^_^ [02:53:56] *Splarka hides [02:54:19] twin, you mean file:/// links? [02:54:36] local:file:/// would fail the local\:\/[^/] match [02:57:00] (hmm, with the current method though, it would require a dirty hack somewhere between the $wgUrlProtocols and the parser, eh?) [03:09:17] 03aaron * r29022 10/trunk/extensions/CheckUser/CheckUser_body.php: Gah, this check should stay [03:13:43] Splarka: no [03:13:51] Splarka: i meant [03:14:07] but apparently that isn't special (unless you use \\ instead, at least in IE) [03:15:24] does anyone know how to make tortoisesvn not open a command window when doing stuff? [03:15:28] (i think it's plink doing it) [03:17:42] 03(NEW) Preview in section editing mode with pictures may look messy - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12450 minor; normal; MediaWiki: User interface; (sco_scam) [03:18:15] 03(NEW) Title canonicalisation in AjaxFunctions.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12451 trivial; normal; MediaWiki: User interface; (mediawiki) [03:18:46] 03(mod) Preview in section editing mode with pictures may look messy - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12450 (10sco_scam) [03:20:34] twin: ahh, IE was fun that way, and there was another trick, in 5 or 4 or something... [03:21:46] "get the security update at microsoft.com" [03:22:15] which would send you to 12.3.45.6:8080 and looked almost like a real URL (the backslash) [03:22:26] <3 IE [03:27:24] the @ problem isn't specific to IE, that's a standard URL... [03:31:36] *AaronSchulz giggles [03:44:11] twin: the \ specifically [03:44:28] *Splarka puts it in simple words ^_^ [03:44:55] IE used to allow "\" in the username or login field of http://username:login@server:port syntax [03:46:44] hmmm [03:46:48] *qsheets is bored [04:01:17] Splarka: why wouldn't it? [04:06:44] er, rather, it allowed frontslashes in username/login [04:11:13] ok so basically i'm writing a login.php that will authenticate using wikidb database, i have the html form for the inputs, which works, but i want the script to handle wrong logins etc, how can i get the login form from mediawiki or how can i change the login form? [04:12:16] eugo: if ($loginiswrong) { echo "your login is wrong"; } ? [04:14:11] twincest thx, that helps, but could i get some reference, like what functions should i use to authenticate etc... [04:14:49] eugo: you just said the form works, how could it work if it doesn't authenticate anything? [04:15:02] all it does is send it to [04:15:38] index.php?title=Special:Userlogin&action=submitlogin&type=login&returnto=Main_Page etc, and mediawiki does all the work [04:15:53] all i did was copy the source from html when viewing the login page [04:16:20] it'd be better to copy /includes/SpecialUserlogin.php so that you can get the real code behind it too [04:16:53] hmm so that is the core login script? [04:17:00] i was looking for it [04:17:01] yes [04:17:15] there might be other files and stuff it calls, but that's the gist of it [04:18:20] 03aaron * r29023 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Make some pages unlisted [04:18:23] my login.php is the first thing a visitor sees, should i add include LocalSetting.php to the script or any other declarations? [04:22:34] *qsheets is deciding if he should release his newest extension update on the 31st or on the 1st [04:22:59] why not the 28th? [04:23:00] s/if/whether [04:23:12] Skizzerz: 28th? [04:23:22] *qsheets finished today [04:23:23] exactlyu [04:23:29] *exactly [04:23:32] and today is the 29th [04:23:39] go back in time [04:23:42] lol [04:25:22] so the real question is, do i want the version after 1.10 to be 1.12 or 2.01 [04:26:08] 13.37 [04:26:15] *qsheets thinks and decides... [04:26:32] make it 13.37 :) [04:26:36] or 9001 [04:26:58] Skizzerz: NO, I have a a version naming scheme already [04:27:22] and it doesn't revolve around internet memes? [04:27:38] nope [04:27:46] :( [04:27:58] [Year in development].[month] [04:28:01] Skizzerz, like Apache? [04:28:03] ah [04:28:12] 1.3.37! [04:28:17] indeed :) [04:28:27] :P [04:29:13] I have decided to release the new version on January 1st 2008 at 12:00 am... [04:29:22] making the ver. 2.01 [04:29:25] ok [04:29:45] 'twill be a New Year's Gift [04:30:13] cool [04:30:21] What extension, may I ask? [04:30:29] IRc Chat [04:30:33] * IRC [04:30:39] ah [04:30:44] 03(NEW) Mod of Uploading Interface to encourage copyright compliance - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12452 15enhancement; normal; MediaWiki: Uploading; (mattbisanz) [04:31:00] awesome, considering I was just bugging a wiki I visit to install it xD [04:31:09] *qsheets loves how "it" can be contracted into so many verbs [04:31:21] "it" being the IRC Chat extension [04:31:51] "it" being the word "it" [04:31:57] that too [04:32:07] <(^^,)> [04:32:23] *qsheets also likes the long smilies [04:33:16] mm, ambiguity [04:33:25] nothing is lighter than air [04:33:31] lol [04:33:39] you sure? [04:33:45] nothing is lighter than anything [04:34:05] http://en.wikipedia.org/wiki/Syntactic_ambiguity [04:34:40] nothing can put a lot of weight on a person or any animal [04:36:50] d[-.-]b [04:37:19] Nothing has no weight, it can't be called lighter than anything. [04:37:26] "Nothing is lighter than air" is wrong either way. [04:38:54] lol [04:38:55] lighter meaning less dense, unlike some people one could name [04:39:05] Simetrical: doesn't get it [04:39:07] "Nothing has no weight" <-- oddly, that opens a whole new can of worms [04:39:19] because weight is an illusion of gravity + mass ^_^ [04:39:39] No, weight is a force. [04:39:43] but the other interpretation is that 'everything has weight' [04:39:57] The weight of an object is defined to be the gravitational force acting on that object. [04:40:06] exactly [04:40:14] The weight of anything other than an object is undefined, and therefore "nothing" has no weight. [04:40:15] so nothing has no gravity attracting it as it has no mass [04:40:22] so it is lighter ^_^ [04:40:50] I suppose you could argue that the weight of anything not subject to gravity is zero. [04:41:01] In that case, however, to determine density you still need volume. [04:41:11] Volume for nothing, if defined, is presumably zero. [04:41:12] "nothing can put a lot of weight on a person or any animal" ---> 1) There is no way anybody can gain a lot of weight 2) laziness can cause a person to gain a lot of weight [04:41:21] Therefore the density is undefined either way. [04:42:12] imagine a pair of metal cans, one filled with air, one filled with nothing, which one is lighter? and if the mass of the can is subtracted, which one is still lighter for the volume? [04:42:21] nothing! [04:42:29] nothing can prove my point [04:42:44] and nothing will allow us to agree [04:42:52] LMAO [04:43:01] You're not taking the density of nothing, though, you're taking the density of an object, which has no contents. [04:43:13] nothing also proves that a single penny is better than everlasting love, but that's a whole new ballpark [04:43:26] MZMcBride: we are arguing over NOTHING [04:43:39] You'd need at least a dollar to be better than everlasting love, what with inflation. [04:43:40] nothing is undefined [04:43:56] errr... mediawiki, anyone? [04:44:04] Simetrical: no, because nothing is better than everlasting love [04:44:07] ... [04:44:15] and it can also be argued that a single penny is better than nothing [04:44:26] therefore, a single penny is better than everlasting love [04:44:33] I like that logic. [04:44:50] except we didn't ask for your two cents [04:44:56] There's some term for it, which slips my mind. [04:45:00] Equivocation, that's it. [04:45:04] *Simetrical goes to bed [04:45:42] YAY [04:45:58] is there a bug about being able to categorize the talk page of an article from the article? [04:46:27] *Skizzerz searched bugzilla and found (surprise) nothing [04:46:56] really? [04:47:02] yeah [04:47:11] of course, I only searched open bugs [04:47:21] so if it was resolved as WONTFIX or something, I didn't get it [04:47:53] wtf did I walk into? [04:48:10] AaronSchulz: the end of a tangent [04:48:10] because i know people have complained that they don't want articles categorized under things like "articles needing cleanup" [04:48:14] Simetrical: I'd have to agree with you about the "weight" of nothing being null/undefined [04:48:17] AaronSchulz: nothing [04:48:36] lol... here we go... [04:49:35] how hard would it be to have code that would allow the article's talk page to be categorized instead of the actual article, from the article? [04:50:17] wait... categorize the talk page of an article instead of the article itself via categories put into the article itself? [04:50:31] Did I understand you correctly? [04:50:35] ... [04:50:37] that feature just seems wrong to me [04:50:37] well more likely via templates, but something like that [04:50:44] ... [04:50:47] well it would be so that a tag would appear on the page [04:50:50] i think we need proper metadata, like 'needs cleanup', that could be configured to put stuff in categories [04:50:56] but the category wouldn't appear at the bottom [04:51:11] because really, the categories aren't for readers [04:51:27] no average reader wants to be able to click to see how many articles were tagged for cleanup in july [04:51:32] or something like [[Maintenance:Foo]] that categorizes but doesn't add to #catlinks [04:51:40] so, you'd have to load the entire text of the real article behind the scenes of the talk page to display the category box at the bottom [04:52:09] or just detect that presence of certain code... [04:52:20] category membership is stored in a table [04:53:09] #catlinks a[href^="/wiki/Category:Maintenance"] {display:none;} [04:53:10] *Splarka giggles [04:53:45] hasn't there been discussion of getting categories out of the main editing box before? [04:54:05] i imagine making that change would make the talk page thing easier... [04:54:39] it would, but it would make categorizing harder [04:55:14] but it could make removing / renaming categories easier... [04:55:27] just depends on how it was implemented, i suppose [04:55:28] true [04:55:35] and yeah [04:55:48] but the point is, how will users be able to change categories of pages then? [04:55:49] twincest: lol, we should dup the category system but for maintenance categories [04:56:03] new namespace and all [04:56:06] i just kind of surprised there isn't an active bug about this [04:56:45] Skizzerz: a separate box could come up, or there could be a special page, or something more fun like an AJAX pop-up... [04:57:08] all AJAX needs a non javascript-based alternative [04:57:25] (all AJAX essential to carrying out basic wiki functions) [04:57:39] we could eliminate all non-javascript users :) [04:57:51] yeah, i know, it could use a separate page or something [04:57:55] fuck those fuckers [04:58:02] like (un)watch does [04:58:28] javascript is fun, but requiring it is ... bad mkay [04:58:31] *Skizzerz has NoScript, so he has to manually enable javascript on a per-site basis if it has js functions [04:58:46] javascript is pretty widespread [04:59:55] yes, but flashy annoying stuff annoys me, which is why I have it forbidden everywhere by default (plus it adds to page load times) [05:00:46] true [05:00:59] annoying stuff annoys me too [05:01:04] that's why i always use instead of JS [05:05:03] hmm [05:05:51] 03(mod) List of footnotes separate from references in Cite.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11899 (10voyagerfan5761) [05:06:14] 03(mod) Dead end InterWiki prefixes due to missing sister projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4558 (10gangleri) [05:06:49] so what did 16209 and 16210 do? what is "subclassing" ? [05:12:21] does MW support animated GIFs??? [05:12:29] yeah [05:12:35] kk [05:12:38] Splarka: https://secure.wikimedia.org/wikipedia/en/wiki/Subclass_%28database_theory%29 ? [05:14:58] ew, secure [05:15:44] stubby [05:16:35] <^demon> Hey, odd PHP question. I've set up a bit of pseudocode to explain it. Basically. I'm trying to have a file with several arrays, and return one of them based on what was passed when the method is called. However, it says undefined variable. Here's the mock-up: http://pastey.net/79772 [05:18:05] try global-ing the two arrays after you require the file... [05:20:06] <^demon> That worked. [05:20:15] <^demon> Fixed the first of two issues, but the 2nd is unrelated. Thanks. [05:21:32] 03(NEW) Biography Sting(Singer) Sting(Wresler) shows the Bio of Sting wresler. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12453 15enhancement; normal; MediaWiki: Documentation; (rajit4u) [06:18:55] arg, damn parser... [06:27:17] ok... maybe that wasn't the issue... [06:30:10] 'damn parser' is always the right answer, whatever the problem is [06:33:04] lol [06:33:17] Meh, I think it was YouTube's fault this time [06:33:47] For some odd reason, video urls in the embeds use & instead of ? as the query separator [06:34:01] Damn rewriters [07:28:17] hello everyone [07:28:44] is there a system message that would allow text to show up at the top of every page when someone is viewing in edit mode? [07:29:00] in the same place as the "warning this page is xx kb long" [07:32:20] there are many messages that appear above the edit window, eg namespaceprotected, cascadeprotected, protectedpagetext, editinginterface, customcssjsprotected, titleprotected... as well as situations such as editintro=page and action=submit (preview), but I do not believe there is one yet, that always appears above [07:32:55] ok [07:33:03] although edittools always appears below, as well as a copyright warning [07:33:22] ahh yah I guess edittools would be good enough [07:33:23] either copyrightwarning or copyrightwarning2 [07:33:25] since it's near the submit button [07:33:35] both of thoese are below right? [07:33:45] they are, IIRC, between the edit window and submit tools [07:33:56] for a small line warning of the copyright status of the wiki [07:34:01] *qsheets has a puzzling issue... [07:34:10] ok, thank you very much :) [07:34:23] on my wiki, Special:Version comes up blank [07:35:47] Splarka: can you solve that? [07:35:57] link? [07:36:26] http://www.adambots.com/index.php?title=Special:Version [07:37:28] cool site [07:37:37] thx [07:37:49] how long did that all take you? [07:38:09] t0lk: add &useskin=adambotsv3 for it to look nicer [07:38:32] t0lk: it's a team thing [07:39:04] mysterious, no content [07:39:09] i kno [07:39:32] qsheets nah I like the default skin :p [07:39:42] lol [07:40:28] t0lk: then you might like, &useskin=narrow [07:41:52] you have a lot of these huh? lol [07:42:02] a few [07:42:08] default's still my favorite, i'm a big fan of white [07:42:44] We only have 4 skins, not including monobook [07:43:19] *qsheets is going to play w/ LocalSettings.php to see if it fixes itself [07:46:18] Splarka: LMAO [07:47:07] It is the one extension that was made by the MW developers that does it... [07:48:37] nice [07:50:02] Cite.php [07:59:46] how so qsheets? [08:06:38] idk... [08:07:16] but thats the only one that needs to be disabled for it to show up [09:24:51] http://www.chronarion.org/chirpy/index.cgi?id=5509 [09:51:43] http://htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fen.wikipedia.org%2F&spider=yes&hidevalid=yes Isn't that a problem? Shouldn't it always be valid if you edit in Wikipedia for example? [09:55:13] 03grondin * r29024 10/trunk/extensions/Translate/Translate.i18n.php: Localisation updates for extensions from Betawiki [09:55:32] 03grondin * r29025 10/trunk/extensions/OggHandler/OggHandler.i18n.php: Localisation updates for extensions from Betawiki (02:00, 30 December 2007 (UTC)) [09:57:50] you want tidy should to remove or rename all duplicate IDs before rendering? [09:58:22] "Nothing is foolproof because fools are so ingenius." [10:00:44] jocke: there is no guarantee that mediawiki produces valid html [10:01:17] twincest, no but I am suggesting that it could. [10:01:33] yes, it could. [10:01:43] if you want to make it, please feel free [10:02:04] twincest: mediawiki must produce valid html itself (but it shouldn't validate parser output) [10:02:38] VasilievVV: by 'produce' i mean 'output to the browser' [10:02:53] i see [10:10:25] Hello [10:10:55] hi [10:11:47] T_T programming withdrawl... [10:11:52] Hi Grondin [10:14:30] T_T Only shut down Eclipse about half an hour ago after making good work on WikiVid... And I'm already having issues stoping myself from opening it back up... [10:14:52] 03grondin * r29030 10/trunk/extensions/Cite/Cite.i18n.php: Localisation updates for extensions from Betawiki (02:00, 30 December 2007 (UTC)) [10:15:01] 03siebrand * r29031 10/trunk/phase3/languages/messages/ (16 files): Localisation updates for core messages from Betawiki (2007-12-30 11:05 CET) [11:30:23] 03(mod) Add [[Special:History/Page]] and [[Special:Edit/Page]] as functional internal wiki links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11456 +comment (10roan.kattouw) [11:38:53] 03(mod) Template parameters unavailable to XML-style parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 +comment (10encukou) [11:49:09] <_wooz> lo [11:57:11] 03(FIXED) Missing Comma in AutoLoader.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12422 +comment (10roan.kattouw) [12:06:03] 03(NEW) Blocking-Bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12454 normal; normal; MediaWiki: Blocking; (wiki) [12:10:47] 14(WFM) Blocking-Bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12454 +comment (10raimond.spekking) [13:12:07] is there any standard to the template/doc page? any docs I can read on it? or is it just a made-up thing? ;) [13:12:27] ah, http://en.wikipedia.org/wiki/Wikipedia:Template_doc_page_pattern#How_to_create_a_documentation_subpage [13:12:29] ne'ermind. [13:44:59] rawr [14:28:59] hi, somebody knows a plugin that automatically sets the wiki language to the visitors browser language? [14:42:58] becks`: I don't know exactly what you mean, but maybe you are looking for http://www.mediawiki.org/wiki/Extension:Multilang or http://www.mediawiki.org/wiki/Extension:LanguageSelector [14:47:01] thanks SPQRobin, LanguageSelector sounds great :-)) [15:03:39] mmmm... extension eggs... http://img165.imageshack.us/img165/6461/fireshotcapture5internayh5.png [15:03:58] I seem to be having issues with svg files being uploaded... when it converts them to png, I just have a white box for the image.. any idea what the problem might be or how I can track it down? [15:04:59] Do you have your wiki configured to use a program to convert the svgs? [15:05:11] yup, its set to use imagemagick [15:05:32] hmmm... [15:05:35] 03(mod) Entering a query on Special:Ask results on a empty page. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12455 (10bakkerl) [15:05:38] 03(NEW) Entering a query on Special:Ask results on a empty page. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12455 normal; normal; MediaWiki extensions: Semantic MediaWiki; (bakkerl) [15:06:09] Well, I don't know much about using imagemagic... I prefer use of Inkscape's binaries. Guess someone else will have to help [15:13:09] is there standard CSS that can produce a gradient border? [15:19:56] Hi! Does MW1.12 happen to significantly change the way in which parser functions and template expansion interact? [15:20:17] I have a parser function that creates output of the form "{{Some template}}" [15:20:49] And it broke within the last couple of MW revisions. [15:21:48] More precisely, 1.12alpha (r26187) works while 1.12alpha (r29006) does not. [15:22:18] you could stary by reading == Parser changes in 1.12 == [15:22:23] in RELEASE_NOTES [15:23:17] OK, I will do that. What I eventually need, however, is a fix or workaround for this regression. It truly breaks some of our features. [15:29:09] OK, the RELEASE_NOTES explain that there were major changes ni the order of parsing, but do not detail how this affects parser functions. [15:30:00] you could ask TimStarling [15:30:25] probably you will need to pass it to some $wgParser function [15:31:14] Yes, I could do a manual parse in our parser functions. The question is how much expansion is suitable at this stage. [15:32:49] We were planning a release for today, but that changes things a bit :-( Given that TimStarling is not here, I will just read the parser code ... thanks anyway. [15:32:53] i'm not an expert on that [15:33:08] I suppose TimStarling will pass later [15:33:16] he's at another timezone [15:36:38] hmm [15:37:01] Another problem is that the behaviour of MW1.11 and MW1.12 is incompatible. What works on one will probably fail on the other. [15:38:21] according to GIMP, my 1x8 pixel image is 5.43MB [15:38:29] those must be big pixels [15:44:39] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [15:44:57] 04(REOPENED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [15:49:50] 03(mod) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10bertrand.grondin) [16:01:04] Solution to my earlier problem: instead of just returning a string {{template}}, the parserfunction needs to make a Parser object and call its method "preprocess". The result is static wikitext without templates. [16:01:22] I hope that this solution will remain functional for 1.12 ... [16:03:24] This solution should also be backwards compatible for MW1.11. [16:04:20] Does anyone know if Wikipedia is still running on the old parser? [16:04:41] it is [16:06:36] OK, then I'll need to file a bug; I'm using the new parser and can't get MediaWiki to output an image without alt-text. I could not reproduce this on Wikipedia, so probably the new parser broke it. [16:14:54] 03(NEW) New parser: no way to show images without an alt text - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12456 normal; normal; MediaWiki: Page rendering; (ThomasBleher) [16:18:55] it could of been intentional, to make it compatible with more browsers like lynx [16:22:28] probably a foolish question, but, in the way that User:*/*.js pages are automatically protected, is there a way to define other user subpages to protect? [16:22:50] darkcode: I don't think that's a good reason; alt text are there by default, which is OK, but there needs to be a way to disable them, for images which are there just for decoration [16:24:17] if they are there just for decoration shouldn't they be part of some background-image style? [16:24:22] cirwin: you could hack Title::isCssJsSubpage() to include other user pages [16:24:39] would that affect the ability to transclude as well? [16:26:05] darkcode: Well, look at http://spiele.j-crew.de/wiki/Hauptseite ; the three images in the boxes are part of the page text, but they shouldn't have an alt text [16:27:00] darkcode: They are an aid for people who look at the page; for screen-readers etc they should just be invisible [16:27:42] 03(FIXED) Kazakh message updates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10bertrand.grondin) [16:27:55] ok [16:30:09] I don't see anything, even with the blocking of ads temporally turned off [16:32:04] there doesn't appear to be any image tags looking at the edit window either [16:35:17] oh you said boxes not bottom [16:43:09] Hi. I would like to use MediaWiki to manage the text content of a website which is mainly a database interface. Edits would be done using mediawiki at a private website, and I thought I could take the text from the MySQL tables at the public website. Is it easy or difficult to do? [16:45:08] Lerichard: MediaWiki isn't really designed to be a CMS, but you can use it. Mostly for simple HTML and text, though, since advanced HTML is blocked by the parser [16:45:20] Presentational stuff is fine [16:47:08] Thks for your reply. I see the contents is inside BLOB fields, so I guess I could try to output that. Do you know about another better software for doing this? [16:48:08] I don't have much experience with CMSes, but one I've heard of is Drupal, or you could use Wordpress to manage the site. They're both intended to be used as the site, though (as opposed to just storing the text to be fetched from a database) [16:49:45] OK. The difficulty is that most of the content is generated by PHP scripts using a MySQL database. So I need a program that somehow could be integrated into an already existing website. [16:49:59] Hmm... [16:50:21] It sounds like it might almost be easier to write your own database front-end :D [16:52:00] the MediaWiki has lots of nice features, so it could save a lot of time not writing the edit interface from scratch... [16:52:16] That is true [16:52:48] I'm kind of a fledgling database scripter myself (in PHP), and I did write a loader for one of my sites. Not sure about its security [16:52:58] Let me think a sec on what you want to do [16:54:06] What about doing a file_get_contents() on a &action=render version of a page. [16:54:26] It's a comic database a bit like ImDB but much smaller (still 80000 comic indexed). The content is generated from a MySQL database, but I would like to add biographies of artists etc. [16:54:37] Do it locally so you can restrict that kind of thing to the local ip [16:54:38] I didn't think of that, Dantman [16:54:48] Good one! [16:55:03] ^_^ Better than trying to get the parser outside of MW [16:55:07] what is the &action=render thing? [16:55:13] (Here I was looking at the database trying to think how to mess with it) [16:55:25] action=render outputs the parsed HTML, sans skin [16:55:30] http://en.wikipedia.org/?action=render [16:56:41] thanks a lot! I wouldn't have find that myself. [16:57:11] Funny thing is, I knew about that action but didn't think about it :P I need practice [16:57:25] I guess it should be fast since I will use the same server. [16:57:43] I'm on a loopback with my own wiki (it's on my computer) [16:57:53] As long as it's not loaded too much, it's quite snappy [16:58:14] ... except that I may need to strip out the "edit" links. [16:58:43] Hmm... I think there's a preference around that [17:00:06] Ah, have you installed MediaWiki yet? [17:00:25] I think I found something for that [17:00:41] Yes I did. [17:00:54] Open up your LocalSettings.php [17:01:46] If you put in: [17:01:46] $wgGroupPermissions['*']['createaccount'] = false; [17:01:46] $wgGroupPermissions['*']['read'] = false; [17:01:46] $wgGroupPermissions['*']['edit'] = false; [17:01:46] $wgGroupPermissions['*']['createpage'] = false; [17:01:48] $wgGroupPermissions['*']['createtalk'] = false; [17:01:50] That should get rid of the edit links, and prevent anonymous users from messing with the site's content, all in one fell swoop. [17:02:16] And it keeps them from making accounts [17:02:30] Probably a good thing for a wiki whose content drives your site :D [17:03:29] thanks VoyagerFan :D [17:03:37] No prob :) [17:15:44] How can I detect whether a certain user has a certain permission? [17:17:02] do you have access to the database? [17:17:15] I mean, the currently logge in user. [17:17:18] And yes, I do. [17:17:29] *logged [17:17:38] MinuteElectron: you could try out my RightFunctions extension: http://www.mediawiki.org/wiki/Extension:RightFunctions :) [17:17:38] you mean display it on a page? [17:17:54] No... [17:18:01] oh, then nvm [17:18:06] $wgUser->userCan(...) [17:18:08] I just want to know whether the current user has a certain permission? [17:18:13] twincest: Thank you. [17:21:07] 03(FIXED) Entering a query on Special:Ask results on a empty page. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12455 (10mak) [17:22:24] twincest: That is an undefined method/ [17:24:41] oh, try isAllowed [17:25:09] twincest: Thank you :) [17:48:33] 03shinjiman * r29032 10/trunk/phase3/languages/messages/ (MessagesYue.php MessagesZh_hans.php MessagesZh_hant.php): [17:48:33] * Update Chinese translations [17:48:33] * Update Cantonese translations [18:20:26] 03(NEW) Please enable email notification on en arbcom wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12457 15enhancement; normal; Wikimedia: General/Unknown; (FT2.wiki) [18:38:27] Hello [19:11:44] 03(mod) Please enable email notification on en arbcom wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12457 +comment (10FT2.wiki) [19:18:53] any idea why works ok? [19:19:55] fireflies: in which context? [19:20:48] I'm trying to port the helpbox template from wikipedia, and it does the header fine but the rest of the table is just shown as html code (and not actually parsing the html) [19:21:08] hmhm [19:21:20] I wonder if this is tidy issue [19:22:59] fireflies, try enabling Tidy. [19:23:00] !tidy [19:23:00] --mwbot-- For more information about HTML Tidy, see . [19:23:18] That bug really needs to be fixed someday, it's one of the top FAQs. [19:23:23] ok, thanx, I'll give that a go [19:27:27] so it was tidy thing [19:28:19] hmm, it fixes it but I'm getting errors on parser.php now [19:46:54] 03grondin * r29065 10/trunk/phase3/languages/messages/ (9 files): Localisation updates for extension messages from Betawiki (2007-12-30 19:46 CET) [20:04:33] Is it just me, or do localization commits outnumber code commits by about 3:1 these days? [20:04:57] apparently so...*sigh* [20:07:48] "MediaWiki - Where we spend more time adding languages than we do adding features" [20:07:58] Simetrical: that just means that you normal coders don't code enough :) [20:08:19] coding isn't exactly all that fast :P [20:08:52] it is [20:09:04] depends what you're coding, I guess [20:09:28] localizations stuff shouldn't be high-priority... [20:09:53] RougeAdmin: what do you mean? [20:10:16] if there's nothing to localize....heh :P [20:10:27] RougeAdmin: you get to decide people's priorities when you pay them, at the very least. [20:10:44] 3000 messages * 250 languages.. there is always something to translate :) [20:10:59] ooh, let's take a poll: of all the devs here, who gets PAID to design MediaWiki? [20:11:02] but it's not like the translators would code anything instead, most of them are not programmers [20:11:03] *Simetrical likes being able to say that MW is probably the most-localized wiki software there is [20:11:07] Skizzerz, Brion and Tim. [20:11:23] Simetrical: some may get money form other partiers [20:11:27] Allegedly more will be added in the coming year. [20:11:34] Simetrical: neither of which are on this channel ;) [20:11:57] Nikerabbit, well, true. Like Wikia. But they aren't developers of the core software, mostly. [20:12:03] Or if they are they only do bits of it. [20:12:08] yeh [20:12:20] *Simetrical doesn't know if Greg is paid to pgsql-enable MW or not [20:12:36] but core is core.. and quite a mature that most work has shifted to extensions in my opinion [20:15:44] could someone point me to a page that explains #if? o [20:15:55] i'd like to "if param == this { set this category } { else set this }" [20:16:26] !parserfunctions [20:16:26] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [20:16:32] second link [20:17:00] == is javascript, not ParserFunctions [20:17:06] yeah, i know. [20:17:12] i described it in what i knew, not what i didn't ;) [20:17:20] thanks. reading. [20:18:09] Simetrical: I though of a better ?? method of doing that link thing [20:18:23] hrm. so would I use something like: [20:18:48] MZMcBride, == is C, which is copied by JavaScript as well as C++, Java, Perl, Python, PHP, and several bazillion other languages. [20:18:51] {{ #if: {{{type|Poster}}} | [[Category:Posters]] }} [20:19:06] Not that it necessarily originated with C, mind. [20:19:48] Morbus, that would add [[Category:Posters]] unless the template was called like {{template|type=}}, i.e., with an empty "type" attribute. [20:19:53] Parameter, rather. [20:20:10] oh. [20:20:15] Morbus, #if: considers "true" anything other than whitespace, "false" anything consisting only of whitespace. [20:20:16] ok, that's not what i want :) [20:20:18] I think you want #ifeq. [20:20:26] *MorbusIff reads ifeq [20:20:35] {{#ifeq|{{{type}}}|Poster|[[Category:Posters]]}} [20:22:16] ok. and i'd use ifexpr if i wanted to do something like #ifexpr: {{{Year}}} > 1970 |[[Category:1970]] [20:22:27] but, how would I do two conditions? && in most other languages. [20:22:33] ie., && < 1980 [20:22:54] or would i have to do nested ifexprs? [20:23:18] you'd have to nest [20:23:22] k [20:24:16] Morbus, note that {{{Year}}} > 1970 should have a numeric default value for {{{Year}}}. No typing, so it will get screwed up if a non-numeric value is entered, or no value. [20:24:17] if i have multiple ifs, do they each get their own {{ }} enclosing block, or can I combine them all into one? [20:24:33] Simetrical: oh? even if no value? ok. hrm. [20:24:34] Simetrical: what are your thoughts on filtering linksearch to ignore link transclusions and only show the original page? [20:24:40] They have to be nested fully, like curly braces in C. [20:25:43] Betacommand, that would, for instance, exclude all links from various {{cite}} templates. Would it actually be useful? [20:26:07] Morbus, if no value is provided for {{{param}}}, the default value is the string {{{param}}}, i.e., it's treated as a literal. [20:26:10] Simetrical: so, i can test for the undefined with an #if, but is there any built-in for "is a number"? what would happen in the case of someone putting in Unknown or ???. Would it be treated/coded to a number? or ignored? [20:26:25] *Simetrical realizes he was talking to the wrong nick [20:26:43] MorbusIff, it would raise an error. I don't think there's any way to avoid that, just don't give it a non-number. [20:26:50] sure. [20:26:51] Simetrical: this would be an optional button [20:27:09] Simetrical: how hard would http://bugzilla.wikimedia.org/show_bug.cgi?id=11456 be to implement? [20:27:16] which is in the "off" position by default [20:27:19] MorbusIff, as you can tell, this is not a high-quality programming language here, it's a little hacky macro thing. [20:27:28] Simetrical: or, alternatively, do a single "Year: Unknown" test before all the numerical tests. [20:27:32] Simetrical: heh, heh. [20:27:36] as a 302 redirect from Special:Edit --> &action=edit [20:27:36] Betacommand, well, I'm not interested in the problem, to be honest. You might want to talk to someone else, like Aaron or Werdna. [20:28:26] MZMcBride, trivial to implement, just make a few new special pages that do nothing but return 302's. [20:28:47] that would solve beta's issue [20:29:05] and allow the removal of a lot of full urls from content pages [20:29:46] the issue Beta's having is that [{{fullurl:page|action=edit}}] is seriously distorting Special:Linksearch [20:30:03] Yes, I see that. [20:30:11] and rather than remove the functionality of easy edit links, it would be nicer to have a compromise solution [20:30:35] How could one use the API to find the author of a revision of an article? [20:30:49] animum, see api.php [20:30:49] three options as i see it: Special:Edit/page, {{ACTION:EDIT|page, or [/w/index.php?action=edit [20:31:06] 03(mod) Blocking-Bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12454 +comment (10roan.kattouw) [20:31:07] AzaTht_, any specific place on the page? It's kind of long... :-/ [20:31:09] MZMcBride, the first or last seem most appealing to me. [20:31:22] animum, prop revisions [20:31:26] 03grondin * r29066 10/trunk/phase3/languages/messages/ (MessagesFrp.php MessagesVo.php): Localisation updates for extension messages from Betawiki (2007-12-30 20:30 CET) [20:31:26] thanks [20:31:32] the last is kind of ugly and hackish [20:31:43] It does seem a bit weird. [20:31:45] i prefer the first, as long as it won't be slow or cause any issues [20:31:49] It won't. [20:32:13] animum, http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=user [20:32:19] etc etc etc [20:32:25] Betacommand: find a dev to fix bug:11456 and then fix the stubs :) [20:32:27] easy as pie [20:32:34] and someone, please soon renaimate Roan [20:35:00] AzaTht: reanimate Roan? [20:35:52] MZMcBride, da api dude [20:36:30] yeah i know; is he currently un-animated? [20:37:20] he isn't here [20:37:36] he just posted to bugzilla; he's around... [20:38:22] hmm [20:40:17] Betacommand, I would suggest you ask someone like Aaron or Werdna, when they're around. Or VasilievVV, etc. People like domas are probably not going to be interested. [20:40:49] 03mkroetzsch * r29067 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: Change default settings: no default namespace restrictions for queries. [20:41:57] Simetrical: I don't suppose there's any magical debug screen to see why a template isn't working? ;) [20:42:11] MorbusIff, no? :) [20:42:14] :) [20:42:39] Simetrical: do you have a moment to look at http://www.videounderbelly.com/w/index.php?title=Template:Media&action=edit? [20:42:45] vs. http://www.videounderbelly.com/w/index.php?title=Image:Baberellas-2003-DVD.jpg&action=edit [20:43:02] i've done very very simple templates before - using the expressions is all new to me. [20:43:11] i can look [20:43:17] oh, well, it might help if i used three {{{ on the image. [20:43:25] MorbusIff, there are no string delimiters in wiki syntax. As I said, it's a hacky macro language. Think of it more like bash than like, say, Python. [20:44:05] MorbusIff: you want: [20:44:07] Simetrical: hrm. i was trying to mimick: [20:44:08] {{ #switch: "+07"|"7"= Yes |"007"= Bond | No }} gives No [20:44:11] Poster = [[Category:Posters and covers from {{{Year}}}]] [20:44:14] from the URL you linked. [20:44:22] instead of "Poster" = [[Category:Posters and covers from {{{Year}}}]] [20:44:37] lol. [20:44:40] i.e., remove the quotes [20:44:45] As I said. [20:44:47] i'm a retard. i used the example that showed how not to do it. [20:44:51] comical. [20:45:34] MorbusIff: you realize you have no logo? [20:45:38] ayup. [20:45:47] defined in LS, but not yet made yet. [20:45:52] ok :) [20:46:05] this is a 1 day old wiki ;) [20:46:22] you're doing pretty well for one day [20:46:33] got your sidebar configured nicely and you have pretty URLs [20:46:37] well, this is really my third wiki. [20:46:45] but is turning out to be the more advanced of the three. [20:46:56] http://www.disobey.com/wiki/ was my first. [20:47:00] the second is private. [20:47:23] *VasilievVV feels highlighted [20:47:26] cool, it's working. [20:47:44] VasilievVV: care to fix a bug? [20:47:52] s/fix a bug/add a feature/ [20:47:55] which one? [20:48:05] http://bugzilla.wikimedia.org/show_bug.cgi?id=11456 [20:48:11] 302 redirects [20:49:06] Probably a good idea to discuss with Brion first, it's the kind of thing he would be not unlikely to revert as useless. [20:50:19] true; plus, there could be issues with mirrors and dumps... [20:53:22] 03mkroetzsch * r29068 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: Changed pattern syntax for (optional) string matching query feature [20:53:50] Simetrical: this is working as I intend, but I'd like a code review to save me from potential ignorance: http://www.videounderbelly.com/w/index.php?title=Template:Media&action=edit [20:54:22] 03grondin * r29069 10/trunk/extensions/Translate/Translate.i18n.php: Localisation updates for Translate extension messages from Betawiki (2007-12-30 20:53 CET) [20:54:32] 03(mod) Protected page titles should show only one protection notice - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12458 (10N/A) [20:54:46] 03simetrical * r29070 10/trunk/phase3/skins/ (common/wikibits.js monobook/Opera95Fixes.css): Per comment in Opera95Fixes.css, remove it; it's useless. No discernable difference in Opera 9.5 Alpha build 1567/Linux, and logically there should be no difference in any browser. [20:55:31] s/discernable/discernible/ [20:55:36] I need spellcheck in my terminal. :( [20:55:41] TortoiseSVN has spellcheck. [20:56:14] you could wrap "svn update" around an aspell thingy ;) [20:56:28] er, commit, rather. [20:56:36] Maaaybe. [20:56:45] MorbusIff: looks fine, though you may want to put your line on the same line as [20:56:48] It might also be nice not to have to remember to escape shell characters in the commit message. [20:56:50] to avoid whitespace [20:57:08] ah, good idea. i had read about that, btu haven't yet encountered it. [20:57:08] Since I did do at least one commit where the name of a variable I meant to refer to was just missing from the commit message. [20:58:44] Simetrical: do you use -m then? [20:58:57] Nikerabbit, I just use svn ci --message "...". [20:59:00] *Simetrical looks up -m [20:59:09] Ah, yes. [20:59:13] I use -m, effectively. [20:59:14] Just the long form. [20:59:18] hmhm [20:59:29] I just use svn ci [20:59:47] heh. funny, i use svn commit -m [21:00:14] i tend to use long forms for actions, and the short forms for flags. [21:00:25] *Simetrical does the opposite [21:00:31] then I write the message in nano, only problem is that I often hit save before I'm finished, and then I cannot abort it easily :o [21:01:16] is there a way to lowercase a passed param? [21:01:37] {{lc: [21:01:58] *Nikerabbit wonders if there exists #wikicoding or similar [21:02:01] ooh, neat. magical bot response for a URL on that? [21:02:03] that works for what the parameter equals [21:02:47] ah. [21:02:57] hrm. i wanted to lowercase a piece of text for display. [21:03:09] Type = Poster ... "This poster is ..." [21:03:57] Nikerabbit: is this the wrong chan to ask these sorts of questions? [21:04:33] MorbusIff: don't worry I'm just wondering [21:05:28] MZMcBride: thanks, works. [21:05:55] no problem [21:06:47] 03aaron * r29071 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Tweak UI slightly [21:17:06] 03aaron * r29072 10/trunk/extensions/FlaggedRevs/flaggedrevs.css: Offset [21:21:02] huh. [21:22:06] so, I've got a simple #if working to assign a thing to a 1970 category or a ???? if the year doesn't work. [21:22:07] http://www.videounderbelly.com/w/index.php?title=Template:Media&action=edit [21:22:13] *doesn't exist. [21:22:25] I do the same thing a bit later on for display... or at least, so I think. [21:22:39] the first #if works, the second one doesn't... [21:22:39] http://www.videounderbelly.com/wiki/Image:Baberellas-2003-DVD.jpg [21:27:57] weird, now it works [21:28:07] must've accidentally fixed my problem. [21:29:10] is there anyway I can make a parameter "required", to stop a "Save", or is it just a matter of spitting out a message on the (saved) page saying they're using the tempalte wrong? ;) [21:29:47] Hey, how can I float a toc? [21:30:10] Ok, I've written Special:Action [21:30:13] 03(NEW) Protected page titles should show only one protection notice - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12458 15enhancement; normal; MediaWiki: Page editing; (cbm) [21:30:14] CSS override on Common.css [21:30:52] VasilievVV: one page for all actions? [21:30:55] MorbusIff, is it possible to do it on a case by case? (I'm assuming you answered me) [21:31:05] yes, each page name is used as the ID of a page. [21:31:17] if you didn't want to do it in Common.css, you could also stick the TOC into a table, and float the table. [21:31:18] MZMcBride: yes. E.g.: [[Special:Action/edit/Main Page]] [21:31:25] VasilievVV: you understand that having nice URLs means robots and crawlers and other spiders will want to click them? [21:31:37] and that robots.txt is pain to maintain in case of internationalized application? [21:31:42] if you understand that, then its ok [21:31:42] :) [21:31:46] hahaha [21:31:51] Wiredtape: on page Template:Media, for example, you see: [21:31:51] [21:31:54] domas: I understand [21:31:59] *MZMcBride growls at domas [21:32:13] whyyy [21:32:21] whats wrong with ?action=... ? [21:32:30] domas, we should write a maintenance script that checks language files for special page names/namespaces, and writes out a list. :) [21:32:35] Simetrical: indeed [21:32:44] Simetrical: though then it is a problem to have robots.txt dynamic [21:32:46] the href needs to be /w/index.php vs. http://en.wikipedia.org/w/index.php [21:32:50] domas: and what about rel="nofollow"? [21:32:52] as it is static file now and would need apache trickery [21:32:53] it's screwing up Special:Linksearch [21:33:03] MorbusIff, Thank you. [21:33:05] domas, you could just regenerate it every day. [21:33:07] VasilievVV: it means "dont rank followed pages" [21:33:11] VasilievVV: not "don't follow" [21:33:27] Some engines interpret rel="nofollow" as "don't follow", some don't. [21:33:30] Simetrical: I sure understand that, just current 'wiki farm' stuff is quite complicated [21:33:37] 03mkroetzsch * r29073 10/trunk/extensions/SemanticMediaWiki/ (2 files in 2 dirs): New configs to control or disable new RSS export. [21:35:58] domas: alternatively, we can just catch links to Special:Action in linker and modify it [21:36:29] Seems silly. [21:36:49] Why not just catch the external links directly? [21:37:39] Eh? [21:38:06] I don't see the benefit in fake special pages. [21:38:08] It seems confusing. [21:38:19] Direct links, or links from external sources, etc. would all fail. [21:38:24] Using the search box would fail. [21:38:31] Make it a real special page if you're going to do it, IMO. [21:38:46] And ban the spiders from bothering it. [21:39:01] I meant using both special page and hook in linker [21:39:27] Still hackish, IMO. Don't bend over backwards to render things weirdly for the sake of spiders, use the existing mechanisms where possible. [21:39:30] hehehe [21:39:38] I like how people solve problems by introducing more problems [21:40:15] {{actionlink:Main page|edit}}? [21:41:31] hrm. Is there a way to prefill the edit box of Special:Upload? [21:43:09] though, i suppose i could just add a toolbar button to prefill it with a template... [21:43:21] 03grondin * r29074 10/trunk/extensions/ (3 files in 2 dirs): Localisation updates for Oversight extension messages from Betawiki (2007-12-30 20:53 CET) [21:45:30] hrm. or use MediaWiki:Edittools [21:48:50] what's the opposite of trailing? [21:48:54] ah, leading [21:51:31] 03nikerabbit * r29075 10/trunk/extensions/Translate/ (4 files): * Preserve whitespace also in Special:Translate table [21:52:54] Nikerabbit: I like the edit tools on MW.org [21:53:14] it has the select button for char types, rather than just shitting them all out at once [21:54:10] AaronSchulz: and? :D [21:54:49] I like it more, that's all [21:54:50] 03grondin * r29076 10/trunk/extensions/FlaggedRevs/Language/FlaggedRevsPage.i18n.pt.php: Localisation updates for FlaggedRevsPage extension messages from Betawiki (2007-12-30 21:51 UTC) [21:54:58] \o/ [21:55:01] й [21:55:21] http://meta.wikimedia.org/wiki/User:Monobi/matrix [21:55:27] who has time to make stuff like this? [21:55:33] that's awful lot of bytes waisted something I don't need [21:57:48] hrm. [21:57:51] is this faq right? http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_add_more_buttons_on_the_edit_page.3F [21:58:05] when i view source on an editing page, i see addButton(...) [21:58:11] not mwCustomEditButtons [21:59:38] 03tlaqua * r29077 10/trunk/extensions/googleAnalytics/googleAnalytics.php: * Switched from old urchinTracker.js script to new ga.js script [22:00:36] *MorbusIff is starting at http://en.marveldatabase.com/index.php?title=News:Marvel_to_Publish_Back_Issues_Online&action=edit and tryiing to find out how they did it. [22:01:18] oh, i see them. [22:01:20] *MorbusIff sighs. [22:08:07] 03mkroetzsch * r29078 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: Simplified/optimised code [22:17:29] is there a good explanation of the imagelinks table somwhere? [22:18:41] http://www.mediawiki.org/wiki/Imagelinks_table [22:24:15] 03aaron * r29079 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Don't always show form [22:27:58] 03grondin * r29080 10/trunk/extensions/ (3 files in 2 dirs): Localisation updates for ConfirmAccount extension messages from Betawiki (2007-12-30 22:27 UTC) [22:39:13] 03grondin * r29081 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: syntax error fixed [22:39:40] heelo! [22:39:42] who lesting of tool madwire? [22:41:20] 03mkroetzsch * r29082 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: If sorting by some unqueried value is requested, add query condition in order to enable sorting. [22:43:07] 03mkroetzsch * r29083 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: Always sort RSS feeds by date property, if specified [22:44:01] 03aaron * r29084 10/trunk/extensions/ConfirmAccount/ (8 files in 3 dirs): (log message trimmed) [22:44:01] * Fix key duration [22:44:01] * Improve transactions [22:44:01] * Add credential table and type column, re-index [22:44:01] * Split queues up by types [22:44:02] * Allow users to start of in a group [22:44:04] * Add User Credentials page [22:44:18] !help [22:44:18] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn > [22:45:23] !ask | LxRooT [22:45:23] --mwbot-- LxRooT : Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [22:47:19] AaronSchulz: doesn't that cause E_STRICT? [22:47:51] i need a tool his name madwire? [22:47:55] *AaronSchulz switches on [22:47:57] yeah [22:48:14] i need a tool his name madwire? [22:48:15] Nikerabbit: bah, I wish I could have strict and all on at the same time [22:48:21] but then it just does strict [22:48:28] i need a tool his name madwire? [22:48:30] i need a tool his name madwire? [22:48:32] i need a tool his name madwire? [22:48:33] i need a tool his name madwire? [22:48:33] i need a tool his name madwire? [22:48:34] i need a tool his name madwire? [22:48:34] i need a tool his name madwire? [22:48:35] i need a tool his name madwire? [22:48:35] i need a tool his name madwire? [22:48:37] i need a tool his name madwire? [22:48:39] i need a tool his name madwire? [22:48:41] i need a tool his name madwire? [22:48:43] i need a tool his name madwire? [22:48:47] Dave2, pwn this fail [22:48:48] ... [22:49:05] AaronSchulz: error_reporting( E_ALL | E_STRICT ); [22:49:11] doesn't work [22:49:17] that just does E_STRICT [22:49:22] LxRooT, I think you're in the wrong channel? [22:49:25] 03mkroetzsch * r29085 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: + necessary autoloading directive [22:49:54] which channel u advice me [22:49:55] ? [22:50:01] AaronSchulz: should work, if php is new enough [22:50:24] *should* ;) [22:50:26] and it's "|" not & or ^ :o [22:50:42] LxRooT, I don't know, what is "madwire"? [22:51:25] hmm $form .= "
".wfMsg('usercredentials-leg').""; [22:52:01] this would if it extends specialpage: + function execute( $par = '' ) { [22:53:15] 03aaron * r29086 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: E_STRICT [22:54:26] Strict Standards: Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() [22:54:29] *AaronSchulz sighs [22:54:50] yeah there is a bug open for those [22:54:57] Nikerabbit: part of why I turn it off [22:55:14] but good thing is, that those are the only ones! [22:56:57] we use script that grep -v's those four from logs [22:57:25] 03aaron * r29087 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: Opps, renamed this field [23:00:51] http://en.wikipedia.org/wiki/Wikipedia:Bureaucrats%27_noticeboard#Special:Userrights [23:00:53] hmm [23:02:27] um, bureaucrats can +bureaucrat? [23:02:39] is that correct? should it be that way? [23:02:44] ... [23:02:46] yes [23:04:43] 03aaron * r29088 10/trunk/phase3/languages/messages/MessagesEn.php: Make message less confusing [23:12:32] 03(NEW) Edit section bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12459 15enhancement; normal; MediaWiki: Page rendering; (zanatolyb) [23:13:45] 03(mod) Lacking entry Mainpage-url - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6332 (10N/A) [23:17:46] 14(INVALID) Edit section bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12459 +comment (10roan.kattouw) [23:19:01] Hi - do you mind if I ask a fairly basic question? I wasn't able to find an answer on the mediawiki FAQ... [23:19:19] I've got a Mediawiki installation and I want to add a gamebox to some of the pages, similar to this: http://en.wikipedia.org/wiki/I%27m_O.K_-_A_Murder_Simulator [23:19:49] However, I can't view the code for the gamebox template on wikipedia. How do I go about doing this? [23:19:54] Thanks in advance :) [23:20:38] Hmm, actually, that page is a bad example. This one is better : http://en.wikipedia.org/wiki/Knytt [23:21:55] AaronSchulz: before, with Special:Makesysop, it required stewards to do +bureaucrat, i think [23:23:17] no, it didn't [23:23:38] htf would bcrats be appointed? Look at recently promoted crats [23:23:42] it's in the logs [23:23:49] oh, i see [23:23:55] i thought it required a meta post after debate [23:23:56] my bad [23:24:28] Makesysop allowed creation of both sysops and bureaucrats. [23:24:33] And removal of neither. [23:24:50] " . Xml::checkLabel( $makebureaucrat, 'wpSetBureaucrat', 'wpSetBureaucrat', $this->mSetBureaucrat ) . " [23:24:52] 03(mod) Edit section bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12459 (10N/A) [23:24:58] i had it in my mind that only stewards could make bureaucrats... that's wrong [23:24:59] [x] make this user into a bureaucrat [23:24:59] <3 [23:25:22] oh btw Simetrical [23:25:31] I accidentally made you into a robot [23:25:53] Splarka, I saw. It's okay, I'm a robot IRL anyway. [23:26:00] on test.wp, while messing with the bug in Userrights, forgot to reset that one [23:26:05] domo arigato [23:34:29] ^_^ Anyone want to alphatest WikiVid? [23:34:40] hmmm... maybe beta actually... [23:41:13] 03(mod) Edit section bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12459 (10roan.kattouw) [23:43:00] 03aaron * r29089 10/trunk/phase3/ (2 files in 2 dirs): Actually, keep "member" message the same and add "removable" message. List out the member groups after the username. [23:44:39] 03siebrand * r29090 10/trunk/phase3/languages/messages/ (6 files): Localisation updates for core messages from Betawiki (2007-12-31 0:35 CET) [23:57:13] 03(mod) Edit section bug - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12459 (10zanatolyb)