[00:13:32] What file do I need to edit to change article fonts for Monobook? [00:15:53] 03(mod) Section edit links showing up in wrong place - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1629 +comment (10erikbaas) [00:21:46] 03(mod) User list includes MediaWiki: Viewprevnext without rendering markup. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11454 (10wiki) [00:24:40] Also, how can I change said font's size without messing up the layout? [00:25:18] cctoide: Edit the wiki page (not file) "MediaWiki:Monobook.css". [00:25:23] What is the correct setting for $wgImageMagickConvertCommand for use with the GD installation shipped with WAMP? [00:25:30] cctoide: "MediaWiki:Common.css" will affect all skins. [00:25:41] 02Hey Pathoshild :p [00:25:54] Hey blue-text-on-black person. :p [00:26:06] omg working. [00:26:06] Ah, thanks [00:26:27] cctoide: Welcome. [00:26:27] 02Dear, my text! [00:26:35] :D [00:30:40] '/'Someone'/' here must be using GD! [00:54:11] Steev43230: Why do you want to use GD? [00:55:21] If it's for there's an easier alternative [00:56:35] he left after 5 minutes [00:56:57] obviously doesn't quite understand IRC yet [00:57:11] it takes time...neither do i :) [01:16:38] 03david * r27232 10/trunk/phase3/ (6 files in 3 dirs): [01:16:38] The uncontroversial Liquid Threads hooks. [01:16:38] The hook SkinTemplateTabAction got left in from a previous attempted commit, but [01:16:38] the documentation is added in this commit. The other new hooks here are [01:16:38] ChangesListInsertArticleLink, MediaWikiPerformAction, and BeforeWatchlist. [01:18:12] hi brion [01:18:23] oy [01:19:08] you know the problem with putting intermediate parse text into an XML document tree? [01:20:49] Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: PCDATA invalid Char value 7 in Entity, line: 3 in C:\htdocs\w\includes\Parser.php on line 2964 [01:21:07] bing bing bing [01:22:26] if I make extra namespaces, can I have a default template come up in the edit box when I first edit each new page under that specific namespace? [01:23:18] don't think so [01:23:25] doh! [01:23:28] :) [01:23:36] but there's a feature to create pages from templates using special parameters in the URL [01:24:07] I have been trying to find out how to do this [01:24:07] searching for "preload" might get you something [01:24:14] thanks [01:24:52] maybe http://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text then :) thanks [01:27:23] connection problems, Mr. V? [01:29:25] guess so [01:31:02] TimStarling: i used \x07 in there since it would never appear in input, just as an extra to ensure the placeholder string couldn't be triggered by mistake [01:31:08] if you have a better way to do it feel free to change that :) [01:31:23] wifi's awful in this hotel btw, i'll probably fall offline a few more times [01:31:32] you used it because it was an invalid character in XML, it was very clever [01:31:41] that's why it's particularly ironic [01:31:44] :D [01:32:25] anyway, an initial benchmark of {{cite web}} showed a 20% reduction in parse time [01:32:34] which is not particularly impressive really [01:33:16] certainly dwarfed by the reductions we can make by fixing those two bloody extensions of yours that Domas found [01:33:41] 15s to parse [[United States]], fine [01:34:19] plus another 15 for ConfirmEdit, plus another 15 for SpamBlacklist, parsing the whole text just to extract some tidbit of information [01:36:58] sure, fix those too [01:37:15] should be fairly trivial eh? [01:37:30] yes, compared to what I'm doing with the core parser [01:37:39] 03gri6507 * r27233 10/trunk/extensions/TodoTasks/ (3 files): v0.9.0 - made the extension internationalized [01:38:06] the xdebug profiling indicates that the new parser is dominated by the new function expand(), which is a bit odd, not sure if I believe it [01:38:39] it's a recursive function which walks the document tree and hands off processing to braceSubstitution() etc. [01:39:48] perhaps xdebug is confused by recursion? [01:39:49] but if it's true, maybe that could be rewritten in C [01:40:04] in theory xdebug shows you the self time and child time separately [01:40:51] WinCacheGrind shows you the call tree, you can see the self time for each level in the recursion [01:41:11] 03gri6507 * r27234 10/trunk/extensions/TodoTasks/SpecialTaskList.php: typo [01:42:05] I think maybe the problem is accessing properties in the DOM extension [01:42:30] I have a feeling they're actually native function calls rather than hashtable lookups [01:42:43] So I made a picture page using tags... is there any way to make the pictures link to articles instead of the info about the picture? [01:42:48] but they're not profiled separately, so they're probably accounted under expand() [01:43:32] expand() is called a lot of times, in my test case I think it was 18000 expand() calls for 1500 braceSubstitution() calls [01:44:58] it has a lot of different callers too, since we're passing around DOMNode's instead of text, anything that needs real text needs to call expand() to get it [02:00:17] there will be a few user-visible changes to the parser if I go through with this change [02:00:41] for instance, links in non-expanded branches won't be registered in the link tables [02:01:06] which is fine (good in fact) from a cache point of view, and probably good from a user point of view too [02:02:05] the rules on uncovering {{subst}} may change a bit [02:33:49] So I've been talking on #Apache about the ReWrite problem [02:34:13] Anyone has any experience with dealing with the + character? [02:34:48] http://www.mediawiki.org/wiki/Manual:Short_URL/Allowing_for_escaped_characters_in_URI is what my htaccess looks like [02:35:30] but the + char gets converted to space for some reason. And if it's at the end, the spaces get trimmed. If it's somewhere in the middle, the space then gets converted to _ [02:36:08] 03vrandezo * r27235 10/trunk/extensions/SemanticMediaWiki/ (3 files in 2 dirs): Corrected Chinese translations [02:38:42] Yes, Apache thinks + is a space. [02:38:51] Standard sort of thing. [02:39:06] Although technically the correct thing is %20, I guess? [02:39:27] Anyway, MediaWiki didn't allow + in article titles for a long time because of that, and now they're allowed but only mostly work, AFAIK. [02:44:53] Simetrical, I use 1.9.3 and have allowed + in the title [02:45:07] I need to make the + work in the URL, though [02:45:21] ( and ) work in the url [02:45:21] try alias instead of rewrite [02:45:27] Alias /wiki /w/index.php [02:46:54] I think you need access to httpd.conf for that, though. [02:47:15] I don't have access to httpd.conf - have money only for a shared host :) [02:47:23] The Alias directive allows documents to be stored in the local filesystem other than under the DocumentRoot. URLs with a (%-decoded) path beginning with url-path will be mapped to local files beginning with directory-path. [02:47:48] That is the alias manual. It seems to want %decoded URLs as input [02:50:03] 03(NEW) Request for New ML: WikiJa-sysops - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11882 15enhancement; normal; Wikimedia: Mailing lists; (tietew-mediazilla) [02:52:38] put-lake: alias works fine. (but i don't know if it can be used in .htaccess. i don't see why not..) [02:53:20] flyingparchment: I'll try [02:53:33] flyingparchment, it can't, IIRC. Probably some stupid implementation detail. [02:53:48] Or maybe there's some clever security breach you could do. [02:54:17] you could try rewriting to index.php/ instead of ?title= [02:54:23] that should work the same as the alias does [02:55:07] hmm..flyingparchment..i think that idea might work. because the problem seems tobe in query string. I'll try that [02:58:24] flyingparchment: changing it to index.php/title sends it to a redirect loop and gives a server error [02:58:30] original htaccess is here http://apache.pastebin.ca/763054 [03:00:31] oh.. because you still have index.php and the articlePath in the same directory, i think [03:01:16] aww... [03:01:25] that is not going to change :( [03:04:56] hi folks ... i'm having trouble uploading a 8.9MB file [03:05:29] i have [03:05:30] $wgUploadSizeWarning = 10485760; [03:08:26] tlhiv, are Apache and PHP set up to accept uploads that large? [03:08:31] (Probably, but it doesn't hurt for me to ask.) [03:08:55] well apache is and i thought php was and it seems not [03:09:04] i'm trying the upload again to see if i fixed it [03:11:42] fixed it [03:11:43] thanx [03:16:33] 03yaron * r27236 10/trunk/extensions/SemanticForms/specials/ (SF_AddData.php SF_EditData.php): Setting of form and page name in the title improved [03:19:28] 03yaron * r27237 10/trunk/extensions/SemanticForms/ (includes/SF_Settings.php specials/SF_CreateProperty.php): List separator for enumerations is now a global variable [03:22:32] 03yaron * r27238 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: [03:22:32] Variable in #arraymap call is now set to something other than 'x' if [03:22:32] the name of the property in question contains an 'x' [03:24:07] 03(NEW) MediaWiki: Large-file reporting incorrect value for maximum file size at Commons - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11883 normal; normal; MediaWiki: Uploading; (brianna.laugher) [03:28:08] 03yaron * r27239 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: [03:28:08] sffGetDefaultForm...() functions check for 'Has default form' in English if [03:28:08] the wiki is in another language, and no values are found for 'Has default form' [03:28:08] in that language [03:30:48] 03yaron * r27240 10/trunk/extensions/SemanticForms/languages/SF_LanguageEn.php: [03:30:48] 'sf_createform_fieldattrlist', 'sf_createform_fieldrellist','sf_createform_fieldprop', [03:30:48] 'sf_createform_fieldproplist' and 'sf_createform_fieldpropunknowntype' added; [03:30:48] 'sf_createform_fieldattrunknowntype' changed [03:31:50] 03yaron * r27241 10/trunk/extensions/SemanticForms/languages/ (5 files): Removed "(assuming to be $2)" from 'sf_createform_fieldattrunknowntype' value [03:40:40] 03yaron * r27242 10/trunk/extensions/SemanticForms/includes/SF_FormEditTab.php: Fixes for when the page has a 'view source' instead of an 'edit' tab [03:54:55] 03yaron * r27243 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: [03:54:55] Improved parsing of template - fields are returned in correct order, and [03:54:55] fields with a colon in the property name are parsed correctly; also added [03:54:55] setting of 'input type' to the 'Create Form' form [03:55:52] 03yaron * r27244 10/trunk/extensions/SemanticForms/specials/SF_CreateForm.php: Field input type now set by 'Create Form' form [03:57:21] 03yaron * r27245 10/trunk/extensions/SemanticForms/INSTALL: New version - 0.7.3 [03:59:27] 03david * r27246 10/trunk/extensions/LiquidThreads/LqtPages.php: Worked around rejection of the SpecialPatch trunk patch. [04:12:29] TimStarling: an extra 30s? How is that possible? [04:17:48] 03david * r27247 10/trunk/phase3/includes/SpecialWatchlist.php: Moved the bailout for empty watchlists to after the BeforeWatchlist hook so that the hook can still insert content into an empty watchlist page. [04:27:03] 03(NEW) Commons EXIF extractor is wrong about flash - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11884 minor; low; MediaWiki: Uploading; (jidanni) [05:16:34] re [05:17:12] can anyone help me with TeX? "\sideset{_a}{_b}\prod" works fine, but I need a "1" instead of "\prod" [05:18:01] "\sideset{_a}{_b}1" "\sideset{_a}{_b} 1" "\sideset{_a}{_b}\1" "\sideset{_a}{_b}\{1}" "\sideset{_a}{_b}{1}" ... none works, [05:18:15] any mw-latex-pro in here? [05:45:03] is there a way to "escape" a digit? like \1 or \{1} ? [05:45:13] (with math-mode) [05:59:21] digits don't need escaping [05:59:51] TimStarling: digits needs intval()ing [06:00:10] If in TeX, they dont [06:00:22] Anyone can explain me why http://wiki.touch-serv.net/index.php/PsyBNC << the gif pic doesn't appear -_-' ? [06:04:18] Julia: There's something wrong with the image. [06:04:36] Hum, sometyhing like the .gif ? [06:05:01] Where'd you get it from? [06:05:13] From images.google :p [06:05:28] Try going and saving it again and re-uploading it. [06:05:47] OK, I try but in image:psybnc.gif the image is working [06:07:32] Not work with re-upload :/ I do the screen the next time but hasardous (sorry I'm french) but thank you [06:08:42] 03(mod) Request for New ML: WikiJa-sysops - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11882 +shell (10raimond.spekking) [06:54:57] 03siebrand * r27248 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Add support for TodoTasks in extension Translate [07:10:31] 03siebrand * r27249 10/trunk/extensions/ (2 files in 2 dirs): [07:10:31] * Fix export padding for TodoTasks in Translate [07:10:31] * Add Dutch translation for TodoTasks [08:27:46] 03siebrand * r27250 10/trunk/phase3/ (16 files in 2 dirs): [08:27:46] Localisation updates from Betawiki. [08:27:46] * am, br, cu, dsb, fi, fr, gan, gsw, hsb, lb (new), myv, nl, oc, dsc, tl [08:29:11] 03siebrand * r27251 10/trunk/phase3/languages/messages/MessagesGsw.php: Fix 'oops' in gsw [08:33:35] hey! i'm trying to move my mediawiki to a new server. I took the database backup with command "mysqldump -u username -p wikidb > wiki.sql But when i import the database to a new the mediawiki dont get all the data [08:33:40] for example last updated things dont show up properly [08:43:55] should the recent changes show up properly when moved to new server? [08:45:49] 03siebrand * r27252 10/trunk/extensions/ (10 files in 10 dirs): [08:45:49] Localisation updates from Betawiki. [08:45:49] * Fixes and additions to 10 extensions for am, br, cu, hsb, la, lb, nl, oc [08:49:53] hi, i have rather strange problem with mediawiki 1.7.1 and language translations.. all the other stuff works normally, but month name always comes in english. this is default debian etch installation. language is finnish. [08:50:37] i've looked here and there trying to track down where it looses the finnish month name, but.. can't track it.. [08:52:26] <_wooz> lo [09:00:32] where else mediawiki holds data, than db and skin files etc [09:03:31] 03mkroetzsch * r27253 10/trunk/extensions/SemanticMediaWiki/includes/ (5 files in 2 dirs): Properly setup internal IDs if new articles are created. [09:04:26] Cryx: Depends on what data? [09:13:50] 14(DUP) First time SMWAdmin Initialisation fails with error 1064 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9783 +comment (10mak) [09:13:52] 03(mod) SMW-setup fails for some DB names - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11704 +comment (10mak) [09:23:43] 03mkroetzsch * r27254 10/trunk/extensions/SemanticMediaWiki/includes/ (6 files): Always print error/warning messages in query results (Bug 11826). [09:24:38] 03(FIXED) if a bad query returns nothing, you don' t get warning tooltip with query errors - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11826 +comment (10mak) [09:45:51] 03huji * r27255 10/trunk/extensions/Translate/ (Translate.i18n.php TranslateUtils.php): Adding "delete" link for each entry in the table. [09:46:49] 03mkroetzsch * r27256 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_GeoCoords.php: Accept even more ways to write coordinates (Bug 11808). [09:47:47] 03(FIXED) Decimal point / Comma inconsistent in geo coordinate - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11808 +comment (10mak) [09:54:40] 03(FIXED) Further results link is not expanded - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10459 +comment (10mak) [10:00:35] 03vrandezo * r27257 10/trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php: Added the import statement again [10:03:25] Does anyone know what is required to enable the GD graphics engine for thumbnails other than to uncomment the dll line in php.ini? php info reports the GD engine loaded, but nothing happens to to the images. On the mediawiki site there was text about other lines to include in LocalSettings.php (like the path to the convert command) but I cannot find any file named "convert." Also there are... [10:03:26] ...references to two ImageMagick lines to use in LocalSettings.php but nothing equivalent for GD. [10:05:44] 03mkroetzsch * r27258 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php: Updated translation by Pierre Matringe. [10:07:25] I guess no one's around. I should've asked first.... [10:08:16] 14(INVALID) Thumbnails not working any more - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10450 +comment (10huji.huji) [10:08:33] 03mkroetzsch * r27259 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php: Removed old comments [10:12:36] 03(mod) Sorting in reverse order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11491 (10huji.huji) [10:21:19] is there way to import database from version 1.1 to 1.7 ? [10:21:45] I mean i need to get 1.1 mediawiki created database to work on mediawiki 1.7 [10:21:55] Cryx: Yes. [10:22:01] can you tell how please :) [10:22:25] 03mkroetzsch * r27260 10/trunk/extensions/SemanticMediaWiki/ (2 files in 2 dirs): Do not confuse "+" and " " ("%2B" and "%20") in RDF export parameters. [10:22:30] i tried the update script [10:22:34] um well, I'm not really sure if there is a way from 1.1 to 1.7. [10:22:42] I only tried 1.8 to 1.10 [10:23:29] This was quite simple. dumpdb, cat dump | mysql wikidb, php maintainance/update.php [10:24:56] hmm [10:29:28] 03mkroetzsch * r27261 10/trunk/extensions/SemanticMediaWiki/ (INSTALL RELEASE-NOTES includes/SMW_GlobalFunctions.php): Final adjustments for calling it SMW1.0RC2. File release will follow soon. [10:29:51] I think that dont work [10:30:13] since for example 1.1 dont have wikirecentchanges table [10:35:33] 03(NEW) Oversight needs to handle defamation and personal info in log entries, as well as pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11885 15enhancement; high; MediaWiki extensions: Oversight; (FT2.wiki) [10:37:05] Cryx: 1.10 has a file called "UPGRADE" in its main directory. Did you read this? [10:38:41] didnt notice it, will check [10:38:43] 14(DUP) Oversight needs to handle defamation and personal info in log entries, as well as pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11885 +comment (10cannon.danielc) [10:38:46] 03(mod) Oversight should be able to hide log entries as well - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7871 +comment (10cannon.danielc) [10:38:59] so anyone have any idea how to fix wrong month name translation in mediawiki 1.7.. or what is causing it..? [10:39:58] In most cases, [10:39:59] this is successful and nothing further needs to be done. [10:40:07] but in my case it doesnt work [10:51:36] Cryx: What's your error message? [10:54:08] have you tried to drop the db before applying the dump? [10:54:13] 03(mod) Return after edit sections using headings with wikilinks returns to other anchors then the ones used in TOC - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2831 (10benno79) [10:54:44] If you did not, the update script might fail if it notices tables that should not yet exist [10:55:16] so i should do the update for empty database? [10:55:19] then import again? [10:55:45] no. [10:56:11] you probably have a dump of you db used with mediawiki 1.1. [10:56:18] yes [10:56:30] i have imported that, then done the update script [10:57:20] keep this. Drop the db in mysql (or whatever sql you use). Create an empty db, apply the db, then call the update script. [10:57:53] Question on includes/Parser.php: i add a tag function with the setHook method called in a ParseBeforeTidy Hook function. The Problem is as following: the Tag will be replaced with a one to one MW String (\0x7UNIQ....) that should later be replaced by the String returned from the tag function that i have defined. [10:58:11] did that, and got errors again [10:58:34] Sorry, then can't help you anymore. [10:58:56] These suggestions were only based on my own experience. [10:59:18] I get this kind of error: http://www.pastebin.org/7207 [10:59:37] my problem is, that it is not replaced, but shows up UNIQ26e7da3d65602084-ask-00000001-QINU [11:01:02] i think that the problem is that the strip function replaces the tag. but the mStripState variable that should now contain the replacement string in not set. [11:02:27] i did a var_dump in the strip function on the $strip variable and noticed that it is somehow set there. but the calling function looses the information about it [11:03:39] with calling function i mean the parse method of Parser.php [11:04:51] i tried with renaming the tag to smthg weird like to test if the problem goes away. [11:05:49] i would think that the function unstripGeneral should work on the replacement string, but since the information on the replacement string is lost .... [11:16:13] HelloWorld [11:34:51] GOTCHA! [11:35:00] it' sa bug in MW. [11:35:06] MEOW! [11:35:08] i will post it with a patch. [11:35:13] hihi [11:35:15] man. [11:35:32] needed some hours to hunt it down. [11:35:43] state is not given to the function as a pointer. [11:35:49] UNIQ-problems usually occur because you cause the parser to reset its state [11:35:53] so the information is lost. [11:35:55] nono [11:36:05] it is set in the strip function. [11:36:27] ...which usually happens when wrong parser object is used [11:36:33] but since the $state var is not set as a pointer in the header of the function [11:36:38] nope Nikerabbit [11:37:06] look in strip: how shold the state be returned to the calling parse function? [11:37:07] PunkRock: yes! but I don't know about your case [11:38:21] Nikerabbit: tell me. how should the state be returned to the calling parse function? it is only a copy of the calling mStripState and will deleted from the GC after returning [11:39:20] parse NEVER gets the state back. so parse while doesn't know about the replacement strings. [11:40:07] PunkRock: I'm not on my work computer, but I only stated what's the most common reason to uniq-problems [11:40:15] ok. [11:40:31] RoanKuattow tried to help me with the most common problems. [11:41:24] From my opinion it's a bug there. i will post it. we can discuss it in the bg report. [11:41:30] thanks anyway :) [11:43:55] i think this guys hit the same problem: http://bugzilla.wikimedia.org/show_bug.cgi?id=8451 [11:44:36] all the parsing is f&cked up with the missing &$state in the strip funtion [11:54:55] anyone know how i enable toolbar on editing screen, when making my own theme [11:55:17] 03(ASSIGNED) parser passes 'UNIQ' tokens to hook, instead of text - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8451 +comment (10bacher) [11:57:47] 03(mod) The hierogyphs files can be better compressed. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7406 +need-review +patch; +comment (10raimond.spekking) [12:34:38] baaah [12:34:46] cant get editing toolbar to work on my skin [12:38:12] are you including the relevant js? [12:38:40] no, dont know how to do that [12:40:03] or what do you mean with "my skin" [12:40:56] I have made new skin but when i'm trying it out, the editing toolbar has been disappeared [12:41:08] new skin how? [12:41:43] I mean theme [12:41:58] myskin.css or what? [12:43:20] yes and few new images [12:48:28] hi all [12:49:02] i'm trying to install mediawiki on debian etch with postgress 8.1 [12:49:44] but can't find any configuration options to point it at the postgress database [12:50:05] can anyone point me in the right direction? [12:52:41] jamesbew: which version of mw? [12:53:45] mediawiki 1.7.1 [12:54:11] do you guess what's wrong with it+ [12:54:16] ?* [12:54:52] maybe topic helps [12:55:56] no it doesn't [12:56:06] I'll help you [12:56:14] it is ancient version [12:57:04] do you know which version introduced postgres support? [12:57:43] I suggest using latest stable [12:59:43] because if you need to get newer, why not take the most recent one [13:00:31] i would but i'm installing it on my companies server and they stick to using packages [13:01:26] i'll try and find a change log and see if a backports package would do the job [13:02:33] or better yet get some sane rules [13:02:55] mediawiki is drop-in php app, not something package managers usually are for [13:04:00] if your going to build a repository, you might aswell use it for everything [13:04:27] then you can replace a server in no time [13:05:15] + many other advantages [13:05:26] well, in theory, but if it only provides 1.7.x you're screwed other ways [13:06:16] i don't want to run any 'bleading edge' releases on a stable server anyway [13:06:52] 1.7.x is ancient, and there is no bleeding edge [13:07:06] svn trunk maybe, but that's not bleeding very often [13:07:27] stable != old [13:07:32] stable should also mean support [13:08:05] hi GerardM- [13:08:07] i agree [13:08:52] debian is an excelent distribution and provides very well tested software in it's repos [13:09:00] Nikerabbit :) [13:09:01] but some times (like now) [13:09:10] i wish they'd just hurry up [13:09:33] jamesbew: it isn't much better in other distributions either [13:13:13] ok, i'm going to package the latest stable [13:13:25] thanks [13:14:04] 03(mod) parser passes 'UNIQ' tokens to hook, instead of text - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8451 (10bacher) [13:21:27] Hi! I am running a MediaWiki Version 1.10.1 and would like to have all Links handled by https instead of http. MediWiki sends status Emails containing links with http-Protocol set instead of https. How do I change this? [13:21:51] agg: humm [13:22:45] hola FreeNom [13:23:21] agg: are you settings correct? [13:23:44] does {{fullurl:pagename}} make https links? [13:23:46] @Nikerabbit: which settings do you refer to? [13:24:06] let me check this [13:25:07] $wgProto comes to my mind [13:25:28] hola Nikerabbit :) [13:26:09] ok, editing this snippet in "{{fullurl:pagename}}" produces a https-Link with "index.php?title=Pagename" at the very end. [13:26:33] hmm [13:26:42] @nr: there is no $wgProto in LocalSettings.php [13:27:35] Anynone know how to get this: http://meta.wikimedia.org/wiki/Help:Editing_toolbar to work on my own theme [13:27:44] agg: is the wiki also accessible in http? [13:28:28] @nr: Yes, it is- the web server handles every link with both protocols. [13:29:00] agg: wgProto (and wgServer and wgServerName) are not in LocalSettings per default. they only need to be there if you want to override the auto.detected defaults. (same goes for many defautl settings) [13:29:21] agg: then the urls probably vary depending on which the user uses who causes email to be send [13:30:01] work-around 1) edit mediawiki:enotif_body [13:30:13] @duesentrieb: Thanks for this hint- I remember already had this idea when inserting $wgFavicon... =) [13:31:26] @nr: Might a .htaccess Rewrite http->https help here? [13:31:41] @nr: forcing all URLs starting with https [13:32:01] agg: maybe [13:32:38] that's one solution [13:36:06] Cryx, when you view the HTML source of an edit page, do you see id='toolbar' in there somewhere? [13:36:24] @nr: I will try the htaccess-Rewrite solution in the first place. [13:41:21] TimLaqua no [13:41:32] except
[13:41:50] yeah, do you see the addButton calls a few lines below that? [13:42:05] yes [13:42:12] make sure you're including wikibits.js [13:42:18] in your head scripts [13:42:23] can you tell how :P [13:42:31] look at Monobook.php [13:42:43] just steal the wikibits.js include from there [13:43:52] [13:43:53] this one? [13:44:04] looks good to me [13:45:32] doesnt help [13:45:35] and there is such line already [13:45:43] u have a public link? [13:46:03] unfortenatly cant, there is kind a classified information [13:47:21] bummer. well if you see the addButton(...) calls and you don't have any buttons - I'm not sure what's up. [13:47:45] maybe check for JS errors using the firefox error console [13:47:49] yep, i have them like addButton('/mediawiki/skins/common/images/button_bold.png','Lihavointi','\'\'\'','\'\'\'','Lihavoitu teksti','mw-editbutton-bold'); [13:49:02] it gives error like this [13:49:08] paste it [13:49:10] "wgBreakFrames is not defined" [13:49:12] not in here [13:49:27] hmm [13:49:39] and "mwEditButtons has no properties" [13:49:55] and one more "tooltipAccesKeyRegexp has no properties" [13:50:03] k [13:50:49] look in your skin: do you see Skin::makeGlobalVariablesScript [13:51:22] no there isnt :( [13:51:31] look at monobook and steal that line too [13:51:38] (btw, you only need one of those wikibits.js lines) [13:52:47] data ); ?> ? [13:52:51] yup [13:53:12] wgBreakFrames should be chillin' in there. [13:54:14] hahaa! [13:54:16] it works now [13:54:19] cool. [13:54:21] thanks mate! [13:54:23] np [14:10:41] Anyone else use TortoiseSVN? I just entered my PK password like 8 times in a row f/ a Diff-Blame. [14:13:05] Hello [14:15:23] hi [14:15:37] Hi TimLaqua [14:17:03] question? [14:18:01] TimLaqua: no, thanks [14:18:08] ;-) just checkin. [14:18:13] TimLaqua: I'm used to say "Hello" or "Hi" when I log in ;) [14:18:30] TimLaqua: for wikimedia-related question I have always my trust friend Snowolf :) [14:18:37] duely noted. [14:19:07] TimLaqua: ops, I mean mediawiki :) [14:19:12] TimLaqua: thanx btw ;) [14:26:24] TimLaqua: sounds like you need an ssh authentication agent [14:26:57] ;-) Plink says give me your password and I do so. [14:32:37] 03(FIXED) Form titles are not displayed correctly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11873 +comment (10yaron57) [14:38:29] maybe I just have plink setup wrong? [14:40:44] if it asks for your password then do *not* type your private key passphrase [14:41:03] only give it your passphrase if it asks for your passphrase [14:41:16] tomato tamato [14:41:38] if it asks for a password it means it has failed to find an appropriate key pair to use for the login [14:41:39] "Passphrase for key ..." [14:42:01] and it is switching to password authentication [14:42:04] The key i'm using has a passphrase [14:42:34] it's keypair auto - my silly private key just has a passphrase [14:42:39] *auth [14:43:10] right... so the problem is just that you have to type it lots of times? [14:43:16] correct! [14:43:49] put pageant in your startup directory in your start menu, and start it [14:44:16] it makes a tray icon, right click it then click "add keys" [14:44:38] add your keys, you can add multiple keys at once [14:44:51] then it will not ask for a passphrase anymore [14:45:12] thx! What is pageant a part of? Tortoise? [14:45:16] putty [14:45:19] k [14:45:44] plink is borrowed from putty afaik, that's why they talk to each other [14:45:53] plink is part of putty [14:45:56] yep [14:46:18] Yeah, I got that part (as the connection is setup in Putty, then Tortoise calls Plink) [14:46:56] but I never really understood why it needed my key passphrase so much (i.e. 2 times f/ an update, 8 times for a blame/diff) [14:47:57] because they couldn't be bothered fixing it because everyone just uses an agent [14:48:17] and that's what pageant is? [14:55:24] yes [14:58:36] TimStarling, Awesome - thanks. This works much better. [15:02:11] 03aaron * r27262 10/trunk/extensions/CheckUser/ (6 files in 2 dirs): *Add index change/limit stuff for performance again (r26056 stuff) (bug 11387) [15:04:32] mmm [15:04:39] I miss proper authorization support on agent [15:04:48] 03(mod) Create a mailing list for Catalan projects in Wikimedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11577 (10toniher) [15:05:03] would love to 'authorize only connections to host that has been trusted by X' [15:06:32] TimStarling:there we go [15:06:51] TimStarling: I'm reading your review now [15:07:09] not sure how to add external storage support for fr_text well though [15:07:54] ? [15:07:56] well, you could do it the same way it's done in the text table [15:08:05] or you could just use the text table itself [15:08:42] the text table predates external storage, so it's nothing special, just a special flag and a redefinition of the text field [15:09:33] PHP Notice: Undefined offset: 1 in /home/nike/public_html/dev/includes/GlobalFunctions.php on line 1952 [15:09:37] $domainpart = strtolower( implode( '.', array_reverse( explode( '.', $mailparts[1] ) ) ) ); [15:09:50] what should the code do if mailparts[1] is not defined? [15:12:14] TimStarling: style.display works on IE 7, is it IE 5.5 and less that it doesn't work? [15:12:38] 03nikerabbit * r27263 10/trunk/phase3/languages/messages/MessagesTl.php: borked [15:16:45] Nikerabbit, what is that block doing anyway? turning mailto:anon@somewhere.com in to something else? [15:17:15] [[test]] [15:17:20] !test [15:18:37] TimLaqua: making reverse index of links [15:19:38] If i want a multilanguage wiki, looking just as wikipedia, should i then use this: http://www.mediawiki.org/wiki/Multilanguage or this: http://www.mediawiki.org/wiki/Extension:MultiLanguageManager ? :-) [15:19:49] ah. so $mailparts[1] being undefined means there was no @ symbol in the mailto: link? [15:20:09] yep [15:20:38] AaB-ern: multiple mediawikis with interlanguage links? [15:20:56] Yep [15:21:21] no extensions needed for that [15:21:35] How do i do then? :-) [15:23:33] http://meta.wikimedia.org/wiki/Help:Guide_for_system_administrators_for_setting_up_interwiki_linking#Setting_up_interwiki_links [15:24:05] Thanks [15:25:25] I think mwbot is having a bad day [15:27:46] AaronSchulz: sorry can't find my reference, and it's time for bed [15:28:00] I read it in some compatibility table somewhere [15:28:03] night [15:28:07] and I thought I saw it in testing too [15:28:14] night [15:37:17] RoanKattouw: a dumb question, would it be technical possible to limit revisions to a particular section? [15:37:50] AzaTht not very feasible [15:38:00] Section numbers change when sections are added or removed [15:38:07] Section names can be changed as well [15:38:20] true [15:38:24] So addressing the same section across different revs of the same page is really tricky [15:38:37] but on the latest rev it could be possible, right? [15:39:19] http://en.wikipedia.org/w/index.php?action=raw&title=User_talk:AmiDaniel§ion=2 [15:40:09] true, but also to see what section they edited [15:40:34] Usually the summary starts with /* Section name */ [15:40:53] true [15:41:04] /* there can be anything in here */ [15:41:08] True [15:41:14] Not necessarily the section they edited [15:41:17] I really would like a way to track sections [15:41:27] That's very hard [15:41:36] I understand thast ツ [15:41:41] What d'you need it for? [15:42:50] I'm doing a script that will edit a section, and I would like to see if someone made an edit on that section during the time forms where filled [15:42:59] 03rotem * r27264 10/trunk/phase3/languages/messages/MessagesEn.php: Fixing whitespace. [15:43:47] AzaTht you mean someone submits an edit to that section while your JS is filling out its screenscraped form? [15:43:55] Shouldn't that cause an edit conflict? [15:44:39] I was thinking of doing some sort of periodical check [15:44:46] hi [15:46:24] 03rotem * r27265 10/trunk/phase3/languages/messages/MessagesHe.php: Fix. [15:49:44] have a q: is it normal, if I am changing something which is about links to WF projects, that I should resave all pages, where these links are used? [15:54:26] Exactly what did you change? [15:55:51] I need help diagnosing a file uploading issue with my personal WM [15:56:00] I enabled it within LocalSettings as well as changing the max upload to ~50MB, I upped the post limit in my php.ini [15:56:10] but if I upload a file of 4MB vs 400k I still get a message from WM saying things aren't configured properly [15:58:07] RoanKattouw: let me see, it was a few days ago [15:58:25] s/WM/MediaWiki/ [15:58:47] yea i'm having issues getting the naming convention right apparently [15:58:55] I just asked this same question twice in #wikimedia [15:59:06] Question: I added a Syntax Highlighting Plugin for my MediaWiki, however any time it tries to use syntax highlighting in a page entry the page comes back completely blank. I assume MediaWiki is turning off errors, but how can I re-enable them? [15:59:07] 03(FIXED) Create a mailing list for Catalan projects in Wikimedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11577 +comment (10cbass) [16:00:24] Gula: http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Set_maximum_size_for_file_uploads [16:00:55] Yea, I've configured those two [16:01:05] may as well double check [16:01:18] !errorlog [16:01:47] !errors | JustinCarmony [16:01:47] JustinCarmony : To see PHP errors, set error_reporting(E_ALL); and ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; and $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [16:01:52] 03rotem * r27266 10/trunk/phase3/languages/messages/MessagesHe.php: Fixes. [16:02:17] RoanKattouw: i cant reach my databes, so lets leave it for the next time, Ill be there. Thanks for a reply. [16:02:32] Simetrical: thanks! I just barely found that on mediawiki's site. :) [16:02:36] my post max is set to 200M and my upload max is set to 20M, which are both larger than my 4MB file [16:04:01] . . . my God. Please don't tell me that sendmail *still* prefixes any line beginning "From" with a right angle bracket. [16:04:14] I was just reading the Unix-Haters' Handbook and thought that kind of complaint was obsolete. [16:04:17] *Simetrical is scared [16:04:54] hi [16:11:53] any other thoughts on the uploading situation? [16:12:08] I added the extension to the list of supported types [16:14:32] in php ini: upload_max_filesize = 201M [16:14:32] post_max_size = 200M [16:14:38] 03catrope * r27267 10/trunk/phase3/includes/Title.php: APIEDIT BRANCH MERGE: Making redirect creation on page move optional. [16:22:25] hah [16:22:33] that tutorial page needs to be updated [16:22:44] just changing the php.ini doesn't always work, you may need to restart apache [16:23:09] Simetrical: of course it does for mbox deliveries, it has to. all MTAs do it. [16:23:19] Simetrical: the solution is to use another format (like Maildir), then it won't [16:23:35] Simetrical: the reason is that the string "From " delimits a new message in mbox [16:25:30] flyingparchment, then using mbox is goddamn stupid. If you store metadata in-band, you need to develop a proper transparent escaping mechanism. [16:25:42] Simetrical: of course it's stupid. why do you think no-one uses it anymore? [16:25:59] sendmail didn't invent mbox though [16:26:41] flyingparchment, I just received an e-mail from Launchpad with > before a "From" line. [16:26:58] that's linux for you ;) [16:27:00] flyingparchment, and I guessed that a lot of the stuff in UHG was crap. [16:27:27] what is the last stable version of mediawiki compatible with PHP4 [16:27:35] kromcuic1, see the topic. [16:27:38] 1.6.10 [16:27:46] oh yes..sorry. thanks :) [16:44:42] 03(NEW) Diff. shades/ colours to differentiate between code and content - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11886 15enhancement; normal; MediaWiki: Page editing; (sean.van.der.smythe) [16:48:50] 03abernala * r27268 10/branches/ApiEdit_Vodafone/includes/ (3 files in 2 dirs): A cleanupTempFile function call added in api/ApiUploadFile.php Wrong text corrected in ApiFormatBase.php. The last changes in trunk version merged with SpecialUpload.php [16:54:42] 03siebrand * r27269 10/trunk/phase3/RELEASE-NOTES: Fixing inconsistency as pointed out by SPQRobin. [17:03:59] 03(mod) Diff. shades/colours to differentiate between code and content - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11886 (10sean.van.der.smythe) [17:04:37] Is it possible to switch the UI language with an URL parameter for users that are not logged in? My installation is English by default, but I would like to send an URL to some of my users that will show them a Japanese UI. [17:04:49] Laibsch: ?uselang=ja, but it won't persist over different pages [17:05:00] flyingparchment: Thanks. [17:05:05] It is at least a start [17:17:50] hi all do you know if there's an easy way to add a select box to a normal mediawiki page? [17:21:10] the dpl website is down, I have a question - how to list 'what links here' with dpl? [17:28:01] woop... {{DPL: linksto={{FULLPAGENAME}}}} [17:33:15] D'oh! [17:34:58] 03(NEW) Checking contribs for an IP range - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11887 15enhancement; normal; MediaWiki: Special pages; (whsitchy) [17:38:19] 14(DUP) Checking contribs for an IP range - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11887 +comment (10raimond.spekking) [17:38:21] 03(mod) View contributions / recentchanges for an IP range - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1035 +comment (10raimond.spekking) [17:48:03] 03(mod) Diff. shades/colours to differentiate between code and content - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11886 (10AlexSm) [18:00:13] hi, how can I create a page that Don't writes Title (like Main Page) [18:02:52] meow [18:12:47] woof [18:12:53] Ozux: look for the extension [18:12:54] narf [18:13:13] faceface, tnx [18:13:20] np [18:13:27] *faceface gets one up on all your asses! [18:16:19] *faceface goes home [18:21:35] O_o [18:26:13] 03(mod) Create Limburgish Wikiquote - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11760 +comment (10beggars2expactations) [18:26:25] why do i smell cheese? [18:30:32] Any body knows where can I find a good HowTo for Templating Long Articles? Like http://www.mediawiki.org/w/index.php?title=MediaWiki&action=edit [18:39:25] 03(mod) MediaWiki: Large-file reporting incorrect value for maximum file size at Commons - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11883 +comment (10anonmoos) [18:41:01] 03rotem * r27270 10/trunk/phase3/languages/messages/MessagesHe.php: Fix. [18:52:17] *Filnik back [18:53:36] hoi everyone, Filnik is back! [18:53:49] Nikerabbit: -.-' [18:57:14] Since the topic header tells me to simply ask, here goes: How do I create a simple bot for reverting possible spam? Something similar to AntiVandalBot. [18:58:24] With difficulty. [18:58:26] 03rotem * r27271 10/trunk/phase3/languages/messages/MessagesHe.php: Fixes. [18:58:27] !bot [18:58:30] !pywikipedia [18:58:35] !pywikipediabot [18:58:37] mm [18:58:42] nm [18:58:48] MinuteElectron: ? [18:58:55] ? [18:59:12] KemCab: #pywikipediabot <-- here but the source of AntiVandalBot isn't available [18:59:14] 03rotem * r27272 10/trunk/phase3/languages/messages/MessagesHe.php: Fix. [18:59:23] I mean, it's closed source [18:59:23] Okay. [18:59:30] Yeah, I was wondering about that. [18:59:54] http://meta.wikimedia.org/wiki/Help:Guide_for_system_administrators_for_setting_up_interwiki_linking#Using_phpMyAdmin_instead_.28preferred_method_-_simpler.29 <--- Can some please explaing me what to do at the "Using phpMyAdmin instead (preferred method - simpler)" place? I do not know what's meant with "$1" [19:14:08] 03raymond * r27273 10/trunk/phase3/ (4 files in 4 dirs): [19:14:08] * Add two messages for Special:Blockme which were used sinces ages but undefined: [19:14:08] ** 'blockme' and 'proxyblocker-disabled' (renamed from 'disabled' to clarify context of using) [19:26:05] 03rotem * r27274 10/trunk/phase3/ (2 files in 2 dirs): Update. [19:31:21] 03raymond * r27275 10/trunk/phase3/languages/messages/MessagesEn.php: Add comments for optional messages [19:32:02] 03(mod) Finnish Wikipedia request new namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11778 +shell (10raimond.spekking) [19:37:46] 03(mod) Add [[Special:History/Page]] and [[Special:Edit/Page]] as functional internal wiki links - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11456 (10danny_b) [19:41:58] 03yaron * r27276 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Added missing variable declaration [19:43:23] 03(NEW) Wrong "page already exists" error message when preload page doesn't exist - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11888 15enhancement; normal; MediaWiki extensions: Semantic Forms; (bugzilla.wikimedia.org) [20:11:25] cu [20:13:00] has anyone seen yurik around lately? [20:17:17] Apollo: no. send mail. [20:34:45] 03huji * r27277 10/trunk/extensions/Translate/Translate.i18n.php: Changing the word "delete" because it might be misleading. [20:39:03] he's yuriastrakhan@gmail.com, right? [20:39:34] Apollo if I where you, I would replace @ with or something [20:40:34] bots? [20:40:54] hi all, can someone tell me whether there is a possibility to use XMLHTTPRequests to post wiki-articles? [20:41:07] hojjat, didn't think about them, good call [20:41:35] *Hojjat grins [20:41:35] Bernardissimo123 there are people working on doing that cleanly [20:41:36] Bernardissimo123: possible, yes, but not nicely. [20:41:51] But for now you'll just have to mimic a human client and fill out the edit form [20:42:18] doesn't necessarily need to be nice ;-) [20:43:08] hmm, that's what i wanted to get around, Roan [20:43:54] Bernardissimo123: if you want to avoid that, wait for the "nice" way [20:44:34] hehe, alright. how will i notice that those people found that way? [20:44:40] Bernardissimo123: for now, load edit form, parse it, extract the values of all fields, manipulate the fields (especially the main text field), then submit using a new request. [20:45:08] Bernardissimo123: notice? i imagine it would be announced on the mailing list. and it will be noted in the change log. [20:45:42] Bernardissimo123: basically, read through the list of new features for every release. it will do you no good if it's only in the developer's version [20:46:42] so it would become part of mediawiki? i had something like popups in mind - just with post instead of get [20:47:12] Yes [20:47:25] Look at http://en.wikipedia.org/w/api.php [20:47:28] uh? popups? [20:47:43] The goal is to not only provide lists and stuff like that but also edit, move, delete, etc. [20:47:55] i wish the api used SOAP [20:47:57] Most of that stuff is done and is being added right now (by me) [20:48:11] flyingparchment what's SOAP, other than the stuff I wash with? [20:48:27] RoanKattouw: a type of RPC based on XML over HTTP. it's like XML-RPC but more structured [20:48:36] (there's a file describing what methods are available, etc) [20:48:47] read: "even more bloated and underspecified" [20:48:53] *RoanKattouw goes to look up SOAP on WP [20:49:23] RoanKattouw: it was all the hype a few years back, before everyone started to jabber about REST. how did you miss it? [20:49:59] thanks a lot! [21:02:32] Duesentrieb_ by being too young: only 16 now [21:02:58] soap makes me wanna vom. [21:03:23] fyi. ;-) [21:05:53] TimLaqua, you should sit down and REST [21:06:02] duh dum chhh! [21:06:51] Apollo, you have to after building a SOAP envelope. [21:06:58] ;-) [21:07:15] flyingparchment since SOAP requests data very differently from the way we're doing it with the API (request parameters), it's not that easy [21:07:30] no, i don't really expect it to happen.. but it would be nice [21:07:36] Someone (you?) could write a SOAP wrapper for the API of course [21:07:40] RoanKattouw, I'd say a little abstraction could make SOAP possible [21:08:07] TimLaqua you're talking about uploading a SOAP file from which the request is parsed, rather than $wgRequest->getVal() [21:08:49] RoanKattouw, i'm talking about using PHP to construct a SOAP envelope (w/o the proper classes) manually and interacting with a .NET WebService [21:09:34] *TimLaqua is sticking w/ query strings. ;-) [21:10:06] *RoanKattouw agrees, and doesn't understand a word of what TimLaqua said last about .NET WebServices and all that [21:10:17] misunderstood your aim [21:10:31] The way I see it, you're making something simple unnecessarily complicated [21:10:36] TimLaqua: PHP has built-in SOAP support, with class mapping and such [21:10:38] (you = SOAP) [21:11:04] flyingparchment, must've missed that day in class. [21:11:06] ;-) [21:12:39] every experience i've had w/ SOAP had been bad outside of .NET - which is so abstract you don't even know it's using SOAP [21:13:02] it's nice in java too.. somewhat less pleasant in php, but usable [21:13:06] also nice in python [21:13:21] I must've just approached it wrong in PHP. [21:13:56] TimLaqua: http://fisheye.ts.wikimedia.org/browse/wikimedia/trunk/extensions/CrowdAuthentication/CrowdAuthentication.php?r=27096 [21:14:38] River is a cool name. [21:14:40] ;-) [21:17:52] flyingparchment, the SOAP functions are part of an extension [21:18:09] an extension that's bundled with php, same as mysql or anything else [21:18:17] touche. [21:18:28] note to self: investigate more next time. [21:22:14] flyingparchment the extension does require the GNOME XML lib though [21:22:54] flyingparchment: http://us.php.net/manual/en/function.array-merge-recursive.php [21:22:56] ugh... [21:23:13] $ar1 = array("color" => array("favorite" => "red"), 5); [21:23:30] the result is even uglier [21:23:51] it takes color as a key, and for the keyless values, it gives int keys starting from zero [21:24:08] which I suppose it the best it can do for being weakly formatted [21:24:28] PHP arrays are too general [21:24:47] AaronSchulz note that in $ar1, the 5 also has key 0 [21:24:53] ($ar1[0] == 5) [21:24:57] AaronSchulz: why are you telling me this? :) [21:25:13] cauz I am a PHP fanboy [21:25:21] but this is really pushing it [21:25:27] If you're too lazy/stupid/whatever to specify a key, PHP'll just use 0,1,2,3 for keyless vals [21:25:38] it should barf on you [21:26:06] either given all keys for everything, or none and have them be automatic integers (all neat and such) [21:26:09] mixing is not cool :( [21:26:26] Maybe not [21:26:33] *give all [21:26:41] But array( 5 => 'e', 'f', 'g', 'h') [21:26:44] is useful [21:26:47] php arrays are not really arrays but all, but a combination of linked lists, arrays and hash tables all at once [21:26:57] (rather than 6=>f, 7=>g, etc.) [21:27:00] That's true [21:27:07] They're hash tables [21:27:20] they have a linked list to keep items in the order you add them, iirc [21:27:31] yes they do [21:27:31] And for integer keys, their behavior *resembles* that of an array but not 100% [21:27:36] the overhead is stupendous [21:27:44] tim did some calculations a while ago [21:27:48] If you worry about overhead, don't use PHP [21:27:55] Use an efficient language such as C [21:27:57] s/overhead/sanity/ [21:27:58] too late now :) [21:28:30] RoanKattouw: mediawiki 2.0 will be in java [21:28:45] (because i just said so) [21:28:48] it'll be Atlassian MediaWiki [21:28:49] hehe [21:28:50] we're planning to sell it [21:29:04] There is stuff in MW to be cleaned up though [21:29:07] Like the preferences system [21:29:31] Take a look at includes/SpecialPreferences.php and be shocked ;) [21:29:41] Duesentrieb_: there is actually a non-zero likelyhood to rewrite the software wikipedia uses in python or java.. but it's still pretty low [21:29:54] (imagine you're someone looking for an easy function call to wrap an API module around) [21:30:44] Anyway, gotta go [21:30:57] i really hate the svn umask shell script hack [21:31:06] or maybe PHP will become faster and have simple array objects and less bloated stuff to use :) [21:31:18] PHP v18.0 :D [21:31:43] haha Aaron ;) [21:31:59] PHP mk. II [21:32:18] QIQ [21:49:28] 03huji * r27278 10/trunk/extensions/DeletedContributions/DeletedContributions.i18n.php: Fixing the translation [22:02:22] 03(mod) Add Lak language file - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11889 (10alexander.sigachov) [22:02:22] 03(NEW) Add Lak language file - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11889 15enhancement; normal; MediaWiki: Internationalization; (alexander.sigachov) [22:02:42] 03(NEW) Set language and projectname for Lak Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11890 15enhancement; normal; Wikimedia: Language setup; (alexander.sigachov) [22:02:44] 03(mod) Add Lak language file - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11889 (10alexander.sigachov) [22:02:54] http://us.php.net/manual/en/function.array-merge.php [22:03:00] 'If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended.' [22:06:18] 03(FIXED) Create namespace "Portal" for the Alemannic Wikipedia [als] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11875 +comment (10jeluf) [22:14:22] what could cause [[Special:Allmessages]] to return an empty page [22:14:33] i don't see anything else amiss [22:20:29] !blankpage | jlerner [22:20:29] jlerner : A blank page usually indicates a fatal PHP error. See !error [22:20:30] 03raymond * r27279 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesLbe.php): [22:20:30] * (bug 11889) Add basic localization file for Lak (lbe) [22:20:30] Patch by Alexander Sigachov [22:24:13] Duesentrieb_: yah [22:24:26] i don't know where to look for the error though [22:24:50] ini_set( 'display_errors', 1 ); [22:24:50] error_reporting( E_ALL ); [22:26:26] !erro [22:26:29] !error [22:26:29] To see PHP errors, set error_reporting(E_ALL); and ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; and $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [22:31:23] http://spyced.blogspot.com/2005/06/why-php-sucks.html [22:31:31] 'I tend to agree that the issues brought up in the post, but disagree with the apparent conclusion -- that PHP should be consigned to "teh suck" bin and used only by newbies.' [22:31:33] haha :D [22:32:29] 03(FIXED) Set language and projectname for Lak Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11890 +comment (10jeluf) [22:32:39] 03(FIXED) Add Lak language file - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11889 +comment (10raimond.spekking) [22:36:42] 03(FIXED) Finnish Wikipedia request new namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11778 +comment (10jeluf) [22:38:19] 03sanbeg * r27280 10/trunk/phase3/includes/Parser.php: replace lost reference, per Bug 8451 [22:39:19] 03(FIXED) parser passes 'UNIQ' tokens to hook, instead of text - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8451 +comment (10ssanbeg) [22:49:52] Duesentrieb_: i get a "Request ended normally [22:49:52] " [22:50:04] in the log, for GET /Special:Allmessages [22:50:21] and of course, a bunch of stuff in betwen [22:58:55] Hi all [23:01:05] 03aaron * r27281 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount.i18n.php ConfirmAccount_body.php): *Add another hold error message [23:24:56] hi guys sorry for the noob question but what is the variable to set to turn on inline images? foo.gif [23:39:17] !uploads | melvster [23:39:17] melvster: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by the web server (chmod 777 or allow the Apache user to write to it, etc.) then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info