[00:02:13] darkcode: yes, but not sure what causes the rewrite rule goes wrong [00:04:07] + is used as part of a regular expression, so guess the rewrite engine protects against accidentally misinterpreting it by encoding other occurrences of it, whatever the reason the solution is to use Aliasing instead [00:04:17] argh, why can't I use backlinks in a generator? :( [00:05:00] 03(mod) Reorganize Special:Specialpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10457 (10gangleri) [00:05:22] + is also interpreted as a space [00:06:54] 03(mod) Installing DeletedContributions extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10464 (10gangleri) [00:08:15] 03(mod) New special page to display deleted contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10525 (10gangleri) [00:10:22] 03(mod) Show Deleted Contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10251 (10gangleri) [00:12:44] 03(mod) Showing deleted contribution of a user to sysops - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10492 +comment (10gangleri) [00:12:58] 03(mod) New special page to display deleted contributions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10525 (10gangleri) [00:13:16] 03(mod) Special page to list deleted contributions of a user - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1699 +comment (10gangleri) [00:13:25] 03(mod) Special page to list deleted contributions of a user - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1699 +comment (10gangleri) [00:17:03] 03(mod) Formatting wrong in enhanced recent changes/ watchlist when RTL text is the last in the edit summary (not in IE) - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7885 (10gangleri) [00:21:41] 03(mod) transwiki bug and GFDL - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6525 (10gangleri) [00:30:23] 04(REOPENED) main focus of Special:Contributions is misleading - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3628 +comment (10gangleri) [00:32:20] Hello [00:32:24] (again) [00:32:45] Well, a retard I registered recently if vandalizing my wiki. How to delete or ban him? [00:32:58] I'm very tired of his stupid jokes [00:33:50] to ban you should be able to do it from their userpage [00:34:09] erm [00:34:19] via their conbritubitions [00:39:37] Special:Blockip [00:45:22] Hi. Has anyone used a rich text editor with MediaWiki? Which one works best? [00:47:55] !wysiwyg [00:47:55] --mwbot-- What You See Is What You Get editors allow you to create articles and see the text formatting without needing to Show Preview. A list of wysiwyg editor extensions may be found at . [00:49:07] MrZ-man, thanks but IPs change... :) [00:49:14] Ashfire908, ok thanks [00:49:38] Blockip is just the general blocking page for IPs and registered users [00:50:00] the name is misleading :( [00:50:01] Any way of do something like this but with a custom content? Look at this, I mean something like the "This article or section": http://en.wikipedia.org/wiki/MIDIbox [00:50:30] timofonic: it's just a template [00:50:40] the one used on wikipedia is quite complex though [00:50:45] !templates [00:50:45] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [00:51:02] http://en.wikipedia.org/wiki/Template:Ambox [00:51:24] but to use it on another wiki you would also need to copy some CSS [00:51:25] I just want to put "This article/page is translated from . you can find the original page "" [00:51:26] yep [00:51:31] nice work that one, actually [00:51:43] Duesentrieb, ok :) [00:52:01] timofonic: you can make templates with whatever content you like. making them a) reusable and b) pretty is more complicated :) [00:52:40] Duesentrieb, I have no clue about HTML stuff and it seems this can make things more difficult :P [00:52:51] for making stuff pretty, yes. [00:53:00] for that, you need a little html, and quite a bit of css [00:53:11] for writing *some* template, you don't need html [00:53:24] read the help page [00:53:25] This {{{3|article or section}}} is translated from {{{1}}}, you can find the original page [{{{2}}}|here] [00:53:27] Duesentrieb, that's rocket science to me. I just want a "This article/page is translated from . you can find the original page " [00:53:30] Ashfire908, thanks :) [00:53:54] timofonic: the help page is rocket sience? really? [00:54:15] or if the is a link you can do tha same thing [00:54:26] Duesentrieb, err I mean HTML and CSS [00:54:43] and if is internal add a [ ] [00:54:50] timofonic: go to the page Template:Hello and write "Hello World" on that page. go to some other page, and write {{Hello}} [00:54:57] simple enough [00:55:09] *Ashfire908 is away now [00:55:11] Ashfire908, is an external link and too :) [00:56:47] This {{{3|article or section}}} is translated from [{{{2}}} {{{1}}}], you can find the original page [{{{2}}}|here] [00:56:50] erm [00:56:53] This {{{3|article or section}}} is translated from [{{{2}}} {{{1}}}], you can find the original page [{{{2}}} here] [00:57:04] that work for you? [00:57:16] :) [00:57:56] Ashfire908, wait I'm testing this :) [00:58:04] if you called that Template:Translated, you would use it on a page as {{Translated|name of source|source URL|section}} [00:58:11] Ashfire908, but thanks for all [00:58:20] MrZ-man, thanks :) [00:59:02] and replace "section" with whatever you are describing, or you can omit that one and it will give "article or section" by default [01:00:14] 03(NEW) users should be able to see / review all the contributions they made; including the deleted ones - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12524 major; normal; MediaWiki: Special pages; (gangleri) [01:02:52] 03(WONTFIX) users should be able to see / review all the contributions they made; including the deleted ones - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12524 +comment (10JSchulz_4587) [01:03:40] 03(CLOSED) zh-hant centralnotice text shows up as grey box when using variant=zh-hant - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12511 (10kbblogger) [01:03:49] 03(mod) Extension stylesheets should be loaded before any others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10184 (10daniel) [01:03:54] MrZ-man, {{Translated|nameofsite|main url|url to the original content}} not works. I did somethng wrong? :P [01:04:29] did you create Template:Translated? [01:04:58] MrZ-man, This article or section is translated from [{{{2}}} {{{1}}}], you can find the original page [{{{2}}} here] [01:06:42] Try This article or section is translated from [{{{2}}} {{{1}}}], you can find the original page [{{{3}}} here] [01:07:31] MrZ-man, ok, going to try [01:07:35] what is it doing wrong when you try to use it? [01:11:28] MrZ-man, it did "This the-full-url-of-original-article is translated from linked-site-with-the-correct-specified-named, you can find the original page here (and links to the url of the main site) [01:11:39] MrZ-man, going to test it, sorry I was looking at other thig [01:12:56] MrZ-man, it shows OK now. THanks a lot :) [01:13:04] no problem [01:17:47] 03(mod) users should be able to see / review all the contributions they made; including the deleted ones - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12524 (10gangleri) [01:21:10] n8 [01:22:00] 03(mod) Spam blacklist match should show error above edit box - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9416 (10gtisza) [01:34:24] 04(REOPENED) users should be able to see / review all the contributions they made; including the deleted ones - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12524 +comment (10gangleri) [01:40:57] hmm [01:44:29] gangleri: in a fight between a developer and a user, the developer _always_ wins [01:45:29] MZMcBride: not if other devs think otherwise too [01:46:05] *MZMcBride realizes; was quoting from somewhere... [01:46:36] and more making the point that you should avoid coarse remarks when discussing bugs [01:47:02] hard-headed end users drive change. they always have. [01:47:22] 03(mod) Installing DeletedContributions extension - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10464 (10gangleri) [01:47:32] TimLaqua: did you read the comment on that particular bug? not very nice [01:47:38] i did not [01:47:42] *TimLaqua takes a look [01:47:52] 03(mod) Special page to list deleted contributions of a user - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1699 (10gangleri) [01:48:02] yikes. bad form. [01:51:13] hmm, oddness [01:51:41] {{REVISIONTIMESTAMP}} will display the time of the last edit, but will be updated to display the time of the last null edit, upon performing a null edit [01:51:56] but &action=purge will put it back to the time of the last actual edit [01:53:05] those revision magic words are goofy; tim tried to remove them but brion objected... [01:54:38] *Skizzerz never knew they existed... [01:55:53] http://test.wikipedia.org/wiki/Friezetemplate should show two timestamps at the bottom, until ?action=purge is applied [01:59:44] hmm [02:01:37] Splarka: ugh, that is odd [02:03:16] this could probably be fixed by using $timestamp instead of getTouched()? [02:03:27] i'm trying to download this extension: http://www.mediawiki.org/wiki/Extension:ConfirmAccount [02:03:35] er [02:03:38] the first step is to download it from svn - where is the svn? [02:03:39] getTimestamp() [02:03:51] http://svn.wikimedia.org [02:04:11] iam8up: in particular you want http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ConfirmAccount/ [02:04:25] can i ask how you navigated to that so quickly? [02:04:43] I clicked the link in the infobox on the page :) [02:05:12] ...wow do i feel dumb... [02:05:16] good looking out =) [02:05:40] case 'revisiontimestamp': [02:05:41] return $this->getRevisionTimestamp(); [02:05:46] don't worry, I was once like that too :P [02:05:50] well, I guess that is the null edit's timestamp [02:06:59] Skizzerz - would you be able to tell me what the name of the extension is that requires a preview before a save? it is installed on mediawiki.org [02:07:13] it's javascript IIRC [02:07:47] iam8up: http://www.mediawiki.org/wiki/MediaWiki:Common.js -- the part where it says "force preview for anons" [02:08:11] just copy that to your wiki's MediaWiki:Common.js [02:08:44] uhh hopefully you know a little bit of js to help me - how can i change if (wgUserName != null || wgAction != "edit") return; to any user? [02:08:54] just make it if (wgAction != "edit") return; ? [02:09:13] no [02:09:38] er, wait... that would work [02:09:47] but it would require EVERY user to force preview [02:09:51] *Splarka snickers [02:09:55] that's what i'm looking for! [02:10:03] you might try... [02:10:04] http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions [02:10:10] and setting "previewonfirst" [02:10:12] *Skizzerz , unlike splarka, fails at javascript [02:10:17] (whatever that does) [02:10:20] my users seem to LOVE to change one or two words/letters and save so the history log is really hard to use [02:10:30] Splarka: that displays the show preview thing when you first click the edit tab/link [02:10:39] it doesn't force the preview :) [02:10:54] well, that's silly [02:10:56] ya that wouldn't do what i'm wanting [02:11:07] what i want is for everyone to preview their edits before they save and write to the history [02:11:10] so the javascript is what you need to do [02:11:17] *need to use [02:13:55] 03(mod) add {{revisiontime:}}/{{lastrevision:}} colon/ parser function or {{REVISIONtimeformat| }} functionality to current magic words - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6092 +comment (10herd) [02:13:58] i put that js code in the common.js file but i think it needs something to apply it to the pages, it doesn't seem to forcing me to use the preview before a save [02:14:32] did you clear your browser cache? [02:14:34] iam8up: bypass your browser cache [02:14:51] AaronSchulz: http://bugzilla.wikimedia.org/show_bug.cgi?id=6092#c17 [02:14:54] let me try it in exploder..i don't think the clear cache works right in firefox [02:15:08] firefox is Shift + refresh [02:15:22] (although ctrl + f5 works too IIRC) [02:15:29] or just ctrl-r in FF [02:15:31] sweet, it is working [02:15:40] or clicking 'reload' sometimes clears the js cache efficiently too [02:15:44] FF = control but IE = shift [02:15:45] but not back/forward [02:15:47] Splarka: working on it [02:15:52] I see where the problem is [02:15:53] AA: sweet [02:16:06] i did the whole ctrl/shift/delete and then followed it with a control/refresh [02:16:13] firefox just holds onto cache like no other... [02:16:23] nah, if you want a really evil cache... [02:16:24] IIRC firefox holds dns cache until restarted [02:16:30] opera, with favicons [02:16:39] or firefox with favicons loaded via a 302 redirect [02:16:43] ya but who cares about favicons? [02:16:48] some people do ^_^ [02:16:52] *Skizzerz does [02:17:01] *Splarka had to help people with favicon caches at wikia all the time [02:17:14] price of having /wiki/Image:Favicon.ico uploadable [02:17:18] firefox doesn't save them for bookmarks, so you have to load the page for them to show up, but at that point they're not great [02:19:49] wait i fucked up a minute ago: Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; [02:19:58] per the mediawiki.org common.js [02:20:01] firefox simply requires holding down shift and pressing the refresh button [02:24:41] that's what they say... [02:24:53] that's right; i do it all the time [02:25:05] *Skizzerz does too [02:25:13] *Skizzerz huggles firefox [02:27:47] *Skizzerz smacks himself repeatedly over the head [02:28:26] I wasn't getting the correct form data because I was using $wgRequest->getCheck() instead of $wgRequest->getVal() >_< [02:39:54] if i run the query CREATE TABLE /*$wgDBprefix*/account_requests will it look like CREATE TABLE account_requests command wise? [02:50:31] 03aaron * r29311 10/trunk/phase3/includes/Article.php: Don't compare text twice [02:58:52] iam8up: yeah. [02:59:12] TimLaqua - ok, thanks for the note =) [02:59:28] hate running :s with those funky symbols =/ [02:59:41] escaping this and that and another symbol...blah [03:16:50] i'm trying to install the extension:confirmaccount but i got [Sat Jan 05 22:15:43 2008] [error] [client 24.x.x.x] PHP Fatal error: Call to undefined function wfLoadExtensionMessages() in /var/www/html/wiki/extensions/ConfirmAccount/SpecialConfirmAccount.php on line 83, referer: http://my.domain.com/index.php?title=Main_Page in my error_log - anyone know what causes this? [03:17:22] 03aaron * r29312 10/trunk/phase3/includes/Parser.php: [03:17:22] Revision timestamp comes out as the current time when no rev ID is given (like [03:17:22] the first time prepareTextForEdit() is called). This works for new revisions, [03:17:22] but is wrong for null edits. Needs to be flagged so that editUpdates() knows to [03:17:22] parse after rev ID given so that it can get the last timestamp. [03:18:38] iam8up: did you put SpecialConfirmAccount.php on your server? [03:18:44] *AaronSchulz can't stop drinking Dannon's smoothies [03:18:55] wfLoadExtensionMessages is 1.11+ [03:18:59] MZMcBride - ConfirmAccount/SpecialConfirmAccount.php ? [03:19:22] iam8up: either upgrade to MW 1.11 or grab a copy of ConfirmAccount from the 1.10 branch [03:20:08] ahh i see, i'll upgrade to 1.11 [03:20:13] however updated the message loader didn't bump the required version listing [03:20:32] AaronSchulz: true. [03:20:50] ahh i knew i'd seen aaron schulz before...i was reading it on some mediawiki related page and recognized that name... [03:21:15] but anyways...i don't understand what you just said =/ [03:21:16] AaronSchulz: siebrand ran through and updated most of the extensions to use the new loader, but didn't update the description pages on mediawiki [03:21:40] well that's not nice [03:21:54] ;-) i was quite surprised when my own extensions didn't work on my wiki installs [03:23:19] dunno - i'm comfortable w/ current extension revisions only being compatible w/ the current MW release as long as brion keeps branching extensions - but I suppose we should also list links to branched versions of the extension [03:24:03] or at least make it clear on their description pages [03:27:16] honestly, I don't really understand the new loader. like I would have no idea how to implement it. [03:28:22] siebrand: is that wgLoadExtensionMessages() conversion workflow documented somewhere? [03:41:30] 03aaron * r29313 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Don't refer to missing message [03:44:39] 03aaron * r29314 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Use 'target' param [03:50:25] 03(mod) Section edit links for transcluded templates are not affected by < noinclude> or - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6563 major->normal; +comment (10Simetrical+wikibugs) [03:53:42] 03aaron * r29315 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Use wfEmptyMsg() [03:54:33] 03aaron * r29316 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: syntax error [04:06:48] *Werdnus waves [04:08:05] hmmm.. no brion [04:08:32] California sank [04:08:49] I hope not [04:08:51] 03(mod) Extension stylesheets should be loaded before any others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10184 (10Simetrical+wikibugs) [04:08:56] I'm /IN/ California in a week. [04:09:07] *Werdnus is probably fairly close to Simetrical|away, too. [04:11:02] 03(NEW) [[MediaWiki:Summary-preview]] =?UTF-8?Q?=20should=20be=20shown=20also?= =?UTF-8?Q?=20with=20=C2=AB=20Show=20changes?==?UTF-8?Q?=20=C2=BB?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12525 15enhancement; normal; MediaWiki: Page editing; (gangleri) [04:21:16] *Werdnus pings Simetrical back. [04:21:20] Simetrical: where are you in NYC? [04:21:25] * Ping reply from Werdnus: ? second(s) , [04:21:29] ^^ ??? [04:21:35] I'm on CGI:IRC.. [04:21:37] Werdnus, uptown Manhattan, Washington Heights. [04:21:38] proobably why [04:21:54] I don't see why CGI shouldn't respond to pings. And if it didn't, I should get a timeout error. [04:23:17] Simetrical: ah. I probably drove past you on a ferry tour. I'm staying in midtown manhattan, a few blocks from times square [04:23:17] *Werdnus shrugs. [04:23:17] hmm.. nothing showing up [04:23:20] Simetrical: ah. I probably drove past you on a ferry tour. I'm staying in midtown manhattan, a few blocks from times square [04:23:32] eek, something wasn't replying [04:23:39] and eek, Splarka pings me, too [04:23:46] oh you like it [04:23:49] [Werdnus PING reply]: 32secs [04:24:01] *** Simetrical requested CTCP PING from Werdnus: [04:24:01] *** Splarka requested CTCP PING from Werdnus: 1199593325 [04:24:02] probably relevant: [04:24:18] one had a number afterwards (a ping sent-time, I presume), the other didn't. [04:24:39] xchat funny business? [04:24:49] ping me, Simetrical [04:24:55] proobably [04:25:01] Simetrical: I'm leaving tomorrow, though.. [04:28:43] *Werdnus wonders where everyone went [04:29:08] Away, away! [04:29:21] 03(NEW) User group detection from user pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12526 15enhancement; normal; MediaWiki: Page rendering; (MZMcBride) [04:29:31] *Werdnus is not that ugly. [04:29:46] and I'm leaving tomorrow, anyway [04:29:52] DOES THAT MAKE YOU HAPPY? [04:30:00] *Werdnus retreats to his asylum [04:30:08] *Splarka misses werd [04:30:23] where are you headed? [04:30:30] aspen, colorado [04:31:07] very nice [04:32:36] I just got onto the media wiki train; I want to setup multiple media wiki "pages [04:32:38] oops [04:33:02] I just got onto the media wiki train; I want to setup multiple media wiki pages/sites on the same box. Should they all use the same database [04:34:33] ramza3: sharing the user tables can be nice; doesn't require registering on multiple wikis [04:36:33] this is such a ridiculous problem...i went into ~iam8up and did an svn co for the 1.11 mediawiki files, if i do a mv -f /home/iam8up/phase3 /var/www/html/wiki i'm getting error: mv: cannot move `/home/iam8up/phase3/tests' to a subdirectory of itself, `/var/www/html/wiki/tests' [04:36:55] can anyone explain this? someone in ##linux was finally able to reproduce the error but the files within the source subdirs were moved; mine are not [04:37:56] iam8up, are you sure you don't have any hard links or similar weirdness? [04:38:04] iam8up, I'd just delete and check out in the directory directly. [04:38:23] ramza3, it depends on how integrated you want the wikis to be. You should in any case probably share all the PHP files. [04:38:33] if i go to /var/www/html/wiki and perform svn co i'll just get /var/www/html/wiki/phase3 [04:38:48] but no, no hard/softlinks i'm sure [04:39:00] Simetrical, it seems like a better approach for me to just have multiple pages as opposed to multiple wikis [04:39:11] iam8up, svn help co doesn't tell you how to name it nicely? [04:39:24] ramza3, it depends on what you need. I can't tell you that. [04:39:28] *Simetrical looks at svn help co [04:39:47] checkout URL[@REV]... [PATH] [04:39:59] svn co http:/sldkjf/ . then? [04:41:13] iam8up, mkdir foo && svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/includes/api foo checks out the files into foo/, doesn't create an api/ directory, when I try it. [04:42:12] iam8up, adding "." to the end should work, yeah. [04:42:22] ok [04:57:58] I see MediaWiki is using both __construct and the name of the class for the constructor... [04:58:35] Would it be a good idea to go through the alpha, change them all to one form, and submit it as a patch? [04:59:05] I can't get to work! "Failed to parse (Can't write to or create math temp directory): " (using 1.11.0) [05:04:34] *Dantman|Coding wishes php 5.3.0 was out... [05:10:01] hmm [05:10:51] it is not too hard to get the next non-redirect page alphabetically, with the api, eg: "http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfilterredir=nonredirects&aplimit=1&apfrom=" + encodeURIComponent(wgTitle); [05:10:59] any idea how to get the previous? heh [05:11:15] lol [05:12:25] ^_^ You could always suggest a &order=reverse [05:12:36] apdir - The direction in which to list [05:12:39] but it does nothing [05:12:45] O_o [05:12:45] that I can see, anyway [05:12:58] http://en.wikipedia.org/w/api.php [05:13:03] under * list=allpages (ap) * [05:14:53] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiQueryAllpages.php?r1=24694&r2=26725 [05:15:02] hmm [05:16:41] Dantman|Coding, we may as well use __construct() consistently if PHP really treats them interchangeably (which it seems to, i.e., calls to ClassName() get rewritten to __construct() if that's defined and vice versa). [05:16:59] Yup [05:17:48] I suppose I'll change those once I've done enough of my current extension... [05:18:21] Its still to bad static:: doesn't work untill php 5.3.0 though, that would have been quite nice. [05:18:28] Hmm? [05:18:42] http://ca.php.net/manual/en/language.oop5.late-static-bindings.php [05:18:50] If you want an example... [05:19:03] If we were to say, subclass the current Revision class. [05:19:33] We'd half to redefine every method which called Revision:: or self:: or else those would still call Revision [05:19:36] However... [05:19:52] If we were to use static:: the inherited functions would be used instead [05:20:32] T_T Without it TransArticle is part ugly hack... [05:21:18] is there a config/LocalSettings.php? [05:21:26] ramza3, shouldn't be . . . [05:21:46] Simetrical, that is what the docs say, hmm [05:21:55] It's autogenerated [05:22:04] You need to run the config/ script first [05:22:19] "Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki." [05:22:34] Well, maybe then. [05:22:45] Hmm, why doesn't it just create in ..? [05:22:53] Well, in that case there should be, anyway, I guess. [05:23:21] Simetrical, I wonder if it didn't create it because of my permissions, [05:23:33] It should have complained. [05:23:36] Simetrical: config/ is the one you're supposed to chmod to be writable by the server... [05:24:03] The LocalSettings.php is created there to avoid needing to add unsave chmod to the MediaWiki files. [05:24:07] Mmm. [05:24:39] Otherwise you could code a evil extension to edit someone's includes/Database.php to save all queries to another server or something... [05:30:03] Simetrical, why do you think it didn't create the LocalSettings.php (I did the chmod a+w); php/apache server is running as root [05:30:27] ramza3, dunno. [05:30:33] You shouldn't run Apache as root, though. [05:30:39] That might screw stuff up, and is bad practice anyway. [05:31:00] Dantman|Coding, if you have an extension running already, you can just execute the evil code directly. :) [05:31:41] lol ^_^ ya [05:32:21] Simetrical, actually, might be apache [05:32:23] apache user [05:33:35] Who in God's name decided it was a good idea to have Unicode input in GNOME use Shift-Ctrl-E, D for various things when Shift-Ctrl-W is quit? [05:33:44] heh [05:35:49] Actually, who decided extra shortcuts were needed to quit anyway? [05:35:59] This is the reason I removed the logout shortcut from MediaWiki. [05:36:10] maybe the guy running apache as root? [05:36:11] I hit Alt-O too many times when I mean Alt-P. [05:36:39] heh [05:37:09] is anyone in particular working on the API? or it's just like the rest of the core? [05:37:26] TimLaqua, it tends to have its own group of people, most of the core devs don't touch it. [05:37:43] And most of the API people don't mess much with core, except for benefit of the API. [05:38:16] k - I took a look at the Splarka's issue where apdir=descending wasn't being handled and fixed it - should I submit a bug/patch? or just commit the change? [05:39:12] *Splarka cheers a bit from the stands [05:43:15] so.... commit it is... [05:43:19] ;-) [05:44:02] it'd be nice if, for lists like this, rather than specifying a start, limit, and then direction... [05:44:10] 03tlaqua * r29317 10/trunk/phase3/includes/api/ (ApiQueryAllCategories.php ApiQueryAllpages.php): * Fixed check for sort order ('ZtoA' is not an allowed parameter) [05:44:11] one could also define a middle=, or dir=both [05:44:55] and get the result buffered on either side, with (limit-1)/2 of the start/middle [05:45:08] mmm, pipe dreams [05:45:15] ;-) feel free to submit a enhancement request [05:45:36] apdir=descending should work now. [05:47:32] *Splarka gives TimLaqua an M&M [05:51:45] Ack... no wonder the other wiki stuff isn't working in TransArticle... bleh... Forgot to add the wiki id to the calls to TransRevision after I created it... [05:52:05] T_T And I'm missing some of the altered tableName calls [06:04:15] 03(NEW) More prominent Simple English Wikipedia Link on en. wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12527 15enhancement; normal; Wikimedia: Site requests; (kevinjduke) [06:07:37] http://svn.wikimedia.org/doc/Article_8php-source.html#l03046 [06:07:41] hehhe [06:07:51] kids need more prominent links in quantum mechanic pages [06:07:52] Anyone know why array( 'templatelinks' ) is used instead of 'templatelinks' [06:07:56] and more understandable pages on pokemons [06:12:54] Dantman|Coding, probably there's no difference. The argument is generally an array because it can consist of multiple tables, but if there's only one table you can probably leave out the array wrapper. [06:13:21] I know.... which is why it's strange to see that in core [06:13:32] Makes no difference, it's stylistic. [06:13:37] 03(mod) More prominent Simple English Wikipedia Link on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12527 +comment (10gangleri) [06:13:45] Bah... it's violating styles... it [06:13:54] 's the only place in there that it's done that way [06:17:15] Plenty of places it's done that way. [06:17:18] *Simetrical|away goes to bed [06:27:01] 03(mod) More prominent Simple English Wikipedia Link on en.wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12527 (10kevinjduke) [06:27:24] there aren't any memory issue with say having 4-5 different "wiki" directories/applications? [06:29:33] ramza3: more efficient to use single directory, at least for scripts [06:29:40] in terms of APC caching, etc [06:51:47] 03(mod) Extension stylesheets should be loaded before any others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10184 (10michaeldaly) [06:55:13] where are the system messages stored? [06:55:29] mediawiki: namespace [06:55:32] Special:Allmessages [06:56:01] no i mean where in the database [06:56:50] same place as articles in other namespaces [06:57:09] mm... are they non-existent first? [06:57:15] unless you mean the defaults, which are in /languages/messages in .php files [06:57:32] because i was setting up a mediawiki site right where a old one just was (by file location and database name) and the site notice from te old wiki is in the new one [06:57:46] but... it's not in the database of the new one [06:57:57] and the page doesn't even exist! [06:58:00] are any of the articles transferred over? [06:58:00] it's in LocalSettings, i think [06:58:31] no [06:58:37] clean install [06:59:26] you used a new LocalSettings.php? [06:59:58] also: MediaWiki:Sitenotice doesn't exist? /languages/messages got completely deleted and overwritten? you have no extensions that might interfere, like dismissable/shared/magic sitenotice? [07:00:02] yes [07:00:05] and new db [07:00:30] it isn't making an offsite ajax call is it? disable JS and see if the sitenotice shows [07:00:41] and new files. i just extracted the files for the file i got from the media wiki website [07:00:53] Ashfire908: they are regular pages [07:00:53] Ashfire908: in separate namespace [07:00:55] i was thinking you might have accidentally added $wgSitenotice from an old LocalSettings.php [07:01:11] Ashfire908: stored same as every other page: page-revision-text-blobs chain :) [07:01:16] no [07:01:20] i didn't [07:01:22] domas: deja vu [07:01:29] can you link us, ash? [07:01:40] hhehehehehe [07:01:43] or wait [07:01:49] they are stored in [07:02:04] squidcache-page-parsercache-revision-revisioncache-text-blobs-concatenatedblobs [07:02:05] hahahaha [07:02:08] ... [07:02:12] oh [07:02:22] uh [07:02:31] <3 our persistence layers [07:02:47] deja-deja-deja-deja-deja-deja-deja-deja-vu [07:02:47] you are supposed to use seperate memcached server for each site right? [07:02:49] lol [07:02:53] Ashfire908: nope [07:02:58] ? [07:03:01] Ashfire908: and you don't need memcached if you run on single server [07:03:10] you can use APC :) [07:03:15] and mediawiki also prefixes all keys with dbname [07:03:25] k [07:03:27] so there usually is no clash of key namespaces [07:03:42] uh [07:03:53] how do you flush the keys [07:04:09] why would you want to flush them? [07:04:35] hehehehe, me know the shit! \o/ [07:05:11] because the old site had the same database name [07:05:52] in memcached? there is flush command actuall [07:05:53] y [07:06:09] and i moved the db and files to another folder, then created a new mediawiki site with the same db name [07:06:20] flush_all [07:06:25] er old db to a different name [07:06:31] ok [07:06:46] how to i do the command [07:07:47] i don't have a client [07:07:54] do you run memcached? [07:07:57] what do you want to do? [07:09:06] do that flush_all command [07:09:56] it is memcached command ;-) [07:10:18] how do i use the command??? [07:10:25] telnet into memcached :) [07:10:29] write flush_all [07:10:32] quit [07:10:32] :) [07:10:41] ...that's it? [07:11:05] maybe :) [07:11:59] the sitenotice is gone :) [07:12:21] well, usually editing mediawiki:sitenotice would clean it too [07:12:22] :) [07:13:18] already flushed the memcached [07:13:21] ... [07:13:26] hw do i install apc :) [07:13:32] er [07:13:49] is it the best of all the options? [07:18:19] what are the other options? :) [07:20:33] xcache... that eacceator [07:20:38] stuff [07:54:52] Hello! [07:55:27] I'm trying to do this multiple wiki's thing mentioned here = http://www.mwusers.com/forums/showthread.php?p=21176 [07:55:47] I've been told to take a look at this = http://www.mediawiki.org/wiki/Manual:Wiki_family [07:55:51] BUT... [07:56:31] how does that tell me how I can keep their own templates, namespaces and wiki for internal links. [08:02:49] 03(NEW) Create private Wikinews site - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12528 15enhancement; normal; Wikimedia: Site requests; (wm-thunderhead) [08:09:20] best idea is just to look at what I'm trying to do and offer help from there = http://www.mwusers.com/forums/showthread.php?p=21176 [08:14:40] Hello, how can I put a content of other articles into a skin? I see only things like msg('tagline') ?> but I would like to put other things other than messages. [08:23:24] theDtTvB2: you could call other MediaWiki: namespace msgs, and set the content of those msgs to transclude articles/templates (dirty hack) [08:24:16] eg, wfMsg('something') and set MediaWiki:Something contents to {{:Something}} and it would be editable at [[Something]] (maybe) [08:24:18] Well, I don't think there's any way to do that without being hacky :) [08:24:25] obviously [08:25:02] what version of mediawiki, theDtTvB2? [08:25:16] Or, $foo = Article::newFromDB('foo'); $foo->getPageContent(); ... or whatever all the damn methods are called :) [08:25:47] Of course, it would be ideal to handle it through the msg cache [08:25:49] the msg cache is probably cleaner, heh [08:25:51] "ideal" [08:26:00] less unideal [08:26:00] Splarka: Indeed :) [08:26:05] Code's messier though :P [08:26:15] so don't look at it, just use it [08:26:24] heh [09:13:55] TimLaqua_away: only somewhere deep in www.mediawiki.org. TimStarling added it in 1.11alpha mid 2007 IIRC) [09:16:09] TimLaqua_away: I just learned it as a trick. Hard for me to explain it from a coder's perspective. [09:16:48] TimLaqua_away: best would be to look at some of the commits that implement it. [09:35:28] Morning [09:36:04] Any one of you know some good fixed width skins for MW? [09:37:28] 03(WONTFIX) users should be able to see / review all the contributions they made; including the deleted ones - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12524 +comment (10roan.kattouw) [09:38:17] I already added my own custom header, and fixed the p-cactions and p-pesonal toolbars position, but my fixes doesnt work in IE [09:39:26] 03siebrand * r29318 10/trunk/phase3/languages/messages/ (15 files): Localisation updates for core messages from Betawiki (2008-01-06 10:33 CET) [09:43:24] ... [09:44:25] Also, wouldnt it be better if youd just set width to the globalwrapper it would scale all the page to your needs? [09:51:06] Just wondering if any experienced mediawiki users can look through this post and help me out a little = http://www.mwusers.com/forums/showthread.php?p=21176#post21176 [09:54:20] you might consider subdomains instead of subdirectories. you might ask in #wikia how they do it (sometime other than middle of the night in the US though) [09:59:45] ok, so you suggest I should contact user #wikia, well considering im in australia that will hopefully be no problem. How many hours until you usually see this user online? [10:00:06] #wikia is a channel [10:00:30] and Wikia.com is a wiki farm with around 3000 mediawiki wikis on one shared user db [10:00:36] http://en.wikipedia.org/wiki/Wikia [10:00:50] ^_^ Actually... 4500+ atm... [10:01:14] Things started to grow a little faster... [10:01:28] cool, I'll check it out. Hopefully this user is able to help :) It looks like he can :) [10:01:36] also why would you need 4500+ wiki's :S [10:02:36] Each one has it's own community [10:02:39] is not a user, is millions of users, madness [10:03:19] oh, ok. [10:05:31] ^_^ mmmmmm.... wiki sharing.... [10:05:58] >.< When talking about wiki... Integrating multiple together is one of my favorite subjects... [10:06:12] sofixit [10:06:24] Bleh... though TransArticle isn't going as well as I thought... [10:06:36] Probably going to go back to the TransWiki tag instead [10:07:13] madness: Little more info needed... [10:07:46] what kind of info? [10:07:49] Basically, what is being shared between the wiki [10:08:32] did you end up seeing this page. = http://www.mwusers.com/forums/showthread.php?p=21176 [10:08:38] Ya [10:08:41] basically, separate; [10:08:43] template [10:08:45] wiki [10:08:47] namespaces (excluding default namespaces) [10:08:47] I know [10:08:49] and share everything else. [10:09:13] But thats a extremely small set of things, and targeted in the wrong direction [10:09:26] That's from the perspective of running one wiki and separating things [10:09:46] You need different info going from the perspective of running multiple wiki and sharing some things [10:10:28] What's needed, is what specifically you want to share, not what you don't... [10:11:39] Users, Interwiki table, recentchanges, files, extensions, configuration, databases, blocks, articles, messages, etc... [10:11:54] hmm... this is a bit confusing. I thought saying I just wanted to share verything else and each wiki has it's own template, namespace and wiki was enough :S [10:12:24] I'll just take a little think... :) [10:12:30] would you want Special:Recentchanges to show all changes on all wikis or just the local one? [10:12:42] would you want Special:Blockip to block a vandal IP or username from just one or all? [10:13:07] would you want an upload of Image:Foo.jpg to work on all wikis as [[Image:Foo.jpg]] or only locally? [10:13:07] ah! well the answers to all of them would be ALL. [10:13:22] All :) [10:13:27] would you want... a page created as [[Foo]] to appear on all wikis simultaneously? [10:14:31] that would be seperate (locally). Because I want to use internal links as a part of each seperate wiki. [10:14:37] Hey, I think something is broken in MediaWiki, I am using Lupins popups script but after i refreshed my cache (ctrl+f5) it does not work anymore, neither on da, en nor betawiki. I think it is the items. [23:09:53] split it into two parts, so the CSS can at least remain always before the site-wide ones [23:10:01] darkcode: hm? the machnism for adding either is the same. is that what you mean? [23:10:11] darkcode, CSS may interact with JS. [23:10:15] In a variety of ways. [23:10:22] As well as, of course, with CSS. [23:10:27] It needs to respect load order just the same. [23:10:37] Duesentrieb, it's fairly common for hook architectures to provide priorities generally, in fact. Maybe we should implement that for all hooks, and make this a special case. \o/ [23:10:47] gadgets may well want to override default css. [23:11:07] in fact, we already have that. a gadget for color-blind people, on dewiki [23:11:30] Duesentrieb, but really, init needs to know to load the network services before it starts sshd and httpd and so on. I'm not sure there's any comparable reason for a typical extension to want fine-grained control over their position. [23:11:33] well right now having gadget's and the syntaxhighlighting css before the site-wide allows for customizing for example the syntax color of certain source languages site-wide [23:12:12] Duesentrieb, we could just add an extra optional parameter to the head items insertion function, which most extensions could ignore. That seems reasonable. [23:12:37] Simetrical: well... maybe. but this is not a hook at all. i was thinking the addHeader (or addScript or whatever) methods in OutputPage. it should collect stuff into an assoc array, the keys being the priorities. instead of appending to a single string, you append to the sring for "your" priority. in teh end, the entire thing is imploded in the order of prop keys. [23:12:52] Seems reasonable. [23:12:52] the only effort needed is defining constants to represent the standard prios/slots [23:12:56] 03siebrand * r29349 10/trunk/extensions/ (2 files in 2 dirs): Adding some author credits (more semi-automated export testing) [23:12:59] Most extensions don't need it, but no harm in making it available. [23:13:12] One comment is that it may as well allow arbitrary numbers, not just integers. [23:13:26] and yes, and extra optional parameter for the prio/slot is the way to go. it would probably be "put it at the end", which used to be the default thing, until recently. [23:13:49] No, the default should be before site-modified stuff. [23:14:08] Most extension things are hardcoded, they aren't going to need to use Common.js/Common.css/etc. [23:14:11] Simetrical, maybe there should be a MediaWiki:Priority page so people can force a priority order and whether an extension's js or css come before or after the Common.css file [23:14:15] hm... the default for extensions, maybe... would need to be carful about the way those functions are used by core code [23:14:39] darkcode: no. that should be up to the extension. it makes sense to hard-code it there [23:14:44] darkcode, better for the extension author to decide. Fiddling with load order by sysops is possible, but I don't see any great benefit. [23:15:10] Duesentrieb, currently I think we don't use the head-items thing half the time. I know that MonoBook.php hardcodes a whole bunch of head items. [23:15:46] Simetrical: beware that we have to mind two things: head-items in parser output (i.e. per-page stuff), and global head-items, in outputpage [23:16:03] (the former gets pushed into the latter at some point, of course) [23:16:08] I was only thinking of the OutputPage function, parser output can do head items too? [23:16:14] Oh, I see. [23:16:15] yes [23:16:16] Hmm. [23:16:37] Well, it certainly seems that the current behavior is the correct default for the OutputPage function, IMO. [23:16:41] actually, i think the term "head items" isn't used in the outputpage class at all (yet). [23:16:50] That is, loading after core files, before site-customized files. [23:17:09] the way header snippets are treated by outputpage and by the two skin architectures is a mess. it could use a good overhaul. [23:17:43] for most extensions, yes. core -> ext -> site -> user [23:17:56] Well, one thing at a time. Unless you want to overhaul it, there's no point in delaying fixing the issue to do it that much more cleanly. [23:18:02] for gadgets, core -> site -> gadgets -> user [23:18:49] yea, sure... but somtimes its easier to throw out the mess, than to understand all its implications in order to get the fix right :) [23:18:56] It doesn't make sense, users can modify extension's css and javascript, but admins can't for the entire site [23:19:35] sadly, i don't have time to mess with it myself right now... which reminds me, i need to get back to my diploma project. it's past midnight, and there are still todo items on my scrap paper :/ [23:19:46] darkcode: huh? [23:20:04] darkcode: with the order we just talked about, they sure can. [23:20:17] core -> ext -> site -> user [23:20:52] I'm talking about if that's changed for gadgets, but it would become core -> site -> ext -> user [23:21:04] because it would become [23:21:51] but that would be *only* for *that* extension. which makes sense, because the extension itself does not provide any js or css to override. instead, it loads site-wide custom snippets on demand. [23:22:02] which should happen just after the "normal" site-wide stuff. [23:24:51] well being the only exception makes no sense. If all extensions are suppose to be independent of it, so should gadgets. Gadgets can remain independent of it by providing its own page for sharing functions between gadgets [23:25:34] rather then relying on Common.js [23:27:05] think about it this way: gadgets provides a way to easily enable user scripts, using a checkbox instead of copy&paste. user scripts can rely on global scripts from common.js. so should the snippets (this also makes porting much easier). [23:27:29] providing a general way for extensions and other code to specify the include order of js and css makes sense to me. [23:27:40] it simply puts control of those things where it belongs. [23:28:15] anyway, back to ajava [23:29:00] see I'm mixed between the two, I think both make sense, that's why I think both should be allowed, site admins need control over extensions, and extensions sometimes need to benefit from stuff that site admins provide [23:29:47] if you only do one or the other, then extensions can't benefit from both [23:31:25] and site admins can't benefit from both [23:34:31] I understand the benefits and agree its a benefit to allow Gadgets or other extensions to make use of Common.js or Common.css. I also see it as being a benefit for site owners to be able to continue to override an extension's css or js if they need or want to [23:34:36] 03nikerabbit * r29350 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php export.php): * Ugly fileexporting support support or something [23:35:21] if extension's js or css come after the site one, then users are stuck again with having to copy&paste [23:53:11] :o [23:54:40] 03nikerabbit * r29351 10/trunk/extensions/Translate/SpecialTranslationChanges.php: * Export hint for extension that support it