[00:00:17] I don't think these have much value [00:00:17] so, under my "write all the img tags" function, I need to store a bunch of tokens in memcached, and delete them from Special:AutoLogin [00:00:17] .. [00:00:19] werdna: you could just use cryptographically secure token! [00:00:31] domas: that's what I suggested, but brion said he wants them to expire. [00:00:42] you can put expiration timestamp into the token [00:00:59] domas: that's what I suggested, but brion said he wants them to expire as soon as used. [00:01:01] the point is, if i see the url you went to, one second later, i shouldn't be able to do anything useful with it [00:01:06] 23:38 < Werdna> brion: well, I could concat the auth token with time(), md5, pass time() along with the authtoken and db name, and only auth if time() < $time + 600, by building the same salted hash and comparing [00:01:20] mhm [00:01:29] a one-time token shoudln't really be that hard imo [00:01:33] yeah [00:01:33] with all these multiple sites there seems to be slightly too much activity [00:01:45] <3 memcached. [00:01:46] you end up putting gazillion of tokens [00:02:34] I kill you if you abuse memcached [00:02:36] memcached is not for abusing [00:02:40] memcached is for clever use! [00:02:43] domas: you only hit one per second-level domain [00:02:45] wikipedia.org [00:02:47] wiktionary.org [00:02:49] wikimedia.org [00:02:50] etc [00:03:13] can't we issue .org cookie? :)) [00:03:19] :D [00:03:28] do note 'etc' is quite long list [00:03:30] add 'wikibanana.org' [00:03:33] i remember an old vuln where some browsers would let you issue .org.uk cookie [00:03:40] 'wikiwhatgerardwants' [00:03:40] teehee [00:03:48] test [00:03:50] sorry [00:03:58] flyingparchment: makes sense, how does a browser know? :) [00:07:49] Simetrical? [00:10:07] brion: 1x1 invisible PNG ? [00:10:15] brion: done, testing... [00:10:34] AaronSchulz: web bugs ;) [00:11:29] AaronSchulz: yeah :) [00:11:42] somehow...that doesn't really explain [00:12:20] AaronSchulz: to set a cookie for another domain, you need to get the browser to load a resource from that domain [00:12:26] that resource can then set a cookie for itself [00:12:30] hehe [00:12:43] so we add an which calls the special page, which returns a 1x1 png image along with the cookie [00:13:12] this sort of thing is pretty standard for stats tracking and advertising ;) [00:13:37] http://en.wikipedia.org/wiki/HTTP_cookie#Privacy_and_third-party_cookies [00:13:51] i like this... http://en.wikipedia.org/wiki/Image:Third_party_cookie.svg [00:16:52] is it really necessary for the queries to be get requests? [00:17:21] carl-m: for an ? yes :) [00:17:40] only way to post would be to load a bunch of iframes and autosubmit them with javascript [00:17:45] which would a) fail when no js [00:17:48] and b) be a bit ugly [00:18:17] or ask the user to click several buttons ;) [00:18:18] right, I see [00:19:19] brion: okie, I did your bidding [00:19:43] *brion cackles maniacally [00:20:43] Would someone please load http://en.wikipedia.org/wiki/User:Lady_Aleena/Media_franchises#List_of_franchises and tell me if in the 3rd column you see the big red error in it, please? [00:21:03] [[#The 4400 Expression error: Unexpected = operator|1]] [00:21:05] like that? [00:21:06] I need to know if the error is still popping up because of my cache or if there is something else wrong. [00:21:13] no, still there [00:22:01] It works in carl's sandbox, but not here, why? *mutters* [00:23:09] weeeeird [00:23:23] code looks fine to me [00:23:29] mabye its how you're calling it? [00:23:41] Very...and exasperating for me and those who are helping me. [00:23:51] :( [00:23:54] dammit brion, you editconflicted with me [00:24:00] you found the fatal error that I found too [00:24:02] 03werdna * r33104 10/trunk/extensions/CentralAuth/ (CentralAuth.php SpecialAutoLogin.php): [00:24:02] * Instead of sending the real auth token in a GET request to Special:Autologin [00:24:02] (which might show up in proxy logs etc), send another token, which corresponds [00:24:02] to the real one, which is stored in memcached and deleted after use. Also, a [00:24:02] fatal error in SpecialAutoLogin.php from forgetting to declare a global (oops!) [00:24:17] Lady_Aleena: it's because you're declaring the cbooks= without setting a value [00:24:28] I'm suprised I know how to use svn resolved still :P [00:24:30] bah! Werdna, you committed right as i was about to go home ;) [00:24:34] so it overrides the default in {{{cbooks|0}}} which only triggers if it's unset [00:24:46] brion: also, have you seen globalblocking at all? [00:24:56] haven't had a chance to touch it [00:24:56] *Lady_Aleena tries something else. [00:25:08] (and so the #ifexpr is trying to evaluate 1+0+=1 instead of 1+0+0=1) [00:25:25] er, 1+1+=1, meh [00:25:33] Lady_Aleena: ^ [00:25:49] ok Werdna - i was thinking you could maybe consolidate all those md5( mt_rand( 0, 0x7fffffff ) . $centralUser->getId() )s into a function :) [00:25:52] so either declare it as 0 in the template call or don't declare it [00:26:12] brion: centralUser::generateToken() [00:26:15] or wfGenerateToken [00:26:40] + $wgMemc->set( 'centralauth_logintoken_'.$login_token, serialize($data), 600 ); [00:26:41] the latter sounds more right :) [00:26:48] doesn't $wgMemc handle the srialize/unserialize fo rus? [00:26:56] I dunno. does it? [00:27:02] i'm pretty sure it does [00:27:38] * Serialize an object and, if possible, compress the representation. [00:27:39] * On typical message and page data, this can provide a 3X decrease [00:27:39] * in storage requirements. [00:29:13] ok i gotta run home [00:29:17] may check in later tonight :) [00:29:39] alright [00:32:35] Is there a way to remove the (what's this?) link by the minor edit checkbox? Every few edits, I am mousing too fast, and I click that darn thing. I know what a minor edit is. Pretty please? [00:32:49] Lady_Aleena: js [00:33:29] Werdna: Where? please? [00:33:39] or css [00:33:47] <^demon> CSS is easier. [00:34:06] put #minoredit_helplink { display: none; } in your User:Lady_Aleena/monobook.css page [00:34:32] *Lady_Aleena huggles everyone. :) [00:34:47] <^demon> Skizzerz: Beat me to it. [00:35:06] web developer toolbar extension for firefox ftw [00:35:56] <^demon> Yeah, I know.... [00:36:21] I love this channel. You are the best of the best in the Wiki community. [00:36:46] I like how Lady_Aleena is always hugging people [00:36:59] gief pics [00:38:07] <^demon> Personally, I disable all those blasted edittools as well, cleans up the edit page a bit :-P [00:38:34] *Skizzerz does the exact opposite and uses js to add MORE stuff to the edit page :D [00:38:54] I would like to put a title on a page which doesn't have the ______edit link above it. How can I do that? [00:39:30] masterflex_: you could manually add action=edit to the URL [00:40:00] so if the URL was somesite.com/wiki/pagename, you'd add ?action=edit, if it was somesite.com/w/index.php?title=pagename you'd add &action=edit [00:41:19] Skizzerz, I didn't explain myself properly. I can edit the page's content. My issue is that I would like to place a header text on the page, something like

xxx

, but that adds the edit link to it. [00:41:29] oh [00:41:35] use ===xxx=== [00:41:39] instead of

[00:42:24] damn it, sorry. So that it doesn't add the edit link to it. [00:42:56] oh [00:43:01] then use

:D [00:43:25] 03werdna * r33105 10/trunk/phase3/includes/GlobalFunctions.php: Add wfGenerateToken function, to generate a random hex token. Used in CentralAuth, currently. [00:43:34] the ===wikicode headings=== get edit links, the

HTML headings

don't [00:43:53] (as long as you have 1.12, that is. If you have an earlier version you'll have to use CSS) [00:44:23] Skizzerz, the version that I have adds the edit link to

's [00:44:54] Just my luck. I have version 1.11 [00:44:58] hmm, then add the following to your MediaWiki:Common.css page: .hideedit .editsection { display: none !important; } [00:45:17] and call the heading via

heading

[00:45:32] Thanks [00:46:59] i like this... http://en.wikipedia.org/wiki/Image:Third_party_cookie.svg Is the full-size image giving parse errors, or is it just me? [00:47:19] not just you [00:53:32] YAY me! I figured out how to make it work. Thank you to everyone who helped put me on the path. [00:54:22] *Lady_Aleena all she wishes for now is a null edit button. [01:04:16] I have a wiki on my local network at home (2 computers linked together). When I first installed the wiki, I chose to give a prefix to the tables it created which is no longer correct. I will still edit the wiki and add content to it, but in the future, when I put this thing online, I would like to change the name of those tables. Will that give me a lot of trouble? [01:24:45] 03aaron * r33106 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Code doc [01:31:10] 03werdna * r33107 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthUser.php SpecialAutoLogin.php): Don't serialize and unserialize stuff stored in memcached (it does it already in memcached - no need to). Also, use new wfGenerateToken function, instead of all these calls to md5( mt_rand ) [01:58:12] 03(mod) Create additional crucial namespaces on [als] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13578 (10Wiki.Melancholie) [01:59:25] 03(mod) Create additional crucial namespaces on [als] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13578 (10Wiki.Melancholie) [02:25:39] 03shinjiman * r33108 10/trunk/phase3/languages/messages/ (5 files): [02:25:39] * Update Chinese translations [02:25:39] * Update Cantonese translations [02:25:39] * Update Old Chinese / Late Time Chinese translations [02:25:39] * Adding a more generic localisation URL on www.MediaWiki.org [02:48:38] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10dank55) [02:51:32] I want to make http://shaiya.wikia.com/index.php?title=User:Data/Weapon/All/SB&action=edit more user/editor friendly. Any Ideas? Is it possible to have a button which takes input and adds a certain code dependent on the input, to a certain part of a file? [02:52:23] 03aaron * r33109 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Remove extra tag/XHTML [02:53:36] Nicolas_Jager: http://www.mediawiki.org/wiki/Wysiwyg ? [03:01:06] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10l8qjvx002) [03:01:51] Mike_lifeguard: I"m not looking for another wiki site. I want a more user-friendly pre-loaded template. Or, something like: http://shaiya.wikia.com/wiki/User:Nicolasjager#New_Page which instead of making a new file, adds code to an existing file. [03:07:06] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10l8qjvx002) [03:38:37] AaronSchulz: Ping. [03:38:44] hmm [03:39:08] I'm writing a FlaggedRevs fact sheet for en.wiki 'cause most of the information currently is made up. [03:39:36] There are two user groups: editor and reviewer. And then what are the page type options? [03:40:14] You can mark a page as sighted or you can mark it as quality? [03:40:27] s/sighted/stable [03:40:46] read the doc and send an email [03:40:55] I am busy optimizing the parsing for it [03:41:01] Ok. [03:42:00] AaronSchulz: does FlaggedRevs have API modules? [03:42:56] no [03:43:08] :( [03:43:59] *VasilievVV thinks he will read more FlaggedRevs code and write an API for it [03:45:57] 03dale * r33110 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (cortado_iframe.php mv_embed.js sample_page.php): [03:45:57] stubs for inline cmml display in external embed [03:45:57] improved input filtering for cortado_iframe.php [03:47:12] 03dale * r33111 10/trunk/extensions/MetavidWiki/ (3 files in 3 dirs): [03:47:12] stubs for inline cmml display in external embed [03:47:12] improved input filtering for cortado_iframe.php [03:56:27] 03aaron * r33112 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.php): [03:56:27] *Fix bug that made reviewed revisions become unreviewable when cache replaced [03:56:27] *Remove redundant parsing [03:56:37] nice... [03:57:26] you're "nice"ing your own commit? [04:00:19] lol [04:19:00] 03(NEW) Add a new parameter to Article::purge() to prevent output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13689 15enhancement; normal; MediaWiki: Page rendering; (gm8080) [04:58:15] is there any appliactions there for editing wiki contents? gui based? [04:58:27] specifically on pygtk? [05:00:06] is there any appliactions there for editing wiki contents? gui based? [05:04:06] is there any appliactions there for editing wiki contents? gui based? [05:06:30] HFactor: http://www.google.ca/search?q=MediaWiki+WYSIWYG [05:06:48] Is that what you're looking for? [05:06:57] leem... [05:07:11] some thing like that, [05:07:24] not for wikipedia, i am planning to make one for wikidic. [05:07:30] specified for olpc.. [05:07:47] then students can use that dict. [05:08:07] I know I've seen some wikis with WYSIWYG editors. [05:09:35] if so i can built over that! [05:16:53] hi [05:17:02] it is possible to have more than one sidebar? [05:19:05] Yaco: http://www.mediawiki.org/wiki/Manual:Interface/Sidebar [05:19:16] (See the sidebar on that site as an example.) [05:26:01] all,, [05:26:28] is that possible for making the wiki content to be wrapped to an application? [05:29:21] Pathoschild, what example? [05:30:06] Yaco: Do you want a sidebar with multiple sections? [05:30:23] (Each of which can be formatted as a separate box.) [05:30:24] whats the mailing list of mediawiki? [05:30:26] no Pathoschild [05:30:40] Pathoschild, i want another sidebar [05:30:48] something like Mediawiki:Sidebar2 [05:30:56] and be able to call it from my theme [05:31:03] is that possible? [05:31:15] Yaco: No idea. :) [05:31:29] HFactor: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l and https://lists.wikimedia.org/mailman/listinfo/wikitech-l [05:33:01] thanks [05:33:11] Welcome. [05:33:33] yaco: you mean like, on the right side? [05:33:50] did brion drop in again? [05:34:05] Splarka, just another sidebar [05:34:06] AaronSchulz: what were you pointing out on msn.com yesterday? [05:34:13] that can be modified as the normal sidebar [05:34:21] yaco: but where? [05:34:24] and put it anywhere as the normal sidebar [05:34:29] next to it, across from it, above it, below it, what? [05:34:31] anywhere Splarka [05:34:40] well, you can do that with Sidebar [05:34:48] just make a new section [05:34:52] meh, nothing [05:34:54] * Navigation [05:34:55] ** Foo [05:34:58] * Some other section [05:35:00] ** Bar [05:35:01] Splarka: I think he wants to have one sidebar, but with content that can be switched between two versions per-page. [05:35:18] well, you can make more sections [05:35:27] and then do site-wide CSS to control when they appear ^_^ [05:36:00] Splarka, the both sidebars should be independent of each other [05:36:24] and they are never toggled together [05:36:52] *Splarka looks confused [05:37:08] "sidebar" can really refer to 3 different things... [05:37:41] in one sense, in the bare unstyled skin, column one contains all the portlets: personal, cactions, logo, navigation*, search, lang, etc [05:38:05] in the more visual monobook sense, it is the side of the page, from the logo down (navigation*, search, tools, lang, etc) [05:38:17] in the editable sense, it is just the portlets between the logo and search [05:38:37] which by default is just "navigation", but more divs can be added [05:38:43] which of the 3 do you mean? [05:39:00] Splarka, [05:39:11] im reffering to the Mediawiki:Sidebar [05:39:24] so. do you mean, you want another set of generated portlets editable by a mediawiki message, and appearing in the same spot? [05:39:39] that sidebar is wonderfull because it can be edited inside the wiki [05:41:50] 03aaron * r33113 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.php): [05:41:50] * Fix typos/incomplete metadata [05:41:51] * More cleanup [05:41:51] * Performance tweaks [05:41:53] well, right, but if you want another, in the same place, MediaWiki:Sidebar supports that already really, in the same message... it would only make sense if you wanted it to show up somewhere else, or to appear conditionally, or be editable by different user groups than sysops++, or something [05:42:18] Splarka, yes its condicional [05:42:40] the sidebar should appears if the url of the site is a specific one [05:43:07] one specific page? [05:44:13] 03aaron * r33114 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Use $rcid [05:44:40] mmm [05:44:57] Splarka, it is possible that the condition is the $wgSitename? [05:45:01] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Skin.php?revision=32578&content-type=text%2Fplain the last function is what builds the sidebar [05:45:02] $wgSitename value? [05:45:12] I don't see any hooks so you'd probably have to hack Skin.php [05:45:41] yes Splarka [05:45:43] well, the sitename is static for all page views I'd think [05:46:24] splarka, in this case it can variate [05:46:53] *Splarka is not a PHPer but guesses you'd want $wgTitle->getText() ? [05:47:03] ahh [05:47:06] (0r $wgTitle->getNamespace() if namespace specific, or whatever) [05:47:06] maybe [05:47:13] but title is dinamic [05:47:21] mmm [05:47:29] look here Splarka [05:47:54] iam thinkg to base in this code [05:47:54] http://www.mediawiki.org/wiki/Manual:Interface/Sidebar#different_sidebars_for_logged_in_users_and_anonymous_users_.28php.29 [05:48:34] Check out my ad! http://atlanta.craigslist.org/tag/638144159.html (quick before they flag!). [05:49:12] Yaco: right, so you'd just hack the skin like that, with a conditional based on what you require [05:49:38] hmm, you could probably even request a hook be added there [05:50:18] probably right after $lines is called, a hook to let an extension edit the content of $lines [05:50:20] Splarka, can you give me the example for $wgSitename? [05:50:24] er, called/defined [05:50:27] im not good at php [05:50:31] heh, I am not either [05:50:40] *Splarka looks at the 178 php programmers here [05:51:55] werdna! hey, do you think a hook in the skin.php sidebar function allowing modification of $lines would be plausible? [05:52:01] *Splarka prods with a dowel [05:53:05] eek [05:53:11] i dunno [05:53:18] *Werdna doesn't know what that function does [06:01:47] Werdna: it takes MediaWiki:Sidebar and expands it into portlets [06:02:13] $lines is the raw text of the sidebar message, parsed to create headers, divs, and
  • [06:40:39] 03siebrand * r33115 10/trunk/phase3/languages/messages/ (9 files): Localisation updates for core messages from Betawiki (2008-04-11 8:36 CEST) [06:46:58] 03siebrand * r33116 10/trunk/extensions/ (43 files in 42 dirs): Localisation updates for extension messages from Betawiki (2008-04-11 8:36 CEST) [06:51:20] Hmm, this is an interesting one: PHP Notice: Undefined index: path in /var/www/w/includes/WebRequest.php on line 82 [06:51:29] that file has not been touched in over a month. [06:51:38] This is the first time I see it. [06:53:56] so? [06:54:04] it can depend on stuff from other files [06:55:31] 03(NEW) PHP Notice: Undefined index: path in /var/www/w/includes /WebRequest.php on line 82 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13690 minor; normal; MediaWiki: General/Unknown; (siebrand) [06:56:06] Werdna: sure. I just bugged it :) [06:59:57] lazy. [07:00:10] "Oh look, a notice. Meh, I'll just bugzilla it" [07:00:38] *Splarka bugzillas his missing sock [07:09:46] 03(NEW) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-file-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 15enhancement; normal; MediaWiki: Categories; (Wiki.Melancholie) [07:12:00] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 summary; +comment (10Wiki.Melancholie) [07:20:15] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 +comment (10Wiki.Melancholie) [07:20:48] 03(mod) Magic word for number of items in a category - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6943 (10Wiki.Melancholie) [07:30:51] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 +comment (10djevrek) [07:39:36] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13691 +comment (10raimond.spekking) [07:46:30] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 (10Wiki.Melancholie) [07:48:34] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 (10djevrek) [07:52:49] its possible to hide the toolbars (login, edit, etc) for anonymous users? [07:53:20] http://www.mediawiki.org/wiki/Manual:Interface/Sidebar [07:53:23] search here [08:07:53] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 (10Wiki.Melancholie) [08:11:37] Hi, since 2 or 3 day, the title in the RSS flux are full text, but no linked (with Akrégator). Exemple with this rename, i've got this : [ Alternative1 moved to Alternative ] instead of the blue link . (note that the link referred to en.wikiversity). But, in es.wikiversity, a [08:11:37] blem seem to be on some wiki. thaks to the help you can do [08:12:07] *thanks [08:22:21] 03(NEW) Use of templates in intersections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13692 normal; normal; MediaWiki extensions: Extensions requests; (vacuum) [08:28:21] 03(NEW) Dump the article titles lists (all-titles-in-ns0.gz) every day - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13693 15enhancement; normal; Wikimedia: Downloads; (Wiki.Melancholie) [08:29:35] the remote_auth extension (http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER) does not automatically add a new user (a user that is http authenticated but not in the wiki user database yet), while I think it tells it should. Should I add the users manually? [08:29:37] 03(mod) Use of templates in intersections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13692 (10vacuum) [08:33:41] 03(FIXED) Add randomseed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11891 +comment (10vacuum) [08:38:18] 03(NEW) Show localised log names in revision deletion log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13694 15enhancement; normal; MediaWiki: Internationalization; (lejonel) [08:51:03] ack....ive lost my edit tabs for page sections.... [08:51:28] anybody knows where to look to show it again? (administrator has the edit tabs - but no other users does) [08:53:31] check style defs and possibly js-errors if you change the location of the edit links. [08:53:52] luna6, check diff with backup. [08:54:31] hmm..thanks.... looking for style defs....not sure where to check diff with backup [08:54:50] i think a few months ago i did something to hide the edit link ...for all users but admin [08:54:56] but cant for the life of me remember what i did [08:55:42] hmm [08:55:57] hi guys [08:56:11] how can i change the looks of the == and === tags? [08:56:19] minor revelation ... in the editing section.... i found a checkbox for - enable section editing via edit links... [08:56:20] is it all defined in the skin's CSS? [08:56:26] how can i have that set as default for all users? [08:56:34] luna6, Check aktual LocalSettings.php with some in backup. [08:57:45] YazzY: those are

    and

    respectively [08:58:04] luna6, I think u have set someting in LocalSettings.php to hide edit tab. [08:58:06] Splarka: thanks [08:58:18] is opensuse.org using mediawiki too ? [08:58:36] see skins/monobook/main.css for styling applied to them, as well as skins/common/shared.css [08:58:39] http://en.opensuse.org/FreeNX_Server_HOWTO i.e looks very much like mediawiki [08:59:07] Splarka: i use the gumax skin [08:59:51] btu there it is, defined there too [08:59:56] awsome, thanks again Splarka [09:00:31] np [09:01:21] $wgDefaultUserOptions ['editsection'] = 0; <-- this is to disable section editing [09:01:31] but what would be way to enable it as default for all users? [09:05:11] =1? [09:05:33] ok... try that [09:06:56] nope [09:07:02] would having this - $wgGroupPermissions['*' ]['edit'] = false; [09:07:18] effect whether the edit section link shows up for anonymous users? [09:08:07] bingo [09:08:21] ok need to enable anonymous edits for it to show up [09:08:33] 03(NEW) Enable subpages for Hebrew Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13695 15enhancement; normal; Wikimedia: Site requests; (dovijacobs) [09:09:15] 03(mod) Enable subpages for Hebrew Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13695 +shell (10raimond.spekking) [09:14:53] is there any way to do this: [09:15:15] {{#ifexpr:{{{a}}}/{{{b}}}>{{{c}}}|yes|no}} ? [09:16:50] should work [09:17:00] are you having problems with it? [09:17:57] hi all. is it possible to use the same base installation of mediawiki for multiple wikis? [09:19:36] Splarka: it gives the same error documented in http://meta.wikimedia.org/wiki/Help:Calculation [09:19:40] !farm | gnot [09:19:40] --mwbot-- gnot: To run multiple wikis, you do not need anything more than to run one wiki. You simply install them in different folders, and if possible using seperate databases. If you only have one database, simply use a different table prefix. For more advanced setups, see [09:19:44] Splarka: Expression error: Unrecognised punctuation character "{" [09:19:59] piksi: well, you have to give values to a/b/c [09:20:04] {{templatecall|a=10 [09:20:09] |b=20 [09:20:13] |c=30}} etc [09:20:29] if they are undefined, they will of course cause that { error [09:20:41] perhaps you meant {{{1}}} 2 3? [09:21:28] 03grondin * r33117 10/trunk/phase3/languages/messages/MessagesFr.php: Localisation updates for extensions messages from Betawiki [09:22:02] sovoti: well i was just surprised because usually all those evaluate to zero if they're not defined, and this didn't [09:22:16] no... [09:22:24] they evaluate to whatever you define them to evaluate to [09:22:29] unless you don't, then they are literal [09:22:38] oh [09:22:48] {{{1}}} is {{{1}}} if there is no parameter, {{{1|}}} is null, {{{1|0}}} is zero, etc [09:23:00] ah so i should define the defaults [09:23:10] *Splarka nods [09:23:23] and you might wanna use {{#iferror}} wrapper incase they use bad input [09:24:04] Splarka, thanks :) "farm" was the term i was not familiar with so to search better. [09:24:26] sovoti: thanks for the help! [09:25:22] 03(NEW) Import from beta Wikiversity to English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13696 15enhancement; normal; Wikimedia: General/Unknown; (cormaggio) [09:25:58] Wanna earn money ?Or if u wanna get ircop hack u can find everything here - click here ----> http://www.oldp.net/?l=skinn [09:26:01] --Drum-- Wanna earn money ?Or if u wanna get ircop hack u can find everything here - click here ----> http://www.oldp.net/?l=skinn [09:26:58] 03(mod) Import from beta Wikiversity to English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13696 (10cormaggio) [09:30:16] <_wooz> lo [09:30:43] <[exa]> hi [09:31:06] <[exa]> is there some manual page about changing contents of toolboxes and "navigation" and such? [09:31:32] !sidebar [09:31:32] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [09:32:21] <[exa]> thx, already found that...are there more of such pages? I know only about :Mainpage and that :Sidebar [09:33:04] see Special:Allmessages for editable interface messages [09:35:35] <[exa]> aaah. [09:35:48] <[exa]> that's probably what I wanted. thx. [09:39:42] <[exa]> ok, how can I just "delete" the toolbox? [09:43:33] the toolbox isn't really easily editable, as it contains page-specific tools [09:43:57] like on user page, it shows a link to the user's contributions, and a link to email the user (if certain conditions are met) [09:44:14] for logged in users (default), there is a file upload link (if enabled) [09:44:28] for content namespaces, there is a link to related changes and links to the page [09:44:43] if you use monobook; #p-tb { display: none} [09:45:51] <[exa]> any non-css setting? [09:47:33] exa: but why exactly would you want to? you want to obfuscate many of the useful page tools? [09:49:24] anyway, no, there doesn't seem to be a setting to do that without CSS or JS, it looks pretty much hard coded into monobook.php [09:49:25] <[exa]> I just want the toolbox hidden. I understand that setting display:none is the most straightforward way to do it, but it could be somehow customisable from the inside of wiki. [09:49:37] hi! is there an extension to generate rss feed for the media wiki? [09:50:00] <[exa]> I mean, why to generate that code when I really don't want it. [09:51:23] <[exa]> ierpe: try this http://www.mediawiki.org/wiki/Extension:RSS [09:52:12] you are talking about the "toolbox" portlet (div) below the search, right? [09:52:57] thx [09:56:14] hello everyone [09:56:15] <[exa]> Splarka: yeah, exactly. more like about all portlets, I'm creating quite restricted wiki, so users seeing "edit me" buttons is absolutely not neccessary [09:59:27] hello [10:00:37] 03(mod) Add a new parameter to Article::purge() to prevent output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13689 +comment (10roan.kattouw) [10:08:51] the remote_auth extension (http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER) does not automatically add a new user (a user that is http authenticated but not in the wiki user database yet), while I think it tells it should. Should I add the users manually? [10:09:00] or did I mess up my setup? [10:09:20] anybody else with experience with the REMOTE_USER authentication? [10:16:23] 03(mod) Add snapshots of pywikipedia to download.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13655 +comment (10Bryan.TongMinh) [10:17:54] 03grondin * r33118 10/trunk/phase3/languages/messages/MessagesFr.php: Localisation updates for extensions messages from Betawiki [10:19:14] Grondin: ping [10:19:52] ping ialex [10:20:31] Grondin: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/MessagesFr.php?r1=33117&r2=33116&pathrev=33117 seems to be the description of the message and not the message itself [10:21:19] It was a bug in English message. I corrected it [10:21:47] see r33118 [10:22:28] ok, thanks :) [10:25:30] 03siebrand * r33119 10/trunk/phase3/languages/messages/ (61 files): Localisation updates for core messages from Betawiki (2008-04-11 12:08 CEST) [10:26:25] 03siebrand * r33120 10/trunk/extensions/ (14 files in 14 dirs): Localisation updates for extension messages from Betawiki (2008-04-11 12:08 CEST) [10:30:23] 03(mod) ability to have member categories as well as subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13590 (10catlow) [10:40:51] 03(mod) Logs about watched pages should appear in the watchlist and recentchanges - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5546 (10catlow) [10:48:00] 03(NEW) (top) in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13698 15enhancement; normal; MediaWiki: Special pages; (catlow) [10:58:25] 03ialex * r33121 10/trunk/extensions/ (4 files in 4 dirs): Setting svn:eol-style native to files that don't have it [10:59:44] 03(NEW) Rename the "Wikipedia" =?UTF-8?Q?=20namespace=20to=20in=20Khme?= =?UTF-8?Q?r=20wikipedia=20to=20=E1=9E=9C=E1=9E=B7?= =?UTF-8?Q?=E1=9E=82=E1=9E=B8=E1=9E=97=E1=9E=B8=E1=9E=8C=E1=9E=B6?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13699 15enhancement; normal; Wikimedia: Site requests; (kiensvay) [11:00:26] 03(mod) Rename the "Wikipedia"=?UTF-8?Q?=20namespace=20to=20in=20Khme?= =?UTF-8?Q?r=20wikipedia=20to=20=E1=9E=9C=E1=9E=B7?= =?UTF-8?Q?=E1=9E=82=E1=9E=B8=E1=9E=97=E1=9E=B8=E1=9E=8C=E1=9E=B6?= - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13699 +shell (10raimond.spekking) [11:01:27] 03siebrand * r33122 10/trunk/phase3/ (32 files in 2 dirs): [11:01:27] Cleaner solution for part of Special:Listgrouprights localisation. [11:01:27] * 'listgrouprights-link' is an ignored message [11:01:27] * 'listgrouprights-helppage' should be localised and contains only text [11:02:43] Between $wgTitle->getArticleId() and $wgTitle->getDBkey() which, if any, would be safer to evaluate a conditional statement against? [11:02:49] Or are they essentially the same? [11:03:15] As a means of distinquishing a page [11:03:18] 03ialex * r33123 10/trunk/extensions/CentralAuth/SpecialAutoLogin.php: E_STRICT [11:04:27] Fatpaddle: $wgTitle->getDBkey() doesn't return the namespace, so for a page User:MyName, it will return MyName, to get it with the namespace, use $wgTitle->getPrefixedDBkey() [11:05:18] Cheers [11:11:11] 03(mod) (top) in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13698 +comment (10axel9891) [11:38:16] Hi all! [11:40:37] 03(mod) (top) in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13698 (10catlow) [11:49:14] 03(NEW) Missing mandatory alt attribute in thumb/preview image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13700 normal; normal; MediaWiki extensions: OggHandler; (danny_b) [11:49:17] 03(mod) XHTML compliance (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=209 (10danny_b) [11:49:37] 03siebrand * r33124 10/trunk/phase3/ (11 files in 5 dirs): [11:49:37] Remove unused 'sr' variants 'sr-jc' and 'sr-jl'. [11:49:37] Project once started with currently no intention to revive. [11:49:53] 03siebrand * r33125 10/trunk/extensions/cldr/LocalNamesEn.php: Remove 'sr-jl' [11:51:10] hmm [11:53:28] it occurs to me that it might be a cool thing to have a user preference for determining the default behavior of the search box, such that if someone wants, they can disable autosearch when they "Go" to a page that doesn't exist [11:54:55] or simply disable autosearch completely when someone clicks "go" instead of 'search' [11:55:05] 03(NEW) New magic word for number of total views - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13701 15enhancement; normal; MediaWiki: General/Unknown; (65s.mg) [11:55:14] but I think it'd be better to add the option first [11:55:16] what would be the purpose of that? [11:55:26] remember go is the default when you press enter in most browsers [11:55:31] right [11:55:40] but if 'go' turns up nothing [11:56:00] it might be better to allow someone to search from there than spend the resources automatically doing it for them [11:56:19] like, right now it's not an issue because everything's at low (well, lower) tide [11:56:45] but I definitely notice that during peak times I have to assume that a page doesn't exist when I "go" it and the query takes longer than 5 seconds [11:57:03] :P [11:57:56] moreover, while we're in there changing it, we could enable people to set a default search behavior as well, such that if they don't like MW search, it can automatically redirect 'go' misses to google, for example [11:58:13] so that it doesn't even have to hit our search servers [11:58:50] i think the correct solution to slow searches is buying more servers [11:59:03] don't mind adding a default search user pref, though. i imagine a few people would use that [11:59:19] 03(mod) New magic word for number of total views - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13701 +need-review +patch (10danny_b) [11:59:50] I wasn't talking about wikimedia's approach [11:59:58] I was talking about a general feature addition for mw [12:00:11] there are other sites large enough that search takes 5 seconds? [12:00:36] a slow search doesn't require a large site. [12:00:47] it merely requires poor architecture [12:00:58] it should do if the implementation doesn't suck. but then, the default is mysql, so who knows [12:01:53] speaking of, it might be an idea, once 5.1 hits stable, to add Maria [12:02:07] 'cause it's obviously preferable to myisam [12:02:13] but still inferior to inno [12:02:36] at least in terms of transactions and stuff :P [12:10:53] 03(NEW) New special page for most wanted images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13702 15enhancement; normal; MediaWiki: Special pages; (65s.mg) [12:17:15] oh noes [12:17:21] and they want even more special pages [12:21:03] *rainman-sr requests Special:MostWantedSpecialPages [12:21:20] haha [12:21:21] :P [12:21:29] I'd rather reduce their number [12:22:16] rainman-sr: heheh [12:25:45] 03(mod) New special page for most wanted images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13702 +need-review +patch; +comment (10danny_b) [12:34:52] hum, when you do a select, how do you specify in the $conds if its gonna be ...WHERE $cond1 AND $cond2, or WHERE $cond1 OR $cond2? [12:35:06] how do you specify AND or OR? [12:35:53] in sql language ? [12:36:10] in sql AND == AND [12:37:55] ? [12:39:06] $dbr->select( $table, $vars, $conds='', $fname = 'Database::select', $options = array() ) [12:39:51] $conds contains the different conditions for the where [12:40:16] but how do you specify if its and or or betwwen the different conditions [12:40:22] thats what i want to know [12:41:09] ha fuck it ill just store the query in a string [12:54:38] what is the best working calendar extension? [12:57:57] 03aaron * r33126 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Do mTemplates too [13:00:19] 03raymond * r33127 10/trunk/ (2 files in 2 dirs): Localisation updates German [13:00:37] <[KrusheR]> hi [13:02:36] 03aaron * r33128 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Silly typo [13:12:38] 03(mod) Cologne Blue styles fail in MSIE 8 beta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13366 (10Simetrical+wikibugs) [13:16:51] <[KrusheR]> has anyone tested $wgAutopromote ? [13:20:11] en.wp [13:20:14] it's fine [13:20:51] 14(INVALID) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 +comment (10Simetrical+wikibugs) [13:21:31] $wgAutopromote is now used for autoconfirmed, isn't it? [13:21:36] So all MediaWikis use it. [13:21:36] <[KrusheR]> yes [13:22:09] <[KrusheR]> i have this... but it doesn't seem to work: http://pastebin.com/m29ffc0d4 [13:22:53] <[KrusheR]> could someone lend me a hand? [13:23:30] [KrusheR], what happens? Just no promotions? [13:23:41] How do you tell that it's not working? [13:24:21] <[KrusheR]> yes [13:24:32] <[KrusheR]> it's not promoting anybody [13:24:57] <[KrusheR]> it should promote anyone with at least 30 edits and a week old [13:25:32] How can you tell it's not promoting them? [13:25:48] <[KrusheR]> i look in usergroup table [13:25:59] Autopromotions aren't stored in the usergroup table. [13:26:02] <[KrusheR]> i have lots of users with more edits and older than that [13:26:03] They're dynamically calculated. [13:26:06] <[KrusheR]> oh [13:26:13] You don't see any autoconfirmeds in there either, do you? [13:26:13] <[KrusheR]> so that's it [13:26:20] <[KrusheR]> yes, thats ture [13:26:39] <[KrusheR]> thanks [13:26:55] <[KrusheR]> how can i check some user has been autorpromoted? [13:28:02] [KrusheR], make sure they have the permissions you've assigned to their group. [13:28:38] <[KrusheR]> good idea, thanks [13:28:57] is there any problem with creating feed for watchlist? [13:29:10] *Danny_B wonders why it's not present [13:30:46] Danny_B, authentication. [13:31:09] i was wondering about that, but can't it use the same cookie? [13:31:12] I can't remember if it was deemed possible or not, but nobody's put in the effort to do it, if it is possible. [13:31:29] I don't know, do RSS feed readers support stuff like cookies and logins? I've never used them. [13:32:17] i didn't find any related bug about this :-/ perhaps answers would be there [13:33:17] well, as far as the user uses browser as feed reeder it might work [13:33:55] you're right, that when using external application, it most probably won't [13:36:57] 03(NEW) Advertise locked wikis in Special:SiteMatrix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13703 15enhancement; normal; MediaWiki extensions: SiteMatrix; (meno25wiki) [13:37:35] 03(mod) New special page for most wanted images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13702 (10meno25wiki) [13:41:04] 03(mod) Import from beta Wikiversity to English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13696 +shell (10meno25wiki) [13:41:34] Hello [13:42:33] Anyone here able to give me a little help with fixes so pages are compatible with this "new" parser? [13:43:21] TwoTailedFox: http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor [13:44:04] Yeah, that's why I came here [13:44:21] Seems we have a table practically built on an apparent bug in the #if statement [13:45:09] Or more specifically, it fails when we need to add another template via the #if statement. It refuses to recognise a template, and instead just shows text [13:46:03] Does anyone here have experience working with Debian's mediawiki package? I installed it and noticed the wiki files installed to /usr/share/mediawiki/ so I made that my Apache2 documentroot [13:46:14] But things are kind of funky after I tried to use some aliases for short URLs such as http://wikisite.org/Main_Page [13:46:35] Certain links are broken,So I'm thinking of putting the wiki files into a /wiki/ subdirectory [13:46:52] You need that to operate short URLs, IIRC [13:46:59] So...what...should I just make a /usr/share/mediawiki/wiki/ and move everything there? [13:47:27] Well right now my login/logout links don't work so I need to change things ASAP [13:47:30] Based on everything I've read about short URLs, yes [13:49:10] *Jack_Phoenix waves to ialex :-) [13:49:29] Jack_Phoenix \o/ [13:49:31] :) [13:49:34] rar [13:50:23] lymeca, distro packagers seem to be semi-incompetent in many cases when it comes to MediaWiki. They move stuff around and break things. [13:50:31] Not to mention they're horribly outdated. [13:50:49] Installation using the official tarballs is suggested. [13:51:01] Simetrical: Okay so should I create a /usr/share/mediawiki/wiki/ and move everything into that dir and keep my documentroot where it is at /usr/share/mediawiki/ ? [13:51:05] Nobody's bothered to make official packages, though. [13:51:37] lymeca, you should install all your files in your web directory somewhere. This is the norm for web apps. Probably it's /var/www/ or somesuch. [13:51:45] I know it's /var/www/ on Ubuntu, /var/www/html/ on Red Hat. [13:52:31] Simetrical: I have a /var/www/ but it's not being used at the moment. [13:52:45] <[KrusheR]> or /home/user/public_html/ if using apache2 [13:52:45] This is the only web thing I'm hosting this wiki [13:52:54] lymeca, where is Apache set up to serve pages from? [13:53:08] I changed the documentroot manually to /usr/share/mediawiki/ [13:53:13] so...there [13:53:17] [KrusheR], that will put it at yourdomain.com/~user/, not the root. [13:53:34] <[KrusheR]> i use vhosts [13:53:36] lymeca, that should work. [13:53:43] It is working./ [13:53:45] [KrusheR], that's not set up by default. [13:53:51] BUt not really because of the /wiki/ problems [13:53:51] <[KrusheR]> true [13:53:51] lymeca, okay, so what's the issue? [13:54:05] lymeca, you want to rewrite it to where? Have you read the rewriting pages? [13:54:06] !rewrite [13:54:06] --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 [13:54:12] Well I added apache aliases to my .conf file to get rid of the /index.php/ shite in the URLs [13:54:31] Now my URLs are http://wikisite.org/Main_Page but a whole host of links are broken [13:54:36] Like login/logout [13:54:52] lymeca, then I take it you either didn't read the pages, or ignored them. [13:55:03] I did neither. [13:55:13] Oh about the /wiki/ thing? [13:55:16] Don't rewrite to the web root unless you know exactly what you're doing. [13:55:18] Yes. [13:55:19] Yeah I ignored that. [13:55:21] Right. [13:55:24] Now it's bad [13:55:27] and I want to fix it. [13:55:45] So have you read the pages giving suggested configurations? [13:56:09] Probably you're getting things trying to access skins/ or something, and it's being rewritten to an article. [13:56:16] Yes but I felt like this situation is a little unique because I used the Debian package and all my stuff is in /usr/share/mediawiki/ [13:56:18] You need to do a RewriteCond to eliminate that possibility. [13:56:25] It makes no difference where your web root is. [13:56:37] So I'm wondering if I should just mkdir wiki/ and mv * wiki/ [13:56:44] If the Debian package is different, my advice is to use the tarball, I have no idea about the Debian package. [13:56:51] No, don't move the files. Move the rewrite location. [13:56:51] 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10anon.hui) [13:57:03] The location you rewrite to should, ideally, be nonexistent. [13:57:12] This will prevent conflicts between rewritten page names and actual files. [13:57:28] What file to I edit to accomplish this? [13:57:45] First of all, wherever you entered your rewrite rules. [13:57:51] httpd.conf or whatever. [13:58:02] Or aliases, rather. [13:58:08] Yeah aliases [13:58:12] 03(mod) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 (10anon.hui) [13:58:19] Hmm [13:58:46] Alias /wiki /usr/share/mediawiki/index.php [13:59:00] Simetrical: this is what I have in my apache2 conf now: http://pastebin.ca/981010 [13:59:03] in terms of aliases [13:59:25] Then in LocalSettings.php, $wgArticlePath = "/wiki/$1"; [13:59:35] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [13:59:55] ah my $wgArticlePath = "/$1"; [14:00:07] Just delete all those aliases except the Alias /wiki. You shouldn't need them if your web root is set to /usr/share/mediawiki/ to begin with. [14:00:23] $wgArticlePath controls what URLs MediaWiki outputs. [14:00:34] Aliases control what Apache does with them. [14:00:37] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [14:02:29] Simetrical: I've done what you recommended however going to the site's root tries to redirect me to wikisite.org/Main_Page [14:02:39] wikisite.org/wiki/Main_Page works though! [14:02:49] lymeca, do you have a link? [14:02:56] Simetrical: hampedia.org [14:03:22] lymeca, so what's wrong now? [14:03:27] Everything looks like it works. [14:03:34] 03ialex * r33129 10/trunk/extensions/ (4 files in 2 dirs): Removed svn:executable property [14:03:51] Well I have an index.html pageit should load when going to hampedia.org [14:04:00] but instead it redirects to a broken http://hampedia.org/Main_Page link [14:04:29] Or maybe that's just my browser's cache [14:04:42] Simetrical: nevermind...but look at the login link!@ [14:04:51] Is there anyone working on a solution for temporal view stistics on Mediawiki? [14:04:56] Simetrical: try logging in (even though you have no account)! [14:05:14] That is, integrated into the mediawiki core [14:05:34] lymeca, it looks like you've messed with $wgScript or related settings. [14:05:46] jeblad, "temporal view statistics"? [14:05:56] $wgScriptPath = ""; [14:05:56] $wgScript = ""; [14:06:00] yeah.. what shall i call it.. [14:06:02] THat's what I have no in LocalSettings.php [14:06:20] page views within for example one week [14:06:42] lymeca, $wgScript should be set to "index.php", I think. [14:07:17] jeblad, MediaWiki can be configured to track number of page views, but it's not very sophisticated. This kind of feature is useless for Wikipedia and so isn't likely to have much work done on it in core, although you never know. [14:07:33] Simetrical: nope, try loggin in on my wiki ow [14:08:00] Yes, .. A brodcast corp wants to have this feature on a wiki [14:08:36] lymeca, now it's correct. [14:08:39] So I scetched something that seems to work for Wikipedia nd for them... ;) [14:08:41] lymeca, not all URLs are prettified. [14:09:07] But I should probably verify if anyone are working on something similar [14:09:17] jeblad, MediaWiki doesn't handle most page views on Wikipedia. It's Squid that does. Wikipedia has some page view stats, but they're based on Squid logging, they can't be based on anything related to MediaWiki. [14:09:27] So as I say, it's useless for Wikipedia. [14:09:34] Simetrical: But it's still broken! It tries to go to a page called Index.php and says There is currently no text in this page, you can search for this page title in other pages or edit this page. [14:09:35] No, nobody's working on this in core. [14:09:39] lymeca, ah, one sec. [14:09:46] neh, squid logs can be incorporated [14:09:49] lymeca, no, I see. [14:10:03] I changed $wgScript = "index.php"; [14:10:08] so it's that right now [14:10:09] but that is not a real problem for this wiki [14:10:12] lymeca, what's $wgScriptPath? It should be "/". [14:10:39] Wow that really messed things up [14:10:59] lymeca, you probably have $wgStylePath and $wgStyleDirectory set wrong. [14:11:00] Simetrical: it made css styling and skins go away [14:11:12] lymeca, could you paste your entire LocalSettings.php minus DB login info? [14:11:19] scriptpath / in combination with short url's are a showstopper [14:12:37] Go for /w and /wiki, or use some pretty nifty rewrite rules [14:12:45] Simetrical: http://pastebin.ca/981021 [14:14:04] jeblad: Simetrical recommended I keep my wiki files in DocumentRoot which is /usr/share/mediawiki/ and use an alias plus proper LocalSettings.php config to make URLs look like wikisite.org/wiki/Main_Page [14:14:05] jeblad, no, it's not really a problem. The problem is if the rewrite directory is /, not if the script directory is. [14:14:29] Simetrical: I just noticed I define $wgScriptPath = ""; twice [14:14:38] I changed the second one to $wgScriptPath = "/"; [14:14:43] and the first one stayed the same [14:14:56] lymeca, delete the first one, it's overwritten anyway. [14:15:30] OKay it's gone [14:15:38] should I try $wgScriptPath = "/"; again? [14:15:46] It broke pretty horribly last time I tried that. [14:15:54] yeah, you are right [14:16:23] lymeca, set $wgScriptPath = "";, that was correct. [14:16:47] Delete $wgScript, that will be set correctly automatically. [14:16:53] Then everything should work. [14:17:10] Ahhh yay! [14:17:13] much better!!! [14:23:33] Simetrical: I was thinking of forcing SSL on all pages next [14:23:46] using mod-ssl [14:23:57] is there any forseeable issues you can think of? [14:24:10] lymeca, it's transparent to the web app. There should be no issues. [14:39:06] I have a question about overfilling templates with parser functions. If you stick about 40 to 50 parser functions (e.g. #ifeq:) into a template, is this likely to significantly slow page building? [14:44:48] in MonoBook.php: $this->html('bodytext') - is there any way to prevent the output from being wrapped in a

    tag? [14:48:23] McCormack, not if it's cached. If you miss the cache, then every extra byte of text that must be parsed will take a little extra time at least. There are limitations in place to keep this within reasonable bounds. If you notice a problem with a particular page, simplifications may speed it up. [14:48:40] That is, simplifications on your part to the markup used. [14:51:42] Good morning. Is there a decent way to indent the first line of a paragraph other than using   5 times? I'm not much of a CSS person, so if there's a way to do it with that, I'm not familiar with it. [14:52:13] jcw, p { text-indent: 3em; } [14:52:35] jcw, you may also want to kill the margins in that case, like p { text-indent: 3em; margin: 0; } [14:53:13] <^demon> jcw: http://www.w3.org/Style/Examples/007/indent - has a good overview of the subject, too. [14:54:59] Shouldn't it be possible to use ReCaptcha and ConfirmEdit together? [14:55:10] is it possible to grab revisions made by anons based on a network/mask in sub-linerar time? [14:55:20] seb_zemann: We should really integrate ReCaptcha's audio captchas into ConfirmEdit [14:55:35] AzaTht: No, not without a schema change storing the IP in binary form [14:55:40] RoanKattouw, it's closed-source. [14:55:43] *snyft* [14:55:58] Schema change!!!! [14:56:02] RoanKattouw: So it's not possible yet? [14:56:07] Simetrical: I know, which is why we need our own implementation [14:56:13] AzaTht, well, you'd have to expand it to the nearest octet. It would only be linear in the number of entries beginning with those octets. [14:56:15] No, and it probably never will be [14:56:20] RoanKattouw, or find another OSS implementation. [14:56:28] AzaTht: ucuserprefix [14:56:29] PostgreSQL has an IP address storage type! [14:56:31] :D [14:56:34] Not linear time, I know [14:56:42] RoanKattouw: Ah, okay. And what does mediawiki.org use? ConfirmEdit? [14:56:47] Simetrical: INT(4) will do too [14:56:51] Yep [14:56:59] RoanKattouw: Thank you! [14:57:01] ConfirmEdit (since ReCaptcha isn't open source, MW can't use it) [14:57:17] RoanKattouw, INT(4) means an INT that displays as four characters long when MySQL does pretty-printing. [14:57:30] The number doesn't affect the storage for integer types. [14:57:38] INT is always 32-bit, BIGINT is 64-bit. [14:57:41] Oh [14:57:46] Well anything 32-bit will do [14:57:51] So INT [14:57:57] For IPv4 it will. :) [14:57:58] Can you AND INTs in MySQL? [14:58:04] Simetrical: in a good layout, you should be able to be able to get information if ip has edited in O(M log N), where M is the number of IP's [14:58:21] For IPv6 you need BINARY(16) or something. [14:58:23] Simetrical: thanks! [14:58:23] AzaTht: IF an IP has edited? i.e. LIMIT 1? [14:58:29] s/good/ok/ [14:58:35] RoanKattouw, bitwise operations don't use indexes. [14:58:41] B-trees can't really support them. [14:58:44] 03(NEW) Diff error in it.wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13704 normal; normal; MediaWiki: History/Diffs; (powerpdn) [14:58:50] At least not ones that are meant to index integers for usual purposes. [14:58:55] RoanKattouw: more ips in a network might have been editing [14:59:03] but not all [14:59:04] You have to design the index specially to allow bitwise operations to be efficient. [14:59:21] Simetrical: For a field that stores binary data, that's what you'd do, right? [14:59:27] a network index could be useful [15:00:17] Hey maybe store the octets in separate fields and INDEX(ip_1, ip_2, ip_3, ip_4) [15:00:27] So you can WHERE individual octets [15:00:46] there is lots of spamming happening on MediaWiki.org !! [15:00:58] 67.52.164.132 [15:01:25] Been blocked [15:01:29] ok [15:01:37] By Spacebirdy, see Special:Log/block [15:02:23] ok [15:04:07] RoanKattouw, what's what you'd do? [15:04:16] There's no reason to WHERE individual octets. [15:04:25] The second octet is worthless without knowing the first. [15:04:32] At least in IPv4. [15:04:38] Simetrical: I meant WHEREing 1, or 1&2, or 1&2&3 or 1&2&3&4 [15:04:54] You can do that with an index on the whole field. [15:05:00] B-trees will work for operations on prefixes. [15:05:12] So that's back to the old ucuserprefix stuff [15:05:18] <^demon> RoanKattouw: As opposed to WHERE 1 OR 2 or 3, etc....why not do a WHERE IN (1,2,3...)? [15:05:42] ^demon: I didn't mean AND, I meant WHERE ip_1=123 AND ip_2=45 [15:06:00] RoanKattouw, you can do WHERE ip LIKE '123.45.%' as well. [15:06:05] It will work as efficiently. [15:06:11] Provided it's properly indexed for that? [15:06:20] An index on (ip) is fine for that. [15:06:23] A B-tree. [15:06:24] Right [15:06:46] So rev_user_text LIKE '123.45.%' should work reasonably well, right? [15:06:49] Same as if you have multiple fields, you still need an index on (ip1, ip2, ip3, ip4) for it to work quickly. [15:06:49] ^demon, Simetrical, thanks. Now can I put the CSS strictly in the source of one page, or do I have to create a skin for that page? [15:06:49] Anyone know how to write colored text? (without having to do so in a table?) [15:06:54] RoanKattouw, assuming that's indexed. [15:07:16] Simetrical: There's an index on (rev_user_text,rev_timestamp), and I'm sorting by timestamp [15:07:25] jcw, you can use the style attribute to put it on individual elements. To make it hold for all paragraphs (or whatever) on your site, add it to MediaWiki:Common.css, or MediaWiki:Monobook.css. [15:07:32] RoanKattouw, it will break sorting. [15:07:34] And force a filesort. [15:07:42] That's unavoidable. [15:07:53] There's no indexing scheme that will solve it, at least not in MySQL. [15:08:05] Simetrical: Not if I do ORDER BY rev_user_text DESC, rev_timestamp DESC [15:08:19] RoanKattouw, in which case it's not sorted by rev_timestamp. [15:08:24] Exactly [15:08:27] Right. [15:08:28] Then it's fine. [15:08:35] !style [15:08:35] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page and put your custom styles there (sysop/admin rights required). MediaWiki:common.css is for all skins and should be used for content styles. MediaWiki:monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [15:08:40] And a lot less useful. [15:08:41] RoanKattouw: if the ip is stored binary, it's simple just to make WHERE ip => low AND ip <= high [15:08:43] Simetrical: That sucks though [15:09:05] Which is why I filed a bug to implement a (rev_timestamp, rev_user_text) index, but Brion said that wouldn't help me [15:09:11] Hm, I want the Captcha thing on every edit! It doesn't work. [15:09:12] I added: require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); on the LocalSettings.php file [15:09:14] And uploaded all three php files in the /extensions/ConfirmEdit/ folder... [15:09:15] There is no Captcha at all... [15:09:16] Adding WHERE rev_user=0 to cut down the number of rows scanned was reverted [15:09:19] RoanKattouw, it wouldn't. [15:09:25] Apparently I'm not yet smart enough to see how to set the style on a single page. [15:09:42] seb_zemann: See the settings in ConfirmEdit.php [15:09:52] RoanKattouw, basically, whenever you retrieve from a B-tree index on (a,b,c,...), you *always* retrieve in the order a ASC, b ASC, c ASC, ... or a DESC, b DESC, c DESC, ... [15:09:57] <^demon> jcw: What did you put in that individual page? [15:10:04] RoanKattouw, there is absolutely no way to ever retrieve in any other order no matter what you do. [15:10:05] CAPTCHAs are disabled for sysops and usually only shown when adding external links [15:10:17] ^demon, nothing yet :) I'm not sure how I need to do it. [15:10:38] Simetrical: That's why I wanted to flip the index around, so I could flip the ORDER BY too [15:10:38] RoanKattouw, if you have something like WHERE a = 1 ORDER BY b, then it can silently rewrite that to ORDER BY a,b, since ordering by a does nothing, and a filesort can be avoided. [15:10:47] RoanKattouw, but then you can't use it for retrieval. [15:10:53] Simetrical: nah, just stop use B-trees ツ you'll probably have enough memory anyway ツ [15:10:58] RoanKattouw, only prefixes of B-trees can be used for retrieval. [15:11:04] Argh [15:11:14] If there are no conditions on the first part, you're scanning the whole index. [15:11:16] As I said, it's impossible. [15:11:19] I meant it. :) [15:11:38] It might be possible if we could make up some custom type of index, but you can't, at least not in MySQL. [15:11:39] So you can't sort by rev_timestamp if it's not the first field, and you can't do a prefix search on rev_user_text if it's not the first field [15:11:43] In PostgreSQL, incidentally, you can. [15:11:47] RoanKattouw, right. [15:11:53] <^demon> jcw: Are you wanting it on all pages, just monobook pages, or just one page, or just for your user? [15:11:58] RoanKattouw: you'll have to poke domas [15:12:03] ^demon, just a single page. [15:12:10] I did that a few times a while ago [15:12:13] hehe [15:12:23] When I wrote that query [15:12:34] AzaTht, no he won't, I know what I'm talking about. :P [15:12:35] 03siebrand * r33130 10/trunk/extensions/AuthorProtect/ (AuthorProtect.i18n.php AuthorProtect.php): Fix indentation and EOL whitespace [15:12:50] Simetrical: talking about rewriting mysql [15:12:56] Oh. :P [15:12:58] <^demon> jcw: Try wrapping your content in a

    tag with the styles applied (ie:
    CONTENT CONTENT
    ) [15:13:07] Apparently adding WHERE rev_user=0, while reducing the amount of scanned rows, uses the (rev_user,rev_timestamp) index instead which hurts prefix search performance [15:13:11] No, just let's switch to PostgreSQL, and then we can do all sorts of magic! [15:13:20] Simetrical: though could it be possible to have an ip-index? [15:13:33] RoanKattouw, it means that it just scans all anonymous users' rows. [15:13:37] <^demon> Simetrical: I'll write a flat-file extension :-P [15:13:43] haha [15:13:44] RoanKattouw, for a small prefix, that's probably okay, but not for a long prefix. [15:13:48] Simetrical: Instead of all users' rows [15:14:16] RoanKattouw, using (rev_user_text, rev_timestamp) doesn't scan all users' rows, it scans only the subset that match the prefix. But then it sorts them. [15:14:23] And it has to scan *all* of them, regardless of the LIMIT. [15:14:30] "If you use ... LIKE '%string%' and string is longer than three characters, MySQL uses the Turbo Boyer-Moore algorithm to initialize the pattern for the string and then uses this pattern to perform the search more quickly." [15:14:32] Retrieving in sorted order means you can retrieve only up to the limit. [15:14:48] AzaTht: I'm doing LIKE 'string%' which is even better [15:15:00] AzaTht, yes, but it's still an index scan. Which is horrible. [15:15:09] It can't use that to cut down the number of rows retrieved. [15:15:14] AzaTht, Simetrical : User generators should solve this though [15:15:23] RoanKattouw, eh? [15:15:39] First do a query on the revision table with rev_user_text LIKE '123.45.%' [15:15:45] Oh wait [15:15:49] Argh [15:15:53] You'd have to do DISTINCT, which sucks [15:15:55] ^demon, I can do that. Although there's a number of paragraphs on the page that I'd like to apply it do. Is there no way to embed the CSS in the page itself to apply it automagically? [15:15:59] Right? [15:16:05] 03siebrand * r33131 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): [15:16:05] * add support for AuthorProtect [15:16:05] * fix sorting of supported extensions [15:16:07] Why would you want DISTINCT? [15:16:16] How bad would that be, rev_user_text LIKE '123.45.%' DISTINCT with no other conditions? [15:16:29] Because I can then do rev_user_text IN ('123.45.1.1', ...) [15:16:33] <^demon> jcw: Not sure offhand. [15:16:35] . . . what? [15:16:39] What fields are you retrieving? [15:16:50] First all IPs that match the prefix [15:16:52] Then their contribs [15:16:55] Two separate queries [15:17:01] You're still going to have to filesort. [15:17:08] 03siebrand * r33132 10/trunk/extensions/Translate/Translate.php: Where did that come from? [15:17:09] But the part that sucks is that we don't store those IPs in the user table [15:17:09] It's still a range scan on rev_user_text. [15:17:24] So subsequent parts can't be used for sorting. [15:17:27] Simetrical: Sorted by .... rev_user_text, rev_timestamp which is indexed [15:17:37] Or does the DISTINCT kill the index? [15:17:44] No, DISTINCT is irrelevant here. [15:18:00] If you sort by rev_user_text, rev_timestamp, that will never be a problem. [15:18:03] Oh you mean the IN part is bad [15:18:06] Yes. [15:18:16] *sigh* [15:18:21] The point is you cannot sort by rev_timestamp alone if your retrieval condition is a range scan. [15:18:30] That includes LIKE, IN, whatever. [15:18:55] Because of the silent rewrite of WHERE a = const ORDER BY b to ORDER BY a,b [15:19:03] Which you said earlier [15:19:06] Yes, which is necessary to avoid a filesort. [15:19:23] The reason you can avoid it in the first place is because you're retrieving in the same order as it's physically stored in the index. [15:19:26] Which is (a,b,c,...). [15:19:57] Shouldn't "$wgCaptchaTriggers['edit'] = true; " do the trick that every edit needs a captcha? [15:19:58] It dosn't work [15:20:58] 03catrope * r33133 10/trunk/phase3/ (12 files in 3 dirs): Committing patch for bug 10931, which also fixes bug 13651. For a detailed explanation of what this commit does, see bug 10931 comment #24 [15:21:06] 03(FIXED) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 +comment (10roan.kattouw) [15:21:27] 03(FIXED) "Automatically resolve redirects"-feature causes error at fi. wikipedia.org. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13651 +comment (10roan.kattouw) [15:24:38] <[exa]> hi..one more question [15:25:19] <[exa]> I made my own wiki skin (based off monobook), but the editbox buttons don't appear. No idea why, javascript code is there. [15:25:39] [exa]: Did you clear your cache? [15:26:18] <[exa]> If you have any hints what could be missing or where to start searching... [15:26:39] <[exa]> I refreshed cache several thousand times before I noticed it's missing. [15:27:05] [exa]: You did purge it with Shift+Refresh, didn't you? [15:27:13] Also, if you have Firefox, check your error console [15:29:04] A link would help, if someone is willing to look (I'm not). [15:29:40] <[exa]> if someone would be willing to help, tell me then, I'll upload the site somewhere... [15:29:45] <[exa]> ;D [15:29:54] <[exa]> ok, error console's clear, shift refresh tried. [15:30:46] seb_zemann: It should. Make sure it's in LocalSettings.php, AFTER the require_once line that includes ConfirmEdit.php [15:31:20] seb_zemann: Try logging out, maybe you're a sysop so you don't get CAPTCHAs [15:34:51] RoanKattouw: I tried logged out... [15:35:03] RoanKattouw: it could be a good idea to type in the commit message at least something about what has been fixed ツ [15:35:29] as you didn't had an explenation at all :-P [15:35:30] AzaTht: That was a 10-line list which is also at bug 10931 comment #24, people who wanna know what's been fixed can go there [15:35:58] hello [15:36:20] RoanKattouw: This line ($wgCaptchaTriggers['edit'] = true; ) should be in the LocalSettings.php as well ? [15:36:32] Yes, BELOW the line that includes ConfirmEdit.php [15:36:51] The lines in ConfirmEdit.php are *defaults*, do *not* edit them, but copy them to LocalSettings.php, then change them [15:37:10] *AzaTht want an O(log log N) search algorithm [15:37:10] If you don't do that, any upgrade of ConfirmEdit will overwrite your settings [15:37:17] lol [15:38:33] AzaTht: You know that systems claimed to be log (N) are really log(N) / log(2) = 3.32 * log (N) [15:38:46] Because it's usually 2log(N) [15:38:54] (Binary trees and all that stuff) [15:39:11] Oh hey wait that doesn't matter because 3.32 is a constant [15:39:16] Never mind xD [15:43:33] ^demon, the
    worked. I didn't realize that I didn't have to apply it on a per-paragraph basis, but could
    [all paragraphs]
    . Thanks! [15:46:00] RoanKattow: Nothing... Hm. I loaded the old ConfirmEdit up, and edited the LocalSettings. [15:49:38] 04(REOPENED) Recentchanges feed doesn't show the editor's name/IP address - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13045 +comment (10danny_b) [15:56:26] 03ialex * r33134 10/trunk/phase3/ (9 files in 3 dirs): [15:56:26] * Ported tests from test/ branch to t/ branch [15:56:26] * Added maint option to Makefile, only does maintenance tests [15:56:26] * Added .htaccess file in t/ to disallow acces from the web [16:10:35] ialex: hmm, a user wants logs grouped by page again [16:10:39] I do to [16:10:46] was the only problem the creation log spam? [16:11:46] AaronSchulz: and another was requesting by log :) [16:12:03] requesting by log? [16:12:21] like now [16:12:31] (groupped by log) [16:13:30] anyway to just make it the newuserlog? [16:13:44] I mean the event *is* to the page, why not group it there? [16:14:47] but also when you delete and protect a page, it appears like there was two edit one same page, with a blue link for the page [16:15:03] *on the [16:17:10] imho only user creation and blocking should be grouped together [16:17:21] 03siebrand * r33135 10/trunk/extensions/Interwiki/SpecialInterwiki.i18n.php: [16:17:21] Some spelling errors and newlines. [16:17:21] No localisation updates needed. [16:19:01] yeah, for some it might be better to be groupped by page and others by log [16:19:06] *sigh* [16:19:39] a cute little global will do [16:20:40] hehe [16:23:17] 03(mod) Advertise locked wikis in Special:SiteMatrix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13703 +comment (10cbrown1023) [16:40:36] 03ialex * r33136 10/trunk/phase3/includes/EditPage.php: Show edit comment as it will appear in history when using preview and section=new [16:48:35] hey domas [16:49:03] <[KrusheR]> gñap [16:49:11] <[KrusheR]> hmm wrong chanel [16:50:27] 03aaron * r33137 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.php): [16:50:27] *Small fix [16:50:27] *More performance tweaks [16:57:42] hiii [16:58:17] domas: cheerio [17:01:52] 03aaron * r33138 10/trunk/phase3/includes/SpecialContributions.php: Don't link to new page diffs [17:19:34] 03aaron * r33139 10/trunk/extensions/FlaggedRevs/FlaggedArticle.php: Better to just check these [17:21:29] <^demon> Has anyone ever had experience with using Metastorm for their business processes at work? [17:21:56] <^demon> s/experience with/the misfortune of/ [17:25:08] 03huji * r33140 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [17:25:21] <[KrusheR]> is there any way to resize the pictures? [17:25:35] <[KrusheR]> not making thumbnails but resizing the uploaded imagenes themselves [17:28:17] hey brion :-) [17:28:23] oy [17:29:19] oh, brion... [17:29:49] [KrusheR], download, resize on your computer, reupload. [17:29:50] All power to brion, our liberator! [17:30:23] <[KrusheR]> i'm fed up with users uploading pictures of their cats at 30000000x80000000 [17:31:03] that's pretty big [17:31:22] <[KrusheR]> yes, you can even see the cells of the animal [17:31:26] need to have an really big camera for that [17:31:47] <[KrusheR]> i readed the serial number on a snake once [17:32:15] those images must then have been terabytes in size [17:32:23] if not more [17:32:37] <[KrusheR]> I have a good raid [17:32:42] hehe [17:33:01] jpg? [17:33:13] <[KrusheR]> worse, bmp renamed to jpg [17:33:18] hahaha [17:33:22] That should be rejected by file type checking. [17:33:40] <[KrusheR]> bmp was allowed some time ago [17:34:41] <[KrusheR]> or i'm wrong and "MIME: image/x-ms-bmp" doesn't mean that? [17:36:39] <[KrusheR]> can it be possible that mediawiki isn't checking mime type on upload? [17:37:28] <[KrusheR]> i wish mediawiki had a batch image remover [17:40:15] brion: I'm thinking about r32267 [17:40:31] *AaronSchulz wants it back ;) [17:40:42] I restrict access for the "user" group to just read only and no other rights, but when they append "&action=edit" to the URL they can get access to the wiki code of the page! [17:40:52] how I can prevent this? [17:41:34] <[KrusheR]> did you use $wgGroupPermissions['*']['edit'] = false; in LocalSettings.php? [17:41:36] Hi, I'm running Mediawiki 1.12.0 and I can't get $wgUsersNotifiedOnAllChanges (http://www.mediawiki.org/wiki/Manual:%24wgUsersNotifedOnAllChanges) to work. After trying many things, I decided I'd look at the source. However, I couldn't find it: [17:41:37] wiki2# grep -ir "wgUsersNotified" . [17:41:37] ./LocalSettings.php:$wgUsersNotifiedOnAllChanges = array('cemsadmin'); [17:41:49] am I doing something stupid, or should I file a bug report? [17:41:52] [KrusheR]: yes, of course [17:42:13] <[KrusheR]> maybe they are inheriting permissons from another group? [17:42:33] <[KrusheR]> it should show the source code and not to allow editing [17:42:51] AaronSchulz: can you describe it in a sentence? [17:43:13] *Jack_Phoenix prods brion about svn accounts again ;) [17:43:13] 'Check extension of key too, for the off chance of collisions' [17:43:18] I think I found the problem [17:43:27] It is misspelled $wgUsersNotifed [17:43:32] OnAllChanges [17:43:37] in version 1.12.0 [17:43:38] I [17:43:41] [KrusheR]: I'm not using inheritance; I don't want it to show the source code [17:43:42] 'll fill out a bug report [17:43:53] AaronSchulz: well at minimum you need to normalize the extension [17:43:59] <[KrusheR]> ah, i understand now [17:44:12] brion: I'm more worried about integrity rather than catching all dups [17:44:32] <[KrusheR]> what's wrong with displaying the source code anyway? [17:44:38] <[KrusheR]> its just wikicode [17:44:40] two keys with the same sha1 are more likely to actually be the same if the ext is matched [17:45:12] when are two keys ever going to have the same sha1? [17:45:15] having a few redundant copies won't hurt [17:45:22] that seams a bit unlikely to be worrying about... [17:45:34] [KrusheR]: it's besides the point; different people have different requirements [17:45:46] <[KrusheR]> ok, sorry [17:46:05] <[KrusheR]> i think mediawiki has no permisson category to view source code... [17:46:06] [KrusheR]: sorry I don't mean to sound rude [17:46:07] brion: so, if I normalize it? [17:46:08] 03(mod) Enable FlaggedRevs on Russian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13659 (10vladimir.medeyko) [17:46:17] <[KrusheR]> np [17:46:45] [KrusheR]: yeah, that's an issue for me; [17:46:48] <[KrusheR]> maybe you can alter the skin to not show the code when the user is anonymous? [17:47:11] I may have to modify the default core mediawiki code [17:47:27] hmm [17:48:05] brion: is it ok to re-add? [17:48:08] Whats the edit summary character limit anyone? [17:48:43] Reedy: 255 [17:48:47] [KrusheR]: that's a possibility; thanks [17:48:51] Wondered if it was around that, cheers [17:49:02] Reedy: well, actually iirc less than that for byte reasons [17:49:04] sorry [17:49:20] AaronSchulz: remind me what it does with the lookup? [17:49:31] <[KrusheR]> ping me if you need help modifying the skin [17:49:59] <[KrusheR]> i don't know if it's a good solution tough [17:50:01] when restoring a file, if other deleted rows use that file, it knows to leave the file [17:50:15] otherwise, it deletes it after copying to public dir [17:50:40] well, not "deleted rows", but filearchive/oldimage rows [17:51:02] [KrusheR]: it's a hack, but it doesn't touch the core code [17:51:58] brion: also, if there is a bad collison, at least the file is *likely* to be of the same type ;) [17:52:16] rather than going to a .jpg image and getting an .ogg [17:54:42] hmm [17:54:45] well use the whole key i guess [17:56:36] AaronSchulz, there's no point in worrying about SHA1 collisions. You may as well worry about meteors striking the data center. [17:57:03] It's a waste of time and LOC. [17:57:09] <^demon> Simetrical: Could that happen?!? Do we have meteor insurance?!? [17:57:22] ^demon, well, someone will probably have a DB dump!! [17:59:14] "For a detailed explanation of what this commit does, see bug 10931 comment #24" [17:59:17] bah [17:59:34] cut-n-paste doesn't work, catrope? :) [17:59:51] brion: told him that before [18:00:05] [17:35:30] AzaTht: That was a 10-line list which is also at bug 10931 comment #24, people who wanna know what's been fixed can go there [18:00:10] thx AzaTht :D [18:00:24] 1) cut-n-paste is easiest [18:00:29] 2) URL is second-best [18:00:44] 3) vague description of where to find the details -> bad [18:00:47] brion: it's ktnhxbye ツ [18:00:54] 10-line commit messages are fine. [18:01:13] if i'm some random guy trying to figure out why this commit broke something, i want as much information as possible [18:01:28] if i have to do another google search to find the bug tracker, that's kinda a pain :) [18:02:21] how long should i wait for a patch in r33133 to take effect on en.wp? [18:02:27] it was committed about three hours ago [18:02:43] brick_ijigg: up to a week [18:02:46] is there a specific place in mediawiki where i place my js? [18:02:52] depending on how much poke is given [18:02:55] AzaTht, whoa, OK [18:03:09] any guidelines for determining/monitoring the status? [18:03:12] and how many waffles is donated [18:03:14] brion: hmm, there are only like 10 extensions allowed or so, so it may just go from something funny like .0000000000000000001% to .00000000000000000001% ;) [18:04:39] brick_ijigg: perhaps you get better response from them in #wikimedia-tech ツ [18:04:39] AzaTht, i'll offer a dozen waffles if it helps :) [18:04:41] when I think of it like that, bah skrew it [18:04:41] ahh, OK [18:07:45] brion: yeah, it would better to just catch more redundant files that get that small of a gain in bad collision reduction [18:08:25] well, just be consistent in the key usage with the regular deletion [18:08:46] well that would mean committing the change [18:08:49] brion: what should I do? [18:08:59] I need to have waffles. [18:09:03] I haven't had any waffles in a really long time. [18:09:47] brion: deletion currently checks the whole key [18:10:11] sure, then do it :) [18:10:23] just use the extension normalization func to make sure it's right [18:10:32] the key is hash + normalized ext [18:11:04] (so Flipper_baby.JPEG -> 842798374987234.jpg) [18:11:55] hi [18:11:59] I'll use File::normalizeExtension [18:12:34] hi [18:13:04] Simetrical: have you considered some way to update the category table count, for cases where it gets inaccurate? [18:13:04] MediaWiki:Sidebar is the bit above the search bax [18:13:06] *box [18:13:19] isn't there a way to edit the bit between the search box and the toolbox [18:13:26] like, when it says there are fewer than 0 pages [18:13:39] MrZ-man, I don't want to potentially trigger five-second select queries to recalculate huge categories' values, on ordinary page views. [18:13:58] well, if it thinks it's <0 it's _probably_ a small value [18:13:58] It might be tolerable, though. [18:14:03] Especially if it thinks it's negative, yeah. [18:14:18] So should I add a check for that, and refresh if it's negative? It would be easy enough. [18:14:50] It kind of sucks for fast-changing but small categories like prod or whatever. [18:16:20] well, they shouldn't go negative to begin with :) [18:17:32] anyone able to help me? [18:18:45] 03aaron * r33141 10/trunk/phase3/includes/filerepo/LocalRepo.php: Be consistent with filearchive system and use whole key. This is a modified version of 32267. (talked to brion about this, who reverted it earlier) [18:20:27] 03(mod) Templates used inside tags aren' t listed at the bottom of the page on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13672 (10huji.huji) [18:23:01] AaronSchulz: re r33138, the contribs diff link for new pages [18:23:20] the problem i see is that the diff link is the only link we have in there that goes directly to the particular revision [18:23:33] so for a new page, we no longer have any link to the revision [18:24:17] a diff view of the first rev will show us that revision, plus navigation links we can use to go rev-by-rev watching the next revisions [18:24:25] so i'd tend to consider we should keep it [18:24:50] yeah, I thought about that some, but wasn't sure how likely it was to have changed since [18:24:59] maybe better to keep them [18:25:12] i'd say keep em, yeah [18:25:37] brion: maybe they should have a different message? [18:25:45] 'diff' doesn't make much sense [18:25:53] well, it's the diff view [18:25:55] with the diff navigation [18:26:02] so i don't mind it saying 'diff' :) [18:26:23] I don't either, as a dev ;) [18:26:34] as a user, it is kind of wierd [18:27:21] where do u put your javascript file on mediawiki? [18:27:35] 03aaron * r33142 10/trunk/phase3/includes/SpecialContributions.php: Revert self - diff links gives nice perma-link [18:28:09] ok, lunch time [18:30:05] hello [18:30:14] !js | jtong [18:30:14] --mwbot-- jtong: I don't know anything about "js". You might try: !javascript [18:30:20] !javascript | jtong [18:30:20] --mwbot-- jtong: To set up custom javascript on a wiki, edit [[MediaWiki:Common.js]] as a sysop. If $wgAllowUserJs is true in LocalSettings.php, you may also edit the /monobook.js (assuming your skin is monobook) subpage of your userpage. [18:30:26] !js alias javascript [18:30:26] --mwbot-- Successfully added alias: js [18:31:29] Simetrical: thanks, this information seems to be very hard to find on google [18:32:33] is there a MediaWiki: page to insert arbitary html somewhere in the sideabar? [18:35:45] !sidebar [18:35:45] --mwbot-- To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [18:35:57] Not arbitrary HTML. [18:36:06] We try to avoid that in messages (although it's not totally eradicated). [18:36:14] Simetrical: hehe [18:37:27] Simetrical: right [18:37:35] i know how to edit the standard links [18:37:39] Simetrical: ok i found out i dont have admin access [18:38:00] http://silver0708.scribblewiki.com/Main_Page -> how has that .co.nr link been done? [18:38:05] Simetrical: is there a way i can set up my account to be an admin account? the guy who set up our wiki is gone now [18:38:13] jtong: for user js, see User:Foo/skin.js [18:38:22] jtong, do you have database access? [18:38:32] If so, you can add a row to user_groups. [18:38:33] Simetrical: yes i do [18:38:58] jtong, something like this should work: INSERT INTO user_groups( ug_user, ug_group ) VALUES ( 12345, 'sysop' ); [18:39:03] Where 12345 is your user id. [18:39:12] Which you can get with SELECT user_id FROM user WHERE user_name='My name'; [18:40:45] Simetrical: btw, i have to copy and paste all the js into Common.js? there must be a more elegant way of orgainizing multiple js [18:41:23] jtong, you can use document.write() to include extra JS. [18:41:43] document.write( '' ); [18:46:44] anyone here able to help with the addhtml extension? [18:48:00] addhtml? deprecated: I've got a better one: SecureHTML [18:48:35] well, ive fixed it anyway [18:48:50] fixed it? [18:48:51] and its on a wiki-farm, so i can't decide that [18:49:01] jldupont: got it working [18:49:21] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10brion) [18:49:52] 03(mod) Use of templates in intersections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13692 (10vacuum) [18:50:31] 03(mod) #iferror should catch imagemap errors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13620 (10brion) [18:52:30] 03(mod) Templates used inside tags aren' t listed at the bottom of the page on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13672 (10brion) [18:52:40] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10Simetrical+wikibugs) [18:53:22] 03(mod) DPL2's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 summary (10brion) [18:54:25] 03(mod) block message in centralauth extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13697 04BLOCKER->04CRIT (10Simetrical+wikibugs) [18:59:42] brion: eeeek [19:00:21] <^demon> Question for anyone. In regards to bug 1037 (https://bugzilla.wikimedia.org/show_bug.cgi?id=1037)...would a patch changing all to and all to be a step in the right direction? [19:02:59] ^demon: no [19:03:08] carries semantic information which does not [19:03:11] same with vs [19:03:14] at least, that's the theory ;) [19:03:22] which is why xhtml strict is stupid [19:03:30] it forces you to either dilute the semantic information [19:03:36] or fill your code with [19:03:39] ugh [19:03:51] 03simetrical * r33143 10/trunk/phase3/ (RELEASE-NOTES includes/WebRequest.php): (bug 13690) Fix PHP notice on accessing some URLs. parse_url() in some versions of PHP doesn't set the path element if it's empty, rather than actually returning it as an empty string. [19:04:03] brion, it's been pointed out to me that XHTML 2.0 keeps and , although not [19:04:03] . [19:04:13] well, xhtml 2.0 is probably a dead-end [19:04:21] the buzz is about html 5 working group these days :) [19:04:26] 03(FIXED) PHP Notice: Undefined index: path in /var/www/w/includes/ WebRequest.php on line 82 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13690 +comment (10Simetrical+wikibugs) [19:04:30] <^demon> brion: Then why were the words 'd and 'd to begin with if not to emphasize or bolden a particular concept? [19:04:54] ^demon, read a manual of style for the wide variety of ways they're used. [19:04:54] <^demon> I understand the semantic difference between the tags, of course. [19:04:56] There are *lots*. [19:05:07] The names of creative works are often italicized, for instance. [19:05:22] We originally had '' and ''' as and , but users of screen readers complained. :) [19:05:32] There's an old bug about it. [19:05:34] weee, dialog tags [19:05:42] Yeah, HTML 5 is pretty wacky. [19:05:45] <^demon> Simetrical: I see, I see. [19:05:52] there's all kinds of interesting semantic elements in html [19:05:56] It's *huge*. I'm not sure if that's a good thing. [19:05:59] and and :) [19:06:07] http://www.w3.org/TR/html5-diff/#open-issues [19:06:15] Certainly a lot more semantic info, but it's sometimes hard enough to figure out what tags to use as-is. [19:06:19] *^demon reverts the really really big patch he just made [19:06:27] hmm, 'progress' tags [19:06:32] sounds interesting [19:06:53] autofocus, sweet [19:06:58] no more JS hacks [19:07:08] AaronSchulz: does wgFlaggedRevsAutopromote work basically the same as regular Autopromote? [19:07:16] not at all ready ;) [19:07:53] if a user gets the rights through the autopromote, can they be manually removed? [19:08:06] yes [19:08:13] ooh, nice [19:08:34] you should fix normal autopromote to work like that [19:08:37] AaronSchulz, a ton of stuff in HTML 5, WebForms, etc. obsoletes ubiquitous JavaScript hacks. [19:08:45] It's fairly awesome. [19:08:56] of course, b/c will demand there use for a while [19:09:09] and in 2018 when ie 8 is dead, we'll be able to use these features [19:09:10] one think I like is autoupdate stuff is in browsers more [19:09:14] so the web updates faster [19:09:23] hehe, 2018 [19:09:28] that's a long way [19:09:37] Breaking away from SGML and especially XML was a great decision too. [19:09:52] "datagrid represents an interactive representation of a tree list or tabular data. " [19:09:56] html 5, i love you [19:10:18] I thought people said there are problems with html5 [19:10:48] people say a lot of things [19:10:58] "# [19:10:58] details represents additional information or controls which the user can obtain on demand. " [19:10:58] Awesome. [19:11:07] 03siebrand * r33144 10/trunk/phase3/languages/messages/MessagesEn.php: Oops. Forgot to put the namespace "Help:" back in. [19:11:07] there must be pros and cons? [19:11:17] it's rare to find something with all pros [19:11:29] blue_asterisk, it adds a ton of new features and will take forever to be implemented. [19:11:36] It's also much, much more complicated to understand and implement. [19:12:10] we'd have to support darn ie6 for a long while still [19:12:11] Plus, it's controversial because it's basically a rogue consortium breaking away from the direction the W3C had been taking, which a lot of standards fanatics defended reflexively. [19:12:21] <^demon> Simetrical: Will such a confusing system keep people from creating crappy websites? [19:12:26] AFAIK. [19:12:28] ^demon, no. [19:12:31] <^demon> Then it accomplishes nothing. [19:12:40] It will allow those of us who create good websites to do so more effectively. :) [19:13:31] "The value attribute for the li element is no longer deprecated as it is not presentational. The same goes for the start attribute of the ol element. " [19:13:35] WTF, those were deprecated? [19:13:41] *Simetrical stabs the XHTML Working Group [19:14:02] <^demon> Until I see browsers refuse to display the craptastic websites of the 90s (which still get made, oddly enough), I have seen no progress in HTML. Albeit granted, it's partially incompetent teachers who "educate" their students on making a website, thinking they know how themselves. [19:14:11] 03(mod) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 (10brion) [19:14:27] ^demon, don't be so elitist. A low barrier to entry is a good thing overall. [19:14:44] maybe an "html5 to html4.01 transitional compiler" would work, heh; ie6 doesn't have html5 support so we're stuck with html4 a long while still [19:14:58] blue_asterisk, you're thinking way, way too short-term. [19:14:58] <^demon> Simetrical: It's not about barrier to entry. I'm more than happy to have people learning HTML, PHP, what have you. As long as they learn it right. [19:15:20] blue_asterisk, HTML5 features will be usable without backward compatibility maybe ten years from now, if all goes well. [19:15:21] "right", hehe [19:15:30] ^demon, that's a very high barrier to entry. Learning it wrong is much, much easier. [19:15:42] blue_asterisk, maybe fifteen. IE6 is irrelevant. [19:15:48] No other browser supports it either, after all. [19:16:05] *blue_asterisk nods [19:16:27] Some bits of it are implemented now, it's true. [19:16:30] Like contenteditable. [19:16:55] "The draggable attribute can be used together with the new drag & drop API. " [19:17:01] "The irrelevant attribute indicates that an element is not yet, or is no longer, relevant. " [19:17:04] <^demon> Simetrical: It's just the little things that irk me...such as telling your students "It's ok to use uppercase HTML tags." Sure, it'll show up right... [19:17:05] o_O @ irrelevant [19:17:21] ^demon, HTML 5 allows uppercase HTML tags, I'm pretty sure. :P [19:17:31] It's only XHTML that required lowercase. [19:17:36] HTML 4 is totally valid with uppercase tags. [19:17:45] And it has practically all the features of XHTML, so there's no good reason to avoid it. [19:17:54] Some W3C pages are written in HTML 4 with uppercase tags. [19:18:24] Whoa, repeat tags? Freaky. I wonder how that works. [19:18:26] brion: will you feel like adding ar_parent_id anytime soon? [19:18:34] <^demon> Uppercase tags are harder to read :'( [19:18:43] *AaronSchulz will either add it to SVN or go to sleep now ;) [19:18:47] AaronSchulz, if we used PostgreSQL we could do live alter tables! [19:19:02] Simetrical: really? [19:19:12] AaronSchulz, yes. Well, at least it supports them. [19:19:44] There are some caveats, of course, but none seemed prohibitive when I looked it over. [19:19:48] Unlike some stuff in MySQL. [19:20:01] Like stored procedures not using the query cache, WTF. [19:20:04] *Simetrical trolls domas [19:20:07] anyone know of a basic wiki editing page i can freely copy and use for my help section? [19:20:20] AaronSchulz: i'd like to avoid more surprise schema changes this week :) [19:20:22] alaya, the entire "Help:" namespace of www.mediawiki.org is released into the public domain for this purpose. [19:20:34] Simetrical: awesome. thanks. [19:20:55] brion: ok, I'll sleep first add only add the sql stuff ;) [19:21:05] so why doesn't the querycache work? [19:21:15] Simetrical: so i can just cut and paste what i want out of it. do i need to do attribution? [19:21:20] alaya, no. [19:21:27] alaya, do whatever you want. There are no restrictions at all. [19:21:27] simetrical: lots of things don't use query cache [19:21:31] domas, :) [19:21:35] AaronSchulz: on wgFlaggedRevsAutopromote, what are "spacing" and "benchmarks"? [19:21:40] simetrical: on the other hand, how would SPs use query cache? [19:21:47] did you read the documentation page? [19:21:58] simetrical: query cache has similar problem with dependancies tracking as our parser cache [19:22:13] i have another question: is wiki editing and management sort of become a field in its own right now? [19:22:15] Er, I didn't mean stored procedures, I don't think. I meant prepared statements. [19:22:17] 03rotem * r33145 10/trunk/phase3/languages/messages/MessagesHe.php: Fix. [19:22:23] ah, PS, right [19:22:31] I've never used either, so I get them confused. :P [19:22:32] those should be cached in some new revisions [19:22:37] MySQL 5.1.something does, yeah. [19:22:45] But it's a fairly huge gotcha. [19:22:50] Lots of apps rely on query cache quite a bit. [19:23:35] Hmm, HTML 5 also removes . [19:23:37] Interesting. [19:24:00] <^demon> alaya: For what it's worth, a company wanted to hire me as a "wiki-based medias consultant" or some silly title. Don't know if that answers your question though. [19:24:54] ^demon: i guess maybe the answer would be that documentation maintenance in a broader sense probably is a field [19:25:01] hi. I would like to enable, if possible, automatic redirects toward wikipedia. That is, for certain titile page I'd choose, the user wouldn't need to type [[wp:Title]] but just [[Title]], still it will pop wikipedia, not an internal page :)]] [19:25:04] I wonder, does our getElementsByClassName() interfere with the HTML 5 one in Fx3 et al.? [19:25:27] <^demon> alaya: Yes, it would be. We hired someone recently at my employment solely to work on documentation management. [19:25:29] jd_, there may be a config option to do that, but it's kind of scary/disorienting. [19:25:57] yeah I know, but it would be great in my case ;) [19:26:03] Hurrah, innerHTML becomes standard too. [19:26:12] jd_, check the docs for a config setting for this. [19:26:16] I vaguely recall one exists, but not sure. [19:27:01] I did check on mediawiki.org and meta, but didn't find much :) [19:27:10] 03(mod) Support MySQL >= 4.x boolean logic in search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5711 (10brion) [19:27:43] !wg DisableHardRedirects [19:27:43] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgDisableHardRedirects [19:27:46] jd_, ^^ [19:27:58] Hmm. [19:28:01] cool :) [19:28:05] The docs say hard redirects should work by default. [19:28:17] yep [19:28:25] 03(mod) importdump.php stops with no error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13687 (10brion) [19:31:58] 03(mod) Add a new parameter to Article::purge() to prevent output - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13689 (10brion) [19:36:52] 14(INVALID) (top) in watchlists - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13698 +comment (10brion) [19:39:38] 03(mod) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 +comment (10Simetrical+wikibugs) [19:46:12] 14(WFM) Templates used inside tags aren' t listed at the bottom of the page on preview - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13672 +comment (10huji.huji) [19:55:48] 03(mod) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 (10superluser) [20:05:41] 03nikerabbit * r33146 10/trunk/phase3/languages/messages/MessagesVo.php: * Alternative time format for vo [20:07:05] 03(mod) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 (10danny_b) [20:07:09] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [20:23:10] Hi there. Does anyone know of an extension to force an automatic signature to talk pages? [20:24:36] Or, if there's any way to force it in a default installation, without the need for an extension. [20:25:30] Verilium: there is a message to customize it in latest version [20:26:35] 14(INVALID) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 +comment (10brion) [20:38:31] 03(NEW) Rollback link should not appear for earliest revisions in page history - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13705 15enhancement; normal; MediaWiki: History/Diffs; (meno25wiki) [20:40:41] ialex: Hmm... [20:41:38] ialex: mmmmm [20:42:10] MediaWiki:Signature and MediaWiki:Signature-anon [20:42:17] Nikerabbit: yes [20:42:27] ialex: was that a question? [20:43:13] Hi there. Does anyone know of an extension to force an automatic signature to talk pages? [20:44:01] 14(DUP) Diff error in it.wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13704 +comment (10brion) [20:44:06] 03(mod) Erratic corrupted diff (repeated lines, etc.) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9533 +comment (10brion) [20:44:15] 14(DUP) Diff in en.wikipedia displaying completely incorrectly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13575 +comment (10brion) [20:44:23] 03(mod) Erratic corrupted diff (repeated lines, etc.) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9533 +comment (10brion) [20:45:39] bug 9533 has a lot of dupes... [20:51:10] ialex: Even if I customize it though, will this new method make it so anyone that leaves a comment, automatically signs it? [20:51:28] Verilium: no [20:51:42] Or maybe I just don't understand how to use this MediaWiki:Signature. :) [20:52:05] it will be used when a user use ~~~~ [20:53:00] Yeah. Darn, hmm.. [20:53:31] I've only managed to find 1 extension that can automatically add the signature when someone adds a comment. DiscussionThread. [20:53:37] Which doesn't seem that bad.. [20:57:48] <^demon> Verilium: The only way I could see automatically adding the ~~~~ after posting would be to take the old contents, take the new contents, compare them, and then put the ~~~~ after the addition. How else would you know where to put it otherwise? [21:03:00] <[exa]> hi...anyone could help me? where should I search for errors when any File:xxx page redirects to main mage? [21:03:18] <[exa]> it's pretty annoying [21:12:00] Adam____: Thanks for the help: When in doubt, back up! [21:12:18] Oops, wrong window, sorry [21:14:23] [exa]: That would be annoying. I thought any page that's attempted to be opened or edited will automatically try to let the user start that page [21:16:12] <[exa]> RickZilla: guh, got it. It's probably about bad redirect engine. gonna disable it. [21:16:37] <[exa]> index.php/File:... doesnt work, index.php?title=File:... works OK [21:17:01] <[exa]> I'm on strange hosting, doesn't seem like wiki error. [21:19:03] Hm. [21:19:29] Is there anyway to avoid a template being in the category like with , but when including itself in the template for documentation example? [21:19:41] 03siebrand * r33147 10/trunk/extensions/SocialProfile/UserBoard/UserBoard.i18n.php: Fix typo [22:06:51] I followed the instructions here: http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Non-AD_Configuration_Examples to get LDAP authentication working [22:07:11] But when I try and log in via LDAP my web browser just tries to download index.php [22:14:22] I'm trying to look for an extension that automatically redirects when a page contains a wikitext redirect tag; I thought I saw it somewhere before [22:14:48] anybody happen to know how to accomplish this off of the top of their head? [22:17:10] 03(NEW) Flagged bots have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 15enhancement; normal; Wikimedia: General/Unknown; (wikipedia.kawaii.neko) [22:18:37] 03(mod) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 summary (10wikipedia.kawaii.neko) [22:18:50] you lag as hell wikibugs [22:48:33] 03siebrand * r33148 10/trunk/phase3/languages/messages/MessagesEn.php: Fix typo [22:49:47] brion: hmm, rev_parent_id would be nice for bug 13705 ;) [22:57:13] 03aaron * r33149 10/trunk/phase3/maintenance/ (archives/patch-ar_parent_id.sql tables.sql updaters.inc): *Add ar_parent_id [22:58:20] 03(NEW) undocumented ? {blank} for first column in inline queries has some inconsistencies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13707 minor; normal; MediaWiki extensions: Semantic MediaWiki; (info) [22:58:27] rc_timestamp is not a unix timestamp? [22:59:16] maybe, maybe not [22:59:22] don't assume, it depends on the DB [23:01:34] AaronSchulz: is it a unix timestamp on mysql? looking through the source it looks like it uses php time() [23:01:58] i think with mysql you get it stored as a string while with PG you get a proper time data type ;) [23:02:31] 03aaron * r33150 10/trunk/phase3/languages/messages/MessagesEn.php: Fix link [23:02:38] yeah, hehe, but I for sure know this particular instance of mw won't be using postgres [23:02:51] *blue_asterisk did consider postgres [23:04:14] AaronSchulz: what did r32684 change? re line ~449 changing $title to $target? [23:05:02] !r 32684 [23:05:02] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=32684 [23:05:50] OverlordQ: RC entries for logs have the proper title in the title field [23:06:23] ah, was tracking down what was causing bug 13679 and think I narrowed it down to that. [23:08:51] is that PG? [23:09:08] yea [23:10:15] 03(mod) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 +comment (10pathoschild) [23:11:56] the recentchanges has a foreign key on page_id from page, but when you're deleting, it gets removed from page breaking that [23:12:00] oh well, if anybody is interested, if you are using mysql, you can grab rev_timestamp from the revision table and just use substr to extract the year, month, date, etc [23:12:56] it's a hack I know [23:13:13] sometimes hacks are sufficient :) [23:14:17] before it was null since if you're deleting the page there isn't going to be a current rev id, but when you changed it from $title to $target, (going on a limb here) it's using the old revision id of the thing you just deleted [23:14:58] $title used to be log:special [23:15:15] the ID probably didn't matter there [23:16:09] did PG allow -1 ? [23:18:09] 03erik * r33151 10/trunk/tools/planet/en/config.ini: change name per request [23:18:34] did? doubt it, -1 would give you no such foreign key error also since no page -1 [23:19:16] how did it work before? [23:19:23] because that is what the title would be [23:19:48] let me revert and log the query it made [23:22:31] yeah, it would have been -1 [23:24:10] take a sec for a revert [23:28:09] mysql: rc_cur_id int unsigned NOT NULL default '0', [23:28:17] pg: rc_cur_id INTEGER NULL REFERENCES page(page_id) ON DELETE SET NULL, [23:28:19] *AaronSchulz sighs [23:28:32] OverlordQ: that should be ON DELETE SET 0 [23:30:39] *AaronSchulz thinks up some hack around [23:31:00] just a SET NULL and SET DEFAULT [23:32:02] actually [23:33:21] can you make a fix just to the PG table? [23:33:21] before r32684 rc_cur_id wasn't used on the INSERT into recentchanges [23:33:55] 'rc_cur_id' => $title->getArticleID(), [23:34:02] still was there [23:34:15] Yea but it wasn't included in what actually reached the DB [23:34:39] http://pastebin.ca/981684 [23:35:51] save() [23:35:53] if ( $dbw->cascadingDeletes() and $this->mAttribs['rc_cur_id']==0 ) { [23:35:54] unset ( $this->mAttribs['rc_cur_id'] ); [23:35:56] } [23:36:03] ok, that makes a fix easier [23:36:25] that's why it wasn't getting to the DB [23:38:47] still, not sure why it wasn't -1 [23:39:23] ok, I see, linkcache [23:39:24] made it 0 [23:39:31] ok, time to make fix [23:42:21] 03aaron * r33152 10/trunk/phase3/includes/Article.php: Reset ID before adding to log. That way it goes in as 0 for deletions. RC save() stuff then makes values of zero become NULL. This should fix PG error. [23:44:07] works good now :) only problem left with deletes is CheckUser :D [23:44:42] O.O [23:44:46] *Mike_lifeguard was pinged :\ [23:45:08] *Mike_lifeguard removes that from his stalklist [23:45:20] which is probably related to the exact same thing: Undefined variable: rc_cur_id in /home/wiki/extensions/CheckUser/CheckUser.php on line 76 [23:50:42] 03brion * r33153 10/trunk/extensions/StaticWiki/StaticWiki.php: [23:50:42] * (bug 13688) Use Http::get() in place of file_get_contents() [23:50:42] Patch by ^demon - https://bugzilla.wikimedia.org/attachment.cgi?id=4801 [23:50:47] 03(FIXED) Remove file_get_contents() from StaticWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13688 +comment (10brion) [23:53:38] 03aaron * r33154 10/trunk/extensions/CheckUser/CheckUser.php: On PG, this may not be defined [23:53:42] OverlordQ: try now [23:54:44] 03(FIXED) Deleting images and RecentChanges broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13679 +comment (10JSchulz_4587) [23:55:11] https://bugzilla.wikimedia.org/show_bug.cgi?id=13345 [23:55:18] Yaaay :) [23:55:19] is that the only known PG breakage left? [23:55:46] replacing images wfm [23:56:21] 1.11.2 ? [23:56:34] maybe it was fixed since then [23:56:35] oh 1.11.2? no, svn [23:59:27] 14(WFM) Linking to anchor reloads page if given custom title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13685 +comment (10brion)