[00:00:00] That would wirj [00:00:08] work [00:00:21] File transfer here would work as well. [00:06:58] 03(NEW) Bot-created articles appear in Special: Recentchanges by default - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12633 major; normal; Wikimedia: General/Unknown; (mxn) [00:07:34] 03brion * r29766 10/trunk/extensions/LinkSearch/LinkSearch_body.php: [00:07:34] * (bug 12631) Regression -- paging links were missing from Linksearch [00:07:34] Not entirely sure why... but the getName() func on the QueryPage subclass was [00:07:34] removed in r29519 when the localization message loading was changed. This [00:07:34] appears to break paging, as we lose the link back to the special page if we [00:07:34] don't know its name. [00:08:02] 03(FIXED) Linksearch page/limit controls missing - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12631 +comment (10brion) [00:21:03] 03dale * r29767 10/trunk/extensions/MetavidWiki/ (5 files in 4 dirs): [00:21:03] fixed play link rewrite issue [00:21:03] fixed generic ogg playback library load bug [00:26:42] moo [00:35:41] 04(REOPENED) dumpBackup.php does not backup Main Page and other pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12593 +comment (10ajstadlin) [00:59:10] 03(mod) Break messages used in Special:Statistics down further - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=5619 (10Simetrical+wikibugs) [01:04:39] 03aaron * r29768 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: De-crapify stable version viewer [01:19:26] it's a wiki world: http://www.museumofhoaxes.com/hoax/weblog/permalink/name_change_prank/ [01:20:24] 03brion * r29769 10/trunk/phase3/images/deleted/: [01:20:24] Remove default 'deleted' directory; gets in the way and makes it impossible to [01:20:24] delete images in a default install unless you then go on to figure out what's [01:20:24] wrong and fix the permissions. A fresh directory will be created when needed. [01:24:10] 14(WFM) "image/svg" should be "image/svg+xml" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=7554 +comment (10brion) [01:25:37] 03(NEW) Some extension' s title is broken if the translated title contain space - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12634 normal; normal; MediaWiki: Special pages; (stanley) [01:34:43] why are read-only conditions being treated as permissions errors? [01:34:45] that seems conceptually wrong to me [01:34:53] further, the actual message is a multi-paragraph block text, but the permissions error framework requires inline messages [01:35:00] so it breaks horribly on display [01:35:51] hi [01:36:14] if i want to style a table with the monobook theme, what would be the default markup to start with? [01:36:29] ... {| class="prettytable" doesnt seem to work [01:38:00] brion, read-only errors are kind of lower-level, I agree. [01:38:17] phrearch, the prettytable style isn't shipped by default, you need to copy it. [01:38:23] From Wikipedia or wherever. [01:38:34] whats a default style i can use for tables? [01:38:45] im not administring the wiki, so i have to use default styling [01:38:51] phrearch, I don't think there are any. [01:39:11] brion, as a matter of fact when I started refactoring Article::doRollback to move the permissions checks into a separate place, I realized I'd have to repeat the read-only check at the lower level. [01:39:32] So it does seem wrong, yeah. [01:39:46] Simetrical: i committed the new userrights stuff if you want to review it (probably could do with some cleanup) [01:39:54] flyingparchment, yes, I saw. Seems fine. [01:44:01] phrearch: you could check in skins/monobook/main.css but there isn't much there [01:44:12] ok thanks [01:44:26] mostly for things like .floatright and .rimage [01:44:52] you can use inline styling but that gets tedious after a while [01:45:46] if you just need pretty borders, one trick you can do inline, without styling every td, is: [01:45:49] {| border=1 style="border-collapse:collapse;" [01:48:10] morning [01:48:16] cool thanks :D [01:48:25] rar [01:48:35] *amidaniel waves to TimStarling [01:49:30] is there a way to apply background-color to the table header? [01:50:06] {| border=1 style="border-collapse:collapse;th background-color:#666;" [01:50:14] this obviously doesnt work :) [01:50:17] {| border=1 style="border-collapse:collapse;" [01:50:34] no way to colorise the table header ? [01:50:37] ! style="background-color:#ffccff;" colspan="whatever" | content [01:50:37] --mwbot-- content: I don't know anything about "". You might try: !centralauth !config !csshideheader !errors !extensions !feeds !help !highlight !imagelink !info !networkauth !package !rewriteproblems !rights !shell !smtp !subversion !test !threads !wikibugs [01:50:44] damn you mwbot, that was a [01:50:48] ah ok. cool [01:51:04] you can also style a for some attributes the th/td will inherit [01:51:37] {| border=1 style="border-collapse:collapse;" [01:51:37] |- style="background-color:#ffccff;" [01:51:37] ! foo [01:51:37] --mwbot-- I don't know anything about "". You might try: !centralauth !config !csshideheader !errors !extensions !feeds !help !highlight !imagelink !info !networkauth !package !rewriteproblems !rights !shell !smtp !subversion !test !threads !wikibugs [01:51:37] | bar [01:51:58] *amidaniel slaps mwbot [01:52:11] can someone tell mwbot to ignore !(space)? ^)^ [01:52:23] Was actually just on my way to do that :)) [01:52:26] <3 [01:52:40] !centralauth ;-) [01:52:40] --mwbot-- CentralAuth extension allows global/shared accounts between projects. For more information, see [01:54:44] How can I tell mediawiki not to interpret something as markup? I want to actually show # instead of having a numbered list show up... [01:55:14] try # [01:56:02] 03brion * r29770 10/trunk/phase3/ (8 files in 2 dirs): (log message trimmed) [01:56:02] * (bug 12567) Fix for misformatted read-only messages on edit, protect. [01:56:02] Also added proper read-only checks to several special pages. [01:56:02] Have removed read-only checks from the general user permission framework [01:56:02] since it doesn't belong there; user authorization is independent from [01:56:02] the database's read-only state, and the way we check and present error [01:56:04] conditions is necessarily different. Further, as a detail it was formatting [01:56:35] Thanks Splarka... [01:57:09] @die [01:59:03] ! foo [01:59:03] --mwbot-- I don't know anything about "". You might try: !centralauth !config !csshideheader !errors !extensions !feeds !help !highlight !imagelink !info !networkauth !package !rewriteproblems !rights !shell !smtp !subversion !test !threads !wikibugs [01:59:07] :| [01:59:17] !poo [01:59:17] --mwbot-- I don't know anything about "poo". [01:59:26] !parser [01:59:26] --mwbot-- I don't know anything about "parser". You might try: !parserfunctions !subst !templates [01:59:37] !parserfunctions [01:59:37] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [02:00:03] i just want mediawiki -> html :( [02:02:18] Ah, woops ... grabbed the wrong jar [02:02:24] some pages have this layout: {{Layout_box1|1=content starts here [02:02:33] how do i apply a width parameter on it? [02:02:41] ...{{Layout_box1|width=60%||1=content? [02:03:04] @die [02:05:05] Alright, now working. Sorry about that, Splarka [02:05:30] 03(mod) Change $wguname/$wgNodeName/wfHostname behaviour - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12586 (10tstarling) [02:05:38] sour1: What are you trying to do? [02:07:27] ami <3 [02:07:30] ! th [02:14:37] 03(mod) Change $wguname/$wgNodeName/wfHostname behaviour - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12586 (10tstarling) [02:15:08] Splarka: Is that an icecream cone or a heart? [02:15:23] a heart-flavored icecream cone [02:15:25] is there any documentation of the maxlag parameter? [02:15:33] Hmm ... yummy [02:15:51] carl-m: Surely somewhere [02:16:22] carl-m: It's pretty simple though .. add maxlag= to your GET or POST params, and if the db lag is greater than that amount the action fails [02:16:41] amidaniel: I can use it, but I am going to try to sell someone else on it, so I want to have my links ready [02:16:52] carl-m: Ah :) [02:16:56] Lemme search [02:16:58] the WP 1.0 bot on enwiki currently takes about 5 days to run once [02:17:16] Yup [02:17:29] !man Maxlag_parameter | carl-m [02:17:29] --mwbot-- carl-m: http://www.mediawiki.org/wiki/Manual:Maxlag_parameter [02:17:39] nice [02:18:41] thanks. I hope I can convince him that, if I write all the code, the maxlag version is about 3 times faster [02:27:55] Hey, so how can i pull/access an articles wikitext? [02:29:34] anyone? [02:29:48] Wiredtape: action=raw [02:29:58] Or use the api [02:30:28] there's an api? :P? [02:31:11] !api | Wiredtape [02:31:11] --mwbot-- Wiredtape: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at http://www.mediawiki.org/wiki/API [02:31:44] great, thanks... [02:38:39] "post changes" [02:38:54] that's a very good use of the word should [02:40:47] Hey, the API supports editing and most other actions now [02:41:07] yeah, now if it was only easier to call internally :P [02:41:31] amidaniel: the editing code isn't in the trunk yet [02:41:39] carl-m: Yah it is [02:41:52] It's just not enabled on WMF yet [02:42:39] I didn't think the vodafone branch was merged in yet [02:42:45] it's still being updated from the trunk [02:42:57] No, vodafone's not merged yet, but ApiEdit is [02:42:57] do i need current trunk to use the api like in the manual? [02:43:05] article editing is in vodafone [02:43:44] Wiredtape: the api is under current development, so you do need the trunk for all the latest features [02:44:14] Wiredtape: Easiest way to find out is to consult the api docs on the wiki you're attempting to work with [02:45:06] amidaniel, my own wiki, ver 1.11 .. where are the docs? [02:45:18] carl-m: Yeah, you're right. All of ApiEdit has been merged, but ironically, the edit module wasn't in the ApiEdit branch :P [02:45:31] Wiredtape: Just nav to /YOURWIKIROOT/api.php [02:46:18] amidaniel, k, thanx. [02:46:23] can the api convert wiki syntax to normal html retaining all tables etc? [02:46:30] sour1: no [02:46:52] sour1: It has limited rendering ability, but can't handle anything too complex [02:46:55] mediawiki is incapable of generating normal html [02:47:48] http://en.wikipedia.org/w/api.php?action=render&text={{Project:Sandbox}}&format=xml [02:50:07] ah ok [02:50:40] yeah i am just trying to convert mediawiki syntax to something presentable, had a look at a few php classes but none of them work correctly [02:51:30] perhaps it would be better if I explain what I am trying to do, because I don't think the api is my best option here.. I want to insert stuff into a certain point in wikitext and then resave it with the new stuff.. [02:51:47] sour1: There are a few third-party parsers out there [02:51:58] None of them fully implement the spec, but some come fairly close [02:52:14] Wiredtape: the api cannot do that. you have to download the text, modify it, and upload it again. you can do that by script, but the api can't do it all in one command [02:52:17] so, for instance: I have an faq namespace, i want to build a small form capturing questions and answers... so i want what ever gets inputted into the form to go into a template variable... [02:52:37] the ones i've tried dont create appropriate images/tables etc [02:53:01] would be handy if they'd work, the parser class is way over my head, i don't know how many hours i spent trying to work that sucker out [02:53:32] Yeah, the Parser's quite a scary place :) [02:53:43] I think only TimStarling understands how it works :D [02:53:45] 03(NEW) problem with Lindsay Davenport wikipedia article - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12635 15enhancement; high; Wikimedia: General/Unknown; (elecbass100) [02:54:14] carl-m, ok, so other than action=raw is there any other way to access an articles text? an object perhaps? and how do I upload the new content? [02:54:29] im afraid to ask him again for help :P [02:54:57] Wiredtape: The new content has to be submitted via action=edit [02:55:06] Wiredtape: to get the text, you can use the API or use Special:Export (and other ways) [02:55:18] to upload the text, it's easiest to find a bot library already written [02:55:25] Or action=raw, which is probably the easiest way [02:55:33] Wiredtape: What language are you writing this in? [02:55:41] javascript/php [02:56:07] I believe there's a php client framework .. can't remember what it's called [02:56:33] amidaniel, using action=edit would show the user an unsaved article... I want to show a saved version... [02:56:50] Wiredtape: Well, you have to submit the new content to action=edit [02:56:57] !man Parameters_to_index.php | Wiredtape [02:56:57] --mwbot-- Wiredtape: http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php [02:57:26] I've seen something similar done on wikinvest.com and I am pretty sure this isn't how they do it.. however, I am completely lost trying to understand what they did... [02:58:00] Wiredtape: You just send a POST to index.php?title=Your_article&action=submit [02:58:18] Follow the manual above to determine what parameters you need to send with it [02:59:02] amidaniel, thanks.. though, what do extensions that modify an article do? the same thing? I am sure they have access to the article object, no? [02:59:22] Wiredtape: Are you writing an extension or a client application? [03:00:27] extension... (I knew we weren't on the same page :) ) [03:00:53] Oh, well that changes everything :P [03:01:19] Yes, then you can set the page content through the Article class [03:02:05] so how do i pull/submit wikitext from an article? [03:02:26] How difficult would it be to make user's date-style preference available with a magic word? [03:03:31] Wiredtape: You can get the page content using Article::getContent() [03:03:48] Submitting is a bit more complicated ... probably best to look at what they're doing in the Vodafone branch [03:03:51] http://svn.wikimedia.org/svnroot/mediawiki/branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php?revision=29122&view=markup [03:04:07] if a page is shorter than the screen, is there a way to make a
at the end of the page extend to the bottom? [03:04:19] amidaniel, thanks a lot for all of your help! [03:04:29] Wiredtape: Yeah, sorry for the confusion :) [03:04:45] :) [03:05:35] flyingparchment: I'm not sure what you mean :S [03:05:58] amidaniel: i have a page which is so short, it only takes up half the user's screen. i have a
at the bottom of the page. the div should extent all the way to bottom of the screen [03:06:58] flyingparchment: Oh, hmm ... can you do something like
? .. not sure you can use percents in heights [03:08:18] you can't... [03:09:19] Figured as much :) [03:09:36] Fill it up with line breaks? :) [03:09:41] DUnno [03:10:31] I would do it the other way around... make it go from bottom to top [03:10:34] oh well.. found another way to do it [03:10:45] and then it will always be at bottom:0px [03:10:51] if it's large enough it will reach top.. [03:13:38] amidaniel, I am taking a look at the Vodafone branch, they have to use tokens and everything when using the API but does an extension need to provide all of this information? [03:14:18] perhaps I can be a smart ass and send a preload with the text i have changed and then execute a submit? [03:15:31] you should be able to just call the API directly from your extension, right? [03:16:59] well i can use a fauxrequest (i believe that's what it was called) but I am not sure this is the easiest way to go about it... :) [03:18:25] if the other option is rewriting the code yourself, a fake request is probably cleaner [03:19:11] I agree.. it's just that there must be a way to submit text to save() which does this anyway... isn't there? [03:19:31] so I would get the content, manipulate it.. and then send it to parse and then to save() [03:20:30] Atleast i'm guessing this is how it's done when you normally edit an article, isn't it? [03:21:10] The problem is that the actual process of "saving" is split across multiple function calls with crap happening everywhere. [03:21:31] It was build to be accessed *only* through the web interface and it's not easy to access it any other way [03:21:59] Looking at the Vodafone branch, it appears they're doing just that -- sending a FauxRequest to emulate hitting save on an edit form [03:22:33] Ideally, though, there would just be a method Article:setPageContent ( $text, $editsummary, $minor, $watch ) that would do everything, but there's not [03:22:52] amidaniel: is that really what they are doing? I thought the goal was to switch the web interface to the API eventually [03:23:16] carl-m , that's what they did.. that's why I mentioned it... [03:23:18] carl-m: That was what I thought too .. but the code says otherwise [03:23:50] well, this could be a compromise to get something working, given the complexity of rewriting the edit code from scratch [03:24:04] Probably [03:24:41] can anyone answer a simple question about DPL? I have my results, but i want to make this (single) result a thumbnail. I'm doing format=[[%PAGE%|160x160px|right|border]] in a parser functoin, but it's not doing the right thing. [03:24:56] At this point I'm fine with doing that, it's just that I am almost 100% sure that there is a simpler solution.. is there any chance one of you could give a peek at wikinvest.com (and view a user profile).. maybe you could give me your opinion on this? [03:29:04] anyone? [03:29:13] what does it do? [03:29:24] do you have a link? [03:29:30] can 'position: absolute' break out of its parent element? [03:30:24] I think the 'absolute' means different things depending on the way the box is displayed [03:30:49] carl-m, yeah.. use http://www.wikinvest.com/user/Chikchak it's just my test.. you can login with 123456 to see an example of what i mean... [03:31:18] I meant Morbus, but I'll look at it [03:31:20] 123456 being the password... [03:31:25] heh. [03:32:11] what's the username? [03:32:19] chikchak [03:33:03] once you log in you will see they have "add job" or "add education".. what's interesting is that this actually adds it to the wikitext.. [03:34:01] I find the save button doesn't work [03:34:48] 03yaron * r29771 10/trunk/extensions/SemanticForms/specials/SF_AddPage.php: [03:34:48] Fixes by Sergey Chernyshev to allow AddPage to have the same functionality, [03:34:48] through URL queries, that the #forminput function does (bug #12594) [03:35:29] works for me? [03:39:50] Wiredtape: yeah, the workhistory doesn't work for me, but the top left box does. [03:40:21] 03yaron * r29772 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Removed unnecessary variable [03:40:29] or maybe it's your error checking [03:40:43] 03yaron * r29773 10/trunk/extensions/SemanticForms/INSTALL: New version: 0.8.3 [03:40:47] so what you want is something like this, but for wiki text? [03:41:51] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10N/A) [03:41:58] carl-m, well I want to input regular text.. but add it into the articles content (pre-parsed) - they do exactly the same... [03:42:37] if you add &action=edit to the url you will see what i mean... [03:43:10] or rather ?action=edit [03:44:25] you want to enter regular text into the forms? [03:44:50] i want exactly the same thing they are doing... [03:45:09] are they using mediawiki? [03:45:12] but of course im not interested in work/education and so on.. [03:45:16] yeah.. [03:45:58] they had the logo on there yesterday.. i don't know where it went.. :) [03:46:12] but you can see the namespaces and of course special/version [03:46:30] MediaWiki: 1.9.3 (r1485) [03:47:08] have you looked at the 'form' extension ? [03:47:19] maybe you can use that to get what you want [03:48:39] or another form extension that alrady exists [03:49:45] maybe... though I doubt it.. because they don't insert text/wikitext.. they only act upon text that was inputted.. (emailing, or other stuff) [03:49:58] I am looking through the extension matrix ... [03:50:31] that's what I would recommend. otherwise, unless the wikinvest sysadmins will share their secrets, you'll have to write some code [03:51:03] hehe [03:51:05] of course :) [03:51:21] thank you for the help ... [03:51:42] you're welcome, I didn't have much concrete to say [03:52:39] but i appreciate you taking the time :) [04:02:32] hm, when i try to edit a ==title== i get an error message [04:02:33] You tried to edit a section that doesn't exist. Since there is no section 1, there's no place to save your edit. [04:02:41] any idea if this can be solved? [04:16:51] Is there anyway to break a TOC into columns [04:18:16] aBSDaemon: you mean the automatic table of contents that MW puts together? Not that I know of [04:18:35] Yep, the automatically generated ones. [04:19:02] I don't think the table of contents can be broken apart; at least I'm not aware of any way [04:19:23] if the sections won't change names much, you can just build your own [04:19:38] ==Title== can be linked to with [[#Title]] (if you match the anchor name) [04:20:00] phrearch: is the section transcluded? is there a comment on the same line? [04:20:22] it has |{{Layout_box1|1=content blocks [04:21:04] i guess thats where the 1 is coming from [04:21:30] 03tstarling * r29774 10/trunk/extensions/ParserFunctions/ (ParserFunctions.i18n.magic.php ParserFunctions.php): Added #iferror: Searches the input for text that looks like an error message from ParserFunctions or the core parser. [04:21:45] are there any plans to allow text-based SVG editing after upload? [04:22:16] I'm having some problems with user javascript on my wiki. What configuration do I need to get the same behaviour as on WMF wikis? [04:22:34] Mike: can you link to your wiki? [04:22:52] playgound.scribblewiki.com [04:23:14] enjoy the main page :| [04:26:31] $wgAllowUserJs = false; [04:26:32] $wgAllowUserCss = false; [04:26:35] check those? [04:26:59] well, what is the right way, damn mwbot contraption... [04:27:01] !man $wgAllowUserJs [04:27:01] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgAllowUserJs [04:27:27] both should be true, right? [04:27:48] yep [04:28:02] also $wgUseSiteJs and $wgUseSiteCss [04:28:36] *Mike_lifeguard tries to check [04:31:41] I don't think I can even read localsettings [04:31:49] and I definitely can't edit it [04:40:30] right, so check the page soure for things like yourname/yourskin.css / .js [04:40:33] if not, out of luck [04:43:37] ahh. I see my css, but no js [04:43:51] which explains things; my css is showing up fine, but nothing else [04:48:06] 03(FIXED) A JavaScript constant to declare whether api.php is available - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12622 +comment (10vasilvv) [04:48:54] 03(FIXED) User should be able to get MediaWiki version from any page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12536 +comment (10vasilvv) [04:55:28] ok so I'm trying to install my own wiki on my own computer because this sucks [04:55:41] and I've run into my first problem(!) [04:56:12] I can't find Internet Information Services and it's not listed in add/remove windows components [04:58:47] Mike_lifeguard: You have to buy IIS [04:58:59] Mike_lifeguard: Why not install the free and better alternative, Apache? :) [04:59:00] gah(!) [04:59:09] oh. fine; i'll do that [04:59:29] err do you mean http://www.apachefriends.org/en/xampp.html [05:00:25] Mike_lifeguard: Yeah, you may be best off installing a prebundled WAMP package -- that is "Windows, Apache, MySql, PHP" [05:00:34] (so one of those packages will work) [05:00:39] *Mike_lifeguard tries that [05:07:47] do I want Apache/MySQL/Filezilla "as a service"? [05:09:42] amidaniel: ^^ ? [05:10:30] Huh? [05:10:44] Apache and mysql are "services" but filezilla is a client O.o [05:11:27] iunno. will check the first 2 boxes then [05:16:57] Does Lighttpd and Mediawiki play well together? [05:18:23] Haven't heard of any problems, and I do know a few sites use it [05:29:44] 03tstarling * r29775 10/trunk/extensions/ParserFunctions/ParserFunctions.php: Fix bug in last commit [06:28:01] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 +accessibility (10j.chetwynd) [06:53:19] 03aaron * r29776 10/trunk/extensions/ConfirmAccount/ (6 files in 3 dirs): Disallow two account requests having the same email [06:53:56] 03aaron * r29777 10/trunk/extensions/ConfirmAccount/ConfirmAccount.pg.sql: Put this in base query too [07:26:52] 03(mod) Bot-created articles appear in Special:Recentchanges by default - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12633 +comment (10vinhtantran) [07:27:28] 03raymond * r29778 10/trunk/phase3/ (2 files in 2 dirs): [07:27:28] Fix for r9765: [07:27:28] * Readd 'userrights-available-remove', still in use [07:27:28] * Update messages.inc [07:28:31] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 (10j.chetwynd) [07:35:11] 14(WFM) problem with Lindsay Davenport wikipedia article - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12635 +comment (10dungodung) [07:38:27] god, you'd think someone put a curse on userrights [07:38:42] when creating wikidb, is "collation" ok (other options make this look like the type of characters the db will use (croatian, chinese ... ) [07:39:49] hmmmmm: Notice: Undefined offset: 3 in F:\xampp\htdocs\wiki_de\includes\SpecialUserrights.php on line 402
[07:44:48] Raymond__: i also get an undefined offset 2 [07:44:58] ialex: yes [07:48:01] Raymond__: http://rafb.net/p/0OiV2366.html [07:51:08] ialex: thanks :) [07:51:14] 03raymond * r29779 10/trunk/phase3/includes/SpecialUserrights.php: [07:51:14] Another fix for r29765: Avoid PHP notices [07:51:14] Thanks to ialex [07:51:42] :) [07:58:43] Raymond__: while you're at it... How about those 4 Strict Standards notices in image handling? ;) [07:59:01] (5 actually) [07:59:32] siebrand: which one? [07:59:33] siebrand: and one in ExternalStore::fetchFromUrl ? :) [07:59:43] Strict Standards: Declaration of BitmapHandler::formatMetadata() should be compatible with that of MediaHandler::formatMetadata() in /var/www/w/includes/media/Bitmap.php on line 305 [07:59:52] Strict Standards: Declaration of ImageHandler::getDimensionsString() should be compatible with that of MediaHandler::getDimensionsString() in /var/www/w/includes/media/Generic.php on line 409 [07:59:56] Strict Standards: Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/LocalFile.php on line 1037 [08:00:01] Strict Standards: Declaration of LocalFile::delete() should be compatible with that of File::delete() in /var/www/w/includes/filerepo/LocalFile.php on line 27 [08:00:06] Strict Standards: Declaration of LocalFile::purgeCache() should be compatible with that of File::purgeCache() in /var/www/w/includes/filerepo/LocalFile.php on line 27 [08:00:07] those... [08:00:54] *Raymond__ hides... [08:01:07] ialex: haven't seen that one before... [08:01:47] Raymond__: we're filtering them out on Betawiki. But those have been in for a long while already: [08:01:48] tail -n 1000 /var/log/betawiki/error_log | egrep -v "(LocalFile::delete|newFromTitle|purgeCache|getDimensionsString|formatMetadata)" | grep -e "^[[]" | cut - [08:01:48] d" " -f 3- | sort | uniq -c | sort -n [08:02:32] siebrand: Non-static method ExternalStore::fetchFromURL() should not be called statically in /Library/WebServer/Documents/phase3/includes/Revision.php on line 586
[08:02:54] ialex: interesting... How to reproduce? [08:03:11] siebrand: use external store :) [08:03:34] ialex: a commons like repo or is that something else? [08:03:52] When looking in SVN, how do I tell what files to get for installing an extension? [08:04:01] siebrand: it's for the text table [08:05:44] 03(mod) PHP Strict Standards issues with formatMetadata, getDimensionsString, and others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12202 (10siebrand) [08:06:27] Mike_lifeguard: usually all files under the extension folder. [08:06:41] siebrand: this has nothing w/ images [08:06:59] Mike_lifeguard: some extensions have other extensions that are a prerequisite (not that many) [08:07:07] *Mike_lifeguard will check [08:07:26] Mike_lifeguard: only few extensions have images. [08:07:38] ok, so clicking on the links send me to the log :S [08:11:25] *Mike_lifeguard found the link [08:11:48] siebrand: do I need .php files only, or .sql and .inc too? [08:12:14] *SQLDb glares at Mike_lifeguard [08:12:15] Mike_lifeguard: you need all of them. Which extension are we talking about? [08:12:20] checkuser [08:12:57] Mike_lifeguard: you need the .sql file to patch your database (using phpMyAdmin or mysql commandline) [08:13:18] or php command line [08:13:38] Mike_lifeguard: see http://www.mediawiki.org/wiki/Extension:CheckUser for any corrections on what I stated above :) [08:14:49] "the files" isn't clear when not all of them download when you click the download link [08:15:01] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10s.r.e.turner) [08:15:02] it makes one think perhaps something has gone wrong [08:15:33] [02:37] god, you'd think someone put a curse on userrights [08:15:38] [02:38] hmmmmm: Notice: Undefined offset: 3 in F:\xampp\htdocs\wiki_de\includes\SpecialUserrights.php on line 402
[08:15:47] wow ;) [08:16:07] rotem or werdna? [08:16:19] blame domas [08:16:57] river [08:17:54] AaronSchulz: CheckUser requires ExtensionFunctions.php ? [08:18:34] *Mike_lifeguard gave up on installing extensions tonight, btw [08:19:05] ExtensionFunctions should die [08:19:13] agree [08:19:54] simply add the special page in $wgSpecialPages [08:24:06] erm... "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\wikiwiki\LocalSettings.php on line 158" <-- what am I looking for in that file? [08:24:37] ialex: no [08:24:43] Mike_lifeguard: check the line above if there is (or not) a ; [08:25:25] AaronSchulz: maybe update the doc : http://www.mediawiki.org/wiki/Extension:CheckUser ;) (<- it is only for 1.5 - 1.9 version ?) [08:25:36] thanks; works now [08:32:24] 03(mod) formatnum formats template parameters instead of the returning result - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12560 (10N/A) [08:32:35] when specifying import sources with $wgImportSources, what format are they in? [08:33:12] it says interwiki prefixes, so I have array(w,b); which gives an error "Bad interwiki link" [08:34:30] nm; found it [08:56:59] <_wooz> lo [09:02:27] 03dale * r29780 10/trunk/extensions/MetavidWiki/ (11 files in 4 dirs): [09:02:27] added genericEmbed lib file [09:02:27] added ie6 css layout compatibility file [09:18:18] I have a database dump; how do I get it in my wiki? [09:18:41] mike! trying to take credit for my log parser, hehe [09:19:27] =D as if anyone would buy that [09:19:38] apparently Herby's the only one who has fooled [09:19:55] *was fooled [09:20:48] they coulda named it better though, heh [09:21:40] Splarka: do you know how to get a dump inside mah wiki? [09:22:04] nope [09:22:15] usually you want to dump *out* [09:22:35] installing my own, but it's far too empty for my taste [09:24:48] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 (10j.chetwynd) [09:36:53] 03(NEW) ExpandTemplates bugs when showing "Show XML parse tree" with old preprocessor parser - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12636 15enhancement; normal; MediaWiki extensions: ExpandTemplates; (alex.emsenhuber) [09:42:32] 03(mod) ExpandTemplates bugs when showing "Show XML parse tree" with old preprocessor parser - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12636 +comment (10tstarling) [09:44:23] 03(mod) ExpandTemplates bugs when showing "Show XML parse tree" with old preprocessor parser - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12636 +comment (10alex.emsenhuber) [09:46:06] 03(mod) ExpandTemplates bugs when showing "Show XML parse tree" with old preprocessor parser - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12636 (10alex.emsenhuber) [09:52:26] is it discouraged to create many namespaces? [09:53:27] other than having more namespaces in search [10:14:23] for some extensions, it says to "run install.php" but when I do that, the file (tries to) open :S [10:25:28] Mike_lifeguard: you have to run it from the command line [10:25:58] run>cmd.exe ? then how? [10:27:48] C:\path\to\php.exe "C:\path\to\install.php" [10:31:30] I'm getting fatal errors :( [10:31:44] but at least it's doing /something/, right? [10:31:44] 03(NEW) URGENT: Fix RO language code on http://www.wikipedia.org/ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12637 15enhancement; highest; Wikimedia: Site requests; (bogdan.stancescu) [10:31:56] 03(mod) URGENT: Fix RO language code on http://www.wikipedia.org/ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12637 (10bogdan.stancescu) [10:33:21] 03(mod) URGENT: Fix RO language code on http://www.wikipedia.org/ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12637 15enhancement->trivial (10bogdan.stancescu) [10:57:13] 03raymond * r29781 10/trunk/ (35 files in 32 dirs): Localisation updates German [11:11:39] hi. on uploading a .pdf file i got internal wiki error: can't create directory 'public/4/46' - how come? all images/pdf so far went into ./images and not into public [11:14:43] WTF [11:15:38] if the target filename is something like Web.OS.10.Command.Reference.pdf mediawiki gets confused, if it's set to Web_OS_10_Command_Reference.pdf it works [11:21:38] 03siebrand * r29782 10/trunk/extensions/ (SignDocument/BROKEN Translate/Translate.php): [11:21:38] * Add BROKEN to SignDocument: special pages are not loading [11:21:38] * Drop SignDocument support in Translate [12:07:05] how do i force a refresh of "no page is using this file"? [12:07:14] because i have pages linking to some images [12:08:06] null edit the page using it usually works (the job queue's job) [12:08:38] note that [[Image:Foo.jpg]] uses show on the image desc page, but [[:Image:Foo.jpg]] links show on Special:Whatlinkshere/Image:Foo.jpg [12:21:41] 03(mod) Update the SiteMatrix to show all existing wikis - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=11241 (10gangleri) [12:29:41] 03(mod) Activate Extension:LanguageSelector on wmf wiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12604 +comment (10gangleri) [12:40:39] Splarka: is there a way to let :Image... count on the Image Meta Page? [12:40:49] 03(mod) New:=?UTF-8?Q?=20add=20=C2=AB=20Other=5Fproject?= =?UTF-8?Q?s=5Fof=5FWikimedia=20=C2=BB=20id=20?==?UTF-8?Q?to=20?=[[special: SiteMatrix]] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12638 (10N/A) [12:41:08] doesn't sound possible, why would you want to? [12:41:15] (other than hacking the code) [12:42:54] because in my view "using a image (or pdf or...)" is also when linking via :Image [12:43:31] else someone could think: this file isnt linked anymore, i can delete it [12:44:49] ahh [12:44:57] so it shows on Special:Unusedimages (or whatever it is) [12:45:31] There are many other uses for images that leave them orphaned [12:45:50] like mwCustomEditButtons, site/user CSS/JS style and interface, logo, favicon, etc [12:46:01] and none of those even link from Special:Whatlinkshere [12:46:13] the typical thing to do is create a template like Template:Notorphan [12:46:34] which contains: [12:46:40]
[12:47:01] [[Image:{{PAGENAME}}|32px]] This image is not an orphan, it is used for: {{{1|''please give reason''}}}
[12:47:04] and maybe a category [12:47:37] this then puts the image page itself in the list of pages the image is used on, and prevents it being deleted if the deletionist can see an example of it being used, such as mwCustomEditButtons or as a Media: link [13:29:17] hi [13:29:37] got an issue with image uploads that I was hoping someone here could help out with [13:30:04] I have: $wgEnableUploads = true; [13:30:15] and $wgHashedUploadDirectory = true; [13:30:21] in the LocalSettings.php [13:30:33] running with the Drupal-like scenario [13:31:50] the problem: [13:33:18] Could not copy file "/tmp/phpEXTF4z" to "temp/f/f7/20080115133305!Tnowy.jpg". [13:33:36] there is an image file called Tnowy.jpg [13:33:44] chmod 777 images/ [13:33:52] ? [13:34:40] i'm not sure, but the target path looks odd to me. it shoudle be "$IP/images/temp/f/f7/20080115133305!Tnowy.jpg" i think. [13:34:56] what is your wgUploadDirectory set to? [13:35:38] also - *where* is an image file called Tnowy.jpg ? [13:36:06] on my user account in RHEL [13:36:21] locally on the same machine [13:37:19] $wgUploadDirectory = "$IPplus/images"; [13:37:41] dishanker: that's wrong. where does the "plus" come from? [13:38:15] (well, it might be correct, if you are doing some very scary magic with $IP) [13:38:50] the default is "$IP/images", and that is probably what you want. [13:42:22] wait a sec [13:44:48] 03(mod) New:=?UTF-8?Q?=20table=20problem=20with=20=C2?= =?UTF-8?Q?=AB=20center=20=C2=BB=20in=20an=20RTL?==?UTF-8?Q?=20environment?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12639 (10N/A) [13:46:00] gangleri: wikibugs can't parse your quote signs [13:49:41] 03(NEW) Allow restricting patrolled edits feature to certain namespaces - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12640 15enhancement; normal; MediaWiki: General/Unknown; (gtisza) [13:50:19] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id= (10gangleri) [13:51:12] !rewriteproblems [13:51:12] --mwbot-- use 0) use this method: 1) Do not put the files into the document root; 2) Do not map the pages into the document root; 3) Use different paths for real files and virtual pages; 4) Do not set a RewriteBase; 5) Put all rules into the .htaccess file in the document root. [13:51:15] oops [13:53:10] Hi Nikerabbit; I have seen it [13:53:51] who has written wikibugs? it should be UTF-8 compatible [14:00:42] 03thomasv * r29783 10/trunk/extensions/ProofreadPage/ (ProofreadPage.php proofread_index.js): remove toolbar; use hookevent instead of addOnloadHook [14:03:16] How do i create groups, to use for permissions, i'm sure it's very easy but i can't find info on it anywhere :/ [14:04:33] http://www.mediawiki.org/wiki/Help:User_rights [14:04:49] just reference a group by giving it a right, and it'll exist [14:05:09] hoi Splarka :-) [14:05:12] $wgGroupPermissions['ninja']['block'] = true; [14:05:15] rar [14:05:45] ok thanks Splarka :) [14:05:57] it was as easy as i thought :) [14:07:39] spooky eh [14:07:44] what extension is handling the language selection for this page then, http://www.mediawiki.org/wiki/Manual:FAQ [14:07:58] yea, i didnt know programming was blended with magic! [14:07:58] I'm having a bit of a problem getting teh short URL thing to work on MediaWiki 1.11. I've tried all the variations documented here http://www.mediawiki.org/wiki/Manual:Short_URL and get the same results... a 404 The requested URL /wiki/Main_Page was not found on this server error. [14:08:38] Duesentrieb: back [14:08:51] noclue: you don't have null article paths do you? [14:08:53] $IPplus is just a string with a path in it [14:09:01] so that shouldn't be problem [14:09:03] !rewriteproblem | noclue [14:09:03] --mwbot-- noclue: use 0) use this method: 1) Do not put the files into the document root; 2) Do not map the pages into the document root; 3) Use different paths for real files and virtual pages; 4) Do not set a RewriteBase; 5) Put all rules into the .htaccess file in the document root. [14:09:39] I used the method given by the bot... [14:09:48] no success. I have root access to the server [14:10:00] dishanker: if the path is correct, it should not be a problem. though i think that path should show up in the target file name as shown in the error message. because, right now, it's a relative path... relative to what exactly? [14:10:12] noclue: check the othjer 5 points. [14:10:18] http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Working_method_with_mediawiki-1.11 but that should only matter if you have $wgArticlePath = "/$1"; [14:10:21] Splarka: I don't think I have null article paths... not sure though [14:10:34] "/$1" [14:10:41] well, not null, but very very short [14:10:41] don't use that [14:10:45] leo|lap [14:10:49] you mean this? http://www.mediawiki.org/wiki/Template:FAQ_header [14:11:00] mapping pages into the docroot is asking for trouble [14:11:24] my mediawiki install is in /space/mediawiki-1.11.0 with a sym link /space/mwiki [14:11:25] that is just template magics [14:11:31] Duesentrieb: it's not relative, it's an absolute path [14:11:44] yes [14:11:45] dishanker: hm? in the error message? no its not. [14:11:51] apache has Aliases as documented [14:11:51] ok it's not even a extension? [14:12:00] *Splarka follows the templates [14:12:01] dishanker: which is exactly the point i'm picking on. [14:12:10] the only extension it appears to be using is ParserFunctions [14:12:11] now, i don't know exactly how that message is generated. it might be mislading [14:12:12] !ParserFunctions [14:12:12] --mwbot-- "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [14:12:49] Duesentrieb: temp is inside images/ [14:12:49] noclue: if you use the methos the bot linked you too, then you should not be using aliases. [14:12:52] it checks what subpages of the page exist with #ifexist and if they exist it links to them [14:12:58] because of safe_mode ... true [14:12:58] eg /en /fr /de [14:13:24] dishanker: yes. but does php knowthatat that point? the error message looks like it does not. because it doesn't say "images/" anywhere. [14:13:25] ok, like a simple if name_of_this_article_* exists [14:13:36] dishanker: so it might be trying to copy to the wrong place. [14:13:45] a simple example would be... {{#ifexist:{{FULLPAGENAME}}/es|[[{{FULLPAGENAME}}/es|en espanol]]}} [14:13:59] mm ok [14:14:05] thanks, i will check it :) [14:14:07] a less pretty method would be [14:14:11] Deesentrieb: I'll go off and try again... maybe I typed something wrong... :-) [14:14:18] {{Special:Prefixindex/{{FULLPAGENAME}}/}} [14:14:31] but that would be all you need [14:14:41] Could not copy file "/tmp/php3mcaWA" to "temp/2/29/20080115141430!Snowy.jpg". [14:14:57] but 2/29 is created by mediawiki [14:14:58] Duesentrieb: aren't crossed help threads so much fun [14:15:02] under images/temp/2/29 [14:15:14] Splarka: yay [14:15:24] so it's strange not to know the path when it is creating it [14:16:07] hm, yes, indeed... [14:16:13] no idea, i'm afraid. [14:16:27] well, you could try to check out what happens if you turn off the hasing thingy [14:16:37] just out of curiosity [14:17:18] but, when I check for it ain't there [14:17:25] /tmp/php3mcaWA [14:17:39] 03grondin * r29785 10/trunk/extensions/ (9 files in 2 dirs): [14:17:39] Major release [14:17:39] * update extension access rights [14:17:39] * fix bug for loading Special:SignDocument [14:17:39] * fix bug for loading Special:CreateSignDocument [14:17:40] * fix new internationalization files format [14:17:42] * deleting empty lines [14:30:03] 03yaron * r29786 10/trunk/extensions/SemanticDrilldown/ (INSTALL includes/SD_GlobalFunctions.php): New version: 0.3.2 [14:31:35] 03grondin * r29787 10/trunk/extensions/SignDocument/Changelog: Add changelog file [14:32:50] I have lots of vandalism on my wiki, and I would like to make a change to a page of the wiki, only possible for "registered" users. What do I have to do ? [14:36:56] !prevacc | Arvernes [14:36:56] --mwbot-- Arvernes: http://www.mediawiki.org/wiki/Manual:Preventing_access [14:37:10] 03(NEW) Mark changes patrolled when their diff page is edited - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12641 15enhancement; normal; MediaWiki: General/Unknown; (gtisza) [14:38:21] 03siebrand * r29788 10/trunk/extensions/SignDocument/ (3 files): * update indentation of SignDocument messages files [14:42:06] 03(mod) Provide preference-based autoformatting for unlinked dates - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=4582 (10l8qjvx002) [14:43:49] mwbot: thanks. So just that sentence, in my LocalSettings.php : $wgGroupPermissions['*']['edit'] = false; [14:43:52] 03(mod) Mark changes patrolled when their diff page is edited - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12641 (10gtisza) [14:48:36] 03simetrical * r29789 10/trunk/phase3/includes/ExternalStore.php: (bug 12202) Strict standards: mark static methods static. [14:49:00] Arvernes, yes. [14:49:30] 03rotem * r29790 10/trunk/ (2 files in 2 dirs): Update for he. [14:49:39] thank you Simetrical . I've just added that sentence, and it works. Thank you all of you for the great help you provide. Thanks. [14:56:23] I've already used User Merge and Delete extension but it seems there are still residues of the users in the database [14:56:29] if i delete ALL of the values, is it safe? [14:56:39] or will some counters/hashes go haywire? [14:59:55] No guarantees. Probably it's safe, but deleting users from the database is not really recommended or supported. [15:02:33] 03(mod) Page count not updated. - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12618 +comment (10roan.kattouw) [15:02:50] 03simetrical * r29791 10/trunk/phase3/includes/ (filerepo/File.php media/Generic.php): Adjust some function definitions for abstract classes to stop annoying PHP strict warnings. Also moved some @public notices to the public keyword. [15:03:00] 03grondin * r29792 10/trunk/extensions/SignDocument/SignDocument.php: Adding link to mediawiki page [15:04:02] 03(mod) PHP Strict Standards issues with formatMetadata, getDimensionsString, and others - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12202 (10Simetrical+wikibugs) [15:04:10] 03(FIXED) AddPage is not passing super_page along - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12594 +comment (10yaron57) [15:09:56] Simetrical: nice. Thanks. [15:12:03] sadly I am back... still no success with the URL rewrite thing.I tried again with the info linked by the bot... no change [15:13:08] The rewrite happens... but i end up with a 404 file not found. I am feeling kind of thick headed.. thsi shoudl be easy [15:14:55] RoanKattouw: hello [15:15:05] Arvernes: Hi, long time no see [15:15:09] 03(FIXED) SignDocument special page doesn't load - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12547 +comment (10bertrand.grondin) [15:15:23] Yeap ;-) [15:15:26] 03(VERIFIED) SignDocument special page doesn't load - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12547 (10bertrand.grondin) [15:15:38] 03(CLOSED) SignDocument special page doesn't load - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12547 (10bertrand.grondin) [15:23:39] 03catrope * r29793 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryInfo.php): API: Adding cascade flag to prop=info&inprop=protection [15:33:54] 03(mod) SVG client side rendering - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=3593 (10michaeldaly) [15:39:03] 03catrope * r29794 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): [15:39:03] (bug 12585) Added a bunch of parameters to the revertpage message (rollback summary). These parameters currently aren't used in the default message, but custom messages could use them. [15:39:03] $3: revid of the revision reverted to [15:39:03] $4: timestamp of the revision reverted to [15:39:03] $5: revid of the revision reverted from [15:39:07] $6: timestamp of the revision reverted from [15:40:17] 03(FIXED) rollback parameters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12585 +comment (10roan.kattouw) [15:43:29] anyone to update the url of EasyTimeline to http://www.mediawiki.org/wiki/Extension:EasyTimeline ? [15:44:34] ialex: what url? [15:44:45] oh, you mean the one in the extension credits? [15:44:50] Duesentrieb: yep [15:45:14] hm, not touching svn now, sorry [15:46:01] ialex: I'll do it [15:46:06] RoanKattouw: thanks [15:46:48] 03catrope * r29795 10/trunk/extensions/ChangeAuthor/ChangeAuthor.body.php: ChangeAuthor: Surpress E_STRICT message about unset variables [15:46:59] ialex: EasyTimeline is not in SVN [15:47:23] RoanKattouw: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/timeline/ [15:47:33] Oh [15:47:33] RoanKattouw: it is :) committing now... [15:47:36] Under a different name [15:47:41] 03raymond * r29796 10/trunk/extensions/timeline/Timeline.php: Update URL [15:48:11] thanks Raymond_ [15:48:59] 03catrope * r29797 10/branches/ApiEdit_Vodafone/: ApiEdit_Vodafone: Updating property for svnmerge [15:53:24] 03thomasv * r29798 10/trunk/ (5 files in 3 dirs): fix for IE [15:54:14] hello, I made a mistake commiting r29798 (was in the wrong directory) [15:54:24] how do I revert this ? [15:54:34] svn revert 29798 ? [15:54:43] (may be wrong) [15:54:55] Probably [15:55:11] ThomasV_: Try svn help revert for help on the revert command [15:55:16] Or are you using TortoiseSVN? [15:55:30] no, command line [15:55:46] let me try this... [15:56:13] svn revert is when you modified a file locally :( [15:57:14] ialex : yes, but I cann commit after svn revert I guess? [15:57:28] hi, is there a script out there or a tutorial on how to convert a tikiwiki database into a mediawiki one [15:57:29] or is there a cleaner way to revert ? [15:57:29] ThomasV_: you can't revert after commit [15:57:51] *siebrand loves TortoiseSVN... [15:57:52] Duesentrieb: so what should I do ? [15:57:55] ThomasV_: Try svn help revert, maybe it says something about reverting to old revisions [15:58:04] ThomasV_: I have TortoiseSVN, I'll revert it for you [15:58:09] What was the revid? [15:58:13] 29798? [15:58:14] ialex: revert it just like you woudl on wikipedia: fetch the old version, replace the new text with the old text, then commint the result [15:58:23] 29798 [15:58:34] err, ThomasV_you guys confuse me :P [15:59:38] hmm after doing svn revert locally, svn diff returns nothing [16:00:00] svn revert reverts to the SVN version [16:01:25] brion-away: ping ? [16:01:30] copy/paste this : http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SkinTemplate.php?revision=29719&content-type=text%252Fplain&pathrev=29798 and commit (also for MimeMagic) [16:01:40] ThomasV_: I'm on that revert [16:02:05] ialex: there was 5 files :-( [16:02:24] Alright, committing revert now [16:02:24] ThomasV_: ah, not only the trunk [16:02:39] RoanKattouw: thanks [16:02:55] *RoanKattouw curses his computer for being so slow [16:03:47] *ThomasV_ is a bit ashamed... [16:04:08] *sigh* [16:04:14] It's coming in two parts [16:04:21] huh? [16:04:33] The trunk/ part and the extensions/ part [16:04:44] They're separate repos in my system for some wicked reason [16:04:56] yes [16:05:03] 03catrope * r29799 10/trunk/phase3/includes/ (MimeMagic.php SkinTemplate.php): Reverting r29798 on the committer's request, part 1 of 2 [16:05:23] ThomasV, you need to do svn diff -c 29798 | patch -p0. [16:05:31] Simetrical: It's done already [16:05:36] 03catrope * r29800 10/trunk/extensions/ (3 files in 2 dirs): Reverting r29798 on the committer's request, part 2 of 2 [16:05:37] I'm telling him for the future. [16:05:45] Simetrical: indeed, I guess that would have worked. thanks [16:05:46] You're catrope, then? [16:05:49] Yeah [16:05:55] The API guy :P [16:06:22] *ThomasV_ will remember to always run diff before commit [16:09:59] Simetrical: I'm starting the named constants vs. message keys thing now [16:10:10] bug 12615 [16:12:14] hello everybody. [16:13:49] Good morning. Would anyone have a link to an example of MediaWiki being used to manage and document source code? [16:13:50] I have a question about MediaWiki 1.6.10. There is a little problem with it and with search one system. There is search system named yandex (russia) it use a HUGE amount of traffic - more then 2GB per month. It can't index wiki. Is there any idea about it? [16:13:58] 03catrope * r29801 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryWatchlist.php): API: Adding wlshow parameter to list=watchlist to allow for filtering (non-)minor, (non-)bot and (non-)anon edits [16:15:52] 03thomasv * r29802 10/trunk/extensions/ProofreadPage/proofread_index.js: fix for IE [16:27:20] Hello, I'm looking to get my mediawiki install LDAP enable for authentication. I don't find much doc. ? Thank you. [16:28:34] RoanKattouw, you have phase3/ and extensions/ checked out as two separate repos too? I used too, now it seems easier to just check out trunk/. [16:29:06] Simetrical: Yeah, but checking out trunk/ gets me more stuff I don't want [16:29:06] Adylass, you may want to ask the author of the LDAP extension, Ryan Lane. [16:29:06] Also, I checked out extensions/ much later [16:29:08] When I started writing them [16:29:26] *Simetrical wants http://bugs.mysql.com/bug.php?id=16437 to be fixed :( [16:30:23] Simetrical: Thanks. [16:40:04] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SkinTemplate.php?r1=29719&r2=29798&sortby=date [16:40:09] ... [16:40:33] I have a question about MediaWiki 1.6.10. There is a little problem with it and with search one system. There is search system named yandex (russia) it use a HUGE amount of traffic - more then 2GB per month. It can't index wiki. Is there any idea about it? [16:44:41] Civil, there is nothing that prevents search engines from indexing your wiki, if you haven't configured it to prevent them. [16:44:57] Yandex might not know about your site, or might not consider it worth indexing. [16:45:08] AaronSchulz, . . . [16:45:12] Simetrical, it indexes only first page. [16:45:20] but around 1000 times per day [16:45:32] it can't go further [16:45:33] I don't think the problem lies with MediaWiki. [16:45:41] Wikipedia is excellently indexed, as you may have noticed. [16:46:16] Simetrical, I don't know if it is indexed well by yandex. [16:46:24] AaronSchulz, oh, that was the bit that was reverted, phew. :P [16:46:25] or it can be bug of 1.6.10 [16:46:34] that is fixed now. [16:46:50] Civil, Wikipedia used to use 1.6 too. If Yandex uses weird search algorithms, who knows what they'll index or not? [16:46:51] or yandex can flood wikipedia too... [16:47:13] All the globally-biggest search engines (Google, Yahoo!, MSN) index Wikipedia perfectly well. [16:47:26] the SpecialUserrights.php curse seems to continue [16:47:29] Simetrical, nobody. I've asked becouse I whant to find out if there anybody that experienced same problem [16:47:43] AaronSchulz, which? [16:48:03] Civil, I don't think many people here operate Russian wikis. [16:48:42] Simetrical: the fact that no one can get it right ;) [16:48:48] lets hope the last commit is fine [16:48:58] You mean flyingparchment's? [16:49:09] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialUserrights.php?sortby=date&view=log [16:49:11] 2 more since then [16:49:18] Ah, those. [16:49:19] :) [16:50:03] AaronSchulz: flyingparchment edit added a feature [16:50:07] Rather than fixing stuff [16:50:26] did i make an error? i tested the change and didn't see any obvious problems [16:50:26] It's now possible to allow people to add themselves to certain groups, but not to add others to those groups [16:50:40] flyingparchment, not sure it was with your commit. [16:50:44] Raymond fixed some things up. [16:50:55] No, it's just that AaronSchulz wonders when people will stop committing to SpecialUserrights.php every day or so [16:50:57] maybe i need to increase php notice level [16:51:01] Oh, and maybe brion. [16:51:19] what? [16:51:21] flyingparchment: One of them was an E_NOTICE fix [16:51:24] Brion's commit didn't fix anything, Raymond's just avoided a notice, I think. [16:51:31] The other was a generic wfReadOnly() handling change [16:51:36] So actually there was nothing wrong with anything. :) [16:51:52] flyingparchment: the problems occur when a bureaucrat uses special:userrights. [16:52:01] flyingparchment: The E_NOTICE was about nonexistent array keys, http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialUserrights.php?r1=29770&r2=29779&sortby=date [16:52:56] ah [16:53:11] 3 of the last 4 are fixes ;) [16:54:57] 6 of the last 7, actually. [16:56:37] I hope null logs are fixed for real :D [16:57:46] They are in my testing. [16:58:36] I explained to someone at great length how their patch to fix it was much too long and problematic, when mine didn't actually work. [16:58:50] *Simetrical makes a mental note to figure out what variables actually contain before using them, in the future [17:00:11] 03(FIXED) URGENT: Fix RO language code on http://www.wikipedia.org/ - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12637 +comment (10alex.emsenhuber) [17:08:52] Hi, I'm working on an extension which displays 2 articles in the same window. So I want to know how to derive an article (final html) given the title, without having to make an explicit http request. Could some help m e? [17:09:39] by window, I mean a page [17:09:47] what is wrong with using http? [17:10:44] chaitu_: have a look at the DoubelWiki extension. it displays two articles from 2 wikis in one window [17:12:09] PunkRock, I don't want to use frames. Won't I have to do that if I make explicit requests [17:31:30] Simetrical: r29803 implemented that rollback refactoring you asked for [17:31:32] 03catrope * r29803 10/trunk/phase3/includes/Article.php: [17:31:32] Large refactoring of rollback code: [17:31:32] * DB code is now in Article::commitRollback(), permissions checks in Article::doRollback() [17:31:32] * doRollback() no longer returns named constants but an OutputPage::showPermissionsErrorPage() compatible array [17:31:45] I gotta go now, will be back in an hour and a half [17:31:48] RoanKattouw, I'll look at it in a while. [17:33:08] hmhm [17:33:17] sounds like a good idea [17:33:40] "I'll commit very big change and go hiding for few hours (or rest of my life if it turns bad)" :) [17:34:57] :) [17:46:29] svn ci -m is bad it seems :o [17:51:29] 03(NEW) Re-enable upload on Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12642 15enhancement; normal; Wikimedia: Site requests; (triyork) [17:51:31] 03(NEW) Non-admins can move a page with a nbsp in its title over a page without the nbsp which is a redirect to itself but with no history - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12643 minor; normal; MediaWiki: Redirects; (ais523) [17:52:48] 03(mod) Re-enable upload on Incubator - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12642 (10robin_1273) [18:00:42] Hi, is there a way to move an action tab somewhere (outside of p-cactions?) [18:01:18] of course this can be done with css... but I want to know if I can do this with php/skin manipulation [18:02:09] Hi [18:02:36] Hi pirata_ [18:03:48] Hi Wiredtape .. i looking for some help with wikipedia.. but i´m brazilian guy and not understand english very well [18:04:34] Pirata_, go ahead and ask, though a more appropriate place might be #wikipedia [18:06:05] Wiredtape hmm... i think wikipedia and mediawiki it was the same thing.. [18:07:03] hi people: when i run some maintenance scripts in the shell it throws this error: ?SHOW INDEX FROM `cur`?. - and i notice in the scripts there are references to 'cur' and 'old' in the database name [18:07:23] should i configure something before running these scripts? my databasename is sg_wikidb and it's trying to access sg_wikidb.cur [18:07:35] cleanupDupes.php returned this error [18:07:35] Pirata_ that's ok... mediawiki is what runs wikipedia [18:08:37] piksi, iirc cur and old refer to an articles id's or revision numbers.. I am not sure why it would try to access .cur [18:08:37] hmm, my new skin doesn't work in IE at all :( [18:08:42] *flyingparchment hates the monobook template [18:09:01] flyingparchment :) I understand your pain! [18:09:04] hmmmm nice Wiredtape, tkz! [18:09:12] i´m looking for admin panel [18:09:15] it have one ? [18:09:39] Pirata_, that depends what you are looking for... [18:10:27] Wiredtape: well, this is freshly unpacked and properly configured 1.11.0 so it should behave identically on all other users too, there's even this part "$cur = $dbw->tableName( 'cur' );" in the cleanupDupes.inc [18:10:30] i´m try to put a image... [18:10:48] for example [[Imagem:exemplo.jpg]] [18:11:14] Pirata_: you have to upload it before [18:11:28] hmmm ialex, ok... but, where ? [18:11:45] Pirata_: Special:Upload [18:11:47] i´m not find the place... [18:12:15] http://pt.wikipedia.org/wiki/Especial:Carregar_imagem [18:12:31] piksi, when installing did you make a prefix for your db tables? [18:12:34] something like mw_ [18:12:37] or bla_ [18:12:46] Wiredtape: yes, it's sg_wikidb [18:12:52] cur table was removed in 1.5 or 1.6 [18:12:58] hmmm nice [18:13:41] Can i upload files like .doc or .xls ? [18:13:50] piksi, you said sg_wikidb is the name of the db, I am asking whether you have a prefix for table names? and i guess the answer is what ialex just said... [18:14:13] Wiredtape: ah sorry, i didn't notice *tables* [18:14:28] Wiredtape: nope, none of the tables are prefixed in the db [18:14:35] Pirata_: on wikipedia, or your personal wiki [18:14:38] ? [18:14:48] Wiredtape: well except for semantic mediawiki with swm_ but it does that automatically by itself [18:15:11] ialex my personal wiki... [18:15:21] it will be my work intranet... [18:15:34] Pirata_: i think you can [18:16:34] hmmm nice [18:16:44] piksi, sorry i dunno :) [18:16:49] but u know how? [18:17:12] Pirata_ to allow additional extension uploades you need to change a setting in localsettings.php look at the faq for instructions [18:17:32] "change a setting" = add the file extensions.. [18:17:46] http://www.mediawiki.org/wiki/Manual:%2524wgFileExtensions [18:18:26] erm, http://www.mediawiki.org/wiki/Manual:%24wgFileExtensions [18:18:43] damn, *now* i think i understood. sql does refer to tables within a database the pascal way of db.table.data ? it says sg_wikidb.cur so it doesn't find a table called cur [18:19:10] is this script some leftover from old mediawiki versions for compatibility reasons oslt? [18:20:05] piksi - that's why i asked if you had a prefix.. because it's trying to refer to an old table that doesn't exist (per ialex) [18:20:29] ah, now i see [18:20:47] so there wasn't anything wrong with my database after all :-) [18:21:01] Wiredtape, ialex: thanks anyway guys :-) [18:21:17] how difficult would be making the summary column longer than current 2xx bytes? [18:22:54] ialex Wiredtape $wgFileExtensions[] = 'pdf'; [18:23:04] ;) [18:24:15] this it will be work -> http://www.mediawiki.org/wiki/Manual:%24wgFileExtensions [18:26:55] Danny_B, I'm guessing it would depend on finding the function that checks the length, and updating the database? I am not sure what kind of implications this could have.. ? [18:30:28] Wiredtape: i don't know if there's even any trim function. doesn't db trim itself? anyway, i was asking because i don't know what can be the impact on db if the column has changed [18:32:02] ... [18:32:04] it works [18:32:15] tkz ialex Wiredtape [18:37:27] np [18:43:22] Wiredtape hey... [18:43:44] Wiredtape how i can do download file with texto togheter ? [18:44:09] ex; Download (when a click in download, open file to download...) [18:44:10] ? [18:50:55] Hi all, I have a n00bish question about subpages and breadcrumbing, if I might ask for assistance please? I've perused the Wikipedia article on subpages and namespace settings, but I'm not sure I'm getting something right. [18:52:17] Pirata_ I don't understand the question... [18:52:37] Sk1mble, ask the question.. [18:54:35] Wiredtape: I want to enable supbages in all/main namespaces so that when I link with [[/PageName]] it does a relative link to a child. [18:54:46] At the moment it's creating a page called /PageName instead. [18:54:54] I've just set this setting in my local_settings file: [18:55:01] $wgNamespacesWithSubpages[NS_MAIN] = true; [18:55:12] Sorry, LocalSettings.php file. [18:55:27] But it doesn't seem to have made any difference. [18:55:39] If I explicitly link to a subpage e.g. [[Page1/Page2]] then that works. [18:56:05] Well, perhaps not, as I get a page called /Page1/Page2, that's a solid name without breadcrumbing at the top of the page. [18:56:58] is there a way to do a strikethrough on a bulleted list created by the * prepended at each line? [18:57:01] Sk1mble, afaik, there is no easy way to do this.. [18:57:15] it's one of three options: [18:57:43] create a template that adds {{PAGENAME}} before the /subpage.. [18:58:19] hack the parser code to recognize [[/subpage]] connected to [[{{PAGENAME}}/subpage]] [18:58:54] WiredTape: I'm not sure either of those gives true subpages though, it just gives pages called blah1/blah2/blah3 that don't allow breadcrumbing up and down between them. [18:59:43] Sk1mble, now that's a whole different problem.. iirc mw 1.11 doesn't need the true settings for subpages.. it does that automatically.. though I would never think that would hurt [18:59:57] the pages names would be blah1/blah2/blah3 anyway [19:00:11] and you probably wouldn't be able to see any difference between them [19:00:29] so i guess my question is.. [19:00:37] how do you know they aren't subpages..? [19:01:07] Because there's no breadcrumbing or hierarchy, and because /doesn't work for relative links? [19:02:50] are you using an extension? [19:02:57] No. [19:04:21] Sk1mble, I don't recall ever seeing breadcrumbing or hierarchy without those extensions.. (I might be wrong of course) .. [19:07:00] I'm going from: http://en.wikipedia.org/wiki/Wikipedia:Subpages [19:11:24] Sk1mble, I've never seen that.. especially not the breadcrumbs.. my wiki uses a lot of subpages and they work, however, I've never seen anything like what it says on there.. [19:12:10] is there a script to clean the "recent changes page" ? [19:12:49] 03(mod) Non-admins can move a page with a nbsp in its title over a page without the nbsp which is a redirect to itself but with no history - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12643 +comment (10roan.kattouw) [19:13:38] You can see why I am confused now, Wiredtape. =P [19:13:48] I seem to have it working now though, I think. It just didn't work for links I'd already created. [19:14:01] So you actually get breadcrumbs? [19:14:56] Not breadcrumbs, but the /relative linking now works. [19:15:08] If I do /Page it creates a page called TopPage/Page rather than /Page. [19:15:30] 03(NEW) Template links on article preview page should be in alphanumeric ( alphabetic) order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12644 15enhancement; normal; MediaWiki: User interface; (greg.ebdon) [19:16:02] 03(mod) File links on image description page should be in alphanumeric (alphabetic) order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12532 (10greg.ebdon) [19:19:10] Thanks for listening anyway, Wiredtape. [19:19:46] np [19:20:19] all: doing a mediawiki install. I don't have root, but I do have sudo. is there a c&p for the commands I'd need to pre-do that step? [19:21:32] piksi: what du you mean by 'clean'? [19:28:21] 03(FIXED) Clean up Article::doRollback - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12615 +comment (10roan.kattouw) [19:29:46] Question, where does mediawiki pull it's timestamp from? I did an edit on a page, says 19:22 for time, however realtime is 14:22 [19:31:27] AndrewBuis: That's due to timezone settings [19:31:34] Check your timezone in Special:Preferences [19:31:38] ty [19:32:12] the best stting for timezone iz 00 [19:34:53] hmm, after updating (offset = -5), the revision.rev_timestamp still shows 19 for hour.. [19:35:47] but it does show correct time now in history [19:35:50] just not in the db [19:37:36] so is mediawiki pulling time from a time server? or just the hosting server's time? [19:42:03] AndrewBuis: it uses the server's clock. and it uses utc for all entries in the database. [19:43:01] the times shown on the site are generated based on that - dynamic dates, on special pages, are subject to a per-user time offset (see your user preferences), fixed dates (like in signatures) are controlled by a global setting. [19:45:24] gotcha [19:48:41] Our wiki is for a glossary of terms specific to evaluation terminology... I am writing a program that goes through all our web pages, and replaces all the with It needs to know if we need to update the page based on the last revision time/date. Was wondering why time was 5 hours off.. [19:52:04] AndrewBuis: 5 hours sounds about right for US east coast :) [19:52:17] yup [19:52:35] my program has now = local time, server = uts [19:52:37] utc [19:53:16] fixed now... just had to set it to understand that the timestamp was in utc not local [19:53:37] imho, timestamnps shoud always nbe in utc, everywhere. [19:53:43] timezones are for human consumption only [19:53:59] everything else leads to confusion [19:54:10] especially with DST changes. lots of fun there [19:55:43] hmmm, good point, setting my timestamp in the html file to be utc instead of local [19:56:45] http actually allows localized timestamps in headers - which nasty results. that was a terribly bad idea. but webservers still use it, for some reason. [19:57:18] I just have at the end of the file an html comment saying that the page was last updated by my program at Date|Time [19:58:14] yea, make that utc. actually, i tend to be lazy, and use epoch for this kind of stuff. [19:58:55] 03travis * r29804 10/trunk/extensions/MultiUpload/SpecialMultipleUpload.i18n.php: add polish and add 2 new entries [19:58:55] 03travis * r29805 10/trunk/extensions/MultiUpload/SpecialMultipleUpload.php: make mediawiki 1.11 compatible and add link to the toolbox [20:00:56] So what's the deal with subpage breadcrumbs? I've never seen that work... ? [20:12:35] Wiredtape: it only works when you enable subpage-features for the given namepace [20:12:40] !subpages | Wiredtape [20:12:40] --mwbot-- Wiredtape: By default some namespaces have subpages enabled and others don't. You can enable or disable them using $wgNamespacesWithSubpages in LocalSettings.php. [20:21:34] 03catrope * r29806 10/trunk/phase3/includes/api/ (ApiBase.php ApiRollback.php): [20:21:34] API: [20:21:34] * Introducing ApiBase::dieUsageMsg() function which outputs the error associated with a certain message key [20:21:34] * Updating rollback module to use dieUsageMsg(). Other modules will follow. [20:22:07] Simetrical: Have you looked at my refactoring yet? [20:24:03] 03catrope * r29807 10/trunk/phase3/includes/api/ApiRollback.php: Whoops, removed one check too many. [20:24:27] Is there a WYSIWYG editor extension for mediawiki? [20:24:36] jmlane: Yes, it's called FCKEditor [20:24:44] Google that [20:25:07] !wysiwyg | jmlane [20:25:07] --mwbot-- jmlane: What You See Is What You Get editors allow you to create articles and see the text formatting without needing to Show Preview. A list of wysiwyg editor extensions may be found at . [20:25:23] Excellent, thanks RoanKattouw [20:27:49] Does WikiPedia use FCKEditor for their WYSIWYG editor? [20:27:57] no. [20:28:05] jmlane: Wikipedia doesn't *have* one [20:28:09] wysiwyg support is rudementary at best. in fact, it wysiwyg can not really work for mediawiki (or any wiki, really) [20:28:41] the closest thing available on mediawiki is the WikEd scripts [20:29:04] Well, not a true WYSIWYG, but at least a toolbar to insert mediawiki formatting for people who don't know how to use wikis? [20:29:11] That is all I really need [20:29:16] jmlane: how would a wysiwyg editor handle templates? or extension tags? or things that are invisible inline, like interlanguage links? [20:30:17] Duesentrieb, someone would have to write something from scratch, specifically for MediaWiki, to support that kind of advanced formatting. [20:31:50] jmlane: yes. but if it's supposed to run in a browser, it must be html based. very tricky to do, because html isn't realy powerful/flexible enough, it would require full xhtml with free xml additions (which browsers don't support) [20:32:37] also, in *true* wysiwyg, it's impossible to edit anything that is invisible. if you have dummies/placeholders for this, it's not longer *really* wysiwyg, you are entering wysiwym-land then [20:32:53] Duesentrieb, I imagine it would be a very big job. [20:32:57] What you see is what you mean? [20:33:15] editors i know of a fine for making text bold/italic etc, making hadings, maybe insering images (in a limited way). but tables tend to get tricky already. [20:33:28] and floating boxes, or automatic elements, or magic links... no go. [20:33:45] RoanKattouw: yes [20:34:08] Haha, OK, many pardons, what I _mean_ is I would like a toolbar that allows initiate wiki users to add mediawiki formatting to their edits. What do you recommend? [20:34:20] jmlane: i imagine it's impossible to do in-browser with javascript. at least if it's expected to run reasonably fast. [20:34:40] jmlane: there arelady is a toolbar for that per default. [20:35:19] the trouble with things that trie to allow rich text editing is that they tend to *destroy* any advanced stuff present in the page [20:35:30] Orly? Is that always active? [20:35:38] the toolbar? sure [20:35:55] OK, odd. [20:36:00] adding stuff to it is a bit arcane. [20:36:15] i figured out how to do it a couple of weeks ago. then i forget again [20:36:26] i think i linked it in the faq. at least i hope so :) [20:36:56] jmlane: why odd? [20:37:38] Oh, well, I never noticed the toolbar and I've been using mediawiki on my site for a while now. [20:37:49] jmlane: but it's there, right= [20:37:50] ? [20:38:13] i don't think you can even turn it off. [20:38:49] Duesentrieb: Can't you hide it with your user CSS [20:38:50] ? [20:38:54] sure [20:39:05] you can also remove it with js [20:39:24] but i don't think there's a config setting to disable it [20:43:31] AzaTht: You asked for iihistory to be replaced by iilimit, right? [20:46:12] 03catrope * r29808 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: Fixing hinky indentation in ApiQueryImageInfo.php [20:46:39] AzaTht: PING [20:48:27] gents, trying to change a password for a user, have full access to mysql... but the field is binary [20:48:36] how do i change a password for a user? thank you! :) [20:49:14] !passwordsql | clustermagnet [20:49:14] --mwbot-- clustermagnet: UPDATE user SET user_password=MD5(CONCAT("1-",MD5("password"))) WHERE user_id=1; This will reset the password for the user with user_id 1 (the default admin account, usually WikiSysop) to "password". If you do not know the name of the user account, execute: SELECT user_name FROM user WHERE user_id=1; [20:49:22] But don't use userid=1 [20:49:46] Instead of WHERE user_id=1 use user_name='Whatever his name is' [20:50:05] but you need to know his id [20:50:10] RoanKattouw: yes [20:50:36] ialex: not necessarily, you can also use WHERE user_name='something' [20:50:43] RoanKattouw: thank you :) [20:50:56] RoanKattouw: the id is used to generate the hash [20:51:03] RoanKattouw: are you TIMEing me? [20:51:07] Argh yes [20:51:15] AzaTht: A few times just now, yeah [20:51:15] in "1-" (<- 1 is the id [20:51:23] AzaTht: Just a moment, I'll get back to you [20:51:26] ok [20:51:33] clustermagnet: You have to do it slightly diffferently: [20:51:51] RoanKattouw: it just worked, thanks [20:52:03] You have to look up the user's userid (SELECT user_id FROM user WHERE user_name='Whatever the user name is';), then replace all occurences of '1' by that ID [20:52:13] clustermagnet: The password isn't changed correctly right now, try [20:52:20] yes it is [20:52:26] That's surprising [20:52:27] its working just fine ... i can log in now [20:52:31] Weird [20:52:37] Maybe you just happen to be userid 1 [20:53:18] AzaTht: You wanted iilimit, but it turns out it's not really possible, look at http://svn.wikimedia.org/doc/classFile.html#b49cb4e9b2e83810603f81da93a7fb5d [20:53:39] It returns history lines line by line, no way to implement start/end/dir so no way to implement query-continue [20:53:42] I agree that it sucks [20:53:47] But very large image histories are scarce [20:53:56] hmm, who broke the parser? [20:54:04] RoanKattouw: that's bad [20:54:09] {{/lang| aa | Afar | Afar | aar | Ethiopia | Africa | 1.40 | }} [20:54:17] para 4 in the template {{/lang}} is treated as: [http://www.ethnologue.com/show_language.asp?code={{{4}}} {{{4}}}] [20:54:18] siebrand: Latest SVN or WMF? [20:54:24] and now displayed as "aar aar" instead of "aar" [20:54:30] RoanKattouw: latest SVN [20:54:36] Lemme test [20:54:38] siebrand: new parser [20:55:14] RoanKattouw: http://translatewiki.net/wiki/User:Siebrand/languages [20:55:14] siebrand: http://en.wikipedia.org/wiki/User:MZMcBride/Parser [20:57:22] brion: Has the 1.12 release date been decided on yet? (albeit roughly) [20:57:57] AzaTht: Yeah, I'll file a bug, someone else should go ahead and change FileRepo [20:58:08] In the meantime I'll limit image histories to 500. [20:58:16] ok [20:58:31] sounds reasonable [20:58:50] many pages left in the TODO list? [20:59:07] RoanKattouw: when i'm good and ready [20:59:42] Any rough indication of when that will be? What I'm interested in most is whether you except it to be before or after April 1st [21:00:00] RoanKattouw: fixed it with s/| /|/, but that pretty strict... ;) [21:00:54] siebrand: yea [21:01:09] spaces are reatined nowadays [21:02:21] brion: Any rough indication of when that will be? What I'm interested in most is whether you except it to be before or after April 1st [21:02:42] within th enext week or so unless there's some godawful problem [21:02:55] Oh, that's well before April xD no worries then [21:03:31] brion: You should know that I'm doing a pretty large API refactoring at the moment, which I hope to finish this weekend (if not sooner) [21:04:01] well, i reserve the right to revert anything i think's unstable :) [21:04:08] You do [21:04:09] so let's keep it clean and safe by default :) [21:04:34] Well I'm making a lot of stuff cleaner on Simetrical's recommendation [21:04:43] cool [21:04:45] Less code duplication, that kind of stuff [21:09:40] 03(NEW) File histories should be paged, requires modification of File.php and friends - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12645 major; normal; MediaWiki: Images; (roan.kattouw) [21:09:58] 03catrope * r29809 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: [21:09:58] Limiting image history listings to 500 for now. A hard-coded limit sucks, but an [21:09:58] alternative isn't really available as the File handling code doesn't allow it [21:09:58] (see also bug 12645). Besides, very few image histories are that long. [21:10:22] Some people who know more about the UI code or image handling code please look at this (bug 12645), as it poses a DoS risk right now [21:11:13] well, file histories will generally be pretty short [21:11:18] but there's no limit atm, no [21:11:24] Right [21:11:35] So I know it's theoretical and crazy, but there is a DoS potential there [21:12:00] I've eliminated that threat in the API, but the UI is probably still vulnerable [21:12:39] What do I need to put in localsettings to get patrolling for new page patrol only? [21:14:08] right now I have diff patrolling [21:15:38] 03(NEW) Extend oversight functionality to images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12646 15enhancement; normal; MediaWiki extensions: Oversight; (lar) [21:18:06] 14(DUP) Extend oversight functionality to images - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12646 +comment (10brion) [21:18:07] 03(mod) Oversight of file histories - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=8196 +comment (10brion) [21:18:13] Hi [21:18:20] Mike_lifeguard: http://www.mediawiki.org/wiki/Manual:$wgUseNPPatrol, but that's only in 1.12 [21:18:52] How can I login with Sysop permissions [21:18:55] i´m admin my wiki... [21:18:58] can I get the files needed to upgrade from SVN? [21:19:07] Pirata_: Special:Userrights [21:19:07] !svn | Mike_lifeguard [21:19:07] --mwbot-- Mike_lifeguard: Subversion is a version control software that allows users to download the very latest version of a branch without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and submit patches. See http://www.mediawiki.org/wiki/Subversion for more information. [21:19:25] Pirata_: but you need to be a bureaucrat [21:19:47] bureaucrat ? [21:20:00] hmmm, login only ? [21:20:08] Pirata_: The right to change user's groups [21:20:17] But didn't you say you were an admin on your wiki? [21:20:25] If that's the case you just need to log in [21:20:44] !download | Mike_lifeguard [21:20:44] --mwbot-- Mike_lifeguard: The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Subversion repository. See for more information. [21:21:41] Hello, I need a way to handle .dia and .svg in my wiki. (To get a proper render version for the reader and to let the sources for the people who wants to edit. Someone know a way to do this ? Thank you. [21:21:53] i´m logged [21:22:17] Pirata_: Where does it say you need to log in as a sysop then? [21:23:15] RoanKattouw i don´t know... i can´t see any panel to edit menu [21:23:34] You don't have an edit button? On which page? [21:23:34] !sidebar | Pirata_ [21:23:34] --mwbot-- Pirata_: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [21:23:43] Oh that [21:23:53] You need to edit [[MediaWiki:Sidebar]] [21:24:26] yes, I can see this page [21:24:48] but when I edit it, not appear on menu navigation for example [21:24:54] navigation [21:24:54] mainpage|mainpage [21:24:54] portal-url|portal [21:25:12] what revision are the WMF wikis on now? [21:25:27] I will paste the complete list in yout pvt RoanKattouw [21:25:32] Mike_lifeguard: Look at [[Special:Version]] [21:26:18] does Special:Version list the revision number of the version? [21:26:35] didn't think so, but yes [21:26:41] hmm [21:27:03] Yees [21:27:31] which one of the contentSub actions creates the subpages? [21:28:45] Skizzerz: if you use a stable release, you can only see the version number, if you use the unstable version, you can see also the revision number [21:29:04] yeah, I was just blind, that's all :P [21:33:22] 03catrope * r29810 10/trunk/phase3/ (5 files in 3 dirs): [21:33:22] API: [21:33:22] * Removing action=render module (which was deprecated) in favor of action=parse [21:33:22] * Added prop parameter to action=parse so certain parts of the output can be left out [21:33:23] * action=parse&prop=text behaves pretty much exactly like action=render used to [21:34:23] 03(mod) Simple way of retrieving different language-version - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=2463 (10roan.kattouw) [21:44:02] !table | Pirata [21:44:02] --mwbot-- Pirata: For help on creating tables in wikitext, see [21:44:04] !table | Pirata_ [21:44:04] --mwbot-- Pirata_: For help on creating tables in wikitext, see [21:44:35] lulz wikipedia, shouldn't we have something like this on mediawiki.org? [21:45:01] Skizzerz: Yeah [21:45:08] we do [21:45:10] http://www.mediawiki.org/wiki/Help%3ATables [21:45:32] Also http://meta.wikimedia.org/wiki/Help:Table [21:45:40] meta >_< [21:45:46] 03(mod) Template links on article preview page should be in alphanumeric ( alphabetic) order - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12644 +comment (10seventowers) [21:46:24] !table | Pirata_ [21:46:24] --mwbot-- Pirata_: For help on creating tables in wikitext, see and [21:46:42] or both :P [21:46:43] Duesentrieb, thanks for the subpage thing from before.. could you tell me what creates the <,| in between the subpageS? [21:47:12] hm? what creates it? [21:47:18] mediawiki, i suppose [21:47:21] Wiredtape: You mean which code? [21:47:26] < and | are probably messages [21:47:29] probably hardcoded in ArticlePage or something [21:47:58] so which one do you think, hardcoded or messages? [21:48:01] RoanKattouw: you think so? hm... night be. yea, for rtl stuff... [21:48:21] Wiredtape: go to Special:Allmessages, search for subpage [21:49:56] !table | Pirata_ [21:49:56] --mwbot-- Pirata_: For help on creating tables in wikitext, see and [21:50:09] tkz RoanKattouw [21:50:12] Duesentrieb: Nothing there [21:50:17] No problem [21:50:28] nope, not in messages.. [21:53:08] also, if someone writes something on my user_talk, should I be seeing a "you have a new message" or is this an option i need to enable? [21:54:19] Wiredtape: Check Special:Preferences [21:54:28] 03catrope * r29811 10/branches/ApiEdit_Vodafone/ (68 files in 10 dirs): ApiEdit_Vodafone: svnmerge of latest revisions from trunk, part 1 [21:54:29] I think it's enabled by default, not sure [21:55:49] thx [21:57:00] 03catrope * r29812 10/branches/ApiEdit_Vodafone/languages/messages/ (35 files): ApiEdit_Vodafone: svnmerge part 2 [21:57:26] 03catrope * r29813 10/branches/ApiEdit_Vodafone/languages/ (46 files in 3 dirs): ApiEdit_Vodafone: svnmerge part 3 [21:59:29] hmm, don't see it there... [22:00:21] 03catrope * r29814 10/branches/ApiEdit_Vodafone/: Damn, forgot the property *again*, happens easily with those split merges... [22:06:20] how is it that when you go to an articles talk page, you have a linkback to the article, though if you do "supposedly" the same thing with a different namespace by adding a tab it doesn't have an action leading to the discussion/article again? [22:06:52] Wiredtape: Because article-talk are linked deep in core [22:07:29] So would it be better to cheat and add a small link via skin on the specific ns, or is there a way to do this otherwise? [22:07:37] Dunno [22:07:47] There is a Skin hook that adds tabs [22:08:01] that's what i did... [22:08:29] however, it still doesn't tie into the article-talk relationship of course.. [22:08:35] No [22:08:39] But that's kind of special [22:10:09] I wonder if I can atleast make the "talk" space for this individual namespace disappear.. [22:10:27] Wiredtape: You should be able to [22:10:36] The hook passes the array of tabs by reference [22:10:45] So unset() the corresponding element and you're done [22:11:25] Wiredtape: http://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateContentActions that's the hook [22:11:27] this of course would have to be done only when the ns is the correct one.. which means a seperate extensnion.. [22:13:21] thanks RoanKattouw.. [22:18:17] i have an idea for a distributed wiki system based on blog posts and google blog search. anyone can create/edit a wiki page by writing a new post in his blog with a special string declaring this post is a new version of a wiki page. anyone can also moderate a wiki page by writing a new post in his blog with a special string declaring this post is a ranking list of his top 100 recommended versions of a wiki page. the wiki viewer program automatically re [22:19:05] RoanKattouw, Wiredtape: all namespaces have an associated talk namespace. and the tab linking to it (and back from it) is there automatically. [22:19:19] the only exception i know of is the Special: namespace [22:19:36] I know, but you should be able to remove tabs through the SkinTemplateContentActions hook [22:19:53] yao_ziyuan: interesting. write a blog post about it. [22:20:17] RoanKattouw: i think there's even a hook specifically for manipulating tabs [22:20:27] but that wasn't the question, was it?= [22:20:36] wiretape just wanted a talk namespace for another namespace [22:20:40] which is always there per default [22:21:10] First he wanted like a second talk namespace [22:21:17] Then he wanted the Talk tab to disappea [22:21:18] r [22:21:27] Both should be possible (IIRC) though the STCA hook [22:21:32] as always, the simplest way to do that is css [22:21:47] you have a per-namespace class, and an id for the tab [22:21:50] simple enough [22:22:45] Gotta go now though [22:22:49] Be good [22:26:48] hello all, is there a tool to batch import word docs, creating wiki pages from the documents? [22:38:38] Duesentrieb, as far as i can tell there's no way to do what I wanted with css.. Basically I wanted to add another relationship to article-talk so it would be (in my case) article-talk-faq , when you go to any of these you would have a tab letting you get back to the others. Right now my situation is that I have the FAQ Namespace however it has a talk namespace assigned to it as well.. so step one for me was to get rid of that.. whic [22:39:11] step two is to either "skin add" a link to the main article and talk namespaces or to find a different way of doing it.. [22:53:11] 03dale * r29815 10/trunk/extensions/MetavidWiki/ (6 files in 5 dirs): unified calls to output inline video (Media Search & Stream interfaces) [23:06:00] how does one create category items (complete with icons, etc) and additionally create a category page within MediaWiki? [23:06:17] Wiredtape: i'd simply use a subpage. Foo/FAQ as opposed to Talk:Foo [23:06:40] CardFire: "complete with icons, etc"? huh? [23:07:00] CardFire: anyway - read this: http://www.mediawiki.org/wiki/Help:Categories [23:07:09] thanks,Duesentrieb [23:07:44] category pages are just pages like any other, in a special namespace, with a listing added automatically. [23:09:46] two questions about file upload: [23:09:56] 1. how do I allow additional formats (pdf,ps,...)? [23:10:04] 2. can I disable upload for everybody, and allow it only for administrators? [23:12:44] !uploads | jan25 [23:12:44] --mwbot-- jan25: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [23:12:49] !rights | jan25 [23:12:49] --mwbot-- jan25: For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [23:15:48] thx, but I think I know those docs. didn't find how to enable upload for admins exclusively. [23:18:20] jan25: there is an "upload" permission. the user rights docs tell you how to restrict or grant permissions to specific groups. [23:18:41] masically, you would take away that permission from the "user" group, and grant it to "sysop". [23:19:03] maybe you need to take it away from some autmagic groups too, like autoconfirmed and emailconfirmed. can't hurt. [23:27:08] 03grondin * r29816 10/trunk/extensions/SignDocument/SignDocument.php: fix bug for installing Sign Document [23:28:55] thank u, duesentrieb. i'll try your suggestion. [23:29:23] how, uh .... how do i delete a page? for example, an erroneous category page [23:29:26] ^_^ [23:29:44] !delete | CardFire [23:29:44] --mwbot-- CardFire: I don't know anything about "delete". You might try: !deleteuser [23:29:47] Hmm. [23:29:53] CardFire, just use the "delete" button on the page. [23:29:58] :-/ [23:30:01] it's a category page [23:30:03] CardFire, if you're a sysop, there will be one. [23:30:04] perhaps I am blind [23:30:12] CardFire: if you are a sysop, there should be a delete tab on the top of the page [23:30:14] Are you using Monobook? [23:30:19] oh, heh ... yeah, perhaps I should log in [23:30:24] that would help too :) [23:30:28] Yeah, logged-out users can't delete stuff. :P [23:30:50] can't imagine why not- doesn't every wiki operator want random passersby utterly destroying their content? [23:30:51] :-) [23:31:27] no, of course they do [23:31:47] that's why it's best to let anons delete and block :P [23:32:45] I don't think it's possible to allow anons to delete and block. There's no way for anonymous users to make log entries, the log table doesn't support it, IIRC. [23:33:06] can anyone tell me how to use sidebars, such as on wikipedia? [23:34:32] is it possible to give a table row in wikitext a css class? [23:34:45] Did Roan actually test 29803? It kind of completely breaks by using $wgUser without declaring it global. [23:34:46] i'm thinking not [23:34:50] jimbojw, sure, why not? [23:34:56] |- class="mytablerowclass" [23:35:12] worth a try [23:35:23] Hmm, I'm not sure it's Roan's fault, though. It seems that was there before his commit . . . [23:35:25] *Simetrical fixes [23:36:21] Simetrical: works great thanks! [23:36:33] alright, let's say I'm making a wiki for Bob's Bix Boxes, and I want product sections for the stats on Blue Boxes and for Red Boxes ... how can I make them populate as category items in the "Boxes" section, with a blue and red box icon respectively? [23:37:00] I assume I want categories for Red and Blue that fits in the "boxes" category" and that neither of the pages should be "articles" [23:43:18] Hi, if I were to change an existing wiki from MySQL to PostgreSQL or vice versa. what would be the best way to do this? [23:43:48] with lots of time, patience and backups. [23:43:54] Can anyone tell me how to use sidebars such as the one here: http://en.wikipedia.org/wiki/Mediawiki [23:44:38] Or anything that lets me have a table off to the site. [23:45:03] http://en.wikipedia.org/wiki/Wikipedia:Infobox ? [23:45:06] Duesentrieb, I hoped the answer would have been "use this script..." ;( [23:46:24] jamasi: afaik there's no good/clean way to migrate. you canalways set up a fresh clean wiki, and then transfer the pages using an xml dump. but you need to transfer images separately, and user accounts would be lost (or you need to migrate them manually) [23:46:27] perhapps one could do XML-Dumps off all articles (via script) and reimport those. so one would only have to convert the user-table. [23:46:55] user, user-groups, and all the image cruft [23:47:00] and you lose the log. [23:47:06] and possibly some more minor stuff [23:47:41] so one would rather go for some serious search&replace in the .sql-Dump then. [23:47:59] >_< [23:48:13] well, i'd say, try and see :) [23:48:17] exactly [23:48:23] 03(NEW) Provide some method to blank messages like MediaWiki: Excontent - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=12647 minor; normal; MediaWiki: User interface; (mike.lifeguard) [23:50:18] what's making this even more fun: atm I've got no real idea of how big the database (as sql dump) already is. [23:50:41] but I think it's about a few 100Megs [23:53:05] Splarka, I still don't understand how to use them. I add the code they say to use, but it only appears as a link. [23:54:26] hmm? [23:55:09] The info Boxes. I added some of the codes they say to add, but they don't work. Do I need to do something to get this to work? [23:55:23] I wonder who this "one" is.. :) [23:56:28] ahh, you probably need the site-wide css styles [23:58:54] Okay, well what Do I need to do to it, and how do I do it?