[00:01:13] werdnum, yep. [00:06:12] 03dale * r47204 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (6 files in 5 dirs): some fixes to do_api_req refactor [00:08:43] Splarka, please explain the aerial analogy for 1.14.0rc1 to me [00:08:56] I'm quite happy with my 1.13.x MW at the moment [00:09:21] I don't see the need to go to 1.14.x, especially for the renaming of the Image namespace to File [00:09:54] 1.13 is the private spaceship that made orbit... 1.14 is the true and tested one that has done so with the backing of the US government for ~25 years, but with a few fatal accidents [00:10:04] what's wrong with File:? :P [00:10:15] as soon as tim releases 1.14.0 I'll probably change it to something snazzy and not so spooky [00:10:42] a-zA-Z0-9`^-_[]{}\| [00:10:44] chuck, nothing, I'm just holding back on updating because I'm not sure what else was there [00:10:51] for 1.13, it was the new parser [00:10:52] NICKLEN=16 [00:10:56] Derwin ^ [00:11:01] lch: take a look in release notes [00:11:23] can you brief me on highlights? :) [00:11:59] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_14/phase3/RELEASE-NOTES?view=log [00:12:29] Splarka: so what are you going to do when you run out of real aircraft? Start using stuff from Star Trek? :P [00:13:07] Special:ListUsers/GROUP/USER Special:ListUsers/GROUP Special:ListUsers/USER [00:13:21] Skizzerz: dump from the bottom and move up [00:13:35] mhhm [00:15:02] the suppress-redirect-on-move is in 1.14, right? [00:15:09] I might update just for that :) [00:16:24] lol [00:18:05] MediaWiki:Editnotice-#, __INDEX__ and __NOINDEX__, pagetitle-view-mainpage, NUMBERINGROUP, MediaWiki:Print.css, Deletion log excerpt is now shown, Added "link" parameter to image links, "show preview" and "show changes" in read-only, Blocks can be modified without unblocking first, Dropped old Paser_OldPP, Improved security of file uploads for IE clients, Image moving is now enabled for sysops by default [00:19:07] "Blocks can be modified without unblocking first", what's that mean? [00:19:11] ~134 bug fixes... [00:19:31] before if you tried to block a user, you'd get a "user is already blocked" error [00:19:48] now you still do, but can re-block them to change it, like say.. block them from editing their talk page [00:20:18] ic [00:20:24] ~75 API changes... [00:22:53] 03(mod) Automated smallest-CIDR calculation from within Checkuser UI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17018 (10JSchulz_4587) [00:23:47] 03(ASSIGNED) Integrate SVN and Bugzilla - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17322 +comment (10mediawiki) [00:24:22] 03(mod) Integrate SVN and Bugzilla - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17322 (10mediawiki) [00:26:24] 03(mod) Automated smallest-CIDR calculation from within Checkuser UI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17018 +comment (10mikelifeguard) [00:28:53] 03werdna * r47205 10/trunk/extensions/ParserFunctions/Expr.php: Fix handling of 0, 0.0, 0.00 etc in logical functions. [00:32:43] 14(WFM) Authors field - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14853 +comment (10yaron57) [00:36:27] 03(FIXED) Optionally use HTML listboxes instead of auto-completion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10943 +comment (10yaron57) [01:32:33] 03(mod) Different Priorities in Sitemap - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16742 (10dasch_87) [01:41:11] 03werdna * r47206 10/trunk/extensions/AbuseFilter/AbuseFilter.class.php: Correctly deal with emergency disabling, hit counts, etc for filters with 'throttle' and 'warn' actions. [01:41:29] Prodego: ARE YOU HAPPY NOW [01:41:51] a little [01:44:48] 03(mod) Non-square pixel aspect ratios are not detected properly for Ogg thumbnailing, Cortado player - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16149 +comment (10brion) [01:46:33] 14(INVALID) No indication in which language input should be - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16670 +comment (10brion) [01:48:40] 03(mod) Implement collapsible tables in core javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17456 (10brion) [02:24:29] 03(mod) Implement collapsible tables in core javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17456 (10mikelifeguard) [02:28:58] ew [02:29:21] collapsible tables shouldn't be core, sortable tables neither... JS bloat not needed on the vast majority of page views [02:29:36] it should be an extension, probably [02:30:36] probably should just be some helper functions like addShowHideButton and toggleVisibility [02:30:47] (added to wikibits that is) [02:40:40] is this how CodeReview is supposed to be updated? wget -q --post-data "action=codeupdate&repo=blah&rev=$REV" http://blah.com/wiki/api.php [02:40:53] 03(NEW) (semi)Automatic template tranclusion via categorization or templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17473 15enhancement; normal; MediaWiki: Categories; (cerejota) [02:43:40] well, it doesn't work [02:44:18] 03(mod) (semi)Automatic template tranclusion via categorization or templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17473 +comment (10cerejota) [02:45:58] Is it possible after adding one user to disallow any other users, I just want a well maintainable homepage. [02:46:10] ...but I don't want anyone else modifying it. [02:47:30] tomolds: disable account creation and anon editing [02:47:42] see http://www.mediawiki.org/wiki/Manual:User_rights [03:01:58] How do I link my SVN account with my Wiki account? [03:02:05] You ask a coder to do it. [03:02:08] WOuld you like me to do it? [03:02:34] werdnum: yes please [03:02:45] my SVN name i "charlie" and my wiki name is "Cmelbye" [03:04:36] The author charlie has been linked to the wiki user Cmelbye [03:06:22] werdnum: thanks much [03:08:22] 03(mod) Default our search box to "Search" instead of "Go" on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17471 summary (10Wiki.Melancholie) [03:08:25] 03charlie * r47207 10/USERINFO/charlie: Updating e-mail address. [03:12:32] why doesn't my sub categories work [03:12:44] I did [[Category:Mouse]] [03:12:58] then [[Category::Mouse::Food]] [03:13:03] oops [03:13:09] [[Category:Mouse::Food]] [03:13:17] it created a category called Mouse::Food [03:13:19] instead of sub cat [03:13:47] I'm not sure if that is how you do sub categories [03:14:22] If you want it to be like that, categorize Food under the Mouse category, like [[Category:Mouse]] [03:14:26] i *think* [03:15:08] is that Semantic syntax? [03:15:09] yes [03:15:15] your right chuck [03:15:18] thx [03:15:24] Splarka what? [03:16:20] it looked like horrible Semantic Mediawiki syntax [03:16:55] yea i got it from a google hit [03:17:23] remember, every time you hit google, you're hitting every person that google was hit by [03:18:28] 1 google search creates more CO2 than 100 farts [03:19:04] 03(mod) Use Sessions instead of cookies for Login - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17422 highest->low; +comment (10b-jorsch) [03:22:15] are you using plain mediawiki or semantic mediawiki? [03:22:42] if i was using semantic i suppose it would of worked [03:22:50] instead of making it a category [03:23:34] i just wanted to see how it links categories [03:23:44] i'm having trouble deciding to build based on categories [03:23:47] or pages like the wiki does [03:24:02] :O [03:24:12] !hesaidsemantic | Splarka [03:24:12] --mwbot-- Splarka: http://img393.imageshack.us/img393/576/hesaidsemanticga2.jpg [03:24:17] since your using plain mediawiki, you will have for example [[Category:Food]] which will be your main cat, then you need to create the sub cat as [[Category:Mouse]] and on that category page you have to add [[Category:Food]] [03:24:28] and that will create a sub cat [03:24:34] !duh | MrZ-man [03:24:46] i did this already [03:24:48] thx tho [03:28:49] 03(NEW) Image pages contain same named links, but to different items - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17474 normal; normal; MediaWiki: Images; (jidanni) [03:29:17] is there any way to destroy an article object [03:29:19] hey, someone with a fast connection, graph the number of new bugzilla.wm bugs opened daily since 2005 [03:29:31] i have a long running script that is sucking up a lot of memory [03:29:57] php unset() doesn't seem to do anything [03:30:11] 03(mod) Tips to improve user experience and ergnonomy of Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15317 +comment (10Wiki.Melancholie) [03:32:57] werdnum: is there any way to disable the API entirely, except for codeupdate? [03:33:36] chuck: What do you mean? [03:34:31] werdnum: We're running CodeReview on an Internal wiki, and we need to disable all of the API (so that we don't leak any sensitive information out through it), yet we still need to have our hooks work to update our repository.. [03:34:40] there's a way to disable individual modules, off the top of my head I don't remember what [03:36:38] you could take away 'read' permission, no? [03:36:55] all you can do with the API then is login and logout [03:37:16] Splarka: oh.. so the API will respect if I do stuff like $wgGroupPermissions['*']['read'] = false; ? [03:37:28] try it and see if it does so in a way you want [03:37:29] we don't deliberately add security holes :) [03:38:16] *Splarka grins at werd [03:41:25] why does stuff like rollback, edit, move, etc show up when I'm logged out :S [03:44:30] werdnum: okay, it looks like it's working, but how can I disable only codediff now? [03:44:48] $wgAPIModules['codediff'] = 'ApiDisabled'; ? [03:45:00] unset( $wgAPIModules['codediff'] ); [03:45:19] oh, okay [03:45:31] werdnum- I think chuck was right, actually [03:45:44] anomie: Either would do the trick [03:46:18] oh wait.. that will break diffs.. damn [03:46:50] can't there be a permission to make CodeReview private or something :< [03:46:58] I might just "fork" it in our git repo [03:47:32] werdnum- Ah, for codediff you're right. For the core modules the unset version won't work. [03:52:07] werdnum: do you know how I would setup permission checking in a codereview module [03:52:24] *werdnum shrugs. [03:52:35] 03(mod) Only one word is shown red on diff comparison when turning around two words - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17457 +comment (10b-jorsch) [03:52:43] I'd suggest adding a check for $wgUser->isAllowed somewhere? [03:54:30] ah.. well I guess I'll just create an arbitrary "usage" error notice [04:03:17] ugh this is going to be garder than I thought [04:04:14] anyone know about memory leaks in long running maintenance scripts? [04:04:22] is there any way to destroy an article object? [04:04:26] do i have to write the method? ;-) [04:21:58] my answer would be to drop a bowling ball on it [04:24:40] jlerner: It should go away if you let it go out of scope [04:24:52] it's in a while loop [04:24:54] There's a Title object cache, but that's got a safety valve. [04:25:04] it doesn't seem like any memory ever gets freed [04:27:39] can I see your code? [04:54:39] hi [04:55:08] quick question, just setup media wiki on dreamhost, how do i set it up so that the wiki requires registration (which I confirm) and all pages requires registration + login [04:57:13] !rights Gain [04:57:13] --mwbot-- For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [04:57:20] always forget that bar [04:57:21] thank you sir [04:57:36] where do I edit this [04:57:59] it will be the localsettings.php file in the install directory [04:58:22] oh ok [04:58:26] blah stupid dreamhost [04:59:09] !| | Prodego [04:59:32] *Prodego hits Splarka [04:59:46] I need to learn how to use linux [04:59:55] I feel like that would be useful [04:59:56] : [05:00:41] ow [05:01:56] this would require something running linux [05:02:13] and I don't exactly have access to anything... nor a shell account on anything [05:02:42] Prodego: cygwin [05:02:59] yea, I've looked at it a bit [05:05:06] hmm [05:05:18] *Splarka gets idea [05:07:23] Splarka: but is it evil? [05:08:05] Prodego how do I as admin reg someone now? [05:08:34] Gain: well if you only changed read [05:08:39] Prodego: just a bit mean, like !hesaidsemantic [05:08:41] they can create their own accounts [05:09:20] never mind [05:09:21] :) [05:09:32] Gain: Splarka is way overqualified to help with thi [05:09:40] I, on the other hand, am sleepy [05:09:48] so good night all [05:09:53] Prodego: http://img514.imageshack.us/img514/330/morbomediawikiaf9.jpg [05:10:01] werdnum: things installing in the windows32 directory worry me [05:10:08] for people that ask for per-page read restrictions and such [05:10:19] Splarka: tinyurl it :) [05:10:28] that way it /is/ evil [05:10:28] why? more people trust direct URLs [05:10:41] not _trying_ to be evil [05:11:02] ah but evil is good [05:11:19] *Prodego send Splarka into an infinite loop [05:11:22] and 1 = 2 for high values of 1, yes yes [05:11:28] time to sleep now [05:16:23] thanks for your help [05:53:22] hello [06:00:22] aww. its asleep! =[ [06:03:09] aww? [06:03:23] oo. is it awake? [06:04:33] the first rule of Idle club, is do not talk about Idle club [06:06:21] i wasnt, i was talking about "it." if you decide to interpret "it" as this club of which you speak, that is your own colored version of reality... [06:08:07] splarka: im not sure if this isi a bug, but im sure its not supposed to be this awy.. [06:08:20] http://www.fernleycircles.org/wiki/Main_Page [06:08:42] i can fix the error by adding a function called generateDebugHTML() to my skin [06:08:52] but i dont think im supposed to have to as monobook doesnt... [06:09:51] that's normal, in your black and white version of reality [06:10:03] although using w/index.php?title=Main_Page&useskin=monobook still causes a very similar erro [06:11:24] the skin skintemplate (which extends skin) makes a reference to $this->generateDebugHTML(); which is what is causing the error. that function is defined in the class skin [06:12:40] cant a function in a class that extends another class call on functions from the second? [06:20:31] *werdnum wastes copious time on cracked [06:20:40] no suggestions? [06:24:19] 03philip * r47208 10/trunk/phase3/includes/ (9 files in 2 dirs): Update the Chinese conversion tables. [06:30:38] splarka are you here? [06:30:52] yes [06:31:04] i believe i have found a case where trunk is broken [06:31:12] good for you, bugzilla is thataway [06:31:17] o. [06:31:30] *Splarka doesn't do php or sql or icky things like that, does client side stuff [06:31:40] oo. i wasnt aware [06:33:06] lol. it was a big fix that created this bug.. [06:34:44] have you worked with bugzilla before? [06:35:18] slithytove2006: What's wrong with it? [06:35:25] Splarka: We do need testing and code review :) [06:35:31] lol [06:35:42] surprisingly enough [06:35:53] revision 47023 (which added the feature requested in bug 17408) causes an error message [06:35:59] werdnum: we need a polite mwbot macro for "just because someone helped someone else doesn't mean you should target all your completely unrelated help questions to them" [06:36:24] werdnum: http://www.fernleycircles.org/w/index.php?title=Main_Page&useskin=monobook you can see the error there. i added a function to my default skin to remove the error as it is a live site [06:36:36] *werdnum hates the "Just because ... doesn't mean" phrase [06:36:48] Splarka: i appologize. i thought you were a dev. my mistake [06:37:03] werdnum: would be appropriate for me to reopen the bug, or to create a new one? [06:37:05] slithytove2006: What's the error you're getting? [06:37:12] http://www.mediawiki.org/wiki/Developers?_Developers?_Developers?_Developers?_Developers!_Developers!_Developers!_Developers! [06:37:24] Fatal error: Call to undefined method SkinMonoBook::generateDebugHTML() in /.../w/includes/SkinTemplate.php on line 404 [06:38:03] SkinMonobook doesn't subclass Skin? [06:38:05] werdnum: and that's why we need a "polite" version, heh [06:38:10] it does, werdnum [06:39:10] i dont know why the error is there. the function still exists. id post the fix if i knew what caused it, but im not sure. as far as i know, a function defined in a class that is extended by another is accessible to functions of teh second unless it is private (this one is protected) [06:39:36] let me have a look [06:39:45] I expect you didn't update properly [06:40:04] That revision has been working fine for me for 3 days, and I've been doing non-stop software development [06:40:31] i checked the involved lines in svn to see what the difference is. this chance occured feb 8... i had a working version yesterday.. hmm [06:40:40] i just looked at the date [06:42:59] Class SkinMonobook not found; skipped loading [06:43:01] that's weird. [06:43:12] o. so im not crazy? [06:43:28] *werdnum expects somebody broke something [06:43:31] let me take a look [06:43:46] morning/evening TimStarling [06:44:44] SkinMonoBook extends SkinTemplate extends Skin which is where the function is [06:50:00] Class SkinMonobook not found; skipped loading [06:50:04] it's a bit weird [06:50:17] how are you seeing that error? [06:50:34] > $sk = User::newFromName( 'Andrew' )->getSkin(); [06:50:40] in maintenance/eval.php [06:52:43] Oh, that's just from the autoload [06:52:44] er [06:53:09] slithytove2006: That method definitely exists for me. [06:53:10] hmm... hold on. i think it may only be my problem... [06:53:16] i think i found the issue [06:53:17] I expect you haven't updated properly [06:53:22] or you've got some live hacks [06:53:24] ah. [06:53:28] sorry to bother you =/ [06:53:41] i have a couple hacks and i wasnt sure how svn would treat them [06:53:58] and i just today switched that site to trunk versus a version [06:54:12] and just copied my hacked file over, not thinking that it may have changed.. [06:54:27] that function was added between my hack and trunk =/ [06:56:41] if i have changes to a working copy, and i do an svn update, it will merge my changes with the new version in the same manner it would if i were to commit, right? [07:03:53] werdnum: were you involved at all in the beginning of MW? [07:04:24] slithytove2006: Around 2005, I started getting involved. [07:06:19] morgning [07:06:40] werdnum: in regards to the Mediawiki:Sidebar page, it seems to me that it would make sense that those would behave like links (even as far as changing the way that page works to actually make them [[..|..]] style links..) but at least to make the second part after the | optional. at current, if there isnt a |, it disregards that line. do you know if this was an intentional feature? (ie: was thete a specific reason for [07:07:31] hi Nikerabbit [07:08:06] slithytove2006: *shrug* [07:08:12] That might be a sensible graceful fallback [07:08:17] It's a bit hacky, that page. [07:09:10] the hack that i did to make it fallback removes 2 lines and adds another one. tho now im thinking a rewrite of that area (which is quite messy code...) that makes it take regular links would be more beneficial. [07:09:52] if i were to write this and post it on bugzilla, do you think it would be a useful change by the community? or would it be too much work to change the sidebar pages over? [07:13:52] You can't change it entirely [07:13:55] backwards-compatiblity. [07:14:11] ah [07:14:28] werdnum: i would have to make the code accept both the current way, as well as the new way? [07:14:43] Right. It would have to produce the same output. [07:14:50] If you figure it out, by all means send a patch in. [07:20:31] werdnum: you mentioned that the page is a bit hacky. iyo, is that an area that could use some work? [07:20:59] slithytove2006: It works fine for the moment, although it's not very intuitive. [07:21:03] well, the Sidebar has to accept three types of link input... external URL, local page, mediawiki message (which can contain either external or local link) [07:21:40] and three types of link-text input: plain text, nullness, or mediawiki message (which can contain.. etc) [07:21:56] if you were to change it to just [[]] you wouldn't be able to accept external URLs, or if you would it would be a bit confusing [07:22:40] splarka: i meant to change it to accept standard wikitext links. [[...|...]] or [[...]] for local and [...://... ...] for external [07:22:46] and [[recentchanges-url|recentchanges]] seems an inappropriate way to refernece interface messages [07:23:23] which itself is the most appropriate way to use the sidebar [07:23:41] wikis that don't worry about internationalization don't bother with those, of course [07:23:59] but when modifying the sidebar, you have to bother with that perspective [07:24:58] ** [http://google.com google] [07:25:01] ** http://google.com|google [07:25:08] ** google-url|google-text [07:25:19] you'd have all these operate identically? [07:25:26] I can see one advantage, in your suggestion, though [07:25:27] splarka: yes [07:25:34] as well as [07:25:37] sometimes you want to have a piece of text that happens to match a mediawiki message [07:25:43] ** Main Page|Main Page [07:25:47] ** Main Page [07:25:47] and there isn't an easy way to simply override that, other than creating another message [07:25:52] well, don't do that [07:25:52] ** [[Main Page]] [07:26:00] ** [[Main Page|Main Page]] [07:26:17] ** Main Page|Main Page and ** [[Main Page]] and ** [[Main Page|etc]] [07:26:20] but not ** Main Page [07:26:22] that should never work [07:26:39] why not? that actually what spured my thoughts on this [07:26:58] i cant think of a reason why only specifying te page name would be bad, just using the page name for the text [07:27:23] it would be bad because interface messages have precidence [07:27:42] if you were to use [] and [[]] syntax, you could specify that interface messages would not be checked, which could be useful [07:27:49] but in bare syntax, interface messages must always have precidence [07:27:58] on one of my wikis, there is a page called "About Circles" in my sidebar, i have a line that says "** About Circles|About Circles [07:27:59] " [07:28:04] so if MediaWiki:Main_Page were to exist, that would become the text and link [07:28:05] this redundancy seem stupid to me [07:28:23] redundancy is less stupid than regression [07:28:33] i dont see how there is regression here [07:28:39] 03(mod) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476 +comment (10spacebirdy) [07:28:55] also, the code used to turn MW:Sidebar into the array is rather ugly.. [07:30:43] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Skin.php?view=annotate [07:31:20] I see at least 7 authors to buildSidebar() [07:31:36] which explains its complexity [07:32:38] so you think that treating "** About Circles" as "**About Circles|About Circles" is a bad thing? [07:33:01] yes [07:33:11] im still not sure why [07:33:18] if you're introducing [[]] syntax, they can just do ** [[About Circles]] [07:33:42] which would never check the interface message, and you could extend the sanity check to check for matching square brackets [07:34:18] well, anything that that doesn't match the strict syntax, of a *, or a ** and a |, is ignored [07:34:26] the hack that i had used removed the sanity check and added a line that dealt with the issues when there is to | [07:34:28] some people might be using pipe-free ** for comments [07:34:54] (just one example) [07:35:11] i suppose it possible.. tho it owuld make more sense to me to make sure (due to line 1875) to start the line with anything besides a * to make a comment [07:36:05] any character besides a * at the beginning would cause 1875-1876 to skip that line [07:36:10] if you want to sneek this past brion (the single full-time code reviewer) you have to keep it simple and effective. In fact, to even get it committed (check how many open bugs are marked +patch) [07:36:31] what does +patch mean? [07:36:55] patch for said bug ready-to-review-and-commit attached [07:37:05] ah [07:37:49] *Splarka finds 222 [07:38:07] https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&keywords=patch&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED [07:38:12] do you think adding functionality for "** [[Main Page]]" and "** [http://www.google.com Google]" would be a bad idea? [07:38:38] probably not, I sometimes get annoyed trying to add simple words that exist as interface messages [07:39:50] would you recomend that i change the } else { continue; } area, or modify the actualy block of code? [07:40:14] hmm. id have to modify the code, as [[Circles|About Circles]] would still trigger the sanity check.. [07:40:34] yah, probably check brackets before the |-in sanity check [07:40:48] oo. good point [07:40:49] *Splarka donno php good [07:41:05] if [] or [[]] -> do this else | [07:41:05] *werdnum curses his intarwebs [07:41:10] stupid packet loss to my VPS [07:41:20] can you think of any other reason why [ or ] would be in MW:Sidebar? [07:41:34] and then in your custom if there, do no message check, just do strict external/internal link check [07:41:44] hmm, they aren't valid page titles [07:41:50] but... [07:42:10] or rather, why [ would be the first character following teh ** and after being trimmed [07:42:54] ahh, there it shouldn't [07:43:01] [] is valid in the page text though [07:43:11] er, link text [07:43:18]
  • [a]
  • [07:43:18]
  • [[a]]
  • [07:43:29] from: ** Flibble|[a] -- ** Flibble|[[a]] [07:43:35] but there is no wiki text at all on that page, short of the * [07:43:55] eww [07:44:01] also valid in external URL syntax [07:44:04] ** http://google.com/search?q=[]|google [07:44:17] but never as the first character [07:44:18] but I can think of no reason it should appear right after the asterisks [07:44:46] so you'd wanna trim ** and match ^\s*\[{1,2} or whatever [07:45:15] *Splarka pokles werdnum [07:45:18] owww [07:45:21] what? [07:45:30] midnight, time for good developers to sleep [07:45:41] raining there yet? [07:45:54] trim($line, '* ') if (strpos($line, '[[') !== 0) { ... } if (strpos($line, '[[') !== 0) { ... } [07:46:26] its almost midnight there? where do u guys live? [07:47:00] Governatorville [07:47:18] sacramento ca? [07:47:58] im near reno, nv [07:47:59] brb [07:48:21] well, I'm in the hills getting snowed on [07:48:30] I think werd is somewhere in the bay [07:49:15] heh, I am almost directly in the middle of SF and Reno [07:50:31] i used to have a friend in rocklin [07:51:19] the she got sucked into drugs.. =[ [07:52:00] bah, who needs drugs when you have visible air [07:52:31] lol [07:52:46] but British Columbia, real Columbia and Mexico would be bankrupt without Californians consuming them [07:52:48] the only one i would consider again is prolly nos [07:53:09] xenon is apparently much better than nitrous [07:53:18] http://www.youtube.com/watch?v=JPrAuF2f_oI [07:53:55] nitros is available openly [07:54:24] xenon is too, just very damn rare, hard to extract from the atmosphere, and expensive [07:54:37] nos isnt expensive, either [07:54:54] and an inert gas (so how exactly does it get you high? that is a good question... http://en.wikipedia.org/wiki/Xenon#Anesthesia ) [07:55:15] just cause it doesnt react, doesnt mean it cant interupt ur brain functions [07:55:35] this may or may not be why, but both N2 and Xe are very electrically conductive [07:57:42] Hi, I have enables profiling in mediawiki code, but how can I get the output? [07:58:33] http://www.mediawiki.org/wiki/Profiling#Profiling [07:58:48] "If you log your profiling information to the databse, you can view the information in a webpage by browsing to profileinfo.php. You must also set $wgEnableProfileInfo = true; in AdminSettings.php. Then, after gathering data by browsing wiki pages, visit profileinfo.php to see how much time your profiled code is using and how many times it's being called." [08:00:30] which only works for MySQL [08:00:55] or you can set http://www.mediawiki.org/wiki/Manual:$wgDebugLogFile to a file [08:01:10] thx [08:01:27] im guessing $wgProfileToDatabase = false; also if you want file output, but im not possitive [08:01:54] Note: $wgProfileCallTree must be set to false if you use the database [08:02:10] but all of that is http://www.mediawiki.org/wiki/Profiling#Profiling [08:02:11] 03(NEW) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 15enhancement; normal; MediaWiki: Search; (gnu1742) [08:03:23] OverlordQ/Splarka/anybody else who frequents this channel: in this channel, is it appropriate to provide full answers to questsions that are well documented, or to just put the link? [08:03:46] the most lazy method is mwbot [08:03:59] see http://is.gd/hMRz or #mwbot for a list of predefined answers [08:04:06] lol [08:04:54] truthfully if it can be answered by a page I point them there, since if they can't help themselves . . . I'm just an ass like that :) [08:05:27] is your name perhaps a reference to star trek? [08:05:40] yea [08:05:50] =] [08:06:33] 33333333 [08:06:52] umm? [08:06:59] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10raimond.spekking) [08:07:31] does wikibugs go off everytime somebody posts a bug? [08:08:07] yes [08:08:17] comments/modifies/etc [08:08:23] i can see how its useful, but eww! =] [08:11:56] did you watch that video Splarka? [08:12:30] no [08:13:00] why not? [08:14:05] I don't use flash [08:14:35] why not? [08:16:58] because it is yet another of adobe's fake attempts at an open popular format which is too proprietary, too insecure, and not very portable, like pdf [08:18:37] and they are all especially annoying nag-you-to-update-ware "omg, your version is more than a week old, it is outdated and has exploits only fixed in the newest version, until next week" [08:18:57] I finally got sick of it and deleted everything related to adobe [08:27:07] hello all, I have a quick question [08:27:30] I just set up a fresh mediawiki yesterday, and restricted it so you need to be logged in to both read and write [08:28:06] is it possible to include your login information in the URL, so that my users can use the recent changes RSS feed in a stand-alone RSS reader? [08:28:42] at the moment, the reader can't access the feed (ofcourse), and I can't seem to find any way of changing this, other than allowing everyone to read the recent changes RSS feed [08:30:04] @flyveHest: this should be accomplishable via the API [08:30:10] http://www.mediawiki.org/wiki/API [08:31:52] ah, yes, under Login, I can see that this could be possible, i'll give it a try [08:31:53] thanks a lot [08:32:04] ive never used the API before tho [08:32:23] also, viewing /w/api.php on ur wiki will give more documentation [08:33:17] another option is to use pymediawiki or a similar library to simulate navigating the wiki [08:34:17] http://en.wikipedia.org/w/api.php?action=query&list=recentchanges [08:34:53] the login module requires a POST request tho [08:36:19] hmm, yes, it seems like logging in requires a post [08:36:23] that would be problematic [08:36:30] no [08:36:48] write a php script that sends a manual POST request [08:37:01] the calls up the rss feed and outputs it to the browsers [08:37:16] a feed wrapper .. that might work [08:37:27] a little more work than anticipated, but it could probably do it [08:37:48] in a much cleaner format perhaps as well [08:38:01] using teh api, would require that you do one call to log in, then another to get the feed [08:38:56] i'll take a look at it, thanks for the great suggestions [08:39:01] yw [08:45:36] moin [08:45:45] what is moin? [08:47:14] 03(mod) Implement collapsible tables in core javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17456 (10happy_melon) [08:53:44] 03(mod) Implement collapsible tables in core javascript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17456 (10herd) [10:26:00] hi [10:26:55] how do i manage to get .svg images to show in my wiki? [10:27:45] yo'll have to have an svg-renderer installed on your wiki server [10:29:37] http://www.mediawiki.org/wiki/SVG [10:37:07] Imagemagick ist installed [10:39:45] *is [10:39:55] TermiGR: imagemagic sucks *terribly* for rendering svg. [10:40:03] !svg [10:40:03] --mwbot-- For more information regarding SVGs in MediaWiki, see . [10:40:17] ah, Splarka already gave that link [10:40:27] yes ;) [10:40:48] make sure mediawiki knows what to use for rendering svg, and can actually use it (permissions etc). [10:41:13] you *can* use imagemagick (i think it's even the default), but using rsvg is probably better (batik is good too, but slow) [10:42:00] i must use imagemagick [10:42:59] check the benchmark page on mediawiki.org for various renderers [10:43:09] rsvg is better by a factor of a trillion [10:44:09] do i need to install it on my root? [10:45:17] Fehler beim Erstellen des Vorschaubildes: sh: wmf2eps: not found [10:45:17] convert: Delegate failed `"wmf2eps" -o "%o" "%i"'. [10:45:17] convert: unable to open image `/tmp/magick-XXh59r6C': No such file or directory. [10:45:17] convert: unable to open file `/tmp/magick-XXh59r6C': No such file or directory. [10:45:17] convert: missing an image filename `/var/www/nilathak_de/wiki/images/thumb/b/ba/Flag_of_Germany.svg/800px-Flag_of_Germany.svg.png'. [10:47:53] 03raymond * r47209 10/trunk/extensions/Configure/Configure.settings.i18n.php: typo: mime -> MIME per hint at http://translatewiki.net/w/i.php?title=Support&oldid=1068457#Configure-setting-wgXMLMimeTypes [10:51:08] mediawiki is trying to use wmf2eps - not ImageMagick? [10:54:04] http://pastebin.com/d3869ccc8 [10:54:57] this is the error [10:59:36] http://pastebin.com/d221dc61c [10:59:57] this is in my LocalSettings.php [12:16:00] 03(mod) Login and account creation should be by secure http. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12884 (10Platonides) [12:16:04] 03(mod) Improve security for Special:Userlogin (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9816 (10Platonides) [12:27:28] Why must eveyone jump on the "omg we already a secure server" bandwagon in those bug reports =( it's not the same thing [12:31:15] in deed [12:39:08] 03(FIXED) Security question for password reminder emails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8460 +comment (10Platonides) [12:46:14] 03(mod) Send notification to account owner on multiple unsuccessful login attempts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9838 +comment (10Platonides) [12:50:08] 03(mod) Patch: SSL client certificate authentication - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3729 (10Platonides) [12:50:11] 03(mod) Improve security for Special:Userlogin (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9816 (10Platonides) [12:50:53] is rev_parent_id populatwed reliably and consistency? [12:50:59] i.e. can it be used to detect reverts? [12:51:11] (including manual reverts?) [12:51:27] I think it is, but haven't checked [12:51:35] would be nice... [12:52:07] hm... it would even be nicer, if the FlaggedRevision extension could flag reverts automatically. At least "real" rollbacks and undos. [12:52:23] hey, you're right. A comparison with the parent would show reverts. [12:53:04] but i don't see a way to build a query to fetch all revers by using rev_parent_id [12:53:08] undos should share the revision text, as do rollbacks [12:53:28] you need to compare it to the "previous" revision, which isn't recorded explicitly afaik. [12:53:38] also, revision deletion may screw up the chain... [13:06:50] 03shinjiman * r47210 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [13:08:57] there should also be a 'diff what would be rollbacked' [13:22:54] 03mkroetzsch * r47211 10/tags/extensions/SemanticMediaWiki/REL_1_4_2/specials/AskSpecial/SMW_SpecialAsk_MW1.13.php: Patch version for MW 1.13 users to address bug 17459 [13:23:20] 03(NEW) Run 'fix redirects' for nl.wikipedia (possibly more sites need it) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17476 normal; normal; Wikimedia: Site requests; (siebrand) [13:30:49] 04(REOPENED) Add language independent linktrail for Wiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11127 +comment (10D.U.Thibault) [13:32:41] 03(mod) Run 'fix redirects' for nl.wikipedia (possibly more sites need it) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17476 +shell (10Platonides) [13:37:46] 03(NEW) Maintenance script checkBadRedirects.php fails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17477 normal; normal; MediaWiki: Maintenance scripts; (siebrand) [13:40:31] 03(NEW) PHP Strict notice in maintenance script cleanupWatchlist.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17478 normal; normal; MediaWiki: Maintenance scripts; (siebrand) [13:44:16] 03(ASSIGNED) Special:Ask in SMW 1.4.2 incompatible with MediaWiki <=1.13 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17459 summary; +comment (10markus) [13:48:26] 03ialex * r47212 10/trunk/phase3/ (RELEASE-NOTES maintenance/FiveUpgrade.inc): (bug 17478) Fixed a PHP Strict standards error in maintenance/cleanupWatchlist.php [13:48:55] 03(FIXED) PHP Strict notice in maintenance script cleanupWatchlist.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17478 +comment (10alex.emsenhuber) [13:55:50] someone fit with img_auth here? [13:58:44] grnnn... i'm trying to un-break on old copy of mediawiki (1.10soemthing). it fails on unstubbing the load balancer - i see teh unstub in the log, and then i see a fatal error in the apache log from $wgLoadBalancer being null. [13:59:01] how can that happen? can an unstub result in the $wgLoadBalancer bein null?! [14:04:21] 03(mod) Special:Ask in SMW 1.4.2 incompatible with MediaWiki <=1.13 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17459 (10siebrand) [14:05:49] with activated img_auth, all media-links links to ...img_auth.php/%2Fpathpath2file - there are "%2F" instead of "/" :-( any idea? [14:14:57] 03(mod) Security question for password reminder emails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8460 +comment (10Simetrical+wikibugs) [14:15:37] *RoanKattouw eats CIA-60 [14:15:37] *CIA-60 tastes crunchy [14:35:16] http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html <-- Hmm, is Wikia going to give us their patch for this? [14:35:36] Simetrical: Do they have a choice? (GPL) [14:35:44] RoanKattouw, they don't have to redistribute it if they don't want to. [14:35:52] If they do redistribute it it must be GPL-compatible, sure. [14:36:15] Oh of course, it's not like you can download the Wikia software anywhere [14:37:22] Well I suppose we could just ask them, or write it ourselves [14:37:36] Or even turn it into an extension [14:37:43] It's probably just a parser function or magic word [14:37:56] No, it should just be automatically added to all redirects. [14:38:04] Oh [14:38:30] Well yes, that'd have to happen in core at redirect time [14:38:50] at least in 1.10, wfIncrStats kills mw if the main cache is using the db. because it's used before the load balancer is set up. [14:38:51] fun! [14:39:12] lol [14:42:34] 03(NEW) cleanupWatchlist.php --fix hanging - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17479 normal; normal; MediaWiki: Maintenance scripts; (siebrand) [14:44:33] 03catrope * r47214 10/trunk/phase3/includes/api/ApiQueryInfo.php: [14:44:48] *RoanKattouw wonders where r47213 wnet [14:45:28] *Simetrical wonders where the commit message for r47214 went. [14:45:43] Simetrical: That would be my bit bucket :P [14:45:52] I'm looking for an excuse for a whitespace change right now [14:46:47] Hmm I guess I should probably test r47214 now, maybe there's a fatal error in there somewhere xD [14:47:36] Wow, git svn fetch is still running from yesterday. [14:47:42] lol a very weird database error [14:47:45] Checking out new branches in git svn is retardedly slow. [14:48:07] Somehow it does SELECT page_restrictions page instead of SELECT page_restrictions, page , which is correct until you start referencing page_namespace [14:48:56] Oh *facepalm* of course addTables('page_restrictions', 'page') means something very different then addTables(array('page_restrictions', 'page')) [14:50:57] 03(mod) Filenames in the HTML snapshot by extension dumpHTML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8147 +comment (10dasch_87) [14:51:20] is there an addon for spreadsheets? [14:51:45] Simetrical regarding bug 8460, I closed it a few hours ago, understanding the exposed needs had been fulfilled :P [14:52:10] I could have just proposed it, but I liked the idea of closing :) [14:52:42] Platonides, well, it's not FIXED. It might be INVALID or WONTFIX. [14:53:19] hi. how do you workaround the ampersand issue on wikipedia servers (running lighttpd) http://www.mediawiki.org/wiki/Manual:Short_URL#Ampersand_.28.26.29_problem [14:53:20] ? [14:53:32] wikipedia is using apache [14:53:35] oh [14:53:43] i thought it used lighttpd [14:53:53] It uses lighttpd for some things, but Apache with mod_php for MediaWiki. [14:54:15] do you think a good for for ampersands is "not to use them" ? :) [14:54:47] i had a workaround on apache by using some path_info index.php/something i think, but im not using apache anymore (using nginx) [14:58:20] 03(ASSIGNED) Filenames in the HTML snapshot by extension dumpHTML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8147 +comment (10dasch_87) [15:01:46] any ideas how to fix the ampersand problem with something like lighttpd or nginx ? (both have simialr rewrite commands). my current solution only works with "one" ampersand [15:01:48] rewrite "^/wiki/(.*)\&(.*)$" "/wiki/$1%26$2"; [15:01:48] rewrite "^/wiki/([^?]*)(?:\?(.*))?" "/mediawiki/index.php?title=$1&$2"; [15:09:35] <^demon> Why are you adding and &$2? [15:13:01] ^demon, erm. i guess for parameters ? [15:13:35] then you can do http://www.exotica.org.uk/wiki/Main_Page?action=raw [15:14:10] i took that line from an example on mediawiki.org [15:14:31] http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_Lighttpd_rewrite--root_access [15:14:36] 03catrope * r47215 10/trunk/phase3/includes/api/ApiQueryInfo.php: (log message trimmed) [15:14:36] API: Fix up r47214, which strangely had no commit message [15:14:36] * Use + instead of array_merge(), the latter messes up keys [15:14:36] * Fix a fatal error ($result not an object) [15:14:36] * Fix an interesting mistake when calling addTables(): addTables('foo', 'bar') doesn't add both tables, but adds foo AS bar [15:14:40] * Fix warning about $row->pt_namespace not being set [15:14:42] Commit message for r47214: [15:21:03] ^demon, i perhaps have an alternative setup without using rewriting which i will try [15:21:07] http://wiki.codemongers.com/NginxMediaWiki?highlight=(mediawiki) [15:23:35] 04(REOPENED) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476 +comment (10mikelifeguard) [15:27:40] 03(mod) Feature request: local hiding of account names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14476 (10mikelifeguard) [15:29:02] <^demon> buzz_: You can just add the [QSA] param and all query strings will be automatically appended to the end, you don't need to manually account for that. [15:33:57] ^demon, i am not using apache [15:34:00] or mod_rewrite [15:34:04] im using nginx [15:34:18] <^demon> Oh, that :) [15:34:31] :) [15:36:08] ive solved it now. thanks though [15:36:48] 03catrope * r47216 10/trunk/phase3/includes/api/ApiQueryInfo.php: [15:36:48] * API: Page prop=info by (ns, title) rather than offset [15:36:48] * Also fix a regression from r47214 which caused database errors when $this->titles or $this->missing was empty [15:36:49] i set wgUsePathInfo to true, and made a fastcgi config for my shortcut dir [15:49:13] grrr. can i disable the binlog somehow while mysql is running? [15:50:21] 03(NEW) Italian | error in a word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17480 trivial; normal; MediaWiki: Internationalization; (uno) [15:51:16] Duesentrieb, i think not. but mysql is so inflexbile. it drives me mad how everything is "global" scope like boolean FT options etc. they dont consider that you might actually want a different configuration for each database or even table [15:51:51] well, you can include/exclude databases from logging... but that's ugly too. [15:51:53] *sigh* [15:53:14] Duesentrieb, i wanted to make mysql ft boolean search "AND" by default instead or "OR", and you can do this, but it will affect all my databases, including some which rely on the "default" setting. so i cant switch it but instead of have "process" the input and modify it in code, which i dont know if i can be bothered to do [15:53:21] 03(mod) Wrong set up URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17437 +patch (10uno) [15:53:24] grrr [16:03:36] hello. is there a way to define a variable for later use within a wiki page? e.g. something like "{{myvar=23}} Some text for the wiki page, here is myvar: {{myvar}}" [16:03:52] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10Wiki.Melancholie) [16:03:54] (This is just within the context of one page, not the whole wiki) [16:03:58] reed[]: Not in core, but there's a variables extension [16:05:00] anyone running a wiki in a virtual enviroment? [16:06:14] <^demon> Barnicle: I am. What's up? [16:07:52] Looks like this one might be helpful: http://www.mediawiki.org/wiki/Extension:VariablesExtension [16:17:27] How can I transclude a page in the main namespace? [16:17:49] DigitallyBorn: {{:pagename}} [16:17:51] 03catrope * r47217 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): Add a tag on redirected page views per [16:18:03] Simetrical: There you go ---^ [16:18:06] RoanKattouw: Awesome, thanks [16:19:10] <^demon> Roan touched non-API code? [16:19:15] *^demon grabs the pitchforks [16:19:47] ^demon: I actually do that from time to time, more often than you might think [16:20:05] (although about half the time it is to facilitate API stuff) [16:22:43] Ok .. how can I made an edit link to a page? use a magic word? [16:23:00] DigitallyBorn: [{{fullurl:title|action=edit}} link text] [16:23:11] *sigh* why does Firefox on Linux crash so often [16:23:12] RoanKattouw: You're a little kick ass [16:23:31] A dozen other people knew that, I just type faster then they do :P [16:23:45] <^demon> Or can't be bothered to reply :-P [16:25:46] hello [16:26:12] I am trying to install media wiki for the first time [16:26:15] <^demon> RoanKattouw: I'm working on a big use-of-the-API proof of concept right now. [16:26:23] i got a problem with mysql i guess [16:26:37] (Can't contact the database server: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (localhost) [16:26:45] can anyone help me with it? [16:26:51] ^demon: Cool, what's it like in 3 sentences? :P [16:26:53] (or what does it do) [16:26:55] peerless: #mysql ? [16:27:47] RoanKattouw: atleast the log seems so..I am getting the above error in browser while accessing the wiki [16:27:56] <[KrusheR]> hi [16:28:02] peerless: I meant, get support in #mysql [16:28:12] ^demon is there an easy way that you recommend to move everything over from a physical to a virtual enviroment? [16:28:14] Cause this is a MySQL config issue, not a MW issue [16:28:22] K thanks [16:28:31] 03demon * r47218 10/trunk/phase3/languages/messages/MessagesIt.php: (bug 17480) Typo in Italian lang file. [16:28:35] <[KrusheR]> does someone know what is the new option in 1.14 to limit the size of animated gifs for being thumbnailed? [16:30:09] ^demon: Could you tell me what that new API tool of yours is gonna do? Could be nice material for the talk about the API I'm gonna do at the dev meetup in Berlin [16:30:21] <^demon> RoanKattouw: Yeah sorry I was on the phone for a second. [16:30:29] <^demon> I'm trying to make a MW client for Android. [16:30:32] OK no prolem [16:30:40] And what's Android? [16:30:49] <^demon> Google's mobile platform. [16:31:02] <^demon> http://code.google.com/android/ [16:31:47] OK so basically that'll be edit-wikipedia-light ? [16:31:54] (as in bandwidth) [16:32:09] <^demon> Yeah pretty much. The webkit-based browser renders MW fairly decent, actually. [16:32:31] <^demon> But I figured it could be optimized and use the API. [16:32:42] Yeah but a light version could be considerably faster (and cheaper for the user) [16:34:05] 03(FIXED) Italian | error in a word - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17480 +comment (10innocentkiller) [16:35:08] <^demon> Barnicle: How big is your wiki? If it's small enough, an XML dump would probably be best. At bigger sizes, you're better doing a straight mysqldump. [16:40:26] <^demon> RoanKattouw: It's this weird view/presentation layer I'm trying to make sense of. [16:41:31] [KrusheR]: $wgMaxAnimatedGifArea [16:41:38] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10JSchulz_4587) [16:41:52] <^demon> RoanKattouw: I was thinking of writing a local cache in SQLite so we can save API queries. [16:42:37] <^demon> (Android platform bundles SQLite for data storage) [16:42:50] Might as well use that then, if it's supported natively [16:43:11] But what'd you wanna cache? [16:43:16] (other than edit tokens of course) [16:43:33] <^demon> The JSON results, so we don't make a request everytime something's viewed. [16:44:24] 03(mod) Moving edits incomplete and stalled after renaming a user on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17313 (10Platonides) [16:44:50] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10JSchulz_4587) [16:45:22] 03(mod) Index (for search) sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 summary (10JSchulz_4587) [16:46:13] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 summary; +comment (10rainman) [16:48:32] 03(mod) Index sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10gnu1742) [16:50:15] 03(NEW) Add option "Add pages I rollback to my watchlist" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17481 15enhancement; normal; MediaWiki: User preferences; (church.of.emacs.ml) [16:50:41] 03(mod) Index (for search) sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 summary; +comment (10JSchulz_4587) [16:52:42] 03(mod) Moving edits incomplete and stalled after renaming a user on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17313 (10oliver) [16:58:44] 03(mod) Index (for search) sighted revisions only on de-wp - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17475 (10rainman) [17:15:29] 03(mod) Wrong set up URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17437 +need-review; +comment (10Simetrical+wikibugs) [17:16:03] 03(NEW) Formatting error in "preferences" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17482 normal; normal; MediaWiki: Special pages; (FT2.wiki) [17:20:35] in our mediawiki, we get the "allowed memory size"-error as described in the errors manual and it seems that its a problem with encoding rather than memory [17:21:03] kilian__: Tried raising the memory limit yet? [17:21:05] this is described in the manual as well, but no solution or place to look at is offered [17:21:09] yes, we did [17:21:15] it's at 32 at least [17:21:48] the error only occurs when german umlauts are used or square-brackets are used inside templates [17:22:26] so i guess it's an encoding-issue, but i'm sure that my system, my browser as well as the wiki are set to uf8 [17:23:54] kilian__: What's the text of the error message? [17:24:25] Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /home/user/http/wiki/includes/Category.php on line 208 [17:25:13] the number in "tried to allocate XXX bytes" changes with every try, though [17:25:49] kilian__: Yes, that's normal. What's not normal is that your mem limit is at 20M. Set it higher [17:26:38] ok, i'll tell the admin right away [17:27:09] but why does this happen only when we use umlauts? we can save everything else just fine [17:27:19] I don't know [17:27:30] umlauts may trigger utfnormalise which contains few big tables [17:27:33] But 20M is too little, that's just a fact of life [17:27:40] ok, thank you very much! [17:29:03] hi [17:29:25] 20M is good enough for most apps, but sadly not for MW. [17:29:43] does anybody know how I can cut a template parameter at its line breaks? [17:30:06] for example with the explode string function [17:30:35] You should probably use separate template parameters instead if possible. [17:30:39] Simetrical: what is so sad about it? [17:30:48] Nikerabbit, we should be more efficient than we are. [17:30:51] For small sites. [17:31:06] we are efficient, just not small? [17:31:10] MediaWiki doesn't even necessarily run on typical shared hosting with 20M memory_limit, does it . . . ? [17:31:16] nope [17:31:17] Memory efficiency is a type of inefficiency. [17:31:52] well, has anybody profiled why it takes so much? [17:32:38] Simetrical: i know, but in this case I would prefer the explode method [17:32:40] Nikerabbit: MW doesn't profile memory [17:32:58] RoanKattouw: and? [17:33:07] (yet) [17:33:34] So to do that you need a 'real' profiler, not MW's built-in profiler [17:34:04] I once used one but it is very very inconvenient and slow to use [17:38:58] Simetrical: it also tends to run rather slowly on such sites. But I don't think lightweightness is one of MW's design goals, is it? [17:39:56] 03(FIXED) cleanupWatchlist.php --fix hanging - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17479 +comment (10alex.emsenhuber) [17:39:57] Well, why shouldn't it be? [17:40:03] 03(NEW) Thumbnail creation of animated images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17483 normal; normal; MediaWiki: Images; (poke) [17:41:05] ^demon: is there a link to learn how to do an xml dump? [17:41:17] Well, can you have MW be lightweight and feature-heavy? [17:41:46] And scalable [17:41:47] Emufarmers, sure, if you code it right. Especially if a lot of features are off by default. [17:42:16] <^demon> !backup | Barnicle [17:42:16] --mwbot-- Barnicle: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [17:42:17] What sort of features ought to default to off that don't right now? [17:42:32] thank you good sir. [17:42:45] Emufarmers, I don't know, that requires profiling and other things that would be categorized as "work". [17:42:50] Ah [17:44:07] So how would you profile memory? [17:46:35] Using an external profiler of some kind. Or adding support for that into MediaWiki's profiling. [17:50:19] Hi all. [17:50:27] i'm hoping someone can help with a mediawiki error we're getting: [17:50:27] Sorry! This site is experiencing technical difficulties. [17:50:27] Try waiting a few minutes and reloading. [17:50:38] 03ialex * r47219 10/trunk/phase3/includes/Title.php: bug 17477 and fix for r47196: Don't use global $title; this can work when executing index.php, but fails horribly in maintenance scripts (breaking checkBadRedirects.php at least) [17:50:47] the footnote says: [17:51:05] (Can't contact the database server: Access denied for user x (using password: YES) (localhost)) [17:51:29] 03(FIXED) Maintenance script checkBadRedirects.php fails - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17477 +comment (10alex.emsenhuber) [17:52:06] *MrSock is unsure if there are any actual people in this channel ... [17:52:19] MrSock: what is your question? [17:53:02] 03yaron * r47220 10/trunk/extensions/ExternalData/ (ED_Settings.php README): New version, 0.4.1 [17:53:44] MrSock, is this your site? The database info that was given to MediaWiki is evidently wrong. [17:55:03] https://bespin.mozilla.com/ <- dude this is insane [17:56:34] I have a fairly complicated problem... is there anybody here who has a lot of experience with MySQL and feels like helping me? [17:56:35] lol [17:57:14] 03(mod) Moving edits incomplete and stalled after renaming a user on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17313 +comment (10xenowiki) [17:59:06] brion: whoa that's cool. [17:59:21] *werdnum prods his friend from mozilla labs. [18:13:48] *werdnum stalks brion on identi.ca [18:14:54] RoFLKOPTr, ask your question and you'll find out if anyone can help you. [18:17:09] 03(mod) Send notification to account owner on multiple unsuccessful login attempts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9838 (10tylerromeo) [18:17:53] LqtView->showEditingFormInGeneral( ) [18:17:56] *werdnum shudders. [18:17:59] 03(FIXED) #expr gives different results on reload - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12791 +comment (10brion) [18:20:30] ( ! ) Fatal error: Call to a member function article() on a non-object in /home/andrew/wm-svn/extensions/LiquidThreads/LqtModel.php on line 1163 [18:20:34] mmm, good start. [18:25:56] -[ 10:15.07 ]- -( Simetrical ): RoFLKOPTr, ask your question and you'll find out if anyone can help you. [18:26:05] it's pretty long and complicated, but here goes, lol [18:29:10] Our server was DDoSed, so the host terminated it and refused to put it back online so I could gather backups. They sold me the hard drive out of the machine so I could make my own at home. The Gentoo installation on the drive wouldn't boot properly, so I moved files to an NTFS with a Ubuntu LiveCD. But because I was unable to run mysql on that drive, I had to take backups of the raw mysql files, and restoring a database from tho [18:30:07] So, anyway, why is it that I am able to restore my IP.B database, my Wordpress database, and all the other miscellaneous databases I have... but the Wiki database shows up blank? [18:30:47] 03werdna * r47221 10/trunk/extensions/AbuseFilter/AbuseFilter.class.php: Fix silly fatal [18:31:11] RoFLKOPTr, most likely because MediaWiki uses InnoDB, while the others use MyISAM. InnoDB is more reliable and more scalable, but it works differently in some ways. [18:31:36] RoFLKOPTr, the data for the wiki is probably in a couple of files with names containing "innodb" somewhere in them, in /var/lib/mysql. [18:31:51] Most likely it's not in files named after the tables. [18:31:51] *brion is uploading more versions of his old talks in add'l formats, whee [18:32:05] ah [18:32:15] alright [18:32:17] Note that InnoDB files are a lot trickier. [18:32:44] I didn't know that MyISAM and InnoDB were that different from each other. [18:32:54] You'll have to make sure InnoDB in your new MySQL installation, shut down the MySQL server, copy the files over the corresponding files that already exist (deleting the existing ones), and try restarting. [18:32:59] If there's not a version mismatch, it should work. [18:33:08] MyISAM and InnoDB use completely separate storage mechanisms. [18:33:13] 03werdna * r47222 10/trunk/extensions/DeleteQueue/deletequeue.css: Add missing CSS file [18:33:15] Which is why they're called storage engines. :) [18:33:20] I guess that would explain why all of my table files are only 8-9KB too lol [18:33:33] thanks, I'll look around [18:33:36] Yes, you'll only have .frm files for the wiki DB. These contain only table structure, not data. [18:33:49] *werdnum hates on LiquidThreads [18:33:49] For MyISAM you'll have .frm, .MYD (data), and .MYI (index). [18:35:10] InnoDB can be configured to put some of the per-table data in .ibd files, but you still typically need to copy the InnoDB-wide files if you want it to work. In particular, if MySQL wasn't shut down cleanly, you'll definitely have to copy the transaction log. [18:37:36] yeah, I see .ibd files in the database I created yesterday using mediawiki's installation script [18:37:43] but I don't have those in my backups [18:37:47] only .frm's [18:38:13] but I do have ibdata1 in my old /var/mysql [18:38:32] don't be a thread-hater werdnum [18:38:39] and ib_logfile0 and ib_logfile1 [18:38:40] RoFLKOPTr, yes, that's the data file. You should also have a file called something like ib_logfile0. [18:38:41] Yes. [18:38:44] I guess those are probably the files I need [18:38:52] should I be able to just copy them right over? [18:38:54] Copy all three of those on top of the new files in /var/lib/mysql (or wherever). [18:38:59] alright [18:39:02] Make sure you back up the existing ones first. [18:39:07] They'll overwrite them. [18:39:08] of course ;) [18:39:24] If you have anything useful in the existing InnoDB database, you'll want to dump it first with mysqldump. [18:39:43] Also, it's probably a good idea to delete the .frm and .ibd files for the existing InnoDB databases. Those might confuse MySQL, I'm not sure. [18:40:28] yeah, I already renamed the folder with the .frm and .ibd's to something else and replaced it with my old folder [18:41:40] brion: The ENTIRE class structure of like 20 classes is in TWO FILES [18:41:59] oh, and it spews fatals if you try and create a new thread on a non-existent discussion page. [18:42:14] At least there's no more "Brion, have a look at this and tell me if it's good or not" :P [18:42:33] werdnum, have you looked at the database queries yet? :) [18:42:35] That's all I looked at. [18:42:45] "Is this suitable for running on Wikimedia? . . . no." [18:43:33] Simetrical: Brion's making me fix it up :P [18:44:17] There's one fundamental performance problem I spotted with it: if discussions are allowed to get as long as they commonly do on enwiki without pagination, you're calling the parser thousands of times per page view. [18:44:39] If you don't allow that, you force tons of reloads, which makes it partly inferior to the current system. [18:44:51] *werdnum sighs. [18:45:01] not "per page view" [18:45:08] "per discussion page view", which is entirely different [18:45:15] 03nick * r47223 10/trunk/extensions/CanonicalHref/ (. CanonicalHref.php): (log message trimmed) [18:45:15] This extension prints out a link tag with a canonical url to the article, [18:45:15] which handles Mediawiki's "soft" redirects much more elegantly. [18:45:15] This tag is supported by Google, Yahoo!, and MSN. It's been in production at Wikia, wanted to [18:45:16] share with all. [18:45:17] Well, yes, per page view when it's invoked. [18:45:18] http://www.techyouruniverse.com/wikia/google-canonical-href-with-mediawiki [18:45:20] http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html [18:45:28] It's worst-case, but is thousands of parser calls acceptable for worst-case? [18:45:40] Who's nick? Is he on IRC? [18:45:40] Probably not, we'll figure something out [18:45:52] Because Roan beat him to it, that feature has already been in core for a couple of hours. [18:46:04] Oh, I see. [18:46:09] He was committing the Wikia extension. [18:46:11] *Simetrical compares [18:46:51] Well, the Wikia one only works for SkinTemplate-based skins. [18:47:23] It has a "is $wgTitle legitimate?" check which I think is unnecessary. [18:47:38] If not wrong. Roan's uses $this->mTitle on Article. [18:48:25] hmm this is strange [18:48:30] Simetrical - sorry. i fell down a well for a few hours. i had the problem with the information given to the database being wrong, apparently [18:48:41] the wiki used to work, and does not any longer [18:49:02] /etc/init.d/mysql start returns OK, but mysql isn't running.... [18:49:03] the only change that happened that i suspect is that i use a company called Siteground as my webhost ... [18:49:11] and i requested a mediawiki script install [18:49:16] and when I try it again, * WARNING: mysql has already been started. [18:49:24] and i don't think the problem wiki has worked since i installed the other one [18:49:29] does anyone have knowledge on mediawiki + openid? there is the openid extension but the "enterprise use" page says: "OpenID is in MediaWiki svn. It's live at http://wikitravel.org/review/Special:OpenIDLogin" does this mean mediawiki has some kind of built in support for openid ? [18:49:33] that's my suspicion [18:49:39] RoFLKOPTr, check error logs. [18:49:49] RoFLKOPTr, specifically, MySQL error logs. [18:49:59] (wherever those are in your distro) [18:50:12] Error logs are referencing problems from when I moved the folder full of .frm files [18:50:20] with headings, medawiki creates

    title

    for example but when a heading is a number, this will create invalid markup (because id's should not start with numbers) [18:50:25] but they're not showing anything right now :\ [18:50:25] RoFLKOPTr, pastebin the exact errors. [18:50:27] so, knowing that information, what do you think (specifically) went wrong, Simetricla? [18:50:27] maybe its already reported [18:50:41] *MrSock waits patiently, as Simetrical is holding a separate conversation [18:50:48] buzz_, it's a known issue. I was working on revamping the id-generation system, but I haven't worked on that for a while. [18:50:58] MrSock, your host probably overwrote your existing DB or DB login info. [18:51:01] Complain to them. [18:51:03] Simetrical, aah ok. if its known then i wont bother reporting it :) [18:51:13] Thanks, Simetrical. [18:51:35] buzz_, IMO the correct solution here is to switch from XHTML1 to HTML5, which allows id's to be any string not containing whitespace. [18:51:40] :) [18:52:03] *Simetrical has been planning to write up a post to wikitech-l on that for some time [18:52:03] Simetrical good fix! :) [18:52:20] Simetrical, i guess then you would have to remove other nasty html4 transitional stuff though [18:52:26] buzz_, the best part is then we can kill all the .AB.F2.blahblah business that makes non-ASCII id's totally unintelligible. [18:52:38] like border="0" (argh) [18:52:40] buzz_, well, if we wanted to be 100% compliant from the get-go. [18:52:51] Simetrical: http://www.pastebin.ca/1336314 [18:52:59] We could leave those as open issues to fix. [18:53:45] Simetrical, there are lots of "border="0" " all over the place in mediawiki. [18:54:08] buzz_, I know, and tons of other nonsense like that. [18:54:31] Simetrical - ok, i'm going to send them a ticket. But if they're in the habit of over-writing things, i definitely want to backup my mediawiki database before they get involved [18:54:31] The table properties like cellpadding are probably going to be the most annoying to fix. [18:54:45] can you recommend a how-to on that? [18:54:45] oh Simetrical: something I forgot to add to the pastebin: [18:54:46] 090213 18:39:36 [Note] mysqld: Normal shutdown [18:54:46] 090213 18:39:36 InnoDB: Starting shutdown... [18:54:46] 090213 18:39:38 InnoDB: Shutdown completed; log sequence number 0 308490 [18:54:46] 090213 18:39:38 [Note] mysqld: Shutdown complete [18:55:05] Simetrical, the ie5.x support seems pointless too now. i mean, any ie5.5 are either bots IDing themselves as ie5.5 or someone with a computer than it 100% likely to be a zombie anyway [18:55:10] RoFLKOPTr, what did you do with the old .frm files, move them to another subdirectory of /var/lib/mysql? Try deleting them entirely, or moving them out of /var/lib/mysql. [18:55:27] my server's clock isn't set right, but I'm pretty sure that's the shutdown I did 10 minutes ago [18:55:53] My modifications to MediaWiki:mainpage and MediaWiki:mainpage-description seem to be ignored. I already tried truncating the 'objectcache' table. Any idea what could be wrong? [18:55:56] MrSock, I don't know. If you leave all of your management in the hands of your host, and don't have access to conventional tools, you can't do much. If you have phpMyAdmin, that allows you to take backups. [18:56:20] the directory that had all the new .frm and .ibd files (the ones I created last night with the MW install script) was renamed to patrioticnigrasbak [18:56:35] Simetrical, they can be replaced with border-spacing and padding though i guess no ? [18:57:48] Simetrical - i have access to phpmyAdmin [18:58:10] i just don't quite know where/how to back-up the db, and to be completely sure i've done it adequately [18:58:12] MrSock, there will be a backup or dump option somewhere there. [18:58:39] MrSock: Are you trying to backup your database with phpMyAdmin? [18:58:39] kthx [18:58:41] *MrSock looks [18:58:50] roflkoptr - dunno. am i? [18:58:52] buzz_, yeah, but you can't just do something like cellpadding="n" -> style="cell-padding: n;" AFAIK. You have to style all the children. I'm not sure how we'd handle that for existing cellpadding= et al. in wikitext. [18:59:11] i just want to back it up in case my host erases anything while trying to fix their original screw-up [18:59:16] (potential screw-up) [18:59:19] yeah [18:59:19] k [18:59:27] why - any adviec for me? [18:59:29] advice [18:59:38] There should be an "Export" tab at the top of the database page [18:59:49] RoFLKOPTr, you might want to ask in #mysql. My knowledge of this runs out after a certain point. [18:59:55] They're usually pretty helpful in there. [18:59:59] Simetrical: lol [19:00:00] okay [19:00:01] thanks [19:00:35] I came here because MW databases have given me trouble before... didn't realize it was an InnoDB issue. [19:01:05] Simetrical, in most cases a selection of table classes could be used with varying padding. i guess in most cases you want them looking similar anyway or a few types perhaps [19:02:05] buzz_, tell users that. :) [19:02:24] It's not that it's harder to use, more that it's more of a pain to convert than, say, [19:02:24] . [19:02:44] => [19:02:57] There are other problems moving to HTML5, though. [19:03:04] Like we probably won't be able to use Tidy. [19:03:13] in my wiki case, i dont want "users" to make /style their own tables [19:03:21] i want a set selection of tables to choose from [19:03:22] :) [19:03:28] Which might force us to actually fix some the garbage we output instead of having Tidy do it. [19:03:36] heresy! [19:03:37] buzz_, yeah, but users can use inline styles, and probably will. [19:04:18] Anyway, basically, switching to HTML5 changes nothing functionally for browsers. Browsers treat anything served as text/html like HTML5 (or the supported subset thereof). [19:04:46] But it loses us a bunch of standards compliance (almost fully XHTML1-compliant -> not very good HTML5 compliance). [19:05:04] ok - i have a number of db export options [19:05:06] Which we may or may not care about. [19:05:08] which one should i choose? [19:05:17] csv, excel, latex, etc [19:05:29] You want SQL. [19:05:31] Gzipped. [19:05:38] kthx [19:10:48] how dangerous and/or possible is it to rename a mediawiki database through phpmyadmin? [19:11:10] i'm just looking at what my host did, and it's confusing. any new install, they tried to name mw ... [19:11:16] for mediawiki, i guess ... [19:11:36] but i have stuff like mw, hostname_mw, hostname_mediawiki, hostname_wiki1, etc. [19:11:45] If you rename the database, you'll have to update LocalSettings.php with the new database name. [19:11:49] Then it should work fine. [19:11:56] i'd love to name these databases more descriptively, but i don't want to mess anything up [19:12:21] ok - thanks again, simetricla [19:12:23] cal [19:12:59] riddle me this: instead of bugging my host about my original problem, should i jsut check the localsettings file of the not-working install? [19:13:10] is there something simple i can do without getting them involved, i mena? [19:13:12] mean [19:13:26] MediaWiki is pretty easy to install manually. [19:13:28] !install [19:13:28] --mwbot-- Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [19:14:01] 03raymond * r47224 10/trunk/ (22 files in 16 dirs): [19:14:01] * Replace hardcoded '...' as indication of a truncation with the 'ellipsis' message [19:14:01] Per Brion's suggestion in http://lists.wikimedia.org/pipermail/wikitech-l/2008-December/040796.html [19:14:03] ah - sorry. i mean for my already-installed mw that stopped working when my host installed a second one [19:14:04] Personally I'd never trust some idiot host to get stuff like this right, but I'm a programmer, so I'm comfortable doing it myself. [19:14:22] MrSock, if the database still exists, and you know its name, you can point the old LocalSettings.php to it. [19:14:38] yeah - i'm checking it out here. it's all still there. [19:14:45] so lemmie check the localsettings file [19:14:55] there's one more issue, but i'll hit that once i straighten out the first thing [19:16:22] I wanna change the way urls are printed -- where in the source is the function that actually generates the pro-rsoft, try includes/Linker.php. [19:17:04] thanks [19:17:13] Should be link() in recent versions of MW. [19:17:19] 03philip * r47225 10/trunk/phase3/includes/ (12 files in 2 dirs): Update the Chinese conversion tables. [19:17:38] Otherwise it will be spread out across a whole bunch of functions, make*Link*().. [19:17:58] Of course, not every single link in the software goes through that, only the ones from wikitext and some of the others. [19:18:11] so is there any way to troubleshoot that error i'm getting? [19:18:11] (Can't contact the database server: Access denied for user 'untolden_wiki'@'localhost' (using password: YES) (localhost)) [19:18:14] (maybe not all from wikitext either . . . image links?) [19:18:18] i changed the password in LocalSettings.php [19:18:26] that was the most obvious thing [19:18:30] but still no-go [19:18:46] MrSock, you need to use the correct username and password for the particular database. If you don't know it, you might be able to set it from phpMyAdmin somehow. [19:18:50] If not, you'll have to ask your host. [19:19:30] yes - am trying the phpmyadmin route [19:19:35] i fear it might be hashed [19:19:42] It's definitely hashed. [19:19:46] You might be able to reset it, though. [19:22:37] Do we already have an extension to do this? https://leuksman.com/extensions/Filesize/Filesize.phps [19:22:50] 03(NEW) Request for Transwiki namespace on Wuu wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17484 15enhancement; normal; Wikimedia: Site requests; (antoinedelarue) [19:25:25] 03(mod) Request for Transwiki namespace on Wuu wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17484 +shell; +comment (10raimond.spekking) [19:26:16] question guys [19:27:27] http://leuksman.com/extensions/Filesize/Filesize.phps if you don't want to fuck with FF 3's SSL whinging [19:28:07] we have an older mediawiki that we'd like to update, however blah blah blah dev/qa/prod subversion. End result- we'd like to just run the sql updates against our proddb rather than run the full mediawiki upgrade process- is the sql upgrade easy to strip out and run manually? [19:28:37] sorry for the lack of details, I'm just a sysadmin caught between management and the developers [19:28:46] morgajel_: you can run the .sql files manually out of maintenance/archive if you wish [19:28:49] 03(mod) Automated smallest-CIDR calculation from within Checkuser UI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17018 (10JSchulz_4587) [19:28:56] brion: awesome, that's what I was looking for [19:29:02] though in some cases, some upgrades will want to do a little more perhaps :) [19:29:06] building summary tables and such [19:29:15] usually there's a maint script for those [19:29:21] just keep an eye out on what's listed in updaters.inc :) [19:29:23] ok, Simetrical - i discovered something while trying to back up my db tables before my host messes things up again [19:29:32] i can't find the db for the latest mediawiki install [19:29:33] but [19:30:00] the localsettings.php file for the latest install seems to be pointing at a db with the same name as the one that throws me the error [19:30:04] hi Duesentrieb [19:30:45] brion: that's probably enough to get him running in the right direction [19:31:33] :D [19:31:59] woest case scenario, if i can't back up my mw database ... [19:32:05] Man I love Perl. [19:32:08] is there a way to snake it from the client side? [19:32:21] I just wrote a script that breaks out massive ass-files full of a bajillion classes into their own files. [19:32:34] And it even generates the $wgAutoLoadClasses entries for you \o/ [19:34:17] or, failing that, i have ftp access to my site ... if i just download the whole lot, will i get the db information too? [19:34:35] *MrSock cannot find his valuable mediawiki database [19:35:27] No [19:35:30] database is stored elsewhere. [19:36:30] fek [19:36:37] https://leuksman.com/index.php?title=File:Brion-fosdem2009.pdf&page=2&page=2 <- sweet! PdfHandler's kind of cute [19:36:48] no idea how to find it. can you offer any help, werdum? [19:36:52] i know how to get to it online [19:36:54] i have ftp access [19:37:01] i have the localsettings.php file [19:37:10] i just can't seem to find it thru phpmyadmin [19:37:17] brion: yeah, I <3 media handlers in general. [19:37:28] w00t, PDFhandler ! [19:38:22] Simetrical: idk why my init.d script wasn't working [19:38:31] but just running mysqld_safe started it up [19:38:36] and it's working perfectly [19:38:43] thanks for your help [19:47:17] 03aaron * r47226 10/trunk/extensions/CheckUser/ (4 files): (bug 17018) Automated smallest-CIDR calculation from within Checkuser UI [19:47:22] 03(FIXED) Automated smallest-CIDR calculation from within Checkuser UI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17018 +comment (10JSchulz_4587) [19:49:17] werdnum, it seems unifybot doesn't confirm any more when we add badwords [19:49:56] 03aaron * r47227 10/trunk/extensions/CheckUser/checkuser.js: Minor JS cleanup [19:54:22] 03(NEW) Usage of wgProfileLimit not implemented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17485 minor; normal; MediaWiki: Maintenance scripts; (manfredfr) [19:55:39] 03(mod) wgArticleRobotPolicies doesn' t work for pages with umlauts in the name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17410 (10manfredfr) [19:57:23] 03(mod) wgArticleRobotPolicies doesn' t work for pages with umlauts in the name - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17410 +comment (10brion) [19:57:49] 03(mod) Moving edits incomplete and stalled after renaming a user on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17313 (10mikelifeguard) [19:58:50] 03(mod) Request for Transwiki namespace on Wuu wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17484 (10antoinedelarue) [20:12:21] 03(mod) Run 'fix redirects' for nl.wikipedia (possibly more sites need it) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17476 +comment (10Ahonc.ua) [20:13:09] hello there [20:13:56] I've got another problem [20:14:01] err, not really a problem [20:14:09] I'd like to put a test like this http://it.wikinews.org/wiki/Wikinotizie:Quiz_sui_fatti_della_settimana [20:14:12] on my wiki [20:14:18] I don't know how to do that [20:14:31] ah, first, is that possible? [20:16:58] 195 people, and no one can help me? :( [20:19:59] I think you need the Quiz extension to be enabled [20:20:09] http://www.mediawiki.org/wiki/Extension:Quiz [20:20:22] if it is not already. You can look at Special:Version to see if it is. [20:20:28] ( Broc93 ) [20:20:35] 04(REOPENED) Autoreview without flag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17243 +comment (10marcin.cieslak) [20:20:57] atglenn: thanks :) are you the atglenn who edits on wiktionary? [20:21:02] well [20:21:09] I haven't edited on en wikt in a log time but yet [20:21:11] *yes [20:21:18] you are welcome :-) [20:21:24] :) [20:25:18] alright. back at it. i have multiple mw installs. i need to locate and back up the databse for one of them, but i can't find it in phpmyadmin. [20:25:23] i have its localsettings file. [20:25:51] it's pointing to a db with a certain name. when i look at that db in phpmyadmin, i see data for one of my other, original mw installs. [20:30:50] 03(mod) Autoreview without flag - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17243 (10danny.leinad) [20:32:42] Simetrical: What should we do about that Wikia extension nick committed? [20:33:10] I'm inclined to remove it, but I think we should first get the feature backported to 1.14 to justify that [20:39:42] how do I change the session time out limit? [20:42:21] Slurpee-: I don't think you can [20:45:54] 03(mod) Autoreview without flag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17243 (10JSchulz_4587) [20:47:48] 03rotem * r47228 10/trunk/extensions/CheckUser/CheckUser.i18n.php: Localization update for he. [20:52:18] 03(NEW) Editnotices generating invalid XML (HTML) around unordered lists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17486 normal; normal; MediaWiki: Page editing; (ioeth.trocolar) [20:53:16] i'm bouncing aroudn between this channel, #mysql and #php, hoping to get some love [20:53:35] i need to back up my mediawiki databases but i don't know how [20:53:57] will anyone show a little tenderness? [20:54:07] !backup | MrSock [20:54:07] --mwbot-- MrSock: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [20:54:21] roan - yes, i've seen that page [20:54:29] it describes backing up a dtabase via remote access [20:54:34] which i'm not sure my host allows [20:54:42] but in cpanel, there is a php remote access icon [20:54:55] since it's all new to me, i've no idea what to do or how to do it [20:55:02] <- afraid of the command line [20:55:10] but i have installed mysql server [20:55:25] MrSock: Got access to phpMyAdmin? I'm sure that has backup functionality [20:55:32] i have the localsettings.php file of the mw install i want to back up .. i'm almost there [20:55:52] roan - the mysql guys told me not to use phpmyadmin's backup, because it breaks stuff [20:56:12] and my larger problem is that, despite having the localsettings file for the install i want to back up, i can't find the db [20:56:14] anywhere [20:56:19] no idea how to find it [20:56:40] Hmm [20:57:35] i have an OLD mw install, and a NEW one. the old one doesn't work, but i can find the data. the new one works, but i can't find the data. [20:58:02] that's my problem, in essence. i want to send a support ticket to my host, but before i do that, i want to back up the wikis myself [20:58:08] in case they screw it all up [20:58:40] it's in backing up the inaccessible one that i'm having trouble. i can't find the db for the new (and working) install. [20:59:08] I'm sorry but I can't really help you with that [20:59:16] "Look harder" is the most useful thing I can say :( [20:59:51] kthx [21:02:07] atglenn: are you on? [21:02:15] yes [21:02:50] atglenn: how can I put an extension in the wiki? [21:02:53] I'm so n00b :D [21:02:58] which wiki is this? [21:03:19] !extensions | Broc93 [21:03:19] --mwbot-- Broc93: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [21:03:50] 03ashley * r47229 10/trunk/extensions/SocialProfile/UserStats/ (SpecialUpdateEditCounts.php UserStatsClass.php): applying r5951 from wikia codebase: don't use deprecated isBot() method [21:05:12] atglenn: it's the 2AS wiki, my class ;) [21:06:39] so you can edit configuration files, update source, all of that? [21:06:48] atglenn: yeah [21:08:03] generally you will want to download a copy of the extension, put it into the extensions directory of your mediawiki installation, and look at either its main php file or the readme if there is one; it will tell you if, besides the require line that.... [21:08:48] you need to add to LocalSettings.php, there are other settings for variables you need, or sql files that should be loaded up first. [21:08:59] the manual page about extensions is pretty readable. [21:10:18] http://www.mediawiki.org/wiki/Extension:Quiz [21:10:30] atglenn: it says I ahve to edit the localsettings [21:10:36] I uploaded the file [21:10:40] now I edit that [21:10:46] yes, you do have to edit LocalSettings.php [21:10:49] no question. [21:14:59] atglenn: Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/secondaa/public_html/wiki/LocalSettings.php on line 132 [21:16:31] 03(mod) wgArticleRobotPolicies doesn' t work for pages with umlauts in the name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17410 (10manfredfr) [21:17:58] Broc93: You're probably missing a closing semicolon on line 131 [21:23:04] 03ialex * r47230 10/trunk/phase3/ (4 files in 4 dirs): svn:eol-style native [21:23:15] Hello everybody:) [21:23:22] I have the problem [21:23:32] just ask :) [21:23:42] anybody russian?:) [21:23:57] My wiki in russian:( [21:24:02] VasilievVV is, but he's not around [21:24:09] and text of problem in russian:) [21:24:13] {{#if: | ����������� ��� ���������� �references� | }} [21:24:29] MrBullDoG: That doesn't have to be a problem. If you can give us a link, we can get the error message translated [21:24:44] http://animelife.org.ru/wiki/index.php/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D1%87%D0%B0%D0%BD%D0%B8%D1%8F [21:24:47] :) [21:25:07] !e ParserFunctions | MrBullDoG [21:25:07] --mwbot-- MrBullDoG: http://www.mediawiki.org/wiki/Extension:ParserFunctions [21:25:18] !e Cite | MrBullDoG [21:25:18] --mwbot-- MrBullDoG: http://www.mediawiki.org/wiki/Extension:Cite [21:25:22] Install that ---^ [21:25:34] isn't in MW itself but in the Cite extension [21:26:09] and {{#if: is in ParserFunctions :) [21:26:44] ialex: Yeah you're right [21:26:45] thx i will try :) [21:26:52] MrBullDoG: ialex is right, you need ParserFunctions too [21:30:29] I have the problem with ref tag [21:30:37] i want ref teg how in http://ru.wikipedia.org/wiki/%D0%90%D0%BD%D0%B8%D0%BC%D0%B5#.D0.9F.D1.80.D0.B8.D0.BC.D0.B5.D1.87.D0.B0.D0.BD.D0.B8.D1.8F [21:31:02] MrBullDoG: Like we said, you need to install the Cite extension in order to use and [21:31:02] but in my wiki it is http://animelife.org.ru/wiki/index.php/%D0%90%D0%BD%D0%B8%D0%BC%D0%B5#.D0.9F.D1.80.D0.B8.D0.BC.D0.B5.D1.87.D0.B0.D0.BD.D0.B8.D1.8F [21:31:08] And you need ParserFunctions for {{#if [21:31:26] RoanKattouw: he installed ParserFunctions, but not Cite [21:31:34] Ah [21:31:39] thx i am stupid:)i firget to install Cite extension [21:32:07] forget* [21:34:19] thx!it works!:) [21:35:01] 03catrope * r47231 10/trunk/phase3/ (4 files in 3 dirs): API: (bug 16740) Adding list=protectedtitles to list create-protected titles [21:35:29] 03(FIXED) list ProtectedTitles with API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16740 +comment (10roan.kattouw) [21:36:48] 03catrope * r47232 10/trunk/phase3/includes/api/ApiQueryProtectedTitles.php: Fix leftover doc comment in ApiQueryProtectedTitles [21:37:30] 03catrope * r47233 10/trunk/phase3/includes/api/ApiQueryProtectedTitles.php: ...and remove another allpages leftover *sigh* [21:41:04] Hi everyone! [21:43:32] hello:) [21:43:53] I have 1 problem with TEMPLATE:IPA [21:45:21] Does anyone know where the "ns-talk" class on the body originate from? -- It's not present on my talk pages on my local installation of MediaWiki 1.13.4. [21:46:30] I am a newbie and just installed mediawiki for a Intranet doc server and was wondering if there is a way to dynamically generate an index page for all pages in site? [21:47:08] scottmess: Special:Allpages [21:47:10] scottmess, Special:Allpages? [21:47:11] scottmess: like Special:Allpages ? [21:47:14] hehe [21:47:16] lol [21:47:32] scottmess: also look at categories. [21:47:37] !categories [21:47:37] --mwbot-- http://www.mediawiki.org/wiki/Help:Categories [21:47:50] hmm that does work [21:47:55] thanks [21:49:14] 03catrope * r47234 10/trunk/phase3/includes/api/ApiQueryProtectedTitles.php: And yet another fixup for r47231: use older/newer rather than ascending/descending [21:53:21] 03catrope * r47235 10/trunk/phase3/includes/api/ApiQueryProtectedTitles.php: Document ptlevel parameter. I should really learn to get stuff right in fewer than 5 commits [21:54:36] Ah! Found my answer! (bug 15079: Add class="ns-talk" / "ns-subject" to ) is present on the trunk but not in the 1.13.4 release of MediaWiki! [21:58:46] 1.13.4 was a security-only update. [21:59:40] I'm too chicken to go to the release candidate version. You think I should? [22:00:17] If you can use SVN, running the same version as the Wikimedia Foundation is usually pretty good. [22:01:05] unless when the version is a bit buggy, which is the case atm :) [22:01:59] 1.14.0rc1 should be good enough [22:02:05] 1.14 was branched ages ago [22:02:20] Even if I'm not using all of their extensions? In your opinion, would following the same revision as Wikimedia fondation cause me issue if I'm not using them? [22:02:41] You don't absolutely *need* those extensions. It's not like the absence of an extension will cause bugs [22:02:55] It may cause stuff like or {{#if to be handled incorrectly though [22:03:03] (you need Cite and ParserFunctions respectively for those) [22:04:56] Right. Beside, if I really grow a need to have one particuliar extensions, I can always install it later.. [22:08:24] <^demon> RoanKattouw: I know the limits are displayed in the api help, but what about an api-queryable way? Is there any way to know what our limits on action=query are from the bot/user's perspective? [22:08:43] ^demon: action=paraminfo [22:09:11] http://en.wikipedia.org/w/api.php?action=paraminfo&modules=query [22:09:36] *RoanKattouw wonders why that doesn't list titles,revids,pageids [22:09:44] Oh their ApiPageSet's of course [22:10:36] Hmm I'll expand paraminfo a bit tomorrow, I guess [22:10:45] Right now I'm gonna get some sleep [22:11:51] 03(mod) Support for Chemical Markup Language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16491 (10Gerard.meijssen) [22:27:44] Thanks you Marybelle, I've just updated to 1.14.0rc1, everything seem to run smoothly! [22:27:58] Nice. :-) [22:36:31] 03(mod) Add support for mhchem package in markup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5856 summary; +comment (10mikelifeguard) [22:37:12] anyone know if there is a spell check plugin for mediawiki? [22:37:46] scottmess: probably not, but I'm sure there is one for your browser :) [22:38:15] thanks for the tip [22:51:25] 03(NEW) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 15enhancement; normal; MediaWiki: Email; (majorly.wiki) [22:54:26] 03(mod) Improve security for Special:Userlogin (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9816 (10Platonides) [22:54:29] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 +comment (10Platonides) [22:57:22] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 (10majorly.wiki) [23:02:43] Is there a way that I can prevent all users but bureaucrats from seeing a page in mediawiki version 1.13? [23:03:43] !morbo | Genius101 [23:03:43] --mwbot-- Genius101: http://img514.imageshack.us/img514/330/morbomediawikiaf9.jpg [23:03:48] never mind i just found it in the faq [23:04:07] 03(mod) Block IPs abusing password reminder feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 +comment (10mikelifeguard) [23:08:37] 03aaron * r47236 10/trunk/extensions/CheckUser/ (CheckUser.php CheckUser_body.php checkuser.js): [23:08:37] * Added IPv6 support for JS [23:08:37] * Compacted code a tad and fixed doc typo [23:08:37] * Tweaked box width [23:08:37] * Minor JS cleanup [23:08:38] * Add onclick trigger for c/p'ing [23:19:34] wow RFCU is a mess now [23:21:13] 03dale * r47237 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (7 files in 5 dirs): [23:21:13] * archive.org remote archive search stubs [23:21:13] * basic sound mime type support [23:21:13] * remove old not used icons [23:32:18] Happy timestamp! [23:32:27] holy fuck, not this chan too :/ [23:32:43] woooo [23:32:58] This would have deserved a lot more media atention,though :P [23:33:31] 03aaron * r47238 10/trunk/extensions/CheckUser/CheckUser_body.php: Use addWikiMsg() [23:34:06] weee [23:34:16] AaronSchulz: http://identi.ca/tag/1234567890 [23:34:22] Platonides: is it 123456... ? [23:34:40] 1234567890, yes [23:43:02] right.. so I was about to ask something about mediawiki.. but i've been caught in the 1234567890 madness [23:46:03] 03aaron * r47239 10/trunk/extensions/CheckUser/ (CheckUser.i18n.php CheckUser_body.php): Change IPv6 CIDR min from 64 -> 96 since the former is too large [23:46:37] still? that was /so/ 14mins 53secs ago [23:47:10] brion: http://www.google.com/ [23:47:44] heh [23:47:55] someone is subpartitioning /64s?!!!? [23:47:56] 03aaron * r47240 10/trunk/extensions/CheckUser/checkuser.js: 64 -> 96 [23:47:59] THATS AGAINST THE IDEA [23:48:59] well, can't remember my specific question, so i'll ask the nonspecific one. ok.i'm trying to write tutorials on everything i know related to electronics, embedded programming, digital logic and the like. kind of a knowledge base, how to, reference manual and the like :) is media wiki right for me? [23:49:27] Sounds pretty good. [23:49:32] 03jnatividad * r47241 10/trunk/extensions/SemanticResultFormats/Ploticus/SRF_Ploticus_cleanCache.php: implemented recursive purge of ploticus sharded dir cache per $srfgPloticusCacheAgeHours param in LocalSettings.php (default: delete anything > 7 days old in cache) [23:51:25] 03werdna * r47242 10/trunk/extensions/LiquidThreads/ (27 files in 3 dirs): Break out LqtPages and LqtModel into their own pages/ and classes/ directory, with ONE FILE PER CLASS. [23:51:46] 03werdna * r47243 10/trunk/extensions/LiquidThreads/classes/ (7 files): Miscellaneous whitespace fixes, killing some lines of code commented-out with no explanation. [23:52:04] 03werdna * r47244 10/trunk/extensions/LiquidThreads/classes/LqtThreads.php: [23:52:04] LiquidThreads code quality: [23:52:04] * Line breaking, use dbw for master and dbr for slave. [23:52:04] * Make it work with multi-server setups -- it SELECTs a row right after INSERTing it, before even ending the transaction, from a slave. [23:53:19] 03werdna * r47245 10/trunk/extensions/LiquidThreads/LqtPages.php: Remove obsolete file. [23:59:55] 03(FIXED) Autoreview without flag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17243 +comment (10JSchulz_4587)