[01:40:57] is there a possibility to upload files into the mediawiki and/or to integrate a svn into it? [02:26:32] at least uploading files is possible [03:10:04] 03(NEW) Rollback all user edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11712 15enhancement; normal; Wikimedia: General/Unknown; (listcaster) [03:12:32] 03(NEW) Back button blanks form - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11713 15enhancement; normal; Wikimedia: Bugzilla; (listcaster) [03:17:53] 03(mod) Rollback all user edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11712 +comment (10cbrown1023) [03:22:00] 03(mod) Rollback all user edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11712 +comment (10mohamed.m.k) [03:31:17] when i specify headings with ==, === and ====, the automatically created Contents menu is numbered. Is it possible to remove this numbering somehow, so that only the heading names are shown in it? [03:36:12] ...for only one specific page [04:50:36] 03(NEW) Log parameter during search does not show up - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11714 15enhancement; normal; MediaWiki: User interface; (wm-thunderhead) [05:49:34] 03(mod) Deletion of Siberian Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11680 (10vasilvv) [09:16:46] j #linux [09:30:39] *AmiDaniel_away randomly breaks the silence [09:30:57] dam! [09:31:15] I refuse to let another record be set :) [09:31:25] ok lol [09:31:41] 175 signed in users and no one is saying anything, lol :P [09:31:54] I guess that's how IRC works... [09:32:05] it's early saturday, it's always silent at that time :p [09:32:12] The only thing said in the last 3 and a half hours was the result of a command typo -- that should tell you something :) [09:33:17] *Werdna telekinesises his girlfriend into replying to his text massage [09:33:27] well people are here mainly to ask for help... [09:35:01] ugh [09:35:01] So I guess that means the software works so well that no one needs any help right? :) [09:35:10] yepp [09:35:30] as of friday evening all bugs were fixed, all helpfiles were perfect and all users were intelligent enough to read them [09:35:36] well we all know what we are doing at the moment. [09:35:42] woohoo [09:35:44] it's sat night here :P [09:35:56] aussie? [09:36:03] ah wait [09:36:08] early saturday night you mean [09:44:19] yeah, well 7:14PM [09:44:50] Saturday evening in other words :) [09:45:01] Here it's sat morning (3:45 am) [09:45:07] hehe [09:45:09] ok :P [09:45:13] i'm in between, 11:45am [09:46:59] 7.46pm [09:47:07] lols @ adelaide [09:47:35] or Darwin.. but your looking at my IP :P [09:48:14] I assume the worst [10:21:03] 03(mod) Update Namespace translations on Telugu wiki projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11615 (10vyzasatya) [10:23:25] hello all [10:23:46] i'ld like sen email at all users at my wiki [10:23:54] how do i made it please? [10:24:12] (sorry for bd english, i'm french! :p ) [10:25:16] 10Matmat01 says "I'd like to send an email to all users on my wiki, how can this be achieved?" [10:25:42] thanks madness ! :) [10:26:16] have you an idee to solve my problem? Is there a special page? [10:26:48] I'm not sure, I don't think there is... However there might be an extension... let me check. [10:27:12] ok nop [10:27:37] can be done, of course, with an extension [10:30:20] i find sometings! ;) Special:Emailuser/user [10:30:26] vithout extension!! :) [10:32:14] Matmat: that's for one user. [10:32:36] i search for the extension too, because if there is lot of users, its veray long to do that with Special:Emailuse [10:32:45] yes! i undersand! ;) [10:32:54] sorry for really bad english [10:33:03] and thank you for help me! :) [10:35:18] maybe this helps you:, on MySQL console [10:35:20] select user_email from user where user_email is not null into outfile 'mail-list.txt'; [10:35:42] then you have a text file with all mail adresses, and then maybe your mail program can read from that, or you use another script [10:36:26] btw, this made me find a ton of *@list.ru spammer addresses ,, a couple hundred..whoaa [10:36:26] thank you, i 'll see that! ;) [10:36:50] lol [10:37:07] I have hundres of .ru spam addresses on my forum/wiki :( [10:37:18] i should disallow list.ru as part of the email adresses, ,probably..somehow [10:39:13] !spam [10:39:17] hm? [10:39:40] @search spam [10:39:40] Results: [] [10:39:44] o_O [10:39:58] !spam is http://www.mediawiki.org/wiki/Spam [10:39:58] Successfully added keyword: spam [10:41:10] Matmat: change the 'where user_email is not null' part into ' where user_email !="" ' to avoid empty lines in the text file [10:45:25] Duesentrieb: would you execute this ? delete from user where user_email like "%list.ru"; ? [10:45:47] i have deleted users like that before and nothing bad seemed to happen,, but still.. [10:47:19] mutante: i wouldn't. [10:47:32] mutante: i would not delete them, but blank the password field instead. [10:47:47] a blank password field is invalid, login becomes impossible [10:48:26] hmm, that makes me think of already marking it invalid if the user enters list.ru when registering in the first place [10:48:30] ok,thanks so far [10:49:27] mutante: that will only cause them to create different addresses. [10:50:39] update user set user_password = NULL where user_email like "%@list.ru"; 159 rows affected [10:51:41] i have recently activated the match captcha, that helped a lot, i think those were just older leftovers [10:52:22] hm... not sure if NULL is a good idea, i would have used "". see if it fails badly if you try to log in as one of "them" [10:54:12] Login error: Password entered was blank. [10:54:48] cant send an empty password with the form... [10:57:40] thanks all i'have to go [10:57:42] bye [10:58:19] anyone know why everything on my wiki has to start with a capital letter, the uploaded file names, the pages names and the usernames? [10:58:44] I think this could be because I intergreated my wiki with phpbb user tabes. [10:58:55] but never thought it would effect page name and file names. [11:39:30] madness: this is simply the default for mediawiki. you can change it for regular pages and images (then foo and Foo will be two separate pages), but i'm not sure if it can be changed for user names [11:39:39] per default, foo and Foo are the same page, but FOO is different [11:39:50] (though it's not possible to have to users Foo and FOO) [11:40:14] well I don't really mind about the users, particular the pages... [11:44:48] madness: $wgCapitalLinks = false; [11:44:59] but note that this really makes page titles fully case sensitive [11:45:05] (the default is "mostly sensitive") [11:47:37] ok thanks :P [12:54:16] is there an auto-save-drafts extension for mediawiki? [12:54:20] (if not, someone should write one) [12:58:53] flyingparchment: Rob's working on one [12:59:12] or was going to start possibly working on something similar sometime between now and the sun's red giant phase [12:59:47] does File::getLength actually work? [13:00:45] it calles $handler->getLength but i can't find any evidence of a handler class that implements getLength [13:02:21] nothing ever calls it, so i suppose it's irrelevant :) [13:21:18] what is a simple way to convert a google document into MW syntax? (at least the basic headers, formatting and bullet points). [13:22:02] I can copy and paste the html document with the "view source" feature. [13:23:51] this site did not seem to work http://diberri.dyndns.org/wikipedia/html2wiki/index.html [13:24:46] open with openoffice and save as mediawiki? [13:26:04] Platonides, sounds excellent [13:28:02] Platonides, 2.3? [13:29:22] The problem now is that http://diberri.dyndns.org/wikipedia/html2wiki/index.html has done too good a job of re-creating the html. Its a mess of font declarations. [13:29:56] also my oopenoffice 2.2 doesn't have the save as MW option. [13:54:30] How do I do to edit the sidebar ? I've tried /wiki/wiki:Sidebar, and different configuration, but I do not have the right name [13:54:51] MediaWiki:Sidebar [13:54:53] /wiki/mediawiki:sidebar [13:57:54] i've tried both, but nope, it doesn't work. My mistake is certainly what to write _before_ Mediawiki:Sidebar [13:58:40] http://yourwiki.tld/wiki/MediaWiki:Sidebar probably, assuming you have the short URLs... [13:59:13] Jack_Phoenix: I got it. [13:59:16] thanks. [13:59:24] np [14:05:11] hoi [14:05:32] I would like to modify the full text search for de.wikisource.org [14:05:50] so that a search for "frauen" also finds "frawen" [14:06:05] which is an alternative spelling in historical texts. [14:06:23] These spelling variations are very frequent. [14:07:06] I have about 90 rules or weights for these spelling variations to be used with a weighted approximate search, [14:07:17] or fuzzy matching if like the term better. [14:07:31] buggs: sounds unlikely before the new search system is in place [14:07:41] Nikerabbit: "the" new search system? [14:07:47] Nikerabbit: got any docs? [14:07:48] I assume i have to contribute a modules or plugin for Lucene ? [14:07:55] Duesentrieb: no [14:08:01] :/ [14:08:14] Duesentrieb: I've just followed mediawiki-svn commits [14:08:21] buggs: i would have thought exactly that, though i don't know any thing about "the new search system" [14:08:28] Nikerabbit: will it still be lucene-based? [14:08:57] Duesentrieb: I guess so [14:09:16] rainman works in lucene-search-2.1 branch [14:09:47] buggs: so, lucene plugin it is. though perhaps first look at what exists wrt german soundex for lucene. [14:10:56] My rules are the result of a master thesis in computational linguistics [14:11:05] They are much better than soundex [14:11:42] good then :) [14:11:59] buggs: anyway, the important bit of what Nikerabbit said is this: "rainman works". so, talk to rainman :) [14:12:17] Is this new search system Java Lucene or C# Lucene based? [14:12:23] k [14:12:33] java code it is [14:12:33] not sure. i would have thought java. [14:13:06] I asked, because the Lucene installation page for mediawiki only mentions c#. [14:17:06] Anyone know what the element ID of the watch tab thingy at the top of the page is? [14:17:21] thingy? [14:17:37] lol [14:17:49] if you use firefox you should get some extension which shows that [14:17:53] The watch tab at the top of a document [14:18:17] Oh, can you? Any ideas what its called? [14:19:02] hmm, firebug was one, I think [14:19:16] I have web developer [14:20:48] Hmm [14:21:22] It finds it for "save" but there doesnt seem to be one for the watch tab [14:21:29] Nikerabbit, cheers for the suggestion of the software [14:22:07] ca-unwatch [14:22:08] hmm [14:22:29] #ca-watch [14:22:29] ca-unwatch/ca-watch [14:23:06] So im just going to have to look if its watched, if it is, do one, if it isnt, do the other [14:23:08] Cheers :) [14:26:11] Hmm when people use the simple skin, it just causes problems.. [14:28:35] Hmm, it seems not to find the id.. [14:52:46] 03(NEW) Set logo for Hungarian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11715 15enhancement; normal; Wikimedia: Site requests; (tartaruen) [14:56:41] buggs, sounds cool [14:57:03] what is a simple way to convert a Google document into MW syntax? (at least the basic headers, formatting and bullet points). [14:57:09] I don't want overkill either [14:59:36] 03rotem * r26850 10/trunk/extensions/Renameuser/SpecialRenameuser.i18n.php: Avoid problems in Special:Log: don't link to the new user name. [15:02:20] $file x ... OpenDocument Text [15:02:36] here, however, http://www.ipd.uni-karlsruhe.de/~hauma/odt2txt/ gives a plain text response [15:02:41] I can do plain text! [15:03:12] doh! [15:05:00] "...describing the creation of documents in OpenOffice.org that are specially crafter for import into WikiPedia". Or in other words, "not your doc sunny". [15:07:18] and as for http://diberri.dyndns.org/wikipedia/html2wiki/index.html ... what are all those 's about? [15:18:17] where can I set this "default sort" thing I've heard of (i.e. so that articles can be sorted so that all the articles in the namespace don't go under 'c') ? [15:18:33] juxo {{DEFAULTSORT:Washington, George}} [15:18:33] ... in categories [15:18:42] Somewhere on [[George Washington]] [15:19:00] RoanKattouw: ok. thanks [15:19:01] The old way was [[Category:US Presidents|Washington, George]] [15:19:15] And [[Category:Pre-war US Presidents|Washington, George]], etc. [15:19:26] Now you only have to name "Washington, George" once [15:19:48] RoanKattouw, since which version? [15:19:59] 1.10 IIRC [15:20:02] Just try [15:20:03] nice [15:20:18] If the {{DEFAULTSORT:}} thing shows up in the page text, it doesn't work [15:20:26] ok [15:27:37] mmm. http://en.consumeria.info/wiki/Cookbook:Mushrooms_in_cream_%26_dijon_sauce [15:28:21] *RoanKattouw doesn't like mushrooms :( [15:28:41] I didn't like mushrooms [15:29:17] it's even more munchy if you replace the cream&dijon with a mixture of melted processed cheese & water (sounds weird I know, but believe me it truly rocks your tastebuds) [15:30:14] ok. something else then if mushrooms are unappealing: http://en.consumeria.info/wiki/Cookbook:Air-dried_ham_with_melon [15:30:52] damn. I should get into working out a template + infobox for recipies. [15:32:31] btw are there any plans to implement http://tools.wikimedia.de/~gmaxwell/cgi-bin/cattersect.py in MW? It'd be most useful for many things. Like one could intersect [[Category:Vegetarian recipies]] with [[Category:Preparation time under 10 minutes]] to find vege-fast food [15:36:37] juxo maybe someone (me?) could write an extension [15:36:39] 03rotem * r26851 10/trunk/extensions/BoardVote/BoardVote.i18n.php: Fix. [15:36:52] Basically what you want is a list of all pages in both category A and category B, right? [15:37:03] RoanKattouw: pls. do I'm such rubbish when it comes to coding [15:37:06] Maybe the category system has a hook, lemme check [15:37:58] Actually you can do this with DPL [15:38:09] What's DPL? [15:38:22] RoanKattouw: it might make sense to make all basic set-operations ... ehmm. intersection, union and ... uhh. what's it called.. exclusion (?) [15:38:37] Building a parser-functions style DPL you can then have a template {{intersection |c1=x |c2=y}} [15:38:49] Right [15:38:51] DPL = dynamic page list. [15:38:55] Oh right [15:39:11] it is the uber extension... kinda like a hacky version of semantic mediawiki [15:39:32] faceface: where can I read more about this DPL? It sounds very interesting. [15:40:50] juxo, be warned - it is a beast! [15:40:57] bring it on! [15:41:38] http://semeb.com/dpldemo/index.php?title=Dynamic_Page_List [15:41:51] I believe it threatens to change the way we think about wikies. [15:42:41] thanks. bookmarked now [15:42:46] It can do any kind of n category set operation and a lot more. Its a nightmare to learn though. [15:44:09] its a bit too hacky to find favour among the witerati though. Look at SMW for hard core people. [15:44:51] faceface: very interesting. does it provide for making lists like say. ordering company articles based on revenue field from the infoboxes? [15:45:03] Very likely not [15:45:11] yes it does [15:45:15] :O [15:45:20] How do they do that? [15:45:22] XD [15:45:40] you will soon find that the real question is 'how do I do that?' [15:45:47] its very hard to learn! [15:46:02] however, I think I filed a FAQ for exactly that kind of task... [15:46:18] RoanKattouw: I've been looking for something to make ordered lists of articles based on template values (revenue, employees etc) without doing it by hand [15:46:33] http://semeb.com/dpldemo/index.php?title=DPL:FAQ#How_do_I_create_tabular_output.3F [15:46:46] That is a start [15:47:32] http://www.kennel17.co.uk/testwiki/WikiDB looked promising but it's development is not active (and besides duesentrieb warned me that it might not be a pure extension i.e. it might break the MW upgrade cycle) [15:47:56] I have an example that does not use template data here (just uses 'page meta data'); http://biodatabase.org/index.php/New_Database_List_More [15:48:58] faceface: so this DLP is an extension? [15:49:00] and an example that does use template data here; http://pdbwiki.org/index.php/Sandbox/Structure_List:Greene_dataset [15:49:02] juxo, yes [15:49:10] cool! [15:49:17] be warned - I would be gob smacked if you can make head or tail of the source of those pages. [15:49:24] faceface: are you a developer of it? [15:49:30] no [15:49:54] I talked to the developer a bit, mostly suggesting syntax improvements for the query language, but its a massive job. [15:50:11] I am just a user and big fan :D [15:53:10] it looks very advanced [15:56:46] The site has some much easier demos scattered around. Mostly I find the FAQ too advanced. Try the manual first - its a goldmine. [15:57:35] ok. [16:02:57] faceface: the overview says it is able to include template values into the listing but does not say that one could use template values as keys by which to order :( [16:04:38] I want to rund some of the scripts in the maintenance directory. My webhost doesn't support telnet. I can load phpshell and get it to do some shell commands (cd,ls), but it locks up when I try to do a "php hello.php" or any of the php scripts in maintenance. Is there any other way or am I doing something wrong with phpshell? [16:30:09] what is the proper way to colour text? (want to make some text bold/red) [16:36:05] Hey, [16:37:33] I've got a problem with trying to use clean-urls, MediaWiki is installed locally to a sub-directory, say localhost/project/wiki/ - it works fine, got the clean-urls working so that /localhost/project/wiki/Main_Page works for example, however when I go Edit Page, it goes to index.php?title=Main_Page&action=edit, yet it thinks I am editing the page 'index.php' [16:37:41] I'm not sure what I could be doing wrong, it's driving me mad :P [16:38:49] 03(NEW) Update Namespace translations on Telugu wiki projects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11716 15enhancement; normal; Wikimedia: Language setup; (ubuntu) [16:38:52] i believe that the clean-URLs should not be set up to where the wiki actually is, so etiehr you install wiki in /w/ and make claernURLS /wiki/Main_Page [16:38:55] or vice versa [16:39:11] though i think it's in your settings .php file [16:39:16] what your lookign foor [16:39:20] peek around in there [16:39:34] yeah I've seen that it says not to do that - I really can not see the logic behind that, though [16:39:52] I have been peeking around for the past few hours, not sure what I'm doing wrong with it [16:39:58] say you make a topic named index.php [16:40:08] then you break the whole thing lol [16:40:09] ah yes true [16:41:29] 03(NEW) special: random sometimes displays pages in wikipedia namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11717 15enhancement; normal; MediaWiki: Internationalization; (shushruth) [16:41:48] 03(NEW) Creation of the Portal and Portal_talk namespaces on the Galician Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11718 15enhancement; normal; Wikimedia: Site requests; (ubuntu) [16:54:21] I can't get this working at all. Why are there like 15 different guides in the manual for one thing, each says a different thing - dam confusing [16:54:53] 03siebrand * r26852 10/trunk/phase3/ (28 files in 2 dirs): [16:54:53] Localisation updates from Betawiki. [16:54:53] * an, ar, br, el, ext, fo, gl, hr, hsb, hy, inh, is, it, ku-latn, li, loz (new), ln, nl, ps, qu, sd, sdc, tet, tg, tl, ug, vls [16:55:10] *siebrand wipes some sweat off his brow. [16:55:30] I've got $wgScriptPath = "/tangocms/wiki/trunk"; which is where the wiki is locally installed, then $wgArticlePath = "$wgScriptPath/$1"; however, index.php?title=Main_Page&action=edit thinks I'm editing index.php, [16:55:34] what else is there I need to be changing? [16:56:17] juxo, put the results in an 'orderedtable' and hey presto [16:56:35] makes limit difficult though... [16:58:02] juxo, also log a feature request on the site. [16:58:04] AlexC_: do you use url rewriting ? [16:58:16] ialex: yes, that's what I'm trying to setup with this, [16:58:35] ialex: it *works*, IE I can go to /Main_Page [16:59:08] AlexC_: is the path to the wiki the same as the "virtual" path used by url rewriting ? [16:59:23] not sure what you mean by that, ialex [16:59:24] thanks for help. [16:59:37] ialex: shall I pastebin my .htaccess file? [17:00:13] ialex: http://paste2.org/p/8527 [17:01:35] AlexC_: this is the .htaccess in /tangocms/wiki/trunk ? [17:01:42] ialex: yes [17:03:11] AlexC_: generally it's not a good idea to the path for articles (wich is rewritten) the same as the path to the wiki [17:03:53] sure, though the url would be doubling up if I did wiki.domain.com/wiki/Foo [17:04:47] for example you can use a subdirectory from the path to the wiki [17:05:32] RoanKattouw: ! [17:05:42] I guess I'm going to have to if it's the only way it will get this to work [17:05:43] $wgArticlePath = "$wgScriptPath/wiki/$1"; [17:10:54] AlexC_ not necessarily [17:11:18] You could set it up so that your real wiki files are in /project/w/ and your clean URLs are in /project/wiki/ [17:11:39] So /project/wiki/Main_Page would (behind the scenes) really be /project/w/index.php?title=Main_Page [17:11:43] AzaTht What's up? [17:12:03] RoanKattouw: good idea! [17:12:05] RoanKattouw: would it be possible to do an implementation to categorymembers to get for example pages in category A that is not in category B? [17:12:33] You mean the thing faceface and juxo talked about just now? [17:12:51] dunno what they have been talking about [17:13:24] They talked about showing all pages in Category:A and Category:B, faceface suggested using DPL [17:13:33] dpl? [17:13:35] http://semeb.com/dpldemo/index.php?title=DPL:Overview [17:14:50] http://semeb.com/dpldemo/index.php?title=Dynamic_Page_List is the real starting point [17:15:11] DPL (Dynamic Page Lists) is an extension that allows for generating lists of pages inline [17:15:20] For example, pages that are in both Category:A and Category:B [17:15:24] RoanKattouw: yea, similar [17:15:38] but for the api [17:17:13] Hmm [17:17:23] Maybe DPL could provide an API interface [17:17:42] Like the way VasilievVV has implemented for SiteMatrix [17:34:39] 03siebrand * r26853 10/trunk/extensions/ (30 files in 29 dirs): [17:34:39] Localisation updates from Betawiki. [17:34:39] * Fixes and additions to 29 extensions for an, ar, br, el, fo, hsb, is, li, nl, no, sd, tet, tg, ug, vls [17:36:13] hey MinuteElectron :) [17:40:49] on writing a bot, i get a "Internal Error" on doEdit [17:41:13] hard to find out what it means by that. [17:44:44] PunkRock are you using the API? [17:45:33] Jack_Phoenix: hi [17:45:36] rar [17:45:42] I am in anger at Virgin Media. [17:45:49] 12 hours broadband downtime FFS [17:46:04] :/ [17:46:15] shit happens though [17:46:37] MinuteElectron, Cable Modem or ADSL? [17:46:41] cable [17:46:58] that's normally pretty good. [17:47:19] yeah, but in our area everything was down (TV,phone,broadband [17:47:39] sounds like a problem at the headend. [17:47:43] it was [17:48:15] where, exactly, is MediaWiki:tagline used? [17:48:15] back in time for the Rugby :) [17:48:20] :P [17:48:57] did you miss any footy? [17:49:11] I don't watch football lol [17:49:27] I was bored so I watched the final scores on analog though [17:51:04] things you have to do when you lose broadband [17:51:19] Is your wiki internal or public? [17:52:13] public (kindof) [17:52:38] care to share the address? mine is internal [17:52:42] Schroeder2: It is below the page title when you add some css to unhide. [17:52:56] MrHappy: http://internal.pinnedrecords.com/wiki/Special:Userlogin [17:52:58] ahh, that's what I was trying to figure out how to do [17:53:01] As I said, kind-of. [17:53:08] thanks [18:00:46] hello [18:09:42] how do I add entries to the toolbox? [18:10:04] you don't [18:11:06] RoanKattouw: yes. i do. [18:12:05] sorry...toolbox was the wrong word [18:12:17] I mean the bar of little buttons above the edit box when I'm editing a page [18:13:03] i try to make a wpStartTime with Date(), but i have a little differences, will it harm something if i post with a little inexact wpStartTime ? [18:13:37] PunkRock the API edit interface is still under development [18:13:56] wpEditTime is the date of the last modification and wpStartTime is the date whe you begin to edit, isn't it ? [18:15:02] Schroeder2: with javascript [18:16:10] RoanKattouw: oh. thats hard. [18:16:22] PunkRock yeaH [18:16:30] RoanKattouw: but i used this api several times, and it worked. [18:16:37] What was the request? [18:16:45] api.php?what? [18:16:55] erm. [18:16:58] moment. [18:17:06] i hope we misunderstand. [18:17:21] i create a title object via newFromText [18:17:29] Title::newFromText [18:17:56] after that i create an Article instance dependent on title. [18:18:04] and the i simply make a doEdit. [18:18:09] Hmm [18:18:19] that should normally work, right? [18:18:40] It should.... [18:18:48] Check that your parameters to doEdit() are correct [18:19:15] yeah. they are. ($content, $somestupidcommnt ) :) [18:19:40] Actually function doEdit( $text, $summary, $flags = 0 ) { [18:19:54] See http://svn.wikimedia.org/doc/classArticle.html#b93ab3fb47748761c6ed7e2251e37fa2 [18:20:38] yeah. but leaving the flags should result in creating a new page or update the old one. [18:20:52] am i right? [18:22:06] I guess so [18:22:14] Can you provide the actual error you got? [18:22:23] the wgOut object contains some data about the error. but it's quite .... uninformative [18:22:26] i will paste it. [18:22:55] 03nikerabbit * r26854 10/trunk/phase3/languages/Names.php: * Adding loz [18:23:00] http://pastey.net/75566 [18:23:33] I see [18:23:51] But what do you see in your browser? [18:23:57] Apart from your var_dump()s? [18:24:11] ah. no. i write it as a program line program [18:24:24] erm. stupid me. command line [18:24:57] where is the wpStarttime hash generated ? found nothing relevant in editpage.php (/me quite noob in php) [18:25:34] - hash + concatenated number [18:27:52] 03catrope * r26855 10/trunk/phase3/includes/api/ (ApiQueryImageInfo.php ApiResult.php): [18:27:52] API: Fixing bug in iiprop=metadata handling: [18:27:52] * Using ApiResult::setIndexedTagName_recursive() to recursively add tags to all subarrays of the metadata array [18:28:03] RoanKattouw: would it help you to see the code? [18:28:10] it's not that big. [18:28:10] Maybe [18:30:36] http://pastey.net/75567 [18:31:47] I'm not sure if I want to watch Notre Dame lose today or not... [18:35:17] PunkRock you use WHERE namespace='gene_ontology' in your SQL [18:35:20] That ain't gonna work [18:35:31] You probably want WHERE namespace=100 or something similar [18:35:34] the table is not a mediawiki table [18:35:38] Oh [18:35:39] this works. [18:36:41] it's part of the extension. it's at least not very nice. the only excuse i have is, that i didn't designed it .... ;) [18:36:52] lol [18:37:46] PunkRock have you disabled $wgOut in some way? [18:37:52] If so, enable it and see what happens [18:37:57] well, i mean. it does mess up the whole namespace handling [18:37:59] You might get a usable error message [18:38:09] how can i enable it? [18:39:28] PunkRock instead of var_dump($wgOut);, use $wgOut->output(); [18:39:32] i wrote some other scripts that do similar things. they work. i just copied the code, and now it's not woriking anymore. [18:39:34] ok. [18:39:43] You'll (hopefully) get a lot of HTML thrown at you [18:39:48] See if there's anything useful in there [18:41:06] nope. i get header warnings. [18:41:13] ? [18:41:22] output started at /r1/people/joshua_bacher/public_html/mediawiki/includes/DefaultSettings.php:272 [18:41:26] strange days. [18:43:34] hm. doesn't this header already sent by make sense. [18:43:52] PunkRock you have trailing newlines somewhere in a PHP file [18:43:59] i.e. newlines after ?> [18:44:07] Remove all last ?> 's from all your PHP files [18:44:11] You don't even need them anyway [18:45:01] nope. i got it. i did some echos before $wgOutput .... man [18:45:07] Ah [18:45:10] hehehe [18:45:12] Comment them out then? [18:45:30] wow. [18:45:34] here we go: [18:45:35] Fatal error: Call to a member function getArticleID() on a non-object in /r1/people/joshua_bacher/public_html/mediawiki/includes/Article.php on line 1260 [18:45:44] ^^ [18:46:08] What's on line 1260 of Article.php? [18:46:30] $aid = $this->mTitle->getArticleID( GAID_FOR_UPDATE ); [18:47:02] thats hard. [18:47:13] Check for if(!$t) before you create a new Article [18:47:19] mTitlt should be there. [18:47:24] i will do so [18:47:27] I think Title::newFromText() returned NULL [18:49:03] argh [18:49:08] i fear i got it. [18:49:18] Forgot namespace prefix? [18:49:20] Empty title? [18:49:34] the following is not a allowed page title i think [18:49:43] [cytochrome_c]-lysine_N-methyltransferase_activity [18:49:49] thats it. [18:49:57] No [ ] aren't allowed [18:49:59] oh man. ontologies suck :) [18:50:08] oh. really ? [18:50:11] Can't you use ( ) instead? [18:50:17] They are allowed [18:50:50] # < > [ ] | { } aren't allowed [18:50:53] nah. it's hard to do that, because this page is referenced in other relations like this. [18:50:59] hm. [18:51:16] How can it even exist then? MediaWiki won't allow creating such a page... [18:51:18] ahh. i will filter that ones out [18:51:42] i want to import this pages with their semantic annotation to me [18:51:54] /me/mw/ [18:51:57] Ah [18:52:11] Maybe str_replace('[', '(', $pagename); [18:52:15] And ] -> ) [18:52:18] Or another character [18:52:37] ohoh. [18:52:43] i fear it's getting harder. [18:52:48] Why? [18:53:24] since we introduced a relation syntax like this: [[some_relation::role=value;role2=value2]] [18:53:44] where the values are concepts and concepts should be pages. [18:54:18] but if i have a page that contains brackets in a relation it will get hard. [18:54:21] Yup [18:54:25] Brackets aren't alowed [18:54:27] allowe [18:54:28] d [18:54:32] a [18:54:33] You need to find some way around that [18:54:33] r [18:54:34] g [18:54:35] h [18:54:36] :) [18:54:47] Maybe by using parentheses ( ) ? [18:55:06] the point is that we need the semantic data. [18:55:30] and that is stored like [[bla::foo=bar]] [18:55:41] it's the same way as the SMW guys do it. [18:55:54] i have to think about it again. [18:55:55] What's the problem with that? [18:56:03] i will have to go and drink beer now :_ [18:56:05] :) [18:56:06] As long as [[bla::foo=bar]] isn't a page title, it's OK [18:56:46] but if bar looks like [cytochrome_c]-lysine_N-methyltransferase_activity it will be hard [18:56:54] but.... [18:57:06] hm. looks like regex. [18:57:15] i hate then [18:57:18] them [18:57:30] PunkRock PHP also has str_replace [18:57:36] yes. [18:57:38] www.php.net/manual/en/function.str-replace.php [18:57:48] but this will also replace the [[ of the relation tags right? [18:58:00] No I mean use str_replace() when importing the pages [18:58:11] can i use the "target-new=tab" from CSS3 on external links in Mediawiki already ? [18:58:14] So you'll have pages called (cytochrome_c)-lysine instead [18:58:31] If the browser supports CSS, sure [18:58:32] yes. thats fine. but the text that is imported contains the relational data about those pages. [18:58:39] Just add it somewhere to MediaWiki:Common.css [18:58:44] there's gotta be a way to get this wiper arm off... [18:58:53] Oh hell that sucks [18:59:03] Yup, that means regexes [18:59:06] this semantic data contains relations to other pages. and they contain those [[ [18:59:11] yep. [18:59:24] tomorrow. today it's only me tischfussball and beer [18:59:27] Yipiih! [18:59:35] cu and thanks RoanKattouw [19:00:02] Kein Problem [19:00:08] oh. [19:00:12] ja. na dann danke :_ [19:00:18] guten Samstag auch [19:00:28] Ich bin kein Deutscher [19:00:37] Niederländer [19:00:54] alles klar. [19:00:59] ich mache feierabend. [19:01:06] gruss in die niederlande! [19:01:29] Danke [19:09:49] -->| brion (n=brion@wikipedia/Brion-VIBBER) has joined #mediawiki -->| Duesentrieb (n=daniel@wikipedia/duesentrieb) has joined #mediawiki --> Wow, the big guys coming in ;) [19:10:29] i'm not a big guy, just mouthy :) [19:10:35] lol [19:16:03] re [19:20:10] what are the risks if i submit a wrong wpStarttime in a post request ? [19:21:14] ugah [19:21:31] my script works but i don't to break something :p [19:31:49] *i don't want to [19:56:11] 03huji * r26857 10/trunk/phase3/languages/messages/MessagesFa.php: [19:56:11] *Adding new translations [19:56:11] *Applying {{PLURAL in more messages [19:56:11] *Standardizing Persian writing in few items [21:30:50] how do i do a select with a HAVING clause using mediawiki's db abstraction layer? [21:47:03] 03downchuck * r26858 10/branches/mlmw/: Revising MLMW Branch [21:47:16] 03(mod) change website direction from LTR to RTL - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11655 (10mahanghani) [21:47:20] 03downchuck * r26859 10/branches/mlmw/: Initial MLMW branch [22:07:42] 03downchuck * r26860 10/branches/mlmw/ (58 files in 9 dirs): Rough draft of MLMW (export/import broken) [22:12:10] is there any way to disable the "+" tab (an anti-__NEWSECTIONLINK__)? [22:35:12] is there an existing hook, which gets active every time a link is clicked, but even before the article is diplayed? [23:38:28] 03(NEW) YAML trailing blanks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11719 trivial; lowest; MediaWiki: API; (jidanni) [23:41:51] 03(NEW) Google (and others) is indexing data dumps - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11720 15enhancement; low; Wikimedia: General/Unknown; (lugusto) [23:53:17] http://www.tristatewiki.com