[00:04:39] 03yaron * r56004 10/trunk/extensions/ReplaceText/SpecialReplaceText.php: Added fixes and better user reporting for category handling [00:05:15] 03yaron * r56005 10/trunk/extensions/ReplaceText/ReplaceText.i18n.php: Added 'replacetext_nosuchcategory' value [00:08:38] 03yaron * r56006 10/trunk/extensions/ReplaceText/ (README ReplaceText.php): New version: 0.7.1 [00:14:38] Hey all [00:20:56] brion-away: I'm working on something you might be interested in - http://www.mediawiki.org/wiki/User:Mr.Z-man/SVG [00:24:07] http://wiki.werdn.us/test/view/Special:Log/block [00:24:10] WMF should change SVG renderers every 3 months just to screw with the SVG maintainers [00:27:25] how do i use MW_CONFIG_CALLBACK ? [00:28:02] if ( defined( 'MW_CONFIG_CALLBACK' ) ) { # Use a callback function to configure MediaWiki require_once( "$IP/includes/DefaultSettings.php" ); call_user_func( MW_CONFIG_CALLBACK ); [00:28:55] I want to put the MW code in /opt and LocalSettings.php and maybe extensions in another path [00:29:10] any recommendations? [00:29:51] eryc: you're making trouble for yourself :) just stick em all in one place and keep your life simple [00:30:22] i'm not a simple person :) [00:31:18] i'm running apache in a solaris container and i'd like the php code to be read-only [00:34:59] i suppose i can just patch WebStart.php [00:36:22] or maybe some clever symlinking to go with $IP = getenv( 'MW_INSTALL_PATH' ); [00:36:48] if you keep your path configs clean and symlinks for things needed for web-accessibility it should usually work. just keep an eye out for surprises :) [00:37:14] (in our production setup, the web-facing index.php etc are actually just stub wrappers which load up the live MW files) [00:44:04] *Splarka reads in the log how a simple comment on php operator order turns into an argument about languages, which segues into a slapfest about the necessity of subtitles in video, which becomes a board election pissing contest, then a math theory discussion, then a rant about Baulder's Gate 2 [00:44:15] Baldur. [00:44:18] Not Baulder. [00:44:48] Did someone make the text size of the sidebar in vector a lot smaller? [00:44:56] AryehGregor: nerd [00:45:11] Splarka, pot and kettle? [00:45:45] no thanks, I don't do these new drugs the kids use [00:45:47] I've discovered a nice little trick for fixing code using a style with not enough spaces in it [00:46:04] chuck, heh [00:46:10] have a single space in the middle button register and just middle click on every place that needs a space [00:46:13] 2009-06-17 [21:53:21] ick, what happened to vector's sidebar [00:46:14] 2009-06-17 [22:28:25] TrevorParscal: Hey, what happened to the Vector sidebar? [00:46:18] 2009-07-17 [23:59:11] *chuck is sad that the Vector sidebar was changed though [00:46:25] I thought I remembered someone else complaining about it [00:46:30] turns out it was you [00:46:32] I never thought my minesweeper skills would have a practical application [00:46:40] brion-away: cool. i just symlinked everything for now except extensions/ skins/ and LocalSettings.php [00:46:44] appears to work so far [00:46:50] Splarka: no, that was me complaining about a totally different change to the sidebar [00:47:02] i like to complain about vector's sidebar alot apparently :P [00:47:18] not sure how much of this clutter in the root is necessary [00:47:19] I get disoriented when I use gvim. I'm too used to vim ignoring my mouse selections. [00:52:19] hey chuck: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/vector/main-rtl.css every other change mentions 'size' just about, heh, good luck [00:52:34] er http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/vector/main-ltr.css [00:53:05] Splarka: Do you spend the time like me wishing that you could be free, free from all the have to do, doing only what you want to? [00:55:11] Splarka: i'll just use web inspector to see which selector is affecting the size then do a grep to find it in the CSS [00:56:19] 03yaron * r56007 10/tags/extensions/ReplaceText/REL_0_7_1/ (9 files): Tag for version 0.7.1 [00:57:14] svip: nope [00:57:43] that's inefficient [00:57:56] the faster you do what you have to without wishing you wern't doing it, the more time you have to do what you want to do [00:58:53] svip: http://img197.imageshack.us/img197/3159/021robottattoo.png [01:00:29] Splarka: Hilarious. [01:01:25] how do I do an OR in my conditions for a select query? [01:02:00] chuck, literally. [01:02:04] (for example, i'm not sure if this is valid SQL, but "WHERE private = NO OR requester_id = 23" [01:02:11] AryehGregor: oh... [01:02:29] so then the part after the "WHERE " in my example above? [01:02:31] Pass "private = 'NO' OR requester_id = 23" as the condition to select(). [01:02:33] Yes. [01:02:46] do I need quotes around the NO for a boolean? [01:03:00] NO is not a valid keyword in MySQL. It will be interpreted as the name of a column. [01:03:05] Which doesn't exist, so you'll get a database error. [01:03:20] Boolean columns in MySQL are normally tinyint(1); true is 1 and false is 0. [01:03:39] oh, I thought mysql did YES and NO as an alias for 1 and 0 [01:04:09] No. [01:12:07] 03mrzman * r56008 10/trunk/extensions/ConfirmEdit/captcha.py: (log message trimmed) [01:12:07] Various code cleanups for the captcha generating script [01:12:07] * Use optparse instead of getopt [01:12:07] * Replace deprecated md5 module [01:12:07] * Replace deprecated string module functions with string methods [01:12:10] * More graceful failure [01:12:12] * Allow users to set the font size [01:18:52] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=you.*guys.*fail [01:19:40] you just cluttered up the search results :-P [01:19:53] yah yah [01:19:57] Splarka: That's a darthipedian [01:20:20] Splarka: http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=hitler [01:20:57] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=this%20is%20self%20referential [01:21:02] More pings. [01:21:11] "jquery went back in time and killed hitler" [01:21:16] Splarka: So I did. [01:21:30] charitwo: why do we fail in the eyes of darths? [01:21:38] Splarka, you spoiled it by doing the %20 instead of space. [01:21:48] %20 is a space. [01:21:51] AryehGregor: yes, it was an ironic [01:21:56] to not clutter the results [01:22:03] svip, not as far as mw-logs.py is concerned. [01:22:11] that's not ironic [01:22:12] AryehGregor: Aye. [01:22:14] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=annemarie.*whore [01:22:40] By stats, Annemarie is not much of a whore. [01:24:25] Annemarie: Sorry. :[ [01:24:42] Marybelle is far more whorish. [01:24:50] I bet. [01:24:57] But what is with the combination of names? [01:25:01] Splarka: http://darth.wikia.com/index.php?title=Template%3AStdsummaries&diff=92426&oldid=92423 [01:25:42] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=marybelle.*whore [01:26:07] that too [01:26:43] I've always wondered how many references to Hitler there are in the MediaWiki source. [01:26:55] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=\(\(mzmcbride\|marybelle\|Annemarie\).*whore\|whore.*\(mzmcbride\|marybelle\|Annemarie\)\) [01:27:08] http://google.com/codesearch?num=100&q=package:svn.wikimedia.org/svnroot/mediawiki/trunk+hitler [01:27:16] http://google.com/codesearch?num=100&q=package:svn.wikimedia.org/svnroot/mediawiki/trunk+fuck [01:27:27] only 9?? [01:27:30] that's absurdly low [01:27:39] they were censored out once, heh [01:27:52] Splarka: Blah. Next time make a Holocaust function which purges articles. [01:27:58] # Hitler would be proud of this function [01:28:14] Alternatively, if PHP supports it, call it "Endlösung". [01:28:19] otoh [01:28:21] WMF comes pre-godwin'd [01:28:27] so no need [01:28:42] http://google.com/codesearch?num=100&q=package:svn.wikimedia.org/svnroot/mediawiki/trunk+broken [01:28:47] lots o broken stuff :-P [01:28:56] PHP 5 has 8-bit clean identifiers [01:29:21] http://google.com/codesearch?hl=en&lr=&q=package%3Asvn.wikimedia.org%2Fsvnroot%2Fmediawiki%2Ftrunk+stalin&sbtn=Search [01:29:29] Ah, at least Stalin is represented. [01:29:34] Hm, but where is his great purge? [01:29:40] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/GlobalFunctions.php?r1=43041&r2=43040&pathrev=43041 [01:29:53] that was the last 'fuck' in core I think? [01:29:57] ./extensions/AbuseFilter/AbuseFilter.i18n.php:19066: 'abusefilter-edit-hitcount' => 'Filtre hitleri:', [01:30:06] hahaha and a wonderful one it was, too [01:31:28] does php have ears? [01:31:32] ./includes/parser/Parser.php:1569: # [[Image:Foo.jpg|[http://example.com desc]]] <- having three ] in a row fucks up, [01:32:12] ahh here it was [01:32:16] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/34271 [01:32:49] siebrand censored the code at one point [01:33:02] Splarka: http://google.com/codesearch?hl=en&lr=&q=hitler|stalin+package%3Akernel.org&sbtn=Search [01:33:05] Linux got you beat. [01:34:06] Anyway bed [01:35:17] how do i add a notice at the top of every page, similar to wikipedia's donation drive, etc. [01:35:34] MediaWiki:Sitenotice [01:40:44] i had been using the ParserFunctions and CategoryTree extensions. Then a few weeks ago, I upgraded my SVN and now I get errors about magic word 'if' not found. Is there some part I forgot to update? [01:41:13] make sure your version of the parserfunctions extension matches the version of MediaWiki [01:41:38] did you upgrade the extensions or your mediawiki? [01:42:14] I switch my SVN to the new branch and both the core and the ParserFunctions are coming from SVN [01:44:54] What new branch? [01:46:20] I did something like "svn switch http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_15_1/phase3" [01:46:52] *AryehGregor knoweth not this svn trickery [01:47:03] and the extension is using trunk [01:47:09] hmmm, okay [01:48:18] well, if the extension is using trunk and you aren't, then expect breakage [01:48:31] use the version of ParserFunctions meant for 1.15 [01:48:36] Oh, right. [01:48:41] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_15/extensions/ParserFunctions/ [01:48:41] That would definitely be a bad idea. [01:48:58] the extension page has a link to the subversion for ParserFunction and it uses trunk [01:49:07] There are branched versions too. [01:49:11] bonbonthejon: the extension page is written by people like you ^_^ [01:49:15] *Splarka hides [01:49:18] Don't trust what you read on mediawiki.org, it's written by users. :P [01:49:20] it is a wiki [01:49:22] but cooler. [01:49:29] but not hotter [01:49:41] hmm, i would think the maintainer would update the wiki [01:49:53] but thats the benefit of a wiki, any one can fix it [01:50:00] The maintainer is us, more or less, and we don't care too much. [01:50:10] I think I'll move to wiki spot, which is powered by sycamore. Backlinks and outgoinglinks, frontlinks, all I need, and css themes [01:50:22] We care about users less than most projects because our primary user is . . . us. [01:50:35] nolol, k, glad to hear that's good for you. [01:50:42] Never heard of wiki spot or sycamore. [01:51:08] one of the many many forks and whatnot wiki engines [01:53:15] wikimatrix found 89 wikis with "themes & skins" [01:53:29] 03(FIXED) Creation of namespace 'Portal' at bar.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16290 +comment (10Wiki.Melancholie) [01:56:01] 03(mod) Creation of namespace 'Portal' at bar.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16290 (10Wiki.Melancholie) [02:02:52] 03(mod) Centering images with thumbnail in Simple skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20533 (10herd) [02:04:49] 03tstarling * r56009 10/trunk/phase3/js2/ (9 files in 4 dirs): [02:04:49] * Fixed whitespace, indenting, line length. Ran stylize.php on the PHP files, did the JS ones by hand. [02:04:49] * Fixed spelling, grammar, etc. in comments. Removed some unnecessary comments. [02:04:49] * Other code style tweaks, e.g. removed some redundant brackets. [02:04:49] * Renamed functions which were misspellings: runQuededFunctions -> runQueuedFunctions, setSwapableToLoading -> setSwappableToLoading, rewrite_for_oggHanlder -> rewrite_for_OggHandler, doProccessJsFile -> doProcessJsFile [02:53:52] 03(NEW) create wikimedia-dc mailing list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20540 enhancement; Normal; Wikimedia: Mailing lists; (aude.wiki) [02:59:46] I used the cleanurl extension to make my URLs on mediawiki nice and click i.e. $ip/wiki/Blah_blah ... But when I go to my homepage it, annoyingly, goes to www.myhomepage.com/wiki/Main_Page [02:59:57] I'd like it to just display from the normal URL www.myhomepage.com . How do I fix this? [03:02:54] Well, you could do something with your web server to make that index page an alias for the main page. I suspect mod_alias for Apache. [03:03:29] All it's doing is displaying the accurate URL. [03:05:51] GreenReaper: So I can somehow fix it with htaccess?????? [03:06:01] possiblly!!!1 [03:07:12] I'm not sure what the cleanURL extension is, or how it would interact with that. [03:07:58] Note that some hosting providers will not allow Alias in htaccess. [03:08:27] a rewriterule might work just as well though. [03:08:31] http://www.mediawiki.org/wiki/Manual:Clean_URL [03:08:41] OK, that's not an extension. [03:09:17] That term's used in a particular way within MediaWiki, for plugins usually by third-parties. [03:10:27] Something like Alias / /var/lib/mediawiki1.8/index.php/ [03:10:32] might work if you have access to Alias [03:10:58] GreenReaper, Alias never works in .htaccess. [03:12:42] 03dale * r56010 10/trunk/phase3/js2/mwEmbed/mv_embed.js: [03:12:42] * some documentation updates [03:12:42] * parseURI raw code ( will be minified by script-loader) [03:13:04] *GreenReaper is disappointed, but not surprised. :-/ [03:14:55] 03aaron * r56011 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Add NS check to addBacklogNotice() query [03:15:47] 03(mod) Watchlist message appearing without reason - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20531 (10JSchulz_4587) [03:27:35] why cant i redirect to a special page? [03:33:25] OtisPJivefunk: http://www.mediawiki.org/wiki/Manual:$wgDisableHardRedirects ? [03:36:38] 03aaron * r56012 10/trunk/extensions/FlaggedRevs/FlaggedRevsXML.php: fix docs [03:38:20] OtisPJivefunk: http://www.mediawiki.org/wiki/Manual:$wgInvalidRedirectTargets if you have 1.15 [03:38:36] bingo! thats what i was looking for [03:43:46] 03aaron * r56013 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Remove some function param/var cruft [03:46:13] 03(mod) Add option for editors in preferences to always show diff to latest flagged revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20058 (10JSchulz_4587) [04:30:36] 03aaron * r56014 10/trunk/extensions/FlaggedRevs/ (4 files in 2 dirs): bug 20058 Add option for editors in preferences to always show diff to latest flagged revision [04:30:57] 03(FIXED) Add option for editors in preferences to always show diff to latest flagged revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20058 +comment (10JSchulz_4587) [04:47:48] 03aaron * r56015 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Tweak form position and tag defaults for r56014 [05:52:10] i need some help creating a template.. having trouble understanding the guide http://meta.wikimedia.org/wiki/Help:Template ... trying to create a template called Template:Restaurant [05:53:51] i only want the template used for pages in the Restaurant category .. so if i understand correctly i would add [[Category:Restaurants]] at the end of my template page [05:54:49] Well, that doesn't restrict it to pages in the resteraunt category - it means that the text [[Category:Resteraunts]] will be included on pages that use the template, but will not be displayed on (or apply to) the template itself. [05:55:35] It means you can put {{restaurant}} onto the page and not have to have [[Category:Restaurant]] there as well. [05:56:57] ok well thats convenient ... [05:57:43] bleh i cant figure out the template though :( [05:59:01] maybe what i really want is a infobox [05:59:20] Quite possibly, though an infobox is a template. [05:59:36] lol [06:00:07] i just have a lot of resturant listings where people are including the state or locations [06:00:20] *are not [06:16:52] GreenReaper: how would you suggest .. splitting like restaurants up by state.. or having a state list if you will. Adding a category for like Category:New York Resturants .. would this be the best way In our opinion ? [06:17:49] It's tricky. Are people going to want a category of resteraunts by themselves, or are they going to want just ones in NY? [06:18:16] Perhaps you could do category:New York and category:Restaurants. [06:18:25] mogge [06:18:45] You could then use DynamicPageList to make a list of all items in both categories. [06:19:06] Depends on the wiki, whether or not those categories make sense. [06:20:06] oddly enough the category for restaurants was already created and its called "Category:Fine Dining" ... but users are interested in lists for their particular state [06:20:09] Make sure to get the latest version of it which supports the dplcache and allowcachedresults parameters. They can really help with performance. [06:20:44] http://lists.wikimedia.org/pipermail/wikitech-l/2009-September/045085.html You know, I was just thinking MedaiWiki needed more OCaml. [06:21:12] i should probably work on infobox's first [06:22:41] GreenReaper: can you give me a small simple example of a infobox/template [06:23:43] Have a look at some of the ones in http://en.wikifur.com/wiki/Category:Infobox_templates [06:24:13] They all tend to use tables and the infobox class though [06:24:21] which is kinda annoying for an example. [06:24:26] lol [06:25:26] would this work? [06:25:47] ah i cant paste it [06:26:14] ill try [06:26:16] {{Infobox |name = {{subst:PAGENAME}} |title = Example of an optional header |header1 = {{#if:{{{item_one|}}}{{{item_two|}}}{{{item_three|}}}|Optional header}} |label2 = Item one |data2 = {{{item_one|}}} |label3 = Item two |data3 = {{{item_two|}}} |label4 = Item three |data4 = {{{item_three|}}} }} [06:26:34] oh cool it worked.. i thought it would split it up [06:27:11] i guess i would name it Template:Infobox-Fine Dining [06:29:16] bleh that didnt work [06:29:28] I suggest without the hyphen, but that's just me. :-) [06:34:40] and to use the infobox i would... call it like {{infboxname .. [06:35:00] Hmm, who's a good domain name registrar? [06:35:10] Good in what senses? [06:35:16] also, where? [06:35:20] I mean, I use godaddy, though they're bastards. ;-) [06:35:23] !templates | needhelp1 [06:35:23] --mwbot-- needhelp1: For more information about templates, see . See also: !templateproblems [06:35:35] I looked at GoDaddy, but they seem no cheaper than anybody else [06:37:25] There' enomnomnom [06:44:12] And, of course, there's NetworkSolutions. How much do they give you for your soul? [06:46:39] Haha, they want $35 for a .com? [06:46:50] +$9 for private registration [06:53:16] 1and1 isn't bad. [06:54:01] Ooh, how could I forget about them [07:09:13] 04(REOPENED) Add option for editors in preferences to always show diff to latest flagged revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20058 +comment (10pbirken) [07:43:38] Hi. Do you know of a good collection of mediawiki skins somewhere? The gallery at the mediawiki website is really not so good... thumbnails are missing and download links are missing as well many times. [07:45:34] peleg: no. people have been asking that question for years, but no one managed to set up a site for this. there must be money in the idea :) [07:45:47] :-) [08:05:27] =) [08:09:56] 03siebrand * r56016 10/trunk/extensions/ (11 files in 2 dirs): [08:09:56] Follow-up to r55989 [08:09:56] * merge AjaxLoginJQ into AjaxLogin [08:09:56] * stylize.php, remove trailing whitespace [08:09:56] * svn:keywords Id for ApiAjaxLogin.php [08:09:57] * bump version from 1.1.1 to 2.0.0 [08:11:49] 03siebrand * r56017 10/trunk/extensions/AjaxLoginJQ/: Follow-up to r55989 and r56016: remove AjaxLoginJQ [08:16:10] 03siebrand * r56018 10/trunk/phase3/js2/mwEmbed/php/languages/mwEmbed.i18n.php: Localisation updates for core messages from translatewiki.net [08:16:25] 03siebrand * r56019 10/trunk/extensions/AjaxLogin/ (AjaxLogin.i18n.php ApiAjaxLogin.php): Rename message with key 'nosuchuser' to 'al-nosuchuser' to avoid conflict with core. [08:47:38] can some one please help i dont know if i have done something wrong http://thehub.ath.cx/wiki/Ubuntu_OS [08:53:36] any idears [08:53:53] !parserfunctions | tomas1 [08:53:53] --mwbot-- tomas1: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [08:54:30] !templateproblems | tomas1 [08:54:30] --mwbot-- tomas1: The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy [08:56:21] ok thanks guys i will get onto it now and see what happeneds [08:56:32] all i really wanted was thoes cool toolboxes [08:59:15] hello [09:01:05] mui Nikerabbit [09:01:49] hey guys where do i set $wgUseTidy to true in [09:02:16] LocalSettings.php [09:02:21] thanks [09:03:11] !config | tomas1 [09:03:11] --mwbot-- tomas1: All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [09:03:39] 03aaron * r56020 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.hooks.php specialpages/Stabilization_body.php): minor cleanups [09:14:34] str4nd: pöö vaa [09:14:58] hey guys me again is there a way to make the toolbar look like that of wikipedia http://thehub.ath.cx/wiki/Ubuntu_OS is it a css file and if so how do i copy it over [09:22:32] :) [09:35:55] 03aaron * r56021 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Minor code cleanup; avoids possible extra db query [09:40:32] Happy-melon: there is reports of login problems from twn [09:47:00] Happy-melon: http://translatewiki.net/wiki/Support#Login_problems [09:48:27] Error With ScriptLoader.php ::Could not parse JSON language msg in File: [09:48:27] js2/mwEmbed/mv_embed.js [09:58:36] mdyou around still? [09:58:41] I guess not. [10:01:26] 03(mod) Allow MediaWiki to fetch nonexistent Help: pages from Meta similar to images from Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12306 +comment (10wiki) [10:08:41] 03happy-melon * r56022 10/trunk/phase3/includes/specials/SpecialResetpass.php: Follow-up to r55884 - update call in SpecialResetpass [10:08:47] 03(NEW) LiquidThreads notifications and watchlist notifications need to be unified - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20541 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [10:08:57] Nikerabbit: thanks, I'll look into them [10:09:09] although I don't see how the language confusion can be my fault :D [10:09:56] 03(NEW) Experiment with embedding LiquidThreads discussion forums on other random pages (CodeReview etc) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20542 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [10:10:23] 03jojo * r56023 10/trunk/extensions/Collection/Collection.body.php: fix: remove trailing "/"(s) from subtitle [10:11:24] 03(NEW) Reconsider sort order for LiquidThreads threads - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20543 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [10:12:03] 03(NEW) Add a "Discussions" tab to the search box when LiquidThreads is active - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20544 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [10:13:02] Hi everybody, I saw that Wikipedia created several wikiProjects. I'd like to know if we can do the same with the basic version of MediaWiki or if it's a feature specific to Wikipedia. [10:13:35] marineam1: wikiprojects are not a software feature. it's just something people do. just make a page. [10:13:54] marineam1: if you like, you can make a special namespace for projects though. some wikiopedias do this with "portals". [10:14:09] !namespacwe [10:14:09] --mwbot-- I don't know anything about "namespacwe". [10:14:14] 03(NEW) Add AJAX-triggered inline search for LiquidThreads threads - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20545 enhancement; Normal; MediaWiki extensions: LiquidThreads; (agarrett) [10:14:18] !namespace [10:14:18] --mwbot-- See http://www.mediawiki.org/wiki/Help:Namespaces for user help and documentation, and http://www.mediawiki.org/wiki/Manual:Namespace for administration. For adding namespaces, see !extranamespace [10:14:27] bah [10:14:33] !extranamespace [10:14:33] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [10:14:39] eeek, 24 LiquidThreads bugs [10:14:44] at least most of them were created by me ;) [10:16:39] yeah I saw that, it's just that when I read how Wikipedia did, it sounded as if it was something special. So if I want to create 3 projects on the same wiki, I only use 1 namespace per project and that's all? [10:23:14] why would you need a namepsace per project? [10:23:23] i'd create one namepace for projects in general. [10:23:55] not that sadly, that namespace can *not* be called "Project". Because "Project" is already takes as the canonical name of your wiki's meta-namespace [10:24:48] or you just put the projects into that meta-namespace. which is what most wikipedias used to do, and some still do [10:25:12] in case of wikipedia, you end up with stuff like Wikipedia:WikiProject:Bibliography or something [10:25:29] ok but if you create one namespace for all projects, how do you organise your articles if you want to link an article to a specific project? [10:25:41] oh ok, so you have "sub-namespaces" [10:25:51] that's just a naming convention [10:26:05] it might just as well be Wikipedia:Peoples_project [10:26:09] whatever [10:26:40] ok [10:26:42] marineam1: i don't quite understand your question. do you want your pages to be "in" a project? thatz's not how it works... [10:26:53] linked to [10:27:17] well, you can klink anything to anything. [10:27:25] as in [[Link]]. [10:27:28] belonging to a project if you prefer [10:27:33] yes thank you Duesentrieb :) [10:27:39] but usually, you would have pages in categories, and a project would look after things in some categories [10:27:56] yes [10:28:09] you could also have a template for each project, so you have a "sticker" on the pages that saqys "paort of project XY". [10:28:20] such templates could also add a category [10:28:35] the possibilities are endless, mediawiki doesn't care [10:28:56] but if I want to organise it in another way, I could have MyWiki:WikiProjects:Project1, MyWiki:WikiProjects:Project2 for example [10:29:15] yeah having a template for each project is a good idea as well [10:29:29] Nikerabbit: I can't reproduce any of the issues at translatewiki [10:29:46] including the way the MathCaptcha fails every time on CreateAccount :P [10:30:34] do you 'work' there, or did you just see it and pass it on? [10:30:45] marineam1: MyWiki:WikiProjects:Project1 would be the project page, it has nothing to do with how content pages get associated with project pages [10:30:47] The Lorem Ipsum song: http://www.biglionmusic.com/music/lorem-ipsum [10:32:03] then if I create pages like MyWiki:WikiProjects:Project1:my page, MyWiki:WikiProjects:Project1:another page, it's associated [10:33:09] 03midom * r56024 10/branches/wmf-deployment/extensions/MWSearch/MWSearch_body.php: MFT: 55392 - Propagate search method to LuceneResult so we can supress revision loading when its not needed (rainman) [10:35:35] marineam1: in your mind maybe. to mediawiki, it'S just pages. pages with long ugly names. [10:36:06] marineam1: if you use / instead of : to created subpages, and your MyWiki namespace has subpages enabled, there would at least be back-links. but that sucks. [10:36:16] marineam1: content should be in the content namespace. [10:36:35] marineam1: maybe the concept you are looking for is subwikis, not wikiprojects? [10:36:54] mediawiki doesn't really support that. you can try to simulate it with namespaces, but it sucks. [10:40:57] okay :) well I looked at the solution of subwikis (or wiki family right?), it seems that people I work with don't want to setup new wikis, they would like to keep the same main wiki [10:42:45] 03midom * r56025 10/branches/wmf-deployment/includes/Linker.php: MFT: 55983 - don't lookup any classes for 'known' links - fixes excessive queries caused by links in footer (midom) [10:45:27] Duesentrieb: do you talk about wiki family? [10:46:28] no. wiki families are not subwikis. the concepts are related, but not the same. subwikis are tighly integrated into their parent wikis. wiki families are loose groups of wikis running an the same server. [10:46:55] mediawiki as ha lot of support for families. but no support for subwikis. [10:47:31] ah maybe what's why I didn't find anything about that concept [10:48:41] not for mediawiki. i think tikiwiki supports it, and confluence too, though under a different name iirc [10:49:41] Duesentrieb: ok unfortunately we already use mediawiki, we can"t change [10:50:31] well, maybe you should explain what you *actually* want to do. [10:50:56] what's the need you try to cater to using wikiprojects/subwikis/etc? [10:54:55] Duesentrieb: ok actually we have a wiki using mediawiki. Some of our partners would like to have their own space on the wiki (be able to publish content on this space etc.). We suggested to simply create a page for them and some categories refering to them. Another solution would be to setup a wiki per partner, but it's not the goal... [10:55:11] hm.. stupid question, but - after having installed mediawiki, I can move the directory around right? without breaking stuff. [10:55:56] marineam1: is access control an issue? just writing or reading too? [10:56:23] gamla_kossan: you may have to adjust one or two pathes in LocalSettings.php, but that should be all [10:56:45] ah, cool =) [10:56:48] Duesentrieb: thx =) [10:56:52] np [10:57:16] Duesentrieb: just writing/reading/uploading some files - their account will belong to a group "Partner" [10:57:39] marineam1: i mean, do you need to *prevent* reading or writing to some people in some parts of the wiki? [10:57:57] e.g. one partner in the space of another? [10:58:10] Duesentrieb: nop [10:58:20] then just create a namespacew per partner. [10:58:50] or even just use namespaces, if they don't want to publish lots of pages. [10:59:38] Duesentrieb: ok! we get back to the first solution, when I talked about a namespace per project, actually it means a namespace per partner :) [11:00:07] Duesentrieb: thank you for your... expertise :) [11:00:12] yea, that makes sense, if it makes sens to you to group your content by the party it comes from. [11:00:29] on wikipedia, projects are expert teams taking care of specific topics. [11:00:33] that's... different [11:01:03] I see [11:01:38] marineam1: otoh, The Wiki Way is to *not* have everyone have their own space. [11:01:59] marineam1: the wiki way is that everyone edits each others pages. there's no ownership, no fences. [11:02:10] *sniff* it's beautiful [11:02:11] :> [11:02:13] how do i get this http://thehub.ath.cx/Ubunt_OS page to look like wikipedia.org/wiki/Ubuntu_(Operating_System) [11:02:19] hehe [11:02:28] Duesentrieb: yeah I know, and everybody will be able to edit and read these pages and "areas" [11:02:32] http://wikipedia.org/wiki/Ubuntu_(Operating_System) [11:02:38] tomas2: um [11:02:43] tomas2: sure your first link works? [11:02:59] Duesentrieb: they just want to "organise" some spaces, but no access control :) [11:03:08] marineam1: yes, but will they? it all depends on what kind of content you are trying to build. doi you want people to cooperate? then do't introduce and zones or areas. [11:03:14] http://thehub.ath.cx/wiki/Ubuntu_OS [11:03:18] =) [11:03:34] anyway, just try it out :) [11:03:56] Duesentrieb: yes we want people to contribute of course :) - thank you for your help ;) [11:04:07] is it to do with css and if so how do i fix it [11:04:16] tomas2: think you need to be a bit clearer - is it tables that you want? [11:04:30] tomas2: it's just a matter of html in the wiki markup then [11:04:35] yes it is [11:04:50] i copy pasted it from wikipedis [11:05:11] with all templates and stuff [11:06:03] well, can't really help you out there, I hate html like the plague =) [11:06:45] tomas2: if you want to use templates, you have to create them on your wiki [11:06:48] !templateproblems [11:06:48] --mwbot-- The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy [11:07:11] i have done all that if you go to my page you should see that [11:08:08] if you go http://thehub.ath.cx/Ubuntu_OS you will see all templates are done [11:08:47] i have installed that and the other thing [11:09:11] tomas2: the you are probaly missing the infobox css [11:09:13] !css [11:09:13] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [11:09:49] so lets say that MediaWiki:Monobook.css thats what i need to update [11:10:24] and MediaWiki:Common.css most probably [11:10:32] um....... how is it that I check what storage engine my mysql db uses? [11:10:48] show table status ? [11:11:14] ? [11:11:16] huh? [11:11:53] ok cool i am doing that now thanks for the help [11:11:56] MySQL command "show table status", once you are attached to the database. [11:12:20] ooooooh [11:12:25] an extra 's' snuck in [11:12:25] =) [11:12:28] "show engines" shows what you have [11:12:28] tahnks [11:12:48] on prob [11:15:06] hi [11:15:51] does anybody try to create pages via mediawiki api? show me an example code, pls [11:16:12] thanks guys it did what i was hopping it would do [11:16:26] saper: want to come to berlin for atomsandbits? i'll probably be there for the barcamp. [11:17:05] *gamla_kossan googles atomsnbits [11:18:37] typical, is it only in germany? [11:18:40] err [11:18:40] -y [11:18:42] in german [11:22:53] Duesentrieb: I am trying to figure out my schedule right now for Gdansk for the weekend. When is it? [11:23:01] the website? dunno. could be. it's not an international event as such. [11:23:38] saper: the "festival" is 22.-28., the core camp part is 26./27. [11:25:39] http://atomsandbits.mixxt.de/ [11:27:36] yea. i find the page a bit confusing... and it's not very clear what's going on. but there'll be a bunch of interesting people aropund, and that's the most important bit! [11:27:53] looks interesting indeed [11:28:07] finally opportunity to have a real look at Berlin, too [11:28:59] I should be in Gdańsk this weekend, thought about passing Berlin by, but things got a bit complicated today... [11:29:42] Belegnar: http://www.mediawiki.org/wiki/API:Client_Code [11:30:12] how do i check if the currently viewed page is a category page? [11:30:38] (in php extension :) ) [11:31:30] Splarka: thx a lot [11:32:15] ugh.. [11:32:16] mibbim: $title.getNamespace() == NS_NAMESPACE [11:32:21] *gamla_kossan quit smoking last saturday [11:32:27] Belegnar: basically you just have to POST to /api.php the proper parameters, action=edit and such [11:32:30] I could really go for a cigarette right about now.. [11:32:34] :/ [11:32:37] Duesentrieb: thanks! i was looking at Title, d'oh [11:32:38] mibbim: where $title is the poage's title object. you can get it from $wgTitle, but globals are evil, so get it somewhere else :) [11:32:48] sure [11:32:51] mibbim: it *is* in the Title class. [11:33:19] i was expecting something along isCategoryPage (there's isTalkPage) [11:33:28] but that will do more than fine :) [11:34:35] well, checking if it's a talkpage is more complex than a simple comparison [11:35:20] true [11:36:21] *Splarka injects some mashed bugs into your life: http://www.cracked.com/article_15982_5-horrifying-food-additives-youve-probably-eaten-today.html [11:39:26] cool. hidden fear factor of real life :) [11:39:40] mechanically seperated chicken [11:41:03] http://totallylookslike.files.wordpress.com/2009/01/mechanically-seperated-chicken-totally-looks-like-strawberry-soft-serve.jpg [11:48:56] Splarka: i have difficulties in making post requests from php :) clearly, i just don't know how to do this [11:50:09] from php to the api? locally or over the web? [11:50:45] 03werdna * r56026 10/trunk/ (5 files in 5 dirs): Add "Discussions" option to search when LiquidThreads is active. Includes some fixes to SpecialSearch.php, to allow this sort of change [11:51:40] 03(FIXED) Add "Discussions" tab to 'advanced search' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20395 +comment (10agarrett) [11:52:05] Splarka: localy, that is the trouble [11:52:58] from within mediawiki? [11:53:42] Belegnar: could you please describe what you are trying to do? (what do you need POST for?) [11:55:05] Belegnar: use CURL [11:55:34] Belegnar: err, if it's not over the web, don't use curl. but then you don't need post either# [11:55:46] the api has a local call interface [11:57:37] Duesentrieb: where can i read about local calls? [11:57:47] in the manual [11:57:49] !api [11:57:49] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see . [11:58:09] http://www.mediawiki.org/wiki/API:Calling_internally [11:58:51] hm... sorry for my pure english =) [11:58:52] i should create page via cron - that's all [11:59:54] or create a page once, and write a parser extension tag that includes a local file [12:00:10] unless you want the history of said pages kept (or a new title every timeunit) [12:00:38] Writing an extension to an extension (ParserFunction). Specifically, would like to call runReplace from an extension. Don't want to extend class, because would like to make backward compatable (1.16 uses different class system). Could I just excecute the hook that calls #replace? and if so, which one is it? [12:35:01] is monobook a single css? [12:37:37] I'm on a farm that has three css, style, common and layout [12:43:36] 03(FIXED) Add option for editors in preferences to always show diff to latest flagged revision - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20058 +comment (10JSchulz_4587) [13:03:21] 03(mod) Please enable variant ShortURLs for Chinese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19019 04CRIT->04BLOCKER; +comment (10xu.jimmy.wrk) [13:03:51] hmm, dumpBackup.php is broken [13:06:51] Happy-melon: hmm strange, at least those have not been reported before, so I wonder what else could it be [13:11:00] 14(WFM) LiquidThreads per-page search may be broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20392 +comment (10agarrett) [13:11:03] why is that BLOCKER? [13:11:33] heee [13:11:49] 03(FIXED) LiquidThreads could automatically check for updates in the background. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20390 +comment (10agarrett) [13:15:31] 14(DUP) Add a "Discussions" tab to the search box when LiquidThreads is active - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20544 +comment (10agarrett) [13:15:34] 03(mod) Add "Discussions" tab to 'advanced search' - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20395 (10agarrett) [13:18:20] 03werdna * r56027 10/trunk/phase3/maintenance/backup.inc: Pull wgDBuser and wgDBpassword if adminuser and adminpassword are undefined, fixes dumpBackup.php [13:22:57] I think we should use ORMs in mediawiki [13:23:08] 03werdna * r56028 10/trunk/extensions/LiquidThreads/ (lqt.css lqt.js): [13:23:08] LiquidThreads edit form display [13:23:08] * Add padding to the top of LiquidThreads edit forms. [13:23:08] * Don't hide edit forms with textboxes inside them. [13:23:10] *domas pukes after watching at some data flow logic [13:23:11] ;-) [13:23:44] 03werdna * r56029 10/trunk/extensions/LiquidThreads/classes/Dispatch.php: Hijack section=new for talkpage_new_thread [13:26:18] 03(NEW) After global blocking, user is sent to http://meta.wikimedia.org/w/index.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20546 normal; Normal; MediaWiki extensions: GlobalBlocking; (mike.lifeguard) [13:26:24] 03werdna * r56030 10/trunk/extensions/LiquidThreads/lqt.js: Fix JS error in r56028 [13:27:50] 03(FIXED) LiquidThreads should hijack action=new for its own purposes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20538 +comment (10agarrett) [13:28:38] 03(FIXED) LiquidThreads hides all edit forms, including useful ones - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20539 +comment (10agarrett) [13:44:48] dear mediawiki developers [13:44:54] do know, that you can get multiple rows in SQL query [13:44:58] no need to send query-per-row [13:44:59] :) [13:45:47] domas, of course! We just need to request the whole table and filter in the application. [13:46:14] :) [13:46:19] that is being done, yes [13:47:11] I recall a TDWTF post where a company asked to hire someone who had pointed out they were doing just that. Apparently they wanted him to help them implement more "optimizations such as WHERE clauses". [13:48:09] haha [13:48:41] om nom nom, chicken terriyaki with noodles [13:52:02] With IRC on miranda [13:52:24] anyway there is a plugin so When I press up, it shows the history keylines I entered before through the chat box? [13:52:45] FF|Skyrider: i think you want #miranda [13:52:54] Haha, sorry, my bad :D [13:52:59] I'm in so many channels [13:53:04] I clicked the wrong one ^_^ [13:53:54] 03(NEW) Update some language codes in the projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20547 enhancement; Normal; Wikimedia: Language setup; (Gerard.meijssen) [13:54:38] 03dale * r56031 10/trunk/phase3/js2/mwEmbed/mv_embed.js: r56010#c3896 (extra comma) [13:54:42] say, DifferenceEngine has quite expensive permission checks, for various userCan() [13:55:00] now, same DifferenceEngine is being used for RC rss feeds [13:55:12] so for every row it decides to load all that info [13:55:20] even if it isn't used ;-) [13:55:43] then, it gets loaded multiple times [13:55:48] because there are multiple userCan()s [13:56:04] <3 [14:08:23] quickUserCan isn't that quick anymore, is it? [14:12:07] werdna.... [14:12:14] whaaat? [14:12:37] or is that ialex [14:12:44] werdna: I'm looking at Title restrictions code [14:12:47] scattered all around mediawiki [14:12:51] doing useless stuff!!! [14:13:11] :( [14:13:15] *werdna hides [14:13:26] once upon a time quickUserCan didn't have to do queries all around [14:13:32] thats what it was called quickUserCan for [14:18:47] *domas giggles at amount of javascript files loaded by commons file view [14:19:17] 400k of scripts [14:29:57] 03(FIXED) PageHistory.php deleterevision
breaks on ugly URL wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18827 (10JSchulz_4587) [14:31:14] 03(mod) Edits with user/IP suppression aren't obvious at user contribs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20470 summary; +comment (10JSchulz_4587) [14:39:01] mdale: Can I use mv_embed and what-not to put an extract of a video into a post on my blog? [14:39:05] (a video from commons) [14:39:19] hmm... [14:39:27] sort-of [14:39:55] you can run a seek-to and it will "try" to get there with the plugins.. but the only reliable way is with oggz-chop [14:40:03] archive.org has oggz-chop installed [14:40:18] when are we gonna stick it on wikimedia? :) [14:40:19] you could run oggz_chop locally [14:40:28] yeah, that's n option [14:40:36] (to just get that segment) [14:40:41] and post that [14:40:58] hmm... yea I am in conversations with Fred to get it deployed... [14:41:11] I will shot him an email and request a status update... [14:45:07] mdale: btw [14:45:10] +"mwe-error_load_lib" : "Error: mv_embed was unable to load required JavaScript libraries.\nInsert script via DOM has failed. Please try reloading this page.", [14:45:21] can you make that error message describe what you told me last night? [14:45:31] yea good point [14:45:48] "ttempted to load $j.suggestions, but it still seems to be undefined. [14:46:35] werdna: Try $j.fn.suggestions [14:49:42] To make it really obvious:: Error: file $1 was not retrievable or does not define $2 [14:50:00] its possible its a network error too [14:50:24] although I could eliminate that possibility by checking the onLoad script property... [14:53:14] RoanKattouw: yeah, I know. [14:53:30] RoanKattouw: I've fixed it, although calling suggestions() seems to do nothing [14:54:12] RoanKattouw: http://p.defau.lt/?GvXfFfLfRqf7fZPPnX81Xw [14:54:26] werdna: Make sure that 1) you've called .suggestions ( { 'option1': 'value1', ... } ); first and 2) you're sure that when you call .suggestions() , the element is visible and not moved around after [14:54:44] ah, it's not visible yet [14:54:53] although it's not calling the fetch method, which is weird [14:55:10] Also, you need a *separate* .suggestions(); call with no arguments to fire it up [14:55:21] Doing the first call when the element is not visible is fine [15:00:09] hooray, it works [15:02:18] Yay [15:02:46] committing the lot [15:02:56] 03werdna * r56032 10/trunk/phase3/ (12 files in 7 dirs): [15:02:56] Add AJAX category management system. Includes suggestion system, dialogs for [15:02:56] setting edit summaries and confirming, and methods for adding and removing all [15:02:56] categories, but only directly in the page text (as categories in templates [15:02:56] cannot be removed). [15:02:57] werdna: Keep in mind that neither jQuery AJAX nor the suggestions plugin does any caching whatsoever [15:03:09] *werdna shrugs. [15:03:19] You'll probably want caching for the suggestions requests [15:03:32] a replacement for HotCat? [15:04:31] yes [15:04:39] something actually usable [15:04:58] werdna: You may wanna remove the svn:executable prop on the .png files [15:05:06] hi RoanKattouw [15:05:11] Hi Nike [15:05:13] ugh [15:05:19] that was fast [15:06:43] werdna: Eek, hardcoded messages on top of ajaxcategories.js [15:07:03] 03dale * r56033 10/trunk/phase3/js2/mwEmbed/ (mv_embed.js php/languages/mwEmbed.i18n.php): * updated mwe-error_load_lib error msg [15:07:06] RoanKattouw: they're fallbacks only [15:07:12] 03werdna * r56034 10/trunk/phase3/skins/common/images/ (add.png remove.png): Remove some stray executable bits [15:07:13] Ah OK [15:07:31] the js i18n system is abit weird [15:07:56] poke mdale then [15:07:57] hi brion [15:08:07] i don't complain [15:08:34] mdale does it support plural handling yet? [15:08:44] not ~yet~ [15:09:02] it doesn't support anything that needs parsing, for obvious reasons [15:09:28] the problem is all the plural and gender stuff is defined via php code rather than some abstraction that javascript could interpret [15:09:45] what would that abstraction be? [15:09:53] ie if we had some large associative array [15:10:12] we do, but it's necessarily associated with PHP function names [15:10:15] or could [15:10:16] or something of that nature that each localization defined as structured data [15:10:23] rather than raw php code [15:10:44] gender is off lesser importance, grammar and plural is important [15:11:19] you can't express logic as an array... naturally at least [15:11:41] right but you have a standard interpretation [15:11:51] *domas scratches teh head [15:11:56] so the question is how you turn those algorithms into data [15:12:04] parser cache gets bad timestamp saved by edit [15:12:22] it still sees old Article::mTimestamp [15:12:35] 03thomasv * r56035 10/trunk/extensions/ProofreadPage/ProofreadPage.php: minor fix for pagenum; use system message for header template [15:12:55] werdna: You're allowing the first character of the category NS aliases to have any case, but namespace parsing in MW is completely case-insensitive (of course no one is stupid enough to use cAtEgOrY: and it's probably not easily expressible in a regex) [15:13:30] Nikerabbit: you just say this language uses these transformations .. then you centrally define the transformations in php.. and then we mimic those transformations in JavaScript. [15:13:54] http://en.wikipedia.org/wiki/User:Werdna/foo [15:13:55] that is for grammar [15:13:58] huh, right you are [15:14:30] for plural you need a *function* that maps number N to index I [15:14:51] Nikerabbit: not necessarily [15:15:16] array( '0' => '1', '1' => '2', '>2' => 2 ); [15:15:19] or something like that [15:15:41] Won't work, such an array would theoretically be infinite [15:15:54] RoanKattouw: why? [15:16:22] IIRC Russian uses a mod 10 rule, similar to the -st, -nd, -rd and -th English uses for ordinals (first, second, third, fourth , ... twenty-first, etc.) [15:16:29] so long as the ranges for each index are finite and continuous... [15:16:37] ah, so Russian is not in that category [15:16:39] quite lame [15:16:47] that wont work [15:16:49] don't even try [15:17:08] arghhhh [15:17:11] new allmessages page is unusable [15:17:14] how do I search for stuff now? :) [15:17:24] so then you define array('mod10rule'=> array( 0=>'-st', 1=>-nd)) [15:17:30] or something [15:17:37] use the all optiom in trunk [15:17:45] its not a trivial project... [15:17:46] werdna: Why are you repeating the same loadGM() call at the very top and at the very bottom? [15:18:01] ...or.. we could do more interface code generation server side and think of clever ways to hide its loading time... [15:18:07] RoanKattouw: ah, error caused by reapplying the same patch a few times [15:18:22] i'm not fond of implementing a new programmin language for that [15:18:22] the page shouldn't be paged, it should show nothing per default and let you search by key/prefix. [15:18:25] mdale: You mean like batching gM() calls and querying the API to 'parse' them? [15:18:34] actually, searching by value would be more useful. is it possible? using the cache? [15:18:35] yea... but not very fun [15:18:36] domas: AJAX! [15:18:56] it already has that function call: [15:19:06] gMsgLoadRemote [15:19:16] mv_embed:288 [15:19:33] RoanKattouw: mod10 rule? [15:19:34] but does not do the replacement parsing [15:20:06] 03werdna * r56036 10/trunk/phase3/js2/ajaxcategories.js: Remove ghost of patch applications past [15:20:33] ugh, who cares about people who don't use '.php' extension? [15:20:40] vvv: Like how in English, 1st, 21st, 31st, 41st ... 2341st all get the -st suffix because those numbers mod 10 == 1 (of course 11th is a nice exception) [15:21:06] because it's not constructed like the rest [15:21:25] 03midom * r56037 10/trunk/phase3/includes/ (Article.php Skin.php): Fix use of parser-cache-saved-timestamp, apparently the code was all there, hidden behind a catch-all branch :-) [15:21:31] RoanKattouw: in Russian writing "21st" instead of "1st" is considered bad form [15:21:49] *instead of "twenty first" [15:21:52] Right [15:22:13] we write code [15:22:17] then someone breaks stuff [15:22:19] we write more code [15:22:23] then someone again breaks stuff [15:22:25] endless cycle [15:22:30] vvv: I think I read somewhere that Russian (or maybe Polish, or Romanian, I don't remember) inflects plurals differently if there's 2 or 3 or 12 or 13 or 22 or 23 or ... of them [15:22:43] roankattouw: lithuanian [15:22:50] xD [15:23:07] domas: you and your crazy language [15:23:23] *domas points at http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageLt.php?revision=35098&view=markup [15:23:39] http://docs.jquery.com/Special:Version [15:23:40] *werdna lols [15:23:45] # MediaWiki: 1.8.2 [15:24:02] *snort* [15:24:31] hehehe [15:24:32] They should get professional help [15:24:32] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageLt.php?view=diff&r1=14180&r2=14181 [15:24:37] that was my commit!!!!! [15:25:33] should I do some more speedy mft [15:25:37] :-))) [15:26:01] Yeah what's MFT stand for? [15:26:05] merge from trunk [15:26:09] Ah [15:26:58] meh, will allow that to rot in code review a bit [15:28:47] 03raymond * r56038 10/trunk/phase3/ (2 files in 2 dirs): [15:28:47] Follow-up r56032: Tweak messages for more consistency and better i18n. [15:28:47] Add new message keys to messages.inc [15:29:39] 03siebrand * r56039 10/trunk/phase3/js2/mwEmbed/ (4 files in 4 dirs): [15:29:39] * Update messages in JavaScript [15:29:39] * tweak 'mwe-error_load_lib' [15:29:39] * add a missing message to mwEmbed.i18n.php [15:30:48] *domas giggles [15:30:48] http://strategy.wikimedia.org/wiki/Proposal_talk:Hire_Nikerabbit_and_Siebrand [15:31:10] nikerabbit: ^^ I have nothing against you being hired, just wanted to point out, that it is strange as a "strategy" :) [15:32:26] you know I didn't write that [15:32:41] that would be a medium to get something done [15:32:55] hehe [15:32:58] I know [15:33:34] I hope that everyone finds better jobs than WMF! :) [15:33:39] brb, almost at home now [15:33:43] funny, at the bottom of the proposal, talking about internationalisation and localisation, there's "&lt;readerfeedback-desirability&gt;:" [15:33:49] :-)) [15:33:50] :) [15:33:59] hi brion! hi sandy! [15:34:32] hi domas!! [15:34:53] oh, have to do mft for the trybeta thing [15:35:11] "&lt;readerfeedback-desirability&gt;" [15:35:17] sandy? [15:35:30] *brion huggles wikiblue [15:35:32] *werdna assumes this is the sandy from the office [15:35:38] judging by the hostname [15:35:38] werdna: from tampa office, yes [15:35:44] lol [15:35:47] yes, that's what I meant. [15:35:55] Ohh, yees! [15:35:57] woooo st pete [15:36:11] exacty, we are the non existent beach people of florida [15:36:24] rainman-sr: Kinda weird bug in Wikipedia search: if I Special:Search "Citizens United vs. Federal Election Commission" I get a bunch of useless results, but there is an article called [[Citizens United v. Federal Election Commission]] (with v. instead of vs.) [15:37:49] back [15:38:44] werdna: lol, that just sucks @jquery wiki [15:39:25] http://docs.jquery.com/robots.txt stupid [15:39:54] AJAX category stuff is committed and live at http://wiki.werdn.us/test/view/Main_Page :) [15:40:23] Nikerabbit, we could put that wiki as an example of what shouldn't be done ;) [15:40:31] werdna: you suck! [15:40:33] werdna: "could not find path for requested class $j.suggestions" [15:40:33] :) [15:41:15] hoopsies [15:41:19] *werdna fies [15:41:25] fixes [15:41:33] Platonides: or contanct someone to fix it, and if they don't put it into the examples [15:41:41] try nao :) [15:41:42] 03werdna * r56040 10/trunk/phase3/js2/ajaxcategories.js: Fix silly error [15:42:55] http://docs.jquery.com/Contributors#Web_and_Design_Team nobody seems responsible for the wiki [15:42:59] nao :o [15:43:35] Platonides: email them all or pick one? [15:47:25] 03raymond * r56041 10/trunk/phase3/languages/messages/MessagesEn.php: Follow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisyntax is not possible :-/ [15:48:39] werdna: missing ; before statement [15:48:40] [Break on this error] No valid wiki specified mwScript...rid=239_0 (regel 1) [15:48:53] Happens when I click Add category on the main page [15:48:53] ? [15:49:12] Right after load js: /scripts/mwScriptLoader.php?class=$j.ui,$j.ui.dialog,$j.fn.suggestions&urid=239_0 [15:49:14] probably a setup issue [15:49:42] And like 2 minutes later an alert box that says Error: JavaScript jquery/plugins/jquery.suggestions.js was not retrievable or does not define $2 [15:49:57] wgScriptPath is set properly [15:50:03] I think this is a bug in Michael's code [15:50:20] Oh, mdale :) [15:50:27] where's mwLoad defined? [15:50:34] Also note that $2 is not expanded [15:50:37] I want to see if it respects wgScriptPath properly :) [15:51:07] hmmm [15:52:11] oh right [15:52:16] 03dale * r56042 10/trunk/phase3/js2/mwEmbed/libAddMedia/remoteSearchDriver.js: [15:52:16] * fixed resize image on edit [15:52:16] * return to search results "page" on add-media-wizard close via dialog close button [15:52:16] * removed draggable / re-sizable properties [15:52:54] I think I have a pretty bad record on quick fixes ;) [15:53:20] I think the problem is that I am using rewrite rules to get to the script path [15:53:26] but it *shouldn't* matter :D [15:53:43] hmm [15:53:54] werdna: It probably does matter if the script loader gets stuff from the filesystem [15:54:05] yea...what RoanKattouw said [15:54:25] no no [15:54:36] see, I've set wgScriptPath to /test/scripts/ [15:54:44] but it's AJAXing to /scripts/mwScriptLoader.php [15:55:00] hmm [15:55:01] Yeah and it's getting a response [15:55:10] hard to see whats going on... [15:55:13] but it should be AJAXing to /test/scripts/mwScriptLoader.php [15:55:21] because that's what $wgScriptPath is set to [15:55:37] So you just so happen to have two instances of mwScriptLoader.php in similarly-named directories? [15:55:47] Well, I have a multi-wiki farm [15:55:55] The "real" script path is /scripts/X [15:56:03] but that bails out because it doesn't know which wiki to call [15:56:09] Aah [15:56:22] So it goes to your generic path instead of the specific path [15:56:22] yea .. mv_embed gets the path from mwScriptLoader path [15:56:23] externally, you call // or //scripts [15:56:30] mdale: right, which is wrong [15:56:35] it should get it from wgScriptPath [15:56:39] ? [15:56:52] which is a variable set aside for this exact purpose. [15:56:57] but it needs to call mwScriptLoader to load subsequent scripts [15:57:06] Yes, and it can do that just fine [15:57:08] mwScriptLoader is not even in the /scripts folder [15:57:22] what is the problem? [15:57:26] 03(NEW) Spam Blacklist undoes good faith edits - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20548 enhancement; Normal; MediaWiki extensions: Spam Blacklist; (cbass) [15:57:41] wgScriptPath + "/mwScriptLoader.php" will do the trick [15:58:49] All MediaWiki pages have that global variable wgScriptPath defined [15:58:53] I don't think I understand the problem... why would mwScriptLoader.php be somewhere other than wgScriptPath to begin with [15:59:06] I've just eplained -- I have rewrite rules in place [15:59:23] so mwScriptLoader sees the rewritten URL [15:59:39] 03(mod) Spam Blacklist should preserve contents of edit box when blocking an edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20548 summary (10roan.kattouw) [15:59:51] so it thinks it's in /scripts/ when it should be considered to be in /test/scripts/ (which is the URL before rewriting) [15:59:54] and subquent calls to that rewritten url of mwScriptLoader are not valid? [16:00:13] yes, because it needs to be sent to the URL before rewriting, so I can detect which wiki I'm talking about [16:00:29] If you request /test/scripts/index.php, the server knows you want the 'test' wiki9. [16:00:41] If you request /scripts/index.php, there's no way of knowing [16:00:43] ah.... [16:00:47] I see [16:01:21] You should always use wgScriptPath + '/foo.php'; I can't even imagine another way (which makes me wonder, what did you use, mdale?) [16:01:39] well mwEmbed is stand alone remember ;) [16:01:49] so it needs to just use the existing path for the scriptloader [16:01:52] to call again [16:01:57] I think hes using some funky auto-detection [16:02:01] but can put in a check for the var wgScriptPath and use that [16:02:03] mdale: well, it's currently broken. [16:02:27] so I don't know how you can fix it without making it non-standalone, but it needs to be sorted :) [16:02:40] Hmm [16:02:50] mdale: Can you explain how you currently obtain the mwScriptLoader.php URL? [16:03:17] yea just read the url that contains mwScriptLoader.php [16:03:23] from the list of scripts [16:03:32] fix about to be committed... [16:03:40] Which list of scripts, where? [16:03:52] in the body, by the looks [16:03:56] which is strange, because it should work [16:04:00] (i.e. the