[00:13:07] 03(mod) Search stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16358 +comment (10dasch_87) [00:14:20] brion: where's GD scaling done? [00:18:16] Bitmap.php i think [00:19:12] ah, yes [00:19:18] BitmapHandler::doTransform [00:19:35] hi jesse :) [00:22:21] 03(mod) Do not add . fr-hiddenform to #mw-reviewform on diffs for not yet marked pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16370 (10Wiki.Melancholie) [00:44:22] 03aaron * r43653 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: Convert svgs to pngs due to IE being crap [00:44:27] brion: can you check that? [00:49:20] 03(mod) Do not add . fr-hiddenform to #mw-reviewform on diffs for not yet marked pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16370 (10JSchulz_4587) [00:52:13] AaronSchulz: anything that says IE is crap gets my attention :) [00:52:30] cobi: sexy IP you got there [00:52:47] Can someone help me with making a template for a table? [00:52:55] It's not working and I can't figure out why. [00:53:47] !pastebin [00:53:47] --mwbot-- Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [00:54:01] Oh, good idea. [00:54:49] LodgeIt's pastebin is much prettier. [00:54:53] AaronSchulz: sounds plausible... maybe we should roll out the low-level SVG conversion function so we don't have to duplicate it between the SVG media handler and anything else that wants to do SVG rasterization though [00:55:09] 18:55 < AaronSchulz> cobi: sexy IP you got there [00:55:15] AaronSchulz: I can do it too, but I'm too laaazy [00:55:48] AaronSchulz: Eh, it's nicer when NRO actually works ... [00:56:55] 03aaron * r43654 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Don't use css hiding here [00:57:22] 03(mod) Do not add . fr-hiddenform to #mw-reviewform on diffs for not yet marked pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16370 +comment (10JSchulz_4587) [01:00:46] Okay, got it. It's a bit messy, but still quite short. What am I doing wrong? http://mediawiki.pastey.net/102100 [01:02:29] Instead of anything sensible, for {{{2|Content}}}, I get 'Content' the default, even though I've given the template a second argument. So weird! [01:04:23] 03(mod) Do not add . fr-hiddenform to #mw-reviewform on diffs for not yet marked pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16370 (10Wiki.Melancholie) [01:08:14] I have to wonder how it is even possible to get the default when there is actually a second argument. I'm going to try adding third argument and see if I still get the default for the second argument. That'd be amazing. [01:09:51] Darn. It just skips over the second argument and uses the third agrument as the second argument. What could cause that? [01:11:01] Ah ha! Another channel warned me that I might have an accidental = [01:13:20] I didn't realize that = could cause a problem if it were being transcluded in through a template. [01:18:13] Now if I use 2= in front of the second argument it works better, but the table shows up as html tags instead of as a table. [01:18:24] I only get an actual table if I subst both templates. [01:18:24] 03aaron * r43655 10/trunk/ (2 files in 2 dirs): Refactor SvgHandler to have transformSvgToPng() function, which can be used for non-thumbnail purposes [01:19:51] brion: is that ok? [01:21:57] *brion lookies [01:21:59] Is there some rule about passing in the rows of a table as the argument to a template? [01:22:41] hello room [01:23:17] I have never found a more frustrating code than wiki code. [01:23:50] AaronSchulz: let's call the method rasterize() if there isn't already one [01:23:59] but it looks good :D [01:24:01] ohhh, cool [01:24:21] rasterize! [01:25:09] 03aaron * r43656 10/trunk/ (2 files in 2 dirs): Rename function to 'rasterize' [01:27:37] brion: sooo, scapping anytime soon? [01:29:00] not right now, we're dealing with the LVS overload [01:30:02] :( [01:30:13] In what parallel universe can you have ... tags in a ...
and have them rendered as literally "..."? [01:30:27] I must be living in that universe. [01:30:58] lilwik: pm [01:34:22] i got a question... i made a spoiler tag for a wiki i work on... but when that parser converts wiki-text to HTML, it addes some weird text to some headers used in the article... how do i got about removing the unwanted strings [01:34:42] Maybe you should say what the weird text is. [01:35:07] UNIQ50c5bebfc153d58-h-0--QINU [01:35:12] thats what appears [01:35:18] that's a bug [01:35:38] with my code or wiki code? [01:36:13] It depends on what customisation you've done. [01:36:47] just this one really [01:37:36] the bug only appears whenever i do Bunny! [01:37:51] thats the correct syntax for what i intended [01:38:00] but i use that and the weird text appears in header [01:38:01] s [01:39:27] Chiggins: does this happen every time you use or only in that exact one instance? [01:40:07] each time ive used it [01:40:55] then you're probably missing something in the extension code [01:41:07] most likely an unstrip [01:41:52] im not very knowleageable with the mediawiki code... so idk what you mean by unstrip [01:42:29] mediawiki code is so clean it's confusing lol [01:42:37] <^demon|dinner> brion: Caught the comment. Will look at it some more. [01:43:38] Chiggins: do you have the extension's source up somewhere? [01:45:16] not right now... i can email it or send it through msn [02:03:58] 03demon * r43657 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Bit of path cleanup per comments on code review (r43316). Construct proper hash paths and use the image name as a child directory of that. [02:11:10] hiya. i'm having some problems with tables in mediawiki [02:11:34] if i try to make a pure HTML table, some of the tags show through instead of acting as code and screw up the table [02:11:47] Are they closed properly? [02:12:49] if the tags are coming from transclusion or parserfunction, like {{#if:foo|...}} then you need tidy, or need to convert them to wikitable [02:13:00] well, where do i get tidy? [02:13:16] the sanitizer cleans up tag pairs before template expansion, but if tidy is enabled it is deferred until the end of expansion [02:13:24] what does that mean? [02:13:36] it means stuff appears broken [02:13:49] ok [02:13:58] so, disable tidy and things will work out? [02:14:11] enable [02:14:16] it is enabled [02:14:31] mm, then it is another prob, heh [02:14:41] i mean, the code is, but i don't have the full version of tidy... just what the mediawiki software did. i thought the full verison would correct it [02:15:45] i have no idea what to do becuase it doesn't make sense to me [02:17:34] i mean, what would make closed tags act as if they were closed repeatedly? [02:17:56] if the parser couldn't find the closing tag in proper sequence or depth [02:18:17] or if it had been possessed by demons [02:18:25] lol [02:18:33] i have the parserfunction installed [02:18:44] it's like it says "hmm..open this...close this... close this... close this...." :P [02:19:03] *hits parser function on the head* Moving on... open this..close this... open this... you get the picture [02:19:39] foo{{#if:1|
}}bar{{#if:1|
}}baz what does this do? [02:19:55] testing [02:20:28] {{#if:1|}}
ab
[02:20:32] the first works [02:20:33] testing table [02:20:50] no th? [02:20:56] ab works [02:21:08] 03werdna * r43658 10/trunk/phase3/ (3 files in 3 dirs): Warn when re-uploading a file with the same SHA1/extension pair as a file which has been deleted. [02:21:13] th isn't required [02:23:10] i see [02:33:32] I've got a question in relation to short URL's [02:33:48] is it possible to do it with .httpaccess [02:33:54] instead of httpd.config [02:34:46] you mean .htaccess [02:34:54] <^demon> !shorturl [02:34:54] --mwbot-- To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [02:35:03] <^demon> Oroton: That page lists all the ways to do it. [02:35:04] yeah [02:35:09] <^demon> (or at least a bunch of ways) [02:35:28] Thats what i'm reading. [02:36:03] but thankyou [02:37:07] I feel really stupid on this one, but any ideas on why class="sortable" isn't working on my wikis? [02:44:19] 03(NEW) Special:Newpages won't honor &hidepatrolled= 1 for logged out users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16377 15enhancement; normal; MediaWiki: Special pages; (EN.WP.ST47) [02:53:44] 03werdna * r43659 10/trunk/phase3/includes/specials/SpecialUpload.php: Remove some debugging code... [05:08:08] 03tstarling * r43660 10/trunk/phase3/includes/StreamFile.php: [05:08:09] Improved the security of wfStreamFile(): [05:08:09] * Use the file extension to determine Content-Type, don't look for magic numbers. This makes the attack surface similar to ordinary web server downloads, and avoids problems when MIME type is not checked on upload. [05:08:09] * Use the same restrictions for Content-Type when streaming as for uploading. This closes any vulnerabilities caused by a change to a more secure configuration, post-upload. [05:08:11] * Don't stream out the file after headers are unexpectedly sent (e.g. due to display_errors). The Content-Type will typically be fixed to text/html in this case and so we need to be careful what we send. [05:15:09] 03(NEW) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 15enhancement; normal; MediaWiki: API; (tomisimo) [05:19:07] FYI -class= "sortable" wasn't working because of some issue with outdated wikibits.js section for table sorting - replaced with latest version from referenced website and it worked fine. [05:32:51] is someone around, who could help speed up a mediawiki installation (actually recent changes tages about 6 seconds) ? [05:37:10] thoka: what's wrong? [05:38:08] just slow, no errors [05:38:55] oh [05:41:36] profilers output is at http://rafb.net/p/zJNMp557.html [05:50:52] 03(mod) clshow considers all categories !hidden - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15579 (10aaron) [05:53:03] https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 [05:53:07] There's no index for that. [05:53:11] RESOLVE LATER? [05:57:21] 03tstarling * r43661 10/trunk/phase3/ (3 files in 3 dirs): [05:57:21] Protect users from attacks against their browsers via malicious script-containing uploads, by: [05:57:21] 1) Requiring a session token before streaming files out via Special:Undelete [05:57:21] 2) Restricting img_auth.php to private wikis only (its intended use case) [05:58:36] 03tstarling * r43662 10/trunk/phase3/includes/specials/SpecialUpload.php: Mark the functions I just accessed from outside the class as explicitly "public" [05:59:57] 03tstarling * r43663 10/branches/new-installer/: Branch for installer work [06:00:57] 03(mod) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 (10public) [06:01:08] 03tstarling * r43664 10/branches/new-installer/phase3/: Branch for installer work [06:17:45] 03tstarling * r43665 10/branches/new-installer/phase3/ (11 files in 4 dirs): [06:17:45] Work to date. The basic features are: [06:17:45] * Flexible backend for better cooperation with scripted installs (e.g. Debian packages) [06:17:45] * Wizard-style frontend with validation at each step. Avoids asking the user lots of questions that they don't need to answer. [06:17:45] * Implementation as an ordinary MediaWiki entry point, including the ability to parse wikitext. Internationalised, wikitext-formatted interface text. [06:17:50] * Modular DBMS support, to simplify addition and maintenance of non-MySQL DBMS modules. [06:27:53] Hello everyone [06:28:06] I've an easy question. what's i18n? I keep seeing mention of it. [06:29:54] aja2: http://en.wikipedia.org/wiki/I18n :-) [06:33:54] thanks [06:36:26] is i18n the next big thing for mediawiki right now? [06:36:37] now that I know what it is :-) [06:36:44] 'next'? [06:36:53] no, mediawiki has done i18n since forever [06:37:02] oh [06:37:04] since it was written for wikipedia, a site available in many languages [06:37:28] I've sometimes said that MediaWiki isn't really internationalised, it's just international [06:37:30] but I keep hearing about i18n so I thinking there was a lot of work being done with it right now [06:37:45] translating software into 150 languages always needs lots of work [06:37:50] and there's always things that can be improved [06:37:53] since it started off with the assumption that it would support many languages [06:37:54] aja2: http://translatewiki.net/wiki/Translating:Group_statistics [06:38:11] yeah I can imagine [06:38:29] I'm using 1.1.13 now and I guess 1.1.14 will be out soon [06:38:37] i hope you mean 1.13.1 [06:38:45] haha ooops [06:38:46] sorry [06:38:56] and you should upgrade to 1.13.2, it has security fixes [06:38:57] yeah I'm not that behind with releases :-) [06:39:15] http://www.mediawiki.org/wiki/User:Splarka/trunk [06:39:28] I guess this is a big question but where is mediawiki heading [06:39:43] I mean what's the next really big thing for it other than 1.14 [06:40:04] 1.15 ^_^ [06:40:08] I've been looking but never really saw any long term plan [06:40:11] :-) [06:40:18] how about 2.0 :-) [06:40:41] http://en.wikipedia.org/wiki/User:Kate/trunk [06:40:46] 2.0? that'll require a rewrite into perl, java, ruby, or server-side javascript [06:41:06] aja2: mediawiki doesn't do major rewrites, it does incremental improvements [06:41:08] version 2.0.0 mediawiki [06:41:15] There is no real plan per-se... MediaWiki is just continually growing with new features people randomly come up with [06:41:32] And we release a new version every so often to make those new feature stable [06:41:32] river: no elephant nose or car boot? [06:41:57] *Dantman is developing a wiki engine in Server-Side JavaScript, but he's not connecting it to MediaWiki in any way [06:42:27] is there a place where people make suggestions for new features or is that just the talk pages. I think I once saw some pages with suggestions. [06:42:35] bugzilla.wikimedia.org [06:43:27] Mmmm... semantic backend... understanding of history trees [06:54:09] Splarka: perl? why would anyone want to rewrite it in perl :P [06:54:39] Hmmm... j2j [06:55:41] mmmm... let statements [06:59:45] 03(NEW) Core Javascript (wikibits.js, ajax.js, etc.) should not be loaded from different server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16379 major; normal; MediaWiki: General/Unknown; (lupo.bugzilla) [07:01:00] *Dantman gets bored and compiles pinky into an xrd file [07:01:38] waitaminute... is that pinkyxrd or pinkyxdr? subok has a fair bit of typos in his documentation [07:01:49] *consanguinity cares [07:02:21] *Dantman thinks he should fork the jslibs documentation when MonkeyScript's documentation gets setup [07:03:41] :o [07:05:16] 03(mod) Enable FlaggedRevs custom configuration on he.wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14648 (10dovijacobs) [07:11:14] Seal( Pinky.brain ) [07:11:34] 03(mod) Core Javascript (wikibits.js, ajax.js, etc.) should not be loaded from different server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16379 +comment (10herd) [07:11:50] (changed Component from MediaWiki to WikiMedia) [07:11:57] *Dantman 's hobby... "Insulting random people with cryptic pesudocode based off existing languages when bored..." [07:21:13] an small idea, to advice adding extensions like fckeditor enclosed with if (!isset($wgCommandLineMode) && $wgCommandLineMode != true) { .. } to avoid loading it when commandline is used [07:23:00] *Dantman advices against installing WYSIYWG editors at all... ^_^ [07:23:12] WYSIWYM ftw! [07:25:50] Open Office works just great for writing articles :) [07:26:31] Dantman: i use vi(m) but please try to explain to my boss.. got tha problem? [07:26:47] What the hell are you talking bout... I tried open office's export [07:27:14] Table headings are represented with "|
'''...'''
[07:27:24] And it fucks up quotes [07:27:49] And assumes that you have the prettytable class defined [07:28:24] While buggy FCK actually handles headers, quotes, and styles sanely [07:28:36] I think... heh [07:29:14] Dantman: i use vim and latex but i wont even try to learn that office people around me [07:29:33] Uhm... that line? [07:29:40] That doesn't look sane [07:30:06] || looks like it would be the correct thing to use [07:30:18] But !$wgCommandLineMode should work fine [07:31:13] Dantman: anyway i just wanted to avoid error message, and dunno if anyone will ever commit it to some help or in examples, just found solution and wanted to share it [07:31:31] WYSIWYG, and even WYSIWYM doesn't work well when your language is complex to an insane degree [07:32:29] That's the exact reason why the parser for the wiki engine I'm working on isn't going to support anything beyond simple syntax... links, images, formatting, and inclusions are about as complex as it'll get [07:32:56] Dantman: only good syntax for wiki is postscript?;> [07:32:58] If something advanced is needed, it should be something you include, and it should be under a different parser [07:33:06] Eh? Postscript? [07:33:30] portable, enough smart to cope with complex formating? [07:33:42] agh... hell no [07:33:46] and completly not understandable to most peoples [07:34:28] Just [[link]], {{include something}}, //italic//, __underline__, and **bold** [07:34:37] :) ok ok [07:34:59] Anything complex should go into an {{include}} and they should not be nested to much [07:35:13] while i realise you're being facetious, it's worth pointing out that PS is a typesetting layout language, not a descriptive markup language [07:35:57] In fact a decent WYSIWYM editor should ignore any syntax within the include's parameters and refuse to format it unless the include is formally defined with a wysiwym format [07:36:06] consanguinity: true, but almost anything could be done in .ps, [07:36:33] LaPS [07:36:59] Templates would either be pages under similar parsed formating... or within an embeded language [07:37:26] For me... my embeded language is going to be the same language that the software itself, and client side scripts are written in [07:39:14] JS, JS, and JS... nothing better than programming both your software in the same language that your users use in other advanced parts of the engine [07:40:50] time for sleep [07:50:41] mornin guys [07:52:16] i cant get a "wikitable sortable" working, what did I forget? I got the wikibits.js included with the functions and I got a css sheet with the wikitable class but it works neither in a plain mediawiki installation nor in a joomlawiki integration :/ [08:01:56] Hello! [08:01:56] I'm trying to update my mediawiki. I got this error: [08:01:56] Query "ALTER TABLE `mw_categorylinks` DROP INDEX cl_sortkey, ADD INDEX cl_sortkey(cl_to, cl_sortkey, cl_from) " failed with error code "Specified key was too long; max key length is 1000 bytes (localhost)". [08:02:06] What does this mean? [08:02:23] Is it mysql related problem? [08:02:32] Any ideas how to fix it? [08:09:14] 03(NEW) link to oversight from user contribs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16380 15enhancement; normal; MediaWiki extensions: Oversight; (jayvdb) [08:12:13] 03raymond * r43666 10/trunk/phase3/maintenance/language/messages.inc: Update per r43658 and r43661 [08:49:36] Hmm, is there gonna be some fixes to this problem: https://bugzilla.wikimedia.org/show_bug.cgi?id=16256 [09:03:06] hrm [09:18:19] is there some way to disable both special:export and rss feed in mediawiki without heavy modification (or at least limit them that only sysop/beaucrat could use them)? [09:19:11] <_wooz> lo [09:21:04] $wgFeed = false; [09:23:14] Splarka: that will disable rss/atom feeds yes? [09:23:57] should... I don't see one for export though [09:24:08] though you can set $wgExportAllowHistory false [09:34:34] thank you very much for help [09:36:33] 03raymond * r43667 10/trunk/phase3/ (3 files in 3 dirs): Add hints for maximum values of some user preferences. [09:43:17] 03(WONTFIX) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 +comment (10Bryan.TongMinh) [10:01:55] Can someone help me with this question: I have some Javascript which has to be placed between the body tags. Putting it into Mediawiki:common.js doesn't seem to help. I suppose the scripts put in there are loaded _before_ the body tag. Any ideas? [10:02:55] why does it have to be in the body? [10:03:41] no JS should need to be in the body, unless it is badly written (like with document.write()... in which case you should rewrite it not to do that) [10:06:20] well, I'm no JS expert. the script counts the number of tags within a certain
and when testing I noticed that it only works when putting it between the body tags... [10:07:35] well [10:07:41] try putting it in an onload hook [10:07:56] if you put it bare into your common.js it is executed before the is available [10:08:05] so.. of course, no are found [10:08:21] addOnloadHook(yourfunctionname) [10:08:25] function yourfunctionname() { [10:08:29] } [10:08:37] and stick it in there [10:09:27] that's what I have tried (but in common.js). I read about "try putting it in an onload hook" but I'm not sure where to place this hook. [10:10:46] can I put it into the script which creates the footer? [10:11:00] that is silly [10:11:16] you just have to put your code in a function, and call the function with addOnloadHook [10:11:28] like this: http://p.defau.lt/?k1cNRI7hXXl1PgtZdRaKWg [10:11:48] then it works fine from the [10:12:05] the hook is that 'addOnloadHook' command [10:12:19] this goes into your [[MediaWiki:Common.js]] [10:12:53] sorry to ask such stupid questions but into which file should I put the code you pasted? [10:12:59] no file [10:13:14] on a _page_ on your wiki, called [[MediaWiki:Common.js]] [10:13:33] this is a protected interface page that is loaded for every page view, as mime type "text/javascript" [10:14:07] that's what I tried but you said " then it works fine from the " so this doesn't work for me because it has to be between the body tags not in the head. [10:14:19] ... [10:14:36] the common.js is loaded from the [10:14:51] and it works fine for manipulating content in the body IF you delay it until the body loads [10:15:27] your code wouldn't work magically anywhere in the , only after the
in question was loaded, so stop clinging to "has to be between the body tags", as that is inaccurate and patently wrong [10:15:41] that's what I have added to common.js: http://pastebin.ca/1260254 [10:16:02] when you say common.js do you mean [[MediaWiki:Common.js]] ? [10:16:09] yes [10:16:20] well [10:16:28] your problem there is you don't have the code inside the hook [10:16:33] # [10:16:33] var divcontent = document.getElementById("divcontent"); [10:16:33] # [10:16:33] var as = divcontent.getElementsByTagName("a"); [10:16:45] that needs to be inside the hook [10:16:49] ahhhhhhhh [10:17:07] let me check... "THANKS" by the way ;-) [10:17:14] rar [10:18:11] probably my questions were too stupid so he/she left :-) [10:37:09] can someone please forward my acknowledgement to "Splarka"?! He/She saved my day. Thanks once more! [10:52:07] 03tomasz * r43668 10/civicrm/trunk/sites/all/modules/exchange_rates/exchange_rates.module: adding support for ISL exchange rate pull [10:59:15] Hello All [11:00:10] How Can I create news groups for edition ? [11:36:23] 03tstarling * r43669 10/branches/REL1_13/phase3/ (12 files in 4 dirs): Backported r43621, r43622, r43623, r43624, r43625, r43627, r43660, r43661. Needs testing. [11:46:07] <^demon> TimStarling: Got a minute? [11:46:37] maybe [11:46:54] <^demon> Mind looking at a patch (http://pastey.net/102151) for bug 16303 (Add js variable for global groups)? It's pretty straightforward. [11:47:30] check the query count [11:50:20] <^demon> 1 for CentralAuthUser::loadState(), if they're not already cached. [11:51:10] check the query count for a page view, with that patch and without it [11:51:20] if they're the same, you can commit it [11:51:51] <^demon> I don't have CentralAuth locally. [11:52:46] so you haven't tested it? [11:53:30] <^demon> Only because I can't in my current setup. Hence the ask for a review, *because* I can't test it. [11:54:52] I guess I could merge your patch into my working copy and test it myself [11:54:59] but I do have some other things to do right now [11:55:11] <^demon> It's no rush. I'll put the patch on the bug. [11:57:11] 03(mod) Add a js variable for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16303 (10innocentkiller) [11:58:03] 03(mod) Add a js variable for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16303 +need-review +patch (10innocentkiller) [12:11:18] 03demon * r43670 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Cleanup to r43657, don't really need strlen() here. [12:29:49] 03jojo * r43671 10/trunk/extensions/Collection/Collection.body.php: fix: startSession() clears session, so check if we do not have a session before calling it [12:32:54] Wiki software has been unable to import the statistics page [12:38:13] hey guys. It is me once again :) If you go to the wiki doom page ( http://de.wikipedia.org/wiki/Doom ) you can see on the right side an infobox. I want to add the same info box to my wiki as well. Which extension do I need to add to get that info box? [12:40:46] !parserfunctions | orahimi [12:40:46] --mwbot-- orahimi: "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 . [12:44:38] 03(mod) Make recent change flags acronyms instead of spans - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16311 +need-review +patch (10raimond.spekking) [12:50:35] how can i get that table struktuer with that parser funktion? If i look at the source code if the Doom page the Info box starts with something like this: [12:51:07] {{Infobox Computer- und Videospiel| [12:51:09] |Titel = Doom [12:51:10] |Bild = [12:51:12] |Entwickler = [[id Software]] [12:51:14] |Verleger = [[Cdv Software Entertainment]], [[Pearl Agency]] [12:51:16] |Release = 1993 [12:55:07] 03raymond * r43672 10/trunk/phase3/ (RELEASE-NOTES includes/ChangesList.php): (log message trimmed) [12:55:07] * (bug 11728) Unify layout of enhanced watchlist/recent changes: [12:55:07] Changed from: [12:55:07] Time Page (4 changes) . . (+bytes) . . (hist) [list of editors] [12:55:07] To: [12:55:07] Time Page (4 changes; hist) . . (+bytes) . . [list of editors] [12:55:11] Use consistent message for the history link [12:57:52] 03(FIXED) Unify layout of enhanced watchlist/recent changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11728 +comment (10raimond.spekking) [13:36:23] 03(mod) Allow multiple categories for categorymembers list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14425 (10roan.kattouw) [13:45:08] 03(FIXED) Anons who block themselves do not seem to appear in the Blocklist. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6678 +comment (10innocentkiller) [13:46:30] Is it possible to use a button instead of a link on a wiki page e.g. I have a page which contains a link to the user registration which I would like to be a button. Can I do this somehow? [13:47:19] 03(mod) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 +comment (10roan.kattouw) [13:47:27] 03jojo * r43673 10/trunk/extensions/Collection/ (4 files): fix for http://code.pediapress.com/wiki/ticket/365: use wfMsgForContent() and system messages for template blacklist, template exclusion category and print template prefix. [13:48:02] Mazi: I think you have to hack the style file [13:53:23] 03jojo * r43674 10/trunk/extensions/Collection/Collection.templates.php: rendered page adjusted [13:56:34] sorry, got logged out... Is it possible to use a button instead of a link on a wiki page e.g. I have a page which contains a link to the user registration which I would like to be a button. Can I do this somehow? [14:33:09] has anyone installed mediawiki on godaddy's free shared hosting? [14:33:20] Hi guys. I've got a problem: I'm getting a PHP warning on uploading a 1.5 mb SVG file: "Warning: xml_parse() [function.xml-parse]: Unable to call handler () in /srv/www/htdocs/mediawiki-1.13.2/includes/XmlTypeCheck.php on line 47". This warning is displayed 30 times or so. Hase someone a idea to this? [14:35:30] BTW, I'm using mediawiki 1.13.2 and PHP 5.1.2 [14:51:04] Is there any reason that the Google search (and possibly others) uses en.wikipedia.org as the site instead of the current one? xD [14:51:11] (In Special:Search) [14:53:51] hi, can anyone tell me under what circumstances template recursion works? [15:00:23] is there _any_ way to link to a local file [local to the user's webbrowser] in a mediawiki page? [15:00:36] the docs say it's disabled by default and only works in MSIE if enabled.. [15:00:46] so i'm screwed? [15:05:58] tapas: I think so. I'm also using UNC paths, and only IE is working properly. FF and Opera won't work. [15:10:40] 03jojo * r43675 10/trunk/extensions/Collection/Collection.templates.php: replaced CSS class toccolours with style attributes [15:11:23] 03catrope * r43676 10/trunk/phase3/includes/api/ApiQueryBlocks.php: API: (bug 16367) Add allowusertalk attribute to list=blocks output [15:15:15] 03(FIXED) list=blocks omits "cannot edit own talk page" flag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16367 +comment (10roan.kattouw) [15:20:21] 14(DUP) Magic word to add supplemental text above edit box for a particular page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8260 +comment (10innocentkiller) [15:20:21] 03(mod) Allow per-article and per-namespace messages above edit form - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15102 +comment (10innocentkiller) [15:21:16] 03catrope * r43677 10/trunk/phase3/includes/api/ApiBlock.php: [15:21:16] API: Make reblocking (introduced in r42843) possible through the API [15:21:16] * Add reblock parameter to action=block [15:21:16] * Tweak the description for allowusertalk for consistency [15:24:05] 03(mod) Editnotice popups for subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15961 +comment (10innocentkiller) [15:26:23] why the hell is iw_url declared as blob?! [15:26:34] it doesn't need to be that big, and url's don't allow non-ascii stuff anyway. [15:26:41] what the hell [15:27:04] <^demon|away\> Duesentrieb_: because the iw table sucks? [15:27:22] Duesentrieb_: Most browsers will rewrite non-ASCII chars to %xx sequences for you (at least in the query string) [15:28:05] RoanKattouw: i'm aware of that. but there's no reason to use non-ascii chars in the interwiki table. [15:28:06] Duesentrieb_, you'd prefer VARCHAR(255)? URLs can be longer than 255 characters. [15:28:07] using blobs for urls seems silly. [15:28:20] Simetrical: mediumtext? [15:28:28] Duesentrieb_, we use blobs for everything. char does stuff like case-folding, depending on collation. [15:28:44] Simetrical: the point is: the interwiki table is the one bit of the database that *needs* to be edited manually by people. [15:28:44] Plus, we don't like char because it doesn't exist in MySQL 4.0, effectively. :) [15:28:49] people use phpmyadmin for it [15:28:56] which refuses to edit blobs [15:29:07] Well, that's silly of it. [15:29:07] this adds wuite an obstacle for a lot of people. [15:29:09] 03(NEW) Can't add tags to revisions any more - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16381 major; normal; MediaWiki extensions: CodeReview; (roan.kattouw) [15:29:09] no, it's actually the right thing [15:29:12] blob should not be editable as text [15:29:20] Sure it should, if it looks like text. [15:29:22] it may be annoying, but it's actually the right thing to do. [15:29:33] Blobs can contain arbitrary content, which may include text. [15:29:43] In the cases where it does contain text, no reason it can't be edited as such. [15:29:57] Simetrical: Be careful with "if it looks like" stuff. There's an IE XSS exploit based on similar reasoning ;) [15:30:06] RoanKattouw, nothing's being executed here, that logic is irrelevant. [15:30:18] Simetrical: whatever. i disagree, but it's a mute point. [15:30:18] Everything in the Unix world does heuristic checks for whether files are binary/text. [15:30:27] the real point is: people can no longer easily edit the interwiki table [15:30:28] that sucks [15:30:40] and it's pointless. [15:30:54] <^demon> Duesentrieb_: It's been that way afaik for a very long time. [15:30:59] <^demon> iw_url being a blob, that is. [15:30:59] There are a bunch of competing schemas, IIRC. [15:30:59] since 1.13, i think [15:31:19] ashley: that [15:31:24] oops [15:31:59] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/tables.sql?view=diff&r1=23238&r2=23239 [15:31:59] that sucks.. is there a way to smuggle html into a wikimedia page? [15:32:17] tapas: most "simple" html is allowed [15:32:17] other than that: [15:32:17] !html [15:32:17] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [15:32:21] oh, the bot is gone?! [15:32:21] !html [15:32:21] --mwbot-- For allowing any and all HTML, see . This is of course VERY DANGEROUS. Safer options include , and . [15:32:21] . . . [15:32:22] !help [15:32:22] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn >. A dump is now available at < http://toolserver.org/~amidaniel/botbrain.html > [15:32:22] 03(mod) Editnotice popups for subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15961 (10N/A) [15:32:24] No, just slow. [15:32:28] it was asleep, apparently :) [15:33:04] <^demon> Duesentrieb_: There's an extension that lets you edit the iw table :) [15:33:05] !e SpecialInterwiki [15:33:05] --mwbot-- http://www.mediawiki.org/wiki/Extension:SpecialInterwiki [15:33:05] <^demon> If you don't want to write the query by hand. [15:34:02] ^demon: thanks for the hint, that may indeed help [15:34:18] for the record, i edit that stuff via the mysql cli client, *I* don't care :) [15:36:18] <^demon> Is there a reason the extension checks whether you have the 'interwiki' right all over the place, rather than just stopping at the start? [15:37:45] MZMcBride: Do you remember the API misreports ratelimits bug? (bug 12760) [15:39:09] Duesentrieb_: thanks [15:40:12] 14(WFM) API reporting incorrect rate limit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10roan.kattouw) [15:41:23] RoanKattouw: Eh? [15:41:43] MZMcBride: Well it works for me, see also comment on bug. I suspect the reported was simply not logged in [15:43:01] RoanKattouw: Erm... are you in the rollbacker group? [15:43:03] The rate limit applies to rollbackers. [15:43:12] No, I'm a sysop, so I have no rate limits at all [15:43:18] That's why I need a non-sysop rollbacker to verify [15:43:45] (I'm a sysop at MW.org that is. On enwiki I'm just a regular user, with the normal non-rollbacker rate limits) [15:44:10] If you got the same limits as listed at comment #20, they're the wrong limits. [15:44:14] [15:44:14] [15:44:14] [15:45:02] 04(REOPENED) API reporting incorrect rate limit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10Simetrical+wikibugs) [15:45:25] MZMcBride: Here's what I get: http://rafb.net/p/clMJT684.html [15:45:57] Simetrical: Thanks [15:46:19] Right. is wrong. ;-) [15:46:19] Needs an extra zero in this case. [15:46:21] Where are the WMF config files again? [15:46:37] http://noc.wikimedia.org/confg/ [15:46:37] http://noc.wikimedia.org/conf/ [15:46:42] Thanks [15:47:11] Is this 600 rate limit the same on all wikis? [15:47:44] I thought it was a 100 rate limit... [15:48:11] Right. Well whatever it is, I'm trying to find where it's configured [15:48:53] // For expanded rollback permissions... [15:48:53] 'rollback' => array( [15:48:53] 'user' => array( 10, 60 ), // was array( 5, 60 ), -- brino 2008-05-15 [15:48:53] 'newbie' => array( 5, 120 ), [15:48:54] // practicality has won out over paranoia on enwiki, raising from 20 to 100 -- TS 2008-05-21 [15:48:54] 'rollbacker' => array( 100, 60 ), [15:48:54] ), [15:49:01] From http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php [15:49:40] "brino"? [15:49:45] *Simetrical inserts remark about being able to spell own name [15:49:55] *Simetrical probably shouldn't throw stones in glass houses, though :D [15:51:06] It's API Bug Tuesday. :-) [15:51:44] Yup [15:52:49] *^demon looks at one or two api bugs and yawns [15:53:02] Hmm, I get the idea that group-specific rate limits (beyond user,ip,newbie,subnet) was added later [15:53:02] *RoanKattouw checks [15:53:19] ^demon: Wanna help me write a query? [15:54:00] <^demon> Er.... [15:54:19] Not an SQL person? [15:54:55] <^demon> I can write functional queries that do what I want them to :p [15:55:03] Yes, I was right: getting rate limits through the API was introduced in r30395, group-specific rate limits were introduced by Tim in r35130 with a very explicit log message, can't believe I missed that [15:55:05] I'm trying to write a query to output the number of pages in each namespace... [15:55:15] <^demon> RoanKattouw: You could do bug 11430 today. It has your patch and everything ;-) [15:55:32] ^demon: Brion said he wanted to review that [15:55:39] Hi, anyone hosting mediawiki on SourceForge? I've been having problems with sessions, the path is set correctly, but the session data gets lost immediately after login. Any idea where to begin? [15:55:42] MZMcBride, SELECT page_namespace, COUNT(*) FROM page GROUP BY page_namespace; [15:55:43] MZMcBride, of course that scans the page table. [15:55:58] So don't commit it. ;) [15:56:02] GROUP BY. I was doing ORDER BY. [15:56:12] (if you have commit access, I can't remember) [15:56:13] Oh, this is just for a database report. [15:56:13] ^demon: Whether he actually has time for it (ever) is another matter, though [15:56:13] (I don't. ;-) [15:56:25] It's MrZ-man who does, right? [15:56:25] Yep. [15:56:37] Too many M's and Z's, can't tell you apart. [15:56:37] Yes, mrzman has commit access [15:57:05] Somehow I never confused him with MZMcBride [16:05:37] 03catrope * r43678 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryUserInfo.php): API: (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate limits [16:06:02] MZMcBride: Fixed ---^ [16:06:21] w00t. :-) [16:08:03] 03(FIXED) API reporting incorrect rate limit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10roan.kattouw) [16:13:06] any MediaWiki::API users (perl) [16:13:06] ? [16:13:22] unknown_action: Unrecognized value for parameter 'action': edit [16:13:23] don't know what I'm doing wrong [16:13:23] faceface: That's not a MediaWiki::API problem [16:13:32] RoanKattouw, :: <- perl [16:13:37] The wiki you're connecting to doesn't have the edit API enabled [16:13:50] Ahhhh Thanks RoanKattouw [16:14:01] Or, worse, it may have a version <1.13 and not even *have* the edit API [16:14:16] 03jojo * r43679 10/trunk/extensions/Collection/ (Collection.i18n.php Collection.templates.php): use category name from other system message to prevent translation errors [16:14:28] Note that you need $wgEnableWriteAPI = true in your LocalSettings.php to use these features. [16:14:46] RoanKattouw, I just upgraded to get it ;-) [16:19:27] RoanKattouw, Great! its working nicely now! Thanks! [16:23:39] hi everyone [16:24:25] i need to know where i can get informations about the mediawiki api�s [16:24:44] if it is possible in german because my english is not the best [16:24:44] MediaWik: Do you mean the bot API, or how stuff works internally? [16:24:50] i mean: how can i connect mediawiki with other sw ?? [16:24:54] !api [16:24:54] --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 . [16:25:08] MediaWik: Look there ---^ [16:25:21] there need to be interfaces and apis for that [16:25:21] thanks [16:25:44] There are translations, there might be a German one too, I don't know. Any German translation could be out of date, however [16:26:40] so that is the only way to connect the wiki with another sw without creating new connections ? thx, no big problem, i think i�ll understand this [16:27:05] MediaWik: Most German Translation are better than English ones ;) [16:27:28] so ur german ? [16:27:57] yup [16:29:23] Wuzur: Not if the original was written in English, as is the case here [16:29:23] MediaWik, do you speak perl? [16:29:38] RoanKattouw: There is a German article without a English ones [16:29:51] ;) [16:30:21] Wuzur: Which one is that? [16:30:22] *Wuzur searces [16:30:34] +h [16:31:33] http://www.mediawiki.org/wiki/API:Sitematrix/de [16:31:48] Ah [16:32:28] But it's not the best one ;) The translators tried to make the German one better than the English [16:32:28] That's because SiteMatrix is an extension, which is why I didn't put it in the core API docs [16:32:29] ah, ok [16:33:57] Wuzur: Those translations look really good though [16:35:23] Wuzur: Starte die Titelliste bei diesem Titel (muss nicht existieren) [16:35:42] yes? [16:35:42] Does "*muss* nicht existieren" mean "must not exist" or "doesn't have to exist"> [16:35:46] ? [16:36:05] doesn't have to [16:36:08] *RoanKattouw is surprised [16:36:33] It's the other way around in Dutch [16:36:40] Many English learning pupil fail on this [16:36:54] +from Germany [16:36:59] I can imagine [16:37:30] And "must not exist" would be ... "darf nicht existieren"? [16:38:19] exactly [16:49:02] 03(NEW) produces problem with nonwhite backgrounds - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16382 major; normal; MediaWiki: General/Unknown; (brutha.newsletter) [16:50:25] 14(DUP) produces problem with nonwhite backgrounds - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16382 +comment (10Simetrical+wikibugs) [16:50:26] 03(mod) Option: Change the background color to transparent (texvc) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8 +comment (10Simetrical+wikibugs) [16:59:27] Hi, the edit toolbar isn't working in my mediawiki installation (latest). I get the following JS errors: wgBreakFrames is not defined (wikibits.js), Error: addButton is not defined [17:00:23] Ah, was because of my skin [17:06:21] hi [17:06:33] why doesnt  work?? [17:06:44] want to create a space with that [17:07:06] { for example works well, creates an { [17:13:48] is there a way to stop the effect of ==== ==== on one caracter ? i got something like : ==== 3. Le X /rô:/ en final reste muet ==== but the X is greased twice for sure :/ and i just need it big (it's an asian sign bigger to be easyly read) [17:17:26] 03mej * r43680 10/trunk/extensions/uniwiki/CustomToolbar/CustomToolbar.js: fixed js error in IE [17:17:26] 03minuteelectron * r43681 10/trunk/extensions/uniwiki/GenericEditPage/GenericEditPage.php: * Restore extension functionality by being more specific about a comparison. [17:21:06] Danwe-  doesn't give space because character 20 is the DC4 control code. is space, or [17:26:11] 04(REOPENED) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 +comment (10tomisimo) [17:27:08] Thank you awaynomie! works well :D [17:32:59] I try to replace a   no breaking space against a normal space with the #replace parser function (string functions) but nothing works. when I use I get the also in the string, but i really want only the space in the string [17:34:33] background is, I want to use the string with the #time parser function and that only accepts normal spaces [17:35:48] hm, maybe i can try it with regex [17:41:05] 03(NEW) Special:Log/newusers: add option to view only/ hide automatically created accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16383 15enhancement; normal; MediaWiki extensions: CentralAuth; (church.of.emacs.ml) [17:50:20] hi! the help section (http://www.mediawiki.org/wiki/Help:Contents) uses the blue border for each page which is listed, how can I create such a border for specific pages? [17:51:26] OJ_Timsen, CSS. [17:51:37] is there maybe a extension which allows me the easy way? [17:51:53] for example to give pages within a specific category a specific colored border [17:54:47] OJ_Timsen, you need to use CSS. The rules used on mediawiki.org are the two blocks beginning ".ns-12" here, near the top: http://www.mediawiki.org/wiki/MediaWiki:Common.css [17:55:23] .ns-12 affects all pages in namespace 12, which on MediaWiki.org is the Help: namespace. [17:55:32] I use subpages on the Category namespace to add additional info for the category. But those subpages are listed on Special:UnusedCategories. Isn't there a way to make them appear as used when they're linked to? Something like $wgCountCategorizedImagesAsUsed [17:55:32] so i found a workaround. one regex for creating a kind of tag around a space, and with a second regex delte the tags, so the space is left: {{#regex:{{#regex: abc def |/\ \;/|<%4&6jk> <%4&6jk>}} |/\<\%4\&6jk\>/|}} [17:56:00] kewl Simetrical, I will take a closer look! [17:57:57] Subfader, pages in the Category: namespace are intended to represent categories. You may want to use Category talk:, Template:, or some other namespace for storing the extra info. [17:58:20] I guessed so and it's the easiest workaround. [17:59:48] while talking about namespaces: Is there a way to remove ceratin default namespaces? I really don't need User:Talk (using PM system) or Project:Talk. Esp User:Talk creates confusion with those [discussion] links. [18:02:45] Subfader, no, that's not really supported. You could hide the tabs in various ways, though, like with CSS. [18:03:09] @Simetrical, how can I find out the namespaces my wiki is using? [18:04:02] *Simetrical goes to school [18:04:02] ok thanks. [18:06:43] ah I found the "Manual:Namespaces" (; [18:13:45] is there a way to stop the effect of ==== ==== on one caracter ? i got something like : ==== 3. Le X /rô:/ en final reste muet ==== but the X is greased twice for sure :/ and i just need it big (it's an asian sign bigger to be easyly read) [18:16:50] don't use ? [18:17:16] you could use style="font-weight: normal" to avoid text being bold [18:25:49] hello: when I do a $wgUserName I get my user name - How do I show an ip adress (when not logged in off course). Like "your ip address is x.x.x.x"? [18:26:14] in commons.js that is [18:26:28] common.js [18:30:30] 03(mod) Option: Change the background color to transparent (texvc) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8 (10cmertes) [18:34:46] Platonides: ok, thanks for the clue ;) nice [18:45:46] 03(NEW) Form parser doesn't handle symbols correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16384 normal; normal; MediaWiki extensions: Semantic Forms; (tosfos) [18:46:13] 03(mod) accesskey method undefined - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16372 +comment (10Art.Kalb) [18:55:52] 03rotem * r43682 10/trunk/ (4 files in 3 dirs): [18:55:52] Localization: [18:55:53] * Update for he. [18:55:53] * Rebuilding MessagesEn.php. [18:55:53] * Marking 'coll-template_blacklist_title' as an ignored message. [19:06:58] Hello. [19:07:11] Is there anything wrong with this setting from the LocalSettings.ini file... $wgWhitelistRead = array("Main Page", "Special:Userlogin", "Public:Documentation", "Public:Documentation/Chapter_1"); [19:07:15] I can not get to Public:Documentation/Chapter_1 [19:07:32] without a login required. [19:08:33] does the whitelist not like "/" in the strings? [19:09:10] OutdatedWikiStar: The underscore. [19:09:11] running 6.10.x [19:09:22] I imagine that's the issue. [19:09:34] 6.10.x is ... not a version of MediaWiki. [19:09:39] do I just leave the space? and it will translate to _ on its own? [19:09:53] Change the underscore to a space and see if that helps. [19:10:19] sorry 1.6.10 [19:10:20] cool I'll try that one sec [19:10:42] ah ha... [19:10:42] thanks [19:10:48] :-) [19:12:43] 03(WONTFIX) API: Way to get all pages started by a given user - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16378 +comment (10roan.kattouw) [19:21:25] Does anyone know if wild cards in the whitelist has been coded into the latest mediawiki? [19:25:05] I haven't heard about it [19:31:25] Very silent here [19:32:59] Question, I'm the "leader" of our wiki. Version is 1.11.0, I want to update to 1.13.2. I have all the access required, but I am a total and utter noob concerning php/MySQL, and although it is documented very thouroughly, I'm in fear of screwing the whole process up. [19:33:30] Is there any "I'm a total noob and want to update my wiki" guide, or a user that might have some handy tips? [19:34:01] Sidearm: Backup first. :-) [19:34:02] !backup [19:34:02] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [19:34:09] Already did [19:34:10] Twice [19:34:26] !upgrade [19:34:26] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [19:34:28] I've read those guides [19:35:10] All right. The Manual:Upgrading page is probably the simplest explanation. [19:35:31] No matter the way you update, it's usually pretty easy. [19:35:43] Well [19:35:52] When saying I'm a php/MySQL noob [19:35:53] I mean that I first set my eyes on any coding of those sorts today. [19:36:38] Simply put, sentences such as: "If using a tarball package, decompress the file on the server where the old version of mediawiki is running." already mean to me: "I have to find out how to install something on the server." [19:36:38] <^demon> 2008-11-18 19:35:38: enwiki 154099 pages (0.052/sec), 35156000 revs (11.791/sec), 19.1% prefetched, ETA 2009-06-13 04:35:40 [max 245397357] [19:36:42] <^demon> Next dump due in 2009 :) [19:52:08] can one use the django cms with mediawiki? [19:56:16] jeroen-: short answer is you can't, as there is no global variable for it or object containing it (anymore), and javascript can't tell you what the remote server sees as your IP (even if your browser knows it) [19:56:29] long answer is... there is a trick: Special:Mypage [19:56:51] but that requires an ajax call [19:57:03] which would be very impractical for every page view [19:57:21] 03demon * r43683 10/trunk/phase3/ (includes/ImagePage.php languages/messages/MessagesEn.php): (bug 2077) Info on how to use external editor is vague. Minor tweak to the UI should make it a little more clear. [19:57:47] 03(FIXED) "Edit this file using an external application" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2077 +comment (10innocentkiller) [19:58:26] Splarka: ok thank you for you answer [19:59:19] jeroen-: you could aos use the API, action=qurey&meta=userinfo [19:59:23] ^also [19:59:38] this would even work for logged-in users to reveal their IP [20:00:15] <^demon> action=query even. [20:00:20] yah yah [20:00:25] http://en.wikipedia.org/w/api.php?action=query&meta=userinfo&format=jsonfm&callback=getIP [20:00:35] a small consequence of callback dropping session, heh [20:01:02] hey brion ^ is that intended behavior? I guess it is.. but is it.. a security risk at all? [20:03:41] Splarka: what's the issue? [20:03:42] <^demon> Splarka: Security risk in showing you your own ip? [20:03:59] Hi. [20:04:00] <^demon> (although, it _is_ showing my userid as 0, which I'm not sure is right....) [20:04:23] brion: anyone with access to site-wide javascript can force logged in users to reveal IP [20:04:23] If you look at, http://sawpedia.com/wiki/Main_Page, and at the bottom right, you see the GFDL image for the copyright? [20:04:23] <^demon> jared: Hi :) [20:04:30] Splarka: they can do that just by pinging their own server [20:04:43] I'm trying to set the link for sawpedia.com/wiki/Sawpedia:Copyrights [20:04:44] true enough [20:04:44] or any "show your ip" web site [20:04:53] but I can't get it right [20:04:53] so i'm not terribly worried there [20:05:17] or a simple bit of css background image ^_^ [20:05:26] if you can't already get it through straight js, which wouldn't surprise me too much :) [20:05:30] well, I don't think you can [20:05:41] I was just trying, for anon users, when I realized logged in users are anon in the eyes of callback [20:05:50] for the purposes of the IP reveal, anyway [20:05:50] <^demon> jared: Set $wgRightsPage to "Sawpedia:Copyrights" in your LocalSettings [20:06:07] ^demon: compare with and without callback [20:06:44] <^demon> Shows 0 for callback, 169932 for userid. [20:06:50] ^demon: I have that, but also $wgRightsUrl is what's messed up. [20:07:05] <^demon> jared: You don't need $wgRightsUrl if you're using $wgRightsPage. [20:07:29] ^demon: I got rid of the URL line and now it's not clickable. It's not a link. [20:08:37] <^demon> Bah :\ [20:09:02] $wgRightsUrl = "${wgRightsPage}"; [20:09:09] I tried that but with $$ also [20:09:12] And it's perfect but there is a $ in the URL [20:09:52] Try {wgRightsPage} lol [20:09:55] :p [20:10:09] {$wgRightsPage} ? [20:20:12] could you use the django web framework to manage mediawiki? [20:21:28] ..why? [20:22:50] mib_i8hcux: "manage"? isn't django som JS lib? [20:22:59] harriv, what makes you ask "why?" is it not practicle or something? [20:23:44] practical [20:23:54] ah, python, not js [20:25:29] mib_i8hcux: My mind doesn't bend enough to imagine what cuold be with django and mediawiki.. :) [20:26:03] <^demon> mib_i8hcux: I'm not sure what exactly you're trying to accomplish...why would you need to manage a PHP web app from a Python framework? [20:27:23] ^demon, beats me too, i hardly know what i'm talking about for i'm an ignorant/hardcore newbie [20:27:53] <^demon> without knowing more, I'd have to say no you can't :) [20:28:14] well, i suppose you *can* scramble eggs with a toothbrush, but... [20:28:23] 03rotem * r43684 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update. [20:28:28] Question [20:28:29] Given that you have changed nothing in the configuration of the old version [20:28:40] <^demon> Duesentrieb_: Tried that, still haven't gotten the yolks off of the zebras yet. [20:28:40] is it wise to, instead of updating, installing a new version and using the same database [20:29:00] +? [20:29:23] siebrand: when using new code, *always* run the updater on the old db. [20:29:23] <^demon> Sidearm: Installing will create new tables, so you'd lose your data. Why not just upload all the new files and run update.php from the commandline? It'll handle the db changes for you. [20:29:28] err. [20:29:34] Sidearm: that was for you. sorry siebrand [20:29:39] Because I have no idea what "commandline" is [20:29:40] *siebrand smiles at Duesentrieb_ [20:29:45] :p [20:30:03] Simply put, I'm some user who got db access today [20:30:08] <^demon> Sidearm: Can you open a terminal on the server you're trying to update? [20:30:08] siebrand: under windows, it's know as the "dos box" :) [20:30:11] !shell | Sidearm [20:30:11] --mwbot-- Sidearm: Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [20:30:31] Sidearm: but you can do it using the web installer. if you aim it at an existing wiki db, it will just upgrade it. [20:30:42] !upgrade | Sidearm [20:30:42] --mwbot-- Sidearm: http://www.mediawiki.org/wiki/Manual:Upgrading [20:31:57] Would this be: http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_2:_Re-run_the_installer [20:31:57] ? [20:32:06] (I'd rather make sure then find my db fried :p) [20:32:07] than* [20:34:34] Sidearm: yes, it is. but note the section about backups too. always makea backup. [20:35:02] I have 2 backups [20:35:16] :D [20:35:18] so no problem if the db gets fried. [20:37:10] Yes, there will be, I'll have to find out how to upload it again :p [20:37:57] Huzzah. I found what the "commandline" is [20:52:05] 03(mod) Enable FlaggedRevs custom configuration on he.wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14648 (10dovijacobs) [20:56:45] 03(mod) Add a second tagline to default skin layout - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3120 +comment (10innocentkiller) [20:59:21] Or not [20:59:28] What program do you recommend for accessing the server? [21:00:05] via ssh? [21:00:05] When I input: "tar xvfz mediawiki-1.13.2.tar.gz -C /path/to/your/wiki/ --strip-components=1 [21:00:05] " [21:00:07] Changing the path of couse [21:00:09] +r [21:00:11] It says "Tar not understood" :p [21:01:35] <^demon> Sidearm: You _are_ on linux, right? [21:01:38] 03(FIXED) WMF interwiki map needs to be updated - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12763 +comment (10raimond.spekking) [21:02:24] Eh, ^____^; [21:02:33] No. [21:02:37] <^demon> That would explain it :) [21:02:42] <^demon> tar isn't a command (by default) in windows :) [21:02:42] Let's fire up Ubuntu then [21:39:29] 03demon * r43685 10/trunk/phase3/includes/ (OutputPage.php specials/SpecialUserlogin.php): Bunch of globals laying around and nobody using them. [21:39:30] hi, I have migrated my mediawiki from one hosting company to another, my domain name has changed. Thus, I have made a dump of the database and imported it on the other domain using phpmyadmin. Then I have modified LocalSettings.php and the wiki displays correctly. But when I log in, the automatic redirection is disconnecting me. [21:40:01] Has anyone faced the same problem? [21:41:33] 03raymond * r43686 10/trunk/extensions/Collection/Collection.i18n.php: Tweak message for better i18n [21:43:54] 03(NEW) category list and interlanguage links displayed wrongly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16385 minor; normal; MediaWiki: Database; (knverma) [21:55:58] 14(WFM) category list and interlanguage links displayed wrongly - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16385 +comment (10innocentkiller) [22:02:00] 03(NEW) Wikitionary bug report for 11/18/08 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16386 15enhancement; normal; Wikimedia: General/Unknown; (ipatrol6010) [22:04:23] 03(mod) Wikitionary bug report for 11/18/08 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16386 +comment (10ipatrol6010) [22:09:43] <^demon> tha heck is that? [22:11:47] 14(INVALID) Wikitionary bug report for 11/18/08 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16386 +comment (10innocentkiller) [22:18:59] 03siebrand * r43687 10/trunk/phase3/languages/messages/ (95 files): [22:18:59] Localisation updates for core from Betawiki [22:18:59] * Namespace updates [22:21:48] 03siebrand * r43688 10/trunk/phase3/languages/messages/MessagesRo.php: [22:21:48] Localisation updates for core from Betawiki [22:21:48] * Namespace updates [22:22:45] 03siebrand * r43689 10/trunk/phase3/languages/messages/MessagesTe.php: Fix syntax error in MessagesTe.php in r43687 [22:26:59] hi, i have a question about using writeapi [22:27:27] *Splarka shows uberfuzzy the big bag 'o answers [22:27:43] do i send everything in the post data? or does some of it go in the url as get's [22:28:09] when writing (or other action that requires post) it should all be POST [22:28:35] ok [22:29:14] I believe you can mix POST and GET for requests that are okay with GET (like for example, to send more text than the ~4k URI limit on wmf) [22:29:18] when i was posting to index.php for pages in the past, i had he action and the page title in the url's, so i was confused [22:29:31] well... [22:29:39] that is a peculiarity of the way mediawiki's UI is designed [22:29:58] the action contains some parameters, and the method is set to POST... so really it is POSTing to a GET [22:30:59] yeah, i know how that is, done that in the past my self on a backend [22:31:24] the API needs no get parameters when posting [22:31:24] just didnt know if the api stuff had to be all in post [22:31:50] and what is this about "application/x-www-form-urlencoded" [22:31:51] well, best to assume anything when writing should all be post [22:32:03] that means the parameter values are urlencoded [22:32:16] like say you have a string "foo bar? baz! 1+1=2" [22:32:21] and want to send that via POST... [22:32:38] it would be foo+bar%3F+baz%21+1%2B1%3D2 [22:32:51] setting application/x-www-form-urlencoded lets the server know in which way it is encoded [22:33:12] hmm, time to dig out that curl page and read it again [22:33:21] (you set that in the Content-type header for the request) [22:33:40] at the very least you should encode =?&\/+ [22:33:41] as those have special meaning when decoding [22:33:52] <^demon> writeapi must be in POST, wont work in GET [22:33:52] best to just urlencode (or encodeURIComponent) the parameters [22:33:57] <^demon> Wont work *at all* in GET, rather. [22:33:57] is there an echo in here? [22:34:14] any idea what i need to do with/to curl to set that? [22:34:14] ^demon: still, you must uriencode the POST parameter values [22:34:25] if using application/x-www-form-urlencoded [22:34:25] <^demon> Splarka: Well yes. [22:35:45] <^demon> uberfuzzy: Among your other options, CURLOPT_POST needs to be true. [22:35:46] ^demon: his question was, can some write api parameters be part of the requesting URI, to which I said no [22:36:37] well, i'm already urlencoding the values, and using CURLOPT_POSTFIELDS [22:37:40] and it doesn't work? [22:39:00] its working for posting to index.php, just now re-writing my save page stuff for api [22:39:39] --header Content-Type:"application/x-www-form-urlencoded" maybe? [22:41:00] (I think it is the default anyway) [22:41:01] morning! [22:41:07] *Splarka tab-completes werdnum [22:42:16] well, thanks for the help Splarka [22:43:45] np [22:44:19] it should be a simple procedure of renaming the fields and changing the action location [22:44:37] I've converted a few such JS scripts to the API that way [22:45:14] hey guys :-) [22:46:54] how can i create a table with round corners? [22:47:32] -moz-border-radius [22:48:07] thx i will google it for more informations [22:48:08] hmm, Brion and Tim both ran away [22:50:10] 03demon * r43690 10/trunk/phase3/includes/HttpFunctions.php: [22:50:10] * Move user-agent construction to its own method, so we're not writing the same string in two places (and provides a reliable way for getting MW's standard user-agent) [22:50:10] * Mark visibility, they're all public anyway [22:53:39] okay, i'm just a normal user, i can't use round corners for my table on my userpage? [22:55:02] not unless you construct them manually [22:55:12] using divs as pixels [22:55:29] or uploaded images in zero-padding/margin cells [22:56:35] okay, i have to create an css file and link my table to the css or? [22:57:50] 03yaron * r43691 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: Added HTML-unencoding of properties' "allowed values" [22:57:51] like User:Cass/roundcorner.css [22:58:01] -moz-border-radius only works in mozilla/firefox [22:58:20] and only you will see the rounded corners for a css in your userspace [22:58:53] (and only if it is in your skinname.css or imported therefrom) [23:00:01] it has to be in the site-wide css, and if you are a lowly user, then you have to request it of someone who can edit such messages [23:01:13] if you do it manually with divs or images (not background), then it: works in almost browsers, and requires no site-wide css. Negative effects however include inability to push interior content to the edge (the curve radius becomes an effective reduction in object inner size) [23:04:34] one last thing before i leave, on some of the special pages, theres a message "The following data is cached, and was last updated 15:56, 18 November 2008. " is that date available anywhere in the api? [23:07:10] uberfuzzy|away: https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 [23:08:41] yeah, i voted for that, but didnt see anything if it was planned to have the cache date for the ones that give back cached results [23:08:58] so, no. theres not right now [23:09:31] well, there are lists there [23:09:31] of workarounds [23:09:35] (for the ones possible to work around) [23:19:27] hmm. which is the best way to render SVG graphics, aside from librsvg (which i can't use since there are so many dependencies i need at the system level that are missing) [23:25:56] 03(NEW) Can't view any pages at Simple English Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16387 major; normal; Wikimedia: General/Unknown; (coppertwig) [23:26:36] So how do I make my wgRightsURL be a link to my [[Project:Copyrights]] page? [23:26:38] 03(FIXED) Bug with new SMW 1.4 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16191 +comment (10yaron57) [23:27:08] #wgRightsURL = "/wiki/Project:Copyrights"; ? [23:27:28] 03(FIXED) Form parser doesn't handle symbols correctly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16384 +comment (10yaron57) [23:28:11] jbinder: does that work? [23:28:11] 03(mod) Can't view any pages at Simple English Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16387 +comment (10cbrown1023) [23:28:39] RingtailedFox: Oh, lol. [23:29:02] I didn't have the /wiki [23:29:02] It worked, thanks. [23:29:17] you're welcime [23:29:18] *welcome [23:31:38] 03(mod) Can't view any pages at Simple English Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16387 (10N/A) [23:32:21] RingtailedFox: batik will render nice, but it's a bit slow. requires a java VM you can call [23:32:26] yah [23:32:53] my whole site's slow (at least on my computer), so that's par for the course [23:32:53] where do i get batik? [23:46:11] 03(mod) Search stopped working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16358 (10wladston) [23:55:57] 03yaron * r43692 10/trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php: Added handling for change of date format in SMW 1.4