[00:05:09] TimStarling: Anyway, there's a patch that would make blocking Tor as a set easier.... [00:05:16] http://www.imperialviolet.org/binary/mediawiki-1.4.4-tor-block.patch [00:05:24] There are 10 FIXMEs and it's several years old, but you might look at it.... [00:08:02] <_DannyB|backup> the site_stats table is updated with every change on such site (user registration, edit, deletion etc.) or periodically like once a day or so? [00:11:39] Does MW have functions for parsing user-entered dates? [00:13:46] <_DannyB|backup> davidmccabe: check http://meta.wikimedia.org/wiki/ParserFunctions#.23time: [00:36:52] TimStarling: hmm, just noticed, I guess revisiondelete will have to wait till 1.12 [00:37:07] noticed what? [00:37:50] the 1.11 release is coming soon [00:38:33] fairly soon, yes [00:38:38] VoiceOfAll: what's the status of the feature, currently? [00:38:51] releases wait for no man [00:38:54] I can't merge it [00:39:12] BrokenArrow: the log_id stuff would break here [00:40:31] VoiceOfAll: what is the tentative schedule for it, then? [00:40:41] when log_id is added [00:41:17] <^demon> Wait wait...revision delete? You mean to delete a single revision we won't have to delete all then restore all but one? [00:41:19] BrokenArrow: on the bright side, 1.11 does support revision tagging :) [00:42:11] so it's only a db update issue, right now? [00:42:11] ^demon: no no, revisiondelete -- revisiond elete [00:42:17] it's a kind of elete that's revisioned [00:42:23] except without the e [00:42:27] for brevity [00:42:45] <^demon> Hehe. [00:43:32] you shouldn't let sysadmin laziness stop you from committing something [00:44:28] TimStarling: but it would crash on scap :( [00:45:05] only if the sysadmin doing the scap was on crack [00:45:27] assuming you put a notice in the right places [00:46:55] TimStarling: are you saying you *never* do crack? come on :) [00:47:30] <_DannyB|backup> the site_stats table is updated with every change on such site (user registration, edit, deletion etc.) or periodically like once a day or so? [00:50:12] TimStarling: so if I merged, no one would automatically stabba ? [00:50:26] brion might, but you can tell him to get lost from me [00:50:52] assuming the code works, that is [00:51:24] I hate sessions [00:51:29] can I get rid of them please? [00:51:42] <^demon> TimStarling: I won't stop you ;-) [00:53:40] TimStarling: you know what scares me? what if someone moved [[India]] over [[George W. Bush]] (requiring delete), and then deleted the page [00:54:02] it's so easy to do, but hard to fix and untangle some 50,000+ revs [00:56:08] <^demon> Undoing crap like that is the only admin action to be afraid of. It's not impossible to undo, but it's hard as crap. [00:57:27] VoiceOfAll: otoh, it's currently a nightmare in those projects that routinely delete copyvis from article histories - when they have already been deleted 3 or 4 times, remembering what NOT to undelete is horrible [00:57:55] ^demon: wouldn't those 50,000 revs at undelete crash your browser? [00:58:13] I mean that would take days [00:58:17] <^demon> It may or may not. [00:59:06] <^demon> I'm currently writing a query at work that returns a browser with about 7-8k rows...which takes about 5 minutes to render raw (when caching is disabled). So I wouldn't think it would take more than 30-35 minutes to render. [00:59:35] ^demon: no, I meant days to fix [01:00:01] <^demon> Oh, that. [01:00:09] <^demon> Yeah, it would. [01:00:22] <^demon> Because you'd have to read each individual edit to see what they refer to. [01:00:44] it would be potentially tricky, yes [01:01:07] if we wrote the revision IDs to the binlog then it wouldn't be so much trouble [01:01:17] <^demon> Because you'd have to restore each one individually, then move the edit to it's proper location and merge histories. [01:01:43] using a select and then a batched insert instead of an insert select [01:01:44] ^demon: or check all from one "page", restore, move out, then restore the rest [01:01:53] <^demon> That works too, I just realized that. [01:02:51] <^demon> You know, it might be worth throwing a catch into action=delete, if you're trying to delete a page that already has a deleted history, throw a "Are you sure? This can make restoration very hard" message. [01:03:01] TimStarling: I was trying to add constraints to disallow restore/delete when it causes entwined histories, but the problem with that is that single revisions that where archived previously can't easily be restored [01:03:06] <^demon> It would prevent accidents, at least. [01:04:10] a simpler way to fix the problem would be to add an ar_page_id field [01:04:18] yeah, I thought of that too [01:04:24] then you could restore it without binlog access [01:04:39] hmm [01:04:43] but the binlog way would be decent in the interim [01:05:17] so if I add an ar_page field to /maintenance, will you kill me? [01:05:24] no [01:07:11] I'm looking for a wasy to transform /var/www/users/jamasi/piratentestwiki/skins/advancedskin/Fix-IE.css into /piratentestwiki/skins/advancedskin/Fix-IE.css while $IP is /var/www/users/jamasi/piratentestwiki [01:07:46] TimStarling: hmm, that might allow deleted page protection too [01:07:57] rather than the cascading protection hack used on en now [01:07:58] is there a built-in function to transfor a local server-path into a path suitable for the browser. [01:08:04] <^demon> jamasi: Is that path going to be static 100% of the time, or no? [01:08:22] well, no [01:08:34] as I'm workin on an extension: I would not guarantee for this ;) [01:09:08] *VoiceOfAll was thinking of another bug, carrying over protection across deleted [01:09:12] I think I've seen a funktion to map a sever path to an url. [01:12:24] basically I want to map the absolute server path to a reltive url. [01:13:20] but in a way which deals with mod_rewrite tricks and Mw beeing installed in a subdirectory. [01:13:28] the deadlock I was talking about earlier, it's in exec(), it only happens if you're using imagemagick [01:14:14] <^demon> jamasi: I'm working on getting it with preg_replace() and $_SERVER[’REQUEST_URI’] [01:14:52] TimStarling: as it happens, I wasn't [01:15:27] hmm, server REQUEST_URI might be the thing I'm looking for. [01:21:04] <^demon> Yeah, you don't need a preg_replace(), just using $_SERVER] [01:21:12] <^demon> ['REQUEST_URI'] should do it. [01:22:49] so I'll have to get the last part of $IP which is identical to the start of $_SERVER['REQUEST_URI'] [01:23:14] let's see if there is some string function for this. [01:27:03] <^demon> You want to combine the two? [01:28:16] <^demon> $output = $IP . $_SERVER['REQUEST_URI']; [01:28:40] <^demon> Although, there might be two // in the middle after the TLD...so you might want to run a preg_replace() to get rid of it. [01:28:46] well, that's rahter the opposite of what I'd like to have. [01:29:28] I only need the part which is identical in $IP and $_SERVER [01:30:57] but I've got it [01:31:30] I just realised: as I'm working in the skindirectory I can use $wgStylePath. [01:41:12] 03aaron * r24310 10/trunk/phase3/maintenance/ (archives/patch-archive-ar_page.sql updaters.inc): *Add ar_page; allows for easier restoration when several large pages are merged into one deleted history. [01:47:40] Hi, i cated a new namespace on localsettings [01:47:43] created [01:48:04] But how to know which number add [01:48:14] How to know which number i add [01:48:29] <^demon> lleoliveirabr: Any number 100 or above that you didn't already use. [01:48:30] Example: semantic forms add some new namespace [01:48:43] I added 100 [01:48:51] And was used by semantic forms [01:49:16] <^demon> Well, find out which ones semantic forms uses, and use one other than those. [01:49:20] Another thing: if i don't want to have talk pages on some namespace [01:49:24] Is it possible? [01:49:29] <^demon> lleoliveirabr: No. [01:49:38] bad [01:49:40] 03aaron * r24311 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: *Be less overly-strict [01:49:41] <^demon> Well, you can *not* add the namespace, but the pages can still be created. [01:50:28] <^demon> And there's no way to remove the talk tab, without *quite* a crapload of hacking the code. [01:50:39] I didn't added talk namespace, but when i go to edit talk page appear something like [01:51:02] : and the name of the article [01:52:01] Is it possible to be not possible edit talk pages from some namespace [01:52:04] ? [01:52:54] Or edit talk pages and not the.. [01:54:27] with MediaWiki 1.10 or later you can set individual rights for namespaces [01:54:58] have a look at the FAQ at mediawiki.org [01:55:06] svr3 and src8 down? :( [01:55:11] *srv [01:55:49] I looked [01:56:20] Ok, now tell me 1 thing i read and didn't understand [01:56:27] I have many articles [01:56:38] Now i created a new namespace [01:56:54] How to change all this articles to the new namespace [01:56:59] ? [01:58:29] I've made a minimal test case for this deadlock: http://p.defau.lt/?XR4Kv0SfdmrBpLgEA6gtBg [01:58:48] anyone want to test it for me on some other systems? [02:00:49] *VoiceOfAll runs [02:01:51] oh yeah, it's meant to be called deadlock-frames.php [02:01:57] otherwise the frames won't be found [02:04:21] this one autodetects the script name: http://p.defau.lt/?_pcg9_XsxTlF5_VbGuTIgw [02:08:08] php is frozen :( [02:11:30] Anyone could help me how to add many articles to a new namespace? [02:21:20] it's not session-specific, I can trigger it with flock just as easily [02:38:33] davidmccabe, I think we just use strtotime. [02:39:14] _DannyB|backup, site_stats is updated on every change, but it tends to get out of whack anyway, so it may be refreshed from time to time. [02:40:16] It will now be auto-refreshed if it's gone insane, but if it's not blatantly crazy (e.g. things that look like underflows, fewer users than sysops) it can be wrong indefinitely, until maintenance/rebuildStats.php or whatever it's called is run. [02:42:58] 04(REOPENED) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 +comment (10Simetrical+wikibugs) [02:43:00] 14(DUP) Support expiring user permissions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6796 +comment (10Simetrical+wikibugs) [02:43:01] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 +comment (10Simetrical+wikibugs) [02:43:43] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10Simetrical+wikibugs) [02:44:01] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10Simetrical+wikibugs) [02:44:06] <^cancer> Simetrical: I had thought of doing it that way, but I went with the younger bug rather than the better bug. Thanks for reversing me. [02:44:15] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10Simetrical+wikibugs) [02:44:26] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10Simetrical+wikibugs) [02:49:00] 03(mod) Search bar 'go' button capitalization issue for uncreated pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8245 +comment (10Simetrical+wikibugs) [02:49:01] 03(mod) case sensitive issues (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3950 (10Simetrical+wikibugs) [02:49:20] You know what we should have? Rows in the page table for nonexistent users and categories. It's really sometimes pretty problematic for those not to exist. [02:49:42] Of course they shouldn't have to correspond to any revisions, which requires some work. [02:51:24] http://bugs.php.net/bug.php?id=42064 [02:55:20] They have under four times the number of filed bugs we do? [02:55:26] *TimStarling stamps BOGUS on it in advance [02:55:31] to save them the trouble [02:55:43] PHP is a lot more popular than mediawiki [02:55:52] *Simetrical thinks some of us are a little hasty to WONTFIX, too [02:56:15] at least we allow people to add comments to closed bugs, and to reopen [02:58:36] Yes, that's certainly nice of us, and I think a good idea too. [02:59:20] haha, force quit of apache does indeed work :) [02:59:55] Does the deadlock end when PHP times out? [03:00:25] *Simetrical isn't sure what "force quit" means: killing the child process? Stopping httpd altogether? [03:01:08] end task on the child process in task manager [03:01:34] it doesn't end when PHP times out, no [03:01:46] PHP doesn't time out, it's just deadlocked forever [03:02:06] Lovely. [03:02:39] *Simetrical goes off to DOS knams [03:02:54] (okay, so this particular issue doesn't occur since we're putting sessions in Memcached) [03:03:21] and even if we did, they would be on NFS which doesn't support locking [03:03:27] but it's the thought that counts, right? [03:03:29] Ah, sneaky. [03:03:45] Incidentally, I've always wondered about Memcached: surely it's quite slow to retrieve from another server? How high is the latency there? Surely more than nanoseconds. [03:03:45] oh, and we use linux [03:03:53] Oh, it's Windows-only? [03:03:58] yes [03:04:02] Silly Windows, Linux is for servers! [03:05:13] > $t = microtime(true); $wgMemc->get('test'); print microtime(true)-$t [03:05:13] 0.000714063644409 [03:05:27] about that much [03:06:08] less on subsequent calls with the connection already open, ~400us [03:06:26] but the connection is not normally open, so call it ~700us [03:06:33] So only an order of magnitude less than disk, really. [03:07:00] ("only") [03:08:26] it'd be higher if there was something to send... [03:08:44] 03(mod) Prevent uploads with missing descriptions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10650 (10Simetrical+wikibugs) [03:08:54] > $t = microtime(true); $wgMemc->get('enwiki:messages'); print microtime(true)-$t [03:08:54] 0.00937294960022 [03:09:23] that includes decompression and deserialization though [03:11:08] > $m = $wgMemc->get('enwiki:messages') [03:11:08] > $sc = gzdeflate(serialize($m)) [03:11:08] > $t = microtime(true); unserialize(gzinflate($sc)) ; print microtime(true)-$t [03:11:08] 0.0057110786438 [03:12:03] 14(DUP) Add a source field to the upload form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10651 +comment (10Simetrical+wikibugs) [03:12:05] 03(mod) Add "source" field to file upload form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4647 +comment (10Simetrical+wikibugs) [03:13:52] VoiceOfAll: please commit code that uses that ar_page field [03:14:56] 03(mod) Allow per-wiki customizable fields on upload form (e.g., for source) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4647 summary; +comment (10Simetrical+wikibugs) [03:20:44] grrrrrr...openSSH doesn't like my puttygen key [03:25:30] You need to save it in a format acceptable to OpenSSH. [03:25:39] Not PuTTY's custom format. [03:27:03] 03aaron * r24312 10/trunk/phase3/includes/Article.php: *Store page_id in ar_page [03:27:09] export openssh key doesn't work either :( [03:31:07] Then it's just 'cos you suck. [03:33:30] I think it's the same format except for some line breaks [03:33:44] I read something about PuTTY vs. OpenSSH formats. [03:33:58] Apparently PuTTY devs feel their format is more secure, at least part of it. [03:34:12] I can't recall exactly, maybe it's the public key that's basically the same format but the private key not? [03:37:25] well, I can use putty.exe to get the command line [03:37:26] 14(DUP) div overflow flags break printable layout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10654 +comment (10Simetrical+wikibugs) [03:37:28] 03(mod) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 +comment (10Simetrical+wikibugs) [03:37:49] can't use openSSH file transfer [03:38:14] 03(mod) Use checkboxes for namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 summary (10Simetrical+wikibugs) [03:38:38] 03(mod) Use checkboxes for namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 (10Simetrical+wikibugs) [03:39:34] VoiceOfAll, 'rev_deleted & '.Revision::DELETED_TEXT.' = 0'? That's a scan of the page table, unless I'm badly mistaken. [03:44:25] I wonder If one can easily get all categorys of an article from within a skin file. [03:44:50] There's probably an Article::getCategories() method somewhere. [03:45:41] TimStarling, by the way, do you really think that the flaws in PHP's implementation of __get() warrant not using it altogether? It seems to me all you'd have to do is use the explicit $obj->__get('member') inside __get() functions. [03:45:41] From the docs I cannot find it. [03:46:02] what if you forget? [03:46:20] it's not that it's impossible, it's that it's error prone and more trouble than it's worth [03:46:24] TimStarling, then you get a fatal error. And fix it. It's a vanishingly small percentage of the overall codebase you have to remember for. [03:46:25] ahh, it's not in article class, but in skin class [03:46:35] you don't get a fatal error [03:46:39] What happens? [03:47:03] __get() doesn't get called again, a property access just returns whatever the property is [03:47:07] usually null [03:47:24] Wow. That's . . . smart. [03:47:42] You may be right, then. [03:47:43] it's hard to test and debug because the errors depend on invocation order [03:48:15] problem with this: it returns rendered HTML, where I would prefer an array. let's dig deeper. [03:48:20] I have an upgrade problem, any assistance is appreciated. [03:48:32] if the accessor for $obj->foo references $obj->bar, then it will appear to work as long as user code always loads $obj->bar before $obj->foo [03:48:43] TimStarling, hmm, and does it also happen for nested calls? __get() calling foo() which calls __get() returns null? Then you're right, it's unusable. [03:48:47] but swap them around, and suddenly it subtely stops working [03:49:21] yes, it happens for nested calls, you can't re-enter __get() from any level of the call stack [03:49:33] Okay, then that's hopeless. [03:49:34] Good grief. [03:50:06] I tried upgrading from 1.6.10 to 1.10.1 and I was recieving error messages, so I moved back to 1.9.3, and viewing and broswing and searching work perfectly. However, publishing (saving a new page or edits to it) cause an error message. [03:50:18] What's the error message? [03:50:23] One second [03:50:33] Database error [03:50:34] A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: [03:50:34] (SQL query hidden) [03:50:34] from within function "Article::updateRedirectOn". MySQL returned error "1146: Table 'mywork_wiki.redirect' doesn't exist (localhost)". [03:51:07] 1.6.10 worked perfectly by the way. Same mysql database [03:51:28] One second, ill pull the version information [03:51:45] MediaWiki: 1.9.3 [03:51:45] PHP: 5.2.2 (cgi) [03:51:45] MySQL: 4.1.22-standard [03:51:45] visited from 24.206.170.59 [03:51:45] Retrieved from "http://mycountryiwantitback.com/wiki/index.php?title=Special:Version" [03:52:02] You need to execute maintenance/update.php. [03:52:04] As the documentation states. [03:52:21] There are database changes between versions, among other things, and your wiki needs to be updated for them. [03:52:25] Tried figuring that out, im lost. Im using FTP to acces the server. [03:52:29] access [03:52:40] update.php file correct? [03:53:00] Pick-a-Pickl, if you're using FTP and don't have shell access, see the instructions for using config/index.php to update. [03:55:50] I was having a problem even when doing that, but I have an idea, ill be back soon. [04:20:45] Hmmm, the localsettings.php file is causing something. [04:21:03] As soon as it updates that file it goes out. [04:21:16] Giving the error message above under those same circumstances [04:22:54] woot, my advanced dynamic skin system is working. [04:23:56] with a little more clean-up and documentation I'm confident to release it to the public in about 1-2 weeks. [04:30:28] Is there a module that integrates MediaWiki with Facebook? [04:31:14] anyone home? [04:31:36] Yes, give someone a few seconds to respond :). [04:31:40] :) [04:31:45] I thought I was talking to myself [04:33:48] Pick-a-Pickl, are you following the instructions from UPGRADE or somesuch? As I recall, you're supposed to backup LocalSettings, do the install from the GUI, and then restore your old LocalSettings (overwriting the new one). [04:33:57] sru, not that I know of. You can try Googling. [04:34:08] I did [04:34:15] I deleted the local settings.php file with 1.9.3 and put in the one from 1.6.10 [04:34:18] I think Facebook did it themselves [04:34:40] All my old files are put back in, as I can view everything, but editing causes an error message. [04:35:02] Ive got a few hundred people wanting to view a few things, I told them to check back tommorrow lol. [04:35:34] Does MediaWiki support single signIn? [04:35:47] Im reinstalling 1.9.3 at the moment. [04:36:23] If I already have a site with existing users, how can I make MediaWiki aware of users? [04:36:37] sru, yes, for multiple MediaWiki instances. For single sign-in with non-MW, you need an extension tailored for the particular software. [04:37:29] k, I will try to google to see if there are any docs on who to build such extension... [04:38:05] Would be great if during the initial configuration MediaWiki can ask me for a table where my existing credential is installed. [04:38:20] Basically 2 columns, username/password... [04:38:54] It's more complicated than that. MW needs to store a whole bunch of MW-specific data. [04:39:46] Simetrical, if this is in the localsettings.php file, could there be some function that is not used in 1.9.3 that is used in 1.6.10 that is causing it to malfunction? [04:39:46] MW can have its own table and just suck in user/passowrd. [04:39:47] And as for the password, the encryption used for your passwords is (odds are) different from that used for MediaWiki's passwords, so even that much wouldn't work transparent. [04:39:48] ly [04:39:49] . [04:40:22] sru, then it won't be kept up-to-date. Not acceptable for most purposes. And see previous note about passwords. [04:40:33] true... [04:40:35] Files transferred, installing it again now. [04:41:10] Pick-a-Pickl, there shouldn't be. LocalSettings.php is supposed to be fully reverse-compatible. That assumes you've just set configuration options there, not included any extensions or anything, which may or may not be compatible with 1.9. [04:41:13] Are there a set of know encryption methods? [04:41:18] Aren't there. [04:41:31] What if we store clear text? [04:41:31] I dont use any extensions, if there were any they would show in special:version correct? [04:41:54] sru, it differs slightly for every software package. And you'd better not store cleartext, that's really not a good idea. Or simple hashes. [04:42:08] Pick-a-Pickl, if they declared themselves properly, yes. They aren't obligated to do so. [04:42:26] Ok, ive only installed and added pages and templates and such, never touched extensions [04:42:36] Pick-a-Pickl, try pasting your old LocalSettings.php file to pastey.net (minus db/password and so on) and I can glance over it. [04:42:44] Basically I am not using MW for auth, my app is taking care of that. I just want MW to recognize the person's name... [04:42:48] Ok, will do [04:43:07] right now it is only logging the IP [04:43:11] not very useful. [04:43:22] Got to be a way to abstract that. [04:43:43] I think this is should be a common problem. [04:44:16] There are ways to abstract it, like LDAP. But they aren't (yet) ubiquitous. [04:44:20] It would be nice if they were. [04:45:59] I think if there is a Facebook-MW module out there, company would pay to get it. [04:46:32] Assuming its authors can get around GPL requirements. [04:46:33] :) [04:46:34] No wiki can integrate with Facebook yet, [04:46:49] but Facebook is taking over the world... [04:48:31] alright, I am going to check on Twiki. Here is my facebook app if you are on it http://apps.facebook.com/mydivelog/ [04:48:37] Thanks everyone. [04:49:46] _mary_kate_: any chance I could use a new key lol [04:49:55] toolserver that is [04:52:15] Darn my internet [04:58:25] ok.... [04:58:49] getting annoying...but I think I stabalized the signal from my router, ive got alot of walls between it and me. [04:59:04] http://pastey.net/71153 [04:59:40] theres the URL Simetrical [05:01:32] pickle_evil, you don't seem to have made any changes at all. You may as well just try using the newly-generated LocalSettings. [05:02:16] Ok, when I did last time it simply didnt have any of my old data files, (images, logo, pages) [05:02:24] something I should modify in the new one? [05:05:44] NO WAY [05:05:50] LOL [05:05:59] The port connection was wrong! [05:06:10] Weird, but it fixed it [05:06:20] wonder how it even worked int he first place [05:07:37] Ok, moving all my images back in. [05:22:34] Simetrical, its all working perfectly, thanks for all your help! [05:28:55] 03(NEW) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 15enhancement; normal; MediaWiki: Blocking; (fearow00) [05:37:24] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [06:16:18] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10fearow00) [06:20:33] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [06:20:42] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [06:22:42] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 +comment (10fearow00) [06:23:44] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 +need-review +patch (10fearow00) [06:24:36] This channel is busy [06:30:20] *amidaniel blinks [06:41:01] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [06:43:14] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10fearow00) [06:46:15] Whats a simple way to parse something? [06:46:37] $parsed = $wgOut->parse("[[Text]] here"); [06:51:02] Anyone there? [06:51:18] $wgParser->parse( $text ) should work. [06:51:33] Or $wgOut->addWikiText( $text ); [06:51:48] Ok [06:51:53] I think $wgOut->parse() might work too, although it's duplicated functionality so it probably shouldn't. [06:52:07] Parse surrounds it with

tags, so no use [06:52:10] For messages, wfMsgExt( $msg, 'parse', $key1, $key2, ...) works. [06:52:18] Ahh, thanks! [06:52:27] Then you want wfMsgExt( $msg, 'parseinline', $params, ... ) [06:52:31] That will avoid the

. [06:52:48] Yeah, having user links on a seperate line in the logs looks weird [06:54:28] Simetrical: Thanks for your suggestions, I got it to run on a system message, i'll put in the finishing touches then upload another patch [06:55:00] Can you think of a good name for the text? I have Blockloguserlinks but its a bit complex [06:55:11] It hardly matters. [06:55:45] Hmm, I wonder, why does it have to be restricted to that part? Why not make it the whole line? [06:55:47] *Simetrical ponders [06:59:27] Simetrical: Because the log system is complex [06:59:39] Yeah, maybe. [06:59:43] The description part of the line is in a different PHP file to the main one [06:59:56] And the ones for several log types are handled in other files as well [07:00:07] Rob was rewriting the logging code [07:00:39] So hopefully itll be cleaner [07:00:57] What, log code as well as report code? [07:01:08] Simetrical: Can you recommend the second file you have to edit to add a system message? I know there is the messages file, whats the other one? [07:01:19] Just the code for rendering the lines of log [07:01:52] TheFearow: Do you mean .1l8n's? [07:02:16] .i18n* [07:02:27] I dont think so. Just to add another message to MediaWiki, what do I have to edit? [07:03:17] Erm .. anyway that puts em in the messagecache. Core uses the languages files; extensions generally use .i18n's [07:04:52] You really only have to edit MessagesEn.php. Make sure to make it properly localized within the message, e.g., using {{ns:user_talk}} instead of User_talk: [07:08:08] Ahh ok [07:10:02] What could this mean: 1054: Unknown column 'ar_page' in 'field list' (localhost) [07:10:53] It means you haven't run update.php since VoA committed that column. [07:12:45] Ahh [07:12:53] I keep my testwiki up to date with SVN [07:13:25] Im just dropping the db and reinstalling [07:15:53] <_wooz> lo [07:17:01] 03(NEW) preview didnt work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10656 04CRIT; highest; Wikimedia: General/Unknown; (wlrlogos) [07:20:27] 14(INVALID) preview didnt work - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10656 04CRIT->major; highest->normal; +comment (10Simetrical+wikibugs) [07:23:02] Now I wish I didnt drop it [07:23:13] It wont reinstall :( [07:24:34] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10effeietsanders) [07:40:33] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 +comment (10fearow00) [07:40:42] Simetrical: I took your suggestions, and made it a proper system message [07:41:44] I'll look at it tomorrow, probably. [08:10:48] I think there is a bug with $wgOut->addScript and $wgOut->addHTML [08:11:10] File a report. bugzilla.wikimedia.org [08:11:36] both times I try to output '' [08:11:41] and it outputs that [08:11:51] but then puts a lot of random HTML between the script tags [08:12:00] does anyone have an idea of what might be causing this? [08:20:38] the worst part is,.... even echo does it [08:20:47] ppl, is it possible to switch interface language without registration ? [08:22:44] DFRussia, ÁÌÅ, ×ÁÓ ×ÏÐÒÏÓ Ä×Õ-ÍÎÏÇÏ-ÑÚÙÞÎÏÓÔÉ ÎÅ ×ÏÌÎÕÅÔ ? [08:23:57] ?uselang=ru should work. [08:24:12] http://en.wikisource.org/wiki/Main_Page?uselang=ru [08:24:17] Or whatever language code you like. [08:26:54] Simetrical, this is solution only for one page [08:27:09] Evgen, correct. [08:27:23] Unless you want to append it to every page. [08:29:48] So if main lang is ru, than I need made something foe en people to go to regisration page and language selection [08:30:11] foe =for [08:37:53] hi, i want to create my own skin, but it doesn't work, i copied the code from http://www.mediawiki.org/wiki/Manual:Skinning/Example, changed '[foobar]' to 'dba' and try to change skins in localsettings.php ( $wgDefaultSkin = 'dba'; ) [08:45:09] why isn't this working [08:47:01] Hello everyone. Can someone help me with a slight problem I'm having? [08:48:39] I'm copying MediaWiki's public domain template and image for my own wiki, to go with the editing help page, but when I try to view the image, it gives me a lot of errors: http://wiki.cold-forces.com/index.php/Image:PD-icon.svg [08:48:59] Also, how can I make it be at http://wiki.cold-forces.com/ instead of wiki.cold-forces.com/index.php/? [08:51:15] Shaddox: for the last question: don't do that. do not install thewiki directly into the document root. it's possible, but a bad idea, hard to maintain, and causes a lot of headaches. read http://www.mediawiki.org/wiki/Manual:Short_URL [08:52:13] Shaddox: i.e., install the *files* so they show up in /w/ for example, i.e. /w/index.php; you can the map /wiki or /pages or /content or something for "pretty" urls. [08:52:53] Duesentrieb, thanks. Do you happen to know anything about the image problem I'm having? I think it might be an issue with ImageMagick, cause it doesn't work in my vBulletin either. [08:54:30] Shaddox: well, it all depends on your setup. svg rendering is special. does *normal* thumbnailing of jpg or png work? does it give the same error? if yes, my guess is that there's a comflicting "convert" program o nthe path. "convert" is a pretty generic name, so it's bound to clash... on windows, for example, the default "convert.exe" is for converting partitions to ntfs :/ [08:55:09] Duesentrieb, I'm on *NIX, and just installed ImageMagick and libwmf, hoping it would help. Also, that short URL thing is really confusing for me. >_< [08:55:28] I'm still a newbie to hosting anything in general, ^^ [08:56:07] Shaddox: try using rsvg for svg rendering, instead of imagemagick. imagemagick sucks for that anyway. [08:56:08] hi, i want to create my own skin, but it doesn't work, i copied the code from http://www.mediawiki.org/wiki/Manual:Skinning/Example, changed '[foobar]' to 'dba' and try to change skins in localsettings.php ( $wgDefaultSkin = 'dba'; ) [08:56:53] Shaddox: set $wgSVGConverter = "rsvg"; and make sure rsvg is installed and on the path. [08:57:21] Shaddox: rsvg is in librsvg2-bin for me (ubuntu) [08:57:29] Duesentrieb, Thanks, on ubuntu as well. ^_^ [08:57:46] chances are it's already installed - gnome needs it [08:57:51] I am a newbie to webhosting, but can easily configure BIND. Go figure. ^^ [09:00:16] Whoo, downloading 27 packages. ^^ [09:00:34] God I love apt-get. [09:00:40] The only thing I could ever compile was Pidgin. >_< [09:01:05] Oh! [09:01:07] It works! [09:02:28] :) [09:02:42] check if bitmap thumbnailing works too [09:02:53] that would still be using imagemagick [09:03:15] why i didn't get n answer ??? [09:04:17] Lili: a) be patient on irc b) provide details - "doesn't work" isn't very specific... [09:05:53] Lili: also note that mediawiki.org is an open wiki - stuff you find there might not be official documentation, but some half broken cruft that some dimwit put there. i'm not saying this is the case here. just keep it in mind :) [09:07:47] Lili: note that the skins's file name must be consistent with the class name. also note that the directory that contains your css files, etc, must be named according to the stylename. [09:08:10] Duesentrieb: waiting 30 minutes is noch patient ??? sorry i think it hade details... if i changes $wgDefaultSkin to my skinname, nothing happend, i get the same stil as $wgDefaultSkin = "": [09:08:49] because the skin you copy and pasted is prolly the same as monobook [09:09:06] Lili: 30 minutes sucks, but it might not be enough. but i didn't see your first message, sorry... [09:09:30] Lili: and, indeed - the example sikin is the same as monobook. it's there so you can modify it. if it works, it would look exectly the same as before. [09:09:39] but read the other stuff i wrote above [09:10:07] dir name 'dba' classname 'Dba' (in file Dba.php) ok i don't write the css file til now [09:10:56] Lili: also note that the skin setting is per user - the default skin only effects anonymous visitors and *new* users. [09:11:05] if you are logged in,. you need to change your skin in your preferences. [09:11:24] DFRussia yes, but i just want to try if it worked, if the side would load the skin i'm going to change it [09:11:55] 03(FIXED) Change logo on Norwegian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10554 +comment (10herman) [09:12:01] i want to change default skin [09:12:01] well, how do you know it did not load it, if it is the same exact skin? [09:12:19] did you go under user preferences and check? [09:13:04] because i have changed the linkcolor in the orginal [09:13:33] user preferences ??? [09:14:12] the stil should be for all users (logged in or not) be the same [09:14:22] yes [09:14:27] but you will see if it shows up [09:14:32] on the list of user preferences [09:14:44] mh... how to get to this list ??? [09:15:09] go to user preferences [09:15:12] and look under skins [09:16:57] in witch directory ???? [09:17:33] go to your wiki [09:17:38] log in [09:17:42] and look under preferences [09:21:05] mh... dba doesn't show up [09:22:58] paste your skin code into pastie [09:23:02] *pastey [09:23:05] and give us the link [09:23:53] pastey ??? can you gave me the link [09:25:20] look at the header of the irc [09:25:24] it says it there [09:25:35] "Don't paste text to the channel, use http://mediawiki.pastey.net " [09:32:28] In order to complete your posts, we require you to type the domains of any URLs used (in reverse), as well as the number of times you used that domain within your subject/post content. ?????? [09:32:44] what muss i type there [09:32:56] i don't understand this message [09:33:53] I think that if you linked to www.example.com, you would have to put in com.example.www, plus 1. [09:34:31] Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/qwclan.com/subdomains/wiki/httpdocs/extensions/create.php:153) in /var/www/vhosts/qwclan.com/subdomains/wiki/httpdocs/includes/WebResponse.php on line 10 [09:34:39] mh and what is the domain i am posting to ??? [09:34:46] can anyone help me with this problem? [09:35:06] I try to add some extension [09:37:01] all quite .. [09:37:13] General_Jung: put your code into the pastebin and post a link here. it seems like you are putputting tet directly when the extension is included. [09:37:28] http://qwclan.com/ [09:38:15] sorry [09:38:20] Lili: i guess you are hitting a spam protection feature. look if you have any urls in the text you posted. garble them, for doas you are told: enter the domains thei point to, in reverse... [09:38:22] http://wiki.qwclan.com/ [09:38:43] General_Jung: where's the extension code now?... [09:38:53] stick it on http://mediawiki.pastey.net [09:38:57] ah it is the create box [09:39:52] http://www.mediawiki.org/wiki/Extension:CreateBox [09:40:27] General_Jung: well, what'S in line 153? [09:40:40] one sec [09:41:54] hm... that extension looks pretty dangerous... [09:42:14] it lets people specify a arbitrary action url for the form... [09:42:21] nothing [09:42:47] it is after php start tag [09:43:07] I have this on every extension [09:43:14] General_Jung: end tag, you mean. remove all blank lines at the end. [09:43:18] I use the newest mediawiki1.10 [09:43:34] they are outside the php tag, which means php will output them literally - too early. [09:43:35] correct [09:44:16] nice the error is gone why? [09:44:32] I write a little bit in PHP never had this before [09:44:44] well, beware of blank lines. [09:44:55] also, beware UTF BOMs at the start of files [09:45:03] php is picky about that stiff [09:45:06] *stuff [09:45:15] Because it is PHP5? [09:45:31] Thanks for your help. [09:46:23] On the wikipedia.org site i see that some articles are authetificated who i can add these feature for mods on my wiki [09:46:28] http://mediawiki.pastey.net/71157 [09:51:31] General_Jung: what? where? got an example? [09:53:01] ger? [09:53:31] huh? [09:53:56] OK [09:54:33] I cant find one, but it was every time the first line: This articles was not confirmed .... [09:54:37] or any like that [09:55:35] General_Jung: thats just a template people put there manually. [09:56:15] General_Jung: built-in support for falggin/rating of articles has been talked about for ages, and there is some experimental code around - but there's nothing definite yet. [09:56:28] ok but when i will open my wiki to many peoples i will have some mods which can lock articles and confirmed that infos in it? [09:56:28] it's hard to make it a) flexible and b) usable [09:56:35] is there any extension for that [09:56:44] you can alswayss lock articles [09:56:54] you *always [09:56:59] gnah [09:57:02] *Duesentrieb can't type today [09:57:10] any advanced rights managment for users [09:57:38] General_Jung: you can *not* have "moderation", i.e. edits staying "invisible" unless confirmed. [09:57:44] either people can edit, or they can't. [09:58:24] but i can set that i have different groups whith different rights like only editing his only article [09:59:02] General_Jung: "advanced rights management"... like what, exactly? there are fine grined permissions, and you can make arbitrary user groups. but all permissions are global, per default - there's no support for per page permissions. Apart from article protection (i.e. normal users can't edit) [09:59:19] General_Jung: there are now "own" articles. [09:59:28] General_Jung: it's a wiki, not a cms. [09:59:48] everone can edit everything. except for some pages you protect - those can only be edited by admins. [10:00:12] General_Jung: there are extensions for per-namespace permissions, and there's also one that keeps people from editing other people's user page. [10:00:15] called sysops? [10:00:19] yes [10:00:22] admin = sysop [10:00:22] ok [10:00:47] the group is called "sysop" internally, but people have been calling them admins forever. [10:00:59] it's kind of like the "talk page" vs. "discussion page" confusion :) [10:01:05] Is it possible to delete history [10:03:00] General_Jung: yes, make sure your side wins in the next major war. [10:03:24] rainman-sr: :) [10:03:38] sorry i don´t undestand only over phpmyadmin? [10:04:01] GeGeneral_Jung: not *truely* delete from the database. you can however delete the page, and then resore only the revisions you want. [10:04:33] OK [10:04:34] General_Jung: note however that the history provides the list of contributors, which may be required by the license you choose. [10:05:29] I made some minor changes so i only delete for this time [10:05:43] General_Jung: http://www.mediawiki.org/wiki/Extension:Oversight [10:06:40] how i make those infoboxes ? [10:06:54] like there [10:07:42] i want to make some company infos and copied the template but i won´t wokr [10:10:26] General_Jung: copying templates from wikipedia is tricky, because they tend to use lots of other templates, and so on. they also tend to be quite complex [10:10:39] one thing you'll need is the parserfunctions extension (a good thing to have anyway) [10:10:50] already done for multilanguage [10:10:56] other than that, i can only advise you to write you own templates. [10:11:19] then you know how they work. and can easily modify them, or create new ones. [10:11:39] syntax? [10:11:45] General_Jung: you need parserfunctions for that template to work [10:11:46] any help page for it [10:13:07] it's in svn, you install it as any other extension [10:13:48] General_Jung: syntax fro waht? [10:13:57] to make own templates [10:14:10] General_Jung: http://www.mediawiki.org/wiki/Help:Templates [10:14:16] thanks [10:14:57] http://www.mediawiki.org/wiki/Extension:Permissions [10:15:01] I mean that [10:15:39] with permission earlier here [10:18:25] General_Jung: it seems all that extension does is provide a way to *show* what permissions are defined for which group. [10:19:36] yes it possible [10:20:05] General_Jung: well, what are you trying to do? [10:21:19] I think I have all i need now i only need a way to create infoboxes if i can not find a extension i have to create one temp [10:26:14] . [10:28:27] General_Jung: an extension to do what? [10:29:15] General_Jung: for your first extension, try "Hello {{{1}}}". Wuse it as "{{Hello|World}}". play with the stuff mentioned on the help page. [10:29:34] So I search a complete template for infoboxes so i do not have to create it [10:29:36] then look at the examples again. if they seem odd, look if they use parser functions, and try to understand what they do [10:30:01] there's no complete template for infoboxes. there are undreds of specialized ones. [10:30:20] you can't really make a generic one - you have to know which fields are possible, and how they are supposed to be used and formatted. [10:31:22] the number of field varies [10:31:33] fields can be made optional, using parser functions [10:31:48] ok [10:31:57] {{#if:{{{foo}}}|'''foo''' is {{{foo}}}|no foo}} [10:32:13] ah, sorry: {{#if:{{{foo|}}}|'''foo''' is {{{foo}}}|no foo}} [10:32:31] otherwise, {{{foo}}} will resolve to "foo" if not given, iirc [10:33:28] hi, im having problems with attempting to set "Groups/teams/project sites, etc" (without the quotes) as a sidebar link, it displays as "User groups". [10:35:13] anger2headshot: what's the url of your wiki? [10:35:22] http://gmcr.scribblewiki.com/ [10:35:27] anger2headshot: you understand that what you have in MediaWiki:Sidebar are messages [10:35:35] not actual text to be shown [10:35:36] ? [10:35:40] uhh [10:35:59] so is there any way i can get the slashes to not cause that problem or something? [10:36:13] make a message MediaWiki:mysidebartext [10:36:24] and then put mysidebartext in sidebar [10:36:37] using {{ }}? [10:36:37] rainman-sr: that would be a *bar* and *confusing* name. [10:36:41] anger2headshot: no. [10:37:07] anger2headshot: the text you put after the | in sidebar entries would be the name of anothe system message - so the labels can be localized. [10:37:15] oh as in just mysidebartext without anything surronding it [10:37:26] anger2headshot: so, if you have http://xyz|foo, you wdit MediaWiki:foo to define the actual message shown. [10:37:49] "mysidebartext" is a bad name - use a name descriptiove to the individual entry in the sidebar. [10:38:16] well yes i know :) [10:38:22] http://gmcr.scribblewiki.com/MediaWiki:Teams [10:38:25] thanks, i got it solved. [10:38:45] anger2headshot: the first part (the one before the |) is also treated as a reference, if it's not an absolute url - "randompage-url" resolves to whatever you have in MediaWiki:randompage-url [10:39:08] that way, the link targets could also be localized. [10:39:43] anger2headshot: wiki formatting is not supported there... [10:39:49] also is there any way to shrink the text size of that particular entry considerng that it covers 2 lines? [10:42:17] anger2headshot: yes, using site css. your temas entry is enclosed in

  • ...
  • . you can use the id to assign a style in MediaWiki:common.css [10:43:20] i forgot how xD do i prefix the id with a full stop or a hash? [10:46:07] anger2headshot: hash for ids. fullstop for classes. [10:47:15] li#n-teams { font-size:8px; } doesn't seem to do anything... [10:47:52] anger2headshot: do a forced reload (ctrl-r in firefox) [10:48:03] css is cached agressively by the browser [10:48:24] ahh, i had forgot that. thanks. [10:48:57] well thanks, im leaving. :) [11:06:31] hi [11:06:34] anubody [11:07:07] . [11:07:22] hi lilli [11:07:42] Lili: hi [11:07:58] Lili: can you please help me [11:08:11] !ask | webofunni [11:08:11] webofunni: Don't ask to ask a question. Just ask your question :) [11:09:00] mwbot: my mediawiki doesnot allow me to edit pages [11:09:14] mwbot: I have 1.6 version [11:09:35] mwbot: I have installed ver 1.10 without removing 1.6 [11:09:46] mwbot: is that is the problem [11:10:02] mwbot: if that please help to resolve that [11:12:39] webofunni: So you have just upgraded from 1.6 to 1.10? Did you run update.php? [11:13:12] amidaniel: no I just installed 1.10 without uninstalling 1.6 [11:13:21] amidaniel: just downloaded 1.10 [11:13:23] webofunni: Are they using the same database? [11:13:26] amidaniel: N INSTALLED [11:13:32] amidaniel: YES [11:13:50] 1.10's database schema is not compatible with 1.6. [11:14:03] If you need to share the database, be sure to use unique prefixes [11:14:17] amidaniel: ok [11:14:29] amidaniel: but is there any way to fix this [11:14:43] amidaniel: I had much of data in my wiki [11:14:57] Did you backup your database before you installed 1.10? [11:14:58] amidaniel: I don't want to loose them [11:15:04] amidaniel: nop [11:15:07] amidaniel: [11:15:17] amidaniel: ijust installed 1.10 [11:15:25] amidaniel: 1.6 was there [11:15:35] amidaniel: n tables also there for 1.6 [11:15:49] amidaniel: I think 1.10 used tables of 1.6 [11:16:57] Well, you can try to recover the data, but it's going to be very messy. This is why we strongly recommend running regular backups of your database. [11:17:19] In any case 1.10 should work fine -- is it necessary to still use 1.6? [11:17:20] amidaniel: my data is there [11:17:30] amidaniel: nop [11:17:41] amidaniel: how can I remove 1.6 [11:17:50] Just delete the files [11:18:14] amidaniel: http://wikilivres.forget-me.net/wiki/index.php?title=Testpage [11:18:23] amidaniel: I am not able to edit pages [11:22:06] I can edit just fine .. http://wikilivres.forget-me.net/wiki/index.php?title=Les_Hauts_de_Hurlevent_-_10&action=edit [11:22:44] Or, rather, here as well: http://wikilivres.forget-me.net/wiki/index.php?title=Testpage&action=edit [11:22:56] amidaniel: can you able to save your changes [11:23:06] amidaniel: that's what iam not able to [11:23:48] Can you translate Attention, ce texte n’est qu’une prévisualisation et n’a pas encore été sauvegardé ! [11:24:53] amidaniel: this text is only preview not yet saved [11:25:12] amidaniel: this is the message comes up for saving [11:47:44] I have manually uploaded images to the 'images/' directory on the server and imported them using maintenance/rebuildImages.php --missing and I saw it adding them to the database, but when I use [[image:imagename.png]] it doesn't display the image [11:50:19] liri: Go to Special:Allpages, choose image for the namespace, and see if they are there. If not, it didnt import them right. If they are, then you were linking wrong [11:51:43] liri: when using rebuildImages.php, you must have the images in the correct folder structure. if you uploaded them flat, you must disable the hashed structure. [11:51:59] liri: generally, it's better to upload to some other location and use importImages to grab them [11:52:04] TheFearow: yeah they're not there... [11:52:21] liri: try $wgHashedUploadDirectory = false; [11:52:25] Duesentrieb: I disabled the hash thing in LocalSettings.php [11:52:35] hm. then i think it should have worked. [11:52:36] Duesentrieb: but I didn't have importImages... [11:52:39] or rather... no.l [11:52:48] i don't think rebuildImages creates image *pages* [11:52:51] just image records. [11:52:55] you need to have both... [11:52:59] Duesentrieb: I would think so too cause it output some info about adding them [11:53:04] Duesentrieb: hmmm [11:53:14] rebuildImages is for the case when you have the image pages already, from an xml dump, for example [11:53:16] use importImages [11:53:39] well, if it sais it creates image pages, at least the pages should exist. [11:53:47] even if the images can't be accessed right. [11:54:15] so I need importImages.php anyway? [11:54:37] well, you are trying to import images, no? so use the script intended for that purpose... [11:55:57] Duesentrieb: weird that I don't have it in my version though [11:56:11] let me check which version is that [11:56:44] 1.6.10 [11:56:50] >_< [11:57:10] liri: no php5? [11:57:48] Duesentrieb: it's hosted on sf.net, I think they use php4 there [11:58:03] Duesentrieb: yeah php --version says PHP 4.3.9 [11:58:09] ugh. sf.net has lots of problems with mediawiki... [11:59:04] liri: so, no pages where created in the Image namespace? try to create one manually, and see if it shows the corresponding image correctly. [12:00:05] Duesentrieb: how do I create it manually? [12:00:48] liri: like you create any wiki page: got to the page (edit url, or use search box+go, or create a link to it), then click "edit" [12:02:08] liri: hm... btw.. i think file names must be normalized, i.e. start with an upper-case letter (or a number), and have spaces replaced by _ [12:02:16] 03(NEW) Tabs at top of Special: Contributions for IP users are interpreted as if the user name was "Talk" rather than the IP Address. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10657 normal; normal; Wikimedia: General/Unknown; (FSNNDYHEXYAP) [12:03:26] let me see [12:04:25] argh [12:04:44] someone can't code js :o [12:10:55] Night everyone! [12:30:44] anyone awake? [12:31:37] no [12:32:18] OK, well, do you know how to prevent anonymous users from editing a page but still view its source? [12:34:59] it's in the FAQ [12:35:20] I checked but it doesn't cover this scenario. [12:35:53] why? they cannot view the source? [12:36:01] nope [12:36:52] I'm using: $wgGroupPermissions['*']['edit'] = false; [12:38:03] then they can view the source [12:38:26] the page gives no such option [12:52:48] Perhaps if there's an "only allow" option of the $wgGroupPermissions variable for users? [12:54:55] 03(mod) Use checkboxes for namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 (10wikipedia.danny.b) [12:55:02] I tried $wgGroupPermissions['*']['read'] = true; but it didn't work. [12:59:44] 03(mod) Allow multiple namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 summary (10wikipedia.danny.b) [13:10:17] maybe a way to protect pages from anonymous users? [13:19:59] why doesn't recognize the HTML tag? [13:20:10] why doesn't MediaWiki [13:20:28] what is $wgQut and what is it for [13:21:41] do you mean $wgOut ? [13:22:54] yes [13:23:22] global $wgOut [13:23:28] what does this mean [13:23:45] looks like a generic output variable [13:23:47] http://www.mediawiki.org/wiki/Special:Search?search=%24wgOut&go=Go [13:25:46] http://www.mediawiki.org/wiki/Writing_a_new_special_page#OutputPage_.24wgOut [13:26:02] "The global variable $wgOut is the variable you will use the most, because it is the way to send output to the browser (no, you don't use echo or print)." [13:36:38] but global $wgOut is the first statment of the function, and return $s is the last ??? why [13:38:18] dunno, sorry; I'm not a coder [13:47:25] Lili: which function do you mean, where wgOut is the first statement? [13:51:50] Lili: $wgOut is a instance of the OutputPage Object. addHTML adds the content to the html=body. [13:52:20] s=\-\ [13:52:31] erm. replace = with - [13:57:53] in CologneBlue.php the function doAfterContent() [14:05:35] mh... thats strange, when i kill every return in cologneBlue.php my page stil have text inside [14:06:02] Anybody here used http://meta.wikimedia.org/wiki/SpecialPages_grouped_into_categories ? [14:06:17]
    (Diese Seite enthält momentan noch keinen Text)
    [14:06:43] where does this text come from [14:06:52] Germany? :P [14:08:07] Check System:Allmessages [14:10:10] japp [14:10:18] How do I fix Fatal error: Call to undefined method SpecialPage::getpages() in ../includes/SpecialSpecialpages.php on line 14 ? [14:13:41] i just want to know what file or function called the cologneBlue.php file, so i can change the position of the messages [14:15:55] 152 people here and hardly anyone's helping... [14:22:04] Lili: thats no wonder at all. the content is provided by the global $egOut. [14:22:58] Lili: just comment out parts of the addHtml or add a addhtml("i am a dump hello world message"_ [14:23:00] ) [14:23:22] erm. i mean wgOut not egOut [14:24:42] if i delete $wgOut at the function nothing changed... the output stays the same [14:24:43] Eep: hey man. it's sunday! no wonder ppl. are not in front of their screens. [14:25:00] how do you delete $wgOut? [14:25:42] Lili: sorry, but what are you triing to do? [14:25:47] in which file is this addhtml [14:26:08] OutputPage.php at includes of the mediawiki root folder [14:26:28] /includes/OutputPage.php [14:26:36] i what to change my stil (in css and html) im momentaly editing cologneBlue.php [14:26:57] Then why stay logged in, PunkRock? [14:27:21] style? [14:27:33] who not? [14:27:38] erm. why not? [14:27:59] because my screen session on the server runs and runs and runs :) [14:28:00] Obviously because it makes one seem like one's available... [14:30:02] new on IRC? ;) [14:30:14] hardly [14:30:26] style... irg ok^^ my english is bad -.-" [14:30:27] it's pretty common [14:30:40] been using it over 10 years and I don't idle; I'm either here or not. [14:30:45] good for you [14:30:53] but I don't want to rejoin 50 channels every time I come back online [14:31:24] easy enough to do with a decent IRC client [14:31:30] much more disturbing [14:31:32] why not idle? [14:31:48] again, it makes one seem like one is available. [14:31:49] can read back what's been said then, too [14:31:55] and why is that a problem? [14:32:05] I seriously doubt you're going to catch up on 50 channels... [14:32:08] I'm not sitting here "to be available" [14:32:29] Then why are you here if not to be available to participate in chatting (the purpose of IRC)? [14:32:42] because then I can jump in when it's convenient, when I have the time [14:32:50] it ain't called IRI (Internet Relay Idling) [14:32:52] and I can see what others are saying [14:33:42] you should at least give some indication you're away, like changing your nick [14:33:49] no I shouldn't [14:33:53] I have an away message when not here [14:33:53] Eep: everyone in here is free to do whatever he wants to. [14:34:34] Eep: and thats kewl. if one wants to chat he can do so. if one is just interested in following the discussion he is free to do so. [14:34:48] *Eep rolls his eyes [14:35:08] i think he got it now. [14:45:34] 03tstarling * r24313 10/trunk/phase3/ (30 files in 7 dirs): (log message trimmed) [14:45:36] * Introduced FileRepoStatus -- result class for file repo operations. [14:45:38] * Ported file delete/restore to the filerepo framework. Some user-visible changes in error reporting. [14:45:40] * $wgSaveDeletedFiles has been removed, the feature is now enabled unconditionally. Added a "deleted" directory for the default location, protected by a .htaccess file and the practical obscurity of content hashes. [14:45:43] * Fixed bug 2735: "Preview" shown in title bar for action=submit on special pages [14:45:47] * Removed "restore" links from the deletion log embedded in Special:Undelete [14:45:49] * Added img_sha1/oi_sha1 fields, preserved through upload, delete and restore [14:53:48] 03(NEW) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 15enhancement; normal; MediaWiki: Page rendering; (Platonides) [15:08:05] 03tstarling * r24314 10/trunk/phase3/StartProfiler.php: rv again [15:13:07] Hello [15:16:09] 03jeluf * r24315 10/trunk/phase3/maintenance/tables.sql: Commas at the end of enumerations only works in PHP... [15:16:50] In a skin I took from 1.5.6 to 1.10.1, the edit buttons come before headers in the same size the headers normally are. It should go on the right like normal. Where is this set? [15:25:00] ? [15:29:55] 03rotem * r24316 10/trunk/phase3/ (2 files in 2 dirs): Update. [15:44:57] 03(mod) div overflow flags break printable layout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10654 (10cragos) [15:47:22] 04(REOPENED) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 +comment (10cragos) [16:20:26] . [16:28:18] hi [16:55:51] hello [16:56:24] everone.. [16:57:10] hi [16:57:15] ^^ [16:58:00] $wgEnableUploads = false; <-- makes it able to upload what types of files? when set on true? [16:58:08] is it only for images? [16:58:42] the default set allows uploading limited set of filetypes, mostly images [16:58:53] hmm ok [16:59:00] The upload directory (/var/www/vhosts/thetownstons.com/httpdocs/thetownstons/images) is not writable by the webserver. [16:59:08] ehh, what file needs chmod 777? [17:01:48] owh i got it already ^^ [17:08:05] hi back from Berlin [17:09:50] How cna I turn off the counting? [17:16:03] wich counting? [17:20:53] got 2 questions, which are both quite easy but i cant find it on mediawiki [17:21:11] how do i get an info box at the right like this page: http://dungeonwiki.com/wiki/index.php?title=Whisker_Ratling [17:25:10] owh i found it already [17:28:26] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 +comment (10robchur) [17:33:57] 03(mod) Update for Cantonese language (zh-yue) #48, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (Taiwan) localisation (zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10653 +comment (10shinjiman) [17:34:26] 03(mod) Update for Cantonese language (zh-yue) #48, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10653 summary (10shinjiman) [17:35:41] 03(FIXED) "Preview" shown in title bar for action=submit on special pages (Watchlist) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2735 +comment (10robchur) [17:49:15] 03(mod) Update for Cantonese language (zh-yue) #48, Update for Old Chinese / Late Time Chinese languages (och/ltc) , Update for Chinese (PRC) and Chinese (Taiwan) localisation (zh-cn/zh-tw) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10653 +comment (10shinjiman) [18:28:16] *robchurch doesn't like his logging branch [18:28:32] oh my [18:28:36] what's wrong with it? [18:29:10] Well, it's the exact opposite of those block plans I had some time ago. Except with those, I spent too long planning. This time, I jumped in, without being sure what it was I wanted to achieve, and now I'm not satisfied that what I've got isn't a mess. [18:29:33] I think I might forget it, spend a couple days working out what I wanted to achieve, and then do a partial start-over. [18:30:59] The report thing's quite nice, though. Got to finish porting Special:Newpages back to a regular special page, port a couple more reports over, then hammer it all out with a larger data set and see what's what. [18:50:08] robchurch, if you're redoing logs, does that affect http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 ? [18:52:25] robchurch, how efficient is it to call, say, 5000 wfMsgExts with parseinline, for the same message? Does it actually call the parser 5000 times? [18:53:18] *Simetrical may have to actually look at the implementations of those sometime [18:54:04] Oh. It looks like . . . it does. [18:55:13] would there be a way to limit the creation of new pages to X "depth"/number of subpages? [18:55:27] mutante_, writing an extension. [18:55:29] cause almost no real page uses more than 2 levels ,e.g. / in page name [18:55:42] Or you could just ask people not to, and move them if they do. :) [18:55:50] but the spammers love to create stuff like Talk:OffTopic/wiki/Talk:OffTopic/SpamHereOnly/wiki/Forum/ etc [18:56:00] Attacking the symptoms, not the cause. [18:56:19] Are you looking for this to be done on Wikimedia projects or for your own wiki? [18:56:24] own wiki [18:56:36] As I say, an extension should make it simple. [18:56:44] Should be simple, that is. [18:57:16] hrm, i stopped deleting those pages [18:57:25] and instead i make them empty and block them [18:57:38] but it also starts being quite a lot that builds up [18:58:07] cause when i delete them and see a history of 15 deleted pages before it :p [19:02:43] Simetrical: i already block creation of pages with "index.php" in title. For that i inserted in Title.php if ( strstr ($t, 'index.php' ) ) { return false; }. [19:03:01] Simetrical: you have a hint how the "if" could test for the "depth"? [19:03:12] Just test for number of slashes. [19:03:16] ok [19:05:53] Now, what was the author of Linker::userLink and friends thinking when he required BOTH a user ID AND a user name? [19:06:07] When as far as I can see, the user ID is completely superfluous? [19:08:53] 03(NEW) Illegal XHTML for navigation is created - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10659 minor; normal; MediaWiki: General/Unknown; (bkuehl) [19:11:15] 03(mod) Illegal XHTML for navigation is created - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10659 (10bkuehl) [19:24:03] hello, when upgradind MW from 1.6.3 to 1.10.0, do i have to upgrade manually the database? [19:35:26] ok, i already updated the DB, but it still doesn't work [19:35:41] i can't edut my wiki: http://wikilivres.forget-me.net/wiki/index.php?title=Wikilivres:Sandbox [19:36:01] hi all [19:42:39] http://pastebin.ca/629920 [19:42:48] can anyone help please? [19:45:05] yannf: did you use the patch file, or what? [19:45:51] path file? [19:46:28] i used "php5 update.php" [19:46:48] one sec [19:50:38] Note to self: attaching a backtrace to every query may slow down execution. [19:53:26] yannf: did you download the whole 1.10.0 tarball or just a patch [19:53:39] qsheets, the whole [19:53:42] I get an error with config/index.php: http://mediawiki.pastey.net/71168 [19:54:16] it's weird - the query it tries to execute ends with "... INDEX img_sha1 (img_sha1), ) TYPE=InnoDB" [19:54:34] the stray comma before the last bracket seems to cause a problem [19:54:57] qsheets, i untared it beside the old MW and i changed the "wiki" link [19:58:08] changed the _wiki_ link? [20:04:04] there is an error in maintenance/tables.sql line 701 [20:05:09] pywikipedia was moved to to mediawiki.org, so I should have commit access, might as well fix it... :P [20:05:24] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [20:05:29] good idea, NotADog :] [20:07:10] or maybe not, lol [20:07:23] Jack_Phoenix: seems it's been fixed several hours ago :P [20:07:28] :P [20:07:55] *NotADog will have to wait for another day... [20:10:12] 14(DUP) BotQuery extension uses obsolete Image functions, PHP fatal error - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10132 +comment (10yuriastrakhan) [20:10:13] 03(mod) no output from query. php on commons when combining iihistory and iiurl - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10187 +comment (10yuriastrakhan) [20:10:20] NotADog: what version are you using? [20:10:45] ...and yes... that comma was the prob. [20:11:25] I was using r24312 apparently [20:11:41] lol [20:12:57] too bad I lost an opportunity to check if I really have commit access :P [20:13:16] lol [20:14:24] Hi, http://wiki.openzaurus.org is mediawiki 1.5.8. It uses interwiki links. But connecting to the database and saying INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ('a', 'http://www.angstrom-distribution.org/mw/$1', '0', '0'); to create a new interwiki tells me the interwiki table does not exist. Which is true. How do I find out where the interwiki links are defined? [20:14:37] The guy who used to maintain this site is kind of missing. [20:16:24] if I have a setting that i want to enable such as $wgUseXMLparser, do I find that in a specific file or do I add that to the LocalSettings.php? [20:16:46] you'd add $wgUseXMLparser = true; to LocalSettings.php [20:16:53] thanks [20:16:56] 03(NEW) logevents query returns zeros for logid & pageid - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10660 15enhancement; normal; MediaWiki: API; (yuriastrakhan) [20:19:35] 03(NEW) rvlimit doesn't work on multiple pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10661 15enhancement; normal; MediaWiki: API; (Platonides) [20:28:24] 03(NEW) imageinfo is not cleared for each page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10662 normal; normal; MediaWiki: API; (Platonides) [20:28:37] 03(mod) rvlimit doesn't work on multiple pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10661 15enhancement->normal (10Platonides) [20:32:47] Laibsch, http://www.mediawiki.org/wiki/Interwiki_table ? [20:36:43] "Fatal error: func_get_args(): Can't be used as a function parameter in /var/www/trunk/phase3/includes/Linker.php on line 750" [20:36:47] You have GOT TO BE KIDDING ME. [20:37:03] foo( func_get_args() ); is a FATAL ERROR? [20:37:07] *Simetrical boggles [20:40:58] 03(mod) Code quality issues (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=700 (10Simetrical+wikibugs) [20:40:58] 03(NEW) Linker:: userToolLinks and friends should accept a User object, not a user ID and name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 15enhancement; normal; MediaWiki: General/Unknown; (Simetrical+wikibugs) [20:41:54] 03(mod) Link to talk page in block log message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10655 (10Simetrical+wikibugs) [20:42:47] 14(INVALID) Tabs at top of Special: Contributions for IP users are interpreted as if the user name was "Talk" rather than the IP Address. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10657 +comment (10Simetrical+wikibugs) [20:43:28] alxndr: That is the one I followed. As I said, there does not seem to be an interwiki table in the database for the mediawiki installation. [20:43:44] On the other hand I am not even sure anymore that I am looking at the right database [20:44:33] 03(mod) Allow multiple namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 (10Simetrical+wikibugs) [20:44:51] I did an "rgrep ^\$wgDBserver" in the directory of the mediawiki installation but that did not seem to return the wanted information either. [20:47:24] Try rgrep -i '$wgDBserver\s*=' instead. No reason it has to start the line. [20:48:03] Well, the situation is easier than that (sorry to waste your time, I wasted more of mine) [20:48:13] I am looking at the wrong host [20:48:24] This beast is not hosted on linuxtogo.org as I was told [20:48:27] But on berlios.de [20:48:34] Grrmmpf! [20:48:36] I hate it when something like that is the problem [20:48:48] I can of course search for hours [20:48:57] alxndr: me too [20:49:18] Especially since I asked twice "Really? ltg is where it is hosted?" [20:49:50] But learned some new mysql skills along the way ;-) [20:52:17] Simetrical: Sucks, doesn't it? :) [20:52:38] robchurch, which, PHP? [20:52:44] wfMsgExt()? [20:52:47] Linker::userLink? [20:52:48] Linker::userLink() and friends don't require the actual user id, just some indication of whether or not the user exists. [20:52:53] Yep. [20:52:54] func_get_args() ;) [20:55:56] 03(mod) Sidebar links are not checked for existence - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8383 +comment (10robchur) [20:57:45] 03(mod) Linker::userToolLinks and friends should accept a User object, not a user ID and name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 +comment (10robchur) [20:59:29] 03(mod) logevents query returns zeros for logid & pageid - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10660 +comment (10robchur) [21:00:25] 03(mod) Need to sanitize sidebar XHTML (identifiers, etc.) when accepting raw titles in sidebar message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9338 summary (10robchur) [21:00:30] 14(DUP) Illegal XHTML for navigation is created - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10659 +comment (10robchur) [21:00:32] 03(mod) Need to sanitize sidebar XHTML (identifiers, etc.) when accepting raw titles in sidebar message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9338 +comment (10robchur) [21:00:56] 03(mod) Need to sanitize sidebar XHTML (identifiers, etc.) when accepting raw titles in sidebar message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9338 (10robchur) [21:00:57] 03(mod) XHTML compliance (tracking) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10robchur) [21:02:52] *robchurch looks for a clean, up-to-date working copy of trunk without modifications [21:06:41] Wikipedia uses extensions that aren't already installed in Mediawiki right? [21:07:08] Yes. [21:07:22] is there somewhere that I can find a list of those extensions? [21:07:53] http://en.wikipedia.org/wiki/Special:Version [21:09:30] very much appreciated [21:11:04] one more thing if I may, I'm guessing that Wikipedia does have Tidy enabled? [21:12:27] Yes. [21:18:57] good evening :-) [21:19:20] I've got a question concerning modifying the TOC [21:20:00] we want to limit the TOC generation to a certain level (== Headlines ==) for a single article [21:20:09] I found a solution that just works globally [21:20:26] another special modified TOC template didn't work out :-/ [21:21:02] this was called: {{TOClimit|limit=3}} [21:21:18] any idea for other ways to limit TOCs? [21:27:52] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 (10Simetrical+wikibugs) [21:28:14] barra, you need to copy the CSS for that from MediaWiki:Common.css for it to work. [21:28:35] ahh thanks for the pointer Simetrical :-) [21:28:50] can I take the one from a recent SVN checkout? [21:29:50] barra: take it from the pace you took TOClimit from [21:29:54] i.e. wikipedia, probably [21:30:16] ahh, they offer it there? oki, thanks; I'll take a look [21:30:40] 03wegge * r24317 10/trunk/phase3/languages/messages/MessagesDa.php: Adding missing translations for da [21:32:22] is there a safe/legit way to "force" a reinstall of mediawiki [21:33:12] Or i guess the better question is, at what point does mediawiki detect that the system is not installed and prompts the user to install? [21:33:13] 03(CLOSED) div overflow flags break printable layout - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10654 +comment (10Simetrical+wikibugs) [21:33:49] johnjosephbachir: move your LocalSettings.php to some other place [21:33:52] 03(WONTFIX) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 +comment (10Simetrical+wikibugs) [21:33:57] 03(CLOSED) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 (10Simetrical+wikibugs) [21:34:05] anyway... does anyone know a bit about ExternalStoreDB? [21:34:24] I'm trying to retrieve page text on the toolserver, using the data river is importinjg into clematis [21:34:41] my current test appears to fetch data ok, but fails when unserializing, as if the data is corrupted. [21:34:42] Duesentrieb: well, i have a kind of complicated setup involving multiple wikis using the same codebase. but i guess that is the first place i should look, where the presence of LocalSettings.php is detected. [21:35:27] 03(mod) Need to sanitize sidebar XHTML (identifiers, etc.) when accepting raw titles in sidebar message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9338 +easy (10Simetrical+wikibugs) [21:35:31] johnjosephbachir: i suppose you can also simply go to config/index.php [21:35:42] not sure what it does if a LocalSettings.php already exist [21:35:47] okay, cool. [21:36:12] It'll tell you to delete config/ since MediaWiki's already there. [21:36:29] Just rename LocalSettings.php to LocalSettings.old.php (keep the .php extension) and re-run the installer. [21:38:16] hmm so I replaced the common.css of my skins/common dir with the one from wikipedia; added the TOClimit template to our wiki but the article still shows the full TOC :-/ [21:38:48] barra: err. why did you replace the file? [21:39:13] because the TOClimit class is defined there [21:39:14] barra: MediaWiki:common.css is NOT skins/common/common.css [21:39:19] but? [21:39:27] it's a wiki page [21:39:31] it's *extra* css [21:39:37] put it *on* the wiki page, on your wiki [21:39:41] do *not* replace the file [21:39:47] args :-/ [21:40:45] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 (10Platonides) [21:41:47] when enabling tidy on Mediawiki, you have to specify the location of a tidy.conf file [21:41:58] do you just create the file and put it in the extensions folder? [21:42:16] There's a configuration file in the Subversion repository, IIRC. [21:42:21] It may also be in includes/ [21:42:25] so just add the common.css article to our wiki and it should work duesentrieb? [21:42:37] 03(mod) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 (10cragos) [21:42:44] barra: MediaWiki:commons.css [21:42:53] err, MediaWiki:common.css, sorry [21:42:56] bit just common.css [21:43:03] *not [21:43:12] .oO(typing is getting worse) [21:43:18] oki [21:45:15] 03(mod) Linker::userToolLinks and friends should not require a user ID - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10663 summary; +comment (10Simetrical+wikibugs) [21:45:33] that worked out duesentrieb :-) thank you very much [21:47:41] Duesentrieb: do you know where the inclusion/check for LocalSettings.php is? i'm greping for it but getting a bit lost [21:48:55] johnjosephbachir: no idea, never looked into the installer [21:49:57] 03(mod) Scroll box on 'printable version' - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10239 (10Simetrical+wikibugs) [21:50:50] good night everyone :-) [21:50:59] robchurch: I'm still too new to this, I'm still having trouble getting tidy to work properly, is there any sort of guide you know of that tells how to enable it? [21:51:24] bit busy [21:51:48] ah, sorry [21:53:44] hi [21:54:02] need help on installing mediawiki 1.10 [21:56:05] 03robchurch * r24318 10/trunk/phase3/config/index.php: Correct language - not "no object caching", rather, "no object caching [using the items we haven't detected]" [21:56:22] 03rainman * r24319 10/branches/ls2.1/: Devel branch for lucene search, keep the trunk version stable [21:56:51] hi I am getting Something's not quite right yet; make sure everything below is filled out correctly. [21:56:53] error [21:57:03] but I had filled every thing [21:57:05] but [21:57:06] rainman-sr: Perhaps a clearer branch name? [21:57:23] how can I know what went wrong [21:57:45] robchurch: like what? i was never very good at naming things [21:57:47] webofunni: Scroll down and look for red error messages next to fields. [21:57:59] rainman-sr, lucene2.1? [21:58:00] it's lucene search 2.1, but it was too long to type [21:58:03] robchurch: yes [21:58:03] rainman-sr: Just "lucenesearch-2.1" or something - it's the "ls" that's a bit cryptic. :P [21:58:08] ls 2.1 [21:58:17] robchurch: I have checked [21:58:20] 2.1.1/ 2.1.2/ 2.1.3/ [21:58:21] $ [21:58:30] robchurch: but I have gave them correctly [21:58:48] webofunni: Copy and paste the entire upper part of the installer page to http://mediawiki.pastey.net. [21:58:57] i.e. all the debugging lines. [22:00:09] robchurch: http://mediawiki.pastey.net/71176-2yhx [22:00:16] robchurch: is this ok [22:00:18] 03rainman * r24320 10/branches/ (ls2.1/ lucene-search-2.1/): Make branch name clearer per IRC. Now has same format as on trunk. [22:01:11] webofunni: Underneath the installer form should be some more lines indicating the installer's progress. Can we have those? [22:02:03] ...to the pastebin... [22:02:37] *robchurch stabs apache [22:04:27] robchurch: http://mediawiki.pastey.net/71177 [22:04:37] robchurch: is that you want [22:04:48] DB password: Must not be blank [22:05:06] robchurch: I have given that [22:05:12] can it not be "blank" ? [22:05:27] robchurch: but it says it is blank [22:05:34] robchurch: why [22:05:42] Well, apparently it thinks it *is* blank. [22:05:54] What *are* you inputting? [22:06:14] (You can tell me in a private message if you would prefer) [22:06:17] yes, give us your db password! [22:06:27] robchurch: is that data entered not getting into server [22:06:33] input blank [22:07:21] robchurch: can we have private chat [22:07:47] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 +comment (10wikipedia.danny.b) [22:09:14] urrrk .... wiki is easy to use ... but i never thought it would be this hard to administrate and get started with ..... im getting ahead ace (not connected to what your talking about now) [22:10:27] how do i make the wiki portal private? ... i still want people to be able to register ... but a admin must aprove the account before they can login [22:11:18] Evanion: look at the FAQ. it has a lint to "preventing access". [22:11:34] robchurch: are you there [22:11:40] yea ... but it talks about preventing everyone to even register [22:11:51] *All* of the POSTed data is being dropped. [22:12:02] Evanion: it talks about different things. [22:12:03] i justwant the Admins to activate the accounts instead of the users [22:12:04] None of it is passing through to the installer. [22:12:08] 03rainman * r24321 10/branches/lucene-search-2.1/ (29 files in 12 dirs): (log message trimmed) [22:12:10] Experimental "did you mean..." feature. Uses two indexes: [22:12:12] * words - ngrams of individuals words [22:12:14] * phrases - two-word phrases, currently extracted from titles [22:12:16] Algorithm: [22:12:18] * Initial search via combined ngrams/metaphones [22:12:19] webofunni: It looks like a very odd PHP misconiguration to me. [22:12:28] * Metaphones are used to reject phonetically very bad suggestions [22:12:43] Hello Florence-EQ2i. :) [22:12:49] Hello. Are there any devs in here right now? [22:12:51] 03(WONTFIX) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 +comment (10Simetrical+wikibugs) [22:12:53] Hello, Jack [22:12:56] rar [22:12:58] robchurch: from where can I get the log for php [22:13:05] If you're not the person managing the server, ask whoever is to investigate; I'm not quite sure what's actually up. [22:13:11] Evanion: well, mediawiki doesn't support accounts "in limbo". however, you can take away rights from the default "user" and "autoconfirmed" groups, and assign them to some special groop, like "approved". [22:13:13] there are a lot of devs around, just post your suggestion, Florence-EQ2i :) [22:13:15] If you are, you might try recompiling and reinstalling PHP. [22:13:26] Evanion: that way, users can't do anything until they are added to the "approved" goup. [22:13:31] read the manual about group permissions [22:14:11] ty... On Category pages, in the Subcategories section, I would like to see a "Expand all [+] button on the upper right, where a sectionedit would be, that would expand all subcats [22:14:34] can mediawiki only be installed properly from the web interface? [22:14:55] hmm ok .... lol ... im not used to Irc ... all this extra discussions going on is confusing lol ^^ [22:15:14] robchurch: do you have a hint for me as to how to go about debugging problems with ExternalStoreDB? i'm trying to access page text on clematis from the toolserver, but deserialization fails. i'm under the impression it's a charset issue somehow. got an idea how to get the blob out of the db as raw as pssible, for debugging? [22:15:34] using the command line client seems to truncate the blob. [22:15:41] Florence-EQ2i, you can file a feature request at bugzilla.wikimedia.org, under MediaWiki extensions -> CategoryTree. [22:15:51] thank you [22:16:28] johnjosephbachir: no, you can also write a LocalSettings.php by hand, if you know what you are doing. this is all the installer does - well, it also sets up the database. you can also do that by hand, the sql file is in the maintenance dir somewhere. [22:16:47] Florence-EQ2i: wontfix. [22:17:13] ummm... this is not a bug report, I don't see a place for feature requests [22:17:17] Florence-EQ2i: category structures can be very broad, or very deep, and even recursive. a slight user error would lead to people killing their boxed by clicking that link. [22:17:35] Florence-EQ2i, we use the same tracker for both. Just file as "enhancement". [22:17:44] 03(mod) Add magic word to open article with TOC hidden - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10658 (10robchur) [22:17:54] Florence-EQ2i: feature requests are trerated as bug reports. just set it to "enhancement". but again, as the author of category tree, i can tell you, it's a WONTFIX. [22:18:04] Well, there could be a limit to recursion, set in the preferences. Limit Expand All Subcats to ____ levels [22:18:13] I do agree with Duesentrieb that this would be potentially problematic, but I don't agree that it shouldn't be implemented. [22:18:17] even two levels can be *very* havy [22:18:18] It just has to be done with care. [22:18:21] Ugh, MORE PREFERENCES? [22:18:27] No, no more preferences. [22:18:33] OK, I understand. Just thought I would float the idea. [22:18:38] Giving users choices is *bad* :P [22:18:43] hehe [22:19:00] i can't think of a way to do it in a way that is both useful and safe, sorry. [22:19:03] It could actually be done, *if* we had a store that basically resolved any category to the highest level parent. [22:19:24] What do you mean? [22:19:29] robchurch: that may be more than one. [22:19:44] Duesentrieb: Then you have duplicate rows. [22:20:01] I see I have launched a discussion, which is what I was after. :) I will leave it to you. [22:20:15] My work here is done :D [22:20:38] *Duesentrieb goes back to shaking his fist at compressed storqage blobs. [22:23:41] n8 [22:24:11] in LocalSettings.php you add $wgTidyConf to tell it where to look for the conf file correct? [22:24:33] 03(FIXED) Need to sanitize sidebar XHTML (identifiers, etc.) when accepting raw titles in sidebar message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9338 +comment (10robchur) [22:26:33] 03(mod) Allow multiple namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 (10wikipedia.danny.b) [22:27:21] 03(mod) Enabling public viewing for certain pages on il.wikimedia.org - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10632 (10robchur) [22:29:25] hmm in the "Preventing access" Article they talk about Sysops being able to make new accounts via "Go to [[Special:Userlogin]], when logged in as a sysop" ... i can't find it [22:30:31] it's the normal login page. it has a "create account" link. [22:30:53] who can actually use it depends on the groups that have the "createaccount" permssion [22:30:57] <_DannyB|backup> Simetrical: you mentioned earlier today that site_stats table could be outdated or with incorrect data - so would you suggest to use selects from tables such as page or user to get the same data? [22:31:18] so i have to logout and then create the user? [22:31:37] no, you can be logged in. [22:31:54] if you restricted the ability to create accounts, you even *have* to be logged in. [22:32:21] _DannyB|backup, just refresh the data if you think it might be outdated. There should be a function in SiteStats for that. [22:32:34] right ... but i only see "log out" when im logged in ... tryed searching for "Userlogin" but it didn't find any [22:32:50] Evanion, go to the page named: Special:Userlogin. Type that into the search bar and hit "Go". [22:34:01] ah thanks ... got it [22:34:22] what user group will that account be put in? [22:34:41] only the default group: "user". [22:34:47] ok great [22:35:00] after some time or some edits (depending on config), also into "autoconfirmed". [22:35:02] <_DannyB|backup> Simetrical: i'm going to do some extended stats using toolserver db which i'd like to be up-to-date, so that's why i was interested if site_stats table is updated with every relating change [22:35:40] _DannyB|backup, well, generating your own stats requires a table scan, so it's not really preferred. [22:35:55] is there any easyer to use CP in the works? ... or perhaps a plugin? [22:36:11] CP? [22:36:25] Evanion, it's being thought of, at least for particular issues, but not in the works. [22:36:27] so you don't have to upload a "localconfig" file all the time ..... Control Panel [22:36:39] right [22:37:09] it's inheritely dangerous. it would probably be restricted to relatively trivial options [22:37:40] well i was thinking about something like Phpbbs CP [22:38:41] im settign up a wiki for instudio expansion of the lore for one of our titles [22:39:31] 03(mod) Allow multiple namespace selection on special pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10628 (10Simetrical+wikibugs) [22:40:00] Duesentrieb, it's not inherently all that dangerous if it's restricted enough. Most software makes do with it. It could still mostly be disabled if desired, one presumes, in favor of shell scripts or whatever. [22:40:07] so i just want something easy to use and that revents the public from reading it ... but a forum don't realy cut it [22:40:55] What about configuration settings which require follow-up maintenance scripts? What happens when those scripts run too long and time out, leaving inconsistent data? [22:40:55] Simetrical: well, what option would you think to be safe to have available online? [22:41:25] Simetrical: keep in mind that mediawiki uses plain text püasswords for authentication. it's *realy* easy to hijack an account, if you are determined. [22:41:58] robchurch, there's a standard way around that: split it up into chunks and use repeated redirects so no chunk takes too long. It works for almost everything. As I said, this is really a solved problem. [22:42:13] Ugh. [22:42:38] Fisher Price My First MediaWiki [22:42:43] Duesentrieb, MITM isn't *really* easy to set up. In fact it's quite hard. Many site admins would prefer a CP, dangerous or not. Editing text files simply is not an option for many people. [22:43:11] And it's not very dangerous, as I say. It's a difficult attack vector to use barring XSS or similar. [22:43:20] Not an option in that they can't do it, or not an option that they are capable of doing? [22:43:23] Much less difficult than shell, but still not easy. [22:43:37] First case, probably can't run much anyway; second case, solved with documentation. [22:43:47] robchurch, not an option in that they'll freak out when presented with PHP they have to edit. [22:44:14] I'm not saying I'm interested in writing code for this, but if someone else wants to, they should be allowed. Possibly as an extension. [22:44:19] Simetrical: if MITM is hard or easy depends on the environment. it would be hard fro me to capture your pw, yes. but when sitting on the same LAN, it's a different matter. Schools, offices, etc... [22:44:22] And it should then be bundled with core. [22:44:39] anyone can write an extension for it [22:44:46] if it is bundles is a different question... [22:44:56] Duesentrieb, it's hard in the typical case. An intraoffice attack has a lot of other vectors that could be used; it's much less secure to start with. [22:45:35] Simetrical: is "dialup at home" really the typical case? [22:45:40] 03rainman * r24322 10/branches/MWSearch-2.0/: Don't need this anymore, the notification hook is a deadend. [22:45:51] code cnackers ^^ love you ... hate you ... can't live without you ^^ [22:45:53] No, broadband at home probably edges it out. [22:46:11] hi [22:46:16] well, yea. i consider that "dialup", as long as the ip changes [22:46:23] hello yurikny [22:46:29] Quite simply, if you have a hacker who's determined and knows what he's doing, the typical site is going to have no hope. [22:46:35] so what's the status of the canRead() ? [22:46:39] is it dead yet? :) [22:46:51] yurikny, ignore it for lists of titles. The existence of a given title is always to be shown. [22:46:55] can i change the name of a single table? (the user table in my case). [22:47:05] well ... if someone realy wants to get in your house ... you can't stop them ether [22:47:11] yurikny, it's still supposed to be checked for displaying content. [22:47:29] johnjosephbachir, yes, if you don't mind your wiki breaking. :) [22:47:43] Simetrical: cool [22:47:49] Simetrical: cute. [22:48:46] johnjosephbachir, if you have MySQL 5 you could maybe set up a view? Not sure how those work, but it might allow some kind of table alias. Is the problem that you already have a table named "user", or that you want to share or something? [22:49:20] Simetrical: i want to share a user table between mediawiki instances [22:49:32] surely there must be a recipe for that [22:49:36] johnjosephbachir, use the appropriate extension for that. [22:49:46] I can't remember what it's called, but it's somewhere in Subversion. [22:49:53] Simetrical: great, thanks. [22:49:56] There should be docs findable on Google, on mediawiki.org or wherever. [22:50:08] 14(WFM) Dynamically-generated Move page is broken when quotation marks are in the title - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10441 +comment (10robchur) [22:50:22] $wgSharedTables or somesuch [22:51:08] Oh, we have that? [22:51:11] Does it actually work? [22:51:21] I was figuring it couldn't, because of manual Database::query's. [22:51:33] 03(mod) Support for PSTricks rendering inline - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10384 (10robchur) [22:51:37] $dbr->query( "SELECT * FROM $user WHERE ..." ); [22:52:01] 03(WONTFIX) New signature wiki markup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10336 (10robchur) [22:52:19] $user will be the result of Database::tableName() [22:52:19] <_DannyB|backup> Simetrical: why don't you ask users about what they prefer? [22:52:23] Ah. [22:52:25] Okay, then. [22:52:58] _DannyB|backup, for which? The listbox thing? If you want to, go ahead, but they'd better not be technorati. I bet you at least 50% of Wikipedians don't know how to work listboxes properly. [22:55:36] <_DannyB|backup> Simetrical: well, I took a look on couple random sites (well, yes, czech only. yet.) and most of them have the small help i was talking about. honestly i can't understand what's wrong on it, maybe if you would be willing to explain it, i'd understand it. thanks [22:56:11] <_DannyB|backup> on the other hand i understand that listbox vs checkboxes require different code [22:56:17] 03(mod) Use real name in notification emails if available - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9607 summary (10robchur) [22:56:25] _DannyB|backup, we have it for Special:Userrights too. The thing is, it's inferior to not having to have the help thing in the first place. [22:56:35] Because users will often not read instructions. [22:56:41] And they shouldn't have to. [22:57:22] <_DannyB|backup> Simetrical: honestly - opertaing listboxes is imho a part of basics of operating computer at all [22:57:42] *robchurch passes some popcorn to Duesentrieb [22:57:47] It doesn't matter if that's your opinion. The fact is, it's not the case. [22:58:00] I'd bet you solid money that a majority of computer users do not understand listboxes. [22:58:07] Dude, excellent odds on Simetrical to win. [22:58:08] Whether they should or not is totally irrelevant to usability. [22:58:31] <_DannyB|backup> agree, that wasn't the point though [22:58:34] robchurch, if by "win" you mean "not get more listboxes in the software", yeah, since I'm supporting Brion here. :P [22:58:40] ;) [22:59:06] I'm inclined to agree with Simetrical. Then again, if we had one of those listboxes-with-check-boxes available, I'd totally vote for that. [22:59:10] We could fake one of those. [22:59:31] Isn't that just checkboxes arranged vertically in a scrollable fixed-height box? [23:00:41] Simetrical: searching for 'user' and 'table' in http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_10_1/extensions/ got me nowhere... could you point me in the right direction? [23:00:44] <_DannyB|backup> Simetrical: however, i said, i'll throw in some ideas for better configuration than that totally illegible and uncomfortable bunch of checkboxes on special:search [23:01:07] <_DannyB|backup> so as far as the ui will be better than this i'm pretty fine with that [23:01:14] johnjosephbachir, robchurch points out that you can actually make them use the same tables by just using a config variable. [23:01:35] *johnjosephbachir scrolls up [23:01:39] ahh okay. thanks. [23:01:57] robchurch, what's that single sign-on extension again? [23:02:02] Simetrical: exactly ;) [23:02:04] CentralAuth [23:02:08] Right. [23:02:16] *Simetrical points johnjosephbachir toward CentralAuth [23:02:37] _DannyB|backup, the checkboxes should be properly aligned, is I think the major problem with Special:Search. [23:03:05] Should be easily achievable. [23:03:10] Simetrical, robchurch: what about the config variable (vs centralauth) [23:03:34] <_DannyB|backup> exactly. robchurch's faking of listbox is one of the styles i'm going to throw in [23:04:08] FOR GOD'S SAKE, DON'T PING ME UNLESS IT'S IMPORTANT OR UNLESS YOU ARE GOING TO PAY FOR THE PRIVILEGE [23:04:45] *johnjosephbachir doesn't understand the expectation of special IRC courtesy for robchurch [23:04:45] johnjosephbachir, I dunno what the relative benefits are. [23:04:58] *Simetrical pings robchurch [23:05:07] johnjosephbachir: I'm not sure the configuration variable is tested versus the authentication plugin method, overall. [23:05:18] However, I suspect the variable may be in use on wikitravel. [23:05:39] Your best bet is to experiment and see which suits you more. [23:05:42] okay, thanks. i'll look into them. [23:05:46] Hmm, user_editcount would cause issues. [23:05:56] Not that it's used, but it would definitely be wrong. [23:06:27] *johnjosephbachir guesses that centralauth only uses a central table for authentication but maintains redundant user tables for each wiki [23:12:07] it looks like farmer is actually more suited to my needs, as it is a complete subdomain multi-wiki solution. w00t! http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_10_1/extensions/Farmer/ [23:17:00] 03robchurch * r24323 10/trunk/phase3/ (4 files in 4 dirs): [23:17:00] * Pass new Revision to the 'ArticleInsertComplete' and 'ArticleSaveComplete' hooks; see docs/hooks.txt for more information [23:17:05] * Document 'ArticleInsertComplete' hook [23:17:51] 03(FIXED) Add revisionId to ArticleSaveComplete hook - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9595 +comment (10robchur) [23:22:10] Could someone help me rezise my wiki to accomodate a logo larger than 135x135? [23:22:18] Hmm [23:22:57] SteamGiants: it's all in the css. tricky to work out though. beware the msie-fix files too. [23:25:48] 03robchurch * r24324 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialUpload.php): (bug 9575) Accept upload description from GET parameters [23:26:16] 03robchurch * r24325 10/trunk/phase3/RELEASE-NOTES: Bug number for r24323 [23:37:14] 03robchurch * r24326 10/trunk/phase3/ (RELEASE-NOTES includes/DifferenceEngine.php): Skip the difference engine cache when 'action=purge' is used while requesting a difference page, to allow refreshing the cache in case of errors [23:37:51] ☆☇☈ [23:38:06] ☆☇☈ [23:38:08] sry [23:38:58] 03(mod) Unexplained, inconsistent diff cache - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9533 +comment (10robchur) [23:40:36] 03(mod) Run maintenance/updateRestrictions.php on all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9386 +shell; summary; +comment (10robchur) [23:54:04] 03(mod) Logged on as someone else. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6464 +comment (10fearow00) [23:59:34] We already do that, don't we?