[00:02:00] *Simetrical goes to upgrade to 9.04 . . . dum dum dum [00:02:26] hope you're not on DSL, that took forever :/ [00:02:38] I'm on cable modem, and I fully expect it to take forever. [00:02:42] Currently 12 KB/s. [00:02:46] :| [00:02:51] *Simetrical reminds himself to badger his father about upgrading their Internet connection [00:03:09] 96Kbps? do you have a 512Kbps downstream too? [00:03:18] *Simetrical was reading about deltarpm, can't Ubuntu figure out something like that? [00:03:27] Now 2 KB/s. [00:03:50] You could type it out faster... [00:03:51] http://techblog.wikimedia.org/2009/05/firefox-i18n-and-downloadable-fonts/ [00:03:58] I don't know what my bandwidth is theoretically supposed to be. [00:04:06] brion, yeah, that's a cool idea. [00:04:21] Should be a single line in site CSS. [00:04:35] But Firefox looks like it will only accept same-origin by default. [00:04:59] 03(mod) Feature Request : Dynamic Fonts in the Tamil Wikipedia (http://ta.wikipedia.org) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2361 +comment (10brion) [00:05:04] Simetrical: so much changes between releases that i doubt deltas would help. that's only useful for updates to a release, really. [00:05:20] Simetrical: good thing we can host files along with our stylesheets, eh? :) [00:05:42] brion: downloadable fonts? so it'll get a load more remote arbitrary code execution vulnerabilities inherited from freetype [00:05:46] awesome [00:06:03] heh :) [00:06:06] brion, we'd need a new upload infrastructure to allow per-domain uploads, though. Or sysadmin intervention for every font. Or else we'd need to whitelist the domain, however that works. [00:06:10] The latter seems best. [00:06:43] It's some HTTP header. [00:06:45] hell, we could ship em with mediawiki :) [00:06:59] Another possibility, yeah. :) [00:07:09] People might get annoyed if we overrode their default fonts in some languages. [00:07:37] But anyway, it would be good if people could upload and hotlink free fonts. Should probably be whitelisted on Commons, with appropriate headers set to allow stealing. [00:08:01] *Simetrical realizes he should have allocated a lot more than half an hour to the upgrade [00:08:25] can't you download first and then do the upgrade itself later? [00:08:41] Maybe? I'm using some GUI thing that just requires me to click "OK" occasionally. [00:08:52] It seems to be downloading stuff right now . . . very, very slowly. [00:09:12] 'apt-get -d dist-upgrade' [00:09:15] "Setting new software channels" is taking like ten minutes, I shudder to think how long "Getting new packages" will be. [00:09:24] that'll download all the new packages, and you can do the upgrade with the gui later [00:09:45] It doesn't make a big difference to me, I'll just leave it happily downloading in the background. [00:20:32] Hi I just installed media wiki, can I customize by editing css files? If so, where are they? [00:20:47] edit the page [[MediaWiki:commons.css]] or [[MediaWiki:Monobook.css]] [00:20:57] (the latter will only apply the monobook, the default skin) [00:21:26] oh you just edit the page? will it effect all who see? [00:21:37] yes [00:21:38] and what does the : mean here? [00:21:56] : is the namespace separator. things that affect content are in the MediaWiki namespace [00:23:19] can I not get to the files then to edit that way? [00:24:17] Huh? [00:24:55] I have only ever done code by the actual files in a text editor, I dont understand the eidt the page, or even how to get to it :) [00:25:30] thatryan: there are no files [00:25:40] type MediaWiki:Common.css in the search box and click 'go' [00:25:51] flyingparchment: what do you mean? I uploaded a folder of them :) [00:25:59] those are not to be edited by the user [00:26:14] (except localsettings) [00:26:57] oh ok [00:27:58] then how do you know what to apply styles to? What are the classes in use for each section? If I put style rules in this common.css blank spot, where do they apply? [00:28:26] you cna look at the source, or use some sort of page inspector, if your browser has one [00:29:00] is it the same for all pages? [00:29:06] is what the same? [00:29:16] the styles I put in the common [00:29:28] i'm not sure what you mean. common.css is loaded for all pages [00:29:30] for example, if I add imagery, will it show all over [00:29:44] are there any css files with higher precedence I guess [00:37:12] is there a way to make a variable, so whenever i call that variable, mediawiki will show something (say, a URL), then if i want to change all references to that url, i can just update the variable in one spot? [00:52:24] mwbot: answer [00:52:31] darn. [00:52:48] !answer [00:52:48] --mwbot-- Just wait a goddamn minute for me to ask my question and then you can answer it. [00:52:52] there we go! [00:53:19] kick it [00:54:16] stupid question, but does bizzwiki.org work for you? I can resolve it fine, but I can't seem to reach it. [00:54:31] I'm trying to decide between mw and bw right now. [00:54:50] the fact that mw is alive and well seems to be slanting things to its favor :-/ [00:58:28] Evolution: compare them on wikimatrix.org ? [00:59:37] *Marybelle kicks mwbot [00:59:40] *Marybelle pets mwbot [01:03:00] well, wikimatrix.org won't tell you if a project has forked and died and that there's nothing left of its home page but a load of spam [01:03:56] there's no bizzwiki on wikimatrix though [01:04:00] are you sure it exists? [01:04:15] TimStarling: I got it from -> http://toolserver.org/~amidaniel/botbrain.html [01:04:19] out of topic [01:04:30] http://www.mediawiki.org/wiki/Extension:BizzWiki ? [01:04:37] !bizzwiki [01:04:37] --mwbot-- a suite of mediawiki patches/extensions that is intended to make MediaWiki more suitable for use in a corporate environment. See and [01:04:48] yeah. what he said --^ [01:04:50] right, so it's not a wiki engine, just mediawiki [01:05:13] A series of modifications to MediaWiki. That's apparently no longer maintained. [01:05:17] I took it to be a semi-supported fork of mediawiki, with more business process built in. [01:05:26] As long the bright pink and yellow banners weren't clue enough. [01:05:31] As though. * [01:05:35] presumably the patches will stop merging in pretty soon then [01:05:44] Marybelle: stop using logic. it hurts my head [01:05:47] ;-) [01:05:55] The logo looks like a hoax. [01:06:22] Like a painful experiment with MS Paint and Google image search. [01:06:50] Probably pretty close to the truth [01:07:29] yeah, that figure has some pretty severe scaled-up JPEG artifacts doesn't it? [01:07:47] I was looking for a bit more granular control with respect to editing permissions and groups, however mediawiki is far easier to use, and what most of my users are familiar with [01:07:55] !cms [01:07:55] --mwbot-- Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [01:08:18] yeah. I've been all through the access pages. [01:08:40] If you're going for all-or-none access, MediaWiki is fine. [01:08:42] everything from protect, to the acl patch that stopped at 1.13.2 (but works for 1.13.5) etc. [01:08:48] But granularity isn't really possible securely. [01:09:06] maybe he doesn't need extremely tight security [01:09:14] he just wants to keep the honest people honest [01:09:16] yeah. mostly I just need to be able to keep some pages (or even a category) hidden from an entire group of users. [01:09:41] you could use a separate wiki [01:09:49] !lockdown [01:09:49] --mwbot-- Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [01:09:57] editing I can lock down, my authentication module handles the majority of access control. [01:10:03] Lockdown works decently, so I've heard. [01:10:08] speaking of granularity... what would the general reaction be to adding some finer-grained rights into mediawiki (such as breaking apart the ability to edit and create pages, and different rights to edit normal pages versus discussion pages) [01:10:11] actually that was the one thing I was curious about, was the namespace changes. [01:10:21] Skizzerz: They're already separate rights? [01:10:29] I couldn't really find a decent description of what exactly setting a namespace does. [01:10:32] !namespace [01:10:32] --mwbot-- For help with understanding and manipulating namespaces, please consult . See also !extranamespace [01:10:33] Marybelle: yes, but 'edit' acts like a global switch [01:10:48] Does it? [01:10:51] hmm, same doc I read, but wasn't smart enough to get the first time. [01:10:55] iirc it does [01:10:57] Skizzerz: sounds reasonable [01:11:09] plus there is no 'edittalk' [01:11:14] yet there is 'createtalk' [01:11:15] Evolution: Namespaces are like folders... [01:11:26] Inconsistency? In MediaWiki? [01:11:29] well, the permissions are just the minimum set needed to make the wikimedia wikis work [01:11:34] subpages are like folders [01:11:40] namespaces are like drive letters [01:11:45] make sure they're backwards compatible [01:11:53] *Marybelle was waiting for a better analogy. ;-) [01:12:11] flyingparchment: pretend for a moment you're talking to someone who hasn't touched a winders box in years. [01:12:14] :-P [01:12:16] so if one has the existing right, they will still be able to do whatever they used to do. [01:12:25] Evolution: Namespaces are good for separating content at a meta level. [01:12:26] i'm fairly sure you know what a drive letter is [01:12:34] flyingparchment: so it's an entirely separate wiki structure? [01:12:42] well, it's not a separate wiki [01:12:44] I could have /wiki be one, and /wiki2 be another? [01:12:48] Like Wikipedia has a namespace for Wikipedia-related pages and then a namespace for articles and a namespace for talk pages.... [01:12:50] no [01:12:53] that what you're meaning? [01:12:55] oh, [01:12:56] namespaces are like MediaWiki:Foo and Template:Foo [01:13:04] MediaWiki and Template are namespaces [01:13:18] I thought the : was for categories in that instance. [01:13:22] no [01:13:26] Category: is another namespace. [01:13:40] It's about content separation at a very broad level. [01:13:43] you categorise a page by writing [[Category:Foo]] in the page. [01:13:51] Separating files, categories, templates, MediaWiki messages, etc. [01:15:27] so the extensions area is a separate namespace then? [01:15:42] Extension:whatever ? [01:15:47] On the MediaWiki wiki, yes. [01:15:57] There are default namespaces. [01:16:00] And then you can add your own. [01:16:09] okay. I'm getting it a bit. [01:16:11] MediaWiki.org has Extension: as a custom namespace. [01:16:19] Wikipedia has Portal: as a custom namespace. [01:19:50] mw-logs now has links. [01:20:00] Glory be. [01:20:43] whatever happened to namespace manager? [01:21:48] that was going to make namespaces not suck wasn't it? [01:22:08] hmmm, not the one at [[Extension:NamespaceManager]] though [01:22:20] That was circa 1.7 or something, wasn't it? [01:22:31] yes, something around that period [01:22:35] I remember it was obsolete by the time I became a dev. [01:22:44] So more like 1.5. [01:22:46] I thought it transitioned into Configure. [01:22:58] Configure would work for namespaces, I guess, wouldn't it? [01:23:06] Wait, that requires running maintenance scripts. [01:23:11] Does Configure do that? [01:23:23] Skizzerz was working on something maybe? [01:23:56] It's kinda on the backburner atm [01:23:57] Oh, VVV was. [01:24:01] http://toolserver.org/~mzmcbride/cgi-bin/mw-logs.py?search=namespace.*manager [01:24:45] ooh, ok [01:25:04] From Andrew Garrett 2006-11-04 09:22:02 UTC Right. I discussed this with others on IRC. [01:25:54] has anyone combined the upload storage with a content(document) management system like knowledgetree or alfresco? [01:29:42] okay that question killed the conversation... [01:34:34] A page can have multiple Authors, correct? [01:35:01] so if I enable page protection, I can still have multiple authors who can edit it. [01:41:52] hi,all.how can i split a wikipage into some editable titles [01:42:08] pfruan: like a subpage? [01:49:15] maybe not. i wannt divide the mainpage into some category.each managed by different stuff [01:50:39] staff [01:54:31] all busy now? [02:02:04] Perhaps if you didn't speak in clues it'd be easier to answer your questions. [02:06:27] how can i divide mainpage into some sections, each shouldbe editedable independly [02:06:52] !templates | pfruan [02:06:52] --mwbot-- pfruan: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy . [02:07:26] o . [02:07:41] http://www.disneybox.com/wiki/%E9%A6%96%E9%A1%B5 [02:08:03] i copy the mainpage of this site, but didnt work on my site ,why [02:08:15] Wow, nice skin [02:08:37] yeah,i love the skin [02:09:03] It's a shame I can't read a single word on that site ;-) [02:09:37] it is chinese [02:14:29] when i import a long msword document into mw.the page was splited into many titles automaticly.how did it [02:16:25] i think there was no templates tech in use.so i wannt mannually create some titles of one page.how can i [02:45:39] Using the 'mwclient' Python library, how can I find the categories a particular revision of a page belongs to? (Presumably the equivalent of asking the API to use a revid instead of a Title to fetch the categories.) [02:55:41] 03dale * r50211 10/trunk/extensions/MetavidWiki/skins/ (4 files in 3 dirs): upload api updates [02:56:06] 03dale * r50212 10/branches/new-upload/phase3/ (7 files in 4 dirs): upload over http updates [03:11:47] 03shinjiman * r50213 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [03:19:04] jimt: recreating the categories of an oldid isn't terribly easy, the categorylinks table is populated only for current revisions [03:19:48] the only thing I can think of is to take the text of an oldid (prop=revisions&rvprop=content&revids=12345) and pass it to action=parse&title=title&text=foobarbaz [03:19:53] eg: http://en.wikipedia.org/w/api.php?action=parse&text=[[Category:Foo]] [03:20:01] [03:20:01] Foo [03:20:35] but this will only give you categories from templates for the latest version of those templates, not for the templates as they were during the oldid in question [03:21:04] so you can't accurately see what categories it was in, just what it would be if you reverted back to that oldid [03:21:52] Thanks. I am currently using the API to get the list of revisions of the page, and then scraping the catlinks from the HTML of each of the revisions. [03:22:05] I had not considered the revisions of the templates involved. [03:23:01] 03(mod) Strange font issued by Internet Explorer 8 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18679 (10kwj2772) [03:26:03] jimt: it could be that the wiki in question doesn't categorize by templates, but all the big wikis I've visited do to some degree [03:26:29] Ours does as well. Thanks for pointing that out. [03:27:03] I had been hoping to recreate the history of when particular categories were applied to pages. [03:27:35] ahh, well unless your templates change drastically this should work somewhat [03:27:55] as this will show you template additions/removal as well as categorylink additions/removal [03:29:17] Hmm, http://www.mediawiki.org/w/index.php?title=Talk:User_hub&curid=9779&diff=253285&oldid=249105 [03:29:20] *Emufarmers ponders [03:52:03] 03(mod)

tags in front of all parser functions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14607 +comment (10david.sledge) [04:22:09] {{#expr:{{{3|0}}}*0}} will always return 0, won't it ? [04:26:08] heh [04:26:17] no [04:26:55] {{#expr:{{{3|999 + 1}}}*0}} [04:27:54] {{#expr:({{{3|0}}})*0}} is more fool-proof, but you can still pass to it something like: {{foo|3=999) + (1}} [04:29:12] {{#expr:({{#expr:{{{3|999 + 1}}}}})*0}} will always return 0 [04:29:20] or rather {{#expr:({{#expr:{{{3|0}}}}})*0}} [04:29:40] harpette ^ [04:30:00] i'm trying to understand your replies [04:30:48] well, where the |0 was I put in an example of a default [04:31:28] doesn't the first one return 3rd parm times 0, where 3rd parm, by default, equals 0 ? [04:32:06] hmm sorry, i means defaults to 999+1 (1000) [04:32:35] no.. [04:32:49] it defaults to 999+1 which is then inserted into the formula at that place [04:32:56] 999+1 is not the same as 1000 in that case [04:33:04] ah, yes [04:33:13] hadn't noticed [04:34:22] *Splarka attempts to make a more cogent paradigm [04:35:52] http://p.defau.lt/?LiChSCFyyl9n1TkkNh7AlA [04:38:09] Splarka: thanks [04:40:32] Splarka: What happens if 3rd parm is a char string? [04:40:53] ...instead of a number [04:41:55] expression error [04:42:28] Expression error: Unrecognised word "z" [04:42:32] {{#expr:1+z}} [04:42:51] you can do something like: [04:43:00] {{#iferror:{{#expr:{{{3|0}}}}}|0}} [04:43:08] that will always return a valid expression [04:43:17] and stick that into your outer expr [04:43:22] {{#expr:{{#iferror:{{#expr:{{{3|0}}}}}|0}} * 0}} [04:43:38] isn't wikicode fun ^_^ [04:43:50] thank you [04:47:34] 03(mod) New logo for Ido Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18658 summary (10wyvernoid) [05:40:14] hi,all [05:40:54] how to make a table as a seprate section [05:48:28] can you make a certain type of log NOT show up in special:recent changes, but still show up in special:log ? [05:48:51] easily [05:49:58] it is possible anyway [05:50:25] CentralAuth does it with automated user creations (but manual creations still show in RC), and I believe the patrol log does too [05:51:12] so something has to be coded a certain to do it, its not like some magicall array you can just stick a couple log types in [05:52:47] o: Splarka, you're still up? [05:53:36] don't even bother to figure out my sleep schedule, I don't [05:53:54] (I don't bother figure it out that is, I do sleep, I think) [05:53:57] Soon I'll be able to go back to that [05:54:11] As it is, the fact that I can't sleep right now is bad :( [05:55:09] http://www.mediawiki.org/w/index.php?title=Extension_talk:AdSense&curid=15672&diff=253299&oldid=243090 Interesting. o,o [05:55:40] You'd think the huge yellow-and-red banner would discourage people from using that extension [05:55:45] Maybe it needs rainbow blinkies [05:57:01] cornify it [05:57:18] "If you use this extension you are automatically part of NAMBLA" [05:58:24] Also, Splarka, I think people really do think they're changing the settings for their wiki when they change those manual pages [05:58:41] heh, yah [05:58:44] I was thinking maybe we should have an AbuseFilter rule that kicks in for articles with $wg in the title [05:59:16] And at least gives them a big warning that it's not how you change your wiki's config [05:59:37] (or we could just protect the ones that get targeted most often) [05:59:42] (or we could just keep doing what we've been doing) [06:00:29] could do an editnotice with parser function [06:01:23] I think an AbuseFilter rule would be better [06:01:46] With an AbuseFilter rule, we can make it only hit anons and just-registered accounts [06:02:49] I'm not sure I like what you did for creating talk pages: now when I create other people's to leave them a message, I see the warning! [06:04:52] so user.css it [06:05:09] I've seen at least two people use that soft redirect since I created it though ^_^ [06:05:26] What is this css of which you speak [06:05:52] *Emufarmers makes a venn diagram like Splarka's showing his areas of expertise [06:06:04] sigh [06:06:25] sec [06:06:39] Er, I don't actually care that much o,o [06:06:45] I just think it would make more sense to have it as an AbuseFilter rule [06:07:09] well, the abusefilter is ex-post-do-it-o...thingy [06:07:18] http://www.mediawiki.org/w/index.php?diff=253303&oldid=243318 [06:07:47] oh, I put it in Newarticletext, right [06:08:20] True: people will have to go to the enormous effort of adding #redirect and saving before they see the message [06:08:46] or putting in "See my page on en.wp [06:09:09] Which wouldn't trigger the rule in the first place [06:10:04] except it should! [06:10:13] Why? [06:10:20] because, and for [06:10:23] hmmmmmm [06:10:27] *Splarka has vicious idea [06:10:33] *Splarka grins [06:10:43] "see my page on en.wp" doesn't seem worse than {{softredirect}} [06:10:44] uh oh [06:10:51] *Emufarmers takes shelter deep underground [06:11:44] Also I guess there's some aesthetic beauty or something in having all "see..." pages using a template [06:11:48] *although [06:12:12] muwahaha [06:12:20] {{REVISIONUSER}} [06:12:57] o: [06:13:01] *Emufarmers hides his women and children [06:13:34] {{#switch:{{NAMESPACE}}:{{BASEPAGENAME}} [06:13:34] |{{ns:2}}:{{REVISIONUSER}}|{{ns:3}}:{{REVISIONUSER}}= [06:13:59] Put that in emu terms [06:14:34] it is attempting to exploit a bug in {{REVISIONUSER}} whereby if no revision exists (always the case for Newarticletext), it shows YOUR name. [06:14:53] Aren't you afraid that bug might actually get fixed? [06:15:22] maybe in a few months [06:15:28] compare: [06:15:29] http://www.mediawiki.org/wiki/User:Splarka/foo?action=edit [06:15:31] http://www.mediawiki.org/wiki/User:Emufarmers/foo?action=edit [06:15:41] Awesome [06:15:53] Although it probably shouldn't apply to subpages either! [06:16:20] hmmm [06:16:29] well, I couldn't test it otherwise, since I have a user/talk page [06:16:32] but I guess I can guess at it [06:16:49] Can't you test whether it has / in it? [06:16:56] I guess that'd be: [06:16:56] {{#switch:{{NAMESPACE}}:{{PAGENAME}} [06:16:57] |{{ns:2}}:{{REVISIONUSER}}|{{ns:3}}:{{REVISIONUSER}}= [06:17:03] nope, can't do string functions ^_^ [06:17:12] well, can use padleft, but that is a horrible hack I hope gets fixed soon [06:17:23] ^ that will only work on user/usertalk [06:18:44] http://www.mediawiki.org/w/index.php?title=MediaWiki:Newarticletext&diff=next&oldid=253307 I thought it worked? [06:19:15] it does, that was my test though [06:19:17] ooh, I see [06:19:29] ahh, okay, here is a way to test it: [06:19:30] morning Splarka Splarka Splarka [06:19:33] http://www.mediawiki.org/wiki/User:Splarka?action=edit&editintro=MediaWiki:Newarticletext [06:19:34] http://www.mediawiki.org/wiki/User:Emufarmers?action=edit&editintro=MediaWiki:Newarticletext [06:19:43] Nikerabbit: you keep seeing more of me! [06:20:20] or my back hurts [06:20:41] "ow, my backspace" [06:24:26] Splarka, is there a bug open about revisionuser's "extra functionality," or is it just http://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575 ? [06:25:01] well, it isn't really a bug in revisionuser afaikt, because it can't really be fixed [06:25:10] otherwise subst:REVISIONUSER won't work [06:25:23] You spell "can" with a k? [06:25:24] it is more a bug in ExpandTemplates and CodeReview [06:25:56] ...and anywhere else you get wikicode parsing without a revision [06:26:10] perhaps it should just return a literal {{REVISIONUSER}} [06:26:22] or null [06:49:37] 03(mod) Ability to set block duration for abuse filters which issue blocks (ESP IPs) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18659 15enhancement->normal; summary; +comment (10bretthillebrand) [06:59:22] 03(WONTFIX) Windows PHP 5.2.6 precompiled binaries and Postgresql numeric version - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16937 major->normal; +comment (10karun) [07:04:42] <^David> should i use http://www.mediawiki.org/wiki/Extension:CASAuthentication or http://code.google.com/p/mediawiki-cas/? [07:04:46] <^David> any recommendations? [07:07:23] <^David> just wondering if anyone can hear me, cuz of this nickserv registration issue [07:07:33] i recommend the second one, since it uses authplugin [07:07:52] <^David> ok, thankyou, ill give it a shot :P [07:08:01] <^David> i just wasn't sure about the use of htaccess [07:08:12] <^David> compared to overriding login page [07:08:17] then again, it uses it in a somewhat bizarre way [07:08:20] <^David> is htaccess fine? [07:08:23] <^David> oh [07:09:03] i wonder what's so special about CAS that it can't work like every other single signon system [07:09:21] <^David> i'm not sure how secure the first option is, but for some reason it won't let me log out. or rather once I login once, then logout... if i try login again it automatically logs me in. if that makes any sense :P [07:09:42] <^David> until i delete the session cookie [07:11:17] <^David> do you think the htaccess is dodgy? [07:14:39] <^David> also, can ne1 help merge htaccess files? [07:15:31] <^David> http://rafb.net/p/sITnyy47.html [07:28:37] <^David> the htaccess is strange [07:28:51] <^David> /login/ doesnt exist... [07:30:10] hello [07:30:49] <^David> hi [07:33:47] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10frank.braun) [07:49:12] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10mxn) [07:56:31] http://www.mediawiki.org/w/index.php?title=Help:Extension:ParserFunctions&diff=253324&oldid=252529 wat? do we need a simple.mediawiki.org ? [08:01:28] lol [08:02:53] didn't know there was confusion [08:03:30] <^David> ... i need some help :P i'm struggling finding a CAS system for mediawiki. preferable with gateway option [08:03:48] <^David> the extension CASAuthentitation is making false logins [08:04:05] <^David> and http://code.google.com/p/mediawiki-cas/ [08:04:34] <^David> that uses AutoAuthenticate [08:04:59] <^David> and mediawiki-cas uses ldap...? [08:05:19] <^David> and when it creates a new user the top one doesn't send an email out. [08:39:16] 03(mod) Spam blacklist match should show error above edit box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9416 (10lastword) [09:00:50] 03(mod) New extension to enforce minimum password strength. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16435 (10tbertels+bugzilla) [09:02:32] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10yedidia) [09:05:23] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10roan.kattouw) [09:09:00] hm, anyone ever seen this one? [09:09:02] Warning: preg_match() expects parameter 2 to be string, array given in /kunden/91024_10999/wiki/w/includes/Exif.php on line 1065 [09:11:30] 03purodha * r50214 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount.i18n.php RequestAccount_body.php): Date/time separeted in message requestaccount-email-body [09:11:32] 2009-02-18 [23:16:10] ^demon: PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/w/includes/Exif.php on line 1084 [09:11:49] 2009-03-03 [08:40:11] Warning: preg_match() expects parameter 2 to be string, array given in /var/www/wiki/includes/Exif.php on line 1065 [09:11:58] something is passing an array to formatNum [09:12:16] could it possibly be malformed exif data? [09:13:20] hehe [09:13:21] [08:47:30] Witzman: dont have error reporting turned on so high [09:13:21] [08:48:08] http://www.mediawiki.org/wiki/Manual:$wgShowEXIF [09:13:21] [08:48:16] or try disabling it? [09:13:25] [08:56:05] it works - thanks [09:13:25] [08:56:41] but you're missing out on all the hot EXIF-rated action now [09:13:25] [08:57:19] *rimshot* [09:14:11] <^David> hello [09:14:19] <^David> can anyone help with some AuthPlugin stuff? [09:15:14] Duesentrieb: are you (or whoever's site you saw that on) using foreignapirepo ? [09:16:08] Duesentrieb: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=47473 apparently fixed the prob, are they on a revision higher than that? [09:16:10] Splarka: it's mine now, but i didn't set it up. will look. it's quite possible. it's wmde's internal wiki [09:16:28] no, this is 1.13.1. [09:16:31] i'll just upgrade. [09:16:37] thanks [09:16:41] oop, looks like it wasn't fixed until 1.15 [09:16:50] so you'd probably have to backport [09:17:02] ick. [09:17:22] do we have an alpha release yet? [09:17:25] 1.14 was branched in 47376 [09:17:39] hmm, not yet I think [09:17:47] right, branched but not tagged [09:17:53] 1.15 i mean [09:18:03] *Splarka nods [09:18:09] <^David> also, does mediawiki by default use autoconfirmed users? [09:18:15] you think i can just patch 47473? [09:18:32] dunno, php is the devil language! [09:18:33] ^David: depends on what you mean by "use" [09:18:38] hehe [09:18:54] <^David> i mean, will users be autoconfirmed, and on what conditions? [09:18:59] 47473 should be backported to 1.14 at least, and probably 1.13, if it hasn't been already [09:19:36] is there a bug report? [09:19:44] hmm [09:19:46] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/filerepo/ForeignAPIFile.php [09:19:56] looks like there were only two changes [09:20:36] ^David: i think per defrault all users count as autoconfirmed immediatly# [09:21:01] <^David> oh ok.... algud [09:21:41] rar RoanKattouw [09:22:33] RoanKattouw: it doesn't look like 47473 was backported to 1.14 branch yet, it probably should be for 1.14.1 no? [09:22:59] <^David> with AuthPlugin if canCreateAccounts is true, does it replace the normal account creation procedure? and if it returns false does it use mediawikis? [09:24:09] <^David> also, what does 'global' do in php - does it grab the global variables? [09:24:13] <^David> that you list [09:24:29] yes, that's what global does. [09:24:39] <^David> how do you set a 'global' variable then? [09:25:03] in global scope, or by importing it into the local scope using the global keyword. [09:25:16] global imports into the local scope. it doesn't copy [09:25:20] !rev 47473 [09:25:20] --mwbot-- http://www.mediawiki.org/wiki/Special:Code/MediaWiki/47473 [09:25:22] <^David> ah ok [09:25:49] not sure how canCreateAccounts works, sorry [09:25:50] Roan: it missed the 1.14 branching narrowly, and at least 3 people have reported problems with it [09:26:04] Splarka: Was the format change in 1.14 then? [09:26:15] Roan: no idea, I'mma askin you ^_^ [09:26:22] *RoanKattouw checks [09:26:28] the problem is of course, that commons uses trunk [09:26:45] <^David> ty neway [09:26:49] so as the api format changes on commons, not all the wikis that rely on it do at the same time [09:26:55] *sigh* [09:27:03] sucky eh [09:27:10] the easily solution is to not show exif data [09:27:18] Yeah, sucks, ForeignAPIRepo 1.14 is incompatible with API 1.15 :( [09:27:28] But the change in metadata formatting isn't in 1.14 either [09:27:34] <^David> i'm not sure about the workings behind AuthPlugin - when would getUserInstance ever be used? [09:27:45] <^David> http://svn.wikimedia.org/doc/classAuthPlugin.html [09:27:52] It seems senseless to put it in 1.14.1 if it's gonna be in 1.15 soon anyway [09:27:55] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [09:28:17] <^David> and what is the purpose of http://svn.wikimedia.org/doc/AuthPlugin_8php-source.html AuthPluginUser [09:29:17] !authplugin [09:29:17] --mwbot-- http://www.mediawiki.org/wiki/AuthPlugin [09:29:26] Roan: well, people do upgrade in increments too, heh [09:29:28] <^David> and... lol... when and what is $wgHooks['UserLoadFromSession'][] used [09:29:30] <^David> ty [09:29:37] *Splarka shrugs [09:29:58] ack, also it is 'fixme', sigh [09:30:05] maybe it won't even make it into 1.15! [09:30:16] $wgHooks['UserLoadFromSession'][] is the hook point for SUL [09:30:21] <^David> doesn't really help XD [09:30:32] <^David> erm [09:30:35] <^David> http://www.mediawiki.org/wiki/AuthPlugin that [09:30:52] Splarka: Brion's right, it looks broken [09:31:19] I'll fix it and backport [09:31:30] k [09:31:48] <^David> when would it be called? [09:31:57] any way to make it work with 1.14 and 1.15 versions of remote repos, and fail gracefully for future changes? heh [09:31:58] <^David> oh [09:32:02] <^David> when getting the current user? [09:32:04] <^David> XD [09:32:17] !hook UserLoadFromSession [09:32:17] --mwbot-- http://www.mediawiki.org/wiki/Manual:Hooks/UserLoadFromSession [09:34:24] <^David> yep got that. one thing i'm not sure of is if you called this code (http://rafb.net/p/gxuXhe35.html) from UserLoadFromSession - what would it even do? [09:35:00] global $cas; [09:35:02] What is that? [09:36:28] <^David> that is a ''This is the CAS UserAccount class'' [09:36:35] <^David> it doesnt extend anything or anything... [09:37:03] <^David> it has login/logout functions [09:37:17] <^David> and functions for getting lots of user info [09:37:37] Hmm I'd say it does nothing [09:37:47] <^David> yeah... [09:37:55] Because it does if($cas->isLoggedIn() && lots_of_stuff) { if(!$cas->isLoggedIn()) { do something } } [09:38:02] <^David> yeah [09:38:35] So unless that isLoggedIn() function has evil side effects and/or very weird semantics, you'll never get to that header() call [09:38:44] <^David> hehe [09:38:48] <^David> no clue what that code is about [09:38:58] Hi [09:39:23] *^David waves [09:40:20] <^David> if you have a class Example and a function inside called Example does it get run, like construct? [09:41:42] Anyone is a mysql master here ? I'm trying to emulate the "recent/oldest" changes with a SQL query. [09:42:08] I tried "SELECT page.page_title FROM page LEFT JOIN revision ON page.page_id=revision.rev_page WHERE revision.rev_timestamp >= ANY (SELECT rev_timestamp FROM revision) ORDER BY revision.rev_timestamp DESC LIMIT 10; " But this fails. [09:42:12] This lists all the pages. [09:42:24] <^David> even with limit 10? [09:42:49] seque1: Use the recentchanges table [09:42:52] My idea is to list the last unique revision from all pages and sort them. [09:43:27] And to get the latest rev of a page, use the page_latest field [09:43:59] RoanKattouw: hu, err, i'll see this thank you. [09:44:26] *seque1 tries [09:45:31] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10frank.braun) [09:48:01] 03(NEW) Uploading office 2007 files (docx, pptx etc) results in error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18684 blocker; Normal; MediaWiki: Uploading; (amit.ray1) [09:48:05] 03catrope * r50215 10/trunk/phase3/includes/filerepo/ForeignAPIFile.php: Fix up r47473: descend into subarrays in ForeignAPIFile::getMetadata() [09:49:35] Splarka: ----^^ [09:50:47] *Splarka gives roan cookies [09:50:58] Thank you it works. [09:51:00] Duesentrieb -^ [09:52:10] 03(mod) Uploading office 2007 files (docx, pptx etc) results in error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18684 (10amit.ray1) [09:52:12] Splarka: what'Äs that, a backport? ah no, it's trunk... [09:52:14] so what is it? [09:52:41] <^David> i'm reallly confused...... http://www.ja-sig.org/wiki/display/CASC/phpCAS+examples - how does the simple example check if the authentication didn't work?? [09:53:28] Duesentrieb: Roan will backport it to 1.15, maybe you can convince him to backport it to the 1.14 branch too ^_^ [09:53:43] I just tagged it as backportme for 1.15 [09:53:55] But then Tim's not around and he said he would be.... [09:53:59] ahh [09:54:03] no need for 1.14, i'll go for current live version [09:54:22] heh, k [09:54:24] um, upgrading extensions is a pain [09:54:28] If anyone understand spanish, I preffer speack spanish. [09:54:28] *RoanKattouw backports [09:54:33] (to 1.15 that is) [09:54:40] *Splarka grins [09:54:47] easier to ask for forgiveness than for permission! [09:54:57] or rather, easier to be reverted than to get someone else to do what you want [09:55:48] OTOH Tim asked me whether I'd be around tomorrow, as he was gonna review and backport some API revs [09:56:02] So I'll just wait for a while, it's still morning here anyway [09:56:16] Hello. If anyone understand spanish, I preffer speack spanish. Can anyone tell me if there is any "magicword" thar returns the name of the article (ej: namespace:article/subpagename/subsubpage -> article) [09:56:30] rizome: {{PAGENAME}} [09:57:02] hmm, that includes all subpage paths though too [09:57:07] Dammit [09:57:10] no.. :( PAGENAME will return article/subpagename/subsubpage [09:57:11] {{BASEPAGENAME}} then [09:57:13] if subpages are enabled you can use {{BASEPAGENAME}} [09:57:23] NewUserLog finally died and went into core? [09:57:27] but if subpages are not enabled for that namespace, you get the same as {{PAGENAME}} [09:57:33] Duesentrieb: yes [09:57:38] thank god. [09:57:53] {{BASEPAGENAME}} returns "article/subpagename/" not only "article" [09:58:12] you have two choices then [09:58:23] http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts: which requires the ParserFunction extension [09:58:39] or enable subpaging in that namespace: http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages [10:00:34] lets see... [10:00:45] spalarka sad... parser functions... [10:00:56] ths way? {{#titleparts: Talk:Foo/bar/baz/quok | 1}} [10:03:12] well [10:03:20] you'd want #titleparts:{{PAGENAME}} but yes [10:03:24] see for example: {{#titleparts:article/subpagename/subsubpage|1}} [10:03:33] ohhhh!!! great idea!! [10:03:39] thank you very much [10:03:53] no prob [10:03:55] http://en.wikipedia.org/wiki/Special:ExpandTemplates?input=%7B%7B%23titleparts%3Aarticle%2Fsubpagename%2Fsubsubpage%7C1%7D%7D [10:04:01] you made me very happy... [10:04:03] :) [10:04:31] is it just me or do the wiki shortcut keys (alt+f etc) no longer work on google chrome? [10:04:36] no problemo amigo, su ingles es mas bueno, de mi espanol [10:04:58] hippietrail: maybe they use different key combos? every browser seems to [10:05:23] yeah they use alt+ and the wiki code sets that... but it doesn't work. used to work though [10:06:03] firefox uses ctrl+shift+ and that still works for me [10:06:15] hmm... shift-escape in opera, ctrl-alt in safari win, ctrl- in konq and safari mac, alt-shift in FF2+, alt- in FF2- [10:06:47] (the problem is, these are configurable, so the list in wikibits is just making guesses, heh) [10:07:07] i dont know whether wikibits broke or google chrome changed [10:07:19] or something is wrong just on my system [10:07:45] well, the keys aren't set in wikibits [10:07:51] they used to be... long ago [10:08:05] all wikibits does is add a tooltip when it detects an accesskey [10:08:55] hippietrail: nothing changed? updated to a new beta perchance? [10:09:43] i have an installed one which gets updated automatically and a beta on a usb stick which doesnt get updated. accesskey on mediawiki now doesnt work on either [10:10:12] hm, SMW should hook into the generic upgrade process. [10:12:07] i just blew chrome up typing in about:config and then just about: [10:12:36] heh [10:14:10] wow 100% repeatable! [10:15:27] about:crash [10:15:41] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10yedidia) [10:20:17] hippietrail: also try about:internets [10:21:16] that does nothing for me [10:21:42] crashes when i hit back afterwards though [11:09:34] 03ialex * r50216 10/trunk/phase3/CREDITS: Per Simetrical's comment on r50192: update CREDITS file [11:30:33] Hello again. Does anyone know if exist a function (in MediaWiki) that converts "ISO 639-1 Code" into "name of the language" (ej: en->english; es->spanish) [11:31:13] it is to be used in wikipedia and other wikimedia projects, not to be configured in a personal server [11:31:20] there are templates that do that for a single language, or every language in its native name [11:31:26] ahh, then no [11:31:55] :( [11:31:57] there is a project to create an extension to do that for every language name in every language, but it isn't enabled on Wikimedia [11:32:19] What a pity! [11:33:06] there are a lot of gaps though, what is the Latin name for Klingon? ^_^ [11:33:36] Could at least work for the name in each language. [11:33:37] I'll have to wait. [11:34:10] if you just need the name of the language *in* that languages, mediawiki does have that [11:34:17] es->español ; en->english ; fr->Français [11:34:22] right [11:34:26] that's in Names.php [11:34:32] uhm... [11:34:45] and can I use it... in wikimedia projects? [11:34:47] {{#language:fr}} Angela Krumpen [11:34:49] huch [11:34:56] yah, that's been around since 1.7 [11:34:59] hehe :P [11:35:02] {{#language:fr}} ->Français [11:35:03] but you can't get like es->Spanish [11:35:37] Splarka is right. we need the CLDR extension [11:35:59] nah, just need {{#language:xx|SPEAKENGLISH}} that returns the english name [11:36:08] oh...it will be useful for me [11:36:08] *Splarka grins [11:37:11] yo made me happy again [11:37:13] :$ [11:37:33] ''I blush'' [11:38:40] heh [11:38:59] it doesn't really do that (the english name), you need to make a template to do that [11:39:09] but #language does return the name in its own language [11:40:54] rizome i have set up a project on the toolserver to provide metadata about languages which may do what you need [11:41:09] It could be better obtain the name in each languaje... but if it's not posible... [11:41:27] rizome: http://toolserver.org/~hippietrail/langmetadata.fcgi?fields=n [11:41:53] sitematrix provides each language name in its native spelling [11:41:58] (reading what hippietrail sent) [11:43:41] at the moment the language names are hard-coded. i'm working on automatically extracting them from the english wiktionary which has templates for most ISO language codes: en.wiktionary.org/wiki/Template:eo [11:44:10] hippietrail: same thing that #language does? [11:44:18] i don't know #language [11:45:08] http://en.wikipedia.org/wiki/Special:ExpandTemplates?input=%7B%7B%23language:fr%7D%7D%20%7B%7B%23language:de%7D%7D%20%7B%7B%23language:en%7D%7D%20%7B%7B%23language:zh%7D%7D%20%7B%7B%23language:ja%7D%7D%20%7B%7B%23language:es%7D%7D [11:46:26] what hippietrail sent... returns the language name in english... isn't it? [11:46:39] looks like #language gets its data from sitematrax or they both use the same source. probably the latter since its also in the interwiki links which only show the native language names [11:47:42] rizome: it returns various metadata. you can pass in langs=fr,de,eo for instance or fields=sc,g for the ISO script code(s) and noun genders. the n field is for English name(s) [11:48:58] i could extended it to provide all combinations of language name x in language y if i had a data source [11:48:59] hippietrail: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php [11:49:28] Although it can not be used directly in the wikimedia projects. [11:49:35] everything language related happens from those codes, basically... if you define an interwiki link with one of those prefixes it is automatically assumed to be an interlang link [11:50:39] what do these mean in the chinese entries at the bottom? \xE2\x80\xAA [11:51:31] in enwikt we are just running into a problem because zh for interwikis means mandarin but for iso it means chinese whereas cmn means mandarin [11:52:19] is the php file maintained manually or automatically generated from some data source? [11:52:33] (such as iso, ethnologue, sil etc) [11:53:28] hippietrail: "chinese" is not a language. \xE2\x80\xAA is UTF-8 for Unicode 0202A, which is ‪"Left-to-right Embedding" [11:53:53] hmm there seem to be entries here which are not in sitematrix or iso such as de-formal [11:54:01] hippietrail: this is used to embed european-style LTR text in arabic/hebrew RTL text [11:54:35] hippietrail: not all interface languages exist as content languages for wikimedia wikis [11:54:44] and some codes are indeed invented :) [11:55:02] *hippietrail does not take the "chinese is not a language" bait: http://en.wiktionary.org/wiki/Wiktionary:Beer_parlour#Recurring_problem_with_Chinese_vs._Mandarin [11:55:04] de-format uses the formal address [11:55:40] as for maintained... see http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php?view=annotate [11:55:45] why do the chinese ltr language names need such codes whereas all the other ltr languages codes do not? [11:55:53] you can see the last svn revision for each line [11:56:28] for example 76 : raymond 29748 'de-formal' => 'Deutsch (Sie-Form)', # German - formal address ("Sie") -> http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29748 [11:57:10] hippietrail: wikipedia sais: Spoken Chinese comprises many regional varieties, the primary ones being Mandarin, Wu, Yue, and Min. These are not mutually intelligible, but for sociological and political reasons are considered a single Chinese language. [11:58:16] hippietrail: mediawiki knows 12 varieties :) [11:58:19] so it is hand maintained. i have read many articles and wiki pages and a book or two on chinese languages and dialects. it's complicated and everybody has their opinion based on various factors [11:58:53] yea... and the issue is different for written and spoken language... [11:58:55] oh, well :) [11:59:25] even with the iso language code standard there still isnt really a standard and there are lots of extensions [11:59:59] and the distinction between a language and a dialect is mostly political [12:00:05] a language is a dialect with an army [12:01:31] here is some of my ongoing analysis in to how language codes are used misused abused and extended on various projects: http://pastebin.com/m34dc7717 [12:02:51] iso language codes are largely determined by ethnologue these days who are usually splitters giving lots of language codes to what the ordinary man regards dialects. but in some cases as with norman and channel islands french they are lumpers and put everything under fr [12:04:22] there is some cruft in that pastebin due to a source i was given that is mostly the same as sitematrix but has also oddball wikis with non language prefixes [12:13:45] where is #language documented? [12:14:30] http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous [12:14:50] if you call one line 'documentation', heh [12:16:20] hmm very vague. doesnt say whether its supposed to be iso or reflect wikimedia project prefixes. and by looking at it its actually a third flavour [12:16:41] includes/parser/CoreParserFunctions.php -> static function language( $parser, $arg = '' ) { global $wgContLang; $lang = $wgContLang->getLanguageName( strtolower( $arg ) ); return $lang != '' ? $lang : $arg;} [12:16:55] hippietrail: it simply splits out what is in Names.php [12:16:59] ^spits [12:18:10] yes so i see and what is in names.php doesnt necessarily match iso or wikimedia [12:18:44] so only the people who have edited names.php are getting exactly what they expect [12:19:25] it does what it does, heh [12:20:10] so what produces the native language names we see for interwiki links? [12:21:05] whatcha mean? [12:22:00] *Splarka finally tracks it down: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=14490 [12:24:31] yes names.php is where the interwiki links get the text for their labels from [12:24:55] ahh 'interlang', yah, same as #language outputs [12:26:36] which is not the same set of codes used for wiki prefixes: http://noc.wikimedia.org/conf/all.dblist [12:27:37] yes yes, you do go on about that ^_^ [12:27:38] most are the same, but not all. the domains are an even worse hotchpotch [12:28:23] sometimes a dictionary tries to quantify language too much... [12:29:01] so what is #language used for? which flavour are people expecting? [12:29:31] there probably isnt a mapping between the two anywhere either [12:29:57] eh well...they're expecting the same thing the interlang links do, which is what it does, since they both directly use names.php, probably [12:30:50] https://bugzilla.wikimedia.org/show_bug.cgi?id=3926 "This would allow to build [12:30:50] categories for wiktionaries by language codes." [12:35:00] no i was wrong. these codes are in names.php but do not produce interwiki links: ace, aln, arn, avk, bcc, be-tarask, bqi, bto, ckb, ckb-latn, ckb-arab, crh-latn, crh-cyrl, de-at, de-ch, de-formal, en, en-gb, frc, gag, gan-hans, gan-hant, grc, gsw, hif-deva, hif-latn, hil, ike-cans, ike-latn, inh, jut, kk-arab, kk-cyrl, kk-latn, kk-cn, kk-kz, kk-tr, kri, krj, ku-latn, ku-arab, lez, lfn, lld,... [12:35:02] ...loz, lzh, lzz, mai, mhr, mwl, niu, nso, pdt, pfl, plm, pnb, pt-br, rif, ruq, ruq-cyrl, ruq-grek, ruq-latn, sdc, sei, shi, sma, sr-ec, sr-el, tcy, tg-cyrl, tg-latn [12:36:33] no projects for 'em yet, so no need to register them as interwikis yet, heh [12:37:12] i wonder if there are interwikis then that are not in names.php [12:37:19] interlang links are simply interwiki links that match codes in Names.php [12:37:45] if you start a brand new wiki and create two interwiki links, one 'foobar' and one 'fr', the latter will be an interlang [12:39:19] that system is sooo scary. [12:39:19] *Splarka wonders what hippietrail's question is exactly [12:39:23] and it feels so wrong. [12:39:33] there are lots, actually, like w: wikt: meta: m: google: etc [12:39:39] Splarka: i think you answered is, but hippietrail didn't notice yet :) [12:39:50] not a question just the same scary wrong feeling as Duesentrieb i guess [12:40:27] it would be much nicer to simply have a flag in the interwiki table and be done with it. [12:40:31] if you don't wanna confuse us, say 'interlang' or 'language links' or 'langlinks', to most normal people outside a wiktionary interwiki is a superset of inline and 'in other languages' [12:40:32] but noooo.... [12:40:45] Duesentrieb: agreed [12:40:54] I smell schema change bug ^_^ [12:41:08] hippietrail: there is an exception of course, $wgExtraLanguageNames [12:41:20] ah on enwikt i think we call those interwiki links [12:41:22] and a big compatibility break. or... well, not really. the new fields could easily be populated by the updater [12:41:24] you can define more language codes (or more codes that will get interpreted as interlang links rather than interwiki) [12:41:54] hippietrail: internal and external naming conventions disagree, heh [12:42:04] http://meta.wikimedia.org/wiki/Interwiki_map [12:42:13] hippietrail: the terms get confused a lot. especially it's unclear if "interwiki" includes language-links or not. [12:42:37] I'd call them a subset, interlang are interwiki, but not all interwiki are interlang [12:42:49] it gets more confusing too, what do you call [[:fr:foo]] ? [12:42:52] to me, interwiki-links includes language-links, but "proper" interwiki-links (aka "sister links") don't. [12:43:08] yes names.php is a subet of the interwiki prefixes but also has different codes for some such as nan for zh-min-nan [12:43:41] i wonder how that is resolved in order to generate links the right way... [12:43:43] it was worse too, I specifically asked for language="" in meta=siteinfo&siprop=interwikimap because it was very hard to predict [12:43:46] i think there are aliases defined somewhere [12:43:47] ick [12:44:10] nan.wikipedia redirects to zh-min-nan.wikipedia it seems [12:44:10] mmm, lingo headaches [12:44:24] *Splarka still curses the lack of an interwiki link table [12:44:42] i won't still understand this in the morning [12:44:45] (should just register them as external links and be done with it) [12:45:01] ((though the spam blacklist would probably puke)) [12:48:39] aloha [12:51:01] is there a way to slurp images from one instance of mediawiki to the other? [12:51:22] need an anwser 'cause i'm just to lazy to look it up myself ... is there a way and if it is, how can i output raw data on a custom specialPage ? [12:58:20] ping reply timeout .... :D [13:00:15] Evolution: /maintenance/importImages.php might do what you want sorta? [13:02:39] Splarka: hmm, interesting. I'll check that out [13:02:41] thanks. [13:04:22] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10heldergeovane) [13:12:23] i makes too many changes to DB schema ... i honestly didn't have the guts to post a patch for that class [13:12:30] 03tstarling * r50217 10/branches/REL1_15/phase3/ (8 files in 4 dirs): [13:12:30] API backports: [13:12:30] * r49954 (without formatting and doc changes): fix continue parameter in generator=backlinks [13:12:30] * r49956: fix exception [13:12:30] * r50041: use xml:space="preserve" [13:17:19] TimStarling: About r49999 (deletedrevs paging): the 'revs' mode (list deleted revs for a specific set of titles) should page by (ns, title, timestamp), but instead it sorted by (title, timestamp) and continued based on timestamp. Obviously, continuing by something different than the sort order breaks (skips revs, causes filesorts) [13:17:33] Well maybe not filesorts, but inefficient WHEREs at least [13:19:40] it would do a table scan, because there's no index on the title [13:19:47] thanks [13:20:36] And as for the other rev: yeah 'API' is too generic for a constant name, I'll change it to MW_API [13:21:45] Is that an OK name [13:21:47] ? [13:21:51] yes, I'll backport it when you're done, we log a lot of those null $wgTitle errors [13:23:03] 03catrope * r50218 10/trunk/phase3/api.php: Followup to r50132: rename API define constant to MW_API, per comment on CR [13:23:22] 03catrope * r50219 10/trunk/extensions/ConfirmEdit/ConfirmEdit_body.php: ConfirmEdit changes for r50218 [13:24:16] There you go [13:26:23] but there's still that wiki_id calll that has to be done as DB connects [13:26:33] damn ... wrong window again [13:38:53] 03(mod) Search all languages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1837 (10petr.castek) [13:39:09] hi [13:53:44] k ... will do ... 10x for the time ... if you're ever in Slovenia, drinks 'r on me :D [13:53:51] :D wrong win AGAIN! [13:54:03] you've got to get a better IRC client [13:54:24] no ... i just havent used this Bitch for a loooooooooooooooooooooooooooooooong time [13:55:07] 03(mod) Alias of 'Wikipedia' namespace in Chinese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17701 (10rhalsell) [13:55:17] actually ... havent been on IRC in general for a long time ... [13:59:01] 03(FIXED) Activate Extension:Collections on nowiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18618 +comment (10rhalsell) [14:03:43] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [14:08:13] 03tstarling * r50220 10/branches/REL1_15/phase3/ (7 files in 4 dirs): [14:08:13] API backports: [14:08:13] * r49999: avoid table scan and general breakage on list=deletedrevs continue [14:08:13] * r50132/r50134/r50218: Define $wgTitle, to avoid various fatal errors and exceptions [14:12:25] 03catrope * r50221 10/branches/REL1_15/extensions/ConfirmEdit/ (. ConfirmEdit_body.php): ConfirmEdit: Backport r50133 and r50219 [14:18:40] 03tstarling * r50222 10/branches/REL1_15/phase3/ (6 files in 5 dirs): [14:18:40] Backports: [14:18:40] * r50054: fixed Special:Export link depth feature, was broken from the outset [14:18:40] * r50215: fix ForeignAPIFile breakage due to API change [14:19:07] Splarka: ----^^ [14:19:35] *Splarka rubs tentacles together in glee [14:20:20] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/tag/backportme [14:20:24] Tim: possibly worth backporting to 1.14 branch for 1.14.1 ? there is also a null title error in that branch awaiting a new release [14:20:28] Whee [14:20:50] (backporting the foreignapifile breakage that is) [14:20:52] There's quite a few things in REL1_14 IIRC [14:21:16] I'm not intending on releasing it at this time [14:21:28] But I don't see the use doing a 1.14.1 bugfix release if we're doing a 1.15.0 release soon anywy [14:21:39] the quarter is up isn't it? [14:21:46] time for a major release [14:24:13] 03tstarling * r50223 10/trunk/phase3/ (HISTORY RELEASE-NOTES): Moved backported RELEASE-NOTES items to HISTORY. [14:24:54] is there a reasonable changelog for 1.14 to what 1.15 will look like? [14:25:38] Evolution: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_15/phase3/RELEASE-NOTES?view=markup [14:26:45] RoanKattouw: awesome. thanks. [14:26:48] TimStarling: lol @ "* Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php" --> I plan on having killed that hook before 1.16 [14:29:08] 03(mod) lighttpd + sqlite installation failure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17611 +comment (10tstarling) [14:30:27] 03catrope * r50224 10/trunk/phase3/ (HISTORY RELEASE-NOTES): Fix up r50223: moving a wrongly-moved entry back from HISTORY to RELEASE-NOTES [14:31:12] *Simetrical goes down for upgrade to 9.04 [14:31:15] *Simetrical starts stopwatch [14:34:13] is there a way to globally disable the discussion/talk pages? [14:34:48] or a way to permission them so they're not visible to everyone but sysops? [14:35:11] Still getting this error, even after recursively changing the permissions on the wiki/ directory to 777. Warning: mkdir() [function.mkdir]: Permission denied in /Library/WebServer/Documents/wiki/includes/GlobalFunctions.php on line 1943 - The upload directory (public) is missing and could not be created by the webserver. [14:35:18] Any suggestions? [14:35:53] CheechInNYC: hosted server or your own? [14:36:19] CheechInNYC: could be some system calls in php are disabled [14:36:24] also, linux or winders? [14:36:45] CheechInNYC: Did you configure the upload directory correctly? [14:36:50] *RoanKattouw wonders which $wg that was again [14:37:01] Evolution: Looks like MacOS to me [14:37:31] RoanKattouw: ah, yes. I wasn't looking at the full path. /Library would indeed be mac. [14:37:47] Correctly? I followed the instructions on the on the media wiki site... [14:37:52] CheechInNYC: What's $wgUploadDirectory set to? [14:38:04] Checking now. [14:39:18] $wgUploadDirectory = "$ip/images"; [14:39:37] *Shinjiman kicks CIA-15 [14:39:38] ow [14:41:10] RoanKattouw does that look correct? [14:41:31] no [14:41:36] CheechInNYC: No, looks wrong, use $IP [14:41:39] variable names are case-sensitive [14:41:46] Ahh..... ok.. thanks.. [14:42:50] Thank you soooo much guys!!! you're my heros! [14:43:52] http://www.mediawiki.org/wiki/Extension_talk:CategoryTree#mediawiki_1.14.0_upgrade_and_can.27t_get_past_first_level_of_the_hierarchy Is categorytree broken? [14:44:03] http://it.wikipedia.org/w/index.php?title=Speciale%3ACategoryTree&target=Enciclopedia&mode=all&dotree=Vai [14:44:18] Probably [14:44:36] no + symbol over the second level [14:44:42] *freakolowsky is on FIRE .... literaly ... lighter fluid - 5$, filling zippo - free, test run with lighter fluid on hand - PRICELESS [14:44:46] Yup, I see it [14:48:33] Okay, wow, dual-head is borked. [14:50:21] can somone tell me where are flags that can be passed to DB constructor defined? [14:50:54] includes/Defines.php probably [14:51:02] k10x [14:54:22] is it a bug that "nomcom" shows up in the regular language projects rather than the "other projects" on sitematrix? [14:55:05] yes; I think there's a bug open for that [14:56:15] bug 16077 [14:59:28] Quick easy question: Where can I change what appears on the navigation side bar? I've been going through the documentation but can't seem to find any info on it. Thanks! [14:59:41] !sidebar [14:59:41] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [14:59:50] <3 Splarka [15:01:05] *Reedy suggests mwbot > Splarka [15:01:07] xD [15:01:29] I guess he didnt agree [15:01:37] *RoanKattouw imagines what Splarka's rendering of !botnoob would be [15:02:19] does anyone understand r48837? [15:02:32] Following the MW install, ~30MB core files appear in the MW directory (/wiki) four or five times per day... I just delete them, but its kind of a pain. Is it something easy to fix for, say, an idiot? ;p [15:03:10] is it a shared web host? [15:03:15] RoanKattouw: http://toolserver.org/~amidaniel/chanlogs/Splarka/20080731.txt [15:03:23] Avruch_: try to upgrade php [15:03:42] TimStarling: Yep [15:04:02] complain to them then [15:04:04] Splarka: heh [15:04:05] their php install is broken [15:04:25] not much point dumping core files for a shared web host user, is there? [15:04:34] they should just disable core dumps [15:05:01] TimStarling: well, he could mail them to their service address :) [15:05:40] is that something fairly straightforward to do? I've spoken to them about this before, and they didn't have a fix [15:05:58] heh, I understand it was the bug I accidentally tried {{REVISIONUSER}} on-> http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48837#c2257 ... I thought I was on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48149 [15:06:10] Avruch_: do you know which process generates them? are they called "apache.core" or something? what does "file corefil" say? [15:06:44] they are "core.23423" (haven't actually looked at them, just been deleting them) [15:06:50] who needs bugzilla when we have splarka [15:06:56] Avruch_: do you have shell access? [15:06:59] is anyone using Word2MediaWikiPlus? on 1.14? [15:07:15] the site http://www.mediawiki.org/wiki/Extension:Word2MediaWikiPlus seems to only list older versions [15:07:18] Evolution: nope, we use emacs [15:07:22] Avruch_: a core dump means a process crashed. that in turn indicates a bug in the program. a core dump can not be caused by a sceipting language like php. so it's either in the php interpreter itself, a php module, or apache. [15:07:42] Avruch_: i.e. they have a bad version and need to fix it. if they don't, go somwhere else. [15:07:46] saper: I'm thinking more of users, not competent people ;-) [15:08:09] Evolution: i think the best solution is using the Word macro for this, not a mediawiki extension [15:08:12] saper: Nope [15:08:16] there are several, look on wikipedia [15:08:22] Evolution: well you asked on a channel full of competent people :) [15:08:38] saper: I know. I was hoping some of you thought of users too ;-) [15:08:47] Duesentrieb: Alright, thanks, I'll take that to them and see what happens [15:08:52] Duesentrieb: thanks for the pointer. any recommendations for one in particular? [15:08:52] Avruch_: well I think if the webhost support does not help you it's time to change [15:09:00] Evolution: nope, i don't use word :) [15:09:07] fair enough [15:09:50] Evolution: there is a mediawiki text export facility in openoffice.org, it's neat [15:12:06] is there a list of all variables that can be used on AbuseFilter? [15:18:00] werdna ^^ ? [15:26:54] Merlissimo: they're probably all in the dropdown, or check the extension page (which is probably a bit out of date) [15:28:37] my admin status on testwiki is gone so if have no wiki where i can test, and therefore no dropdown. on extension page i have not found this info [15:29:34] But if you don't have access to the interface anywhere at all, then why do you need to know? [15:30:41] because i am one if the persons on dewiki who are always asked if something is possible [15:31:48] and i wont always ask raymond ;-) [15:37:39] Merlissimo: http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=view&group=ext-abusefilter&language=de&limit=1000 is up-to-date. [15:38:27] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [15:39:05] Raymond_ but thats are not the variables that can be used in a rule [15:49:53] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 +comment (10roan.kattouw) [15:50:47] RoanKattouw, I suggest you don't bite. Dscho doesn't seem to want to engage in anything productive at this point. [15:50:54] Better not to spam the bug. [15:51:49] I figured a post with a name different from "Aryeh Gregor" might calm him down ;) and a post specifically asking him whether he's implying that the DoS vector is no longer an issue (and why) doubly so [15:51:58] Yeah, maybe. [15:52:12] Bugzilla really needs a "move to peanut gallery" function to deal with spam. [15:52:33] Maybe a "mark as irrelevant" button or something, that would color it differently or offer to hide it so people can easily skip over it if they like. [15:53:19] I thought about writing a patch, but it was written in Perl, hosted with CVS, and I couldn't get the test cases to run, so I gave up. [15:53:38] 03(FIXED) Oracle Single Schema database abstraction - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18492 +comment (10freak) [15:54:21] A patch to fix the DoS vector in LP you mean? [15:54:57] No, for Bugzilla. [15:55:06] Oh :P [15:55:09] At least that's a web app, I would probably have a decent chance of understanding it. [15:59:50] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [16:03:46] How many times do I have to say that it's not my problem and I can't even read sheet music . . . ? [16:03:53] *Simetrical will refrain from responding to Dscho, personally [16:13:52] Hmm, xchat is using 30% CPU continuously. That's not reasonable. [16:13:56] *Simetrical needs to switch to irssi [16:14:58] nuffadis .... going for a 5km run ... [16:18:53] for image manipulation, it seems apache on linux wants a shell (bash) to execute the ImageMagick bits. [16:19:16] unless ImageMagick is turned off via $wgUseImageMagick [16:19:24] what does it use if this is disabled? gd? [16:19:53] can it use the php-magickwand module to talk use ImageMagick instead? [16:20:16] with wikitext, how do you get a "pre"-block to be nested underneath an ordered or unordered list? [16:22:02] html lists, or fit the pre on one line [16:23:50] even if the pre-block is one line, the next ordered list is reset: http://pastie.org/468843 [16:24:33] ah, n/m. i need "#:" before each "

"
[16:24:55] 	see https://bugzilla.wikimedia.org/show_bug.cgi?id=9342 and https://bugzilla.wikimedia.org/show_bug.cgi?id=13223
[16:25:51] 	well, I meant, fit everything in each 
  • on one line [16:26:04] # Replace this:
    foo
    [16:26:04] # with this:
    bar
    [16:28:08] but if i have a multi-line "pre" tag, i need to use
  • ? [16:29:26] pretty much [16:29:45] wtf [16:30:14] Splarka: does that mean that every item in the list must be defined with
  • ? or can i mix and match "#" and "
  • "? [16:30:34] every, and you need to use ol/ul of course too [16:30:40] yup [16:30:41] thanks [16:30:50] sucky but that's wikicode for ya [16:31:21] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10heldergeovane) [16:35:51] another quick question regarding lists: http://pastie.org/468854 [16:39:02] nick_h[litage]: a space at the beginning of a line indicates a pre block [16:39:05] so, no indention [16:39:16] Splarka: ah, i didn't know that [16:39:22] (that is one of the weirder aspects of wikicode which I could never figure out the reason beind) [16:39:31] so are the "
    " and "
    " tags superfluous? [16:39:48] no, they do different things [16:39:54] Splarka, I think the idea is maybe that if you paste some source code with indentation, it will Just Work. [16:40:02] Except a space will be eaten off the beginning. [16:40:05] a space-pre is parsed wikicode, the
     block is not
    [16:40:08] 	And it only works if you use spaces for indentation.
    [16:40:18] 	ah, makes sense
    [16:40:32] 	Simetrical: would make sense if it wasn't parsed, sorta, maybe
    [16:40:40] 	though 
     used to behave the same way
    [16:40:58] 	was it 1.5 you needed 
    ? been so long [16:41:35] so...on the line after an
      , should there be no spaces before an
    1. ? [16:42:24] well, you can have spaces before html tags IIRC... [16:42:38] hah, this is so convoluted [16:42:45] http://p.defau.lt/?YB1o_Rw6GpvV715nZm3tSQ [16:42:59] well, you have odd requirements not usually needed in an encyclopedia, heh [16:43:00] yeah, that's what i ended up doing [16:43:11] i wouldn't consider that to be odd [16:43:26] !hook userCan | Nikerabbit [16:43:26] --mwbot-- Nikerabbit: http://www.mediawiki.org/wiki/Manual:Hooks/userCan [16:51:11] how does one create user groups in mediawiki? the $wgAddGroups page -> http://www.mediawiki.org/wiki/Manual:$wgAddGroups isn't overly clear to me [16:52:37] !access | Evolution [16:52:37] --mwbot-- Evolution: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [16:55:21] werdna: thanks. I'm reading that, but it doesn't mention creating groups in there anywhere. just setting permissions for groups. [16:55:37] or am I missing something? [16:57:10] give a group some rights and it will exist [16:58:51] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [16:59:31] *Simetrical needs to get Tim and/or Brion to respond to https://bugzilla.wikimedia.org/show_bug.cgi?id=189#c81 [17:06:04] Splarka: gotcha. easy enough, thanks. [17:06:50] 03(FIXED) Change AbuseFilter rights on Russian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17998 (10AlexSm) [17:16:26] Hello again. I'm creating a new template in mediawiki.org: http://www.mediawiki.org/wiki/Template:Translating [17:16:28] I need to pass {{{vars}}} to the template with the URI. Is it possible? [17:16:29] This way, the template could be translated, and keep the variables between diferent translations (my actual version, can't do it). [17:17:35] Here is the template working: http://www.mediawiki.org/wiki/Extension:ParserFunctions/Help/es [17:17:37] and here is where the problem is shown. [17:21:06] 03dale * r50227 10/branches/new-upload/phase3/includes/ (HttpFunctions.php api/ApiUpload.php): [17:21:06] improved http copy handling. [17:21:06] * progress updates and error handling [17:22:11] 03dale * r50228 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (libAddMedia/mvUploader.js mv_embed.js): upload api updates [17:23:07] 03(mod) Install DynamicPageList on Incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11112 +comment (10Abigor) [17:26:33] eg: Template: "My name is {{{name}}}" [17:26:34] I need to acces the template with this link: "[[Template|name=Charles]]" [17:26:36] (or something like this [http://www.wikimedia.org/wiki/Template:Template&name=Charles]) [17:33:36] I just upgraded from 1.5 to 1.14. I installed the new wiki in a wiki-1.14 directory and the old wiki was in a wiki-1.5 directory. I had a symbolic link from wiki-1.5 to wiki, and I changed that so that wiki-1.14 is now linked to wiki, but it seems that the actual data of my wiki is riddled with direct links to wiki-1.5 so lots of pages are broken, particularlly special pages. How can I globally changes the wiki-1.5 references to just "wiki"? [17:34:51] dagnabbit! I dropped right after asking my question. I am back now. [17:35:40] rizome: Use {{template|param}} instead of [[ [17:35:42] 03(NEW) Rename image to file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18685 enhancement; Normal; MediaWiki: API; (Eugene.Zelenko) [17:40:16] RoanKattow: I need to push a link, and go to a page where it was shown {{template|param}}. I need a template that shows [[english]] - [[Spanish]], and the translated page, must capture the {{vars}} used in the original. [17:41:18] rizome: You mean something like {{template|[[link]]}} ? [17:41:52] Read back just now [17:41:58] What you want to do is not possible [17:42:10] And doesn't make a lot of sense [17:42:29] im writeing an example in mediawiki. In only a 2 minits it will be ready. [17:43:43] did my long question come through? Or did I drop connection before it sent? [17:45:35] Galbinus_Caeli: It came through [17:46:03] Galbinus_Caeli: Change $wgArticlePath and all other references to wiki-1.5 in LocalSettings.php [17:46:19] Ah! Thanks, let me look there [17:46:36] does SpecialPreferences.php no longer exist? [17:46:52] Extension:IRC_Chat tries to patch includes/SpecialPreferences.php, but I don't see it in svn? [17:47:51] oh nevermind, it's just been relocated i guess to specials/. It does make the Special filename prefix a bit redundant dontcha' think? [17:48:15] heh, they were all renamed to not have the prefix, brion didn't like that [17:48:37] Brion wanted the filename to reflect the classname, and to not have duplicates for e.g. Export.php [17:48:42] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36481 [17:49:00] I only found it only $wgScriptPath. Lets see if that does it. [17:50:15] That looks much better! [17:50:25] i see [17:51:37] Warning: include_once(extensions/SpecialDeleteOldRevisions.php) [function.include-once]: failed to open stream: Permission denied in /com/flyingcartelevision.com/www/mediawiki-1.14.0/LocalSettings.php on line 132 [17:51:39] oops [17:51:44] I meant to look at that myself [17:51:50] not paste it here [17:53:48] RoanKattown: this is the example: http://www.mediawiki.org/wiki/User:Rizome/sandbox [17:54:37] 03(WONTFIX) Rename image to file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18685 +comment (10roan.kattouw) [17:57:18] I had the wrong permissions for HTMLForm.php, in case anyone was wondering. [17:59:02] Another question. How do I change the password for a user? Or just reset it so the user can get in and change it? [17:59:12] rizome: Use {{FULLPAGENAME}} instead of {{{url}}}, and it should automagically work [18:01:48] {{{url}}} is only a variable in the example... in the real template, there is others variables {{{from_language}}}, {{{to_language}}}, {{{link}}} and {{{ci}}}, wich can't have "a magic worlld" [18:02:02] And how do I block anyone who is not a member of a certain group from editing pages? [18:02:12] This is the real case, wich much more variables: http://www.mediawiki.org/wiki/Template:Translating [18:02:23] !protect | Galbinus_Caeli [18:02:23] --mwbot-- Galbinus_Caeli: You can protect pages to prevent them from being edited by certain user groups. When a page is deleted its' protection is retained. Also you can protect nonexistant pages since 1.12. See [18:03:04] rizome: I'm sorry, but what you're trying to achieve won't work for anything except the page name [18:03:32] thanks [18:04:22] imposible to send variables in the URI? what a pitty! [18:04:24] thank you very much [18:09:15] when inheriting from the AuthPlugin class, is setPassword() supposed to set the local MW password, or the password in the external authentication system?: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/AuthPlugin.php?view=markup [18:18:30] RoanKattouw: I found a "special page" that makes something like i'm looking for: [18:18:32] http://www.mediawiki.org/wiki/Special:ExpandTemplates?input={{User:Rizome/sandbox/template/es|from_lang=spanish|to_lang=english}} [18:18:33] With this page we can send variables in the URI... [18:18:35] Is there another page like that, wich only shown the preview, not the first two sections? [18:19:23] No, using Special:Expandtemplates isn't gonna work here I think [18:23:30] May I ask if someone would mind checking my new security? An unregistered user should be able to do nothing but read and create a login. A regular user should not be able to create, modify, or move a page. [18:23:35] The url is http://www.flyingcartelevision.com/mediawiki-1.14.0/index.php?title=Main_Page [18:24:09] So basically regular users have no more rights than anonymous users do? [18:24:38] Yup [18:24:39] I can't edit anonymously at least [18:24:44] Good [18:25:01] My host got rather annoyed with me for being spam bombed. [18:25:48] Looks fine, even when logged in [18:25:54] The action you have requested is limited to users in the group: editors. [18:26:11] That is the intention [18:27:05] Seems to work [18:27:30] Thank you. [18:30:50] anonymous users still have their human rights! [18:33:30] Galbinus_Caeli: how did you set that up? [18:33:31] only after they've passed the turing test [18:33:39] I'd like to do something very similar. [18:33:45] RoanKattouw: I wrote again my example, but using "Special pages". It looks like okay, but on the two first section (preview section is what I need) [18:33:47] http://www.mediawiki.org/wiki/User:Rizome/sandbox [18:34:42] Unfortunately, you can't hide those first two sections [18:35:21] and rewrite another "special page" with my requirements? is this possible? [18:36:47] it could be very useful to translate much templates [18:37:07] You want a link to the translated version, right? [18:37:22] Why not but the translation for [[Foo]] in [[Foo/es]] and link there? [18:37:45] yes (but using the used {{{vars}}}) [18:38:05] because Foo/es is an static page [18:38:56] I'm trying to find the way to pass {{{vars}}} between [[foo]] and [[foo/es]] [18:41:32] Evolution: Modifications to the LocalSettings.php [18:42:01] !protect | Evolution [18:42:01] --mwbot-- Evolution: You can protect pages to prevent them from being edited by certain user groups. When a page is deleted its' protection is retained. Also you can protect nonexistant pages since 1.12. See [18:42:28] ooh, excellent. [18:42:35] thanks. [18:42:46] Now is: [18:42:48] [[Foo]]: "This pages is in {{{lang}}}" [18:42:49] [[Foo/es]]: "Esta página está en {{{lang}}}" [18:42:51] I want to get on: [18:42:53] [[Foo]]: "This pages is in SPANISH" [18:42:54] [[Foo/es (vars=SPANISH)]]: "Esta página está en SPANISH" [18:43:06] Evolution: And I look smart for parroting something that RoanKattouw just showed me. [18:43:13] hehe [18:43:55] Galbinus_Caeli: would you mind pastebin'ing your LocalSettings changes for that? [18:44:04] *Evolution reads up on protect [18:44:07] rizome: I'm afraid that's not really possible, looks like you'll have to do with "Esta página está en Español" [18:44:09] 03ialex * r50229 10/trunk/extensions/ErrorHandler/ErrorHandler.php: Added $wgErrorHandlerReportAfterOutput, to hide errors that occured after output (to avoid XHTML errors if it happens) [18:48:17] 03daniel * r50230 10/trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/ (13 files in 2 dirs): Made PropertyExtraction independant of concept creation [18:49:09] RoanKattouw: it could be done using function {#languaje:es}; it's a secondary problem; the var, could be "es", instead of "SPANISH" ;) [18:50:15] Do you knwo whow "special pages" are made? or how can I make one... [18:50:24] You'd only want to show "Spanish" on pages with /es , right? Enable subpages and try {{#language:{{SUBPAGENAME}}}} [18:50:46] rizome: Special pages are written in PHP, you can't make one with wikicode [18:51:18] Evolution: Sorry, I wandered off for a moment. [18:51:33] and can I ask somebody to make another? [18:51:54] You could, but I don't think it makes sense to do this with a special page [18:52:09] If you're gonna write an extension for this, you should make one that just makes the URL parameter thing possible [18:53:29] Evolution: I'll pass you that data in private chat. No need to clog the channel [18:53:36] sure. thanks. [18:54:48] Evolution:You should have a chat offer window from me. [18:56:44] 03ialex * r50231 10/trunk/extensions/purgetab/purgetab.php: [18:56:44] * Fix E_PARSE (missing comma in $wgExtensionCredits) [18:56:44] * convert spaces to tabs for indentation [18:56:44] * code style tweaks [18:57:04] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10dj.bauch) [18:58:10] *ialex sigh [18:59:03] RoanKattouw: I need to pass {{{vars}}} in URI, and "special pages" seems to be the only way i can see... [18:59:05] I know PHP, but i've never made an extension for wikimedia... [18:59:07] ¿how can I do it? ¿where can I get the source of "http://www.mediawiki.org/wiki/Special:ExpandTemplates/index.php" to modify it? ¿how can i upload it to wikimedia? [18:59:31] !extensions | rizome [18:59:31] --mwbot-- rizome: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [19:00:07] rizome: Special pages aren't the only way, you could easily make a parser function like {{#urlparam:foo}} that gets 'foo' from the URL parameters [19:03:27] {{#urlparam:foo}} it will be wonderful [19:03:28] and can I upload the parsers function to wikimedia projects? [19:11:55] rizome: No, not just like that [19:12:18] how? [19:12:56] You can ask Brion or Tim to put it in core (makes sense), and if they say yes, it'll be enabled on Wikimedia projects, and if they say no, it won't [19:14:06] Brion or Tim... ¿in this irc? [19:14:41] yes [19:15:10] well, submitting a patch might help :) [19:15:19] thank you very much... [19:15:20] I'll think about it [19:15:41] Yeah, the best way is to open a bug on BugZilla and attach a patch to it [19:19:27] Thank you all. Now, I'll go to dinner. [19:19:29] I'm sorry for my wrong english written [19:20:19] I preffer spanish... ;) [19:20:50] 03robin * r50232 10/trunk/extensions/WikimediaIncubator/ (3 files): If the page exists, show a suggestion to move the page instead of creating another page [19:30:53] 03ialex * r50233 10/trunk/extensions/Configure/ (CHANGELOG Configure.php Configure.settings-ext.txt): Updated ErrorHandler extension [19:42:27] > hi, i downloaded CreateBox.i18n.php and put it in extensions/CreateBox.i18n.php folder, next i add require_once( "$IP/extensions/CreateBox.i18n.php" ); to LocalSetting.php under DefaultSettings, then i put in mediawiki code width=30 but when i showed preview i didnt saw the input area, why? [19:43:11] 03(FIXED) job-queue insert appears to fail for highly used templates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5527 (10JSchulz_4587) [19:43:44] Elektryk91: because CreateBox.i18n.php is only the language file, it's not the actual externsion [19:43:58] the main file is the one without the i18n bit. [19:44:09] aha :D [19:45:32] so i must write in LocalSetting require_once( "$IP/extensions/CreateBox.php" );require_once( "$IP/extensions/CreateBox.i18n.php" ); ? [19:46:15] <_wooz_> hi all [19:47:16] <_wooz_> I'm trying to use {{#expr:100-{{{1|}}}}} in a template.. but it doesn't work.. I got {{#expr:100-70}} (where {{{1}}}=70) instead the result [19:47:42] okay, from server.com/wiki/Special:Block, the Reason: listing. Where are the Common Block Reasons being pulled from? [19:47:51] is that a template? [19:47:59] <_wooz_> yes [19:48:02] <_wooz_> a template [19:48:22] !parserfunctions ! _wooz_ [19:48:22] --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 . [19:48:39] <_wooz_> ohoh.. ok thx :-) [19:48:55] _wooz_: which one, or how do I find it? [19:49:15] <_wooz_> that's clear.. I didn't get the extension [19:49:35] its works! thxDuesentrieb :) [19:50:46] <_wooz_> do I need the both extensions RegexBlock + ParserFunctions? [19:55:46] <_wooz_> Evolution: thx it works! [19:56:17] _wooz_: wasn't me helping you [19:56:22] but you're welcome just the same :-P [19:56:26] <_wooz_> ;-) [19:56:43] where's the template for Special:Block ? [19:56:51] I want to edit the Common Reasons list. [20:04:29] hi, i am using sphinx on 9.8.1 on mediawiki 13.3.1, when using search sometimes the results are displayed in the left part of the main window, sometimes results are displayed in the whole browser window. Any ideas why? [20:05:47] 03thomasv * r50234 10/trunk/extensions/ProofreadPage/proofread.js: minor: mouse wheel sign [20:10:07] 03yaron * r50235 10/trunk/extensions/ReplaceText/SpecialReplaceText.php: Fixed appearance of results page; unchecked 'watch moved pages' default; fixed handling of backslashes [20:10:24] 03yaron * r50236 10/trunk/extensions/ReplaceText/ (README ReplaceText.php): New version: 0.5.2 [20:16:01] 03(mod) wpHideName should hide the username more effectively - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17831 (10mikelifeguard) [20:27:23] I am having two language versions of the same wiki of mine. [20:27:42] How do I connect them better? Like same users and same interwiki table. [20:29:43] Evolution: check MediaWiki:Ipbreason-dropdown [20:30:12] 03(NEW) page rendering problems at en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18686 normal; Normal; MediaWiki: Page rendering; (weskaggs) [20:33:27] uberfuzzy: thanks. [20:36:12] Evolution: All interface messages are viewable at Special:AllMessages. [20:36:35] 03(mod) Wikimedia contact form does not like + in the email address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15624 (10mwpnl) [21:01:36] 03thomasv * r50237 10/trunk/extensions/ProofreadPage/proofread.js: minor fixes [21:13:22] hey guys [21:15:24] 03dale * r50238 10/trunk/extensions/MetavidWiki/ (354 files in 56 dirs): [21:15:24] general updates [21:15:24] * migrated to newest jQuery ui library ( jquery.ui-1.7.1 ) [21:15:24] * added SRT export [21:15:24] * added SRT link to ROE xml resource representation [21:15:25] * stubs for better multi-language transcript management [21:15:35] hmm [21:15:45] search suggestions aren't working for me on trunk [21:20:43] 03dale * r50239 10/trunk/extensions/MetavidWiki/maintenance/mv_update.php: fix to database init [21:24:19] 03brion * r50240 10/trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php: [21:24:19] Reverting r50127 "OpenSearchXml: (bug 18003) action=opensearch help shows "format - "" [21:24:19] This changes the default format from json to xmlfm, breaking anything which would have attempted to use standard json search suggestions, such as when $wgEnableMWSuggest is set. [21:25:17] Argh, now I remember why I don't use TwinView. Because it's completely broken. [21:25:26] 04(REOPENED) action=opensearch documentation in API help shows "format -" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18003 +comment (10brion) [21:26:37] *Simetrical tries Xinerama [21:26:54] 03thomasv * r50241 10/trunk/extensions/ProofreadPage/proofread.js: mouse scroll in horizontal mode [21:28:57] 03(mod) page rendering problems at en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18686 (10mrzmanwiki) [21:29:39] 03dale * r50242 10/trunk/extensions/MetavidWiki/skins/mv_stream.js: opps [21:46:35] rainman-sr: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/50207#c2426 [21:46:53] looks good! minor bug w/ the result count display [21:48:32] 03(mod) Improve hiding of usernames by looking for rv's with revealing edit summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18526 (10spacebirdy) [21:49:28] 03dale * r50243 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (libClipEdit/mvClipEdit.js mv_embed.js): fixes video time adjusters containment [21:55:06] 03(NEW) Special:Undelete start page should list available recent items directly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18687 enhancement; Normal; MediaWiki: Deleting; (brion) [21:56:38] is it possible to prevent users from changing their passwords? [21:58:31] Um, why? [22:01:44] hello, I'm currently trying to cross MW auth with webcalendar, but as the default MW session config doesn't seem to use the DB, what's the server-side way to check the client cookie ? [22:02:42] Heya. Every time I try to access Common.css or Common.js on my wiki I get a 500 Internal Server error, regardless of if the page exists or not. Any ideas? [22:03:21] In fact, ANY .css or .js page on my wiki... [22:04:08] What does your server error log say? [22:04:56] Hmmm... interesting... [22:05:07] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 +comment (10dj.bauch) [22:05:15] [Tue May 05 23:02:54 2009] [error] [client 127.0.0.1] PHP Fatal error: Class 'GeSHi' not found in D:\\planehopping\\extensions\\SyntaxHighlight_GeSHi\\SyntaxHighlight_GeSHi.class.php on line 171 [22:05:46] I had an issue with that extension when running the update scripts actually... curious... [22:06:25] <^David> what do you need to include with your php files when you want to have them able to use sessions etc with mediawiki? [22:07:44] Hmm... disable SyntaxHighlight_GeSHi and it works fine... how... frustrating... I like that extension... [22:08:20] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10dj.bauch) [22:09:39] <^David> eg. require_once('../LocalSettings.php'); [22:09:44] <^David> any more needed? [22:09:55] 03(FIXED) Creation of new list for IRC channel and group contacts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18625 +comment (10cbass) [22:10:44] Thanks Simetrical. I'll have to leave GeShi disabled for now I guess until I can figure out why it is causing so many issues. [22:11:25] ^David: I just asked a similar question : I'm looking for a way to check check the sessions given in the cookie from another app than mediawiki [22:11:33] GeSHi is nice. [22:11:39] Shouldn't cause too much trouble. [22:11:49] You just have to configure the directory correctly... [22:11:59] ^David: you trying to fire up MediaWiki from inside your third-party non-mediawiki PHP scripts? [22:12:10] Hi! Anyone who has a pointer why Extension:Gadgets does not generate a listing in Special:Preferences? [22:12:12] in that case you probably want to pull in WebStart.php not LocalSettings.php [22:12:26] see api.php, thumb.php, etc as examples [22:12:34] 03(mod) Microsoft SQL Server/MSSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9767 (10dj.bauch) [22:13:05] Marybelle>Yeah. Unfortunately it seems to cause problems with RefreshLinks.php and displaying .css/.js pages on a wiki... at least for me... :-/ [22:13:16] Hmm. [22:13:36] Something about it wanting a GeShi.php file that it can never fine [22:13:39] find* [22:14:24] Line 171 of the code... huh... exactly the same line that caused me problems with RefreshLinks... [22:14:56] Paste the line? [22:15:01] <^David> just WebStart.php? how would I set a session variable after including that? [22:15:12] 'sec [22:15:30] ^David: depends what you mean by 'set a session variable' :) [22:15:40] $_SESSION['myneatsessionvariable'] = 'blabla'; ? [22:15:50] <^David> erm, I want to pass a secure 'key' back to a mediawiki page. [22:16:12] $geshi = new GeSHi( $text, $lang ); [22:16:15] <^David> i'm tyring to set up CAS authentication with AuthPlugin [22:16:27] <^David> but I can't use phpCAS directly in the authplugin function [22:16:34] jeblad_: have you added any gadgets yet? [22:16:52] <^David> so i need to have authenticate() of AuthPlugin to check if a secure session variable or something equivilant is set [22:17:01] Okay, now... I usually hate asking for help, because half of the time people asking for help do it in an inappropriate or annoying manner but... could anyone help me with what should be a simple table ? [22:17:08] *Fatalis coughs [22:17:29] set up MediaWiki:Gadgets-definition, with one item *foobar|foobar.css, and made the appropriate pages [22:18:10] Anyone? =/ [22:18:29] are you using the version of gadgets corresponding to your mediawiki version? the SVN trunk version of gadgets probably won't work with 1.14 [22:18:33] Fatalis>A simple table? Can't be so simple I'm guessing... ;) [22:18:48] No, it's simple, I just apparently suck at tables [22:18:49] http://img11.imageshack.us/img11/5159/blehl.jpg [22:18:54] ^ That. I'm screwing it up somehow [22:18:56] gah.. probably thats the reason.. [22:19:07] *jeblad_ drags his sorry ass over to svn again [22:19:41] (Disregarding my crappy MSPaint rushed mess) [22:19:49] (I think the general gidst is visible) [22:19:55] the preferences system was rewritten a few weeks ago, so any extension that used preferences needed to be updated in a non-backward compatible way [22:19:58] Fatalis>So what should it look like? [22:20:06] Like that. [22:20:23] What I keep getting is... [22:20:32] 03nad * r50244 10/trunk/extensions/SimpleSecurity/ (SimpleSecurity.php SimpleSecurity_body.php): Add support for $wgSecurityGroupsArticle to add extra groups by [22:20:36] *Fatalis reconsiders making another bad image and just goes with "Not that" [22:20:38] Ahh, ok. So you want two rows by two columns, but one row much "taller" than the other? [22:20:41] hm,.. I would like to se gadgets with localization... ;) [22:21:13] More or less. I want two headings for two seperate sections but I keep messing it up somehow [22:21:15] mediawiki 1.15 should hopefully be released soon-ish [22:21:52] I've been playing with something like that but havn't got the time to finish it [22:22:10] Fatalis>Try... {|!Heading1!!Heading2|-|Section1||Section2|} ((Space out the lines however you want)) [22:22:24] *Fatalis goes to try so! [22:22:27] brion: your explanation given to ^David didn't help me, do I have any chance to share the mediawiki auth (whatever the configuration is) with another application ? [22:23:14] sure, if you can figure out how :) [22:23:41] is it possible to change the message "Passwords cannot be changed" on the Special:ChangePassword page? [22:23:59] (even if I don't want to have to hack around 'session.save_handler' ?) [22:24:39] AerosAtar: It's what I'm trying to go for, but my problem is seperating the sections into two areas while giving the headings a border too. That's why I linked the very poor picture [22:25:15] Ahhh, ok. So basically you want gaps between the cells? [22:25:49] Maybe I should re-do the image. I think it impilies I want some gigantic space between the two sections [22:25:52] :s [22:26:24] MrZ-man: That did it... ;) [22:26:27] Thanks! [22:27:00] I'm not sure how to really explain this so.. [22:27:03] *Fatalis edits the image [22:28:22] Marybelle>I've tried the 1.13x and the 1.14.x (I'm running 1.14.0) versions and I'm getting the same error. [22:28:25] nick_h[litage]: Sure. Just find the appropriate message in Special:AllMessages [22:28:56] AerosAtar: What's the error? [22:30:03] Marybelle: fantastic. thanks [22:30:12] Where is there an article about having several wikis with the same user table? [22:30:22] Or rather, sharing the users across... [22:30:24] !family [22:30:24] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [22:30:35] !auth [22:30:35] --mwbot-- http://www.mediawiki.org/wiki/AuthPlugin [22:30:40] Or something. [22:31:22] Marybelle>[Tue May 05 23:30:53 2009] [error] [client 127.0.0.1] PHP Fatal error: require() [function.require]: Failed opening required 'geshi/geshi.php' (include_path='D:\\planehopping;D:\\planehopping/includes;D:\\planehopping/languages;.;C:\\php5\\pear') in D:\\planehopping\\extensions\\SyntaxHighlight_GeSHi\\SyntaxHighlight_GeSHi.class.php on line 290, referer: http://localhost/planehoppi [22:31:42] AerosAtar: http://img9.imageshack.us/img9/5058/blahozm.jpg is that clearer? [22:32:15] *Fatalis cannot believe he's having this much trouble with the one table he has ever actually needed [22:32:20] thank you :) I wish it will help [22:32:21] Fatalis: That's trivial.. [22:32:41] Fatalis>What I posted earlier should work fine. [22:33:02] Had no actual border which is what I was having trouble with [22:33:18] I've... been trying to do this for a while, yeah [22:33:21] Fatalis>Try setting border="1" in the top section [22:33:34] i.e. {|border="1"!... [22:33:50] *Fatalis nods [22:33:51] Alright [22:34:06] might have to set it as 1px... seems to vary in my experience [22:34:24] Marybelle>Any ideas? [22:35:44] Fatalis: http://test.wikipedia.org/wiki/Tablesf [22:35:53] AerosAtar: Looking, sec... [22:35:55] hrm, i changed the "resetpass_forbidden" message to "Please change your password [https://foo.com here]". however, the wikitext isn't being interpreted... [22:36:08] Marybelle>Something to do with this: if( !class_exists( 'GeSHi' ) ) [22:36:10] Some messages require HTML... [22:36:33] Marybelle: i tried html, and it wasn't interpreted either. the raw html was displayed [22:36:47] AerosAtar: Did you carefully follow the instructions here: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Installation ? [22:37:09] I think it describes your issue. The default code points to geshii/geshi.php, which likely doesn't coincide with your configuration... [22:37:10] AerosAtar: Thank you @_@. Can't believe it was that easy... I honestly appreciate it a lot [22:37:17] nick_h[litage]: Hmm, lemme look. [22:38:02] Now that might well explain it... they changed the way it installs... you didn't need to download GeSHi previously IIRC. [22:38:20] Didn't think to recheck the install instructions when I upgraded since it worked fine before. [22:38:38] There are a few GeSHi extension variants. [22:38:42] Perhaps you switched? [22:38:54] nick_h[litage]: Are you using the extension or MediaWiki core? [22:39:07] Marybelle: MW core. i didn't know there's an extension [22:39:22] There is. It's mostly deprecated now that the feature is in core. [22:39:41] When does the message appear? [22:40:23] MArybelle>I think it's the same extension. Exact same name anyway... oh well... I'm off to download and see if that works... [22:40:29] K. [22:41:52] Do double redirects work? [22:42:01] If you configure it properly, yes. [22:42:03] They should. [22:42:03] Marybelle: i'm not sure what you mean by "when does the message appear?".. [22:42:27] nick_h[litage]: When do you see the text "Passwords cannot be changed."? But I think I figured out when you see it.. [22:42:31] Hmm, I think the MediaWiki manual page for Redirects ([[Help:Redirects]]) is a tad bit out of date in that respect [22:42:47] Prolly. [22:42:51] Marybelle>Yup. That fixed it. Thanks, I feel silly now :) [22:42:58] Marybelle: when i go to the Special:ChangePassword page [22:43:02] RTFM. ;-) [22:43:16] I'm a man, I don't need manuals! ;) [22:43:27] Marybelle: was the "rtfm" for AerosAtar or me? [22:43:45] AerosAtar. [22:43:50] Still looking at your issue. [22:43:56] thanks, mate [22:44:17] nick>Me. I was silly and didn't check if the install instructions for one of my extensions had changed when I upgraded to 1.14.0 [22:44:36] ah =P [22:45:59] Hmm. I can't seem to get the error... [22:46:11] Hmmm... next question... why isn't my wiki picking up some of the CSS rules in Common.css? [22:46:31] Make sure you bypass your local cache. [22:46:46] Also make sure the page is getting imported in the page source. [22:46:51] And that your CSS is vaild. [22:46:53] Valid, even. [22:47:11] Marybelle: i'm seeing my changes. they're just not being interpreted as wikitext.. [22:47:35] Did you try raw HTML? [22:47:49] How are you getting an error message at all? [22:47:58] When I go there it wants me to change my own password... [22:48:23] Marybelle: when i tried including html in the message, the raw html was displayed when i viewed 3. Click on "Add/Import Product". 4. Set "Allow Overwrite" to "Yes. 5. Import the vBulletin mail2web Authentication product. [22:48:27] ack [22:48:45] Marybelle: when i tried including html in the message, the raw html was displayed when i viewed Special:ChangePassword [22:49:02] Hmmm. [22:49:11] i'm viewing the customized message simply by going to the Special:ChangePassword page/article [22:49:11] I'm just curious why you're seeing an error message at all. [22:49:21] Marybelle>Bypass>Yes, In Source>Yes, Valid>Yes, working>No... :-/ [22:49:21] Marybelle: i'm not seeing an error [22:49:54] If you're seeing "Passwords cannot be changed", no? [22:49:59] 03aboostani * r50245 10/trunk/phase3/ (6 files in 2 dirs): [22:49:59] Added an extension, called EditSectionHiliteLink, that highlights the [22:49:59] appropriate section when the user mouses over the section edit links. Also, [22:49:59] modified the Parser to enclose each section in a div if $wgSectionContainers is [22:49:59] set. [22:50:01] You should be seeing a form to change your own password... [22:50:01] Hi - does anyone know of some example code for an extension, or magic that will allow me to read a Mediawiki:message then parse each line? [22:50:13] AerosAtar: Is it a public site? [22:50:18] Marybelle: i disabled password changing [22:50:22] Marybelle>CSS, just in case I'm being stupid again... [22:50:26] table.prettytable { [22:50:26] margin:1em 1em 1em 0; [22:50:26] border:solid 1px #AAAAAA; [22:50:26] border-collapse:collapse; [22:50:26] empty-cells:show; [22:50:27] font-size: 100%; [22:50:29] color: #331A00; [22:50:31] background-color: #FAEBD7; [22:50:32] AerosAtar: use a pastebin [22:50:33] } [22:50:34] AerosAtar: please stop pasting [22:50:35] table.prettytable th { [22:50:37] background-color: #DEB887; [22:50:38] AerosAtar: like pastie.org [22:50:39] text-align: left; [22:50:41] } [22:50:42] Bah. [22:50:43] Sorry [22:51:18] empty-cells:show; <-- This is valid CSS? [22:51:23] nick_h[litage]: How did you disable password changing? [22:52:28] Marybelle: by writing my own authentication plugin [22:52:38] Hmm. [22:53:01] It shouldn't be too hard to modify output of the MediaWiki message, then. [22:53:02] Marybelle>Yes, it is valid CSS [22:53:05] It's just changing the wrapper, I think. [22:53:10] AerosAtar: Is your site public? [22:53:18] wfMsg() or something, nick_h[litage]. [22:53:22] No. :-/ [22:53:38] AerosAtar: And you're using it with {| class="prettytable" ? [22:53:47] Marybelle: i'm able to change the resetpass_forbidden message. it's just not interpreting the message's new value as wikitext [22:54:17] Marybelle>Yep [22:54:20] $this->error( wfMsg( 'resetpass_forbidden' ) ); [22:54:22] Hmm. [22:54:30] AerosAtar: Sounds like cache... [22:54:37] Try a different browser or something to be sure? [22:54:52] Marybelle>Doing that now. [22:55:25] Nope. [22:55:59] Marybelle: the same behaviour occurs in Opera and Konqueror. the browser shouldn't matter, since wikitext is interpreted server-side [22:56:20] nick_h[litage]: I was talking to Aeros again. ;-) [22:56:42] wfMsg means the message is wiki-formatted, I'm pretty sure... [22:57:41] This would be easier to test if I could get password-changing disabled on my test wiki... ;-) [22:59:17] http://pruebita.com/wiki/Special:ChangePassword There we go.... [23:08:29] Marybelle>Ahh well... I'll keep poking at it tomorrow. Time for sleep now. Thanks for all the help. [23:08:37] No problem. [23:12:23] brion_: I look at this bunch of extension but I can't find an extension which match my needs, maybe being directed to the-right-file[-and-function-to-use] would be easier for me :| [23:14:21] r4ph431: remind me what you're looking for? [23:16:26] I want to verify the wm client-cookie against wm server-side info in order to allow the client access another php app [23:16:37] (share the wm authentification) [23:17:13] 03aboostani * r50246 10/trunk/phase3/extensions/EditSectionHiliteLink/: Inadvertently committed an extension to the extension directory, so I am now removing those files [23:17:21] what we'd probably recommend in general here is using an authentication plugin which'll set whatever info you need when the session is set up [23:18:03] 03dale * r50247 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (4 files in 3 dirs): [23:18:03] fixes for archive.org duration [23:18:03] upload tab reorder [23:19:15] I want to implement the webcalendar auth backend so implement user_logged_in(), get_admins(), user_get_users() and user_load_variables() [23:23:59] if I understand, I should use an extension which will, for example, set some fields in a db which are checkable when someone login ? [23:24:00] 03aboostani * r50248 10/trunk/extensions/EditSectionHiliteLink/: Adding the EditSectionHilite link that highlights the appropriate section when the user hovers their mouse over the edit section link [23:27:32] I want a mysql "sessions" table :'( [23:28:00] 03aboostani * r50249 10/trunk/extensions/EditSectionHiliteLink/ (4 files): Adding files for EditSectionHiliteLink extension [23:28:40] r4ph431: hmm, well you could do that too :) check out the current sessions-in-memcached thingy [23:28:44] ccould switch that around to mysql [23:30:21] If I have a message file with data on lines, how can I read them into an array? [23:30:23] I currently host myself, but will soon lose the freedom over the hosting capabilities [23:30:33] so unsure about memcached [23:31:16] jabrwocky7: If the lines are separated by newlines, you can just do this: $array = explode("\n", wfMsg('stuff')); [23:31:55] How about if each line is like this: *http://foo.com [23:32:02] then explode by \n* ? [23:33:52] I guess that would work [23:34:01] But people might do this too: * http://foo.com [23:34:11] You could just trim it then [23:34:33] oooh, gimp 2.6 in ubuntu 9.04 :D [23:34:41] *brion_ wonders why "ubuntu" isn't in the spelling dictionary, though [23:35:19] hum, I give-up for tonight, maybe I will have a look to $wgSessionHandler, otherwise : session_set_save_handler() :[ [23:36:37] *nod* you'll need a little custom work i guess [23:38:27] 03(NEW) special character in sidebar leads to corrupt css - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18688 trivial; Normal; MediaWiki: Page rendering; (m)