[00:01:56] http://bash.org/?835030 [00:03:03] Simetrical: shame on you, shame on you... ;-) [00:06:03] hi BrokenArrow [00:06:19] hello HelLViS69 [00:08:01] 03(mod) Hook: TitleMoveComplete, Wrong Page ID present - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13204 (10darien.hager) [00:25:41] 04(REOPENED) Reorganize Special:Specialpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10457 +comment (10Simetrical+wikibugs) [00:45:48] Is there any way to check my backup file to see if my attempt was successful? [00:46:12] 03(mod) Create I alias for Project namespace on Incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13231 (10danny_b) [00:47:39] SykoSilver, same as any backup, try importing it somewhere. [00:48:10] Simetrical, importing it where? [00:48:18] Sorry, I'm a newbie sorta. [00:48:26] To a wiki. [00:48:36] Which you'll probably need to install separately, for testing. [00:50:36] oi, sounds hasslesome =P [00:51:37] It is, which is why traditionally people take backups, never check them, and then find when their site is wiped out that those backups they'd been diligently taking actually never ran for the past 18 months. [00:52:52] ouch. [00:56:54] This is true for all backups. :) [00:57:17] Competent shops have a policy of periodically checking backup integrity in some reliable fashion. [01:06:38] well before I try to install another wiki, I'm trying to check the font thing like it says to in the mediawiki guide for backing up [01:07:13] 03brion * r31604 10/trunk/phase3/ (includes/GlobalFunctions.php maintenance/dumpUploads.php): [01:07:13] * regression fix: make dumpUploads.php work again [01:07:13] * dumpUploads.php options now actually supported [01:07:13] * wfRelativePath() no longer includes spurious ".." when base path is "/" [01:07:13] * wfRelativePath() now returns full path for differing Windows drives [01:10:02] 03brion * r31605 10/branches/REL1_12/phase3/ (3 files in 3 dirs): [01:10:02] Merge 31604 fixes from trunk: [01:10:02] * Fix regression: make dumpUploads.php work again [01:10:02] * dumpUploads.php options now actually supported [01:10:02] * wfRelativePath() no longer includes spurious ".." when base path is "/" [01:10:03] * wfRelativePath() now returns full path for differing Windows drives [01:21:35] hi [01:22:13] how can i deactiveate the alphabetical listing in categories? i like to disable the "A" "B" "C"'s ... [01:23:15] godwin2, I'm putting my money on "hack the code". [01:24:15] you know how? [01:24:23] can't you hide them by css? [01:24:47] (rather, what order do you want the pages in?) [01:24:52] Maybe. [01:25:12] godwin2, the file to look at is includes/CategoryPage.php, IIRC. [01:26:31] ok [01:26:57] i want a alphabetical order, but without the headings ("A", "B",...) [01:27:35] but i only want it in 2-3 categories [01:27:40] not in all [01:28:00] trichy [01:28:04] *tricky [01:39:58] how can i change e.g. /wiki/index.php/MediaWiki:Sidebar to /wiki/MediaWiki:Sidebar ? [01:41:03] !shorturl | godwin2 [01:41:03] --mwbot-- godwin2: 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 [01:42:21] 03(NEW) post expand size counted multiple times for nested transclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13260 15enhancement; normal; MediaWiki: Page rendering; (cbm) [01:42:43] !shorturl [01:42:43] --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 [01:42:53] ok, thx [01:44:35] 03(NEW) Spanish Wikipedia: semiprotection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13261 normal; normal; Wikimedia: Site requests; (fidel.mkw) [01:53:43] 04(REOPENED) dsb: interwiki prefix missing on srv60 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13017 +comment (10danny_b) [01:58:23] does anyone know of any problems with mediawiki and postgresql 8.3 ? [02:06:49] m1chael, ask G_SabinoMullane when he's on. [02:06:53] Greg Sabino Mullane. [02:06:57] You should be able to look him up. [02:07:30] [080305 17:22:17] hi. is there a postgresql major version which is particularly recommended or some that should be avoided among the supported ones? [02:07:30] [080305 18:07:10] chealer: 8.3 if you can, the builtin tsearch will make things a little easier to setup. [02:07:35] There's your answer. [02:09:07] cool [02:09:15] i have never used a wiki before [02:20:07] Java question: [02:20:09] private static final byte[] signature = { 0x4f, 0x67, 0x67, 0x53 }; [02:20:24] is that the best way to make an ASCII string in Java? [02:20:33] or is there some more readable way? [02:21:04] Why do you need one? [02:21:52] because I don't know the ASCII table in hexadecimal off by heart, so it's not obvious that that is the same as OggS [02:22:31] I mean, why does the string need to be an array of ASCII characters, and not just a Java string object? [02:23:19] well, the input is a byte[], it is used like this: [02:23:20] if (MemUtils.startsWith (data, offset, length, signature)) [02:23:56] for good reason of course, you don't really want to be interpreting an Ogg bitstream as UTF-8 or something [02:24:59] Does "OggS".getBytes( "ASCII" ) work? [02:25:08] *Simetrical just Googled string methods, has never written Java before in his life [02:28:15] Hi there ! Trying to to something a bit silly, and looking for help =P. I am trying to install mediawiki as a part of my site on the school network (GNU/linux). I cannot use root for this. I dled mediawiki, but now it is asking for a mysql server. Can I run one in user-space, or bypass it and use another database ? [02:29:31] Simetrical: I think determining the answer to that question would be more trouble than it's worth [02:29:33] 03(mod) Create MediaWiki:robots.txt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13249 +comment (10wiki.bugzilla) [02:30:36] josinalvo, I imagine it's theoretically possible to run MySQL in a custom install, since you should be able to bind to port 3306, but I'm not totally sure. If you don't have a webserver and PHP installed by root, though, you're screwed. [02:30:45] Er, s/custom install/non-root install/. [02:34:30] Simetrical: CSV is not an option ? (yes, the server has PHP and Apache, but I cannot run processes, like MySQL, there) [02:37:44] josinalvo, no. [02:37:54] There are some lightweight wikis that run on flat files. [02:37:58] I think DokuWiki is one. [02:38:21] It might be runnable for you. [02:40:26] 03laner * r31606 10/trunk/extensions/SmoothGallery/ (5 files): [02:40:26] Pulled out all of the database and special page stuff. If people want to link to [02:40:26] galleries, they can create Gallery: and Gallery_Talk: namespaces, and create [02:40:26] permanent galleries there. The special pages didn't really add much. [02:42:43] Simetrical: k. Thanks. Will look into it [02:43:43] I created a backup of my other wiki and I want to test it on this test wiki I just created. How do I do this? [02:43:56] Import the dump. [02:43:58] However you dumped it. [02:44:06] If it's an SQL dump, pipe it to mysql. [02:44:39] Pipe? [02:44:42] If it's an XML export, it's not a very good backup to begin with, since it loses tons of critical info. XML exports are meant for sharing data, mainly. [02:44:51] mysql < mydump.sql [02:44:54] it's an sql file [02:44:55] On the command line. [02:44:57] Okay, good. [02:45:03] If you have command-line access, do that. [02:45:16] If you have phpMyAdmin, it has some mechanism for importing an SQL file, I don't remember it offhand. [02:45:22] ok [02:45:50] 03laner * r31607 10/trunk/extensions/SmoothGallery/SmoothGallery.php: Upping the version to 1.1c, and changing it from alpha to beta [02:48:27] I have phpMyAdmin, and I tried this import thing I have, but there's no change to the test wiki [02:51:12] OggDemux.java:32: unreported exception java.io.UnsupportedEncodingException; must be caught or declared to be thrown [02:51:12] private static final byte[] signature = "OggS".getBytes("US-ASCII"); [02:51:48] I am having issues with using Short URLs, is anyone available for help? [02:52:22] !ask | Zaerath [02:52:22] --mwbot-- Zaerath: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [02:52:43] Thanks, but it's really different per channel. [02:53:21] Okay, the problem I am having is... I am using the Mediawiki tutorial for the recommended shorturl configuration, and everything works.... But when you go to login, it tries to access index.php?title etc etc etc. [02:53:47] And, it's already aliased /wiki to use /wiki/index.php, so that's trying to access /wiki/index.php/index.php, and it's erroring. [02:54:11] which method are you using? [02:54:21] this one? http://www.mediawiki.org/wiki/Short_URL#Recommended_configuration_.28Used_on_Wikipedia.29 [02:54:33] Yes. [02:55:36] I can link you to the wiki if my explanation isn't precise enough, I'm bad at explaining things. [02:55:51] ah, its public. yeah. please do [02:56:21] and you can't cast one array of primitives to an array of different primitives [02:56:42] so byte[] sig = { 'O','g','g','S'} wouldn't work [02:56:59] Zaerath: the directory on your filesystem is w right? not wiki? [02:57:18] I'm trying to use phpMyAdmin to test an SQL backup on a test wiki and it doesn't seem to be changing anything. Is there a guide for this? [02:57:34] The directory on my filesystem is /var/lib/mediawiki1.7 and the file is aliasing /wiki to go to it. [02:57:42] ok. cool [02:58:15] Do I have a do a Rewrite? [02:58:37] you have root? if so, no [02:58:47] I do have root. [02:59:01] no need for rewrite then [02:59:05] Alright. [02:59:59] Can you post the link to your site [03:00:01] ? [03:00:04] Whoa. [03:00:09] It broke the wiki big time now. [03:00:09] http://denizensden.com/wiki/Main_Page [03:02:41] ok, back to the original signature then [03:03:10] Was that at me, Tim? [03:03:26] no [03:03:30] Alrighty. [03:03:30] Zaerath: brb [03:03:36] Ryan_Lane: Kk. [03:04:52] I put it back to long URLs for now. [03:09:06] Zaerath: your wiki articles are working right, but your non-wiki articles are also using /wiki (which is wrong) [03:09:27] What should they be using, and how can I fix it? [03:09:37] Now they're working right, because I changed it back to long URLs for a minute. [03:09:46] Zaerath: right [03:09:55] Let me change it back really quickly. [03:11:00] Changed. [03:11:01] http://denizensden.com/wiki/Main_Page [03:11:13] Yeah it broke the articles again, not really sure why. [03:11:37] Zaerath: notice the instruction, the directory name is "/w" [03:11:50] Under $wgScriptPath ? [03:11:54] Hi everyone, Do you know how to let mediawiki not encode Chinese characters in URL? e.g: the URL of main page index.php?title=首页 is encoded to index.php?title=%E9%A6%96%E9%A1%B5 which is hard to read [03:12:29] Zaerath: yours is not... you can either rename your directory to "/w" or change the $wgScriptPath to the name of your directory [03:12:51] My directory is not named, it's just an Alias in httpd.conf [03:13:04] Zaerath: which is "/mediawiki1.7" [03:13:19] /var/lib/mediawiki1.7 is aliased to /wiki [03:13:22] Zaerath: the name of the physical directory... [03:13:26] Change it? [03:13:42] Yes, to 'w'. [03:13:56] Changed, and then change it in scriptpath... [03:14:03] Zaerath: either: mv /var/lib/mediawiki1.7 /var/lib/w [03:14:13] The virtual directory name cannot match the actual directory name. [03:14:17] Yes, I did so, now changing it in ScriptPath. [03:14:24] Oh, well it didn't. [03:14:27] Zaerath: or change: $wgScriptPath = "/mediawiki1.7" [03:14:31] It was /wiki virtual /mediawii1.7 before. [03:14:38] Okay. [03:15:31] Still showing me broken pages. [03:15:35] http://denizensden.com/wiki/Main_Page [03:15:48] Zaerath: what is the directory on your filesystem? [03:15:52] For a breakdown: [03:15:52] Directory name is /var/lib/mediawiki1.7, [03:16:00] WgScriptPath is set to /mediawiki1.7 [03:16:11] Alias is: Alias /wiki /var/lib/mediawiki1.7/index.php [03:16:30] Zaerath: what is your DocumentRoot in apache? [03:16:39] /var/www/ [03:16:54] (I host a webserver there as well) [03:17:00] Zaerath: thats the problem. make this alias: Alias /w /var/lib/mediawiki1.7 [03:17:13] Zaerath: and change your $wgScriptPath back to "/w" [03:17:38] If I change the alias to a directory again rather than the php file, it'll nullify the short URLs, won't it? [03:17:40] Zaerath: you are going to need both aliases, because mediawiki isn't in your document root [03:18:02] So, you are going to have: [03:18:14] Alias /wiki /var/lib/mediawiki1.7/index.php [03:18:16] and [03:18:24] Alias /w /var/lib/mediawiki1.7 [03:18:27] Alrighty, have that. [03:18:30] And wgScriptPath is /w [03:18:54] Seems to be working on the mage page. [03:18:56] there you go [03:18:58] Alright, all works. Thanks a ton guys. [03:19:02] no problem [03:19:08] http://denizensden.com/w/index.php?title=Special:Userlogin&returnto=Main_Page [03:19:13] I guess I get how that works now, kinda confusing. [03:19:40] yeah. your install directory not being in the document root was the problem [03:19:47] ScriptPath is for the actual scripts, whereas article path is where articles go, which uses wgScript. [03:19:49] Ahhhh. [03:19:54] that is kind of common though [03:19:59] Yeah it said leave it out for security, and it was the default installation location, so ah. [03:20:46] Thanks again. [03:20:48] well. enjoy [03:20:50] no probl [03:20:57] problem too [03:21:09] Thanks. Having index.php/article was ugly and kinda hard to navigate if you wanted to go straight to something. [03:23:05] I'll see if I can stay and help others, when I can. [03:23:15] I've had a lot of issues with MediaWiki myself, so maybe I can help some people. [03:51:23] 03(mod) add DOM friendly importScript and importStylesheet functions into wikibits .js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13232 +comment (10skizzerz) [03:55:53] 03(NEW) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 15enhancement; normal; MediaWiki extensions: Inputbox; (tylerromeo) [04:02:41] Anyone know how to import a backup sql in phpMyAdmin? [04:03:38] Ok. I've looked at the FAQ. It is somewhat helpful for certain things, but not what I'm looking for. I'm having trouble navigating the rest of the help resources. So many split up and I'm not even sure where to look: How do I easily change the background color in portions of the Monobook skin? Especially the sidebar, tabs across the top... I already have the main content section changed. [04:04:16] Moleculor: View the source of the page and find the appropriate CSS id's or class's. [04:04:28] Then modify [[MediaWiki:Common.css]] accordingly. [04:04:39] Oh, is it common.css? [04:04:41] K. [04:04:55] Common.css covers all skins. [04:05:34] Ah. Not mentioned in the stuff in the FAQ. Thank ye. :) [04:06:29] Uhm. Where is that? It's not in skins/common. [04:06:33] Not in skins/monobook. [04:06:53] It's on-wiki; makes for much easier upgrades. [04:07:17] It's what? [04:07:42] "on-wiki;"? [04:07:46] For example, http://pruebita.com/wiki/MediaWiki:Common.css [04:07:57] Yes, it's in the MediaWiki namespace. [04:08:03] Oh. Is that going to change the default skin for all users? [04:08:13] No. [04:08:22] Then how do I change the default skin for all users? [04:08:36] 03dale * r31608 10/trunk/extensions/MetavidWiki/ (20 files in 7 dirs): [04:08:36] * updates for semantic media links rewrite [04:08:36] * maintance updates [04:08:36] * display stream length in stream view [04:09:31] !wg DefaultSkin | Moleculor [04:09:31] --mwbot-- Moleculor: http://www.mediawiki.org/wiki/Manual:%24wgDefaultSkin [04:09:48] Set that variable in LocalSettings.php. [04:10:10] is there a way to enter newlines by just pressing enter (instead of
) ? [04:10:32] Wind0pain: There's the tag. [04:10:46] It's an extension. [04:11:03] Never mind, the suggestion to look at the source looks like the right one. I just have to change each separate div id in the CSS of the skin. [04:11:18] MZMcBride: thanks [04:11:44] how do extensions and templates differ? i was looking at the "to-do list" that wikipedia uses on discussion pages but someone said it's a template, not an extension :/ [04:12:15] Thank ye all. [04:12:19] Extensions are listed at [[Special:Version]] and provide functionality that applies sitewide; they can do various things. [04:12:31] Extensions require access to LocalSettings.php to be installed. [04:12:44] Templates are on-wiki, and can be changed and modified by any user. [04:12:53] Templates are for content. [04:13:00] ahh [04:13:18] For example, http://en.wikipedia.org/wiki/Template:Todo [04:13:38] Or, http://www.mediawiki.org/wiki/Extension:Poem [04:14:21] aren't extensions for content too though? [04:14:40] They can be. [04:14:48] ahh not necessarily though [04:14:51] Perhaps the bot can help... [04:14:54] !templates | Wind0pain [04:14:54] --mwbot-- Wind0pain: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [04:15:03] !extensions | Wind0pain [04:15:03] --mwbot-- Wind0pain: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [04:15:14] ty [04:15:19] No problem. :) [04:24:57] Ok. I've tried digging through the source of pages and editing the skin CSS files. The tabs across the top seem to have the same div class as the sidebar along the side. I've changed the background color for this CSS entry but instead of both the tabs and the sidebar changing, only the sidebar changed. What part of the CSS file do I need to edit to edit the background color of the tabs across the top? [04:26:18] id="ca-nstab-user", id="ca-talk", id="ca-history", etc. [04:26:47] i'm installing the SyntaxHighligh_GeSHi extension- do I need the "Localisation updates for extension messages from Betawiki" ? I don't think I'm using a beta anything... [04:27:20] Ok. So I'm looking at the wrong thing then. (Total CSS newbie. I'll get it though.) [04:29:29] ca-nstab-user isn't even in the CSS file. And changing ca-talk doesn't change anything on the page. :| [04:30:01] And aren't those ids? I changed the class for changing everything else... [04:30:42] CSS class's use .ca-talk; id's use #ca-talk. [04:31:11] So, you would need { #ca-talk background-color:red; } or some such. [04:31:29] .ca-talk is not in the CSS file. Changing #ca-talk's background-color does not change the background color of the tab. [04:31:55] *MZMcBride wrote broken CSS. >_> [04:32:39] I wouldn't recognize broken from working. Last time I worked with web development, it was in HTML. [04:33:37] I know it's possible to edit the background color of these tabs. I know it is, I've seen it done before. [04:38:36] Hmmm.... [04:38:47] What's the standard place for applying for comit access? [04:40:10] Dantman: You read: http://www.mediawiki.org/wiki/Commit_access ? [04:40:20] Yup [04:40:46] Read through multiple pages, never mentioned a specific place [04:41:02] I think sending an e-mail to Brion is how it's usually done. [04:41:09] Mkay, already did that [04:41:37] Heh... I'm guessing he's got inbox overflow... [04:43:11] The answer is! p-cactions li a, and p-cactions li a.selected. [04:43:31] Er, p-cactions li.selected a. Or somesuch. [04:43:51] (Whatever 'cactions' means. Oi.) Hokay, Got it. Thank you. [04:49:14] 03werdna * r31609 10/trunk/phase3/includes/api/ApiEditPage.php: Fix errors in example for EditPage API module (referred to old names of parameters) [04:53:35] how can i determine if mediawiki is using the Subversion environment? [04:54:50] Wind0pain: what do you mean? [04:55:14] If MediaWiki is using the Subversion environment, the geshi.php file can also be downloaded from the Subversion repository in SourceForge.net. (http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi) [04:56:03] yeah [04:56:07] kinda poorly worded [04:56:16] do you know if subversion (svn) is installed on your server? [04:56:28] no idea [04:56:43] where is your mediawiki hosted? [04:58:11] hostgator [04:58:29] do you have ftp access to your mediawiki files? [05:02:49] jlerner: yes [05:03:18] ok well just ftp'ing the files up to the correct directories is probably your best bet [05:04:09] it looks like hostgator has ssh access as well [05:04:16] 03(mod) Allow import to different page name - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6808 +comment (10rene.kijewski) [05:04:24] ssh in and type svn to see if subversion is installed [05:04:33] but probably more involved than it's worth [05:04:43] just copy the files in however you feel most comfortable [05:06:52] any idea what is going wrong here: http://armchairinventors.com/mediawiki/index.php5 [05:08:11] 03(NEW) API error with MW 1.11.1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13263 major; normal; MediaWiki: API; (professorminh) [05:17:10] 03(ASSIGNED) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 +comment (10soxred93) [05:18:01] SyntaxHighlight_GeSHi.php seems to send all of that the screen when i add the require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); [05:18:41] 03(NEW) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 normal; normal; Wikimedia: Site requests; (chanel5) [05:18:49] :D [05:19:23] 14(DUP) Create Hungarian Wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12865 +comment (10chanel5) [05:19:26] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10chanel5) [05:19:54] Combining bug reports isn't ... [05:20:58] MZMcBride: Well they're batch created anyway. [05:21:07] *Shanel uses Pathoschild as her scapegoat. [05:21:07] *Werdna waves Shanel [05:21:15] Werdna! [05:21:23] Yeah, but if one of them isn't ready, the person creating usually avoids the bug entirely. [05:21:56] MZMcBride: They're all ready. [05:22:06] Just sayin'. :p [05:22:09] MZMcBride: We don't file bug requests unless they are. [05:22:11] :P [05:22:26] Pathoschild says "Hmph!" [05:22:30] :P [05:23:07] Hey everyone [05:23:09] I just created a patch, but I am unsure on how to submit it [05:23:45] Shanel: you're with pathoschild? [05:23:55] Werdna: Yep. [05:24:02] Shanel: say hi to him [05:24:11] He also says "Whee!" in his best girly voice. [05:24:17] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10jeluf) [05:24:19] Werdna: He says hello back. [05:24:23] Girlishly. [05:24:45] give him a tickle for me [05:24:53] *Shanel blames Pathos for that. [05:25:05] Werdna: {{done}} [05:26:09] anybody already migrate medikiwi mysql database to postgresql database ? [05:29:03] 03(NEW) $wgMediaHandlers is missing image/x-bmp in DefaultSettings .php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13265 minor; normal; MediaWiki: Images; (carlb613) [05:32:09] are there any other mediawiki support channels around where i might find assistance installing the geshi syntax highlighting extensions? [05:33:08] Hey, I would like some help submitting a patch [05:33:42] Soxred93: Go to Bugzilla and click the attachment link. [05:33:47] I think that's all there is to it. [05:33:49] Done [05:34:00] Oh, so I don't need to provide a diff or something? [05:34:48] Dunno. [05:36:25] Ok [05:36:29] Now to wait [05:36:45] Soxred93: is it 13262 New Talk Page Option ? [05:36:49] Yes [05:37:32] Soxred93: i unified diff would make it a lot easier to review your patch. [05:37:52] So does that mean I upload the original? [05:38:35] Raymond__? [05:38:55] Soxred93: what do you mean with "original"? now you have uploaded the complete file [05:39:18] Yes, do I upload the unchanged version too, so a diff can be provided? [05:40:32] Soxred93: no, you have to create the diff. but wait a moment, I will try something [05:41:00] How does the diff get created? [05:43:48] Raymond__? [05:44:02] Soxred93: be patient pls... [05:44:14] Ok, sorry [05:52:00] 03dale * r31610 10/trunk/extensions/MetavidWiki/maintenance/ (4 files): maintenance updates [05:55:39] back in a few minutes with a patch for Soxred93 but I have to restart my pc [05:56:38] i can't believe there aren't more wikis out there [05:57:40] Could someone tell Raymond that I'm going to have to leave, and send it to my email if it is necessary? (my email is enabled at en-wiki) [06:08:48] where is soxred now? [06:08:48] Could someone tell Raymond that I'm going to have to leave, and send it to my email if it is necessary? (my email is enabled at en-wiki) [06:09:00] flyingparchment: thanks :) [06:16:24] 03(mod) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 +need-review +patch (10pathoschild) [06:31:48] 03(mod) New Talk Page Option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 +comment (10raimond.spekking) [06:35:09] How do I add a link in a Wiki page to a page on the local server, that is not a Wiki page. eg. /localpage.html where localpage.html is not in the Wiki. [06:36:38] Without including the host domain. [06:36:38] You can't. [06:37:20] Can I write a macro or something? [06:38:26] The Apache2 web server has knowledge of the local domain used by the user. Can this be used somehow? [06:40:26] well... [06:41:06] you can use {{server}} [06:41:23] [{{server}}/robots.txt local robots.txt] [06:41:45] Thanks, I'll give it a try. [06:42:06] that works then for a moved domain or non-static mirror [06:42:07] Splarka: You heared of the idea for the title rewrite? [06:42:53] d7m: but doesn't work for static mirrors, as the domain is included in the href [06:42:54] I imported a backup sql into my test wiki, and there's no change. Any ideas why? [06:42:57] dan: elaborsplain? [06:43:49] Basically it means pairing the current title in the database which is actually a title key, with a real title field. [06:43:52] The idea is: [06:44:08] While [[Main Page]] and [[_main_Page]] will still be the same page [06:44:29] MediaWiki will actually be able to identify that a page is supposed to be named [[_main_Page]] [06:44:46] bah! what fun is that? [06:44:48] ^_^ So no need to use {{DISPLAYTITLE:iPod}} [06:45:02] You can actually move [[IPod]] to [[iPod]] [06:45:09] seems a lot of work for a minor inconvenience [06:45:24] Not really, DISPLAYTITLE is a complete hack [06:45:33] And that's only the main thing [06:45:52] Theres a little more backend stuff that'll clean up some bad code and allow for more extensibility [06:46:15] Well, personally, I'd talk to one of the big devs before doing any major work on it. [06:46:17] not really a lot of work? [06:46:22] or not really a minor inconvenience? [06:46:27] Medium scale [06:46:51] Part of the plan is a extensible normalization function [06:46:56] From what I've seen in the past, people have been pretty hesitant to mess with capitalization as it can seriously screw up linking. [06:47:07] indeed [06:47:31] It's not only capitalization [06:48:26] d7m: I have wished that the external link syntax, eg [], would take absolute, but not full, URLs as well, for example [/wiki/Foo foo] or [/robots.txt robots] or [{{localurl:whatever}} whatever] [06:48:29] Having a page that starts with an underscore scares the hell out of most people. [06:48:44] heh [06:48:47] there are other fun hacks [06:48:56] start a page with an invisible unicode, like zero width joiner ^_^ [06:48:58] _Summer [06:49:44] http://en.wikipedia.org/wiki/%E2%80%8BiPod [06:50:04] The extensible normalization also allows for wiki to make titles completely case insensitive [06:50:38] Splarka: Thanks, I tried it out, and it works fine for the case it tried. There is another situation I'll test in a few minutes time. Hope that goes well too. [06:51:15] if you get desperate you could write an extension to create local links [06:51:32] Do I need to do anything to a test wiki in order for the backup sql file to work on it? Change local settings or import other files too or something? [06:52:07] Splarka: That case there could also be fixed by extending the normalization to strip out those characters [06:53:24] heh [06:53:29] *Splarka throws darts at Dan [06:53:31] think fast! [06:57:36] Splarka: Using a real title field also means that iPod will show up as iPod on Allpages instead of IPod [07:00:25] so tell me [07:01:00] other than that, what advantage does that have over simply enabling lowercase in the first letter like wiktionaries? [07:06:46] Normalization is completely extensible [07:06:55] So you could do just about anything you want to it [07:07:23] You could do per-namespace case sensitivity (There is a Wikimedia wiki which wants it last time I checked) [07:07:50] hi [07:07:57] Extension hacks like ASCII Translit could be done in a proper way which doesn't involve redirects and double pages [07:08:07] how can i limit the categorie-view to 2 rows? [07:08:34] Someone could even decide they want a space to normalize to - instead of _ [07:09:14] *Dantman wishes his computer would stop acting like a slug [07:10:05] Splarka, I tried out {{server}} in the other situation. It does exactly what I need. Once again, thanks for you assistance. Much appreciated. [07:12:13] :/ Bah... User.php [07:15:19] Arg... who do I have to "svn blame" for this one... [07:15:23] d7m: enjoy [07:15:48] dan: I'd focus on that, instead of displaytitle deprecation, as the reason [07:16:21] We'll it's not just displaytitle depreciation [07:16:45] It's the fact that the proper title is something all of MediaWiki will recognize, rather than a little parser output cruft [07:18:13] ... even links? [07:18:39] Linkes are user created, not engine generated [07:18:58] ... [07:19:07] I'm talking about engine generated pages like Allpages, Move, etc... [07:19:08] they are engine parsed though [07:19:27] Ya, but you're not going to override what a user want's the title to display as [07:20:04] That's basically saying that [[IPod|crappy mp3 player]] should render as [[iPod]] [07:20:26] *Dantman twitches in annoyance at User.php [07:20:31] Aaaaaaaaarrrrrrggg... [07:21:05] godwin2: looks like it is hard-hard-coded at 3 [07:21:07] [[iPod]] always has to point to the right place; whether or not Allpages lists it as IPod or iPod is a secondary or tertiary issue. [07:21:35] That was talking display [07:22:08] The proposal seems decent; but as I said earlier, I would get feedback from those with scap powers before investing too much. [07:22:12] If you're talking about iPod and IPod being the same, that's there now, and it'll of course stay unless someone extends the normalization to do otherwise [07:23:12] Though, what I'm annoyed at is how User.php is stupidly using getText instead of getDBKey... *angry twitch* [07:24:12] User.php is entirely coded using "current normal output" instead of "functional output" [07:24:27] 03rotem * r31611 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [07:24:42] 03brion * r31612 10/trunk/phase3/ (3 files in 3 dirs): [07:24:42] Some preliminary work on upload support for the XML importer. [07:24:42] Beginning some refactoring on the general xml code (icky!), with some basic upload support stubbed out. [07:29:05] Can't believe I'm going to have to refactor User.php just to allow use of real titles [07:30:39] Otherwise, if you moved [[User:Username]] to [[User:username]] then Username could no longer login... [08:03:42] 03(NEW) closing ga.wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13266 15enhancement; normal; Wikimedia: Site requests; (thogol) [08:04:16] 03(NEW) Closing ga.wikquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13267 15enhancement; normal; Wikimedia: Site requests; (thogol) [08:13:47] hi [08:33:06] hi had anybody problems getting the mail system from mw for his on wiki startetd°? because i have problems with mine...so maybe it's the same problem i have mw 1.10 [08:33:29] and use the normal mail() from php [08:40:32] oops [08:41:22] or does somebody know where i can find the code fragments where the mail function is implemented? i just wanna take a look how it works [08:41:24] splarka: good morning :) [08:44:41] rar [08:47:15] 03(mod) add DOM friendly importScript and importStylesheet functions into wikibits .js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13232 (10herd) [08:52:55] Database error [08:52:57] A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: [08:52:58] (SQL query hidden) [08:53:00] from within function "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (internal-db.s25580.gridserver.com)". [08:53:08] ^anyone know how to fix that? [08:54:13] I managed to restore the backup file I made to a test wiki but that error is on all pages with images. I did copy/paste the image folder from the main wiki so I don't know... [08:54:17] 03(NEW) conflicts with mediawiki 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13268 normal; normal; MediaWiki extensions: CategoryTree; (jeff.cropp) [08:55:21] is there any way to create a template that will look up [08:56:25] sry, I meant: is there any way to create a template that will look up and fill in certain variables based on something that can be parsed from the article? [08:57:38] for example: my article would be about V For Vendetta and it would automatically fill in the main actors from imdb.com [09:00:05] <_wooz> lo [09:01:56] asdir: DPL can be used to list properties that can be extracted from template use on wiki pages. for more control, you would have to use some data extension (or wven smw). [09:02:33] asdir: bit scaping values from *another* website is another issue - that also raises ethical/legal questions. [09:02:53] (leeching, db-colpyright, etc) [09:05:46] is there an idiot's guide for doing an xml dump? http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki#XML_dump I can't seem to get my main wiki working right on my test wiki [09:06:37] SykoSilver: i'm afraid that *is* the idiot's guide :) [09:06:41] what'S the problem? [09:07:14] have you created AdminSettings.php? [09:08:47] Duesentrieb: Well first I'm not sure if I need to do an XML dump. But I'm getting this error: http://www.dracosphere.com/wikitest/index.php?title=Interface so maybe? Also, I don't know what a command-line tool is... do I use it in SSH or something? [09:09:05] yes, via ssh [09:09:17] which gives you terminal access. aka command line aka shell. [09:09:19] !shell [09:09:19] --mwbot-- 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. [09:09:51] SykoSilver: all i can see on your wiki is "You must log in to view other pages." [09:10:00] Yeah I've already got shell access... I used it to create the backup sql from my main wiki and put it into my test wiki... [09:10:14] ah... well, it says this: Database error [09:10:15] A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: [09:10:17] (SQL query hidden) [09:10:18] from within function "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (internal-db.s25580.gridserver.com)". [09:10:37] SykoSilver: you are using two incompatible versions of mediawiki then [09:10:50] the database schema one expects is not the one the other uses [09:10:57] so you can't use an sql dump to transfer the data [09:11:50] ? Well the rest of the wiki works. Just the pages with images don't show. The backup is from version... 1.10 I think? Then the test wiki that I'm importing it to is the latest version... how else would I transfer the data? [09:12:02] And for the images, I did it through FTP [09:12:18] img_sha1 is a field used for image metadata [09:12:23] it doesn't exist in 1.10 [09:12:35] to transfer data between different version of mediawiki, use an xml dump. [09:12:43] ok [09:12:51] but you could also just upgrade you wiki. there's really no reason not to. [09:13:27] Well I was trying to backup my wiki before upgrading because I didn't want to lose my data [09:13:30] though if you are running 1.10 with imported 1.11 data, and then upgrade to 1.11, i have no idea what happens. it might screw up badly [09:13:38] you have an incnsistent database now anyway. [09:13:54] SykoSilver: yes, making a backup is good :) [09:14:07] the test wiki is a later version than the main one, so I'm importing an older version into a newer one [09:14:10] SykoSilver: you can use my script if you like: http://brightbyte.de/page/MediaWiki_backup [09:14:29] no warranty though. and you need to adjust the pathes at the top [09:14:53] SykoSilver: importing older to newer also causes inconsitencies. [09:15:11] Duesentrieb: do you think it would be possible to take values from a mysql database? As for taking it from other pages: How would that work? (legal concerns are no problem here) [09:15:29] you'd have to import the "old" data in to blank database, and the run the installer/updater of the new version to convert it [09:15:41] hmm [09:15:46] imdb was just an example [09:16:11] asdir: sure you can take them, from a database simple enough. write an extension to do it. or use one of the data extensions, that might be enough. [09:16:31] asdir: as to taking value from other sites: well, err - write an extension to do it? [09:16:56] SykoSilver: i still don't understand what you are ACTUALLY trying to do. [09:17:12] SykoSilver: you seem to be getting yourself into an unnecessarily complicated situation [09:18:16] I want to install the ConfirmAccount extension on my main wiki. Apparently my main wiki is too old of a version of MediaWiki to do so. So I have to update it, but before I do that I have to make sure it's backed up. To really make sure I want to test the back up files on a test wiki [09:18:51] SykoSilver: good idea. but it's a bad idea to use a fresh install for testing the backup of you live wiki. [09:19:14] does anybody know how i can get the "name" of a namespace via php if i have the number!? $wgTitle->getNamespace(); i get the number but i need the written name of the namespace or is there a page where i can look up all possible "functions" on wgtitle? [09:19:29] SykoSilver: do it like this: make a full backup of the database (sql AND xml). import the sql dump again into another database. [09:20:19] what about the XML? and image files? and then would I install the newest version? [09:20:20] SykoSilver: then make a full copy of your wiki directory (everything in it). in the copied directory, go into localsettings and change the database name to the one that contains your backup. and set $wgReadOnly = "BACKUP"; [09:20:56] SykoSilver: the xml dump is just for kicks, really. it's a useful fallback. but you shouldn't really need it. [09:21:07] the image files etc are copied when you do a full copy of your wiki dir [09:21:57] ok [09:22:02] after you have done all that, and your backup wiki is fully working, you can upgrade your live one: set it to readonly too (actually, do that right away, best before doing the backup, so nothing is lost) [09:22:29] then copy the files from the new version over the files of the old version. then run maintenances/update.php [09:22:38] that should be it. look if you can see everything [09:22:55] if all seems ok (including images pages etc), remove the wgReadOnly line to make the wiki writable again [09:25:57] SykoSilver: btw: it doesn't matter which of the two copied you upgrade - you might just as well upgrade the copied version, test it, and after it works, move the live version to another place, and put the updated version into the live spot. [09:26:13] remember that the "other" database is then the "live" one though. [09:26:45] does anybody know how i get the url of a wiki article via php but not just the url becuase logical operators like + are %2B in the url but i need the plus is there a parameter which hold the article name (namespace: Article_name_with_underscores_instead_of_space) or is there a page where i can look up thos ->getnamespace(), etc. functions? [09:27:36] Duesentrieb: Yes, but I'd like to keep the location and everything the same, so I think I'll just go about it that way. Thank you for your help, I'll give this a shot tomrorow. Right now I have to get some sleep for my morning class. Thanks again! [09:28:09] mondschein: $wgTitle [09:28:24] !docs | mondschein [09:28:24] --mwbot-- mondschein: An overview of available documentation about MediaWiki can be found at [09:29:04] hello [09:29:12] hi Nikerabbit [09:29:18] mondschein: specifically http://svn.wikimedia.org/doc/classTitle.html [09:29:24] duesentrieb:$start= 11; $string= $wgTitle->getLocalUrl(); $title =substr( $string, $start );that's what i do now...but like i said if i have an article something with C ++ instead of the plus there is an %2B and i need the damm plus [09:30:03] mondschein: the don't ask for the url. the url uses url-encoding [09:30:21] mondschein: of you want the title's text, ask for the text. of you want the noprmalized db key, ask for the db key. [09:30:41] and all this in the variants with and without namespace prefix [09:30:58] (where the hell does the 11 come from? magic numbers are evil!) [09:31:13] index.php [09:31:19] huh? what? [09:31:43] well $wgTitle->getLocalUrl(); gives me index.php/namespace:article [09:31:52] i need namespace:article [09:31:58] mondschein: it *might*, deopending on a lot of things [09:32:09] a small change in config can result in a completly different rul [09:32:15] wgArticlePath controls this [09:32:15] what might depend on a lot of things? [09:32:24] what the actual url looks like [09:32:25] the index.php? [09:32:36] it could also be index.php?title=namespace:article [09:32:44] or it could be /wiki/namespace:article [09:33:00] or whatever you configure your system to use. don't hardcode knowledge about the current config [09:33:06] it will bite you later, badly [09:33:18] again: the title class has methods for giving you allthe variants of the title [09:33:21] mhm :( [09:33:21] that's what it is for. [09:34:14] you probably want $wgTitle->getPrefixedDBkey [09:34:15] Duesentrieb: would I run the backup script you linked me to in shell? I want to try it sometime [09:34:31] SykoSilver: where else could you run scripts? [09:35:03] You're asking the newbie, lol. But thanks. [09:36:42] duesentrieb: echo $wgTitle->getPrefixedDBkey; doesn't give back any text...i just tried it with echo... $wgTitle->getDBkey (); gives me the artivle name with underscores and the right logical operators [09:37:30] mondschein: err, you are missing the () for $wgTitle->getPrefixedDBkey [09:37:38] you need to *call* the function... [09:37:58] and $wgTitle->getNsText (); the namespace name...so i just have to put them together... [09:37:59] oh ok...ächäm sorry [09:38:06] mondschein: and yes, DBKey has underscoares. use getText resp getPrefixedText to get the "human" version [09:38:20] no i need underscores [09:38:25] good then [09:38:36] i'm fixing a bug of my pdf thing extension i told you yesterday [09:39:17] bah, just kick magnus in hte head until he fixes it :) it is magnus', isn't it? [09:40:26] duesentrieb: thx $wgTitle->getPrefixedDBkey() is what i was looking for [09:56:49] hi there [09:57:33] im developing an apllication based on media wiki software [09:58:40] can anybody read me? [10:00:43] <[blackb]> hi all [10:00:51] Frank_Poppe: No, we can't see you. [10:01:02] ? :p [10:01:07] how can i register [10:01:15] Frank_Poppe: and that's nice that you're making an application. Perhaps you'd like to tell us what your problem is? [10:01:40] i need to create a new namespace [10:01:45] <[blackb]> i have a problem with edit-tool [10:01:53] basically its a wiki dedicated to sport [10:01:59] and we want to create guide users [10:02:08] Frank_Poppe: check the faq [10:02:12] !faq | Frank_Poppe [10:02:12] --mwbot-- Frank_Poppe: Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [10:02:24] <[blackb]> where i must copy MediaWiki:common.js and MediaWiki:Edittols.js ? [10:02:32] lol [10:02:35] i looked into it [10:02:41] but didnt find it the first time [10:02:44] <[blackb]> wich folder when i generate it [10:02:44] sry about that [10:02:58] [blackb]: no folder. wiki pages. with exactly those names [10:03:05] !js | [blackb]# [10:03:05] --mwbot-- [blackb]#: I don't know anything about "js". You might try: !javascript [10:03:12] !javascript | [blackb] [10:03:12] --mwbot-- [blackb]: To set up custom javascript on a wiki, edit [[MediaWiki:Common.js]] as a sysop. If $wgAllowUserJs is true in LocalSettings.php, you may also edit the /monobook.js (assuming your skin is monobook) subpage of your userpage. [10:03:42] hello everyone. I got an image that I want to have placed above the tabs on top (the article, discussion, edit, etc tabs). How would I do that? [10:03:55] and so the extra namespaces start at 100 right? [10:04:09] Frank_Poppe: by convention, yes [10:04:17] yeah i understand [10:04:22] thx and sry again for that [10:04:22] Frank_Poppe: it will not explode if you start at 700 [10:04:28] ;) [10:05:03] Noven: that is not easily possible, because the layout used by monobook is pretty rigid. [10:05:21] Noven: it insert another element above the tabs you would have to change a lot of values in several css files [10:05:33] well damn [10:05:36] <[blackb]> $wgAllowUsersJs is true thet 2 files is in wiki folder [10:05:44] <[blackb]> but i can't see nothing [10:05:53] [blackb]: again: they are NOT FILES [10:05:56] is there a way I can put it on the main page, but above the text that says Main Page? [10:07:01] Noven: edit MediaWiki:Sitenotice [10:07:08] <[blackb]> Duesentrieb: how can i solve then? [10:07:10] Noven: what you put in there will shopw opn top of every page# [10:07:29] [blackb]: edit or create the approipriate wiki pages. read what i told you via mwbot. [10:07:36] cool thanks Duesentrieb [10:08:15] Noven: it'll not be above the tabs though, i think. actually, i don't remember. try it :) [10:08:16] <[blackb]> mwbot what is? [10:08:28] ok, again [10:08:29] !javascript | [blackb] [10:08:29] --mwbot-- [blackb]: To set up custom javascript on a wiki, edit [[MediaWiki:Common.js]] as a sysop. If $wgAllowUserJs is true in LocalSettings.php, you may also edit the /monobook.js (assuming your skin is monobook) subpage of your userpage. [10:08:54] [blackb]: it telly sou to edit a wiki *page*. [10:09:04] javascript can be configured by editing specific pages. [10:09:07] <[blackb]> ah tnx now i m looking [10:12:21] <[blackb]> i dont' have this file [10:12:38] it is NOT A FILE [10:12:49] no, the page doesn't exist per default. create it. [10:13:10] <[blackb]> monobook.js i will create then [10:14:17] MediaWiki:monobook.js [10:14:20] the prefix is important [10:14:31] !namespaces | [blackb] [10:14:31] --mwbot-- [blackb]: For help with understanding and manipulating namespaces, please consult . See also !extranamespace [10:21:26] <[blackb]> i see but i don't undestand where could add like wikipidia istruction inside monobook.js [10:21:42] hi if i push send password in my wiki it sayws that the wiki sended a new password to my email adress but i can stoll log in with my old password... has anybody an idea what's the problem? [10:23:59] in Local Settings.php i have setted $wgEnableEmail= true; $wgEnableUserEmail= true; $wgEmailAuthentication = true; $wgUserEmailUseReplyTo=true; $wgEmergencyContact = "my email adress"; $wgPasswordSender = "myemail adress"; something i forgot? [10:26:55] mondschein: no problem. this is the intended behaviour. otherwise, *I* could request a new password for you, and your old password would stop working. that would suck. [10:27:53] mhm so if i request a new password the old and new work? [10:27:55] the new password you get in the mail is *also* valid, and will stay valid until... uh, i think until you manually set a new password. [10:28:25] ah ok... you don't know where i can look up the email code? [10:28:36] UserMailer [10:29:20] mondschein: why? is no mail being sent? [10:29:27] nope [10:30:12] there is no error from the wiki side...if i register it says confirmation code is send via email bla...but i don't receive any emails [10:30:56] mondschein: make sure sendmail works right on that machine, then [10:31:44] so i looked up php.ini and found out that smtp was localhost which was wrong in my case so i filled in the right smtp adress...but still no email...i think it's the machine...but i don't know where to look for the errors...i created an error log in php.ini log errors on...but the log is empty :( [10:31:47] mondschein: mediawiki (or rather, php) uses sensmail via the command ling. you need to have an MTA daemon running on that box for it to work (i.e. postit, exim, or some such= [10:32:20] mondschein: smtp? huh? php.ini has an smtp setting? odd. not used/needed for senmail. [10:32:31] ja it has [10:32:44] the parameter is called $smtp [10:33:21] mondschein: you can tell mediawiki to use smtp directly though. much slower, but will work without a local MTA [10:33:28] !smtp [10:33:28] --mwbot-- See for information about configuring MediaWiki to use SMTP for sending mails, instead of using the sendmail interface. [10:33:52] uh, $smtp in php.ini? sure it has a $ up front? because in an ini file, it shouldn't... [10:34:09] i know...but i thought that if i use the wgsmtp array i have to install pear mail and that...mom i look that smtp thing up [10:34:21] yes you do [10:34:36] http://www.phpcenter.de/de-html-manual/ini.html [10:34:39] either you install pear mail, or you have a local MTA [10:34:52] *something* has to actually send the mail, after all [10:35:10] oh [10:35:36] ehm they say it'S only to be used under windows [10:35:53] mondschein: also, the page you pointed to sais for SMTP: "Wird nur unter Windows benutzt:"... and also: tjhere's not $ there. [10:36:06] :( i just read it myself [10:36:10] well [10:36:25] mondschein: again: use pear mail with wgSMTP, or, better, set up a local mail server and use php's standard setup [10:36:48] having a local mail server is standard for unix/linux servers, especially web servers. [10:36:55] (not necessarily for desktop machines) [10:37:14] seting them up is a bit painful though, i have failed at it myself :) best find someone who has done it before [10:38:14] duesentrieb:but i can't install anything on that machine because it's all messed up...and pear mail is not installed that's why i'm trying ti use the nromal basic mail features which should actually work because mail() is there and with mail i should be able to send the email to the smtp "machine", right? [10:38:36] no. [10:38:47] why not? [10:38:48] standard mail() uses a local MTA [10:39:11] aka "sendmail interface" [10:39:14] if there is no local MTA, then it does not work [10:39:40] 03(NEW) Introduce MediaWiki:Uploadfooter message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13269 15enhancement; normal; MediaWiki: User interface; (brianna.laugher) [10:40:32] mhm my server is in a network...so i actually have to tell the local mta to pass every mail on to the smtp server right!? isn't that possible? [10:40:52] mhm i think there is a local mta [10:40:55] an MTA *is* an smtp server. [10:41:07] and passing messages to other smtp servers is exactly how email works, yes [10:42:04] mhm ja i know... [10:42:56] actually, the SMTP system is a bit confusing. it screws with my head every time too [10:43:24] right now i'm no longer sure if that what you should have running locally is an MTA or an MSA - bit in practice, I think it's both [10:43:30] http://de.wikipedia.org/wiki/SMTP [10:43:47] but that would mean if a big company had many diffrent server the most likly only have one "email" server... [10:44:15] mondschein: no. [10:44:24] thea would have one mail agant on every server. [10:44:34] and they all forward to one central mail server [10:44:43] god i can't type [10:45:12] mondschein: having a mail agent running locally on every box is part of the unix way of things. don't ask why. [10:45:40] mhm ok....i have to read through the article to get my thoughts straight think i mess up everything...(ah ok...i'm not tooo familiar with unix) [11:14:26] <[blackb]> Duesentrieb: i can't solve [11:21:30] duesentrieb: i'm always thinking that if i have a local network in this network there is one machine which has internet access..isn't it possible to send emails via the localnetwork to the machine which has internet access? and if it's possible how would i do that? that's what i meant above the whole time [11:22:27] err. in a local network, usually all machines have internet access?... [11:23:38] if you do not want to set up a local MTA, you can use one at a different machine (a "SMTP server"). To do that, you need to use an SMTP client, in this case, pear mail. [11:23:46] mhm mhm and if for security reason access for some machines are blocked?....mhm dunno i'm lookin' for tutorials but couldn't find useful ones... [11:23:59] how to embed flash movies in media wiki [11:24:36] mondschein: if the machines can not connect outside the lan, and you want to use an smtp server that is outside the lan, well then you are out of luck. [11:25:28] you would need to use a realy on one machine in the lan that is able to connect. that relay would, again, be an MTA. and if that is not on you local machine, you need, again, an smtp clinet to talk to it. [11:26:26] mondschein: it's always the same: either you have a local mta, or you use direct smtp using pear mail. in either case, you would relay message to some other mta (aka smtp server) which can be in your lan or wherever. [11:26:48] 03(NEW) "GNU diff3 not found" but it installed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13270 normal; normal; MediaWiki: Installation; (im) [11:27:03] the config where to relay the messages to would be in the wiki config in case of direct smtp, and in the mta's config in case of a local mta. [11:27:49] Hi, wondered if anybody here could help, I want to set up a collaborative writing wiki, but do not (I believe) have the resources to host a wiki. Could anybody point me to somewhere that I host my project? [11:28:34] Jonny88: you can install mediawiki on any webspace with support for php and mysql. or you can use a wiki-host that offers it pre-installed. [11:28:49] duesentrieb:if i use local mta then i don't have to set the smtp array and if i use pear mail i have to fill it...and if my server isn't able to send emails directly then i have to use pear mail...ok i hope i understood it now in the right way [11:28:51] Jonny88: one of the better options would be wikia [11:29:19] Jonny88: that gives you a freewiki with good support and a huge community, under some conditions, like reqsonably free licensing of content, irrc [11:29:41] sounds good, just taking a look, thanks [11:30:30] mondschein: close. if you server is not able to send mail directly outside the lan, you have to configure it to send the mail somewwhere inside the lang. if you do that in the smtp array, or in the config if your local mta, depends on which setup you prefer. [11:30:46] Jonny88: afaik wikia already has at least one collaborative writing wiki [11:32:38] is 'Scratch pad wiki labs' what your talking about? [11:33:27] Jonny88: check this out for example: http://fiction.wikia.com/wiki/Main_Page [11:33:59] Jonny88: no, what i was talking about is http://www.wikia.com/wiki/Wikia (the fixtion/novela wiki is part of that) [11:34:16] Jonny88: iirc, scratchpad is part of wikia too. a place to try wiki ideas. [11:34:54] yea, right http://scratchpad.wikia.com [11:36:25] cheers, can see that I just add my ideas to the fiction wiki as a few pages under my own catagory, cheers, much like what I was trying to do [11:46:01] hallo, can anybody please tell me what those customized tables like "Taxoboxes" are called. I want to define my own, but I don't know what to search for in the documentation. [11:46:42] snopy1alpha: You can find the wikicode for them on the template pages [11:46:46] Want an example? [11:46:52] yes please [11:47:02] Hold on a sec, let me find a box [11:47:53] Aha, perfect. The infobox meta-template is at http://en.wikipedia.org/wiki/Template:Infobox [11:48:07] There's some good documentation there to get you started, and a sandbox if you want it [11:48:19] thanks alot, I will check it out [11:48:32] No problem; good luck! :) [12:16:39] I'm trying to update a rather old Wiki installation (running 1.4.2) to the current version. One thing that breaks is the custom skin, which does this: http://rafb.net/p/XTy1l989.html [12:17:34] the issue is that the parser interface changed, and that fails due to mOptions being private. I only need the links to be converted to HTML, nothing else. Any way to do that? [12:30:42] hi [12:31:44] i was wondering if i can change the sender address of e-mail messages? because now it's using www-data@`hostname -f` however this hostname is ending with a tld of .corp so mailservers on the internet will not be able to resolve this name, and thus reject the mail, where can i change this e-mail from address setting? [12:32:43] stevil: not sure, but i see a $wgPasswordSender config option [12:32:54] cool [12:33:24] stevil: you might also want to set $wgEmergencyContact and maybe also wgServer and wgServerName [12:33:56] though the kast bit also depends on your webserver setup [12:34:00] *last [12:34:19] Both are already set to a existing e-mail address [12:35:07] so looks like mediawiki is not using it ... i'm trying to use the "resend password" functionality and that's using www-data@`hostname -f` [12:35:51] it should be using $wgPasswordSender [12:36:14] make sure it's not set at the top of localsettings - setting applied before the defaults are included have no effect [12:36:32] duuuesentrieb [12:36:40] Werdna: hm? [12:37:02] stevil: anyway, it the problem *could* also be with your senmail/qmail/exim/whatver setup [12:37:22] stevil: it could be overwriting the sender that the wiki sets [12:37:50] Duesentrieb: yeah i'll have a look at that thanks [13:02:04] has the renderer on the live wikis just been changed? i'm seeing a lot of new vertical whitespace on en.wiktionary.org [13:05:30] hippietrail: ask on #wikimedia-tech [13:05:44] thanks [13:05:52] hippietrail: i'd expect a mail on wikitex-l if it was so (havn't checked) [13:06:04] err, wikitech [13:06:23] *Duesentrieb shakes fist at Knuth [13:06:53] Hi there, I've just come across the 'page access restriction' patch and it seems to be what I'm looking for, however there is only a patch available for mediawiki v.1.11.1, Is it likely that it'll still work with the current version or have a lot of things changed? [13:08:06] 1.11.1 *is* the current version [13:08:07] yes, it's likely [13:08:15] Duesentrieb: not any more [13:08:19] 1.11.2 went out yesterday [13:08:21] oh, 1.11.2 [13:08:24] yea, i see [13:08:30] arpzz: yes, it's very likely [13:08:33] well, as long as the patch applies cleanly, i wouldn't worry [13:08:35] not a lot has changed [13:08:35] Ok thanks, i'll give it a try [13:08:55] minor version bumps are generally just security patches [13:09:15] _generally_ [13:09:16] arpzz: better though use an extension that doesn't require patches :) [13:09:22] sometimes other stuff leaks in there, too [13:09:32] Duesentrieb: I'm not sure it's achievable [13:09:32] (why would you need a patch for this?...) [13:09:36] Duesentrieb: is there a page access restriction extension? I think there might be [13:09:50] e_s_p: several [13:09:54] arpzz: it should be [13:10:11] Duesentrieb: I'll look a bit harder then :) [13:10:12] Good to know [13:10:20] the userCan hook is pretty powerful. and you can attach arbitrary properties to the ParserOutput from some parserhook easily enough [13:10:32] !access | e_s_p, arpzz [13:10:32] --mwbot-- e_s_p, arpzz: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [13:11:03] i for one prefer Lockdown (because i wrote it), but that'S just per-namespace [13:11:12] which does make things celarer qand more organized, imho. [13:11:35] I don't understand that Duesentrieb, [13:11:38] Gee, that's neat [13:11:47] Can you like add a page to a namespace or? [13:12:05] arpzz: all pages reside in exactly one namespace [13:12:08] arpzz: it means, "go read this stuff at this URL." [13:12:09] !namespace | arpzz [13:12:09] --mwbot-- arpzz: For help with understanding and manipulating namespaces, please consult . See also !extranamespace [13:13:02] I didn't mean that bit e_s_p :P I meant his extension [13:13:19] If I can assign namespaces to pages upon creation then I can achieve what I want with 'Lockdown' [13:13:24] but to read :) [13:14:35] 03(NEW) Add the '=?UTF-8?Q?Port=C4=81ls?=' namespace and a related '=?UTF-8?Q?Port=C4=81la=20diskusija?=' namespace to the Latvian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13271 15enhancement; normal; Wikimedia: Site requests; (papuass) [13:16:01] *Duesentrieb kicks wikibugs [13:16:56] Duesentrieb: Ok from what I understand from the url, I can create a new namespace and make restricted pages belong to it. Then presumably I can use your extension to only grant users of a certain group access to that namespace (and therefore the pages themselves)? [13:17:16] arpzz: indeed. [13:17:19] !e Lockdown [13:17:19] --mwbot-- http://www.mediawiki.org/wiki/Extension:Lockdown [13:17:25] Sold. [13:17:27] there's an example including a custom namespace [13:17:30] Thanks very much [13:17:48] arpzz: the only caveat is: a page belongs to ONE namespace. namespaces are not like tags/categories. [13:18:24] Duesentrieb: Can a page be a member of a namespace & have categories though? If so it's no problem [13:18:29] sure [13:18:59] as i said, all pages are members of a namespace. always. it's just that the "default" namespace has an empty name (i.e. no prefix) [13:19:09] Ok [13:19:30] the big red sign at the top, how seriously do I need to be taking that? (about exposure of confidential data) [13:20:19] arpzz: if you plan to have CONFIDENTIAL data on your wiki, very seriously. at applies to all of mediawiki, no matter what extension you use. [13:20:24] !secrets [13:20:24] --mwbot-- MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [13:20:47] arpzz: i plugged all gaping holes i know of, but ther emay be more [13:21:04] (one turned up not too long ago, involving redirects - see the bottom of the lockdown page) [13:21:29] arpzz: anyway, really, expensively confidential data should not be on qa web server, period. [13:21:37] Duesentrieb: hm, the only other option I have is to run two of them, one behind the firewall and one outside [13:21:53] Duesentrieb: you're doing a bit of support, eh? [13:21:55] arpzz: that's probably a much better idea! [13:22:00] or just .htaccess [13:22:04] *DireFog is trying to fix a setup of three wikis running out of two DBs. Don't. [13:22:06] Werdna: yea... my way of procrastinating [13:22:10] hehe [13:22:15] yay [13:22:22] DireFog: indeed. either use three dbs, or one [13:22:26] let me ask my question again... [13:22:29] I'm trying to update a rather old Wiki installation (running 1.4.2) to the current version. One thing that breaks is the custom skin, which does this: http://rafb.net/p/XTy1l989.html [13:22:32] the issue is that the parser interface changed, and that fails due to mOptions being private. I only need the links to be converted to HTML, nothing else. Any way to do that? [13:23:31] well, we have a public side accessible from a wiki install with editing ripped out and one full-features with server-side access control, and then an internal one [13:24:09] DireFog: you must be doing some evil black magic there. there's probably a much better and completly different way to do that now. but i try to stay away from the parser, it's evil and lives on the souls of programmers. [13:24:13] 03(mod) Add the '=?UTF-8?Q?Port=C4=81ls?=' namespace and a related ' =?UTF-8?Q?Port=C4=81la=20diskusija?=' namespace to the Latvian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13271 +shell (10raimond.spekking) [13:24:50] DireFog: I think you can get most of what you want from the database [13:24:52] arpzz: well, if you have SECRETS to protect, do not put them on a box that is accessible from the wild internet. at all. [13:24:58] look at pagelinks and external links [13:25:05] arpzz: physical layer firewall ftw :) [13:25:09] Duesentrieb: medium- to long-term, I'll probably replace the public side with something like Joomla altogether, only keeping the internal Wiki [13:25:14] DireFog: in other words, you don't have to re-parse [13:25:31] Duesentrieb: i'm not really sure it's anything particularly major [13:26:00] Duesentrieb: well, in fact, passwords for machines in hospitals containing patient data, that is pretty serious thinking about it :P [13:26:01] I don't think it's a major secret that user management was an afterthought in MW [13:26:18] User management is awesome in MW [13:26:19] arpzz: err, yes. that's serious. [13:26:21] mmm [13:26:27] You're just using the software for the wrong thing [13:26:33] Which is sad, but people insist on doing it [13:26:42] arpzz: i do NOT recommend to use my extension, or anything related to mediawiki, to protect that kind of data. [13:26:51] "This hammer is really bad at cutting wood! Stupid hammer!" [13:26:54] I inherited a bastardized installation of MW 1.4.2 :-( [13:26:59] lol e_s_p [13:27:09] well, three installations as mentioned before [13:27:13] Duesentrieb: perhaps i'll go with the firewalled one then [13:27:13] DireFog: yikes [13:27:28] arpzz: yes, do that. [13:27:41] DireFog: but seriously, you can use the Skin's link-making methods (inherited from Linker) to do what you need [13:27:42] arpzz: there's no reason to have access to that info from the outside anyway [13:27:43] let me say it like this, upgrading to 1.11.2 does not work without some ALTER TABLE magic, and then there are still problems [13:27:46] I think you're just trying to get a list of the links from the current page, right?Y [13:28:02] arpzz: especially not since logging into mediawiki typically involves sensing your password plain text. [13:28:04] DireFog: did the update.php script not work? [13:28:13] Duesentrieb: SSL :) [13:28:23] 1.4.x -> 1.5.x is the big step [13:28:26] Werdna: possible [13:28:27] Duesentrieb: thanks for the help, I will probably still check out your extension because there's some things that wouldn't be disastorous, such as software training things and the like that wouldn't be needed by others [13:28:34] e_s_p: in the 1.4 install, the primary keys were not set to auto_increment [13:28:51] Duesentrieb: Well it's an attempt at unifying things, one place for all the information, but i guess there has to be limits [13:28:52] DireFog: I'd probably use the upgrade1.5.php script first, to get up to 1.5 [13:29:02] Then do a big step from 1.5 to 1.11.2 [13:29:10] DireFog: upgrading from 1.4 is tricky in many ways. there's a major schema change to deal with, and a change in character set. and in user management, etc etc. [13:29:26] I have it running by now [13:29:42] DireFog: i would recommend to make a dump of the content using mwdumper before trying anything. that way at least the content is safe (much safer than with a mysql dump) [13:29:51] DireFog: what I'm trying to say is that if you did a whole bunch of ALTER TABLE statements, I'd be worried [13:29:54] except for the skin and the fact that HTML handling has become more restrictive, it works amazingly well [13:30:04] e_s_p: upgrade1.5.php is NOT A GOOD IDEA. [13:30:07] Duesentrieb: "much safer"? That's a pretty bold statement [13:30:13] Duesentrieb: why not? [13:30:23] I used it for Wikitravel, worked great [13:30:27] http://rafb.net/p/09bKiA16.html [13:30:32] those were the DB changes [13:30:38] (so far) [13:30:46] on freebsd.. i did cvsup and my mediawiki version is still 1.11.1 but i was expecting it to become 1.11.2 ... i don't have mediawiki installed.. how do i update this port? [13:31:03] e_s_p: because it does not convert your content, but introduces stubs for deferred conversion, etc. it only works with the right setup, etc. it was manyl a workaround for huge sites like wikipedia, where converting in one go was too expensive. [13:31:15] Duesentrieb: I'm on an experimental install anyway, I can nuke&pave everything and try again if I screw up [13:31:37] m1chael: don't install mediawiki from ports/packages [13:31:37] git is great for that stuff [13:31:42] m1chael: disribution bundles are not supported. use the tarbal, or bug the project maintainer. [13:31:43] hmm the renderer on en.wiktionary seems to have just reverted [13:31:43] m1chael: it's much easier to do a normal install [13:31:44] Duesentrieb: ah, OK. [13:32:39] e_s_p: you mentioned link-making functions in the skins. where can I find docs on that? [13:32:54] 03(NEW) Rename Wikipedia namespace in Latvian wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13272 15enhancement; normal; Wikimedia: Site requests; (papuass) [13:33:27] 03(mod) Add the '=?UTF-8?Q?Port=C4=81ls?=' namespace and a related ' =?UTF-8?Q?Port=C4=81la=20diskusija?=' namespace to the Latvian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13271 (10papuass) [13:33:52] i like installing from ports because i was told its the right thing to do [13:34:27] DireFog: I think only in the source [13:34:29] for binaries it's probably a sound idea but I'm not sure why you'd do it for a php project [13:34:31] Check out Linker.php [13:37:45] m1chael: from the distribution's perspective, it's the right thing to use their package. using 3rd party stuff screws with their system. from our perspective it'S the right thing to use our tar ball. 3rd party stuff screws with our system. [13:40:28] I'm getting this problem when editing LocalSettings.php, afterwards i just get a blank page. I read that this could occur to using windows notepad, but im not [13:43:22] Any clue? :S [13:47:26] !debug | arpzz [13:47:26] --mwbot-- arpzz: For information on debugging (including viewing errors), see . [13:47:31] !bom | arpzz [13:47:31] --mwbot-- arpzz: The byte-order mark (BOM) is a special character added to files by some text editors, most notably, by Notepad. It is unnecessary and breaks PHP code. You should not use Notepad to edit PHP files. Alternatives for Windows include Notepad++, SciTE, EditPlus, and UltraEdit. [13:48:00] Programmer's Notepad is fairly nice as well [13:48:05] arpzz: the simples check is to run LocalSettings.php rhough php -l on the command line [13:48:17] 03(NEW) nbsp before categories colon on fr - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13273 15enhancement; normal; MediaWiki: Page rendering; (alistrius) [13:48:23] arpzz: if it's a simple syntax error, it'll tell you [13:48:29] I much prefer kate over forwarded X [13:48:46] i prefer kate locally, and vim over ssh :) [13:49:13] mmm, kate [13:49:19] flyingparchment: not you. [13:49:31] Werdna: i didn't know you felt that way [13:49:51] uh oh [13:49:51] iiit's in the open now [13:51:41] well i used kate locally [13:52:00] you used kate? [13:52:01] poor flyingparchment [13:52:33] I was gentle [13:59:51] I'm disliking Kate (or rather kate-part) more and more [14:04:41] Thanks again all [14:04:54] quick question, if i enable users to have a picture, which way to store them would be the best, in blob on the db or in a folder and then store the pic_name in the db? [14:06:33] filesystem [14:06:57] ok thx [14:07:08] which is best depends on what your requirements are [14:07:27] storing files in the database is easier for you and the user (in terms of replication/backup) [14:07:33] but it makes serving the files to clients slower [14:14:13] as long as you keep the file references sane (e.g. relative to the project root), it shouldn't be hard to maintain [14:15:05] and really, filesystems have a long history of being tuned for storing and retrieving arbitrary blobs of datam while databases don't. [14:15:32] i'm wanting to make a skin, based off monobook, but i hear some stuff about "SkinTemplate" being icky. what's the other option i have to accomplish this? [14:16:01] well [14:16:13] at certain scale backing up filesystems becomes easier [14:16:15] and replicating :) [14:16:27] cause data transfer can be out-of-bounds for regular metadata replication stream [14:16:28] mmmm [14:16:34] Is there any way to fetch special pages via the API? [14:16:38] <[blackb]> i download from wiki Mediawiki:Common.css Mediawiki:Edittols.js nad other files [14:16:39] <[blackb]> but when i open my wiki server i can't see nothing [14:16:39] <[blackb]> i don't know where i must put Mediawiki.css thet i download from wiki server [14:16:39] <[blackb]> i search on my linux another file called MediaWiki:Common.css but i don't have this file to repla [14:16:59] simonrvn: i've never heard skintemplate described that way. the other ways are, but the template is quite clean [14:17:03] <[blackb]> to replace [14:17:26] flyingparchment: ok, thank you [14:17:38] i'll take a closer look then [14:18:13] <[blackb]> flyingparchment: could you help me please^ [14:18:25] [blackb]: no. i have no idea what you're talking about [14:19:31] [blackb]: it's not a file, it's in the wiki itself [14:19:43] <[blackb]> i want add other tool for edit [14:19:52] <[blackb]> on my wiki [14:20:08] <[blackb]> http://www.mediawiki.org/wiki/Extension:CharInsert i m looking thet [14:21:17] <[blackb]> simonrvn: yes but where i must put MediaWiki:Common.css now i put it in wiki folder [14:21:37] in the wiki [14:21:48] not the FS [14:24:27] <[blackb]> yes but i must realize http://en.wikipedia.org/wiki/Mediawiki:Edittols [14:24:34] <[blackb]> i m searching to do thet [14:25:18] <[blackb]> sorry thet http://en.wikipedia.org/wiki/MediaWiki:Edittools [14:26:34] yes, and it goes in the same place on *your* wiki [14:27:24] (you'll need to change some things in there too, so that the images and other things don't request stuff from commons) [14:28:03] <[blackb]> inside my monobook skins? [14:29:03] no: http:://yourwiki.domain.tld/Mediawiki:Edittols [14:29:10] s,::,:, [14:34:08] <[blackb]> i m looking the source of the file [14:34:38] <[blackb]> doing thet you thell me [14:37:35] 03(mod) nbsp before categories colon on fr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13273 +comment (10raimond.spekking) [14:38:17] *DireFog decides to try and rape the sidebar [14:40:33] 03(mod) Transfer some Features from DPL to - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13151 (10dasch_87) [14:41:08] <[blackb]> simonrvn: could you explain me plz? [14:43:57] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10N/A) [14:45:54] 03ialex * r31613 10/trunk/phase3/ (RELEASE-NOTES includes/LogPage.php): (bug 13012) Use content messages for block options when generating the rc entry [14:46:54] 03(FIXED) Use content messages for block options when generating the rc entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13012 +comment (10alex.emsenhuber) [14:58:33] i found a fun bug in firefox [14:59:08] if you set a:hover { font-weight: bold;} and the extra width causes the line to wrap, it'll wrap the line so you're no longer hovering over it. then since it's not bold anymore, it'll unwrap it. then it'll wrap again... etc [14:59:18] example: http://www.quadratrix.be/opensource_material.html (hover over the links) [14:59:42] 03raymond * r31614 10/trunk/phase3/ (14 files in 8 dirs): [14:59:42] * Add links to page and file deletion forms to edit predefined delete reasons [14:59:42] This makes the forms a bit more consistent to special:blockip [15:00:50] 03simetrical * r31615 10/trunk/phase3/RELEASE-NOTES: Spelling [15:01:57] 03simetrical * r31616 10/trunk/phase3/includes/LogPage.php: More typos [15:09:13] 03simetrical * r31617 10/trunk/phase3/skins/ (4 files in 3 dirs): Use shared.css for what it's supposed to be used for. If Chick really doesn't want this (was this just an oversight or was it intentional?), it can override it manually. RTL is still overduplicated. [15:11:56] 03(mod) API error with MW 1.11.1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13263 (10professorminh) [15:26:04] hello. where can I find information about how I can remove ugly urls in my wiki? [15:26:04] 14(INVALID) API error with MW 1.11.1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13263 +comment (10roan.kattouw) [15:27:10] where can I find information about how I can remove ugly url in my wiki? [15:27:41] anyone know of a script or extension that checks for broken external links (i.e., using the externallinks table)? [15:27:49] !shorturl | weiser [15:27:49] --mwbot-- weiser: 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 [15:27:51] broken as in 404 [15:28:44] thanks! [15:34:42] does mwbot have an index? [15:35:28] !help [15:35:28] --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 > [15:36:01] aha: http://www.gossamer-threads.com/lists/wiki/wikitech/54578?search_string=broken%20link;#54578 [15:36:13] zocky: http://tools.wikimedia.de/~amidaniel/botbrain.html [15:36:15] discussion about "external link checker" [15:36:49] ialex, it would be nice if it could send a list of all keywords as a PM [15:37:37] zocky: it supports PM, but not sending a list of keywords, open a section at http://www.mediawiki.org/wiki/Mwbot [15:37:50] will [15:39:02] zocky: why? isn't he webpage good enough? [15:39:49] Duesentrieb, so that somebody who comes here and learns about the existence of the bot can research further by themself, without needing to ask [15:41:15] zocky: !help gives the link to the help page, the help page has the link to the bot brain at least twice. [15:42:20] Duesentrieb, that's following 2 links through 2 programs. not very user friendly :) [15:42:26] !help [15:42:26] --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://tools.wikimedia.de/~amidaniel/botbrain.html > [15:42:29] fixed. [15:44:10] <^demon> http://pastey.net/83412 - I'm trying to extract the number in a port in a URI. (Like :8080 on some), any clue why this won't work as intended. The top regex I nabbed from the IETF website, the bottom is mine. [15:44:13] Duesentrieb, the bot could also just say "http://mediawiki.org/wiki/User manual", and then there's no need for the bot webpage or for the bot to say anything else on IRC, right [15:48:47] 03rotem * r31618 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [15:50:23] hi people [15:50:36] can anyone tell me how you can edit the IP addresses on the history page [15:50:37] ???? [15:51:53] extractikor, edit the database directly. [15:51:56] is there a mediawiki tool that does it? [15:52:09] It's called "mysql". Or phpMyAdmin if you prefer a web interface. [15:52:20] Go to the revision table, find the right rows, update them. [15:52:35] There's no MediaWiki web interface for rewriting history, anywhere. [15:52:47] *^demon thinks that might make an interesting extension. [15:52:55] Simetrical, how about the script that reattributes edits to another user? [15:53:11] zocky, not a web interface. ;) [15:53:24] Simetrical, is it easy to just delete the page and start over? [15:53:24] Simetrical, yeah, but better than editing the database manually [15:53:37] Oh, you mean for the present case? I don't think that works for IP addresses. [15:53:45] extractikor, quite possibly. [15:54:06] extractikor, is this your own wiki? [15:54:25] are you an admin on it? and do you want to hide IPs from everybody or just from non-admins? [15:54:54] ah, questions, questions [15:55:09] the problem is that users keep skipping over the login warning [15:55:19] and then end up complaining that their IPs are displayed [15:56:09] extractikor, you can delete individual revisions [15:56:15] <^demon> Then disable anonymous editing. [15:56:20] it turns out its easier to just delete the whole page [15:56:26] good suggestions! [15:56:37] extractikor, delete the page, and then undelete revisions that weren't made by IPs [15:56:39] Also make the warning bigger. [15:57:06] <^demon> $wgGroupPermissions['*']['edit'] = false; [15:57:12] <^demon> ^ Put that in your LocalSettings.php [15:57:35] in general, having an option to display md5hashes of IPs instead of IPs themselves might be a good idea for some installs [16:00:18] <^demon> zocky: Any insight into that pastey I put above? [16:02:01] ^demon, looks too complicated for the purpose [16:02:45] <^demon> I was thinking that too. I was going to just grab the :xxxx part of the URI, but I considered the posibility of that same pattern being used later in the path. [16:03:00] <^demon> Although, it would be the /first/ match, so I could still easily get it. [16:03:11] ^demon, what do you get as $4 in the first regexp? [16:04:22] <^demon> It's /supposed/ to be the www.whatever.com part of the URI, anything between the // and the / [16:04:26] btw, I usually do s/..(...)..(...).../$2/, if I'm only interested in one part of the string [16:05:07] zocky, MD5 hashes of IP addresses are worthless. [16:05:11] it gets too confusing with all the helper variables :) [16:05:27] It would take half an hour to brute-force all of them, and that would mainly be writing out the 16GB file to disk. [16:05:48] Anyone know how to use the upload action from the Vodafone Api? [16:05:54] Simetrical, it can be anything as long as you get the same thing for the same IP [16:06:06] zocky, and it can be broken in the same way as long as you get the same thing for the same IP. [16:06:26] Any operation that you intend to be reasonably fast can be executed four billion times in a relative short period. [16:06:38] Simetrical, unless you're storing random magic values for each IP, I guess [16:06:43] which would be impractical [16:06:49] And crackable. [16:06:53] Possibly. [16:06:57] crackable how? [16:07:13] Well, okay, not fully crackable unless you get the database, or the seed is weak. [16:07:25] But you can still get a considerable amount of information. [16:07:44] For instance, for dynamic IP addresses, you can just try editing with a ton of different IPs and build up a list. [16:08:21] An AOL user could thereby build up the hash of all AOL IP addresses that are assignable to him, say, but just repeatedly editing and checking actual the IP address used (which should be possible). [16:08:36] Simetrical, the point is more that you can't simply look up who IRL made a certain edit without going through a bunch of trouble [16:08:47] You can't do that anyway with just an IP address. [16:09:00] You have to go to no small amount of trouble to link it to a real person, in most cases. [16:09:18] And a break-once, break-everywhere solution is not going to much add to that trouble. [16:09:29] It is, however, going to confuse people who want to do things like range blocks. [16:09:54] Simetrical, people who can do range blocks are admins and can be shown the IPs in most setups [16:10:37] Well, then you're reducing the security even more, and the openness too (in terms of giving different people different privileges/access to different info). [16:11:27] Simetrical, i imagine this on a small semi-private wiki where there's 1-2 admins [16:12:02] Well, look, if you're giving the IP to the admins anyway, why don't you just do like most blog software and so on, and just ask for a name to associate with the edit? [16:12:04] which, I'm guessing, is a fairly common setup [16:12:15] With (unregistered) put after it and so on. [16:12:22] yeah, that's an option [16:13:17] it makes it impossible to track edits from the same IP for non-admins, though, which may or may not be what one wants [16:16:40] ^demon, there's an online thingy for testing php regexps somewhere, but I can't find it [16:17:12] ah, http://www.regexp.net/ [16:20:30] hey, ^demon, your regexp is totally broken :P [16:20:50] ^demon, at least the one in pasty ... you're not escapeing "//" [16:21:01] change starting and ending / to | and it works [16:21:53] Uh, using a regex special char for the delimiter is probably not best? [16:22:17] <^demon> zocky: What about parse_url()? [16:22:52] Simetrical, it's perfectly fine... you just have to escape it then instead of / [16:23:05] ^demon, dunno, never used it [16:23:27] but, if there's a function for it, then sure, use it [16:24:30] zocky, if you escape it, does it get treated as a regex special character? [16:24:35] It doesn't seem like a good idea. [16:24:42] I use #, typically, when I don't want to use /. [16:25:27] yeah, # is probably better [16:29:36] <^demon> Ah-ha! [16:29:40] <^demon> So much easier :-P [16:30:47] <^demon> http://pastey.net/83421 [16:30:51] <^demon> And now, I'm off to lunch. [16:41:23] 03(NEW) Problem with links to messages in case-sensitive wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13274 normal; normal; MediaWiki: General/Unknown; (robin_1273) [16:52:25] 03raymond * r31619 10/trunk/phase3/ (4 files in 2 dirs): * (bug 13274) Change links for messages to ucfirst (relevant for case-sensitive wikis) [16:56:35] 03raymond * r31620 10/branches/REL1_12/phase3/ (RELEASE-NOTES includes/SpecialBlockip.php): [16:56:35] Partly merge from r31619 for SpecialBlockip.php only: [16:56:35] * (bug 13274) Change links for messages to ucfirst (relevant for case-sensitive wikis) [16:56:52] 03sanbeg * r31621 10/trunk/extensions/NavigationPopups/ (. NavigationPopups.php README): loader for navigation popups [16:57:04] 03(mod) Create a possibility to disallow robots on such pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13249 summary; +comment (10danny_b) [16:58:04] 03(FIXED) Problem with links to messages in case-sensitive wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13274 +comment (10raimond.spekking) [16:59:19] 03sanbeg * r31622 10/trunk/extensions/NavigationPopups/ (NavigationPopups.php README): line style. [16:59:36] 03raymond * r31623 10/branches/REL1_12/extensions/Nuke/SpecialNuke.i18n.php: Localisation updates German (1.12) [17:08:48] ialex: have time? [17:09:01] Hojjat_post_exam: yes [17:21:09] 03(mod) Create a possibility to disallow robots on such pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13249 (10dan_the_man) [17:24:12] 03(mod) nbsp before categories colon on fr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13273 +comment (10huji.huji) [17:27:48] 03raymond * r31624 10/trunk/phase3/includes/SpecialBlockip.php: fix typo in message name. [17:29:01] 03raymond * r31625 10/branches/REL1_12/phase3/includes/SpecialBlockip.php: Merge r31624: fix typo in message name. [17:39:11] quick question, I'd like to include a template variable from page A into page B, is this possible please? [17:39:40] You have to explain what you mean better than that. [17:39:54] sorry, was trying to be brief :-) [17:41:11] I have a Page "A Page" that calls a template with some variables {{template|fred=ginger|barny=rubble}} [17:41:16] This works great [17:42:20] Now I want to put whatever fred is equal to on the page into (transclude) "B Page" [17:42:48] Template parameters are only available to the called template. [17:43:11] This is by design. There are no variables in MediaWiki. [17:43:20] This way there is no guaranteed order of execution. [17:43:38] I was hoping it would be as easy as putting something like {{:A Page:template:fred}} into B Page [17:44:01] No. What if A Page called Template:Fred many times? [17:44:22] What if some conditionals executed differently between the calls? [17:44:56] I see what you mean but I have been using DPL2 which can do this [17:44:57] Conditionals can depend on the calling page. [17:45:25] DPL2 can do lots of things. Use it if you like them. [17:45:40] absolutely [17:46:12] I just wanted to check i wasn't writing a 10 line DLP command when i could have been using a standard command [17:47:10] I just need to pull three version numbers out of the template in A Page [17:47:41] with DLP2 that is 17 lines of code in B Page to do it :-) [17:48:34] Thank you very much for your help :-) [17:49:23] I'm the only one in my office that knows MediaWiki so it's nice to have a group to bounce ideas off of [17:52:47] 03grondin * r31626 10/trunk/extensions/NavigationPopups/ (NavigationPopups.18n.php NavigationPopups.php): Add internationalization extension description message in [[Special:Version]] [17:53:48] 03simetrical * r31627 10/trunk/phase3/ (167 files in 3 dirs): [17:53:48] * (bug 13273) "Categories:" message at the bottom of the page shouldn't have hardcoded colon or space (changed message name 'pagecategories' to 'page-categories') [17:53:48] * Updated French translation so that the added spaces actually work [17:55:47] Simetrical: I think you missed 'hidden-categories'. the colon is hardcoded there too. [17:56:07] Bah! [17:58:24] 03grondin * r31628 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Adding Navigation Popups extension for translating in Translate extension [17:59:27] 03grondin * r31629 10/trunk/extensions/Translate/MessageGroups.php: remove empty line [17:59:33] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10nbuda) [17:59:50] 03simetrical * r31630 10/trunk/phase3/languages/messages/ (54 files): Fix hidden-categories too; thanks to Raymond. Didn't change the message key here, since it's so new and it already follows our standards. [18:01:43] 03(FIXED) nbsp before categories colon on fr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13273 +comment (10Simetrical+wikibugs) [18:02:53] Ooh, now the colon and space get linked. [18:02:54] Ugh. [18:02:56] Damn it. [18:03:23] I could add a new colon-separator message. [18:03:47] But I hate those. They make too many assumptions about what sorts of separators are available. [18:03:50] It should be a per-use thing. [18:05:41] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10triyork) [18:06:00] wow jeebus, somebody's been busy translating [18:06:52] OverlordQ, sed. [18:07:38] svn diff -c isn't working. It keeps asking me for my passphrase repeatedly. [18:07:39] Hmmm. [18:08:15] Might not be so easy to revert. [18:09:06] 03grondin * r31631 10/trunk/extensions/Translate/MessageGroups.php: remove slash in a linl [18:18:44] Raymond_, could you please revert 31630 and 31627 for me? I can't seem to do it. svn diff is bugging out on me. [18:19:06] Simetrical: mom [18:19:47] Hmm, it seems normal people use svn merge for that. [18:19:52] *Simetrical makes a mental note for the future [18:21:15] 03siebrand * r31632 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: [18:21:16] * add hardcoded leading and trailing space [18:21:16] * update formatting [18:22:35] Simetrical: revert is running with TortoiseSVN but very slowly... a lot of files :) [18:22:44] *Raymond_ makes coffee [18:22:49] svn merge isn't working for me either. Feh. [18:23:42] 03yaron * r31633 10/trunk/phase3/ (docs/hooks.txt includes/Linker.php): Added new hook, 'BrokenLink' [18:35:54] 04(REOPENED) nbsp before categories colon on fr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13273 +comment (10Simetrical+wikibugs) [18:36:13] still running.... [18:36:18] *Raymond_ make more coffee [18:36:22] o_O [18:38:51] 03grondin * r31634 10/trunk/extensions/ (4 files in 2 dirs): Add internationalization extension description message in [[Special:Version]] [18:49:43] Hello all users of unilinky! As I did go through some code rewrite, please tell any bugs as soon as possible to HardDisk_WP. Thanks! [18:50:21] o_O pwned. [18:51:36] here we goooooo [18:52:11] 03raymond * r31635 10/trunk/phase3/ (167 files in 3 dirs): Revert r31627/r31630 by request of Simetrical [18:54:36] 03simetrical * r31636 10/trunk/phase3/ (4 files in 3 dirs): [18:54:36] Replace last two check-ins, which were reverted (somehow I couldn't get svn diff [18:54:36] -c or svn merge to work, kept asking for my passphrase repeatedly and did [18:54:36] nothing). They made the colon and space part of the category link. Instead, [18:54:36] use a colon-separator message. Really I'd like to have per-use messages for [18:54:37] punctuation like this, since colons are used in lots of different contexts, but [18:54:39] others don't seem to like that. [18:54:56] 03(FIXED) nbsp before categories colon on fr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13273 +comment (10Simetrical+wikibugs) [18:55:37] 03simetrical * r31637 10/trunk/phase3/languages/messages/MessagesFr.php: Remove a couple of superfluous spaces. [19:00:29] Raymond_, stupid op i think ;) [19:00:44] never try code out you never tried before^^ [19:01:06] HardDisk_WP: what do you mean? [19:01:08] oh shit, what the hell happened now?! [19:01:11] here we goooooo [19:01:25] 03simetrical * r31638 10/trunk/phase3/maintenance/language/messageTypes.inc: Mark new message as optional. [19:05:19] 03raymond * r31639 10/trunk/phase3/ (4 files in 3 dirs): [19:05:19] * Add a nice fieldset to the input form to be consistent with other forms. [19:05:19] * Fix indention [19:15:53] here we go again, hopefully it will not break again [19:17:01] Hello all users of unilinky! As I did go through some code rewrite, please tell any bugs as soon as possible to HardDisk_WP. Thanks! [19:17:51] 03siebrand * r31640 10/trunk/phase3/languages/messages/ (42 files): Localisation updates for core messages from Betawiki (2008-03-06 20:03 CET) [19:23:59] 03siebrand * r31641 10/trunk/extensions/ (74 files in 72 dirs): Localisation updates for extension messages from Betawiki (2008-03-06 20:03 CET) [19:27:10] what the ... [19:27:34] *HardDisk_WP IS STUPID [19:27:47] moin. please how can i disable my ParserAfterTidy hook function for the edit action? [19:27:58] why, oh why do I leave an irssi with unilinkys nick open and wonder why its nick is occupied?!?!?! [19:28:17] :) [19:28:19] [[test]] [19:56:15] I patch-updated my mediawiki from 1.11.0 to .1 and .2, consecutively, and re-ran the installer without errors. When I check Special:Version, however, the displayed version is still 1.11.0. Can anyone give me a hint what went wrong? [19:56:36] is there a bug for showing hidden categories on preview? [20:02:55] 03(NEW) Should show hidden categories for preview version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13275 15enhancement; normal; MediaWiki: Categories; (zach+bugs) [20:04:15] When attempting to configure mediawiki for the first time I get: Fatal error: Call to undefined function pg_escape_string() in /docroot/mediawiki-1.11.2/includes/DatabasePostgres.php on line 1158 [20:04:32] or respectively what hook is only entered on article page (not on edit) and is able to add html to the page? [20:04:45] pgsql.so module is enabled in php.ini [20:05:02] Any ideas? [20:11:06] 03dale * r31642 10/trunk/extensions/MetavidWiki/ (16 files in 5 dirs): [20:11:06] javascript fixes [20:11:06] stubs for json export [20:12:07] Anyone have a suggestion as to why pg_escape_string() wouldn't be available even though pgsql.so is loaded? [20:15:34] 03rotem * r31643 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [20:16:28] Bradipo: Was php compiled with postgres support, though? [20:16:47] Good question, let me check. [20:16:56] I assumed that since there was a pgsql.so that it was... [20:17:46] I do see pgsql in the configure command from phpinfo() [20:17:50] As: '--with-pgsql=shared,/usr' [20:18:19] There is also some pdo-pgsql options, but I didn't think that was relevant. [20:19:03] is there a reasn why a #REDIRECT to a special page actually redirects the browser? behavior is different than when #REDIRECT to a non-special page [20:19:28] Indeed, previous steps seem to have succeeded: Checking the version of Postgres...version 8.1 is OK. [20:19:53] Did it not just use pg routines to verify that the version was OK? [20:20:28] Where can I find the parameters for CURRENTMONTH? [20:20:43] Mufka: what do you mean [20:21:07] Is there a parameter that makes it come up as January rather than 01? [20:21:22] i think so [20:21:46] try {{CURRENTMONTHNAME}} [20:21:48] http://www.mediawiki.org/wiki/Help:Variables [20:22:23] Thanks [20:22:55] Bradipo: Is this the /config/ step, before moving LocalSettings etc? [20:23:10] Yes. [20:25:16] Have you tried using postgres outside of mediawiki before? [20:26:13] Not on this particular server, no. [20:26:42] postgresql is running fine. I can connect and create users, databases, etc... [20:26:58] But I haven't tried to use it from apache/php before, if that's what you mean. [20:28:00] Might be worth a try, just to determine whether mediawiki is part of the problem or not [20:28:03] Right. [20:28:13] I don't think its mediawiki to be honest. [20:28:39] I just wondered if there was a step I might have missed to get it ready for mediawiki. [20:29:12] 03dale * r31644 10/trunk/extensions/MetavidWiki/skins/mv_allpages.js: js fix [20:29:23] Guess I'll write a quick php script to test the database. [20:31:27] pg_connect() succeeds. [20:34:08] Interesting... maybe my php library doesn't have pg_escape_string() ? [20:34:47] Er rather, the pgsql.so library doesn't have it... [20:35:01] This is php 5.2.3 [20:35:12] 03(mod) add DOM friendly importScript and importStylesheet functions into wikibits .js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13232 +comment (10hartman) [20:35:25] Strange indeed [20:35:39] PostgreSQL(libpq) Version 8.2.3 [20:35:43] So maybe libpq doesn't have it... [20:36:28] Ok, let me get back to the drawing board. Thanks. [20:39:11] 03(NEW) When using $wgSMTP, all send attempts return a code of 1, which MediaWiki sees as an error, but is not - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13276 minor; normal; MediaWiki: Email; (me) [20:40:27] anyone know if there's an existing extension/function in mediawiki equivalent to the perl Add_Delta_Days which allows you to take a week of a timestamp (like from {{CURRENTTIMESTAMP}} ) ? [20:40:46] take a week off of I mean [20:42:07] you can do {{#time:{{CURRENTTIMESTAMP}}|-1 week}} [20:44:12] Zach: Awesome. Thanks [20:45:22] 03(mod) When using $wgSMTP, all send attempts return a code of 1, which MediaWiki sees as an error, but is not - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13276 +comment (10minuteelectron) [20:49:38] 03(mod) When using $wgSMTP, all send attempts return a code of 1, which MediaWiki sees as an error, but is not - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13276 +comment (10roan.kattouw) [20:59:19] 03(mod) post expand size counted multiple times for nested transclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13260 +comment (10brion) [21:01:04] 14(DUP) conflicts with mediawiki 1.11 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13268 +comment (10brion) [21:01:04] 03(mod) error with the parser function with CategoryTree - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13028 +comment (10brion) [21:01:57] 03(mod) "GNU diff3 not found" but it installed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13270 (10brion) [21:02:02] 03magnusmanske * r31645 10/trunk/extensions/CategoryIntersection/ (4 files): [21:02:02] New extension: CategoryIntersection. [21:02:02] Based on precalculated hash values, as discussed on wikitech-l, can find intersections of a (theoretically) unlimited number of categories. [21:02:02] Basically works, but needs work by people who spend more time in MediaWiki than I do. Help! [21:02:39] "Based on precalculated hash values"? wtf? [21:04:05] 14(DUP) When using $wgSMTP, all send attempts return a code of 1, which MediaWiki sees as an error, but is not - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13276 +comment (10brion) [21:04:07] 03(mod) bogus email error message when creating an account ( $wgSMTP only) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11567 +comment (10brion) [21:04:33] Duesentrieb: The extension hashes categories, then looks up that hash again [21:04:43] I'm trying to make sense of the code right now [21:05:18] Hmm I'm starting to wonder whether the guy even tested this [21:05:26] sort($categories); doesn't work [21:05:44] I don't understand the unset($categories[$k]); [21:06:28] Oh wait Duesentrieb I think I understand what he's doing [21:06:38] Say a page in is categories A, B and C [21:06:49] He then hashes A|C , B|C and A|B [21:07:01] And stores those hashes in the DB [21:40:44] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10adam.brookes) [21:42:48] Hey everyone [21:43:07] I'm working on writing some patches, how should I go about doing it? [21:43:25] My last one I submitted had a bunch of errors, just with like the format or something [21:43:46] check out a current version using svn [21:43:52] modify and test, until it works [21:43:54] the run svn diff [21:43:58] that generates a patch [21:44:21] Yes, but how do I go about doing that? [21:44:30] huh? doing what? [21:44:39] You can see what I did here: https://bugzilla.wikimedia.org/show_bug.cgi?id=13262 [21:45:03] Soxred93: That's not a patch [21:45:09] That's a complete file [21:45:15] Grr. [21:45:18] YOu need to submit a diff against the file in the svn repository [21:45:21] So how do I make a patch then? [21:45:26] Soxred93: What OS are you using? [21:45:32] err. [21:45:34] Mac [21:45:38] i see a patch there., [21:45:49] Soxred93: you create a patch by running "svn diff". [21:46:03] Duesentrieb: Yes, this is the submission he's talking about though: https://bugzilla.wikimedia.org/attachment.cgi?id=4698 [21:46:20] ah i see the patch is by raimond [21:46:33] Soxred93: Check out the files from svn, using "svn co ". Then, make you your changes; then, run "svn diff > mypatchfile.patch" [21:46:33] I also don't have SVN installed, even though I have run the installer [21:46:39] From the terminal [21:47:00] Soxred93: Can you go to the terminal and type "svn version" ? [21:47:05] Soxred93: this is all command line stuff. make sure you have svn installed. make sure you use it. [21:47:15] I ran the installed [21:47:18] installer* [21:47:24] ...but? [21:47:26] It said the software was successfully installed [21:47:40] Soxred93: Okay, so launch the terminal, and type "svn --version" [21:47:42] then [21:47:44] I tried to do a SVN command, and it said "svn: command not found" [21:47:44] To see if it is installed [21:47:56] "-bash: svn: command not found" [21:48:08] Soxred93: maybe it's not in the path then [21:48:14] Soxred93: "locate svn" [21:48:20] no idea how that stuff works under mac [21:48:32] amidaniel: does mac use locate? does it update the index? [21:48:33] Ack, a LOT of stuff came up [21:48:42] Duesentrieb: Yes, I believe so [21:48:51] good then :) [21:48:54] I know locate is installed, in any case. [21:49:26] Just a bunch of stuff, like /usr/local/man/man8/svnserve.8 [21:49:44] Soxred93: Failing that, find / -type f -name 'svn' [21:49:46] Soxred93: that would indicate that it is, in fact, installed [21:49:46] 03(NEW) Page footer not displayed correctly when page is categorized only under hidden categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13277 15enhancement; normal; MediaWiki: Categories; (meno25wiki) [21:50:02] Soxred93: There should be one like "/usr/bin/svn" or the like [21:50:19] Or perhaps /usr/local/bin/svn or /usr/share/bin/svn, etc. [21:51:09] Found /usr/local/bin/svn [21:51:27] Okay, now can you do "echo $PATH" [21:51:41] RoanKattouw can you explain how the upload function works [21:51:54] /usr/local/bin *should* be in the path [21:51:55] what path do we need to give for the file to be uploaded? [21:51:57] yuss: He's not here right now .. just missed him I believe [21:52:05] Duesentrieb: One would think :) It is a mac though :P [21:52:06] damn lol thanks [21:52:07] yuss: use the defaults [21:52:10] !upload yuss [21:52:10] --mwbot-- 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 PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [21:52:17] 14(DUP) Page footer not displayed correctly when page is categorized only under hidden categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13277 +comment (10raimond.spekking) [21:52:18] 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 +comment (10raimond.spekking) [21:52:27] sorry I was referring to the API [21:52:50] yuss: api-based file uploads? oh... [21:52:57] Ok, so what should I do first? [21:53:04] Soxred93: "echo $PATH" [21:53:08] Ok [21:53:10] yup [21:53:21] "/bin:/sbin:/usr/bin:/usr/sbin" [21:53:32] Yikes, indeed it's not in the PATH :) [21:53:42] but sbin is. [21:53:43] wtf? [21:53:45] Soxred93: export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" [21:53:48] Oh, yikes [21:53:50] n8 [21:53:55] Soxred93: Are you logged in as root? [21:54:05] I'm logged in as an administrator [21:54:10] Don't :) [21:54:26] Regular user then? [21:54:41] Soxred93: yessir [21:54:46] Soxred93: that's just general unix philosophy: never do regular stuff as root/admin. [21:55:07] Ok, lemme just log out here. [21:55:10] chances are also that the environment of a "normal" user will be more "normal" [21:55:18] bah [21:55:30] *amidaniel shivers at the thought of browsing the web as root [21:55:37] And chatting it up on irc [21:55:38] Oye .. [21:55:43] *Duesentrieb curses at mysql's broken cursor support [21:55:58] amidaniel: the default user on mac can install software... [21:56:11] Duesentrieb: O rly? [21:56:20] Without typing in an admin password? [21:56:24] sure seems so [21:56:37] "home user friendly" or something [21:57:32] Hmm [21:57:33] Odd [21:57:47] *amidaniel always thought of macs being relatively safe to use [22:01:56] Ok, I'm back [22:02:05] I'm logged in as a standard user [22:03:06] Alright, does "svn" work now? [22:03:07] Amidaniel, I'm here again [22:03:12] Let's see [22:03:39] Svn version... [22:03:48] Command not found [22:04:12] That's bad, right? [22:04:52] "svn --version" [22:05:04] Amidaniel: -bash: svn: command not found [22:05:32] echo $PATH [22:05:45] Amidaniel: /bin:/sbin:/usr/bin:/usr/sbin [22:06:13] export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" [22:06:30] Amidaniel, nothing showed up [22:06:57] now try "svn --version" again [22:07:08] It works! [22:07:12] magic :) [22:07:15] Version 1.4.6 [22:07:43] Alright, you'll prolly wanna stick that in your .bashrc ... that is, PATH="$PATH:/usr/local/bin"; export PATH; [22:07:43] Ok, so now back to the whole purpose of this conversation. [22:07:54] Done [22:08:41] Alright, now you're going to want to check out mw from svn, using svn co [22:09:01] So svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 [22:09:18] Then make your changes to whatever file, and use "svn diff > patchfile.patch" to generate your patch file [22:09:28] It's actually an extension [22:09:30] Inputbox [22:09:43] Okay, then check out the extension rather than phase3 [22:09:49] then svn co http://svn.wikimedia.org/svnroot/mediawiki/extensions [22:09:56] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/inputbox/ [22:10:03] Oh, oh [22:10:10] SVNroot, not viewvc [22:10:46] yep :) viewvc won't work for checkouts [22:10:48] damn, my Special:Userrights works, as long as i enter Usernames that dont exist, but as soon as one exists and it would show the details i always get a fat "Internal error" [22:11:20] mutante: Have you recently upgraded? [22:11:29] doing Set $wgShowExceptionDetails = true; now, like it tells me [22:11:45] !debug | mutante [22:11:45] --mwbot-- mutante: For information on debugging (including viewing errors), see . [22:12:04] amidaniel: hmm, not so recently, but yes, its the first time i want to use that Special page since the last update [22:12:20] mutante: You probably need to run update.php in the maintenance directory [22:12:37] This kind of problem is typically due to schema updates that haven't been run yet [22:19:38] thanks , but it wasnt what amidaniel suspected [22:19:39] Detected bug in an extension! Hook wfDynamicPageListSPloadMessages failed to return a value; should return true to continue hook processing or false to abort. [22:19:57] DPL breaks Special:Userrights? :p [22:20:43] upgrade your DPL version, it's majorly outdated [22:23:14] oh wow, thats so much more by now [22:23:19] will do;) [22:23:29] Ok, so how do I svn diff? [22:23:40] Soxred93: type "svn diff" without quotes [22:24:02] svn: '.' is not a working copy [22:24:02] svn: Can't open file '.svn/entries': No such file or directory [22:24:20] corrupted repository? [22:24:40] 03grondin * r31646 10/trunk/extensions/CleanChanges/CleanChanges.i18n.php: Update internationalization messages from BETAWIKI [22:25:38] MinuteElectron: more like: no repository [22:25:48] So how to [22:25:49] Soxred93: diod you check out a working copy of mediawiki? [22:25:58] Duesentrieb: but the .svn folder exists presumably? [22:26:25] Soxred93: read an svn howto. get to grips woith the basics. check out, update, diff, commit. (well, you donÄt have commit access in this repos,but lear nabotu it anyway) [22:26:33] No, just the extension's folder [22:26:58] MinuteElectron: ask him, but a couple of minutes ago he didn't know if svn was installed. so i guess he never checked anything out.- [22:27:10] oh, fair enough [22:27:30] Soxred93: What have you done to get to this point? [22:27:44] what you guys have told me to [22:27:51] I updated the file [22:28:13] Soxred93: did you do an "svn checkout" first? [22:28:18] Soxred93: please read an svn howto. this is pointless if you donÄt know about the basic concepts. [22:28:23] svn co [22:28:32] Soxred93: what did you type with the svn co? [22:28:33] yes, that sounds good at least :) [22:28:55] svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ [22:29:02] ok, good [22:29:17] what directory were you in when you checked it out, and what directory are you in now? [22:29:35] Home directory both times [22:29:39] Duesentrieb: your apostrophe is broken it produces "A on my screen, not ' [22:29:50] Soxred93: cd extensions/ then svn diff [22:29:57] Ah, I was in the wrong directory [22:30:00] yes [22:30:03] Ifigured that out already [22:30:11] then what is the problem? [22:30:22] I was in the wrong directory [22:30:26] I now have a patch [22:30:28] MinuteElectron: this ' looks like "? [22:30:29] really? [22:30:37] Soxred93: ok, good [22:30:57] it's plain old ascii... [22:31:12] Duesentrieb: your wrote 'u don"At have co' and 'f you don"At know abo' [22:31:16] how odd [22:32:01] Is this patch ok? http://pastebin.com/m1f69f06b [22:32:24] It looks like I have generated an error [22:32:28] or something. [22:32:32] MinuteElectron: ah, no, not so odd. my typo: i hit the a-aumlaut, which is next to ' on the german keyboard. and it got transcribed to tex syntax, "A, for you. [22:32:42] My text editor replaced all tabs with 2 spaces. [22:32:51] Duesentrieb: ahh :P [22:33:00] Soxred93: yes, that is very vad [22:33:02] *bad [22:33:06] Soxred93: don't do that. you will produce huge diffs that don't actually change anything [22:33:14] I didn't intend to [22:33:24] Soxred93: leave the whitespace as it is, use tabs where tabs where before, and space where space whas before [22:33:33] i suggest you cd inputbox/ first before doing svn diff [22:33:35] That's what I did [22:33:38] who speak german ? [22:33:45] Pas moi. [22:33:52] *Duesentrieb hides [22:34:36] Ok, now that I know what to do now, I'll go back to my main account. [22:34:39] Soxred93: you need a text editor that doesn't replace tabs with spaces [22:34:39] Thanks everyone! [22:34:44] bye [22:34:52] What text editor for mac should I use then? [22:34:56] I use TextWrangler [22:35:08] it wrangles very well :) [22:35:13] try jEdit [22:35:16] Ha. [22:35:19] hi, how can i protect page editing from normal users? (a specific page). i've read the instructions, but i simply cannot find a "protect" button or anything :) i feel myself quite stupid [22:35:20] Soxred93: maybe you can configure textwrangler to work correctly [22:35:34] The prefs are very confusing. [22:35:50] who speak german ? [22:36:41] Yes, you can't change that [22:36:43] TextWrangler [22:37:11] soxred93 speak you german ? [22:37:34] No [22:37:53] Wie heist du? [22:37:57] Best I can say [22:38:50] 03raymond * r31647 10/trunk/extensions/PasswordReset/ (3 files): [22:38:50] Housekeeping: fix indention, kill whitespaces [22:38:50] No functional changes in this commit [22:40:24] How about Smultron? [23:01:33] 03grondin * r31648 10/trunk/extensions/ (3 files in 2 dirs): [23:01:33] * Update internationalization messages for french language [23:01:33] * Adding Category Intersection extension to Translate extension tools [23:06:28] Hey, does ParserFunctions extension come preinstalled with mediawiki? [23:06:39] Soxred93: no [23:06:45] I thought now [23:06:47] not* [23:20:27] Raymond_? [23:20:43] do you remember how to get rid of extfunctions use? [23:20:59] AaronSchulz: oops. no sorry :( [23:21:25] 03siebrand * r31649 10/trunk/extensions/CategoryIntersection/ (3 files): Housekeeping: fix indentation, EOL whitespace, file headers, add credits and L10n for extension description [23:22:19] AaronSchulz:IIRC there is a bug request with a patch to get rid of extfunctions... [23:22:31] hmm, I think I remember now [23:27:31] AaronSchulz: http://mediawiki.pastey.net/83439-1fq0 [23:28:17] 03aaron * r31650 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: [23:28:17] * Remove extensionfunction dependency [23:28:17] * Bump [23:28:29] and http://mediawiki.pastey.net/83440 [23:29:14] ignore the first one [23:29:35] well, I guess not, it would still work the same [23:32:24] *MrZ-man pokes AaronSchulz again