[00:03:27] 03(mod) RAR concatenation in images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10847 (10lilewyn) [00:07:27] 03(mod) Remove ?title=*** parameter from RC entries url - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11152 (10danny_b) [00:27:48] 03(mod) List box input - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11184 +comment (10lleoliveirabr) [00:45:20] is there an extension API for adding buttons to the editor toolbar at all, or is that something I'd have to hack an MW file for? [00:45:52] i'd do that in JS [00:47:38] the JS it uses looks like it's done inline in the page at the point where the buttons show up [00:47:46] is there a hook somewhere for adding JS to that spot? [00:48:05] looks easy enough from what's there, just a matter of getting it in the right place :) [00:48:08] 03simetrical * r25515 10/trunk/phase3/RELEASE-NOTES: [00:48:08] Revert 25502. We use UTF-8, not ASCII lookalikes. If your text editor doesn't [00:48:08] support UTF-8, please fix it. Also, fixed one ISO 8859 character that snuck in [00:48:08] (which might have messed up the relevant text editor to start with). [00:48:27] justdave: nah, but you can still change it from MediaWiki:Monobook.js or MediaWiki:Common.js [00:50:38] hmm, but that gets loaded from [00:50:57] an addButton there would put content html into the head which wouldn't be right :) [00:51:08] justdave: maybe http://www.mediawiki.org/wiki/Manual:Hooks/EditPage::showEditForm:initial works, too. [00:51:40] oh, now that looks promising [00:52:03] justdave: or call addButton from an onload-handler. [00:52:09] easiest way. [00:52:50] is it possible to hook up an external HD to one of those USB dvd players? [00:53:05] 03(NEW) uploads on is:wikt only for sysops - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11187 15enhancement; normal; Wikimedia: General/Unknown; (steinninn) [00:54:36] justdave: addOnloadHook(function() { addButton(...); }); [00:55:09] and the button winds up at the bottom of the page instead of the top of the edit box? [00:56:35] hi, I'm a php-ignorant sysadmin trying to upgrade a 1.6 php4 installation to a new php5 box, and then upgrade to latest mediawiki. browser gives error of "MYSQL fucntions missing". [00:57:08] so I haven't done something - but what haven't I done? my google-fu is inadequate [00:57:38] justdave: i'm not sure whether you need the addOnloadHook at all or can just call addButton without its. it just modifies the mwEditButtons-Array which seems to be used by the buton generation code. [00:58:05] so it will insert the button at the right place for sure. [00:58:57] ahhh, ok. [00:59:21] looked like it was generating them inline, because they're all in the code right above the edit box in the HTML [00:59:39] justdave: don't use addOnloadHook, just call addButton. have a look at /skins-1.5/common/wikibits.js to see how it works. [01:00:26] 03(mod) don't advertise "create account" if not allowed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11177 trivial->15enhancement; lowest->low (10danny_b) [01:00:38] ah, cool [01:00:40] thanks [01:02:13] justdave: you mean this mess of Ä ? [01:02:13] that's for the special characters below the edit box. [01:03:25] nah, like this: [01:03:27] addButton('/wiki/skins/common/images/button_bold.png','Bold text','\'\'\'','\'\'\'','Bold text','mw-editbutton-bold'); [01:03:39] right after
[01:04:09] that it does that inside the
is what made me think it was doing them inline [01:04:19] nothing like this on de.wikipedia. [01:05:14] eh, sorry. [01:05:54] you're right, there is when i'm not logged in. maybe because i disable all the onload-hooks in my monobook.js [01:07:23] hmm. just try it. i need sleep. good night! [01:13:03] 03(mod) On-page "What Redirects Here" for admins - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11083 +comment (10kovo1) [01:17:41] 03(mod) don't advertise "create account" if not allowed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11177 (10jidanni) [01:33:14] Simetrical: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/RELEASE-NOTES?r1=25501&r2=25502&sortby=date [01:33:16] heh [01:34:35] that was a bit odd [01:48:02] how do you get fixed-width text boxes, for example if I want to have programming code exerpts on a page [01:55:17] like on http://en.wikipedia.org/wiki/Pseudo-code where below it says pseudocode: there is a text-box with fixed-width font inside [02:08:39] I just went through an extremely painful experience upgrading from PHP 5.2.1 to PHP 5.2.4 on the WIMP platform, including issues with php-cgi (the recommended approach from Windows Installation guides) and other issues. 2 questions, 1) Should I document this in MediaWiki? 2)If so, where? [02:42:28] Hi there. I'm having some problems transferring my local installation to a hosted server. For some reason my mainpage links are coming up as domain.com/index.php/Article. Once I get away from the main page its ok and continues with the usual ugly urls that I have set up. Any ideas where to start? I'm happy with ugly urls for the moment. [03:00:40] 03tstarling * r25516 10/trunk/extensions/OggHandler/OggHandler_body.php: -ss must be specified before -i, to enable fast seek. But see http://bugzilla.mplayerhq.hu/show_bug.cgi?id=892 . [03:04:03] 03(NEW) Edit to article attributed to wrong author - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11188 major; high; MediaWiki: History/Diffs; (ldsw) [03:04:21] 03(mod) Edit to article attributed to wrong author - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11188 (10N/A) [03:14:13] 03(mod) Edit to article attributed to wrong author - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11188 (10N/A) [03:14:48] 03(mod) Edit to article attributed to wrong author - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11188 (10N/A) [03:19:33] 03(mod) uploads on is:wikt only for sysops - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11187 +shell (10shinjiman) [03:34:02] 03tstarling * r25517 10/trunk/extensions/OggHandler/ (README ffmpeg-bugfix.diff): About the FFmpeg bug. [03:39:29] 03kim * r25518 10/trunk/extensions/Wikidata/util/copy.php: More minor refactors (tidied) [04:10:46] 03(NEW) Search on http://wiktionary.org/ searches wikiquote rather than wiktionary. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11189 major; normal; Wikimedia: Site requests; (gmaxwell) [04:16:25] 03(mod) Search on http://wiktionary.org/ searches wikiquote rather than wiktionary. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11189 normal->high; +shell (10cannon.danielc) [04:24:43] 03(FIXED) Search on http://wiktionary.org/ searches wikiquote rather than wiktionary. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11189 +comment (10cannon.danielc) [04:26:41] 03(mod) Add section edit link for 0th section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=156 (10circee) [05:31:31] Heya... [05:31:50] All of a sudden my MW died today and gives me this error: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1245184 bytes) in /home/path/html/languages/messages/MessagesEn.php on line 2040 [05:31:56] o_O [05:33:18] I have a string of the form xx.yyy.z, and I'm trying to match yyy (the next-to-last element separated by dots). This is not working: [05:33:21] /.*([^.]+)\.[^.]+$/ [05:35:03] why not using greedy modifier [05:35:21] /.*?\.(.*?)\.(.*?)/ [05:36:58] Jasio: 8 MB is too little [05:37:03] Nope, that doesn't work either, puzzlet. [05:37:20] What my original regexp matches is just one character before the last dot, instead of the entire non-dot span before it. [05:38:58] why do you have .* in beginning? [05:39:04] hey all [05:39:20] >>> re.match(r".*?\.(.*?)\..*?", "xx.yyy.z").group(1) [05:39:20] 'yyy' [05:39:51] quick question, does anyone know of mediawiki markup to HTML converters that actually work? php/python/ruby prefered [05:40:06] sour1: hehe. [05:40:09] parser.php :D [05:40:10] placing ? after * makes it greedy match [05:40:21] I thought that made it a lazy match. [05:40:38] Nikerabbit, if it's that easy, pass me a rifle - i've spent almost an entire day of works time trying to figure where mediawiki keeps it :P [05:40:52] sour1: Best of luck! [05:41:35] sour1: it's the only that fullfills the requirement "actually works" :D [05:42:09] Nikerabbit, funny thing is, I've never had it pop up before. [05:42:15] It came up today. [05:42:15] .*? matches as least characters as possible to confort rest of the regexp [05:42:31] haha, notepad++ crashes when i try open parser.php [05:42:34] well it's beyond my English skill [05:43:27] Jasio: then the limit is not working anymore [05:43:56] puzzlet: your patterns are matching nothing here. [05:44:02] sour1: use of notepad is discouraged for other reasons [05:44:49] it's notepad++, "enhanced notepad", i like it cause it's something lightweight when working under windows [05:44:59] Use SciTE. [05:45:05] Notepad doesn't handle UTF-8 well. [05:45:09] davidmccabe: what programming language are you using [05:45:18] davidmccabe: does that require to escape \'s? [05:45:26] php / pcre. [05:45:30] And doesn't Notepad add BOM's which PHP chokes on? [05:45:31] oh, the answer is: [05:45:36] /.*?([^.]+)\.[^.]+$/ [05:45:43] which makes just that initial match lazy. [05:46:16] jasio, notepad++, not windows notepad [05:46:22] SciTE is as "light weight" as you can get. [05:46:32] No installer, entire application is wrapped in a 400kB exe. [05:46:41] nice, i'll look into it now [05:46:47] thanks for the info [05:47:15] Features language highlighting, UTF-8 support, and all those other magical features people crave for but never really use :p [05:47:18] can it handle large files well? 100mb+? [05:47:22] Sure. [05:50:00] you're right, very cut down :P, i'll test it against large files next time [05:50:44] I love it since I can pop it on a USB stick and take it anywhere. [06:08:45] 03siebrand * r25519 10/trunk/phase3/languages/messages/MessagesFrc.php: Fallback language was supposed to be English (removed French) [06:10:30] my head is begining to hurt [06:11:04] we're sorry. [06:11:08] <_wooz> lo [06:17:08] ok thanks for your help Nikerabbit, i think i can work it all out from here [06:26:23] uga [06:27:47] no robchurch here lately [06:27:47] mm [06:40:40] mm [06:47:45] Rob wants to fight me back! [06:48:00] haha! [06:48:02] committed deathmatch [06:48:06] s/ed/er/ [06:48:28] 03(NEW) Suggestion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11190 15enhancement; normal; Wikimedia: Bugzilla; (ekatz) [06:48:29] flyingparchment: I just don't get the idea of additional indexes on recentchanges just because of minor features [06:49:00] stop the bloat! [06:49:40] "Suggestion" [06:51:12] maybe I should just be bold and revert stuff :) [06:56:11] 03david * r25520 10/branches/liquidthreads/extensions/LqtModel.php: optimization: creating a thread tree should now be linear; profiling shows some benifit on the data I have here. [06:57:50] which stuff? [06:58:40] Nikerabbit: 24607 - [06:59:58] um, in svn, what's the easiest way to undo a commit you just made? [07:00:44] davidmccabe: svn diff -r1:2 | patch [07:00:46] =) [07:02:51] 03david * r25521 10/branches/liquidthreads/extensions/LqtModel.php: oops, that was broken. undid last commit. [07:02:57] thanks domas. [07:03:38] 03(NEW) An Edit link for the "in other languages" box in the left of wiki page. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11191 15enhancement; normal; MediaWiki: Internationalization; (lapsap7+mwiki) [07:07:29] domas: it checked if a diff was in RC, diffs that are non-ajecent or too old aren't, hmm [07:08:10] domas: maybe you could just check for adjacency and give a message when one 'patrols' a stale edit thats not in IC [07:08:11] *RC [07:08:25] if really wanted to be a miser on the indexes [07:12:56] Can sb tell me a good mysqldump command for taking some imported xml files from mediawiki.org into my wiki database, please? [07:15:08] 03david * r25522 10/branches/liquidthreads/extensions/LqtModel.php: all fixed :) [07:16:24] 03david * r25523 10/branches/liquidthreads/extensions/LqtModel.php: (m) cosmetic [07:17:09] domas: gawd, actually maybe the patrolling index should be rc_patrolled,this_oldid,last_oldid [07:17:23] then you could filter RC to edits that are not patrolled and do that [07:17:36] which would at least justify the index more [07:23:50] VoiceOfAll: it simply can use 'namespace,title' index [07:24:13] mmm [07:24:18] *domas looking at edge cases [07:25:39] heya, i am using Parser to try convert Wiki markup to HTML, I've encountered a problem, Fatal error: Call to a member function getMaxIncludeSize() on a non-object in C:\wamp\www\w\includes\Parser.php on line 2785 [07:25:42] what the heck: http://en.wikipedia.org/w/index.php?title=User:ST47/BAGLU&action=history [07:27:49] i presume all i need to do is call webstart.php and wiki.php, create a Parser() object, then $ParserObj->internalParse ($contents); [07:28:13] Can sb tell me a good mysqldump command for taking some imported xml files from mediawiki.org into my wiki database, please? [07:28:35] Soroush83 use xml2sql [07:29:04] then import it as usual, make sur eyou have mediawiki installed with all tables in place before you do it. [07:29:37] sour1, is it a free software? [07:29:44] mmm [07:29:48] Soroush83 yepp let me find it for you [07:30:14] now I wonder, didn't I clean the recentchanges once already [07:30:19] it is still at one month [07:30:33] thanks very much ,does it accept prefix for database [07:30:53] it just dumps out an import file in MySQL format [07:31:21] then you can import it using; mysql -u blah -p blah databasename < largedump.sql [07:32:26] sour1, It's excelent in that case. I've been using a pywikipediabot program to do that. It sometimes took several days for some imports [07:33:22] Soroush83 another tip, when importing it, change the database type to MyISAM from inddob or whatever it is [07:33:39] went from 15 hours to 1 hour on a p4 [07:35:37] Soroush83 the file is namex xml2sql, i found it on wikipedia website a while back [07:36:37] http://meta.wikimedia.org/wiki/Xml2sql [07:37:02] that's what i've been using [07:37:15] thanks very much, getting and then test it to see how it is [07:37:30] domas: I was thinking about ns,title [07:37:53] the upper end cases (like GWB) may have like 70-100 edits [07:37:55] My connection is usually poor and I need to have some wikis at home :) [07:38:05] not so bad if done on submit only [07:38:20] well 'submit', it's not a true submit [07:38:24] Soroush83 i know the feeling :) [07:38:44] domas: still, wouldn't it be helpful to filter by patrolled or not? [07:39:20] oh, there already is a filter [07:39:29] how is it working then? [07:42:22] http://en.wikipedia.org/w/index.php?title=Hurricane_Felix_%282007%29&limit=500&action=history [07:42:31] 3 approximate day(s) of edits [07:42:39] 121.206 edit(s) per day [07:42:54] domas: or higher ;) [07:42:55] VoiceOfAll: the query is done just on difference page view [07:43:15] pity we don't have namespace,title,timestamp index [07:43:18] Cool, i've commented out about 30 lines out of Parser.php and still getting errors woohoo! [07:43:19] probably that needs to be added [07:43:45] Is rel="copyright" a good idea if the Monobook theme and images are licenced under a different license? [07:44:49] domas: it used to just only show if rcid is given, what was bad about that? [07:45:42] namespace,title,timestamp is very nice for watchlists [07:46:46] http://bugzilla.wikimedia.org/show_bug.cgi?id=10793 [07:46:58] VoiceOfAll: it doesn't need separate index [07:47:02] for single link [07:47:07] yeah, probably [07:47:22] domas: high well does the 'hide patrolled' work? [07:47:31] *how [07:47:58] 'This would make [Mark as patrolled] links for diffs from the History or for combined diffs possible as well.' [07:48:05] heh, not sure that makes sense [07:49:29] VoiceOfAll: actually, even rc_timestamp index fully suits the task [07:50:02] I am going to cry. [07:50:43] sour1: as my Hhungarian ENG167 prof always says "Don't cry!" [07:50:48] *Hungarian [07:51:47] I wish, I have been trying to get mediawiki -> HTML converter working for an entire day now :/ [07:53:17] where do all the mediawiki developers hang out at, purhaps one of them is kind enough to help me out. [07:55:33] domas: maybe it should use cur_id (page_id). If a made a bunch of edits to a page and moved it [07:55:42] 03david * r25524 10/branches/liquidthreads/extensions/LqtModel.php: [07:55:42] Big savings by not querying for every Threads::withRoot invoked from the [07:55:42] protection hook. Possible regression: protecting a talkpage doesn't protect the [07:55:42] threads on it. But I reverted and still got this behavior, so maybe I remember [07:55:42] wrong that that worked. [07:55:50] the RC titles would still be the old ones [07:56:09] VoiceOfAll: title can be used from revision object [07:56:54] yes, but the revision's title may not match rc_ns,rc_title [07:57:18] why so? [07:57:34] I'm not looking at revision title! [07:57:42] changed for now conds to: [07:57:42] array( [07:57:42] 'rc_namespace' => $this->mNewRev->getTitle()->getNamespace(), [07:57:42] 'rc_title' => $this->mNewRev->getTitle()->getDBkey(), [07:57:42] 'rc_timestamp' => $this->mNewRev->getTimestamp(), [07:57:43] 'rc_this_oldid' => $this->mNewid, [07:57:47] 'rc_last_oldid' => $this->mOldid, [07:57:49] 'rc_patrolled' => 0, [07:57:51] ), [07:58:05] tell me how it can be wrong and I'll change it :) [07:58:43] I'd use 'rc_cur_id' => $this->mNewRev->getPage() [07:59:03] stuff this, i'll pay an indian freelancer to worry how to do this. [07:59:56] why? [08:00:24] Aloha! [08:00:31] I'm not sure thats indexed [08:00:35] and I don't see where it can be wrong [08:00:44] cur_id is, but timestamp is not in there [08:01:24] can I have co-sysop on my own wiki?! can anybody say me [08:01:33] iobug: sure [08:01:37] just set user rights to someone else too [08:01:44] how? [08:01:49] special:userrights ? [08:02:11] VoiceOfAll: the timestamp is _very_ selective already [08:02:15] sour1, I used xml2sql and it created dumps of 3 tables [08:02:22] 10x, I am not sure, but will try :) [08:02:23] text, revisions and page [08:02:24] domas: page moves don't update rc_ns,rc_title, only rev_page. So getTitle(), getNamespace() point to the new title for the revision [08:02:44] I tried to import them using phpmyadmin [08:02:47] VoiceOfAll: do you mean that page moves update ALL revisions in rev?? [08:03:05] but gives me the following fatal error: Fatal error: Cannot use string offset as an array in E:\Program Files\Apache Software Foundation\Apache2.2\htdocs\phpMyAdmin\libraries\sqlparser.lib.php on line 1014 [08:03:11] ok, you might be right [08:03:22] Should I use it in a special mode? [08:03:52] Hmm, could you potentially save time by taking an sql query, hashing it, and seeing if that hash exists in a memory cache? [08:04:32] domas: it changes page_title,page_ns, but rev_page points to it [08:04:47] yup [08:04:47] oh, sour1 has left the room [08:04:50] you're very very right [08:05:06] domas: but that ns,title,timestamp index would be very good [08:05:21] if only the cur_id index had timestamp [08:06:14] VoiceOfAll: timestamp index is perfect for the job [08:06:19] Does anyone else know the problem of dumps of xml2sql? [08:06:21] hallo, how can i change the time of the wiki? [08:06:27] ns,title,timestamp would help with watchlists though [08:07:23] VoiceOfAll: you know, I can even remove rc_cur_id from conditions [08:07:36] yeah, timestamp may be that good [08:07:49] VoiceOfAll: the very simple reason [08:08:00] VoiceOfAll: entries inside table are ordered by timestamp [08:08:08] so by fetching two subsequent records you always hit same db page [08:08:15] whereas by cur_id it may be scattered [08:08:23] omoo, http://www.mediawiki.org/wiki/Manual:%24wgLocaltimezone [08:09:38] domas: can we add timestamp to the ns,title and cur_id indexes and kill the patrolling index? [08:10:16] I will kill the patrolling index without any changes to indexing [08:10:23] now, adding timestamp to ns,title makes sense anyway :) [08:11:38] wooooo [08:11:39] :) [08:11:42] 03midom * r25525 10/trunk/phase3/includes/DifferenceEngine.php: be resourceful, instead of creating new indexing bloat, use existing indexes. [08:12:02] 03david * r25526 10/branches/liquidthreads/extensions/LqtModel.php: similar caching by id. Threads::where is now only called twice per talk page. [08:12:41] domas: great thanks :) [08:14:31] 03midom * r25527 10/trunk/phase3/maintenance/ (4 files in 3 dirs): destroy rc_patrolling index, no removers added, I hope not that many people did run update with that revision :) [08:14:56] \o/ [08:15:13] always nice to revert something [08:18:20] How can I make sth should be done for table "page" to [08:18:21] hmm [08:18:34] be done with table _Farpage? [08:18:49] what else should I revert? [08:20:36] 03aaron * r25528 10/trunk/phase3/maintenance/updaters.inc: *Remove comment per r25527 [08:20:44] haha, thanks :) [08:21:23] 03kim * r25529 10/trunk/extensions/Wikidata/util/copy.php: [08:21:23] More copy work. Refactor only. [08:21:23] Now overwrite-check ready. [08:21:23] Then relations-ready (although there's still an issue [08:21:23] of uncontrolled recursion) [08:21:24] It runs, so let's ship it. :-P [08:22:03] VoiceOfAll: this is so like me... [08:22:04] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DifferenceEngine.php?r1=25409&r2=25525 [08:22:17] this is how I explain what I do to Wikipedia to other people [08:22:27] stare at code for few hours, then change single line [08:22:27] :) [08:24:14] good bye (..), [08:25:05] bye! [08:25:09] n8 [08:33:02] domas: your more of a sysadmin and sanity check than a regular dev [08:33:08] *you're [08:33:39] 1 line changes make all the difference ;) [08:34:06] even my mysql patches are oneliners :( [08:41:17] but oh such powerful ones [08:42:59] 03david * r25531 10/branches/liquidthreads/extensions/LqtModel.php: oops [08:53:46] http://en.wikipedia.org/wiki/Russian_Wikipedia#References [08:53:51] ugh, pipe links plz [09:08:05] 03ilabarg1 * r25532 10/branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php: [ApiEditPage.php]-Some comments put by eclipse that produces an error due to a "\n" at the beginning of the class has been cleaned. [09:08:26] Has anyone worked with xml2sql [09:08:27] ? [09:13:28] Has anyone worked with xml2sql? [09:15:30] hi. i'm making a python library that interfaces with mediawiki wikis. e.g. you can load pages with it, save etc - like pywikipedia except instead of focusing on automating tasks it focuses on being a python representation of the interface [09:16:07] i was wondering if someone would like to comment on the syntax i have for it? [09:16:29] ehird, I use pywikipedia [09:17:00] http://mediawiki.pastey.net/73418 [09:17:08] and python has an IDE and I have problems with python IDE for unicode characters [09:17:10] Soroush83: see - "like pywikipedia except instead of focusing on automating tasks it focuses on being a python representation of the interface" [09:17:28] my syntax is quite similar to pywikipedia actually, but much simpler to access arbitary wikis [09:17:29] see my page [09:17:31] *paste [09:18:15] I see and it is the reason I hope it will have less problems with utf-8 if possible. [09:18:32] of course the syntax in my paste is not 100% what it will look like [09:18:34] my problem is mostly because of python IDE [09:18:41] most of the time you will use u"unicode strings" [09:18:44] looking [09:18:44] but its just an example [09:19:50] hmmm. I thought you were talking about making sth like AWB [09:19:58] nope [09:20:00] a python library [09:20:17] that exposes the mediawiki interface in a pythonic, but fully-featured and fully-controllable, way [09:22:31] your code looks like another intrepretion of pywikibot [09:23:42] actullay I still can't see how your code can be more useful than pywikibot. It does what pywikibot [09:23:48] its two examples. [09:23:51] but with different commands [09:23:52] it can do a lot more [09:24:02] what for example [09:24:04] ? [09:24:12] um, i don't see how python can be more useful than machine language [09:24:21] it does what machine language can do but with different commands. [09:24:27] let's all use machine language...? [09:24:49] can it do anything more than what is lyed in api? [09:25:41] I think python is better than c++ or othe programs make machine programs [09:25:54] the one who runs bot must know programming [09:26:18] pywikibots need to be updated all time and always have bugs [09:26:37] They need to have simple code. It can be done in python [09:27:25] you miss my point entirely [09:29:05] I see. but runnig c++ or simillar for a bot looks to be difficult [09:29:35] and the bot drivers need to frequently change the code [09:30:13] It is easier in python [09:31:18] obviously [09:45:18] Hi! [09:46:03] 03aaron * r25533 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: *Treat password as temporary [09:46:18] hi, where_ [09:46:32] can I help you? [09:47:33] yes, writing my questions... [09:48:09] I wonder if there exists a feature, let's call it "zones"/"security levels"? Meaning, 1) one can define that a curtain page/notion belongs to public/private/etc. zone, 2) user/group is defined to be able to access curtain "zones"/"security levels"? [09:48:28] please, help [09:50:22] do you mean $gwGroupPermisions ? [09:50:46] $wqGroupPermisions [09:51:26] I'm not into codding right now, all I'm asking if MediaWiki has this feature inside, available to admin/publisher? [09:52:26] You should change LocalSettings.php anyway [09:52:44] to set your desirable group permissions [09:52:51] which are? [09:54:38] Hi, Malayalam Wiktionary don't have an active community. I would like to improve the project and bring more people. I would like to request for Bureaucrat access. What are the procedures? [09:54:42] ok, I'm reading this on the MediaWiki help... [09:55:10] http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions [09:55:18] this will help you more [09:56:03] and http://www.mediawiki.org/wiki/Manual:%24wgAddGroups is useful too [09:56:53] ??? [09:57:06] Soroush83: Thanks I will see into it. [09:57:39] you're welcom [09:58:07] brion or another dev [09:58:10] you around? [09:58:16] We have a case of a stolen account [09:58:19] We don't have any developers in our proj [09:59:16] account is [[en:User:Juxo]] [10:00:01] kunsole on irc with a wikimedia cloak is claiming this [10:00:05] hello Sadik [10:00:11] Sadik you have a minute? [10:00:15] hello [10:00:41] hello, why don't you employ some :)) [10:00:44] ? [10:01:46] I am talking about ml.wiktionaty.org :-) [10:02:35] 03mkroetzsch * r25534 10/trunk/extensions/SemanticMediaWiki/specials/URIResolver/SMW_SpecialURIResolver.php: Provide rdf-mime results to RDF-requests [10:02:41] haha [10:02:47] We needs someone with SQL access to enwiki [10:02:58] or ability to set email address some other way [10:02:58] many projects don't have any [10:03:23] :-) [10:04:17] My problem is we don't have an active community. Same here too [10:04:47] Sadik: maybe more complete interface translation could help? [10:05:20] No, [10:05:49] We have to improve, the project, [10:06:16] for that we need bot,sysop... [10:06:28] ...real persons [10:06:57] I can make bot [10:07:24] We need to edit many protected pages [10:08:12] eg: We dont have a page to make new enties [10:08:30] for that we have edit Search page [10:08:47] I think #wikimedia is better for this request ,Sadik [10:09:17] you might want to request for temporary adminship [10:09:50] What about local community approval [10:11:28] you say it doesn't have it [10:11:31] First we have to Improve the Site. then, people will come [10:12:00] I'll try [10:13:26] no response from #wikimedia [10:13:59] Thanks [10:14:03] bye [10:20:53] hey dues [10:21:28] i just read the wikipedia article you left me last night, about patching [10:22:10] i was still confused, but then i read the discussion page on the extension which requires the patch...it turns out i have to install TortoiseSVN to do this [10:26:12] i forgot to remind you i have absolutely no programming exp or anything near it, except html..so yeah i guess this is the 'shell' that was mentioned before [10:30:02] 03kim * r25535 10/trunk/extensions/Wikidata/util/copy.php: (log message trimmed) [10:30:02] Copy safety implemented, same UUID won't be copied twice. [10:30:02] > Recursive copying should now be safe-ish, so can expect new functionalities [10:30:02] wrt recursive copying to appear soon. [10:30:02] !flaws: [10:30:03] * Translated content is treated as a set, so won't do merging [10:30:05] * I'm stealing conceptmapping from the wikidataapi version. [10:42:14] 03(NEW) tog-extendwatchlist wording too cryptic - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11192 trivial; lowest; MediaWiki: User preferences; (jidanni) [10:44:57] feltipen: you can also use the command line patch utility. you can get it via cygwin, but there's probably also a native windows version aground [10:50:23] 03(NEW) Create "=?UTF-8?Q?=D7=A4=D7=90=D7=A8=D7=98=D7=90=D7=9C?=" namespace on Yiddish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11193 15enhancement; normal; Wikimedia: Language setup; (wiki.pedia) [10:52:07] 03(mod) Create "=?UTF-8?Q?=D7=A4=D7=90=D7=A8=D7=98=D7=90=D7=9C?=" namespace on Yiddish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11193 (10N/A) [11:30:11] 03kim * r25536 10/trunk/extensions/Wikidata/util/copy.php: [11:30:11] Heh, only one real bug, where I checked for the existence of an [11:30:11] object entry table *before* actually attempting to read it. [11:30:11] Whoops :-P [11:30:11] (runs, basic testing complete) [11:33:06] Hi, is it possible to tweak mediawiki to make it a bit faster? google returns just wikis explaining the word 'performance' :D [11:34:24] q_no: are you using APC/accelerator ? [11:35:44] q_no: http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ [11:35:52] q_no: first hit of 'mediawiki performance tuning' on google. [11:35:53] no. it's a very common apache2 / php 5.22 install on gentoo... no optcode caches [11:36:14] q_no: opcode cache is a must. [11:36:31] indeed [11:37:06] read that page [11:37:08] then come back! [11:37:09] :) [11:37:15] I wish I could switch to lighty/xacache on that machine, but we have to use apache to satisfy our customers :-| [11:37:51] but thx anyway for the link *reading* [11:39:26] q_no: well, xcache or apc can be installed on apache too [11:39:34] I use lighty because of simplicity :) [11:40:51] yeah, I've got xcache/lighty running on 5 other servers and it's awesome! :-D [11:43:28] mhm, not sure if xcache is more awesome than APC [11:43:29] but.. :) [11:43:36] at least they added all features I asked for [11:43:42] now we can try using that [11:49:35] domas: how does mw_objectcache compare to a file caching system? [11:50:24] wouldn't expect lots of difference, tbh :) [11:50:35] depends on how loaded i/o is [11:51:39] 03(VERIFIED) Wrong URL redirection when using {{#forminput}} - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11090 +comment (10math.smeets) [11:52:43] it also depends how loaded sql is... [11:53:43] mhm [11:53:57] I'm used not to overload databases :) [11:54:04] 03(NEW) ZH wikipedia won't use EN preferences! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11194 normal; normal; MediaWiki: User preferences; (jidanni) [11:55:41] *VoiceOfAll fires up CACHE_ACCEL [11:56:11] 03erik * r25537 10/trunk/extensions/Wikidata/OmegaWiki/SpecialConceptMapping.php: +missing require [11:59:11] 03(mod) ZH wikipedia won't use EN preferences! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11194 (10jidanni) [12:03:36] domas: eaccelerator.compress = 0, oh yeah :D [12:03:50] eaccelerator? [12:04:01] we didn't use it for quite a while [12:05:44] we've never used eaccelerator :) [12:08:00] hey guys - a wiki I inherited displays "BST" as timezone; how can I change that to UTC? [12:08:13] (I don't suppose I can do it retroactively, at least without a bot) [12:08:24] Hi all [12:08:29] *VoiceOfAll laughs at domas [12:08:57] domas: I think you memory cache is a bit corrupt ;) [12:08:59] can anybody help me for 5 minutes [12:09:13] mark: we did use, though [12:09:22] I just want to know if there is any option for moderating mediawiki [12:09:31] no there isn't. [12:09:31] mark: before APC... :) [12:09:32] it'S a wiki [12:09:36] domas: that was turck ;) [12:09:39] (ok ok ;) [12:09:54] hi Duesentrieb [12:09:55] mark: there's no turck with php5! :) [12:10:01] there is no extension ? [12:10:09] if we used eaccelerator then only for a short while [12:10:16] yup :) [12:10:30] it had so many bugs it made baby Jesus cry! [12:10:34] there is no extension for moderating media wiki [12:10:57] domas: bugs? :( [12:11:09] nobody on th timezone issue? [12:11:11] *the [12:11:42] Ace_NoOne: LocalSettings.php? [12:11:51] Ace_NoOne: time is stored as UTC in database anyway :) [12:11:58] am using MediaWiki 1.10.0 [12:12:02] domas: yeah, but ... no way to set it retroactively? (since ~~~~ is subst'd) [12:12:06] VoiceOfAll: at wikipedia all practices are used to break opcache [12:12:12] Ace_NoOne: nope. [12:12:18] :/ [12:12:18] anybody know if there is any option for moderating media wiki [12:12:25] please help... [12:12:30] Maj: there is *none* - you've already been told that [12:12:44] Maj: "moderated wiki" is a contradiction in terms. [12:12:55] hmm :( [12:13:03] read up on what a wiki is [12:13:15] or, as Rob would say, "get a bloody CMS" [12:13:33] oh sorry guys [12:13:36] :( [12:13:42] sorry to bother you guys [12:14:39] yeah you ping me :P [12:15:09] domas: hmm, as I view pages, more scripts are cached. Is there a way to get them all to cache on apache start? [12:16:20] VoiceOfAll: no [12:16:25] Maj: moderate how? [12:16:29] VoiceOfAll: it is not scripts that are executed [12:16:33] ergh, cached [12:16:35] but codepaths [12:16:43] it is black magic [12:16:49] and only Tim understands it properly [12:17:06] even after reading http://meta.wikimedia.org/wiki/Help:Timezone I still don't know how to set UTC as the default timezone for ~~~~ [12:17:30] VoiceOfAll : thanks for our reply. I will say how [12:17:54] before anyone post in our knowledgebase [12:18:00] I want to moderate it [12:18:12] only after my check it need to be published [12:19:48] is there any way like that [12:19:53] you can flag revisions and show them by default [12:20:00] but you cannot hide unmoderated ones [12:21:22] VoiceofAll is that for me ? [12:23:04] is it? I don't know, it's your wiki ;) [12:23:09] 03(mod) Chat room - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11190 summary (10axel9891) [12:23:13] Maj: http://amidaniel.com/testwiki/index.php/Sam_Donaldson [12:24:23] let me check it you are cool and helpful ;) [12:26:01] hmm, I think I got it - but I'm not sure why it works:$wgLocaltimezone = "UTC"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); [12:26:10] could anyone confirm this? [12:37:03] (01:51:54 AM) VoiceOfAll: Maj: http://amidaniel.com/testwiki/index.php/Sam_Donaldson [12:37:08] this didn't help [12:37:21] i Have a knowledgebase [12:37:32] which is having 2000 posts [12:38:08] I need to control the edits ... I mean users should be able to post new articles but should be moderated [12:38:11] thath's it [12:38:51] 03(mod) Chat room - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11190 +comment (10Platonides) [12:48:47] Maj: there is (will be?) a StableVersion extension IIRC [12:49:32] can you please give me the URL for any ? [12:50:34] Maj: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/StableVersion/ <-- not sure if it's production-ready [12:51:01] it's undocumented as far as I can tell [12:51:33] ok I will check [12:52:18] is ther any read me for that ? [12:52:24] Ace_NoOne> it's undocumented as far as I can tell [12:52:37] ok ok :) [12:57:20] hi there. well... little problem here ;). i recently updated my apache2, php and mysql version. i had a mediawiki 1.8.2. today a user noticed that the umlauts are broken. the "old" pages are ok, but if you create new pages or update old pages, the umlauts broke (firefox displays a question mark). i now updated to mediawiki 1.9.3 but the problem persists. [12:59:13] (this was problem one...) and the second problem: mediawiki don't resolve the {{templates}} anymore. strange. my title says "Hauptseite - {{SITENAME}}" and also f.e. the text in Special:Version reads "... You should have received [{{SERVER}}{{SCRIPTPATH}}/COPYING ..." [12:59:49] any idea where i should look deeper for fixing this problems? [13:00:46] avatar: if you don't get help here, try http://lists.wikimedia.org/mailman/listinfo/mediawiki-l [13:02:32] brion about the issue I mentioned to you yesterday [13:02:33] http://bugzilla.wikimedia.org/show_bug.cgi?id=11181 [13:02:34] thanks, right now i have *count* 21 wikimedia related mailinglists subscribed. perhaps it's time to add another one... [13:03:17] avatar you havent subscribed to them all yet? [13:04:37] Annyone knows how i get the Mediawiki news box to work? [13:04:42] i'm heard its hack [13:04:50] and i'm need some information where i find it [13:05:52] ---------- [13:05:53] avatar, maybe new pages have the umlauts as iso-8859-1 ? [13:06:14] do you see them changing the encoding charset? [13:08:03] rrOB? [13:08:07] Rob?* [13:09:37] Zizanzu_: nobody here knows about Wikia-specific stuff [13:09:49] huh? [13:09:54] its about my miki [13:09:58] wiki [13:10:02] not a wikia? [13:10:08] where did you get that from? [13:10:20] I thought Newsbox was another Wikia hack [13:10:35] but many others have it to [13:10:41] and i'm interesting to find the hack [13:11:05] searched MediaWiki.org? [13:11:20] or visited [[Special:Version]] on the respective wiki? [13:11:49] checked [13:13:44] Zizanzu_: what does newsbox dow? perhaps look at the News extension on mw org [13:14:08] sure tis that?` [13:14:12] its* [13:14:33] what? [13:14:51] guys thanks see ya [13:14:53] but wikia dont have that installed [13:15:10] yey [13:15:14] Zizanzu_: ask wikia people about wiki stuff... [13:15:16] *Majorly is no longer pinged [13:15:20] hello [13:15:23] about wikiA stuff, that is [13:15:30] huh? [13:15:38] MANY OTHER WIKIS HAVE THESAME [13:15:51] stop yelling [13:17:08] Zizanzu_: a) calm down b) tell us what you actually want to do (wtf is "newsbox"?) c) how is this related or unrelated to wikia? [13:17:26] ITS RELATED MEDAIWIKI [13:17:48] right, piss of the people trying to help you - smart [13:18:04] i'm dont need more information about that [13:18:08] i take the next [13:18:10] come back when you can ask a concrete question weithout yelling [13:18:27] also, you already got your answer in #wikia [13:18:29] where do i find on extension for naamespace logos? [13:18:30] so wth [13:18:41] I do have a concrete question :) : it's about func_overload conf in php.ini [13:18:43] you find extensions on MediaWiki.org [13:18:54] Aquel: #php ? [13:19:06] s/#/## ;P [13:19:09] no that's a wikimedia issue [13:19:12] whatever, it redirects [13:19:22] I know - but I like being a wiseass [13:19:25] you cannot install wikimedia if this option is enabled [13:19:35] *mediawiki [13:19:36] Aquel: you mean mediawiki, i suppose [13:19:42] but no idea, sorry [13:19:43] yeah sorry :) [13:19:58] do you know why, and do you know what I risk if I enable it anyway [13:19:58] ? [13:20:16] TIAS... (preferably on a local XAMPP setup) [13:21:11] Hey guys.. I had a great idea for Wikipedia that I might eb able to code... [13:21:21] It came to me while I was laying in bed this morning [13:21:36] Borbus: what is it, and you don't exactly need permission to do that ;) [13:21:49] A way to create and edit diagrams and graphs with wiki code [13:21:59] So some code that would convert markup to SVG [13:22:00] sparklines? [13:22:03] oh ok [13:22:16] I know I don't need permission.. but I wanted to see if anyone else thought it would be useful [13:22:28] sure, why not [13:22:50] how would you use it? [13:22:55] So instead of people making PNG graphs with excel or whatever crap.. they can make them with simple markup.. and they can be editable [13:23:05] gimme an example of the markup [13:23:09] Borbus: it would be cool, yes. there are some existions similar to this... including applet based svg editing, inline SVG, and a tag-based UML renderer. [13:23:15] Well I think it would need its own namespace to work [13:23:16] perhaps look at them before starting from scratch [13:23:42] I haven't thought about markup yet.. that would be something that would need to be developed [13:24:17] well, you must have some idea of where you're going with this!? [13:24:22] Since inline SVG isn't quite ready yet.. I was thinking the SVG code be generated and then passed to imagemagick to make a PNG [13:24:46] Well basically I think it would just be an easy frontend, if you like, for SVG [13:24:51] 03(NEW) Linking to an article in 'edit' mode - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11195 15enhancement; lowest; MediaWiki: Page editing; (saibot834) [13:24:54] Borbus: by "inline svg" i mean editing svg code on a wiki page. not sending svg to the browser directly (different issue) [13:24:54] Like wiki code is to HTML [13:25:03] Oh.. right [13:25:20] Borbus: that extsion could probably be adopted to use a "wiki vector syntax" [13:25:31] Yeah, exactly [13:25:33] Platonides: nope. if i change character encoding in browser to iso-8859-1 the umlauts in the sidebar are broken - but the "problematic umlauts" in the article are also broken. in a different way this time :-) [13:26:08] So basically an easy version of SVG.. specifically for making graphs and diagrams [13:26:14] Borbus: I don't suppose you mean a ASCII art to SVG to PNG converter? [13:26:23] No.. [13:26:32] Borbus: however, creating graphics by specifying vectors is tedious. what people really want is diagrams with outomatic layout. stuff like "make four bubbles, connect x, y, and z that way, make this arrow red" - and not worry about the layout. or "give me a pie chart for the following data". [13:26:34] well, can SVG be simplified further? [13:26:40] Borbus: stuff like that would be really handy. [13:26:46] Yeah exactly Duesentrieb [13:26:47] Ace_NoOne: sure. [13:26:49] That's what I mean [13:27:00] sounds good Borbus [13:27:04] get coding [13:27:18] Borbus: not trivial, and probably not a good idea to try to invent a single syntax for all uses. maybe a set of tags and functions, all using the same rendering backend [13:27:54] Yeah I know it's not trivial.. to be honest it's probably over my head at the moment.. but I learn as I go along as always [13:29:09] learning is for wusses - only omniscient coders are allowed to contribute to MediaWiki [13:29:11] Soemthing like [13:29:34] I don't if it's be better to use xml or wiki markup [13:29:48] I think for such complex things XML is ok [13:30:11] Ace_NoOne: heh.. don't worry I won't be commiting anything until it's ready.. if it ever is :P [13:30:20] ;) [13:30:30] anything that goes beyond '''bold''' needs a proper syntax, so such complex extensions usually use XML [13:30:40] Yeah [13:30:43] you could use JSON tho... [13:31:23] Never used that.. what's it like? [13:32:16] Borbus: http://en.wikipedia.org/wiki/Json -- I wasn't being serious though [13:32:36] Oh right.. java [13:34:08] Ultimately I think something like that could lead to an easy AJAX based graph maker... That would be great [13:34:40] yup; and eventually I'll get my pony... ;P [13:34:55] I don't think wikipedia has enough graphs.. and those it does have are either made in excel or just images from somewhere else [13:35:13] well if the XML gets developed the AJAX would be trivial [13:36:26] Well.. I'm glad you guys think it's a good idea.. that's all I really wanted to hear.. I will work on it.. I may come back and show you something at some point :P [13:37:00] do that [13:37:56] My PHP isn't the greatest... so if it's coded inefficiently or whatever someone might have to improve it [13:38:06] But I suppose that's what open source is all about [13:38:47] I wish ... [13:39:42] Well one thing I am good at is commenting [13:40:23] real programmers ... you know the rest ;) [13:41:04] heh [13:41:08] Well I'm not a real programmer [13:41:20] I don't do it for a living.. yet [13:41:55] I use OSS to help my learn more than OSS uses my coding skills ;) [13:42:05] 03(mod) Linking to an article in 'edit' mode - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11195 +comment (10roan.kattouw) [13:42:44] Anywya.. I take it the Wikipedia webservers have the PHP XML extensions installed..? [13:43:31] 03simetrical * r25538 10/trunk/phase3/includes/DifferenceEngine.php: Add comment for r25525 so future devs don't think their predecessors have been smoking something. [13:48:57] 03simetrical * r25539 10/trunk/phase3/includes/DifferenceEngine.php: Tweak comment text [14:02:00] 03(NEW) Allow watching Article and Talk pages independently - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11196 15enhancement; lowest; MediaWiki: Special pages; (jidanni) [14:02:21] Annyone knows a extension for namespace logos? [14:10:30] aNNYONE? [14:10:34] sorry caps [14:16:38] 03(mod) Malayalam language characters don't work well with mediawiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11162 (10sadik.khalid) [14:19:25] 03(mod) Malayalam language characters don't work well with mediawiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11162 +comment (10sadik.khalid) [14:26:51] 06(LATER) Introduce Special:Suffixindex - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10808 +schema-change; +comment (10brion) [14:30:49] http://aleriya.pastey.net/73437 - Annyone knows how this extension work? [14:31:00] its a extension for namespace logos [14:31:56] 03(mod) Remove ?title=*** parameter from RC entries url - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11152 (10brion) [14:33:52] Annyone know? [14:38:43] umlaut-problem and template-problem found [14:39:31] i added "mbstring.func_overload = 7" to php.ini. this is a must for egroupware but a nono for mediawiki. removed it, everthing is fine again. [14:40:29] 03catrope * r25540 10/branches/apiedit/phase3/includes/ (SpecialUndelete.php api/ApiDelete.php api/ApiUndelete.php): apiedit: Minor fixes [14:41:05] 03(mod) Linking to an article in 'edit' mode - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11195 (10N/A) [14:41:07] Annyone knows? [15:04:06] 03(mod) Edit not saved - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2846 (10brion) [15:16:25] 14(DUP) ZH wikipedia won't use EN preferences! - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11194 +comment (10brion) [15:16:26] 03(mod) Interface "variant" overruling "language" preference [ bug in StubUserLang::_newObject()] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10837 (10brion) [15:17:28] When can we expect one of the patches to smarten up MonoBook.php being commited? [15:17:34] 03(mod) ability to watch talk pages but not the associated article and vice versa - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5153 +comment (10brion) [15:17:35] 14(DUP) Allow watching Article and Talk pages independently - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11196 +comment (10brion) [15:18:17] (Repeating as developer just entered) [15:18:18] Simetrical|away: [15:18:21] When can we expect one of the patches to smarten up MonoBook.php being commited? [15:18:24] sorry [15:18:26] oops [15:18:27] *minute hides [15:19:43] hey wat up guys, [15:19:51] i have a question/problem [15:20:04] is it possible to add google analytics to mediawiki???? [15:20:48] yes [15:21:05] hey Tim! [15:22:14] ok, in what part can i add, ''cause i tryied in monobook and in index and it doesnt get detected [15:22:17] hello [15:26:46] .... [15:26:54] Annyone knows a extension or hack for namespace logos? [15:36:52] Zizanzu_: It's easiest to do with simple CSS [15:39:52] Where can I find out about including pages in pages. Can I have a sub-page displayed on "main" article in a nice box? say, yes. plllzz [15:43:16] I've installed xcache/memcache on my server and after setting CACHE_MEMCACHE is wiki is 10 times slower than before...do I have to add additional values to the config? [15:43:53] How can I import an XML using mwdumper, when my database has prefix for tables of my wiki? [15:43:57] Is it possible? [15:51:23] 03(mod) tog-extendwatchlist wording too cryptic - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11192 (10robchur) [15:52:09] Hi all [15:56:19] 03(mod) Interface "variant" overruling "language" preference [ bug in StubUserLang::_newObject()] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10837 (10robchur) [16:01:47] uga [16:02:13] Hi ,Nikerabbit [16:03:27] Do you know how it is possible to impot xml to my database which has prefix for tables? [16:04:52] why shouldn't it work? [16:05:14] 04(REOPENED) ability to watch talk pages but not the associated article and vice versa - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5153 normal->lowest; +comment (10jidanni) [16:05:50] it just tries to import to page, revision ,txt [16:06:08] not to pre_page, pre_revision,.... [16:06:49] and I couldn't find how I can give it a commandline for table prefixes [16:07:11] I think it might not be possible or articles are outdated [16:07:13] 03(mod) Create the group "test-sysop" for the Wikimedia Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10727 (10mduce) [16:07:23] http://www.mediawiki.org/wiki/Mwdumper I mean this [16:19:26] 03(mod) Portuguese translation error, file: MessagesPt.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11169 +comment (10tbarabasz) [16:26:42] Hi, how do I find out which version of MW I am currently using? [16:27:02] go to Special:Version page in your installation [16:28:19] That page outputs version numbers for php and mysql... is that what version is required or the current version i am running? [16:35:03] 03(NEW) Feature to categorise IP edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11197 15enhancement; normal; MediaWiki: General/Unknown; (wikipedia.kawaii.neko) [16:35:14] 03(mod) Marking bot edits with a 'b' by default - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11181 (10wikipedia.kawaii.neko) [16:35:54] 03(mod) Feature to categorise IP edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11197 (10wikipedia.kawaii.neko) [16:42:09] Somebody has fixed a bug, yet their fix seems buggy (at least in the example I've seen!) - should I reopen the original bug (was closed 2 days ago) or file a new one? [16:43:41] Martinp23: reopen it if its the same issue [16:45:50] 04(REOPENED) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 +comment (10martinp23) [16:45:50] Raymond_: Thanks, and done [16:51:48] 03siebrand * r25542 10/trunk/extensions/ (7 files in 7 dirs): [16:51:49] Localisation updates for MediaWiki extension messages from Betawiki [16:51:49] * frc: 7 extensions updated [16:54:20] I've got a question about bugzilla bugs - http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 [16:55:01] this was reopened, but the guy's complaint is not related to this bug/patch. [16:55:47] So do I just re-close the bug and write "Not related to this bug - please create a new bug report" ? [16:57:24] 03(NEW) media wiki forgets your logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11198 normal; normal; MediaWiki: User login/settings; (ryan.fuerst) [16:57:31] 03(NEW) Wikimedia Canada site creation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11199 15enhancement; high; Wikimedia: Site requests; (visualartsbrampton) [16:57:54] 03(mod) Feature to categorise IP edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11197 (10wikipedia.kawaii.neko) [16:57:55] 03(mod) Wikimedia Canada site creation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11199 (10visualartsbrampton) [16:59:29] 03(mod) Wikimedia Canada site creation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11199 high->normal; -easy +shell (10raimond.spekking) [17:01:29] 03(mod) Edit not saved - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2846 +comment (10roan.kattouw) [17:01:58] 03(mod) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 (10t.laqua) [17:02:36] Hi! [17:02:49] Right now I am running MW 1.6.7 using PHP 4.3.9 even though it suggests PHP 5+. Does anyone know how this can affect my MW installation? [17:03:56] Does someone know how can I replace the Special:Upload link from the toolbox, on the ro.wiki ? We need this link: http://ro.wikipedia.org/wiki/Wikipedia:Trimite_fi%C5%9Fier instead [17:06:17] Helloo, Emily calling the Earth! [17:06:37] 03(FIXED) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 +comment (10martinp23) [17:06:47] earth is rotating [17:06:55] :) [17:06:58] 03siebrand * r25543 10/trunk/extensions/ (19 files in 18 dirs): [17:06:58] Localisation updates for MediaWiki extension messages from Betawiki [17:06:58] * nl: 19 extensions updated [17:07:54] :( [17:09:05] 03(NEW) Edit summary for new section malformed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11200 normal; normal; MediaWiki: Page editing; (martinp23) [17:10:15] TimLaqua: you wrote in bug "This patch has not been deployed to WikiNews (or any other WM project at this point in time)". thats not correct, its alive since yesterday on all WMF wikis [17:10:20] =( [17:10:44] :,( [17:11:16] really? [17:11:28] I looked at the revision number on test.wikipedia.org [17:11:44] which was a younger revision than the patch revision [17:11:58] I thought the test wiki was always updated before SCAP [17:12:12] 03(mod) No public logging of reason for old media deletion - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11179 (10N/A) [17:12:34] TimLaqua: de.wp is on r25507 since yesterday. all projects should be [17:12:48] Raymond_, where does it list the revision? [17:13:01] TimLaqua: http://de.wikipedia.org/wiki/Spezial:Version [17:13:13] ah [17:13:30] generic: [[Special:Version]] [17:13:41] 03siebrand * r25544 10/trunk/extensions/BadImage/BadImage.i18n.php: [17:13:41] Localisation updates for MediaWiki extension messages from Betawiki [17:13:41] * nl: extension BadImage updated [17:13:59] Raymond_, it doesn't appear to be working (the patch) [17:14:10] nad the earth....the earth is rotating [17:14:26] and I am waiting, and waiting [17:14:44] TimLaqua: it works well, but maybe some issues in combination with wikilinks in the summary. [17:14:48] and you are talking about your patches [17:15:01] thank you [17:15:13] you are some very nice guys [17:15:28] Emily: one moment pls [17:15:46] Raymond_, Have you seen any other issues w/ the patch? (just curious before I go poking around) [17:16:12] TimLaqua: no other issues seen [17:16:27] thx [17:16:55] Emily: file a bug at bugzilla and request to set $wgUploadNavigationUrl to your URL for ro.wiki [17:17:14] thank you! [17:17:47] that was a very good answer! [17:18:02] I hope so :) [17:18:22] :) [17:19:32] TimLaqua: not tested yet but have to look to URLs in the summary too. [17:19:48] could be a candidate for another issue :) [17:21:06] Raymond_, I'm sort of confused - what is the problem that he was reporting? [17:21:50] Raymond_, like if there's a user:Username link - is the new section link invalid? (suppose I could just go test it myself... ;-) [17:22:42] (nvm, I see the issue) [17:22:50] TimLaqua: the anchor is shortened [17:22:55] ok [17:24:30] 06(LATER) ability to watch talk pages but not the associated article and vice versa - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5153 +comment (10roan.kattouw) [17:24:31] 04(REOPENED) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 +comment (10t.laqua) [17:25:06] 03(mod) Edit to article attributed to wrong author - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11188 (10brion) [17:25:21] 14(DUP) Edit summary for new section malformed - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11200 +comment (10t.laqua) [17:25:31] 03(mod) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 (10t.laqua) [17:26:15] 03(ASSIGNED) Change the summary on creating of new section - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 (10t.laqua) [17:27:41] hmm... dunno if that was the intended effect [17:30:59] TimLaqua: (replying here rather than bugzilla) No problem - glad the report is in the right place now :) [17:31:51] heya TimLaqua, how's it going? :) [17:32:55] Nikerabbit: Any progress on adding hsb to the localization files? [17:40:48] 03(mod) ability to watch talk pages but not the associated article and vice versa - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5153 (10brion) [17:42:38] Pathoschild: huh? [17:43:05] afaik I've committed everything that was asked [17:43:13] Thanks. :) [17:44:35] Hello, for some reason mediawiki is only showing the home URL on every page and not the correct extension for interior pages, any known reason for this? [17:50:39] 03(NEW) Please set $wgUploadNavigationUrl to the new URL for ro. wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11201 15enhancement; normal; MediaWiki: Uploading; (korkodush) [17:51:37] 03(mod) Please set $wgUploadNavigationUrl to the new URL for ro. wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11201 +shell (10raimond.spekking) [17:58:58] <^demon> If I've got an extension, how would I enable it for logged in users only? [18:01:21] Hi, so how do I get the whole url to show when on sub pages of the wiki? because at the moment it is only showing the home url wiki.example.com [18:20:32] Siebrand may I beg your pardon? [18:45:01] hi folks! [18:46:03] i got a small problem when i moved an installation of mediawiki from a server to another at my hosting service. suddenly the main page gives me a cyclic link error [18:46:19] the database is the same, only the actual files were moved [18:46:29] this is what i get: [18:46:32] Found a cyclic link in http://smultronnet.virtual34.nebula.fi/wiki/index.php/Main_Page [18:47:13] i have no idea what redirects to what and could cause it. i do know that the new server has stricter php security settings [18:48:51] Did the URL change? [18:50:48] *Pathoschild pokes chakie. [18:50:57] yes [18:51:18] that's a temporary server name until i get all working and then the dns is rerouted [18:51:53] after that the name will be identical as to what it was before [18:52:15] Did you remember to change the variables in LocalSettings.php for the new URL? [18:52:47] let me see, i didn't see any variables related to the url [18:53:26] the only url there with the old name is $wgLogo [18:53:53] and that url is still valid [18:54:48] grepping the entire wiki tree gives me nothing that refers to the url [18:55:38] Hmm... Bad .htaccess ? [18:57:45] On the homepage it says that 1.11 will be in mid-August, it is now september, any idea for the release date? [18:57:46] only one in effect apart from the ones in mediawiki itself [18:58:26] and that one just sets a "suPHP_ConfigPath" to a php.ini that has "register_globals = On" [18:58:39] not having that file at all makes no difference [18:59:28] What does the MediaWiki .htaccess say? (use http://mediawiki.pastey.net ) [19:01:08] "Deny from all" [19:01:36] that's what all the six .htaccess files say that are in my mediawiki installation [19:01:59] they are all in subdirs like math, tests, languages, maintenance and includes [19:02:12] none in the root dir of the wiki installation [19:02:59] tried to do some grepping through a dumped database too, but i didn't really find anything that looked suspect [19:03:10] *Pathoschild has no idea, then. [19:03:33] i guess the php installations differ somehow and thus cause the problem [19:03:47] but it's kinda hard to debug [19:04:03] Is there a redirect from the old location? [19:04:08] no [19:04:15] Then I really have no idea. :) [19:04:19] this is a totally unrelated copy so far [19:04:39] no dns changes or anything, the old installation is still up and running at the old site [19:06:04] the new wiki can access that mysql database just fine too [19:09:31] 03(mod) media wiki forgets your logged in. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11198 +comment (10tbc+wikimedia) [19:24:07] I"m writing a screen-scraper that submits edit forms, and I'm getting "Sorry! We could not process your edit due to a loss of session data.\nPlease try again. If it still doesn't work, try logging out and logging back in.". Any ideas what I must do to avoid that? [19:26:31] hello everybody [19:27:31] I've got a simple question about installing the newest mediawiki 1.10.1 [19:28:54] there's a pgp signature in download directory, but i cannot find the public key, so how can i check the download file signature? [19:43:16] hm, annoying, i don't know if i can do the server switch now [19:50:31] davidmccabe: store cookies. [19:53:05] davidmccabe: also make sure you submit the values of all hidden fields in the edit form. you *have* to load the edit for before submitting an edit. [19:54:35] TimStarling: Was explaining to our infrastructure director the complexity of Filerepo in a highly distributed, massive volume environment when he was complaining about replicating images. Wish you'd never heard the word repo yet? [19:56:14] hi all [19:56:27] is it possible to for #if or some other parser to parse {{PAGENAME}} (which will have three characters) and say "if the first character is [foo] then ..."? (i'm thinking specifically of http://en.wiktionary.org/wiki/Template:Hebrew_piel_shelemim - see the note atop it) [20:02:56] 14(INVALID) Wikimedia Canada site creation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11199 +comment (10cbrown1023) [20:03:09] Duesentrieb: Did that; still doesn't work. [20:03:21] well, let me see about the cookies. [20:14:35] 03(CLOSED) Search on http://wiktionary.org/ searches wikiquote rather than wiktionary. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11189 +comment (10cbrown1023) [20:20:12] is it possible to for #if or some other parser to parse {{PAGENAME}} (which will have three characters) and say "if the first character is [foo] then ..."? (i'm thinking specifically of http://en.wiktionary.org/wiki/Template:Hebrew_piel_shelemim - see the note atop it) [20:22:20] What is the number of mediawiki.org namespaces, please? [20:22:31] Manual, Extensions and others [20:22:33] ? [20:23:45] *brion-office nudgets CIA-6 [20:24:03] Soroush83: you can see them all at Special:Allpages, the search page, or Special:Export raw output ;) [20:24:39] yeah 1.11 released :) [20:24:45] oh brion- You're right. it was a silly question [20:24:51] it looks like MW isn't sending me any cookies. [20:25:00] Ramond you're kidding [20:25:11] I'm expectiong for it :) [20:27:08] screw mediawiki 1.11, *i*'m waiting for a 16gb iphone :) [20:27:13] lol [20:27:31] Soroush83: I am not kidding: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_11/phase3/?pathrev=25546 [20:27:53] 03brion * r25547 10/branches/REL1_11/extensions/: branch extensions for 1.11 [20:27:53] 03brion * r25545 10/branches/REL1_11/: branch 1.11 [20:27:53] 03brion * r25546 10/branches/REL1_11/phase3/: branch core for 1.11 [20:28:10] w00t [20:28:11] thanks. I meant it was unblievable [20:28:23] I know you are right :) [20:28:24] Congrats, guys! :) [20:28:53] lol @ CIA-6 revision order [20:29:04] Congrats brion [20:29:04] so the irc topic and mediawiki main page are expecting to be changed. Congratulations [20:29:41] When's 1.11 gonna be available as tarball? (Not being impatient or anything, just wondering) [20:29:49] well i'll do a release candidate first :) [20:29:59] Right [20:33:49] hi brion. we're doing an LQT public demo this week. [20:34:08] neat [20:34:20] brion-office: so you like the git performance, aye? :) [20:37:20] 03catrope * r25548 10/branches/apiedit/phase3/ (6 files in 3 dirs): [20:37:21] apiedit: [20:37:21] * Adding ApiBlock module [20:37:21] * Minor fix in ApiProtect module [20:37:27] brion-office are all extensions in /branches/REL1_11/extensions gonna go iin the official release? [20:37:31] *in [20:37:33] no [20:37:50] Thought so :P [20:37:51] that's just a copy of whatever worked with trunk at the time of the branch [20:37:58] and can be updated if necessary [20:38:12] perhaps i'm asking in the wrong channel? [20:38:17] at this time we still hvae no infrastructure for installing with bundled extensions [20:38:21] so that'll get bumped to the next release [20:38:32] As long as it doesn't break compat with branch1_11 you can merge all changes to there? [20:38:40] msh210 no please ask your question [20:38:57] msh210: try stringfunctions extension [20:39:01] it's not on wikimedia sites currently [20:39:06] and may or may not ever be :P :) [20:39:14] brion-office that's something even *Debian* manages, so we should *definitely* be able to ;) [20:39:29] ('that' being installing bundled extensions) [20:39:48] RoanKattouw: but unlike debian we can get out a release more than once every three years ;) [20:39:54] That's true [20:40:08] Still, it shouldn't be too hard [20:40:38] Just a tarball with some popular extensions (Cite, CharInsert, you know) with a preprogrammed path /extensions [20:41:06] Packed in it a shell script that adds the necessary stuff to LocalSettings [20:41:19] 03brion * r25549 10/branches/REL1_11/phase3/ (RELEASE-NOTES includes/DefaultSettings.php): bump to 1.11.0rc1 [20:41:21] 03(mod) Chat room - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11190 (10cbrown1023) [20:42:30] brio-office try wha'?? [20:42:47] roankattaouw > is it possible to for #if or some other parser to parse {{PAGENAME}} (which will have three characters) and say "if the first character is [foo] then ..."? (i'm thinking specifically of http://en.wiktionary.org/wiki/Template:Hebrew_piel_shelemim - see the note atop it) [20:42:48] msh210 http://www.mediawiki.org/wiki/Extension:Stringfunctions [20:43:03] 03brion * r25550 10/tags/REL1_11_0RC1/: tag 1.11.0rc1 [20:43:07] 03yaron * r25551 10/trunk/extensions/SemanticForms/languages/SF_LanguageEn.php: Added 'sf_createtemplate_fieldislist' constant [20:43:10] roankattaouw that's redlinked [20:43:17] meh StringFunctions with an F [20:43:33] ah thx! [20:43:42] Look at #sub: [20:44:11] 03(NEW) Deleting old accounts with no edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11202 15enhancement; normal; MediaWiki: General/Unknown; (wikipedia.kawaii.neko) [20:44:18] perfect -- i'll read up on the strngfunctions. And i can use these in a template, i gather, on enwikt? [20:44:52] msh210: no, they are not available von WMF wikis [20:45:25] 03yaron * r25552 10/trunk/extensions/SemanticForms/includes/SF_TemplateField.inc: [20:45:25] Split 'newWithValues()' function into two functions: 'newWithValues()' and [20:45:25] 'setSemanticData()'; added 'isList' field, with its own handling during [20:45:25] template creation [20:45:49] raymond_ oh. dang. then there's no way i can do this on enwikt? [20:46:22] (any plan to include them on wmf wikis?) [20:46:25] 03yaron * r25553 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: [20:46:25] TemplateField class's 'newWithValues()' has been split into 'newWithValues()' [20:46:25] and 'setSemanticData()' [20:47:19] brion was http://bugzilla.wikimedia.org/show_bug.cgi?id=11202 ever discussed? [20:47:28] -rw-r--r-- 1 brion wikidev 4.7M Sep 5 20:45 mediawiki-1.11.0rc1.tar.gz [20:47:35] Shiroi_Neko: who knows [20:47:40] 03(mod) Deleting old accounts with no edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11202 +comment (10axel9891) [20:47:42] 03yaron * r25554 10/trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php: [20:47:42] SFTemplateField::newWithValues() takes two less arguments; added user input [20:47:42] for setting of SFTemplateField's new 'isList' field [20:47:42] rawee [20:47:46] rawrr [20:47:47] hiii [20:47:48] 4p7M... [20:48:03] brion dont you know all? [20:48:27] 03yaron * r25555 10/trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php: Added second parser function: 'arraymap' [20:49:02] 14(DUP) Deleting old accounts with no edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11202 +comment (10axel9891) [20:49:04] 03(mod) Deletion of old, unused usernames in English Wikipedia requested - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=6614 +comment (10axel9891) [20:49:15] 03yaron * r25556 10/trunk/extensions/SemanticForms/ (INSTALL includes/SF_GlobalFunctions.php): New version: 0.5.7 [20:49:22] Shiroi_Neko: look at http://bugzilla.wikimedia.org/show_bug.cgi?id=6614 [20:50:20] umm [20:50:56] 03(mod) Deleting old accounts with no edits - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11202 (10EN.WP.ST47) [20:50:59] was last discussed in 2006 ? [20:51:25] Shiroi_Neko: you need to get consensus for something like that [20:51:40] okay [20:51:55] Is there any way to detect what blank link # an article is at? like the [1] and [2] links when the user doesn't provide any link text? [20:52:22] @flyingparchment my copy of the trunk (including SVN overhead) weighs in at 86M [20:52:44] 46M sorry [20:54:21] thanks fyi, all [20:55:51] Is now a bad time to commit to EditPage.php? (bugfix) [20:56:19] TimLaqua not really [20:56:25] It just won't get included in 1.11.0rc1 [20:56:33] Which bug are you fixing anyway? [20:56:44] well... refixing of sorts. ;-) [20:57:08] http://bugzilla.wikimedia.org/show_bug.cgi?id=10836 [20:57:46] Hmm [20:57:48] Just do it [20:58:00] will do [20:58:02] Ain't gonna be in rc1 then, but it will be in rc2 or final [20:58:07] np [20:58:13] It is a feature I'd like to see [20:58:19] it's implemented already [20:58:23] it just does stupid things [20:58:33] with wikitext links embeded in the summary text [20:58:35] 03raymond * r25557 10/trunk/extensions/PdfHandler/ (PdfHandler.php PdfHandler_i18n.php PdfLoader.php): [20:58:35] * Fix to be conform with latest changes to MediaTransformOutput [20:58:35] * Add i18n file [20:58:35] Patch by xaras and /me [20:58:50] TimLaqua that's kind of a known bug, isn't it? At least it was one once [20:59:09] dunno. eh, I fixed it with regard to the new sections anyway. ;-) [20:59:30] 03siebrand * r25558 10/trunk/extensions/ (5 files in 4 dirs): [20:59:30] Localisation updates for MediaWiki extension messages from Betawiki [20:59:30] * sk: 5 extensions updated [20:59:35] it's one of those 95% fixes. [20:59:44] When you did a section edit, you were redirected to #.5B.5Blink.5D.5D instead of #link [20:59:52] I dunno if that's been fixed yet [20:59:55] yeah, I fixed that [21:00:04] On new section creation, yeah [21:00:09] But when editing existing sections? [21:00:12] *RoanKattouw checks [21:00:14] I was wondering what syntext to use to show commands under a mediawiki page Other wiki's have {{{command}}} Thanks in advance for any help. [21:00:16] oh, dunno [21:00:18] about existing [21:00:35] if there's a bug for that, I can take a look while i'm poking around. [21:00:36] ST47 should I seek this consensus on every wiki or on meta? [21:00:55] INIT_6 don't you mean {{command}} with two {'s? In that case it's a template [21:00:55] since this isnt really a local afair [21:00:59] bit a database issue [21:01:07] it would be a periodic process [21:01:51] TimLaqua nope, it still ain't fixed yet [21:02:00] bug #? [21:02:21] If I create a section called "[[User:Catrope|Catrope]] rules" I get #.5B.5BUser:Catrope.7CCatrope.5D.5D_rules as opposed to #Catrope_rules [21:02:23] Dunno [21:02:24] https://help.ubuntu.com/community/VNCOverSSH if you go to edit this page you see {{{command}}} but doesn't work in mediawiki so I was just wondering the best way to show a command under mediawiki [21:02:42] in the New Section: link [21:02:44] right? [21:03:05] oh, in the redirect too [21:03:08] yeah, I got that. [21:03:09] Err no after I've submitted the page, it goes to Article#Wrong_section_name [21:03:13] yup, gotcha. [21:03:23] Have you fixed that yet, or...? [21:03:24] that was a collateral fix. ;-) [21:03:30] haven't patched yet [21:03:37] busy finding my SVN checkout on this machine. [21:03:53] (New section: Catrope rules|Catrope rules]]) --> not exactly good [21:04:10] agreed [21:04:11] Full title was [[User:Catrope|Catrope]] rules [21:04:20] I'll try your exact exmaple to verify. [21:04:31] Is the whole (New section:) thing what you're working on right now? Linkifying it? [21:04:43] yup [21:05:06] dev/alpha/index.php/Talk:Main_Page#Catrope_rules [21:05:13] ;-) lookin good. [21:05:26] . WikiSysop (Talk | contribs | block) (New topic: Catrope rules) [21:05:30] Hmm when I edit that section [21:05:38] lemme patch first [21:05:48] it's all garbage right now - very misbehaved. ;-) [21:05:49] I get redirected to #.5B.5B etc. [21:05:52] yup [21:06:06] But history links to #User:Catrope.7CCatrope_rules [21:06:18] yup. we'll call that "undesired" [21:06:24] Yeah [21:06:32] The correct anchor is #Catrope_rules [21:06:56] oo, thanks. I didn't catch that edit section behaviour. [21:07:06] after it's created the redirect is garbage too. [21:07:15] Yep [21:07:22] Too bad that can't go in rc1 [21:07:27] meh [21:07:31] rc2 should be soon enough [21:07:33] It's one of the most annoying bugs in 1.10 [21:07:34] Yea [21:07:36] h [21:07:45] hrm [21:07:46] Nice [21:07:50] where'd the rest of the topic go :( [21:07:55] lol [21:08:01] *brion-office grumbles [21:08:29] There it is [21:12:25] who puts links in headings anyway? ;-) [21:16:06] RoanKattouw, was the edit section link giving a bad #section link always? Like it's not a new thing? [21:16:52] 03(mod) Apply unstyled CSS class on inline links to redirects - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4709 +comment (10juergentappe) [21:18:23] Congrats all! [21:18:24] 03yaron * r25559 10/trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php: Added space [21:19:26] 03siebrand * r25560 10/trunk/extensions/ (12 files in 12 dirs): [21:19:26] Localisation updates for MediaWiki extension messages from Betawiki [21:19:26] * oc: 12 extensions updated [21:24:30] TimLaqua no the behaviour I described occurs in 1.10 too [21:24:37] Go figure how old that bug is ;) [21:25:57] in my new (beta) skin, I want to add a link to a bug report page - I've tried getLocalUrl, but that just returns the current page's URL (with current parameters): [21:25:58] [21:26:41] anyone got an idea? [21:26:41] Ace_NoOne what exactly do you want to link to? [21:27:06] [[Foo]] page - and later also with the parameter useskin=monobook [21:27:13] to temporarily switch skins [21:27:46] Ace_NoOne can technically also be done with ParserFunctions: {{fullurl:Foo|useskin=monobook}} [21:28:08] RoanKattouw: it's in the skin's PHP file [21:28:44] Or use $title = Title::newFromText('foo'); $title->getFullUrl('useskin=monobook'); [21:29:15] TimLaqua I don't know who does what, but it seems as if the redirection is handled somewhere else as the section link in history [21:29:27] And creating the actual anchor at render time is done differently too [21:29:34] thanks RoanKattouw I'll try that [21:29:37] Three different algorithms with three different results [21:29:51] We should really have one function for that [21:29:53] RoanKattouw, yup. I'll poke at EditPage::sectionAnchor a little - I think they ALL pass through there. [21:29:59] there sort of is. ;-) [21:30:16] Let's hope so [21:31:14] best function name ever: PsuedoParse [21:31:24] lol [21:31:27] With ue or eu? [21:31:33] pry eu [21:31:40] Oh right [21:31:47] Thought maybe the typo was in the name itself :P [21:31:53] dunno, I haven't made it yet. ;-) [21:32:11] Oh, it's your new function? [21:32:19] ya, somethin like taht [21:32:26] I don't want a full parse, that's such a waste. [21:32:32] True [21:32:43] Only [[links]] and [[link|piped links]] should be parsed [21:32:44] sweet. [21:32:46] that did it. [21:32:47] Wait a minute [21:32:54] How are edit summaries parsed then? [21:32:59] They aren't parsed fully either [21:33:01] How's that done? [21:33:02] couple ways [21:33:14] there's some crazy str_replace stuff going on [21:33:29] 03(NEW) Validation of data types - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11203 15enhancement; normal; MediaWiki extensions: Semantic Forms; (yaron57) [21:33:47] RoanKattouw: what's with the newFromText('foo') [21:33:51] TimLaqua maybe you can use your pseudoPars thing there too [21:33:52] I don't understand [21:33:57] chop chop [21:34:06] Ace_NoOne it creates a new Title object referring to the Foo article [21:34:12] And puts it in $title [21:34:26] RoanKattouw: how would I use that to switch the skin for the current page? [21:34:59] $wgTitle->fullUrl('useskin=monobook'); does that work? [21:35:11] $wgTitle just refers to the current page [21:35:24] no [21:35:38] it doesn'T work with the skin parameter (or any parameter) [21:35:46] Hmm [21:36:03] $wgTitle->fullUrl() . '&useskin=monobook'; then? [21:36:13] 03(NEW) Support for Semantic MediaWiki 1.0 - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11204 15enhancement; normal; MediaWiki extensions: Semantic Forms; (yaron57) [21:36:14] of course! I'll try that [21:36:41] Although fullURL('useskin=monobook') should work [21:36:56] ok [21:37:20] I don't really understand why it doesn't work, but well [21:37:47] oop, I broke my fix. ;-) [21:38:02] Ace_NoOne exactly what happens when using fullURL('useskin=monobook');? Does it make any difference at all? [21:38:04] RoanKattouw: I didn't use fullUrl before [21:38:09] I used LocalURL [21:38:13] Right [21:38:26] Have you tried fullURL('useskin=monobook');? [21:38:27] 03siebrand * r25561 10/trunk/extensions/ (15 files in 15 dirs): [21:38:27] Localisation updates for MediaWiki extension messages from Betawiki [21:38:27] * bcl: 15 extensions updated [21:38:35] trying now [21:41:42] RoanKattouw: Fatal error: Call to undefined method Title::fullURL() - I must have done something wrong [21:41:50] fullUrl [21:41:54] oh right [21:42:06] Meh getFullUrl [21:42:07] even [21:42:23] heh getFullUrl it is [21:42:26] (trying) [21:43:27] RoanKattouw: nope; still the same URLs everywhere: http://www.tiddlywiki.org/index.php?title=Template:OptionalTableRow&useskin=tw4mw [21:43:36] wait [21:43:37] caching D: [21:44:00] nah, still same URLs on all links - i.e. the parameters don't work [21:44:09] Meh [21:44:23] Are you viewing the page with &useskin=tw4mw in your URL? [21:44:37] Try setting tw4mw as your default skin and view the page the 'normal' way [21:45:30] RoanKattouw: but that's what I want to avoid [21:45:44] What exactly is the point of those links then? [21:46:00] just shortcuts as long as the skin is beta [21:46:07] Hmm [21:46:18] so the few people testing it can go right to the bug reports and all [21:46:28] might be silly? [21:46:44] Try wfAppendQuery($wgTitle->getFullUrl(), 'useskin=monobook'); [21:47:42] btw: I just tested with the skin as default; parameters still don't make a difference [21:47:50] ^^ [21:47:52] That's very weird [21:47:53] will try this now [21:47:56] is it? [21:48:07] Ace_NoOne which version of MediaWiki are you using? [21:48:15] 1.10 [21:48:25] is the PHP code (for the switching) [21:48:28] Try upgrading to 1.11rc1, released less than an hour ago [21:48:35] Right [21:48:43] Oh [21:48:46] I can't really do that [21:48:51] Not your wiki? [21:48:52] upgrading is not my job :) [21:48:57] Hmm [21:49:18] Anyway you need to echo [21:49:41] oh my I'm stupid [21:49:51] lol I didn't notice either for a long time [21:50:05] another attempt then [21:50:09] 03siebrand * r25562 10/trunk/extensions/ (8 files in 7 dirs): [21:50:09] Localisation updates for MediaWiki extension messages from Betawiki [21:50:09] * hsb: 8 extensions updated [21:51:11] RoanKattouw: lol that was it! I am so embarrassed [21:51:14] thank you very much [21:51:20] No problem [21:51:35] :) [21:51:45] FWIW, you can also use fullurl in normal wikicode this way: {{fullurl|title|querystring}} [21:52:00] Oops {{fullurl:title|querystring}} [21:52:17] E.g. {{fullurl:{{PAGENAME}}|action=edit§ion=new}} for a new section link [21:55:41] I know RoanKattouw, but it's be tricky to implement that in the skin file (it'd have to be wikified) [21:55:47] True [21:56:01] But you could use it in templates (dunno if you write those often) [21:56:04] though I might create a MediaWiki:BetaNotice? [21:56:19] Better to do Template:BetaNotice [21:56:34] MediaWiki: is for system messages, better not mess in there [21:56:47] true - either way, how would I include that? [21:57:42] Just add {{BetaNotice}} in the wikitext I think [21:57:49] Can skins do that? [21:58:00] if I'd wikify it, which I don't know how to do [21:59:03] Hmm [21:59:15] Maybe MediaWiki:Betanotice is a better idea after all [21:59:19] Then you can use [21:59:32] [21:59:41] ahh cool! [21:59:44] Don't forget the echo this time ;) [21:59:47] heh [21:59:52] thank you so much [22:00:15] Dunno if it's any use to you, but you can also do wfMsgForContent('Betanotice', 'arg1', arg2'); [22:00:25] Then $1 will be replaced by 'arg1', $2 by 'arg2', etc. [22:01:01] That's how messages like MediaWiki:1movedto2 work [22:01:23] 03siebrand * r25563 10/trunk/extensions/CategoryTree/CategoryTree.i18n.nl.php: [22:01:23] Localisation updates for MediaWiki extension messages from Betawiki [22:01:23] * nl: extension CategoryTree updated [22:01:26] interesting [22:01:32] that might indeed be useful [22:01:52] For an extreme use of that feature, see MediaWiki:autoblockedtext [22:02:41] Or blockedtext, which is even worse [22:02:57] heh [22:03:02] I'll try to KISS [22:03:09] Good idea [22:05:15] Anyway good luck, I'm going to bed [22:07:26] 03catrope * r25564 10/branches/apiedit/phase3/ (32 files in 8 dirs): apiedit: Merging r25478 and beyond from trunk [22:17:04] 03tstarling * r25565 10/trunk/extensions/OggHandler/OggHandler_body.php: Make it work with thumb.php [22:17:09] 03tstarling * r25566 10/trunk/extensions/OggHandler/README: [22:29:57] ack! wfMsgForContent('foo') doesn't wikify the page's contents [22:30:20] why would it? [22:31:17] flyingparchment: because I need it to... [22:31:28] well, or I need the function that does wikify [22:31:45] $wgOut->addWikiText() [22:32:34] so $wgOut->addWikiText(wfMsgForContent('foo')) [22:32:50] fus [22:32:53] yes [22:33:08] thanks [22:35:34] brion seems to have misspelt "Autumn" in the 1.11 release notice [22:36:14] flyingparchment: Fatal error: Call to a member function addWikiText() on a non-object D: [22:36:23] I used addWikiText(wfMsg('Beta Notice')); ?> [22:36:36] inside a function? [22:37:35] inside a skin [22:37:44] is it inside a function? [22:39:00] not really, flyingparchment [22:39:08] do I need to global wgOut? [22:39:12] ? either it is or it isn't [22:40:10] sorry, it's inside the skin's execute() function [22:40:30] then you need to declare it as a global [22:40:55] okay thanks [22:41:31] 03siebrand * r25567 10/trunk/extensions/PdfHandler/PdfHandler_i18n.php: Add nl messages to PdfHandler/PdfHandler_i18n.php [22:44:00] flyingparchment: I hate to bother you with this, but the following returns nothing: [22:44:03] global $wgOut; echo $wgOut->addWikiText(wfMsg('Beta Notice')); [22:44:18] don't echo it. addwikitext does what its name suggests, it adds the wikitext [22:44:31] oh right - cheers [22:50:21] flyingparchment: that adds the wikified text to the end of the page now - instead of putting it into the DIV where I put it [22:50:37] (now I see what you meant before... ) [23:02:58] Anyone got some experience with trying to display news inside a wiki? [23:10:03] SimonMoon, do you mean show other place rss in wiki [23:10:13] ? [23:10:26] Well, i have a vbulletin forum, that i use to post news. [23:10:51] My old system simply queried the db, and took the vb code. I wrote a small parser that in essence did the same the vb parser did and shoed it. [23:11:00] Now i want to bring the news into mediawiki [23:11:27] I have an RSS feed, that brings me html, but my tries with different RSS solutions have so far unearthed more problems than solutions [23:12:03] hey, now I left the room :) [23:12:08] hmmm [23:12:19] since i need some customizing, i found this one: http://www.mediawiki.org/wiki/Extension:SimpleFeed [23:12:41] if you mean you want rss feed of your vb to be shown that extension can help you [23:13:05] Especially there was one using simplepie. It looked so flexible [23:13:09] As son as i use

or any other headers mediawiki ignores the magic word to not show the sections edits [23:13:18] and also creates a toc, although NOTOC is in there too... [23:13:35] thats the one i am using, simplefeed [23:13:52] the rss gives back two versions [23:14:20] an example: http://forums.fevergaming.com/external.php?type=RSS2 [23:15:03] there is a tag and a [23:15:23] the description is useless, not showing me the images i link, the urls or anything (which is what the extensionn takes) [23:15:50] the other one is full on HTML which might be useful, but then i am having some concernns about safety [23:16:06] So i wonder if anyone has had any expeirences with anything in this regard. [23:16:29] if you want to use images other than ones [23:16:42] have been uploaded to mediawiki [23:16:45] Simply going and grabbing the content by query and self built parser, making my own little extension for it, is IMHO currently my best shot, but that leaves a very ugly taste imho [23:16:59] Tehcnically, those images are uploaded to the wiki [23:16:59] then so they should be in the wiki, but they also need to be visible in the forum [23:17:48] they should be registered in wiki db i think [23:18:08] just putting them in upload directory might not work [23:18:39] The images are uploaded in the wiki, through its interface [23:19:02] they also mostly are then put in some page, where a gallery is created [23:19:11] the nice thumbnail is then mostly used for display [23:20:16] I want to cut out my makeshift parser really, but in the end, i could simply use the parser and make it into an extension. [23:21:57] It uses simple pie. I haven't work with that extension more than a test [23:21:59] I could even do a lowgrade template thing, with {replacement} variables in there like simplerss has.. [23:22:34] Well it seems like an unusual thing to use it for :) [23:23:15] the rss feed will work fine for "latest threads" display, where i only put things like title and link, but for full on news, that is not really useable. [23:23:25] as long as there is more than a bit of text that is [23:24:31] If you know programming , you might want to have a look at simplepie and extension code. [23:25:54] good evening. I am woring on a import script for our mediawiki. i want to trigger a function everytime a article is saved. i use the specific Hook for that. [23:25:55] Can't you do sth the discription to show some lines of your news [23:26:02] woring/working [23:26:56] i try now to make a install script that just includes some mediawiki classes and defines and also includes my hooks. [23:27:02] see mediawiki hooks [23:27:11] my problem is, that my functions are not triggered [23:27:16] Soroush81: naah [23:27:31] Soroush81: i know how hooks are working [23:27:48] they are working for me. but in this special case they are not. [23:28:25] Which case do do you mean? [23:29:05] i am outside of the mediawiki context. and i just include some important mediawiki classes. [23:29:21] but i think i have found what i am doing wrong [23:29:31] i didn't included Hooks.php [23:30:23] out of mediawiki api is used [23:30:25] 03tstarling * r25569 10/trunk/ (2 files in 2 dirs): Credits for OggHandler [23:30:38] yes. i do use the api to do several things. [23:30:39] that's what I know about ouside of mediawiki [23:30:50] adding stuff to the articles. [23:31:29] but i do have extra tables that are normally filled by a trigger function via a hook (SaveArticle) [23:32:01] this hook does not work properly. it never gets a call [23:32:05] If you are outside of mediawiki context you are on your own essentially [23:32:25] Mediawiki is not a nice modular thing, it has grown in many places [23:32:36] So you might just miss something small that breaks your code [23:32:50] I agree SimonMoon in this case [23:33:11] I tried working with it on the premis it cant be that hard, but in the end you are better off just writing something inside MW as an extension [23:33:37] like say you have new content added trhough an extrenal interface [23:33:40] yeah. you are right. [23:33:49] simply change it to use the MW interface directly [23:33:51] SimonMoon, have a look at the code of simplefeed [23:34:05] the description part is like this [23:34:06] $itemwikitext = str_replace('{DESCRIPTION}', $item->get_description(), $itemwikitext); [23:34:08] and use a selfcoded extension then with your hooks.. [23:34:33] Soroush81: yes i know that exntension, i have it working, but, it does not do well for my purposes [23:35:06] I see. so you must have more experience about it :) [23:35:15] I could hack the extension to thake the "conten:content" part of the rss feed, but then i open a can of worms to anyone who wants to put in HTML into my wiki [23:35:57] I can do some very very basic tricks with the wiki but mostly i found that extensions are huge security holes [23:36:17] So i am careful with using something i do not understand fully :) [23:37:04] one last question: if a do a doEdit the hook SaveArticle should be called, right? [23:37:45] let me check the hook. [23:38:30] yes [23:38:31] yeah. [23:38:34] http://www.mediawiki.org/wiki/Manual:Hooks/ArticleSave [23:38:35] darn [23:40:34] btw, can ArticleSave prohibit the article to be saved, at all? [23:40:54] you mean the hook savearticle ? [23:41:03] or just we can return the last version for that? [23:41:04] articlesave sorry [23:41:05] yes [23:41:23] <_hc> hey all [23:41:27] yeah. if you specify EDIT_NEW on a existent site [23:42:01] I wanted to use it to increase security of dissallowaccesOn Category [23:42:06] Sorry dont know that one, cant see anything in the docs about it [23:42:17] welcome _hc [23:42:29] <_hc> I am in the process of setting up a multi-lingual wikipedia-style site for software documentation and I would like to script the creation of new language sites. Anyone know of a good resource for that? I am having trouble finding anything about creating the database tables from a script. [23:42:32] each user can make the article invisible for others. That's a big holw [23:42:37] w/e [23:42:40] doEdit has three params. the third one specifys the action you want to do. [23:42:41] _hc: maintenance/addwiki.php [23:42:46] _hc: you'll need to adjust it for your site [23:43:18] it it is set, and one of EDIT_NEW or EDIT_UPDATE then it may prohibit to edit the article [23:43:56] _hc: http://www.mediawiki.org/wiki/Manual:Wiki_family some very good help and pointers to setup something that will make updates easier on you [23:43:57] <_hc> flyingparchment: so how do I use that? is it a CLI script? [23:44:04] yes [23:44:13] <_hc> SimonMoon: yeah, I read that already, got a "drupal style" setup going [23:44:48] _hc: https://wikitech.leuksman.com/view/Add_a_language [23:44:56] Yeah then addwiki is a candiatde. I also found a link on that wikifamily page to another site that had some scripts for this that i am using now [23:44:57] _hc: that's wmf-specific, but it explains how to run addwiki [23:45:34] <_hc> flyingparchment: what's wmf? [23:45:42] wikimedia foundation [23:45:50] <_hc> thx [23:47:30] <_hc> so the wmf setup is like "Wiki_family Scenario 4" i.e. separate files/database for each langauge? [23:48:00] <_hc> http://www.mediawiki.org/wiki/Manual:Wiki_family#Scenario_4:_Multiple_wikis_sharing_common_resources [23:48:44] _hc: no, that would be lame, since we have nearly 1000 wikis. there is only one copy of the code and config. it determines local settings based on the language/project [23:49:51] <_hc> flyingparchment: yeah, I was going to say ;) are there docs on that setup anywhere? Is it perhaps like the "drupal-style"? http://www.mediawiki.org/wiki/Manual:Wiki_family#Scenario_3:_Drupal-style_sites [23:49:59] _hc: there's also the Farmer extension [23:50:37] <_hc> Duesentrieb: hmm, v0.0.2... is it usable/stable at all? [23:51:27] _hc: i don't know if its documented. [23:51:41] _hc: version numbers are arbitrary. i havn't tried it, but people do use it. perhaps look at the discussion page to get an impression. [23:51:55] its pretty simple. basically there's one docroot per project (*.wikipedia.org, *.wikinews.org, etc). there's one config file between all of them. it examines the URL and the docroot to choose the language and the family. [23:52:00] then it sets other stuff based on that [23:54:16] Isnt there a problem with the images directory then? [23:54:33] <_hc> flyingparchment: ok, sounds like the "drupal-style" setup is the same idea. I'll dig into the addwiki script then. [23:55:09] <_hc> SimonMoon: from what I've read, you can setup a separate site for images/media, then point the others to use that [23:55:29] <_hc> SimonMoon: like this: http://www.mediawiki.org/wiki/Manual:Wiki_family#Scenario_4:_Multiple_wikis_sharing_common_resources [23:57:44] looks like ALL files are in essence on commons... [23:58:33] <_hc> SimonMoon: yeah, the instructions are a bit vague, but you could set it up with a shared database, or serparate ones to prevent page name clashes [23:58:41] ? [23:59:08] <_hc> SimonMoon: this is all in theory, I haven't really built my site yet :D [23:59:38] 03rotem * r25570 10/trunk/extensions/OggHandler/OggHandler.i18n.php: Update for he. [23:59:55] I have built mine and am looking for ways to make it better :)