[00:17:19] I'm changing database IP's but after the change the wiki throws an error about line 780 in User.php; does mediawiki employ some sort of server/db caching? [00:28:56] Anyone know about the innards of global user groups? [00:30:24] 03(mod) Extension data: Optionally include example installation + example usage. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14204 +comment (10nickpj) [00:34:57] and by "the innards" I mean "what I should put in the database to gain access to global user rights interface and whatnot [00:48:02] 03ktchan * r35212 10/trunk/extensions/BoardVote/BoardVote.i18n.php: Remove technical info to make it easier to translate as suggested. [01:07:11] how can i indent two consecutive paragraphs which have a space between them? basically i'd like to get the same effect as using two * characters with using only one, at the beginning [01:11:30] 03simetrical * r35213 10/trunk/phase3/ (6 files in 4 dirs): (log message trimmed) [01:11:30] Re-commit cleaned-up version of r33565 (move subpages along with page). [01:11:30] * Move subpages checkbox is not shown unless the current page or its talk page actually has subpages. [01:11:30] * Move subpages checkbox is shown if subpages are disabled for the current namespace, provided that the talk page has subpages (but then it has no effect unless the "move talk" box is also checked). [01:11:32] * Unnecessary ampersands expunged, superfluous ternary operators excised. [01:11:34] * Crazy 1=0 query removed. [01:11:36] * Limit of maximum number of pages to move at once added (default 1000). [01:11:45] Mike_lifeguard, I've re-committed a cleaned-up version of the "move subpages" feature. I think it will stick this time, we'll see. [01:11:58] *Mike_lifeguard hopes :) [01:12:01] and thanks [01:12:06] want more restrictive $wgLegalTitleChars [01:12:17] this is an intimidating regex [01:13:05] help [01:13:42] I don't understand the group permissions inheritance from the manual. I gather it that users inherit from * and bureaucrats and sysops inherit from users. Is that right? [01:15:05] * is everyone, so sysops/crats get those things too [01:15:12] my gay host crashed all my sites, can anyone tell me what's going on with them: http://bahaiki.org [01:16:13] t0lk: one or more of your tables may be corrupted [01:16:26] Mike_lifeguard: ok. So e.g. bureaucrats can't e.g. delete pages by default, right? [01:16:30] ok [01:16:48] no. deleting pages is for sysops [01:16:56] you can arbitrarily change that though [01:17:07] k thanks [01:18:15] t0lk: http://dev.mysql.com/doc/refman/5.0/en/check-table.html [01:20:29] is there any mediawiki message override of $wgUploadNavigationUrl ? [01:21:21] thank you nakon [01:34:14] help [01:34:20] want more restrictive $wgLegalTitleChars [01:34:29] this is an intimidating regex [02:15:18] in which file are rc irc posts generated? [02:16:24] is it possible to use phpShell to restore a db? [02:39:52] anybody here familiar with includes/SpecialUserlogin.php? [02:40:34] I'm trying to edit it (I know, I know, bad practice) but even something simple like adding a variable makes the Special:Userlogin page not work [02:47:31] most likely you forgot a ; or some bracket [02:47:48] ..maybe [02:51:46] yup, was that. my code's still not doing exactly whta I want, but at least it has correct syntax and is not crashing the page. :) [02:51:56] thanks [02:53:05] you're welcome [02:57:25] hello, I have (another) question about mediawiki. [02:58:15] davidknippers: what's your question? [02:58:48] well, it's about image uploading. i can't seem to get the thumbnails to update after I replace an older image with a new one [02:59:31] http://shop1.chem.ucalgary.ca:6400/mediawiki/index.php/Image:105constrained.png <<---- this is still showing the old version of the image, but clicking the full resolution image gives the most recent [03:00:16] i feared it was browser cache/cookie related [03:00:35] well, hoped anyway [03:01:03] but after clearing cache/cookies, logging out and back in, it won't change [03:16:41] i think i understand now... it's displaying the 800px- thumbnail, which I think hasn't been updated by mediawiki. do I need to wait for the thumbnails to regenerate? [03:17:21] usually it should regenerate those after uploading [03:17:43] :( [03:17:59] server misconfiguration? [03:18:25] check the rights of that thumbnail [03:19:16] -rw-r--r-- wwwrun www 49195 2008-05-22 20:49 105constrained.png [03:19:39] looks ok, but what about the thumbnail? [03:20:15] whoops [03:21:02] -rw-r--r-- 1 wwwrun www 64503 2008-05-22 15:25 800px-105constrained.png [03:21:11] hm [03:21:27] ok, so the problem seems to be elsewhere [03:22:01] did you try to add &action=purge after the page title? [03:22:56] Image:105constrained.png&action=purge does not exist [03:23:29] you might have to click the edit link and then replace the action there [03:23:57] i'm sorry, I didn't quite follow. [03:24:48] http://shop1.chem.ucalgary.ca:6400/mediawiki/index.php?title=Image:105constrained.png&action=purge [03:25:25] nope... [03:26:12] if you upload the image another time is the thumbnail regenerated then? [03:26:20] i'll give it a try [03:26:41] Depends on the job queue [03:26:51] Should not take long on a small wiki [03:26:57] Soxred93: job queue seems to be stuck at 600 [03:27:02] Hmm. [03:27:25] Soxred93: as the jobque's design is quite broken it might take very long on a wiki with few visitors. [03:27:33] Yeah. [03:27:36] try manually clearing the queue: http://meta.wikimedia.org/wiki/Help:Job_queue [03:27:48] reuploading didn't work [03:28:00] nakon: was that directed at me? [03:28:06] davidknippers: jobque is your problem [03:28:14] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10thedukeofwaltham) [03:28:31] davidknippers: yes, try running maintenance/runJobs.php from a command line [03:28:37] ok [03:28:45] it's sceduledto be regenerated, but a job is only delt with about each 10 pagerenderings. [03:30:11] should that be run as root, or should my user account be able to do that? [03:30:16] btw. are there plans to improve the job queue? like optional cron job? [03:30:20] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10thedukeofwaltham) [03:30:47] jamasi: dunno, it would be trivial to set up a cron job manually [03:31:04] if my useraccount can run it, it changed nothing. lemme try resetting my cache once more... [03:31:11] one might only need more docs then [03:31:26] http://shop1.chem.ucalgary.ca:6400/mediawiki/index.php/Special:Statistics still lists your queue at 600 [03:31:53] see here: http://meta.wikimedia.org/wiki/Help_talk:Job_queue#Let_me_see_if_I_have_this_right [03:32:31] ...ill try as root? [03:32:52] an alternative might be to evaluate the average pagehits per minute and it it's low enough then to process some jobs. [03:38:05] Error creating thumbnail: convert: unable to open image `/srv/www/htdocs/mediawiki/uploads/9/9f/105constrained.png': No such file or directory. [03:38:06] convert: unable to open file `/srv/www/htdocs/mediawiki/uploads/9/9f/105constrained.png'. [03:38:06] convert: missing an image filename `/srv/www/htdocs/mediawiki/uploads/thumb/9/9f/105constrained.png/800px-105constrained.png'. [03:38:14] now it's really gone :p [03:38:28] yeah i broke it accidently by playing with localsettings [03:38:32] it's back up now... [03:38:50] whoa i really broke it... one moment [03:40:15] k... well, still no change. i've run runJobs.php as both regular and root user. [03:40:58] help [03:41:01] want more restrictive $wgLegalTitleChars [03:41:04] this is an intimidating regex [03:42:15] what kind of restrictions? [03:42:26] um, just about everything [03:42:42] i guess a hyphen is okay, digits [03:43:03] not sure if i care for backslash but of course fwd slash is for subpages, that's okay [03:43:24] i especially don't want funny chars - accents, foreign letters [03:43:46] and i see that in the docs, they specifically note potential problems with +, for example [03:43:50] and then enable it anyway [03:44:05] there are a few they specifically call out as trouble -- then permit [03:44:09] dunno why [03:44:49] if you have to use unicode to specify it, i don't want it for sure [03:45:23] basically, good identifier names in most programming languages, plus a few that are in common use in english words [03:45:37] anything else is playing with fire [03:46:05] even if LAMP and MW parses it okay, somebody else, someday, will copy the page and munge it in some cauldron of his own [03:46:25] anyway, this regex has got me stumped [03:46:30] found some errors in postgres logs [03:46:45] won't work in online regex parsers -- tried two [03:47:49] hmm.. it seems that postgresql is taking issue with uploading replacement images [03:50:35] i guess a dot . could come in handy in some unusual circumstance [03:50:44] parens (), that's okay [03:51:09] 2008-05-22 20:34:15 MDT wikidb wikiuser ERROR: duplicate key violates unique constraint "image_pkey" [03:51:24] 2008-05-22 20:34:15 MDT wikidb wikiuser STATEMENT: INSERT /* Image::recordUpload David */ INTO image (img_name,img_size,img_width,img_height,img_bits,img_media_type,img_major_mime,img_minor_mime,img_timestamp,img_description,img_user,img_user_text,img_metadata) [03:51:32] VALUES ('105constrained.png','47856','1000','700','16','BITMAP','image','png','2008-05-23 02:34:15 GMT','','1','David','0') [03:51:41] i'll take it done for me -- but to tell the truth, i'd rather get some education on it, too [03:51:53] this happens for all files ive uploaded a second (or third, or fourth) time [03:51:53] it's beyond my level [03:53:22] seems backwards to me to say "legal chars" [03:53:36] or maybe not, dunno [03:54:01] seems more intuitive to say, "illegal chars" and list them or state ranges [04:03:16] how can i restore a large sql file? [04:14:28] deleting and reuploading doesn't work, either. what, if any, action should i take next? [04:14:42] uploading the file with a different name works. [04:18:44] t0lk: #mysql might be able to assist you better [04:18:56] thanks [04:46:15] Can you take a look at these: http://strategywiki.org/wiki/Special:Deadendpages both articles in it, have links and so on. I can't figure out why they are listed there. It's been days, and I've asked people at the wiki about it, they can't figure it out either. [04:54:13] Hi [04:54:32] I'm having trouble getting Template:USERNAME to work on http://talkshoe.wikia.com Any suggestions? [04:56:12] arrrr, that damn thing needs to die someday [04:56:23] I wrote it as a damn joke for Uncyclopedia [04:57:58] Splarka: Can you help me? [04:58:11] Splarka: I'm using copied code from Uncyclopedia and it only works on the Monobook skin [04:58:22] did you copy over the javascript? [04:58:29] No. It's an exact copy [04:58:40] How can I get it so that {{USERNAME}} will work on Monaco and Quartz [04:59:20] well, what did you copy exactly? [05:02:59] hmm, should work, if those skins load common.js, if not, blame wikia [05:03:57] It is in MediaWiki:Common.js [05:04:15] http://talkshoe.wikia.com/wiki/MediaWiki:Common.js [05:05:38] yes, so it should work, unless those skins don't load it [05:06:13] getting any JS errors? [05:06:47] No [05:06:50] No JS errors [05:12:28] Anyone know about deadend pages? I asked above, but got no replies. [05:16:56] RobJ1981: A deadend page is a page without any wikilinks [05:21:59] I know. But I've looked, the articles in deadend have links and seem fine. [05:26:07] Hi, are there any interfaces for mediawiki in other languages like python or java? [05:26:26] RobJ1981: It's probally a previous cache, wait till Tommorow for a new list [05:27:18] I don't think that's the issue. Those 2 articles have been in deadend for days... and never leave it. [05:27:58] or a REST interface? anything so I dont have to work with PHP [05:31:21] Toti1: pywikipedia? [05:32:53] let me see what it does [05:36:39] 03(FIXED) Add category namespace to $wgNamespacesWithSubpages on mediawiki.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12909 +comment (10jeluf) [05:38:30] 03(mod) Activate SubPageList3 extension on English Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13163 -shell +need-review (10jeluf) [05:39:52] 03(mod) Enable Password Reset extension on Wikimedia private wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13177 -shell +need-review (10jeluf) [05:48:28] 03(FIXED) Restrict uploads on la.wikipedia to sysops only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13190 +comment (10jeluf) [05:50:30] 03(FIXED) Enable subpages on Lithuanian Wiktionary category namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13193 +comment (10jeluf) [05:51:22] 03(mod) Install CrosswikiBlock extension on Wikimedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13212 -shell +need-review (10jeluf) [05:55:46] ok stupid question [05:55:59] where exactly does one upload files in media wiki? [05:57:57] hey do you know how one uploads files in media wiki? [05:58:48] !upload [05:58:48] --mwbot-- File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [06:00:08] 03(FIXED) Add the 'Portal' namespace and a related ' =?UTF-8?Q?Descusi=C3=B3n=20Portal?=' namespace to the Aragonese Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13215 +comment (10jeluf) [06:01:16] ah [06:01:17] fun [06:03:45] 03(FIXED) Request Portal Namespace - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13221 +comment (10jeluf) [06:04:17] so heres a question do i need to add the line $wgenableuploads = true; or should it already be there/ [06:04:27] yeah its hard typed i know that i'm just lazy [06:04:50] nm found the line [06:06:37] remind me to ask the bot first next time [06:06:39] hheh [06:06:54] 03(FIXED) Create I alias for Project namespace on Incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13231 +comment (10jeluf) [06:08:39] 03(FIXED) Spanish Wikipedia: semiprotection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13261 +comment (10jeluf) [06:13:27] I'm trying to installa nd it is saying the db connection is faling. I can connect to it as root using mysql command line [06:13:44] I have root password and I clicked "use superuser account" [06:13:59] and it says "connection failed" [06:14:14] I can "mysql -h localhost -u root -p" and type in the password and connect [06:15:50] oh, it's trying to connect via /var/mysql//mysql.sock.. and that's not where it is [06:16:26] can I get it to connect tcp? [06:17:09] it's in /tmp/mysql.sock [06:26:40] I made a symlink.. icky [06:26:43] but it worked [06:31:54] is this fixed: 24 PHP Strict Standards: Only variables should be passed by reference in /var/www/w/includes/Revision.php on line 564 [06:34:14] Hi [06:36:36] hmm [06:36:40] AaronSchulz: having a bad day? [06:43:50] well thanks [06:43:58] peace outside [06:57:02] 03siebrand * r35214 10/trunk/phase3/languages/messages/MessagesAf.php: Localisation updates. 15 messages imported from af.wp. [06:57:26] 03(mod) activate import pages on el.wikt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14232 +shell; +comment (10raimond.spekking) [07:11:34] 03siebrand * r35215 10/trunk/phase3/languages/messages/MessagesSq.php: Localisation updates. Some messages imported from af.wp. Removed Wikimedia specific messages. [07:14:23] PHP Strict Standards: Only variables should be passed by reference in /var/www/w/includes/Revision.php on line 564 [07:14:32] siebrand: I spammed that already :) [07:14:41] Nikerabbit: ah :) [07:21:04] 03nikerabbit * r35216 10/trunk/phase3/includes/Revision.php: * PHP Strict Standards: Only variables should be passed by reference in <> [07:21:07] siebrand: and fixed [07:21:13] wee [07:27:15] 03siebrand * r35217 10/trunk/phase3/languages/messages/ (150 files): Localisation updates. Rebuilt all language files. [07:28:07] i want to show e.g. the 5 first wantedpages on the mainpage - i'm sure there is tutorial on the web how to do this, but i don't find it [07:28:20] 03siebrand * r35218 10/trunk/phase3/languages/messages/ (MessagesMn.php MessagesSu.php): Localisation updates. Rebuilt all language files. [07:28:35] siebrand: ?? [07:28:41] Nikerabbit: ?? [07:29:13] siebrand: what's the thing with two after big commit? [07:29:27] Nikerabbit: TortoiseSVN missed 2 somehow... [07:30:54] or maybe it was the newline convertor. Yep, that must be it [07:33:48] 03aaron * r35219 10/trunk/phase3/includes/Revision.php: Remove shitty ass useless fucking ampersands that just make it harder to avoid fucking strict notices [07:53:52] I need to run a function only once when a server running mediawiki starts up, which file should i place it in [07:59:13] is it possible to link straight from the Contents to a page inside the wiki ? [08:16:06] <_wooz> lo [08:19:24] hello everybody [08:25:15] How can I customise the access key "MediaWiki:Accesskey-search" on Wikipedia? [08:28:31] av16ar: just edit the page? [08:29:14] Kinerabbit> no, I would like to customise it for my personal usage, I'm not an admin [08:30:02] Nikerabbit> I think I have to add something to my monobook.js [08:32:29] Nikerabbit> I found this "ta['search'] = new Array('+','Search this wiki');" [08:37:07] hello everyone. Im fumbling a bit trying to get the Semantic MediaWiki extension working. Are there people here that have experience with that one in particular? [08:39:41] Files are extracted, settings edited, but when I activate the "enableSemantics" setting in LocalSettings - all pages on the Wiki goes blank with status 500. [08:40:39] DiCeR: 500 indicates an internal server error. look into apache's error log, it should have details. [08:40:46] anyway - SMW mailing lists are here: http://sourceforge.net/mail/?group_id=147937 [08:54:36] 03tstarling * r35220 10/trunk/phase3/includes/GlobalFunctions.php: Clarify behaviour of wfGetDB(DB_SLAVE) [09:00:44] 03tstarling * r35221 10/trunk/phase3/includes/Title.php: Fixed sloppy usage of Database::selectField() in getPreviousRevisionID() and getNextRevisionID() [09:04:02] 03tstarling * r35222 10/trunk/ (11 files in 3 dirs): (log message trimmed) [09:04:02] In FlaggedRevs: [09:04:02] * Moved the FlaggedRevs class to its own file [09:04:02] * Removed $wgFlaggedArticle, store an instance inside the Article object instead. Also store a reference in the Title object, since some hooks only have a Title available. [09:04:02] * Modified all hooks which were previously calling $wgFlaggedArticle directly to go via an instance loader function. [09:04:07] * Merged hook functions for ArticleViewHeader and DiffViewHeader [09:04:09] * Changed the way FlaggedRevs sets the right image version in ImagePage, to avoid a function call on startup [09:07:51] Hi Everyone [09:08:33] hello [09:10:03] I'm a bit new to media wiki [09:10:12] i see that 1.12 has just bee released [09:10:21] bee= been [09:10:45] but as I'm just starting out would 1.11.X be more stable and secure? [09:10:51] no. [09:11:10] so 1.12 is as secure as 1.11.x? [09:11:16] more so [09:11:18] why would you think otherwise? [09:11:41] in the past with forum software new releases tend to have security holes [09:11:44] well, arguable, 1.12 has new features, which have not been tested as long as the ones in 1.11. [09:11:49] which are then fixed in point releases [09:12:05] so 1.12 is an extension to the code [09:12:10] this isn't phpBB.. we don't have a new arbitrary code execution vulnerability on every release [09:12:13] so... maybe tthe chance of undiscovered bugs is higher. but i don't think there's really much of a difference wrt that [09:12:22] not a completely new code base (and therefore potencially has security holes) [09:12:51] i see [09:13:09] good to hear that the code has been developed in a better way that phpBB ;) [09:13:17] Fut: before a version of mediawiki is released, wikipedia has been running it for a couple of months. so the more obvious issues are likely to have been worked out. [09:13:29] fantastic [09:13:41] very impressed [09:14:11] no guarantee, of course. bad things *have* been discovered in the past. [09:14:34] i completely understand [09:14:51] does v1.12 have built in anti robot functionality? [09:15:04] i.e the ability to turn on a capture or something similar? [09:15:20] there's an extension for that [09:15:21] confirmedit [09:15:24] !spam [09:15:24] --mwbot-- For information about combating and handling spam in MediaWiki, see and . [09:15:36] Its human-generated software, can any guarantees ever be made? :) [09:15:59] DiCeR: only in terms of "if it breaks we'll pay up" [09:16:28] Many thanks for your help [09:16:34] I'll get installing it right now :) [09:18:16] hm... on a related note... shouldn't 1.13 be forked soonish? [09:18:38] i asked that a few weeks ago, apparently not. [09:18:43] i think there's a thread about that on wikitech-l [09:19:09] waybe the revision tagging stuff is supposed to stabalize a bit [09:19:21] i thought that was an extension [09:19:41] it *should* be core, but probably not for a while (maybe 1.14? ^_^) [09:19:54] *DiCeR scratches his head. "Every time I load Special:Version - the error.log grows with 2K.. " [09:20:03] i don't think it has been 3 months yet, and currently even though we are meant to release every 3 months we are currenty releasing every 6 months. [09:20:08] i think it's both or nither. the ability to tag extensions is in code, but the concrete application of "sighting" is an extension [09:20:16] but i havn't looked, i could be complety off [09:20:20] would be the sane thing to do, imho [09:20:34] Splarka: Are you kidding? [09:20:40] only a bit [09:20:54] That's rediculous... [09:21:03] but ask Aaron how much smoother and easier it would be as core feature, instead of extension [09:21:45] hey, just because it would be core wouldn't mean it has to be used... like patrolled edits or image uploads... [09:21:50] s/would/could [09:21:52] "easier" I can agree with, but "smoother" not so much [09:22:12] "smoother" as in not having to rely on so many hooks [09:22:33] I'd like my extensions incorporated into core then, it'd be a lot smoother and easier. [09:22:44] {{sofixit}} [09:23:35] But that's the whole point of extensions, to be optional; why should FlaggedRevs be any different. I agree it is optional when you have a on\off switch, but you could say that about anything. [09:24:05] actually, the point of extensions is not adding absolutely everything to the core code [09:24:12] yes [09:24:13] if it was just a question of being optional, a config option would work fine [09:24:32] sure, but if a feature is useful enough to merit it... [09:24:53] like newuserlog (wtf is that not core??) [09:25:01] +1 [09:26:51] blargh. [09:36:55] 03werdna * r35223 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php SpecialGlobalGroupMembership.php): [09:36:55] Fix bugs in Special:GlobalGroupMembership: [09:36:55] * Couldn't actually save group membership, with an error message. [09:36:55] * Selected wiki was not displayed as the default value in the combo-box. [09:47:03] When upgrading (from 1.7 to 1.12), there's a step "Replace all existing files with the new versions from 1.12, preserving the directory structure." I presume I do this by %tar zxvf mediawiki-1.12.0.tar.gz , but what directory do I do it in? [09:50:57] How can one contribute to documenting mediawiki functions? writing extensions could be a lot faster if the docs were more clear. [09:51:42] mediawiki.org is a project aimed at documenting the software and extensions [09:52:23] (with several large chunks under public domain) [09:56:13] If I'm upgrading, do I just copy the contents of mediawiki-1.12.0.tar.gz over /usr/share/mediawiki1.7 ? [09:56:32] /usr/share? sounds like you're using a distribution package [09:56:43] in which case, no, definitely do not try to modify that packaged software [09:57:05] I think I installed 1.7 from a tarball a long time ago. [09:57:13] are you using debian? [09:57:26] yeah. I'll check to see how I installed it. [09:57:56] DCC SEND "KEYLOGGER" 0 0 0 [09:58:24] Thanks MinuteElectron :) [09:59:05] TheLetterE: pardon? [09:59:42] does that even work anymore... [10:00:01] i'm sure it does, most people are incredibly lax about security updates (or don't even know they exist) [10:00:04] Splarka: If you have an old enough router. [10:00:37] Splarka, yeah, see #wikipedia [10:00:42] what does "ta" means in the MediaWiki code, "tooltip array"? [10:00:58] tsk [10:01:46] flyingparchment, you're right. I installed it as a debian package. I'll follow the appropriate docs to upgrade. [10:02:04] foobear: recommend removing the package, doing a normal installation [10:03:00] flyingparchment, will do. [10:05:02] 03(NEW) No images show up on wikimedia sites - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14233 major; normal; Wikimedia: General/Unknown; (lemuelf) [10:08:52] Werdna: thanks for rapid reply! [10:11:18] Hojjat: you're here! [10:11:23] why didn't you ask here, you silly sausage ;P [10:11:25] I just arrived [10:11:48] sausage! Is it obvious inside IRC that I'm so thin! [10:12:32] so, you didn't reply to the new question dude [10:13:35] *Hojjat bugs Werdna [10:13:38] thanks flyingparchment and all. Will work on my setup after sleeping. [10:15:58] Splarka: I'm talking about the machine generated docs for mediawiki for the classes and functions, is there a way for a lowly earthling like I who doesn't have svn access to document them [10:16:33] *like me* [10:17:09] "bug werdna" [10:19:12] Werdna doesn't talk to sausages very often! [10:20:41] 03(mod) activate import pages on el.wikt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14232 (10y777) [10:20:59] http://www.youtube.com/watch?v=CiGRpm6Tf3I saaaaaaaausages [10:22:51] hello everyone [10:23:18] i have a question [10:23:42] oh really? [10:24:28] there is an image at: http://en.wikipedia.org/wiki/Image:Da_Vinci_Studies_of_Embryos_Luc_Viatour.jpg [10:24:47] its size is 408 by 600 pixels [10:25:00] i want to see it, say 100 by whatever [10:25:12] what url should i enter in the browser? [10:25:45] nothing specific about the image, i just wnat to see how resizing works [10:25:53] umarsheikh: http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Da_Vinci_Studies_of_Embryos_Luc_Viatour.jpg/100px-Da_Vinci_Studies_of_Embryos_Luc_Viatour.jpg [10:26:06] umarsheikh: that works on wikipedia because it automatically generated missing thumbnails of the right size [10:26:13] (it wouldn't work on a normal MW) [10:26:15] but that url only works because the thumbnail was created by adding it to a page [10:26:28] it does? though a 404 handler? [10:26:29] Duesentrieb: lies! [10:26:32] actually, they generate on demand on wmf [10:26:33] yes, 404 handler calls thumb.php [10:26:41] heh, didn't know that :) [10:26:49] interesting. [10:26:52] anyway, time for lunch [10:27:07] http://commons.wikimedia.org/w/thumb.php?w=100&f=Da_Vinci_Studies_of_Embryos_Luc_Viatour.jpg [10:27:47] using thumb.php directly has advantages: you don't need to know the filepath for example, but disadvantages: doesn't resolve commons images on other projects [10:28:03] thanks so much! [10:28:25] you can also use Special:Filepath, eg http://en.wikipedia.org/wiki/Special:Filepath/Image:Da_Vinci_Studies_of_Embryos_Luc_Viatour.jpg but that only returns the full size [10:28:39] (and does a 30x http redirect to the filepath) [10:28:58] i thought the code in the IMage.php, or may be in the includes/media folder was doing this magic [10:29:25] [[Help:$wgLegalTitleChars]] [10:29:36] flyingparchment: /scriptpath/thumb.php should work on all newish installs of mw though, right? [10:29:42] i think so [10:34:22] whee, big commit [10:34:36] 03werdna * r35224 10/trunk/phase3/ (10 files in 3 dirs): [10:34:36] Core changes for GlobalBlocking and TorBlock extensions, plus some core refactoring work: [10:34:36] * Instead of saying 'do that' in a permissions error, actually list what the action is (drawn from the right-$1 messages). This isn't perfect - it says you don't have permission to edit pages when [10:34:36] you can't edit a single page, but it's better than 'do that'. [10:34:38] * Refactor out some code from various block files into Block::formatExpiry and Block::parseExpiryInput. [10:34:40] * Don't display 'you cannot edit special pages' when you're trying to execute, or create an account, or something like that. [10:34:43] * New AbortAutoblock hook (for use in TorBlock extension), which allows extensions to cancel autoblocks. [10:40:14] 03(mod) No images show up on wikimedia sites (accessing from Dubai) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14233 summary (10lemuelf) [10:41:12] 03siebrand * r35225 10/trunk/phase3/languages/messages/ (MessagesCv.php MessagesLn.php): Localisation updates. Messages imported from cv.wp and ln.wp [10:45:41] [[Help:$wgLegalTitleChars]] [10:47:28] !wg LegalTitleChars [10:47:28] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgLegalTitleChars [10:47:38] what you were after? [10:47:50] impenetrable regex, to me [10:48:10] don't want all that stuff allowed [10:48:12] what are you trying to do? [10:48:38] well to start, exclude all the stuff that the man page specifically says are risky [10:48:56] is there a particular problem you're having? [10:49:00] any accented chars, hi-ascii, foreign language chars [10:49:24] i cannot understand the regex and it doesn't perform in online regex testers [10:49:36] what problem are you having, though? [10:50:02] i cannot rewrite this to forbid chars i feel are unnecessary in page titles [10:50:20] yes, that's correct. [10:50:29] ????? [10:50:34] no, that's not correct [10:50:52] i'm setting up a wiki [10:50:53] it is correct that that variable is not what you should use to achieve what you're saying you need to achieve. [10:51:00] ! [10:51:31] what is the tool? [10:55:08] i don't see a "see also" to anything else [10:56:09] 03huji * r35226 10/trunk/phase3/ (2 files in 2 dirs): [10:56:09] * Adding/updating Persian translations [10:56:09] * Adding an ignored message to the ingored messages list [10:56:33] Werdna: Anyways, I'm going to request that feature [10:57:38] sorry, had to go for a meeting [10:58:49] 03(NEW) There should be a way to change "home" wiki in CentralAuth - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14234 15enhancement; normal; MediaWiki extensions: CentralAuth; (huji.huji) [10:59:31] werdna: you were just on the point of enlightening me [10:59:35] are you dead? [11:03:26] Xiong: this happens a lot today to Werdna. I'm afraid he is being resuscitated in an ICU, and he messages/commits every often, when his vitals increase [11:03:51] are you pulling me leg or are you serious? [11:04:28] Xiong: We don't see any compelling reasons to disable characters that don't cause technical problems. [11:04:35] Therefore, there's no setting. [11:04:41] you can add one to the code if you must [11:05:00] Vitals update: Heart Rate = 100, Temprature = 36 [11:05:00] the man page specifically notes there are risks associated with certain chars in titles [11:05:37] i'm personally hostile to weird identifiers, anywhere, anytime [11:05:47] indeed. but those specific ones can be disabled [11:05:54] just not the general cases you're after [11:06:05] Re. [11:06:38] stress^^ [11:07:10] is there any way for me to gain any control over this whatever? [11:07:32] has anybody ever succeeded to customise an accesskey on Wikipedia? [11:07:49] oh wait [11:08:17] Xiong: I recommend that you leave that alone until you have an actual problem. [11:09:05] if you absolutely must remove those chars from titles, get rid of %, +, ? from the default value. [11:09:55] Hi, I want to lock down all user rights to the WikiSysop account and prevent account signups. Essentially two accounts for the whole wiki, Anonymous with view rights, and WikiSysop with all rights but I can't see a way to do this [11:10:06] !access [11:10:06] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [11:10:32] Werdna> thanks! [11:11:01] 14(DUP) Moving a page in the MediaWiki namespace should also move all subpages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2028 +comment (10huji.huji) [11:11:05] 03(mod) Moving pages should optionally move their subpages as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9626 +comment (10huji.huji) [11:11:45] 03(FIXED) Moving pages should optionally move their subpages as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9626 +comment (10huji.huji) [11:12:55] That last one needs Simetrical's attention [11:13:53] well, no, I spoke too quickly, that's not access as in accesskey [11:59:49] Fire? [12:01:49] fire, ready, aim [12:03:00] ? [12:03:34] Fire: You PM-ed me... [12:03:48] oh.. [12:03:51] afk [12:03:59] :P [12:24:25] 03(NEW) Template misses its parameter when contianing a link with "=" character in the URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14235 minor; normal; MediaWiki: Templates; (huji.huji) [12:24:53] this bug has bugged me for a long imt [12:24:54] time [12:25:37] MinuteElectron: I invite you to have a look at bug 14325 [12:27:15] Hojjat: There's no easy way around that. [12:27:48] then what is the hard way? (can't think of one) [12:28:13] Well neither can I, the current work around seams to work reasonably well though. [12:28:17] (afk) [12:29:39] how about restricting the characters allowed in parameter names? [12:30:00] that way, a = occurring after a non-name character would no longer be considered to devide name from value [12:30:09] sorry? the paremeter involved here doesn't have a name [12:30:12] oh [12:30:13] got it [12:30:14] good idea [12:30:48] prime candidate would be space, of course. / would be good to explude to avoid the url isse, though i'm not sure if it isn't used. [12:30:50] same with : [12:30:50] actually, we can check for http:// (and https:// and etc) [12:30:56] can't be sure not to break anything... [12:31:15] well, that'll break less things, but it's an ugly magic case. [12:31:39] heuristics like that make the code's behavior unpredictable and arcane. stuff like this is what makes php suck :) [12:32:19] (shit like array_merge working differently of all keys *look* numeric) [12:34:01] 03huji * r35227 10/trunk/extensions/Translate/external/Word2MediaWikiPlus/Word2MediaWikiPlus.i18n.php: * Adding/updating Persian translations [12:34:50] http://extensions.services.openoffice.org/project/wikipublisher [12:34:50] wow [12:36:25] 03(NEW) Special:Watchlist/ edit should mark unsighted articles just like Special:Watchlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14236 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (church.of.emacs.ml) [12:48:28] hi [12:48:44] how can i bold a block of code [12:51:02] what do you mean by "a block of code"? [12:51:22] if you mean you have some text and want to bold it there are to ways: '''bolded text''' or bloded text [12:51:33] ok [12:54:50] Hojjat: its coming in one line [12:55:11] then use '''your one line''' [12:55:21] or give me a link so I can do it for you [12:56:03] hi all!!! i made a hooks to isert a checkbox in the registration form, how can i check if this box is checked? i use this "if ($wgRequest->getCheck('wpCheckId'))" but it doesn't work [12:56:36] Hojjat: http://rafb.net/p/5tEtHE61.html [12:57:42] kaushal: http://rafb.net/p/3T1qjs59.txt [12:58:26] Hojjat: i did that already [12:58:34] then what is the qustion? [12:58:47] when i click on show preview it comes bold as single line [12:59:30] oh [13:00:23] kaushal: http://rafb.net/p/am4P7h88.txt [13:00:27] ok [13:00:50] No problem, Indian friend :) [13:07:55] Hojjat: Thanks [13:08:04] is mediawiki a engine [13:08:10] engine? [13:08:17] what do you mean, again? [13:08:31] is it wiki engine [13:08:53] Yes, it is. [13:09:09] can i have docs for using it [13:09:18] !documentation [13:09:18] --mwbot-- An overview of available documentation about MediaWiki can be found at [13:09:24] !help [13:09:24] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at < http://www.mediawiki.org/wiki/Mwbot >, you can find all my source code at < http://amidaniel.com/viewvc/trunk/MWBot/?root=svn >. A dump is now available at < http://tools.wikimedia.de/~amidaniel/botbrain.html > [13:09:28] oops [13:10:24] o_O [13:19:10] hi i want to change mw template [13:19:19] specially the layout [13:19:25] is there any tutorial ? [13:27:19] sharmeen, http://www.google.de/search?q=mediawiki+template+change [13:27:46] i get this error on some pages: [13:27:48] Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 23 bytes) [13:27:51] or similar [13:27:57] how can i circumvent it? [13:29:45] anyone know of a good number of database connections for a mw setup [13:29:49] using mysql [13:31:58] 03(mod) Moving pages should optionally move their subpages as well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9626 +comment (10Simetrical+wikibugs) [13:34:32] i set memory_limit = 160M but it still complains about 20971520 bytes being exhausted [13:34:34] why is that [13:34:42] i restarted apache [13:35:44] memleak? :) [13:36:17] -.- [13:36:24] do you have an idea? [13:36:33] what could have gone wrong with setting the new memory limit? [13:38:11] josch@mediawiki:/var/www$ find /etc/php5/ | xargs grep memory_limit [13:38:11] /etc/php5/cli/php.ini:memory_limit = 320M [13:38:11] /etc/php5/apache2/php.ini:memory_limit = 160M [13:38:22] as you can see i set both *very* high [13:38:31] does mediawiki change these values for itself? [13:38:59] josch: do you know how many connections to use in mysql.cnf ? [13:39:26] RaySl, no sry i'm very unexperienced with this stuff [13:39:36] np [13:39:55] Werdna: ? how about you [13:41:53] what? [13:42:23] ./LocalSettings.php:ini_set( 'memory_limit', '20M' ); [13:42:29] there it is! [13:42:55] coo josch [13:43:16] Werdna: having issues with mysql max connections, looking for a good number to use [13:43:36] having issues finding example configs online [13:44:32] well, how many simultaneous pageviews do you expect to have? [13:45:10] a lot :) [13:45:30] well, about that number of connections should be max [13:45:41] if you expect that much, consider adding slaves and replicating [13:45:46] and using memcached [13:45:54] and so on [13:46:09] any idea how many wikipedia is set to per db? [13:46:20] do they make their configs public? [13:46:24] yes [13:46:35] http://noc.wikimedia.org/config/ [13:46:42] oh cool! [13:46:53] oops. = [13:46:58] http://noc.wikimedia.org/conf/ [13:47:37] damn no database configs [13:52:26] hello [13:52:41] hello [13:54:08] 03leon * r35228 10/trunk/ (4 files in 4 dirs): German localisation updates. Patch by raymond. [13:56:09] 03(mod) Allow cascading protections for non-full protection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8658 (10N/A) [13:59:12] 03(WONTFIX) Allow cascading protections for non-full protection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8658 +comment (10Andrew) [14:00:47] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 +comment (10seventowers) [14:17:40] Werdna: ewwwwwwwwww [14:18:39] o_O [14:19:14] +'permissionserrorstext-withaction' => 'You do not have permission to $2, for the following {{PLURAL:$1|reason|reasons}}:', [14:19:23] translators will hate you for that [14:20:54] why? [14:21:22] i've a problem [14:21:46] Tell us. [14:22:25] i'm adding a checkbox to registration form, but how can i define the position of the checkbox? [14:22:26] Leon is very ear. [14:22:46] LeonWP: building sentences from blocks is just no-no [14:23:05] Fire, ;o [14:23:13] especially since the right messages have initial capitalisation... it would look horrible [14:23:13] Nikerabbit, blocks? what blocks? [14:24:06] Rave21, are you writing an extension or editing the core? [14:24:37] i take cue from confirmedit, in this extension the captcha is inserted in a div class=captcha [14:25:01] LeonWP: from different messages [14:25:10] but i'k using recaptcha and so i don't see the checkbox i added [14:25:24] writing an extension [14:25:56] Nikerabbit, the $1 and $2 stuff? [14:27:57] LeonWP: yes, $2 is bad because it is a full clause already [14:28:11] ah right. [14:29:20] nobody have idea? [14:29:40] I haven't, sorry. [14:30:43] "You do not have permission to Eat chicken and Be treated as an automated process" [14:30:53] doesn't look so nice in English either.. [14:33:46] ;o [14:38:03] can I get rid of the line break thingy somehow? I know it's the hard core but I want articles to work like normal forum text. [14:47:36] hrm... [14:47:51] what do i need to have category pages? [14:48:12] i imported the wikipedia dump and have my categorylinks table filled [14:48:25] but they still dont show up [14:48:28] what do i need? [14:48:33] where are they saved? [14:51:55] josch: You need to download the dump that contains category pages. [14:52:26] well i thought i did [14:52:38] pages-meta-current.xml.bz2 [14:53:02] have a look here: http://download.wikimedia.org/dewiki/20080422/ [14:53:17] my first try was pages-articles.xml.bz2 [14:53:23] but that had no categories [14:53:49] Hmm, that dump should have category pages. [14:57:32] it does. [14:57:44] what?? [14:57:49] so where are they?? [14:57:59] i dunno... in the dump, i guess [14:58:09] i imported both with mwdumper [14:58:23] but on both dumps there were only red category links in the articles [14:58:33] and the pages itself were missing too [14:58:42] josch: did you go to the actual category pages to look if they exist? [14:58:46] link color may be misleading [14:58:52] you have to run rebuildlinks after importing [14:58:53] i assume pages-meta-current.xml.bz2 is the dump that *should* contain the categories? [14:59:03] haha [14:59:04] no [14:59:09] i made this error once [14:59:24] there are ready to download link tables at the download page [14:59:36] i bothered with populating those tables two weeks [14:59:44] i could have downloaded them from the start [14:59:58] and: no they are even not there when i visit them directly [15:00:09] not sure if that will work... [15:00:29] the db tables refer to page ids. i'm not sure page ids are preserved when importing from xml [15:00:37] actually, i'm pretty sure tehy are not [15:00:42] okay even then [15:00:50] i rebuild the index the last time [15:00:54] and it didnt work ether [15:01:19] so i started from scratch with pages-meta-current.xml.bz2 [15:01:27] instead of pages-articles.xml.bz2 [15:02:07] when they are not? why do they even bother dumping them? [15:02:22] i wonder where i get all the category pages from then, when i import pages-articles.xml dumps [15:02:31] josch: have you set the content language of your wiki correctly? [15:02:39] COME GAMERS TO #finished the best channel for gammers on freenode [15:02:48] Duesentrieb, ah something new [15:02:54] improting an de dump when your content language is set to en will probably misplace all pages that are not in the main namespace [15:03:09] okay so how do i do that? [15:03:24] could this be the reason? [15:03:27] $wgLanguageCode = "de"; [15:03:29] yes, it could. [15:03:42] YEAH! [15:03:47] they are THERE!! [15:03:49] \o/ [15:03:51] Why was I _sure_ this guy would make some sh*? [15:03:54] hehe [15:04:02] THANK YOU VERY MUCH!! [15:04:08] not sure of changing the content language after the fact may cause trouble [15:04:16] np :) [15:06:36] okay... [15:06:37] great! [15:06:47] now on to the next problem ;) [15:06:59] i figured most images are not on wikipedia [15:07:02] but in commons [15:07:19] is there a way to include the image description page at least? [15:07:46] all i see now where there should be a picture is a link Image:Filename.ext [15:07:59] can i make it so that there is actually an image tag? [15:08:09] it doesnt matter if the image is not present [15:08:23] but can i have the image tag instead of the link? [15:08:47] 03ialex * r35229 10/trunk/phase3/ (2 files in 2 dirs): Update messages.inc and rebuild MessagesEn.php [15:22:01] 03(NEW) Magic Word PAGESINCATEGORY - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14237 15enhancement; normal; MediaWiki: Templates; (londenp) [15:27:31] 03rotem * r35230 10/trunk/ (2 files in 2 dirs): Update for he. [15:55:38] 03(mod) PAGESINCATEGORY should differentiate between pages and subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14237 summary (10raimond.spekking) [16:01:30] *AaronSchulz gets E_STRICT flooded [16:04:16] Hi, are there any interfaces for mediawiki in other languages like python, java or at least a REST or SOAP? [16:05:05] I believe there is a Java one, just a sec. [16:06:51] AaronSchulz: why? [16:06:56] flaggedrevs [16:07:26] there seem to be call-time pass-by-refs to functions that pass-by-ref already [16:07:33] have fun [16:08:00] Nikerabbit: ;) [16:08:00] Toti1: Oh, no; I am mistaken -- it's python: http://mwclient.sourceforge.net/ [16:08:08] I started writing http://translatewiki.net/wiki/User:Nike/iged [16:08:24] that works as well [16:08:38] I just want to interact with mediawiki without having to write php [16:10:42] Toti1: You could write your own bot framework. [16:12:44] toti, you will probably have to get in to php no matter what [16:12:56] if you want to do real sysadmin stuff with mw [16:13:05] that said, you don't need to get in real deep [16:13:09] hi MZMcBride pill [16:13:25] and php is much like any recent procedural language [16:13:33] although not nearly as elegant as perl [16:13:47] so what you think the code does, you're probably right [16:14:15] Hello Fire. [16:14:19] Did you still want to talk to me? [16:14:32] and *that* said, i agree that it would be nice if more mw features were easier to work [16:14:53] extensions should come with one-button installers [16:15:18] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10kaldari) [16:15:38] what are the alternatives for providing tag to mediawiki? [16:17:49] MZMcBride, why not :) [16:19:55] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10kaldari) [16:24:59] 03(NEW) Diff without page name in URL does not link to page in question - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14238 normal; normal; MediaWiki: User interface; (ktc) [16:26:33] 03(mod) {{PAGESINCATEGORY: Category}} shows different number than MediaWiki:Category-article-count - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13691 +comment (10Wiki.Melancholie) [16:26:41] 03(mod) PAGESINCATEGORY should differentiate between pages and subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14237 +comment (10Wiki.Melancholie) [16:36:55] hey it's me again ;) [16:37:21] does someone know, in which variable the script path is stored in the dumper scripts? [16:39:49] $wgScriptPath only seems to contain the directory from which the script is called [16:47:29] 03(mod) [tables] Please implement COL, COLGROUP - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=986 +comment (10michael) [16:47:59] 03aaron * r35231 10/trunk/ (4 files in 2 dirs): [16:48:00] * Add $wgFlaggedRevsVisible back. Made for third-party use. [16:48:00] * Add hook to JOIN for data for page history, rather than query spam [16:48:00] * Fix a panty load of E_STRICT errors [16:48:00] * Tweak variable name [16:51:50] 03aaron * r35232 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: No need to explicitly give page_id [16:53:13] hi VasilievVV [16:54:14] Is there an easy way with the API to parse out key = value pairs of the infoboxes? [16:54:23] hi Fire [16:54:53] or to get the images with their captions? [16:56:04] 03aaron * r35233 10/trunk/phase3/docs/hooks.txt: Add PageHistoryPager::getQueryInfo [16:56:59] 1.6.5 has php5 support hasn't it? [16:58:28] 03aaron * r35234 10/trunk/extensions/FlaggedRevs/maintenance/ (reviewAllPages.inc reviewAllPages.php updateLinks.php): [16:58:28] * Use same $IP method for all scripts here [16:58:28] * Actually spell variable name correctly [17:00:00] 1.6.5 has php5 support hasn't it? [17:00:20] EnderOL: sure [17:00:31] I guess I can render to HTML, then extract all the image tags, and then get all the alt text from them [17:00:50] EnderOL: if you use php5, migrate to 1.12 [17:05:29] VasilievVV i'm planning to but if i turn php 5 instead of 4 on the wiki all of a sudden stops working because there's 'too many redirects' any idea why? [17:05:55] hi brion [17:06:29] brion: sup [17:06:37] ok, Taco Bell time :) [17:09:40] 03simetrical * r35235 10/trunk/phase3/includes/ (SpecialMovepage.php Title.php api/ApiQuerySiteinfo.php): (log message trimmed) [17:09:40] * Don't allow moving with subpages to a namespace that doesn't allow subpages. Such a move is only questionably reasonable, and even if reasonable it's not possible to revert it. [17:09:40] * Use a consistent test for whether a namespace permits subpages: empty(), not [17:09:41] isset or boolean test with errors suppressed or a combination of those. The [17:09:43] isset test alone (used in isSubpage()) is particularly broken because it returns [17:09:45] true if the namespace is explicitly set to *not* allow namespaces, and only [17:09:47] returns false if the entry is unset. [17:10:55] hehe [17:11:01] works so far but [17:11:08] how do i suppress warnings? [17:11:21] since wikipedia markup is not xhtml compliant i get: [17:11:22] Warning: DOMDocument::loadHTML(): ID catlinks already defined in Entity, line: 383 in /var/www/extensions/DumpHTML/dumpHTML.inc on line 558 [17:11:26] for every article [17:14:08] 03(NEW) Template behaviour: quick fix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14239 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [17:14:15] 03(mod) Template behaviour: quick fix - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14239 normal->high (10pbirken) [17:15:45] 03simetrical * r35236 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php): Reduce default max pages to move at once to 100, primarily to keep RC spam to sane levels until a more reasonable fix can be thought up. [17:18:06] 03(mod) Extension data: Optionally include example installation + example usage. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14204 +comment (10dan_the_man) [17:18:57] 03(mod) PAGESINCATEGORY should differentiate between pages and subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14237 (10Simetrical+wikibugs) [17:22:42] if i turn php5 on instead of php4 my mediawiki suddenly stops working due to too many redirects, any idea why? 1.6.5 [17:25:15] EnderOL, what are the redirects that are causing the problem? [17:25:37] hi Simetrical [17:25:52] my htaccss is RewriteEngine On [17:25:53] RewriteRule ^COPYING$ /w/COPYING [L] [17:25:53] RewriteCond %{REQUEST_URI} !^/w/ [17:25:53] RewriteCond %{REQUEST_URI} !^/(robots\.txt|favicon\.ico|soldatwiki\.gif) [17:25:53] RewriteRule ^(.*)$ /w/index.php/$1 [L,QSA] [17:26:11] i don't know which ones are in the mediawiki php code :-/ [17:26:20] but i can't even see the main page [17:26:35] ah it's wfSuppressWarnings(); [17:27:30] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 (10roan.kattouw) [17:27:32] EnderOL: putting wiki in the server root is bad practise, and thus you are lucky if someone is nice enough to help you :) [17:27:45] Hi all. I have a little problem with host provider. There is php 4.4.4, Thay sad, that soon they will migrate my data to server with php5, but time is too important. What i can do? [17:27:53] Nikerabbit it's only on a subdomain so don't worry [17:28:17] EnderOL: subdomain or not, you should not user domain.tld/wikinamespace [17:28:20] EnderOL, it's not MediaWiki's fault if your rewrite rules are broken, that's for sure. I would help if I had any idea what the problem is, but rewriting is voodoo magic. [17:28:27] Maybe ask in #apache. [17:28:36] Nikerabbit, well, I wouldn't be that harsh. It's not so unreasonable to want that. [17:28:42] The cases where it causes trouble are fairly marginal. [17:28:56] Especially if you have initial capitals enabled. [17:29:03] looks like it is nothing, what i can do [17:29:08] simetrical, the rewriterules work, only mediawiki starts fucking up if i go to php5 from php4 [17:29:20] Simetrical: I'm just fed up people using nonrecommended setup and then coming here when that doesn't work [17:29:26] Sonozaki_Echon, well, either use 1.6.10 or get another host. Take your pick. [17:29:27] Simetrical: anyway, http://translatewiki.net/wiki/User:Nike/iged [17:29:38] EnderOL, what exactly does it do wrong? [17:29:54] it causes a redirectloop [17:30:08] when i check out the mainpage [17:30:09] EnderOL, what is the redirect loop? What redirects form the loop? [17:30:19] can you give mee a link to this version of mediawiki? sorry for my stupid questions ^^* [17:30:24] MediaWiki generally never uses redirects on a normal page view. [17:30:31] Sonozaki_Echon, www.mediawiki.org [17:30:34] i don't know, how can i see? [17:30:38] lol [17:30:52] well, try ind myself [17:30:57] 14(INVALID) Template misses its parameter when contianing a link with "=" character in the URL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14235 +comment (10roan.kattouw) [17:31:00] anyway. tnx [17:31:06] EnderOL, use a packet sniffer or something. [17:33:01] great, works. tnx again =) bye [17:33:41] Simetrical: any comments on the idea? [17:33:57] Nikerabbit, seems reasonable. [17:36:46] Simetrical: oh well [17:36:55] not the best thing since sliced bread I suppose :) [17:38:09] mm, cheese quesadillas [17:40:19] 03nikerabbit * r35237 10/trunk/phase3/languages/classes/LanguageUk.php: * Update plural for uk [17:41:39] talking about the sliced bread... I'm going to eat some bread [17:43:49] plain bread? [17:43:53] interesting meal :) [17:45:26] Speaking of meals... I've got corn dogs sitting in front of me I should probably eat [17:45:53] Though... I'd like to let a video or two download so I'm not interacting with the computer while eating... [17:45:58] eww :/ [17:46:13] ^_^ There isn't much in the house left to eat [17:46:25] oh [17:46:30] well then, bon appetit [17:46:35] heh [17:46:50] *Aaron|quesadilla should have said "good luck!" [17:46:57] heh [17:47:32] ^_^ On the positive note... My potential business partner has rewrote the NDA and we plan to meet sometime next week. [17:48:45] heh... maybe I can finally buy myself a laptop sometime soon [17:49:10] Get away from this machine which has issues even opening up a folder... much less running Eclipse [17:50:01] "sorry, you have reached you maximum quota of files opened today, try again tomorrow, thanks" [17:50:08] heh [17:52:08] Well... considering Vista is full of nonessencial and processor hogging new "Features" meant for the DMR people (When a fair bit of DMR aren't rights), I wouldn't put that kind of feature past MicroSoft claiming it's usefull for the administration people... [17:52:31] *DRM [17:52:43] Eh? [17:52:59] "Digital Rights Management" is not abbreviated "DMR". [17:53:13] Aaron|quesadilla, have you checked the complaint on Wikitech-l about Special:SpecialPages? [17:53:24] Hmmm... I thought it was "Digital Media Rights" [17:53:49] http://en.wikipedia.org/wiki/Digital_rights_management [17:53:56] http://en.wikipedia.org/wiki/DMR [17:54:08] DMR does stand for "differentially methylated region", however. [17:54:14] I just love terms like that. [17:54:34] The best one I saw recently is when we covered the parametrized transfinite recursion theorem in set theory class. [17:54:46] "parametrized transfinite recursion theorem" [17:54:46] heh [18:02:35] Simetrical it 301 redirects to itself [18:05:49] Is there any sort of heigharchy for groups? For instance "staff", "manager" and "admin". At the moment a manager can use Special:Userrights they should only be able to add people to the staff group but they have access to add to the manager and sysop/admin groups as well [18:06:04] EnderOL, do you have a link to the page? Does it still happen if you comment out your rewrite rules? [18:06:58] !wg AddGroups | tekmosis [18:06:58] --mwbot-- tekmosis: http://www.mediawiki.org/wiki/Manual:%24wgAddGroups [18:07:28] ah great, thanks (: [18:08:14] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [18:09:51] @simetrical without my rewrite rules it redirects to a non-existant page so mediawiki doesn't step in anymore... [18:10:26] but my rewrite rules are not causing the redirect anyway (it's not redirect rules, it just rewrites the url for the server, not for the client) [18:10:40] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [18:10:41] url = wiki.soldat.nl [18:14:24] 03ialex * r35238 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): (bug 12145) Kazakh message updates [18:16:12] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alex.emsenhuber) [18:16:55] EnderOL, everything is redirecting to /Index. Nothing in MediaWiki will do that. [18:17:22] EnderOL, as far as I know, anyway. [18:17:35] well index is my Main_page [18:17:50] 03(NEW) Creation of pt.wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14240 15enhancement; normal; Wikimedia: Site requests; (lugusto) [18:18:08] I don't know what the problem is. I'm guessing it's somewhere in your Apache config or something. If you find that it is MediaWiki's fault, please tell me how that is so I can fix it. [18:18:26] Maybe you have some hacks you've made to MediaWiki? [18:18:33] Third-party extensions you're using? [18:18:45] Any unusual config options you have set? [18:19:46] hmm i made 4 specialpages of my own but they don't come in until later [18:20:40] Probably not the issue, but you could try disabling them for debug purposes. [18:21:42] $wgScript = "$wgScriptPath/index.php"; [18:21:43] $wgRedirectScript = "$wgScriptPath/redirect.php"; [18:21:45] this normal? [18:25:07] EnderOL, those lines should be superfluous. Deleting them (or commenting them out) should change nothing. [18:25:29] so why are they there? :D [18:25:58] Someone put them there, maybe? [18:26:07] Those amount to the default values, if you're using the .php extension. [18:26:15] If you're using .php5 or something, they'll be incorrect. [18:26:31] ah yeah they don't do anything :( [18:28:23] any idea which files to look into for this redirecting? [18:29:17] Does anyone have experience with a wiki family setup using one user table rather that a user table for every single wiki? [18:29:32] AaronSchulz: bah [18:30:49] hab [18:34:05] EnderOL, I have no idea what the problem might be, if indeed it lies with MediaWiki. [18:34:23] MediaWiki never, as far as I'm aware, creates a 301 redirect to the main page. [18:34:45] tekmosis, Wikimedia is currently implementing this using the CentralAuth extension. Wikia also does it. [18:34:53] Using their own undisclosed method. [18:35:25] I'll have to take a look at that extension, thanks [18:36:16] http://en.wikipedia.org/w/index.php [18:36:54] EnderOL, okay, I've been pwnt. [18:37:08] Still not sure what might be causing the issue. [18:37:21] Your rewrite scheme is not the conventional/recommended one. [18:37:35] Could you pastebin your LocalSettings.php, minus DB login/password? [18:39:19] http://rafb.net/p/fXgexC10.html [18:40:04] 03aaron * r35239 10/trunk/extensions/ConfirmAccount/ (4 files): Split out special pages [18:41:35] 03siebrand * r35240 10/trunk/extensions/Translate/MessageGroups.php: [18:41:35] * add SimpleAntiSpam as WMF extension [18:41:35] * sort WMF extensions alphabetically. Ordering does not work (yet) [18:44:36] Hi Charitwo [18:46:24] hiya [18:47:13] if i change the MediaWiki:Mainpage var back to default it starts to do the same thing but on http://wiki.soldat.nl/Main_Page [18:48:09] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10leon) [18:50:36] is it possible to link straight from the Contents to a page inside the wiki ? [18:51:59] Wind0: Hm? [18:52:00] um, what "contents"? [18:52:02] From the Contents? [18:52:08] do you mean index.html? [18:52:18] your web directory root? [18:52:51] how do i remove this message from the api calls "You are looking at the HTML representation of the WDDX format. [18:52:51] HTML is good for debugging, but probably is not suitable for your application. [18:52:51] See complete documentation, or API help for more information." [18:52:56] if so, see [[Manual:Short URL]] [18:53:27] when users surf to your web root, they'll go straight to Main Page [18:55:24] When I have several sections and sub-sections on a page an outline-style "Contents" navigation appears at the beginning of the page. For instance ==subsection== will appear in the contents. I'd like to have that link directly to another page in the Wiki, instead of jump down to the section in the current page. [18:56:54] um, offhand i'd say that makes no sense [18:57:00] TOC is, after all, TOC [18:57:22] ah, you can make a section header a link too [18:57:41] maybe what you want is sth that *looks* like a TOC but is really a box full of links [18:57:43] that's easy [18:57:43] well are there some navigations tools i can use? plug-ins, add-ons, or whatever the correct term may be? [18:57:47] you can even template it [18:57:54] template, that may be it :) [18:58:03] tell you what [18:58:14] pm me, link me, and i'll show you sth [18:59:45] i'd like to help [18:59:45] ok, don't mind the mess [19:00:22] ok [19:01:01] ? [19:01:15] Just sent. [19:01:15] are you having connection trouble? [19:01:27] "sent"?? [19:01:40] the /msg [19:01:52] type: /msg Xiong http:yourwiki.foo [19:01:59] 03aaron * r35241 10/trunk/extensions/FlaggedRevs/ (11 files in 2 dirs): Move out auxillary special pages [19:03:28] 03(mod) activate edit api on en-wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14210 +comment (10Bryan.TongMinh) [19:03:51] is there sth weird about pm on this chan? [19:03:56] this server? [19:04:06] did you get any of them yet? [19:04:15] no and i pm you too [19:04:17] i received yours [19:04:28] and you replied in that window?? [19:04:41] no, but when i send them they show up in that window [19:05:26] i'm a mediawiki newb but i've been using irc for 15 years :/ [19:05:49] okay, that did not show up in my pm window [19:05:49] Are you both identified? [19:05:51] 03(WONTFIX) Special:Watchlist/ edit should mark unsighted articles just like Special:Watchlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14236 +comment (10JSchulz_4587) [19:06:00] 03(mod) No images show up on wikimedia sites (accessing from Dubai) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14233 (10brion) [19:06:03] gah [19:06:19] thanks MZMcBride, i just looked at the status window [19:06:23] i'm id'd [19:06:24] brion: heh, didn't catch that "accessing from Dubai" immediatly ;) [19:07:53] *MZMcBride applauds Brion's restraint not responding to the autoconfirmed bug. [19:08:00] hehe... http://news.bbc.co.uk/2/hi/americas/7416120.stm [19:09:04] 03ialex * r35242 10/trunk/extensions/Configure/ (5 files): [19:09:04] * Link setting to documentation on www.mediawiki.org [19:09:04] * Added $wgMaximumMovedPages [19:09:04] * $wgSitemapNamespaces now looks like other namespace settings [19:09:35] lol that's some article brion [19:10:18] 03aaron * r35243 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Clear out any previous metadata [19:11:03] 03(mod) There should be a way to change "home" wiki in CentralAuth - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14234 +comment (10brion) [19:11:47] 03(mod) activate edit api on en-wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14210 +comment (10roan.kattouw) [19:15:57] 03aaron * r35244 10/trunk/extensions/FlaggedRevs/maintenance/reviewAllPages.inc: Show name [19:20:56] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10alexfusco5) [19:27:49] 03brion * r35245 10/trunk/phase3/maintenance/runJobs.php: add timestamps to runJobs output, should make it easier to track down stuck job queue runners [19:32:56] 03ialex * r35246 10/trunk/extensions/SemanticMediaWiki/includes/jobs/ (SMW_DummyJob.php SMW_UpdateJob.php): svn:eol-style native [19:34:27] 03aaron * r35247 10/trunk/extensions/FlaggedRevs/maintenance/reviewAllPages.inc: Break [19:35:58] 03aaron * r35248 10/trunk/extensions/FlaggedRevs/ (FlaggedRevision.php FlaggedRevs.class.php): These should be real newlines [19:38:12] has anyone tried using the fail2ban extension for MW? [19:38:47] 03(mod) Spanish Wikipedia: semiprotection - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13261 (10Platonides) [20:04:08] is it possible to have a template call in a custom edit button? everytime I try the template executes [20:06:52] 03ialex * r35249 10/trunk/phase3/docs/html/README: phpdoc -> doxygen [20:09:09] I'm using the HttpAuthPlugin, is there a way for me to have it autocreate users so their email address is username@domain.com ? Is there documentation on the mechanism that does that? [20:10:26] 03aaron * r35250 10/trunk/extensions/FlaggedRevs/maintenance/reviewAllPages.php: No zero ID [20:31:54] 03brion * r35251 10/trunk/phase3/includes/Block.php: drop redundant wfTimestamp() call... we already got it formatted in TS_MW from decodeExpiry() [20:45:30] 03aaron * r35252 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: * Fix call do bogus constant that broke classing [20:46:31] 03(mod) Extension:Assert Edit appears to have no effect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12038 +comment (10semenik) [20:49:41] 03(NEW) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 15enhancement; normal; MediaWiki: Page protection; (shaiaquanature) [20:50:34] 03(NEW) Insufficient line space between bullet point and TOC - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14242 minor; normal; MediaWiki: Page rendering; (jeffb) [20:51:22] 03(mod) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 +comment (10JSchulz_4587) [20:53:16] 03(mod) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 (10JSchulz_4587) [20:56:02] Hi, my mediawiki is throwing this exception: [20:56:02] Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 379928 bytes) in /var/www/apache2-default/mediawiki/includes/Parser.php on line 4206 [20:56:28] 03(mod) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 (10N/A) [20:57:09] Toti2, increase memory_limit in PHP. [20:57:13] !memory_limit [20:57:13] --mwbot-- I don't know anything about "memory_limit". [21:01:22] so what are {1}, {{2}}, and {{{3}}} called? 1=positional parameters ? [21:03:46] where is the php.ini file usually located? [21:11:26] 03brion * r35253 10/trunk/phase3/languages/messages/MessagesEn.php: restore movepage-page-moved from r35213, seems to have been removed by some subsequent update [21:11:57] i changed it to 64M but the error still appears do I have to restart it? [21:12:59] 03aaron * r35254 10/trunk/phase3/includes/ImagePage.php: Remove unused var [21:13:23] 03(ASSIGNED) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 +comment (10skizzerz) [21:14:23] why does bugzilla fail so much when taking assignments? [21:14:47] 03(mod) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 (10skizzerz) [21:14:48] fail in what way? [21:15:22] I clicked on the "accept bug (change status to ASSIGNED)" button thinking it would change the assigned field to myself, yet it didn't [21:15:38] sounds like the user failed [21:15:39] ;) [21:15:45] 03aaron * r35255 10/trunk/extensions/FlaggedRevs/FlaggedRevs.class.php: Functionality removed, so not point adding url param here [21:15:45] >_> [21:15:56] Skizzerz: assigned is broken [21:15:58] and then when I reassigned the bug to myself for real, the status changed to NEW [21:16:02] it doesn't even list my assigned bugs [21:16:06] I have to bookmark them [21:16:17] Skizzerz: yeah it's just broken as designed ;) [21:16:30] meh [21:16:33] you can accept it (for the assigned person) OR reassign it to yourself [21:16:39] but not at the same time [21:16:43] which is...... imho a bit lame :) [21:16:45] it's way better then trac, so I'm not complaining [21:17:00] "Bugzilla: at least you're in good company." [21:17:09] use jira, it has an 'assign to me' button [21:17:21] and you'd have to be silly to have email notifications of reassignments, etc. on [21:23:06] 03simetrical * r35256 10/trunk/phase3/includes/SpecialMovepage.php: Fix bug: we still need to move subpages if we're moving the talk page, and the talk namespace allows subpages. [21:26:29] 03(mod) Pages can be protected to levels you aren't in, and can be deleted without having the edit right - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14241 (10N/A) [21:28:06] flyingparchment: mantis or anything else does that have also ^^ i dn't think that any s project needs a jira os license, that#s just marketing for them... "oh look, even project is using jira, so your company can do this als for 4.000USD" [21:29:16] how dare they put their name on their software in return for giving out free licenses to everyone [21:30:09] flyingparchment: its not the copyright in the footer i mentioned [21:31:26] http://www.atlassian.com/software/jira/customers.jsp --> Open Source orgs / projects [21:31:42] its just the active marketing with the projects who use it [21:31:51] 03simetrical * r35257 10/trunk/phase3/includes/SpecialMovepage.php: Fix another bug pointed out by Brion, pseudo-subpages can get moved. [21:32:10] but this doesn't need to be in #mediawiki, that's just a personal opinion [21:32:30] oh, we'd better remove the list of people who use mediawiki from our site [21:32:33] that's so evil ;-) [21:32:59] they get marketing, the project gets awesome software for free.. everyone wins [21:33:10] Hello, is there a way to change the an uploaded images dimensions, eg changing the width and height of it using the wiki. [21:34:11] not everyone. [21:34:19] thats the little difference ;) [21:35:13] if you are a company, maybe a small startup who wants an issue tracking syste,m jo need to buy it. only of you are an os project, or releasing some software under os, you can get a free license [21:36:47] and i don't think, that _all_ opensource projects who request a free license, will get one. [21:39:16] on the recent changes page of my wiki, some items have little red exclamation points next to them, like where the "N" or "m" goes as well. what do these mean [21:39:20] ? [21:40:17] "unpatrolled" [21:40:52] set $wgUseRCPatrol = false; if you don't want that [21:41:24] !patrol [21:41:24] --mwbot-- It's a feature, not a bug :) [21:41:27] heh [21:42:33] it's close to a bug anyway ;-> [21:42:33] what is patrolling, exactly? I've heard it but don't really know what it means [21:43:59] pages changed by anons get a red exclamation mark on the RC page, until you look at the page and click some "patroled" links somewhere at the top [21:44:03] The point is basically making it so that all edits people make are reviewed by semi-administrators of the wiki. [21:44:06] i've never really used it [21:44:39] only the last patrolled revision of the page is visible to your visitors, or? [21:44:42] ^_^ I review 100% of the edits on a single wiki... But even I don't use that horrid /feature/ [21:44:49] on a smallish wiki, it might work. on large wikis, it tends not to. on a small wiki, however, you probably don't need it anyway. [21:44:52] Nope... same as always [21:45:02] Yup, that's the gist [21:45:25] ny: No, it just exists as a way for more-trusted users to tell other users they have checked an edit. [21:45:26] ny: that is flagged revisions, an extension (and only the last reviewed version is visible by default, all versions can be seen via history, no hidden content) [21:45:32] ny: no, that would be the new "sighting" stuff, based on revision tagging. [21:45:38] It is completely useless to you, unless you are of an extremely rare wiki actvity [21:45:40] it is similar to diff/newpage patrolling, just more agressive [21:45:45] ny: patrolling is kind of the old/light/dumb version of that [21:45:55] thx ;) [21:46:04] *Dantman|FS wishes it would actually be disabled by default [21:46:05] right, the two could be merged into core someday, as two settings of the same system... heh heh [21:46:26] *Splarka waits for MinuteElectron to call him rediculous! [21:46:54] Disabling it on wiki I setup every time I notice (Hey, red exclamation marks in RC... Time to find out what options disable that cruddy feature again) [21:47:05] is quite annoying [21:47:07] yah, it should probably be disabled by default [21:48:18] agreed [21:48:23] it's damn annoying :/ [21:48:31] plus it clutters up special:log nicely... [21:49:14] Oh god no... a log [21:50:01] You do realize that means it clutters RC with red exclamation marks... And each time someone reviews it to get rid of the marks... It adds dozens of log items to spam RC [21:50:37] it's just plain annoying "feature" imho [21:52:05] http://bulbapedia.bulbagarden.net/wiki/Special:Log [21:52:08] useful logs, eh? [21:52:42] Dantman|FS: Duesentrieb: thank you [21:53:09] Jack_Phoenix, is that your wiki? [21:53:23] no :) [21:53:33] and hi Fire ;) [21:53:35] oh, I forgot... (per flagged revs, new page patrolling) [21:53:38] !exclamation [21:53:38] --mwbot-- A red exclamation point (!)in recent changes or on your watchlist is due to either the enabling of patrolled editing or the Flagged Revisions extension [21:53:46] hi jack [21:53:54] *Jack_Phoenix waves [21:54:18] ^_^ And annother daily snipplet from the Lisp world.... Imagine a wiki engine managing language settings in a hierarchical list (useskin userpref wikilang :en), considering each leftmost option is Nil when not set, doing an (or languagelist) on that would return the first set language (ie: the language being used in the interface) ;) [21:58:37] Hey... does anyone know much about PHP6's namespaces? [21:59:02] so you could choose several languages in your prefs to fallback on in order? [21:59:06] Dantman|FS: well, AFAIK you just stick use namespacename; at the top of your file? [21:59:17] and that's about it [21:59:41] s/use/namespace [22:00:28] 03simetrical * r35258 10/trunk/phase3/includes/ (6 files in 2 dirs): [22:00:28] Code simplification (-205 bytes :P): [22:00:28] * Add MWNamespace::hasSubpages() and use that instead of $wgNamespacesWithSubpages everywhere [22:00:28] * Put early returns first, and don't else { } the rest of the code [22:00:30] 03(mod) PAGESINCATEGORY should differentiate between pages and subcategories - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14237 (10londenp) [22:00:30] Splarka: Nah... it's an insanely easy way of managing the higherarchal order of language settings... And also permits looping over that order so things like using MW messages for a language and falling back through the list instead of dropping all the way back to english, is possible [22:00:34] although i wonder if it is possible to somehow autoload namespaces. [22:00:42] Actually [22:00:48] What I'm wondering is about globals [22:00:50] Dan: right, but wouldn't that be most useful for a user prefs? [22:00:56] Oh noes, my byte count was wrong. [22:01:00] Perhaps [22:01:10] eg, "I know Chinese mostly, but I also understand zh-traditional, and then after that I understand german..." [22:01:28] Heh... that is an interesting idea [22:01:30] 03(NEW) Security leak in edit part - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14243 04CRIT; normal; MediaWiki: API; (cdl-klever) [22:01:41] so that if MW:Foo/zh wasn't there, it'd try /zh-traditional and then /de before /en, for that user [22:01:52] I suppose you could actually make a list user language preference [22:02:00] Yup [22:02:01] It was only 193 bytes. :( [22:02:25] MinuteElectron: I was wondering if globals in namespaces would be global global, or global for that namespace [22:02:31] in Lisp it's global for a package [22:02:35] 03leon * r35259 10/trunk/phase3/ (2 files in 2 dirs): [22:02:49] 03(mod) API allows editing with GET requests - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14243 summary (10Simetrical+wikibugs) [22:03:27] I was wondering, because if it was global for a Namespace, then PHP5.3/PHP6's namespaces might aid in stopping the ugly globals from spilling out into other code. [22:04:13] wth. [22:04:35] why did this commit? [22:04:48] I like this function name: public function userIsWatching() { [22:04:52] zomg another security hole in the api i'm so shocked [22:04:56] $bigBrother->userIsWatching() [22:05:01] Simetrical, lol [22:05:02] LeonWP, ? [22:07:30] *Splarka grounds flyingparchment [22:07:37] you should't be playing with such live wires as these guys [22:07:40] :D [22:07:49] 03leon * r35260 10/trunk/phase3/RELEASE-NOTES: [22:07:49] * Updating RELEASE-NOTES for last commit, which accidently had no commit message. [22:07:49] Last commit message: [22:07:49] * (bug 14243) Fix security leak in edit api; patch 4920 by HardDisk [22:07:49] * (bug 12145) Kazakh localisation updates; part of patch 4919 by AlefZet [22:08:07] Live, I thought hard disks were read as needed? heh [22:08:19] HardDisk_WP, there you go. [22:08:24] LeonWP, thanks :) [22:08:36] http://test.wikipedia.org/w/index.php?title=User:Splarka&curid=12373&action=history I feel so violated, my user page was vandalized by the api *sniff* [22:08:50] heh [22:09:00] now if I only had FF3 open [22:09:14] 03(FIXED) API allows editing with GET requests - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14243 +comment (10leon) [22:09:39] Ew, ew, ew, ew... Even more unrestfull [22:10:16] Rotfl... ammusing api comment [22:10:32] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10leon) [22:11:14] argH [22:11:15] Splarka, how did you generate this url? [22:11:36] it was simply: [22:11:37] http://test.wikipedia.org/w/api.php?action=edit&title=User:Splarka&summary=VANDALISM!!1&text=bite+me&basetimestamp=20080523213529&token=%2B\ [22:11:47] and I url-encoded all alphanumeric characters [22:12:00] by hand? [22:12:07] nah, with a small script [22:12:14] ah kk^^ [22:12:41] 03minuteelectron * r35261 10/trunk/phase3/languages/messages/MessagesKk_cn.php: * Partially revert 35259; this should be @ingroup not @addtogroup. [22:12:41] var %i = 1 | var %h [22:12:42] while %i <= $len($1-)) { [22:12:42] set %h %h $+ % $+ $base($asc($mid($1-,%i,1)),10,16,2) | inc %i [22:12:42] } [22:12:54] waah ^^ [22:12:57] mirc script that is (I'd written it for other purposes, was handy...) [22:12:58] what the hell is this? [22:13:00] perl? [22:13:02] aah [22:13:11] mirc [22:13:16] this is an example of why wikicode should never be a programming language, [22:13:26] mIRC scripting is a horrible horrible language, all accidental [22:13:33] (to paraphrase Tim) [22:13:35] ack [22:13:51] Yeah, I used to write in it. [22:13:56] No string delimiters is always fun. [22:14:02] (At least bash has them *optionally*.) [22:14:43] MinuteElectron: oh you were faster than me :o [22:14:45] 03nikerabbit * r35262 10/trunk/phase3/ (5 files in 3 dirs): [22:14:45] * New option $wgPerLanguageCaching, for wikies with many translated system messages in MediaWiki namespace. [22:14:45] * Sidebar is now cached for all languages [22:15:24] *Splarka rars at J [22:15:25] 03minuteelectron * r35263 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): * These should also all be @ingroup, not @addtogroup. [22:15:40] mm [22:15:48] but I thought no one would click my api edit link if it was too obviously vandalism, heh [22:15:51] how big would be an actual en:wp dump? [22:16:04] b.i.g. [22:16:13] Fire, look for yourself. [22:16:15] !dumps [22:16:15] --mwbot-- http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [22:16:19] Meh. [22:16:23] Fire, how much HD space do you have left? [22:16:48] updating to r35261 [22:16:56] http://download.wikimedia.org/enwiki/20080103/ [22:17:03] 133.0 GB with bz2 compression. [22:17:04] brion, you mean testwiki? great :) [22:17:07] shit [22:17:16] this will surely be 500GB unpacked [22:17:21] heh [22:17:27] 03nikerabbit * r35264 10/trunk/phase3/includes/DefaultSettings.php: * And the variable definition for my previous commit [22:17:30] You think just 500 GB? [22:17:32] Parse error: syntax error, unexpected ';' in /home/wikipedia/common/php-1.5/includes/Title.php on line 1503 [22:17:36] *brion hrmmm [22:17:36] bz2 gives much better compression than that. [22:17:36] .oO and 200GB of it useless code for even uselesser stub templates :D [22:17:38] *Simetrical sighs [22:17:39] :D [22:17:44] damn [22:17:45] so uh, [22:17:46] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Title.php?r1=35235&r2=35258 [22:18:49] I co'ed trunk to install a wiki, and config/index.php spat out a nice error about ;s in Title.php on line 1495, [22:18:58] which appears to have come from the above rev [22:19:11] 03minuteelectron * r35265 10/trunk/phase3/languages/messages/ (MessagesKk_cyrl.php MessagesKk_latn.php): [22:19:12] * Remove "DO NOT EDIT" notices from a couple of the message files, these should have been deleted a long time ago. [22:19:12] * Fix a typo in one of my previous commits. [22:19:21] That's the great thing about code cleanup, isn't it? [22:19:25] Introducing syntax errors! [22:19:29] hehe :) [22:19:44] Simetrical: they at least easy to find.. unlike the logic errors [22:20:18] Pinky, okay, try now. :P [22:20:21] k :) [22:20:22] 03simetrical * r35266 10/trunk/phase3/includes/Title.php: Syntax error [22:20:42] brion, you can update again :) [22:20:48] thanks :) [22:20:51] Maybe there should be a pre-save hook that aborts if there's a syntax error. [22:20:53] sigh [22:21:17] Simetrical, this would require a full PHP env etc being installed [22:21:27] Well, so? apt-get install php. [22:21:28] php -l? [22:21:36] HardDisk_WP: You can check for syntax errors using regular expressions. [22:21:45] man php | netcat LeonWP [22:21:50] HardDisk_WP: Aptana Studio does it and does not have full PHP installed. [22:21:53] MinuteElectron, what? [22:21:55] No you can't. [22:22:00] oh? [22:22:00] That's ridiculous. [22:22:03] sorry [22:22:03] PHP is not a regular language. [22:22:05] *MinuteElectron hides/ [22:22:08] Sorry, no offense. :) [22:22:23] But it's provably impossible to check for all PHP syntax errors using just a regex. [22:22:25] Simetrical, what's wrong with php -l? [22:22:26] It's too complicated. [22:22:29] LeonWP, nothing. [22:22:32] if i wan't eating a very delicious turkey sandwich & beer for lunch right now, i'd be mad at y'all for breaking the code [22:22:35] MinuteElectron, checking PHP code via REGEXES?! these guys MUST be insane [22:22:49] heh, of course not.. how could it possibly have a machine readable grammar -- even people can't understand it [22:22:57] *HardDisk_WP quickly hands brion another sandwich and another beer [22:23:00] HardDisk_WP: I don't know they use regexes for sure, just that they do it some how. [22:23:09] Even *if* PHP has a machine-readable grammar, it would be context-free, probably. Definitely not regular. [22:23:25] You can't even use a regex to determine whether an arbitrary string has matched parentheses. [22:23:36] http://en.wikipedia.org/wiki/Pumping_lemma_for_regular_languages [22:23:37] sure? [22:23:43] ^^ [22:24:29] Well, if you use back-references and fancy stuff like that, technically that proof is inapplicable. [22:24:32] But I doubt it will help. [22:25:38] http://en.wikipedia.org/wiki/Chomsky_hierarchy [22:26:03] brion: Would it make sense to convert all @addtogroup references in trunk/extensions to @ingroup? [22:26:14] Who cares? [22:26:27] Personally I've never used the Doxygen docs. [22:26:58] Personally I use them all the times. [22:27:10] More so when I was learning the code base, but still quite a lot now. [22:27:22] *brion just searches in the code :) [22:27:29] *Dantman|FS prefers looking at the source code that actually generates those docs [22:28:21] There is also the issue of the Doc's version... They are of one version, at some point in Alpha... They don't reflect older versions completely, and may not be completely up to date [22:28:46] The docs are updated very often (at least once a day). [22:28:48] So IMHO it's best to look through the code that is actually being run [22:28:51] Whoa, Perl 6 is going to extend regexes to allow recursive-descent parsers? [22:29:00] O_o [22:29:46] brion: Do you have a judgement? [22:32:36] Brion, what do you think about how RCPatroll is enabled by default? [22:33:58] Simetrical: Perl (and pcre, and thusly even PHP) has limited support for recursion in not-so-regular expresisons for a while now [22:34:34] Simetrical: Perl 6 goes far beyond that. it's more of an integrated language for programming with production grammars, as far as i understood. [22:34:42] which makes it interesting. [22:35:07] but i exepct it to come out, well, about the time HURD is ready. [22:35:14] Hey, Hurd works. [22:35:16] . . . kind of. [22:35:22] so does perl 6 [22:35:26] :) [22:35:30] so does Vista [22:35:48] really? that's new. [22:36:05] vista pretends to work, but sucks from every POV [22:36:34] heh [22:37:00] Simetrical: http://www.php.net/manual/en/regexp.reference.php look for "recursive patterns" [22:37:06] Crypography algorithms stealing your CPU cycles getting you down? Switch to Linux! [22:37:09] rotfl [22:38:17] Ugh, why doesn't \begin{align} work in texvc? [22:38:58] Duesentrieb, whee. [22:59:04] 03(mod) Install SpamRegex for en.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13811 (10happy_melon) [22:59:54] is there a way to speed up mediawiki after loading it? [23:00:39] I made a mirror of en.wikipedia.org and its in a pretty fast machine and I am the only customer.. but its still slow [23:01:35] I'm using $wgHooks['PersonalUrls'] however, I need to pass in html for an image; I'm setting it using an array and the text, href, class, active fields however the output is the raw html; is there any way to preserve the html? [23:18:24] 03siebrand * r35267 10/trunk/extensions/README: [23:18:24] * Remove updated incomplete list [23:18:24] * Update [23:21:56] I keep getting Fatal error: "Allowed memory size of 20971520 bytes exhausted (tried to allocate 544953 bytes) in /var/www/apache2-default/mediawiki/includes/Parser.php on line 429" even though I gave 128MB to media wiki and restarted apache [23:22:28] Toti2: try increasing php's memory_limit? [23:22:29] 03siebrand * r35268 10/trunk/extensions/ (PSINoTocNum/ PSINoTocNum/PSINoTocNum.php PSINoTocNum.php): [23:22:29] * move PSINoTocNum to its own folder [23:22:29] * whitespace updates [23:22:37] I did that to 128MB [23:22:43] hmm =/ [23:23:34] memory_limit = 128M [23:23:53] 03(mod) Install SpamRegex for en.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13811 (10brion) [23:24:29] I can up it more, but I doubt its that [23:26:51] 04(REOPENED) Show watched status - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14224 +comment (10danny_b) [23:29:00] Anyone up for a public lynch of the CEO of D-link? [23:29:34] 03siebrand * r35269 10/trunk/extensions/Filepath/: Extension Filepath removed. Obsolete since r30404. Was branched for 1.11 (also branched in 1.12) [23:30:01] ยง1: never buy an D-link router [23:30:03] AzaTht: need a rope? [23:30:20] Danny_B: bringing my own tar [23:30:33] I have an Asus with dd-wrt firmware [23:30:51] its prettu good [23:31:10] Toti2: the router is so crappy, I can't even use it [23:31:27] I have to remove the router if I want to use the net [23:32:45] it's just unable to handle speeds over 1MB/s and > 5/10 requests per seconds [23:32:54] KILL KILL KILL [23:33:43] MURDER DEATH KILL [23:38:40] I'm using $wgHooks['PersonalUrls'] however, I need to pass in html for an image; I'm setting it using an array and the text, href, class, active fields however the output is the raw html; is there any way to preserve the html? [23:58:06] hello [23:58:55] I have a question about the favicon