[00:00:34] lol [00:02:04] Been waiting for Brion to get the e-mail with my SSH key [00:02:45] http://en.wikipedia.org/wiki/Template:Hidden_begin-end/doc anyone know where the Hidden_begin-end template actually is? I click on the link and end up at an empty page. [00:03:26] Dantman: I suggest giving him a polite nudge about it in PM, he forgot about mine until I asked him a week after I sent the mail. [00:03:51] Hasn't been on... [00:04:04] Not when I'm on that is [00:04:28] That was what I was going to do [00:04:31] And you're not even in a weird timezone... [00:04:37] heh [00:04:37] lol [00:05:17] I think he was on, once when I was on...... But I only noticed that because of his quit message... ;) T_T [00:09:11] bleh... the annoying thing about trying to create a function to load an extension, is that the whole variable scope gets mugged up for the globals needed... [00:12:11] Simetrical: Any input on the newest issue for the title rewrite posted to WikiTech? [00:14:22] Dantman|FS, which was that again? [00:14:54] getName being used for both unique identification (key) and displlay (real)... [00:15:00] Mmm. [00:15:13] Well, that's the kind of thing you need to solve, right. You're going to be rewriting a lot of code. [00:15:15] Check the list for the options [00:15:18] *Simetrical thought he set that aside to read later [00:15:21] *Simetrical hunts [00:15:53] Okay, I'll respond sometime. [00:15:59] heh [00:16:06] "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem." [00:16:07] WTF? [00:16:54] FF3 has gotten very picky about encoding. [00:16:59] It looks fine in View Source. [00:18:06] Dantman|FS: FS? [00:18:41] Full Screen... Commonly used when I'm watching episodes, or am switching in an out of applications which I use in full screen [00:18:57] oh cool [00:20:23] Simetrical: http://www.youtube.com/watch?v=rs_k3PJTmSY&feature=related [00:20:28] hehe, that was interesting [00:20:52] "Why Epiphenomenalism Must be Wrong" [00:22:25] http://en.wikipedia.org/wiki/Wikipedia:Template is there a better list of all templates in wikipedia? [00:22:43] http://en.wikipedia.org/wiki/Special:Allpages/Template [00:23:03] windopain, there are thousands of templates on Wikipedia. [00:23:07] you'll find a LOT of templates that way. [00:23:22] many of them very specific [00:24:04] windopain, there are 141,448 templates on Wikipedia, to be specific. [00:25:11] wow. [00:25:14] how'd you figure that out? [00:27:46] Guess and check? [00:28:40] Simetrical: that's distinct included pages, or pages in the template namespace? [00:28:59] Duesentrieb, SELECT COUNT(*) FROM page WHERE page_namespace=10; [00:29:06] so, the latter [00:29:32] ahh [00:29:46] how do you query the wikipedia database directly? [00:29:54] toolserver [00:30:19] windopain: by having access to the database directly (or to the copy on the toolserver, right) [00:30:19] !toolserver [00:30:19] --mwbot-- I don't know anything about "toolserver". [00:30:23] Oh well, was worth a try. [00:30:25] huh :P [00:30:37] sorry, can you help me about the customizing of http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Extension:RandomImage ? [00:32:43] !toolserver | Simetrical [00:32:43] --mwbot-- Simetrical: The Wikimedia Toolserver is a server with access to a (more or less) live copy of the database of all Wikimedia projects, for use with user scripts and utilities. Access is granted on request on a case-by-case basis. See and for more information. [00:32:57] How can I expand templates of the page where are < randomcaption > ? I try to edit code all afternoon (and the last night also ;-)) [00:37:04] hou-hou [00:39:25] etienne: i guess a) no one knows that extension and b) your question about expanding templates isn't very clear [00:39:39] Hi [00:40:12] Simetrical: http://www.ritsumei.ac.jp/~akitaoka/rotate-e.html [00:40:15] ahhh! [00:40:20] !namespace [00:40:20] --mwbot-- For help with understanding and manipulating namespaces, please consult . See also !extranamespace [00:40:28] ahh so much to learn here [00:41:13] wiki projects... are those scripts, templates, extentions? [00:41:39] How do I make a new article be in a namespace? Do I type this in the search box, then clcik 'recate this page': Namespace:Article Name [00:42:21] Omg, typos.. [00:44:04] Duesentrieb , windopain : Ok, excuse me, the extension get the description of a random image, and search the body of < randomcaption > for insert a legend. But this (balise > What is the engl. word ?) is in the template and the extension don't find the body. [00:44:18] Elrahc, yep, that's all. [00:44:39] Simetrical: that stuff is almost scary [00:45:05] AaronSchulz, wow, that's a neat one. [00:45:10] Never saw it before. [00:45:16] *Simetrical double-checks it's not a GIF [00:45:23] Hey, it is! [00:45:30] :P [00:45:36] look differently at them [00:45:44] they stop moving based on how you look [00:45:47] What will happen if the namespace doesn't exist, is that article called something with a : in it then? [00:46:00] Elrahc, yes. [00:46:09] Thanks, man. [00:46:37] etienne: still not sure i understand your problem, but between custom , templates or template parameters do not work. there's no way to make them work, unless the extensoionm itself goes through some paint to do that. the easiest way is actually to use a parser-function extension in stead of a tag hook. [00:46:43] but that's up to the extension author. [00:46:49] i hope that is whatyou are asking about [00:46:54] Can I have a space after the : ? [00:47:29] Duesentrieb: You're the fellow who made Lockdown? [00:47:29] Elrahc: wow, after 5 years with mediawiki, i have never even tried that :) [00:47:34] yea [00:47:43] Thank you for doing that, it's just what I needed [00:47:50] Simetrical: I'm bookmarking that one :) [00:48:06] \o/ [00:48:16] No, you can't do it. [00:48:27] Title strips leading whitespace after it strips off prefixes. [00:48:31] You can talk to Dantman|FS about that. :) [00:48:37] Duesentrieb: http://www.ritsumei.ac.jp/~akitaoka/rotateda0.gif [00:48:41] hmm, not seeing anything weird [00:48:57] hehe, yea. I just discovered that :P [00:49:45] Duesentrieb: Do you have a mailing list for updates to the Lockdown extension? [00:50:17] Duesentrieb> Yes, but I convert the code of page to HTML, I can parse the result for extract a text, no ? Then, i just search the function in API to expand templates. [00:50:29] can anyone add a template? [00:50:57] Elrahc: no, but the extensions's documentation pages has an rss feed (all pages on a mediawiki do). go to the history page and grab the feed :) [00:51:49] etienne: i have no idea why one would ever want to do that... [00:51:58] I've not used RSS feeds yet, but thanks for the heads up :) [00:52:32] Elrahc: it's simple enough, most mail readers support them these days. or use some web based reader, or abrowser plugin (i use Brief for Firefox, it rocks) [00:54:04] I use Firefox, I'll check out Brief [00:57:39] i'd like to be able to read RSS in a manner similar to usenet news... i use my own nntp server to avoid waiting for articles to load and haven't found an rss reader that suits my needs yet [00:58:06] haven't tried brief yet [01:00:08] I want to make a shortcut of the namespace "Staff Documents", namely "SD". All I need to do is make a new page called "SD" and add "#REDIRECT [[SD:Staff Documents]]"? [01:00:44] *Elrahc scratches head and thinks he got it right [01:01:16] Duesentrieb : If you program extensions, may you see that : http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/RandomImage/RandomImage.class.php and say me how to edit the getCaption function for to do what I want ? [01:03:40] if i copy a template and all templates it uses from wikipedia and it still doesn't work, what might i be missing? [01:05:46] etienne: sorry, i nither understand what teh extension does nor exactly whatyou want. and i'm trying to write a theis :P [01:06:00] windopain: install parserfunctions and enable tidy. [01:06:02] !templates [01:06:02] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and HTML Tidy. [01:06:06] Duesentrieb [01:06:10] for custimization [01:06:20] if I want to change "special:recentchange" to the translation of it [01:06:26] which pages should I alter? [01:06:54] don't know, look on Special:Allmessages [01:07:31] Duesentrieb: thank you. [01:08:25] 03(NEW) After oversighting a revision... - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13305 trivial; normal; MediaWiki: General/Unknown; (oysterguitarist) [01:11:26] i absolutely love being able to take things that i learn here (and on other subjects) and plug them directly into my wiki. I think this is goodbye pen, paper, notepad, .txt, bookmarks, post-it notes, and other inadequate methods of organizing information. I hope schools are teaching kids how to write Wiki along with how to write in the first place now days. [01:12:45] windopain: Especially when combined with Semantic MediaWiki! [01:14:11] i need a help is there any who have time [01:14:27] !ask [01:14:27] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [01:14:28] akjohnson: woo wiki pages with tags and relations is what i get from a quick review? [01:14:43] Yes! Relations and attributes! [01:14:52] And it has a built in search engine that is pretty powerful [01:14:56] in fawiki we are trying to change this special:recentchange [01:15:04] so it would be ویژه:تعییرات اخیر [01:15:12] which item should change in meda wiki [01:15:32] i've long-since fallen in love with tags; wish i could tag every file on my hard drive. been doing it with bookmarks for a few years now. that'll be nice to try to integrate into a wiki once i get up to speed. [01:15:32] *Simetrical directs mardetanha to Duesentrieb [01:15:49] Categories can function pretty well as tags [01:16:21] But Semantic MediaWiki would let you do searches on pages that belong to two categories [01:16:31] *Duesentrieb points to Special:Allmessages [01:17:00] akjohnson: there's a new extension in the works for that. and DPL already lets you do that in a way too [01:17:40] Nice [01:17:55] The biggest thing SMW does is add semantics to pages and information, though [01:18:25] So, for a page on the capital of a city, you would label it [[capital of::Country]] [01:18:54] And it would be a regular link on the page, but it would keep that information, and later, you could find the capitals of all the countries in Europe [01:19:30] mardetanha, you might want to speak to huji, if you know him. [01:19:48] i know [01:19:57] but he is not online right now [01:22:51] is htmltidy an extension? the link is to $wgUseTidy... [01:22:54] Hmm, when I go to Special:Allpages and choose my custom namespace, it doesn't list any articles. I just made an article by the name of "Staff Documents:Module Designer Guide" [01:24:17] Simetrical: any suggestions? [01:25:11] Elrahc: how did you define the custom namespace? [01:25:34] did you create the page before or after creating the namespace [01:25:35] ? [01:26:12] I made the namespace in the php file first [01:26:34] hoe *exactly*? [01:26:42] please paste the line. [01:26:45] Sure [01:27:38] http://pastebin.com/d4d010e04 [01:27:59] It's a few more lines with everything, thought it best to show all [01:28:10] Elrahc: $wgExtraNamespaces[NS_STAFF] = "Staff Documents"; <--- that doesn't work. replace the space with a _ [01:28:19] Doh [01:28:22] you have to use canonical/database form for the namespace name [01:28:31] Gotcha [01:28:39] So, delete that page I made, too? [01:28:42] note that any articles you currently have in the namespace will become *inaccessible* when the namespace gets created [01:28:51] Affirmative [01:29:00] no need to delete it. rename it to something else [01:29:07] (that doesn't have that prefix) [01:29:19] then after creating the namespace, move it back [01:29:33] Ok, thank you, D. [01:30:13] Elrahc: oh, btw: alsways create namespaces in pairs. i.e. create a talk namespace for this one, with ID 101 [01:30:31] MediaWiki assumes that this is so. [01:30:41] it may get confused if that ns is not actually defined [01:31:26] is htmltidy even an extension for mediawiki? [01:31:32] Oh, even if I don't use talk? [01:31:49] yes. [01:31:57] Alright :) [01:32:07] windopain: no. it's just a setting you enable. click the link i gave you. [01:32:43] Duesentrieb: i did, i've been lost since... do i just add that line to localsettings and that's it? ... i became confused b/c the page says to save a file in extensions/htmltidy [01:33:15] it sais that? really? [01:33:44] Does it matter if I use " or ' as quotes in the php files? [01:34:24] Elrahc: yes and no. ' are strong quotes, " are weak (allowing variable interpolation), lust like in perl, bash, etc [01:34:34] It is recommended to have configuration file present (Manual:$wgTidyConf) in /extensions/tidy/tidy.conf. [01:34:35] windopain: ignore that bit, just enable it :) [01:34:41] Ok [01:34:45] *Duesentrieb grumbles at silly users editing documentation [01:34:57] ok, it is in LocalSettings i take it :) [01:35:02] *windopain makes not on his own wiki [01:35:06] note [01:35:20] Elrahc: so, if you don't have a $ in your string, it doesn't matter. if you do, think about which one you want. oh., and handling of \ is different too. [01:35:34] !config | windopain [01:35:34] --mwbot-- windopain: All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , [01:35:40] Yea, I've seen that some times [01:36:36] I guess I've read add to LocalSettings.php" so many times that when it is omitted I start to wonder :) [01:38:04] I didn't install your Lockdown yet; probably best to do that before making custom namespaces since I have to edit that again :P [01:39:39] bah, do we have a release timeline somewhere? [01:39:46] what was the current version a year ago? 1.9? [01:42:19] Hi! [01:42:43] Do I just need to download the Lockdown.php file and put it in a Lockdown folder in the extensions folder? [01:43:35] I would like to have my own mediawiki on my computer, like a journal, how can I have media wiki run on my home computer like it would run on hosting? [01:44:26] You need to install some software first, like php and mysql I think [01:44:50] That's what it uses to operate [01:45:06] ...and web server software [01:45:11] LifeHacker has a guide to put it on a USB stick: http://lifehacker.com/354005/run-your-personal-wikipedia-from-a-usb-stick [01:45:26] On a USB stick? [01:45:32] cool [01:45:34] Cool! [01:45:44] I'll check this out akjohnson! [01:46:07] If you are on a Mac, I'd recommend using MAMP for a local install [01:47:20] Looks like there are also guides for that on MediaWiki.org: http://www.mediawiki.org/wiki/Manual:Wiki_on_a_stick [01:47:27] That's what I use, MAMP [01:47:44] I use MAMP for wiki development, hehe. [01:47:46] Elrahc: yes, Lockdown.php is sufficient, though it's better to always copy all files in the directory. [01:47:49] !bundles | Elrahc [01:47:49] --mwbot-- Elrahc: unofficial bundles of extensions are at . Note that these are random snapshots and may contain a completely broken version of the extension. [01:48:58] anyway, going to bed [01:49:02] n8 all [01:49:09] Yea, I was just going to say "I'm an idiot" [01:49:20] G'nite, man. Thanks for your help! [01:49:33] have fun [01:49:37] :) [01:49:59] 03(mod) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +comment (10Simetrical+wikibugs) [01:50:16] 03(mod) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +need-review (10Simetrical+wikibugs) [01:50:33] *Simetrical pokes Werdna to review his patch on bug 1212 and post some comments there [01:50:37] *Simetrical pokes AaronSchulz too [01:50:49] I was thinking about that [01:51:10] I have to do my Aero take-home portion of the final and study, so hope this is quick [01:51:22] The ToDo template requires Template:Tasks/Preload ... can't seem to find that on wikipedia [01:51:33] Simetrical: hmm, Dennett is starting to grow on me a little [01:51:45] AaronSchulz, it's >600 lines. [01:52:08] ohh, I thought that was for oversight [01:52:10] nm [01:52:12] found it [01:52:25] AaronSchulz, no, I don't do anything to do with Oversight. [01:52:26] 03(mod) Option to not display [+] if no sub-category exists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11132 (10Simetrical+wikibugs) [01:52:27] This is core code. [01:54:38] 03(mod) Deferred template substitution ( with some magic keyword such as subst1) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11670 (10smjg) [01:54:52] 03(mod) After oversighting a revision... - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13305 +comment (10JSchulz_4587) [01:55:12] 03(mod) Option to not display [+] if no sub-category exists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11132 +comment (10Simetrical+wikibugs) [01:55:17] Simetrical: guess you'll have to ask Werdna :) [01:58:31] 03(mod) After oversighting a revision... - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13305 (10N/A) [02:00:14] 03(mod) Recent changes and revisiondelete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13305 summary; +comment (10JSchulz_4587) [02:55:33] hi tim [02:55:39] hi [03:14:25] Hmmm.... [03:14:28] I sense cruft [03:14:46] Ohwait... nope [03:15:09] Just the IDE doesn't search for variables in strings [03:18:38] TimStarling: meow [03:18:50] [hello] [03:26:14] 03(NEW) Enable transwiki import for sysops on Alemannic Wikipedia [als] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13306 15enhancement; normal; Wikimedia: Site requests; (Wiki.Melancholie) [03:31:09] Simetrical: Guess I'm going to be modifying the LinkCache to check for the realtitle!? [03:44:03] Is the 'edit' permission the "one true power"? [03:44:18] Yes? [03:44:33] Is this some sort of Lord of the Rings thing or something? [03:44:38] You know, with that you can do everything as a sysop, right? [03:44:54] Huh? [03:45:27] Like.. [03:45:34] $wgGroupPermissions['sysop']['edit'] = true; [03:45:47] That grants them every power there is? Move, etc? [03:45:51] Nah. [edit] allows the use of &action=edit. [03:45:57] Ok [03:46:06] To grant every power, use [*]. [03:46:09] !userrights | Elrahc [03:46:09] --mwbot-- Elrahc: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [03:47:55] ok, so.. I can deny guests every power by doing: $wgGroupPermissions['*']['*'] = true; [03:48:22] and then add the powers for logged in users and sysops by adding new right underneath [03:48:23] No [03:48:42] there is no permission '*' only a group * [03:48:50] ah [03:48:56] And false does not override true [03:49:24] To remove all powers from anon users you would set the * group to an empty array [03:49:36] Would a guest be able to move a page with this: $wgGroupPermissions['*']['edit'] = false; [03:49:48] However, that includes the ability to view the wiki to [03:50:14] So I'd have to add that on the next line, the read permission [03:51:00] Did you mean like so? $wgGroupPermissions['*'][''] = false; [03:51:16] and then so: $wgGroupPermissions['*']['read'] = true; [03:51:32] $wgGroupPermissions['*'] = array(); [03:51:40] oh, that part [03:51:50] But [03:52:11] I basically want anon and users to not be able to do anything but view [03:52:31] or 'read' [03:52:43] If you really want to explicitly configure permissions, the best way to do it is to copy the permissions stuff out of DefaultSettings.php into your LocalSettings.php and explicitly define what permissions you want what groups to have [03:53:02] *Elrahc looks at that file [03:53:15] Be sure not to edit DefaultSettings.php. [03:53:20] If you do, you go to wikihell. [03:53:21] Do I delete the permissions from the Deafault file then? [03:53:30] ah, that answers that [03:53:44] Which is almost as bad as MediaWiki purgatory. [03:53:49] *MZMcBride shudders. [03:54:15] hehe, ok [03:54:23] Where is that defaultsettings.php located? [03:55:23] includes/ [03:55:24] Provided there is only one, I found it. [03:55:26] :) [03:55:39] Thanks for your patience, MZMcBride. [03:55:49] No problem. [03:56:02] *Elrahc tips his hat in thanks and goes to study the file [04:08:20] are all rights to everyone set to fals by defualt until granted to true in the DefaultSettings.php? [04:08:38] (typos galloer!) [04:09:01] 03tstarling * r31741 10/trunk/phase3/includes/Database.php: Fixed Database::ping() for MySQL client 5.0.13+. [04:09:01] *Elrahc chuckles to himself over his fingers' inability to do what he wants [04:11:00] rar [04:13:54] sparkyy :DDD [04:14:03] meep [04:16:15] Splarka: Did you hear about my ammusing bug encounter in the title rewrite? [04:16:41] which one? [04:18:42] ^_^ I changed the output of Title::getText(); for some testing... And found out, that without including a rewrite of the user class if you were to move User:Username to User:username then Username would not be able to login anymore... I found that out the hard way when I couldn't loginto my local wiki... rofl [04:19:12] heh [04:19:22] I think that does ring a bell [04:19:37] It's because User.php completely uses getText instead of getDBkey [04:19:51] And usernames are stored in text form rather than key form [04:19:57] whyyyy [04:20:05] annotate it, and bring their head in on a pike [04:20:17] Probably because the form with spaces looks nicer... [04:20:18] So... [04:20:27] The title rewrite includes a Username rewrite to [04:21:19] In addition to the page_real coumn being added... All 6 columns which store usernames (user_name and the *_user_text fields), get a schema update changing spaces to underscores... [04:26:15] Ok, so let me see if I get this straight. 1) All rights are declared in the DefaultSettings.php. 2) The LocalSettings.php can override these rights. [04:26:36] Yep. [04:26:53] All default settings are overriden by local settings. [04:26:53] 3) To disable rights set in the Default, I copy them to Local and set them to be false. [04:27:02] Yep. [04:27:06] Snazzy [04:27:10] fun thing... [04:27:18] That way, when you upgrade the software, you can simply copy LocalSettings.php. [04:27:25] Excellente [04:27:28] And not worry about any changes in DefaultSettings.php. [04:27:36] Silly devs, always thinkin'. [04:27:50] Unless there have been new user rights added to it that aren't set to false in the Local [04:28:10] Unlikely, but correct? [04:28:16] Likely-ish. [04:28:24] That's why you read the RELEASE NOTES. [04:28:38] Ok, so compare the rights in the Default with Local to make sure it matches my tastes. Not too hard [04:28:57] Right. [04:29:00] Thank you. [04:30:36] Simetrical (or anyone), what's the deal with ?> at the end of .php files? Simetrical went and removed ?> from a bunch of .php files in the Semantic MediaWiki extension in June. Should LocalSettings.php have ?> at its end? [04:30:59] If you're coding in purely PHP, the ?> is unnecessary and can be harmful. [04:31:23] If you're coding in a mix of PHP and HTML, etc., it's necessary to tell the PHP when to end. [04:31:25] *Betacommand needs an MySQL expert [04:31:29] skierpage: It's because of a number of old bug entries relating to things adding extra whitespace to the end of the file and causing php errors [04:32:18] Interesting, thanks. Can ?> at end lead to excessive whitespace towards the *start* of output? [04:33:13] Things after the ?> are outputed, so when text editors or other things add extra whitespace there they become part of the output [04:33:31] anyone around willing to give me a hand with a database query? [04:33:33] So LocalSettings.php should not have ?> at the end? Mine does, but I originally ran config on many MediaWiki versions ago. [04:33:36] The issue there is that headers are sent after files are included... [04:34:11] And because whitespace is content, php outputs a number of errors saying that headers have already been sent as a result of the whitespace [04:39:54] Dantman, thanks. I'm asking on behalf of a SMW user who's having problems. I just tried my own LocalSettings.php with and without ?> on end and don't see any difference in HTML output. [04:40:09] 03(NEW) Robots.txt exempt for browsershots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13307 15enhancement; normal; Wikimedia: Site requests; (slakr) [04:40:19] :) [04:45:32] 03(mod) Add personal Common.css & Common.js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10183 +comment (10dan_the_man) [04:50:51] bah, that should have *only* been common css/js, and a skinname class in the [04:51:03] [04:51:18] 20/20 hindsight [04:53:36] Using Lockdown: if I wanted to restrict all rights in a namespace to the group 'user', is this the correct approach? $wgNamespacePermissionLockdown[NS_STAFF]['*'] = array('user'); [04:54:55] (omg, typos today are bad) [04:56:59] Anyone? [04:57:38] I -feel- I'm right, but my mind is too cloudy lately [05:00:39] 03(NEW) reflist and footnote problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13308 trivial; normal; MediaWiki: Page rendering; (bynars99) [05:05:22] Looks like I got it right. [05:05:26] *Elrahc heads off to bed [05:20:56] Simetrical: I'm here now, if you're awake [05:28:06] Werd: can you clean up chick's and modern's main.css .catlinks dupliwhatevering? [05:30:01] Splarka: eh? [05:36:15] bah, I told ya last nights, but you was sleepy [05:36:39] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/chick/main.css?view=co&content-type=text%2Fplain [05:36:41] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/modern/main.css?view=co&content-type=text%2Fplain [05:36:50] both have .catlinks {} twice [05:37:04] both have contrary definitions (now that you changed #catlinks to .catlinks) [05:37:35] I'll do it later [05:37:38] I'm actually doing work now [05:37:42] wouldn't want to break the chain [05:45:27] "work" ? [05:46:40] study. [05:46:48] *Werdna has half-yearly examinations in two weeks. [05:47:01] and I'm aiming for 7th, 1st, 1st, 1st, 10th [05:47:04] hence, work. [05:47:57] *Splarka grins [06:07:41] Hmmm... Simetrical doesn't look here... Who should I ask about LinkCache::$mClassVer...? [06:08:14] 03(mod) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +comment (10sylvain_machefert) [06:09:41] Dantman|FS: yes he does. [06:10:14] here as in active... he hasn't replied to any name pings for awhile [06:11:06] He's in EST. It's 2 in the morning. [06:16:49] give the poor guy a break :) [06:29:51] Good morning! Is it possible to use FCGI + clean urls at the same time? [06:30:42] yes [06:33:43] I need help to install different sidebars on my wiki. I've tried what I read in the manual, but I can't make it work. [06:45:10] 03(mod) Enable transwiki import for sysops on Alemannic Wikipedia [als] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13306 +shell (10raimond.spekking) [06:48:18] mors [06:52:23] hello [06:52:56] Hello. [06:53:19] I was trying to use the "hidden template" at the end of this page http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Format but on my wiki it doesn't seem to work, should I install it or something? [06:54:27] Taggnostr, yes, it's a JavaScript that needs to be copied to MediaWiki:Common.js on your wiki [06:54:46] where could I find it? [06:55:15] most accurate version is on http://ru.wikipedia.org/wiki/MediaWiki:Common.js [06:55:29] between "//Collapsible Tables and Divs" and "//[[Special:Search]] extended" [06:55:32] just copy and paste [06:55:47] ok, let me try [06:56:03] don't forget to clear your cache after you finish [06:57:42] ok, thanks [06:58:34] np :) [07:01:01] see also http://en.wikipedia.org/wiki/Wikipedia:NavFrame [07:01:32] ok [07:41:29] is it possible to batch upload images? [08:06:02] When I click on embedded Image a get image info page, but I'd like to be forwarded to custom link. Is it possible? [08:07:23] !imagelink [08:07:23] --mwbot-- Image linking is intentionally not supported in MediaWiki, so access to the image's description page is always available. If you need image links, see for methods and information. [08:10:45] Template:Click looks fine. thx [08:16:57] hmm. On wikipedia Template:Click contains {{doc}} template, which is taken from Template:Click/Doc, but on my wiki installation filling Click/Doc gives nothing, it want Temaplte:Doc to be filled. [08:22:58] that is the instructions transcluded from a subpage, just remove {{doc}} or copy the subpage too [08:23:12] note that Wikipedia is using the Imagemap extension for its template:click now [08:23:20] so you'd need to install that too [08:24:13] I've copied wikipedias Click/Doc to my Click/Doc, but on Click still nothing, only link to Template:Doc [08:24:58] So it doesn't look for {{doc} in subpage, it look for it in root [08:25:11] ahh, you need wikipedia's template:doc too [08:32:37] I need ParserFunctions extension too =) Wiki administration isn't so easy as wiki editing =) [08:36:04] How can I edit the Special:Search page? I want to get rid of the message: "There is no page titled "query". You can create this page." [08:39:07] baron__: you don't need any of that if you use the Template:Click on mediawiki.org instead [08:39:12] http://www.mediawiki.org/wiki/Template:Click?action=edit [08:39:36] and then just remove {{doc}} [08:40:03] omnivibe: edit the system message called [[MediaWiki:noexactmatch]] [08:43:48] Splarka: thanks :) where do I do that? [08:43:57] (I'm a newbie) [08:44:40] omni, heh, well, search for it... [08:44:52] type that into the search box: MediaWiki:noexactmatch [08:45:46] There is no page titled "$1". You can create this page. o_O [08:46:10] that $1 gets replaced by the page title link, when the message is utilized [08:46:22] Anyone familiar with the Language class, $wgLang and $wgContLang? I'm doing some auto-translation of SMW facts. I can get translated page titles from the langlinks table for $wgLang. [08:46:27] or, rather, just the title [08:46:29] a) is there any MW helper code to do this [08:46:46] wth [08:46:47] b) how can I tell if the user's language is the same as the content language so I don't waste time on the queries? [08:47:04] I dropped when you started talking translated page titles [08:47:35] you can compare $wgContLang->getCode() to $wgLang->getCode() [08:47:43] they probably mean using the translated title of the interlang links [08:48:24] hmm [08:48:25] (not that that is highly reliable...) [08:48:47] Nikerabbit, thanks, getCode() or mCode is what I thought. I'm surprised Language doesn't have a $wgLang->isContentLanguage(). [08:48:49] I wouldn't say it's not reliable, it just that they aren't translations [08:49:21] they just happen to be translations usually :) [08:49:23] how can i add a static block of wikisyntax to the beginning of for example the community portal page? I feel that using a bot to check & modify the page is somewhat a counter-intuitive way to do it. [08:49:47] Nikerabbit, yeah, what's the term for [[fr:The french name of this page]] ? It's an interwiki ref that winds up in langlinks table. [08:50:07] interlang [08:50:31] or langlinks as you called it ^_^ [08:50:34] do i need an extension or is there any other way to add static blocks to (almost) any wikipage that do not show up in the edit textarea when editing the page? [08:50:36] As for my a) question, I was hoping that the Title object would have code to hand back the "interlang" name of a Title in another language. [08:50:39] örör [08:51:20] piksi: I think something like that has been written for sandboxes [08:51:29] skierpage: it doesn't because that isn't very useful in theory [08:51:52] piksi: but the usual method is to protect the page and transclude editable content [08:52:29] Splarka: nope, the sandbox page in wikipedia only has a tag for "please leave this line alone" and a comment that a bot will revert the page to a certain revision every 12 hours [08:53:04] Splarka: how can i transclude editable content? [08:53:21] Nikerabbit, I beg to differ. Semantic MediaWiki can offer translations of all the facts on a page by getting the translated titles of the properties and values from langlinks (if they exist). Sweet! [08:53:50] piksi: I said it *has* been written, I didn't say "oh, wikipedia does that" [08:54:10] believe it or not, while Wikipedia is the cutting edge of the core software, they aren't running all the crazy extensions ever written [08:54:20] skierpage: would be if they all actually were translations.. [08:54:35] Splarka: I think there is a problem using a colon... when I try editing the page, it just tells me $1, but when I edit that page, it just edited a page literally called $1 (or %241) [08:54:39] i'd rather expect wikipedia not to run the most bleeding edge core ;-> [08:54:40] omegawiki is better in that [08:55:14] omnivibe: ahh, what version of mediawiki are you using? [08:55:21] 03dale * r31742 10/trunk/extensions/MetavidWiki/skins/ (5 files in 3 dirs): mv_embed remote embeding with js DOM data [08:55:23] piksi: well, heh, they do that because mediawiki evolved from wikipedia's needs... [08:55:49] * MediaWiki: 1.11.0 * PHP: 5.2.4 (cgi) * MySQL: 5.0.45-community [08:56:10] anyway, you can make something like.. [[Community Portal]] protected with content: Some messsage .. {{:Community Portal/Editable}} [08:56:13] <[blackb]> i would implement same word function on my wiki server [08:56:22] <[blackb]> have you same idea how can do thet? [08:57:42] Splarka: but ok, i'll go looking for a related extension [08:59:36] omni: well, that sounds like a bug, sometimes what worked was to transclude the $1, like {{msglink}} with Template:Msglink containing [[$1]] [09:00:05] is there a way to revert massive amounts of edits by a single user in mediawiki? [09:00:13] What's weird is though that MediaWiki:Edit shows me a system message... [09:00:34] tyberius: if you are a sysop or have the 'rollback' right, you can go to their contribs page and click all the rollback links [09:00:47] Splarka, thousands of edits, apparently [09:01:04] nuke extension? [09:01:09] http://www.mediawiki.org/wiki/Extension:Nuke [09:01:17] Splarka: No, edits to existing pages. Maybe cleanupSpam.php is relevant? [09:01:38] ouch [09:01:50] Splarka: i'm talking about hundreds of thousands, if not millions, of edits [09:02:00] *Werdna waves [09:02:03] i can't humanly click that many rollback links! [09:02:10] you said it was wikimedia - which wiki? [09:02:12] where/why/how.. heh [09:02:53] one of the editor accounts on my wiki was compromised and exploited by an attack bot that replaced every single page in the database with spam, most of them several times over [09:03:02] omnivibe: oh, wait, you mean %241 on the system message page itself? [09:03:25] omnivibe: that is normal if so, it will resolve when used as the search message, ignore it (edit the page normally) [09:03:37] tyberius: If it doesn't work, try writing your own script [09:03:42] tyberius, the reason I asked if it was wikimedia is because a wmf dev can probably work something server-side to revert the db/user edits [09:03:44] mimic the cleanupSpan script [09:03:56] cleanupSpan? [09:04:05] spam [09:04:23] there's a cleanupSpam script? [09:04:29] uhuh [09:04:35] where? [09:04:36] but it uses $wgSpamRegex [09:04:40] in the maintenance directory [09:04:49] well, that is more for collusion with the Spam Blacklist... [09:04:55] right [09:05:39] you'd probably want to oversight or delete those edits, rather than just revert to the last 'good' edit [09:06:08] and how do i go about doing that? [09:06:43] maybe the spam cleanup could be rewritten to do that... ? [09:09:38] so i've forgotten how to edit the notice thing on my wiki :( [09:09:48] MediaWiki:Sitenotice ? [09:10:25] :D [09:10:25] ah nm, I was proboably confused... by going to Special:Allmessages I found the message and edited it from there :) [09:10:26] yay [09:11:48] hi guillom [09:12:35] well, I am no phper, but the cleanup.php looks pretty simple.. couldn't it be rewrit to automagically oversight (with the extension installed) any 'bad' revisions found? [09:13:25] how to add different logo to different page in media wiki [09:13:27] hey andrew [09:14:09] subhan: in MediaWiki:Monobook.css (assuming you mean in monobook)... [09:14:21] ok [09:14:48] body.page-Main_Page #p-logo a { background-image: url("http://urlheretoimage") !important; } [09:14:50] for example [09:14:55] IS there an extension which allows for keywords? For example, if I have an article called "Lakhish", but I want to set it up so that searches for "Lachish" turn up the same article? [09:15:04] s/IS/Is [09:15:19] omni: the search sucks, the best way to do that is use redirects [09:15:36] :( [09:15:51] aww, don't be sad! [09:15:54] hehe [09:16:07] It'll be okay... [09:16:16] http://www.mediawiki.org/wiki/Help:External_searches [09:17:08] apparently i can't even run cleanupSpam.php [09:21:51] looks like i am basically screwed [09:27:12] <_wooz> lo [09:31:51] can I have different system messages depending on if a user is logged in? [09:32:04] i.e. I want noarticletext to only give an option for editing if the user is logged in [09:37:30] omni: you could do it in javascript... [09:38:04] how so? [09:38:21] although, you /could/ just have the red link to it, with no "you can edit this", anyone who has edited will probably know what that means [09:38:48] if i saw a red link to the article on noarticletext, i'd assume that meant i could edit it [09:39:12] Well, I'm using the wiki for a different purpose... we have a team of people writing articles for the wiki, but those who aren't logged in shouldn't even know it's really a wiki under the hood [09:39:45] heh [09:40:03] but I mean, you could just do: '''There is no page titled "[[$1]]".''' [09:40:05] $wgSiteNotice = 'This is not a wiki.' [09:40:06] So I've got "data['loggedin']) { ?>" all over the theme :) [09:40:14] flyingparchment: lol [09:40:30] Splarka: but the people who are logged in should be able to edit it easily then [09:41:09] !cms | omnivibe [09:41:09] --mwbot-- omnivibe: You are advised to install an appropriate content management package if you want per-page access control and similar restrictions. See if you really want too. [09:41:22] hm, that message is too specific. [09:41:35] but i guess you see the point: use a software designed for what you want to do. [09:41:39] use my cms! it is 157 lines of perl and takes 0.0008 seconds to render a page [09:41:48] a wiki is not a cms. it can be abused for this purpose, but it will alswyas be awkward [09:42:03] Duesentrieb: too late! :) [09:42:23] omnivibe: you'll have to live with it then, or hack it and bend it. [09:42:32] Duesentrieb: that applies to ['read'], not ['edit'] [09:42:36] yeah, hacking and bending is what I'm looking to do :\ [09:42:41] flyingparchment: wasn't tehre something very light, textile based? [09:42:51] Duesentrieb: markdown [09:43:04] textile is for retrieving toolserver page text? :) [09:43:30] omnivibe: find the place where the noarticletext message is used, and add a if ($wgUser->isLoggedIn()) use noarticletext else use anonnoarticletext ... [09:44:07] flyingparchment: huh? textile is a wiki markup spec with implemenations in several langugaes [09:44:09] Thanks :) [09:44:15] markdow. that sounds interesting. [09:44:15] ah [09:44:53] when i want to delete a user, i have to do it in the database, right? [09:45:00] flyingparchment: http://en.wikipedia.org/wiki/Textile_(markup_language) [09:45:06] markdown is a very simple markup language that's meant to be readable as either plain text or formatted html [09:45:06] (is it okay to just delete the entry from the database to delete the user?) [09:45:10] aton`: yes, and you will break referential integrity [09:45:36] aton`: it's possible, but generally a bad idea, to delete a user. why owuld you want to do that, ever? [09:45:54] Duesentrieb: for example you can write headings by writing a line, then writing a row of ========== undernearth [09:46:04] looks nicer than "h1. Header" :) [09:46:13] Any channel for Swedish? [09:46:17] yes, i didn't like that bit either [09:46:32] BjornH: probably. but probably not about mediawiki.ö [09:46:33] Duesentrieb, i have a special extension installed that uses phpbb's user table now [09:46:40] Duesentrieb, what does referential integrity mean? [09:46:45] :-) [09:46:51] Duesentrieb, you mean the user pages? i dont care if they still exist... [09:47:03] no i don't mean the user page. you can delete that lik,e any page [09:47:10] aton`: http://en.wikipedia.org/wiki/Referential_integrity [09:47:31] Duesentrieb, if somebody registers on phpbb with a username that exists in the wiki, that username gets overwritten, which is bad [09:47:38] so i better delete all users [09:47:50] and let them register in phpbb to get access to the wiki, this way there will be no problems [09:48:07] and if they register with someone else's username? [09:48:20] they cannot since then the name is registered in phbb already [09:48:33] Duesentrieb, how could i fix the integrity by hand? [09:48:40] i am willing to spend hours on this [09:49:06] aton`: you just said if they register on phpbb... which implies the username exists on the wiki and not in phpbb [09:49:07] aton`: find all references to the user record in all tables. find a way to "correctly" remove such references. [09:49:35] flyingparchment, once they register in phpbb the username gets also added to the wiki table [09:49:40] flyingparchment, thats part of the extension [09:49:45] aton`: yes, i understand that [09:49:58] aton`: err, if you will be re-registering the users anyway, it would be bad to remove reference.s you would rather want to fix references by numeric user id, following the new ids for the old user names [09:50:07] aton`: so edits stay attached to the correct user [09:50:20] oh right edits [09:50:21] shit [09:50:39] so i better just change user names=? [09:50:39] might it be worthwhile to special:export the whole DB, and import it into a fresh install? [09:50:41] yes. edit history is the major bit about "referential integrity" [09:50:56] and it breaks if a user doesnt exist anymore? [09:50:56] yes, that might be one way to do it. [09:51:05] the integrity breaks [09:51:08] mh [09:51:09] #the wiki will not die from it. [09:51:12] it's fairly robust [09:51:21] but you may experience odd sideffects [09:51:22] i dont want unexpected results anyways [09:51:35] mh [09:51:35] see :) [09:51:40] you could always just change rev_user to 0 for all of those user rows [09:51:40] etc [09:52:00] Werdna, what would that do? [09:52:17] well, it'd know that the user doesn't exist anymore [09:52:24] acting likt it was an anon/maintenance script [09:53:27] where is this rev_user? [09:53:37] what rev_user is used on Special:Import? [09:54:44] hm [09:54:48] i am wondering... [09:55:03] will it be a problem if existing users get overwritten [09:55:14] they keep their name and their id i guess [09:57:04] aton`: usually, if the user exists, it isn't touched. the details depend on how the phpbb auth pugin is written [09:57:05] btw i dont find rev_id in my db [09:57:27] aton`: i would expect it to use existing user accoutns unchanged, but still authenticate against the password in phpbb. [09:57:40] yes i hope so [09:58:00] aton`: the only problem i see is if user A exists on the wiki, and person X registers as user A on phpbb - then he would effectively hijack the wiki account. [09:58:49] 03(NEW) Special: Browse should translate object page and category names - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13309 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (info) [09:59:42] Duesentrieb, exactly! [09:59:50] that's what i said [09:59:59] Duesentrieb, but i guess thats not an issue since my users all have the same rights [10:00:15] except for like 5 mods which i will have register their wiki names on phpbb [10:00:21] flyingparchment: sry :P [10:00:32] don't worry, he ignored it when i said it :( [10:00:38] flyingparchment, sorry i didnt get you [10:00:48] aton`: if you would claim authorship to my edits on wikipedia, i *would* call that an issue. [10:01:01] flyingparchment, i didnt ignore you, just not understand you :P [10:01:39] Duesentrieb, our wiki is much smaller [10:01:51] most of the people know each other in person [10:02:13] and nobody "claims" authorship of anything [10:02:32] *shrug* [10:02:35] just be aware of the issue [10:02:51] okay [10:03:17] so i guess i will just remove moderator rights from everyone for now [10:03:31] and just let the old wiki accounts stay [10:03:39] you could have phpbb user registration take exception to matched nicks, and require them to type in the wiki account password [10:03:50] puh [10:03:54] so if A exists on wiki and they want to register A on php, they have to type A@wiki's password [10:04:04] easy enough to check the hash for match on your end [10:04:08] i'd just delete all wiki users if mediawiki would have a button for it actually [10:04:20] Splarka, i dont like editing source code [10:04:33] of php or wiki? ^_^ [10:04:33] since i need software updates often and i dont have time to hack around it every month [10:04:40] Splarka, both :P [10:04:41] er, phpbb or mediawiki [10:04:48] aton`: deleting all users is simple enough - truncate the user table. but you may not be able to assigne edits correctly. [10:05:12] what do you mean assign edits? [10:05:23] what will happen to an edit if the user doesnt exist? [10:05:44] no one knows :) [10:06:04] probably nothing much. but it may cause confusion in some unforseen place [10:06:07] ...and way [10:06:22] mh that sounds bad [10:06:23] :) [10:06:33] i dont like the "unforseen" part [10:08:04] you never know what you don't. [10:08:48] deleting users is simply not intended. so the system is not built to anticipate that situation. it should be fairly robust, but there's no telling really. [10:08:59] especially since users are "sometimes" referenced by ide, and sometimes by name [10:09:17] if you delete a user and re-create it with the same name but a different id, this may cause confusion [10:09:19] or not. [10:09:24] users are referenced by name? [10:09:31] thats an issue when i change names... [10:09:35] sometimes [10:09:48] aton`: yes, renaming a user is not trivial [10:09:53] hm [10:10:00] aton`: but there's an extesion for this. it does it *realtively* cleanly [10:10:14] i guess i should report "user deletion and user renaming" as a bug... [10:10:14] (though it doesn't deal with deleted revisions that may later be restored, for instance). [10:10:47] aton`: renaming is taken care of mostly. deletion is not something mediawiki *should* support, really. [10:10:56] why not? [10:10:58] you can request it as a feature, but i anticipate a WONTFIX [10:11:22] aton`: because revision history is an integral part of a wiki system. and it is bound to user identities. [10:11:48] you *can* delete users that have no edits. there's even a maintenance script for that. [10:11:48] well when a user is deleted just set the history to "deleted user" [10:12:02] there is an extension for that [10:12:08] it'S called MergeAndDelete [10:12:20] (iirc) [10:12:39] hm but i think its best to leave the accounts just there, right? [10:13:03] aton`: doing this would not be legal on a wiki that does not require all users to pass all rights to all edits to you. [10:13:04] just let the phpbb registration assign it to new users in the worst case [10:13:09] a user_deleted wouldn't be too bad [10:13:20] if the author retains copyright, there must be a way to identify the author [10:13:56] otherwise, you are infringing on the author's copyright. [10:13:59] well all under the assumption that i dont care about copyrights and authorship [10:14:06] (and nor do my users) [10:14:23] you can all share one account then and be happy [10:14:34] hehe [10:15:07] actually the idea is not that bad [10:15:14] but i need a close access restriction [10:15:51] via my preferences i can put the autonummeration for headings on...is there a way to put it on per default for every new user? [10:15:55] i am currently coding an access scheme that allows people to activate names for others so that only people may register that are wanted by people inside the community [10:16:38] and if someone gets in who is not wanted i can later see in the logs who allowed that person and throw both out [10:16:39] mondschein: $wgDefaultUserOptions, but don't ask me what key to use in that array [10:16:41] etc [10:17:06] aton`: using mediawiki as such, you would have to write no code. that would be two lines of config. [10:17:15] ? [10:17:18] with phpbb... well, you are on your own i guess [10:17:38] well since i installed the phpbb extension i will have to code that on phpbb i guess [10:17:40] aton`: you can simply disable account creation for anons, and allow it to regular users. [10:17:53] ah ok...maybe i'll find something in the documentation thx :) [10:17:53] but not with an extraauth extension, right [10:18:08] 03(mod) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +comment (10minuteelectron) [10:18:09] Duesentrieb, that wouldnt log who registered whom, right? [10:18:30] mondschein: there's a key called 'numberheadings'... sounds good? [10:18:49] aton`: only if you install the neruserlog extension (yes this is silly, it should be core functionality) [10:18:49] which extension converts {{#tag:imagemap}} to ? [10:18:57] aton`: *newuserlog [10:19:06] baron__: take a guess :) [10:19:46] "tag extension"? =) [10:20:22] n....ope. [10:20:36] try something more obvious [10:20:57] If you are thinking of imagemap, then it's already installed and still doesn't work =) [10:21:58] Duesentrieb, well i think i am better of with the phpbb extension and my own user-activation code i guess [10:22:37] baron__: uh... i was... sorry, on only now noticed the #tag bit. never saw that before, looks interesting :) [10:22:41] *Duesentrieb hides in shame [10:22:58] aton`: if you think so... [10:23:01] anyways i will try to get everything working, thanks for the help Duesentrieb [10:28:11] can someone tell me how i can reset the password of a user if i have sysop access? [10:28:53] how do i generate encrypted passwords that look like {SSHA}.....== ? [10:28:55] Duesentrieb: I 'm trying to get working Click template from wikipedia on my local wiki [10:29:42] bah that sucks. use icon [10:29:42] 03(NEW) performance: Special:Browse shouldn' t translate if the user's language matches wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13310 normal; normal; MediaWiki extensions: Semantic MediaWiki; (info) [10:29:44] !icon [10:29:44] --mwbot-- [10:31:51] baron__: #tag is a new parser function, it isn't an extension, but a core functionality [10:32:00] flyingparchment: http://www.ritsumei.ac.jp/~akitaoka/rotsnake.gif :) [10:32:05] (well, there is an extension that does almost the same thing, but it was so cool it was made core) [10:32:36] Duesentrieb: #tag turns any xml parser hook into a parserfunction, for parameters and such [10:33:10] (note that xml parser hooks, native html, and magic template tags like are 3 confusable classes, #tag only works on the first type) [10:33:18] Splarka: yes, i guessed that much, but it don't know what defines it [10:33:30] having 1.12 is what defines it, heh [10:33:30] nice idea [10:34:10] works only for wiki-text processing og the tags input though, right? not for the output. [10:34:36] AaronSchulz: one of my favs... [10:35:31] eye-based animation, heh [10:36:37] AaronSchulz: http://images.wikia.com/uncyclopedia/images/6/60/These_eyes.jpg [10:37:22] Duesentrieb: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=29482 [10:40:56] what's the correct way to make some text have a title when it's not a link, or an abbr or an acronym? [10:41:32] flyingparchment: I don't know what you mean. [10:41:39] TRSPTTT [10:41:49] Werdna: i want some text that you can hover over and get a tooltip [10:41:56] oh right [10:42:06] in wikitext? [10:42:10] no, in html [10:42:29] Text, I think [10:42:31] ... title="" [10:42:37] *Splarka did just say that [10:43:18] yes, that's right. Sauce: http://webdesign.about.com/od/htmltags/a/aa101005.htm [10:43:31] *Splarka slaps werdna with a cluebyfour [10:50:52] flyingparchment: You'd have to hack the password generation function in includes/User.php [10:51:21] I don't think there is a hook, I suppose one would be nice though for sites that want more fine-grained encryption. [10:51:32] MinuteElectron: i'm not talking about in mediawiki :) [10:51:33] [of passwords] [10:51:45] flyingparchment: oh, but this is #mediawiki.... LOL [10:51:49] i just want to know what tool can be used to generate passwords encrypted in that manner [10:51:49] *AaronSchulz looks at weird rev_user = 0 scrollup [10:51:57] mmm, unique keys [10:52:10] flyingparchment: what format? [10:52:13] ah I see [10:52:15] never mind [10:52:16] Werdna: SSHA [10:53:09] flyingparchment: http://news.speeple.com/blogs.sun.com/2007/04/06/the-ssha-password-storage-scheme.htm [10:54:10] flyingparchment: dovecot comes with a tool to do all those schemes, for example [10:54:14] (so sanger has it...) [10:55:26] http://blogs.sun.com/DirectoryManager/entry/the_ssha_password_storage_scheme [10:55:30] better link [11:01:50] flyingparchment: I could whip something up if you really want [11:18:53] hello [11:21:02] *Werdna waves [11:27:29] 03tstarling * r31743 10/trunk/extensions/OggHandler/cortado/src/com/fluendo/ (13 files in 4 dirs): [11:27:29] * Fixed bug 11236: graceful failure when there is no sound card [11:27:29] * Added even more debugging output [11:28:26] 03(FIXED) Java error when no audio device available - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11236 +comment (10tstarling) [11:42:24] 03tstarling * r31744 10/trunk/ (cortado/ extensions/OggHandler/cortado/): Moving the Cortado fork to its own directory under /trunk. [12:29:45] hi [12:29:59] does anyone know of a bugtracker that integrates well with mediawiki? [12:30:04] *a free one* [12:30:07] örps [12:30:18] do you really want to do that? [12:30:33] and integrate how? [12:30:42] well, user authentication for one [12:30:50] and possibly linking issues to a wiki namespace [12:31:07] but thats not important for now [12:31:51] well we use styled bugzilla, but it's not integrated that much [12:32:23] i searched for a mantis integration, but thats limited too [12:33:57] The only way to do it would probably be as an extension, there are very few "formal" bug trackers (Bugzilla, JIRA, FogzBugz etc.) and they don't really have MediaWiki integration. The less formal ones won't either as they are more higldipigldy. [12:34:08] In fact, I wouldn't mind making a bug tracker extension if I had the time. [12:35:41] phrearch: using a common user base should be simple enough using an auth plugin (custom or ldap based). [12:35:51] hm yea [12:35:51] you can integrate jira with several external authentication systems that mediawiki also supports [12:35:59] no idea about bugzilla though [12:36:00] phrearch: defining a prefix for linking from the wiki to bugs is trivial [12:36:02] i think ill go for mantis then [12:36:11] shouldnt be that hard :/ [12:36:36] there was already some work towards such an extension [12:36:48] phrearch: making links from the bug tracker to the wiki nice requires a little hacking (this was done for mediawiki's bugzilla install) [12:37:04] yea [12:37:22] being able to use wiki-syntax on the bug tracker, having a common threading system, etc, would all be very nice, but that would be VERY tricky [12:38:00] basically, making the two aware of each other is not so hard. but true integration is. [12:38:31] A ground-up MediaWiki extension bug tracker wouldn't be that hard to make though, and be pretty decent. [12:38:33] i guess the first thing is that mantis uses mediawiki's user db [12:39:04] not the other way around, cause that makes other integration harder (like phpbb) [12:40:19] 03jojo * r31745 10/trunk/extensions/Collection/ (Collection.body.php Collection.i18n.php Help_Collections.txt): add ability to POST collections to a print-on-demand partner [12:41:01] phrearch: if you want multi-app integration, use ldap based auth for all. that's pretty standard so i'd hope it's suppoerted by most. [12:43:28] yea, that would be great [12:43:44] but im not that familiar with openldap [12:43:55] guess that will take some time :/ [12:44:08] but ldap rocks yes [12:51:27] <[blackb]> hi all [12:51:40] <[blackb]> how can add tool like strike on mediawiki ? [12:51:53] <[blackb]> or superscript [12:52:02] edit toolbar [12:52:11] <[blackb]> or table [12:52:19] <[blackb]> where is toolbar? [12:52:39] <[blackb]> you say on my wiki [12:56:54] <[blackb]> could say wich code i must in it plz [12:57:00] <[blackb]> to show all icons [12:57:55] [blackb], wait [12:59:53] http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons [13:02:22] [blackb], ^^ [13:09:45] <[blackb]> where i must download all image Sasa^Stefanovic? [13:10:12] Can I upload nearly 100 files quicker than with the Upload form? [13:10:50] [blackb], you don't need to download it, just edit in source code url to image file [13:11:08] http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js [13:11:31] 'N':['4/4b/Button_nbsp.png','nonbreaking space',' ','',''], [13:11:38] this is one line that define where is button [13:11:47] hi [13:11:54] <[blackb]> where i must put this lists? [13:11:58] First sorry for my bad english [13:12:01] http://upload.wikimedia.org/wikipedia/commons/f/f0/Image_icon.png [13:12:09] [blackb], on common.js on your wiki [13:12:10] I installed the the wikimedia software on my webspace. And now Ive got a problem [13:12:19] http://tai07.ta.ohost.de/wiki/index.php/Hauptseite [13:12:21] www.site.com/wiki/Mediawiki:Common.js [13:13:02] 03tstarling * r31746 10/trunk/cortado/ (build.properties build.xml): [13:13:02] * Fixed build.xml so it checks the timestamps, instead of recompiling every file, every time. [13:13:02] * Use the Wikimedia revision number for the output file version suffixes, instead of the old Fluendo version number. Configurable via build.config. [13:14:02] How to make nation characters in URL to be shown as is, not as %D0%A8%D0 etc [13:14:51] Is there someone who could help to add two different sidebars to my wiki? I read and tried what I found in the manual, but it didn't work. [13:15:30] archivist, it's just list in Mediawiki:Sidebar [13:15:36] add new line and start with * [13:16:10] http://nopaste.com/p/ayFMgCWd2 This is shown when i open a Site of my wiki [13:16:20] Do u know how to fix it? [13:18:18] 03(NEW) New mailing list for finnish Wikipedia Oversight users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13311 15enhancement; normal; Wikimedia: Mailing lists; (agony) [13:21:35] Hey... I didn't know wikipedia is using PHP... but in case you didn't know http://en.wikipedia.org/wiki/index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 <-- this PHP easter egg is activated. [13:22:09] is this intentionally turned on? [13:22:57] i don't think that does any harm [13:22:57] I dont know [13:22:57] soryy :( [13:22:57] *sorry [13:23:14] btw, index.php is not on /wiki/ but in /w/ [13:23:58] yup, but this URL refers to the article "index.php" [13:25:35] Apollo9, it doesn't make a difference, it gets rewritten to index.php anyway. [13:25:47] This works too: http://en.wikipedia.org/wiki/DAeevsavdsg43?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 [13:26:02] http://en.wikipedia.org/wiki/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 [13:26:03] Still cant undertand how to use {{#tag:}} =( For example {{#tag:nowiki http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Rally}} doesn't produce http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Rally [13:26:03] Seriously, wtf? [13:26:07] I doubt we care at all. [13:26:15] Why are PHP including easter eggs in a programming language. [13:26:15] Why should we? [13:26:19] uh, what's that [13:26:21] Although I agree with the WTF. [13:26:33] baron__, was talking to Apollo9. [13:27:02] MinuteElectron, probably its way to be sure they have their credits somewhere [13:27:10] I just thought I'd tell you in case you are not happy with that... you can turn that off in php.ini: ExposePHP = Off [13:27:20] at least that works for me [13:27:32] *Platonides thought ExposePHP was only for X-Powered-By [13:27:35] Do you talk about my problem? [13:28:18] Platonides: Maybe, but nevertheless - it's a programming language, and who is ever going to type that in by accident. [13:28:32] This is the most rediculous thing I have ever seen. [13:28:59] *ever* [13:29:00] Simetrical: I mean [ [ Rally ] ] - it was replaced to wikipedia link =( [13:29:10] most easter eggs are hard to get to [13:29:29] waht's the point in including a car race program in Excel? [13:29:38] Apollo9, this is more a #wikimedia-tech thing, but I doubt we care anyway. [13:29:51] Simetrical: OK [13:30:16] baron__, probably Konversation has some clever "feature" that expands wikilinks. [13:30:39] Platonides: But, it is a programming language -- that makes a huge difference, the compiler is not supposed to mess around with stuff just because of an "easter egg". [13:31:26] yeah, shouldn't do that [13:32:10] i wonder if that would fuck up caching [13:32:22] probably not [13:32:33] anyone have an idea as to why this timeline isn't working ? [13:32:34] http://en.wikipedia.org/wiki/User:TheDJ/Sandbox [13:37:37] <[blackb]> Sasa^Stefanovic: i m having same problems could you explain step by step what can i do plz [13:38:05] sry, i need to go in 5 mins [13:38:10] it's explained there [13:38:18] <[blackb]> the first file to edit is ? [13:38:20] just copy source code in mediawiki:common.js [13:38:30] http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js [13:39:09] <[blackb]> [[Mediawiki.common.js]] [13:39:15] <[blackb]> [[Mediawiki:common.js]] [13:39:54] yes [13:40:01] or mediawiki.js [13:40:44] Sasa^Stefanovic, there's no mediawiki.js [13:40:55] well, grr [13:41:02] Mediawiki:Monobook.js [13:41:10] blah, i need to go :) [13:41:17] time to sleep [13:41:22] <[blackb]> the url is incorrecty [13:45:25] Why have we forked Cortado? [13:46:22] "Age: 10 months" [13:46:36] hm. strange... In toolbox menu "File upload" items links to "index.php?title=Wikipedia:Upload" - note "Wikipedia:" it's not my local wiki =( [13:50:09] <[blackb]> i can't see any result [13:50:22] <[blackb]> to add at Mediawiki:Monobook this code [13:50:48] <[blackb]> to add at [[Mediawiki:Monobook.js]] this code [13:56:04] Simetrical: Cortado was all but dead. [13:56:30] Yeah, I just looked at the repo. [13:56:35] No updates for 10 months. [14:01:51] 03gri6507 * r31747 10/trunk/extensions/WhiteList/ (4 files): [14:01:51] V0.8 [14:01:51] * fixed a bug in processing the changes to whitelist after review [14:01:51] * fixed a bug in accessing other user's whitelist [14:01:51] * fixed a bug in displaying links to categories on main pages for both the restricted users and managers [14:01:52] * be more careful parsing out regex's when they are coming in from the outside world [14:05:51] 03(mod) Rename the "Wikipedia" namespace to " =?UTF-8?Q?=E0=A4=B5=E0=A4=BF=E0=A4=95=E0=A4=BF=E0=A4=AA=E0=A5=80=E0=A4=A1?= =?UTF-8?Q?=E0=A4=BF=E0=A4=AF=E0=A4=BE?=" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13300 (10mahitgar) [14:11:28] 03gri6507 * r31748 10/trunk/extensions/WhiteList/ (3 files): reserved the changes of
=>
[14:23:15] Hello, [14:23:29] Just wanted to say thanks for the help yesterday :) [14:24:20] Hi there [14:24:28] Got things sorted out just the way I wanted them, and I was already looking for a new software before I finally found out about the Lockdown extension [14:24:53] So thanks for that, Duesentrieb, and thanks to MZMcBride for helping me with user rights [14:25:10] *Elrahc waves and heads off [14:32:25] hi [14:34:10] anyone around willing to give me a hand with a database query? [14:35:00] I need to get a list of all pages that have less than three revisions [14:35:04] I need help too, to add a second sidebar. I tested the way given by the manual, but I haven't got any success [14:37:31] 03siebrand * r31749 10/trunk/extensions/WhiteList/ (4 files): Remove EOL whitespace [14:38:07] <[blackb]> i would add this toolbar how can i do? [14:38:11] <[blackb]> http://en.wikipedia.org/w/index.php?title=Wikipedia:Toolbars&action=edit§ion=3 [14:38:37] Betacommand, select rev_id,rev_page as rev_page2 from revision where (select count (rev_id) where rev_page=rev_page2 < 3) ? [14:39:29] Platonides: thanks ll try that [14:40:34] <[blackb]> Platonides: could u help me please? [14:41:42] [blackb], http://wikipedia.mozdev.org/download.html [14:42:16] Platonides: that is giving me an sql error [14:42:52] <[blackb]> done tnx [14:43:58] Betacommand, i'm not too fluent on complex sql syntaz [14:44:18] Platonides: err, a join *and* a subquery? why= [14:45:23] Betacommand: try this: select page_id, page_namespace, page_title from page where (select count(*) from revision where rev_page = page_id) <3 [14:46:17] Betacommand: alternaqtively, select page_id, page_namespace, page_title from pag join revision on rev_page = page_id group by page_id having count(*) < 3 [14:47:14] Duesentrieb: thanks [14:57:32] <[blackb]> see you and tnx a lot for your help you are very good people [14:58:52] 03evan * r31750 10/branches/openid_2.0_update/OpenID/ (5 files): [14:58:52] Remove the MemC storage class; use file storage by default. [14:58:52] TODO: support SQL, memcached storage. [14:59:59] Duesentrieb, i didn't care much about the first select [15:00:14] but nonetheless i forgot the table name on the subquery :( [15:05:03] I need help to add a second sidebar. I tested the way given by the manual, but I haven't got any success [15:16:53] How to allow national characters in URL? [15:17:39] baron__: you can't, the url specification does not allow them. [15:18:03] baron__: you have to use the encoding specified for special characters in urls [15:18:27] baron__: http://en.wikipedia.org/wiki/Percent-encoding [15:21:17] 03evan * r31751 10/branches/openid_2.0_update/OpenID/OpenID.setup.php: Fix autoloading for server status. [15:28:44] hello folks [15:28:51] hi frankythereal [15:28:57] i need help about mediawiki [15:29:47] frankythereal: just say your question [15:29:52] !ask | frankythereal [15:29:52] --mwbot-- frankythereal: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [15:30:03] ok [15:30:39] i need a ext. for mediawiki to administrate all stuff [15:30:58] mediawiki run on a ubuntu server [15:31:03] frankythereal: define "all stuff" [15:32:02] a better useradmini [15:32:46] a nother point is fileupload for the editorusers [15:32:54] i want to add a new menu to the main page, any good tutorial or example somewhere? I cant find anything... [15:33:31] ? [15:34:38] Piero, I need the same info, as I want to add another sidebar depending on whether or not the user is logged. I read the manual, but the way I did, didn't work. [15:35:03] yeah it sucks, the manual is not helpful at all... :( [15:35:20] piero [15:35:31] do you know [15:35:43] a administration tool for mediawiki ? [15:36:56] frankythereal: yes, mediawiki itself :) [15:37:09] ;) [15:37:14] a better thing [15:37:23] what do you mean? to administrate what? [15:37:23] frankythereal: there is no better thing. [15:37:24] so i can better administrate my users [15:37:33] :s [15:37:44] frankythereal: err, what do you want to do to your users? [15:37:54] yeah you're not very clear... [15:38:11] there's not much to do except block them in an emergency. [15:38:13] hmm i want to make 3 groups [15:38:31] frankythereal: edit LocalSettings.php [15:38:36] !groups [15:38:36] --mwbot-- For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [15:38:39] use the namespace [15:38:47] and groups [15:38:53] ok [15:39:20] a nother prob is that i want give the users the [15:39:37] setting up permissions and groups is considered a job for the site andmin, not an on-wiki admin. siteadmin stuff is done by editing theconfig file, tehre' [15:39:39] posibility to upload datas [15:39:44] there's no web interface for that [15:39:52] (one reason for this is security) [15:40:02] !upload | frankythereal [15:40:02] --mwbot-- frankythereal: File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [15:40:02] ok [15:40:36] ok thanks [15:40:52] and get the users a interface for the upload then ? [15:41:13] sure [15:41:20] at Special:Upload [15:43:47] thanks for the support and have a good week [15:43:56] Duesentrieb: do you know when the next mediawiki release is? [15:45:24] chuck: "soon" [15:45:33] whenever brion has time or something [15:45:40] :P [15:45:54] 1.12 is branched, so i guessthere should be an rc bundle soonish. maybe there is one by now eve [15:45:56] n [15:46:24] has time for what? tagging it in svn, archiving the the source and putting it on the wiki, and sending an announcement on the mailing list? :P [15:47:51] aww, i can't connect to viewvc for some reason :-/ [15:49:10] hell if i know. whatever a release manager does before releasing :) [15:49:19] a code review would probably be pushing it. [15:50:05] what new features are part of this release? [15:50:09] something about category hiding? [15:52:09] don't know if that went in [15:52:24] look at the release notes in the branch (once the repos is back) [15:52:52] yeah viewvc is really slow, but i did just run "svn update" on my wiki farm so that should have it.. [15:56:12] If I do something like that: $guidepreviewobject = $wgSpecialPages['SpecialGuidePreview'];, where do I have to define 'SpecialGuidePreview' ? [15:57:53] I created a new special page and i want to assign this object to an array in order to use it then.. :p, but i dont understans how to use $wgSpecialPages [15:58:38] I am alone in this big chat room... :'( [16:05:05] Hi guys, how can i edit the menu in mediawiki ? (left side) [16:06:47] hello? [16:07:16] !sidebar | HyperDevil [16:07:16] --mwbot-- HyperDevil: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [16:07:52] thanks i will read the doc :) [16:07:55] mwbot: I need help on that : different sidebars for logged in users and anonymous users (php) [16:08:09] IRC needs a "Yes, I have read and understood the topic" stage before allowing people to speak :) [16:09:07] when i do $wgSpecialPages['SpecialGuidePreview'], where should have i defined 'SpecialGuidePreview' ?? [16:09:45] i cant find anything useful about $wgSpecialPages in the manual [16:10:20] anybody? [16:12:28] the guy I inherited a wiki installation from somehow managed to disable edits in a way that produces "The action specified by the URL is not recognized by the wiki". How is that done? [16:13:01] 03(NEW) spelling error in languages/messages/MessagesDe.php - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13312 trivial; normal; MediaWiki: Internationalization; (lists) [16:16:17] 03(ASSIGNED) spelling error in languages/messages/MessagesDe.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13312 +comment (10raimond.spekking) [16:16:56] DireFog: ah, that has to do with action paths [16:16:58] !actionpaths [16:16:58] --mwbot-- I don't know anything about "actionpaths". [16:17:00] !actionpath [16:17:00] --mwbot-- I don't know anything about "actionpath". [16:17:02] hmm [16:17:05] !action-paths [16:17:05] --mwbot-- I don't know anything about "action-paths". [16:17:15] @search action paths [16:17:15] --mwbot-- Results: [] [16:18:14] chuck: thanks, I found something that might help :-) [16:19:33] hum. that doesn't seem to have been it :-/ [16:19:38] 03(NEW) Please commit bug-fixed code to fix trivial bug in subpagelist3 extension. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13313 trivial; normal; MediaWiki extensions: General/Unknown; (mccormack) [16:21:40] wassap [16:22:12] trying to determine how my predecessor killed the 'edit' action :-/ [16:24:09] hey brion [16:24:37] DireFog: you don't want anyone to be able to edit pages? [16:24:48] theres another way to do that, but it's per namespace [16:25:32] chuck: I'd like to just kill most interactive parts if the wiki is accessed over a non-HTTPS connection. [16:25:43] ah, hmm [16:26:16] the guy who set this up somehow managed to completely get rid of the edit action apparently, and since it survived a MW upgrade, I suppose it's somewhere in the config. [16:26:50] ah, correction, it didn't survive. [16:26:58] you could try to pastebin the config and remove the passwords.. [16:27:31] looked over that already, it doesn't touch anything related to that :-/ [16:29:12] I'll just nuke the whole permissions array except for a select few actions on a non-secure connection :-D [16:39:32] that should do the trick... http://pastie.caboo.se/164065 (on non-secure connections, the DB user is also restricted in the same way) [16:41:54] how do I get a list of all user accounts? [16:42:30] DireFog: Special:Listusers [16:42:36] thanks [16:42:42] or SELECT * from users [16:55:45] ah OK, he just killed the stuff in index.php [17:00:47] 03(NEW) Request a Special:Wantedfiles page to list images/ media that are linked to but don't exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13314 15enhancement; normal; MediaWiki: Special pages; (voyagerfan5761) [17:00:59] 03raymond * r31752 10/trunk/ (4 files in 4 dirs): Localisation updates German [17:07:44] Im trying to figure out a query so that I can get a list of users who have made more than X number of edits to the same pages as a user, anyone willing to give me a hand? [17:15:18] 03(NEW) API editing should support adding new sections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13315 15enhancement; normal; MediaWiki: API; (cbm) [17:17:22] 03raymond * r31753 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: The variable $1 was removed from 'revreview-flag' some time ago. [17:19:12] 03(FIXED) spelling error in languages/messages/MessagesDe.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13312 +comment (10raimond.spekking) [17:23:18] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10pathoschild) [17:25:11] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10robin_1273) [17:35:32] 03(mod) API editing should support adding new sections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13315 +comment (10roan.kattouw) [18:08:44] i have a script i want to post on my wiki site, how can i put the script inside a white area, so that # works without interfering with wiki [18:08:49] like a [18:08:57]
[18:09:12] 	or  etc if you install the syntax highlight extension
[18:10:03] 	ok thanks for that :) when i press enter in the editor, the enter does not appear on the page.. do i need to use 
? [18:10:42] see my above suggestions [18:11:19] for enters? [18:15:15] 03raymond * r31754 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: [18:15:15] Localisation updates German. [18:15:15] Some tweaks from http://de.labs.wikimedia.org/wiki/Wikibooks:Bugs [18:16:11] *fajro is away: Gone away for now. [18:21:32] is it possible to set mediawiki to require and admin to verify all changes that have links out to internet in them? [18:22:29] zoobox: no, but you can add a captcha check for this [18:22:37] *fajro is back. [18:23:44] *fajro is away: Gone away for now. [18:27:53] brion, ok that whould stop the linkfarming I guess [18:28:03] Debugging shortcut request: I've got a special page that is POST'd to, and for some weird reason the browser ends up as if it were an empty search [18:28:16] Which seems so weird [18:28:20] e_s_p: is one of your fields named 'search'? [18:28:27] No, I don't think so [18:28:28] or your submit button? [18:28:52] can you show me? [18:29:09] Uhh... It's a little tricky [18:29:15] I'll post the HTML code [18:29:37] It's when you're using a MW account as an OpenID [18:29:45] k [18:30:35] I think I found it! [18:30:38] (The problem) [18:30:52] My form's not closed correctly. [18:31:21] :) [18:31:30] zoobox: http://www.mediawiki.org/wiki/Extension:ConfirmEdit [18:32:11] ok thanks [18:32:27] http://pastebin.ca/936883 <-- there's the broken code... lessee if I can fix it. [18:32:54] "svn: This client is too old to work with working copy 'extensions/DumpHTML/wm-scripts'; please get a newer Subversion client" [18:32:55] huh [18:32:59] that doesn't sound good [18:37:22] wheeeee! [18:37:26] That worked. [18:38:29] congrats :D [18:38:38] 03(mod) reflist and footnote problem - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13308 (10huji.huji) [18:41:23] brion: do you know if mediawiki svn is having any problems? [18:44:49] chuck: right now? no. a couple hours ago? yes. [18:45:13] brion: okay good, i was wondering if it was safe to run svn update on my wiki farm's code now :-) [18:45:19] yes [18:45:50] meh, nothing good, just some more german messages [18:45:54] damn germans! :) [18:46:04] :P [18:46:04] heh [18:46:28] i love mediawiki's "continuous integration development model" [18:46:48] i can run svn update to use the latest code, while being mostly sure that the code will work, as its used in all the wikimedia projects :P [18:47:27] *brion stabs linux dependency hell [18:47:41] mm what distro [18:47:43] ? [18:47:48] an old fedora [18:47:57] ah, yeah [18:47:58] it's a core box, we don't really want to upgrade it willy-nilly :) [18:48:10] oh, a wikimedia server? [18:48:21] or is it for something else [18:48:22] *nod* [18:48:39] *chuck hugs apt [18:49:10] all new boxen are ubuntu, we keep them a bit more up to date [18:49:21] just haven't phased out al lthe old ones yet [18:49:25] ah, that's a bit nicer imo [18:49:38] i didn't really like yum when i tried fedora 7 on my ibook [18:52:43] brion: do you know what noc.wikimedia.org is for? [18:52:56] noc noc [18:52:59] who's there? [18:54:01] hello [18:54:26] *Hojjat blinks [18:54:57] flyingparchment: lol do you know what its for? [18:55:13] it has a couple cool config files to read at /conf/ [18:55:14] chuck: stands for Network Operations Center [18:55:18] well more than a couple [18:55:20] MinuteElectron: ah [18:56:19] *e_s_p does the happy coder dance [18:56:28] i took a few things from commonsettings.php to make my wiki farm work lol [18:58:54] 03(mod) Robots.txt exempt for browsershots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13307 +shell (10raimond.spekking) [18:59:29] 03evan * r31755 10/branches/openid_2.0_update/OpenID/SpecialOpenIDServer.body.php: [18:59:29] Further debugging with the OpenID 2.0 code. [18:59:29] Found an HTML bug (Who knows how long that's been there...?) and a new [18:59:29] param for the server constructor. Seems to work pretty OK now. [19:00:27] hmm, surley OpenID is an extension not a branch? :\ [19:00:35] surely it is! [19:00:56] However, I'm working on bringing the code into line with the new OpenID 2.0 standard [19:01:20] Oh, right; it's an OpenID extensoin branch. [19:01:20] gotya [19:01:20] So I'm avoiding destabilizing the "main" branch [19:01:52] 14(DUP) Request a Special:Wantedfiles page to list images/ media that are linked to but don't exist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13314 +comment (10Eugene.Zelenko) [19:01:53] 03(mod) Special page to list missing files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6220 +comment (10Eugene.Zelenko) [19:03:28] 03(mod) Robots.txt exempt for browsershots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13307 (10brion) [19:04:02] 03raymond * r31756 10/trunk/extensions/SubPageList3/SubPageList3.php: * (bug 13313) Commit from http://www.mediawiki.org/wiki/Extension:SubPageList3/SPL3Code [19:05:27] 03evan * r31757 10/branches/openid_2.0_update/OpenID/SpecialOpenID.body.php: [19:05:27] Replace call to old Yadis code with new Yadis code. [19:05:27] Services_Yadis -> Auth_Yadis. [19:05:37] 03(FIXED) Please commit bug-fixed code to fix trivial bug in subpagelist3 extension. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13313 +comment (10raimond.spekking) [19:06:02] 03dale * r31758 10/trunk/extensions/MetavidWiki/ (includes/MV_Title.php skins/mv_embed/mv_embed.js): improved mv_embed reomote embeding support [19:06:10] why do i have to use
to make enters?? [19:07:47] is there a easier way? [19:08:27] two new lines? [19:08:43] one new line [19:08:45] just an enter [19:10:08] i need just one new line [19:12:26] For just a line break,
is the thing. If you have many
, ask yourself if it's really a list or something :) [19:13:22] 03(mod) blows up small images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13214 (10brion) [19:13:40] hello, I am working on a project on knowledge harvesting where we will be creating an archive of existing wikipedia articles in a networked database. I have a very serious problem. firstly I want to know if there is an archive as of 2008 of wikipedia articles? I downloaded the 2007 archive which had a 13.9 mb of xml file containing all pages. [19:14:11] can some one point me to any page where I can get the latest archive if available? [19:15:11] http://download.wikimedia.org/ [19:16:21] brion: thanks [19:17:59] brion: by the way I also need to know where I can find the description detailing the hierarchy of the xml elements of those pages? I will need to parse the pages and extract the content through python. I can use the xml parsers but want to know the structural hierarchy of the elements. [19:18:38] is it possible to edit the bar at the bottom of the page where privacy policy is? [19:18:42] 03(WONTFIX) leap seconds not recognized (impossible to fix) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13282 +comment (10brion) [19:20:50] 14(DUP) Users should be able to use customized edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13284 +comment (10brion) [19:20:51] 03(mod) Customisable per-user edit tools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9754 +comment (10brion) [19:21:27] 03siebrand * r31759 10/trunk/extensions/UserMerge/ (UserMerge.php UserMerge_body.php): [19:21:27] * delay message loading [19:21:27] * remove EOL whitespace [19:21:52] 03evan * r31760 10/branches/openid_2.0_update/OpenID/SpecialOpenIDFinish.body.php: [19:21:52] Guesses names correctly. [19:21:52] I changed some stuff stored in the session, and that messed up the [19:21:52] name-guessing. It's fixed now. [19:23:03] 03(mod) special: namespace issue - special pages (including login) broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 (10brion) [19:23:34] by the way there is one more thing I am trying to figure out, if some one can point me to proper documentation it would be highly appreciated. what do the sql tables in the dumps contain and how does the data in the database link to the respective xml files? [19:24:12] can any one tell me if the sql dumps create a database of just the meta data and if yes what is the link with the xml files in the dump? [19:24:40] 03(mod) Display message on user registration form if database locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11771 +need-review +patch (10brion) [19:28:06] 03(mod) problems with [[Special:Newpages]] on Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13298 (10brion) [19:28:35] brion: I was just checking download.mediawiki.org [19:28:35] kk: read the documentation pages linked from those pages [19:28:53] mediawiki sorry [19:29:08] it should be wikimedia. [19:29:23] brion: I see that some latest files have come on the list [19:30:00] brion: can you plese guide me as to which files I must download? I need the wikipedia articles at the least if not the sql dump. [19:30:02] if there is a user (Ferrund) that creates lots of new spam pages, could mediawiki be set up so it for him looks like his changes works, but instead it just logs the ip-number he is using etc? [19:32:11] kk: read the descriptions of each file in the list of files [19:32:51] brion: that's what confused me. [19:32:56] I am right now on the page [19:33:11] i don't know any better way to expain them, then [19:33:18] the thing is that I am totally blind and I use a screen reader and some information just misses out. [19:33:47] brion: so if you can guide me I can perhaps look for the phrase and get my screen reader to find it for me. [19:34:16] Articles, templates, image descriptions, and primary meta-pages. [19:34:16] * This contains current versions of article content, and is the archive most mirror sites will probably want. [19:34:16] * pages-articles.xml.bz2 3.2 GB [19:34:50] is it the top most file on the list where it says most mirrors won't want this or some thing brion: similar. [19:35:19] ok [19:35:19] thanks [19:35:46] it's down a couple [19:36:03] (the topmost ones are the largest ones; the dumps proceed in inverted order. it's a little odd i know :) [19:36:23] *brion-lunch wanders off to lunch before he starts killing and eating co-workers [19:36:36] *siebrand coughs. [19:43:32] quick question: in a memcached environment, is there any adverse effect to grabbing and using a wfGetCache( CACHE_DB ) instance and using it? [19:43:56] 03(mod) Ghost entries in bgwiki.categorylinks; wanted categories affected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12168 low->normal (10b.manolov) [19:44:04] 03(FIXED) New mailing list for finnish Wikipedia Oversight users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13311 +comment (10cbass) [19:55:16] I have an extension user whose $IP seems blank, so including extension files fails. $IP is used all over the MediaWiki code, but what sets it? [19:55:59] look at the top of LocalSettings.php [19:58:29] simonrvn, d'oh, I was searching SVN not my local install. kthxbye [19:58:51] heh [20:01:22] skierpage: dirname(__FILE__) [20:01:46] question: is it in bad form for an extension to overwrite a core message string? [20:02:10] For example, if the OpenID extension is installed, it would be nice if, by default, there was a link to it from Special:Userlogin . [20:02:28] "it" == "the OpenID login form" [20:02:35] e_s_p: Can't you postpend your message? [20:02:51] "append" [20:03:14] like 'userlogin-message' =. 'openid-uselogin' [20:03:18] .= maybe [20:03:39] heh [20:03:50] I assume you mean the contents of those messages. [20:03:53] I don't think so [20:04:08] hmm [20:04:16] Is it even possible to override a default message? [20:06:02] MediaWiki:XXXX [20:18:52] 14(WFM) special: namespace issue - special pages (including login) broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 +comment (10brion) [20:24:30] 03(FIXED) enwiki arbcom private wiki has gone missing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13290 +comment (10brion) [20:25:26] wb brion [20:25:37] thx [20:27:30] hmm, i just realized a mistake in my addwiki.php script >.> [20:29:45] What's the simplest PHP code to dump the $GLOBALS array without recursion? debug_zval_dump/var_dump/print_r all recurse. (A user somehow doesn't have $IP defined in an extension) [20:31:05] Recursion? [20:31:29] You just want to check the first dimension of the array? [20:33:06] 03ialex * r31761 10/trunk/phase3/ (5 files in 4 dirs): (bug 13269) Adding MediaWiki:Uploadfooter to the bottom of Special:Upload [20:33:24] how often does a developer run svn update on the code that wikimedia projects use? [20:33:28] I just want to give the user PHP code to dump GLOBALS: OS => "Windows NT", IP => \some\path, ... without recursing into HTTP_ENV_VARS, SERVER, etc. [20:33:39] 03(FIXED) Introduce MediaWiki:Uploadfooter message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13269 +comment (10alex.emsenhuber) [20:35:27] how do you access the toolbox? [20:36:17] or, rather [20:36:34] how does one access the toolbox's "tools" to delete one from it? [20:36:51] Ljlego: i think you have to modify the code or create an hook [20:37:35] you mean there's no way to access it like the sidebar? [20:37:46] Ljlego: not that i know of, no [20:38:04] blast [20:38:20] i'll look through some code, though Ljlego [20:38:53] thanks [20:38:55] chuck [20:39:19] Ljlego: wich one you want to remove [20:39:20] ? [20:39:31] "Collaborative Video" [20:39:54] Ljlego: yeah, it's all hardcoded into the skin that you use.. [20:40:20] at least, that's the case for the Modern skin [20:40:31] same for monobook [20:40:51] yeah they use almost the same code it looks like [20:41:02] well, at Uncyclopedia they use a modified monobook [20:41:05] so I'm screwed [20:41:18] we really don't want the collaborative video link, it's just asking for trouble [20:41:39] Ljlego: umm uncyclopedia is hosted by wikia, right? [20:41:46] yes it is [20:41:51] they refuse to budge on it [20:41:56] try asking them about changing the theme... ah [20:42:06] I figured it was just a MediaWiki message, that toolbox [20:42:29] yeah, it's hardcoded to just read text and stuff from messaged [20:42:31] *messages [20:42:49] like whatlinkshere printableversion etc [20:42:53] Ljlego: or maybe with the SkinTemplateOutputPageBeforeExec hook by accessing $tpl->data['nav_urls'] [20:42:56] I see [20:43:58] yeh, that would probably work. i've seen extensions do that [20:44:35] I'm sorry [20:44:40] I'm technically inept [20:44:44] what does that mean exactly? [20:45:24] the skins use $this->data['nav_urls'] to get the urls also [20:46:28] skierpage, try this: [20:46:29] foreach($GLOBALS as $key => $value) {print "$key => "; is_object($value) ? print "(OBJECT)" : print($value); print "
\n"; }; [20:46:31] and PHP's variable type handling is indeed teh suck [20:47:57] Olipro! [20:48:01] skierpage: is that for me or yourself? [20:49:02] Just answering my own question in case anyone else cares. [20:49:35] oh, I see [20:50:18] alright [20:50:22] thanks a lot guys [20:50:47] even though it means that we're going to have to get rid of this the "hard way" [20:52:32] Hello, how can I change what text is displayed in a template, according to the namespace it's in? (mw11 + ParserFunctions) - Just can't seem to find out [20:53:30] MnaNaHEreann: what's the context? [20:53:44] like, what kind of template is it? [20:53:54] MnaNaHEreann: what text do you mean [20:54:05] and how many different texts do you want? [20:54:31] E.g. ifeq namespace = category then foo, if not then bar [20:54:47] that's basically what I want [20:55:25] {{#ifeq:{{NAMESPACENAME}}|category|foo|bar}} [20:55:25] hm [20:55:30] (i think. not tsted) [20:55:41] okay [20:56:29] oh, you mean normal article text? [20:56:39] i thought you meant interface text [20:57:20] normal article :) [20:57:27] but namespacename doesn't work [20:58:01] http://86.80.42.68/wi/index.php/Category:Test [20:58:45] MnaNaHEreann: also might want to have a look at this http://meta.wikimedia.org/wiki/Help:Parser_function#NS [20:58:57] then use a {{#switch [20:59:03] MnaNaHEreann: that page does not load [20:59:09] uh? [20:59:22] sorry [20:59:51] page should load :s [21:00:26] Ljlego: I already tried that, and also with switch, but just can't seem to get it working [21:01:31] that's quite odd [21:01:33] Ljlego: http://86.80.42.68/wi/index.php?title=Template%3ALanguages&diff=132&oldid=129 [21:02:00] not registered a domain yet? [21:02:07] nop, it's my local [21:02:12] for testing purposes [21:02:14] it's not loading still MnaNaHEreann lol [21:02:34] nope [21:02:36] no lasting [21:02:40] *loading [21:03:09] oh whoops, had udp instead of tcp [21:03:16] how about now? [21:03:31] still not loading MnaNaHEreann [21:03:34] nope [21:03:36] hmm [21:03:59] I'll put it up in a sandbox, a moment please [21:05:21] http://illarion.org/community/wiki/index.php/User:Mna_Na_H%27Ereann/Sandbox/Languages [21:05:42] 03(mod) use DateTime in #time - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11929 (10post) [21:06:06] you can see it in the source [21:06:11] almost at the bottom [21:06:53] that kind of stuff is beyond m [21:06:53] e [21:07:18] I have this [21:07:26] {{#switch: {{NAMESPACE}}| {{ns:-2}}| {{ns:-1}}| {{ns:6}}| {{ns:8}} = ''no German version''| [[/de|Deutsch]]}} [21:07:38] hi! [21:07:42] hi XaVi [21:07:53] that's the part I need to fix [21:08:48] Hello [21:09:01] What's the easiest way to convert HTML into wikicode? [21:09:11] I'm looking for an automated process of some kind [21:10:27] i've been looking some docs and in forum but i don't see a clearly answer, here it goes... [21:11:02] liquidengineer: goog for html2wiki [21:11:37] Anyone able to tell me why the following doesn't work? {{#switch: {{NAMESPACE}}| {{ns:-2}}|{{ns:-1}}| {{ns:6}}| {{ns:8}} = ''no German version''| [[/de|Deutsch]]}} [21:11:43] liquidengineer: that should work for most simple text styling. though "simple" html is allowed in mediawiki anyway, with the exception of links and images. [21:12:32] i have to connect the wiki to an external database that i create, it means that wiki will query that database that i created and it will show the results through the wiki [21:12:42] Duesentrieb: Thanks. :D [21:12:48] MnaNaHEreann: be careful with whitespace. it may be included in the text you compare verbatom. keep in mind you are dealing with a macro language, not a programming lanugage. everything is done by messing with text. [21:14:05] Thanks Duesentrieb, I'll try without [21:14:29] i'm sure a lot of people have to do that but i don't see how [21:17:33] XaVi: not a lot of people have to do that. and how... well, how you access the database is one question, and how you integrate that is another. [21:17:55] i've never had to do that :P [21:18:01] XaVi: you would want to write an extension, probably of the tag-extension kind [21:18:06] !extensions | XaVi [21:18:06] --mwbot-- XaVi: 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. [21:18:26] @search asksql [21:18:26] --mwbot-- Results: [] [21:18:50] XaVi: as to accessing the database, the "how" is really left to you. basically: like you alsoways would in php. if you are accessing a mysql database, you can use the wrapper class mediawiki uses for that too. but you don't have to. [21:19:11] 03(CLOSED) special: namespace issue - special pages (including login) broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 +comment (10agkwiki) [21:19:24] XaVi: if the database is on the same server as the wiki database, you can also reuse the connection used by the wiki, by writing your queries carefully to directly address the database you want. [21:19:34] hmm i don't have "ExtensionFunctions" apparently [21:19:42] does anyone know where that would be in svn? [21:19:44] the mediawiki wrapper is the api class? [21:19:52] chuck: in the extension module [21:20:08] XaVi: i have no idea what you mean by "the" api class. [21:20:19] the wrapper calss is called Database [21:20:34] mmm ok [21:20:59] Duesentrieb: http://illarion.org/community/wiki/index.php/User:Mna_Na_H%27Ereann/Sandbox#Text_depending_on_namespace [21:21:03] in the context of mediawiki, "api" usually refers to the web api (though i find that use a bit confusing) [21:22:31] that api could acces to a different db than wiki [21:24:15] MnaNaHEreann: i don't quote get it. first of all, the namespace you are testig in is "User" which has the ID 2. [21:24:19] Duesentrieb: what's the right way to add a new group [21:24:35] chuck: by defining permissions for it [21:25:14] MnaNaHEreann: id 2 is not used in your tests. a template can never be used in th special or media namespace, so tests for -2 and -1 are pointless. [21:25:18] Duesentrieb: but i noticed for already made groups like Sysops, Bureaucrats, and Stewards, the first letter is capitalized, but the new "developer" group i made isn't [21:25:26] Yes Duesentrieb, so it should return default [[/de|Deutsch]] - but it doesn't return anything [21:25:38] is there some right way of doing it or am i doing it right by just defining the permissions in $wgGroupPermissions? [21:30:13] MnaNaHEreann: testing... [21:30:46] chuck: works fine for me: http://illarion.org/community/wiki/index.php/User:Mna_Na_H%27Ereann/Sandbox#6_3 [21:31:06] Duesentrieb: this doesn't work (nor with #switch: {{NAMESPACE}}) {{#switch:{{NAMESPACE}}|{{ns:6}}=This is Image namespace|default=This is not Image namespace}} [21:32:12] MnaNaHEreann: adedd a few more. works for me. don't know why your version doesn't. take mine and change it to yours set by step, see when it blows up [21:33:08] MnaNaHEreann: but anyway - have you looked here? http://www.mediawiki.org/wiki/Category:Internationalization_extensions [21:35:32] Yes I have [21:39:43] Duesentrieb: Then I still don't see why my code is wrong :s [21:40:44] i'm looking asksql and it returns the result, or it seems like that... [21:41:34] from any database, it seems [21:43:17] Duesentrieb: I think it doesn't see the default value [21:44:15] MnaNaHEreann: it does see it. it chockes on the lang attribute. without that, it works [21:44:38] But I found out, that the default value, can also be set as #default = foo [21:45:52] Duesentrieb: have a look again :) [21:46:47] (edit conflict.. Look now :) ) [21:47:23] hm, it got confused by the = i suppose [21:47:33] which is really obvious, when you thing about it :) [21:47:48] I found the solution here: http://meta.wikimedia.org/wiki/Parserfunctions#.23switch: [21:47:48] (though why did my test with xxlang= work, then? confusing... [21:49:31] MnaNaHEreann: nice - though look again now, i changed lang= to xxlang= and it works! *that* i don't understand [21:49:39] hi all [21:49:50] It's really weird, it should see the last result as the default, when there's no value [21:50:08] but it only does so when the value is #default (in this case) [21:50:41] MnaNaHEreann: well, no, it should take the last entry that has no "key" assigned to it. everything before a = is a "key". so i can see how a = in the value would cause trouble. [21:50:41] Anybody can tell me what is {{#switch and #{{#if in templates ? [21:50:48] then it's probably a bug with the lang class [21:50:50] but then i would have expected xxlang= to fail too [21:50:57] lang class? [21:51:00] what lang class? [21:51:03] well [21:51:12] !parserfunctions | Buratin [21:51:12] --mwbot-- Buratin: "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 . [21:51:18] the span lang [21:51:29] that's an attribute, bot a class [21:51:42] ye, but you know what I mean right? [21:51:47] not sure :) [21:51:52] well [21:52:01] because it does work with lang= outside the switch [21:52:16] Duesentrieb, thanks [21:52:16] xxlang doesn't do anything, because it doesn't exist. it just shows plain text [21:52:24] and it really generates not html, it's not hidden via css [21:52:26] but lang itsself is correct [21:52:59] though the code it refers to is messing up the parserfuntion #switch [21:53:02] MnaNaHEreann: maybe the browser actually swallows it if it's not the lang you have selected?... [21:53:17] that *is* the intended meaning of that attribute, no? [21:53:32] though browser support for it is... flacky at best, afaik. [21:54:00] anyway, all problems solved with #default = :) [21:54:01] ok, $wgAllowExternalImagesFrom doesn't allow an array, but can it be set up as a comma-delimited or space-delimited list? [21:54:35] simonrvn: i donÄt think so. [21:54:39] it says "string" in the Manual: for it [21:54:50] i suppose it's a single prefix [21:54:59] i figured... thanks [21:55:12] Duesentrieb: something else, is it normal that I see donÄt where you (probably) typed don't ? [21:55:27] my typo [21:55:33] ä is next to ' on my keyboard [21:55:40] oh okay, because I see it rather often ;p [21:55:54] yes, i'm a sloppy typer [21:55:58] (not only with you) [21:56:05] german keyboard ftw [21:57:48] Duesentrieb: i don't see the wrapper called database [21:57:50] ah well :) I'm happy that my US international has ß ;p [21:58:08] 03ialex * r31762 10/trunk/extensions/SiteMatrix/SiteMatrix_body.php: (log message trimmed) [21:58:08] Rewriting a bit the SiteMatrix extension: [21:58:08] * Replaced SiteMatrix::$wikipediaSpecial by SiteMatrix::$specialRewrites to [21:58:08] rewrite the url of some special wikis, hold the complete domain name, so that it [21:58:08] is possible to also rewrite the lang part (e.g. arbcom-enwiki => [21:58:10] arbcom.en.wikipedia.org) or the full domain (e.g. foundationwiki => [21:58:12] wikimediafoundation.org) [21:58:14] 03raymond * r31763 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php flaggedrevs.css flaggedrevs.js): Introduce $wgFlaggedRevStyleVersion to ensure that the actual CSS/JS is loaded, always. [21:58:20] XaVi: well, where are you looking for it? [21:59:02] and are you trying ot use an existing one, or create a new one? [21:59:12] Thanks for helping me out Duesentrieb ^_^ [21:59:16] np [22:02:55] i'm looking at extensions [22:03:19] i'm thinking how to do it [22:03:59] hi. is there any way to force

tags not to create a new section? [22:04:00] XaVi: well, first of all the question is *where* is the database you are trying to access? [22:04:12] in local [22:04:19] huh? [22:04:31] XaVi: on the same server the wiki db is? [22:04:34] in the same yea [22:05:14] then you can use the existing db connection [22:05:17] use this: $dbr = wfGetDB( DB_SLAVE ); [22:05:27] is the wmf on a 64bit or 32bit archtecture? [22:05:32] K HELP LANDLORD TIME [22:05:39] i am making a site notice right [22:05:42] how do i make it dismissable [22:05:43] then you can use $result = $dbr->query($sql); [22:05:56] or use $dbr->select with the various params. that's a bit nivcer [22:06:14] Landlord: by installing the DismissableSiteNotice extension [22:06:22] ok cool [22:06:25] if the db wasn't on the server i couldn't use that class? [22:06:47] XaVi: you could use the same class, but you could not use the wfGetDB function to get a connection. [22:07:03] you would have to create an instance yourself, configured to connect to that otehr server [22:07:22] oh yea, reusing teh same conenction also only works of you use the smae user for accessing the other db [22:07:57] XaVi: you could *not* use the class if your data was on, say, an oracle database. the wrapper only supports mysql and postgres. [22:08:57] domas: quick question: does the wikimedia foundation use 32bit or 64bit machines? [22:09:03] XaVi: anyway, if you reuse the connection used for the wiki database, you have to qualify all table names in your query with the name of your "other" database. becasue that conenction has the wiki database selected [22:09:09] for the databases that is [22:09:13] jimbojw: both i think. but i could be wrong [22:09:16] ok, np i will study all possibilities [22:09:31] thanks Duesentrieb [22:09:52] yep, thanks [22:10:29] jimbojw: all 64 bit [22:10:42] thanks mark :) [22:10:52] hello, I was wondering how to change the navigation links on the left ? because there are some that I really don't need at all, and I might see other -more useful- things there [22:10:58] where is localsettings.php located [22:10:59] :( [22:11:21] Landlord: in the root mediawiki folder.. or at least it should [22:11:33] k yea [22:11:44] !sidebar | Seldaek [22:11:44] --mwbot-- Seldaek: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [22:11:47] mark: was it always 64? or did wikimedia switch over at some point from 32? [22:12:02] wikimedia existed before x86_64 did eh ;) [22:12:05] Duesentrieb: thank you sir [22:12:26] well actually it didn't [22:12:31] but wikipedia did [22:12:50] ah i see [22:13:10] but for databases, we switched quite a long time ago [22:13:13] i'm looking for info about how to switch an existing 32bit installation over - what pain points to avoid etc [22:13:21] application servers, we have a few 32 bit ones left and we're getting rid of them just now [22:15:33] http://www.ffowa.org/ [22:15:35] what the hell happened [22:15:36] .... [22:16:14] netsplit [22:16:30] no [22:16:32] www.ffowa.org [22:16:33] ^ there [22:17:54] oh [22:18:05] heya [22:18:09] a hideous skin [22:18:09] thanks Mark - very helpful [22:18:23] nevermind [22:18:26] you looked too late [22:18:31] apparently i broke the wiki doing a simple task [22:18:36] :P [22:18:44] and i don't know wh [22:18:45] y [22:18:53] Landlord: a syntax error in localsettings will do that, yes :) [22:19:12] it wasn't a syntax error though :( [22:19:29] I'm in the process of setting up a wiki and am having a problem with setting up the short URL thing [22:20:48] !rewriteproblems | Aerowyn [22:20:48] --mwbot-- Aerowyn: 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root; 4) Use different paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. [22:21:07] I've followed those directions to the letter.... [22:21:14] and I still can't get it to work [22:21:19] http://www.ffowa.org/ [22:21:20] guys [22:21:23] what the heck :( [22:21:44] Landlord: you are giving the wrong path. [22:21:56] Landlord: your require_once statement is missing teh $IP bit [22:21:57] but i'm not [22:22:02] o huh [22:22:09] where do i put that [22:22:10] yes you are. /extensions/DismissableSiteNotice/DismissableSiteNotice.php is NOT the right path [22:22:27] it'S absolute. not relative to the wiki's location. [22:22:43] i know [22:22:45] require_once("$IP/extensions/DismissableSiteNotice/DismissableSiteNotice.php"); [22:22:50] from the server root [22:22:52] that is where it is [22:22:52] ! [22:22:54] :( [22:22:55] no. [22:23:04] that's a FILE path. [22:23:16] "/" would refer to the filysystems root. [22:23:25] Aerowyn: url? [22:23:29] i don't know what you mean [22:23:42] I'm so lost... nvm [22:23:52] o_O [22:24:29] Duesentrieb [22:24:40] that is where the file is located so what should the cod elook like [22:24:41] :( [22:25:35] you need the full filesystem path for that, the $IP refers to the install path [22:26:21] ok [22:26:24] Landlord: try to find out what the difference is between a filesystem path and a web path, meanwhile, just use the line i gave you five minutes ago. [22:26:24] now i have a new error [22:26:24] http://ffowa.org/index.php?title=Main_Page [22:26:35] so: $IP/extensions/.... is the correct way to do that unless you leave off the leading slash (but better to use $IP, breaks less easily) [22:26:51] Landlord: well, that indicates that the version of the extension you are using requires mediawiki 1.11 [22:27:00] so, upgrade your wiki, or downgrade the extension [22:27:03] o [22:27:06] damn ok [22:27:30] here's the 1.10 version [22:27:31] http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_10/extensions/DismissableSiteNotice/ [22:28:57] i dont even know if we are 1.10 [22:29:02] i am out of mediawiki loop [22:29:15] look on Special:Version [22:29:19] !version [22:29:19] --mwbot-- To find out the version of your MediaWiki installation, visit the page Special:Version. Should the wiki be broken, but you have access to the program files, find $wgVersion in DefaultSettings.php. [22:29:31] 1.7.1 [22:29:36] ugh. [22:29:36] ... [22:29:40] that's ancient. [22:29:43] yeah [22:29:52] not a chance with that extension :P [22:29:55] !upgrade [22:29:55] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [22:30:21] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9862 +comment (10g1ggyman) [22:30:32] i cba to upgrade but maybe i'll ask the tech guy [22:30:33] meh [22:31:16] going to bed [22:31:18] have fun [22:34:57] Any suggestions on how to debug a complete parser failure? [22:34:59] blah blah [[Test à stuff::Main Page]] blah blah [22:35:00] with the Semantic MediaWiki extension previews and displays as nothing -- the meat of the page is completely empty. It's caused by the agrave character but I don't know where to start. No errors in the log. [22:35:55] got roan online [22:35:57] get* [22:37:53] any database experts in here? I'm curious about upgrading a column from int(8) to something like int(11) - wondering what's involved (happy to rtfm if there is one :| ) [22:39:01] you can ask in #mysql or similar [22:39:11] i don't know if there are any MW implication [22:40:07] brick_ijigg: yeah - i avoid #mysql at all costs [22:40:15] last time I went in there, the guys were really nasty [22:40:43] it works OK for me. every channel has some dicks in it. [22:40:50] prompted me to write this actually: http://jimbojw.com/wiki/index.php?title=Irresponsible_use_of_RTFM_doesn't_help_anyone [22:41:13] the proporion in mysql was pretty high that day - so high that I don't want to return and then be angry all day long :/ [22:41:24] this channel rules btw [22:41:53] rock on [22:42:50] jimbojw, nothing happens. [22:43:11] jimbojw, for integer types, the number just affects display. [22:43:17] Unless you mean what happens to the table. [22:43:17] thanks Simetrical :) [22:43:28] In that case, it might actually be a full table rebuild, but that's just because MySQL is stupid. [22:43:34] ah i see [22:43:48] There are a few things it's clever enough to realize don't require that. [22:45:59] brion: \m/_ _\m/ [22:46:04] thanks Sim [22:51:43] Simetrical: i have a revision table where rev_id is int(8) - what happens if new revisions keep being made past the 8 digit display maximum? [22:51:59] jimbojw, nothing [22:52:08] it's just for display [22:52:08] really? [22:52:26] what about when trying to view an article whose latest revision is above the limit? [22:52:42] does the display limiter effect what comes back from say the text table? [22:52:58] should I expect to start seeing database errors? [22:53:31] jimbojw, it displays a little uglier. [22:53:37] No. [22:53:38] I have set "$wgUseRCPatrol = false;", but [[Special:Log/patrol]] still gets new entries. Why? [22:53:43] It just affects the pretty-printing. [22:53:48] Not the results. [22:54:12] siebrand, and they aren't new-page patrols? [22:54:27] Simetrical: they probably are. [22:54:39] thanks again Simetrical! [22:56:12] Simetrical: hmm. Got it. DefaultSettings.php:$wgUseNPPatrol = true; [22:56:13] Hi! is somebody writing parser extensions ? [22:59:45] 03(mod) Separate group for ipblock-exempt on en.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9862 (10Simetrical+wikibugs) [23:00:35] Simetrical: much cleaner now that I deleted the patrol log entries and set that to false :) [23:03:26] 03(mod) On paged categories, article totals and subcat totals are incorrect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1212 +comment (10Simetrical+wikibugs) [23:04:55] 03(NEW) Imagemap with an .ogg file spit outs DOMExceptions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13316 normal; normal; MediaWiki extensions: ImageMap; (raimond.spekking) [23:15:01] Hmm. WTF? http://pastebin.ca/937316 [23:16:23] Raymond_: http://de.labs.wikimedia.org/w/index.php?namespace=0&level=1&title=Spezial%3AReviewedpages [23:16:32] hehe, missing a .de message :) [23:17:06] aaargs :( [23:17:13] thanks. will add it [23:17:59] Oh, bash caches paths in a hash table. [23:18:32] And I just renamed /usr/local/bin/wine because the compiled version was more out-of-date than the packaged one. [23:18:37] Silly bash. [23:18:54] Notice: Undefined variable: wgFlaggedRevStyleVersion in C:\Server\xampp\htdocs\MW\extensions\FlaggedRevs\FlaggedRevs.php on line 199
[23:19:13] weee [23:19:42] 03(mod) Imagemap with an .ogg file spit outs DOMExceptions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13316 (10raimond.spekking) [23:20:25] 03aaron * r31764 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Declare global scope :) [23:20:43] oops.. [23:21:20] *Raymond_ has to install flaggedrRevs locally too to avoid such errors *hides* [23:21:48] but not today... sleeping time. n8 [23:32:05] 03brion * r31766 10/trunk/location-search/: Dir for experimental location-based search mobile web app... [23:33:27] 03(NEW) Value for Configuring Numer Output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13317 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [23:35:58] 03(NEW) SortKey in Template Output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13318 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [23:36:21] hello, how do I add Adsense above the main tabs? (article, discussion, edit, history, protect) on my wiki : http://www.2odessa.com/ I already have a horizontal adsense banner installed below the main tabs, but I would like to move it above. Whenever I try to move the code in localsettings.php adsense doesn't work. [23:38:23] 03brion * r31767 10/trunk/location-search/web/ (. images/ images/cancel.png index.php): [23:38:23] Quickie prototype web app of iphone-style location-based mobile search [23:38:23] See notes at http://leuksman.com/log/2008/03/08/wikipedia-local-search/ [23:39:18] AaronSchulz: bad encoding in r31765 [23:41:27] *AaronSchulz sets PN2 defaults [23:42:59] 03(NEW) More Useability for SubPropertys - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13319 15enhancement; normal; MediaWiki extensions: Semantic MediaWiki; (dasch_87) [23:45:36] Is it possible to stop a
tag from closing within the same template? [23:45:44] I want to open it with one template, then close it with another. [23:45:52] svip: upgrade to 1.12 prerelease [23:45:56] :( [23:46:00] or have HTML Tidy available and enable $wgUseTidy [23:46:17] Well, I guess I can just insert it manually for now. [23:47:20] what variable holds the database name? [23:48:14] matthew_: $wgDBname [23:48:30] 03(mod) Transfer some Features from DPL to - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13151 (10dasch_87)