[00:03:12] 03(NEW) Please change name of file namespace for language da - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17767 15enhancement; normal; Wikimedia: Site requests; (byrial) [00:04:43] 03(mod) Please change name of file namespace for language da - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17767 +shell (10p858snake) [00:21:44] werdnum: hey, want to look at a patch and maybe poke up some of its parameter validation? https://bugzilla.wikimedia.org/show_bug.cgi?id=11857 [00:23:35] okie [00:23:53] 03dale * r47963 10/branches/new-upload/phase3/ (3 files in 2 dirs): minor upload warning fix [00:24:19] tx : [00:24:20] :D [00:27:07] 03(mod) Please change name of file namespace for language da - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17767 +comment (10siebrand) [00:27:39] 03(mod) Please change name of file namespace for language da - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17767 (10siebrand) [00:28:42] 03(NEW) make Wikimedia configuration file management sane with Puppet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17768 15enhancement; normal; Wikimedia: General/Unknown; (brion) [00:28:44] 03(mod) Unique Identifier on [[MediaWiki:Readonlytext]] and WMF Error.html - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14791 (10brion) [00:28:46] 03(mod) Unique Identifier on WMF Error.html - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15590 (10brion) [00:31:06] <^demon> brion: The bug would've been even funnier if you had pluralized "puppet" [00:31:27] :D [00:31:40] <^demon> I mean, I've always wanted to use puppets to make my config sane :) [00:32:38] *Charitwo pokes brion [00:33:26] tee-hee [00:36:38] what's the easiest way to rename a category? [00:36:55] use a bot [00:44:09] brion: bah, that patch doesn't even apply [00:45:02] :D [00:45:18] *werdnum gets the fun of making it apply [00:45:50] <^demon> brion: The patch to wgCapitalLinks applies ;-) [00:52:04] 03(mod) Please change name of file namespace for language da - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17767 (10byrial) [00:56:07] is it at all possible to have a wiki sited behind an encrypted connection, i.e. https://wiki.example.com ? Since I am unable to find much info about it I am starting to think it isn't possible [00:56:44] Saar: yes. [00:58:05] you don't have to do anything special [00:59:48] i see, for some reason no matter what i try it returns an error, i.e. the browser expects an ssl connection, yet the webserver sends a number of hytes of html [00:59:55] apache2 [01:00:03] hytes=bytes [01:06:10] Saar: well, your web server needs to be correctly configured to serve HTTPS [01:06:25] confirm that before worrying about dynamic web apps on top of it :) [01:36:13] is there an easy way to make an entire wiki read only? [01:36:24] googled and found: $wgReadOnlyFile = filename [01:36:27] but that doesn't seem right [01:36:39] i think i want a $wgPermissions type thing [01:37:10] Jinx: yep, just add this to your configuration file: $wgReadOnly = "This wiki is read only. Blah Blah. You can put your message here."; [01:37:28] and then when users try to edit or do something that requires a write, they will be presented with that message ^ [01:37:34] Jinx, you mean for all users? [01:37:39] Then $wgReadOnly, yes. [01:37:45] oh [01:37:53] you say you want a grouppermissions thing [01:38:11] This is meant to stop database writes so you can do maintenance or let the slaves catch up. It's not very useful for much else. [01:38:15] !prevacc [01:38:15] --mwbot-- http://www.mediawiki.org/wiki/Manual:Preventing_access [01:38:19] That's probably what you want. [01:38:27] then do something like this: $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['editors']['edit'] = true; [01:38:36] Then assign the editors group to whoever [01:45:10] $wgReadOnly will be good [01:45:11] thank you [01:45:21] and thank you also for the group assignments [01:45:25] might need that in the future :) [01:49:00] $wgReadOnly shuts down a lot more things than editing. [01:49:04] Anything that accesses the database. [01:49:16] It's probably not what you want. [01:50:42] just remove the edit rights from everyone and only give it to certain groups [01:53:08] it is what i want, though i appreciate the warnings/alternatives [01:53:18] basically our hosting got dropped... [01:53:36] and i want to setup a temporary, uneditable, copy of the wiki so that people can view it... [01:53:43] until we get proper hosting again [01:53:55] (and possibly until we get a more recent backup of the db... mine is outdated) [01:54:20] i just don't want edits to get dropped if we get a more recent backup [01:54:53] unrelatedly... [01:54:55] Fatal error: Call to a member function getVal() on a non-object in /home/naberius/public_html/projectxi.org/wiki/includes/Wiki.php on line 66 [01:55:05] that's not a good line [01:55:17] why might that do that? [01:55:37] line 66: if ($request->getVal( 'printable' ) == 'yes') { [02:10:18] Jinx, sounds badly broken. [02:12:12] i have the following code in a template {| align=right [02:12:12] |- [02:12:12] | [02:12:12] [[Image:{{{name}}}_{{{surname}}}.jpg|alt=No Image]] [02:12:12] |} when i have no image i just get the red link , not the expected No Image - what is wrong? [02:22:21] Simetrical: indeed... trying a fresh install [02:28:14] 03(mod) Recentchanges should ignore days= if from= present in the query string - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17750 (10jidanni) [02:56:45] 03werdna * r47964 10/trunk/phase3/ (includes/Article.php maintenance/importImages.php): [02:56:45] (bug 11857) Add 'protect' option to importImages.php maintenance script. [02:56:45] Includes related Article changes -- fixing an E_NOTICE and reporting errors in the debug log. [02:57:09] 03(mod) Allow global renaming of global users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14862 +comment (10Andrew) [02:59:44] 03(mod) MergeAccount should assign never-been-used accounts to the global account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14416 +comment (10Andrew) [03:27:50] 03(mod) GlobalBlock logentry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16735 (10Andrew) [03:28:45] Hello, wiki friends! I have a small wiki problem. Why does [[File:bonkle.pdf|bonkle]] not display bonkle? [03:29:13] You don't have a PDF renderer? [03:29:51] Ladonna: this is just a wikilink... I'm not sure I follow [03:30:16] Do you want to link to the file? [03:30:23] Or do you want to display it? [03:30:31] Ladonna: I want a link to the file [03:30:41] Ah, just use [[:File:...]] [03:30:43] rather, the file page [03:30:44] oh [03:30:57] 03(mod) Allow group rights to be changed on-wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15252 +comment (10Andrew) [03:31:16] 03(FIXED) AbuseFilter requires functions which may be unavailable with Windows - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16168 +comment (10Andrew) [03:31:30] Ladonna: thanks! you saved the day. adieu [03:31:37] No problem. :-) [03:34:33] Hmm, whatever happened to that work branch in which somebody was adding the DB name to the interwiki table? [03:35:29] Was that ^demon's project? [03:35:35] 03(mod) Special:GlobalBlockList should use the User@meta.wikimedia format - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16285 (10Andrew) [03:35:35] I thought it was Matt Johnson [04:21:37] 03aaron * r47965 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.hooks.php): Simplified addToFileHistLine(). Added isVisible() check. [04:42:23] 03aaron * r47966 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.hooks.php FlaggedRevs.php): Reduce hook usage [04:53:33] 03river * r47967 10/trunk/tools/ts-specs/ (12 files in 4 dirs): [04:53:33] TSsshtunnel, TScheckraid: new specs [04:53:33] TSmysql: link server with -lmtmalloc, and preload libfasttime [04:53:33] TSmytop: count 'queries' instead of 'questions' [05:47:14] Hi all [05:48:22] hi [05:49:54] I need to integrate Mediawiki with Joomla. Which is the best bridge for Integration? [06:08:23] 03(mod) GlobalBlock logentry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16735 (10mikelifeguard) [06:26:14] 03philip * r47968 10/trunk/phase3/languages/LanguageConverter.php: Allow ":" exists in manual conversion syntaxes like "-{zh-hans:Wikipedia:XXX; zh-hant:Wikipedia:YYY}-". [07:21:08] I'm trying to do an extension... but something is not right in my extension.setup.php (when I do $wgAutoloadClasses['NewClass'] = 'extensions/NewExtension/NewClass.php'; )because It wont load the file it points to :( [07:23:30] should the Sample on http://www.mediawiki.org/wiki/Manual:Tag_extensions work? [07:24:48] Hi! Which are the recommended php system/admin variables settings for mediawiki? I've found only http://www.mediawiki.org/wiki/Manual:Newcomers_guide_to_installing_on_Windows/PHP_php.ini but I have doubts these are optimal, for example: ; session.use_only_cookies = 1 is commented out, is that really optimal? [07:26:01] 0$wgAutoloadClasses['NewClass'] = 'extensions/NewExtension/NewClass.php'; [07:26:03] That's wrong. [07:26:20] You want = dirname(__FILE__).'/extensions/...'; [07:26:35] erm, dirname(__FILE__).'/NewClass.php'; [07:30:42] werdnum: Are there any recommended php.ini settings? Everything works, but I've come after installation of drupal - it has exactly specified settings of LOTS of php variables. I wish there was the same list for mediawiki... [07:31:18] Maybe Drupal is stupid and forces you to change your php.ini settings, whereas MediaWiki doesn't :) [07:31:40] werdnum: especially mbstring variables, session variables [07:32:04] MediaWiki gracefully falls back when that stuff isn't availabe [07:32:07] le* [07:32:15] werdnum: well, I feel mediawiki codebase is much better. ok, I'll leave it as is. it works. [07:32:22] if you can log in and edit pages, there isn't a problem :) [07:32:35] werdnum: it works but what if something is non-optimal. [07:33:03] #ifexist comes back as true for a redirect page right? [07:33:27] werdnum: eg. that config mentioned above has SID pass in URL's enabled by default, I've heard it's not a good thing. [07:34:15] werdnum: I'll try that. [07:40:11] QuestPC: Well, it's up to you, MediaWiki doesn't care. [07:41:44] morning people [07:44:39] uberfuzzy: yes, it even works with image redirects [07:45:52] which some may find a bit odd... {{#ifexist:File:Foo}} will return yes if the page exists (whether or not there is an image), {{#ifexist:Media:Foo}} will return true for the media (whether or not there is a page, as in a shared repository), but both will return true for a valid image redirect [07:46:39] (unless it is a shared repositry image, in which case it works the same as a direct reference, eg, just Media: returning true) [07:52:12] werdnum: allright. though, even a talk page has similar question: http://www.mediawiki.org/wiki/Manual_talk:Newcomers_guide_to_installing_on_Windows/PHP_php.ini "I see that the sample php.ini file has allow_url_fopen=on. This is a security risk ". Maybe no problem, though. [07:53:08] allow_url_fopen isn't a security risk. It is, at best, an expansion of the attack surface. [07:53:27] how do i add categories to the wiki page? [07:53:54] !categories | CrushKing [07:53:54] --mwbot-- CrushKing: http://www.mediawiki.org/wiki/Help:Categories [07:53:59] at worst* [07:54:27] str4nd: thanks [07:54:45] you're welcome [07:56:59] hi [07:57:51] werdnum: do hooks processing or something else requires allow_call_time_pass_reference=1 ? [07:58:08] Shouldn't [07:58:08] i heard that it is possible to let my personal wiki installation use commons to integrate them into my own wiki [07:58:12] Don't worry about it [07:58:23] seriously, unless MediaWiki breaks horribly [07:58:24] where i can find information about this? [07:58:39] werdnum: ok [07:58:40] MediaWiki is designed to be compatible with a wide range of setups [07:59:42] @search repository [07:59:42] --mwbot-- Results: [bundels, download, extensiondistributor] [07:59:59] hm... that's not what i was looking for [08:00:17] someone should finish InstantCommon [08:00:20] +s [08:00:42] Splarka: but the main part *is* finished. no extension needed. juzst a bit of config. [08:00:44] am i missing someth9ing? [08:00:54] http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos [08:01:02] yea [08:01:12] 08:00 < Splarka> someone should finish InstantCommon [08:01:15] It's already done [08:01:30] !instantcommons [08:01:30] --mwbot-- InstantCommons is a proposed feature for MediaWiki to allow any MediaWiki installation to use media on the Wikimedia Commons. However, several issues (some legal) need to be worked out, and it is only a proposal. See < http://www.mediawiki.org/wiki/InstantCommons >. [08:01:38] it isn't quite the same (for one thing the name is different) [08:01:40] hm... [08:01:49] hm [08:01:59] *sigh* [08:02:01] Splarka: well, the one thing that isn't really handeled well is deletions [08:02:24] we had a podcast from german chaos computer club with a developer called raimund [08:02:42] he explained, that this is already working [08:03:40] Witzman: well it is, using $wgForeignFileRepos [08:03:51] you can use images from commons directly. [08:04:11] is there any documentation, where i can get all the infos myself? :) [08:04:11] but it doesn't do all the fancy caching or nice handling of deletions that have been discussed for instantcommons [08:04:17] and the legal issues remain unclear. [08:04:22] InstantCommons gonna get you, gonna fill your local cache, you'd better get some more diskspace darlin', for the file mass. How in the world ya gonna see, all these 20 gigs of penis, who in the world do you think you are, a lazy wiki, well right you are... [08:04:35] Witzman: follow the link Splarka posted? [08:04:47] ?? [08:04:51] ah, ok :) [08:04:55] missed it [08:05:01] thanks a lot [08:05:06] Splarka: sounds like a dustpuppy song :) [08:05:24] you can't rip on $wgForeignFileRepos as well as "Instant Commons" (Instant Karma - John Lennon) [08:05:54] well, maybe... Imagine... "Look at all the repos, living for today..." nah [08:06:30] Duesentrieb: you should replace !instantcommons if you feel it is fulfilled fully [08:06:48] or enough, anyway [08:09:49] I'd also look at http://www.mediawiki.org/wiki/Manual:Wiki_family#Upload (upload to "commons") [08:10:45] (I have my own commons for few wikis) [08:38:15] hmm, is srwhat=title disabled on wmf or just broked due to replag? [08:38:18] *Splarka sets roan trap [08:39:08] 03nad * r47969 10/trunk/extensions/RecordAdmin/RecordAdmin_body.php: recordadmin-summary-created message didn't have type arg passed [08:40:09] after successfully getting the commons integration i can include commons pictures in my wiki. but sometimes (not with all images) i receive some errormessages after klicking on the thumb in my wiki. [08:40:11] Warning: preg_match() expects parameter 2 to be string, array given in /var/www/wiki/includes/Exif.php on line 1065 [08:40:48] 20 times this message, but then below it shows the content [08:42:13] MW's exif handling has been non-optimal for quite a while [08:43:06] hello [08:45:42] is there anything i can do, or do i have to live with this problem? [08:47:30] Witzman: dont have error reporting turned on so high [08:48:08] http://www.mediawiki.org/wiki/Manual:$wgShowEXIF [08:48:16] or try disabling it? [08:51:09] that code really asn't been touched in forever [08:54:06] is this done in localsettings? [08:54:30] yep [08:56:05] it works - thanks [08:56:41] but you're missing out on all the hot EXIF-rated action now [08:57:19] *rimshot* [09:12:22] moin [09:12:24] should i put all classes used in a extension in $wgAutoloadClasses ? [09:20:00] or should I only load the main class and load the other extension specific classes with includes? [09:23:08] hi, I have a question for translations: at wiki.blender.org we have translated pages, but actually their title is not the english one with addition of the language (like .fr) but the translatioin of the title itself. Now, I'd like to put links in english pages to their translated page in all languages we have, but should I do a sort of table or references? and maybe use a {{#switch to choose which link to put in languages link? [09:23:40] how do you do mediawiki gurus? :) [09:24:23] you could use language links, it is kinda what they're designed for (linking to pages of translated names) [09:24:46] they aren't /exactly/ created for linking to pages on the same wiki, but they can (simply create language interwiki loopbacks) [09:25:24] Splarka thx. How is it done? [09:26:24] !langlinks [09:26:24] --mwbot-- Language links are links to translations of the same article on another wiki. For information on how to set up language links, see [09:27:00] ah thx, I saw that panel in other wikies infact [09:27:48] and then just point them back to your wiki.. eg yourdoman.com/index.php?title=$1 ... and then on [[Main Page]] langlink to [[fr:Accueil]] and on [[Accueil]] to [[en:Main Page]], etc [09:28:10] problem is we don't have dk.wikiblender.org and fr.wikiblender.org [09:28:18] it's all the same wiki [09:28:22] right, still will work [09:28:29] ok [09:28:34] you just point all these interwiki to the same wiki [09:29:15] ok, but my concern is wiki.blender.org/index.php/pie english is translated in italian as wiki.blender.org/index.php/torta, not wiki.blender.org/index.php/pie.it [09:29:16] note this may not be your optimal solution, these still have to be updated manually of course, but it is core and standard, no need for dirty #switch/#ifexist templates [09:29:31] well, subpage-translation syntax is not standard [09:29:36] it is just a hack lots of people use [09:29:38] Splarka ah infact I was setting that up [09:30:06] and so how to let people use the native language for urls? I need a reference then no? [09:30:20] it doesn't work as well as people might wish, because content switching by user language can break cache [09:30:34] cache? [09:31:11] well, for example on en.wp, all anonymous viewers see the same content, because the apache renders it once, and the squids (a few hundred times cheaper to serve a web request) cache it [09:31:28] ok [09:31:42] giving every anon users the ability to view in their preferred language won't work for such a wiki, though some smaller wikis use extensions that do that [09:32:05] I don't wanna do it automatic based on preferences [09:32:19] becanuse out translations are still very sparse in some lang [09:32:21] http://www.mediawiki.org/wiki/Extension:Multilang http://www.mediawiki.org/wiki/Extension:LanguageSelector http://www.mediawiki.org/wiki/Extension:Polyglot [09:32:24] right [09:32:26] I saw them thx [09:32:34] I don't need that [09:32:37] so there are some ways to make it easier, without making it complex [09:32:49] one is to put sparse translations on subpages... as you were talking about earlier [09:33:15] eg: {{#ifexist:{{BASEPAGENAME}}/fr|[[{{BASEPAGENAME}}/fr|french translation]]}} [09:33:22] would auto-link to the french translation if it existed [09:33:41] one single template could be made for all languages, and put on every page with translations, with simply {{translationlinks}} or such [09:34:00] but that won't work for you, since you don't use subpaging [09:34:09] so whatever you do, it has to be pretty manual [09:34:11] also blender dev is so fast that doc tends to be late, so translations are usually 2 step back the current version of blender, so better if they see english, and then thye judge manually the content of translatd page, automatically redirect on their language coudn't work [09:34:55] you could create a template for each subject.. like say {{apple}}... [09:35:10] Splarka reading (thanks!) [09:35:32] which could be a manual list of all translations: [[appel|nl]] [[pomme|fr]] [09:35:40] but that seems a bit annoying to maintain [09:35:48] Splarka I was thinking exactly at thre same thing [09:35:51] yeah [09:35:52] it could be a pre-filled list of all possibles too, like #ifexist:pomme [09:36:03] so I think in your situation, langlinks are the cleanest solution [09:36:08] mm, possibly, right [09:36:19] have to read about langlinks [09:36:40] another problem.. what do you do when the same word translates to two languages the same? [09:36:50] appel in dutch and Afrikaans, for example [09:37:15] ah right [09:37:35] infact I had another idea in mind but I'm not sure [09:37:37] like [09:38:50] note that langlinks would be harder to maintain than a template, unless you templated the langlinks, eg create {{apple}} (or better, a subtemplate like {{langs/apple}} so you could find all such templates through PrefixIndex/Langs}}...) that contained [[fr:pomme]] [[nl:appel]] etc [09:39:30] actually we have in the skin that at the top of the page we render page title as

but question is, I could have a apple/dk page and render the _translated_ title instead of the page title, so in the url I see one thing (apple(dk) and in the page whatever I have as its translation, but I don't knwo how to setup such a page "property" [09:39:48] Splarka ok [09:40:01] hmm [09:40:16] yes, you could use {{DISPLAYTITLE}} [09:40:36] like [[apple/fr]] could have {{DISPLAYTITLE}:pomme} [09:40:42] er :pomme}} [09:40:50] never seen it what's it? [09:41:01] *mindrones searches :) [09:41:02] http://www.mediawiki.org/wiki/Help:Magic_words [09:41:07] somewhere in there [09:41:19] ah thx, let's see [09:41:25] *Splarka waits 30 seconds for his DNS not to suck [09:41:54] you'd have to false http://www.mediawiki.org/wiki/Manual:$wgRestrictDisplayTitle if you want to use it for that [09:42:04] (1.14+) [09:42:16] and enable subpaging in the main namespace [09:42:37] wow I was looking for that [09:42:56] like I tell translator put this in the page right? [09:43:05] at the top? or everyehere? [09:43:23] I mena do I have to change the skin? [09:43:28] wherever you wanted to change it [09:43:35] hmm [09:44:09] you might [09:44:28] depends on what you've done to your existing skin [09:44:29] now I have: [09:44:30] [09:44:31]