[00:00:36] So that's nothing like Extension:CreateBox? [00:02:08] ^demon: hehe.. unfrotunately i don't have to read it all (and Sasoriza i don't think it is.. i think createbox only uses that code) [00:03:12] s/unfortunately/fortunately [01:06:49] 03aaron * r36437 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.class.php FlaggedRevsPage.php): [01:06:49] * Clear dead flaggedpages links (bug 14589) [01:06:49] * Be less strict on template reviewing (bug 14580) [01:06:58] 03(mod) removing all flags of an article still lists an article on the list of Outdated reviewed pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14589 (10JSchulz_4587) [01:07:07] 03(FIXED) removing all flags of an article still lists an article on the list of Outdated reviewed pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14589 (10JSchulz_4587) [01:07:33] 03(mod) Internal error when trying to flag pages with random images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14580 (10JSchulz_4587) [01:08:04] 03(FIXED) Internal error when trying to flag pages with random images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14580 (10JSchulz_4587) [01:08:45] Is there a page, or, a way to get Special:Imagelist to show the thumbs rather than just a textual link? [01:13:06] there is Special:Newimages .. [01:14:00] that works just as well, thanks [01:23:59] tekmosis: what version of mediawiki is this for? [01:33:32] Splarka, 1.12 [01:34:52] you could use a simple javascript to do something similar [01:35:34] wouldn't be perfect though [01:35:53] The Special:Newimages page does what I need. I just wasn't aware of that page, didn't see it in the special pages list [01:36:07] ahh k [01:39:51] here is what the js could look like: http://p.defau.lt/?WI7Mibzq1oC9UVId_U8tvA [01:40:04] (would break on any images smaller than 100px already, though... no easy way around that) [01:51:22] is Joerg Baach in here? [02:50:57] /mode +b [03:14:18] 03demon * r36438 10/trunk/phase3/ (docs/hooks.txt includes/EditPage.php): Hooks EditFilter and EditFilter complete got a new param (edit summary), docs updated with this. [03:14:46] 03demon * r36439 10/trunk/extensions/SpamBlacklist/ (SpamBlacklist.php SpamBlacklist_body.php): And now SpamBlacklist checks the edit summary field. [03:16:03] 03(mod) Expand spam blacklist to include edit and other summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13599 +comment (10innocentkiller) [03:16:16] ^demon: you get a hug :D [03:16:29] and a stack of pancakes [03:16:30] from me too [03:16:52] <^demon> Thanks :-) [03:17:28] was it easy? [03:17:40] WaRpAtH [03:18:31] <^demon> Mike_lifeguard: It wasn't hard really. Had to update two hooks to pass the summary, then add the summary to the list of external links that get checked. [03:18:58] *Mike_lifeguard looks up "hook" [03:19:25] <^demon> mw:Manual:Hooks [03:20:02] <^demon> Mike_lifeguard: I want to hit log entries next, but there's no appropriate hook yet. I'm trying to decide where a good one would be. [03:25:15] hooks.txt is better than the MW.org page :\ [03:25:35] <^demon> Hooks on the MW page is nice for a quick overview of them :-P [03:27:05] <^demon> Well, I am tired and I have work in the morning. Nite all. [03:27:08] after this I will need to read about the difference between "function and a chunk of data" and , or an object and a method." [03:27:14] bah [03:29:03] so then how is a hook different from a function call? [03:49:07] hey, what was the method for geting an articles id? [03:50:03] anyone alive? [03:50:32] you have to type people's usernames, or they might not know you are typing [03:50:46] ? [03:50:53] $wgTitle->getArticleId() ? [03:50:55] oh.. i see what you're saying :) [03:50:59] Splarka, thanks [03:51:46] be sure to declare it global when calling [03:52:02] of course.. :) Splarka, you'll like what I'm going to show you in a sec.. [03:52:42] uhoh [03:56:18] Splarka: go to http://en.wiredtape.com/wiki/Sandbox on the footer you will see forms test link [03:59:32] Splarka, that iframe can actually add data to the website.. :) [04:01:30] Anyway, good night all [05:02:25] 03stipe * r36440 10/branches/MetavidWiki-exp/MetavidWiki/skins/mv_embed/ (mv_embed.js mv_flashEmbed.js mv_javaEmbed.js sample_page.php): adding initial mv_embed SOC changes - experimenting with support for multiple stream types [05:06:30] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10legoktm.wikipedia) [05:59:30] 03(FIXED) history not clickable if in an rtl environment the chosen language is ltr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12850 +comment (10meno25wiki) [05:59:33] 03(mod) RTL/bidirectional issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=745 (10meno25wiki) [06:05:33] 03(FIXED) Links unclickable in rtl wikis when using simple skin under Firefox - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13229 +comment (10meno25wiki) [06:15:06] 03aaron * r36441 10/trunk/phase3/includes/User.php: Loosen ipv4 check back, this really should be called isLikeIP() [06:42:40] http://www.mediawiki.org/wiki/Extension:AdSense [06:42:55] now that's high-tech [06:44:14] adsense as a tag? bah [06:45:16] 03(mod) history not clickable if in an rtl environment the chosen language is ltr - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12850 (10spacebirdy) [06:45:54] TimStarling: neat, an extension to create XSS vulnerabilities [06:45:54] look at the source code for renderAdsense(), it's at the bottom of that page [06:46:37] apparently the XSS part is a "bug" [06:46:49] like you can include arbitrary javascript on a page without it being XSS [06:49:45] 03river * r36442 10/trunk/tools/ts-specs/: new directory [06:50:44] 03raymond * r36443 10/trunk/phase3/languages/messages/ (4 files): [06:50:44] Localisation updates Kazakh [06:50:44] (bug 12145) patch by AlefZet [06:51:07] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10raimond.spekking) [06:51:52] 03river * r36444 10/trunk/tools/ts-specs/ (31 files in 4 dirs): spec files for toolserver solaris packages [07:16:20] 03tstarling * r36445 10/trunk/cortado/ (README src/com/fluendo/player/Cortado.java): Add getPlayPosition() as per bug #13901 [07:17:10] 03(FIXED) Expose Cortado play position via JavaScript - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13901 +comment (10tstarling) [07:28:48] 03(mod) Allow localization of the magic words ISBN, RFC, PMID - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13335 summary; +comment (10raimond.spekking) [07:35:40] 03(FIXED) Upper case OGG extension breaks thumbnailing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14524 summary; +comment (10tstarling) [07:38:49] 14(DUP) Cache Issue with "This page was last modified on ..." - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14541 +comment (10raimond.spekking) [07:38:56] 03(mod) Last modified display date not the last one - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6263 +comment (10raimond.spekking) [07:44:43] 03(mod) UTF-8 Bug: umlaut misdisplayed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=781 +comment (10raimond.spekking) [08:04:05] 03(mod) Antispam filter doesn't filter plaintext rendered URLs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14522 (10mormegil) [08:21:08] 03(NEW) MediaWiki: Prefs-memberingroups should be top-aligned and not followed by a colon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14590 15enhancement; normal; MediaWiki: Internationalization; (bugzilla.wikimedia) [08:41:56] <_wooz> lo [08:54:41] hi there, where is the page with list of languages and their percentage of translation? [08:55:05] ierpe: here [08:55:10] ierpe: for which version? [08:55:15] 1.10 [08:55:17] http://www.mediawiki.org/wiki/Localisation_statistics [08:55:29] thx [08:55:39] Statistics are based on: 1.13alpha (r36434) !!! [08:55:52] ierpe: http://translatewiki.net/wiki/Translating:Statistics/1.10 [08:56:02] thx [09:00:49] actually, wouldnt messages file for 1.12 work fine for 1.10? Are they removing messages over the new versions? [09:00:56] 03raymond * r36446 10/trunk/phase3/ (RELEASE-NOTES includes/specials/Preferences.php): * (bug 14590) Vertical align cells of Special:Preferences [09:03:41] Raymond_, where i can see how this looks like [09:04:24] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10songchang2000) [09:04:41] djevrek: in your own wiki only if you would run MediaWiki from trunk. if you do not you have to wait until a sync of the Wikimedia servers [09:05:10] so there isn't some live wiki with me from trunk ? [09:05:25] ierpe: just update to 1.12 fully... [09:05:26] me/MW * [09:06:17] Raymond_: can't we do that in css? [09:06:24] 03(FIXED) MediaWiki: Prefs-memberingroups should be top-aligned and not followed by a colon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14590 +comment (10raimond.spekking) [09:08:55] hmm [09:09:45] Nikerabbit: I cantupdate, I have to merge and Im scared :p [09:10:10] ierpe: do it now or it will only get worse, and minimise local changes [09:10:24] the team that was working on the project before me made loads of modifications... :/ [09:11:49] ierpe: you could just remove them all and say "oops" :o [09:12:03] hehe i wish i could ;) [09:12:39] the problem is they modified core files and they didnt list everything [09:12:51] so im having nightmares about it ;) [09:13:13] like searching for code lines for ever [09:14:21] you could set up a new install and then move content over, and as you find things create them as proper modules? [09:14:23] sometimes messages get removed... like 'editinguser' [09:14:45] or 'revhistory' 'loadhistory' 'orig' 'editcurrent'... [09:14:53] but worse, sometimes parameters get added or updated or changed [09:15:08] brb [09:15:32] for example i was thinking about waiting the 1.13 or 1.14 before to merge [09:15:38] so i dont have to do it again soon [09:15:39] :p [09:17:21] Do any of you have any suggestions for optimising MediaWiki? [09:17:29] Especially towards crawlers. [09:18:57] http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ [09:28:06] if I configured that users do not need to confirm in email [09:28:10] when they register [09:28:19] after I finished configuring [09:28:24] how can I change that back? [09:30:54] 03(WONTFIX) Antispam filter doesn't filter plaintext rendered URLs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14522 +comment (10dan_the_man) [09:34:06] !manual | Dor [09:34:06] --mwbot-- Dor: An introduction to using MediaWiki is at , see for information about copying it to your own wiki. More technical information for MediaWiki administrators is at . For an introduction on programming with MediaWiki, see . [09:34:20] What things are required by MediaWiki for PHP to be compiled with? [09:34:56] G'day everyone [09:35:17] Does anyone know where I can download the language files of Mediawiki, if it has been translated into that language? [09:35:21] MySQL mostly... mycrypt is good to (at least for phpMyAdmin, but I don't know if you need it for md5 to), and mbstring is used my MW [09:35:23] svip: mysql [09:35:29] Dantman: too! [09:36:03] heh [09:36:29] leuce, svn [09:36:36] Werdna: One! ;) [09:37:12] leuce, http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/ [09:37:28] Actually I wouldn't recomend that [09:37:32] let's say I said users do not need to confirm their accounts by mail [09:37:37] how do I change that setting? [09:38:08] Dor: You look through the manual that lists all the configuration settings :/ E-Mail settings stare at you in the face [09:38:45] Dantman, where can I find that manual? [09:39:00] !manual | Dor [09:39:00] --mwbot-- Dor: An introduction to using MediaWiki is at , see for information about copying it to your own wiki. More technical information for MediaWiki administrators is at . For an introduction on programming with MediaWiki, see . [09:39:01] mediawiki.org/Manual:Configuration? [09:39:07] k [09:39:08] yes [09:39:09] thanks :) [09:39:20] And it gives a link to a list of all configuration options [09:39:21] !shortlink [09:39:21] --mwbot-- I don't know anything about "shortlink". [09:39:36] Do you mean? [09:39:41] !shorturl | Dor [09:39:41] --mwbot-- Dor: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [09:39:48] yeah [09:39:50] that's right [09:39:54] thanks x2 :D [09:40:28] djevrek, leuce: I really wouldn't recomend going into trunk for i18n files unless you are running trunk. The $#'s, and also definition of messages change across different versions of MW... you are likely to end up with messages which break if you take trunk's i18n files instead of sticking with your branch [09:40:55] The best option is to checkout one of the release branches from SVN when you first install, and just occationally to a `svn update` [09:53:08] Aww crap... [09:53:44] I can't do cli stuff in SVN... my ssh key is in putty format and isn't compatible with cli... crap [09:55:31] Danny_B: i think putty can export to standard openssh format [09:55:51] err, that was for Dantman :( [09:55:53] tabpwned [09:59:18] At http://commons.wikimedia.org/wiki/Template:Category_redirect there's a construction placing the category in another category (Category:Category redirects or Category:Non-empty category redirects) based on the number of articles. When does this get updated? What's the lag to expect? [10:01:08] hi at all :) sorry for my stupid question, but i cant find any information about how to insert images with absolute path ?! what is the full commandline or where i can read anything about this ? [10:02:25] Leyton4114 : You have to allow external images. $wgAllowExternalImages = true; in LocalSettings.php should do the trick [10:07:02] !skins [10:07:02] --mwbot-- Overview: . Skin usage: . Gallery of CSS styles: . Writing your own: [10:07:48] 03raymond * r36447 10/trunk/phase3/ (8 files in 5 dirs): [10:07:48] * Per Nikerabbits suggestion: Move vertical-align into CSS [10:07:48] * Move text-align into CSS too. [10:09:28] Multichil, thx..but i believe that i need an introduction for this topic, because i dont know what the full command is. i have also installed the FCKeditor-extion, but when i enter the external path, it shows me, that it cant find any image. in some tutorials could i read, that i only must write [[image:imagename] ?! [10:10:48] Leyton4114 : http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages [10:12:11] oh, that was the solution...bigTHX [10:18:43] hi Raymond_ [10:26:37] I tried to install an extension and it tells me that one of the files could not have been found [10:26:46] SyntaxHighlighting [10:28:56] Dor: geshi? [10:44:12] Nikerabbit, yes [10:46:49] Dor: did you install geshi itself too as documented? [10:46:50] Hi, I have question regarding squid as a reverse proxy for MediaWiki. [10:47:00] I read http://www.mediawiki.org/wiki/Manual:Squid_caching [10:47:04] Nikerabbit, ummm, no? [10:47:05] sec I'll do it [10:47:06] xD [10:47:19] bahhh slow [10:47:27] But how do you setup squid that it does only cache pages for anoynmous pages? [10:50:31] Nikerabbit, After I upload all 170 files, it should work? [10:55:35] scfe: the headers served with pages for logged in users should prevent squid from caching them [10:55:46] at least that's how it works for wikipedia. i don't know the configuration details., [10:56:26] Duesentrieb: But how does squid know if I am authenticated that it should forward the request to the MediaWiki PHP= [10:56:32] s/=/?/ [10:57:03] scfe: i guess by looking at your login cookie. but i'm not sure, actually [10:57:09] Duesentrieb: I mean if squid has a version of the page in its cache and I'm authenticated. [10:57:35] Duesentrieb: That would be interesting to know as I did not see any configuration for this. [10:57:47] scfe: sorry, donÄt know the details [10:58:04] Duesentrieb: Is there anyone I can ping about this? [10:58:21] Duesentrieb: Thanks for your help anyway :-) [10:58:33] mark is the squid expert i guess. he tends to be busy though [10:58:55] TimStarling is worth a try too. [10:59:57] Duesentrieb: Thanks. Will try to find the answer myself and only ping these two as a last resort :-) [11:08:41] <^demon> TimStarling: Ping [11:11:51] how do I enable more file types? [11:13:28] to be uploaded [11:13:37] !faq [11:13:37] --mwbot-- Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [11:18:34] scfe: when you are authenticated, mediawiki sends headers in its responses that prevent squid from caching it [11:19:36] mark: Yes, that is the easy part. My question is how to configure squid that an authenticated user does not get the cached squid page but the "live" one generated by PHP? [11:19:53] there is no need to configure squid for that [11:21:10] How does that come? Say someone (anonymous) requests /FooBar. Afterwars I (authenticated) request the same page. How can squid see that it should not send me the cached page? [11:21:43] because squid treats them differently because of the Vary: cookies header [11:22:59] marks: Thanks that really helped. Will do some additional investigation on that topic - maybe I get my squid configured right then :-) [11:33:02] !sitebar [11:33:02] --mwbot-- I don't know anything about "sitebar". [11:33:05] !sidebar [11:33:05] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [11:34:53] 03nikerabbit * r36448 10/trunk/extensions/Translate/ (6 files in 2 dirs): [11:34:53] * fuzzy respects now $wgTranslateMessageNamespaces [11:34:53] * freecol not added by default [11:34:53] * Messages keys can now start with capital letter, but have to be unique after normalising case and spaces [11:37:30] 03nikerabbit * r36449 10/trunk/extensions/Translate/groups/FreeCol.php: * Opps, forgot to add a file [11:38:22] !toolbox [11:38:22] --mwbot-- See , also have a look at [11:41:08] how do I change the toolbox below the sidebar? [11:42:57] nvm [11:42:58] :P [11:49:14] hello, how can i get the skin name from the skin object? [11:51:32] ping all :) [11:52:27] Parse error: syntax error, unexpected '[' in /home/andrew/mediawiki-extensions/AbuseFilter/AbuseFilter.class.php on line 42 [11:52:31] fuck you, PHP [11:52:36] $thisWord = explode( ' ', $conds )[0]; [11:52:53] heh [11:52:56] Bfhappy: $skin->getSkinName() [11:53:01] ialex, thanks :) [11:53:16] what am I supposed to do instead of that? [11:53:20] assign a variable and check it after? [11:53:21] Werdna: i really like PHP for that [11:53:34] Werdna: i think so [11:53:41] it's what i do [11:53:51] fuck you, PHP [11:53:57] +1 :) [11:54:01] ialex: can i do this: $wgUser->getSkin()->getSkinName(); [11:54:09] Bfhappy: yes [11:54:54] thx again [12:01:54] ialex, apparently it doesn't set a skin for some reason? [12:02:30] Bfhappy: what you get? [12:02:52] empty [12:08:34] Werdna: list ( $baa, ) = explode( ' ', $conds, 2) ? [12:09:07] oh, that's a good one. [12:09:26] hmm [12:09:39] Bfhappy: ok, that's only set just before outputing html [12:10:01] *Werdna ponders. [12:10:23] I'm not even sure that comma is needed [12:11:31] holy shit PHP what are you doing [12:11:33] *Werdna is writing an annoying logic parser. [12:11:37] what does this print to you: php -r 'var_dump( explode("a", array()) );' [12:12:04] what I expected it to. [12:12:17] that is? [12:12:18] ["Arr", "y"] (on multiple lines) [12:12:31] how is that expected? [12:12:31] ialex, hey sorry, it's bfhappy, was disconnected.. (I solved it by just using $wgDefaultSkin.. [12:12:44] Well, string representation of an array is Array [12:12:46] (the string) [12:13:12] how can I force a user to make a description? [12:13:22] when editing a page [12:13:39] Werdna: yeah sure.. absolutely genious way to hide bugs [12:13:41] I mean, the save button cannot be pressed until a description is there [12:13:52] Nikerabbit: it makes sense. That doesn't mean it's sensible. [12:14:05] blah, how the fuck am I supposed to do this? [12:14:14] I have a list of conditions, separated by semicolons [12:14:34] where does addOnloadHook get defined? [12:14:35] and possibly including a bracketed list of conditions (like so: ( cond1; cond2 ) ) [12:14:45] and of course, that bracketed list may or may not contain further bracketed lists. [12:15:01] how can I possibly parse that properly? [12:15:09] Wiredtaper925: wikibits.js [12:15:15] ialex, thanks again :) [12:16:04] Werdna: mmm [12:16:04] Nikerabbit: any ideas? [12:16:12] this is when I need Tim. [12:16:27] I could preprocess it, I suppose. [12:16:28] Werdna: split it int tokens, and parse it and starting a new recusio every time there is ( ? [12:16:37] ialex: per chance do you know where wgBreakFrames is defined? [12:16:42] Nikerabbit: I'm already doing it recursively. That much was obvious. [12:16:55] Wiredtaper925: in DefaultSettings.php [12:16:59] I just need to figure out how much to chew off for each iteration. [12:17:10] Maybe I'll start by implementing it without multilevel lists. [12:17:12] ialex, but that's js.. [12:17:19] the wgBreakFrames is.. [12:17:20] Werdna: watcha doing anyway? [12:17:32] Nikerabbit: very granular behaviour blocking. [12:17:35] Wiredtaper925: or Skin.php if it's the javascript variable [12:17:37] AbuseFilter extension. [12:18:10] mmm [12:18:19] Werdna: isn't there grammars for such languages? [12:18:28] ialex, ok, how can i get it defined when I have disabled $wgOut in an extension? (hope you know :) ) [12:18:29] I'm rolling my own language. [12:19:34] Wiredtaper925: $wgOut->mDoNothing [12:20:11] ialex: ? (are you sure it's not just a problem if not in order js inclusion?) [12:20:54] Wiredtaper925: ? [12:21:15] how can I force a user into writing a description? [12:21:23] ialex: perhaps I just include the javascripts not in the correct order? (and what does mDoNothing do?) [12:21:31] Nikerabbit: I've figured out how to do it. [12:21:37] A nice character by character parse :/ [12:22:01] Wiredtaper925: if mDoNothing is true, $wgOut won't output anything [12:23:32] ialex: ok, but I want that js.. there are some thing I want $wgOut to output.. what I want though is for wgBreakFrames to be defined, and i think it's just a matter of ordering the js inclusion properly..? [12:24:20] Wiredtaper925: if you want wgBreakFrames to be true, set $wgBreakFrames = true; in LocalSettings.php [12:24:50] Checked the FAQs for this and didn't find anything usefull (unless I missed it): new installation of MediaWiki, when I go to index.php I get nothing. When I go to index.php5, I get my wiki. All subsequent pages require .php5. How can I change the default for all pages to just .php? (Or have URLs entered as just .php automatically redirect to .php5?) Am I just being dense and missing something obvious? [12:25:33] ialex, i don't want it to be true, i just want it to be defined.. since i'm getting a js error for line 52 in wikibits.js -> if (wgBreakFrames) -> error: wgBreakFrames not defined.. [12:27:13] Wiredtaper925: oh, wikibits.js should be included after the variables are set in source of the page, wich is correct in the default skinks [12:29:43] ialex: :) thanks [12:29:47] how can I force users writing a description? [12:30:31] anyone? [12:31:40] Dor, in $wgUserDefaultSettings - one of the options would be something like force summary [12:31:50] ialex, anyway thanks for everything! ciao [12:32:01] np :) [12:33:47] !localsettings [12:33:47] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [12:35:21] Dor, in $wgUserDefaultSettings - one of the options would be something like force summary [12:35:29] where can I find information about this? [12:36:08] Nikerabbit: whee, I did it! [12:37:13] *^demon waves to everyone [12:37:17] <^demon> Good morning. [12:37:27] good morning [12:38:11] do you know how can I force people into make a summery when editing? [12:39:11] <^demon> Not offhand. I know you can force it as a default preference. But even if they disable it? Not sure. [12:40:40] 03(NEW) Special:Linksearch should be case insensitive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14591 15enhancement; normal; MediaWiki: Special pages; (waldir) [12:41:32] Ugh. This is so annoying. I can't figure out why all my pages are .php5, and won't work as just .php (blank pages load--not a "Cant find page" error), or how to fix it. [12:44:33] 03(mod) Special:Linksearch should be case insensitive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14591 15enhancement->normal (10raimond.spekking) [12:49:04] Okay, well, thanks anyway.... [12:49:21] 03(mod) Special:Linksearch should be case insensitive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14591 normal->15enhancement; +comment (10innocentkiller) [12:52:53] domas: Is it OK to run a query that filesorts when you're certain that the result set cannot be larger than 17 rows? [13:02:58] RoanKattouw, yes, although it's not ideal. [13:03:09] Er, wait. [13:03:11] No, it depends. [13:03:16] *Werdna grins. [13:03:17] 03(mod) Special:Linksearch should be case insensitive - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14591 +comment (10waldir) [13:03:18] Do you mean "result set"? Or "number of rows scanned"? [13:03:19] Do you need details? [13:03:32] go go AbuseFilter extension [13:03:33] If the *number of rows sorted* is at most 17, it's not really a problem. [13:03:46] Well, yes, I believe that's the case [13:03:50] Here's what's going on: [13:04:47] I'm scanning the ipblocks table for all range blocks in which a certain IP (or range of IPs) is contained. This uses the ipb_range index, and is done so that it only grabs ranges broader than the input range (so in the worst case, the input range is a single IP and you can get at most 17 rows) [13:04:55] Then I'm doing ORDER BY ipb_timestamp [13:05:00] (DESC) [13:05:38] RoanKattouw, what's the query? [13:05:40] isn't there an index on ipb_timestamp? [13:05:41] So if I'm not mistaken, my query (which I'll paste now) will first filter rows by the ipb_range index, *then* filesort the small result set [13:05:54] Werdna: Yes, but I can't use two indices at once [13:05:55] oh right, after filtered. [13:05:55] (with explain) [13:06:14] I'm doing something which will make domas kill me anyway :) [13:07:00] What would that be? [13:07:09] *Simetrical should go off to school, has a chemistry test in a couple of hours [13:07:20] Every edit, it checks against an admin-set list of conditions [13:07:22] Think we have a problem ツ [13:07:31] Simetrical: http://rafb.net/p/RLdpHz55.html [13:07:39] http://commons.wikimedia.org/wiki/Image:10000-2f.jpg [13:07:47] to see if it should ban the user/block the edit/apply extra rate-limits to the edit/warn the user. [13:07:53] "All negatives, plates, positives, digitized storage medium, graphic files, magnetic medium, optical storage devices, and any other thing used in the making of the illustration that contain an image of the illustration or any part thereof are destroyed and/or deleted or erased after their final use." [13:07:54] it's part of my AbuseFilter extension. [13:07:56] Werdna, every edit isn't a big problem. Every view would be a problem, maybe. [13:08:07] Simetrical: indeed. I'll have to store it in memcached, I suppose. [13:08:16] since hitting the DB isn't a fantastic idea. [13:09:00] I guess it's no worse than the spam blacklist [13:09:03] AzaTht: You mean it's illegal to retain copies of something used to produce currency that has now been discontinued? [13:09:04] Werdna, one extra query on every edit is not a big deal. [13:09:14] *Werdna is very very proud of his conditions-checking code [13:09:17] We run lots of queries on edit anyway [13:09:22] 2 hours and 239 lines [13:10:00] RoanKattouw: mean someone will have to go loose with the sledgehammer in the server room after it's final use [13:10:00] RoanKattouw, why do you think this will only scan 17 rows? [13:10:22] Simetrical: This particular query will scan one row at most [13:10:35] Because blocks can't exceed /16 boundaries [13:11:15] RoanKattouw, well, ipb_range_start LIKE '0C22%' is the same as ipb_range_start >= '0C220000', right? [13:11:24] RoanKattouw: and every copmuter that access that image must reformat their harddrive after wathing that image [13:11:30] Simetrical: Yes, this is a bad example [13:11:31] So you really have ipb_range_start BETWEEN '0C220000' AND '0C220000', which is obviously just one row. [13:11:34] ツ [13:11:37] Do you have a better example? [13:11:43] Yeah, just a second [13:12:02] In general, it will probably be unable to use more than the first half of the ipb_range index to do the initial filtering. [13:12:22] So I'm guessing it's going to produce a result set (before LIMIT) well over 17 rows if there are lots of blocks. [13:12:22] Simetrical: http://rafb.net/p/Gay7p664.html [13:13:18] This query grabs all blocks that block ranges that contain the range 12.34.56.00/24 in its entirety [13:13:37] RoanKattouw, that will sort all rows with ipb_range_start between 0C220000 and 0C223400. Why do you think that's at most 17 again? [13:14:05] It can't use the ipb_range_end for filtering here, I'm pretty sure. [13:14:20] Although key_len 20 is weird, the key is only 16 bytes long that I can see . . . [13:14:22] ipb_range ( ipb_range_start, ipb_range_end ) [13:14:25] Anyway [13:14:53] The *result set* is gonna be at most 9 rows in this case [13:15:02] Hmm, well, actually, I think you're right, it's not a problem. But ask Domas. [13:15:20] It can't use the second half of the index for log(N) retrieval, but it can still use it to filter before it does a filesort. [13:15:27] Because only range blocks with /24 or broader can match this [13:15:44] So given that we're restricted to CIDR ranges, I guess it might be okay. But don't quote me on that. :P [13:15:51] *Simetrical needs to go to school now [13:16:04] And the given range is part of exactly one /24, exactly one /23, ...., /16 and that's 9 [13:16:11] OK good luck on that chemistry test [13:16:31] Thank God I passed my final exams recently, no more chemistry for me [13:17:09] Summer course for me. [13:17:18] I expect to get 100, but I'm going to review the material anyway. [13:17:25] And I have some field theory and Galois theory to catch up on. [13:18:01] hello, how can I change the time of my wiki? [13:20:14] 03jojo * r36450 10/trunk/extensions/Collection/README.txt: add notice that PDF Server must have access to MediaWiki [13:21:04] warddr: You can change the times that you see everywhere to a different timezone in Special:Preferences if that's what you want [13:21:25] I'll have a look at that page [13:22:15] RoanKattouw, I don't want to change my personal timezone but the timezone of the entire wiki [13:22:31] Hmm [13:23:10] 03ialex * r36451 10/trunk/phase3/includes/specials/MissingFiles.php: Per r35950: removed unused file [13:23:24] warddr: http://www.mediawiki.org/wiki/Manual:Timezone [13:43:27] 03catrope * r36452 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryBlocks.php): (log message trimmed) [13:43:27] API: Added bkip parameter to list=blocks. This more than fixes bug 14405. [13:43:27] About the database query: I know it filesorts the result set, but that shouldn't [13:43:27] cause any trouble as the result set is always small. To be more specific: it [13:43:29] cannot be larger than 17 rows. This is because bkip=foo only grabs (range) [13:43:31] blocks that contain foo *in its entirety*. Therefore, in the worst case foo is a [13:43:33] single IP and the result set will consist of a single block, a /31 range block, [13:43:52] AzaTht: You might like r36452 [13:46:07] hello [13:46:52] mm [13:47:31] we have a problem with emails... they are sent with localhost links... presumably because we run jobs from cron, so no $server is set [13:48:59] Nikerabbit: can't you override $wgServer in LocalSettings.php? [13:49:11] ialex: well that breaks all kinds of other things [13:50:01] afaik it not meant to be set manually [13:50:25] I wonder how wmf does this [13:53:27] ツ [14:01:01] hi.. i get this error "MediaWiki internal error. [14:01:03] Original exception: exception 'DBQueryError' with message 'A database error has occurred [14:01:05] Query: SET sql_mode = '' [14:01:06] Function: Database::open [14:01:08] Error: 1226 User 'xxx' has exceeded the 'max_questions' resource (current value: 3600) (localhost) [14:01:09] ' in c:\inetpub\wriki.it\wiki\includes\Database.php:844 [14:01:11] i don't understand why i get this.. [14:01:14] Any AboutUs folks in the room? [14:02:01] Rave21: the error message is pretty explicit [14:02:06] Rave21: I think you're only allowed 3600 database sessions in a certain timeframe, and you seem to have hit that limit [14:02:15] Or 3600 database queries [14:02:22] questions = queries [14:02:25] ok i've understand that [14:02:41] but is possible that i've reached this limit? [14:02:47] i'm the only user [14:02:54] I think it's more than possible [14:03:07] I think it's an absolute certainty [14:03:44] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10tylerromeo) [14:04:05] does one user make more than 3600 query in an hour? [14:05:23] it depends on what the user does [14:05:41] how do you know you're the only user? [14:09:38] 03(FIXED) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 +comment (10roan.kattouw) [14:10:10] ^demon: are you sure http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36435 is fixing the problem that I described? [14:10:26] because i'm developing the site, and i block the possibility to create new account [14:11:09] <^demon> AlexSm: Unless I misunderstood your question. That revision applied mw-redirect to all redirects in logs, etc. [14:11:37] <^demon> At least from moves, actually. [14:12:27] ^demon: it looks like your code just slaps mw_redirect on the old name (even if it's not a redirect anymore) [14:13:10] while mw_redirect already was correctly put on pages, just not on the talk pages (odd namespaces) [14:13:21] 03(mod) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 (10cdhowie) [14:14:56] Rave21: crawlers can do page views without requesting an account, can't they? [14:16:14] i don't understand what are crawlers.. [14:16:34] Hi All! I'm like to use MediaWiki in my workplace to create a database schema and data dictionary. I love what MediaWiki offers, but I have some concerns. We don't currently have a Linux server; is it worthwhile to set one up just to use MediaWiki?? [14:16:52] 03tstarling * r36453 10/trunk/extensions/DumpHTML/dumpHTML.inc: Fix observed fatal error, don't know why it happens [14:16:52] <^demon> AlexSm: I'll revert for the time being. [14:17:52] <^demon> Belle: You can run it on Windows. [14:18:27] But I need PHP support? [14:19:14] Rave21, they are bots [14:19:45] crawlers are the things that make search engines work [14:19:49] 03(mod) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 (10roan.kattouw) [14:19:50] but i don' have bots, isn't it [14:19:53] they download the whole internet once a month or so [14:20:02] index it and make it available for searching [14:20:06] 03demon * r36454 10/trunk/phase3/includes/ChangesList.php: revert 36435. Bad logic slaps mw-redirect on pages that aren't even redirects. [14:20:19] whole internet/month ? [14:20:19] <^demon> Belle: Yes, you need PHP. PHP can run on Windows though. [14:20:30] Belle: You need a web server (preferably Apache, nobody will help you if IIS screws up), PHP and MySQL [14:20:33] on that order, yes [14:20:45] obviously parts of it happen much faster, like news sites and blogs [14:21:39] 03nikerabbit * r36455 10/trunk/extensions/Translate/ffs/Java.php: * Ignore comments [14:22:33] <^demon> Belle: Take a look here: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows Some of it may be a bit outdated, but it should give you at least a good overview. [14:23:51] ^demon: thanks [14:23:55] <^demon> No problem. [14:24:51] <^demon> That page does contradict itself which is rather funny. It suggests IIS as opposed to Apache, then tells you 2 paragraphs down to use Apache and not IIS. [14:24:51] do I need to be proficient in PHP to use Mediawiki? Or would I need to know PHP just to make modifications to the source? [14:25:13] 03(mod) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 (10cdhowie) [14:25:20] Belle, You don't need to know PHP to install MediaWiki [14:25:20] ie, my goal is to have something like this: http://www.zen-cart.com/wiki/index.php/Developers_-_Database_Schema [14:25:27] <^demon> Belle: The configuration file is in PHP, so any non-default configurations would require at least _enough_ knowledge to poke around in your LocalSettings without breaking it. [14:25:41] <^demon> However, it can be installed and used without PHP knowledge. [14:25:51] ok great [14:25:56] Belle: That's already there at http://www.mediawiki.org/wiki/Manual:Database_layout [14:26:05] Belle, you only need to think logically and not be stupid basically :) [14:26:33] Thanks Dor, I'll try my best [14:26:48] anytime [14:26:53] of course if you need help don't be afraid to sk here [14:26:59] good afternoon [14:27:18] Belle: If you're only interested in the database schema, you can also just look up stuff at http://www.mediawiki.org/wiki/Manual:Database_layout [14:28:22] I want to understand the mediawiki feed feature, because I tried to use the News_Channel extension (version 1.33) with Mediawiki 1.11.1 and the created feeds are unreadable by Safari or NetNewsWire (too many redirects). Currently I'm on Mac OS X Leopard. [14:29:07] I looked for documentation myself, but didn't find something. Could you provide some link or advice? [14:29:40] I have to mention: On Firefox 2 the feeds work. [14:30:07] 03(mod) API block query no longer accepts CIDR - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14405 (10roan.kattouw) [14:32:52] (dont kill me, but...) Does it make sense to spend the time setting it up just to use it for the database schema? [14:36:36] Belle: if you use MediaWiki plain out of the box, then it's no problem [14:37:05] that'd only take a few minutes with an existing apache/php/mysql install [14:37:20] if you want to customise the visual appearance then it might not make sense [14:38:39] Ok, I'll try it. If nothing else, it'll be a fun exercise. [14:43:45] question: I'm writing an extension that pulls the month names from the language message file, and I see that there are two sets of month names (example: january and january-gen). What is the difference and which should I use? [14:44:20] Language::sprintfDate() [14:44:40] you shouldn't access the data directly if you're writing a mediawiki extension [14:45:12] TimStarling: So, I should use Language::sprintfDate() instead of wfMsg('monthname')? [14:45:22] yes, or getMonthName() [14:45:28] if you really only need the month [14:46:06] the answer to your question is that some languages have two (or more) forms of the month name, depending on the grammatical context [14:46:07] Well this is for a popup javascript calendar to fill in a date field in a customized form, and I'm building an array of month names.... [14:46:30] To display at the top of each calendar month [14:46:35] in the european languages, the most common forms are nominative and genitive [14:46:42] the -gen keys are for the genitive form [14:47:03] 03mfarag * r36456 10/trunk/phase3/ (6 files in 4 dirs): [14:47:03] Add support for Higri (Islamic) calendar [14:47:03] Patch by AhmadSherif [14:47:17] if you're displaying a month name alone, you can generally use the nominative form, from getMonthName() [14:47:31] but if it appears in a sentence, the correct form needs to be chosen by the translator [14:48:27] I'm only displaying the month name...thanks! That helps. I just spent about 15 minutes looking at the different language files trying to figure out what the difference was :) [14:50:25] 03ialex * r36457 10/trunk/extensions/SkinPerNamespace/SkinPerNamespace.php: Use BeforePageDisplay hook for all namespaces [15:11:42] is it higri or hijri? [15:13:06] Parse error: syntax error, unexpected T_PRIVATE in mediawiki/languages/Language.php on line 802 [15:13:24] Attempting to resolve... [15:15:40] Nikerabbit, hijri [15:16:56] Do people not test their code before commiting it? [15:18:19] MinuteElectron, which code? [15:18:39] r36456 presumably [15:19:00] 03minuteelectron * r36458 10/trunk/phase3/languages/Language.php: [15:19:00] * Improve indentation. [15:19:00] * Remove excess tabs. [15:19:00] * Fix syntax error. [15:23:13] 03minuteelectron * r36459 10/trunk/extensions/Babel/ (5 files in 3 dirs): [15:23:13] * Move includes/Babel.php to Babel.class.php. [15:23:13] * Remove defunct maintenance script, its classes, and the maintenance directory. [15:23:13] * Move includes/LanguageCodes.php to LanguageCodes.php. [15:23:13] * Remove includes/ directory. [15:25:37] Has anyone installed the universal edit button? [15:26:14] Wikimedia uses it. [15:27:09] Yeah, saw that. [15:27:31] The install I think I've figured out. The little edit button just appears in the toolbar? [15:27:44] Address bar even, [15:27:49] Otherwise, it doesn't change the look of your wiki? [15:27:59] es. all it [15:28:06] adds is a new tag [15:28:20] that some browsers can detect and use to display the edit button [15:28:42] mmm [15:28:52] and it nees a extension for the browser? [15:29:11] that would depend on the browser, i imagine [15:29:36] FireFox, yes. [15:31:20] 03mfarag * r36460 10/trunk/phase3/ (5 files in 3 dirs): Fix naming error [15:34:23] 03minuteelectron * r36461 10/trunk/extensions/Babel/ (Babel.class.php Babel.php LanguageCodes.class.php): [15:34:24] * Merge LanguageCodes class into Babel class. [15:34:24] * Remove ending newline from Babel class. [15:37:12] pfft, why don't hyphens and underscores word-wrap in Opera 9.5... [15:38:22] *Nikerabbit wraps MinuteElectron [15:39:42] 03rotem * r36462 10/trunk/phase3/ (2 files in 2 dirs): Fixes. [15:44:22] 03rotem * r36463 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [15:44:57] mmmm all fine [15:45:43] 03minuteelectron * r36464 10/trunk/extensions/Babel/Babel.class.php: [15:45:43] * Add a newline before outputting template name as a link or template name raw [15:45:43] to ensure that they are printed on multiple lines in Opera 9.5 as much as [15:45:43] possible, since hyphens and underscores no longer wrap in Opera 9.5. [15:59:23] 03minuteelectron * r36465 10/trunk/extensions/Babel/ (Babel.class.php Babel.php BabelStatic.class.php): * Break Setup, Magic, and Render functions into a seperate class to decrease startup time. [16:00:55] "This page was last modified on , at ." uh... [16:01:18] MinuteElectron: a bug? [16:01:28] yes [16:01:43] on the latest revision [16:03:00] prolly the same... can't see why though [16:03:35] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10Wiki.Melancholie) [16:04:17] ok, question: MediaWiki is licensed under the GPl v2, so wouldn't that mean anyone that uses MW would have to release their source code? [16:04:29] i.e. Wikia "Closed-Source" Inc. [16:05:01] Only if the modify the code. [16:05:11] It is unlikely Wikia modify the core code. [16:05:12] only if they distribute it.. afaik [16:06:00] well, I'm pretty sure they've made core hacks, tho you can't really prove that -.- [16:06:13] why would they have to release their code? [16:06:31] flyingparchment: Since the GPL says so? [16:06:57] it does? so if i modify a gpl program for my own use, i have to distribute the source to everyone? [16:07:20] fine [16:07:26] oh, I see [16:07:38] I have a question, If i have two identical copies of Media Wiki on two different web servers, is there a way to lets say syncronize the databses ever hour? the second copy of the wiki would be read only.. so any changes could be overwritten [16:07:43] so its only true if they distribute it [16:07:59] MadFrenchie: use mysql replication, you can do it live [16:08:18] will replication work if one server is behind a firewall that can't be seen by the second server? [16:08:46] though, how could you even distribute mediawiki w/o the source code being available :P its not complied or anything [16:09:03] I basically want the server on the internal network to upload its database to the server that is on the external network so people on the outside can see the info [16:09:25] MinuteElectron: ARGH [16:09:33] MinuteElectron: why did you reindent the switch? [16:09:53] MadFrenchie: Probably not [16:09:55] because it didn't line up and the code was confusing me [16:10:00] Don't quote me on that though [16:10:02] MinuteElectron: can you fix the inner if's, and put the prefixes in an array and use in_array [16:10:07] i thought it was meant to line up [16:10:26] it does [16:10:32] i'm not too sure what the code is meant to do, but i'll have a look [16:10:36] RoanKattouw can the server on the inside just copy its database over to the other server, I don't care of the info on the other server is overwritten no one will be writeing to that one [16:10:36] if you fix the if as it was supposed to be [16:11:43] MadFrenchie: Oh, you want the invisible server to be a slave to the visible server? [16:12:22] Nikerabbit: oh, I see, one moment [16:12:24] I think that could work [16:14:17] nope.. I want the visible server to be the slave of the invisible one [16:14:51] Nikerabbit: fixed [16:14:55] the invisible server is the one thats on the inside network of our company, we recently outsourced to India, we went to have a visible version of the wiki for them on an outside server [16:15:00] 03minuteelectron * r36466 10/trunk/phase3/languages/Language.php: * Correct fix, remove if that should have been replaced. [16:15:16] 03brion * r36467 10/trunk/extensions/UniversalEditButton/UniversalEditButton.php: update about description, add background comments [16:15:28] they will not be makeing changes to the wiki...they will only be reading the information... the internel guys will be makeing all the changes and updated [16:15:48] MadFrenchie: You'll probably need a firewall exception then. Because the visible slave server will have to have *some* way of "reading" from the invisible master [16:15:53] MinuteElectron: mm better, the line is still mile long though [16:16:14] there is no way i can jsut set up my Mysql on the invisible server to upload or update the database on the visible one? [16:16:51] Nikerabbit: bah [16:17:41] RoanKattouw: for example if i set a crontab or something on the invisible server that ever 1 hour it dumps the database in full or just the changes over to the visible server [16:18:44] MadFrenchie: You could do that. Then you wouldn't want a real master/slave setup, though, but just two separate wikis with two separate databases and the cron job that updates the visible wiki every hour [16:18:53] yes [16:19:18] Roankattouw: The visible wiki is basically just a place to read the information the only changes that will ever be made.. are on the Invisible one [16:19:19] But then the invisible server somehow needs write access to the visible server, so it can e.g. rsync or sftp the dump file over there [16:19:31] thats not a problem [16:19:48] MadFrenchie: What you *could* do, is just not bother with the visible/invisible stuff and just restrict editing to those who have confirmed accounts [16:19:49] I own the visible server, so i have FULL access to it to do whatever i like [16:20:05] I know, but it's better to keep stuff simple ;) [16:20:24] RoanKattouw: the only problem with that.. is that the India center doesn't have access to our internal network [16:22:47] RoanKattouw: And we dont' want our internal people accessing the external server :) [16:22:54] 03minuteelectron * r36468 10/trunk/extensions/Babel/ (5 files in 2 dirs): [16:22:54] * Align attributes in CSS file. [16:22:54] * Improve comments in CSS file. [16:22:54] * Use strings rather than named constants. [16:22:54] * Line up ISO_639_3.php file. [16:27:29] MadFrenchie: Can't you just put up a firewall and block everything but port 80? [16:27:50] Or move the wiki over to the visible server and apply the edit restrictions I mentioned? [16:28:01] 03(mod) Create the 'MediaWiki default' user on wiki creation, or on upgrade if user does not exist. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14569 (10brion) [16:32:38] RoanKattouw_away: That won't work.. The IS department here is a big pain in the ass. I work for Primus Telecommunications, we are a very large scale business with a wide speread network all across canada, The network is tighter the the back end of my girlfriend. So allowing them access to our network is a no go. [16:34:05] 03minuteelectron * r36469 10/trunk/extensions/Babel/BabelStatic.class.php: * Add some basic profiling. [16:41:26] how do i change the filesystem permissions mediawiki uses when it creates new files in the images directory? [16:41:56] why would you change them? [16:43:25] it should 777 except there was a bug [16:46:05] 03(NEW) Hide confusing 'move'-tab on user page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14592 15enhancement; normal; MediaWiki: User interface; (church.of.emacs.ml) [16:47:25] I had a similar bug. Every time we pgraded, the permissions on the folders were changed. [16:47:41] It just became a case of manually going in and changed everything to 777. [16:53:23] meow [16:57:09] 1 previously passing test(s) now FAILING! :( [16:57:09] * Magic Word: {{CURRENTTIME}} [Introduced between 17-Jun-2008 17:24:53, 1.13alpha (r36395) and 19-Jun-2008 16:31:51, 1.13alpha (r36465)] [17:00:06] not fixed with r36466 ? [17:01:59] looking better now, thx :D [17:02:39] two other test cases broke last week... [17:02:40] * Link with suffix [Introduced between 11-Jun-2008 17:33:16, 1.13alpha (r36191) and 17-Jun-2008 17:24:53, 1.13alpha (r36395)] [17:02:45] * Out-of-order TOC heading levels [Introduced between 11-Jun-2008 17:33:16, 1.13alpha (r36191) and 17-Jun-2008 17:24:53, 1.13alpha (r36395)] [17:02:59] mm [17:03:25] Nikerabbit: 777 give other users on my shared host permission to write to these directories... [17:03:31] Link with suffix <- due to change of suffix matching without update of test [17:03:46] mm that was the linktrail thing? [17:04:04] jablko: hmm [17:04:25] jablko: does the webserver use your user or? [17:04:36] right [17:04:43] i have a problem with Xml::checkLabel [17:04:53] not sure i know what's going on with the toc thing [17:04:55] AhmadSherif_: ask [17:05:03] wasn't there some change to toc recently? [17:05:07] Nikerabbit: php runs as my user, apache runs as something else (proly www-data) [17:05:24] i want directories created by mediawiki to be 755... [17:05:45] mmm [17:05:50] it looks like the extra anchor suffixes in the test case results probably shouldn't be there in the first place [17:05:56] Nikerabbit, when i make the first parameter that wfMsg ( ..... ) [17:05:56] so... probably another case of 'fix the case' [17:06:04] (at least directories outta which apache has to serve content...) [17:06:13] it feels like mediawiki wasn't designed that in mind... someone correct me if I'm wrong [17:06:29] jablko: there is no configuration option for it, it seems [17:06:45] the problem is wiki markup shows as is [17:07:10] AhmadSherif_: yeah, that's because legends usually don't need wikitext [17:07:45] Nikerabbit, so how can I make a check box with wiki markup? [17:08:07] AhmadSherif_: mm you can, you just need more code.. wait a second [17:08:13] AhmadSherif_: we normally try to keep the label plaintext. a couple advantages: 1) it's simpler, 2) it allows the label to be consistently clickable [17:08:34] you can just manually do the check and the label if you must have arbitrary formatting in it [17:09:11] ok [17:09:49] something like: $a = Xml::tags( 'label', array( 'for' => $$$ ), wfMsgExt( 'name', 'parseinline) ) [17:10:06] + fix the syntax errors ^^ [17:10:26] and then combine it with Xml::check with correct id, and add space between [17:11:17] ok thanks :) [17:12:07] yes that should do it [17:12:20] thank you brion , Nikerabbit [17:19:49] 03brion * r36470 10/trunk/phase3/maintenance/parserTests.txt: Update parser test case for fixes in r36248 [17:21:37] 03(mod) Redirect pages should render all text - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14323 (10lenoxuss) [17:28:17] 03(mod) #globalWrapper class is not applied correctly when specific page content is entered - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14582 (10aik) [17:34:03] 03(NEW) Do not create new directories with permission 777 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14593 15enhancement; normal; MediaWiki: Uploading; (ms419) [17:35:14] jablko: the very simple case is when you are not running suphp [17:36:00] Nikerabbit: but then apache and php are running as the same user, so 770 should suffice, no? [17:37:32] i.e., when you are not running with suphp, php runs as the owner of the directory, so 770 is enough to let it create new files [17:37:57] jablko: then the user cannot delete them [17:37:57] and apache runs as the owner of the directory, so 770 is enough to let it serve those files? [17:38:21] Il y en as qui parle fr? [17:39:18] Nikerabbit: ahh... the user can still delete them using mediawiki, but they can't delete them if they go in the backdoor and remove them from the filesystem... [17:39:43] i guess i am trying to prevent that... [17:40:12] With media wiki can I have news on my home page? [17:40:37] you can have anything [17:40:44] #mediawiki-fr [17:40:58] thinks [17:42:00] anyone have a clue what "Parser::replaceInternalLinks: $this->mTitle is null" could mean, when running dumpImport.php? [17:49:40] 03brion * r36471 10/trunk/phase3/maintenance/parserTests.txt: Update linktrail parser test case for change in r36253: default linktrail now allows capitals. [18:00:34] 03brion * r36472 10/trunk/phase3/includes/Article.php: [18:00:34] Revert r36273: [18:00:34] The change was described only as "Fix confused code", but it changed from something [18:00:34] that appears to make sense (check for a permission key for that restriction group) [18:00:34] to something that doesn't (hardcoded check for two particular names). [18:00:37] If the change has an effect, and there's a reason for it, please describe it [18:00:39] in a bit more detail. [18:02:30] MadFrenchie: I see. But you mentioned having a server "outside" of that network, right? (The "visible" server) Why not put the wiki on that server [18:02:32] ? [18:13:18] 03brion * r36473 10/trunk/extensions/InterwikiList/ (InterwikiList.php InterwikiList_body.php): [18:13:19] * escape your HTML output [18:13:19] * no need to call a fancy Xml::blah function for hardcoded [18:13:19] * don't bother checking for MEDIAWIKI when not needed -- variable definitions are harmless code [18:13:19] * do check for MEDIAWIKI when we'll spew errors without it [18:18:07] 03(mod) Hide confusing 'move'-tab on user page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14592 +comment (10roan.kattouw) [18:19:10] 03brion * r36474 10/trunk/phase3/ (RELEASE-NOTES includes/Skin.php includes/SkinTemplate.php): [18:19:10] Revert r36308 "(bug 2889) MediaWiki:Print.css now applies to the printable version" [18:19:10] Doesn't actually work -- it applies it to 'printable=yes' print simulation, but not to actual printable stylesheet. [18:19:45] 04(REOPENED) Print stylesheet should be explicitly editable (e.g. MediaWiki: Print.css) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2889 +comment (10brion) [18:19:58] 03(mod) Do not create new directories with permission 777 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14593 +comment (10roan.kattouw) [18:22:32] 03dale * r36475 10/branches/MetavidWiki-exp/MetavidWiki/skins/mv_embed/mv_embed.js: merged changes from stipe multi-stream support [18:23:47] how do I make custom namespaces, [18:23:53] and that one redirects to another [18:24:05] like Project:name and {{SITENAME}}:name [18:24:15] aliases? [18:24:34] set $wgMetaNamespace ? [18:24:35] if that's how it's called [18:24:43] Dor: see the documentation for $wgNamespaceAliases and $wgExtraNamespaces [18:26:09] $wgNamespaceAliases = array( [18:26:09] 'Wikipedian' => NS_USER, [18:26:09] 'Help' => 100, [18:26:09] ); [18:26:22] I don't quite understand the NS_USER [18:26:24] what is that? [18:27:11] Dor: a constant [18:27:31] so NS_USER is not to be changed? [18:27:46] Dor: Somewhere in Setup.php or Namespace.php, NS_USER is set to 3 [18:27:49] No 2 [18:27:51] NS_USER_TALK is 3 [18:28:10] and with this whenever I use "Wikipedian:page" it will automatiaclly go to "Help:page"? [18:28:23] Every built-in namespace has such a constant so people won't read 3 and have to think back "hey, which namespace was that again?" [18:28:46] Dor: No, with the settings you mentioned, Wikipedian: will redirect to User: , and Help: will redirect to the first custom namespace with ID 100 [18:28:56] ohhhhhh [18:28:58] now I see it [18:29:07] how stupid of me not seeing the PHP array [18:29:09] thanks :) [18:29:16] hi, buddies. Where are the test cases for wiki markup render in the Mediawiki SVN server? Anyone can help????? [18:29:26] Mountain: parserTests.txt I believe [18:29:28] Lemme check [18:29:56] Mountain: maintenance/parserTests.php [18:30:04] ok. thanks. [18:42:21] 03raymond * r36476 10/trunk/ (2 files in 2 dirs): Localisation updates German [19:07:10] can anybody help me with my uploads on my wiki please [19:11:05] !ask [19:11:05] --mwbot-- Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [19:13:55] i told you, get rid of that crappy host. [19:19:13] well... can someone help me with my uploads i need help in the database cant seem to get them to work [19:19:26] 03(mod) Admins should be asked for confirmation when Antispoof applies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13426 (10tylerromeo) [19:23:25] 03(mod) Admins should be asked for confirmation when Antispoof applies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13426 (10tylerromeo) [19:25:01] 03(NEW) Logo for Modern Skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14594 15enhancement; normal; MediaWiki: Modern skin; (lyeung) [19:27:22] i have a problem with my uploads i cant see what i have uploaded but i can still upload the image. [19:27:39] brion: for r36472 (your revert on Article.php), $restrictions should be a right, not a group [19:32:04] ialex: don't tell me, tell the code :) [19:32:42] brion: i have a fix for that, if you want :) [19:33:54] brion, you haven't finished what you were saying about translating "UTC" in signatures ... [19:34:41] alnokta2: yes i did [19:36:07] brion, really.. so is it fixable ? [19:37:12] probably, if someone tries hard enough [19:39:09] *alnokta2 looks at ialex [19:40:07] why me? :) [19:40:31] Ok, so i've accidently created the page "/FAQ/...." and now of course the url would be domain.com/wiki//FAQ/... and the question is: how do i delete my faux pa (is this how you spell it?) [19:41:14] move the page? [19:41:27] ialex, you said you may help and i haven't forgetten :) [19:41:40] alnokta2: *may* [19:41:50] ialex, not going to work as far as i can tell, as // isn't a legal title.. [19:42:01] 03brion * r36477 10/trunk/phase3/ (3 files in 2 dirs): Revert r36346 - 'print.css' message default value not needed since it's not used (since it didn't work) [19:42:34] Wiredtape: any luck at index.php?title=/FAQ/&action=delete ? [19:42:49] ialex, isn't may synonymous of will? [19:43:03] Wiredtape: or change its name in the database [19:43:08] 03(mod) Add "override-antispoof" right to accountcreator group. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 +comment (10mrzmanwiki) [19:43:36] alnokta2: no, iirc [19:43:47] brion: internal error when trying to delete.. :-\ [19:44:00] what error? [19:44:15] brion: Could not delete the page or file specified. (It may have already been deleted by someone else.) [19:44:24] ialex, it is a synonymous in ACD [19:44:30] ialex, i don't really want to mess up the database with a missing revision.. and so on... [19:44:34] Wiredtape: you sure you didn't already delete it? [19:44:40] just go in the db and look, dude [19:44:50] Wiredtape: just change page_title [19:45:11] Wiredtape: revision are linked by page_id [19:45:36] ok, let me take a look :) [19:46:59] yup. it still exists in the db... [19:47:12] alnokta2: ACD? [19:47:23] but the article itself is empty of content.. [19:47:32] Wiredtape: tried maintenance/cleanupTitles.php ? [19:47:42] brion: will do that now.. [19:48:13] ialex, alnokta's concise dictionary [19:48:18] alnokta2: :D [19:48:42] then ACD !== english [19:49:00] :) [19:49:27] :O [19:49:35] you guys having phun without me? O_o [19:49:59] *alnokta2 chases the rabbit [19:50:31] brion: does cleanupTitles.php take any arguments? [19:50:49] :o [19:50:56] *Nikerabbit is faster than a simple bunny [19:51:15] --fix to actually make the changes (otherwise it just does an audit) [19:51:40] i'm getting an error: fwrite(): supplied argument is not a valid stream resource in.. [19:51:48] *alnokta2 is dual-core [19:53:37] TimStarling, could you make the priority of VLC higher than QUICKTIME? so that when JAVA isn't found, VLC is used then quicktime. [19:53:47] <^demon> brion: I see your reverts. Points taken. [19:56:45] no worries :) [19:57:07] i want to add a static list of language links, based only on the name of the current article [19:57:16] where is the best place to do this? [19:57:17] brion: have any ideas regarding the fwrite() error? (sorry for bothering) [19:57:45] Wiredtape: the part after "in" sounded like it might be interesting [19:58:09] <^demon> brion: That being said, I noticed my change to SpamBlacklist stuck. You like? [19:58:28] brion: heh, sorry, thought you might have seen this b4-> fwrite(): supplied argument is not a valid stream resource in /home/wiredtap/public_html/w/en/includes/Exception.php on line 128 [19:58:59] alnokta: that's because VLC crashed my browser all the damn time [19:59:32] and quicktime was kind enough to provide a query function to determine if it has XiphQT installed [19:59:50] Wiredtape: sounds like it's having trouble opening STDERR, which is.... unusual [20:00:17] what version of PHP? [20:00:33] brion: 5.2.6 [20:00:58] what's your exact command line? [20:01:14] http://bugs.php.net/bug.php?id=43283 <- sounds... curious [20:01:23] brion: php cleanupTitles.php (with --fix and without) [20:01:35] php porridge hot, php porridge cold, reverting odd commits, scap on hold [20:01:48] Wiredtape: running on a real command line or through some kind of web thign? [20:02:18] brion: putty... [20:02:33] Splarka: lol [20:03:30] brion: end of that link says: this bug has been fixed yada yada.. "these constants are not available in case of reading php script from stdin" .. [20:03:47] Wiredtape: the "fix" is to add "it's broken, ha ha fuck you user" to the documentation [20:03:54] which is not very helpful [20:03:55] imho [20:03:55] lol :) [20:04:23] however you shouldn't be hitting this case [20:04:36] confirm that 'php' is really calling php directly [20:04:41] confirm it's the CLI php [20:04:46] and that it's not some weird script [20:04:51] ok.. one sec.. [20:05:17] brion: i wonder if 'cat script | php /dev/stdin' would fix that [20:06:00] heh [20:11:33] it looks like it's calling php directly, as far as i can tell.. but I'm not sure I know how to check correctly.. [20:11:40] *^demon is trying to decide where a hook should go for intercepting bad log descriptions. [20:13:44] I set email confirm off [20:13:52] how can I change it to on? [20:14:25] ialex: you think it won't be a problem to just change the title in the db? [20:15:18] Wiredtape: you may have to refresh all linked page after that [20:16:14] Dor: set $wgEmailAuthentication to true [20:16:23] ialex: ok.. let me try that in a bit [20:16:24] thx [20:16:31] ialex, thanks :) [20:17:09] brion: it's php 5.2.6 (cgi-fcgi) zend engine v2.2.0 (seems to me to be proper php, no?) [20:17:30] fcgi ahem [20:17:33] ok that's wrong -- you're calling a CGI php on the command like [20:17:35] call the CLI one [20:17:48] usually that should be named "php" unless your install is messed up (which happens) [20:17:50] but try also php-cli [20:18:30] 5.2 should be installing CLI as php and CGI as php-cgi, iirc.... [20:18:34] so you might have some weird install... [20:18:58] brion: php-cli isn't defined, and as this is a shared host i'm on.. i will need to try and switch this back to php-cgi (which is an option in cpanel) [20:19:36] where does the list of language links get populated? [20:22:20] Wiredtape: what distro are you using? [20:24:04] blue_asterisk: redhat-linux GNU bash, ver 3.00.15(1) ? [20:24:13] ah [20:24:27] use `php -v` to check if it's cli [20:24:31] that's your shell version, not OS discribution :) [20:24:39] (although you can probably infer from that that it's some sort of redhat) [20:24:43] I only read the last part of the conversation [20:25:00] debian etch has php-cgi in the default classpath [20:25:16] *Wiredtape thanks for helping, i haven't been using linux for long.. [20:28:49] jablko: defined in the code, defined in a given page, other? [20:35:24] Splarka: i am trying to figure out how to add language links to the sidebar [20:35:50] i can see the langauge_urls in the skin come from $wgOut->getLanguageLinks() [20:36:05] 03(mod) Add "override-antispoof" right to accountcreator group. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 (10tylerromeo) [20:36:12] but am not sure where getLanguageLinks() gets populated [20:36:27] 03(mod) Add "override-antispoof" right to accountcreator group. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 +comment (10tylerromeo) [20:37:13] add them as interwiki links, if they are valid language codes they should turn into interlang links automagically [20:38:00] Splarka: ahh... [20:38:31] the translations are in the same wiki, e.g. [20:38:45] Main_Page/fr Main_Page/es [20:38:48] loopback them interwiki links then [20:39:14] http://www.mediawiki.org/wiki/Manual:Guide_to_setting_up_interwiki_linking#Language_links [20:39:50] and: http://www.mediawiki.org/wiki/Manual_talk:Guide_to_setting_up_interwiki_linking#language_links_in_one_wiki [20:40:02] i am trying to make a constant list of languages for all pages [20:40:16] that link looks useful... [20:40:34] I think you could do what you want with something silly like... [20:40:36] es http://wiki.yourwiki.org/index.php?title=$1/es [20:40:41] de http://wiki.yourwiki.org/index.php?title=$1/de [20:40:51] but if it goes horribly wrong don't blame me ^_^ [20:40:54] 03ialex * r36478 10/trunk/phase3/ (4 files in 2 dirs): Note that restrictions are rights, not groups. So now, cascading protection will be allowed if all groups that have the right being check have the 'protect' right too. [20:41:20] Splarka: you're right, that's what i'm doing [20:41:31] *Splarka hides [20:42:10] right now i'm doing it in the MonoBook.php skin - i wonder if there's a better way, using lanague_urls? [20:42:12] 04(REOPENED) Grouping references does not support DBCS characters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14216 +comment (10brion) [20:42:30] 03ialex * r36479 10/trunk/phase3/extensions/: oops [20:43:26] jablko: you mean you want to have "in other languages" *always* fully populated on every page view? [20:43:53] Splarka: exactly [20:43:59] please excuse me for not being clear [20:44:21] we have existing pages in english [20:44:36] and you always want it to point to the /xx subpages of the current page? [20:44:44] and are trying to get people to translate them [20:44:48] exactly [20:45:01] in that case... [20:45:24] I think, in theory, you could set up all the language codes as interwiki links that simply point to your article path [20:45:25] we want to make it easy for our translators by putting links to translations in the sidebar [20:46:20] and then make a template that would add all interlang links on a given page... or... do you want these to show on all the translated pages too? [20:46:49] eg if you were on [[Foo/es]] it would link "English" to [[Foo/en]] and "French" to [[Foo/fr]] ? [20:48:12] (btw, the list of languages that turn in to interlang links are defined in /languages/Names.php, as well as any defined via $wgExtraLanguageNames) [20:51:35] hrmm!!! stupid fuckin host! [20:52:41] jablko: "in other languages" links aren't the best solution though, as they will not indicate the page's existence status like normal links will [20:54:39] brion, flyingparchment, if i can't get rid of fast-cgi, is there any way for me to run this script? [20:55:38] fast-cgi isn't the problem exactly. there's one binary for both cgi and fcgi, called cgi-fcgi [20:55:43] you want the cli one instead [20:55:57] and i didn't look at the original problem, so i don't know if there's a workaround. i suggest asking your host for a commandline (cli) php [20:56:39] ok, but if i can't access that? (the problem was running cleanupTitles.php or refreshLinks.php which both throw an error that brion said had to do with STDERR ) [20:57:19] workaround: open stderr manually and try creating the constant [20:57:27] however that's just an error in the error reporting [20:57:33] so you'll also have to figure out whatever that error is :) [20:58:26] heh.. sheesh.. :) i think i'll just take a look at what the script does, and actually do it manually, seeing as i only have 1 bad title.. and the next step would be to move to a different host.. [20:58:29] :) [20:58:37] "I once tried to fix that but it just lead to crazy problems, therefore making this a documentation issue." What an incredibly pathetic reason to reject a bug. [20:58:38] *Simetrical sobs [20:59:50] btw, this might be a bit premature (about a week premature) but I have created an extension based on semantic forms that basically creates a template wikiwyg.. if anyone is interested.. [21:00:21] 03(mod) Add "override-antispoof" right to accountcreator group. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 +shell (10mrzmanwiki) [21:02:35] 03brion * r36480 10/trunk/phase3/includes/ (9 files in 2 dirs): [21:02:35] Revert r36413 -- renaming of search files into 'search' subdirectory [21:02:35] The loss of specific names would create a visible name conflict; when you've got [21:02:35] "MySQL.php" open, what the hell is it? Is it the DatabaseMySQL class? Some other [21:02:35] random MySQL-related thing? Update.php is also confusing -- we have an [21:02:38] update.php which is a command-line script. [21:02:40] Don't do these confusing names; there's no pressing functional need to move the files at all, but if you must move them at least keep their distinct names so I can find my code. [21:03:19] it seems that cleanupTitles.php wouldn't have helped me.. since / is a legal character... [21:04:47] Simetrical: Which bug was that? [21:05:58] RoanKattouw_away : php 5.2.5 -> fwrite() [21:06:32] Is fwrite() buggy in 5.2.5? I never knew that [21:07:09] RoanKattouw: nope [21:07:28] but STDERR constant isn't defined in php-cgi (or php-cli if the script is loaded from stdin) [21:08:19] brion: perhaps cleanupTitles.php should be updated to check for / in the begining of a title? (as the preg_match that runs right now wouldn't have solved my problem) [21:08:23] Splarka, jablko: Why don't you create a bunch of loopback interwikis and just do [[es:Foo/es]] etc. ? [21:08:48] That's weird; I don't see how that could be called a documentation issue [21:10:21] Wiredtape: it loops through *all* titles and checks for illegal ones [21:10:31] however it's possible that it's not considered illegal atm [21:10:36] i don't recall offhand [21:10:43] brion: that's what i'm saying, after having looked... [21:10:45] check in Title.php if you like [21:10:56] Roan: that'd be an assload of work [21:11:13] Roan: would that work with [[es:/es]] for the subpage of the current page though? [21:11:42] Roan: what he could do is [[es:{{BASEPAGENAME}}/es]] for every language in a template, but that would require subpaging and no slashes in titles [21:12:54] (also, he left) [21:13:01] 03brion * r36481 10/trunk/phase3/includes/ (152 files in 2 dirs): [21:13:01] Rename all the special page class files back to their proper names. [21:13:01] 1) This keeps the filename the same as the classname, which is always nice [21:13:01] 2) This avoids duplicate filenames (such as includes/Export.php and includes/specials/Export.php) [21:13:01] So I've at least got a chance of figuring out what file is what still... [21:15:34] Splarka: {{BASEPAGENAME}} actually does work the way you want it to: it only strips the rightmost subpage, i.e. on Foo/Bar/Baz, {{BASEPAGENAME}} is Foo/Bar and {{ROOTPAGENAME}} (IIRC) is Foo [21:17:14] 03(NEW) SMWSQLStore2 - attribute values are HTML-encoded - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14595 minor; normal; MediaWiki extensions: Semantic MediaWiki; (yaron57) [21:18:43] is there a way to message all registered users on a mediawiki install? [21:19:32] 03brion * r36482 10/trunk/extensions/MWSearch/MWSearch.php: [21:19:32] Security fix: don't let register_globals set our defaults for us! [21:19:32] * Define all our globals [21:19:32] * Change doc comment to correct recommendations for config order [21:19:32] * Set our conditional hook in an extension setup function, so it's after we got our config set [21:19:33] * Removed unnecessary invocation guard [21:22:48] brion: some variable still don't have a default value in MWSearch, such as $wgSearchType or $wgLuceneHost [21:22:52] 03(mod) Print stylesheet should be explicitly editable (e.g. MediaWiki: Print.css) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2889 (10Platonides) [21:28:34] 03brion * r36483 10/trunk/phase3/ (2 files in 2 dirs): (log message trimmed) [21:28:34] Revert the email footer for the moment. A few comments: [21:28:34] * It's using the *sending* user's UI language for the footer, which is not ideal. [21:28:34] * There's no clean separation between body text and footer; the text will run together unappetizingly. [21:28:34] * The default message is really long [21:28:37] * "Sent automatically" implies that it's something like a "this page changed, and the computer is notifying you", but this is an explicit user-to-user messaging action, not automatic at all. [21:28:40] * It's trying to take the 'allowemail' toggle string, which may contain [21:30:43] brion: are you gonna leave anything 36286++ actually unreverted? <3 [21:35:38] oh, a couple things ;) [21:38:12] Somebody kick RoanKattouw (without the underscore) please? [21:38:48] RoanKattouw_: /msg nickserv ghost RoanKattouw [21:39:01] ialex: Thanks [21:40:03] Splarka: I know, I'm holding my breath for Brion to revert something >36452 [21:40:28] /kick'ing your nick wouldn't let you reclaim it anyways, it'd just be out of the chan and still around [21:40:32] heh [21:40:33] 03(mod) Creating new Page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14571 (10dasch_87) [21:40:48] 03brion * r36484 10/trunk/phase3/includes/specials/SpecialRecentchangeslinked.php: re-tweak filename: todo -- refactor this crap to use classes and the autoloader [21:41:26] Oh just remembered: congrats to all Germans in this channel for making the semifinals [21:41:30] brion: "refactor this crap to use classes and the autoloader" <- that was my plan [21:41:52] by extending SpecialRecentchanges [21:42:03] \o/ [21:42:20] but... +need-review :D [21:43:09] RoanKattouw: what semifinals? [21:43:18] Soccer [21:43:39] *Alexfusco5 likes football and baseball better [21:44:08] is it possible to make a template's argument by default? so that {{template|2=test}} gives "2=test" if {{template}}'s code is the sense of "{{{1}}}"? [21:44:42] Dodde: the usual solution is to in the call [21:44:51] {{template|2=test}} [21:45:15] you can't really *half* parse something, that is, no magic word for [21:45:21] how can I use external images? [21:45:27] I wanna add some to an article [21:45:36] 03(mod) Add "override-antispoof" right to accountcreator group. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14576 (10nospam) [21:45:38] Splarka: I know... but in this case {{template}} will _always_ need to be nowiki... but I guess it's technically impossible [21:45:51] Dor: http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages and http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImagesFrom [21:48:26] Dodde: How about {{Template|1=2=foo}} [21:49:43] RoanKattouw: not possible.. even |'s should be allowed [21:50:05] Dodde: You can encode those with {{!}} if you have Template:! with | as content [21:50:30] 03(mod) Admins should be asked for confirmation when Antispoof applies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13426 +comment (10nospam) [21:51:38] RoanKattouw: yes... the idea was just to be able to type the syntax as it was, without alot of extra {{}}'s and the use of as Splarka suggested [21:53:00] since there will always be just 1 argument to this template... but probably it was a stupid question since it's probably technically impossible to override the simple nature of templates' way of working [21:54:02] well [21:54:06] that's enough work on my wiki [21:54:12] Dodde: You can use if you like, but that won't fix the 1=2= problem [21:54:18] for today at least [21:55:19] I added nice looking buttons on the new page edit like on StrategyWiki [21:55:20] xD [21:55:29] cya all [21:55:59] RoanKattouw: you are saying {{template|2=foo}} won't give "2=foo"? [21:56:16] Dodde: I'm not sure, try [21:58:26] Does anyone here know css? I had to change main.css a bit for monobook and now Firefox 3 breaks my mod. It has to do with .portlet and .portlet { [21:58:26] border: none; [21:58:26] margin: 0 0 .5em; [21:58:26] padding: 0; [21:58:26] float: none; [21:58:28] width: 19.7em; [21:58:30] overflow: hidden; [21:58:32] } [21:58:40] please dont paste lots of stuff [21:58:44] use rafb.net/paste/ instead [21:59:06] Does anyone here know css? I had to change main.css a bit for monobook and now Firefox 3 breaks my mod. It has to do with .portlet { [21:59:25] Whoops [21:59:49] Your margin: looks wrong. [22:00:06] Aren't you missing a side? [22:01:02] I know just enough about css to be dangerous. Take a look at http://daniel.cook.name if you'd like to see what I did. I widened the left margin and moved the body over. Works fine in IE and used to work in Firefox. [22:01:30] Now everything in the left column goes below the body content [22:02:21] RoanKattouw: tag makes = to not be translated as wiki-code, thus it will give "2=foo".. [22:02:41] OK, I didn't know that [22:03:54] ircleuser: Well, first, if you're just changing Monobook, you should do it on-wiki. [22:04:01] It makes for much easier upgrades. [22:04:08] And much easier modifications. [22:04:30] Don't understand, MZMcBride. What is on-wiki? [22:04:43] CSS can be modified using MediaWiki: pages. [22:04:51] Oh, yeah. [22:04:53] In this case, [[MediaWiki:Monobook.css]]. [22:06:02] Not sure why I decided to hack at main.css. What sucks is it worked forever. Then mozilla devs freaking broke it. Well, so did Oper devs :P [22:06:28] Well, margin: is usually defined using two values or four. [22:06:41] You're using three. As though elements are triangle-shaped. ;) [22:07:04] ...and I've got 3 [22:07:24] I'll hack at it some more. Thanks for the clue [22:07:35] You should also set [[MediaWiki:Mainpage]] to the name of your Main Page. [22:07:46] So it doesn't redirect and the logo will point to the correct place. [22:08:16] MZM: I believe it works thusly.. 1 paramter is given to all 4 sides, 2 is given alternating to top/bottom and then right/left, three would then be top/right/bottom with the right being duplicated for left [22:08:39] I've never seen three used before. /me shrugs. [22:08:44] Suggestion for the forth paramater? [22:08:49] 0 [22:08:54] Okay, BRB [22:08:57] ircleuser: whatever you want it to be, heh [22:09:02] LOL [22:09:02] as in, you want it to be something! [22:11:00] Hmmm. I tried margin: 0 0 .5em 0; and margin: 0 0 0 .5em; to no avail. [22:11:16] 03brion * r36485 10/trunk/phase3/ (8 files in 5 dirs): [22:11:17] Revert r36446, 36447 -- spews a whole bunch of table alignment into various skins' skin-specific CSS. [22:11:17] This seems a bit odd; if there's a reason for it *at all* it should be in the shared CSS, but I don't see any reason for it to begin with, really. [22:11:56] ircleuser: I remember where I've seen your issue now. [22:12:05] It's an unclosed div I believe. [22:12:12] Hah. Where, on the Mediawiki forums? [22:12:19] Oh [22:12:20] Heh [22:12:51] Not sure where to look for the DIV. Would it be in main.css as well? [22:13:26] No, usually extra divs come from MediaWiki: page modifications. [22:13:43] Ok, I'll take a look. [22:15:13] 04(REOPENED) MediaWiki: Prefs-memberingroups should be top-aligned and not followed by a colon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14590 +comment (10brion) [22:17:10] This seems broken. http://en.wikipedia.org/w/index.php?title=Talk:Wikipedia:Village_pump_(technical)&action=edit&redlink=1 [22:17:23] That should be an invalid page name. Or else redirect to Wikipedia_talk:... [22:21:23] Simetrical: Yes, people make Talk:Image: pages sometimes as well. [22:21:31] It's a bit annoying. [22:34:44] MZMcBride: My MonoBook.php has 30 DIV and 30 /DIV could it be the placement? [22:35:51] 30 and 30 sounds right. [22:36:00] I'd look at your page source and see where the issue is. [22:37:31] Looking. Thx. [22:46:09] 03(NEW) non-working wiki links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14596 normal; normal; MediaWiki: General/Unknown; (thomas.bach) [22:48:29] 03(FIXED) non-working wiki links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14596 +comment (10brion) [22:53:33] 03(mod) Create the 'MediaWiki default' user on wiki creation, or on upgrade if user does not exist. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14569 +comment (10dan_the_man) [23:22:17] 03brion * r36486 10/trunk/phase3/thumb.php: replace live hack: include debug info in thumb.php (switch it in with $wgShowHostnames) [23:27:13] mmm, is there any way to generate or retrieve a thumbnail via the API, FilePath, Thumb.php, or the image location URL, at a given pixel width *or* the full size of the image (if it is smaller than the given pixel width)? [23:28:10] Splarka: yes. [23:28:11] eg: like http://en.wikipedia.org/w/thumb.php?w=200&f=CEintro1.jpg but returning http://upload.wikimedia.org/wikipedia/en/5/57/CEintro1.jpg (as it is 161px wide) [23:28:35] api imageinfo module [23:29:15] well, that requires two server hits (one to api, one to upload.wm) instead of just one, right? [23:29:43] I mean, a URL you could, for example, put into an arbitrary , that would generate the image while finding the maximum size [23:30:31] I guess I am looking for &prop=imageinfo&iiprop=file&format=302redirecttoimagecontents [23:30:55] one hit gets you the relevant information, including things you probably want like width and height and existence and url [23:31:04] then you send the url on to a client, perhaps [23:31:32] right, but you can do all that, minus the "largest or 200px", with thumb.php on one hit [23:33:00] an alternate way doing it would be if Special:Filepath allowed a soft-width parameter, or if thumb.php allowed a fallback on "too big" (although thumb.php is mostly for 404 on-the-fly thumbnail generation and not for fancy features?) [23:33:58] 03brion * r36487 10/trunk/ (2 files in 2 dirs): apply live hacks: debug logging for spam regex & blacklist hits [23:35:25] brion, I had an idea (somewhat joking, but not entirely)... the perfect wiki spam protection extesnion... when a user on one wiki gets blocked, it pings a central server that reveals the ip/username, etc. That way other wikis that the user tries to register to, it doesn't block him right away, but throws a red flag for the administrator :-) [23:35:52] 03brion * r36488 10/trunk/phase3/maintenance/ourusers.php: update ips for our silly internal script... which really should not be in core mw, but in a separate module for our internal scritps :D [23:36:13] *Splarka tries api action=parse and a to batch them [23:36:40] Splarka: thumb needs to not return a 200 for too-big versions; it used to, and that caused problems because the bogus extra files would be saved on the cache server and then never purged (because they didn't exist on the original) [23:36:47] filepath perhaps could be extended in that way tho [23:37:47] right, but if thumb allowed another parameter like &bigerror=false (dumb name wot) that would not be used by the 404 handler... [23:37:49] *Splarka shrugs [23:38:17] my application is: on Special:Imagelist, I'm inserting an arbitrary into each [23:38:30] er, each [23:38:56] but I can't construct an src that always returns an image (without loading the full image, ouch for pdf/svg and 20 meg jpeg) [23:39:10] 03brion * r36489 10/trunk/extensions/skins/Schulenburg/main.css: remove references to missing corner images (livehack had commented them out) [23:39:41] (except by hitting the API once for every image, but I had an idea just now to use action=parse and batch them as [[Image:foo|200px]]) [23:40:55] 03brion * r36490 10/trunk/extensions/DumpHTML/ (7 files in 2 dirs): Commit Tim's live hacks to DumpHTML... [23:42:00] hrm, imagelist certainly shouldn't be using weird api hacks like that [23:43:43] no kidding ^_^, but it is an on-demand userscript, not for all page views or site-wide [23:43:53] (per request) [23:44:11] :) [23:44:11] 03brion * r36491 10/trunk/extensions/wikidiff2/wikidiff2.spec: apply live hack: bump release number of rpm package [23:44:12] well [23:44:25] note that with api you can request info on all those images at once [23:44:27] perhaps imagelist could have server-side gallery view, heh heh [23:44:32] then insert the s at your leisure [23:44:44] so imho not too awful [23:44:50] oh, damn [23:45:15] Why do people do live hacks? :( [23:45:20] *Splarka didn't think of that [23:45:24] *Splarka does that [23:46:12] Simetrical: usually testing something out real quick and too lazy to commit it [23:46:14] 03brion * r36492 10/trunk/extensions/AntiBot/AntiBot.php: apply live hack -- cleanup to loggign on antibot [23:46:33] sometimes adding a quick hackaround for something that is breaking, and not getting around to doing a proper fix [23:46:59] (but anyway, it would be nice to have what I mentioned above as an src=""able feature someday, <3) [23:48:21] 03brion * r36493 10/trunk/phase3/includes/api/ApiMain.php: Apply live hack -- exception for invalid actions (as opposed to....?) [23:48:44] Splarka: well, keep in mind that you'd be doing two requests per image with filepath that way [23:48:50] (one to hit filepath, a second to redirect to the file) [23:49:09] with api you have to do only one batch lookup, then one image load per image [23:49:31] and thumb would bypass caching on the actual file, which is evil [23:49:54] rightright, but one of those hits would be a 302 and the src="" wouldn't really care [23:50:24] i care that it's hitting my servers :) [23:50:29] but there is no easy solution, sorry to be distracting you from your livehacks and reverts ^_^ [23:55:36] 03dale * r36494 10/branches/MetavidWiki-exp/ (7 files in 5 dirs): fixes for mvpcf skin & design changes