[00:04:09] 03(mod) Apply syntax highlighting to eligible pages during diffs and page previews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10871 (10azatoth) [00:04:16] Werdna: http://en.wikipedia.org/w/index.php?title=User:AzaToth/differror.js&diff=163690181 [00:04:17] ツ [00:19:30] Zotnix: sorry, was looking the other way [00:19:42] Zotnix: mv * scripts [00:19:43] ;) [00:19:45] Werdna: Nah, reverted it :p [00:20:14] of course, you could do Alias /bible /index.php/ [00:20:20] but alas, you're using lighty [00:20:31] whatever the lighty equiv of that is [00:20:40] Hehe [00:21:46] AzaTht: eep! [00:22:00] looks like it's not being properly sanitised. [00:26:26] thankfully, it's not an XSS bug [00:33:00] Werdna, AzaTht: There's a bug open on how position: absolute/fixed can be horribly abused for months now. [00:33:10] Simetrical: different issue [00:33:10] Spammers have been using it to make the entire page into a link to their spam site. [00:33:22] Werdna, what's the issue here other than that? [00:33:42] well, compare how it's displayed for a straight view, with how it's displayed for a diff. [00:34:03] the
is being interpreted by the code, but it shouldn't be. [00:34:19] Oh, so we don't check for CSS/JS subpages in diffs. [00:34:20] erm, the
is being passed through, whereas it should be escaped. [00:34:25] right. [00:35:18] Silly things, why aren't we putting the escaping lower down? [00:35:34] I suppose because it doesn't know lower down [00:35:39] *Simetrical supposes things just run $article->getText() or something, currently [00:35:49] Article::getTextForDisplay()? :D [00:36:11] no, it's under Article::view [00:36:36] line 800 or so [00:36:52] So I guess diffs don't use that? [00:37:21] yeah, working on it. [00:37:33] * See diff.doc [00:37:33] * @todo indicate where diff.doc can be found. [00:37:50] is it just me, or is this really silly? [00:37:58] if( $this->mTitle->isCssOrJsPage() || $this->mTitle->isCssJsSubpage() ) { [00:38:34] oh no, I get it [00:38:44] one's for mediawiki ns stuff, the other's for user ns stuff [00:38:56] The method names are *definitely* silly. [00:39:30] Title::isCssJsPage() should return true for user or interface, and you can check namespace to see which. [00:41:02] proposed patch is at http://www.devanywhere.com/ViewPub.php?id=43 [00:41:38] ew, stab me please [00:41:41] Yes, DifferenceEngine::loadNewText() just uses Revision::getText(). [00:41:42] I forgot to pass some variables [00:42:07] And you also cut-and-pasted code. [00:42:13] indeed I did [00:42:40] *Simetrical supposes if it's only in two places there's no point in not copying a few lines [00:43:59] It's icky to have the negative part of the conditional first, even if it's more common. More readable to have if( $this->mTitle->isCssJsSubpage() || $this->mTitle->isCssOrJsPage() ) { ... } else { ... } [00:44:29] Oh, and by the way, your patch is a fatal error, mTitle has no member variable isCssOrJsPage. [00:47:40] ... [00:47:56] if (!($this->mTitle->isCssJsSubpage() || $this->mTitle->isCssOrJsPage)) [00:48:00] then how does Article::view get away with it? [00:48:03] -> fatal error [00:48:20] Article::view gets away with it because it doesn't try to reference a member variable, it references a method. ;) [00:48:33] oh, right [00:48:34] SH! [00:48:37] :P [00:50:36] I officially win. [00:51:58] <[ace]an[9]3l> Mediawiki olympics! [00:53:57] Committed revision 26577. [00:53:59] 03werdna * r26577 10/trunk/phase3/ (RELEASE-NOTES includes/DifferenceEngine.php): [00:53:59] * Fix up RELEASE-NOTES from previous commit (confused commit message with RELEASE-NOTES) [00:53:59] * Fix a bug where css/js pages were displayed normally, and were causing havoc with embedded html in user css/js subpages (a la http://en.wikipedia.org/w/index.php?title=User:AzaToth/differror.js&diff=163690181) [00:54:03] thanks for the report, AzaTht [00:54:46] Werdna, "As a side-note, magic_quotes_gpc sucks. Two file-saves with it on, and I spent 45 minutes fixing it up, with a hacky perl script." <-- ? [00:55:24] Usually that kind of mess is easily fixable with bash wildcards. [00:55:30] And possibly rm -i. [00:55:49] heh [00:55:50] I used [00:56:13] Hi, I just intalled mediawiki sucessfully using the installation guide. But is there a guide on how to administer the wiki, like an admin page ... [00:56:21] cat $file | perl -e "while (<>) { s/\\\\(['"'"])/$1/g; print $_; }' > temp; mv temp $file [00:56:33] codex7: well, what do you want to do? [00:57:23] like adding new groups, or adding categories, things like that [00:57:36] Werdna, oh, it was the data you saved to the file that was bad. I thought it was the filenames, for some reason. [00:57:42] no. [00:57:45] *Simetrical uses sed for stuff like that, not Perl [00:57:51] no? [00:57:52] I tried sed, but it whined. [00:57:54] codex7, it's mostly on www.mediawiki.org. [00:58:07] Ey, can capitalise the first letter in the menu header? [00:58:12] codex7, which is not exactly 100% comprehensive, up-to-date, organized, or accurate, but it's what we have, anyway. [00:58:15] codex7: you need to edit configuration files. Something that needs to be fixed, really [00:58:26] ShiryuX, change the CSS. [00:58:31] Werdna, you were probably using it wrong. [00:58:35] let me look again, I just didnt see it before [00:58:44] Simetrical: yeah, I found out the error later [00:58:53] but I was halfway through a perl script by that stage. [00:59:18] <3 perl [01:00:24] Thanks Simetrical [01:00:29] I'll try that out [01:01:37] Werdna , what other configuration files are there other than LocalSetting.php [01:01:47] just LocalSettings.php [01:01:55] lol [01:01:56] but all the options you can change are located in DefaultSettings.php [01:02:08] Werdna thanks [01:02:08] and all explained on http://www.mediawiki.org/wiki/Category:Configuration [01:02:21] looks like I have a lot of reading to do [01:02:29] http://www.mediawiki.org/wiki/Manual:Configuration_settings_%28alphabetical%29 [01:04:44] Werdna, I distrust Perl. Never learned it. Python FTW! [01:04:58] *Werdna slaps Simetrical [01:05:03] I'm trying to learn ruby, actually [01:05:04] just for fun [01:05:07] python r0x [01:06:45] FTW Means? [01:06:57] "for the win" [01:07:08] roughly, "is good" [01:07:38] Thanks [01:09:03] Werdna: nice [01:12:03] Werdna: why does user user js page have different preview and "show changes" functionallity than Mediawiki:Foo.js? [01:12:59] I would say probably the same reason [01:13:04] although preview needs looking at [01:13:35] true [01:14:05] $this->mTitle->isCssOrJsPage() || $this->mTitle->isCssJsSubpage() looks fnunky ツ [01:14:21] AzaTht, it's retarded is what it is. [01:14:27] would Mediawiki:Foo/Bar.js be isCssJsSubpage? [01:14:41] or isCssOrJsPage? [01:14:56] isCssOrJsPage() [01:15:06] *Simetrical thinks it was Rob who introduced this insanity, but isn't sure [01:15:09] so it's not a subpage then ツ [01:15:09] *Simetrical accuses him anyway [01:15:19] hehe [01:15:51] though a subpage is a page [01:16:08] perhaps I'm misstaken... [01:16:17] *Simetrical has suddenly got a spurt of spam e-mail on Gmail [01:16:21] *Werdna stabs rob [01:16:26] Multiple per day over the past few days. Tsk tsk. [01:16:42] Werdna: when you are on the walk, can you fix bug 5678 also? ツ [01:16:58] Simetrical: I also suddenly got plenty via debian lists [01:17:36] Werdna: the bug was http://bugzilla.wikimedia.org/show_bug.cgi?id=10871 [01:17:48] rob tried to downplay it as an enhancement request [01:18:08] *Simetrical only just noticed that the wikitech-l thread on captcha readability is misspelled [01:18:10] *Simetrical is slipping [01:18:19] Slipping? [01:18:26] Don't mean Sleeping? [01:18:49] no [01:19:00] eww, that patch is something I'm going to back away slowly from. [01:19:07] hehe [01:19:19] don't understand it [01:19:22] everyone does that [01:19:23] => Won't commit it [01:19:29] why don't you get svn access, AzaTht? [01:19:45] Werdna: think rob would get kinly then [01:19:51] kinky* [01:20:13] Werdna: basically the patch, I just strapped noargs on it, and it worked [01:20:41] but as the inventor of noargs doesn't know how noargs works, no one has been able to understand what noargs does [01:21:01] but in this instance noargs fixes the problem [01:21:25] Werdna, you had better not copy that code a second time for previews. [01:21:25] but yes, I'm not 100% sure what noargs does [01:22:29] 03(NEW) Add Wikimania 2008 interwiki prefix to all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11628 normal; normal; Wikimedia: Interwiki links; (zach) [01:23:15] Werdna: I don't think there are a way to just "get" svn access [01:23:37] sure there is. you've submitted stacks of patches [01:23:49] poke brion or tim and ask for it nicely [01:23:51] only < 10% gets accepted though ツ [01:24:11] 03(mod) Add Wikimania 2008 interwiki prefix to all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11628 +comment (10cbrown1023) [01:24:19] that's because they're usually so comprehensive that nobody is game to touch them, because they don't understand it [01:24:27] hehe [01:24:36] run parsertests. If you don't get any regressions, I'll commit it. [01:25:08] I want namespaces in php!!!!!!!!!!!!!!!!!!!!!1 [01:25:14] oneleven [01:25:40] 03(WONTFIX) Add Wikimania 2008 interwiki prefix to all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11628 +comment (10axel9891) [01:26:01] actually, I can't. [01:26:16] you will need to re-do the patch [01:26:53] Werdna: true, it's an old patchie [01:27:21] can check it tomorrow if I remember it then ツ [01:27:28] at the moment, I need to seek up my bed [01:27:36] no, just give me an updated patch file for it [01:27:44] so it will actually patch against my mediawiki [01:28:20] I need to seek up my bed [01:28:30] it's late [01:28:32] ugh [01:28:35] MORE REFLECTION [01:29:15] NotACow, reflection a problem in translating PHP to Java? Or whatever you're doing? [01:29:49] Should be fun if you're, e.g., translating from a language that has something like functions as first-order objects, to one that doesn't. [01:30:21] i love translating langauges, it's so fun [01:30:32] *Werdna consoles NotACow [01:30:35] i.e. php into VB.NET [01:30:59] 04(REOPENED) Add Wikimania 2008 interwiki prefix to all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11628 +comment (10cbrown1023) [01:31:03] danopia, which of the two is worse [01:31:03] ? [01:31:19] VB.NET [01:31:23] :) [01:31:46] let's see if you've seen stuff liek this [01:31:55] Dim Name As String = "Danopia" [01:32:08] For I As Integer = 0 To 5 [01:32:35] Console.WriteLine("My name is {0}", Name) [01:32:39] Next [01:32:51] dones't look much like PHP, does it/ [01:33:33] $name = 'Danopia'; [01:33:46] go on [01:33:51] for ($i=0;i<5;i++) { [01:33:55] print [01:34:05] "My name is $name"; [01:34:06] } [01:34:12] ;) [01:34:18] What does {0} mean? [01:34:19] 03(WONTFIX) Add Wikimania 2008 interwiki prefix to all wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11628 +comment (10cbrown1023) [01:34:24] now, imagine converting mediawiki like that [01:34:28] Simetrical: the 0th variable. [01:34:32] . . . of what? [01:34:36] passed after it [01:34:36] That you've ever declared? [01:34:37] the 0th format var [01:34:42] Console.WriteLine is like printf [01:34:43] Oh, format var. [01:34:44] Right. [01:34:47] see the , Name? [01:34:48] *Simetrical didn't spot the second arg [01:34:55] Name is the 0th format var [01:35:04] we are talkign so fast [01:35:09] my TTS can't keep up [01:35:14] it's saying your PHP translation [01:35:15] lol [01:35:28] anway [01:35:33] anyway* [01:35:50] iamgine converting mediawiki form PHP into VB.NET [01:36:07] Surely it should be possibly to do it programmatically. [01:36:14] not really [01:36:23] They're context-free, after all, as languages. [01:36:27] that's liek being able to decompile .exes to soruce code [01:36:34] Which you can do, it's just a mess. [01:36:40] exactly [01:36:52] I'm not saying it won't read like PHP written in VB.NET, or vice versa. [01:37:00] But it should work, in principle. [01:37:03] it'll jsut be VERY messy [01:37:06] and slow [01:37:06] I guess copying the libraries would be the biggest PITA. [01:37:54] could be done [01:38:00] s/copying/translating/ [01:38:03] it would be easier [01:38:08] to convert to C# first [01:38:17] then it's simple to go from C#.NET to VB.NET [01:38:33] no, by the triangle inequality. [01:38:36] ;) [01:38:39] :S [01:38:47] *goes back on #phpbb* [01:38:54] it's always faster to go from A to C than to go from A to B to C [01:39:04] If you're in a metric space. [01:39:04] yes, php is similar to C# is similar to VB [01:39:13] but it's still always faster to go direct. [01:39:16] Or otherwise using a distance function. [01:39:36] not if B is between A and C and A, B, and C are collinear [01:39:45] danopia, it's not a strict inequality. [01:39:48] Less than or equal. [01:40:00] w/e [01:40:04] :P [01:40:05] But it's still not necessarily true that the "distance" between two languages is actually a distance function. [01:40:17] of course not, but it does make sense intuitively [01:40:19] At least not for practical purposes like translations. [01:40:20] C# is very close to PHP [01:40:28] *Simetrical loses all desire to learn C# [01:40:34] but C#.NET is a hair away from VB>NET [01:40:47] syntactically in that it uses c-style braces, if, etc [01:40:49] a simple conversian and clean ccode in either direction [01:41:18] Werdna, you preempted xkcd's punchline by months! http://xkcd.com/ [01:41:20] and for(var, conditoin, ++) format [01:41:21] etc. [01:41:41] Simetrical: I know ;) [01:44:20] danopia: of course, I can name an equal number of differences, you know, the CLASS::static v. Class.static, strong-typing (THAT is hard to do), $, requirement to redeclare globals, treatment of objects, and of course the limitless use of global functions instead of libraries [01:44:24] namespaces, etc [01:44:25] and the list goes on [01:44:46] lol [01:45:47] Ouch, converting dynamic to strong types won't be fun. [01:46:03] i know [01:46:04] :) [01:46:18] . . . Actually I doubt it's possible to automate, in general. [01:46:21] There goes my theory. [01:46:37] You'd need *really* clever static code analysis. [01:46:58] i've done similar stuff [01:47:18] of dynamic to strong [01:47:51] like, for DB functions, making differnet calsses for each DB then setting a var to an instance of whaeveter type was to by used [01:48:04] btw i make a lot of typoes [01:48:11] which doens't work with coding [01:48:12] ;) [01:48:17] Well, you can use polymorphism there. [01:48:34] ? [01:49:30] Or can you? [01:49:33] Hmm, I guess not. [01:49:39] what's that [01:49:42] *Simetrical has done, like, no static-typed coding in his [01:49:43] life [01:50:16] A fancy term for "descendants of the Database class count as Databases even if your language is strongly typed". [01:50:28] But you'd still have to declare them as different types, yeah. [01:50:29] ? [01:51:35] If you have a C++ function void foo( Database bar );, you can call foo( db ) even if db is, say, a DatabaseMySQL. It won't be a type error, as long as DatabaseMySQL inherits from Database. [01:51:48] http://test.wikipedia.org/wiki/Sandbox [01:52:49] *Werdna goes away [01:52:55] there's a page on wikinews that has a title with double apostrophies in it, but we can't move it since it'll reset the date on our DPLs [01:53:09] but, it's impossible to make a link to it. [01:53:11] same with VB.NET [01:53:12] A dev could rename it in the DB. [01:53:53] Zach: I think link targets should be treated as nowiki. [01:54:13] TheFearow, it causes problems anyway. Double apostrophes are banned in titles. [01:54:21] well, not really [01:54:21] They are? Since when? [01:54:27] I think they are. [01:54:29] You can simply create an article with them [01:54:29] *Simetrical checks [01:54:32] i was able to create the pages on test.wikipedia.org [01:54:37] just a week ago [01:54:48] You're right, they aren't. [01:54:56] No reason why they have to be, true. [01:55:03] We need to move a page without resetting its entries in categorylinks. [01:55:13] . . . [01:55:22] That sounds like an exceptionally bad situation to be in. [01:55:35] If we move it and it recreates its categorylinks cache entries, it moves itself to the top of the recently published list for all DPLs that have it. [01:55:39] Something unintelligent happened somewhere along the line. [01:55:51] That seems . . . odd. [01:56:12] Ideally, anything between [[ and ]] (or [[ and |) should be treated as nowiki. [01:56:14] So you need to change categorylinks without changing the dates, I guess, is the point? [01:56:23] You wouldnt ever want formatting there. That would solve the problem [01:56:36] It treats the '' as italics, and therefore ignores the link :( [01:56:57] TheFearow, then you also have to escape it everywhere else the page name could possibly occur. Better to just ban the sequence from page names. [01:57:01] If it's a problem. [01:57:15] Oh, dear. [01:57:24] You really can create pages it's impossible to link to? [01:57:26] That's not good. [01:57:26] How do we solve our problem then. [01:57:27] Yes [01:57:33] lol [01:57:44] Thats why it should escape it in every link at least. [01:57:48] Well, first we can make it an illegal title, and auto-move all existing pages on all wikis. [01:57:56] No! [01:58:05] Which would not update categorylinks. [01:58:08] If there are ones on enwikinews, itll make them show as just published the time they are moved. [01:58:10] Wouldnt it? [01:58:22] Actually, it probably would, come to think of it. [01:58:36] Ask for a shell user in #wikimedia-tech to fiddle with the database for you, anyway. [01:58:38] We need someone to go into DB and just change the name in the page table. [01:58:42] OK [01:59:17] Zach: Which page name is it on enwikinews? [01:59:21] you can link to it as [[%27%27test%27%27]] [01:59:38] http://en.wikinews.org/wiki/%27%277th_Heaven%27%27_television_series_comes_to_an_end [01:59:53] TheFearow, and change all the categorylinks entries, but without updating the timestamp column. [01:59:59] ABCD: But DPLs count, which are responsible for 90 [02:00:01] 90% of our to-article links [02:00:13] Arent categorylinks stored by pageid? [02:00:44] cl_from is a page id, cl_to is text. [02:00:50] Not sure which you're concerned about. [02:01:06] This isn't a category page, I guess? Then yeah, it won't refresh the links. [02:01:15] Actually, I have no idea why it would refresh the link dates anyway on move. [02:01:20] Is there any reason for that? [02:01:35] [[%27%277th Heaven%27%27 television series comes to an end]] is a perfectly valid way to link to the page, if that would help [02:01:37] No, but it does [02:01:55] *Simetrical looks at the code [02:01:58] ABCD: We create headline lists with DPLs, which auto create the links as a parser hook. [02:02:13] We cant change the way it links without modifying code [02:02:25] oh, I just realized what "DPL" meant -- sorry [02:03:45] Ah, I see. [02:03:54] It updates categorylinks to change the sort key. [02:04:01] Yes, that update is necessary. [02:12:47] dpl? [02:14:11] DynamicPageList, you feed it a bunch of categories (or other more advance things) and it spits out a ul with the latest articles from them. We use for headlines etc [02:17:19] 03(mod) Remove "Do you want to purge" screen for anons on Wikinews - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11617 (10fearow00) [02:36:04] What is the difference between the the $user->getNewtalk() on Skin.php line 764, and the $user->getNewMessageLinks() on SkinTemplate.php line 296? [02:38:32] davidmccabe, different return formats? [02:38:45] Simetrical: One has something to do with multiple wikis? [02:39:14] davidmccabe, that too, it seems. But getNewtalk() only returns a boolean. [02:39:27] It looks like the same output is being duplicated by copied-and-pasted code. [02:39:33] What does Skin::pageTitleLinks do? [02:41:54] oh, it looks like it goes in the subtitle. [02:42:04] except... it doesn't. [02:43:13] davidmccabe, there doesn't seem to be copy-pasting between getNewtalk and getNewMessagesLinks. The latter calls the former, in fact. [02:43:33] I mean the calling code. [02:44:02] Ah. [02:44:12] So, is the pageTitleLinks just dead, rotting code at this point? [02:44:20] Or is it just not being invoked on my installation and user account? [02:45:38] 03(mod) Page moves should not create double redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4578 (10kovo1) [02:47:42] davidmccabe, it's called by non-Monobook-based skins. [02:48:09] oh, ok. [02:49:48] (as grep shows . . .) [02:49:57] *davidmccabe is miffed. [02:50:29] Does it look safe to change these to both call the same code? [02:53:30] No. [02:53:59] davidmccabe, change which to both call the same code? [02:54:16] Skin.php line 764 and SkinTemplate.php line 296? [02:54:34] Simetrical: I have an extension that needs to override the user interface of the new-messages notice. [02:54:40] So, it'd be nice to only have to do that in one place. [02:54:48] I don't see why one is doing the interwiki stuff and the other isn't. [02:55:03] (Although, as far as I can see, that doesn't actually do anything yet) [02:55:44] davidmccabe, the formatting for the two is evidently different for Monobook and non-Monobook. They could maybe be formatted the same but with different CSS, or such. [02:56:11] When Gabriel Wicke made Monobook, nobody bothered adapting the old skins to use the same HTML. [02:56:15] 03(mod) Page moves should not create double redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4578 +comment (10fearow00) [02:56:16] Or even similar HTML. [02:56:28] davidmccabe: I just did so, I can give you code to override it? [02:56:37] TheFearow: davemccabe@gmail.com [02:56:48] I'll paste it [02:57:24] hi [02:57:33] i need some help [02:57:40] Just ask. [02:57:49] !ask [02:57:49] Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question. Also, please read: http://workaround.org/moin/GettingHelpOnIrc [02:58:36] davidmccabe: http://rafb.net/p/kzp4z451.html it works on most skins, i'm working on a version to support all. [02:58:44] It took a lot of work to get that far :p [02:59:47] TheFearow: so I put what I want to go in the box in the $tpl? [03:00:24] In that case, I have $text which is what will appear in the new message bar. Itll overwrite whatever is already there [03:00:36] And the hook is already implemented in trunk? [03:00:48] Yep [03:00:50] i install the mw 1.9.3 and when go home_page the url show "path/index.php/Home_Page", Why this [03:00:53] Awesome. Thanks! [03:01:03] It work on the majority of skins, but not all. [03:01:13] As all skins render it diffferently. [03:01:18] *davidmccabe sighs. [03:01:23] But I think I have a way to do it for all. [03:01:56] You set $wgUser->mNewtalk to true, then use a wfMsg hook to return a different value for the new messages bar text. [03:10:43] why the url show index.php/the_wiki_content [03:11:01] what i need modity to dont show the index.php [03:11:15] im using apache on linux [03:11:28] i install the mw on htdocs/mw folder and run from this folder [03:11:57] space0022s, read the documentation on short URLs. [03:15:22] What should I use to test equality among title objects? [03:15:37] !simpleurl [03:15:37] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at http://www.mediawiki.org/wiki/Manual:Short_URL. There are instructions for most different webserver setups. [03:15:38] whoops, nm, equals() [03:15:45] space0022s: See abive [03:19:01] davidmccabe: I can't find maintenance/lqt-schema-change-4.sql in the SVN repository [03:19:14] oops! [03:19:19] I probably forgot to 'svn add' it. [03:20:13] VasilievVV: Thanks for pointing that out. [03:20:19] nvm [03:20:22] 03david * r26578 10/branches/liquidthreads/maintenance/lqt-schema-change-4.sql: Oops, I forgot to 'svn add' this before. [03:21:37] *VasilievVV updated his local lqt test [03:22:26] No user-visible changes in today's commit; the information is simply recorded now, so no more missing data that could be important in the future. [03:23:16] Except the data you never thought to record. [03:24:32] Right. [03:45:29] 03david * r26579 10/branches/liquidthreads/extensions/ (LqtBaseView.php LqtModel.php LqtPages.php): Newtalk notice. Also fixed regression with watchlist hook and CSS. [04:15:50] 03david * r26580 10/branches/liquidthreads/ (30 files in 7 dirs): (log message trimmed) [04:15:50] Merged revisions 26530-26579 via svnmerge from [04:15:50] svn+ssh://david@svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [04:15:50] ........ [04:15:50] r26549 | greg | 2007-10-09 12:15:35 -0700 (Tue, 09 Oct 2007) | 2 lines [04:15:51] Don't cache category pages if 'from' or 'until' is being used. [04:15:53] ........ [04:38:38] 03nickj * r26581 10/trunk/extensions/ (127 files in 12 dirs): eol style native + removing one unused global [04:59:45] 276 errors [05:00:08] NotACow: Are you *STILL* working on that? [05:03:32] Утро доброе [05:27:05] 03david * r26582 10/branches/liquidthreads/ (extensions/LqtPages.php skins/common/lqt.css): Article and Discussion tabs on Thread pages. [05:37:12] brion-office: Would you be opposed to factoring out the logic of whether a link is known or not into a separate function, for when one just needs the boolean, not the html link? [05:37:58] (specifically, SkinTemplate::tabAction uses a simplified check instead of the real one) [05:38:14] separate from makeLinkObj that is. [06:02:31] does anyone how to do this? http://fivedollarwiki.com/fivebucks/search.php ..when someone searches there, it searches for namespace/names on their wiki page. [06:04:04] Wow, that is the stupidest idea ever. [06:05:04] EVSNSTRATEGIC: Should be able to just say: [06:06:26] $t = Title::newFromText($user_input); $available = $t ? $t->exists() : false; [06:07:23] is there any tuts out there for a noob? [06:08:17] Concerning what? [06:10:24] concerning this form. im a total newbie. [06:10:44] Do you know PHP? [06:11:09] a little bit hehe. [06:11:18] just need a little direction. [06:12:53] Probably the easiest thing to do is to copy the functions secureAndSplit and newFromText from Title.php, and decodeCharReferences from Sanitizer.php. [06:13:27] Well, actually, those are all heavily dependent. [06:13:43] I'll tell you a cheap way to do it. [06:13:50] thatd be great. [06:14:03] i'll listen. [06:14:27] Make a web request to index.php/The_Page and search the resulting HTML for the string "There is currently no text in this page" [06:14:52] By the way, who is the maintainer of the English translation? [06:16:39] myself. [06:16:45] hehe [06:17:20] EVSNSTRATEGIC: I'm not sure what the easiest way to do it is. If you can figure out how to import mediawiki code into your own script, just call Title::newFromText as I said above. [06:17:23] Not sure how tricky that is. [06:17:38] Check out index.php or some of the other scripts in the mediawiki source. [06:18:13] will do. or will just use Google Custom Search [06:18:14] lol [06:18:34] If you just want to search, you can use MW's built-in search. [06:18:50] i think that would be the easiest. [06:19:29] is it possible to use MW built in ajax search in a separate page? [06:19:59] MW doesn't have ajax search. [06:20:33] yes it does.. using $wgUseAjax [06:20:39] ah. [06:20:42] Another thing you could do [06:21:01] is make a web request to Special:Search?search=YourPageTitle&go=Go, and see if you get a redirect. [06:21:04] if you do, the page exists. [06:22:34] finding and blocking the 'one word' spammers? (in 50 words or less...) [06:22:51] my site just got 'sponged' [06:23:27] so... how do I list the smallest revisions for example [06:23:30] Thanks David. I think I can work from your suggestions. [06:23:40] Good luck. [06:24:01] faceface: You want to revert existing edits, or stop one-word edits from being submitted? [06:24:15] davidmccabe, both [06:24:28] faceface: for the later, try the attemptSave hook. [06:24:33] perhaps? I don't really know. [06:24:34] one word edits at the start of the page. [06:24:42] OK [06:25:08] I just don't like the idea of a capcha for every edit [06:25:47] 03(NEW) If $wgEmailConfirmToEdit is true, require people to supply an email address when registering. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11629 minor; low; MediaWiki: Special pages; (mediazilla.20.nickj) [06:25:58] 03(mod) Days to show in recent changes cannot be larger than 7 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11612 (10wolkwitz) [07:05:14] 03nickj * r26583 10/trunk/phase3/includes/UserMailer.php: [07:05:14] Minor tweak to prevent an E_STRICT warning: [07:05:14] "Object of class MailAddress to string conversion in includes/UserMailer.php on line 112" [07:05:14] (It seems a bit silly of PHP to give this warning when the class has a __toString method, [07:05:14] but adding an explicit toString() call is easy enough) [07:06:48] good morning [07:07:53] is there anything special regarding mediawiki on a linux host (apache2) regarding virtual hosts ?. Atm all my wikis are located in /var/www/wikis/wikiname. Unfortunaly it seems like vhost are not really working with the link structur [07:09:24] is that just my bad-apache usage, or is there something i have to keep in mind regarding mediawiki and vhosts ? [07:09:38] 03(mod) some Functions don't Work with PostgreSQL - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11331 (10N/A) [07:11:40] 03(mod) Mongolian Wikipedia Tagline - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11483 (10N/A) [07:12:04] 03nickj * r26584 10/trunk/phase3/ (7 files in 4 dirs): (log message trimmed) [07:12:04] Tighten up the handling of $wgEmailConfirmToEdit , plus related functionality: [07:12:04] * Bug 11620 - Added call to User::isValidEmailAddr during accout creation. [07:12:04] * Bug 11629 - If $wgEmailConfirmToEdit is true, require people to supply an [07:12:04] email address when registering. [07:12:05] * adding "prefs-help-email-required" message (which says an email address is required) [07:12:09] to complement the existing "prefs-help-email" (which says an email address is optional). [07:13:56] <_wooz> lo [07:16:01] 03(FIXED) If $wgEmailConfirmToEdit is true, require people to supply an email address when registering. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11629 +comment (10mediazilla.20.nickj) [07:16:52] 03(FIXED) We don't call User::isValidEmailAddr during accout creation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11620 +comment (10mediazilla.20.nickj) [07:32:57] hey guys.. anyone got a good doc on how to setup mediawiki under linux w/ mysql? [07:33:54] joobie: Try http://www.mediawiki.org/wiki/Manual:Installation [07:34:00] thanking you sir [07:34:04] hi amidaniel. [07:34:09] Have you checked out Liquid Threads lately? [07:34:10] Installation on Linux is pretty straightforward .. let us know if you have troubles [07:34:14] It's really starting to come together. [07:34:25] davidmccabe: Nooo, I have not. Lemme actually tinker with it in just a minute [07:34:25] btw.. can mediawiki support external php scr ipts? [07:34:38] What do you mean? [07:34:39] say i design a page with .php.. can i embed with within mediawiki and make it work without too much hassle? [07:34:50] like say i have a php script that does [07:35:00] can i point to that script from mediawiki and make ti execut ethe php [07:35:06] joobie: That should be fairly easy, but no guarantees. [07:35:09] (that is a really simple example of what the script does..) [07:35:15] why no guarantee? [07:35:22] joobie: What exactly do you want to do with php scripts? [07:35:57] joobie: Because I haven't done it before. [07:36:01] well [07:36:30] I have a PHP script i've written which basically has some JS and some other functionality inbuilt.. ie you complete the form, it does some validation and then sends an email off [07:36:48] i was wondering if i can integrate that script with the mediawiki interface.. well, embed it even [07:38:21] joobie: Yeah, you're probably looking to develop an extension / special page [07:38:26] !extensions | joobie [07:38:26] joobie : MediaWiki has been built so it can easily be customized by adding extensions, this is usually a simple process. See http://www.mediawiki.org/wiki/Manual:Extensions for details on writing an extension, and http://www.mediawiki.org/wiki/Extension_Matrix for an overview of known extensions. [07:39:13] Ok, somebody writing for MW is a serious comma-splicer. [07:39:26] There's one in the default no article text, one in the message that bot just posted... [07:39:39] Don't look at me :) [07:39:47] !extensions del [07:39:47] Successfully removed keyword: extensions [07:39:58] !extensions is MediaWiki has been built so it can easily be customized by adding extensions, this is usually a simple process. See http://www.mediawiki.org/wiki/Manual:Extensions for details on writing an extension, and http://www.mediawiki.org/wiki/Extension_Matrix for an overview of known extensions. [07:39:58] Successfully added keyword: extensions [07:40:03] Bletch [07:40:37] !extensions del [07:40:37] You don't have permission to do that. [07:40:41] wiki!!!! [07:40:45] !extensions del [07:40:45] Successfully removed keyword: extensions [07:40:48] !extensions is MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for details on writing an extension and for an overview of known extensions. [07:40:48] Successfully added keyword: extensions [07:41:03] Thank you amidaniel. [07:41:05] @trust c-67-171-249-42.hsd1.wa.comcast.net [07:41:05] Added c-67-171-249-42.hsd1.wa.comcast.net to trusted hostnames list. [07:41:08] yw :) [07:46:16] I've been researching to find a way to add dynamic content to a project I'm working on [07:46:53] I've kind of ran into a block as to the best way to go about this, my boss just dropped it on me [07:47:30] What do you want to do? [07:47:35] I thought he just wanted a simple wiki, but now he wants the home page to automatically updated with data added to a different section [07:47:39] basically... [07:47:51] like a transclusion? [07:48:24] I would have a template for people to input the maintenance for the week into subsection like maintenance/2007/Week41... [07:48:26] yes [07:48:44] and have variables such as date, type, time [07:49:19] Then on the home page it could list those variables for the CURRENTWEEK but not the full details of the maintenance [07:49:34] just in a succinct section on the mainpage [07:50:41] I'm no developer either, so I'm learnign as I go [07:51:16] I know I have some studying to do, but I wanted to make sure I was headed in the right direction [08:01:12] hello. I'm modifying MediaWiki:Sidebar contents so to add new option for the users. I cannot figure how to declare actions for Edit, History and Discuss. Here are my declarations for these three actions: [08:01:14] ** {{SERVER}}{{localurl:{{PAGENAME}}&action=edit}}|Edit [08:01:15] ** {{SERVER}}{{localurl:{{PAGENAME}}&action=history}}|History [08:01:17] Ah, I didn't realize you could use transclusion from another article, I thought it had to come from a template [08:01:17] ** {{SERVER}}{{localurl:{{TALKPAGENAME}}}}|Discuss [08:01:21] These declarations create proper urls, such as "http://www.livepedia.gr/index.php?title=Sidebar%26action%3Dedit" but when clicking I get error message "There is no text for this page" displaying the page name with "&action=" at the end of it. I suppose this is related to the way ampersand and equal sign is saved, "%26" instead of "&" and "%3D" instead of "=". [08:01:21] Does anyone know how to bypass this problem? [08:01:55] xigxag: so will that work out? [08:02:38] It looks promising....I need to figure out how to only include the needed parts of the article with variables [08:04:13] Put that part in a template? [08:08:05] I need to have it setup where others can add the maintenance entries regularly with the full description on the maintenance article for the week, but the Mainpage will have a section that displays the title, date, time for currentweek entries that link back to the full maintenance article [08:09:16] It seems like I could have them make the entries in the Template: namespace then call the variables needed on the Mainpage and then the maintenance page [08:09:26] 03(mod) Setting a temporary usergroup - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10493 (10spidermannequin) [08:10:31] but I don't really want to be putting article entries on Template: .... It would end up being something like Template:2007Week41 Template:2007Week42 etc [08:11:07] I need to have it where they only need to make one entry and the Mainpage can be dynamically updated [08:12:16] It seems like that could work though [08:12:49] 03raymond * r26585 10/trunk/phase3/ (2 files in 2 dirs): [08:12:49] * Update message maintenance file for new message, added in r26584. [08:12:49] * Update German [08:34:06] PS_ I just ran across this: [08:34:34] http://en.wikipedia.org/wiki/Help:Variable#Examples_of_combinations_with_parser_functions [08:34:45] might be helpful to your problem [08:35:33] XIGXAG: thank you, I will try it and be back. [08:54:49] XIGXAG: It is perfect when using it in an article page but it behaves strange when using it in MediaWiki:Sidebar which defines panel options on the left of MediaWiki engine. [09:14:19] 03(mod) Provide more detailed information in the protected page notice - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6179 (10spidermannequin) [09:14:45] hi everyone [09:16:08] got a maybe easy to solve problem with using mediawiki and putting regular code (unix commands) on our pages..anyone eager to help? [09:38:49] 03(mod) Special:Import should have a hook - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11537 (10rv1971) [09:51:05] I have a wiki which has been heavily spammed. ( nearly 1000 pages in all) . Is there a way to delete pages by an author? [09:51:19] ibob63: Check out the Nuke extension. [09:52:22] TheFearow: I have checkout the Nuke extension - but this extension only allows deletion of recent changes and these are quite old. [10:13:57] Can anyone help me write a mysql query to delete a 1000 page by a specific users? [10:13:58] trying to edit a page on mediawiki that shall contain linux-commands. example: [10:14:58] I have tried php Nuke but this only allows the deletion of recently added pages and these are old pages. [10:15:18] wget "[something]" [10:15:18] when trying to save the edited page, i get a "method not implemented - POST to /wiki/index.php not supported" what'S wrong there? [10:17:14] Marcel1979: do you run mod_security or something similar? [10:18:42] Hi there. Someone in my company put some sensitive data on the public wiki by mistake. How do I go about removing it fromt he database? [10:18:42] that should be in apache, right? [10:32:15] how does media wiki decide if something is a recent change? [10:34:15] hi i got a question not sure if this is were to ask [10:34:27] i have had 6 days ago F,B,I call me. [10:34:28] they said i have been having to much net activity. [10:34:28] from torrented movies i told them i did not do it. [10:34:28] and for the past 5 days they went to my uncle's and two cousin's work asking about me. [10:34:28] and showing them my picture. [10:34:28] now they have the home number to where i am so why havent they just come straight to me? [10:34:30] one i do not have a hdd i'm always running live cd so of course i did not [10:34:32] do it now what should i do? [10:34:34] i called attorneys none around here know what to do or where i should go. [10:35:28] maznaz: Oversight extension [10:35:31] or just delete the page [10:35:42] this is a channel for mediawiki, not for law-enforcement problems or torrent problems [10:36:25] Marcel1979: u know what room i can join? [10:36:40] @10flyingparchment01: it was the mod_security.. we'll have a closer look at that.. thanks for the hint :-) [10:36:49] nope @ jerry [10:36:49] jerry760poip_: try #defocus [10:37:20] thanks [10:38:15] 03mkroetzsch * r26586 10/trunk/extensions/SemanticMediaWiki/includes/ (7 files): [10:38:15] Initial new implementations for handling numbers. DT_Float and subclasses shoud soon become obsolete. Some [10:38:15] features still missing. [10:38:33] Werdna, the page is deleted but shows up in deleted items. Was just wondering where in the database I can remove that entry without breaking things [10:38:52] maznaz: try the Oversight extension [10:39:20] Okay, it's common practise to use an extension for this kind of thing then? [10:39:24] Cheers. :) [10:43:23] 03mkroetzsch * r26587 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Number.php: Fix: Reset all variables properly when retreiving values from store. [10:48:00] does anyone if there is a database scheme for mediawiki in the docs anywhere? ( i.e .like a visio diagram?) [10:48:30] there is the shema, i htink, but that is just a SQL statement to create the database [10:48:40] i don't think that there is a siagram, per say [10:50:33] 03mkroetzsch * r26588 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Number.php: Removed forgotten debugging code ... [10:52:13] Ah found the schema - http://www.mediawiki.org/wiki/Image:Mediawiki-database-schema.png [10:59:57] hi guys. I am really in a pickle. I need to delete a massive amount of spam pages ( 1000 + ) from the database. the Nuke extension doesn't work for old page. What can I do? [11:00:52] "old page"? [11:01:46] Sorry. The Nuke extension only deletes recent changes. The pages I need to delete from from july. [11:02:29] I hadn't noticed then because there aren't any links to them. You can only find the spam when clicking random page. [11:03:12] Hrm ... Nuke won't let you go back to July? [11:03:31] apparently not. [11:03:36] 03mkroetzsch * r26589 10/trunk/extensions/SemanticMediaWiki/languages/ (9 files): Updated all languages to use Type:Number, degraded Type:Integer and Type:Float to aliases. [11:03:47] Were they all created by a certain user / ip address? [11:04:10] yes. Only two IP addresses create them. [11:06:49] And when you type in one of those two IP addresses in Special:Nuke it doesn't return a list of pages created by the users? [11:08:24] Correct. Only very recently created appear. I have tested this my searching for my usernames and only a few pages appear. [11:08:44] I was wondering if I could somehow reset all pages to "recently changed" status. [11:09:07] Hmm .. indeed, it's working of the recentchanges table. Odd implementation [11:09:15] can you use the maintenance scripts? [11:10:18] Might try maintenance/cleanupSpam.php [11:11:02] sorry, can you run maintenance scripts? [11:11:03] *amidaniel waves to Werdna [11:11:07] if so, try deleteBatch.php [11:11:25] Werdna: Why not cleanupSpam? seems to be perfect for this purpose [11:11:33] Thanks guys. I will have a look at both :) [11:12:03] Alright :) [11:12:04] amidaniel: that removes spam links, not delete the pages [11:12:07] I think both will probably do it [11:12:13] Oh? [11:12:15] *amidaniel reads [11:12:43] bletch .. indeed. Use batchDelete.php :) [11:12:44] // Didn't find a non-spammy revision, blank the page [11:12:55] deleteBatch! [11:13:02] *amidaniel growls [11:16:27] 03ilabarg1 * r26590 10/branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php: Changes in code to support ConfirmEdit (captcha) extension (similar to ApiRegUser.php). [11:22:23] Werda: Is there any documentation for the batchDelete.php script. Google doesn't seem to find any. thanks [11:23:47] ibob63: The docu's all at the head of the file in the comments [11:24:11] Usage: php deleteBatch.php [-u ] [-r ] [-i ] [11:24:46] ahhh. thanks [11:25:12] listfile being a list of all files [11:25:17] to delete [11:25:21] user being your username [11:25:24] reason being why [11:28:22] This is just what I was looking for and there are loads of other handy tools too to play with. [11:31:52] yes, maintenance/ directory is awesome [11:31:57] eval.php rocks, too. [12:02:21] 03(mod) Days to show in recent changes cannot be larger than 7 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11612 (10roan.kattouw) [12:14:45] 03(mod) Page moves should not create double redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4578 (10roan.kattouw) [12:15:15] 03(mod) Extensions are Blind to IDs and Anchor Names Already in Use - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11625 +comment (10roan.kattouw) [12:15:38] hello [12:20:08] 03(mod) Days to show in recent changes cannot be larger than 7 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11612 (10wolkwitz) [12:22:38] if $wgUseSharedUploads= true; and $wgSharedUploadPath is correctly set, then can the images be used just if they exist in the sharedPath or they need to have a row in image table to database anyway? [12:23:08] am I allowed to put my own scripts in the head of Monobook.php? [12:23:14] javascript [12:23:37] wh2, why head of monobook.php? [12:23:48] you can do it but it doesn't look nice [12:24:08] I'm making sortof a skin on top of monobook and I needed some scripts [12:24:18] doen look nice? [12:24:27] actually [12:24:47] they were never even included in the page [12:24:53] just set $wgUseSiteJs= true; [12:24:55] 03(NEW) Duplicator extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11630 15enhancement; low; Wikimedia: General/Unknown; (ecemaml) [12:25:11] and then change mediawiki:monobook.js [12:25:23] through your site [12:25:32] but if you are skinning [12:25:36] and then I can paste my cripts there right? and theyll get on the page it produces right? [12:25:55] oh [12:26:25] so I set that to true and paste whatever I want on a special page [12:26:36] ok claro (I suppose) [12:27:51] wh2, mediawiki:monobook.js isn't a special page [12:28:00] 14(DUP) Duplicator extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11630 +comment (10raimond.spekking) [12:28:04] 03(mod) Install Duplicator extension on German and English Wikipedias - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8833 +comment (10raimond.spekking) [12:28:41] oh it's a file located... where? [12:29:01] skins/monobook/? [12:29:05] ok [12:29:56] no [12:30:06] MediaWiki:Monobook.js is a system message, located on the wiki [12:30:11] but it is a special page [12:30:18] like http://your.wiki.tld/wiki/MediaWiki:Monobook.js [12:30:20] okok [12:30:28] its a mediawuki: page [12:31:59] 03catrope * r26591 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialPreferences.php): (bug 11612) Days to show in recent changes cannot be larger than 7 [12:33:31] 03(FIXED) Days to show in recent changes cannot be larger than 7 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11612 +comment (10roan.kattouw) [12:35:42] Hello, is there a way to obtain good PDF output from a MediaWiki page? [12:36:00] with a PDF-HTML converter [12:36:17] or, if you like pain, you could write a wikitext->pdf converter [12:36:59] Werda: yes, but which HTML-PDF converter should I use? [12:37:46] there is a wiki to latex to pdf extension [12:38:05] k nebvermind [12:38:13] I have tried to use html2latex, yes [12:38:37] But the output is very bad: since it recognizes elements hidden in MediaWiki [12:38:53] omg it worked? [12:39:02] wow [12:39:03] I've saved for example the printable version of a page, but in the resulting PDF, everything is there [12:39:06] wh2: yeah, worked [12:39:49] Ok so nobody knows of a good plugin for PDF export (for MediaWiki)? [12:40:18] ElvanorAtWork: you could, of course, try printing to pdf [12:40:27] but I imagine that's no good for batches [12:40:37] Werdna: I don't want to do batches, actually [12:40:42] but I cannot print to PDF [12:40:53] while printing to PS, ps2pdf chokes on the file [12:41:30] and anyway, the quality is not good enough [12:42:47] hmm [12:43:05] well, I don't know any shortcuts [12:43:13] maybe some masochist will write a wikitext to pdf converter [12:43:52] hi [12:51:24] if $wgUseSharedUploads= true; and $wgSharedUploadPath is correctly set, then can the images be used just if they exist in the sharedPath or they need to have a row in image table to database anyway? [12:53:29] i have problems to send emails with mediawiki [12:53:48] i install mail smtp and sockets for pear [12:54:00] and i put true on Localsettings variables [12:54:46] need a mta like sendmail, postfix to send this mails or is enough with phpmail classes of mediawiki? [12:56:03] php mail shells out to sendmail [12:56:04] so yes [12:56:09] look in your php.ini, for sendmail [12:56:14] other question is im using innodb, $wgDBtransactions = true; can gain performance or is only for resolve futures with databases [12:56:46] In commons.css, how do I change the preset of a certain table in this case the "prettytable" to be able to apply to more than just one (prettytable) class, ie, typing class=other term should have the same effect as class=prettytable? [12:56:48] resolve future problems with database like binlog [12:57:06] I believe that improves recoverability if your db server crashes in the middle of a request [12:57:10] Adriaan_: put commas [12:57:25] okay, thanks! [12:57:25] so .myclass,.someotherclass { mystyle } [12:57:36] thanks ;) [13:04:37] 03(NEW) MediaWiki messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11631 15enhancement; normal; MediaWiki: User preferences; (ermwiki) [13:24:28] 03(NEW) rctype (list=recentchanges) should use words rather than numbers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11632 minor; normal; MediaWiki: API; (roan.kattouw) [13:32:08] How do I spell Duesendrib? [13:39:39] facefaceface: duesentrieb [13:39:57] 03(mod) Install Duplicator extension on German and English Wikipedias - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8833 (10ecemaml) [13:40:09] hey folks, when I test uploading images to my wiki I get "Upload warning" and in red "Protected Page" I've already set $wgEnableUploads = true [13:41:14] is there something else I need to do? [13:44:44] This is a really dumb question, but what address do I use to checkout from the mediawiki svn server? [13:45:00] there are no stupid questions [13:45:05] just inquisitive idits [13:45:08] idiots* [13:45:15] I tried using http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/ to get the cite extension [13:45:21] but seriously, http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [13:45:37] for that extension, s/viewvc/svnroot/g [13:45:37] and it gave me a 301 [13:47:56] awesome, thanks [13:49:14] 03(WONTFIX) prop= modules should have limit parameter - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11570 +comment (10yuriastrakhan) [13:49:58] thanks Werdna [13:51:55] 03(mod) prop= modules should have limit parameter - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11570 +comment (10roan.kattouw) [13:53:43] 03aaron * r26592 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount.i18n.php ConfirmAccount_body.php): Tweak messages [13:57:51] 03(mod) Page moves should not create double redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4578 (10N/A) [14:02:22] 03(mod) Thumbnails of large PNGs not being generated for gallery - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9497 +comment (10siebrand) [14:12:55] morning kiddies [14:13:09] morning brion :-) [14:13:24] hello [14:13:33] hihe [14:14:51] brion-office: Tampa is UTC-5 or UTC-6? [14:17:09] VasilievVV: wherever Brion is now, his local time is 10:10 (UTC - 4) [14:17:57] VasilievVV: -4 during daylight savings, -5 regular [14:18:58] Good morning brion-office [14:20:46] Mornin' Brion [14:21:55] whee [14:26:32] 03rotem * r26593 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [14:35:15] RoanKattouw: ping [14:35:27] Hey [14:35:29] Hi [14:35:32] What's up? [14:35:54] has allpages been changed reecently? [14:36:17] I'll check [14:36:57] Well not *recently*: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=24694 [14:37:31] hmm [14:38:09] ok... on an other note, apprtype and apprlevel is a but strange imo [14:38:24] why first is apprtype only one value [14:38:43] why not both edit and move? [14:39:17] apprlevel - The protection level (must be used with apprtype= parameter) [14:39:17] Can be empty, or One value: autoconfirmed, sysop [14:39:30] does empty also include not defined? [14:39:44] AzaTht you mean like apprtype="edit", apprlevel="sysop" and move,sysop separately? [14:40:03] apprtype=move|edit [14:40:05] That's because the DB stores it that way [14:40:20] Hmm lemme look at it [14:41:17] would api.php?action=query&list=allpages&apprtype=edit mean only to return pages with no edit protection? [14:41:37] i.e. is api.php?action=query&list=allpages&apprtype=edit same as api.php?action=query&list=allpages&apprtype=edit&apprlevel [14:42:03] have difficult to understand this bit ツ [14:42:47] also, I would like to have an apsuffix modifier also [14:42:52] could be useful [14:42:55] Hi. [14:43:11] AzaTht yes, empty = not set [14:43:19] I think it should [14:43:21] Try ;) [14:43:43] Is there an Hook for the CANCEL action in the edit form? [14:44:06] RoanKattouw: nope [14:44:15] not set returns protected pages [14:44:28] http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprtype=edit [14:44:36] http://en.wikipedia.org/w/index.php?title=/b/&redirect=no [14:45:38] RoanKattouw: first I was looking for a apprtype=noedit ツ [14:45:48] hehe [14:45:52] I'll look at the code [14:46:19] also, there should be a sort parameter [14:46:52] also, search doesn't work [14:46:54] http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=meaning [14:47:02] but that yuo might already know [14:47:04] you* [14:48:03] RoanKattouw: perhaps provide a approp thingi [14:49:23] if $wgUseSharedUploads= true; and $wgSharedUploadPath is correctly set, then can the images be used just if they exist in the sharedPath or they need to have a row in image table to database anyway? [14:49:29] Is there a way I can pass in a parameter to a template and url-encode it within the template? [14:49:39] yes [14:49:53] {{urlencode:{{{param}}}}} [14:50:06] AzaTht: Sweet, thanks [14:51:10] Ok, follow-up .. single-brackets don't seem to work with file:// addresses [14:51:18] hmm [14:51:21] example? [14:51:24] what an alternative? just build an anchor tag? [14:52:08] parameter: |project_folder=S:\Projects\Florida Center For Reading Research [14:52:22] template code: {{#if:{{{project_folder|}}}| {{!}} [file://{{urlencode:{{{project_folder|}}}}} Project Folder]}} [14:52:38] hmm [14:53:04] try file:/// [14:53:06] Is there http config for svn.wikimedia.org on http://noc.wikimedia.org/conf/ [14:53:09] ? [14:53:58] AzaTht: nah .. it's url-encoded and all .. just isn't making a link out of it .. it's just outputting the whole bracketed text [14:54:34] aha [14:54:41] page? [14:54:52] hmm? [14:55:49] hello [14:55:55] 03jvelezv * r26594 10/branches/ApiEdit_Vodafone/includes/api/ApiRegUser.php: Small fix in ConfirmEdit support [14:56:29] how i can add panel either as side bar? [14:56:36] is there an hook to capture cancel action in the edit form? [14:56:36] DigitallyBorn: it's a setting I think [14:56:44] file isn't default allowed [14:56:57] AzaTht: aha .. ok [14:57:11] $wgUrlProtocols [14:57:47] AzaTht: You rock [14:58:14] add $wgUrlProtocols[] = 'file://'; [14:58:18] to localsettings [14:59:18] how i can add panel either as side bar? [15:00:16] 03(NEW) Unquoted value in JSON response - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11633 normal; normal; MediaWiki: API; (russblau) [15:00:54] is there a way to capture cancel action when user edit a page [15:00:56] ?? [15:01:14] RoanKattouw: would it be possible to fix something to resolve http://bugzilla.wikimedia.org/show_bug.cgi?id=11401 [15:01:43] please, someone who answer my question...!? [15:01:45] RoanKattouw: some way to be able to use xpath 1.0 when lookcing for quotes [15:02:01] AzaTht that's really a bug in XPath and not on our side [15:02:21] Can't you somehow Javascript-escape this stuff? [15:02:22] RoanKattouw: true [15:02:27] no [15:02:31] Hmm [15:02:36] xpath 1.0 doesn't handle escaping of quotes [15:02:42] xpath 2.0 does though handle it [15:02:53] but no browsers are yet implementing 2.0 [15:04:05] RoanKattouw: at the moment, these problems occur: http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_User_scripts/Scripts/Twinkle/Bugs#TW-B-0014 [15:05:47] AzaTht as to the appr problem, file it at BugZilla and I'll look into it when I have more time [15:06:10] RoanKattouw: http://bugzilla.wikimedia.org/show_bug.cgi?id=11401 [15:06:28] how i can add panel either as side bar? [15:06:39] No I mean the allpages thing [15:06:51] And I understand the bugs [15:06:52] RoanKattouw: ok [15:06:57] in Twinkle [15:07:36] AzaTht is there no JS function that can str_replace() or something similar? [15:07:49] RoanKattouw: regex? [15:07:51] str_replace('"', '&quot;', string) [15:07:54] Maybe [15:08:11] RoanKattouw: it's in xpath, not putside [15:08:14] outside* [15:08:23] and yes, I can do that [15:08:35] I know but if you str_replace or regex *before* running it through xpath... [15:08:43] that was my simple suggestion in the bug that you could provide a mode to do that for the api putput [15:08:59] RoanKattouw: not possible [15:09:07] can not str_replace the DOM [15:09:25] Oh right [15:09:35] Do you mean XPath's DOM handling handles quotes wrongly? [15:09:44] please, answer on my question.... [15:10:16] RoanKattouw: no, they just forgot to specify for xpath 1.0 the abillity to escape quotes [15:10:29] so no one have made such implementation for xpath 1.0 [15:11:02] hunt_ not that I know of [15:11:04] RoanKattouw: I can not for example do like this: [15:11:22] foo[@title="foo\"bar\""] [15:11:45] though in xpath 2.0 it would be foo[@title="foo""bar"""] [15:12:46] var normal = xmlDoc.evaluate( '//normalized/n[@from="' + wgPageName.replace( /"/g, '\"\"') + '"]/@to', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; [15:12:53] that's the current code [15:13:05] I made it functional for xpath 2.0 ツ [15:13:34] var normal = xmlDoc.evaluate( '//normalized/n[@from="' + wgPageName.replace( /("|')/g, '$1$1') + '"]/@to', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; [15:13:39] that would be more correct [15:18:37] *VasilievVV wonders if SVN works [15:21:39] *AzaTht thinks it does [15:21:42] 03(NEW) allpages thingis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11634 15enhancement; normal; MediaWiki: API; (azatoth) [15:21:53] RoanKattouw: ↑there [15:22:46] Thanks [15:23:08] thinki the example there is a usefult type to be able to find [15:23:26] useful* [15:25:18] Why might I Be getting a "protected page" warning when testing file uploads? [15:25:58] I've enabled $wgEnableUploads for what it's worth [15:27:00] where i can define $PAGEEDITOR_RAWURL variable for mails sended? [15:30:38] what is $PAGEEDITOR_RAWURL? [15:30:57] 03(mod) allpages thingis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11634 +comment (10roan.kattouw) [16:03:14] 03purodha * r26595 10/trunk/phase3/languages/messages/MessagesDe.php: missing comma. [16:07:04] Using oversight safe? Wont break when I update MW? [16:07:36] EVSNSTRATEGIC there is a version of Oversight guaranteed to work with 1.11.0 lemme get a link [16:08:06] EVSNSTRATEGIC, Oversight is an officially-supported extension used on Wikimedia sites. It won't break as long as Wikipedia uses it, at any rate. [16:08:07] thanks [16:08:41] True [16:08:46] Just get the latest version [16:08:49] That's bound to work [16:09:42] RoanKattouw, no it isn't, not if it's been updated since 1.11 was branched. [16:09:49] http://www.mediawiki.org/wiki/Extension:Oversight [16:09:53] will that work on 1.11? [16:10:03] Dunno, there is a link though lemme get it [16:10:34] http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_11_0/extensions/Oversight/ [16:10:38] Download those three files [16:10:42] Oversight works with 1.11 [16:10:50] They're tagged as "working with 1.11" so that should be fine [16:11:10] Jack_Phoenix but does the current SVN version of Oversight also work with 1.11.0? Do we know that? [16:11:49] well, my sites are using Oversight and MediaWiki 1.11...I could update the oversight extension right away to test it to make sure [16:12:13] 03(mod) Extensions are Blind to IDs and Anchor Names Already in Use - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11625 (10david.sledge) [16:12:27] that would be great,...cuz the answer "should be fine" isnt enough..when you're using it for your intranet. [16:13:15] EVS: maybe you should use supported software that provides guarantees, then [16:13:27] 14(DUP) Extensions are Blind to IDs and Anchor Names Already in Use - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11625 +comment (10roan.kattouw) [16:13:33] 03(mod) HTML IDs for headings can be the same as existing IDs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7356 (10roan.kattouw) [16:13:33] noted. [16:13:42] hmm [16:14:03] EVSNSTRATEGIC, I've just updated the page to include appropriate version links. http://www.mediawiki.org/wiki/Extension:Oversight [16:14:14] the last update to HideRevision.php was by Simetrical, and that was some time ago, just removing that ?> tag...so yeah, I could say it works...unless someone b0rkened i18n file :P [16:15:02] Jack_Phoenix Sybrand has been doing lots of i18n updates lately [16:15:29] cool, thanks. [16:16:20] so I'd go ahead and say Oversight is about as stable as it gets ;-) [16:17:37] thanks. [16:17:53] off-topic: does anyone know when Leopard is coming out? [16:17:59] it says October. its now october. [16:19:17] EVSNSTRATEGIC: Leopard? [16:19:31] mac/apple leopard [16:19:32] mac os x 10.5 [16:19:33] sorry. [16:25:50] i want one page to store all my references (i.e. books, magazines, articles, etc...) and have all my other pages be able to use thise reference page for citing purposes. is this possible out of the box or do i need an extension? i have been using the extension biblio for citing, but having to copy/paste the parts of the same references when needed.. [16:26:24] Anyone know how to use Language.php's getMessages() function - I initiated the Language class as $wgContLang, but I get the message Fatal error: Call to undefined method Language::getMessages() in /usr/home/MinuteElectron/public_html/w-devel/config2/MiniParser.php on line 15 [16:27:40] MinuteElectron: global $wgContLang; $wgContLang->getMessages() worked for me, I believe [16:28:39] hmm [16:28:41] I have: [16:28:42] global $wgContLang; [16:28:42] $r = $wgContLang->getMessages( $name ); [16:28:50] Weird [16:29:15] yeh [16:32:37] hello [16:33:31] what's the best way to set up multiple Wikis that use the same user database? [16:33:40] does MediaWiki provide such a feature? [16:34:18] it might be possible to write an AuthPlugin extension to do that, but i don't think it's available as a standard feature [16:34:34] Is there a quick way to see all the new articles a user has created? Special:Contributions doesn't mark them and Special:Newpages on Wikipedia at least doesn't go back very far [16:35:23] NotACow: It's not just authorization, the settings of the users should also be shared among all Wikis [16:35:47] RoanKattouw: It would help if the function was getMessage not getMessages :P [16:36:16] 03rotem * r26596 10/trunk/phase3/languages/messages/MessagesHe.php: More Hebrew translations for magic words. [16:36:20] hehe [16:36:39] Colin_Finck: Another option is Extension:Farmer - multiple wiki setup with some shared data. Overkill for just 2 wikis. [16:39:32] purodha: two Wikis would be a start, but currently we also have pages in many languages on one Wiki [16:39:48] separating them in extra Wikis would also be a good idea in my opinion [16:40:59] Colin_Finck: Ok, I don't mind :-) [16:41:07] :D [16:43:28] ok then is there any way to get a list of the new articles a user has created? [16:44:11] It's a nice to have a category in mediawiki.org: Category:Extensions used in wikimedia projects [16:48:30] blahtex.org is no more... [16:52:56] AzaThe, Can I ask what you meant blahtex.org. It looks like a parked domain [16:53:41] 03rotem * r26597 10/trunk/phase3/languages/messages/MessagesHe.php: Hebrew aliases for special pages. [16:56:17] 03mkroetzsch * r26598 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php: Minor cleanup [17:03:27] Soroush83: blahtex is/was blahtex [17:04:00] http://www.mediawiki.org/wiki/Extension:Blahtex [17:04:41] Does anyone today know how to make apache read the main index.php file, regardless of what is on the end of the URL ?? (So I can make the multiple wikis how-to actually work) [17:07:02] AzaTht, thanks [17:16:43] Werdna: PING [17:16:48] 03(mod) Colon functions: undefined parameter (default) values clobbered - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5678 (10azatoth) [17:17:19] Werdna: get your lazy ass of the sofa [17:18:03] Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid/gid is 32928/32928 is not allowed to access /mounted-storage/home74a/sub002/sc41977-VFUP/www/wiki/images/thumb owned by uid/gid 99/99 in /mounted-storage/home74a/sub002/sc41977-VFUP/www/wiki/includes/GlobalFunctions.php on line 1670 [17:18:08] how do i get out of safe mode? [17:18:26] Moniker42, edit php.ini. [17:18:56] Simetrical, yes... [17:19:59] Simetrical, where is it? [17:20:34] anyone? =( [17:21:00] Moniker42, do you have root access to the server? [17:21:18] Simetrical, i'm not sure [17:21:26] i don't have SSH [17:21:32] Moniker42, then you don't have root access and can't change it. [17:21:45] = you're screwed. period. [17:21:46] afaik i don't even have PHP [17:21:53] Moniker42, complain to your host. [17:22:14] bah. i already asked them to change me to a server with straight-out PHP (not just cgi-bin or whatever it is) and they said wouldn't have any problems running mediawiki without it [17:22:28] It's safe mode that causes some problems. [17:22:30] *Moniker42 will open the ticket again [17:22:34] I'm not sure why the file ownerships are different, though. [17:22:43] It should be possible to make them the same. [17:22:49] Make sure you post the exact error you got. [17:23:06] 03rotem * r26599 10/trunk/extensions/Makesysop/ (3 files): Using standard extension messages system and special pages system. [17:23:12] "Yes, Servage supports PHP5. [17:23:12] On clusters without regular PHP5, you may use it as CGI. If you have many PHP5 scripts, we recommend that you request your account to be moved to a cluster with PHP5." [17:23:29] i already requested them to move me to a cluster with PHP5... they said "naaah you don't need it" [17:23:39] haha [17:24:01] Moniker42: time to change I think [17:24:10] no, i'll just complain :) [17:24:12] i only asked once... [17:24:15] they seems not to deserve customers [17:24:19] Moniker42: then tell your host that they don't need your money :) [17:27:00] ping mutante hello [17:27:27] "I asked last week for my account to be moved to a cluster with PHP5 and I was told I shouldn't need it to run MediaWiki, but I'm getting lots of problems and errors because of this - please enable PHP5 for my account." [17:27:36] i'm being polite... because it's best not to be rude to sysadmins :P [17:27:43] and if they say "no" this time then i get rude [17:28:04] Jack_Phoenix, AzaTht above sound okay? :P [17:28:24] no - change to a better host IMO [17:28:43] better = more expensive :P [17:28:47] *Moniker42 doesn't have the cash [17:28:52] my host is quite lousy, but hey, I have at least SSH access, PHP & MySQL 5 and no freaking safe mode... [17:28:55] especially as i already paid them for six months [17:30:35] 03rotem * r26600 10/trunk/phase3/languages/messages/MessagesHe.php: Reverting special page aliases: something went wrong, 'no special page' messages. [17:33:37] Jack_Phoenix, AzaTht i'm new to this whole hosting game... i was asking someone with the same hosting company as me and i can toggle safe mode in settings :P [17:36:57] what's the difference between PHP Safe Mode GID and PHP Safe Mode? [17:38:29] Safe mode based on GID allows scripts to access any file that's in their group. Default safe mode requires it has to be the same user, which is stricter. [17:38:36] But in the case of the error you posted, either one would fail. [17:38:50] I really wonder why the files are in different groups. [17:39:13] Oh, wait, I know. [17:39:22] Of course, the thumbs directory was created by apache. [17:39:52] But, hmm, so will any thumbs be, I guess. [17:40:10] So you probably can't get it to work with safe mode, although I'm not totally sure. [17:45:50] Hi! [17:45:57] 'd need some help [17:46:23] i'd need to delete a page, but in my tabs only appears [17:46:27] * Artículo [17:46:28] * Discusión [17:46:30] * Editar [17:46:31] * Historial [17:46:33] * Trasladar [17:46:34] * Vigilar [17:46:39] but no Delete [17:46:56] what can I do ? [17:47:37] Solusan: login as sysop [17:48:07] Simetrical, is turning safe mode off uuh...... unsafe? :) [17:48:11] I mean as a user with sysop rights [17:48:18] well i log with 'dsolanes' and i gess that this is the administrator [17:48:50] it's possible that dsolanes could be the administrator? [17:49:07] Simetrical, it's still not working =( [17:49:21] Moniker42, only if you upload unsafe scripts. Webhosts can't be sure nobody's going to upload unsafe scripts, so they sometimes turn on safe mode. But if you actually have to deal with the hassle, it's rarely worth the slightly added security. [17:49:30] Moniker42, what error? [17:49:34] same error [17:49:36] oh, wait [17:49:49] Solusan, look at the page: Special:Listusers and see if dsolanes is listed as an administrator. [17:49:57] there's a message from my host saying it takes <3 hours for them to apply the changes [17:50:08] i go :) Simetrical [17:52:20] Simetrical: Wiki (Burócrata, sysop) [17:52:22] :) [17:52:36] I go to see if i remember this passwd [17:55:40] well i mut to go at phpmyadmin to change the passwd [18:02:21] Werdna: ATTENTION [18:07:50] OOOOOOOOK Simetrical thx alot ^_- [18:07:58] bye bye ;) [18:23:22] 03mkroetzsch * r26601 10/trunk/extensions/SemanticMediaWiki/ (13 files in 4 dirs): [18:23:22] Special property "display units" now accepts comma seperated lists of units; no more need for "main display [18:23:22] unit". Life again is a little simpler. [18:28:39] Hello everyone :) [18:31:22] 03rotem * r26602 10/trunk/phase3/languages/messages/MessagesHe.php: Add back Hebrew aliases for special pages, fixed. [18:36:21] I have a question about password protecting the entire wiki [18:36:36] ok [18:36:37] !ask [18:36:37] Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question. Also, please read: http://workaround.org/moin/GettingHelpOnIrc [18:36:48] sorry [18:36:51] :) [18:36:57] your probably new, so am i i [18:37:05] the conly caommand i even know is !ask [18:37:15] so, what is your question [18:37:16] I'm trying to use mod_ldap in apache to restrict anyone from reading the wiki, but it isn't working [18:37:30] it was previously using mod_mysql or whatever it's called, and that was working fine [18:37:52] i have the ldap plugin working once youre actually viewing the wiki, but I can't get the apache part of the login working [18:37:58] what i would do is use .htaccess to password portect the folder that the wiki is in [18:38:10] i don't konw much about LDAP [18:38:15] i mean i have setup /etc/apache/httpd.conf properly [18:38:26] the same way i've password protected other websites using mod_ldap [18:38:27] scratch that, i don't even know what LDAP is [18:38:30] hehe [18:38:31] ok [18:38:38] :) [18:38:55] well is there a special method by which mediawiki authenticates users to give them read access? [18:39:04] or a way by which the wiki gets the username from apache? [18:39:31] for example, the ldap logins mostly begin with a lowercase letter...do you think that could be the root of the issue/ [18:52:06] Ok, so Im new to all this stuff. I was able to sucessfully install apache/mysql and am running Mediawiki from http://localhost/wiki. However, Im totally lost as to how to configure it? Like I would like to edit what links show up on the left side in the menu. And I would also like to make sure its only acessable on local network, and not through the internet. How do I do those things? [18:52:31] XDuxaX http://localhost/wiki/MediaWiki:Sidebar [18:52:53] The LAN/internet thing is done in your router configuration [18:55:06] k ill try it. thanks [18:56:46] hmm when I do the above, it tells me access forbidden.. where do I put in the pass/login info? [18:57:07] Hey, was searching the help.. can't find much on this. Um. Just a pointer would be nice ^^. Basically, when someone enters wiki markup for ordered lists (with the # notation) I want to have it use
  • item
  • instead of just
  • item
  • [18:57:16] XDuxaX you mean for the database? [18:57:19] LocalSettings.php [18:57:33] Zotnix why'd you want that? [18:57:43] RoanKattouw: Styling reasons. [18:57:53] I want to make ordered lists bolded (just the numbers) by default. [18:58:00] Zotnix can't you just apply CSS to
      items? [18:58:09] RoanKattouw: It changes the item itself too. [18:58:11] Or to
    1. items or whatever [18:58:25] There's gotta be a way to apply CSS to a
    2. [18:58:35] RoanKattouw: Doesn't work. You have to either 1.) add a class to
    3. or 2.) add tags. [18:58:43] RoanKattouw: It's a topic of debate online about CSS actually :p [18:59:08] Zotnix you can't just globally add styles to
    4. 's while you can to
        's and basically every other tag? [18:59:12] That just sucks [18:59:26] RoanKattouw: It does :/ [18:59:31] Im trying to change the links in the sidebar, and when I put in the address you gave me (http://localhost/wiki/MediaWiki:Sidebar) it says Access Forbidden... so Im guessing i need to log in somewhere.. but where [18:59:33] RoanKattouw: So I have to hack what # outputs. [19:00:05] XDuxaX maybe http://localhost/wiki/index.php?title=MediaWiki:Sidebar ? [19:00:15] Wait forget that [19:00:21] Does MediaWiki give that error? [19:00:28] Does it say you're not allowed to edit the page? [19:00:38] Or don't you even get to see the MediaWiki page in the first place? [19:00:45] i dont get to see the page [19:00:55] it gives Eror 403 page [19:01:04] Ah [19:01:08] Access forbidden! [19:01:08] You don't have permission to access the requested object. It is either read-protected or not readable by the server. [19:01:18] What happens if you go to your wiki's main page? [19:01:23] anyone of you ever used Extension:Farmer? [19:02:22] I can see the main wiki page.. by just going http://localhost [19:02:33] i can edit articles and everything [19:03:09] XDuxaX go to MediaWiki:Sidebar as if it were an article [19:04:07] should it be :Sidebar? like the name of my wiki is Duxwiki.. should it be Duxwiki:sidebar? [19:04:16] No [19:04:19] MediaWiki:Sidebar [19:05:22] BartVB are you ther? [19:05:24] e [19:07:03] got it.. it was "http://localhost/Duxwiki/index.php/MediaWiki:Sidebar" [19:07:11] thanks :) [19:09:58] ok so, now another question.. once im there I just edit that page correct? [19:10:23] how do I make a link to a website? like whats the code for that? so that when they click on the link in that left menu it takes them to a website rather than an article [19:11:08] XDuxaX http://www.example.com/|Example.com [19:11:19] So URL|description [19:12:06] kk thanks [19:13:08] what are the # or ~~~~ and whatnot called exactly? [19:13:14] That'd probably help me a lot in my quest :p [19:13:23] wikitest [19:13:26] *wikitext [19:13:33] ~~~ is for a signature [19:13:40] heya MinuteElectron :) [19:13:43] # is for each item of a numbered list [19:13:47] Jack_Phoenix: Good evening. [19:13:49] MinuteElectron: Right. [19:13:52] rar [19:13:59] Zotnix the code is somewhere in Parser.php I guess [19:14:14] I mean collectively. I am trying to find something to change the default output of those tags. [19:14:17] RoanKattouw: I'll look. [19:14:41] It may be in Parser.php, but don't expect your quest to understand the parser to be easy. [19:15:27] Found it :) [19:15:41] It is so weird for my latest project I am making a MiniParser just to do basic stuff. [19:15:56] That's probably a bitch already [19:16:55] RoanKattouw: lol, I haven't even done anything parser-y, just getting messages from the message files and spurting them out - I hope to do a bulleted list thing soon. [19:17:06] hehe [19:17:21] So you've spent most of that time on wfMsg and friends? [19:18:39] I just scrapped wfMsg style things in my parser, it just has a single function $wgMiniParser->getMessage( $name ) which runs the message wikitext through a parser function (currently empty) and spurts it out. [19:19:28] ^^ [19:19:36] This is still the Java project right? [19:20:06] I am not the one doing the Java project lol. [19:20:13] This is the config2 project. [19:20:15] Oh [19:20:17] Which is? [19:20:39] NotACow is doing Java MediaWiki, I on the other hand, am doing a config rewrite [19:20:51] :P [19:23:58] RoanKattouw: Thank you. I got what I needed. Parser.php is what where the functions were stored. I hacked it slightly :D [19:24:21] MinuteElectron which means concretely? [19:24:47] I am rewriting the configuration script into a front-back end system so there can be a command line configuration tool. [19:24:56] Right [19:25:06] Why not go for config in the web interface rightaway? [19:26:18] becuase in some circumstances (i.e. in wikifarms) it would be much more useful to be able to write a bash script rather than having to use the web installer - I am going to have a web front-end to though [19:29:35] Anyways thanks. [19:29:48] MinuteElectron: The parser was pretty easy to figure out, actually. ACtually very nice code. :) [19:29:59] if you says so [19:30:05] Zotnix I don't believe you [19:30:14] Everyone complains about how fucked up our parser is [19:30:28] It is extremely difficult to create a parser with nice code. [19:30:46] Well [19:30:51] It was easy to change what I wanted. [19:30:54] Three functions. [19:31:01] Three!!! [19:31:05] It should be just one [19:31:11] No, it was three. [19:31:12] For a list. [19:31:12] This is just for # ->
          right? [19:31:19] ron# ->
            [19:31:27] Yeah ol [19:31:29] I changed it to # ->
              [19:31:40] Three?!? A good parser would have just one [19:31:48] RoanKattouw: One to open the list [19:31:53] ONe to do the next item [19:31:55] One to close the list [19:32:01] It also handled other types of lists [19:32:13] Yeah, * and that stuff [19:32:18] Oh right [19:37:03] hi. i'm using a template "Foo" which contains: **** **** My page contains: **** {{Foo|zipcode=12345|city=new york|street=foobar}} **** [19:37:24] Lemme guess, it doesn't work [19:37:28] Problem: the googlemap extension gets the string "{{{zipcode}}} {{{city}}}, {{{street}}}" as $query [19:37:38] That's a known bug [19:37:49] A workaround is {{subst:foo|zipcode=12345|etc.}} [19:38:03] Which will be substituted by a tag [19:38:16] erm? [19:38:19] i dont get it :) [19:38:37] how do i have to change the template? [19:38:44] You don't change the tempalket [19:38:46] *template [19:38:49] ok [19:38:51] You include it differently [19:39:01] You use {{subst:foo|zipcode=12345|etc.}} [19:39:05] foo --> subst:foo [19:39:13] Try it and see what happens [19:39:14] ok, i try [19:39:37] Hooray, it works! :)= [19:39:45] thank you, roankattouw :) [19:39:48] There is a catch though [19:39:49] you're my hero of the day [19:39:52] Go and edit the page again [19:40:01] And look at where you just put that {{subst: stuff [19:40:13] mmhhh [19:40:15] not good [19:40:36] is there a way to fix this in the code itself? [19:40:38] No [19:40:56] This is a known bug in MediaWiki, and pretty hard to fix [19:41:18] The point is that and other extension tags are parsed before {{{1}}} and friends are expanded [19:41:29] i just wanted to write this [19:41:34] damn [19:42:21] The only viable solution IMO is to change the GoogleMap extension to expand {{{1}}} itself [19:42:31] But lots of other exts have the same problem [19:43:45] This bug has been around since 1.4, we're now at 1.11 [19:44:01] this is pretty ... dork [19:44:20] Yep [19:44:59] But the subst: workaround should be fine in your case [19:46:08] nah, not really [19:46:19] i have many articles about same subject [19:46:44] changing the template instead of 10 pages is desired [19:46:46] I see [19:47:10] i'm using the wiki as an addressbook, too [19:47:12] But the point in using templates is that when you add some text to 1,000 pages, you can change it all at once [19:47:31] Here that's not the case: that tag will probably never change [19:48:16] but the is inside a "pretty fance name, strett, address, cell phone"-layout etc [19:48:33] OH [19:48:35] Oh [19:48:36] Hmm [19:48:43] Well that just sucks :( [19:48:59] my page looks like this: {{addressbook|street=foo|zipcode=bar|phone=...}} [19:49:55] well, it's no big deal. i move the from the template to each page ... it's only a little overhead [19:49:55] Can you try putting the thing in [[Template:Googlemap]] and doing {{subst:googlemap|zipcode={{{zipcode}}}|etc}} [19:50:07] Dunno if it'll work though [19:50:08] Worth a try [19:50:35] i'll try [19:52:49] nah [19:52:51] this is not good [19:53:01] then i have to copy&paste the content [19:53:11] {{subst:googlemap|blahblah}} is supposed to work [19:53:12] it's the same as moving the map out of an template [19:53:23] thermoman not exactly [19:53:35] Now you have to copy/paste only once rather than to every page [19:54:01] Use {{subst:googlemap|blahblah}} Template:Addressbook [19:54:48] i mean i have to put in every article the {{addressbook|street...}} and {{googlemap|street...}} . it's the same as {{addressbook|street...}} and , isn't it? [19:54:57] No [19:55:11] 03(mod) Install Duplicator extension on German and English Wikipedias - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8833 (10Platonides) [19:55:22] You put {{subst:googlemap|zipcode={{{zipcode}}}|etc.}} in TEMPLATE:ADDRESSBOOK [19:55:30] And move the stuff to Template:Googlemap [19:55:39] ah [19:58:04] should i concat the strings in addressbook or googlemap template? [19:58:19] e.g. give "query" or the 3 things as parameter? [20:00:47] roankattouw: doesn't work [20:00:59] i get this in my article: [20:01:11] {{subst:Googlemap|query=new york}} [20:01:35] thermoman change something minor (punctuation for instance) in your article and save it [20:01:36] when using {{subst:Googlemap|query={{{city}}}}} in TEMPLATE:ADDRESSBOOK [20:01:41] did it [20:03:19] this is in googlemap template: [20:04:45] roankattouw: i'm running 1.11.0 [20:05:13] theromoman so you changed something in the article and that doesn't help? [20:05:33] I need some help with lost login sessions. I have mediawiki 1.11 installed on two load balanced servers, both which access the mysql database on the first server. Anyone think they can help me? [20:05:33] Can you check that your change shows up in the page history? [20:05:47] DSEDave what's the problem? [20:06:28] The login is lost at random times. Hitting refresh on the same page will get a combination of logged in and not logged in [20:06:45] roankattouw: it does show up [20:06:57] a pretty template from wikipedia doesn't show up properly transluded in another template [20:07:08] Hi, all. I just enabled the AJAX search box, and it is really slick. Is there a way to make it also do a fulltext search vs. only searching the beginning of titles? [20:07:10] DSEDave that's weird and I don't know why it happens. Sorry :( [20:07:17] theromoman then I cannot help you, very sorrty [20:07:24] (MW 1.11.0) [20:07:25] Contact the GoogleMap maintainers maybe [20:07:35] wh2 which template? Example? [20:07:53] bar percent in bar box [20:08:12] bar percent shows up as raw html [20:08:21] (table syntax) [20:08:32] Link? [20:08:58] http://wiki.webdizains.com/index.php?title=Barbox [20:09:58] anyone have experience setting up mediawiki behind a load balancer? [20:10:16] the original template on wikipedia: http://en.wikipedia.org/wiki/Template:Bar_box [20:10:25] dsedave: wikipedia does :) [20:10:38] well let me give them a call then :) [20:10:56] wh2 did you {{subst: that template? [20:11:18] DSEDave: maybe a more concrete question would get you a more concrete answer [20:11:21] No you didn't sorry [20:11:49] Hello everybody! I'm feeding content into a page via the Article->doEdit() function with a $content variable, which is made up of wikitext. How can I get it to properly render an html tag? [20:12:11] you mean prepending "subst:" before the name of the transcluded template [20:12:14] right now its just spitting the raw html out onto the page [20:12:15] um actually yea [20:12:21] AphelionZ: it's not allowed in wikitext (would be dangerous) [20:12:50] AphelionZ: and it's not spitting the raw html out (which would actually do what you want), but it escapes it. [20:13:07] wh2 can you try to use Template:Bar percent without subst:? [20:13:10] yah! and I don't get it.. [20:13:30] AphelionZ: wiki text you generate programmatically has to follow the same rules & restrictions as wikitext created by users... [20:13:34] I actually tried either way [20:13:40] I guess [20:13:50] Duesentrieb_: understood... here's what I've done so far - I'm instantiating an Image object and I'm calling the getThumbnail() method... is there another way I can get those results into the page template I've created? [20:14:23] AphelionZ: o_O? i think you are very confused... [20:14:44] wh2 yep you did [20:14:53] AphelionZ: the way to get a thumbnail in wikitext is [[Image:whatever.jpg|123px]] or [[Image:whatever.jpg|thumb|some text]] [20:15:10] you are generating *wikitext* [20:15:13] use *wikitext* [20:15:21] Duesentrieb_: it's a long story... but in your second example... what if the whatever.jpg didn't exist [20:15:33] the image thumb generation stuff is for generating html *from* wikitext. you don't need to touch it... [20:15:37] does it still use the blank placeholder image [20:15:47] if the target image doesn't exist, you get a red link. [20:16:11] Duesentrieb_: I am developing a wiki (With mediawiki, of course) which is 2 servers behind a firewall. Both installations are exact copies of each other accessing the same database on the first server. The issue i'm having is lost login sessions. When the load balancer switches what server you are accessing, the login is lost. If you keep clicking refresh until it throws you back to the other server, your login is restored. How does one go about telling Me [20:16:15] actually I had to put the subst: on the article itself is that something you do on wikipedia?? [20:16:26] Load balancer, not firewall, sorry [20:16:44] AphelionZ: i don't get it - if you want a placeholder image, the simply check if the image exists, and if not, generate different wikitext. [20:17:02] Duesentrieb_: see, when I use the function it returns this image http://www.wikibon.org/skins/common/images/icons/fileicon.png which i find to be really useful [20:17:08] but yeah, I guess I could check on my own [20:17:18] DSEDave: tell php to store session data on a shared (nfs) drive. [20:17:37] DSEDave: this applies to session handling in general, btw. [20:18:16] DSEDave: alternatively, you can tell mediawiki to put the session info into the objectcache ($wgSessionsInMemcached) - might work, but ymmv. [20:18:20] wh2 have you enabled and tags in allowed tags in LocalSettings.php? [20:18:51] no um how do I do that but wikitable class and everything works.. [20:19:05] AphelionZ: uh, it depends on the mthod you use, i think - the "empty icon" thing is used for galleries, i think [20:19:14] you *could* simply make a single-entry gallery... [20:19:26] forgive my lack of acronym knowledge... ymmv? [20:19:33] ok so I should wiki "enabling tags" right? [20:20:07] Duesentrieb_: so what's the proper way to see if an image exists? is there a special method in a MW object or should I just do it the old fashioned PHP way [20:20:26] Duesentrieb_: Thanks for the tips. I'll look into both. [20:21:05] wh2 look in includes/DefaultSettings.php for a setting that looks like it lists allowed tags [20:21:23] Then *copy* the relevant lines to *LocalSettings.php* and customize it there [20:22:04] AphelionZ: hm? what would be the old fashined way? the simplest ir probably to ask the Title object if it exists (if there's not method for that, check if id != 0) [20:22:36] Duesentrieb_ there is a method for that [20:22:45] And internally it checks if id != 0 ;) [20:22:58] RoanKattouw: from the Title object or the Image object [20:22:58] http://svn.wikimedia.org/doc/classTitle.html [20:23:37] $titleObj->exists() [20:23:44] http://svn.wikimedia.org/doc/classTitle.html#89d274d2e56bd2bf5b88548b1a015c63 [20:24:01] cool [20:24:13] cool cool cool, thanks guys :) [20:26:55] hello [20:27:45] is there a tag for turn "numberheadings" for 1 page [20:27:58] like __NOTOC__ but for numberheadings [20:29:18] llaumgui: There is an Extension set for __(NO)NUMBEREDHEADINGS__ and similar [20:29:55] have you the name of this extension please ? [20:31:31] llaumgui: See http://www.mediawiki.org/wiki/Extension:MagicNoNumberedHeadings (either itself, of follow the "see also" links at the bottom of the page [20:33:17] I try [20:41:32] roankattouw: how do i prevent mediawiki from caching? e.g. so i dont have to alter an article to see changed i made to an extension? [20:42:04] thermoman that's probably your browser doing the caching [20:42:11] Try Shift+Reload button [20:42:23] If that doesn't fix it, index.php?title=Article_name&action=purge [20:43:04] thermoman: action=purge is your friend. but if you are changin css/js stuff, mind the browser cache too. [20:43:17] thermoman: generally, touching LocalSettings.php purges all serverside caches [20:45:28] duesentrieb_: action=purge - where? [20:45:35] ah i see [20:45:37] If that doesn't fix it, index.php?title=Article_name&action=purge [20:46:54] So here is a question [20:46:59] when I go to http://localhost/Duxwiki/index.php/MediaWiki:Sidebar [20:47:03] i can edit the side menu [20:47:06] Yes [20:47:13] will any user of my wiki site be able to do that? [20:47:15] hi, I'm trying to install mediawiki, but upon accessing install.php for some reason it redirects to a SSL certificate, and I can't continue. Why would it redirect to SSL? Server issue? [20:47:20] XDuxaX no [20:47:27] Not unless they're a sysop [20:47:35] ok ty [20:47:36] And they only will be if you make them one [20:47:41] 03siebrand * r26603 10/trunk/ (15 files in 14 dirs): [20:47:41] Localisation updates from Betawiki. [20:47:41] * Fixes and additions to 12 extensions for bcl [20:47:41] * Updates for MessagesBcl.php [20:47:47] whats the proper method(s) to call to see if an image title exists? [20:48:03] Vooloo: the server might handle the path "config" specially [20:48:12] AphelionZ: exists() [20:48:19] hello all [20:48:41] sorry, i knew that from earlier... what about before that... like if I know there's an Image:Junk.JPG [20:48:48] hey [20:48:51] how do I instantiate the title object in the first place [20:48:56] how would one rename a whole category? [20:49:10] i can see newFromText( $text, $defaultNamespace = NS_MAIN ) [20:49:17] ApheloionZ see http://svn.wikimedia.org/doc/classTitle.html search for newFromText [20:49:18] Yup [20:49:29] $newTitle = Title::newFromText("Image:Example.jpg"); [20:49:35] lch you can't [20:49:35] so is it Title::newFromText("Image:Junk.JPG", NS_IMAGE) ? [20:49:39] No [20:49:42] No NS_IMAGE [20:49:46] oh ok [20:49:48] cool :) [20:50:11] lch you have to delete Category:Oldname and create Category:Newname [20:50:16] You can't rename them, unfortunately [20:52:49] I couldn't find anything suggesting possibility to allow certain tags (but anyway I have tables there on the site so that shouldn't be the issue) [20:53:03] What is the command to edit the Toolbox menu on the left? [20:53:04] soo I should try a similar template and see what happens [20:53:13] XDuxaX you can't [20:53:17] i believe is is a wikipedia page [20:53:19] oh wiat [20:53:22] toolbox? [20:53:22] oh ok [20:53:25] i think that's in the code [20:53:29] Mediawiki:toolbox? [20:53:32] w/e [20:53:33] :) [20:53:36] doesnt work wh2 [20:53:55] No [20:54:00] Toolbox isn't customizable [20:54:06] RoanKattouw, and for the pages in that category? [20:54:06] it was on their site on mediawiki I rmeber [20:54:09] Go to your User: page and see what happens to it [20:54:16] can I automate it, somehow? [20:54:17] are you sure [20:54:27] lch you have to *manually* change them. Yes, that sucks :( [20:54:34] lch there might be a bot for that, dunno [20:54:46] ok thanks [20:54:53] XDuxaX go to your User: page and see what happens to the toolbox [20:55:04] Its contents depend on what kind of page you're viewing [20:55:14] But you can add other boxes [20:55:19] In MediaWiki:Sidebar [20:55:27] After installing Mediawiki on the front page it says "Successfully installed bla bla".... do I just edit that page to be the front page? or Should I make a separate page and somehow redirect the Home button to it? [20:55:43] XDuxaX no just edit it [20:55:46] k [20:55:50] It's called "Main Page" for a reason ;) [20:56:14] But you can change that so Germans can have "Hauptseite", French have "Accueil", etc. [20:56:18] Also, is there an easy way to change the background color of those whole wiki site? [20:57:35] totally [20:57:35] How would I do that? [20:57:35] do you want to edit just the monobook skin? [20:57:35] I assume yea [20:57:46] yeah [20:57:53] whatever the default skin is [20:58:00] like id like it to look similar to wowwiki.com [20:58:04] in terms of colors [20:58:07] well then you could just customize wikiinstallation/skins/monobook/main.css [20:58:48] XDuxaX modify MediaWiki:Monobook.css [20:58:48] You have to know CSS to do that though [20:58:49] Or MediaWiki:Common.css [20:58:49] The latter is better [20:58:51] XDuxaX: yes and no. [20:58:52] you can change the background using css easily enough [20:58:52] but quite a few things define their own background color which will look odd on a very different background [20:59:11] but common.css changes apply to all skins? right? [20:59:17] wh2 you can do that through MediaWiki:Common.css and Monobook.css [20:59:21] wh2 yes [20:59:39] oh there's a monobook.css too - didn't know that [20:59:55] XDuxaX you can also stela wowwiki's CSS files [21:00:02] *steal [21:00:19] yea just like I stole wikipedia's [21:00:24] lol [21:00:25] how do u do it? [21:00:52] XDuxaX create an account at wowwiki.com [21:00:59] Go to Special:Preferences -> Skin tab [21:01:09] Look at the name of the skin that's selected [21:01:25] Let's say it's WowBook [21:01:32] Then you go to MediaWiki:WowBook.css [21:01:34] View source [21:01:42] Copy to your own MediaWiki:Monobook.css [21:01:49] Same treatment for MediaWiki:WowBook.js [21:02:01] thank purodha [21:02:08] your tip work fine [21:02:59] what does .js store? [21:03:22] JavaScript that works with the skin [21:03:34] It may not work completely though [21:03:37] Hi, I upgraded a mediawiki to 1.11.0 buy installing it in the mediawiki directory by running config/index.php, but I changed my site name to sth new and set $wgMetaNamespace to the previous [21:03:46] sitename [21:04:12] now, pages in the project namespace are empty [21:04:21] another dumb question, if I want to create a category "Bar" in the namespace "Foo", then I have to create Category:Foo:Bar, right? [21:04:26] they can be seen in Special:Allpages [21:04:34] and in search [21:04:35] lch no Category: is a namespace of its own [21:04:46] ok [21:04:59] but their links are red [21:05:08] soroush83 you mean you first created OldSiteName:Pagename and THEN changed $wgMetaNamespace to OldSiteName? [21:05:38] RoanKattouw Where do I go to Mediawiki:wowbook.css ? [21:05:53] XDuxaX as if it were a page on WowWiki [21:06:01] First create an account at WowWiki [21:06:08] so like this ? http://www.wowwiki.com/MediaWiki:WowBook.css [21:06:14] Then go to Special:Preferences -> skin tab -> see which skin is selected [21:06:17] RoanKattouw, I renamed the first directory, extracted mediawiki 1.11.0 to the last dir [21:06:36] Then go to MediaWiki:Skinname.css [21:06:37] and installed it using the last db prefix but I usedd [21:06:49] a new Sitename [21:06:50] soroush83 you said you changed $wgMetaNamespace [21:06:59] Can you change it back? [21:07:00] could anyone recommend me of some help resources regarding template transclusion on a MW installation, like a help desk for instance? [21:07:14] then I set $wgMetaNamespace to the last name [21:07:16] like specifically template transc. [21:07:20] wh2 it's called www.mediawiki.org [21:07:32] 03brion * r26604 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialUndelete.php): [21:07:32] * (bug 7872) Deleted revisions can now be viewed as diffs showing changes [21:07:32] against the previous revision, whether currently deleted or live. [21:07:32] In cases of mixed or merged histories this may not produce ideal results. [21:07:32] Currently only auto-selected previous revision is available to diff against; in future could potentially allow diffing against any other revision. [21:07:36] 'Show changes' button may currently display on the individual revision view form even if there's no prior revision available. Should be correct in the list view though. [21:07:51] soroush83 what happens when you change $wgMetaNamespace to its previous value? Does that make the links blue again? [21:08:08] nothing happens [21:08:15] all links are red [21:08:25] and all pages are inaccessible [21:08:32] yah but I can't find anything except general knowledge stuff [21:08:37] however they are indexed and [21:08:45] We have page url's like "http://wiki.wsu.edu/ctltwiki/Main_Page" -- how can that be if no subdirectory ~/ctltwiki/Main_Page exists at all? [21:08:49] wh2 what you're trying to do is so advanced that it isn't possible ;) [21:08:50] 03(FIXED) Deleted revisions in Special: Undelete should be viewable as diffs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7872 +comment (10brion) [21:08:53] they can be seen in Special:Allpages [21:09:02] Solifugus aliases in the Apache configuration [21:09:04] ok RoanKattouw that worked.. however when I put it into my wiki, the Text fields stayed white... is there something special I need to do to make them same color as wowwiki? [21:09:08] soroush83 link to your wiki? [21:09:10] it happens just to pages in Project namespace [21:09:23] XDuxaX that's weird [21:09:28] Should be in the CSS [21:09:34] RoanKattouw, http://neysampad.ir/wiki [21:09:35] yea lol!! does that mean I get no pretty templates? ;_; [21:09:38] RoanKattouw: so you alias for every possible page? [21:09:40] Maybe steal their MediaWiki:Common.css and .js too [21:09:44] Solifugus no [21:09:59] You Alias /ctltwiki/ /where/your/wiki/is/index.php [21:10:11] RoanKattouw: how does it work? The problem is this works in IIS and I cannot figure out how to make it work on apache (trying to do a conversion) [21:10:48] how can I look up all pages in a specific namespace? [21:10:50] Solifugus just add the line "Alias /ctltwiki /path/to/your/wiki/index.php" to your Apache config file [21:10:54] lch Special:Allpages [21:11:01] thanks [21:11:15] RoanKattouw: in the virtual host for it.. ok.. i will try.. [21:11:17] XDuxaX edit main.css edit it argh [21:11:27] nevermind [21:13:32] soroush83 http://neysampad.ir/wiki/index.php?title=%D9%88%DB%8C%DA%98%D9%87%3AAllpages&from=&namespace=4 no red links for me [21:13:39] there is no wowwiki.js =/ only css [21:13:42] If you do still get them, try Shift+Reload button [21:13:42] is that normal? [21:13:48] XDuxaX no problem [21:14:14] but they go nowhere [21:14:26] sorry, I was dc for a few seconds [21:14:31] Right [21:14:41] the links in main namespace are red [21:14:47] That's weird [21:15:07] What if you change $wgMetaNamespace to Project? [21:15:21] Does that help? [21:15:30] the project name is long [21:15:35] but let me test it [21:15:40] a few minutes [21:15:41] No I mean just "Project" [21:17:15] ok. I'll do it. The site will be down for a few minutes now [21:17:59] ok so is there like a 1 line command I can put in to change the background color and font color in Common.ccs? [21:18:13] XDuxaX not that I know of [21:18:20] I'm I correct in my understanding that there is currently no way to download wikipedia's images? (I'm mirroring the content from the list xml dump for offline use for my group) [21:18:26] Can't you just steal WoWWiki's Common.css? [21:18:27] last* [21:18:47] glguy http://commons.wikimedia.org/ is where the images are stored [21:18:56] I tried Roan but it only changes the background.. not the fields with text they stay white. [21:19:28] Look for "textarea {" and inside the { } block, look for bgcolor or something similar [21:19:43] RoanKattow, you mean to change $wgSitename back, ok? [21:19:50] Yes [21:19:57] To "Project" [21:22:20] glguy http://meta.wikimedia.org/wiki/Data_dumps#Downloading_Images_from_Wikipedia_and_Wikimedia_Commons [21:22:20] Hmm [21:22:20] soroush83 try going to these Project: pages by their old name, i.e. OldwgMetaNamespaceValue:Pagename [21:23:10] Anyway soroush83 I gotta go [21:23:16] I'll explain what I meant one more time [21:23:27] RoanKattouw, thanks. I'm doing [21:23:39] the site and my network a bit sucks [21:23:40] Does it work? [21:23:55] not yet [21:23:58] Hmm [21:24:13] RoanKattouw: I thought I read somewhere that these torrents would no longer be updated, is that the case? (they'll work this time for the static mirror I imagine) [21:24:13] That's weird [21:24:18] Dunno [21:24:21] Anyway, I gotta go [21:24:25] Good luck everyone [21:24:37] good luck . Have good Time [21:24:41] soroush83 I'm very sorry but you'll have to ask someone else to help you further [21:40:36] 03brion * r26605 10/trunk/phase3/includes/SpecialUndelete.php: Obey diffonly preference for undelete diffs [21:52:48] code tags not working. (???) [21:53:14] is that possible [21:55:36] anyone here? [21:56:40] I wonder if commenting out extensions in localsettings to test requires disabling browser cache [21:57:46] cause i didn't disavle browser cache maybe I've missed something [21:58:11] but how can tags not work [22:03:38] 03(mod) Template parameters unavailable to XML-style parser tags - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2257 (10mediazilla) [22:07:39] 03mkroetzsch * r26606 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_DV_Linear.php SMW_DV_Number.php SMW_DV_Temperature.php): Support for selecting output unit and for using display units in query results [22:10:40] hey everyone [22:10:54] is there a way to ban the creation of a page based on its name? [22:11:16] like I dont want to have any pages created by the name of InsertNameHere [22:11:35] yes. I saw that in the documentation yesterday. (but can I find it again?) [22:15:15] 14(INVALID) MediaWiki messages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11631 +comment (10robchur) [22:15:21] sandro: it would be cool if you could [22:15:40] Found it. It's an old extension though..... status unknown. http://www.mediawiki.org/wiki/Extension:BlockTitles [22:15:55] word let me check it [22:23:26] 03(NEW) Please add Auto-Conversion to bitmap formats on-request - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11635 15enhancement; normal; MediaWiki: Images; (FSNNDYHEXYAP) [22:26:23] sandro: that worked like a charm [22:26:27] I appreciate yourhelp [22:26:30] excellent! [22:26:49] 03vrandezo * r26607 10/trunk/extensions/SemanticMediaWiki/includes/SMW_Settings.php: Added smwgNamespace [22:31:30] 03vrandezo * r26608 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php: Corrected export of NArys [22:34:33] 03vrandezo * r26609 10/trunk/extensions/SemanticMediaWiki/maintenance/SMW_dumpRDF.php: Replaced options[] with array_key_exists [22:37:29] 03vrandezo * r26610 10/trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php: Several minor fixes in the RDF export [22:43:37] Is there a place where I can get a css to have black background on my wiki page? [22:43:55] Werdna: still sleeping? [22:46:54] 03vrandezo * r26611 10/trunk/extensions/SemanticMediaWiki/languages/ (SMW_LanguageHe.php SMW_LanguageNl.php SMW_LanguagePl.php): Corrections on some of the language files [22:51:01] XDuxaX: * { background-color:black ! important } [22:51:09] lastlog -clear [23:13:07] Does anyone know of a way to convert drupal to media wiki? [23:16:04] Duesentrieb where do I put that command line/ [23:19:34] i'm getting "The file is corrupt or has an incorrect extension. Please check the file and upload again. Retrieved from "http://moniker42.com/wiki/index.php/Special:Upload"" when i try to upload a file any idea what could be causing this? [23:20:09] PNG files are enabled in localsettings.php and php safe mode is disabled [23:30:26] Real qucik I'm just curious where the changelog for mediawiki can be found [23:35:11] moo [23:40:54] 03vrandezo * r26612 10/trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php: Off by one error corrected in the browser [23:42:51] Where can I enable Image Uploads? [23:52:11] anyone here running a MW install with >50k pageviews/day, other than wikipedia and wikia? [23:53:26] i'm getting "The file is corrupt or has an incorrect extension. Please check the file and upload again. Retrieved from "http://moniker42.com/wiki/index.php/Special:Upload"" when i try to upload a file any idea what could be causing this? [23:53:27] 03(FIXED) Special page SMWPageProperty not used, browsing broken - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11568 +comment (10dvr) [23:53:32] any idea what's causing that? [23:54:25] 03vrandezo * r26613 10/trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialPageProperty.php: Resolved yet another off by one error, now in the PageProperty Special [23:55:40] 03vrandezo * r26614 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php: Fixed typo (key -> id) [23:59:13] 03amidaniel * r26615 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryRecentChanges.php): (bug 11632) API: Breaking change: Specify the type of a change in the recentchanges list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively. [23:59:38] 03(FIXED) rctype (list=recentchanges) should use words rather than numbers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11632 +comment (10cannon.danielc)