[00:25:14] Is it possible to set a particular page(s) to only be viewable / editable to a certain group? [00:26:04] !secrets [00:26:04] --mwbot-- MediaWiki was not designed with read-restrictions in mind, and may not provide air-tight protection against unauthorized access. We will not be held responsible should private information, such as a password or bank details, be leaked, leading to loss of funds or one's job. [00:26:06] editable, yes, viewable, not really [00:26:46] it is not supported or advised, but there are per-page per-namespace protection extensions, BUT there are over a dozen possible ways to circumvent this if you have any kind of access beyond the login screen and main page [00:27:01] the only offical support is to make a separate read-restricted wiki for each such group [00:27:41] 03(mod) Do not restrict FlaggedRevs special pages like UnreviewedPages and OldReviewedPages to editors /reviewers, make them public - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17118 summary (10Wiki.Melancholie) [00:27:42] It's not critical information like password storage, etc so being able to circumvent it isn't a concern [00:28:36] http://www.mediawiki.org/wiki/Extension:Lockdown but see also !worstcase [00:28:53] thanks [00:33:56] 03(mod) Wiki for Wikimedia UK - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16996 +comment (10brion) [00:36:31] when user sets timezone in his prefs, will it automatically change the offset during the summer time (forgot how you call it in english - daylight saving or whatever...) [00:37:20] Danny_B: if he picks it by location, yes [00:37:25] if he types in a number, no [00:41:21] how can I generate a link to the front page in my skin? [00:42:18] erisco: [[Main Page]]? [00:42:38] Danny_B, not in an article, in a skin... is there not a way to generate it with PHP? [00:42:54] aha [00:45:30] 03werdna * r46049 10/branches/change-tagging/extensions/AbuseFilter/ (11 files in 2 dirs): Refactor SpecialAbuseFilter code into one file per logical view. Before, there was code for about five different logical pages in the same file. [00:45:48] 03werdna * r46050 10/branches/change-tagging/extensions/AbuseFilter/tests/ (50 files): Re-add tests. I don't know why they disappeared. [00:47:11] any ideas? [00:47:20] that will be something like main page most probably using some variable before as well [00:47:20] *Danny_B is lazy to look for it, but it might point you to what to do [00:47:52] I will try that [00:48:28] htmlspecialchars of course [00:48:52] and some path variable before the message probably [00:49:34] seemed to work, thanks [00:49:39] 03tparscal * r46051 10/trunk/extensions/DataCenter/ (CLI/ CLI/Initialize.php DataCenter.db.php): Added command-line interface for initialization of database. Added meta information in change logs. [00:53:00] Danny_B, you should use Title::getLocalUrl() or a variant. [00:53:05] Not try to make it by pieces. [00:54:04] Title::newMainPage() will fetch the main page. [00:54:09] Danny_B: $skin->link( Title::newFromMainPage(), 'Link text' ); [00:54:16] erm, newMainPage() [00:54:17] Right. [00:54:18] same thing. [00:54:19] erisco: see above ;-) [00:54:21] I was about to post something like that. [00:55:11] 03tparscal * r46052 10/trunk/extensions/DataCenter/DataCenter.sql: Fixed capitalization issue that prevented prefixes from working properly. [00:58:07] 03tparscal * r46053 10/trunk/extensions/DataCenter/DataCenter.sql: Added prefixing to drops. [00:59:26] 03tparscal * r46054 10/trunk/extensions/DataCenter/DataCenter.sql: Added prefixing to inserts. [01:01:10] I have a mediawiki instalation full of articles however the search function doesn't always return the results I'd like [01:01:17] !search [01:01:17] --mwbot-- I don't know anything about "search". You might try: !createpage !info !lucene !mw !rtfm !sqlsearch !suggest [01:01:22] !lucene [01:01:22] --mwbot-- http://www.mediawiki.org/wiki/Extension:MWSearch [01:01:23] !sqlsearch [01:01:23] --mwbot-- http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html [01:01:36] thanks [01:03:25] 03tparscal * r46055 10/trunk/extensions/DataCenter/CLI/Initialize.php: Changed help language a bit. [01:15:20] Hi brion, quick question - Will a multimaster MySQL replication setup work with mediawiki [01:15:30] Noting the difference in auto increment [01:15:41] Prom_cat: we haven't tested it... and if it messes with auto_increment, god help you :D [01:15:46] 03werdna * r46056 10/branches/change-tagging/extensions/AbuseFilter/ (AbuseFilter.i18n.php Views/AbuseFilterViewEdit.php): Assorted code quality and usability. [01:15:47] try it if you like and let us know [01:16:04] haha, Ill try it in a test enviroment [01:17:26] The reason I thought it might have issues is because the way it works, you set each master to increment by a different number. [01:17:34] see http://www.onlamp.com/pub/a/onlamp/2006/04/20/advanced-mysql-replication.html :) [01:19:15] brion: Is the recent changes list sorted by RC id or the timestamp? [01:19:22] timestamp. [01:19:25] ok [01:19:32] so it has a hope in working :P [01:19:39] heh [01:19:56] some things really do want ordered ids [01:20:01] but not always [01:20:06] k [01:22:18] Yeah, Reason i ask is because at yourwiki we got the master server in the US for the wiki farm and we have a Slave in Australia for the toolserver stuff. One of the issues is that some of the scripts we use involve writing to the DB so it has to use the master in the US. Im hoping the dual-master replication will work so that we can keep things running at thier individual locations rathor than a script being hosted is AUS using the master [01:22:47] Prom_cat: yourwiki has a toolserver? [01:22:55] werdnum: Yes [01:22:58] .. [01:23:10] its not called toolserver though :) [01:24:01] brion: I *think* I've looked over just about everything. [01:28:12] how can I generate a link to my main page in my skin? [01:29:35] erisco: We said, use $mySkin->link( Title::newMainPage(), "Text of link" ); [01:29:56] oh sorry, I never read that [01:30:02] thanks [01:30:31] werdum, is there any way to just get the href value instead of the whole anchor code though? [01:31:34] werdum, okay, seems to be fine. thanks [01:31:36] erisco: sure, Title::newMainPage()->getLocalURL(); [01:31:58] 03(mod) New logo for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17034 (10brion) [01:32:03] werdum, even better, awesome [01:33:11] 03(mod) New logo for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17034 +comment (10brion) [01:34:53] the Search box with ajax search turned on appears to be case sensitive, any way to turn this off? [01:35:17] e.g csi is different to CSI [01:35:20] Add the TitleKey extension. [01:35:40] yay rob :DD [01:39:46] werdnum, just had a read, nice. [01:40:42] 03(mod) Add metainformation to pages with interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1433 +bugday; +comment (10brion) [01:40:53] who want to poke 1433 and 4901? should be easy [01:41:29] !bug 4901 [01:41:29] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=4901 [01:43:02] *werdnum whistles innocently. [01:43:21] :D [01:43:55] + lol wut? [01:45:20] I also hear Monobook is the only skin that people use. [01:45:35] heh [01:45:36] I wish it were. [01:45:41] yeah i don't know what i was smokin' when i wrote that patch [01:45:47] cause it's terrible [01:46:19] ah i just fiddled around the previous patch [01:46:36] wegge must have been smokin' some pretty good stuff then ;) [01:47:02] headscripts [01:47:07] erm, headlinks [01:47:13] 03markcdeckert * r46057 10/trunk/extensions/MetavidWiki/maintenance/video_ocr_thumb_insert.php: first revision [01:47:13] *werdnum figures out where the hell that comes from [01:47:44] comes from OutputPage::getHeadlinks() [01:47:49] *werdnum follows the train. [01:47:55] choo-choo [01:48:35] *werdnum would make train noises, but Sue is right behind him. [01:48:48] doit [01:49:13] :D [01:52:13] MrZ-man: But working in the office is FUN! [01:52:36] and trying to explain that you aren't insane will be too! [02:09:07] brion: r46037... [02:09:48] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/46008#c1377 :( [02:09:58] 03danny_b * r46058 10/trunk/phase3/ (10 files in 5 dirs): [02:09:58] * (bug 3043) - RSS feed link should have silly orange icon [02:09:58] ** Monobook & Modern skins implementation [02:10:33] r46057 = b33e39de6879bab267bb45a26f9b227617144daf (trunk) [02:10:33] First, rewinding head to replay your work on top of it... [02:11:07] 03(mod) RSS feed link should have silly orange icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3043 (10danny.b) [02:11:23] 03werdna * r46059 10/trunk/phase3/ (includes/OutputPage.php languages/messages/MessagesEn.php): (bug 1433) Add meta-information to pages with language links. [02:11:43] 5 [02:12:20] brion: You owe me a cookie. [02:12:43] werdnum: take a stroopwafel? [02:12:56] 03(NEW) Link to log of a .pdf file should not have PDF icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17124 15enhancement; normal; MediaWiki: Page rendering; (matthew.britton) [02:13:28] brion: I dunno, do you have any spare? :) [02:13:34] i've got one left [02:13:36] it's very lonely [02:13:42] Nawwww [02:13:48] you can keep it if it's the last one :P [02:13:54] Taking stroopwafels is just mean. [02:13:59] :D [02:14:06] (and one stroopwafel is worth more than ten minutes of code) [02:14:13] It's worth like a day of code. [02:14:29] *cookie -> werdnum [02:14:57] :O [02:15:15] *werdnum tries to figure out who cookie is. [02:15:20] but people have cloaks :( [02:15:59] brion: does the patch look okay?> [02:16:35] 03(FIXED) Stray submit button on Special:CentralNotice listNoticeDetail - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16749 +comment (10brion) [02:16:50] sec [02:19:11] hm i bet it works better if i svn up [02:19:15] :D [02:19:16] brion: would you like the bug 3043 to be closed or should i try to add it to other skins as well? [02:19:20] 03(mod) Link to log of a .pdf file should not have PDF icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17124 (10danny.b) [02:19:21] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny.b) [02:20:03] Danny_B: if it's not hard to add it to the common css/classic skins i'd say go for it [02:20:47] hi there [02:20:56] [02:20:56] [02:21:02] how i can put time in my raw signature? [02:21:17] brion: I won't ask about the titles of those links :D [02:21:41] zwnj: like {{subst:MAGICWORD}} where MAGICWORD are the various time magic words? [02:21:44] the "version" must not stay there [02:21:55] validates :) [02:21:58] whee [02:22:20] *brion fires up seamonkey to see if the links show up in the extra menu [02:22:29] zwnj: http://www.mediawiki.org/wiki/Help:Magic_words#Date_.26_time [02:22:32] is it on testwiki? [02:23:34] thanks Splarka, found the wanted magicword :) [02:24:22] http://upload.wikimedia.org/wikipedia/mediawiki/8/86/Seamonkey%27s_fun_navigation_menu_with_language_links_from_r46059.png [02:24:37] brion: woo! [02:24:49] 03(FIXED) Add metainformation to pages with interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1433 +comment (10Andrew) [02:24:55] *Splarka thinks all p-lang tooltips should be title="LEARN ENGLISH" [02:24:57] not fixed [02:25:02] Why not? [02:25:10] werdnum: please remove the "version" string [02:25:16] Danny_B: Why? [02:25:19] It's localised... [02:26:34] werdnum: because $1 is what is shown in interwikilinks, right? [02:26:47] i'm not sure what best to do here [02:26:52] thus it would have to be adjective [02:27:07] but some language names are subjectives or adverbs [02:27:07] it seems a little awkward no matter what you do since it's not a matching language ;) [02:27:15] could show just the name i guess [02:27:16] true. [02:27:25] or "In $1" [02:27:37] werdnum: same with what i just said [02:27:58] just keep the language name [02:28:08] without any surrounding text [02:28:24] that's enough understandable [02:28:29] We're talking about a descriptive title, though. [02:28:33] The page isn't about French [02:28:37] it's the same page, in French [02:28:41] then create another complete message [02:28:43] So perhaps "Version in French" [02:28:53] do not use language names [02:29:15] as i said they are substantives, adjectives and adverbs [02:29:16] how about xx:Title [02:29:27] good point, Splarka [02:29:33] *cookie -> Splarka [02:29:38] eee [02:29:44] *Splarka is cookied [02:30:04] actually [02:30:10] the best would be: [02:30:38] title=": " [02:31:00] langname localised or in that language? [02:31:14] title="English: Soviet Union" [02:31:14] title="Cesky: Sovetsky svaz" [02:31:15] at least as xx: it is universal (and by universal I mean ENGLISH) [02:32:20] werdnum: is that doable? ^ [02:32:36] Well, of course it's doable. [02:32:42] Whether or not it's desirable is a different thing :) [02:33:02] dosirable! [02:33:29] desire + doable = dosirable = do sir! able? [02:36:26] brion: re the feed icon - only simple skin (apart from monobook and modern) has rtl.css, others don't. so i don't know how would i put it to them because it needs rtl override because of browser issues [02:37:34] Danny_B: isn't there a global rtl.css or something? [02:37:54] common_rtl.css [02:38:07] i think the classic skins pull that in [02:38:18] *Danny_B is blind [02:38:22] :D [02:38:25] i was looking for rtl.css [02:38:30] ok i gotta head home, i'm gonna be late for dinner ;) [02:38:36] brion: see ya later. [02:38:41] bye [02:38:42] I'm gonna stay a bit longer [02:38:46] gotta make up for arriving at noon. [02:39:34] you on hawaiian time? heh [02:40:03] 03(mod) RC bot report changes harmed RC patrol ability. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5247 +comment (10mikelifeguard) [02:41:52] something like that [02:41:56] fucking iPhone forgot to alarm :( [02:42:06] *brion waves [02:42:08] heh [02:42:23] fucking iPhone in the first place [02:42:36] musta been on 'vibrate' [02:42:40] werdnum: http://tinyurl.com/278wsm [02:43:00] How much is service? 75$ a month? [02:43:06] 03(mod) Easy to parse recentchanges feed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14045 (10mikelifeguard) [02:51:55] 03(mod) Link to log of a .pdf file should not have PDF icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17124 +comment (10innocentkiller) [03:04:56] 03(WONTFIX) Feature request: New variable: {{{REDIRECTEDFROM}}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17121 +comment (10innocentkiller) [03:18:56] <^demon> The heck? I make an api query and get only 10 results with a query-continue (I'm logged in & have apihighlimits) [03:19:11] did you set *limit? [03:19:46] cue "that's stupid, it should always be max by default" and *goes to commit a patch to fix that* and roan reverting.. [03:20:30] <^demon> My query shouldn't have a limit issue. It was a single page with a prop, no revisions. [03:20:49] <^demon> Bah, lllimit [03:20:51] ^demon: it defaults to 10 [03:20:53] ya [03:21:34] default to max is silly [03:21:47] <^demon> 10 is absurdly low, however. [03:22:10] *facepalm* [03:22:41] for language links? 10 sounds reasonable [03:22:55] <^demon> Not when I was looking at a page that had 150+ ;-) [03:23:21] then you see query-continue and re-query with lllimit=max [03:24:00] hmm, per 17124... [03:24:00] #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"], #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"], #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"], [03:24:20] seems CSS2, and you'd need some dirty CSS3 hacking to override that a bit [03:25:07] a.external[href *="action=history"], a.external[href *="title=Special"] {background: none; padding-right: none} or something dumb [03:26:24] oop, $= and ^= are CSS3 too, so I guess it would work fine (where it worked at all) [03:28:11] what's the special page for resetting your password? [03:29:02] <^demon> Special:ChangePassword? [03:29:12] <^demon> Or ChangePass, ResetPass, etc. [03:29:19] <^demon> Pick your favorite. [03:29:32] overaliased [03:29:40] erg [03:29:42] chuck: linked from Special:Preferences anyway [03:29:52] i can't login to my account [03:30:05] so you mean request a new one by email? [03:30:34] yeah the mailer isn't working [03:30:40] i'll use the maintenance script [03:31:02] !passwordreset [03:31:02] --mwbot-- http://www.mediawiki.org/wiki/Extension:Password_Reset [03:31:12] Splarka: it was just ResetPass until Marybelle started complaining [03:31:33] Splarka: Nonsense. [03:32:05] ResetPass was kept for b/c. [03:32:05] you're overaliased [03:32:11] NO U. [03:32:30] there should be a system to just send you to the Special page with the closest match to whatever you request [03:32:40] Special:Flibble would be Special:FileList or something [03:32:45] <^demon> ResetPass was a crappy name. [03:33:15] Splarka: You're special. [03:34:00] Marybelle: and you're a log action [03:34:15] *^demon is Special:BlankPage [03:34:19] Better than being a log type, I always say. [03:34:31] Hmmmm. [03:34:36] Time to write a nasty query. [03:34:54] api.php?action=MZM [03:35:02] :O [03:35:21] or what the squids like... action=tentaclerape [03:36:45] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 +comment (10johannes.schindelin) [03:39:17] 03danny_b * r46060 10/trunk/phase3/ (14 files in 6 dirs): [03:39:17] * (bug 3043) - RSS feed link should have silly orange icon [03:39:17] ** improved r46058, now works in all skins [03:40:20] question [03:40:26] how do I remove redirects? [03:40:33] answer [03:40:35] i.e. when I type the address in the address bar [03:40:36] delete them [03:40:42] it redirects [03:40:45] but I don't want it to redirect [03:40:51] address bar, not search bar [03:40:51] i.e. [03:41:08] I don't want www.blah.com/123 to redirect to www.blah.com/124 [03:41:09] 03(FIXED) RSS feed link should have silly orange icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3043 +comment (10danny.b) [03:41:27] so edit the 123 page [03:41:43] 03(mod) RSS feed link should have silly orange icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3043 (10danny.b) [03:41:44] is that usually index.php? [03:41:52] Sandbox/MediaWiki_perl_module [03:41:57] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny.b) [03:41:59] That page has the most revisions on test.wikipedia. [03:42:06] uh... index.php is the script that access all the pages [03:42:09] ok, let me elaborate then [03:42:19] I'm trying to create a mirror site, so I created a new folder to contain it [03:42:34] but it also carried over the address bar redirects [03:42:45] what exactly are you mirroring? [03:42:54] "Site A" [03:43:00] just the db or did you copy the entire filesystem? [03:43:04] Site A is what you see from the internet [03:43:19] I just pressed ctrl+a, and copied it to a new folder 'wikitest' [03:43:39] but when I go to blah.com/wikitest [03:43:41] edit the LocalSettings.php on your new folder and fix the server and script path variables [03:43:44] it redirects back to the main site [03:44:22] what would the server and path variables be filed under [03:44:27] $wgserver ? [03:44:37] $wgServer, $wgScriptPath, $wgArticlePath, etc. [03:44:49] "cannot find wgserver" [03:44:50] server shouldn't need changing now that I think about it though, since it's the same site [03:45:09] "cannot find wgscriptpath" [03:45:17] is your search case-sensitive? [03:45:21] no [03:45:29] are you editing the correct file? [03:45:38] never mind, my file was scrolled too low [03:45:52] :) [03:46:04] but there really is no wgserver [03:46:18] yeah, that gets automatically set by default [03:46:25] which is why you shouldn't need to change it [03:46:32] wgscriptpath is blank [03:46:36] as in ""; [03:46:54] $wgScript = "/index.php"; [03:46:54] $wgArticlePath = "$wgScript/$1"; [03:46:54] $wgRedirectScript = "redirect.php"; [03:46:54] $wgScriptExtension = ".php"; [03:47:40] what version of mediawiki? [03:48:02] stupid question [03:48:03] how do I check [03:48:10] I'm pretty sure it's .9 or .10 [03:48:29] go to the Special:Version page on the wiki [03:49:04] also, what folder is the main wiki in? [03:49:31] 1.11 [03:49:33] huh [03:49:38] it's in the main main folder [03:49:41] i.e. "not in a folder" [03:49:46] ok [03:50:02] so change $wgScript to be "/wikitest/index.php"; and it should work as expected [03:50:46] but only change it in the mirror wiki's LocalSettings, leave the main wiki's LocalSettings as it is [03:51:20] 03danny_b * r46061 10/trunk/phase3/RELEASE-NOTES: * re: r46058 & r46060 (bug 3043) [03:52:26] ah [03:52:27] ok [03:52:28] it works [03:52:29] thanks [03:52:58] another question now: why do my article tabs and top banner constantly shift locations? [03:53:10] ? [03:53:22] every time I refresh a page, or access it a second time [03:53:41] the top banner or the tabs always shift a couple pixels [03:53:49] same with the login/preferences thing in the top right [03:54:23] uh... try clearing your browser cache [03:56:15] the login link still wanders left to right [03:57:06] I really have no idea what's going wrong there -- since it could be anything [04:03:03] IE? [04:09:47] werdnum: still here? [04:09:59] *werdnum hides. [04:12:02] werdnum: interwiki links should provide the same information as you added via . i guess it's part of the bug. what do you think? [04:14:23] the "lang" and "langrel" stuff? [04:14:37] I am still waiting for someone to ask what the worst that can happen is [04:15:40] werdnum: lang hreflang xml:lang and rel [04:16:16] yeah, all that jazz. [04:16:21] Prodego: worst what? [04:16:30] I just want to say !worstcase [04:16:31] also are you going to tweak the link title? [04:16:37] !worstcase [04:16:37] --mwbot-- Generally, the worst that can happen is that someone compromises your site, steals your data, deletes it and replaces it with kiddy porn. Then they start a spam service on your server advertizing the kiddy porn to twenty million email addresses, daily. Then your home gets raided, you get fired and your wife leaves you. [04:29:43] 03danny_b * r46062 10/trunk/phase3/includes/OutputPage.php: * + xml:lang [04:32:36] rar [04:35:22] zip [04:39:31] lzma [04:40:34] 04(REOPENED) Add metainformation to pages with interlanguage links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1433 +comment (10danny.b) [04:40:55] good morning, TimStarling [04:41:13] hi [04:52:28] 03(mod) Link to log of a .pdf file should not have PDF icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17124 +comment (10danny.b) [05:51:54] 03nad * r46063 10/trunk/extensions/RecordAdmin/RecordAdmin_body.php: implement sortable parameter [05:54:54] 03dale * r46064 10/trunk/extensions/MetavidWiki/ (5 files in 3 dirs): sequencer bugs [05:59:29] 03nad * r46065 10/trunk/extensions/RecordAdmin/RecordAdmin_body.php: allow 1, yes, true, on for sortable arg [06:51:48] 03(NEW) Correct rendering of ViewAPC for non-latin characters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17125 normal; normal; MediaWiki extensions: General/Unknown; (fryedpeach) [07:16:36] 03raymond * r46066 10/trunk/extensions/Babel/Babel.i18n.php: Remove dupe lines from 'lzh' [07:36:08] 03raymond * r46067 10/trunk/phase3/ (2 files in 2 dirs): [07:36:09] * Follow up r46059: Add new message [07:36:09] * Move new message to the 'sidebar' section [07:46:10] good afternoon everyone [07:46:33] I have query regarding the way links are displayed in the category page [07:50:32] I have named all the topics under category 'Server' as Server_Dev, Server_Test, etc and hence all the topics are getting listed under 'S' in the category:Server page [07:50:47] this is bit problamatic [07:50:55] sortkeys [07:51:22] [[Category:Foobar|Sortkey]] which is by default the full page name (including namespace) [07:51:40] [[Category:Foobar|X]] will put a page in that category under the '''X''' heading [07:51:40] how do I change the category page and ask it to strip off 'Server_' while listing the topics in the Categotry page [07:51:56] yup thats true and I want to change it [07:52:02] manually... [07:52:06] for each such page [07:52:10] nops [07:52:15] programatically [07:52:19] nope, manually [07:52:25] ok [07:52:35] if you did the names as subpages or in a namespace it could be more semi-automated [07:53:02] [[Server/Test]] [[Server/Dev]] and then [[Category:Server|{{SUBPAGENAME}}]] for example (with main namespace set to allow it) [07:53:17] nops I didnt do that [07:53:38] Server_test, Server_Dev under Main: [07:54:04] I dearly need some hack to do that [07:56:07] 03philip * r46068 10/trunk/phase3/languages/LanguageConverter.php: [07:56:07] Enable language conversion [07:56:07] in "alt" and "title" attributes. [08:16:53] pls help [08:18:18] !ask [08:18:18] --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/getting-help-on-irc > for a good explanation of getting help on IRC. [08:29:45] 03(mod) Recent change unavailable, and other special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16940 (10antoinedelarue) [08:53:45] 03rotem * r46069 10/trunk/phase3/ (3 files in 2 dirs): [08:53:45] Localization: [08:53:45] * Moving language-link-title to the bottom of the localization files, since it is not really the sidebar, and since the comment above the message 'sidebar' is not relevant for the other languages. [08:53:45] * Update for he. [09:17:54] how to customize the category page? [09:22:19] moin [09:24:12] you can't execpt for changing how its defined on the indivual article pages [09:24:34] as how its been discribed to you already [09:32:49] 03philip * r46070 10/trunk/phase3/ (includes/OutputPage.php languages/LanguageConverter.php): Find variant link of categories, to fix some strange bugs in Chinese Wikipedia. [09:38:12] how can i get the cleanup templates that are featured on wikipedia onto my own mediawiki? [09:38:20] {{cleanup}} for instance [09:40:58] [[Special:Export]] on wikipedia then [[Special:Import]] on your wiki [09:41:17] makesure you tick the last text on export about inculding other required templates [09:43:12] okay [09:43:51] thanks [09:48:38] using {{cleanup}} just yielded "default" after the import [09:48:45] any idea what i did wrong? [09:50:24] martin, tried viewing in 'preview' mode? [09:50:35] (could be a cache thing) [10:04:16] Martin^: oh yeah, you need to import some css stuff [10:04:40] hang on and i will grab it for you [10:06:04] 03(mod) SiteStatsUpdate warning with MySQL 5.1.30 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16521 +comment (10wikimedia) [10:10:39] Martin^: add this to your [[Mediawiki:Common.css]] http://pastebin.com/mfc13a69 [10:14:08] hello how to submit a patch to Media Wiki? [10:14:35] Rags: attach it to the bug your fixing on bugzilla.wikimedia.org [10:14:42] submit it to the related bug report on bugzilla [10:14:52] p858snake: I won! :P [10:17:50] but the fact is it is not a bug-fixing .. but rather a new feature. So how can i find a bug zilla for it? [10:18:07] create a bug? [10:19:05] or feature-request... [10:19:23] the bugs usually comes after the code has been submited :P [10:20:12] I want a small featur to be added like a 10-20 line modifications [10:20:34] and what will this modification do? [10:24:12] mw's bugzilla is for features too [10:25:03] It allows choosing another kind of licensing at the time of installation [10:27:45] So how do we submit the new feature using BugZilla? [10:31:01] hello anybody home? [10:35:26] Rags: you file it as a feature request and add a patch. ideally, add the keywords "patch" and "needs-review" [10:39:49] 03(NEW) accounts blocked without account creation blocked can override the account creation throttle - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17126 normal; normal; MediaWiki: Blocking; (chrisgrantmail) [10:40:10] how to delete a page in mediawiki ? [10:42:54] how to make a page protected ? [10:43:05] Mba7eth: login as a user with sysop right and you see a tab "delete" and "protect" [10:43:56] thanks [10:44:29] can i reset a users password from the special pages ? [10:44:45] hello how should we add a a new feature through, the bugzilla.mediawiki.org ???????? [10:45:00] Mba7eth: you need an extension or a direct SQL command [10:45:29] Rags: open a new "bug" and describe your new feature wish [10:45:31] I can access PHPmyAdmin .... if you can give the query :) [10:45:57] !passwordreset [10:45:57] --mwbot-- http://www.mediawiki.org/wiki/Extension:Password_Reset [10:46:15] grrr wrong link and user away :( [10:48:38] I dont want a new feature, I have created a new one !! I want to submit it, where should i submit it, I mean it is just a small modifications to the index.php [10:50:18] Rags: ah ok. open a new bug and attach the unified patch. A user with SVN committ access will test it have hopefully commit it... [10:53:06] Raymond_, u mean this link:https://bugzilla.wikimedia.org/enter_bug.cgi ?? [10:55:31] hi all [10:55:46] Rags: yes, use that [10:56:15] does anyone know of a good google analytics plugin that works? I've gone through the MW wiki and found several, but unfortunately every one is reporting so many problems and then refering to another script that "is better" but the same happens [10:56:29] i was wondering if anyone knows which script is the best to use and works as expected [11:02:50] 03(mod) New:=?UTF-8?Q?=20Request=20to=20create=20=D9=88?= =?UTF-8?Q?=D9=85=20and=20=D9=86=D9=88=20namespace?= =?UTF-8?Q?=20aliases=20on=20Arabic=20Wi?==?UTF-8?Q?kiSource?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17127 (10N/A) [11:04:07] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17127 +shell (10raimond.spekking) [11:32:01] can I assign View ONLY permission of a section say == Passwords == for users belonging to a particular group [11:33:36] nope: http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [11:34:15] see http://www.mediawiki.org/wiki/Manual:Preventing_access [11:35:43] #opencv [11:35:45] oops [11:38:12] 03raymond * r46071 10/trunk/extensions/Drafts/Drafts.classes.php: Fix for r46008: Show summary on Special:Drafts only. [11:45:57] is it possible in mediawiki, in addition to numbered list or bulleted list, have a list done with letters? [11:46:03] like a. b. etc [11:48:02]
  1. foo
  2. bar
  3. baz
[11:48:44] or something like: [11:48:44]
[11:48:45] #foo [11:49:01] and in site-wide css: .alpha-list ol {list-style-type:lower-alpha} [11:49:15] see http://www.w3schools.com/css/css_reference.asp#list [11:50:25] interesting, thanks [11:50:38] might use that, there's no better alternative [11:52:53] ... no better? sheesh, kids today... want html handed to them on a silver keyboard [12:14:43] Splarka, I wasn't.. lol [12:14:51] I was prefering to use wiki syntax [12:15:10] and possibly an extension that would add to that [12:16:25] wikicode for esoteric html is "on a silver keyboard" [12:16:52] what would it even look like, what symbol that would be backward compat (not break existing wikis)? [12:35:12] Splarka, good point [12:35:45] ok, no I was just trying to keep things simple, but I've used your example and it's working well, and isn't cluttering anything, so thanks :) [13:50:13] Duesentrieb, got a question for you. Follow up from yesterday. [13:50:54] My update.php is hanging on deleteDefaultMessages(); Is there any reason I can't comment that line out and then run it later to debug it so I can at least get the new mediawiki up and going? [13:52:13] Huufarted: commenting out should not have any very bad effects. you may notice some strangeness in some of the interface texts though. because they don't get updated to the new version. [13:53:05] Good, that's kinda what I was hoping [13:57:40] much better. [13:57:53] brb. reloading IRC client [14:02:06] Oh, WTF? So I run deleteDefaultMessages.php from the command line and it takes about 2 minutes and finishes... [14:02:22] but when it's executed through default.php, it hangs. [14:02:41] werdnum: unfortunately you think too anglocentric re the language stuff :-/ [14:03:46] Huufarted: that's very strange indeed. [14:03:49] Duesentrieb, I commented it out of updaters.inc and ran it afterwards. Finished without incident... confusing, but whatever. It's done. [14:04:00] no clue,sorry :) [14:04:10] lol don't be. You were a big help... [14:04:47] I was upgrading from 1.7 to 1.13, so there's a lot I need to go read up on now. [14:05:05] 6 revisions worth... [14:05:49] Huurfarted, 1.14 is being prepared for launch :) [14:05:56] lol I hate you. [14:06:35] Well, thanks to Betawiki we prepare langauge packs.. so you can update to later localisation for MW 1.13 (core) [14:06:52] do you still hate me ? [14:07:14] Well the language packs don't do anything for me. :) I'm in Utah, so it's all English for me. [14:11:04] I was just having a few minor issues installing extensions due to functions that just didn't exist in 1.7... [14:11:19] so this SHOULD (crosses fingers) take care of that. [14:13:21] GerardM-, is there a "what's new" for 1.14? [14:13:45] there will be once it is published [14:13:58] ok [14:14:11] *GerardM- Brion always includes this [14:17:31] Tim, in this case. [14:21:01] 03(mod) RC bot report changes harmed RC patrol ability. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5247 (10matthew.britton) [14:22:37] 03(mod) RC bot report changes harmed RC patrol ability. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5247 (10matthew.britton) [14:22:40] 03(mod) RC IRC related issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16599 (10matthew.britton) [14:23:07] <[KrusheR]> hi [14:23:51] <[KrusheR]> in the email notification system, URL aren't working, as it displays codes like PAGETITLE_RAWURL [14:24:00] <[KrusheR]> does anyone know why? [14:24:14] 03(mod) Please, start recent changes bot (UNICODE encoding) in #csrc. wikipedia IRC channel for czech wikipedia (cs.wikipedia.org) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2051 (10matthew.britton) [14:24:16] 03(mod) RC IRC related issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16599 (10matthew.britton) [14:26:53] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [14:26:57] yksinaisyyteni, is the ABC extension you wrote guaranteed to be safe? [14:27:18] Simetrical: no, there could be security problems with any of the external tools it uses [14:27:23] Oh well. [14:27:42] Looks like we won't be getting a music wikimodule for a while, then. [14:27:51] Or I don't know, maybe someone will review it. [14:27:56] it's unlikely to be worse than imagemagick [14:28:01] Or whatever. I don't even really care, I can't read sheet music notation. [14:28:13] Maybe you could enable it? [14:28:22] i'd rather talk to brion about it first [14:28:37] Mm. [14:29:15] anyone in here who can help with setting up email part of a wiki ? [14:29:28] got everything workin, but the email part doesn't which is very crucial for using it :D [14:41:51] djarnis: is that on your own server, or hosted/managed? [14:42:37] on my own [14:43:04] everything is running, beside mail part :) [14:43:22] so you have sendmail/exim/postfix installed and configured properly? [14:43:40] setting up a local MTA is no fun. i have tried it once... and gave up. [14:43:51] but if you want to run a web server, you'll have to do it :( [14:44:13] i am on windows atm [14:44:26] this is my first time playing with this.. and i'm not the best at php and sql [14:44:35] it has nothing to do with php and sql [14:44:47] ok [14:44:48] php uses the systems localmail server. [14:44:58] but... on windows, there is none. [14:45:03] oh ok [14:45:10] so it has to be on unix or linus [14:45:11] linux [14:45:25] well... it's sure easier. [14:45:37] and if you want to run a web server, then i'd recommend linux anyway. [14:45:49] well this is just a sandbox [14:45:49] for a developement/testing environment, it's different [14:45:52] ah. [14:45:56] in that case, set up smtp [14:46:03] i should [14:46:04] it's easy enough. it's just too slow for a real site [14:46:06] !smtp [14:46:06] --mwbot-- See for information about configuring MediaWiki to use SMTP for sending mails, instead of using the sendmail interface. [14:46:15] weok thanks [14:46:17] ok.. [14:46:35] well it is gonna be implemented .. but its only for internal use at work [14:46:41] so not more than 20 users max [14:46:47] all servers need a local mta though [14:46:52] if yours is broken, you need to fix it anyway [14:46:58] ok [14:47:03] mta ? [14:47:05] yksinaisyyteni: but your dev desktop doesn't. [14:47:13] djarnis: "mail transfer agent". [14:47:17] look it up on wikipedia :) [14:47:35] thx [14:47:41] candidates are sendmail, exim and postfix, in the linux case. [14:47:57] no idea for windows, realls. probably the same, but even nastier to get up and running [14:48:08] http://www.hmailserver.com/ [14:48:12] guessing i can try this [14:48:34] do you want to use a windows server in production too? [14:48:53] it is gonna be on a windows server in production [14:49:02] so .. hmm [14:49:14] no idea what the standard solution for php mailing is on a windows server, [14:49:19] smtp is not a good option [14:49:32] guessing i can use pear on windows ? [14:49:38] sure [14:49:44] mediawiki does [14:49:50] for example for the smtp stuff [14:49:52] ok [14:50:10] why are you asking? [14:52:23] been working a bit back and forth now with pear [14:52:43] and i dunno how to set it up [14:52:47] so its a bit of a pain [14:52:49] :) [14:53:19] one windows, most scripting things are a pain. [14:53:28] and most other things too, to me at least. [14:53:38] windows powershell! [14:53:50] in some ways, it's actually better than the unix shell for scripting [14:55:43] hmm [14:55:51] so where should i add the $wgSMPT ? [14:55:59] to the localsettings.php? [14:57:41] fuck it .. i'll return to this on monday [14:58:59] 03(NEW) Linkify the "r12345 comments" string - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17128 15enhancement; normal; Wikimedia: Bugzilla; (danny.b) [15:00:28] 03(mod) Linkify the "r12345 comments" string - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17128 (10danny.b) [15:17:21] what's the best way of modifying what appear in the footer of a mediawiki [15:17:27] without modifying the sites root files? [15:18:00] I've used CSS to hide both images too - but I'd probably prefer a better bethod (that doesn't require them to be loaded at all) [15:30:56] Is there any tutorial for installing and configuring mediawiki in fedora core10 [15:34:04] mahipal: it should work just like on any other linux [15:34:08] !install [15:34:08] --mwbot-- Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [15:34:38] mahipal: unless you plan to use your distribution's bundes. then you have to talk to the maintainer of that bundle. [15:36:38] what's the best way of modifying what appear in the footer of a mediawiki without modifying the sites root files? [15:36:43] Duesentrieb: I installed mediawiki through "yum install mediawiki". Its perfect. After that I want to configure. I am looking for decent document. googling is not helping for this(every thing is old for fedora). [15:37:02] !config [15:37:02] --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 [15:37:27] mahipal: you should not look for fedora-specific stuff. because there (hopefully) is non. [15:37:41] the config is generic. except maybe for the path of a few things [15:37:47] !footer [15:37:47] --mwbot-- For changing the page footer, see the FAQ (!) . More information at http://www.mediawiki.org/wiki/Footer and http://www.mediawiki.org/wiki/Manual:Skinning#Footer [15:37:50] \o/ [15:37:58] i hope fedora isn't one of those distributions that like to skatter mediawiki all over the system. [15:38:14] it's silly to handle a web application like a daemon with libraries. [15:38:24] StealthCP2: :) [15:38:30] Duesentrieb: linking LocalSetting.php to apache is missing some how. [15:38:53] mahipal: "linking LocalSetting.php to apache" doesn't make any sense. [15:38:56] I can ask and answer my own questions here [15:39:42] Duesentrieb: I mean configuring apache (virtual host) for mediawiki's LocalSettings.php [15:40:07] why would you configure a localhost for a config file? [15:40:10] that doesn't make sense. [15:40:27] err, a virtual host [15:40:29] whatever [15:40:59] mahipal: generally, you put mediawiki into some place you can access via apache. preferrably NOT into the document root of any vhost. [15:41:15] ...but into a subdir of the docroot of some vhost. [15:41:26] but that has nothing to do with LocalSettings.php, really. [15:41:37] except that you have to enter the web path in the settings file. [15:41:39] ok. I am trying. thanks [15:46:43] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [15:53:16] I wanna delete Toolbox from sidebar.. [15:53:33] how is it possible w/o chaning php file [15:54:26] Mr-Fine: remove it from [[MediaWiki:Sidebar]] [15:55:07] not worked [15:55:10] http://wikifamily.yourwiki.net/wiki/MediaWiki:Sidebar [15:57:11] hi Happy [15:57:25] Hi again Mr-Fine [15:57:33] err [15:57:40] can yo help me with deleting toolbox? [15:57:42] is you wiki going well? [15:57:54] yap [15:57:59] I just ran svn up, and now, when I try to request the site, apache and its spawned processes take 99% cpu [15:58:13] and why is the default font gill sans now .-. [16:01:22] hey brion-breakfast [16:03:30] how can i automatically create dates ??? [16:03:37] i mean by dates category? [16:03:48] for at least 1 month [16:09:06] Mr-Fine: ping [16:09:39] yah [16:10:02] nevermind [16:10:20] for what? [16:11:26] chuck: can you help me with creating date categories auto? [16:11:41] or is it only possible with a BOT?" [16:11:48] Mr-Fine: can you not see that I'm having a slight problem with the server right now? [16:12:10] ok [16:19:50] 03(NEW) TestWiki (multiple choice test similar to Quiz) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17129 15enhancement; normal; MediaWiki extensions: Quiz; (Bernhard.Fastenrath) [16:25:32] ah shoot, brion left [16:29:31] I wanna delete Toolbox from Sidebar.. [16:29:54] anybody who can help me? [16:30:43] I had remove it using modern.php file but then happened some errors [16:30:56] is it possible with using css or js? [16:33:23] can anyone please help? I just updated mediawiki and it's completely broken [16:34:22] hahahaha [16:34:26] u deserves it [16:34:34] :/ [16:35:10] chuck: what's broken? [16:35:28] ialex: requests are taking like 10 seconds or more [16:35:37] and sometimes the maximum execution time is exhausted [16:35:48] chuck: read-only mode? [16:36:38] it's not in read-only mode afaik [16:51:30] ialex: any ideas on why that may be happening [16:54:10] chuck: sometimes, this is due to the fact that the wiki is in read-only mode and the message cache is filled at each request because it's not cache (happens when the message cache is stored in database) [16:54:33] s/cache/saved [16:56:16] Why are we nofollowing external links to Wikimedia domains? [16:56:20] It seems kind of ridiculous. [16:56:28] [16:57:08] Simetrical: MediaWiki doesn't make that difference [16:57:16] external links are external links [16:57:22] How would one gain the ability to use #if statements? [16:57:23] Yes, but that's stupid. [16:57:29] We *should* make that distinction. [16:57:34] !parserfunctions | Zor [16:57:34] --mwbot-- Zor: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [16:57:42] Ah, extension. [16:57:43] Thanks. [17:02:14] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10joergens.mic) [17:07:39] 03(NEW) #wpReason field on Special:MovePage should be an input, not a textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17130 minor; normal; MediaWiki: User interface; (happy_melon) [17:07:40] $wgContentNamespaces[] = 100; -- Would I have to do a line like this for _every_ namespace I add? [17:11:14] 03(NEW) Feature Request: Transclusion Preprocessing Hook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17131 15enhancement; normal; MediaWiki: Page rendering; (nyphbl8d) [17:11:37] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [17:11:39] 03(mod) #wpReason field on Special:MovePage should be an input, not a textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17130 +comment (10raimond.spekking) [17:15:36] 03(mod) #wpReason field on Special:MovePage should be an input, not a textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17130 (10danny.b) [17:17:07] . . . [17:17:13] I just discovered $wgExternalLinkTarget. [17:17:19] I've been saying for like years that no such thing exists. [17:18:28] Oh, well, it's only in 1.14, so I guess I wasn't deceiving people much. [17:18:39] !r 41333 [17:18:39] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=41333 [17:18:47] Simetrical: it seems like it was reverted [17:19:10] oh i think it was revert reverted [17:19:15] Yes, it was. [17:19:26] The option is in current code (which is where I saw it). [17:19:34] oh [17:19:51] 03(mod) #wpReason field on Special:MovePage should be an input, not a textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17130 (10happy_melon) [17:21:12] Do we have a class or something of URL-related functions? [17:21:51] Simetrical: Linker, Title? [17:21:58] They seem to mostly be global functions. [17:23:04] It seems like parse_url() does what I want, but it's a library function so I don't trust it. :) [17:23:15] A PHP library function, that is. I'm all in favor of libraries generally. [17:23:22] 14(DUP) #wpReason field on Special:MovePage should be an input, not a textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17130 +comment (10mikelifeguard) [17:23:23] 03(mod) The move reason field should be one line only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13627 +comment (10mikelifeguard) [17:24:41] 03(mod) The move reason field should be one line only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13627 (10mikelifeguard) [17:26:51] 03(NEW) New AllpagesWithContent = Allpages - redirects - disamb - categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17132 15enhancement; normal; MediaWiki: Special pages; (peter.drier) [17:36:13] $pasteurized = self::replaceUnusualEscapes( $url ); [17:36:14] Cute. [17:36:47] What is the proper way to define multiple content namespaces..? [17:40:52] brion: kylu's been asking me to ask you for days -- is the coder group generally for people with commit access? [17:43:34] werdnum: it's generally for those who are reviewing commits [17:44:02] okay, so it's not something that comes automatically with commit access, but committers can generally have it? [17:44:26] I made this parser function to include a random "tip of the day" on my home page (it grabs a random article from a category) but it includes the categories too. Is there a way around this because the page that calls the include is getting categorization after categorization! Help! [17:44:30] http://dpaste.com/111903/ [17:44:47] AphelionZ: just looking [17:45:35] AphelionZ: That code looks awful.. you don't need to use the API to request that stuff! [17:45:39] You can just use a database query [17:46:24] You'll need to modify the wikitext itself, I think. [17:46:51] we're probably gonna split stuff out so there's a couple levels of review. mainly we don't want people going through and marking stuff as totally good when they don't actually know what they're doing :D [17:46:51] or at the least, http://www.mediawiki.org/wiki/API:Calling_internally [17:47:10] any way to do it besides editing the functions that drive {{: }} [17:47:30] ... or transclude the page instead of just returning its wikitext, and put the category in [17:47:33] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10joergens.mic) [17:47:37] oh, you are transcluding [17:47:43] just put the categories inside tags. [17:47:49] ah haha [17:47:51] But srsly, consider using a database query instead of the API [17:47:59] 17:47 < brion> we're probably gonna split stuff out so there's a couple levels of review. mainly we don't want people going through and marking stuff as totally good when they don't actually know what they're doing :D [17:47:59] ok, i will [17:48:01] thanks [17:48:02] 04(REOPENED) Errors in centralnotice.js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16641 +comment (10apper) [17:48:03] Sounds sensible. [17:48:17] I think now we rely on people actually knowing what not to touch :D [17:48:44] hello to all, can someone help me with the FlaggedRevs ? [17:48:53] !ask [17:48:53] --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/getting-help-on-irc > for a good explanation of getting help on IRC. [17:51:42] brion, could River's ABC extension (for musical typesetting) be enabled? (bug 189) She says it should be as safe as ImageMagick. [17:51:58] Or rather, that it's "unlikely to be worse". [17:52:22] Simetrical: we'll put it on the list :) [17:52:35] Which reminds me.... [17:52:37] i would though really like to get all such things moved off using shared NFS [17:52:43] Can we add mhchem to our TeX thing? [17:52:56] or can we not do that for security reasons or somesuch? [17:56:35] brion, is there some easy way to toggle a global in parser tests? Because if so, I'd like to write some tests for this new feature I'm committing. [17:56:37] no idea [17:56:42] :) [17:56:52] *Simetrical thinks they're special-cased right now, where they're used [17:56:55] Simetrical: not necessarily in general, you'd have to add something for it [17:59:27] Are there any known bugs with namespaces in 1.13.3? It seems my custom namespaces aren't workking -- http://rafb.net/p/YpaJ7J15.html [18:00:07] Zor: You overide the custom namespace with every line [18:00:48] Oh -- true. [18:00:51] Should I do like: [18:00:58] $wgExtraNamespaces[] = ... [18:01:31] $wgExtraNamespaces['100'] = ... [18:01:51] http://en.wikipedia.org/wiki/Wikipedia:Requests_for_process [18:01:51] Alright. Thanks. [18:01:53] *werdnum lols [18:02:00] Wuzur|rhn: without quotes [18:02:12] oh, yes [18:02:19] does anyone know what's wrong with mediawiki? :< after I updated, it's slowed down a ton [18:02:22] 03siebrand * r46075 10/trunk/phase3/languages/messages/ (42 files): Localisation updates for core messages from Betawiki (2009-01-23 17:19 UTC) [18:02:42] Haha, werdnum. [18:02:55] 03simetrical * r46076 10/trunk/phase3/includes/GlobalFunctions.php: [18:02:55] Break off wfParseUrl() from wfMakeUrlIndex() [18:02:55] Should be no functional changes. [18:03:05] 03simetrical * r46077 10/trunk/phase3/includes/parser/Parser.php: Remove unused code [18:03:23] 03simetrical * r46078 10/trunk/phase3/ (3 files in 3 dirs): (log message trimmed) [18:03:23] Allow exempting domain names from rel="nofollow" [18:03:24] This introduces a new configuration option, $wgNoFollowDomainExceptions. [18:03:24] By default this is an empty array; perhaps it should be null by default [18:03:24] and initialize to something extracted from $wgServer. An appropriate [18:03:26] value for Wikimedia would be something like: [18:03:28] $wgNoFollowDomainExceptions = array( 'wikipedia.org', 'wiktionary.org', [18:03:33] Simetrical: just dcommitting, eh? [18:04:09] 03(NEW) Add support for mhchem package in markup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17133 normal; normal; MediaWiki: Page rendering; (mikelifeguard) [18:04:30] werdnum, yep. [18:05:17] anybody? :'( [18:05:45] chuck: Slow doing anything in particular? [18:06:17] i dunno [18:06:19] chuck, you have to do proper profiling for that kind of complaint to be useful, unfortunately. [18:06:22] apaches are getting up to around 100% [18:06:43] chuck: install xdebug and use it to profile :) [18:07:02] xdebug? [18:07:34] 03(NEW) Replacement of sitewide Wikibooks site favicons with updated site favicon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17134 15enhancement; normal; Wikimedia: Site requests; (cbass) [18:08:01] chuck: http://letmegooglethatforyou.com/?q=xdebug [18:08:03] *werdnum hides [18:08:35] 14(DUP) Replacement of sitewide Wikibooks site favicons with updated site favicon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17134 +comment (10mikelifeguard) [18:08:36] Don't use xdebug. [18:08:37] :D [18:08:37] 03(mod) New favicon for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17049 +comment (10mikelifeguard) [18:08:39] Use our profiling. [18:08:44] It's almost certainly more useful. [18:11:23] 03(mod) New favicon for Wikibooks projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17049 +comment (10mikelifeguard) [18:11:37] *Simetrical wrote r46078 due to an argument he was having about another piece of software :) [18:13:45] 03(mod) New AllpagesWithContent = Allpages - redirects - disamb - categories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17132 +comment (10roan.kattouw) [18:13:50] Simetrical: here are the slowest things: http://pastie.org/368928 [18:14:00] looks like it's Setup.php? [18:14:05] It went like: "It's not worth whitelisting domain names for nofollow. Wikipedia doesn't do it, for instance." "Wanna bet?" [18:14:11] and more specifically the session part... [18:14:34] Doesn't seem right. [18:14:44] Let's see what that is. [18:15:26] That's only like 20 likes in Setup.php. [18:15:38] Simetrical: :D [18:16:17] werdnum, that kind of falls flat if it doesn't get enabled on scap, though. [18:16:45] Oh, wait, there's wfSetupSession() called there, that adds more LOC being executed. [18:18:32] chuck: all code is called from Setup.php [18:18:48] Setup.php-SetupSession 1 39220.310 39220.310 96.918% 167500 ( 39220.310 - 39220.31$ [18:18:55] Hmm, looks like we need more profileIn() calls [18:18:55] It's obviously SetupSession [18:19:08] werdnum: Yeah, or one of the things it calls... [18:19:14] RoanKattouw: right. [18:19:26] *werdnum looks at Setup.php [18:19:38] 03tparscal * r46080 10/trunk/extensions/DataCenter/ (CLI/Import.php DataCenter.sql): [18:19:38] Moved dummy data into import script. Now CLI/Initialize.php only rebuilds [18:19:38] tables, and CLI/Import.php when used with the --dummy parameter loads the tables [18:19:38] with a default dataset. Additionally this now logs changes for each component in [18:19:38] the dataset, making the change history function properly. [18:19:39] 03tparscal * r46079 10/trunk/extensions/DataCenter/ (4 files in 2 dirs): Changed saveChange to insertChange to better reflect underlying operation. [18:19:41] hm, Setup.php-SetupSession is only < 1% - 3% for me [18:19:50] i've added some wfProfileIn calls to wfSetupSession [18:19:59] werdnum: It calls wfSetupSession() [18:20:06] wfIncrStats() [18:20:20] And that's about it [18:20:24] One of these two [18:20:25] wfIncrStats( 'request_with_session' ); [18:20:25] wfSetupSession(); [18:20:33] RoanKattouw: yeah :) [18:20:46] What is this DataCenter [sic] thing? [18:20:47] it's not wfSetupSession [18:20:58] session-setup 1 15.082 15.082 0.933% 728468 ( 15.082 - 15.08$ [18:21:06] 03tparscal * r46081 10/trunk/extensions/DataCenter/DataCenter.db.php: Fixed bug in alias statement. [18:21:17] Mike_lifeguard: Why the [sic]? You think it should be centre? ;) [18:21:25] Of course. [18:21:31] Setup.php-SetupSession 1 4.390 4.390 0.007% 11624 ( 4.390 - 4.390) [0] [18:21:44] *RoanKattouw sighs at British language puritism [18:21:52] I'm not British. [18:21:56] 03(NEW) Property with brackets does not work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17135 normal; normal; MediaWiki extensions: SemanticResultFormats; (dasch_87) [18:22:10] mm [18:22:11] Mike_lifeguard: Well, it's for managing information about our servers [18:22:18] so we can keep track of all however many billion of them. [18:22:22] oh, cool [18:22:22] I too prefer british, but not centre or metre [18:22:25] Trevor has been working on it since November. [18:22:29] instead of the perpetually out-of-date wiki pages [18:22:36] right! [18:23:13] chuck: Can you paste the new profile thingy with the extra wfSetupSession in it? Also, try to run some more requests (more than 1 at least), so outliers get buried [18:23:23] 03(mod) Show number of unreviewed edits on Special:OldReviewedpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17122 +comment (10JSchulz_4587) [18:23:47] 03tparscal * r46082 10/trunk/extensions/DataCenter/DataCenter.db.php: Fixed table prefix bug in get changes statement. [18:24:10] 03siebrand * r46083 10/trunk/extensions/ (160 files in 131 dirs): Localisation updates for extension messages from Betawiki (2009-01-23 17:19 UTC) [18:24:14] RoanKattouw: i did up there [18:24:20] it was only .933% of the request [18:24:53] 03tparscal * r46084 10/trunk/extensions/DataCenter/DataCenter.db.php: Removed superfluous database handle call. [18:25:00] chuck: I see, but what's the rest of the file like? Still Setup.php-setupSession with 90+% ? [18:25:10] 03(NEW) Pictures just as Link - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17136 trivial; normal; MediaWiki extensions: SemanticResultFormats; (dasch_87) [18:25:32] RoanKattouw: oh,, no [18:25:46] wtf [18:26:02] now the highest is MediaWiki::initialize, which is what it should be, right? [18:26:41] I don't really know [18:26:45] 03tparscal * r46085 10/trunk/extensions/DataCenter/DataCenter.db.php: Fixed getChange bug (updated join to use LEFT join instead of straight join to support 0 as a user_id value, just like getChanges does). [18:26:48] Is stuff still slow? [18:27:11] I guess we wanna add more profiling calls so initialization slowness can be tracked down [18:27:49] 03(NEW) Ploticus does not work at all - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17137 major; normal; MediaWiki extensions: SemanticResultFormats; (dasch_87) [18:27:53] There's a lot of stuff (like initializing/unstubbing $wgUser) that I don't see in there [18:28:21] 03(NEW) transcluding Special: Prefixindex for a target without prefixes should return null - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17138 minor; normal; MediaWiki: Page rendering; (happy_melon) [18:28:29] 03(mod) Prettify permalinks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16659 (10matthew.britton) [18:32:12] RoanKattouw: it seems to be maxing out the execution time at line 94 of Profiler.php [18:32:20] function profileOut($functionname) { [18:32:20] global $wgDebugFunctionEntry, $wgProfiling;; [18:32:20] if( !$wgProfiling ) return; [18:32:29] Is that line 94? xD [18:32:48] I don't assume it prints a backtrace when dying? [18:33:01] How large is your max exec time anyway? [18:33:08] no, the only reason I know that is because I'm using the wmerrors php extension [18:33:18] now it makes it to line 131 in Profiler.php [18:33:20] RoanKattouw: it's 30 seconds [18:33:28] Oh OK, so that's quite normal [18:33:33] Weird [18:34:07] whoa, now it's speedy [18:34:16] well, not *speedy* [18:34:20] are you using any caching? [18:34:25] MrZ-man: memcached [18:34:26] Does it, like, finish? :P [18:34:40] chuck: Your problems are probably due to slow access to either memcached or MySQL [18:36:27] memcached is local, though [18:36:35] Doesn't mean it can't be slow [18:36:54] is there any way to interface with memcached over telnet to see? [18:36:55] Well, just add finer-grained profiling until you spot it. [18:37:42] Simetrical: Actually, we should *have* finer-grained profiling in that region so slow init issues are easier to debug [18:37:49] Not just for us, but for end users too [18:38:17] Assuming it's a problem for more than just chuck, sure. [18:38:18] sofixit. :) [18:38:28] Meh, dinner is server :) [18:38:32] *served [18:38:35] lol [18:38:46] Fortunately, I'll be eating brocolli, not a server [18:38:46] server's don't taste very good [18:38:50] *chuck wonders where MediaWiki::initialize is [18:38:55] *servers [18:38:59] *RoanKattouw suggests grep [18:39:10] oh, Wiki.png [18:39:13] >_< [18:39:14] php [18:39:15] chuck, grep says Wiki.php. [18:40:20] i think it's as profiled as it can get [18:40:28] actually [18:41:21] i can't figure this out at all .-. [18:41:44] Do you have it down to a single line? [18:41:54] no [18:42:43] there are like 10 methods that are taking more than 30% of the request time [18:42:54] chuck: Paste profile log? [18:43:25] There can't be ten methods taking more than 30% of the request time, unless some of them are calling others. [18:43:56] I think they're all part of the same tree, with the bottom one taking 30% [18:45:16] RoanKattouw_away: http://pastie.org/368966 [18:46:23] Hmm, there's still 60% not being profiled... [18:46:27] *RoanKattouw_away really leaves now [18:47:37] 03aaron * r46086 10/trunk/extensions/FlaggedRevs/specialpages/ (OldReviewedPages_body.php UnreviewedPages_body.php): (bug 17120) Watchlist data should be filtered by activity [18:48:03] 03(FIXED) Watchlist data should be filtered by activity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17120 +comment (10JSchulz_4587) [18:49:09] test.. [18:50:06] 03aaron * r46087 10/trunk/extensions/FlaggedRevs/language/ (OldReviewedPages.i18n.php UnreviewedPages.i18n.php): Update messages per previous commit [19:02:03] I need to change the category of a bug from mediawiki to mediawiki extensions (since the scope has changed). Can it actually be moved or should I create a new bug, then reference it and close the old one? [19:03:01] I-MOD, if you're logged in, change it at the top [19:03:10] *I-MOD looks again [19:03:20] just change the combo box, and commit at the bottom [19:03:41] *I-MOD headdesks [19:03:51] Found it? :P [19:03:53] thanks, i didn't realize i wasn't logged in and thought it was locked [19:04:03] :) [19:04:08] thanks [19:04:19] np [19:05:46] 03aaron * r46088 10/trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php: (bug 17118) Open up OldReviewedPages to public (except for watchlist stuff) [19:07:12] 03(mod) Do not restrict FlaggedRevs special pages like UnreviewedPages and OldReviewedPages to editors /reviewers, make them public - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17118 +comment (10JSchulz_4587) [19:08:19] 03(mod) [[Section::...]] variables - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1605 -need-review -patch ; +comment (10nyphbl8d) [19:12:01] 03(mod) No stylesheets for flagged revisions box on cologne blue skin - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17110 (10JSchulz_4587) [19:18:03] 03aaron * r46089 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Correct comment [19:23:24] 03werdna * r46090 10/trunk/extensions/AbuseFilter/ (171 files in 7 dirs): Apply changes from change-tagging branch. I will remove all of the stuff actually related to change tagging in a moment, to avoid trunk changes on Wikimedia sites. [19:23:46] 03werdna * r46091 10/trunk/extensions/AbuseFilter/ (4 files in 2 dirs): Remove dependency on change-tagging being branch-merged to trunk for now, and fix a few miscellaneous related bugs that came up in final testing. [19:25:46] 03ialex * r46092 10/trunk/extensions/OpenID/ (SpecialOpenID.body.php SpecialOpenIDFinish.body.php): [19:25:46] * Tweak for r46027: fix E_ERROR [19:25:46] * Whitespaces fixes [19:26:11] 03siebrand * r46093 10/trunk/extensions/Translate/groups/mediawiki-defines.txt: Add 'gep-categorypage' as optional. [19:28:56] 03aaron * r46094 10/trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php: Show rev # of review entries in IRC (bug 16896) [19:29:01] 03(FIXED) Review log entries should be sent to RC/IRC feed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16896 +comment (10JSchulz_4587) [19:29:46] brion: yay, there's an arbcom case on enwiki about 'date delinking' [19:29:57] *brion rolls the eyes [19:29:58] Remember that hack years ago that we used to use to format dates? [19:30:07] (and still works, I think) [19:30:13] well, now it's an arbcom case :D [19:30:22] *RoanKattouw blows up ArbCom and does his evil laugh [19:30:26] werdnum, only cause 1 user took it to an extreme [19:30:27] brion: moo [19:30:34] no real consensus, but started mass delinking [19:32:49] We should wait until AFTER the case finishes to do the ten-second implementation of a parser function that does EXACTLY THE SAME THING [19:37:19] RoanKattouw that would fix arbcom... [19:37:32] Or get rid of the functionality. It's a tiresome special-case hack that fragments parser cache and only serves to insulate ordinary editors from the format that the overwhelming majority of users will see. [19:38:26] I think we should have preference-based formatting of stuff more. [19:38:36] Temperatures, distances, etc are excellent candidates. [19:38:57] *MrZ-man formats werdnum's hard drive per his preferences [19:39:23] but it should be done with a proper parser function [19:39:30] not, as you say, a tiresome special-case hack. [19:39:39] More parser cache fragmentation. [19:40:00] werdnum: If enwiki would just add some basic templates, you'd have stuff like {{distkm|80}} return 80 km (50 mi) [19:40:06] I'm not sure how problematic that is. [19:40:10] 03siebrand * r46095 10/trunk/extensions/AbuseFilter/AbuseFilter.i18n.php: [19:40:10] * Remove and unneeded space in 'abusefilter-edit-tag-tag' [19:40:10] * Remove all trailing whitespace [19:40:11] RoanKattouw: ew, templates. [19:40:21] RoanKattouw: they do have that [19:40:24] {{convert}} [19:40:25] You just need some #expr math for that [19:40:40] Well if they used it *consistently*, we wouldn't have to implement pretty much the same thing in core [19:41:15] Different units should be provided to all viewers. Most users aren't logged in. [19:42:15] Exactly. I say get rid of the date formatting stuff (come on, people, dates are dates, you can read them even if they're in a slightly different format) and use templates for distances and temperatures [19:42:41] !shorturl [19:42:41] --mwbot-- 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 [19:44:40] brion: it's 40F here! [19:44:42] *AaronSchulz is happy [19:44:49] That [19:44:50] 45 here. [19:44:51] brrrr [19:44:56] yes, brrrr [19:44:56] 's like 5 C? [19:44:59] 58 here. [19:45:04] anybody else having trouble reaching bugzilla in Opera? [19:45:04] but raining :< [19:45:07] 40 feels warm now [19:45:20] brion: not when i tried earlier [19:45:31] Try Australia, they had temperatures near 100F/40C earlier this week [19:45:38] brion: Not in Firefox right now [19:45:41] yksinaisyyteni: what version? [19:45:41] wfm [19:45:44] 9.63 [19:45:47] opera worksforme [19:45:58] yeah, working fine now too [19:46:13] it ain't working for me in 9.63 or 9.5... 7.54 seems fine [19:46:15] very odd [19:46:28] "Internal communication error" [19:47:59] RoanKattouw: I'm *from* Australia. [19:48:05] Good temperatures back there. [19:48:11] *werdnum wants to move the office to Sydney :( [19:48:20] werdnum: I thought you were a Brit? [19:48:25] RoanKattouw: no? :) [19:48:41] Moved all the way to CA from Aus? [19:48:56] https://bugzilla.wikimedia.org/show_bug.cgi?id=1234http://stable.toolserver.org/wmfgcbot/request [19:48:58] erp [19:49:37] too many operas open, it's getting confused ;) [19:50:52] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [20:01:12] 03(mod) Show number of unreviewed edits on Special:OldReviewedpages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17122 (10gtisza) [20:02:00] brion: do you know why MediaWiki would be slow as heck, and why apache2 processes would start taking 100% CPU? :< [20:02:07] it started happening after I updated [20:02:20] http://pastie.org/368966 [20:02:26] ^ that's the profiling [20:08:03] 03catrope * r46096 10/trunk/phase3/includes/api/ApiMain.php: API: ApiBase::dieUsage() is not a static function, fix static calls [20:13:43] 03ialex * r46097 10/trunk/phase3/includes/parser/DateFormatter.php: [20:13:43] * Fix E_STRICT [20:13:43] * Fix doxygen warnings [20:14:45] oh noes, the doxygen [20:14:57] it is escaping and will kill us all [20:20:57] werdnum: Could you give me a link to your function lookup tool? [20:22:58] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [20:23:36] 03catrope * r46098 10/trunk/phase3/includes/api/ApiBase.php: API: Fix profiling errors caused by calling wfProfileClose() from dieUsage() [20:26:01] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10ssanbeg) [20:27:26] 03(NEW) ts_resortTable inconsistent trimming makes date sorting fragile - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17139 normal; normal; MediaWiki: Page rendering; (henry.ayoola) [20:29:21] RoanKattouw: http://mwref.werdn.us/ [20:29:31] MrZ-man: Thanks [20:33:30] i need some help here.. [20:33:40] I'm getting this msg everytime i try to upload an image 'The file is corrupt or has an incorrect extension. Please check the file and upload again.' [20:34:04] i can upload pngs on the wiki on my localhost but on my live wiki i can't.. [20:34:07] On a Wikimedia site, or your own? [20:34:21] k, I have no idea then :) [20:34:35] !wg FileExtensions | Rob_Laibach [20:34:35] --mwbot-- Rob_Laibach: http://www.mediawiki.org/wiki/Manual:%24wgFileExtensions [20:34:47] aside from the variable that you have to set to true...is there something else that i have to turn on [20:34:48] how do i set my wiki to accept URLs in form ./wiki/Xxx instead of index.php?title=Xxx [20:34:53] i alread did the file extensions thing [20:35:13] i pretty much did the same thing for the localsettings for the live wiki like idid for my localhost [20:35:33] 03(mod) Feature Request: Transclusion Preprocessing Hook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17131 (10nyphbl8d) [20:35:36] !shorturl | malafaya [20:35:36] --mwbot-- malafaya: 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 [20:36:03] thanks RoanKattouw :) [20:36:09] nice feature that bot [20:37:41] yep [20:37:48] you can thank amidaniel [20:38:04] Well you could if he still hung around around here [20:38:58] true [20:39:01] you could send him a memo [20:39:05] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10johannes.schindelin) [20:39:18] Like he'd ever read that :P [20:39:23] heh :) [20:39:56] 03catrope * r46099 10/trunk/phase3/includes/Profiler.php: Remove stray semicolon [20:40:08] ; [20:40:43] *RoanKattouw kills Reedy and his ; [20:40:50] :( [20:52:17] 03(mod) Wikibits patch #9 - force sortorder of a column - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15406 (10ssanbeg) [20:58:02] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10Simetrical+wikibugs) [21:03:50] *Simetrical should probably have dropped that Bugzilla fight a few posts ago. [21:03:59] *Simetrical needs to be less self-righteous and confrontational. [21:04:34] Simetrical: It's not too bad to be self-righteous when you're right ;) [21:04:57] anyone know how to remove the 'advanced search' box entirely? with all the namespaces... i dont see a css class or i would just 'display:none' it [21:05:13] ive googled and wiki'd on that and can't find anything [21:06:27] RoanKattouw, yes it is. It drives people away and makes your cause look bad. [21:06:59] I should have politely and considerately e-mailed dscho apologizing for the lack of response for a long time and explaining things nicely. [21:07:26] He/she did put some effort into it that was ignored for years and now looks like it will be discarded in favor of a solution written up in the past couple of months. [21:16:50] Simetrical: Yeah, you could probably have been gentler in this case. But for annoying people, your rants are OK [21:33:55] 03(mod) Add a music wikimodule - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=189 (10joergens.mic) [21:39:21] RoanKattouw: http://mwref.werdn.us [21:44:11] werdnum: Firefox cannot find the server at mwref.werdn.us [21:44:27] http://mwref.werdn.us/ [21:44:29] works for me. [21:44:47] doesn't work for me ;) [21:44:49] resolved mwref.werdn.us to 64.62.141.181 [21:44:59] does the domain resolve? [21:45:48] traceroute to epstone.net (64.62.141.181), 64 hops max, 40 byte packets [21:48:44] ialex: Can you get to werdn.us (the main site)? [21:49:03] werdnum: yes [21:49:09] weird. [21:49:39] wtf, works now [21:50:13] :) [22:01:07] hoe does one enable uploads of files and images by sysops only? [22:02:10] Hardolaf: only give the upload right to sysops [22:02:22] i guess that does not help him much [22:02:37] $wgGroupPermissions['user']['upload'] = false; [22:02:39] !man User_rights | Hardolaf [22:02:39] --mwbot-- Hardolaf: http://www.mediawiki.org/wiki/Manual:User_rights [22:02:43] $wgGroupPermissions['sysop']['upload'] = true; [22:02:50] thanks platonides [22:03:21] thanks ialex [22:07:28] 03(FIXED) Errors in centralnotice.js - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16641 +comment (10tfinc) [22:08:20] after I have added the group permission how do i enable it, or does it do it automatically? [22:17:09] Hardolaf: $wgEnableUploads = true; [22:17:45] in LocalSettings.php [22:18:14] ialex, thanks. [22:18:56] 03(FIXED) "Appeal from Jimmy" notice text overflows box with large fonts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16773 +comment (10tfinc) [22:19:16] tomaszf: ooold bug :) [22:19:29] werdnum: cleaning house :) [22:20:15] if you clearing house try aiming/going though the bugs with a id number of 4 digits or less, theres a /few/ still if i remember correctly [22:20:41] *your [22:20:57] He's looking for bugs assigned to him, I think :) [22:21:11] *werdnum has a bunch of bugs assigned to him in a "someday" basket. [22:21:26] that was my first approach .. and those are much easier then the 4 digit bugs [22:23:18] 03(NEW) Difficulties reaching IPv6-enabled sites (bugzilla, lists) in Opera on some systems - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17140 15enhancement; normal; Wikimedia: DNS; (brion) [22:26:25] Can I link to a page showing all articles in a custom namespaces, somehow? [22:26:38] Zor: [[Special:Allpages/Talk]] [22:26:49] (replace Talk with the name of the namespace) [22:26:55] K, thanks. [22:27:04] Whoops, Talk: with a colon [22:28:04] Oh, okay. [22:31:42] Four-digit? Bah. [22:31:51] Go for the three-digit ones. Be a real man. [22:32:06] you're 3 digits [22:32:16] Prove it. [22:32:31] Marybelle = 666 [22:34:57] 14(DUP) Add support for mhchem package in markup - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17133 +comment (10innocentkiller) [22:34:58] 03(mod) Enable mhchem package in LaTeX - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5856 +comment (10innocentkiller) [22:36:09] 03(mod) Enable mhchem package in LaTeX - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5856 (10mikelifeguard) [22:36:14] 03catrope * r46100 10/branches/new-upload/phase3/includes/api/ApiUpload.php: [22:36:14] new-upload branch: [22:36:14] ApiUpload.php: [22:36:14] * Set default for 'comment' to '' [22:36:14] * Move up $request declaration [22:36:14] * Whitespace fixes [22:36:16] MrZ-man: unarguable? ;P [22:36:17] thanks for that, btw [22:37:55] Marybelle: there's still 6 1-digit bugs unclosed [22:38:15] And ... nobody cares! [22:38:19] *Marybelle is away. [22:38:41] MrZ-man: That's 67% of all 1-digit bugs :O ^^ [22:39:14] http://tinyurl.com/agfas9 [22:40:09] RoanKattouw: :O [22:43:04] browsing extensions... and i see about 5 different ones for code highlighting [22:43:14] can anyone recommend one in particular? [22:43:23] geshi [22:43:27] some seem to be based / improvements on others [22:43:37] yes... all 5 of these claim to use geshi [22:43:41] !syntaxhighlighting [22:43:41] --mwbot-- I don't know anything about "syntaxhighlighting". [22:43:46] !geshi [22:43:46] --mwbot-- there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [22:44:01] use that one, people who have a clue wrote it [22:44:21] well i've never been one to go with the crowd, but i like it when people who code have a clue :) [22:44:23] thanks [22:44:51] How would I go about not making all page titles capitalized (first letter)? [22:45:10] !wg CapitalLinks [22:45:10] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks [22:45:23] Zor: That one ---^^ [22:45:36] a lot of people wriing MW extensions have no clue at all about PHP security issues, so you need to be careful [22:46:46] Thanks. [22:48:11] Is there a way to test two statements with the parser function #if? like {{#if:1==1 and 2==3|"Cierto"|"Falso"}} [22:48:39] iduan: {{#if:A|{{#if:B|do stuff}}}} [22:48:50] oh sweet - thanks [22:49:15] 03werdna * r46101 10/trunk/extensions/AbuseFilter/ (6 files in 2 dirs): Put filter-builterator on tools page. [22:49:33] *brion goes to do a quick once-over peek at AF [22:49:37] iduan: Note that this doesn't test equality, it just tests non-emptyness [22:49:46] yeah - that's what i want to do :) [22:49:53] iduan: Use #ifeq for equality [22:50:17] werdnum: require_once( '/home/andrew/wm-svn/phase3/maintenance/commandLine.inc' ); [22:50:18] ? :) [22:50:20] ok - will do - thanks again! [22:50:34] brion: hehe [22:50:35] 03werdna * r46102 10/trunk/extensions/AbuseFilter/Views/tools.js: Add missing file. [22:50:39] brion: oopsies :) [22:51:23] werdnum: install.php should only increment the user count if it's creating the account [22:51:48] brion: ah, yes. [22:52:05] 03(mod) action=upload should be added to the API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15227 (10roan.kattouw) [22:52:06] 03werdna * r46103 10/trunk/extensions/AbuseFilter/phpTest.php: Remove path specific to my system. [22:52:11] !wg casesensitivity [22:52:11] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgcasesensitivity [22:52:19] aww :( [22:52:22] Jinx: Ironically, that URL will be case sensitive [22:52:27] you want... [22:52:29] ;) [22:52:31] !wg CapitalLinks [22:52:31] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks [22:52:50] Zor's comment inspired me :) [22:52:53] thanks [22:53:19] brion: fixed. [22:53:23] w00t [22:53:33] *werdnum hasn't looked at those scripts in a while :) [22:53:51] 03werdna * r46104 10/trunk/extensions/AbuseFilter/install.php: Only increment site stats if we are creating the account. [22:54:13] "This makes links COMPLETELY case-sensitive" [22:54:16] actually, that's not what i want [22:54:30] 03catrope * r46105 10/branches/new-upload/phase3/includes/api/ApiUpload.php: new-upload branch: Code style consistency [22:54:32] but i assume the default for first-letter capitals is true [22:54:44] how do i make links case-insensitive? [22:54:45] Jinx: You can either have completely case-sensitive, or just the first letter case insensitive. That's it [22:55:19] also, relatedly: there is no way to make domain.org/wiki/page forward to domain.org/wiki/index.php/page without mod_rewrite / something apache related right? [22:55:38] hmm [22:55:39] Jinx: no [22:55:44] Jinx: don't do that. putting articles titles in the same directory as index.php will only cause pain [22:55:52] Jinx: you should use e.g. /w/index.php and /wiki/Main_Page [22:56:04] $vars['USER_AGE'] = time() - wfTimestampOrNull( TS_UNIX, $user->getRegistration() ); will list a registration time of january 1, 1970 for users who predate the registration time field. is that right? :) [22:56:42] Yeah, I guess so. [22:56:43] yksinaisyyteni: not sure what you mean... [22:56:56] should work sensibly for comparisons [22:56:59] right [22:57:10] Jinx: trying to put articles titles, like Main_Page, in the same place as index.php, will not work right. for example, having /wiki/index.php and /wiki/Main_Page will not work right [22:57:11] if we're saying "If the user is younger than however many seconds" [22:57:13] i don't want articles in the same dir... i just want domain.org/wiki/Page_Name to go to the proper page [22:57:15] *nod* [22:57:26] We don't have any record of when they were deleted, then we may as well say they have existed FOR ALL TIME [22:57:27] Jinx: yes you do... you want /wiki/Main_Page and /wiki/index.php [22:57:35] (The beginning of time is January 1, 1970) [22:57:42] s/deleted/non-existent/ [22:57:55] nah... i'm not actually moving contents [22:58:03] just want it to forward the urls [22:58:16] i know i don't remember anything before 1970 [22:58:32] Oldie. [22:58:41] I don't remember much before about 2000-2002 [22:59:34] wikipedia does it quite nicely (though they show an error page with an autoforward to the proper url) [22:59:50] anyway... i understand if there is no way to forward the urls without apache conf / mod_rewrite [23:00:04] but is there really no way to make links case-insensitive? [23:08:09] 03tparscal * r46106 10/trunk/extensions/DataCenter/ (18 files in 5 dirs): [23:08:09] Created history widget, in favor of difference widget, which uses a wiki-style [23:08:09] change comparison interface. Made improvements and bug fixes to change-related [23:08:09] database code. Integrated full change system into each component view. Removed [23:08:09] history page. [23:12:28] 03tparscal * r46107 10/trunk/extensions/DataCenter/DataCenter.php: Fixed bug that included non-existent file. [23:16:44] ok - could someone actually spend like 10-11 minutes maybe helping me out? I have this really annoying code where it's parser functions inside parser functions and i can't seem to get it right [23:17:29] http://dpaste.com/112361/ [23:18:19] king is showing up even when it doesn't exist ... queen shows up correctly but it doesn't make the '''Monarch''' show up in the first column (for context: this is all in a table) [23:19:23] function getSel(){ [23:19:23] var w=window,d=document,gS='getSelection'; [23:19:23] return (''+(w[gS]?w[gS]():d[gS]?d[gS]():d.selection.createRange().text)).replace(/(^\s+|\s+$)/g,''); [23:19:26] } [23:19:34] dude, I'm NOT entering an obfuscated JS contest :P [23:19:40] (http://snippets.dzone.com/posts/show/2914) [23:20:08] actually - lemme delete that and start over with an explanation in the paste thing [23:27:53] could someone help me with http://dpaste.com/112367/ - it is very annoying - because it's a lot of ifs inside #ifs .. but I'd really appreciate any help someone can give [23:29:02] well i found one mistake [23:34:46] TrevorParscal++ [23:35:02] After all that, all I had to do was set selectionStart and selectionEnd [23:35:18] and what browsers does it work on? [23:35:25] Safari and FF [23:35:29] sounds like FF for sure and IE no way [23:35:29] 03werdna * r46108 10/trunk/extensions/AbuseFilter/edit.js: Focus the code box, and place the cursor at the location of an error, when one occurs. Works on FireFox and Safari, but not IE. [23:35:29] I don't have an IE to test on. [23:35:30] :) [23:35:38] but nobody cares about IE [23:35:43] i have IE [23:35:46] o rly [23:35:52] http://voltaire.local [23:35:52] on VM [23:35:54] booting now [23:35:59] You don't have to. [23:36:04] I think we both know it isn't gonna work. [23:36:06] lets make it work on IE! [23:36:08] c'mon [23:36:12] I got a min [23:36:16] okie [23:36:31] go to that URL, select 'Wiki', and go to Special:AbuseFilter [23:37:29] http://www.webdeveloper.com/forum/archive/index.php/t-74982.html [23:38:53] i got it :) [23:39:47] TrevorParscal: I wrote the code, see if it works :D [23:40:03] werdnum: http://commons.wikimedia.org/wiki/Tango_icons [23:40:11] use those icons instead of whatever you have [23:40:12] To test, type some nonsense into the field at the top, and click "Check syntax" [23:40:14] PLZ! [23:40:32] TrevorParscal: Where, on my laptop? ;/ [23:40:42] :/* [23:40:53] it worked [23:40:56] wanna see!? [23:40:58] sure [23:48:24] 03siebrand * r46109 10/trunk/extensions/Wikidata/OmegaWiki/SpecialSuggest.php: Removed duplication of annotation types. Submitted by malafaya. [23:49:23] when trying to install GeSHi highlighting ( http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi ) ... i get the following error: [23:49:53] 03werdna * r46110 10/trunk/extensions/AbuseFilter/edit.js: Semi-working IE support for selecting the location of a syntax error. [23:49:53] *when adding tags to pages [23:49:55] Fatal error: Call to undefined function wfloadextensionmessages() in /home/exor/domains/projectxi.org/public_html/wikiprivate/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 288 [23:50:00] -- [23:50:09] where should wfloadextensionmessages be defined? [23:50:11] Jinx: how old is your MediaWiki? [23:50:28] possibly somewhat old... where can i check the version number? [23:50:34] TrevorParscal: Those icons are nice. [23:50:38] Jinx: Special:Version [23:51:02] 1.9.3 [23:51:51] Jinx: the extension you installed requires at least MediaWiki 1.11, which is also out of support. We recommend you update to MediaWiki 1.13.3 [23:51:57] so... not the most recent. is upgrading easy? [23:52:01] !upgrade [23:52:01] --mwbot-- http://www.mediawiki.org/wiki/Manual:Upgrading [23:52:44] oops [23:52:53] i didn't even notice it said 1.10+ required [23:53:08] sorry then... i guess i'll get working on updating [23:54:46] how should I do to retreive page_title from the pages table in mysql and display it properly on a site using utf8? (it has latin1_bin as encoding in mysql so `� and other special chars look weird). [23:55:46] does mediawiki has some kind of decoding function? the wiki page displays the char correctly in the header (and the html document is utf-8 there as well) [23:56:28] tomaszf: see today's xkcd :D [23:59:43] 03werdna * r46111 10/trunk/extensions/AbuseFilter/AbuseFilter.parser.php: Fix notice in a corner case. [23:59:48] werdum: mwhaha .. i love the water cross cost .. make me remember oregon trail [23:59:59] oh no, not another one.