[00:00:27] 14(DUP) Include user/creator in RSS feed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16949 +comment (10brion) [00:00:29] 03(mod) Recentchanges feed doesn't show the editor's name/IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13045 +comment (10brion) [00:00:52] 03soxred93 * r45722 10/trunk/phase3/includes/api/ApiWatch.php: Fix comment leftover from ApiLogout [00:01:41] 04(REOPENED) Recentchanges feed doesn't show the editor's name/IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13045 +comment (10brion) [00:05:56] how would I make an XML dump of all of the wiki's pages? preferrably through a cli script? [00:06:15] dumpBackup.php [00:06:17] !backup | chuck [00:06:17] --mwbot-- chuck: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [00:06:18] chuck: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki#XML_dump [00:06:33] wow :P thanks [00:08:17] that looks perfect [00:09:45] 03(NEW) Autolink URLs in CodeReview SVN commit messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17011 15enhancement; normal; MediaWiki extensions: CodeReview; (brion) [00:15:19] oh, *awesome*, there's a library that does it, exactly what I need [00:18:01] hmm [00:22:15] *|X| hates getting an "Call to protected method" error [00:23:27] hi, in "deleted edits" is it only mainspace that counts? or do other things count? [00:23:34] and do redirects/moves etc count also? [00:26:38] 03aaron * r45723 10/trunk/phase3/includes/diff/DifferenceEngine.php: Cleaned up single rev page diffs (bug 11527) [00:32:54] 03(FIXED) Diff on page with one revision shows "Next" link to same diff - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11527 +comment (10JSchulz_4587) [00:34:37] bah [00:35:15] 03(NEW) Attach source files to uploaded images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17012 15enhancement; normal; MediaWiki: Uploading; (ryan.reich) [00:39:34] AaronSchulz: the preferences button needs to be adjusted for RTL languages -- http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45596#code-comments [00:39:54] 03aaron * r45724 10/trunk/phase3/includes/diff/DifferenceEngine.php: Fix for r45723 [00:43:22] brion: I replied on r45587 [00:45:05] yay [01:19:26] Is it possible to tweak the wiki in such a way that you HAVE to be logged in [01:19:31] to view pages [01:19:45] !access [01:19:45] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [01:20:10] bah, took me too long to look that up :P [01:20:15] heh [01:21:12] never try to race a bot, i guess [01:21:23] 03(mod) Tracking category for __NOINDEX__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16979 +comment (10ameliorate) [01:21:27] *werdnum is a robot. [01:21:57] 03(mod) Tracking category for __NOINDEX__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16979 +need-review (10ameliorate) [01:23:51] ok, this'll work [01:23:54] take care... [01:46:04] 03aaron * r45725 10/trunk/phase3/includes/RecentChange.php: Added notifyRC2UDP() convenience function [01:51:37] 03(mod) Tracking category for __NOINDEX__ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16979 (10public) [01:51:37] 03(mod) Track magic word usage in page_props - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14685 (10public) [01:54:16] wontfix is the most common aaron's way of fixing of bugs [01:56:45] Danny_B: xD [01:56:57] it's such a convenient resolution to use [01:57:36] Danny_B: Seriously. :| [01:57:47] "MediaWiki crashes on startup" "Sorry, its dinnertime, WONTFIX" [01:57:58] heh, win [01:58:29] MrZ-man: lmao [01:58:34] It's. * [01:58:43] more like "You Wikipedians need a break! WONTFIX!" [02:00:09] Danny_B: nonsense [02:00:29] brion: how is review coming? [02:00:43] oh, speaking of code review [02:01:10] someone who knows about it, would writing a Git adapter extending "SubversionAdapter" work? [02:03:59] chuck: without knowing what "SubversionAdapter" is, I'd think git and svn are different enough to fail in general [02:05:07] Callek: SubversionAdapter is an abstract class that just says you have to define some methods like getFile, getDiff, etc [02:05:23] chuck: what does it *do*? [02:06:37] .. [02:07:27] it's an abstract class [02:07:27] it doesn't do anything [02:09:24] my point being, what callers, or am I missing some point here [02:09:38] code for the sake of doing _nothing_ doesn't (or shouldn't) exist [02:09:58] so my Q is what is it that you are trying to do, and why is extending from the svn abstract useful [02:11:28] read the code [02:11:37] AaronSchulz: well, maybe i just have bad luck, but several of my bugs have been wontfixed by you recently [02:13:22] chuck: long story short, no time :-P [02:13:35] chuck: I was just commenting on difference between svn theory and git [02:13:46] Callek: I realize there are differences [02:13:59] do you know what an abstract class is? [02:14:10] 03(mod) Recentchanges feed doesn't show the editor's name/IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13045 (10danny.b) [02:14:24] this was one of them [02:14:46] yea, but what is it abstracting was my Q :-) [02:16:44] oh, it's not abstracting anything, i mean it uses the PHP "abstract" type, so other classes abstract it [02:17:56] Why don't any extensions use $wgExtNewTables? It makes me so mad >< [02:18:16] svn is just painful to use once you know git. [02:19:30] theocrite: I totally agree [02:19:43] 03(NEW) Patch 1.13.3 missing IEContentAnalyze.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17013 04CRIT; normal; MediaWiki: Uploading; (myers) [02:19:52] git is so much better in so many different ways [02:20:26] chuck: I think I am just miswording myself, "what do callers generally do" [02:20:34] *Callek equates php abstract type to .idl [02:20:56] 03(NEW) Blocked users can use Special:UserRights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17014 15enhancement; normal; MediaWiki: Special pages; (public) [02:20:58] AaronSchulz: ^ :-) [02:21:09] Callek: callers? [02:21:22] chuck: places where the abstract class's methods are called [02:21:36] aka: calling the places where they are actually defined [02:22:14] other classes just extend the abstract class, and they have to define the abstract methods [02:22:44] *Callek understands that concept == idl [02:22:57] chuck: but what calls into said abstract methods and why [02:23:06] nice to see that famous people use mediawiki [02:23:15] as in, what is the FUNCTION of the abstract [02:23:27] what solution/design goal/design constraint is it working with? [02:24:29] well there are multiple subversion adapters [02:24:46] one uses the pecl extension, one uses the command line, and an unimplemented one uses a JSON proxy [02:25:34] *Callek is not explaining himself well... [02:26:01] chuck: we both understand concept of abstract -- http://www.devshed.com/c/a/PHP/Using-Abstract-Factory-Classes-in-PHP-5-to-Work-with-Online-Forms/1/ is a quick google search showing abstrac class + two class that define methods for it [02:26:08] yeah [02:26:31] chuck: to use that page as an example, why would |createInputBox| be called, and from where (usually) [02:26:48] chuck: but s/createInputBox/whatever_methods_svnAbstract_has/ [02:27:28] oh.. [02:28:00] Callek: codereview does something like this: [02:28:15] $svn = SubversionAdapter::newFromRepo( 'somerepo' ); [02:28:26] and SubversionAdapter is the abstract class [02:28:42] *Callek comprehends the abstract of this [02:28:43] and that newFromRepo method will automatically return the best working subversion adapter for the person's setup [02:29:40] I just mean, given your example, what would $svn expect to do from said abstract class [02:29:46] what is the contract of those methods [02:30:22] $svn->print() for example (if exists) could be designed to print to stdout only [02:30:27] or print an html-formatted string [02:30:34] it would expect to be able to call the abstract functions (getFile, getDiff, getDirList) [02:30:40] 03(mod) Blocked users can use Special:UserRights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17014 +comment (10stevend811) [02:30:48] and each of the adapters that abstract SubversionAdapter use a different method of getting files, for example [02:30:50] but by making it a contract of what to expect when its called we can easily allow other callers to work [02:30:58] one uses an extension, one uses the svn cli command, etc [02:32:35] chuck: my point being, $svn->getDiff() has input/output that makes sense in git? [02:32:35] chuck: what and why would the code call getDiff() [02:32:35] does it make any assumptions about svn functionality, independant of how its implemented [02:32:35] oh, i understand you now [02:32:35] I haven't looked into any of that now [02:32:45] I'm just going to try the code with a subversion repo, then look into it more [02:32:46] because it can be an abstract on SVN which lets the implementation work completely differently between choices [02:33:10] or it could be a SCS abstract but named SVN because it has some (relatively easy to work around) assumption on the SVN model [02:33:31] git++hg for example, have changeset for entire repo, CVS does changeset per file [02:33:39] to use a large example that can put a muck in the cogs [02:34:07] *Callek isn't completely familiar with svn, my least used SCS [02:34:58] *Callek admits seemingly random people who you've never met coming here asking what I did, you are right to assume I don't understand php abstract [02:37:27] TimStarling: , brion just read the Network world article http://www.networkworld.com/news/2009/011309-wikipedia-digital-media.html?netht=rn_011309&nladname=011309. Not a word about Tim's rewrite of file repo. Still, decent article. [02:39:18] bluhhhh [02:39:40] i'm burned out, not gonna finish code review just now. might poke at it later, otherwise i'll poke it over in the mornin [02:40:59] oh noes [02:56:04] 03(mod) Special:Export should mention multiple pages in one URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9889 (10jidanni) [02:58:40] 03(NEW) Gan wikipedia special page: recent changes - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17015 15enhancement; normal; MediaWiki: Special pages; (songchang2000) [03:02:05] 03(mod) Special:Export all pages in namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9474 (10jidanni) [03:04:12] 03(mod) Gan wikipedia special page: recent changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17015 15enhancement->major; normal->high (10songchang2000) [03:10:01] Seriously? Again? [03:10:24] TimStarling: Ping. [03:10:47] yes? [03:10:49] http://gan.wikipedia.org/wiki/Special:RecentChanges?uselang=en [03:11:03] Translations are broken on yet another wiki. :-( [03:12:43] Can you revert the file, please? [03:12:43] from within function "User::addToDatabase". MySQL returned error "1062: Duplicate entry 'Mr.Z-man.sock' for key 2 (10.0.0.234)". [03:12:43] what's the problem exactly? [03:12:48] TimStarling: The translations got mixed somehow so RecentChanges is now redirecting to RelatedChanges. [03:13:19] <|X|> Is there a way to add an API function through an extension? [03:13:20] Thus, nobody can monitor the wiki... [03:13:31] |X|: I think SiteMatrix does it. [03:13:37] and when visiting that wiki, I got that db error... [03:13:39] So, yes? [03:13:47] <|X|> Is the source to Sitematrix available? [03:13:49] GlobalBlocking does as well [03:13:52] SVN. [03:13:58] Where everything else is. [03:14:03] 'cept config files. :P [03:14:43] *|X| is an idiot [03:15:11] *|X| had no clue about the $wgAPIModules variable [03:18:33] Is it possible gan.wikipedia isn't using MessagesGan.php ? [03:20:51] *Marybelle sits here quietly. [03:31:01] *|X| is now getting a "Cannot connect to DB error" [03:31:23] <|X|> Oh, maybe it's because MySQL isn [03:31:25] <|X|> 't installed [03:52:08] <|X|> Argh... /me can't figure out how to add a new message to the API from an extension... [04:40:08] The PHPMathPublisher TeX alternative extension is printing its code directly onto my page. http://www.mediawiki.org/wiki/PhpMathPublisher_alternative [04:50:55] :o thats not in the correct namespace [04:54:21] are you addressing me? [04:54:39] {{sofixit}} :P [04:54:39] no, just pointing out a fact [04:54:58] i'm scared that someone will attack me/do it wrong [04:59:28] hi do you guys have any idea why is mediawiki causing my server's load to be 100%? [05:02:23] ajushi: is it all the time or just when you do something like image uploading? [05:52:42] rar [06:41:31] 03(NEW) Page creation notification email is sent when a watched page is deleted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17016 minor; normal; MediaWiki: Email; (Emufarmers) [07:13:15] Hi everyone! Does anyone know if there's a puTTy version available for Mac? [07:13:39] are you asking because you need it to connect to svn.wikimedia.org? [07:14:57] I need to connect to my own wiki. I switched from pc to mac recently. [07:15:22] i guess you mean connect to the host, not the wiki itself ;) [07:15:26] you might try the ssh client that comes with the OS [07:15:36] correct [07:16:52] do you have its name by any luck? [07:17:47] Command line? [07:17:55] Just type ssh foo@example.com [07:19:47] http://www.google.com.au/search?q=ssh+clients+for+mac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a [07:22:08] Marybelle: first week I use a mac :( where would the command line by on this computer?!? ;) [07:22:49] p858snake|BDay: I tried that. First result that shows up sux... so I'd rather go by people's recommendations [07:22:55] mathieu_: Applications --> Utilities --> Terminal. [07:23:11] you're terminal [07:23:14] Marybelle: Thanks [07:23:26] *Splarka saves up for the good ones, not the cheap shots [07:24:24] Splarka: Has Marybelle been teaching you the difference between contractions and possessives? [07:26:21] werdnum: do you follow our rapport? [07:27:00] Thanks Marybelle. I'm in :) [07:27:27] No problem. [07:28:00] *Splarka gives werdnum the hubris-fail award [07:28:21] *p858snake|BDay gives Marybelle a Pen and Paper barnstar >.> [07:28:44] I have a real barnstar. [07:28:47] Betsy gave me one. [07:28:52] hey.. by the way, the reason why I needed root access is because my wiki seems to not refresh the number of articles... it seems stuck at a certain number [07:29:14] werdnum: the only reason i choose that one is that it is up for deletion [07:29:40] are you adding new pages to a content namespace with a link while not making them valid redirects? or at least [[ somewhere on the page? [07:30:45] Splarka: I imported some pages from wikipedia and they don't seem to have all been counted [07:31:09] ew, import [07:31:09] try null editing one to see if it increments [07:31:18] mathieu_: Run a maintenance script? [07:31:20] (but yah, run the maintenance script refreshlinks or somethin?) [07:31:22] To rebuild your tables? [07:31:26] Jinx. [07:31:31] you're a jinx [07:31:37] Prove it. [07:31:38] what's a jink? [07:31:45] Doesn't matter. [07:31:47] nevermind [07:31:54] like when you're 2 years old and riding in the car [07:32:01] and you punch your sister when a Volkswagen goes by [07:32:03] "Slug bug!" [07:32:10] :) [07:32:12] > A common slang term used when two people say the same thing at the same time (said as a game amongst the young). [07:32:14] http://en.wikipedia.org/wiki/Jinx [07:32:17] You're a sl.. this is too easy. [07:32:28] yes, and you're still terminal [07:32:34] yep [07:33:04] what would be the basic maintenance script to run to find out if something got stuck? [07:33:29] and where are all the other 172 members in this room? [07:34:37] !sleeping [07:34:37] --mwbot-- Yes, we know there are a lot of people in this room. No, we don't know why they aren't all tripping over themselves to answer your question. Maybe it was esoteric, or off topic, or dumb. [07:35:11] That is SO funny! [07:35:13] http://www.mediawiki.org/wiki/Manual:RefreshLinks.php [07:35:20] probably run this, and see if the count changes [07:35:31] but do realize.. it is a running count most of the time, as rebuilding is slow [07:35:37] and not everything counts it properly [07:35:40] or even the same [07:36:04] I think ^ that one rebuilds the article count too, maybe [07:36:27] http://www.mediawiki.org/wiki/Manual:UpdateArticleCount.php [07:36:30] or that one [07:37:48] argh! I did something wrong: -bash: maintenance/updateArticleCount.php: No such file or directory [07:37:58] hmm i should move that article on the mediawiki wiki to the extenstion but i'm too scared to do it >.> [07:38:35] mathieu_: If your wiki isn't very big, you can run rebuildAll. [07:38:37] It shouldn't take too long at all. [07:39:00] yep. I have a small wiki [07:39:15] no comment on that last one! [07:39:48] yah, I dunno about these guys with huge wikis, millions of usernames etc... maybe they're compensating for something [07:41:27] You know what they say about people with large wikis. [07:41:45] They have large servers? [07:42:00] Large database tables. [07:42:11] is there a different way to enter the script on a mac? I can't get into the maintenance subdirectory :( [07:42:28] mathieu_: cd maintenance [07:42:31] cd maintenance ? [07:42:38] Yeah. [07:42:38] yep. just did [07:42:39] yes, that fixes compact discs [07:42:53] try dvd maintenance too [07:42:58] mathieu_: Now you should be in the maintenance directory. [07:43:08] Assuming you started in the wiki folder... [07:43:10] -bash: cd: maintenance: No such file or directory [07:43:25] ls [07:43:27] pwd [07:44:00] Those two are pretty helpful. The first lists all (non-invisible) files in your directory. The second lists your present working directory (a.k.a. where you are right now). [07:45:53] 03(FIXED) Gan wikipedia special page: recent changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17015 +comment (10public) [07:46:40] how would I switch to another directory from where I am? seems like I'm somewhere else. Its name is "en". Thanks! [07:47:13] cd where/you/want/to/go [07:47:40] gosh! I know people who would actually type that :) [07:48:02] why does every single windows app try to create an icon on the desktop? [07:48:36] !windows sux [07:48:36] --mwbot-- I don't know anything about "windows". You might try: !bom !downgrade [07:48:48] lol [07:49:32] the problem isn't windows, just third-party apps [07:49:38] yksinaisyyteni: It makes new programs easier to access. [07:49:59] Marybelle: for people who can't operate the start menu? [07:50:03] I like the feature, personally. You can pretty easily throw away the shortcuts if need be. [07:50:11] it even highlights new programs nowadays... [07:50:29] The start menu can be onerous. And not all programs go directly in there sometimes. Or sometimes there are lists you have to read. [07:50:40] And I'm rather lazy. Big icon --> double-click. [07:50:57] well, that's fine if you have like... two programs. but doesn't your desktop end up a little cluttered? [07:51:28] I usually only use Windows for about ten minutes before getting frustrated and closing the VM window. ;-) [07:51:35] So I don't worry about a cluttered desktop. [07:51:44] only keep those that you use often on your desktop [07:52:05] And most installers give the user an option to install desktop icons or not. So /me shrugs. [07:54:10] Thanks Marybelle. it's currently rebuilding the links tables [07:57:24] is there any books that you would recommand about MediaWiki? on the administration of the wiki for exemple? [08:00:23] I got MediaWiki Administrators' tutorial guide, by Mizanur Rahman. Pretty light but good to start with. Wikimedia should publish its own. [08:01:18] mathieu_: Reading mediawiki.org is usually pretty helpful. [08:01:25] And read the defaultsettings file. [08:02:17] I was looking for something to read in the train or plane [08:03:02] This is wiki software. Most docs are on the Web. ;-) [08:04:13] *p858snake|BDay pokes Marybelle with http://www.mediawiki.org/wiki/PhpMathPublisher_alternative p858snake|BDay: So move it? :-) [08:04:51] I know. And I think about the poor guy who would have to update the book collection everytime there's a new feature or something [08:05:44] mathieu_: yah, poor guy, selling loads of books [08:06:15] there is probably something printable on wikibooks.org (do they use the Collection extension that exports to PDF?) [08:07:09] Marybelle: 1) its mah birthday so i shouldn't need to do anything 2)if i move it something will break and everyone will blame me [08:07:11] 03(NEW) Importing to arz.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17017 15enhancement; normal; Wikimedia: Site requests; (gaghaly) [08:07:28] Splarka: Yes http://en.wikibooks.org/wiki/MediaWiki_Administrator%27s_Handbook and yes. [08:07:34] http://en.wikibooks.org/w/index.php?title=Special:Collection/render_article/&arttitle=MediaWiki_Administrator%27s_Handbook&writer=rl [08:08:03] hi do you guys have any idea why is mediawiki causing my server's load to be 100%? [08:08:22] mathieu_: go to Kinko's and have that printed [08:08:34] Marybelle: some people are just awsome. [08:08:35] ajushi: Poor administration of it? [08:08:37] p858snake|BDay: Done. [08:08:45] mathieu_: I'm well aware. :-) [08:09:14] Marybelle: do you have any suggestions on how to fix it? [08:09:22] mathieu_: you might want to ask the safri users about that >.> [08:09:46] ajushi: is it at 100% all the time or just when you try to do something, eg: upload a image? [08:09:55] it only happens on certain times during a day but i checked and apache is only serving 12req/s [08:10:04] ajushi: No idea. [08:10:05] p858snake|BDay: happy birthday btw! [08:10:09] Did you know that according to the current GNF Free Documentation Licence, I could actually make a book out of it and sell it as long as I don't alter the content? [08:11:09] mathieu_: you can alter the content, you just need to attribute, link back, include the full license documentation, other crap [08:11:19] p858snake|BDay: it happens on certain times during the day but i don't think i'm having lots of visitors. i checked using apache's mod_status and i'm only getting 12req/s [08:11:39] mathieu___: you can alter the content, you just need to attribute, link back, include the full license documentation, other crap [08:11:40] your own server or shared hosting? [08:11:57] p858snake|BDay: own server [08:12:14] sure [08:18:15] Splarka: yep. that what this SF based publishing company did by coming up with the book "How Wikipedia Works". Just throwing some ideas [08:18:29] and you can use their new versions, GFDL baby [08:18:33] even sell it, heh [08:18:56] mathieu___: but printed versions aren't as handy as you might think [08:19:14] so many versions, so many changes, so many extensions/settings that totally change syntax [08:29:31] 03(mod) New type for #ask queries: Total! - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14835 +comment (10planetenxin) [08:43:46] moin [08:51:09] uh hi? [08:52:48] 03(NEW) Automated smallest-CIDR calculation from within Checkuser UI - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17018 15enhancement; normal; MediaWiki extensions: CheckUser; (mapellegrini) [08:53:04] bah, checkusers should have base-2 to base-255 conversion as a prerequisite [08:55:00] "You're a binary math prerequisite" [08:55:19] That's what she said. [09:10:33] rofl [09:29:18] does someone here have a recommendation for a python library for generating HTML output from wikepedia source? [09:34:27] !parsers | jdahl [09:34:27] --mwbot-- jdahl: For alternative parsers, see . For an (incomplete) specification of mediawiki syntax, see . [09:35:10] Duesentrieb, thank you [09:36:08] jdahl: note that none of them can handle templates, and most extension tags won't work either. [09:36:24] it's good enough for the simple formatting stuff generally. Images may get tricky already though. [09:37:03] Duesentrieb, from a quick scan mwlib looks interesting. I need basic formating, but images and equations as well [09:37:25] mwlib appears to be what pediapress uses. so it's probably pretty advanced. [09:37:32] try it. [10:50:06] How does mediawiki extracts keywords from the content of articles? [10:59:27] peleg: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/OutputPage.php?view=co&content-type=text%2Fplain [10:59:36] private function addKeywords() [10:59:48] * This function takes the title (first item of mGoodLinks), categories, existing and broken links for the page [10:59:48] Splarka, thanks! [10:59:48] * and uses the first 10 of them for META keywords [11:03:37] Splarka, ooh, that's not pretty. [11:03:48] heh [11:03:50] obviously [11:03:52] I thought it is smarter [11:04:06] mediawiki disappoints me time after time lately [11:05:11] don't look under the hood [11:14:18] hello, something has happened with my wiki, some images don't want to open (i get blank white screen with no errors), i have checked and the file is physically on the server, what can be the problem [11:14:27] permissions are fine also [11:16:15] but this isn't for all images, only for some [11:21:31] ok, i'm really lost, image *is* in the database, and everything seems (to me) to be as with other images [11:22:07] hello everybody i have a little question [11:23:32] i started a wiki via mediawiki on my server, and is there anything i ave to do so google finds my wiki? on the testpage it says there i no text which can be searched on my site but in the wiki i have about 100 articles? [11:24:33] mmack, way few days and check again [11:24:38] wait* [11:24:44] google will crawl the site when it find links to it from other pages [11:25:26] you can check the logs of the access to your site and look for the crawls, and then (after a bit of wait) google search will be handing out links to your wiki [11:26:20] ahh okay [11:26:36] were can i find the acces log? [11:27:17] err. i'm not really sure, it will be somewhere where apache (i assume you are using apache) puts them, i don't run my own server, so i can't help you there [11:30:45] hi guys.. I've lost my admin password; is it just a matter of editing the mysql user_password entry for Admin with a new md5 hash? [11:31:12] hmm okay thanks anarhist [11:31:23] i will search for it :-) [11:31:38] np [11:31:47] now only if somebody could help me with my prob [11:35:44] anyone? anyone? bueller? [11:35:49] :> [11:37:29] gamla_kossan, check FAQ [11:42:00] !passwordsql [11:42:00] --mwbot-- UPDATE user SET user_password=CONCAT(':A:', MD5('password')) WHERE user_name='John Smith'; This will reset the password for the user with user_name 'John Smith' to 'password'. [11:43:12] Hi! I'm trying to set short url, after changing htaccess and LocalSettings I can access the wiki through wiki2/Page_TITLE. But wiki still generate non-pretty links on articles and redirects to "mediawiki/index.php?title=Main_Page". Here my config: http://pastebin.com/d21c23246 [11:44:14] I've tried setting "$wgUsePathInfo = "/wiki2";" But it gives the same result as " = true;" [11:46:34] gamla_kossan, did you see ^^ [11:47:24] :> yeah, splarka quit before I had a chance to thank him/her though. [11:47:24] ok [11:47:47] thx for asking though :> [11:47:52] pfx, http://pastebin.com/m5ae08713 this is what i have [11:48:42] the last 3 lines are mine there [11:49:25] Anarhist: I will try it now. [11:51:11] Anarhist: it didn't help, I get "mediawiki/index.php?title=Main_Page" again. [11:51:31] And links generated in the same way too. Looks like it didn't get any config change. [11:51:58] pfx, you have that in FAQ too [11:52:16] sorry, pfx, i can only show what i have [11:52:32] Anarhist: thanks. [11:52:39] Sasa^Stefanovic: Hm, will check. [11:53:04] http://www.mediawiki.org/wiki/Manual:Short_URL [11:53:06] there [11:53:09] so are there even a remote hint as to what i'm suppose to do to look for the solution to my problem? [11:54:39] the problem happened after the update, and during the update i temporarily messed up images directory, so could mediawiki have "forgotten" about the images people tried to access during that mess-up? [11:55:52] Sasa^Stefanovic: I've read that article and set all things according to it. [11:56:09] If you look on my pastebin you will see it. [12:05:19] is there a way to force mw to give me more errors or something, so that at least i don't get blank screen [12:05:36] !debug [12:05:36] --mwbot-- For information on debugging (including viewing errors), see . [12:06:27] !blankpage [12:06:27] --mwbot-- A blank page usually indicates a fatal PHP error. See !error [12:06:32] Hm... I've tried to set "$wgScriptPath = "/mediawikiqweqweqw";" My installation still works. But it shoudn't, right? [12:06:54] !error [12:06:54] --mwbot-- For information on debugging (including viewing errors), see . [12:07:07] pfx: "works" is relative. you will probably still see the main page. but editing would fail, i guess. [12:07:26] Anarhist: you already got it right :P [12:07:35] Duesentrieb: sditing works too... Magick? [12:07:38] q; -) = [12:08:12] pfx: dunno. magic, caching, whatever. i'm not quie sure what scriptpath is used for, and when. [12:09:51] per default it's also used to build the style path, etc... but you may have changed that [12:09:51] i still get blank page... q; -((( = [12:09:51] How can I break LocalConfig? :) [12:09:51] also, if you decoupeled $wgSCript, editing would work [12:09:51] pfx: break the syntax [12:09:51] just add x x x x x somewhere [12:09:51] Anarhist: so, look into a) pep's error log and b) apache's error log. make sure phph *has* an error log. [12:09:51] Duesentrieb: nothing happened :D [12:09:51] pfx: so you are editing the wrong file. [12:10:35] I even deleted it. Duesentrieb: mediawiki/config/LocalSettings.php... [12:10:48] pfx: the copy in the config dir does nothing. [12:11:02] the real settings file is right in the installation root [12:11:10] mediawiki/LocalSettings.php [12:11:18] Oops. heh :) Duesentrieb: thanks. [12:11:30] "config" is a misnomer. that dir should be called "install". because it's for the installer only. you can delete the dir once you installed. [12:12:25] Duesentrieb: I remember something like this. I've installed wiki manually half o year ago. Now I used GoDaddy hosting connection for automatic installation. [12:12:34] Duesentrieb: thanks a lot :) [12:12:49] np [12:15:34] there is nothing in the error logs provided either... q;-/= [12:26:52] so what else can it be, if not a php error? [12:27:06] i am getting no error messages nor error logs still [13:02:03] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 +comment (10soxred93) [13:06:31] hi [13:06:48] is there anyone who can speack with me? [13:06:56] I have a code problem on mediawiki [13:07:09] ask [13:07:13] well [13:07:17] this is my problem [13:07:18] we all can speak with you [13:07:24] tnx [13:07:31] I have a web site [13:07:42] in this web site users must access to use it [13:07:55] in my links inside the web site menu [13:08:09] I have also an internal wiki [13:08:29] when a user click on the link he goes on the wiki main page [13:08:43] but the system ask him his user and passw [13:09:07] I have a database with credentials and I stored password writing them in MD5 [13:09:35] How can I pass the credential to wiki and make an authomatic access [13:09:45] ? [13:09:49] this is my problem [13:09:59] I hope you understand my poor english [13:10:31] yes, you want to enable one login for both, site and wiki [13:10:36] but mail login is in site [13:10:47] yes [13:10:49] perfect [13:11:17] the link menu can be viewed only if you access [13:11:42] so the users who click on wiki link are logged [13:11:55] is your site public ? [13:12:02] so and so [13:12:09] it's a reseved project [13:12:16] is it maybe cms or ? [13:12:27] there is some plugins/extensions for some cms that do that stuff [13:12:32] and some forums too [13:12:47] no [13:13:06] we programm all the site with a framework done by us [13:14:02] I discover it's possible to log into wiki knowing login and password and pass them into the $_POST array [13:14:12] but I have only the login [13:14:18] password is in MD5 [13:14:56] so I think I must add a flag in GET and if there is this flag, modofying the LoginForm class [13:15:23] write a condition that do not translate the inserted password in md5 [13:15:42] do you know where is the loginform class code inside the wiki dirs? [13:16:38] because it's right that wiki ask credentials if you go directly to the index file withouth log yourself [13:16:56] but if you are logged, wiki should consider you logged... [13:17:28] i don't know, but wait for someone who does [13:17:32] *Sasa^Stefanovic pokes Duesentrieb [13:17:45] I hope so :( [13:18:13] !auth [13:18:13] --mwbot-- http://www.mediawiki.org/wiki/AuthPlugin [13:18:20] oh thank you [13:18:26] I'll read this link [13:19:40] shouldn't nobr be allowed html ? [13:20:11] or is that tag outdated? i think it's pretty handy in tables [13:20:55] so I have to write a my own plugin :S [13:21:18] mmh, I hope it wont be hard for me :D [13:21:23] but I'll try [13:21:44] !auth [13:21:44] --mwbot-- http://www.mediawiki.org/wiki/AuthPlugin [13:29:53] Help required about http://www.mediawiki.org/wiki/Manual:Tag_extensions#Extensions_and_Templates [13:30:15] Can I use http://www.mediawiki.org/wiki/Extension:SimpleFeed inside a template? [13:30:48] {{#tag:feed|{Title}|url={{{1}}} }} does not parse the last parameter [13:32:15] so what is it about the nobr tag being allowed wiki html? can't find info [13:33:08] template:myrss {{myrss|"http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=rss"}} [13:44:02] Hi, can anyone help me with 2 dumb questions? (noob user)\ [13:44:41] just ask [13:45:07] dumb question 1 - what is the default admin password? i just can't find it =/ [13:45:31] it's the password you set during installation [13:46:38] http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F [13:47:25] dumb question 2 - i am using a private mediawiki, and already block anonymous edit and view without login, but by some way, i can put logins request into "quarantine", to the admin( me) , permit the login, before the user can login? [13:47:48] Wuzur|rhn: thanks, i know the password, and thanks for rember-me that i a user set up password =p [13:48:09] !e ConfirmAccoung | SergioBZ [13:48:09] --mwbot-- SergioBZ: http://www.mediawiki.org/wiki/Extension:ConfirmAccoung [13:48:31] !e ConfirmAccount | SergioBZ [13:48:31] --mwbot-- SergioBZ: http://www.mediawiki.org/wiki/Extension:ConfirmAccount [13:48:36] sorry [13:49:25] thanks! [13:51:48] Wuzur|rhn: thanks! [13:52:47] hello, someone here could help me with templates? [13:53:42] just ask [13:55:45] I'm trying to implement an existing template by copy pasting the source into the right pages, put it seems to go wrong at the switch statements [13:55:45] maybe something needed that I forgot? [13:55:46] or some serverside adjustments? [13:57:13] !e ParserFunctions | TheoLogic [13:57:13] --mwbot-- TheoLogic: http://www.mediawiki.org/wiki/Extension:ParserFunctions [13:57:58] THX! [14:05:38] anyone know some how to make a working email system in wikimedia? [14:12:09] Wuzur|rhn: I added the files, and edited the localsettings file; but it still isn't working... [14:12:32] sorry, I have no time now [14:13:01] maybe it could be something small, nothing U can think about right now? [14:13:59] does it have to be installed? [14:19:16] nvm, found it [14:19:25] hi all [14:19:54] i'm trying to use dumpBackup.php but i get DB connection error [14:22:57] HELP!! how to make short links with 1and1 and wiki.domain.com format? [14:23:11] 03(NEW) Google complains that the sitemaps have the same priority. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17019 minor; normal; MediaWiki: Maintenance scripts; (mediawiki) [14:29:30] anyone know how to remove 50 words limit in Personal biography ? [14:30:05] 03aaron * r45727 10/trunk/extensions/CodeReview/SpecialCode.php: Bug 17011 Autolink URLs in CodeReview SVN commit messages [14:30:13] 03(FIXED) Autolink URLs in CodeReview SVN commit messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17011 +comment (10JSchulz_4587) [14:31:23] SergioBZ: add $wgAccountRequestMinWords = 0; to LocalSettings [14:31:56] yeah, i find SpecialConfirmAccount.php =) [14:32:14] :) [14:32:31] but when i request my account, the wiki stay blank, and don't go back to the inical page, any idea about? it's a bug? [14:32:41] 03(NEW) why $this->load(); Language.php 1495 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17020 normal; normal; MediaWiki: Internationalization; (zayoo) [14:32:57] sorry, I don't use that extension, maybe a bug [14:35:13] Hi, How can i stop memcahce caching specific pages (Namely those with parse functions such as current time) [14:36:53] 03(mod) padleft and padright do not handle multibyte characters properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16852 +comment (10Simetrical+wikibugs) [14:48:42] Hello everybody [14:48:46] Hello everybody [14:49:49] How can I use DynamicPage? [14:52:11] Mr-Fine: You need to get the /extensions/Intersection dir, probably from SVN [14:52:37] then add the require_once(); (or whatever) line to LocalSettings.php [14:52:57] Mr-Fine: The instructions are at http://www.mediawiki.org/wiki/Extension:Intersection [14:53:48] Mike: I'm working on a project called Citizen journalism website something similar to Wikinews, do you have any idea in mind? [14:54:19] I just looking for opinions [14:54:51] I would join Wikinews instead of starting over :) [14:55:45] well, I've contribute alot to Wikinews but my project is on a particular country [14:57:32] Anybody, who would like to give me opinion for setup a News wiki? [14:58:44] 03(FIXED) Unify paging link classes on special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12388 +comment (10raimond.spekking) [14:59:25] HELP, what is the user for the administrator? [15:00:38] Stanlin: Please explain! [15:01:37] Stanlin: are you talking about Username or something else? [15:01:39] Wuzur|rhn: the blank screen give me this error in log: http://dpaste.com/108962/ u have any idea about it? [15:02:13] Stanlin: is the user admin and password that you put in setup [15:02:29] Mike: I wanna know information about Categories, who they work. Any URL? [15:02:32] Stanlin: You have set it up on install [15:02:45] Mr-Fine: yeah i forgot the admin name on the install [15:03:00] Stanlin: Usually that user is called WikiSysop, I think? (it's been a while since I needed to know that...) [15:03:07] Stanlin: maybe you could find it in Localsettings.php-file [15:03:16] Stanlin: to go Special:Listusers [15:03:32] Mr-Fine: it's not in LocalSettings.php [15:03:45] ialex: I said, maybe :D [15:04:01] but if he forget password :O [15:05:39] Mr-Fine: there's maintenance/changePassword.php for that ;) [15:05:39] 03(mod) Importing to arz.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17017 +shell; +comment (10innocentkiller) [15:05:39] SergioBZ: It seems that mailing does not work proplery on your server [15:05:39] oh, if Email is in working [15:05:39] how to know if im an admin or no? [15:05:55] If your account is an admin, you will have a 'delete' tab for example. [15:06:12] (on pages) [15:06:18] (which aren't special pages) [15:06:21] Special:Listusers/sysop if it is mentioned there [15:07:33] !category [15:07:33] --mwbot-- http://www.mediawiki.org/wiki/Help:Categories [15:08:33] *Mr-Fine : Bot is working [15:08:40] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10raimond.spekking) [15:08:53] 03(mod) commonPrint.css breaks subscripts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15886 (10raimond.spekking) [15:09:34] 03(mod) Remove .hiddenStructure from CSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17009 (10raimond.spekking) [15:09:36] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10raimond.spekking) [15:09:42] 03(mod) User CSS/JS should be parsed as it is rendered, with all wikicode ignored (treated as source/pre) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16683 (10raimond.spekking) [15:09:43] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10raimond.spekking) [15:10:15] 03(mod) Several problems with styles for thumbnails (thumb) in PageCSS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16272 (10raimond.spekking) [15:10:28] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10raimond.spekking) [15:11:10] damn i cant figure out the admin account.... [15:11:18] How to Hack my own wiki website?? [15:11:21] 03(mod) Split MediaWiki:Usercssjsyoucanpreview into two messages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15680 (10raimond.spekking) [15:11:23] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10raimond.spekking) [15:11:29] Stanlin: get it from Special:Listusers [15:11:39] ialex aint listing there [15:11:51] Stanlin: no user there? [15:12:02] no, just normal users [15:12:39] 03(mod) Problems wih fallback character encoding - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17020 -easy ; summary; +comment (10niklas.laxstrom) [15:14:37] Wuzur|rhn: is PEAR mail missing =) just a pear install mail, solve my problem [15:14:59] media wiki is based on pear? [15:16:09] Stanlin: some optional features [15:16:58] 03(mod) Blocked users can use Special:UserRights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17014 (10matthew.britton) [15:18:50] What is the secret backdoor to hack media wiki? [15:19:45] you wanna hack what [15:19:55] its open software, i one can use [15:20:01] i want to hack my own wiki [15:20:03] any^ [15:20:06] !hacker | Stanlin [15:20:06] --mwbot-- Stanlin: http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [15:20:16] lol [15:23:15] What is difference between Extention:Intersection and Extention:DynamicpageList2 ? [15:26:24] Mr-Fine: Read the documentation - that is described very clearly. [15:33:07] 03(mod) Require active confirmation when Re-blocking a user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16814 (10mikelifeguard) [15:33:22] How can i lock an article page so no one can able to edit it anymore [15:33:47] protect? [15:34:57] 03(mod) Importing to arz.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17017 (10gaghaly) [15:35:24] Mr-Fine, yes. [15:36:08] Well, so only sysops can edit it [15:36:14] !access | Mr- [15:36:14] --mwbot-- Mr-: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [15:36:19] or whatever :P [15:36:26] *Mike_lifeguard cleans his keyboard [15:45:53] !intersection [15:45:53] --mwbot-- I don't know anything about "intersection". [15:47:21] 03(mod) user native getElementsByClassName - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16459 (10hartman) [15:51:16] Mr-Fine: http://www.mediawiki.org/wiki/Extension:Intersection [15:52:32] 03(NEW) clear "File history" h2. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17021 15enhancement; normal; MediaWiki: User interface; (hartman) [15:54:31] I cant find downloadable files [16:00:29] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/intersection/ [16:00:35] as linked from the page on mediawiki.org [16:03:34] 03rainman * r45728 10/branches/lucene-search-2.1/ (7 files in 6 dirs): [16:03:34] Minor patches: [16:03:34] * test cases for CJK, cannot reproduce jawiki bug, needs more investigation [16:03:34] * network thread tuning and reporting [16:03:34] * add mwdumper into the repository so people don't need to build their own [16:16:40] hi there. I'm trying to install the Export Pdf extension in a new mediawiki install. I can successfully generate a PDF going via the "Special" page, but there's no link appearing in the toolbox on each page to do so more easily. google isn't being helpful. any pointers appreciated. [16:20:17] 03ialex * r45729 10/trunk/extensions/Configure/ (5 files): Added support for APCOND_AGE_FROM_EDIT condition of $wgAutopromote [16:22:31] 03(FIXED) recommended svn version for 1.13 is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16849 +comment (10alex.emsenhuber) [16:26:49] 03ashley * r45730 10/trunk/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php: nasty css fix [16:26:56] simonrvn: yo [16:27:25] hi [16:28:26] 03(FIXED) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 +comment (10rhalsell) [16:34:33] 03(mod) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 (10dferg-wiki) [16:35:18] <|X|> Hmm, why are all the functions on CheckUser_body.php protected? [16:40:03] 03(mod) padleft and padright do not handle multibyte characters properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16852 (10rememberthedot) [16:49:00] why not? [16:53:17] 04(REOPENED) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 +comment (10rhalsell) [16:56:05] 03yaron * r45731 10/trunk/extensions/ExternalData/ (ED_ParserFunctions.php ED_Settings.php README): Version 0.2 - handling of JSON files added [16:56:54] Mike: you there? [16:57:23] I need some help regarding Infobox'es [16:58:12] under , I want to put articles that are linked to a particular category [16:59:44] I'm trying to install the Export Pdf extension in a new mediawiki install. I can successfully generate a PDF going via the "Special" page, but there's no link appearing in the toolbox on each page to do so more easily. google isn't being helpful. any pointers appreciated. [16:59:45] 03(mod) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 (10Platonides) [17:01:20] 03(mod) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 (10dferg-wiki) [17:02:30] does anyone have tips on converting a mysql-based mediawiki install to a postgres-based install? [17:03:47] do it in Localsettings.php=file [17:04:23] 03ialex * r45732 10/trunk/extensions/ (4 files in 3 dirs): svn:eol-style native [17:04:58] 03catrope * r45733 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryCategories.php): API: (bug 16844) Added clcategories parameter to prop=category to make checking whether a certain page is in a certain category more efficient [17:05:03] any one know a good site of mediawiki skins? [17:05:18] 03(FIXED) API: Add parameter clcategory to prop=categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16844 +comment (10roan.kattouw) [17:05:59] anybody who can help with Categories? [17:32:31] <_sj_> hiya [17:32:55] <_sj_> I have a squid + mediawiki setup [17:33:13] <_sj_> where the skin for logged out users is cached by the squid [17:33:29] <_sj_> and this seems to lead to changed templates not updating for logged-out users [17:33:47] <_sj_> (if the template's edited by a logged-in user, at least?) [17:33:57] <_sj_> can someone point me to where this is discussed in mwiki-config land? [17:34:09] <_sj_> I know it's not mw per se but standard-squid-config setup... [17:34:22] <_sj_> but I think wp uses this setup and manages to flush templates. [17:48:11] I'd really like to include a couple .swf animations to a couple articles on my wiki. There's a couple extensions that do the job just fine, but I don't want normal users being able to post .swf files due to security issues. Is there anyway to do this? [17:52:39] Hi can someone help me? [17:52:55] !ask | Nuev [17:52:55] --mwbot-- Nuev: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/getting-help-on-irc > for a good explanation of getting help on IRC. [17:53:21] I want to allow people to upload a photo, how can i do that? [17:53:29] !upload | Nuev [17:53:29] --mwbot-- Nuev: File uploads are disabled per default, set $wgEnableUploads=true to enable it. See for configuration details, and for using uploaded images and other files. [17:53:55] thanks [17:54:01] No problem. [17:55:03] 03simetrical * r45734 10/trunk/phase3/ (3 files in 3 dirs): [17:55:03] (bug 16852) padleft and padright now handle multibyte characters and multicharacter pad strings [17:55:03] Patch by RememberTheDot, with adjustments to comments by me [17:56:12] 03(FIXED) padleft and padright do not handle multibyte characters properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16852 +comment (10Simetrical+wikibugs) [18:00:14] 03(mod) padleft and padright do not handle multibyte characters properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16852 (10rememberthedot) [18:07:28] 03ialex * r45735 10/trunk/phase3/ (RELEASE-NOTES maintenance/namespaceDupes.php): (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if the destination page exists [18:08:21] 03(FIXED) namespaceDupes sometimes breaks on double conflicts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17010 +comment (10alex.emsenhuber) [18:08:35] whee [18:10:15] 03aaron * r45736 10/trunk/phase3/includes/LogPage.php: Tweak $udp param [18:14:24] 03aaron * r45737 10/trunk/ (2 files in 2 dirs): $udp is already on by default, remove arguments [18:19:35] 03mkroetzsch * r45738 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: Use nofollow in navigational links, smarter adjustment of results per page if overall max limit is low [18:21:29] 03mkroetzsch * r45739 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: adjust results-per-page limit based on max for inline queries, not based on overall max! [18:25:27] 03(FIXED) Rollback on es-wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16975 +comment (10rhalsell) [18:31:06] 03mkroetzsch * r45740 10/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php: Make sure that the limit for results in a single inline query is always used for queries on this special page, too [18:40:32] can anyone share some anecdotes or experiences about using postgresql instead of mysql for mediawiki? [18:42:09] 03(mod) Add show/ hide to Preferences for option on specialpages added by FlaggedRevs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16969 (10umherirrender_de.wp) [19:02:08] 03raymond * r45741 10/trunk/phase3/ (10 files in 2 dirs): [19:02:08] * Wrap success/failure/norev messages into a div with own classes [19:02:08] * Add class "error" for failure/norev [19:02:08] * Remove "span class=error" from some localizations [19:02:09] ** Makes default behaviour more consistent over all languages [19:05:39] can I get input on bug 16854 [19:06:32] 03(FIXED) srv78, srv118 missing upload5 mount - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16995 +comment (10rhalsell) [19:09:05] yay [19:09:45] brion: it finally looks like bug 16854 has been fixed :) [19:10:07] just needs commited [19:13:14] Betacommand: sounds about right, i'll check it out :) [19:13:26] brion: thanks [19:13:40] brion: Ive manually fixed about 5k of those pages [19:13:49] this will let me find them easiery [19:13:54] *easier [19:14:32] 03brion * r45742 10/trunk/phase3/ (5 files in 5 dirs): [19:14:32] Revert r45642 "* Fixing the caching issue by using -{T|xxx}- syntax (only [19:14:32] applies on wiki with LanguageConverter class) * Improving the efficiency by [19:14:32] using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class) [19:14:32] patches by PhiLiP" [19:14:33] Causes parser test regression and other problems noted in code review. [19:32:36] hello [19:33:14] Duesentrieb: harhor [19:34:04] Any devs/other lurkers know where i should be looking in the MW code to see where it differentitates between what is the file, the description and such in in Image/File? [19:34:10] Presumably part of the parser somewhere [19:34:26] 03(NEW) Enable Transwiki betwoon en.wikibooks and Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17022 15enhancement; normal; Wikimedia: wikibugs; (Abigor) [19:35:09] hey guys, do you have a link where it explains all the syntax we can use in the wiki ? tis pretty hard to find though it seems essential to me [19:35:16] !syntax [19:35:16] --mwbot-- For help with MediaWiki's Wikitext syntax, please see . For an (incomplete) formal specification, see . [19:35:22] !syntax [19:35:22] --mwbot-- For help with MediaWiki's Wikitext syntax, please see . For an (incomplete) formal specification, see . [19:35:32] 03(mod) Enable Transwiki between en.wikibooks and Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17022 summary; +comment (10Abigor) [19:35:43] Simetrical: thx ! [19:37:07] Simetrical, ^ any ideas on that? [19:37:52] Reedy, the files are stored totally separately. They don't ever go to the parser. [19:38:11] Dont mean that [19:38:22] [[Image:Test.jpg|20px|A Description]] [19:38:27] Ah, that. [19:38:32] includes/parser/Parser.php [19:38:39] How would MW know that Test.jpg is the image, 20px is the size, and the text is the description [19:38:41] I think. [19:38:44] Let me find the function. [19:38:50] as it isnt always the same order for the latter [19:38:51] Thanks :) [19:39:56] Parser::replaceInternalLinks2() [19:40:05] That might call other stuff. [19:40:12] It matches each option against some regex or a callback or something. [19:41:24] The function is over 300 lines and mixes lots of stuff together, naturally. [19:41:41] 03brion * r45743 10/trunk/phase3/ (RELEASE-NOTES includes/parser/Parser.php): [19:41:41] Revert r45671 "Added "__\" magic word to eat up all whitespace and newlines to the next non-whitespace character, to facilitate writing readable template code where whitespace is significant." [19:41:41] Unplanned syntax change. [19:42:23] 03(mod) Enable Transwiki between en.wikibooks and Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17022 (10Simetrical+wikibugs) [19:43:56] Simetrical, thanks, at least gives us a bit of a starting point [19:45:03] There's no such thing as Code Review Wednesday. [19:45:05] I think. [19:47:02] hi Simetrical [19:48:42] wtf?
kills paragraphs? [19:48:42] !bug 6200 | tessarakt [19:48:42] --mwbot-- tessarakt: https://bugzilla.wikimedia.org/show_bug.cgi?id=6200 [19:48:42] Feh. [19:48:43] ok ... [19:49:31] reported 2006-06-04 ... [19:49:41] Yep. [19:49:48] Nobody wants to mess with the parser, it's too much of a headache. [19:50:28] tuesday's extra long this week ;) [19:50:52] Whazat... ^_^ some of us understand the parser quite well... that is, if we didn't stop working with MW [19:51:26] I can imagine it ... [19:51:47] A parser written by someone who never ever has visited a compiler construction lecture? [19:51:54] Kinda unrelated though [19:52:07] The parser was never intended to be used the way it is [19:52:23] It was originally created to be a simple templating language [19:53:08] The worst part of the parser is how it mixes complexity with simplicity [19:54:10] Because the complex stuff is mixed in with the simple stuff and not separated into a separate system it's exceedingly difficult to build a WYSIWYG editor without breaking the complex stuff [19:54:42] It's also difficult to allow people to do stuff that's a little more complex [19:55:19] Templates like {{See also}} which can accept a variable number of arguments would honestly be better expressed in a real programming language [19:56:53] 03brion * r45744 10/trunk/phase3/includes/specials/SpecialUpload.php: [19:56:53] Followup to r45676, r45688, r45689, but this time actually working. :) [19:56:53] For bug 16968 -- don't throw a filename change warning when we auto-capitalize the file per $wgCapitalLinks. [19:58:02] 03(mod) Special: Upload gives tedious warning about changing spaces to underscores in file names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16968 +comment (10brion) [19:59:18] 03(NEW) Factbox does not show in SMW 1.4.1 running on MW 1.13.3 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17023 normal; normal; MediaWiki extensions: Semantic MediaWiki; (publicaddress) [20:03:54] 03brion * r45745 10/trunk/phase3/ (RELEASE-NOTES skins/common/upload.js): [20:03:54] Partial revert of r45689 "bug 15470: Don't force-capitalize on Special:Upload. [20:03:54] There's no point in throwing errors for any of this crap, really. I think this [20:03:54] cleans up the last of the useless errors (for spacing/capitalization) in [20:03:54] Special:Upload." [20:03:57] This made the auto-filled destination file name no longer match what we would actually upload as. It would be better to make it *more* accurate (handling normalization of forbidden chars) rather than less accurate. [20:04:00] The particular problem of bug 15470 should be resolved by actually checking how normalization should proceed, not by failing to do it. [20:04:49] 04(REOPENED) JavaScript still tries to capitalise the first letter - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15470 +comment (10brion) [20:12:42] 03yaron * r45746 10/trunk/extensions/ExternalData/ED_ParserFunctions.php: Some XML and JSON improvements [20:22:59] do files uploaded to MW need a file extension? [20:23:23] currently yes, Reedy [20:23:30] cool :) [20:24:46] brion, does "currently" mean that its likely to change, or just it could at some point? [20:25:00] it could at some point in theory [20:25:14] the actual files would still have extensions put on them [20:25:15] but nothing planned as of yet? [20:25:25] Sure [20:25:29] but they could, in theory, be referenced without extensions internally. [20:25:39] i think you can use file redirect pages without extensions though :) [20:25:53] hokay :) [20:27:22] fname.substring(1,10000) [20:27:28] There's really no better way in JS to say "until the end"? [20:27:46] Doesn't omitting the second parameter do that? [20:28:14] you'd think there'd be a way [20:28:27] Most languages would take just a start and then give you that to the end of it [20:28:45] probably. i didn't bother checking, i just reverted to previous state :) [20:29:36] 03(NEW) Get value of $wgLegalTitleChars through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17024 15enhancement; normal; MediaWiki: API; (sam) [20:29:55] ^Any reason that bug couldnt happen? [20:32:37] 03raymond * r45747 10/trunk/phase3/includes/EditPage.php: [20:32:37] Follow up r45741 per IAlex comment: [20:32:37] OutputPage::wrapWikiMsg() directly adds the html to OutputPage::$mBodytext rather than returning it. [20:33:03] thanks ialex :) [20:33:37] Raymond_: np :) [20:37:51] 03(NEW) Get value of $wgFileExtensions through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17025 15enhancement; normal; MediaWiki: API; (sam) [20:38:41] 03ialex * r45748 10/trunk/extensions/SemanticMediaWiki/includes/SMW_ParserExtensions.php: [20:38:41] * htmlspecialchars() page title so that Firefox doesn't throw an error when the has a "&" in its title [20:38:41] * use SpecialPage::getTitleFor() to get the url [21:06:15] I'm making a manual for software use, and adding many pictures. and I'd like to add 'Figure #' and then reference that figure [21:06:43] I'd like to be able to add a figure earlier on in the text and auto-renumber the figures below. Is this possible? [21:22:11] 03catrope * r45749 10/trunk/phase3/ (3 files in 2 dirs): API: Clean up invalid UTF-8 in the result before feeding it to the formatter. This should fix bug 15261 (trimmed multibyte chars) and bug 16262 (chars like \x0f) [21:24:01] 03(FIXED) File metadata containing invalid characters produce bad-formed XML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16262 +comment (10roan.kattouw) [21:24:39] 03(FIXED) Trimmed multibyte characters result in invalid XML - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15261 +comment (10roan.kattouw) [21:25:18] 03(FIXED) API XML compliance issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16106 +comment (10roan.kattouw) [21:26:12] 03raymond * r45750 10/trunk/phase3/languages/messages/ (82 files): Localisation updates for core messages from Betawiki [21:31:02] 03ialex * r45751 10/trunk/extensions/LanguageSelector/LanguageSelector.php: Fix user's language detection: sort languages with the "; q=..." part passed by the client rather finding any language accepted by the client [21:31:16] 03(mod) Redirecting from eo.wikisource.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17008 +comment (10pa.dohnalek) [21:37:09] 03catrope * r45752 10/branches/REL1_14/phase3/ (3 files in 2 dirs): Backport r45748. Also put backported API changes below the other API changes rather than in a separate section. [21:39:24] 03catrope * r45753 10/trunk/phase3/RELEASE-NOTES: Remove RELEASE-NOTES entries for backported changes (backported in r45682, r45683, r45752), so they aren't listed twice (in 1.14's and 1.15's release notes) [21:42:18] *|X| is almost done making a checkuser API interface :D [21:42:27] the enwiki folk will adore you [21:46:16] 03(NEW) Update of MW 1.11 to MW 1.13 on postgresql: missing rev_parent_id - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17026 04CRIT; normal; MediaWiki: Maintenance scripts; (rv1971) [21:53:38] 03(mod) Update of MW 1.11 to MW 1.13 on postgresql: missing rev_parent_id - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17026 (10roan.kattouw) [21:53:39] 03(mod) PostgreSQL/pgsql support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10roan.kattouw) [21:54:02] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 +comment (10soxred93) [21:54:24] <|X|> Whew. 3 days work, and I get some bare code. :/ [21:55:01] X, Copyright (C) 2008 Yuri Astrakhan @gmail.com, [21:55:01] [21:55:01] [21:55:07] <|X|> Sigh [21:55:11] Surely you should change that to you? seeing as you wrote it? [21:55:16] <|X|> Yeah :P [21:55:23] <|X|> I'm not worrying about that yet [21:55:25] Add a 2nd dif ;p [21:55:58] <|X|> Shouldn't I be worrying about getting good code? [21:57:04] step 1: attribute, step 2: contribute, step 3: distribute [21:57:44] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 +comment (10soxred93) [21:57:49] <|X|> Reedy, happy now? [21:58:15] lol [21:58:16] mebbe [21:58:45] I've got other API bugs you can fix if you want? ;P [21:58:54] <|X|> Now I just need someone like Roan or VasilievVV to review it [21:58:57] <|X|> Reedy, links? [21:59:12] !bug 14869 [21:59:12] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 [21:59:35] VVV was going to possibly do that [21:59:43] !bug 17024 [21:59:43] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=17024 [21:59:45] !bug 17025 [21:59:45] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=17025 [21:59:48] are 2 simple ones [21:59:57] <|X|> It wasn't assigned to him :) [22:00:02] heh [22:00:09] literally pumping out some of the config vars out via the API [22:00:16] <|X|> 17025 shouldn't be too difficult [22:01:00] nah, literally just iterate through the array and pop it on a page [22:01:27] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 (10Bryan.TongMinh) [22:03:34] hmmm [22:03:36] <|X|> mmmh [22:03:56] how about just outputting all of localsettings.php through the api :) [22:04:02] haha [22:04:17] TBH, that'd be easier, minus a few key ones i suppose ;) [22:04:44] at this rate you'll have a new bug every time someone wants $wgVariableOfChoice [22:05:00] Meh [22:05:06] I'll open a big bug and put those as dependancies [22:07:03] 03(NEW) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 15enhancement; normal; MediaWiki: API; (sam) [22:07:19] 03(mod) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 (10sam) [22:07:20] 03(mod) Get value of $wgLegalTitleChars through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17024 (10sam) [22:07:23] 03(mod) Get value of $wgFileExtensions through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17025 (10sam) [22:07:54] 03(mod) Get value of $wgFileExtensions through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17025 (10sam) [22:07:57] 03(mod) Get value of $wgLegalTitleChars through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17024 (10sam) [22:08:42] Done ;P [22:08:47] sheesh! [22:09:13] make the value of $wgEnableAPI available through the api [22:09:21] lmfao [22:09:39] 03(mod) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 +comment (10roan.kattouw) [22:09:50] 03(NEW) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 15enhancement; normal; MediaWiki: Database; (leons.petrazickis) [22:09:56] seems an odd title [22:10:01] siprop=general [22:10:03] shouldn't it also return the default if none is specified? [22:10:06] writeapi="" - gives that ;) [22:10:32] oh, one thing I was going to ask about the api [22:10:41] gurch, no, cant be done [22:10:43] << [22:10:44] >> :P [22:10:48] ok. [22:10:55] but there's a bug open for it [22:10:57] What was it? [22:11:33] 03(mod) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 (10sam) [22:11:44] reedy: whether anyone can be bothered to localize the API's error messages [22:12:04] suppose it'd make sense... [22:12:08] there is such a thing as too much localization [22:12:13] yes, there is [22:12:18] which is why I didn't file a bug on it [22:12:19] :) [22:12:29] Theres extremes of that though [22:12:54] I was only asking because someone complained that some of Huggle's error messages weren't localizable [22:12:55] localising variable names would be.. Error messages..? Hmm.. Does it have many error messages? [22:13:05] and that was because it is getting them from the API [22:13:07] *MrZ-man localizes Splarka [22:13:19] aye [22:13:27] gurch, could log it as a low priority bug [22:13:32] so I can make Huggle localize them to keep its users happy but it would be silly to do that if the whole thing was going to be [22:13:34] but if it isn't [22:13:37] then no worries [22:13:38] :) [22:14:23] all the messages have error codes as well as the actual message, so it's fine [22:14:36] there are also warnings... [22:14:40] gurch, does free translation have an API ;) [22:14:44] as well as notices, indicators, alerts... [22:14:45] yeah huggle ignores them though :D [22:15:03] Reedy: yes [22:15:32] Reedy: http://translatewiki.net/w/api.php [22:15:33] :) [22:15:52] haha [22:16:01] 03soxred93 * r45754 10/trunk/phase3/includes/api/ApiQuerySiteinfo.php: (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop= [22:16:18] 03(FIXED) Get value of $wgFileExtensions through the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17025 +comment (10soxred93) [22:16:36] <|X|> Reedy, happy now? :) [22:16:50] http://www.freewebs.com/dirtyoldmanpants/the%20local%20shop.jpg <-- too much localisation [22:17:02] woo [22:17:14] |X|: no, he wants to be able to get any config var now [22:17:21] haha [22:17:23] <|X|> I know :( [22:17:27] MrZ-man, there are 3 bugs now ;) [22:17:29] well, 2 [22:17:47] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 (10roan.kattouw) [22:17:49] *gurch sifts through localsettings.php and files 317 bugs [22:18:23] gurch, they'd get closed as dupes now.. ;P [22:18:47] *Reedy hides [22:18:48] what will we do without being able to get the value of $wgSpecialVersionShowHooks in the API? [22:19:24] MrZ-man: crash horribly if it ever changes :) [22:19:25] *FunPika imagines a bug saying "Get value of $wgDBpassword through the API" XD [22:19:42] FunPika: I [22:19:58] 'd probably add a module that returns ***** and mark it as RESOLVED xD [22:20:08] what's brion's mother's maiden name? [22:20:11] RoanKattouw, or return the secret site password? [22:20:18] it's probably that with some numbers after it [22:20:28] 03leonsp * r45755 10/trunk/phase3/ (9 files in 4 dirs): [22:20:28] (bug 17028) Added support for IBM DB2 database. config/index.php has new [22:20:28] interface elements that only show up if PHP has ibm_db2 module enabled. [22:20:28] AutoLoader knows about the new DB2 classes. GlobalFunctions has a new constant [22:20:28] for DB2 time format. Revision class fixed slightly. Also includes new PHP files [22:20:31] containing the Database and Search API implementations for IBM DB2. [22:20:34] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 (10soxred93) [22:20:37] o_O [22:20:42] lol [22:20:48] gurch: no identity theft pls k thx [22:20:57] RoanKattouw, add that, it could be a Easter Egg in MW :p [22:21:01] *|X| waves to brion [22:21:09] *brion is waved at [22:21:13] brion: I wouldn't want to steal your identity [22:21:23] brion: people would be nagging me to fix stuff all the time [22:21:24] |X|: RELEASE-NOTES for r45754? [22:21:34] gurch: Try mine :P [22:21:42] <|X|> RoanKattouw, I thought I put them in... [22:21:52] well if you'll pay off my credit card bills maybe we can work something out ;) [22:21:56] RoanKattouw: heh, most of that is probably from me :/ [22:22:22] RoanKattouw, btw, i wonder if with the api, action=query and list=somethingthatdoesntexist should give an error instead of a warning ? [22:22:35] *|X| slaps himself for being inside defaultwiki/includes while svn ci'ing [22:24:11] http://en.wikipedia.org/w/api.php?action=query&list=blah for example [22:24:49] *|X| goes for dinner [22:24:50] buzz_: It used to, but I changed that on purpose so list=recentchanges|categorymembrs doesn't just return an error but at least returns the recentchanges part and quips about your inability to spell categorymembers [22:24:58] Rather than returning nothing at all [22:25:03] heh [22:25:07] 03soxred93 * r45756 10/trunk/phase3/RELEASE-NOTES: /me slaps himself for being in the wrong directory while commiting [22:25:18] RoanKattouw, perhaps if there is only "one" item in list it should still be an error though ? [22:25:48] Why? It's perfectly OK to request nothing from action=query [22:25:57] (which is essentially what you're doing) [22:26:17] Requests like action=query&titles=Foo|Bar without any modules called are useful to check certain basic facts about pages [22:26:25] well, it came down to a bug reported to my api interface, they had put a space in a parameter and were getting no results. [22:26:25] (validness, existence, namespace) [22:26:46] Then your API interface should keep an eye out for warnings. They're all documented, you know [22:26:53] somewhere [22:27:35] probably, but the user would still need to check. i mean, i could have a fail on warning option too i guess [22:28:04] gurch: About localization of API errors: not gonna happen. They're there for bots, not for users. Since you probably want to change the wording anyway, localizing them shouldn't be too hard either [22:28:24] RoanKattouw: ok fair enough [22:28:48] *Reedy smacks TortoiseSVN [22:29:02] Reedy: What's wrong with it? [22:29:42] it wont let me ci to the AWB repo, says working copy locked, and to clean up [22:29:48] do so, and you're back to square one [22:30:18] Reedy: Use the Create patch option to backup your changes [22:30:19] ? [22:30:29] and then re-checkout? [22:31:37] 03brion * r45757 10/trunk/phase3/includes/specials/SpecialPreferences.php: [22:31:37] Follow-up to r45698 "(bug 16969) Add show/hide to Preferences for option on specialpages added by FlaggedRevs" [22:31:37] That also added toggles in core for showing/hiding patrolled edits by default in watchlist & RC, but they were being shown regardless of whether patrolling was enabled. [22:31:37] Now hiding them if patrolling is disabled. [22:31:52] lol, wont even update [22:31:54] silly thing [22:32:16] Reedy: You're afraid that "Cleanup" destroys your changes, right? [22:32:22] no, i've used it [22:32:23] Or does it just do nothing? [22:32:28] Hmm [22:32:33] Yeah, then you should probably re-checkout [22:32:37] It seems to do nothing (as it doesnt remedy the problem) [22:33:24] 03(mod) write an API module that interfaces with Checkuser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15129 (10roan.kattouw) [22:33:29] Even weirder, cleanup, update to get updates, and it let me check in... [22:33:36] Meh :) [22:34:07] 03rainman * r45758 10/trunk/extensions/MWSearch/MWSearch_body.php: [22:34:07] Rewrite replacePrefixes: [22:34:07] * make a regexp of namespace names to replace then do search/replace [22:34:07] * now namespaces with spaces are correctly rewritten [22:34:08] * remove some arcane syntax noone is using [22:34:32] <|X|> RoanKattouw, that's my project for the next few days [22:34:38] <|X|> Aside from midterms [22:34:41] hehe [22:34:54] Thanks for taking that work out of my hands, though, it's quite a project [22:35:02] And I've got midterms coming up myself [22:35:18] <|X|> 3 days of work to go into a bare minimum of crappy code [22:35:33] i'd better finish reading the lovely software project management book before my exam on monday :/ [22:36:51] 03(NEW) Session failure warning message gives bad advice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17029 15enhancement; normal; MediaWiki: General/Unknown; (brion) [22:37:39] <|X|> One would wonder why we even need an API interface for checkuser, though [22:38:25] |X|: I would have thought there would be privacy issues. but perhaps not [22:39:03] Why would there be privacy issues? You still need checkuser rights to use the module, and requests still get logged [22:40:42] RoanKattouw: wikimedia privacy policy limits circumstances in which checkuser tool can be used. there are already many, many cases where it's known to have been used outside of the policy [22:40:47] Hi, is it safe to use the Renameuser extension and rename the bureaucrat you are logged in as? [22:41:06] RoanKattouw: handing over access to it to some sort of automated tool, whoever's account it may be from, will only encourage more of that [22:41:45] Possibly. But that's a policy issue, not a technical one. Besides, the API is really just the UI with a different look in this case [22:41:50] 03(mod) Possibility to link to particular section of [[Special: Preferences]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16013 +bugday +need-review (10brion) [22:43:11] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 (10leons.petrazickis) [22:43:54] 03(FIXED) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 +comment (10leons.petrazickis) [22:44:13] XML files can also be imported in MS Excel I believe [22:45:30] paran: it logs you out when you do, but otherwise yes [22:46:25] gurch: I can live with that, thanks :) [22:46:51] 03(mod) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 (10Bryan.TongMinh) [22:47:24] MrZ-man: yes, and then saved on the checkuser's hard drive and forgotten about :/ [22:47:37] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 (10roan.kattouw) [22:48:14] now we just need some way to do list=allusers&prop=checkuserdata :P [22:48:40] <|X|> gurch, so can the .html files [22:48:44] RoanKattouw, ^ its weird, MS SQL Server seems to use TOP 10 etc rather than limit [22:50:57] Reedy: Hmm. Anyway, if DBMSes want to be belligerent and not implement stuff in the SQL standard, that shouldn't be our problem [22:50:57] Yeah, sure, agree there [22:50:57] Though, you'd think something simple like LIMIT they could implement [22:50:57] *Splarka knows some checkusers who save all results forever [22:50:57] omgosh [22:50:57] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 (10sam) [22:54:06] 03(mod) Output LocalSettings.php Variables via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17027 (10roan.kattouw) [22:59:28] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 (10leons.petrazickis) [23:01:49] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 +comment (10roan.kattouw) [23:04:47] <|X|> RoanKattouw, so I should just start out by moving all the SQL queries to separate functions? [23:04:58] Not necessarily just the queries [23:05:20] There should be some kind of separation between the part of a function that gets stuff from the database and the part that generates HTML from it [23:05:24] <|X|> Note I said start out [23:05:34] (it's not always that clear, though, unfortunately) [23:06:09] So you should start creating a function (just spec, not code) that returns some kind of information (array?, object?) that can be used to generate both HTML and API results [23:06:38] And that communicates errors in a sane way (that's usually the hard part) [23:07:10] Then copy the old function into the new one and trim all the HTML-related stuff and you're well on your way implementing your backend function [23:07:28] Then trim the DB-related stuff from the old function and replace it by a call to the new backend function [23:07:33] (basically) [23:08:36] <|X|> Hmm, we'll see how it goes [23:13:35] 03brion * r45759 10/trunk/extensions/SkinPerPage/SkinPerPage.php: [23:13:35] Revert r45710 "* Use ParserFirstCallInit if possible * Use ParserOutput::addOutputHook() and $wgParserOutputHooks rather than OutputPageParserOutput hook" [23:13:35] Breaks compatibility with existing parser cache entries and provides no automated expiration [23:14:57] <|X|> RoanKattouw, how would you have the code decide whether the code wants to output HTML or a different format? [23:15:44] |X|: It doesn't. The point is that there's a generic function that just generates results, and two functions that call them: one's in the UI code path and generates HTML from the results, the other is ApiCheckUser::execute() and generates an API result [23:16:00] <|X|> Ah [23:16:46] <|X|> This is going to be more dififcult than I thought :P [23:16:59] Yep, it's not a pleasant process [23:17:32] Backend, Frontend [23:17:33] Yay [23:18:17] |X|: For examples, you can of course always look at some of the existing write API modules [23:18:29] Don't use action=edit as an example, though, that one's ugly [23:18:42] <|X|> Heh [23:25:50] <|X|> RoanKattouw, maybe CheckUseR_body.php shouldn't be a subclass of SpecialPage [23:26:03] 03(mod) Add IBM DB2 support to MediaWiki database modules - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17028 (10leons.petrazickis) [23:26:23] |X|: If the DB-specific functions are static, that's not a problem [23:26:54] <|X|> I'm thinking I should have 1 specialpage file, 1 api file, and 1 classes file [23:31:49] Yeah that's probably best, to have generic code in a generic file [23:43:09] 03aaron * r45760 10/trunk/phase3/includes/Article.php: Move up user page noindex check [23:55:29] 03(NEW) Enotif sends incorrect page-created notice on page deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17030 minor; normal; MediaWiki: Email; (pathoschild+wmbugs) [23:57:35] that's a dupe... [23:57:56] 03(NEW) Sanitizer rejects identifies valid xhtml attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17031 15enhancement; normal; MediaWiki: Page rendering; (gbruin) [23:59:33] 03(mod) Sanitizer rejects identifies valid xhtml attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17031 (10gbruin)