[00:02:26] no [00:03:58] <^demon> DanielFriesen: Maybe give an option to disable it site-wide with a global also? $wgEnableRollbackDiff? [00:04:15] So 3? [00:06:38] ^demon, why? [00:06:50] Wait, why are we talking about disabling it altogether? [00:07:47] <^demon> Simetrical: No real preference personally. The subject came up with disabling it and I was just throwing out ideas. [00:08:04] 03(mod) Bizarre parser error - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14376 (10cuerden) [00:08:08] Hmm. [00:08:10] <^demon> If a *disabling* mechnanism was wanted, that is. [00:08:22] Splarka, why is it important if the rollback confirmation page is really big? Just hit back. [00:08:25] <^demon> **'s on the *wanted*, actually. [00:08:32] Mkay... cynical aproach... add &hidediff=1 for now... if to many people complain... we might consider a pref [00:08:34] There's no reason this needs to be disable-able. [00:08:40] DanielFriesen, I'd say don't even add hidediff. [00:08:43] Needless complexity. [00:09:04] ^_^ I already have the code for it... [00:09:06] <^demon> Simetrical: What about a bot? Slows them down? [00:09:40] ^demon, a bot could terminate the TCP connection as soon as it received the first bytes of the page if it wanted. [00:09:52] It doesn't have to block on receiving the whole page. [00:10:02] Well, granted that would require low-level fiddling. [00:10:58] Well, whatever the case... Why waste code? I already have it here so.... commit [00:12:06] Because of clutter? [00:12:13] And bloat? [00:12:23] Maintainability? [00:12:28] Uuuhhh... [00:12:33] See if it becomes a problem. I doubt it will be. [00:12:36] If it does, then it can be fixed. [00:12:42] Adding a diff to the rollback page was 2 lines [00:12:51] Adding that option is 1 plus an extra } [00:13:21] 03dantman * r35690 10/trunk/phase3/includes/Article.php: Splarka wanted a way to hide the diff so here's &hidediff=1. Whether it's useful or not is an IRC Discussion away, and I already have the code, so, click... [00:14:23] Well, fine. [00:16:23] click XD [00:18:49] heh [00:20:22] i have another question... [00:21:27] I need help.. Is anyone here [00:22:27] USERHOST phpprogrammer21 [00:23:52] Simetrical: well, not only can really big diffs crash or lag some browsers, but also if you're opening rollback links in new tabs quickly, there is no back, you have to wait for it to load to see if it worked, failed, timed out, or other error [00:24:24] I moved my LocalSettings.php file to the home directory, but i can't find it [00:24:37] added to that, rollback on dialup is very fast even now... it won't be after this [00:24:42] Splarka, mm. [00:24:54] needless pageload to simply revert all of a user's changes [00:25:21] I'd hazard to say.. that all rollback links on a Contribs page should be diff free (but those on history/diff/recentchanges shouldn't be) [00:25:24] by default anyway [00:25:29] can someone answer my question? [00:26:44] hello? [00:26:45] if you're rolling back a user from their contribs, you pretty much know they are a vandal.. if you're checking them by clicking diff first, you probably don't (same for history, and recent changes) [00:27:10] DanielFriesen: what do you think about that? hidediff=1 for Contribs-generated rollback links automatic, and hidediff=0 to override [00:27:23] I need to know where my LocalSettings.php file went, And i moved to the home directory of my install [00:27:33] [00:27:55] *Splarka idles [00:28:23] patch? [00:30:27] hello [00:30:39] i have a question about mediawiki [00:30:49] !ask [00:30:49] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [00:30:52] phpprogrammer21: ^ [00:31:09] !ask [00:31:09] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [00:31:17] wow, cool [00:31:30] how do I edit the navbar [00:31:41] on the wiki [00:34:14] How do I edit the navigation bar on the pages of The wiki... I have looked everywhere and still cant find it... [00:34:34] <^demon> !Sidebar [00:34:34] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [00:39:55] how do i enable mod_rewrite pretty URLS [00:42:28] !short | phpprogrammer21 [00:42:28] --mwbot-- phpprogrammer21: I don't know anything about "short". You might try: !rewriteproblems !shorturl [00:42:39] !shorturl | phpprogrammer21 [00:42:39] --mwbot-- phpprogrammer21: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [01:41:12] 03aaron * r35691 10/trunk/extensions/FlaggedRevs/language/OldReviewedPages.i18n.php: Forgot to replace this [01:48:37] 04(REOPENED) Separation of i18n files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14366 +comment (10JSchulz_4587) [01:51:19] 03(mod) Separation of i18n files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14366 (10JSchulz_4587) [02:09:49] <^demon> Anyone around familiar with Newuserlog? A particular part of wfNewuserlogHook() looks out-of-place. I just want a sanity check before I open a bug with a patch. [02:33:54] Not farmiliar but point me to the code? [02:35:12] <^demon> Do you have the /extensions checked out? [02:35:28] Its here; http://www.mediawiki.org/wiki/Newuserlog [02:36:16] <^demon> http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Newuserlog/Newuserlog.php - there we go. Line 51 [02:36:21] <^demon> if( $user->getName() == $wgUser->getName() ) { [02:37:15] <^demon> Except on older versions which might trigger the setting of $user = $wgUser, why on earth would $user->getName() be the same as $wgUser->getName() [02:39:05] <^demon> In which case, you can't do the log entry anyway, as $user is unpassed (and thus unknown) [02:40:37] it seems to check whether the account was created by itself, or someone else created it [02:40:50] <^demon> How can account create itself? [02:40:57] by going to Special:Userlogin [02:41:14] <^demon> if $wgUser is *you*, the account holder, and you create $user, why would the names ever be identical? [02:41:34] i'm thinking of anonymous users creating accounts for themselves [02:41:39] which also logs them in [02:42:32] <^demon> Ok, an anon-user creates an account. getName for them will return the IP, and $user->getName() will be the newly-created account. The runs on the AddNewAccount hook, not on login. [02:42:47] i didn't say it works, just that that seems to be what it's trying to do [02:43:21] <^demon> That's what I thought, I just wanted to make sure it's *not* working the way it looks like it's trying to. [02:43:41] <^demon> It just looks like an extra if/else pair that's getting triggered on every AddNewAccount for no apparent reason. [02:51:36] 03aaron * r35692 10/trunk/extensions/FlaggedRevs/ (12 files in 3 dirs): Split off aliases to delay more message loading [02:52:35] <^demon|brb> flyingparchment: I looked at when AddNewAccount is run, it's *possible*. [02:58:39] hmm, specialpages looks better now [02:59:05] short-bus "special"? [03:05:58] ^_^ What version? [03:06:33] AaronSchulz: ^ [03:07:52] what's the best way to write 1/8 in HTML? [03:07:59] (dont say mathml) [03:09:21] 1/8 *snicker* [03:18:25] hi. I'm trying to use the IF parser function. I have a checkbox value, which is either "Yes" or "No". However, when I use "{{#if:checkboxname = "Yes" | what I need it to do }}" it happens even if its value isn't "Yes". I think i'm using the "=" symbol wrong or something. anyone? [03:19:05] flyingparchment: ⅛ [03:19:28] â…› - "VULGAR FRACTION ONE EIGHTH" [03:19:33] thanks [03:20:17] DTT: #if only checks nullity, you maybe want #ifeq (but if you're using some weird extension that might not be the solution) [03:20:43] stand by [03:21:50] template usage is something like {{#ifeq:{{{someparameter}}}|Yes|foo|bar}} [03:22:22] vs {{#if:{{{foo|}}}|foo|nofoo}} where the foo case only triggers if foo= is in the template parameter call [03:25:09] Well, if I use {{#ifeq:{{parameter}}|Yes}} for some reason, although the parameter's value is "Yes" (same case) it still doesn't return the "True" line. Do I need to use {{{parameter|}}}? [03:25:44] please disregard last transmission [03:25:46] i'm all set [03:26:10] k [03:26:35] Splarka: ^_^ You ever noticed that when you put foo, into WikiCode and end up with {{{foo|}}} it bears a strange resemblance to the word "fool"... Any corelation you think? heh... [03:26:49] WikiText* [03:26:59] rotfl [03:27:29] foopipe [03:27:42] fifo [03:28:39] make Template:Pen with {{#ifeq:{{{s|}}}|true|[[Category:Pens]]}} [03:28:44] {{pen|s=true}} [03:28:48] heh [03:28:59] haha penises [03:29:17] 03shinjiman * r35693 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [03:29:57] flyingparchment: Back on the extensioncode branch... You think I should svn rm, then re-branch and re-commit the changes to that? [03:30:31] it probably doesn't matter now, but if you plan to maintain a branch, you should probably check out svnmerge [03:31:33] Well... I've been using WinMerge... but I could see about that [03:32:51] Though... I was thinking of the re-commit, cause I thought about how it's good that the actual changes made are always a svn diff away from the revisions... You don't need two different copies to checkout what the first changes to the code were [03:38:28] wow that &rtl=1 is great :) [03:40:06] Hmmm... now should I use svnmerge's exe and the GUI, or the python one... hmmm [03:44:42] if you aren't an oversight, but you know the number of the hidden revision (or operation), you can view it? or that was only in the past? [03:44:55] hi. is there a parser or some function that can help me print out dates in a nice way? I have them in what i think is that standard ISO-thing format [03:45:13] yeah i have 'em as yyyy/mm/dd [03:45:21] that's not iso format ;) [03:45:26] well [03:45:30] whatever format that may be :) [03:45:46] if you write ISO format dates and link them, the software will format thema ccording to preferences [03:45:52] but id on't think you can do that without linking them [03:46:08] hmmm... for those here who dont understand... what do you mean link them? [03:46:15] [[2008-06-02]] [03:46:35] oh [03:46:55] hmmmm naa don't wanna link them. ok thanks [03:47:13] #date [03:47:31] part of the parserfunctions extension (which you have if you have #if and #ifeq, probably) [03:47:35] er, #time [03:47:55] onna them [03:49:37] DTT: http://meta.wikimedia.org/wiki/Help:ParserFunctions#.23time: [03:51:20] 03shinjiman * r35694 10/trunk/extensions/BoardVote/BoardVote.i18n.php: Localisation updates Cantonese for extension messages [03:51:35] any idea? [03:53:53] trying to view oversighted revisions via usual channels (and possibly any channels at all) result in "no such revision" type error [03:54:21] and it is currently secure enough for Wikimedia to rely on [03:57:15] was it ever possible? [a user saying it is possible, even now, they are probably mistaken or outdated] [03:59:47] 03shinjiman * r35695 10/trunk/extensions/BoardVote/BoardVote.i18n.php: fixing URLs [04:08:00] alnokta: no bugzilla mentions [04:10:46] Splarka, ok thx [04:11:42] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Oversight/HideRevision.php?view=log [04:11:55] also doesn't show any emergency security fixes [04:12:08] the absense of evidence is not the evidence of absense, though [04:15:02] http://angtim.com/choosing-the-cake/ [04:15:04] *AaronSchulz awwws [04:22:43] first time to see such a blog :) [04:24:50] "If your language preference is set to an RTL language (right-to-left languages like Arabic, ...), use this to support the actual right-to-left interface." this should be the default IMO [04:48:05] Hey guys, a quick question. Where can I register to access the mediawiki API? [04:49:40] api if enabled is pretty much public, at scriptPath/api.php [04:50:22] you may need to register an account on the wiki, or request sysop or bot status to access some information, if some info or actions are restricted... [04:51:31] ok got it. thanks a lot [05:02:00] 03aaron * r35696 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.class.php): Be more explicit with object finding for the sake of clarity [05:26:54] 03aaron * r35697 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Add selectTextFields() [06:03:56] 03nikerabbit * r35698 10/trunk/extensions/BoardVote/BoardVote.i18n.php: * Update Board vote translations in case they actually used [06:05:08] 03rotem * r35699 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update for he. [06:34:00] hello [06:34:44] hi [06:37:06] Hello [06:44:18] 03nickj * r35700 10/trunk/phase3/includes/LogEventsList.php: (log message trimmed) [06:44:18] Prevent E_STRICT warning on editing a non-existent page / starting a new page: [06:44:18] ------------------------------- [06:44:18] Strict Standards: Only variables should be passed by reference in includes/EditPage.php on line 2233 [06:44:18] EditPage.showDeletionLog(Object:OutputPage) # line 685, file: includes/EditPage.php [06:44:20] EditPage.showIntro() # line 450, file: includes/EditPage.php [06:44:22] EditPage.edit() # line 348, file: includes/EditPage.php [06:47:10] yay nickj [06:48:59] ugh [06:50:08] 03aaron * r35701 10/trunk/extensions/FlaggedRevs/ (6 files): [06:50:08] Code refactoring: [06:50:08] * Move some functions [06:50:08] * Remove unused vars [06:50:08] * Add some accessors [07:08:16] 03(NEW) Feature request: temporal revision history list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14377 15enhancement; normal; MediaWiki: History/Diffs; (DeadEyeArrow1) [07:09:31] good morning everybody there! [07:10:51] I have an 'extra' on my site that I am uncertain about. on http://www.thewitchdiaries.com/mediawiki/index.php?title=Spell_Books there is an area labeled 'Contents' and I am not certain where it came from. Can anyone assist with identifying this? Thanks [07:11:16] It's called the Table of Contents. [07:11:17] Nin, good Morning [07:11:26] It appears when there are more than 3

s. [07:11:35] MZMcBride, OH! OK, thanks... [07:11:40] You can disable it by adding __NOTOC__ to the page. [07:11:57] good Morning Zylogue [07:12:54] well this is apparently a common question but... [07:13:02] i've just upgrade my media wiki to 1.12 [07:13:08] and I got the following error: [07:13:16] Error creating thumbnail: Unable to create destination directory [07:13:27] MZMcBride, Great! I appreciate the details. I'm new to MediaWiki, but I'm loving it's usefulness! And the support I have gotten has been excellent! [07:13:35] :) [07:13:38] I was googleing and after setting the images permission to 777 nothing happened! [07:14:37] strange enough, wenn I log in into the wiki, I can see the images :D [07:15:26] 03(mod) Support collation by a certain locale ( sorting order of characters) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=164 normal->high (10s.moaddeli) [07:16:39] MZMcBride, on that same link each line/section has an 'edit' link at the end of it. Is there an easy way of disabling this feature/function? A link to a page that describes these little options would be welcome. [07:17:56] could someone offer tips on reducing processes usage with mediawiki -- using shared hosting [07:20:54] dreamhost in particular [07:23:42] no idea [07:23:53] just starting in this amazing wiki-world [07:23:53] :D [07:24:06] ugh [07:24:10] who is s.moaddeli? [07:24:30] does anybody how to run maintenance/rebuildImages.php? [07:24:43] I checked in the internet that this is the solution to [07:24:44] chaning the priority back and forth wont have any effect other than annoying developers .E [07:25:00] the Error creating thumbnail: Unable to create destination directory [07:25:02] :S [07:38:12] Hi, how do i make it so that whenever i click the random page button, it only shows the random pages of a particular category? [07:43:27] is it by editing the "Randompage-url" and inserting my own category url? [07:44:13] That won't work [07:44:38] yeah, just tried that [07:44:55] in MediaWiki:Sidebar you might see something like randompage-url|ranmpage [07:45:15] that means, call MediaWiki:Randompage-url for the link and MediaWiki:Randompage for the text of the link [07:45:32] ok [07:45:39] and translate the latter depending on user pref language, eg MediaWiki:Randompage/fr if userlang is french [07:45:57] <_wooz> lo [07:46:19] hi, is it possible somehow to modifiy the tag ( i want to add an 'onunload' event on it ) when you call a page? [07:46:58] ierpe: putting javascript in html is outdated. use a custom javascript source file and add an event listener [07:47:14] ok [07:48:15] wikibits.js has some event listener helpers [07:49:32] ok [07:49:43] see addHandler() near the end [07:51:53] i dont find it.. in wikibits? (im on a 1.10) [07:52:25] ahh, hasn't been there that long.. [07:52:30] you could copy it though, probably [07:52:34] yeah [07:52:36] hmm, its not working... [07:52:42] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/wikibits.js?view=co&content-type=text%2Fplain [07:52:43] i have a 1.12 somewhere [07:55:29] thanks anyway [07:55:47] tookoo, there is, or was a Special: page to do that... [07:59:08] That feature is not that important for my wiki as of now. [08:00:48] oop, it was removed soon after, ahh well [08:01:01] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=27436 [08:02:37] damn [08:02:42] How should I use the addHandler to trigger a function when the user leaves the page he's in? [08:05:54] addOnloadHook(function() { [08:05:54] addHandler(window,'unload',functionname) [08:05:54] }); [08:06:30] and then define functionname for whatever you want [08:06:31] ok [08:06:34] or... [08:06:56] addOnloadHook(function() { [08:06:56] addHandler(window,'unload',function() { alert('bye'); }) [08:06:56] }); [08:07:09] you can also use a dummy function() right there [08:07:10] is addOnloadHook in the 1.10? [08:07:16] should be [08:07:19] k [08:07:24] thanks [08:07:34] actually [08:07:43] using the window object instead of body, you don't even need it [08:07:47] addHandler(window,'unload',function() { alert('bye'); }) [08:08:12] ? [08:08:20] just that line alone should work [08:08:38] in my wgOut ? [08:08:56] you need addOnloadHook for most screen scraping functions, because the javascript in mediawiki is loaded in the [08:09:09] ok [08:09:21] but the 'window' object is always available [08:11:42] $wgOut->addHTML(""); ? [08:11:50] does that should work huh? [08:15:23] ialex: images aren't imported by transwiki import iirc [08:15:45] VasilievVV: the image is already there, i just want the history [08:15:55] Ah [08:18:25] ierpe: did you add the addHandler function? [08:18:39] ahahaha lol i added it but not comitted it [08:18:46] sry [08:18:50] that