[00:29:22] 03aaron * r34606 10/trunk/extensions/FlaggedRevs/ (5 files): [00:29:22] * Refactor autoreview code [00:29:22] * Improve "0 changes" message [00:29:22] * Check $wgEnableParserCache [00:29:22] * Tweak variable names [00:29:57] 03(FIXED) Link changes in flagged pages do not update Special: WhatLinksHere - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14014 +comment (10JSchulz_4587) [00:30:04] 03(mod) FlaggedRevs caching/slave lag issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14029 (10JSchulz_4587) [00:30:20] 03(FIXED) Provide other FlaggedRev boxes for the case of a template/ image change, currently resulting in "0 changes need review" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14031 +comment (10JSchulz_4587) [00:34:12] 14(DUP) New parser breaks signatures inside gallery tags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13120 +comment (10brion) [00:34:20] 03(mod) Pre-save transform skips extensions using wikitext (gallery, references, pipe trick, subst, signatures) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2700 +comment (10brion) [00:36:20] 03(mod) Invalid timestamp in SpecialContributions.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14067 (10brion) [00:37:07] G_SabinoMullane? [00:37:30] *AaronSchulz points to bug 14067 [00:42:05] hi [00:42:21] hey [00:45:19] moin AaronSchulz [00:52:35] 03(mod) RSS feed for Special:Contributions/newbies - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6955 (10Wiki.Melancholie) [00:55:15] 03(NEW) Short notation links to subpages don' t work in edit summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14080 minor; normal; MediaWiki: Page editing; (wikimedia) [00:56:00] if I have upload_by_url permission, how do I actually do that? [00:56:08] Schroeder2: visit Special:Upload [00:56:16] yeah [00:56:18] I'm there [00:56:21] there's nothing different [00:56:25] hmm [00:56:41] set $wgAllowCopyUploads = true; in LocalSettings.php [00:56:47] !copyuploads [00:56:47] --mwbot-- I don't know anything about "copyuploads". [00:56:52] silly bot [00:57:22] http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Uploading_directly_from_a_URL for more info [00:58:01] ok, that worked [00:58:02] thanks [00:58:03] 03(mod) Show TOC on Special:SpecialPages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13862 +comment (10innocentkiller) [01:29:00] I have MW configured to allow me to import directly from Wikipedia with $wgImportSources[] = "Wikipedia"; [01:29:11] now how would I go about importing something not in the main namespace? [01:29:20] for example, if I put "Template:cleanup" in the box [01:29:45] In what file are the tabs (edit, history, discuss, etc) located? [01:29:52] I get "Import failed: Couldn't open import file" [01:30:35] shaiaqua: you mean their text contents? [01:30:41] they're in various system messages [01:30:46] Special:Allmessages will give you a list [01:30:58] no, the physical tab [01:31:02] I want to delete one [01:32:55] from all of your wiki? [01:33:26] which do you like xhtml+PHP or css [01:33:41] either or [01:34:10] hmm :( [01:34:21] ? [01:34:54] skin/monobook.php will show you the skin code [01:35:12] or you can edit Mediawiki:common.css to delete it [01:35:39] or you can delete it with your user style sheet on User:foobar/Monobook.css [01:36:04] and to add a tab? [01:36:10] same [01:36:48] to add is litle difficult than remove [01:37:22] common.css is empty? [01:37:28] you need to add your tab's to main.css [01:37:35] yes in default [01:38:33] see http://en.wikipedia.org/wiki/Mediawiki:common.css or somewhere you like [01:38:42] I don't see how the tabs can be written entirely in css [01:38:51] :| [01:39:23] read skin/monobook/main.css [01:42:43] *shaiaqua can't find more than margins and padding for the tabs [01:42:55] the key part is li { display: inline; } [01:43:02] that makes them go next to each other instead of in a vertical list [01:43:57] *shaiaqua is looking for where the tabs are written [01:46:58] Suisuisui: I can't find where the tabs are written in mais.css [01:47:30] ooh [01:48:12] main* [01:48:14] shaiaqua: should be #p-cactions [01:48:40] yup [01:49:25] there's not written a tab directry , writen with XHTML on skin/monobook.php [01:49:26] 03(NEW) Show section edit links on stable versions when there is a more recent draft - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14081 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (gmaxwell) [01:50:08] so you need to add a tab with dom and some js [01:50:15] or .. php [01:50:18] so changes have to be made to all skins.... [01:50:43] yes [01:51:08] (as I think) [01:51:20] adding tabs is done from the SkinTemplateTabs hook [01:52:36] making new extension :D [01:53:49] :) [01:55:00] *Soxred93 thinks his new extension is very useful, and should be installed on Wikimedia, but will not due to it being in beta and that he has a COI with it. [01:55:36] :| [01:57:55] that took me a while :| [01:58:56] hmm [01:59:40] My new extensions, not Suisuisui's. [02:00:24] what [02:00:26] ? [02:00:26] http://www.organicdesign.co.nz/MediaWiki_code_snippets#Adding_a_new_action_tab [02:00:59] Which I just realized means "is uisui" [02:01:15] never mind [02:08:01] 03dale * r34607 10/trunk/extensions/MetavidWiki/skins/mv_embed/ (3 files): [02:08:01] switched over to cortado r34333 from wikimedia [02:08:01] (includes a few bug fixes see oggHandler for details) [02:17:18] *AaronSchulz hopes G_SabinoMullane can look at bug 14067 [02:20:31] 03nad * r34608 10/trunk/phase3/maintenance/mssql/README: add some dev notes and other info [02:22:16] 03(NEW) Ajax search bug with complex IMEs - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14082 15enhancement; normal; MediaWiki: Search; (kjoonlee) [02:22:27] hi [02:24:08] 03(mod) Enable editors to control footnote ordering and to insert wikitex between footnotes . Also declutter article prose. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12796 (10maury.markowitz) [02:53:30] if I want to require /home/shaiaqua/public_html/w/extensions/Renameuser/SpecialRenameuser.php from /home/shaiaqua/public_html/w/LocalSettings.php, what do I put in the require? Everything I've tried so far has failed [02:54:39] shaiaqua: are /extensions and localsettings.php in the same folder? [02:54:41] Hey everybody, I'm having some API performance issues. Is anybody from that crew around? [02:54:55] yea [02:55:03] AphelionZ: heh, thats API ;) [02:55:16] o rly [02:55:21] is that a known issue? [02:55:27] that it's slow as heck [02:55:35] shaiaqua: and is your require variable the actual path, not the url? [02:56:12] *AaronSchulz has include_once('extensions/Renameuser/SpecialRenameuser.php'); [02:56:17] yea, I've tries $IP/extensions..., extensions..., /extensions... and all have failed [02:57:08] AphelionZ: WMF api? [02:57:11] what query? [02:57:20] still Warning: require_once(extensions/Renameuser/SpecialRenameuser.php) [function.require-once]: failed to open stream: No such file or directory in /home/shaiaqua/public_html/w/LocalSettings.php on line 147 [02:58:05] WMF = Wiki Media Foundation? [02:58:14] I'm talking about the one that comes packaged with 1.12.. [02:58:23] and also the Vodafone branch [02:58:47] shaiaqua: is actually there ;) ? [02:58:55] yea :p [02:59:09] what is the directoy? [03:00:39] /public_html/w/extensions/RenameUser [03:01:00] and localsettings.php is in /w/ ? [03:01:29] shaiaqua: are you on linux? [03:01:40] yea [03:01:51] it is and I am [03:01:56] include_once('extensions/RenameUser/SpecialRenameuser.php'); [03:01:58] do that [03:02:45] AphelionZ: what site is this? [03:03:03] *AaronSchulz isn't sure if that branch is stable :p [03:03:26] still no [03:03:46] working on http://wikibondev.org/wiki/v/Home [03:04:07] shaiaqua: so "/public_html/w/extensions/RenameUser" is where it is right? [03:04:23] yup [03:04:25] the case must be right [03:05:02] it is [03:05:17] do you have other extensions? [03:05:52] yes [03:06:02] oddly that is the only one complaining [03:07:22] AaronSchulz: here's a log file of API calls I use to load a single 'wiki' page on my site [03:07:24] http://pastebin.com/d13038fe7 [03:08:21] shaiaqua: what do those include statements look like? [03:08:25] *shaiaqua is confused [03:08:32] you want pastebin? [03:08:35] yeah [03:09:08] AphelionZ: do you have profiling on? [03:09:29] yeah, you can see it at the bottom of the page: http://wikibondev.org/wiki/v/The_most_telling_part_of_BT%27s_virtualization_strategy [03:09:57] it works now [03:10:06] ;) [03:10:16] shaiaqua: what did you change? [03:10:43] shaiaqua: note that if you get fatal error, you often need to purge the browser cache to retry the page [03:10:57] that might be it [03:11:47] AphelionZ: do you have one unified profiling page? [03:12:04] no, no i dont [03:12:08] i dont even really know what you mean [03:12:12] hehe [03:12:20] AphelionZ: you can use startprofiler [03:12:50] ohh the MW thing... does that work with the API? [03:13:04] i dont have access to the functions since im going at them through CodeIgniter [03:13:05] should, API, uses same DB class [03:13:23] i'd have to edit the API code [03:13:27] what are you trying to diagnose [03:13:29] why? [03:13:44] the API code already makes profile calls [03:13:51] you just have to turn on profiling [03:15:15] AphelionZ: anyway, slow queries should show up [03:15:22] ok, like in LocalSettings.php [03:15:29] i'll look up profiling in the documentation [03:15:37] AphelionZ: the documentation is lame [03:15:49] then tell me exactly what to do :D :D [03:15:51] AphelionZ: just go to StartProfiler.php [03:15:56] do what it says there [03:16:00] k sweet [03:16:27] then, you will want to SVN up probably [03:16:49] some of the profileinfo stuff was broken, so I had to fix it a while ago [03:17:27] my version right now is 1.13alpha (r33497) [03:17:29] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/archives/patch-profiling.sql?revision=33997&view=markup&sortby=date [03:17:34] then, run that query [03:17:34] where does the profile output go [03:17:54] where can I change to make tabs to empty discussion pages not add &action=edit? [03:18:05] you can make it go to a lot of places, but the above query is for a HEAP table [03:18:30] AphelionZ: make sure you replace /*$wgDBprefix*/ with the right thing, like mw_ or whatever [03:19:29] AphelionZ: yeah, SVN up [03:19:57] ugh I can't right now, no SSH access from my IP [03:21:10] AphelionZ: so after editing startprofiler, running that query, SVN upping, then edit localsettings.php [03:21:13] add $wgProfileToDatabase = true; [03:21:54] AphelionZ: when you say API, do you mean api.php? [03:21:59] or just general MW stuff? [03:22:07] well look at my logs [03:22:13] some of them im calling action=raw from index.php [03:22:19] and some of them im calling api.php [03:22:24] but I'm pretty sure I mean api.php [03:22:53] well, profiling covers it all [03:23:00] so when you get it up, it should show [03:23:05] ok cool [03:23:12] so yeah i just need to svn [03:23:14] i did everytihng else [03:23:27] also is that revision number for vodafone or for trunk [03:23:58] oh, yeah, is adminsettings.php set? [03:24:18] profileinfo.php! [03:24:33] naw i just got the sample [03:25:11] the sample should say what to do [03:27:03] alright, did that [03:27:09] AphelionZ: after that, add $wgDBprefix to adminsettings.php [03:27:10] profile table is already flooding with data :D [03:27:14] then set $wgEnableProfileInfo = true; [03:27:49] AphelionZ: do you have a prefix? [03:27:59] yeah its mediawiki_ [03:28:17] 153 rows in profiling table? sound about right? [03:28:32] if you don't feel like waiting to SVN up, you can make the 2 line changes to profileinfo now [03:28:41] ok i'll do that [03:29:39] Hi. [03:31:17] hello [03:31:23] Hi! :D [03:31:31] hiya, even [03:35:31] ok so If i run profileinfo.php, and filter by API I get: http://pastebin.com/d324dfd40 [03:35:37] Profiling error: [03:35:44] what does it mean? the API is just slow as hell? [03:35:44] indicates unmatched in/out calls [03:36:05] that is the fault of some API dev ;) [03:36:18] interesting [03:36:26] doesnt look like it takes up any time though? [03:38:27] sec [03:39:37] Im trying to use the LDAP Authentication plugin. My active directory is called domain1.local. What line to I specify the ip address of the Primary Domain Controller. [03:40:32] AphelionZ: so, is the problem just some slow queries, or are page views to slow? [03:40:47] the queries dont appear to be slow: http://wikibondev.org/w/profileinfo.php?filter=API&sort=time&expand= [03:41:33] but the page loads are just sooo sluggish and the codeigniter profiling tells me its taking upwards of 5-6 seconds per load, which, combined with upload/download speeds on peoples connections comes to a good 10-20 second page load [03:41:50] AphelionZ: do you have APC or eaccelerator ? [03:42:07] no..? [03:42:12] eeks [03:42:22] you will want to [03:43:35] really? the solution to this is to add yet another piece of software to the puzzle? [03:43:54] http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ [03:44:02] AphelionZ: PHP is kinda lame is some ways [03:44:11] it through the opcode away each hit [03:44:21] and redoes it next time [03:44:39] AphelionZ: eaccelerator is easy to install [03:44:52] haven't fiddled with APC, but thats what wikipedia uses :) [03:44:57] holy crap 217 down to 37 [03:45:08] so APC + eaccelerator eh [03:45:18] my logo disappears at times... [03:45:35] AphelionZ: well, one or the other :) [03:45:41] oh ok haha [03:45:49] CACHE_ACCEL is just a shitty constant name :D [03:46:02] 03(NEW) "The following 200 pages are in this category" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14083 15enhancement; normal; MediaWiki: Categories; (jidanni) [03:46:28] AphelionZ: also, set $wgMiserMode in localsettings.php [03:46:40] if you really want to avoid anything slow [03:47:11] what does that do [03:47:30] various slow/cruft features are turned off [03:47:33] wikipedia has it on [03:47:43] you don't really lose much [03:48:32] yeah [03:48:39] was gonna say, not a notable difference [03:48:44] but every little bit helps [03:48:53] this APC thing is gonna be cool I think [03:48:59] well, wikipedia would overload if it was off ;) [03:49:17] various filesorts and what not would melt our servers :( [03:49:23] hah [03:49:48] tbh i can live with a sluggish site, but once the timeouts start happening then my clients start calling and whining [03:50:08] my logo disappears if I don't also require it, any ideas why? [03:50:35] what about caching? does MW have anything like that? [03:50:45] memcaching? [03:50:46] and if so does the API benefit from it [03:51:03] AphelionZ: not much api.php caching [03:51:08] but pages can be cached [03:51:17] the HTML that is [03:51:21] well im rarely viewing wiki pages [03:51:31] your viewers are :) [03:51:36] HTML cache helps a lot [03:51:40] bring it on! [03:51:43] all of which can leverage off APC [03:52:14] but what i mean to say is that wikibon will be viewing all of the wiki content through the API [03:52:23] ahh [03:52:34] well, it really just depends on the type of query [03:52:44] we're going to leave access to the "vault" which will be the raw mediawiki install [03:52:52] most of API is fast, just some wierd queries/combinations that get really slow [03:52:59] but for the most part it'll be the /wiki/v/ codeigniter pages [03:53:16] AphelionZ: still, APC lets you use revision cache and diff cache [03:53:30] http://pastebin.com/d13038fe7 <-- yeah those are the main queries i'll be doing in loading a typical wiki article [03:53:31] useful if you have external storage or compress [03:53:35] *compression [03:53:46] or even if not, still better than DB hits [03:53:49] sounds great.. dont have either of those yet but i'm sure we will [03:55:29] alright so the next step is that i should be looking at APC huh [03:55:38] right [03:55:55] ok great [03:56:00] thank you so much Aaron [03:56:15] 03(NEW) FSRepo does not work well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14084 normal; normal; MediaWiki: Images; (mediawiki-bug) [03:56:32] AphelionZ: np :) [03:57:50] 03(mod) FSRepo does not work well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14084 +comment (10JSchulz_4587) [04:00:11] wow, you guys are really fast. i submitted a bug report, and there was a response within 1 minute. [04:01:05] thats what the bot is for :) [04:01:09] that's because we're all losers who sit on irc all day and watch the bot that posts requests here [04:01:35] oh river [04:02:23] lol [04:03:54] fp: WP:BEANS! [04:04:12] no, i'm pretty sure everyone knows that ;) [04:04:54] Splarka: baked or refried? [04:11:35] my logo disappears if I don't also require it, any ideas why? [04:14:04] is it possible to make broken links to talk/discussion pages not lead to the &action=edit? [04:14:54] *AaronSchulz was just talking to some guys [04:16:05] *AaronSchulz hugs flyingparchment [04:19:08] *shaiaqua waits patiently [04:19:48] hello [04:19:55] hi [04:20:16] alright, time for a drink [04:20:57] *shaiaqua continues waiting patiently [04:24:42] you don't sound very patient to me [04:25:32] :p [04:27:13] function makeBrokenLinkObj() in Linker.php handles it [04:28:00] looks rather hard coded eh [04:28:23] can I make that call makeKNownLinkObj()? [04:30:44] t broke [04:30:47] :( [04:32:10] 4[Lestaty4]: you is liar [04:32:29] :S lol [04:32:50] 4[Lestaty4]: cade o cara? [04:33:11] esquece... eu nao vou falar :P [04:33:35] 12[Lestaty12]1: seu egoista! [04:33:57] nao é egoismo é senso de educação :P [04:34:05] uia [04:35:15] didn't work :( [04:36:05] shaiaqua: try changing "$q = 'action=edit&redlink=1';" to "$q = 'action=view';" maybe [04:38:33] still no [04:46:38] *cry* [04:47:57] *Splarka shrugs [04:57:24] one can do $wgUser->isBlocked() to find out if a user is blocked, is there similar for checking if the user have the bot flag? [04:58:22] isBot() [04:59:20] doh. i searched for "bot " in User.php. thanks :) [06:12:21] 03nad * r34609 10/trunk/phase3/maintenance/sqlite/tables.sql: replace with newly generated version [06:13:24] how can I make [[Image]] link to an article instead of the full sized picture [06:13:44] !linkedimage [06:13:44] --mwbot-- I don't know anything about "linkedimage". [06:13:49] !imagelink [06:13:49] --mwbot-- Image linking is intentionally not supported in MediaWiki, so access to the image's description page is always available. If you need image links, see for methods and information. [06:13:56] *Splarka brainfarts [06:14:53] eh? [06:15:02] bit`: use [[:Image:someimage.jpg]] [06:15:28] hm [06:15:34] :Image? [06:16:03] yes [06:16:06] that would make the image render as a normal link [06:16:26] similar to linking to a category page [06:16:54] 03(NEW) Please switch to Wiki.png at lo.wiktionary.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14085 15enhancement; normal; Wikimedia: Bugzilla; (vienglao) [06:17:32] makes the image disappear [06:17:51] guess there's no such template for this wiki [06:18:11] leading colon just means to render as a normal link [06:18:12] [[:Image:Whatever]] is how you wikilink to a full sized image [06:18:24] what you want is a linked image, see the help link above [06:18:34] that one: http://www.mediawiki.org/wiki/Help:Linked_images [06:19:35] thanks [06:30:57] 03(mod) Increase rate limit for rollbacker group to 10 per minute - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10FastLizard4) [07:00:18] <_wooz> lo [07:00:37] hello [07:32:49] yarr [07:32:59] 03(mod) Gender switch in user preferences - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13040 (10xarak) [07:33:22] wb bit^ [07:33:33] all the nicks are taken on this server! [07:33:46] mah god [07:34:02] ok.. [07:34:51] bit^^: bit^ is available to be dropped, you can request it in #freenode [07:35:07] just /msg nickserv info bit^ [07:35:14] anything over 60 days can be dropped [07:36:24] thanks [07:36:26] so... is there any simple way to scale images like [[Image]] does [07:36:50] you can do a pixel value [07:37:00] that means? [07:37:00] [[Image:Example.jpg|250px]] [07:37:15] yeah, I mean without [[Image]] [07:37:41] http://cookiepedia.nfshost.com/index.php/Template:ImageLink [07:38:04] I need to get the height value somehow [07:38:17] not sure, my brain isn't the best at 4am [07:38:28] heh [07:44:03] hi [07:44:26] hello [07:46:45] dvb: What about asking your question :) [07:47:04] a question to table "flaggedpages" (flagged extension; used in dewiki): the version 44394454 of article "1397" was marked as "reviewed", the same version was two minutes unflagged (as unreviewed/unsighted). but the query "SELECT fp_reviewed, fp_stable FROM `flaggedpages` WHERE `fp_page_id` = 7287;" returns stil 1 and 44394454. [07:48:37] how do I know whether the newest version of an article is stil marked as reviewed? - fp_reviewed should be 0, but it isnt :/ [08:47:16] 03(mod) Invalid timestamp in SpecialContributions.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14067 (10N/A) [08:56:06] 03(NEW) Allow filtering user contributions by flags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14086 15enhancement; normal; MediaWiki: Special pages; (chenzhengwei2002) [09:02:28] 03(mod) Please switch to Wiki.png at lo.wiktionary.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14085 +shell (10raimond.spekking) [09:03:04] 03(mod) Configure groups in nowiki for access to Special:Unwatchedpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14079 +shell (10raimond.spekking) [09:05:19] erm. Trying to put a page with *a lot* of page inclusions has strange consequences, and the end-user interface is *not* good. [09:06:28] 1) if you put too many page inclusions in a page, but if you keep the number reasonable, the last page inclusions won't be included, but will be shown as blue links. Why not, but no notice is being sent to the user [09:12:36] view the page source [09:13:49] look for a comment indicating the transclusion/expensive parser function/node limits [09:15:35] 2) If you *really* try to put too many templates in the page, you'll get one of these http errors : 1) 503 (blue html error message, ERR_READ_TIMEOUT) 2) 500 3) 200 (White plain page) [09:16:25] mm yes Splarka that's what I found out searching in bugzilla... [09:19:32] the limits are there to try to prevent problems like that ^_^ [09:19:44] the timeout problem can come from too many links or too much text too [09:20:10] "no system is foolproof because fools are so ingenious" [09:24:39] (oh and the problem was "WARNING: template omitted, post-expand include size too large". ) [09:37:25] hello [09:37:43] Hi [09:38:29] NicDumZ: That's something that will never be fixed [09:38:41] That's an issue with the Old parser which has since been replaced [09:40:54] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 +comment (10cometstyles) [09:41:52] Dantman, and... the new parser is not yet on WM sites, right ? [09:44:00] Nope, it's running [09:44:55] The old Parser is depreciated /because/ WikiMedia is using it already [09:45:20] then I don't get you Dantman, that error is from fr.wp, and you tell me it came from the old parser ?! :) [09:45:37] bleh... [09:45:46] Gimme a page? [09:46:07] Dantman, http://fr.wikipedia.org/wiki/Utilisateur:NicDumZ/Test :) [09:47:31] Post-expand include size: 2048000/2048000 bytes [09:47:42] yes :) [09:47:57] ok, new parser [09:48:04] ahah :þ [09:48:32] But honnestly [09:48:39] That page there is insane [09:49:02] It is meant to be a Project:Translation watchlist page. It works for every languages but en: :þ [09:49:29] If it takes me over a minute to list out the source text of the page... It's to long [09:49:36] Much less actually showing the page [09:50:03] That page is so long, that people aren't even going to be able to read it. [09:50:27] If the PP doesn't break untill you add in that much data, I don't think it's broken at all [09:50:33] Dantman, http://fr.wikipedia.org/wiki/Projet:Traduction/*/Lang/it for example is nice. It's just not scalable for en: translations :) [09:52:45] The sollution here is not to change the parser... It's to be sane and split your data among multiple pages [09:52:53] indeedy [09:52:57] "foolproof" [09:53:04] hey Dantman and Splarka :) [09:53:14] *Splarka grrars at jack [09:54:00] Honnestly... The PP should probably cut out even sooner... To prevent output of pages with an insane ammount of input [09:54:12] oh, yes, and that's what I concluded by myself. I was not expecting anyone to change the parser for a this-extreme case :) [09:54:54] I honnestly think that the current behaviour for when the parser can't transclude is good [09:55:21] The reader is not meant to be given an error when the editor makes a bad move. [10:11:22] Dantman, no, the reader should not get an error. But the *editor* does not get an error. And it should perhaps warn him explicitely. Checking for the HTML source is not really user friendly ;) [10:11:54] Yup... but that's something outside the scope of the parser [10:12:10] ^_^ You're asking for a UI enhancement [10:12:31] Though, there is a potential issue with that [10:12:59] Wiki do migrate parsers, so there is potential for a wiki to switch and these issues go unoticed [10:13:14] Oh yes I should have made it clear, I was not whining about the parser behavior, just that the UI on parser limitations was not this good :) [10:14:03] easy to make a node parser JS that alerts you to any interesting comments... [10:14:20] might be a handy greasemonkey or gadget for mediawiki [10:15:20] just iterate recursively over the node tree and if .nodeType == 8, it is a comment, grab and parse the .nodeValue [10:17:38] Plug that into Popups maybe? [10:26:36] it'd be slow, heh [10:28:40] ahh, here it is: http://en.wikipedia.org/wiki/User:Splarka/showcomments.js [10:29:01] only checks for .search(/(NewPP|Served by)/) as is [10:29:33] could do it on all page loads looking for errors [11:20:21] 6 PHP Notice: Use of undefined constant FOR_UPDATE - assumed 'FOR_UPDATE' in /var/www/w/includes/Title.php on line 200 [11:21:39] aarons code, puh [11:21:44] heh [11:25:11] is it supposed to be GAID_FOR_UPDATE or what? [11:26:04] ./extensions/FlaggedRevs/FlaggedRevs.php: $title = $rev->getTitle() ? $rev->getTitle() : Title::newFromID( $rev->getPage(), FOR_UPDATE ); [11:26:07] another instance [11:27:28] 03nad * r34610 10/trunk/phase3/includes/DatabaseMssql.php: pages can render, but many operations break it [11:38:26] Hi. I want the User Tool Links to link to a Special:PM/[User] page instead of the Talk page. i think it's quite easy and i'm too dumb. atm it reads: $userTalkPage = Title::makeTitle( NS_USER_TALK, $userText ); [11:39:03] so in my logic it would replace NS_USER_TALK by 'Special:Pm/' but that doesn't owrk of course [11:43:05] ok got it. no worries [11:49:06] next problem: What is the best way to disable a namespace? For example I don't need User Talk. So is it better to restrict permissions or "$wgNamespaceAliases - override the default names for namespaces." [12:07:02] how can links to nonexistent talk/discussion pages be made not to go to action=edit? [12:19:45] shaiaqua: hax [12:20:29] to what? I can't find where that is writen [12:20:58] uh, grep source for redlink=1 [12:21:03] or something like that [12:23:40] 03(mod) Allow filtering user contributions by flags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14086 +comment (10dungodung) [12:23:46] \0/ [12:34:55] 03(mod) Allow filtering user contributions by flags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14086 (10N/A) [12:50:07] nothing came up [12:53:30] hmh i would liek to knwo that as well and would like to disable teh red user links. besides the fact that i use the extension "Keep you hands to yourself" i.e. you cannot edit other people's user pages. so every user link should be blue leading to the user page (existent or not) [13:05:12] AaronSchulz: hello [13:05:19] heya [13:05:23] hello all [13:05:24] 6 PHP Notice: Use of undefined constant FOR_UPDATE - assumed 'FOR_UPDATE' in /var/www/w/includes/Title.php on line 200 [13:05:40] one in core and one in flaggedrevs [13:06:07] *AaronSchulz isn't getting that. I'll try again [13:06:28] is it supposed to be GAID_FOR_UPDATE? [13:07:07] no [13:07:10] I'll just add define ( 'FOR_UPDATE', 1 ); [13:07:11] T_T I really need to find a way to notify myself when it's becoming late [13:07:13] can all broken links be made not to go to action=edit? [13:07:28] Why? [13:08:03] hey... anyone around? :)= [13:08:10] guess [13:09:55] meh, GAID_FOR_UPDATE is easier [13:12:20] i got a question: Has a []-Link any influence on Special:UnusedImages? [13:12:28] do you got an answer? [13:14:36] 03aaron * r34611 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevs.php FlaggedRevsPage.php): [13:14:36] * Fix constant [13:14:36] * Pass page_id to getRevisionTags() [13:17:59] shaiaqua: I'm checking includes/Linker.php you could solve your problem there. I want it ns specific which may be harder [13:18:22] I fixed it, you could probab;y do the same with an if [13:19:04] ie if the namespace iis NS_USER or whatever, return '' [13:19:11] 03aaron * r34612 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Uses a title now [13:19:14] yep but i'm a noob [13:19:22] :p [13:19:26] trial & error is hard [13:20:58] $wgArticle->getNamespace() is what you check against NS_USER, and you want to do this in linker.php line 242 [13:21:15] if it is true, make $q = ""; [13:23:25] what does your line 242 read? i changed Linker.php before already ;) [13:28:56] *Jack_Phoenix waves to ialex :-) [13:29:14] hi Jack_Phoenix :) [13:29:24] rar [13:42:55] 03(NEW) DPLforum extensions for Wikimedia Wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14087 15enhancement; normal; Wikimedia: Site requests; (matthias.spam) [13:45:41] 03aaron * r34613 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Slave lag [13:59:45] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10Thehelpfulonewiki) [14:02:33] Where is Noarticletext called from? You know "There is currently no text in this page, you can" when the page doesn't exist. I think it's very buggy that a user page of an existing page looks the same as if the user name wouldn't exist. So I want MW to differ those cases and display different text if NS_USER [14:03:01] 03ialex * r34614 10/trunk/extensions/Newuserlog/Newuserlog.php: Kill useless extension function, simply define that variables when including the file [14:03:15] **it's very buggy that an empty user page of an existing user looks the same as if the user name wouldn't exist [14:04:47] MONK3000: you can install ParserFunctions and then use {{#ifeq:{{NAMESPACE}}|User|... [14:06:03] on the MW message page? [14:06:19] yes [14:06:45] if you use 1.12, it works without any ugly hack [14:06:46] uuh, solves 2 probs of me at once. didn't think of it [14:06:57] yeah 1.12 :D [14:12:14] works perfect ialex. [14:13:48] although the same message appears now on User:NOTEXISTING and it still looks like the user exists [14:15:04] maybe there's a {{#ifuserexists: function somewhere in an extensions [14:15:44] We may as well have it, if we have #pageexists. [14:15:47] well the problem I have is that most of my users have an empty user page [14:16:32] and those user pages are treated like non existing users [14:18:08] You can tell the difference, from things like contribution links in the corner. [14:18:20] The connection between users and user pages is a little weird, it's true. [14:18:27] Same with categories and category pages, images and image pages. [14:18:47] They exist to describe some object or other, but their existence is independent of that object. [14:19:31] yep that's not well solved. I mean for the User example: all users are listed in a nice table... ;) [14:20:55] ok so how can I solve the Noarticletext message? atm i have it working like this {{#ifeq:{{NAMESPACE}}|User|existing user has no text|this page doesn't exist}} [14:27:08] Wasn't there some possibilty to enter default text on a user page after registration? I would like to enter a message like "The user has not entered text yet". [14:27:42] There's probably an extension somewhere. [14:29:28] I tried hard searching it ;) "default user page" etc doesn't bring results. I asked that 3 times here already and nobody knew. But I know it exists as someone mentioned here half a year ago. [14:33:20] for talk pages there is http://www.mediawiki.org/wiki/Extension:NewUserMessage [14:34:54] ah ok i may be able to hack it to the user page ;) [14:35:15] it should not be very difficult ;) [14:37:12] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10Simetrical+wikibugs) [14:39:45] hi, can anyone help me with a peculiar problem? [14:40:28] I've just configured a new mediawiki installation but can't get file uploads going [14:40:56] I repeatedly get "The file has no extension (like ".jpg")" when uploading a file [14:41:55] The extension is correctly configured, I've toyed around with numerous settings (like allowing every file type, setting a different type detector, ...), /images/ has chmod 755, ... [14:41:58] I don't know what to do next [14:42:15] 03aaron * r34615 10/trunk/extensions/FlaggedRevs/ (7 files): [14:42:15] * Revert back to r34539 (temporary) [14:42:15] * Add tweak to avoid index miss [14:43:57] test page: http://bankvandetoekomst.freehostia.com/wiki [14:45:16] my logo isn't showing up [14:51:10] If getTalkPage() get's a User's talk page, what do I need to enter to get the normal User page? [14:54:57] 03aaron * r34616 10/trunk/phase3/includes/filerepo/File.php: Consistent type [14:55:15] 03(FIXED) FSRepo does not work well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14084 +comment (10JSchulz_4587) [15:01:58] getUserPage() [15:02:45] I suggest a good IDE and keeping a copy of MediaWiki handy [15:03:27] 03(ASSIGNED) Gender switch in user preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13040 (10suidisz) [15:04:36] yeah thanks. thought I tried that but did not .) [15:27:21] is there a simple way to add a standard text on all existing but empty user pages? I'd prefer not using a bot since I'm too dumb for it [15:28:06] 03(mod) Gender switch in user preferences - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13040 +comment (10azatoth) [15:28:13] o_O [15:28:28] Oh, i18n. [15:28:29] Makes sense. [15:28:35] Simetrical: to mine? [15:28:57] Simetrical: except that if we add such magic word we effectively halv cache hit ratio :o [15:29:12] AzaTht: I'd call it "ambigouos" ;) [15:29:16] hehe [15:29:25] AzaTht, yes. [15:29:29] Well, to the bug in general. [15:29:34] Nikerabbit, only if it's a magic word. [15:29:35] ok [15:29:39] Not if it only affects, say, default signature. [15:29:54] "Unspecified" is what I use on my forum, that's the default. [15:30:10] "unknown" [15:30:36] Simetrical: they probably want that, to use it in interface translations [15:30:55] Yes, that's true. [15:31:09] Well, as long as it's not in the page text or sidebar or whatever, is there a problem? [15:31:17] Interface text isn't cached if you're logged in, right? [15:31:19] and then they want to use it in content too -> in any case doubles alternatives [15:31:48] In content it's fine if it's substed. [15:31:52] Just, not otherwise. :) [15:32:09] hmm difficult question [15:33:16] perhaps it should be a per language setting which genders it has [15:33:33] or uses [15:33:40] most of them don't care [15:33:40] Should you be allowed to specify "neuter" for languages that have that? :) [15:34:03] AFAIK, in most gendered languages there are conventions for addressing someone of unknown gender. [15:34:13] Simetrical: don't know any languages thay have neuter "you" [15:34:44] Nikerabbit: English? [15:34:52] *Simetrical assigns one point to AzaTht [15:34:57] AzaTht: like? [15:35:04] you [15:35:07] The only languages that I know of that have neuter altogether are German, Greek, and Latin, I think. [15:35:17] of course I meant neuter you in case there is male and female you [15:35:18] That have gender altogether, that is. :P [15:35:28] hehe [15:35:48] I think Latin has exclusively neuter second person, at least for pronouns. "Tu" is for all genders, I'm pretty sure. [15:35:51] that would be silly, because if tou speak to someone you ought to know his gender [15:35:52] Buggered if I know for the others. [15:36:07] Nikerabbit: non-modern swedish have neuter [15:36:16] hey everybody [15:36:24] Hebrew is strictly male/female, English is ungendered, that's the end of my linguistic knowledge. [15:37:14] Nikerabbit: http://en.wikipedia.org/wiki/Grammatical_gender#Masculine.2C_feminine.2C_and_neuter [15:39:33] AzaTht: it is important to distinguish the grammatical gender in third person and in second person, because only the latter is what we talk now [15:40:08] k [15:43:16] hmm [15:43:22] actually that's not true [15:44:05] it is more like male/female words like king and queen [15:44:32] complex things anyway [15:45:50] anyway [15:46:10] Simetrical: is it easy to domagic words that forcefully subst always? [15:47:12] Nikerabbit, you would probably have to add a new special case to PST. [15:47:24] Nikerabbit, but what you could do is just have them be cached. [15:47:28] Even if that makes them meaningless. [15:47:43] ugh [15:47:49] That would make {{VIEWERGENDER}} fairly worthless, so you'd only want to use {{subst:VIEWERGENDER}} in practice. [15:48:09] I'd rather return constantly something than random [15:48:28] Well, it's possible to disable the parser cache, remember, in configuration. [15:48:43] Of course it's not going to happen on Wikipedia, but for small third-party sites it might be totally tolerable. [15:48:50] bah [15:49:29] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [15:50:18] maybe $wgAllowGrammarInContent which adds it to cache keys and enables it also when not parsing interface messages [15:53:31] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [16:06:37] 03(mod) Default value for [[fa:MediaWiki:Sitesupport]] is English ( should be using MessagesFa.php) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14061 (10huji.huji) [16:08:09] API Question - ive been querying index.php action = render and action = source and this seems to be really whats taking forever.. is there an alternative way to get this info? [16:09:52] Bwahaha: http://www.abyssandapex.com/200710-wikihistory.html [16:10:06] AphelionZ, what is it you're looking for? [16:10:35] ok so if i want to get the rendered version of an article I call index.php?action=render, and for source it's index.php?action=source [16:10:49] benchmarking shows that these calls take about 2 seconds each which is slowing my page load down to a crawl [16:10:58] AphelionZ, that's because parsing pages is slow. [16:11:06] You'll get the results faster if they're in the parser cache. [16:11:12] But yeah, 2 seconds isn't surprising. [16:11:18] Some enwiki pages take 15 seconds, or more. [16:11:27] There have been a couple that take 60+ seconds, although those get fixed. [16:11:30] is the parser cache enabled automatically? [16:11:33] Yes. [16:11:36] But it's only a cache. [16:11:45] It won't work if nobody else has viewed the same page, with the same preferences. [16:12:13] Is there anything I can do? [16:12:32] Um, multithreading? :) [16:12:36] heh [16:12:52] 03huji * r34617 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [16:12:53] There's a reason Wikipedia's app servers are dual quad-core. [16:12:57] can I do that on a single server? Aaron Schulz told me to install APC [16:13:10] I'll try that next [16:13:19] Your problem is as a site operator or as a bot operator? [16:13:27] As a site operator, absolutely install APC, that's essential. [16:13:33] Or similar (XCache, etc.) [16:13:53] site operator [16:14:09] There might be a page somewhere on performance tuning. Is it a large site? [16:14:19] hello [16:14:32] Something like APC is necessary for any PHP application to perform well. [16:14:40] its relatively large [16:14:42] http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ [16:14:44] Specific MW config options I'm not sure of offhand, there are a lot of them. [16:14:44] i need help with categorytree (in french if possible) [16:14:53] You might consider things like $wgMiserMode. [16:14:58] MiserMode is on [16:15:00] i have probleme with kavascript [16:15:08] There are other things too, lots of config options scattered about. [16:15:09] javascript [16:15:40] AphelionZ, well, I'd trust anything written by Domas on MediaWiki performance. :) [16:16:04] truth? or sarcasm? [16:16:08] AphelionZ, truth. [16:16:14] excellent, thank you [16:16:20] heh [16:16:24] heresy! questioning domas' reliability :O [16:16:29] He's the one who smacks everyone and disables stuff when we commit slow queries. [16:16:31] :) [16:16:46] *AaronSchulz is waiting for domas to return [16:16:54] me too, now [16:17:27] AaronSchulz: do you have a moment to explain something to me regarding a setting in flaggedrevs? [16:17:57] *Simetrical !asks Mike_lifeguard [16:18:01] I do not understand $wgFlaggedRevTags [16:18:17] I am in the process of asking ;) [16:18:54] the flag types that we are choosing the quality threshold for are ... what? [16:24:14] you choose [16:24:19] $wgFlaggedRevTags = array( 'accuracy'=>2, 'depth'=>1, 'style'=>1 ); [16:24:32] $wgFlaggedRevTags = array( 'accuracy'=>2, 'depth'=>1, 'wp1.0'=>1 ); [16:24:35] whatever [16:24:49] so you can call them whatever you want [16:24:55] and have as many or as few as you want [16:24:57] ? [16:25:20] Hello. [16:25:33] Is there some &action=save ? [16:25:51] yeah [16:25:59] *Mike_lifeguard loves that :DD [16:26:09] so i call a URL and it saves e.g. a new article [16:26:11] Simetrical: http://homepage.uvt.nl/~s485261/nbcmtp04.rm [16:26:25] *AaronSchulz loves that [16:26:30] always revs me up [16:26:42] MONK3000: no, you must send the data per post. [16:27:05] :( [16:27:23] ok got to edit 4000 empty user pages with some default text [16:27:51] and I can't use a bot [16:28:33] MONK3000: why not? [16:28:47] (and why you must edit 4000 empty user pages..?) [16:29:09] i'm too dumb to use a bot. command lines etc. are too much for me [16:29:49] MONK3000: then ask a bot-operator to do that. [16:29:53] 03skizzerz * r34618 10/trunk/extensions/SimpleAntiSpam/ (. SimpleAntiSpam.i18n.php SimpleAntiSpam.php): Adding SimpleAntiSpam extension [16:30:07] i must edit the user pages cos 90% of my users have blank user pages and I want to 1. get rid of the red links and 2. differ between non-existing users and empty pages of existing users [16:30:42] MONK3000: There is an extension you may wish to look at. [16:30:48] *Mike_lifeguard looks [16:31:20] found Extension:Replace Text but it's not working for big wikis [16:31:29] http://www.mediawiki.org/wiki/Extension:NewUserMessage [16:31:52] yes i use that NOW but it doesn't work for all the existign ones ;) [16:33:02] true. well get a both on it then :) [16:33:05] *a bot [16:33:17] so what are bot-operators? [16:33:37] people who operate bots [16:33:58] thought so. how can i get in touch with them? [16:43:03] MONK3000: You may want to ask at #wikipedia-bag [16:44:25] thanks [17:00:02] hm is there some CSS-class which is hidden in Internet Explorer but showed in the other browsers? [17:07:12] Luxo: not that I am aware of... [17:07:46] 03(mod) "You've got new messages" is displayed for a non-existent discussion page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14077 +comment (10huji.huji) [17:08:24] Skizzerz: yeah I also don't found one.. thanks.. [17:09:39] 03(mod) Power search form missing