[00:11:30] 03skizzerz * r31651 10/trunk/extensions/EditSubpages/EditSubpages.php: Fixing bug when talk pages are unlocked [00:14:35] 03dale * r31652 10/trunk/extensions/MetavidWiki/ (4 files in 4 dirs): fixed conflict in imageGallery with ac script [01:15:20] 11H14ello [01:16:27] question regarding LDAP authentication (Active Directory): Running MediaWiki v.1.9.1, how can I restrict editors/logins based on OU/Group membership? [01:29:09] 03dale * r31653 10/trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js: fixed queued function error [01:54:14] How do I find out if a certain page has categories in it or not? [01:55:40] Scroll down to the bottom of the page? [01:56:22] No, using PHP code. [01:56:58] you'd have to query the database, don't know how though [01:57:26] (or use the API) [01:57:46] I'm trying to fix that hidden category bug [01:58:10] yeah... no idea [02:05:51] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 +accessibility; +comment (10Simetrical+wikibugs) [02:08:50] 03yaron * r31654 10/trunk/extensions/SemanticForms/libs/scriptaculous-js-1.7.0/: Removing entire Scriptaculous library - no longer used [02:09:54] 03yaron * r31655 10/trunk/extensions/SemanticForms/skins/scriptaculous.css: Removing scriptaculous CSS file - library is no longer used [02:11:01] 03yaron * r31656 10/trunk/extensions/SemanticForms/specials/SF_AddPage.php: Added removal of forbidden punctuation characters from form name [02:11:41] 03yaron * r31657 10/trunk/extensions/SemanticForms/specials/SF_CreateProperty.php: Changed form from GET to POST [02:12:18] 03yaron * r31658 10/trunk/extensions/SemanticForms/includes/SF_FormClasses.inc: Added initialization of variable [02:15:59] anybody could help out with an odd problem? (after fancy url implentation) I cannot edit certain category pages... [02:16:28] at least i think it is because of fancy url's [02:17:18] under the navigation tab...category's that have been edited before fancy urls i can still edit...but ones that I did not edit prior to fancy urls gives me this error [02:17:31] You tried to edit a section that doesn't exist. Since there is no section , there's no place to save your edit. [02:19:05] 03(mod) Spanish Wikipedia: semiprotection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13261 (10fidel.mkw) [02:22:48] 03yaron * r31660 10/trunk/extensions/SemanticForms/skins/SF_yui_autocompletion.css: Some improvements to appearance without .yui-skin-sam div [02:29:08] Who here knows PHP? [02:29:25] Of course, that's an odd question to ask in this channel [02:29:33] 03yaron * r31661 10/trunk/extensions/SemanticForms/README: Replaced references to Scriptaculous with Yahoo! UI [02:34:07] This isn't mediawiki related, but I was told to come here for a PHP problem I ahve [02:34:31] no you weren't [02:34:42] I just commented people here know php [02:34:51] Soxred93: ##php might be more helpful [02:35:18] Cobi's the one who usually helps, but he isn't responding [02:38:14] 03yaron * r31662 10/trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php: Corrected prefix for functions [02:39:04] how do i test for the "foo" in Special:Allpages/foo [02:39:08] using a parserfunction [02:39:20] {{SUBPAGENAME}} didn't do it [02:39:48] 03yaron * r31663 10/trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php: Added sffSetBrokenLink() function, using new 'BrokenLink' hook [02:39:55] i mean, what magic word can i test against [02:40:05] 03yaron * r31664 10/trunk/extensions/SemanticForms/INSTALL: New version: 0.9.8 [02:40:22] maybe i can test for presence of a slash [02:42:31] By reputation, ##php is not very helpful for anyone. [02:43:00] I am finding that out [02:43:28] It probably has something to do with the developers and users of PHP, who are respectively morons and morons. [02:43:40] Okay, that's not fair to the people who have to use PHP but don't want to. [02:43:56] #apache and #mysql are really helpful, in my experience, for Apache and MySQL. [02:43:59] What was your question, anyway? [02:44:14] http://tools.wikimedia.org/~soxred93/request_account/?view=source: This page is a form that sends out an email. [02:44:21] The problem is, instead of sending the subject as New account request, user Foo, like it should be, it is sending it as New account request, user $user. [02:44:32] It's submitting the variable as plain text [02:47:38] Source code licensed under the GFDL? A bit odd. [02:47:51] Any better one? [02:47:55] Uh, GPL? [02:48:19] Soxred93, you realize you aren't sanitizing your variables? [02:48:41] I sanitize the email [02:48:42] $userdb = mysql_query("SELECT user_id FROM user WHERE user_name='$user' LIMIT 1;"); [02:48:47] $user = (ucfirst($userlc)); [02:48:49] $userlc = $_REQUEST['user']; [02:49:17] One sec. [02:51:29] Soxred93, http://tools.wikimedia.org/~soxred93/request_account/acc.php?user=%27+UNION+SELECT+%27aeigjeaigjeaio%27&email=simetrical@gmail.com&comment=Type+an+optional+comment+here [02:51:39] Yes? [02:51:53] What's wrong? [02:51:59] MySQL error? [02:52:25] Never, ever include any variable in a MySQL string without using mysql_escape_string() on it. [02:52:29] That's a side point. [02:52:46] One of the horrible, horrible things about PHP is how easy it makes SQL injection. [02:53:03] So how to I fix it? [02:53:16] $user = mysql_escape_string( ucfirst( $userlc ) ); [02:53:21] Instead of the current assignment. [02:53:49] Thank you [02:53:50] Done [02:54:20] What was the problem? You're getting the literal text "New account request, user$user" instead of "New account request, user Bob"? [02:54:29] It works now [02:54:36] You're missing a space, though. [02:54:48] :/ [02:55:27] Hmm, you're using $user for multiple things. It will be SQL-escaped in the e-mail address. But whatever, you can figure out how to fix that. [02:55:46] Your mail to 'Accounts-enwiki-l' with the subject [02:55:46] New account request, user' UNION SELECT 'aeigjeaigjeaio' [02:55:46] Is being held until the list moderator can review it for approval. [02:55:46] The reason it is being held: [02:55:46] Post by non-member to a members-only list [02:55:52] Soxred93, ?user=%27;+DELETE+*+FROM+page;+SELECT+%27 illustrates Simetrical's point a little more bluntly [02:55:59] zocky, doesn't work. [02:56:07] The API only accepts a single statement at a time. [02:56:21] And there's no way in MySQL to get anything but a SELECT through, that starts with "SELECT". [02:56:30] Simetrical, good for mysql [02:56:38] Simetrical, it works in other databases though [02:56:42] But you can UNION to arbitrary tables to retrieve whatever data you want, if the data ends up getting printed in some fashion. [02:57:36] Soxred93, it seems a little silly to get a bounce notice. [02:57:46] I'm not doing that [02:57:50] That's the mailing list [02:57:57] Well, yes. It's still silly. [02:58:05] (If I had known it was being sent to a list, I wouldn't have spammed it with like four gibberish e-mails.) [02:58:30] 03yaron * r31665 10/trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc: Added another check for existence of array key [03:00:11] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10alexsh) [03:01:37] Simetrical, I've done worse [03:07:11] 03tstarling * r31666 10/trunk/ (extensions/DumpHTML/wm-scripts/ tools/dumpHTML/): Moving job control system to the DumpHTML extension directory [03:17:17] 03tstarling * r31667 10/trunk/extensions/DumpHTML/wm-scripts/ (README start-edition): start-edition script and readme file [03:17:44] Simetrical, is it sufficiently sanatized/filtered? [03:19:36] Probably not. I didn't look very hard. [03:19:50] 03(NEW) Pages only in hidden categories have an empty category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13278 normal; normal; MediaWiki: Categories; (wodup) [03:19:53] Mm, I'm going to have to check out Wikipedia in IE8 beta and see how horribly it breaks. [03:26:56] 03(mod) Pages only in hidden categories have an empty category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13278 +easy; +comment (10Simetrical+wikibugs) [03:26:59] 03(mod) Pages only in hidden categories have an empty category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13278 (10Simetrical+wikibugs) [03:28:54] How do I create a category in mediawiki? [03:29:37] !categories | stiv2k [03:29:37] --mwbot-- stiv2k: http://www.mediawiki.org/wiki/Help:Categories [03:29:53] thanks [03:29:57] that page details creating and using categories, come back if you still need help :) [03:30:37] ah, so that's how it works [03:30:46] i totally didn't see that coming [03:30:55] neat ;) [03:31:08] yeah, they are :) [03:35:16] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 +comment (10e.wikipedia) [03:38:20] Skizzerz: does it automatically create the category page and list the items in the category? [03:38:48] it automatically lists the items if you put [[Category:XXX]] on the page, but you have to create the category page manually [03:39:09] (of course, it'll still list the items in the category even if you didn't create the page yet) [03:40:15] ah [03:49:45] Skizzerz: is there a way i can just make it show the category items and thats it? What if i don't want to make a page for it [03:50:04] then don't make a page :) [03:50:24] but at the same time, i don't want the 'You've followed al ink to a page that doesn't exist yet...' to appear [03:50:32] just adding [[Category:XXX]] to a page will automatically categorize it in that category, regardless of if the category page exists [03:50:40] then just create the page with nothing in it [03:51:07] ah ok [03:51:07] (aka just click edit and then click save without adding anything to the text box) [04:09:46] hello [04:11:24] I need to install a dump of wikipedia to my macbook harddrive but the static html files are not available for the current dump time period (8-2-08) what is the easiest way to convert an xml dump file of wikipedia and use it on apache with mysql on the macbook? [04:47:31] 03(mod) Install DidYouMean extension on the English Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11794 (10wikt.3.connelm) [05:16:44] 03(mod) Create MediaWiki:Robots.txt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13249 summary; +comment (10wiki.bugzilla) [05:18:59] can you set the of a page independantly from the name of the article? [05:19:28] <jeffz> oh, bug 6129 [05:19:30] <jeffz> I see. [05:19:41] <MZMcBride> JS can be used, I think. [05:20:09] <jeffz> google doesn't use JS though [05:21:27] <MZMcBride> Right. [05:21:45] <MZMcBride> There may be an extension somewhere. [05:21:49] <MZMcBride> !extension [05:21:49] --mwbot-- I don't know anything about "extension". You might try: !adsense !bizzwiki !bundles !centralauth !cms !dpl !e !editbuttons !email !feeds !filetype !flaggedrevs !iframe !ldap !moderation !parserfunctions !renameuser !sidebarex !threads !userapproval [05:21:56] *MZMcBride growls. [05:22:06] <jeffz> I'll just change the default page I guess [05:22:37] <MZMcBride> !extension [05:22:37] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See <http://www.mediawiki.org/wiki/Manual:Extensions> for instructions to install extensions, as well as for writing them. See <http://www.mediawiki.org/wiki/Extension_Matrix> for an overview of known extensions. [05:27:15] <Splarka> jeffz: how independant exactly? [05:29:35] <Splarka> you want it to be different only for the main page, and be google-indexed? [05:30:08] <jeffz> Splarka: I was just wondering if there was wiki markdown to set a different title tag [05:30:38] <Splarka> hmm, but that bug deals with the <h1> [05:30:45] <Splarka> do you mean the <h1> or the <title> ? [05:30:54] <jeffz> <title> [05:31:09] <Splarka> you can control the <title> via MediaWiki:Pagetitle somewhat [05:31:35] <jeffz> yeah, that'd be globally though [05:35:29] *Splarka waves magic wand [05:35:51] <Splarka> hark, native solution, I summon thee [05:36:13] <Splarka> {{#ifeq:{{FULLPAGENAMEE}}|Main_Page||$1 -}} {{SITENAME}} [05:36:19] <Splarka> just needs parserFunctions [05:37:29] <jeffz> cool, thanks [05:37:36] <MZMcBride> Heh. [05:38:58] <Splarka> http://test.wikipedia.org/w/index.php?title=MediaWiki:Pagetitle&diff=42027&oldid=23940 [05:48:08] <wikibugs> 03(mod) Install DidYouMean extension on the English Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11794 -need-review ; +comment (10hippytrail) [05:52:06] <wikibugs> 03(NEW) Use Tim's custom replace code for DidYouMean extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13279 15enhancement; normal; MediaWiki extensions: DidYouMean; (hippytrail) [05:52:35] <wikibugs> 14(DUP) Pages only in hidden categories have an empty category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13278 +comment (10raimond.spekking) [05:52:36] <wikibugs> 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 +comment (10raimond.spekking) [06:25:22] <Orynet> dear people i am having a problem with $wgSMTP setting. [06:25:22] <Orynet> I am using a remote SMTP server. The problem is i am not quite sure what should i configure for this 'IDHost' => "domain for MessageID" ? [06:25:22] <Orynet> I do not have a host IT how should i do? [06:33:05] <wikibugs> 03(NEW) Previews not showing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13280 normal; normal; Wikimedia: wikibugs; (andrewcleung) [06:55:08] <dbmood2> hi i am trying to have my articles in a different folder to my config - in /w so i get google htis [06:55:26] <dbmood2> problem is i am with Xblah and i cannot see how to do it [06:56:31] <flyingparchment> Orynet: don't set it. or set it to the domain name your mails will be sent from [07:19:33] <tome> Hi, I got mediawiki provisioned by my hosting provider, and the top level wiki directory contains many of the config files and other misc files (like FAQ). These files are readable by anyone, and that includes the uploads directory, etc. What do most people do to stop anyone from viewing any files not produced directly by mediawiki. Do you remove all those files like FAQ, etc. and also... [07:19:34] <tome> ...change the permissions (or change completely) the uploads directory? [07:19:58] <tome> when I say readable by anyone I mean readable by going to my domain/wiki/FAQ for example [07:22:10] <wikibugs> 03(mod) "GNU diff3 not found" but it installed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13270 (10im) [07:24:23] <tome> also, any way to make the MainPage viewable only by logged in users (and all others users sent to a log-in page? [07:30:31] <CIA-43> 03aaron * r31668 10/trunk/extensions/ConfirmAccount/ (3 files): [07:30:31] <CIA-43> * Show notice only for accounts with confirmed email [07:30:31] <CIA-43> * Treat stale requests as rejected and add 'stale' subqueue [07:30:31] <CIA-43> * Random code cleanup [07:30:31] <CIA-43> * Bump version [07:31:07] <Splarka> if you need it secure (totally unviewable), there isn't [07:31:56] <Splarka> unless you make all the rest of the site unviewable (except pre-whitelisted pages like the login page) with ['*']['read'] = false [07:34:13] <tome> if I make the rest of the site unviewable, is that for all users or just not-logged-in users [07:34:23] <tome> that's what I'd want (if you aren't logged in, then you can see nothing except the login page) [07:34:57] <Splarka> set $wgGroupPermissions['*']['read'] to false, and then add the allowed pages to $wgWhitelistRead [07:36:13] <tome> that would mean that all pages I want viewable must be specified in the whitelist? or does that read=false apply only to not-logged-in users [07:36:32] <Splarka> just non-logged-in users [07:36:36] <tome> awesome [07:37:34] <CIA-43> 03aaron * r31669 10/trunk/extensions/ConfirmAccount/ConfirmAccount.i18n.php: Tweak message [07:37:36] <Splarka> you might consider setting your MediaWiki:Mainpage to a simple soft-redirect to [[Special:Userlogin]], and have a second "logged in" main page [07:38:14] <tome> how would I do that? [07:38:23] <Splarka> erm that is, the contents of the page specified in MediaWiki:Mainpage [07:38:45] <tome> $wgWhitelistRead="Special:Userlogin" is that the second part of "disable all reads and allow the login page" [07:38:49] <Splarka> the page at MediaWiki:Mainpage is used for a lot of things, the link for the logo, returnto after many actions, the default page loaded if no title is specified, etc [07:38:59] <tome> ah [07:39:01] <Splarka> so making that unreadable can be dangerous (default is [[Main Page]] [07:40:18] <tome> hm, so trying to put together the best strategy here, overall what do I want: users who aren't logged in see the login page, and cannot see any other pages even by direct link, users woh are logged in should see the main page and can edit, etc. [07:40:23] <Splarka> so if you make the contents of [[Main Page]]: This site requires you to [[Special:Userlogin|log in]] to view pages. To see the logged in version, click [[Project:Main Page]] [07:40:39] <tome> ah [07:41:00] <Splarka> and you could do some soft JS... [07:41:35] <tome> how would I stop non-logged-users from seeing pages other than Main Page and login [07:41:46] <tome> do you suggest I use whitelist and the read=false from aboe [07:41:48] <tome> above [07:41:50] <tome> for htat? [07:42:01] <tome> wow, typing not working out [07:42:04] <Splarka> if(wgPageName == "Main_Page" && wgUserName) document.location.href = 'http://yourwiki/wiki/Project:Main_Page'; [07:42:12] <Splarka> yes [07:42:33] <tome> whoa [07:42:35] <Splarka> basically, that is the only secure method supported by the code natively [07:42:48] <tome> where would you put this js, and how would you get it there [07:43:18] <Splarka> MediaWiki:Common.js [07:43:32] <tome> by the way is this documented somewhere, I imagine this is a common requirement [07:43:54] <Splarka> well, your original question was a bit confusing [07:43:58] <tome> I apologize [07:44:14] <Splarka> but if you want: "all pages unviewable by anonymous users except the main page and login page", that is a very common request [07:45:37] <Splarka> http://www.mediawiki.org/wiki/Help:User_rights [07:45:39] <tome> excellent, yes I see hits now for the right terms [07:45:40] <tome> : ) [07:46:09] <Splarka> be sure to disable account creation if you want to restrict it [07:46:23] <tome> thanks! (first thing I did) [07:46:56] <tome> The js redirect is nice trick [07:52:04] <CIA-43> 03aaron * r31670 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount.i18n.php SpecialConfirmAccount.php): Improve notice cache [08:02:54] <mondschein> good morning all...i have a huge problem :( i lost articles... i deletet a namespace in my localsettings.php because it was double and now a lot of articles are lost also articles which where in other namespaces than the one which i deleted...though i undo everything the articles and even links are lost...do you know where i can look up the wiki text in the database? [08:08:33] <tome> Splarka: everything worked wonderfully, thank you! Final question is about all those non-wiki files like FAQ etc. What do most people do about not letting others see them, do they set their wiki root elsewhere or do they change permissions or do they remove those files. Is there some documentation that provides some guidelines? [08:09:10] <Splarka> chmod them? [08:11:03] <tome> Splarka: seems reasonable, but how do I know which files I can alter and which need read permissions [08:11:53] *Splarka has no answer to that one [08:12:35] <tome> haha, ok thanks for the great help! [08:12:48] <tome> have a good night/day [08:16:26] <tome> Splarka: for example the maintainance directory, does that need to be accessable by mediawiki or can I chmod it and/or move it out of that path? [08:16:45] <mondschein> does anybody know where i can find the wikitext of articles in the database'? [08:22:48] <MZMcBride> mondschein: ... why not re-enable the namespace? [08:23:49] <mondschein> i tried still the page is blank or what do you mean with re-enable? [08:24:09] <MZMcBride> If removing the lines in LocalSettings.php caused the problem... re-add the lines. [08:24:56] <mondschein> yeah i tried that...still the pages seems lost if i look in my recent changes then it sasys :FAQ (that's the page) if i want to see it it's blank [08:25:15] <mondschein> i looked in the database table archive but couldn't find anything with faq [08:25:20] <mondschein> :( [08:25:40] <MZMcBride> You need to run a maintenance script. Their included in the maintenance directory. [08:25:46] <MZMcBride> namespaceDupes.php or something. [08:26:15] <mondschein> how do i run it? [08:26:27] <mondschein> just call it via browser? [08:26:37] <MZMcBride> No, it has to be run via the command line. [08:27:24] <Frank_Poppe> Hi, I dont fully understand how to create the links on my skin.php (links to articles), is there a good tutorial somewhere about the linking? [08:27:32] <Frank_Poppe> i cant find anything [08:28:17] <Frank_Poppe> for something like that <a class="toolboxitem" href="<?php echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href']) ?>"<?php echo $skin->tooltipAndAccesskey('t-whatlinkshere') ?>><?php $this->msg('whatlinkshere') ?></a> [08:28:25] <mondschein> how do i do that? what do i have to type in my console? [08:29:16] <mondschein> mzmcbride:something like execute? [08:29:33] <MZMcBride> "php namespaceDupes.php" [08:29:38] <MZMcBride> It has options as well. [08:29:52] <MZMcBride> Plus, you need to have AdminSettings.php set up. [08:30:07] <Frank_Poppe> so nobody knows where i could find info about the links no? [08:30:08] <mondschein> never touched it [08:30:21] <MZMcBride> !skins | Frank_Poppe [08:30:21] --mwbot-- Frank_Poppe: Overview: <http://www.mediawiki.org/wiki/Manual:Skins>. Skin usage: <http://www.mediawiki.org/wiki/Help:Skins>. Gallery of CSS styles: <http://meta.wikimedia.org/wiki/Gallery_of_user_styles>. Writing your own: <http://www.mediawiki.org/wiki/Manual:Skinning> [08:30:28] <Frank_Poppe> thx [08:30:46] <MZMcBride> mondschein: It really is easier to fix whatever is broken in LocalSettings.php. [08:31:27] <mondschein> well i did i have undone my changes...but still the article is lost [08:31:44] <MZMcBride> It shouldn't be. [08:31:51] <mondschein> i know :( [08:32:22] <mondschein> but i didn't do anything else and i know that this article had content...but now it hasn't and it has no history [08:32:52] <MZMcBride> That's because it's trapped in MediaWiki purgatory. [08:33:04] <MZMcBride> You've eliminated the namespace without moving the article first. [08:33:12] <MZMcBride> Thus, the database is entirely confused. [08:33:34] <mondschein> just hit me...i forgot the $ in LocalSettings... *argh* [08:33:48] <Splarka> pay the piper [08:34:31] *MZMcBride sends Splarka to MediaWiki purgatory. [08:35:02] *Splarka seems to be in WP:Purgatory, in namespace zero, and can only see out via a listing in Special:Brokenredirects [08:35:07] <mondschein> ahm another question if wgSitename is Mondschein then ns 4 is Mondschein: and if i want to have an FAQ in that ns i have to create an Article Mondschein:FAQ right? [08:35:35] <MZMcBride> Right. [08:35:45] <Splarka> *as long as $wgMetaNamespace is false [08:36:02] <mondschein> hu? [08:36:13] <mondschein> why? [08:36:28] <Splarka> because you define the project's meta namespace via $wgMetaNamespace [08:36:40] <Splarka> but if you leave it == "false", then it uses $wgSitename [08:36:50] <Splarka> which is the default [08:37:06] <Splarka> MZMcBride: you have to eat a lot of caves when giving succinct answers ^_^ [08:37:31] <mondschein> ah ok...thx [08:37:31] <MZMcBride> Hm? [08:37:47] <Splarka> caveat [08:37:57] <Splarka> (a little pun) [08:38:01] <MZMcBride> Heh. [08:55:44] <Talleyrand> 'ello everyone. [08:58:10] <Talleyrand> Might anyone here have a working knowledge of the APIs available? [08:58:53] <_wooz> lo [08:58:54] <Talleyrand> I have a few questions in regards to a service I'm potentially looking at building out. [08:59:37] <Agony|> mw seems to have slight problems with IE8 Beta, should I file bugs I found already or should I wait for IE8 RC? [08:59:56] <Agony|> CSS problems mainly [09:00:07] <Agony|> and monobook [09:00:16] <Talleyrand> Most important is, how feasible would it be to say as an example, pull images from wikimedia.org and use them to populate results and expanded information pages? [09:09:23] <CIA-43> 03dale * r31671 10/trunk/extensions/MetavidWiki/ (8 files in 5 dirs): [09:09:23] <CIA-43> mv_embed roe export [09:09:23] <CIA-43> semantic query media results rewritten to inline player [09:18:42] <mondschein> how can i edit text to the search page? [09:19:03] <mondschein> is it possible? [09:19:06] <Splarka> check Special:Allmessages for the text you wish to edit [09:19:29] <Splarka> (several different messages appear depending on button pushed and results found) [09:19:30] <mondschein> thx [09:22:24] <CIA-43> 03grondin * r31672 10/trunk/extensions/CategoryIntersection/CategoryIntersection.i18n.php: Localisation updates for extensions messages from Betawiki [09:23:11] <Splarka> mondschein: some of the ones you probably want to check: searchresults searchresulttext searchsubtitle searchsubtitleinvalid noexactmatch noexactmatch-nocreate toomanymatches titlematches notitlematches textmatches notextmatches prevn nextn viewprevnext showingresults showingresultsnum nonefound powersearch powersearchtext searchdisabled [09:25:50] <mondschein> splarka:i just edited Searchresulttext because i wanted to change the text which is displayed if you wanna search something...or do i have to edit the other pages as well? [09:27:01] <mondschein> is there a way for a normal user to find out the real name of another user? [09:29:52] <Splarka> well, as stated, 'the text' is composited from several messages, depending on what is going on [09:30:51] <mondschein> mhm but searchresulttext isn't that the text which is always displayed and the others are just added depending on the resulöt to that text? [09:32:45] <Splarka> well, that one does appear to always appear, yes [09:33:19] <CIA-43> 03dale * r31673 10/trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js: ie javascript fixes [09:36:04] <mondschein> do you know if there is a way for users to look up real names of the user? or can they just see nicknames? [09:37:00] <CIA-43> 03mkroetzsch * r31674 10/trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php: typo fixed [09:50:39] <CIA-43> 03raymond * r31675 10/trunk/phase3/includes/SpecialUpload.php: [09:50:39] <CIA-43> * Replace hard coded colon with the new colon separator message [09:50:39] <CIA-43> * Whitespaces [09:59:30] <ukubuntu> Hi all, I am trying to make a link that when I hover over it, it will display diferent text to both the link page text and the actual link. In essensence, when I hover over a link I would like to display other infoprmation, can this be done as it is not apparent in the Help:Links [10:00:05] <ukubuntu> eek one or two typos! [10:01:12] <Splarka> for just one link? or for all links on a whole wiki? [10:01:58] <Splarka> if just one, you can try something like: [10:01:58] <Splarka> [[Foo|<span title="alternate title">Bar</span>]] [10:02:19] <mondschein> how can it be that if a page is written MediaWiki:Sidebar/sysop i have a deletion tab so i can delete that page and if i write MediaWiki:Sidebar/Sysop the deletion tab is gone?° [10:02:21] <Splarka> most browsers (I believe) will take the title of the innermost object, the span in that case [10:02:25] <ukubuntu> for instance, I have a family tree http://www.adrian-rea.com/familytree/wiki/index.php/Main_Page and I would like details of family on each link [10:02:36] <ukubuntu> thanks I will try Foo :) [10:04:10] <Splarka> ukubuntu: you might wanna create a template to automate it [10:04:57] <VinhTan> Can anybody show me where I should read to import a Wikipedia database dump into MediaWiki? [10:06:43] <Splarka> mondschein: that namespace is a bit special, if the message exists in /languages/messages (in your content language) or is registered via extension it can show without the page existing [10:07:32] <mondschein> this means in that case i couldn't delete it but edit it? [10:07:47] <Splarka> well, if it doesn't exist you can't delete it, try action=purge [10:08:23] <ukubuntu> Thank Splarka, that works better, but can you think of a way to insert line breaks in the hover label without breaking it? <br /> breaks the link [10:08:47] <ukubuntu> THank you :) [10:08:48] <mondschein> mhm what does that do? the page displays normal [10:08:57] <Splarka> I don't think the title= attribute allows linebreaks [10:09:18] <ukubuntu> OK, looks like an extension request :) [10:09:41] <Splarka> well, by extension, I don't think most browser's default tooltips allow them either [10:09:49] <Nikerabbit> Raymond_: heaven no [10:09:51] <Splarka> you'd probably have to make some javascript-centric popup tooltips [10:09:57] <Nikerabbit> please don't use colon-separator for labels [10:10:09] <ukubuntu> OK, maybe I will have to make all one line , no worries [10:10:23] <Raymond_> Nikerabbit: why not? [10:10:34] <Splarka> mondschein: so, the page exist but there is no delete link? [10:10:49] <Nikerabbit> Raymond_: because then I can't remove it [10:10:51] <mondschein> splarka: yes i can browse it and edit it [10:11:03] <Nikerabbit> it should be there in the category display, but not in labels [10:11:22] <Nikerabbit> in other words we have achieved anything in flexibility [10:11:36] <Splarka> mondschein: well, you can do that with messages that don't necessarily have pages associated with them, is there a history link? [10:11:37] <Raymond_> Nikerabbit: what do mean with "I can't remove it"? [10:12:08] <mondschein> splarka: now that i edited it i'm able to delete it...mhm weird [10:12:10] <Nikerabbit> Raymond_: that it is impossible to translate messages in a way that the colon would not show up special:upload [10:12:21] <mondschein> splarka. the tab appeasred out of nowhere [10:12:31] <Splarka> mond: right, so the page didn't exist, is a quirk of the namespace [10:12:50] <Splarka> there can be default content on view and edit of no such page [10:13:02] <Raymond_> Nikerabbit: right. but former it was hardcoded there... [10:13:44] <mondschein> splarka:what does it mean "edit of no such page"? [10:13:46] <Nikerabbit> Raymond_: that change didn't make the situation any better [10:14:11] <Raymond_> Nikerabbit: it makes it better for languages which need a space before the colon. [10:14:22] <Splarka> mondschein: well, for example... the label "Edit this page" at the top of every editable page [10:15:16] <Raymond_> Nikerabbit: I have moved the colons from specialUpload.php into the language files last year for more flexibility and was stabbed hard because it breaks localizations [10:15:25] <Splarka> the default is 'Edit', and is stored in the system messsage called 'edit', it is assigned in /languages/messages/MessagesEn.php here: [10:15:29] <Splarka> 'edit' => 'Edit', [10:15:55] <Splarka> this can be changed (assuming your content language and user language are both English) by editing the page on the wiki called MediaWiki:Edit [10:15:58] <Nikerabbit> Raymond_: did you change the messagename at then? [10:16:10] <Nikerabbit> nowdays we could keep the name and just run fuzzy over it [10:16:23] <Splarka> however, by default, that page does not exist, and when the software sees that it does not exist, it gets the default from the message cache, which gets it from languages/messages/MessagesEn.php [10:17:05] <Raymond_> Nikerabbit: dunno. the problem are the local localizations in the mediawiki namespace. tim counted them, over 100 projects were broken. [10:17:08] <Splarka> and, when you go to that page location, while a page doesn't exist (as you can do for any valid page name), you'll see 'edit' (instead of "no page by this title exists" for all other namespaces) [10:17:25] <Splarka> and, when you click edit, you'll see the default pre-loaded for you (while any other namespace will be a blank edit box) [10:17:29] <mondschein> splarka: you know though i deleted the pages they are there again...though i put the lines which have relations to that extension out of localsettings.php...what does that mean? [10:17:42] <Nikerabbit> Raymond_: that doesn't matter if we don't change the messagename [10:17:53] <Splarka> mondschein: that is probably because it is in the message cache now [10:17:53] <Nikerabbit> afaik it was that the customisations would broke [10:18:05] <Splarka> try null editing a page in the MediaWiki: namespace and it should disappear [10:18:14] <Nikerabbit> translations don't matter, they shouldn't do it in the first place :) [10:18:47] <Raymond_> Nikerabbit: yes, the customisations broke. [10:19:22] <mondschein> mhm ok thx :) [10:19:23] <Nikerabbit> but now we can do it without breaking them [10:20:05] <Raymond_> Nikerabbit: feel free to do it :) I was stabbed for that *ouch* [10:24:09] <Nikerabbit> I'll take try then :D [10:24:20] <Raymond_> good luck :) [10:35:35] <CIA-43> 03nikerabbit * r31676 10/trunk/phase3/ (includes/SpecialUpload.php languages/messages/MessagesEn.php): * Let's remove hardcoding together [10:36:26] <Nikerabbit> -' [10:36:43] <CIA-43> 03dale * r31677 10/trunk/extensions/MetavidWiki/ (4 files in 3 dirs): more javascript and scraper fixes [10:39:07] <Nikerabbit> Raymond_: that code is horrible btw :< [10:39:26] <Raymond_> Nikerabbit: you are absolutly right [10:42:32] <Nikerabbit> align1 -> textDirStart or something :o [10:51:43] <iiiiiiiiiiiiiiii> hallo speak anyone german [10:53:06] <mondschein> ja [10:58:44] <CIA-43> 03tstarling * r31678 10/trunk/extensions/DumpHTML/wm-scripts/ (9 files): Updated for new directory layout [11:10:52] <wikibugs> 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 (10magnusrk+wiki) [11:32:33] <zocky> how does one do int() or floor() in #expr? [11:34:00] <Splarka> round ? [11:34:04] <CIA-43> 03tstarling * r31679 10/trunk/extensions/DumpHTML/wm-scripts/config.sh: eol-style [11:35:37] <Dashiva> round the value - 0.5 [11:37:18] <zocky> that's not exactly right though [11:37:29] <Splarka> {{#expr: 1123.4567 round -3}} {{#expr: 1123.4567 round -2}} {{#expr: 1123.4567 round -1}} {{#expr: 1123.4567 round 0}} {{#expr: 1123.4567 round 1}} {{#expr: 1123.4567 round 2}} {{#expr: 1123.4567 round 3}} [11:37:30] <zocky> gives -0 in some circumstances [11:37:38] <Splarka> negative zero <3 [11:37:46] <flyingparchment> zocky: float-point arithmetic is never exactly right [11:38:22] <zocky> i'm coding a template for people who want spaces in 3.141 592 6583 [11:38:23] <Splarka> {{#ifeq:your expr|-0|0|your expr}} [11:39:05] <Splarka> heh, I think we need an {{unformatnum}} parserfunction [11:39:11] <zocky> they want spaces, but they want them thinner than normal spaces, and they want it to be copy-pastable to excel (don't ask) [11:39:34] <zocky> Splarka, that's why they insert bunches of spans into articles [11:39:36] <Dashiva> For cp you'd probably want tab characters [11:39:52] <Splarka> well, what do they want them copypastable *as* ? [11:40:13] <Splarka> as spaces? as null? tabs as dash says? [11:40:33] <zocky> style="margin-left:0.25em" [11:40:51] <Dashiva> Pasting a string containing tabs puts the values in multiple cells, at least [11:41:21] <zocky> anyway, my template works fine for their tests, but an example on my talk page breaks it [11:41:23] <Splarka> probably not what they want then [11:41:43] <Splarka> seems like they'd want it to display as 3.141 592 6583 but paste as 3.1415926583 [11:41:49] <zocky> yep [11:41:58] <zocky> that's what it does, actually [11:42:18] <Dashiva> Wow [11:42:19] <zocky> 6.022461342 [11:42:23] <Dashiva> That's pretty bizarre :) [11:42:27] <phrearch> hi [11:42:35] <phrearch> im trying to install mediawiki, but i get this error: [11:42:36] <phrearch> Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3) is not within the allowed path(s): (/home/:/tmp/:/usr/share/pear/) in /home/httpd/html/wiki/config/index.php on line 1793 [11:42:46] <phrearch> along some other paths [11:44:39] <ukubuntu> splarka hope you do not mind I thought best to add it to the help pages [11:44:41] <ukubuntu> http://www.mediawiki.org/wiki/Help:Links [11:44:52] <zocky> bah, I need to do it differently, anyway [11:44:56] <zocky> because round is broken [11:45:11] <Jack_Phoenix> argh, how can I make this i18n-able: http://www.mediawiki.org/wiki/Extension:EditPageMultipleInputTextAreas#Code - I want to get rid of those hardcoded messages and allow users to define those titles through MediaWiki: messages [11:45:19] <Splarka> I don't mind, but it doesn't come up too often ukubuntu ^_^ [11:45:23] <zocky> whoever thought "3 round 2" should be "3" and not "3.00" wasn't thinking straight ;) [11:45:28] <ukubuntu> :) [11:46:28] <Splarka> Jack: wfmsg and add some english defaults in the i18n ^_^ [11:46:40] <Jack_Phoenix> Splarka: I failed at that, duh [11:46:42] <lambux> is there a way to extract all template-usafes from a wiki db to a textfile or php object? [11:46:48] <Splarka> so unfail [11:46:55] <Jack_Phoenix> easier said than done ;-> [11:46:56] <lambux> *uses not usafes [11:48:09] <lambux> anyone? :D [11:48:30] <Duesentrieb> lambux: select * from templatelinks [11:48:48] <Duesentrieb> lambux: you may want to join tl_from to page.page_id though [11:49:05] <Splarka> will that return things that link to the template, like [[Template:Foo]] as well as {{foo}} ? [11:49:27] <Duesentrieb> no [11:50:04] <Splarka> so why isn't that used in Special:Whatlinkshere, bah ^_^ [11:50:30] <lambux> so pages where a template was used then? or only the template part? [11:50:35] <Splarka> <h2>Links</h2>/<h2>Transclusions</h2>/<h2>Redirects</h2>/<h2>Ifexists</h2>/<h2>Embeds</h2> [11:50:37] <Duesentrieb> Splarka: whatlinkshere combines both [11:50:42] <zocky> (({{{1}}} + .5) round 0) - 1 [11:50:45] <Splarka> yes, and it'd be nice if it didn't [11:51:10] <Duesentrieb> lambux: whot? [11:51:28] <Duesentrieb> lambux: that query gives you the full relation - all uses of all templates on all pages [11:51:48] <Duesentrieb> you can limit it to one page or one template using the appropriate where clause [11:52:09] <Duesentrieb> Splarka: it would be very nice to have that optional, indeed [11:52:12] <lambux> ok! thankyou very much :D [11:52:45] <zocky> Splarka, I would settle for a dropdown with those options [11:53:19] <Splarka> {{socodeit|anyone}} [11:58:53] <babilen> hi all... can someone explain the usage of 'namespaceAliases' in MessagesZh* to me? [11:59:23] <babilen> does that mean, that chinese language editions of wikipedia use the english and chinese namespaces ? [12:00:06] <babilen> and that there are different versions for Taiwan, China, Vietnam, Singapore and HongKong? [12:00:48] <babilen> s/Vietnam//g [12:01:53] <Wikizine90> who speak german ? [12:02:02] <babilen> i do... [12:02:18] <Wikizine90> hi bailen [12:02:27] <babilen> hi [12:02:37] <Wikizine90> babi kennst du dich gut mit wiki aus ? [12:02:53] <babilen> Wikizine90: worum geht es denn? [12:03:16] <Wikizine90> wie man eine tabellezelle farbig macht . [12:03:33] <Wikizine90> ich hab schon html aber das nimmt der ja nicht an [12:03:36] <babilen> Wikizine90: Da kann ich Dir leider auch nicht helfen [12:04:21] <Wikizine90> who speak still german ? [12:06:39] <Wikizine90> who speak german ? [12:08:17] <e_s_p> Wikizine90: you're being rude [12:08:26] <e_s_p> Wikizine90: #wikipedia-de might help [12:08:46] <mondschein> Wikizine90:{| style="background:yellow; color:green"|- | abc || def || ghi|- style="background:red; color:white"| jkl || mno || pqr|-| stu || style="background:silver" | vwx || yz|} (http://meta.wikimedia.org/wiki/Help:Table) [12:09:51] <mondschein> how can it be that the sysop is able to see the extended toolbar (extra buttons) and the a dropdown list of extra symbols (like in the english wikipedia) and other users won't!? [12:10:41] <Duesentrieb> Wikizine90: bad english will get you more help than good german. anyway, mediawiki allows html syntax for tables (but not mixed wiki and html). mediawiki also supports full css styling on elements like span and div, and also on table cells. [12:10:47] <Wikizine90> mondschein speak you german ? [12:10:53] <Duesentrieb> Wikizine90: ansonsten: RTFM http://de.wikipedia.org/wiki/Hilfe%3ATabellen#Sortierbare_Tabelle.2C_Zellf.C3.A4rbung.2C_Spaltenbreite.2C_Textausrichtung [12:11:29] <Splarka> mondschein: are you sure it isn't because the extra buttons are in your user/monobook.js ? [12:11:55] <babilen> i can't find any matches if i grep for '图像:' (image) in titles in the wikipedia dump. i conclude that it is *not* used as a Namespace.. [12:12:01] <mondschein> no it's in MediaWiki:monobook.js [12:12:12] <Wikizine90> wie macht man es bei einer zelle ? [12:12:12] <Splarka> Duesentrieb: mixed wiki and html does work, possibly only with tidy though [12:12:17] <mondschein> and MediaWiki:Onlyifediting.js [12:12:35] <Duesentrieb> Splarka: there are issues, yea [12:12:35] <babilen> what are namespaceAliases used for and how do i encunter them if i work on the wikipedia dumps? [12:12:35] <Splarka> mond: is it conditional at all? [12:13:01] <Duesentrieb> babilen: you encounter them in links [12:13:27] <Wikizine90> duesentrieb ?? [12:13:30] <mondschein> splarka:what do you mean with conditional? [12:13:43] <Wikizine90> mondschain ? [12:13:44] <Duesentrieb> Wikizine90: | style="..." | blabla [12:13:57] <babilen> Duesentrieb: anywhere else? and they are translated on the fly by mediawiki? [12:13:59] <Duesentrieb> Wikizine90: steht auch in der doklumentation... [12:14:01] <Splarka> [[Project:Foo]] will 302 (or 301?) redirect the user to the sane page, but prefixed used in $wgMetaNamespace or $wgSiteName [12:14:14] <Duesentrieb> babilen: they are not translated, they are aliases. [12:14:15] <Wikizine90> aber nicht im deustche version [12:14:46] <Duesentrieb> Wikizine90: doch. nicht für farben, aber andere styles. [12:14:49] <Wikizine90> in style kommt der Hexcode rein oder ? [12:14:56] <Splarka> the other namespace aliases work similarly, where english defaults are often aliased to the translations, so Special: will go to Especial: in a spanish contentlanguage wiki [12:14:58] <Duesentrieb> Wikizine90: selfhtml ist dein freund.# [12:15:05] <babilen> Duesentrieb: what i meant is that a link to '图像:someImage.jpg' will be translated to 'Image'someImage.jpg' and that page will be returned [12:15:21] <Wikizine90> aber wiki ha andere programmersprache [12:15:25] <Wikizine90> hat [12:15:32] <Splarka> mondschein: as in, if(wgUserGroups.join(' ').indexOf('sysop') !=-1) {} [12:15:35] <Duesentrieb> babilen: well, 图像 and image are both translated top the same internal id (10) [12:16:07] <mondschein> splarka: oh i don't get what you mean? where does if(wgUserGroups.join(' ').indexOf('sysop') !=-1) {} stand? [12:16:41] <Duesentrieb> ugs, that condition looks a bit even [12:16:43] <Splarka> mondschein: to clarify, are you talking about the toolbar above the edit window? [12:16:47] <Duesentrieb> in_array works :P [12:16:59] <babilen> Duesentrieb: ok, so internally pages are identified by an 'internal' id, which is available to me by the namespace definition in the beginning of the xml dump file and the list of aliases. But i will never encounter them (ids) in the markup? [12:17:19] <mondschein> splarka: mom [12:17:40] <Duesentrieb> Wikizine90: markup.sprachensind keine programmiersprachen. und mediawiki erlaubt einiges an html, und so gut wie alles and css. und das ist beides bei selfhtml gut erklärt. zum beispiel, wie man farben angibt. [12:17:41] <Wikizine90> duesentrieb kann auch in style den hexcode einbauen ? [12:17:48] <Splarka> !mama | mondschein [12:17:48] --mwbot-- mondschein: I don't know where your mommy is. [12:18:03] <mondschein> huh!? what was that? [12:18:09] <Duesentrieb> babilen: a link to 10:foo.jpg is also valid. it's rarely used, but possible [12:18:25] <Splarka> a silly macro, you said "mom" (probably meant moment, but might have ment you wanted your mom?) [12:19:10] <Splarka> babilen: also sometimes the magicword (parserfunction) {{ns:10}}:foo.jpg [12:19:43] <Duesentrieb> Splarka: I always read "mompl" as "moment please", not as "mommy, please!" [12:19:52] <babilen> Duesentrieb: how is the page '10:foo' saved in the database? what is its title? [12:20:09] <mondschein> splarka: you are funny huh? http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons [12:20:29] <Duesentrieb> babilen: the title is Foo. in the page table, the namespace is always stored as a numeric id separate from the title proper [12:20:31] <mondschein> splarka:this one i meant the original toolbar is shown but not the extra buttons [12:20:45] <Splarka> right, so that is javascript [12:20:55] <Splarka> and javascript can easily have conditionals like that stated above [12:21:05] <Splarka> so I was asking, was there any type of conditional in the JS that limits it to sysops? [12:21:21] <Duesentrieb> babilen: but to link to an image on, say, the german wikipedia, you can use [[10:foo.jpg]], [[Image:Foo.jpg]] or [[Bild:Foo.jpg]], and it's even possible to define more aliases. [12:21:35] <babilen> Duesentrieb: ok, that simplifies a lot. am working on the xml dumps right now, which has namespaces in the page titles [12:21:41] <e_s_p> Splarka: Isn't there something in the wg JS globals for user level? [12:21:55] <mondschein> splarka: directly in the js text in monobook.js°? [12:22:03] <Wikizine90> duesentrieb könnte sein das css wiki nicht erlaubt ? [12:22:07] <Duesentrieb> babilen: yes i know. i think the title tag should have the numberic namespace id too. and maybe also the plain title without prefix [12:22:09] <Splarka> yah [12:22:17] <babilen> Duesentrieb: ok, thanks for clarifying this. will the english identifiers work in all languages? [12:22:37] <Duesentrieb> babilen: or somethign like this: <title><namespace id="10">Image</namespace>Foo [12:22:44] that would be nice :) [12:22:56] Duesentrieb: i am writing an API for wikipedia because i am doing NLP research with it, and these kind of things are driving me nuts.. ;-) [12:22:56] Splarka: wgUserGroups [12:22:57] babilen: yes the english identifiers work everywhere [12:23:01] Duesentrieb: so where exactly are bare numeric aliases ever used? [12:23:07] Duesentrieb: exactly, that would be great! [12:23:15] e_s_p: what about it? [12:23:34] (10:21:06 AM) Splarka: so I was asking, was there any type of conditional in the JS that limits it to sysops? [12:23:38] ... [12:23:46] babilen: ask me again in a couple of month an i can give you a lot of code for doing all this in java :) [12:23:49] read the scrollback e_s_p [12:24:01] I was asking her if there was anything like that, that might describe her problem [12:24:22] Splarka: did you get an answer to your question? [12:24:35] babilen: oh, btw, the internal id of the image namespace is 6, not 10. 10 is template, sorry :) [12:24:37] Duesentrieb: So if i want to assign a namespace to an article by its title (from the xml dump) i have to consider the numerical id, the english identifier and the translations? [12:24:41] yes, another question [12:24:46] Duesentrieb: nevermind [12:24:47] Sounds good then [12:25:26] It's an interesting problem, limiting client-side code by user [12:25:26] uesentrieb könnte sein das wiki css programmerung nicht erlaubt ? [12:25:39] I think the best you can do is try to guide the UI so it doesn't give controls that people can't actually use... [12:25:43] esp: problem: why do only sysops see the extra edit buttons? me: are you sure it isn't in your user JS? them: sitewide js. Me: are you sure it isn't using a conditional? them: what? me: like if(wgUserGroups.join(' ').indexOf('sysop') !=-1) {}, them: where? [12:25:55] babilen: hm, trying right now again, the numeric id doesn't seem to work in wiki text... what was i thinking of?... [12:26:07] e_s_p: I know how to do it, I've done it many many times, I am wondering if they've done it [12:26:12] Duesentrieb: and all this is much easier after i finished the db-mapper because i will always deal with the numerical ids [12:26:34] Duesentrieb: so just the english identifiers and their translations? [12:26:49] *Splarka tries to remember which conversation threads he was part of [12:26:59] splarka: couldn't find a hint in the js. that there is limitation to any level [12:27:13] babilen: yes. [12:27:14] Duesentrieb: sorry, for being so pedantic, but it is hard enough to figure out mediawiki markup from the documentation (please give me EBNF) [12:27:19] Duesentrieb: ok, thanks... [12:27:22] *Duesentrieb is still wondering where he got that about the numeric ids. [12:27:29] Splarka: awesome then [12:27:37] mondschein: tried purging cache on the non-sysop user? [12:27:38] Carry on [12:27:44] *Splarka bites e_s_p [12:27:47] babilen: there's no ebnf. there's no formal spec, because there's no real parser. this has been a problem for years. [12:28:25] Duesentrieb: i know... been cursing silently at night because of that :-) [12:28:26] babilen: the closest we have right now is here: http://www.mediawiki.org/wiki/ANTLR [12:28:33] ok, thanks for today... [12:28:36] check out wikitext-l [12:28:43] Duesentrieb: [[06:Wiki.png]] and [[6:Wiki.png]] don't work on en.wp but [[{{ns:6}}:Wiki.png]] does, is that what you meant? [12:28:57] Duesentrieb: yeah, that is a start!! [12:29:01] Splarka: no, but that'S also true, yea :) [12:29:09] splarka: i'm not sure if i understood your question right...but i found out because i logged in as sysop then logged out and then logged in as normal user...suddenly it disappeared when i was in action=edit [12:29:09] (i for one ignore links using that) [12:29:36] 03(NEW) Case sensitive handling of HTTP headers like " X-Forwarded-for" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13281 major; normal; MediaWiki: General/Unknown; (wegge) [12:30:10] mond: well, your sample group is extremely low.. what if you log in as another sysop? or another non-sysop user? [12:30:31] weiß jemand ob wiki css auch verträgt ? [12:30:46] Splarka: You read my mind! I was just going to tell you to bite me! [12:31:09] Wikizine90: das habe ich dir jetzt schon ztweimal gesagt. ach ja, und utf8 ist dein freund. [12:31:36] if(wgUserName == 'e s p' && wgUserGroups.join(' ').indexOf('edible') != -1) bite() [12:31:53] was soll das ? [12:32:50] " in_array works :P"... no it doesn't [12:32:50] splarka: i logged in two times first time as a user which is in diffrent groups but no sysop and the second time with a user which is just a user...the other sysops working whith wiki could see the extra buttons the whole time...:( [12:33:05] Splarka: hm? [12:34:08] you didn't like my wgUserGroups.join(), but the simple alternative is to iterate the array checking for wgUserGroups[i] == 'sysop' [12:34:29] (you did know it was javascript right?) [12:35:35] splarka: i just registered a test_sys etc. and this test_sys sees' the full toolbar it has to do something with the js limitation...where do i limit that? in localsettings? [12:35:56] mond: it probably has to do with cache, but can you link to the .js in question? [12:36:05] Splarka: no i didn't :P but in js, you can do x.contains(y) no? [12:36:15] splarka: i#m not sure waht do you mean where i should try wgUserGroups.join() [12:36:23] or indexOf [12:36:34] no i can't my wiki is not online [12:36:40] mond: no no no.. I was asking if someone had, would be a quick explanation for those exact symptoms [12:37:32] splarka: huh!? sorry i don't get you...what do you mean? [12:38:25] nevermind [12:38:37] ctrl-shift-f5 on the user you can't see the buttons on, see if they show [12:40:21] Duesentrieb: I don't think there is any native JS function like in_array() [12:40:35] but feel free to find one, and I'll use it in the future [12:41:55] i thought there eas, but maybe there isn't :) [12:42:25] js as a language is wuite ok, but the standard classes & functiosn suck, the browser integration blows, and the DOM cruft is a real pain. [12:43:11] so, what is there, besides the classes, functions, integration, and DOM? [12:43:18] the formatting? heh [12:43:28] syntax and concepts [12:43:32] if all the writing, reading, and execution sucks... [12:43:39] prototypes, closures, all that [12:43:40] hello [12:44:07] splarka: you mean emtpy cache..i did that via edit->preferences->advanced->cache_clear cache...because refresh not alwas emptys cache--> nothing happens when i push ctrl-shift-f5 [12:44:15] Splarka: the language proper is separate from the standard library/api. and the standard library/api is what sucks. [12:44:19] the language as such is fine [12:46:19] well, it is sort of the definition of fine [12:47:02] it seems fine because everyone who wants to use it on the web has to learn it, and learning it is simple, but using it is not! [12:48:07] you know hwta i don#t understand...the js function force prewiew works for every user and it's on the same page as the js code for the toolbar [12:57:49] How to set UTF-8 globally? [12:59:14] mediawiki is always utf-8, there is no need to set it [12:59:53] But I get wrong chars /swedish) when I paste a articke. [13:05:24] BjornH: paste what where? [13:05:51] BjornH: make sure you donÄ't have your browser set to force some strange charset [13:06:21] Okay, I will check again. [13:07:10] irony. [13:08:49] 03nikerabbit * r31680 10/trunk/extensions/CategoryIntersection/CategoryIntersection_body.php: * Some message tweaks [13:09:21] 03rotem * r31681 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [13:22:23] Duesentrieb, All is tested again, I have a example in my pastebin. Edding a part og a php file, copie and saved again in Notepad++, it is perfect. But in mediawiki I get wrong character. [13:22:32] Example: http://paste.vishet.se/index.php?id=102 [13:27:39] BjornH: where's your wiki at? [13:28:15] BjornH: the example in the pastbin doesn't help at all. it does not show the problem. [13:28:24] At http://guldforum.se/GuldWiki/ but only members og forum can login. [13:29:11] Hmm, the best table to get the wikitext of a revision is text, right? [13:29:19] Duesentrieb, ok, there it is ok but not in mediawiki. [13:29:26] (specifically, old_text, inside that table) [13:30:23] BjornH: well, i doub't it's mediawiki's fault, but i can't demonstrate if i can't edit. But first, can you show me a page where the problem exists? [13:30:51] (right now i suspect that something is broken about the way the copy&paste is handled by your browser, or the program the data is comming from( [13:31:24] SQLDb: that is where the actual text is stored *currently* per *default*. [13:33:03] Duesentrieb: thanks, is there a special format to it? I'm getting odd contents ("DB://cluster....") [13:33:04] Duesentrieb, I have open for new login direkt. Page I try to edit is http://guldforum.se/GuldWiki/index.php?title=Gallery.php&rcid=73 [13:33:46] SQLDb: that is for external storage. are you looking at wikipedia databases? [13:33:56] Duesentrieb: yes. [13:34:26] SQLDb: the stoprage architectuire is very flexible/complex. text may be stored in a lot of ways in a lot of places. like, in this example, compressed opn a separate server cluster [13:34:45] SQLDb: don't even try to unravel that. use mediawiki's methods to fetch the revision text. [13:34:58] Revision::getText or some such [13:35:14] Duesentrieb: heh, thanks :) [13:35:17] (you need the correct setup of external cluster though. and access to them, of course) [13:35:26] *SQLDb shoulda read up on this a couple weeks ago [13:35:37] SQLDb: uh, how/where are you accessing that? [13:35:41] Duesentrieb: TS [13:36:03] SQLDb: use wikiproxy then [13:36:07] that's what i wrote it for [13:36:26] SQLDb: also, that kind of question is what #wikimedia-toolserver is for :) [13:36:38] Duesentrieb: ahh, I thought it was generic to MW :) [13:37:00] SQLDb: well, it *Can* be used by any install [13:37:11] BjornH: i see some working and some broken characters on that page [13:37:33] BjornH: which to me indicates that the problem happens when you copy or edited the file [13:40:18] BjornH: here's what i get when i copy the text from the pastebin to your wiki: http://guldforum.se/GuldWiki/index.php/Anv3%A4ndare:Duesentrieb/Sandbox [13:40:28] bah, irc is chewing the url again [13:40:45] here: http://tinyurl.com/35e5za [13:41:06] works fine for me [13:41:07] Duesentrieb, yes, I take a copy of I page I have begin to translate to swedish. A few lines in top was edit in mediawiki. [13:41:33] BjornH: perhaps the editor you are using is not set to use utf8?... [13:41:38] hello [13:41:42] or it is, but screws up with the clipboard? [13:42:20] or the clipboard doesn't support utf8 [13:42:39] or the browser gets confused somehow [13:42:42] whatever [13:42:50] Duesentrieb, it is perfect in in notepad++, UTF-8 without BOM. [13:43:15] indeed [13:43:16] BjornH: then your browser is broken. *something* is broken on your side :) [13:43:47] BjornH: when you copy&past from your editor ino the browser's text field on mediawiki's edit page - does it look right there in the text field? [13:43:53] Duesentrieb, why perfekt in my own pastebin and in other place? [13:44:20] BjornH: your pastebin doesn't use utf-8 [13:44:36] Duesentrieb, it will be corupted direct in mediawiki. [13:44:39] something abour your browser, edit, or clipbnoard, or combination thereof, doesn't like utf-8 [13:45:12] BjornH: well, it isn't if *I* paste it. so... [13:45:19] does someone want to review my small patch? :o [13:45:35] Duesentrieb, okay, I will check more, thank for your time! [13:46:05] BjornH: have you tried copying from the pastebin into mediawiki? [13:46:07] try that# [13:46:13] if that works, it's your editor [13:46:20] if it doesn't, its the cliboard or browser [13:46:23] Ok. [13:46:24] what browser are you using? [13:46:30] Firefox. [13:46:44] well that *should* work. unless some extension is messing with it [13:47:03] what OS? are you using some smart/enhanced/fancy clipboard? [13:47:03] But why not in my pastebin? [13:47:09] WinXP. [13:47:33] i don'Ät know why it works in the pastebin. the obvious difference is that it does not use utf.8 [13:47:36] Noven, standard clipboard. [13:47:58] no idea [13:48:00] BjornH: http://papernapkin.org/pastebin/home [13:48:06] try that, it uses utf-8 [13:48:57] *Nikerabbit pokes Duesentrieb :) [13:49:15] *Duesentrieb hides behind his thesis [13:49:26] bah [13:49:32] it's only few lines :) [13:50:35] how do i clear my cache? [13:50:47] Nikerabbit: yes, but i'd have to svn up, run the updater, start apache, etc, etc... [13:51:02] kale: server side or client side? [13:51:02] Duesentrieb, it is perfect in http://papernapkin.org/pastebin/home !!! [13:51:14] BjornH: it must be evil server pixies then. [13:51:14] Duesentrieb: just look at it :o [13:51:19] Duesentrieb: database [13:51:30] kale: touch the localsettings file [13:51:38] that shold automatically discard all caches [13:51:44] Nikerabbit: *sigh* link? [13:51:53] Duesentrieb: localsettings.php? [13:51:59] http://translatewiki.net/sandwiki/forcelanguage.diff.txt :D [13:52:00] kale: yes. [13:52:20] Duesentrieb: thats just too easy [13:52:38] Nikerabbit: ugh, it involves the parser. i clue. [13:52:41] err, no clue [13:52:47] kale: :P [13:53:11] bah, the horrible horrible parser [13:55:35] Duesentrieb, alls is lacated in same server. Thanks for help. [13:55:46] s/located [14:02:26] 03nikerabbit * r31682 10/trunk/phase3/ (4 files in 2 dirs): * Parse MediaWiki message translations with a correct language setting on preview [14:04:02] hmhm [14:04:26] it would be nice if captcha returned image which says cookies must be enabled instead of error 500 [14:06:03] 03raymond * r31683 10/trunk/ (3 files in 3 dirs): Localisation updates German [14:16:06] tt/w 25 [14:17:10] 03(NEW) leap seconds not recognized (impossible to fix) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13282 normal; normal; MediaWiki extensions: ParserFunctions; (azatoth) [14:17:32] how do i enable file uploads? [14:22:06] !upload | kale [14:22:06] --mwbot-- kale: 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. [14:22:47] Raymond_: thanks [14:37:12] 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 +easy; +comment (10Simetrical+wikibugs) [15:00:55] in the Manual:Database_access, in the select description, it says "see Database::makeSelectOptions code for list of supported stuff" -> cant find it anywhere [15:01:23] anybody has an idea of where i could find that? [15:02:00] Piero: well, it refers to the class Database. which would customrily be defined in Database.php [15:02:10] ok thx [15:11:44] Which of the follow extensions would you recommend? ConfirmEdit or ReCAPTCHA? [15:11:52] Or is there a third one for the job? [15:13:31] 03aaron * r31684 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount_body.php SpecialConfirmAccount.php): Use different cache key name [15:14:54] hallo miteinander [15:15:16] ich habe ein paar fragen an mediawiki [15:20:08] frankythereal: if you want an answer, you should probably ask :) [15:22:45] quick question, how do I disable login? Is there a config variable that does it? [15:22:54] Yep, DireFog. [15:23:04] Two seconds, I'll find it. [15:23:27] 03aaron * r31685 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Stale list fix [15:24:08] DireFog: $wgGroupPermissions['*']['createaccount'] = false; [15:24:19] 03aaron * r31686 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: Bump [15:24:40] wouldn't that just make it impossible to create new accounts? [15:24:59] for anonymous users* [15:25:08] Well yes. [15:25:27] But you just don't want people to log in? [15:25:28] Hmm... [15:25:31] yes [15:26:20] I basically want to disable login functionality over non-HTTPS connections. The condition is easy, it's disabling logins that's the problem. [15:26:29] I could probably make that part of the skin [15:27:44] :( Dunno then. ;-; [15:29:31] DireFog, use .htaccess to forbid that page outside https ? [15:30:20] would be worth looking into [15:31:54] uses ugly URLs... "index.php?title=Special:Userlogin&returnto=Main_Page". I guess redirecting to the secure server if the URL contains "Special:Userlogin" should do the trick [15:33:47] 03aaron * r31687 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount_body.php SpecialConfirmAccount.php): Add key clear point [15:33:59] thanks, I'll try that sometimes [15:34:40] hi [15:34:41] sorry [15:35:18] i want to configure the navigation [15:35:46] http://www.mediawiki.org/wiki/Sidebar [15:36:54] thanks [15:37:06] found that just yesterday :-) [15:37:11] help: how do i modify the Special:Userlogin page so that i can provide the user with detailed error messages when login fails? [15:37:37] the next point [15:37:38] is [15:37:52] what is exactily a namespace [15:38:57] and how i use categories in the right way [15:39:42] !namespace [15:39:42] --mwbot-- For help with understanding and manipulating namespaces, please consult . See also !extranamespace [15:40:00] uxphreak: find the right message on Special:Allmessages [15:41:06] thx Duesentrieb [15:56:20] 03(mod) More selective email disabling than all for everyone - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7518 +comment (10innocentkiller) [16:10:55] who speak germany ? [16:11:04] german [16:23:13] hi there... I was thinking of a proposal I'd like to make but I wanted to know the technical possibilities first [16:23:35] would it be possible to embed pages from other projects, just like we can embed images from commons? [16:24:03] something like inter-wiki templates [16:27:31] how come this channel is always so full and so empty at the same time? :| [16:30:09] !scarytranscluding [16:30:09] --mwbot-- http://www.mediawiki.org/wiki/Manual%3A%24wgEnableScaryTranscluding [16:30:52] how do i get a
foo\nbar
block into a list('*')? after a new line the list is broken [16:31:33] thermoman, use html [16:31:41]
[16:32:16] who speak german ? [16:35:51] exit [16:36:18] 03(NEW) Enable page importing from en.wikibooks to it.wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13283 15enhancement; normal; Wikimedia: Site requests; (powerpdn) [16:37:08] speak nobody german here ? [16:37:52] <[NL]Thoth> not realy [16:37:59] <[NL]Thoth> I can understand it though.. [16:38:11] <[NL]Thoth> just hit me :P [16:38:17] Duesentrieb: around? [16:40:52] Wikizine58: i do [16:41:42] MrZ-man: thanks :) [16:41:48] (sorry the delay) [16:42:21] heh [16:42:34] Maybe we need a #mediawiki-de [16:49:27] <[NL]Thoth> maybe we need a bot who can translate over 200 languages [16:49:30] <[NL]Thoth> or maybe not :-P [16:51:31] anyone know when roan is usually around? [16:51:39] 03(NEW) Users should be able to use customized edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13284 15enhancement; normal; MediaWiki: General/Unknown; (meno25wiki) [16:59:22] 03(mod) RTL/bidirectional issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=745 (10meno25wiki) [16:59:22] 03(NEW) Background incorrectly extended in RTL wikis when using IE - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13285 15enhancement; normal; MediaWiki: General/Unknown; (meno25wiki) [17:07:07] howdy - i submitted a enhacement patch about 3 - 4 months ago (bug 11857) .. whats the usualy turn around time for things like that getting added (or at least considered)? [17:34:52] 03grondin * r31688 10/trunk/extensions/UserContactLinks/ (UserSignature.i18n.php UserSignature.php): Add internationalization extension description message in [[Special:Version]] [17:38:08] hwo can i set the magic word __NOEDITSECTION__ as default for all pages? [17:45:45] can someone tell me which input fields are required in order the submit a page edit? [17:46:07] ruby's mechanize apparently has a bug that messes with (at least) one of those [17:46:14] an 1:1 implementation in perl works correctly [17:46:42] the error message i currently got says something about invalid session data [17:48:16] wasn't the editing functionality added to API recently? [17:49:26] oops. there is an API? [17:49:47] i was only aware of the bot framework written in python [17:50:14] hi aspies [17:50:25] well there is a api, but edit functionality is very new and needs to be enabled specifically [17:50:26] question on mediawiki install. installed db has user_groups ug_group column set to varbinary [17:50:41] explicitly adding rights in the db doesnt work with this column type for some reason. once permission is added it is returned on the user list page with a bunch of symbols after it [17:50:57] wikisysop loses rights [17:51:16] setting it to varchar or tinytext solves this [17:51:45] which version? mysql or postgre? [17:51:47] Nikerabbit: hmm. do you know if there is documentation on the token/version fields required for submitting an edit? the mechanize output _seems_ allright ... [17:52:07] wikimedia newest, mysql 5, php 5 [17:52:14] err [17:52:18] mediawiki newest [17:52:21] as of yesterday [17:52:32] so 1.5 [17:53:33] wikisysop loses rights after logout [17:54:08] before modifying anything [17:55:06] can u replicate? [17:57:54] 1.5? [17:57:57] yes [17:57:59] from where? [17:58:18] 1.5 is ancient, if you look at the topic [17:59:07] oshit [17:59:09] lol [17:59:11] sorry [17:59:14] 1.11 [17:59:15] http://download.wikimedia.org/mediawiki/1.11/mediawiki-1.11.2.tar.gz [17:59:16] that [18:07:09] Hello, I would like to play [18:07:15] "stump the developers" :-) [18:19:52] hello [18:19:57] i would like to play this to [18:19:58] too [18:20:06] has anyone been able to replicate the problem? [18:20:52] h64, what problem? :) [18:20:57] 03yaron * r31689 10/trunk/extensions/DataTransfer/ (INSTALL includes/DT_GlobalFunctions.php): New version: 0.1.3 [18:20:59] just changing the wg_group column to tinytext worked for me [18:21:08] Hello Wiredtape [18:21:18] Plz hold 4 copypaste [18:21:29] NOOOOOOO [18:21:31] if it's long than pastey it.. [18:21:31] Ok well nevermind [18:21:32] ! [18:21:33] lol [18:21:33] h64: what db schema mode you using? [18:21:34] hehe [18:21:39] db schema? [18:21:41] h64: pastebin it! [18:21:44] default, utf-8, or binary? [18:21:49] utf-8 [18:21:54] or [18:22:01] wait utf-8 is the default [18:22:14] (03:53:33 PM) h64: wikisysop loses rights after logout [18:22:22] after fresh install [18:22:29] isn't that EXACTLY what's supposed to happen? [18:22:37] looooooooool [18:22:47] after logging back in, smart [18:22:51] brion, is 1.12 still in plan for this week? :-? [18:22:51] Oh, OK [18:23:10] changing the wg_group column in user_groups to varchar or tinytext fixes it [18:23:18] it was varbinary [18:23:35] also manually changing rights in the db doesnt wor [18:23:36] k [18:23:38] *work [18:23:47] with varbinary type [18:23:57] but with varchar/tinytext manually changing works fine [18:24:28] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10reg) [18:24:42] this is a fresh install of 1.11 with mysql5 php5 [18:24:54] all default settings on installer [18:25:03] Wiredtape: if i have a few hours to spare :) [18:25:21] brion, okey dokey :) [18:25:22] yes, plz, and change column types [18:25:27] in 1.12 [18:25:28] :p [18:25:39] h64: what's your db version? [18:25:51] mysql5 [18:26:21] newest [18:26:34] err [18:26:38] almost newest [18:26:42] i think [18:26:42] lol [18:26:43] varbinary shouldn't have any such problems; char(16) binary would though [18:26:44] one second [18:26:54] well [18:26:58] why is it binary anyway [18:27:06] "For VARBINARY, there is no padding on insert and no bytes are stripped on select." [18:27:15] it's binary because we don't like the database breaking our data :) [18:27:47] right but if the user manually inserts the wrong value isnt that their problem? [18:27:55] this a fresh install or an upgrade? [18:28:00] fresh install [18:28:33] it's not about users; it's about the database not rejecting valid characters or conflating different values with its collation settings [18:28:55] ok [18:29:00] it doesnt work though [18:29:26] can you do a 'show create table user_groups' and pastebin it? [18:29:36] yeah one sec [18:29:54] thx [18:30:44] it will not show up as what was installed [18:30:47] and can you check your *exact* mysql ver? (older than 5.0.18 or after?) [18:30:48] because i changed it to varchar [18:30:55] well... can you do a fresh one and check there? [18:30:57] which made it work [18:30:59] ok [18:31:11] it was varbinary(16) not null primary key [18:31:14] do you need more info? [18:31:36] i'm assuming this is a joined primary key [18:31:42] cause theres 2 in the table [18:32:20] i think i can wrangle up a new set of hardware to try this on [18:32:27] howdy - i submitted a enhacement patch about 3 - 4 months ago (bug 11857) .. whats the usualy turn around time for things like that getting added (or at least considered)? [18:32:42] ok, here's what you should see for a fresh install using binary schema: http://rafb.net/p/1GFfh491.html [18:32:49] brion: i will do a fresh install [18:33:44] how do I put a title on a page? [18:33:54] Pages are coming up with their link name instead of a title in the page [18:34:01] and the link name isn't coming up in searches [18:35:23] and when you've got that fresh database, also try these queries: [18:35:25] brion: is that from the wiki installer? [18:35:25] insert into user_groups (ug_user,ug_group) values (99,'testing'); [18:35:25] select ug_group,hex(ug_group) from user_groups where ug_user=99; [18:37:05] brion: dropped the table and used the link copypaste, readded wikisysop rights manually and it works [18:37:11] very strange [18:37:14] is that from the installer [18:37:16] Can anyone help with my search/name as well as how to edit my navigation bar? [18:37:28] h64: that's what *i* got [18:37:31] i need to see what *you* got [18:37:34] on a fresh install [18:37:34] ok [18:37:38] ok [18:37:43] one sec [18:37:46] k [18:37:57] Wanderer: that *is* the title [18:38:07] if you want to change the title, click the 'move' tab and rename it [18:39:36] brian: I have one page like this: [[Customer Support Matrix | Customer Detail]] [18:39:51] if I search on "Customer Detail" that page isn't found [18:41:03] Wanderer: well sure, that's because the page isn't called "customer detail" :) [18:41:24] one thing you may consider is making a page "Customer Detail" and making it a redirect to "Customer Support Matrix" [18:41:40] that skinda ugly [18:42:08] well it beats having every single page turn up under "click here" :) [18:42:17] true too [18:43:36] ok, I'll re-arrange some pages [18:43:44] next up, how do I modify the Nav bar on the left? [18:45:28] Wanderer: http://www.mediawiki.org/wiki/Sidebar [18:45:41] 03(NEW) CAPTCHAs are not chosen randomly enough - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13286 15enhancement; normal; MediaWiki extensions: ConfirmEdit; (mike.lifeguard) [18:46:45] brion: ) ENGINE=InnoDB DEFAULT CHARSET=latin1 | [18:47:00] is not binary like in yours [18:47:11] those are with default settings [18:47:12] 03(mod) CAPTCHAs are not chosen randomly enough - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13286 (10brion) [18:47:27] Brian: I did that but it's not actually updating my sidebar [18:47:34] h64: ok. can you check with these queries and see what happens: [18:47:39] insert into user_groups (ug_user,ug_group) values (99,'testing'); [18:47:39] select ug_group,hex(ug_group) from user_groups where ug_user=99; [18:47:46] you *should* get back: [18:47:47] | testing | 74657374696E67 | [18:47:55] | testing | 74657374696E67 | [18:48:01] Wanderer, go to mediawiki:sidebar on your wiki. [18:48:17] http://yale/wiki/index.php/MediaWiki:Sidebar [18:48:19] I went to that [18:48:21] hmmmmm, well then you shouldn't have any troubles with the group permissions :( [18:48:26] can you confirm? [18:48:27] I put in my edits and they're not appearing [18:48:39] brion: affirmative [18:48:51] odd as hell [18:48:53] weeeeeeeird [18:49:03] must be the wiki gremlins [18:49:09] if I go to http://yale/wiki/MediaWiki:Sidebar I get a page not found error [18:49:47] ok [18:49:58] Wanderer: what mw version? [18:50:09] well i mainly just came in to report to see if anybody else had this problem [18:50:15] and i guess not [18:50:33] looking to verify, sec [18:50:50] just one of those random install errors that you cant duplicate unless you have your quantum particles in the right configuration [18:50:58] thanks [18:51:07] latest in ubuntu gutsy [18:51:07] wanderer, you probably haven't set up htaccess and that's why wiki/mediawiki:Sidebar doesn't work.. [18:51:08] h64: we *used* to have such issues with certain configs, but it shouldn't happen anymore :) [18:51:11] weird [18:51:12] trying to find the 'about' [18:51:14] ah [18:51:16] but index.php/mediawiki:sidebar should [18:51:30] Wanderer, go to special:version [18:51:41] Wiredtape: takes me to the same page as the one I posted [18:51:54] which one does? [18:51:56] has my edits [18:52:03] http://yale/wiki/index.php/MediaWiki:Sidebar [18:52:14] that has my edits, but they don't appear in the sidebar on the left [18:52:21] ok what version is it, as brion asked.. (you can find out on special:version [18:53:02] MediaWiki: 1.10.2 [18:54:35] did you try purging the cache? [18:54:46] nope, how do I do that [18:55:06] (will that fix my logo not showing also?) [18:55:35] wanderer, re:logo, that depends on how you set it.. [18:55:58] try adding to /index.php/Main_Page?action=purge [18:56:34] in my LocalSettings.php I have [18:56:35] $wgLogo = "{$wgUploadPath}/logo.jpg"; [18:56:52] in /var/www/wiki/upload I have logo.jpg [18:58:03] purge didn't fix the sidebar either [18:58:33] hmm.. 1) i wouldn't suggest you to store your logo in the upload path, for no good reason, just because it seems to me to be a place that isn't constant.. [18:58:56] that was one just suggestion I found in the forums [18:59:03] 2) it should work, afaict. [18:59:27] Wanderer, is there any way i can access your wiki or is it only local? [18:59:39] it's local internal only [18:59:54] the purge link you gave says there's no such page, normal? [19:04:39] log fixed [19:04:52] oddly enough had to put $wgLog at the very bottom fo LocalSettings.php [19:04:56] (had it near the top) [19:11:31] 03(mod) Change rev_comment from TINYBLOB to BLOB - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4715 +comment (10Simetrical+wikibugs) [19:24:05] hello [19:24:29] api people here? [19:26:59] How does edit collision detection work? [19:27:53] it compares timestamps and if merge fails it creates a conflict [19:29:04] But you can't collide with yourself? [19:29:40] not in the same session [19:29:45] it just overwrites [19:31:35] 03simetrical * r31690 10/trunk/phase3/languages/messages/ (139 files): Add colons to all messages due to change in r31676, using sed (except for French, where I added nbsp's manually, to be nice :) ). [19:31:52] Aha, explains why I wasn't able to trigger that myself :) [19:32:38] Is there a nice way to get both the page content and the relevant timestamp for bot purposes? [19:33:00] I end up parsing index.php?action=edit at the moment [19:33:12] what are you trying to do actually? [19:33:17] Simetrical: thanks! [19:33:45] Pull page data, apply changes to it, save it back [19:35:04] http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages [19:35:05] The number of languages at 99%+ localization is really impressive, compared to what we used to have (basically Hebrew and sometimes German, that was it). Betawiki is pretty awesome. [19:35:08] :) [19:35:42] How many software projects can claim 99% translation rates for Telugu? [19:35:55] I don't even know what the hell Telugu is. My browser can't display it. But we have 99% of messages translated for it. [19:35:58] I don't think that's live :) [19:36:05] 99.83%, in fact. [19:36:17] Anyhow, parsing the edit page for the tokens/page content seems to require less roundtrips [19:36:27] "Telugu (pronounced [ˈtɛləgu] in English; in Telugu: తెలుగు [ˈt̪elʊgʊ]) is a Dravidian language (South-Central Dravidian languages) primarily spoken in the Indian state of Andhra Pradesh, where it is the official language. Including non-native speakers it is the most spoken Dravidian language,[1] the third most spoken language in India after Hindi and Bengali, and one of the twenty-two official languages of the Republic o [19:36:27] f India.[2]" [19:36:30] it's an indian language it seems [19:36:40] A fairly major one. 76 million native speakers. [19:37:10] hindi is bigger but still lacking proper localisation [19:38:27] Simetrical: since none of the developers speak Telugu, we have no idea if the translation is actually any good [19:39:23] That's true. [19:39:53] I would put up big signs on BetaWiki saying not to contribute at all if you don't speak the language at a native or near-native level. [19:40:11] Witness whatshisname's complaints about whatever localization that was. [19:40:18] telugu has multiple translators, so it should be quite good [19:40:19] wegge, danish [19:40:20] For all I know, there are such signs, though. [19:40:22] Right. [19:41:30] Nikerabbit, maybe they're all in the same class. :D [19:41:41] Having trouble saving a template [19:41:45] I'm getting this error: [19:41:46] Invalid job command `refreshLinks [19:41:55] if whathisname doesn't like the quality, he is allowed to come and make it better collaboratively [19:42:09] Simetrical: http://translatewiki.net/wiki/User:Veeven [19:42:21] this guy seems to have the same problem http://www.mwusers.com/forums/showthread.php?t=6676 [19:42:25] Nikerabbit: the issue is not whether someone "likes" the quality. it's whether the quality is good or not [19:42:48] Nikerabbit, well, I would say any self-admitted non-native (and non-near-native) speaker should be kicked out on principle. [19:42:49] flyingparchment: it doesn't become better if one doesn't improve it [19:43:00] Wasn't the other translator here da-1 or something? [19:43:10] anyone know if skynet-belgium is an isp [19:43:11] ? [19:43:18] It doesn't get better if someone who barely knows the language tries to improve it. [19:43:32] I think you once told me that a bad translation is worse than none, although maybe that was Duesentrieb. [19:44:41] Hello does anyone know if AutoWikiBrowser can be configured to work on my wiki installation? [19:44:49] silly, what's AutoWikiBrowser? [19:44:58] Simetrical: that's why there should be a group of translators [19:44:58] http://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser [19:45:20] Nikerabbit, I envision myself trying to improve on the translation of some classic Engrish translation. I think I'd just have to throw it out and start over, probably. [19:45:34] (assuming I knew another language well enough to translate from it) [19:45:43] silly, ask the author of the tool. [19:46:37] ok sorry [19:47:00] Simetrical: I don't like the native non-native opposition [19:47:36] inexperienced native can do poorer job than experienced non-native, and there is no telling who is pushing his own agenda [19:48:43] so we try to fight the unavoidable problems by being open for improvements [19:51:27] Guess so. [19:53:20] we don't like conflicts, and fortunately there has been only two severe to date [19:55:13] For those interested MWiki-Browser works with any wiki installation . [19:56:24] Nikerabbit, what was the other? [19:59:05] http://www.news.com/8301-13860_3-9886332-56.html?tag=nefd.top [19:59:39] they've stole it! [20:00:10] Simetrical: two khmer translators don't agree on terminology [20:00:35] Hmm. [20:01:23] Simetrical: fuzzy means that messages are marked with need review tag and show up in list of untranslated messages [20:01:49] [...] and also displays in a separate pane any information found on the public Wikipedia. [20:07:04] 03(mod) Case sensitive handling of HTTP headers like "X-Forwarded-for" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13281 (10brion) [20:10:11] 03(mod) Install DidYouMean extension on the English Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11794 +need-review; +comment (10brion) [20:11:42] 03(WONTFIX) Create MediaWiki:Robots.txt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13249 +comment (10brion) [20:11:42] 04(REOPENED) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 +comment (10brion) [20:11:43] 03rainman * r31691 10/branches/lucene-search-2.1/ (53 files in 17 dirs): (log message trimmed) [20:11:43] Scoring: [20:11:43] * rewrite queries to positional multi queries [20:11:43] * rewrites for wildcards and fuzzy queries [20:11:43] * scores based on length with aliases (+additional entry in aggregate meta) [20:11:44] Titles: [20:11:48] * map default namespaces on different projects (dbname field) [20:38:22] 03(mod) Protect Functionality for importImage.php Maintenance Script - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11857 (10axelseaa) [20:42:36] 03magnusmanske * r31692 10/trunk/extensions/CategoryIntersection/CategoryIntersection.php: switched index order; added deletion hook function [20:51:46] I would like to add to an article interlanguage link. Proposed inserting [[lang:article]] into article body seems not working. No entries in table languagelinks are created. Is it necessary to enable something extra (in mediawiki system) ? [20:53:08] no, but you need to add appropriate information to the database [20:53:17] so it knows where "lang" links to [20:54:51] http://meta.wikimedia.org/wiki/Help:Guide_for_system_administrators_for_setting_up_interwiki_linking [21:31:45] 03magnusmanske * r31693 10/trunk/extensions/CategoryIntersection/ (CategoryIntersection.php CategoryIntersection_body.php): change hash to INT UNSIGNED; make second check optional, off by default [21:43:38] 14(INVALID) Previews not showing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13280 normal->15enhancement; normal->lowest; +comment (10andrewcleung) [21:51:55] Simetrical: you about? [21:52:11] Monobi|Newton, for a few more minutes. [21:55:41] How to setup mediawiki in order to use Interlanguage links? [21:56:26] !interwiki [21:56:26] --mwbot-- Interwiki links are links between wikis. For instance, on Wiktionary, [[w:Article name]] or [[Wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see as well as [21:56:58] Gali: check the above. the magic about "language" links is triggered when teh interwiki prefix happens to be a known language code. [21:57:14] (this is really nasty, and not well documented. but it's the truth) [21:59:46] brb [22:02:42] Duesentrieb: I just insert a line [[fr:My_Article]] into the body of an article. But nothing happens (no "In other language " bar was shown). What i need to do (in provided i cannot find answers). [22:04:14] Gali: you need to associate a url with the fr prefix in your interwiki table. [22:04:47] there's no configuration interface for this per default, oyu have to do it directly on the database. but i think there's an extension that offers a nice web interface. [22:05:09] thx a lot.. [22:06:09] Gali: http://mediawiki.org/wiki/Extension:SpecialInterwiki [22:06:26] see also "Setting up interlanguage links" section, that might help you a bit :) [22:06:38] hi Jack_Phoenix [22:06:45] ohai Nikerabbit [22:12:47] 03wegge * r31694 10/trunk/phase3/ (RELEASE-NOTES includes/ProxyTools.php): Fix for 13281: Normalize header names as per RFC 2616 [22:17:27] 03(FIXED) Case sensitive handling of HTTP headers like "X-Forwarded-for" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13281 +comment (10wegge) [22:20:11] Duesentrieb, Jack_Phoenix: thx alot, its working now. I am really confused with design decision of Mediwiki stuff. [22:20:37] Gali: some things weren't really decided, they just happened :) [22:20:53] nothing lasts as long as a quick and ugly hack. [22:20:56] :) [22:21:12] "oh yea, i'll do that right later". [22:21:56] heh [22:26:44] 03simetrical * r31695 10/trunk/phase3/RELEASE-NOTES: Typo [22:32:23] 03(NEW) "Edit" link not working as expected - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13287 15enhancement; normal; MediaWiki extensions: Gadgets; (huji.huji) [22:44:22] 03(mod) Spanish Wikipedia: semiprotection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13261 +comment (10Platonides) [22:56:18] 03(NEW) urlencode on variables get double-encoded - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13288 normal; normal; MediaWiki: Page rendering; (bugzilla.wikimedia.org) [23:14:43] 03brion * r31696 10/trunk/phase3/maintenance/importDump.php: experimental --uploads option on importDump [23:27:23] v [23:30:32] 03brion * r31697 10/trunk/phase3/includes/SpecialImport.php: use wfLocalFile for file import -- any uploads will be local [23:57:30] I have I question! [23:57:46] how do you link to images from other wikis [23:57:56] like in wikipedia linking to the commons