[00:03:53] brion: is that script ok? [00:14:36] 03aaron * r35119 10/trunk/extensions/FlaggedRevs/maintenance/ (reviewAllPages.inc reviewAllPages.php): Pass in [00:16:46] AaronSchulz: i haven't looked at it much yet other than my comment about BATCH_SIZE :) [00:16:49] but i gotta run [00:16:52] might be on later [00:16:58] n8 [00:23:04] >alnokta kibble: do you have any idea on how to add an icon to title of pages in a certain namespace? [00:25:50] i am getting this error when trying to copy url getting this error Fatal error: Call to undefined function curl_init() in /var/www/wiki/includes/SpecialUpload.php on line 181 [00:26:07] i did apt-get install php5-curl though [00:28:25] 03aaron * r35120 10/trunk/phase3/includes/Article.php: Move this till after ID set [00:28:59] does anyone have a work around for '_' in the username? i.e. xbFlux_name [00:29:14] i need to allow people to use _ [00:30:43] well, you can have underscores; they're just treated as equivalent to spaces [00:30:46] AaronSchulz, you know, your commit summaries could be more descriptive. You commonly (for instance, in this case) give no indication of what the actual effect of the change is meant to be, just a description in a few words of what you did, which is incomprehensible without context and which is anyway obvious from the text of the commit itself. [00:31:23] Simetrical: any idea on how to do that? [00:31:24] AaronSchulz, if you explained the actual effect of the change and your reasoning for it, that would be helpful to people reading CVS-l. [00:31:46] And for that matter people years down the road whose svn blame turns up your commit trying to figure out what your reason was for doing what you did. [00:31:56] alnokta, hack the skin. [00:32:44] Simetrical: can it be done on wm.wiki ? [00:32:47] Mike||gone: which module can I hack read the username as plain text? I have this tied into a phpBB forum [00:32:53] alnokta, ask a shell user. [00:33:11] Simetrical: is it that bad? ;) [00:33:20] I don't know. I'm just saying you don't need any modification unelss you need to have '_ [00:33:31] ...unless you need to have '_' and ' ' be different [00:33:42] alnokta, it needs a file edit or something. I can't do that, I don't have shell access, I can't change the configuration of Wikimedia wikis. [00:33:58] alnokta, you could use JavaScript, of course. [00:33:59] Or CSS. [00:34:05] That would just require a sysop on the wiki to do it. [00:34:15] well if I put user_name at the login, it looks in the database for 'user name' [00:34:19] Simetrical: let me show you a pic: http://img240.imageshack.us/img240/3599/helprl6.jpg [00:34:34] when indeed I need it to look for 'user_name' :) [00:34:38] alnokta, you could do it with CSS. [00:34:40] That would be the best way. [00:34:57] xFlux: you'll have to ask someone who knows :) [00:35:05] hehe [00:35:42] Simetrical: could you perhaps help with the code? [00:35:48] sooo, basically, I am here because of this post [00:35:50] http://en.wikipedia.org/wiki/User_talk:Tim_Starling#where_to_go_from_a_straw_poll [00:35:56] http://img259.imageshack.us/img259/4535/articlelo1.jpg [00:36:06] can someone help me out? [00:36:18] alnokta, body.ns14 h1.firstHeading { margin-left: 100px; background: url(myimage.png) left; } where the namespace number is 14, the image is 100px wide plus padding, you want it on the left, and it's located at the URL myimage.png. [00:36:19] *jdelanoy has no idea what he is doing [00:37:27] jdelanoy: help you with prodding someone to do bug 12760? [00:37:28] when uploading images i get this error [00:37:30] The upload directory (public) is not writable by the webserver. [00:37:40] something like that [00:37:45] Simetrical: thanks a bunch, i will try it now... btw does it need to be in mediawiki:common.css or user:alnokta/monoboo.css would work? [00:37:46] I have no idea who to prod [00:38:26] crap, I gotta go [00:38:35] sorry [00:43:46] 14(DUP) spam protection text could mention reason from spam blacklist log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14090 +comment (10mike.lifeguard) [00:43:48] 03(mod) Create a special page to handle additions/ removals and logging of spam blacklist entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4459 +comment (10mike.lifeguard) [00:45:46] alnokta, it will work in either one. [00:46:19] 03(mod) chose type of spam blocking ( articles and talk-pages or articles only) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14091 +comment (10mike.lifeguard) [00:46:20] jdelanoy, bug people in #wikimedia-tech, not here. [00:46:21] 03aaron * r35121 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Return out of autopromote if !$rev [00:46:37] Just spam it once every few hours, someone will get around to doing it sooner or later so as to shut you up. [00:46:55] *Simetrical frowns at AaronSchulz's commit message again [00:46:59] anyone ? [00:47:02] The upload directory (public) is not writable by the webserver. [00:47:08] when uploading images i get this error [00:49:08] orudie, that's a permissions issue, which means it's going to be specific to whatever opreating system your using [00:51:33] !permissions [00:51:33] --mwbot-- For information on customizing user access, see < http://www.mediawiki.org/wiki/Help:User_rights >. For common examples of restricting access using both rights and extensions, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [00:51:36] No, wrong. [00:51:38] !chmod [00:51:38] --mwbot-- I don't know anything about "chmod". [00:51:41] Oh well. [00:52:21] so i gotta make it writable by all users ? [00:54:58] so is it chmod or chown [00:57:29] orudie, you want to make it writable for the system user that operates the web server [00:57:56] ok [00:58:13] so if a user is orudie :) what would be the full command ? [00:58:20] is it [00:58:27] chmod 775 ? [00:59:00] i did it before, don't remember the whole command [00:59:07] i dont change permissions that often [00:59:13] 03aaron * r35122 10/trunk/extensions/FlaggedRevs/maintenance/ (updateAutoPromote.inc updateAutoPromote.php): Remove copy-paste cruft [00:59:18] p_quarles, . [00:59:41] orudie, so your using a UNIX-like OS? and Apache? [00:59:52] p_quarles, yup, ubuntu [01:00:03] p_quarles, apache yes [01:00:04] your user is not running the web server [01:00:37] p_quarles, what then ? [01:00:37] do this: "sudo chown -R www-data /var/www/wiki/images/" [01:01:32] this assumes, though, that you're using the default document root for Apache and everything -- change as needed [01:03:15] it worked [01:03:16] thanx [01:08:28] np [01:13:47] 03aaron * r35123 10/trunk/extensions/FlaggedRevs/maintenance/ (updateLinks.inc updateLinks.php): Remove bs [01:14:27] Simetrical: i added it here: http://tinyurl.com/ygkyge and used ns0 but it doesn't work [01:24:18] 03aaron * r35124 10/trunk/extensions/FlaggedRevs/maintenance/updateAutoPromote.inc: Remove shitty BATCH_SIZE constant, and use a variable [01:29:30] 03aaron * r35125 10/trunk/extensions/FlaggedRevs/maintenance/ (reviewAllPages.php updateLinks.inc): Clean up more fucked up garbage [01:40:20] in this path [01:40:21] IP/extensions/ParserFunctions/ParserFunctions.php [01:40:27] what does IP stand for ? [01:40:53] include path [01:57:04] 03tstarling * r35126 10/trunk/extensions/FlaggedRevs/ (3 files in 2 dirs): [01:57:04] * Fixed some minor schema issues [01:57:04] * Made some style changes in updateAutoPromote.php/inc [02:06:48] 03(NEW) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14201 15enhancement; normal; MediaWiki: Installation; (mediazilla.20.nickj) [02:09:25] Hiall. [02:24:37] 03(NEW) Move the math extension to the same place as every other extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14202 15enhancement; normal; MediaWiki: General/Unknown; (mediazilla.20.nickj) [02:44:38] which path should this be in [02:44:40] Make sure you have ExtensionFunctions.php - if not, download it from SVN [02:45:01] alnokta, . [02:45:33] 03aaron * r35127 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: No need to check $rev twice [02:46:56] 04(REOPENED) Meta: Exclude spam reports from indexing via robots.txt - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14076 +comment (10mike.lifeguard) [02:48:04] orudie: you shouldn't play with it [02:53:37] Quick question: I want to create a wiki where people can only edit they're own pages; however, I want it to be easy to "transfer" permissions, ie if user1 created a page by mistake, and wants to either "unlock" it or somehow let a different user edit it, he can easily do it. Which is better -- enable registered users with the "protect" feature, or just use the "creator only" extension? [02:55:05] Simetrical: you are gone? [02:55:22] 03(mod) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14201 +comment (10dan_the_man) [02:57:55] 03(NEW) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 15enhancement; normal; MediaWiki: Installation; (mediazilla.20.nickj) [03:07:02] 03aaron * r35128 10/trunk/extensions/FlaggedRevs/maintenance/updateLinks.inc: *sigh* [03:08:26] 03aaron * r35129 10/trunk/extensions/FlaggedRevs/maintenance/reviewAllPages.inc: Use $BATCH_SIZE [03:13:37] 03tstarling * r35130 10/trunk/phase3/includes/User.php: Allow rate limits to be specific to explicit groups [04:16:11] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 +comment (10dan_the_man) [04:24:57] ^_^ ooooohhh... Firefox 3 is faster... [04:25:04] And I mean faster [04:26:05] Hmm .. I've been meaning to try that out [04:35:12] \wc [04:49:51] exobuzz +++ [04:57:16] 03raymond * r35131 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): Localisation updates Kazahk (bug 12145) [04:57:39] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10raimond.spekking) [04:59:33] 03nickj * r35132 10/trunk/phase3/includes/Database.php: (log message trimmed) [04:59:33] Prevent two E_STRICT warnings when running "php maintenance/update.php" to update from 1.12 alpha to 1.13 alpha. [04:59:33] -------------------------------------------------- [04:59:33] # php maintenance/update.php [04:59:33] MediaWiki 1.13alpha Updater [04:59:35] Going to run database updates for wikidb [04:59:39] Depending on the size of your database this may take a while! [05:02:55] 03(mod) Enable GlobalBlocking extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8707 (10cometstyles) [05:13:32] 03(FIXED) $wgShowUpdatedMarker requirement for $wgEnotifWatchlist is inconsistent and undocumented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13916 +comment (10JSchulz_4587) [05:23:34] 03aaron * r35133 10/trunk/phase3/includes/Article.php: $user->setNewtalk( false ) for deleted user talk pages (bug 14077) [05:23:40] 03(FIXED) "You've got new messages" is displayed for a non-existent discussion page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14077 +comment (10JSchulz_4587) [05:45:13] 03aaron * r35134 10/trunk/phase3/includes/ (SpecialPreferences.php User.php): [05:45:13] * validateIntOrNull() returns null for empty input [05:45:13] * NULL options become the defaults if saved (bug 14100) [05:45:25] 03(FIXED) when no value set for "Max # Changes in watchlist" default is zero. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14100 +comment (10JSchulz_4587) [05:47:42] 03(ASSIGNED) Add user preference to opt out of email notification for bot edits ( similar to $wgEnotifMinorEdits) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13992 (10JSchulz_4587) [06:11:26] 03siebrand * r35135 10/trunk/phase3/languages/messages/ (32 files): Localisation updates for core messages from Betawiki (2008-05-20 08:04 CEST) [06:14:30] 03siebrand * r35136 10/trunk/extensions/ (39 files in 39 dirs): Localisation updates for extension messages from Betawiki (2008-05-20 08:04 CEST) [06:23:30] 03aaron * r35137 10/trunk/phase3/includes/ImagePage.php: Backwards [06:56:36] 03(NEW) Extension data: Optionally include example installation + example usage. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14204 15enhancement; normal; MediaWiki: General/Unknown; (nickpj) [07:13:58] theres a function install_version_checks(); in updater.php [07:14:07] wheres the function defined? [07:14:27] Werdna: can u help me? [07:16:24] spsneo: http://www.google.com/codesearch?num=100&q=package%3Asvn.wikimedia.org%2Fsvnroot%2Fmediawiki%2Ftrunk+install_version_checks [07:44:44] 03(NEW) Add links to Special:UnreviewedPages and Special: OldReviewedpages to category pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14205 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (raimond.spekking) [08:02:29] how does the update routine works? [08:03:33] <_wooz> lo [08:12:41] 14(DUP) chose type of spam blocking ( articles and talk-pages or articles only) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14091 +comment (10email_metawiki_138) [08:12:43] 03(mod) Spam blacklist, if match, check previous version and accept if URL present there - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1505 (10email_metawiki_138) [08:22:48] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 +comment (10nickpj) [08:25:14] hi!!! i need to customize the registration form, i need a checkbox that the user has to check to continue registration, something like "I accept...." [08:29:54] Rave21: not sure how to do that, but i know that the captcha extension, ConfirmEdit, hooks into the Login too. You should be able to do it the same way. [08:30:04] !e ConfirmEdit [08:30:04] --mwbot-- http://www.mediawiki.org/wiki/Extension:ConfirmEdit [08:34:44] 03(mod) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14201 +comment (10nickpj) [08:37:30] Re [08:37:37] ra [08:49:51] i've seen confirmedit, but i don't understand what i can do.. nobody can help me in this way? [08:51:32] confirmedit uses a hook (via simply including an extension) to interrupt the account creation process [08:51:53] you could write an extension to use similar hook to do what you need [09:30:43] 03(NEW) User who had his right removed gets autopromoted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14206 major; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [10:13:54] 03(mod) Space missing in html renders edit box unscrollable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9902 (10bugzilla.wikimedia) [11:29:40] 03(mod) Using UserLoadFromSession hook causes segfault - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14178 (10ThomasBleher) [11:30:57] 03(mod) Could it be possible we could use forms(Semantic Forms) with edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11337 (10ThomasBleher) [11:38:51] hello [11:39:11] Any reason why http://en.wikipedia.org/w/extensions/OggHandler/play.png looks almost like the Play button in WMP11? [11:39:36] [[w:en:Image:Windows Media Player 11 Vista.png]] [11:39:38] Copyvio? [11:40:22] From where to where? And when? [11:40:28] it's a triangle in a circle [11:40:53] if it's a copyright violation, it's Apples copyright on the Aqua interface [11:43:46] It's as much triangle in a circle as some of the "textlogos" at Commons were… [11:44:03] *were text in a simple typeface [11:44:42] But does it fit any of the Wikipedia themes? [11:44:57] or mw themes [11:45:29] why copyvio? [11:45:42] there's an obvious free use rationale [11:45:53] used to illustrate topic in question [11:45:54] Xiong: see my second message [11:46:20] The "Play" icon used by OggHandler in Wikipedia looks close to the WMP11 Play icon. [11:46:42] oh [11:46:50] sorry i thot you meant the screenshot itself [11:47:00] * Added pretty icons from Crystal Project, licensed under LGPL. [11:47:06] what you are saying there, i think is just excessive [11:47:32] from http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=25467 [11:47:59] right-pointing triangle has been used to denote "play" on devices for at least 40 years [11:48:19] putting it in a circle doesn't help a claim of originality, sorry [11:48:21] (L)GPL icon sets often have the problem that they don't care too much about derivative work. for example, they often incorporate logos (like adobe's for pdf) which they don't have the right to release under any license [11:48:54] the play icons is very likely not copyrightable. [11:49:00] Xiong: if that was just a circle, it might probably look better in Wikipedia… [11:49:08] i doubt that simple/common GUI elements are, in general. [11:49:31] i agree that there is a passing resemblance [11:49:42] a comples user interface may be. though IMHO it should be considered industrial design, which is not copyrightable. unless it's *very* original and "artistic". which may be the case for games, for example. [11:49:51] because the circle is given a translucent 3d look [11:50:04] It is not even a button, BTW. [11:50:13] ideas cannot be copyrighted [11:50:19] neither can typefaces [11:50:47] https://secure.wikimedia.org/wikipedia/commons/wiki/Image:Three_unfair_Ladies_and_a_fair_Lad_-_Rabenanwaelte_und_abmahnkraehen.ogg?uselang=ru [11:51:14] Xiong: UK has a limited copyright for typesetting and layout... [11:51:25] It doesn't fit, its background is light, while the button itself is darker. The background of the icon is not transparent. [11:51:36] (which could arguably be applied to websites and maybe GUIs) [11:52:02] But in http://en.wikipedia.org/w/extensions/OggHandler/play.png , it is transparent… wrong resizing? [11:52:09] well granted, it looks bad [11:53:09] for my money, you could do a nice set of icons and buttons [11:53:17] completely spiffy [11:53:53] Who "you"? [11:54:09] If it's about me, I can tell that to the person who pointed me at that icon :-) [11:54:29] i always say, whoever complains first about the dirty toilet gets to clean it [11:54:31] (probably with a result) [11:56:53] (it would be Tango-style then) [12:09:53] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 +comment (10roan.kattouw) [12:18:28] 04(REOPENED) Can't localize some user groups in Special:Listusers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12996 +comment (10robin_1273) [12:20:36] hello everyone [12:20:58] one question about transclusion in mediawiki [12:21:56] page 1 text: {{:page2}}, page 2 text: {{:page3}}, page3 text: {{:page 4}}, page4 text: i am page 4 [12:22:04] now if page 4 text changes... [12:22:35] will only page 3 reflect it, or page 3 and page2, or page3 and page 2 and page1? [12:22:46] in theory all of them, but you never know [12:23:05] how is it done in actual mediawiki code? [12:23:21] 03(NEW) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 15enhancement; normal; Wikimedia: General/Unknown; (wiki) [12:23:57] becasue as far as i can see, the call to parser-> parse populates one-level templates, and i guess linksupdate->doupdate gets called on them [12:24:09] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 +shell (10raimond.spekking) [12:24:51] i have a feeling thatthe "makeWhereFrom2d" actually enables a two-level update [12:25:24] what do u think flyingparchment? [12:29:22] does anyone know about the depth to which transclusion work? [12:36:01] there's no limit in depth afaik. there's a limit in size before and after transclusion [12:36:03] 03vrandezo * r35138 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php: propertyvalue(null, title) fixed (I think...) [12:36:09] and recusrion is forbidden [12:39:29] thanks Duesentrieb! what do u mean by size before and after transclusion? u mean the size of the page! [12:39:46] Duesentrieb_: are you good with a command line? [12:40:01] Werdna: sometimes. [12:40:09] umarsheikh: yes. [12:40:13] something like that [12:40:21] Duesentrieb: I've got two streams, input and output coming from UDP. I want to multiplex them into a terminal. [12:40:23] i don't quite understand it. [12:40:53] well, I can get my input stream by typing nc -ulp portno on the command line [12:41:06] I can get my output stream by typing nc -u 127.0.0.1 portno on the command line [12:41:21] I want the input to go to the screen and the output to come from the screen. [12:41:36] from the screen? from the keyboard, you mean. [12:41:56] try c -ulp portno & nc -u 127.0.0.1 portno [12:42:09] yeah, that :P [12:42:25] try socat [12:42:31] it's more flexible than nc [12:42:36] $ nc -ulp 54008 & nc -u 127.0.0.1 20000 [12:42:36] [2] 19534 [12:42:36] you can probably do it with a single instance [12:43:20] *Werdna installs. [12:43:46] uh, you are sending input from the tty to port 20000 on your own box... why? [12:44:21] because I've written a piece of software which listens on port 20000, and packages it up into an email, sends it to my server, gets unpacked on the other end, and sends it to its intended destination [12:44:25] and a companion on the server. [12:45:34] anyway... what about the nc soilution above doesn't work? [12:45:49] do you mean & or &&? [12:45:53] & [12:45:59] & is background [12:45:59] Hi all. I'm having problems trying to understand how to do a thumbnail image in mediawiki. Can anyone help? [12:46:03] oh right [12:46:07] && is "and", i.e. sequentially [12:46:18] right [12:46:21] yes, I didn't see that [12:46:26] !thumbnail | FoxII [12:46:26] --mwbot-- FoxII: For information on configuring thumbnailing on MediaWiki, please refer to . [12:47:57] Duesentrieb: hmm.. hitting enter a few times doesn't work. Is nc -ulp 54008 | bash | nc -u 127.0.0.1 20000 a sensible way to allow me to control a bash prompt remotely, as a test? [12:48:07] Hmm. That's where I am. So I have to download this imagemagick and install it on my website? [12:48:16] (that's on the server) [12:48:38] should work i guess. though i have never tried [12:49:02] FoxII: it's recommended. you can also use GD for thumbnailing. imagemagick is better though [12:49:32] Okay. I think I see how that works. I'll see how I get on. Thanks :) [12:49:53] Werdna: but try a simpler setup first. see if you can controll the bash remotely, without feedback, for example. [12:50:37] okay, looking. [12:52:08] o_O [12:53:58] Duesentrieb: ah, it works. But it doesn't display the prompt because stdin is redirected [12:54:41] ah, yea. there are probably options to force that [12:54:58] try -i [12:55:11] that should do it [12:55:21] okay, I can remote control bash, but sending the output back doesn't work [12:55:39] then try output separatly now. [12:56:58] aha [12:57:03] andrew 17170 0.0 10.2 40356 6216 ? S 12:10 0:00 /usr/bin/perl ./udp2email.pl 20001 data_1@epstone.net 10.38.34.1 50008 fork [12:57:12] I'm sending it to the wrong computer :P [12:57:33] >_< [12:58:08] this is quite fiddly work :P [12:58:15] but now it works outputting on a different screen [12:58:18] and now to try multiplexing [12:59:51] maybe I'll just knock up a perl script. [12:59:57] or try socat [13:00:21] it supports bidirectional fowarding from socket to socket [13:00:23] don't know how to work it. Is there a manual someplace? [13:00:28] and it supports all kinds of sockets [13:00:33] yes, but see I want to split the input/output streams [13:00:34] uh? [13:00:36] man socat? [13:00:53] uh, yeah. ignore me :P [13:01:21] but using different remote peers for input and output may not work with a single instance. [13:01:27] right. [13:01:30] so it might not be a real improvement [13:01:34] try it anyway [13:01:42] just knocking up a perl script [13:01:44] it's good to know, and nicer to work with than nc [13:01:51] yea, that'll also work :) [13:01:55] yes, I'm glad you pointed it out to me :P [13:03:19] 03btongminh * r35139 10/trunk/phase3/includes/api/ApiQueryImageInfo.php: Add descriptionurl to imageinfo [13:05:16] Hi, I have a problem with semantic mediawiki, inline queries don't work but Special:SearchByProperty works ok. [13:05:54] by don't work I mean the arguments of the inline query are taken to be properties of the page [13:05:58] does someone use the module NamespacePermissions on a mediawiki 1.12 ? [13:08:38] Slashman: it probably has the same problems Lockdown has. see the palk page there. [13:08:45] the same patch can probably fix it. [13:08:56] this is a shot in the dark, but have a look :) [13:09:24] well Lockdown is not compatible with 1.12 it seems [13:09:31] exactly [13:09:43] or rather, the other way around :) [13:09:47] oh my [13:09:57] I hope this is not the same pb [13:10:11] the patch to fix it is trivial. a Good Solution has nto been found yet. [13:10:17] well. [13:10:29] where is this patch ? linked on the wiki ? [13:10:30] tjhe üproblem effects anything that tries to prevent read access using the UserCan hook [13:10:44] yes, it's linked on the lockdown page. it's on the talk page there. [13:10:48] it's small and simple. [13:11:19] i removes on line. i guess when i get around to it, i should simply make a global option that enabled or disabled it. [13:11:20] ok found it [13:11:57] is lockdown really better than NamespacePermissions ? [13:12:13] I'm updating a 1.6.8 wiki here [13:12:46] gm all [13:12:57] or whatever time it is for you [13:14:01] 03(mod) Can't localize some user groups in Special:Listusers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12996 +comment (10roan.kattouw) [13:14:49] Slashman: i would say yes. but then, i wrote it :) [13:14:56] gm RoanKattouw [13:15:09] i havn't looked closely at NamespacePermissions [13:15:10] Good afternoon Wiredtape ;) [13:15:15] :) [13:18:46] brion-away: When you've done that rc_user_text index update (no rush, BTW), could you post an "I've done it" notice on bug 14200? [13:19:11] Duesentrieb, cool, I'll try it :) [13:22:06] Hi VasilVV [13:26:21] could it be some config param that I'm missing? [13:33:23] 03(NEW) Autosighting of new articles does not work properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14208 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [13:44:46] 03(mod) Add rcuser= and rcexcludeuser==?UTF-8?Q?=20=C3=A0=20la=20prop?= =revisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14200 (10roan.kattouw) [13:47:12] zsh, are you trying to use #ask or something else? [13:47:18] Hi again. A bit further along. I have my thumbnails and original images in the /images dir. I have tried the different examples on my page and no images are showing. Only 'Image:Screenshot.gif'. I have $wgEnableUploads to true and /images is writeable. [13:47:59] Wiredtape: yeah {{#ask}} [13:48:24] still haven't figured out why its not working [13:49:27] zsh, i think that's an additional extension (or plugin for SMW) [13:49:40] 03(NEW) Addition of __NOSPIDER__ token for pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14209 15enhancement; normal; MediaWiki: General/Unknown; (FT2.wiki) [13:50:12] FoxII : Image:Screenshot.gif works? [13:50:50] No. [13:50:51] Wiredtape: its installed. [13:51:21] rainman-sr, any idea about the null pointer exception in org.wikimedia.lsearch.ranks.LinkReader.findArticleLinks? [13:51:40] If I explain. I have screenshot.jpg and used imagemagick to 'mogrify' a thumbnail screenshot.gif. Now trying to display it so it shows the thumbnail and you click on it for the full image. [13:51:58] FoxII: you need to upload the image via mediawiki [13:52:23] 03(mod) Addition of __NOSPIDER__ token for pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14209 +comment (10FT2.wiki) [13:52:27] zsh, then sorry, don't know enough about it... [13:52:28] ah. That is probably where I'm going wrong. Okay, I'll look into that. Thanks flyingparchment [13:53:17] Wiredtape: oh well, I must be missing something cause I'm tired and sleepy, I'll have a look at it later. Thanks! [13:53:26] np [13:53:30] gm flyingparchment [13:53:37] huh? [13:53:46] just saying hello [13:53:53] what does gm mean [13:53:57] gm = good morning [13:54:37] even though it's 1 pm for you.. :) [13:54:44] ? [13:54:47] 3pm [13:54:57] flyingparchment: UK? [13:55:01] yep [13:55:02] hmm.. i just got time back from you and got 1pm.. :-\ [13:55:08] Has to be, I've got 4 PM [13:55:14] Wiredtape: 13:54 is a little bit closer to 2PM than 1PM :) [13:55:15] Wed May 21 13:55:07 2008 [13:55:19] Wiredtape: and my client is 1 hour behind me [13:55:26] oh well :) [14:03:12] flyingparchment, thank you for your help. I have the thumbnails and original images displaying correctly now. But is there a faster way than one file at a time? [14:03:36] you could probably write a maintenance script to do it, but i don't know exactly how offhand [14:04:15] Wiredtape: DST... [14:04:37] FoxII : you can use the multiple upload extension (allows more uploads at once) [14:04:43] RoanKattouw : yeah i figured.. :) [14:05:04] well, my desktop is set to DST [14:05:08] but servers are run on UTC ;) [14:05:14] (if anything, this one would be amsterdam time) [14:05:22] Thanks Wiredtape [14:05:27] RoanKattouw : though I'm not sure how specific I have to be when saying hello :) [14:05:31] FoxII : np [14:14:07] re [14:15:52] 14(INVALID) Addition of __NOSPIDER__ token for pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14209 +comment (10FT2.wiki) [14:18:37] 03(NEW) activate edit api on en-wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14210 15enhancement; normal; Wikimedia: Site requests; (azatoth) [14:18:54] RoanKattouw: could it be possible for you to make rvtoken=rollback fail gracefully if no access exists [14:21:16] Good point [14:21:27] I take it you've seen r35104? [14:21:42] !r 35104 [14:21:42] --mwbot-- http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=35104 [14:21:46] nope [14:22:00] ah [14:22:46] RoanKattouw: could it be possible to enable rvuser and rvexcludeuser to take an list [14:23:40] AzaTht: Possibly, I'll investigate. I've also attached a patch for rc(exclude)user to bug 14200 [14:23:43] though when I think of it, it won't solve my problem [14:24:59] lets think what I really want to have... [14:25:07] AzaTht: Well multiple values for rvuser/rcuser means either sort by user or kill the DB [14:25:12] Much like ucuserprefix [14:25:30] true [14:27:11] AzaTht: Thanks for bug 14210. Shows Brion I'm not the only one pushing him for the edit API ;) [14:27:20] hehe [14:27:22] Did you know it was enabled at Testwiki recently? [14:27:42] nope [14:28:15] I've still problem defining optimal routines for reverting [14:28:43] would need to find out the most optimal wat to gather the data needed [14:29:27] I will have available revid and revuser [14:30:47] and will need to know IF revid is current, or if not, that ALL revs after revid is made by ( revuser OR whitelisted revusers) [14:31:59] hmm, got an idea... [14:33:40] 03catrope * r35140 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryBase.php): API: Requesting a token you aren't allowed to request no longer dies with an error but just throws a warning and doesn't give you the token. [14:34:54] AzaTht: I wrote a framework for a rollback bot once (still have to complete it) and what I did was (for rolling back all of a user's edits) first getting a user's contributions, remembering those revids, then requesting the latest rev and see if they match [14:35:12] But in my case I'll always get the entire sequence of edits (if any) because I get all of a user's contribs [14:35:17] Your case is probably different [14:35:29] You could use rvstartid/rvendid [14:35:39] Oh and see CIA-51's notice just now [14:38:39] hmm [14:39:37] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10tjvickers) [14:41:03] AzaTht: Also read my BREAKING CHANGE posts on mediawiki-api (one today and one yesterday) [14:41:32] 03(NEW) Revert option to ignore bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14211 15enhancement; normal; MediaWiki: Page editing; (azatoth) [14:44:11] 03(mod) Revert option to ignore bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14211 +comment (10roan.kattouw) [14:44:39] AzaTht: Request for more graceful token handling committed and announced. Recommended WONTFIX on bug 14211, see reply for details [15:16:52] http://meta.wikimedia.org/wiki/Help_talk:Contents#download_mediawiki_documentation_as_a_zip_file.3F [15:17:34] Bardnet: You can export the documentation pages to an XML file, which you can then import into your own wiki [15:17:50] For that, use Special:Export at mediawiki.org and Special:Import at your own wiki [15:18:13] I'm looking for the MediaWiki Class-documentation as readable on http://svn.wikimedia.org/doc/ [15:18:24] Oh [15:18:31] Well you can generate that yourself using Doxygen [15:18:48] I wonder if it's available online for donload [15:18:57] Download the MediaWiki source and run Doxygen, it'll generate the docs for you and even nice inheritance graphs if you ask it to [15:19:03] Doxygen can be downloaded for free [15:19:05] Just Google [15:19:08] I'm not experienced in Doxygen, so I want to avoid that... [15:19:10] :-) [15:19:16] No need to [15:19:35] The settings file is probably already there [15:19:37] *RoanKattouw checks [15:20:15] Hmm it's not. Anyway, Doxygen comes with a nice and easy wizard. [15:20:31] Just asks where the source files are and which language they're in (choose C++, Doxygen doesn't know about PHP) [15:20:39] And where to put the HTML docs [15:20:41] That's all [15:21:00] I'll probably try that! [15:21:03] thank you [15:21:28] hey, is there a contact importer extension? [15:21:44] You might wanna be more specific about that sort of question in the future, I guess everyone kind of assumed you were talking about the docs at www.mediawiki.org [15:21:52] ierpe_: Contact importer? What's that? [15:22:10] that's a second issue.... [15:22:12] user gives his email address details, and you get his contact list [15:22:21] i made one for gmail just now [15:22:37] Bardnet: You want those docs too? [15:23:01] but now i have to do it for all the fuckin different mail servers, so i was wondering if someone did it already! :D [15:23:19] ierpe_: uh... huh? what does that have to do with mediawiki? [15:23:41] and... if i give you my mail address, how and why would you get my contact list? [15:23:53] well i want to implement the feature so when you register in my wiki you cans end invitations to all your contacts... [15:24:10] well how? with curl [15:24:25] why? because you like my wiki and you want to share it to all your contacts [15:24:34] and it takes 1min [15:24:43] I went to http://www.mediawiki.org/wiki/Special:Export and got some pages in a single xml file [15:24:44] and all your contacts receives an invitation [15:24:46] i'm pretty sure i don't want to share the list of all my contacts with anyone :) [15:24:50] ierpe_: I don't think anyone's written *that* yet, go ahead [15:25:08] Bardnet: You can then import that into your wiki using Special:Import [15:25:14] its not like im gonna store your contacts, the other email addresses will never be stored anywhere [15:25:14] Yes.... [15:25:16] ierpe_: mediawiki doesn't even have a facility to store that kinf of information. it's not a social software in that sense. [15:25:22] there are not friends, contacts, etc [15:25:23] Bardnet: But... [15:25:25] there are just users. [15:25:32] well i implemented a social profile [15:25:41] with a community network [15:25:44] !e SocialProfile [15:25:44] --mwbot-- http://www.mediawiki.org/wiki/Extension:SocialProfile [15:25:46] messaging, friends [15:25:57] yeah i know thats the one i used to build mine [15:25:59] well, then you have to know how to import stuff into that [15:26:03] how should anyone else know? [15:26:34] Roan: It's a matter of not knowing if I caught all pages I'm probably interested in. [15:26:39] well maybe you should go on other websites than wikis sometimes, and you'll realise that this feature is everywhere... [15:26:59] and i implemented one today for gmail [15:27:02] its working [15:27:03] So I thaught there may be a possibility to download a current dum [15:27:10] good for you. [15:27:12] Bardnet: Well if you really want everything, use the add-all-pages-from-this-category feature [15:27:17] but now i have to do it with all the different big mail servers and its a pain in theass [15:27:19] Or, indeed, download a dump [15:27:22] !dump | Bardnet [15:27:22] --mwbot-- Bardnet: For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps [15:27:31] maybe i'm ignorant, but i don't understand what it's good for. or how it would work in a way that is not insanely insecure. [15:27:35] thats why i was asking if someone worked on that before [15:27:36] I'm not sure whether there are also dumps for MW.org [15:27:53] there is some already on the net, but all non free licence [15:28:06] so i started making an open source one! ^^ [15:28:07] ierpe_: so... gmail exposes the list of all my contacts to anyone who asks for it? sounds a bit scary. [15:28:11] no [15:28:14] they have dewiki and enwiki etc. [15:28:22] phew [15:28:29] the more popular wikis not the meta-wikis [15:28:33] the user decides wether or not he wants to share his contact [15:29:17] if he does, he enters his login and pass, which will be used only for this session and never stored anywhere, the script logs into the account, extract the contact list, logout [15:29:21] Bardnet: Yes there is: go to http://download.wikimedia.org/backup-index.html and search "mediawikiwiki" [15:29:25] well. this is the type of stuff OpenSocial was designed for, no? [15:29:38] i dont know [15:30:13] look into it, gmail very probably supports it. after all, it was made by google. [15:30:20] the thing is its a very popular script at the moment, and nobodys makes it free [15:30:26] lol [15:30:26] I'll lokk for that! thx [15:30:29] you didnt get me [15:30:30] and a sew other big sites, mail and other, have picked it up, i think [15:30:53] it IS working with google since i have the script working here in the front of me! ^^ [15:30:59] yes. [15:31:06] its working with any mail serer [15:31:09] server* [15:31:15] so make a script that works not only with google, but with everyone uzsing opensocial. [15:31:19] that's what standards are for. [15:31:22] but nobody made an open source one [15:31:35] ok [15:31:36] so you be the first. [15:31:38] anyway, i gotta fix dinnner [15:31:42] k [15:32:04] RoanKattouw: why I ask for the posibillity to ignore bot edits, is that they might not be part of the "workflow", and also that they can be made in seconds after a vandal edit [15:32:33] it could be pretty simple [15:32:39] AzaTht: I understand, my WONTFIX recommendation was purely from a software engineering perspective [15:32:49] true [15:33:08] The credo is "use rollback for very simple things, use undo if stuff looks like it *might* be complicated" [15:33:12] but I think it's fixable but just focusing on the bot flag [15:33:28] And your bot exclusion thing can potentially get very complicated [15:33:34] depends on what we think about "complicated" [15:33:43] I assume you don't wanna revert the bot's edits [15:34:01] no, just ignore that the bot ever made an edit [15:34:10] Oh, and still revert it [15:34:14] yea [15:34:17] That's *very* easy [15:34:44] the most common use case is when sinebot is signing a vandal edit [15:37:15] anyone know if the history view can show the list up to a certain revision id? [15:37:28] AzaTht: lol [15:37:30] 03(mod) Revert option to ignore bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14211 (10roan.kattouw) [15:37:33] Wiredtape: No, but the API can [15:37:50] RoanKattouw : explain.. or is there a manual? [15:38:02] http://en.wikipedia.org/w/api.php look under prop=revisions [15:38:14] You want rvstartid or rvendid (maybe even both) [15:38:32] RoanKattouw : thx [15:41:57] RoanKattouw : that is perfect.. :) - has anyone built an ajax connector for the api yet? [15:42:07] Wiredtape: Lots, probably [15:42:33] They all use JSON callbacks and I've gotten some complaints about those a while ago [15:43:10] AzaTht: See my comment on bug. It's very easy and inexpensive to implement [15:43:32] RoanKattouw : anyone of those available to download somewhere? -ps: I figure I can use this for the license thing I discussed on wikitech-l .. [15:43:47] I have no idea [15:43:59] I know there's supposed to be a stand-alone API connector kit at Sourceforge [15:44:06] Dunno if that's PHP or AJAX though [15:44:20] ok... thx a lot [15:44:26] I believe Bryan Tongh Minh knows about it [15:44:55] I'm guessing if I mail the api list I'll get a few responses as well ... [15:45:05] Yeah [15:45:26] Bryan watches that list, and people who've written these things probably due to, for the breaking changes announcements (two in the last two days) [15:45:51] yeah, i've seen those (good work... ) [15:46:41] You watch that list then? [15:46:45] I do [15:46:57] Why's that? You don't even know how the API works ;) [15:46:59] but not thoroughly [15:47:00] :) [15:47:28] Because at the time I signed up, I wanted to take a look at FauxRequest (i think that's what it was called ) [15:48:00] Any plan for the xml output to include the individual rev id's? [15:48:08] It's also funny that only 4 MW devs have a somewhat of a clue of how the API's helper functions (the API API xD ) work, which doesn't include Brion. That's kind of annoying, since he just reverts the entire API directory back a few days if the API breaks something :D [15:48:17] Wiredtape: What XML output? The API's [15:48:25] And yeah, FauxRequest is related to the API [15:49:07] hehe, yeah, I think you are doing great work.. and I can only say: "If you build it... They will come" :) [15:49:34] RoanKattouw : yeah , the API's XML output.. (as seen for instance with: http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment) [15:49:49] Wiredtape: rvprop=ids [15:49:54] figured :) [15:50:22] I take it you also noticed the element? [15:50:56] Yeah, i'm assuming that lends me to the next 5? (in the case of this specific call.. ) [15:51:43] or previous 5 in this case... [15:52:21] Yeah [15:52:52] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10royalguard11) [15:52:56] That's very helpful, whoever thought of it - thought well [15:53:19] Wiredtape: That would be Yuri Astrakhan [15:53:40] I wonder though about the "<!---" in the comment.. shouldn't utf-8 had fixed that? [15:53:44] !b 14025 | VasilievVV [15:53:44] --mwbot-- VasilievVV: https://bugzilla.wikimedia.org/show_bug.cgi?id=14025 [15:54:00] Wiredtape: No, you can't use < cause that would be an XML tag [15:54:05] *open an XML tag [15:54:29] RoanKattouw : is Yuri a MW/API dev? [15:54:38] RoanKattouw : ahh, yeah, forgot about that :) [15:54:46] I just installed StubManager & AutoLanguage extensions. When I hit a page like Main_Page/en, it says it's not there, however, Main_Page is there. Yes, I have enabled these extensions in LocalSettings.php. [15:55:00] Yuri *created* the API. He doesn't work on it any more, but he used to be *the* API dev until I joined [15:55:33] mgrant_ though I have never used AutoLanguage extension, I'm assuming, that unless you have created that subpage (/en) - it wouldn't exist [15:55:38] Re/Hi. [15:55:58] RoanKattouw : hmm.. didn't know that... u say there are only 4 devs working on the API? [15:56:04] 3 [15:56:08] Me, VasilievVV and Bryan [15:56:09] including you? [15:56:17] Aaron seems to know how the query building functions work [15:56:21] Wiretape: I'm lead to believe from the docs that it should access that page as a default. [15:56:32] But he only fixes bad queries if he sees them, not really much more [15:56:43] mgrant_ : that's fine, but why would there be content there, if you haven't created it? [15:57:10] Hi [15:57:14] mgrant_: I think the idea is the other way around: you create /en, /de, etc. and a German person going to Main Page would automatically get the content of /de [15:57:22] (not that I know *anything* about those extensions [15:57:51] Wiretape: Ahh, ok, let me try that, but that's not quite how I read the docs. [15:58:05] RoanKattouw : what's the level of the documentation re:API on mw.org? [15:58:07] Like I said, I really have no clue, I'm just guessing [15:58:24] Wiredtape: Pretty good. I did a huge rewrite there a few months ago [15:58:28] Took me two weeks [15:59:55] RoanKattouw : I would have guessed that some for-profit companies would help out with the developing, since i've heard there are a lot of desktop systems being built for wikipedia and other stuff... (this is only *what i've heard*) [16:00:21] thank you and cu, bye [16:00:33] Wiredtape: Vodafone has helped out with the edit API for a while, but they dropped it. Their work, while messy, was useful though [16:01:24] RoanKattouw_away : are you away, or can you chat a bit more? -> specifically interested in the edit API.. [16:04:06] RoanKattouw_away : is there a way for an external website to check the existence of the API on a site? (say if I want to check for licensing, whether or not I can use the API for the pull.. ) [16:11:48] there is "var wgEnableAPI = (true|false);" in source of pages generated by MediaWiki, at least in recent versions [16:16:14] Wiredtape: meta=siteinfo gives you the license [16:18:11] RoanKattouw : yeah, I didn't mean the site license... ialex got what I meant.. :) but really, I don't think I should be parsing another sites source just to know if the API is enabled or not... how about if api.php?action=query is 404 or if disabled then you get a small xml statement that says: "bug off :) " [16:18:56] Wiredtape: Well it'll 404 for MW < 1.8, for MW >= 1.8 it'll give you an error formatted in the format you requested [16:19:17] Note that the API as a whole can be disabled, or ['read']['*'] = false in which case action=query yields "unknown action" [16:19:41] 03(FIXED) Autosighting of new articles does not work properly - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14208 +comment (10JSchulz_4587) [16:20:37] RoanKattouw : ok, is there anything which always appears in a query output? (like ? ) [16:21:31] is the root tag, it's *always* there [16:24:01] Anyway, I gotta go. I recommend you just try stuff out and see what you get. Also don't forget the format parameter: you can also get stuff like JSON and PHP serialized [16:25:16] ^_^ Yaml and raw to... plus wddx [16:25:22] :) [16:25:30] hey ialex... [16:25:49] *Dantman wonders if he should create a wikitext output... [16:26:26] ^_^ Nowait... why WikiText.... When you can output S-expressions!!! heh [16:26:29] *Wiredtape wonders what Dantman is saying? [16:26:40] :) [16:26:46] formats [16:27:07] 03aaron * r35141 10/trunk/phase3/includes/Article.php: Move rewRevisionFromEditComplete call down till after page rows set [16:27:38] format=wikitext would output in a wikitext format... Purely made so you can use that format and paste it into a MediaWiki page to display it's output in a fancy way [16:28:00] that would be good [16:28:09] very good in fact :) [16:28:47] format=lisp or perhaps format=s or format=s-expression would output using Lisp's () s-expressions... Then a Lisp bot (because Lisp is so great at tossing arround lists in it's own format) could import that with an insane ammount of simplicity [16:29:20] 03aaron * r35142 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Always show section edit links. This prolly should be OK generally. (bug 14081) [16:29:37] but you could go on like this forever... :) [16:29:38] Seriously... I haven't seen a language yet that has native bindings for simple input and output of raw data like that. [16:30:02] *Wiredtape isn't familiar with LISP at all ... :-\ [16:30:14] You ever used ruby? [16:30:36] I'm actually learning it atm .. [16:30:37] 03(FIXED) Show section edit links on stable versions when there is a more recent draft - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14081 +comment (10JSchulz_4587) [16:31:47] Well... things like Nil, and using the last statement as the returned output for a function is stuff which Ruby got from Lisp... I expect a lot of Ruby's stuff was based off of Lisp [16:32:33] thats good to know ... is Lisp still being updated? [16:32:46] Then there's the foreach kind of functions languages have been implementing... (loop ...) has been arround in Lisp for ages. A lot of the iterative loops you see are drummed down versions of it [16:32:48] Yup [16:32:50] Common Lisp [16:33:01] There are dozens of implementations of it [16:33:25] The most common would probably be SBCL (Steel Bank Common Lisp), and if you go non-open source LispWorks [16:33:48] :) [16:34:24] Heh... Some students nickname Lisp "Lost in silly parenthesis" or "Lots of supurfulus parenthesis"... But if you actually learn the language and get into it, you understand why the parentesis are so dominant and usefull [16:34:36] atm I'm studying ruby on rails... so I guess i'll have to stick with ruby... [16:34:57] Ruby is sortof lisp without the parenthesis... But therein lies the fact that the most integral part of Lisp is lost [16:34:59] Macros [16:35:03] Dantman : :) [16:35:29] The absolute beauty of lisp is that there is actually very little to the syntax of the language [16:35:42] 03aaron * r35143 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Typo [16:35:57] All the loop functions, conditionals, and everything are actually part of the library... They are all written in lisp itself... [16:36:23] 03(FIXED) User who had his right removed gets autopromoted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14206 +comment (10JSchulz_4587) [16:36:26] So all these things like foreach you see in other languages... In Lisp you can create those kind of things yourself [16:36:50] If something isn't part of the Lisp you have, you can simply define it yourself [16:37:14] That (loop ...) itself could be implemented yourself if you didn't have it [16:37:43] Try implementing 'if' and you run into trouble [16:38:12] ^_^ Sane people use (when ) and (unless ) (if ) is low level [16:38:21] Dantman : well.. the whole idea is that you don't need to reinvent the wheel.. but from looking at the wp article on Lisp, it seems like it lends itself very easily to recursion and other stuff which is useful :) [16:38:35] heh you guys embedding a scheme into mw? [16:38:43] Ack... not scheme [16:39:00] Heh... though PHP embedded lisp would be interesting to see [16:39:05] Hi, is there are reason why some classes make numerous calls to wfGetDB instead of just calling it once in the constructor or something and saving a reference to the DB object? [16:39:19] Dantman: Scheme would be _significantly_ more practical than writing a CL in php ;) [16:39:55] ^_^ We could define a subscript in MediaWiki to offload complex things that people try and put in templates to... Then instead of parserfunctions like #if, we'd offload it there [16:40:10] Dantman: Or we could just rewrite MW in common lisp. [16:40:15] And embed a restricted dialect. [16:40:29] Nah.. to much cruf arround MediaWiki [16:40:30] Hi, I have the following problem: When I try to upload an item (picture, file, etc) into my wiki, it fails with an internal server error 500 and says, that there is an error with the cgi-script. Anybody has any clues what this means? [16:40:33] ialex: if you're looking for a subject to cleanup... $wgMetaNamespaceTalk appears to be defined twice in DefaultSettings: in the beginning and in the line 878 [16:40:39] ^_^ However, you're running into one of my projects [16:40:50] Dantman: I'm certainly running in to a lot of ^_^s [16:40:52] LiWiki... A MediaWiki inspired Wiki engine I plan to write in Lisp [16:40:57] heh [16:41:02] Dantman: And I'm pretty sure CLiki already exists. [16:41:05] mib_zdj7rl : for a good answer i would need to see the classes you are referring to, but iirc some of these classes are actually classes of public functions [16:41:07] The ^_^ and ... are a habit [16:41:14] VasilievVV: i'll see [16:41:20] I know, but it's not targeted right [16:41:28] CLiki is nice for the Lisp community [16:41:42] Dantman: Nobody not in the lisp community is going to use a lisp web app. Sad, but true. [16:41:53] Wiredtape: well Revision, Title, Article, all call wfGetDB numerous times instead of calling that function once and saving the DB object in say $this->db [16:41:55] But as a actual wiki engine meant for publicly editable content it's got a lot to be desired [16:42:32] Dantman: true, true ... wiki engines all suck and they always will [16:42:36] ^_^ If you make it good and host the front end... people will get interesting [16:42:38] i thought maybe it had something to do with the overhead of grabbing a DB object and it was easier to do on demand [16:42:41] s/wiki engines/software/, s/software/things/ [16:42:43] interested* [16:43:13] Mmm... elis [16:43:18] Dantman: Eurgh, hosted software [16:43:20] ehird, how come? [16:43:28] nobody? [16:43:45] Well... no... consider it hosting a Wiki farm for your own software, and giviing out the source for anyone who wants to host their own [16:43:49] mib_zdj7rl : that might be the cast.. I haven't really looked into it.. [16:44:09] Kinda like how Wikimedia runs MediaWiki and in turn people grab the software [16:44:13] anyway, on a related but more practical question I came in here to ask, is there an extension that lets you use php tags? [16:44:24] it'd be nice to add a few little widgets to this. (It's a personal wiki, so no security risk) [16:44:28] 03(NEW) SkinSubPageSubtitle hook override is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14212 15enhancement; normal; MediaWiki: General/Unknown; (urkle) [16:44:30] Ya, a few [16:44:47] Dantman: Really? [16:44:52] yes there are a few :) [16:44:52] Do they allow hooking into the MW api too? [16:44:58] Though, IMHO if you got some little widgets you want to use it's best to build a custom extension for them [16:45:03] Don't know about that one [16:45:06] ehird, probably not, since most of those were written before the API [16:45:32] and I agree with Dantman regarding the extensions... (that way people might download them too) :) [16:45:43] accumulating a lot of extensions would be pointless [16:45:45] s/download/benefit from [16:45:47] & they'll have no use off my site [16:45:58] ^_^ http://svn.nadir-point.com/viewvc/mediawiki-extensions [16:46:22] Every extension I make is publicly viewable... Even if it's only half-baked code [16:46:41] 'evening [16:46:46] *ehird ponders rewriting '^_^' to '' [16:47:04] Dantman : are you running nadir-point on your own, or is it a host? [16:47:08] Mine [16:47:33] Nadir-Point would be the wrapping group.... Wiki-Tools being wiki related... Moreover a revivial of an old project [16:47:55] Heh, though I do intend to host some other people's wiki [16:47:57] I've posted something on the Support Desk, and before going to the ML about it, I thought I'd check in here .... [16:48:00] http://www.mediawiki.org/wiki/Project:Support_desk#Uploading_broken_after_upgrade_1.10.0_-.3E_1.12.0 [16:48:22] http://nadir-point.com/ [16:48:29] Dantman : I meant more specifically about the actual server.. do you have hosting with someone? (i'm just looking for a host that allows an svn daemon) [16:48:34] Oooh [16:48:42] VPS [16:48:46] LiNode to be specific [16:49:17] or slicehost [16:49:21] IMHO you can't unleash nearly any of MediaWiki's real potential unless you have VPS [16:49:26] To cut a long story short, I had 1.10.0, and since 1.12.0 was deemed stable, I thought I'd upgrade .... But I lost the File Upgrade facility in the process :/ [16:49:30] Any clues ? [16:50:03] <^demon> Dantman: Agreed. [16:50:06] Mr_Smoke something to do with permission probably.. though I don't know why an upgrade would cause it.. [16:50:27] Dantman : thx [16:50:35] ^_^ SMW is something I have natively working on all my wiki [16:50:53] Btw.... back to the half-baked code [16:51:01] http://wiki-tools.com/wiki/WikiVid [16:51:16] Wiredtape: the thing is, when I revert to 1.10.0, it works again. And I haven't changed any permissions in the process of upgrading. [16:51:28] Got a demo running even [16:52:30] Need to work on SHID though [16:52:48] ^demon, did the split thing work out? [16:53:05] Wiredtape: If you get anywhere with RoR, point out some tips... I'm having issues, and I was intending to write SHID-UI in RoR [16:53:31] Mr_Smoke hmm.. when you revert back, you mean the db too or just the files? [16:53:38] Wiredtape: I mean just the files [16:53:38] Dantman : okey dokey .. ;) [16:54:29] *Wiredtape wonders if anything has changed in the way images are saved between 1.10 and 1.12... [16:54:39] anyone know before i go check svn? [16:55:08] Well I can tell you quickly [16:55:16] There's a whole new filerepo thingie [16:55:28] explain.. [16:55:30] So I'd say "yes" something has changed :) [16:55:49] Well there's the filerepo directory under includes/ that wasn't around in 1.10 [16:55:58] So the code is quite different [16:56:03] *Dantman would like to know how the localrepo setup does work... [16:56:16] I want to know how multiple repos are handled [16:56:19] I have tracked down mTempName around a bit but I couldn't get very far [16:56:25] hmm.. let me check that out.. since I haven't used 1.10 in a while [16:56:45] Apparently, in 1.10, the file was *also* uploaded to C:\Windows\Temp, but that was not a problem back then [16:56:57] Mr_Smoke I would look into something different with the execution of save or copy or move from %defaulttemp% (os var) [16:56:59] Something in 1.12 is causing it to go away at some point [16:57:26] Wiredtape: you mean in MW's save/copy/move ? [16:57:58] sometimes I get this errormessage: MediaWikiBagOStuff::_doinsert?. MySQL reports Error ?1213: Deadlock found when trying to get lock; try restarting transaction (localhost)? [16:58:04] Wiredtape: also, I have no idea why it insists on using C:\Windows\Temp : the upload_tmp_dir in php.ini is nowhere near C: ..... [16:58:11] yeah, how it handles the upload... [16:58:29] <^demon> alnokta: Wonderfully, thanks. [16:58:39] Mr_Smoke since windows processes any save or similar through its own default temp dir [16:58:41] Wiredtape: that's what I've been trying to do today and yesterday, but it keeps jumping from one file to another, it's quite hard to keep track [16:59:04] yeah, the mw code is defintely not singular... :-\ [16:59:23] I'm on MW 1.12 and Mysql 5.0.32 [16:59:30] Wiredtape: hmok. I might set up a copy of that Wiki on another computer to which I have full admin access (as opposed to the one I'm having the problem with) and see if I can investigate any further [16:59:57] But I agree that it's got to do with the way it copies the file *FROM* the temp directory *to* the stashed path it uses for its files [17:00:10] Mr_Smoke : hmok? [17:00:14] I was just hoping someone would have a precise idea :) [17:00:26] Wiredtape: sorry .... should have read "hm ok." :) [17:00:47] Mr_Smoke are you running some sort of wamp setup? [17:01:34] Wiredtape: unfortunately, nope. This is a full-windows setup, which means IIS :/ [17:01:42] The admins won't change that. [17:02:26] hmm.. [17:03:33] That's my pain. [17:03:49] eeeeww [17:04:13] I wish I had WAMP, or even LAMP, but nooooo. [17:04:19] http://royal.pingdom.com/?p=265 [17:04:26] Not even XAMPP. [17:04:26] ^_^ no-one uses ISS [17:04:33] IIS* [17:04:50] Well, I usually don't, unless when forced to. [17:04:59] And that's what is happening here. [17:05:35] Tell them that they can improve security and lower the cost of their machines if they use Linux+ [17:05:37] NGINx [17:06:29] <^demon> Dantman: Our production webservers here are Win2k3/IIS [17:06:42] <^demon> I don't deal with them though. [17:07:00] Dantman: they don't hear that. The admins hear "Buuuh, need to learn linux, buuuuh". [17:07:54] ^_^ Sneak a copy of Kubuntu onto a machine and lettem at the GUI [17:07:59] Mr_Smoke well... I don't have any svn engine here, so I can't really go through the logs, but I'm going to guess the change occured in 1.11 since there were a few related changes to that.. I would suggest you search the svn logs for "image" [17:08:01] heh [17:08:43] Wiredtape: thanks, that looks like a resonable starting point. [17:09:45] np [17:14:59] 03(mod) Bot flags automatically although previous version is unflagged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14196 (10JSchulz_4587) [17:35:51] Wiredtape: I'm not that familiar with svn and the web interface doesn't have a search function, or so it seems. wouldn't it be better to file a bug ? [17:36:26] you could, but we don't know yet whether or not this is an actual mw bug.. [17:36:31] you can file it anyway [17:37:12] MW is more stable with mysql than postgresql right? [17:37:22] Well I've got the feeling that this is somewhere deep in the code and I don't have the knowledge to navigate it as efficiently as one of the dev's [17:37:49] Hm yay, yet another bug tracker account :) [17:38:16] ehird: yeah [17:38:27] *ehird nods [17:38:39] *ehird installs mysql, and then steps slowly away from it [17:38:52] *ehird suprises it and throws it into a box and hides it in a corner where he can't see it [17:40:03] ehird, if you give it treats like UPDATE it will begin to calm down, and maybe you'll be able to tame it.. :) [17:40:30] Wiredtape: I thought maybe ACID would shut it up but apparently it doesn't do that kinda stuff. [17:40:32] (har har har har) [17:41:10] hehe, did you try throwing a phpmyadmin at it? [17:42:04] Wiredtape: Sheesh, I'm not a masochist! [17:42:19] hehe [17:43:15] ehird, where's a psychopathic masochist when you need one? [17:43:52] Wiredtape: Usenet! [17:46:12] ehird, lol.. [17:51:55] 03(ASSIGNED) Autogenerated XML schema - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14025 +comment (10vasilvv) [17:55:10] Hi All [17:59:52] Does anyone know a easyway to change the file upload size? I tried changing the maxuploadsize variable in the local file but it Still get an error from the import pages page. Do I need to change something else too? [18:03:04] Cincy: there's a setting in php.ini [18:03:46] think I can search for upload to find it? or is it called something odd? [18:04:17] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 (10jlerner) [18:05:06] Cincy: max_upload_size or somthing like this [18:06:11] Hello [18:06:48] New MediaWiki installer/admin here, curious if anyone has experience with templates [18:07:09] atraub: yes -- what do you need? [18:07:39] Well - I've done a bit of reading on Divbox and other message boxes, but when I try to include them on a page, it seems the template doesn't exist [18:07:54] Is that assumption correct? [18:08:17] Not familiar with Divbox itself, but I suspect that you need to create it. Did you find it on Wikipedia? [18:08:24] Or another wiki? [18:08:28] On Wikipedia [18:08:32] Ah [18:08:47] Give me just a second... [18:09:05] http://en.wikipedia.org/wiki/Template:Divbox [18:10:24] There are a couple of options you can take.... [18:11:40] 1. You can duplicate the template on your wiki ( you'll have to also duplicate all of the imbedded templates as well, and there are several) [18:12:23] 2. You can export the template from Wikipedia and import it into your wiki (you'll want to export the additional templates as well ) -- accomplishes the same end result as #1 [18:13:54] 3. I think you can set Wikipedia up as a local interwiki on your site, and then transclude the template from Wikipedia [18:14:03] Is this the same with the Ambox template? I read that it is included in the Common.css, but when I try to use a {{ambox}} statement it comes up as Template:Ambox on the page [18:15:12] 03(mod) Automated command-line installation of MediaWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14203 (10dan_the_man) [18:15:14] The template is not in .css [18:16:00] There may be formatting instructions that goes with the template in Common.css, but the template itself resides in the Template namespace on Wikipedia [18:16:45] Simetrical, there? [18:17:02] Ahh interesting. [18:17:11] Atraub: hang on a sec, I've got a test wiki and I'll see if you can transclude it... [18:17:21] Great - thanks, HW [18:17:23] alnokta, briefly. [18:17:43] Simetrical, the code you gave me earlier didn't work at all [18:17:57] 03(NEW) Uploading broken after 1.12 upgrade - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14213 major; normal; MediaWiki: Uploading; (mr-smoke) [18:18:06] alnokta, what exact code did you end up using? [18:18:16] Simetrical, http://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Alnokta/monobook.css [18:18:20] Wiredtape: Btw... two of the native parts of cl that I found interestin on seeing... (rotatef a b) and (shiftf a b 10) [18:19:03] alnokta, did you really mean ns14? [18:19:13] 03ialex * r35144 10/trunk/phase3/ (4 files in 2 dirs): [18:19:13] Doc tweaks: [18:19:13] * @ingrouo -> @ingroup (whoops!) [18:19:13] * Fix doxygen warnings [18:19:13] * Remove duplicate definition of $wgMetaNamespaceTalk in DefaultSettings.php, thanks to VasilievVV for pointing this out [18:19:19] alnokta, if you want, try removing the "body.ns14" part. It should affect all pages then. [18:19:49] Simetrical, yes, i want to add a different icon for different namespaces , help icon for help etc [18:20:45] alnokta, so the icon you specified is supposed to be for the category namespace? Because that's ns14. [18:21:29] Simetrical, i am just testing, the specific icons haven't been chosen yet :) [18:22:08] alnokta, try this: h1.firstHeading { padding-left: 100px; background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Location_Egypt_AW.png/100px-Location_Egypt_AW.png) left no-repeat; } [18:22:15] That will affect all namespaces. [18:22:39] To affect specific ones you need to prefix it with body.ns100 or whatever the appropriate namespace number is. [18:23:00] Oh, wait. [18:23:04] It should be ns-14, not ns14. [18:23:08] That explains why it did nothing. :) [18:23:18] Anyway, what I just gave you works, I tested it! [18:23:41] Dantman : cl? [18:23:59] Atraub: no, didn't work :/ The quickest way to get it from Wikipedia to your site is to export it from Wikipedia, save the export file on your local computer, then log into your wiki as a sysop and import it. Export is found on SpecialPages, and Import is found there under the restricted pages section. When you export the template, make sure you only inclue the current version, but check... [18:24:01] ...the "include templates" box on the Wikipedia export screen. [18:24:36] Wiredtape: cl is the short way to say Common Lisp [18:24:46] Simetrical, yes that works (no specific namespace) [18:24:49] lifp [18:24:51] Dantman : ahh... ok, :) [18:25:02] hoggwild: thanks so much! [18:25:21] atraub: you're welcome :) [18:25:45] Wiredtape: ^_^ remember the old need to do $temp = $b; $b = $a; $a = $temp; [18:26:25] Dantman: yeah ^_^ (loaned your smiley) , quite a hassel for switching around vars [18:26:35] heh... [18:26:45] Ya, that's what rotatef is for [18:27:09] Dantman: you're quite the lisp enthusiast... :) [18:27:14] heh [18:27:31] i'm starting to become an RoR enthusiast more and more.. [18:27:43] Dantman, list( $b, $a ) = array( $a, $b ); [18:27:49] however, i think the tutorials\documentation is somewhat lacking.. [18:27:50] You can define a function to do it in other languages... However, this is native, and not only that... It's a macro... So it has absolutely no overhead [18:28:04] Dantman, also fun if they're integer types: $b ^= $a; $a ^= $b; $b ^= $a; [18:28:08] I believe RoR was something example code was great for [18:28:27] *Simetrical likes that last one [18:28:31] Heh [18:29:06] ^_^ you could always implement a (shiftfint a b) macro if you thought the latter was more memory efficient for ints [18:29:20] Or maybe shiftinf [18:29:24] intf* [18:29:53] is that for floats? [18:30:07] x86 assembly has an XCHG instruction! It beats you all! [18:30:14] hehe [18:30:17] Simetrical, yes, works also in specific thanks! [18:30:22] ^_^ Oh ya... I forgot to mention something to you Wiredtape... ratios [18:31:07] *Wiredtape never knew that batshit could be made into insence.. and even if it was, why would you do it? [18:31:15] Dantman: hehe [18:31:19] There is a numeric type in Lisp called a ratio... It's stored as two ints.... So all those 1/3 numbers with infinte precision.... ^_^ so they keep infinite presision [18:31:40] IS there an easy way to remove every page in a wiki? [18:31:53] Cincy: ^_^ reinstall it? [18:31:54] Cincy, why not just reinstall? [18:31:55] :) [18:31:57] heh [18:32:00] delete the DB [18:32:15] Erm... if you delete the DB then you have no wiki [18:32:32] There's also Extension:Nuke [18:32:34] ... and you have rm every page [18:32:45] ^_^ Ya, but the wiki is gone to... heh [18:32:48] I'm working with mass updates to the wiki and I jsut need to clear out a lot pages I jsut added in error [18:32:59] hoggwild: when I put Template:Ambox in the field after "Add pages from category" and press add, nothing seems to happen. [18:33:00] Dantman: heh, I would have figured that there would already be a mobo/cpu point for that... guess not [18:33:04] dantman+, then [18:33:21] nuke [18:33:34] are there any good clients for mediawiki? [18:33:41] I'll give that a try thanks! [18:33:41] Clients? [18:33:42] Don't put it there...put it in the larger textbox. the Add Page from category is for something different. [18:33:46] Cincy, so you want to remove a massive amount of pages, not all of them...? [18:33:48] api based desktop clients [18:33:58] That do what? [18:34:12] Dantman, you could write a programm to edit/browse a wiki via the api. [18:34:16] Dantman: I see mediawiki has api interface [18:34:19] Ah-hah! TYVM, hoggwild [18:34:27] Tricksy hobbitses [18:34:31] Dantman: so i wonder if there are any clients that use it. [18:34:48] WiredTape - yeah that's what I'm thinking [18:34:51] vinayys: Writing hasn't been perfected yet, and it's only fairly recent... So most of the apps don't use it yet [18:34:57] atraub: pop back in if you need addt'l help [18:35:09] will do! [18:35:31] jamasi: ^_^ If I did, I'd likely write it in lisp...... And that might send some people running... rotfl [18:36:03] *Dantman still contemplates writing a bot framework in lisp [18:36:08] Dantman: I've lost many unsaved edits due to browser crashing, or inadvertent closing etc. so i'm looking for a desktop client... [18:36:46] 03(mod) Change autoconfirmed settings on enwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10thedukeofwaltham) [18:36:56] vinayys: There's always the simple approach... Session management for your browser... Or even... Edit in a word processor, then paste it into the form 'when you're finished. [18:37:12] You might be able to get AWB or MWB working though [18:37:49] Dantman: session management for browser? how can i get it restore my textbox contents with my changes? [18:37:50] Firefox 3 apparently has some sort of offline framework... So someone might be interested in building something for that [18:38:26] Dantman: yeah, exactly. so I was looking if FCKEditor or something like that had support for that. [18:38:32] vinayys: I don't know about individual browsers... But there are a few for firefox... you can get them with crash protection and some even remember the contents of forms [18:38:35] 03(FIXED) Bugzilla SSL cert assigned to "pascal" (domain name mismatch) and self-signed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5772 +comment (10brion) [18:38:48] Ick... no FCKEditor [18:38:59] Just edit the WikiText [18:39:10] WYSIWYG is still to buggy to be used [18:39:39] :) PHBs in my company won't learn wikitext. [18:40:38] There really isn't anything to learn at all [18:40:51] [[Link]], ''Italic'', '''Bold''', '''''Both''''' [18:41:13] "phb"? [18:41:13] anyone know why you would want to use the first code example in this section instead of the second one? http://www.mediawiki.org/wiki/Manual:Special_pages#The_Body_File [18:41:14] * List, # ordered, ;definition, : indent or term [18:41:56] And if you really need it... {| start table, |} end table... |- row, |+ coment, || Cell, !| header [18:42:18] And of course ==heading== for various =='s and ---- hr [18:42:48] All it is, is basic text, with a little bit of symbols if you need formatting [18:43:02] And 90% of those have a button you can press to insert them [18:43:25] is there an easy way to move certain pages in the Special: namespace towards Restricted Special Pages (pages such as User list, stats, system messages)? [18:44:04] gegema: Special:Specialpages is sorted alphabetically [18:44:16] gegema: Just wait for 1.13 to come out... It uses groups [18:44:34] http://dev.wiki-tools.com/wiki/Special:SpecialPages [18:45:04] *Dantman should tweak SMW and SMF to group their pages [18:45:07] gegema: yeah, go into their definition in SpecialPage.php and find the special page, then add a third parameter to the array where its defined which corresponds to the permission someone has to have to actually use the page [18:45:18] Dantman: I saw the new Special Pages running an SVN MW, was just wondering if there was a way to 'protect' certain special pages under 1.12 [18:45:27] Oooh [18:45:31] so for like Log, change the line to 'Log' => array( 'SpecialPage', 'Log', 'block' ), [18:45:36] You'll have to edit the special page [18:45:37] mib_zdj7rl: Thanks... will try [18:45:39] What skin function is the 'edit this page' link function? [18:45:44] But why do you want to do that? [18:45:57] You're likely doing something that would be better handled with permissions [18:46:30] Oooh... [18:46:43] *Dantman just realized he's almost ready to requst a custom cloak [18:46:59] dantman xiong PHB=pointy haired boss, fwiw [18:47:11] ehird: section edit links are in Linker.php in the edtiSectionLink and editSectionLinkForOther functions [18:47:17] mib_zdj7rl: not section [18:47:18] page-wide [18:47:40] (delete, move, what links here would be nice too) [18:47:43] he's got his own acronym now? [18:47:46] (oh, and history) [18:48:01] whatever happened to "jerk"? [18:48:10] SkinTemplate.php [18:48:16] or "satan"? [18:48:17] xiong he became an asshole :) [18:48:20] ->buildContentActionUrls [18:48:40] 03(FIXED) Your "login" line should say "email address" because that' s all that works - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10895 +comment (10brion) [18:50:42] i want case insensitive page names [18:51:07] i'm not talking about initial letter [18:51:33] i want case insensitivity right across the board [18:51:41] Xiong: ^_^ You should poke me once in awhile about the titlerewrite then... [18:51:52] *poke* [18:52:02] http://titlerewrite.dev.wiki-tools.com/ [18:52:15] But as you see, it's still not really working well [18:52:16] 97/100 of my last contribs to wp have been redirects from other cases [18:52:48] i think this is a nix culture problem [18:52:51] Well, Wikipedia isn't likely going to use insensitive [18:52:57] Not really [18:53:04] damifino whynot [18:53:08] if you want case-insensitive page names, set $wgCapitalLinks = false; in LocalSettings.php. see http://www.mediawiki.org/wiki/Manual:%24wgCapitalLinks for more info [18:53:20] madness to rely on case to dab anything, anywhere, anytime [18:53:20] ->buildContentActionUrls [18:53:24] I only want a few specific ones. [18:53:28] Chloe_O_Brian: That's for completely case sensitive links [18:53:57] haven't tested it myself anyway, I see no reason why someone would want case-insensitive page names ^_^ [18:54:11] (nor I see any reason why I'm using this nick, either...dur) [18:54:12] madness to rely on case to dab anything, anywhere, anytime [18:54:19] Xiong: There are also other languages that need case sensitivity. [18:54:24] no [18:54:32] *nothing* needs case sensitivity [18:54:32] But the real primary issue is normalization [18:54:41] case is one of the big mistakes [18:54:47] lojban needs case sensitivity ;) [18:54:49] so big that ppl don't even see it [18:54:54] gotta love unstable connections [18:54:56] Under the current system everything would either end up as "FOO" or "foo" [18:55:03] ask anybody how many letters there are in the alphabet [18:55:04] Xiong: chatspeak is another mistake [18:55:08] OH WAIT [18:55:23] unless you are talking to a wirehead the answer will invariably be 26 [18:55:33] Case sensitivity is also good for disambiguation [18:55:33] so big that ppl don't even see it [18:56:01] disagree, case sensitivity -- anywhere, anytime -- doubleplusungood [18:56:21] only thing it is good for is looks [18:56:31] Arm is undoubtably about the limb... However ARM could be an acronym, or even refer to the item inside of the MAR series [18:56:31] case preservation may be okay [18:56:41] But anways [18:56:51] This is something the titlerewrite planned to address [18:56:54] OUCH MY ARM [18:57:20] ;) Sane people don't speak in capitals [18:57:25] duh [18:57:35] miniscule letters are a novel invention [18:58:54] The primary issue here is storage [18:59:05] MW stores the normalized title in page_title [18:59:12] So iPod is saved as IPod [18:59:14] Xiong is a novel invention [18:59:33] no not at all [18:59:45] If things were saved insensitively, it would be saved as IPOD and conquentially, it would be displayed to the viewer as IPOD [18:59:47] i'm old as the hills [19:00:05] case preservation != case sensitivity [19:00:10] anyone know why classes like Revision, Title, and Article call wfGetDB numerous times instead of calling that function once and saving the DB object in say $this->db [19:00:21] So, it requires a fairly large rewrite of the title system to destroy that notion [19:00:35] Additionally secureAndSplit is also extremely hardcoded [19:01:12] The second aim of the titlerewrite is to replace that with a normalization system which can be extended, and thus support the varying things like case insensitivity, or even per-namespace sensitivity. [19:01:46] so [19:01:47] anyone? [19:02:01] mib_zdj7rl: because wfGetDB is fast? [19:02:28] Nikerabbit: But still, why call it like 10 times in a class instead of just once? [19:02:47] are there are performance benefits to only calling it on demand? [19:03:03] Is anyone familiar with the UserRights hook? [19:03:13] mib_zdj7rl: there isn't any performance benefits adding to to a member variable [19:03:33] mib_zdj7rl: There isn't only one database being grabbed from [19:03:44] ... [19:03:47] There is a master to save to, and slaves to grab from [19:03:52] right so two [19:03:59] Nope... slave(s) [19:04:17] so everytime you call wfGetDb it connects to a new slave? or it might at least? [19:04:20] that makes sense [19:04:24] imnsho db doesn't semantically belong to member variables [19:04:25] Ya, possibly [19:04:35] okay, thanks [19:04:38] It's also bad practice to go arround saving it [19:04:51] You never know what might change making that bit have wrong data [19:05:09] there should be only one opened slave per request [19:05:10] I'd say the code is cleaner with wfGetDB, no point talking about performance when it isn't a problem [19:05:17] ;) It's also ugly to save it [19:05:33] well, i would say calling a global function a ton of times in a class is probably not great coding practice either... i have a weird situation where i have to change all database access calls just for the Revision class [19:05:54] Why's that? [19:06:15] hard to explain, my revisions live in a separate DB from other stuff [19:06:38] its okay, i can just change the Revision class manually but i was wondering why it is the way it is [19:06:39] You're mixing the model with the controller [19:06:45] that's probably not the correct way to do it... [19:06:57] i have no choice about the location of my DBs [19:06:57] What you want is to alter Database::tableName [19:07:06] thats not a bad idea at all [19:07:15] Actually... in theory... [19:07:23] but i have other revisions that live in the main DB [19:07:40] so it really depends on the Revision class as to which DB i have to access [19:07:45] its complicated [19:07:54] You could probably subclass the DatabaseMysql class with something like DatabaseMysqlcustom and set $wgDBtype = 'mysqlcustom'; [19:08:53] thanks for the advice, ill play with it [19:09:33] *Dantman wishes static:: was part of PHP already and had been adopted into use by MW [19:10:08] actually, is there a way to get the callee of a function in PHP? that would help alot [19:10:11] Anyone want to fool arround with a MediaWiki6 1.13 branch ;) heh [19:12:40] heh [19:13:05] what's the simplest and easiest-to-use wiki software out there? [19:13:19] You're asking in #mediawiki? [19:13:25] qwm: Something written in java! [19:13:27] Oh, er, wait. [19:13:33] Anyone re: the skinning functions? [19:13:36] 03(mod) Proposal for easy switching of language in Wikimedia pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13097 (10brion) [19:13:40] qwm: You're hardly going to get an impartial answer from us. [19:14:10] MinuteElectron: i thought it would be worth a try. :P [19:14:39] qwm: http://en.wikipedia.org/wiki/Comparison_of_wiki_software [19:14:46] qwm: I vote for MediaWiki ;) [19:14:50] ehird: sorry, what are you trying to do again? [19:14:52] mib_zdj7rl: yeah.. i've been skimming that [19:14:55] hehe [19:15:09] the wiki matrix site linked to on there is pretty good too [19:15:17] mib_zdj7rl: write a skin which links to e.g. page history, instead of using the full $this->bottomLinks() stuff [19:15:17] MinuteElectron: interesting idea. :P [19:16:22] will mediawiki run on lighttpd? [19:16:29] Yup [19:16:34] ^_^ I'm even using NGINX [19:16:48] DanielFriesen: its 'nginx'. [19:16:50] WebServer agnostic, anything you can get PHP to work with [19:16:55] (it's it's too, heh.) [19:16:58] great. :) [19:17:16] DanielFriesen: just write wrapper for it? :o [19:17:26] Eh? [19:17:33] re static:: [19:17:41] Hmmm [19:17:58] You think that can be done for compatibility support with PHP5? [19:18:28] dunno [19:18:37] What does static:: do? [19:18:42] Probably can't though [19:18:47] static:: is like self:: [19:18:58] Except the former will work properly with inheritance [19:19:24] *MinuteElectron has never had any trouble with self:: using abstracted clases. [19:19:42] Dantman: didn't simetrical write somekind of work-around for it? [19:19:44] If you subclassed say, Revision, then self:: would be forced to use the actual Revision, however static:: would correctly use the subclassed functions [19:19:56] Anyone? [19:20:18] Well anyways... got to go to school [19:21:07] static:: is only relevant to static functions :o [19:21:49] :\ [19:22:14] to totally different issue... [19:22:51] how in earth it is possible that when I change my password after requesting new in email... it says "password changes succesfully" AND "login failed: wrong password" [19:23:06] ehird: you can get a link to the history page like this: $this->mTitle->getLocalUrl( 'action=history') if thats what you're trying to do [19:23:19] mib_zdj7rl: How does ->bottomLinks do it? [19:23:24] That is - what file is it in [19:23:46] well thats what it uses in buildContentActionUrls [19:23:59] check Title::getLocalUrl for details i guess [19:24:33] *Jack_Phoenix waves to ialex :-) [19:24:44] Notice: Undefined variable: stack in /var/www/devapps/wiki/mediawiki-1.12.0/includes/Title.php on line 2737 [19:24:52] hi Jack_Phoenix :) [19:25:00] rar [19:25:16] This looks like a bug... [19:25:27] mib_zdj7rl: Right - where's Title? [19:25:30] Or rather. [19:25:31] Hm. [19:25:35] What class is ->bottomLinks in [19:25:37] and what file? [19:25:43] Title is in Title.php [19:25:45] 03(mod) Proposal for easy switching of language in Wikimedia pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13097 (10etjazz) [19:26:00] mib_zdj7rl: yes, I didn't say that [19:26:03] or rather I changed my Q [19:26:07] not sure what bottomLinks is, is that something called in your skin? if so its in SkinTemplate.php, Skin.php, or Linker.php [19:27:26] . $sep . $this->historyLink() [19:27:27] well then [19:27:47] mib_zdj7rl: I don't even see where $stack is supposed to come from.. now assigned and not global'd in. [19:28:04] matthew: looks like $stack is never defined in Title::getParentCategoryTree so it throws a notice... you can probably make that go away by adding $stack = array(); [19:28:17] its supposed to be defined right there it think but isnt [19:28:31] mib_zdj7rl: as a class attribute.. yes.. sure.. ok [19:30:00] matthew: looks like its already fixed in SVN [19:43:21] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10random832) [19:49:13] 03(NEW) Randomimage tags do not render an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14214 normal; normal; MediaWiki extensions: RandomImage; (mdavy86) [19:51:51] Does renaming an account not transfer the block log to the new username? I thought that was implemented. [20:00:54] Mike_lifeguard: i think that was receently implemented, yes, though older ones won't have done it [20:01:20] right. I just saw a crat saying that wouldn't happen [20:01:23] I will remind them [20:02:31] brion: mind if I /msg you about something? [20:03:02] sure [20:07:24] 03catrope * r35145 10/trunk/phase3/includes/Skin.php: (bug 14212) Undefined variable $retval in Skin::subPageSubtitle() [20:07:46] 03(FIXED) SkinSubPageSubtitle hook override is broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14212 +comment (10roan.kattouw) [20:09:44] exit [20:17:28] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10wiki.nihiltres) [20:28:13] 03ashley * r35146 10/trunk/extensions/Cache404/extensions/Cache404.php: add extension credits [20:33:30] 03(NEW) Allow definition to be used as a link target - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14215 15enhancement; normal; MediaWiki: Page editing; (jonb) [20:33:59] 03(FIXED) SQL error when trying to block someone - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14194 +comment (10wiki) [20:37:39] is there a way to watch all pages under a namespace or page list like /wiki/MyPage as well as /wiki/MyPage/1 /wiki/MyPage/2, etc? [20:38:18] !e WatchSubpages [20:38:18] --mwbot-- http://www.mediawiki.org/wiki/Extension:WatchSubpages [20:38:23] danke [20:40:35] This may not be the best place to ask, but I can' find it elsewhere: I've recently downloaded the entire wikipedia dump and was hoping to find a PalmOS program for reading it. Does such a thing exist? The only thing I can ever find on a Google search are programs that read straight from wikipedia.org, not a local file. [20:44:05] lol [20:44:57] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10N/A) [20:45:48] OmniQ, how did you fit a complete dump on a PDA? [20:46:25] It's only five gigs. There are 8Gb SDHC cards available now. [20:46:58] question can you have nested namespaces like say Project:MediaWiki:Todo ? [20:48:13] I've been looking for various ways to make my Palm more useful. I'm hoping to toss a dictionary and a phone book on there, too, but the Wikipedia is my current goal. [20:48:19] JimShoe_: that is a page in the Project: namespace, but yes you can have such pseudo-namespaces [20:48:46] hey guys, have a table backup from a mediawiki that i have tried and tried and tried to get to restore into any version of media wiki i can download and have not even once managed to get it all to load correctly, could use some assistance [20:50:27] OmniQ, 5 giga is compressed, right? .. you will need something to read through it and convert wiki to html , thats a lot of cpu .. how fast are pdas anyway [20:51:17] Mike_lifeguard: would this also give a way to go to All Pages and list All the pages from Project all from MediaWiki and all from Todo? [20:52:21] brion-scap, what "scapping" mean? isn't "rsyncing" more appropriate? :P [20:53:11] alnokta: scap means synchronize common all php I think [20:53:12] alnokta: 333Mhz on my Palm TX. There are others with better processors, too. And no, the dump isn't compressed. It's five gigs of XML. [20:53:54] Anyone know what license http://www.mediawiki.org/wiki/Extension:WatchSubpages is released under? [20:54:37] alnokta: That's without images, though. I don't care about those, I just want to have the text available to me, locally, on my Palm. [20:54:38] alnokta: rsync would be inaccurate, as that covers only one step of the script [20:56:20] 03ashley * r35147 10/trunk/extensions/MiniDonation/MiniDonation.php: tweak extension credits, this is not a special page but rather a parser hook ;-) [20:57:01] OmniQ, ah, i see. [20:57:42] 03aaron * r35148 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Add some namespace selectors [20:57:51] brion, what other parts? [answers.com doesn't know any meaning for scap] [20:58:10] or does anyone know where I can get in touch with the user Prod? [20:58:43] hi, i have a little problem with mediawiki.. i tried to upgrade from 1.11.1 to 1.11.2 re-running the installer but it reinstalled a clean db. i have a backup, i tried the update.php script but in mediawiki i can't see the old pages even if they are in wk_text .. do you know if there's a way to restore them? [20:59:05] *aedaemoen waits to see what people say to mixer_ since hes in a similar boat. [20:59:08] why not 1.12? [20:59:12] mmcgrath: what do you want to talk to him for? [20:59:33] Skizzerz: I want to know what license these are released under - http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/WatchSubpages/ [20:59:43] GPL [20:59:44] Xiong: i have an sql backup of my mediawiki that refuses to restore at all, no matter what i do, i have looked through my sql file and i can see all the info fine, but i cant ever get to the pages. [20:59:47] i'm using gentoo and that's what i have in portage, but if you tell me thet 1.12 fixes this i'll upgrade to 1.12 :P [21:00:00] that* [21:00:04] I got it: Synchronize Create Activate Prune SCAP [21:00:05] mmcgrath: he is sometimes active at en.wb, I think. Will double-check for you... [21:00:08] mmcgrath: GPL [21:00:17] Question about the new hook 'MediaWikiPerformAction' that resides in MediaWiki::performAction() -- is there a reason that we're not passing the MediaWiki class as an object with the other class objects in this hook? Since it hooks into the MediaWiki class, it makes sense to pass it as an object; otherwise I can't see how it can be used without declaring $mediaWiki as a global.... [21:00:26] alnokta: roughly: check for php syntax errors, recreate serialized cache files of localizations, rsync out stylesheet updates, rsync out code updates, restart web servers to ensure code caches are clear [21:00:28] my only thought is, upgrade to latest stable release for best results in anything [21:00:42] the one thing that i will say that i did was changed my original path, but should still be able to restore and then modify the table as necessary [21:00:46] ah and also recompile texvc if it's changed [21:00:53] prolly a few other things [21:01:14] Warning: mkdir() [function.mkdir]: Permission denied in /var/www/freeside/wiki/includes/GlobalFunctions.php on line 1649 - Error is occuring when images exist on the page, dont get the error otherwise... Googling has pointed a few things but nothing seems to have fixed it (just upgraded 1.11 -> 1.12) Any suggestions please? [21:01:19] usually not always [21:01:55] thanks brion , looks lke a convenient program [21:02:02] Images show "Error creating thumbnail: Unable to create destination directory" [21:02:08] Skizzerz: I need to be able to show that to a lawyer somewhere though or get an email from him that says it. Are all the plugins there released under GPL? [21:02:13] Which should point to the thumbnail directory being at fault...? [21:02:27] Mike_lifeguard: thanks. [21:03:02] OmniQ, well, there are a few parsers of xml dumps , can you run php on a pda? [21:03:03] mmcgrath: you can contact him on http://strategywiki.org/wiki/User_talk:Prod if you need a written statement [21:03:09] mmcgrath: if memory serves, he's more active at strategywiki [21:04:29] thanks [21:04:46] php maintenance/rebuildImages.php [21:04:46] doesnt seem to fix it as its reccommended it may [21:06:37] ahhh [21:06:46] permissions on the upload folder... [21:07:10] nearly [21:09:08] i'll try the 1.12 to see if this solves the problem.. [21:09:44] 03aaron * r35149 10/trunk/phase3/includes/SpecialWhatlinkshere.php: Fix yet more image links bugs [21:19:35] well, i just installed 1.12 but i still cant see the old pages, but i can see the test page i made after the previous upgrade...looks like some index/data is missing..in wk_text i can see the old pages, but i can't see them in mediawiki [21:23:16] 03aaron * r35150 10/trunk/phase3/includes/ImagePage.php: Cleanup for displaying old versions [21:28:26] hi guys [21:28:42] re [21:29:01] hi Icke [21:30:33] mhh..i can't restore those pages.. the good thing is that there where only a few pages, so how can i fetch the text from wk_text to restore them manually? is there any script that can do this? [21:30:58] i see there's a fetchText.php but i don't think it's meant to be run manually [21:32:16] why doesn't special:import work? [21:33:48] uhm.. orphans.php may be what i'm looking for, but instead of killing them i'd like to restore them. heh .. [21:33:56] Xiong: What error message are you getting, and what kind of import are you trying to use? [21:34:10] 03aaron * r35151 10/trunk/phase3/includes/ImagePage.php: [21:34:10] *Respect displayImg [21:34:10] *Add getDisplayedFile() [21:34:53] sorry for confusion mike [21:34:59] i was answering mixer [21:35:23] special:import? [21:35:42] special:export has been around a long time [21:35:50] they finally got around to writing special:import [21:36:48] *Mike_lifeguard headdesk [21:38:36] 03(mod) Change autoconfirmed settings on enwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10thedukeofwaltham) [21:40:01] you mean i should write a script using that? i was looking for an existing script, but i'll remember it.. i think now i'll try to dump them manually like fetchText does and then start with a clean install..i think it's easier since there are only 4-5 pages .. if this doesn't work i'll try that import [21:50:48] 03(mod) Randomimage tags do not render an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14214 (10mdavy86) [21:56:08] 03(mod) Randomimage tags do not render an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14214 +comment (10roan.kattouw) [22:02:35] 03(ASSIGNED) Randomimage tags do not render an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14214 +comment (10roan.kattouw) [22:03:45] exit [22:04:44] http://wiki.freeside.co.uk/index.php/Getting_started - "Error creating thumbnail: Unable to create destination directory", can anyone offer any help as to fixing this? [22:10:15] 03(mod) Revert option to ignore bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14211 (10roan.kattouw) [22:11:37] !thumbnail [22:11:37] --mwbot-- For information on configuring thumbnailing on MediaWiki, please refer to . [22:12:22] Reedy: see above, but especially see http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security [22:12:31] Duesentrieb, lazy guy :) [22:13:00] Duesentrieb, thanks.. I did find that imagemagick was missing (post the reinstall of the webservers).. so have fixed that already [22:13:27] hm... the error's a bit misleading then i guess [22:13:34] It does seem though, that the "uploads" folder is being used for the actual images, rather than the "images" folder [22:13:53] there'S no "uploads" folder per default [22:14:01] check your LocalSettings.php [22:14:28] $wgUploadPath = "$wgScriptPath/uploads"; [22:14:39] oh [22:14:40] hang on [22:14:41] $wgUploadDirectory = "/var/www/mounted/freeside/wiki/uploads/"; [22:15:09] Hi everyone. I have a small problem I can't find a good solution for. [22:15:11] its not in /mounted now [22:16:14] changing that [22:16:23] !ask | SimonMoon [22:16:23] --mwbot-- SimonMoon: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [22:16:24] Warning: mkdir() [function.mkdir]: Permission denied in /var/www/freeside/wiki/includes/GlobalFunctions.php on line 1649 [22:16:32] SimonMoon: don't we all? [22:16:35] I want to create a form, where people enter data, use select fields to select other s and even use checkboxes to select multiple ones for certain things. Then I want to process this with PHP (do some magic with some of it) and then dump content based on that magic into a new page, based ona title the person entered in the form field [22:16:59] Now I have played around a bit and found this one: http://www.mediawiki.org/wiki/Extension:StructuredInput [22:17:17] SimonMoon: check the SimpleForms extension. either use it, if possible, or look how it's implemented and adopt it to your needs [22:17:20] It sounds pretty exactly what I want to do (i dont want to edit with this, only add new pages more structured) [22:17:30] hm, dunno about StructuredInput [22:17:34] never looked atit [22:18:03] SimonMoon: doing this type of thing for *creating* a page is probably doable. for *editing* a page it [22:18:07] Duesentrieb: StructuredInput requires to put the things into PHP and i am fine with that, but I will have anotehr look at simpleforms then. Every tried it ? [22:18:08] it's going to be tricky [22:18:19] if you need that, it may be worth looking into wikidata [22:18:31] no, never really tried it. [22:18:36] just glanced over it. [22:18:40] YEah it is just about adding data [22:18:44] Duesentrieb, cheers [22:18:45] form based page creation, among other things [22:18:48] $wgUploadPath = "$wgScriptPath/uploads/"; [22:18:49] was missing the trailing / [22:18:49] no editing though, afaik [22:19:10] ITs for gamewiki.net essentially adding release date, what systems a game is relased on etc on the infobox like here: http://gamewiki.net/Grand_Theft_Auto_IV [22:19:21] heh, entered this channel to get help to get my logo working, but checked the manual one last time and it worked :P [22:20:19] Thats bettter :) [22:20:20] 03aaron * r35152 10/trunk/phase3/includes/ImagePage.php: Logic errors [22:21:00] *Reedy now understands where the error was coming from, due to the bad path... /me will poke the guy who set it up... [22:23:16] Duesentrieb: Simple form looks like a good one, but it just creats forms. Like you emulate a form with it, there is no processing. [22:23:57] hm, i thought it had a backend too. maybe i'm mixing it up with something else? [22:26:18] "such as for creating or editing articles which are based on templates or for making DynamicPageList queries." [22:26:22] 03siebrand * r35153 10/trunk/extensions/cldr/LocalNamesEn.php: Update [22:26:37] Ehat it is capable of is editing templated pages [22:26:45] or creating entirely templated pages [22:27:22] But i need a post to a php file, do some calculations in that php file, then dump a bunch of content out.. [22:27:49] You got by chance an idea of an extension that has some code that geenrates a new page with content in it? [22:27:51] "dump out"? or "save tp a page"? [22:28:16] usually, of you need to handle something posted from a form, you either implement a SpecialPage, or use an action hook [22:28:33] 03aaron * r35154 10/trunk/phase3/includes/ImagePage.php: Minor comment tweak [22:28:59] SimonMoon: sure... http://www.mediawiki.org/wiki/Extension:CreateArticle and http://www.mediawiki.org/wiki/Extension:CreateBox [22:29:00] Form display > user fills in data, hits save > php file gets that data, does some magic with it, and creates the wiki text that should be saved > saves the wii text into a enw page (if not already existing) into a page with the titel supplied by the form [22:29:37] http://www.mediawiki.org/wiki/Extension:Inputbox [22:29:56] all of those to page creation based on form data [22:31:22] Hmm, I have to test them out, but I was so far under the impression that they will just do the same as most boilerplate extensions do, in other wods dump the enduser on an edit form form MW where they have to hit save again. [22:32:44] not sure, maybe [22:34:26] looked at create article and input box, they are closely related, the source in both cases does not state anything for saving the content. [22:34:36] hey guys, just did an upgrade and it seems to freeze out at Deleting old default messages (this may take a long time!)... [22:34:39] I guess I have to dig trhough the codebase and find those bits to make that work [22:34:51] anyone else had this happen (its not just taking a long time, it actually finished and isnt doing anything, lol ) [22:35:54] aedaemoen: just updated here myself to 1.12 and it went through fast. Only does checking site stats and purging the cache after it. [22:37:05] 03brion * r35155 10/trunk/phase3/includes/ImagePage.php: Don't assume the file repository will always return an object when checking for dupes [22:38:37] http://fpaste.org/paste/2307 <--- it literally hangs. [22:39:20] 03brion * r35156 10/trunk/phase3/includes/filerepo/ (ForeignAPIFile.php ForeignAPIRepo.php): [22:39:20] ForeignAPIRepo fixes: [22:39:20] * Now supports thumbnails! [22:39:20] * SVG seems to work [22:39:20] * Comments now working in version info [22:39:21] * Can fetch description pages without extra configuration (assuming standard script layout) [22:39:23] * Asks server for mime type, but doesn't get it back yet [22:40:54] oh sweet, it even sort of works for oggs [22:40:57] *aedaemoen sighs. [22:40:58] except that the java applet won't play :D [22:41:30] aedaemoen: it can take a while to run [22:41:43] worst case, if you just run it a few times over it should get through it [22:41:56] alternatively you could manually remove the unneeded pages [22:41:59] brion: if it were actually running, wouldnt there be at least some sort of indication, more dots, or a process listed in top? something? [22:42:20] you ought to see the php process there [22:42:28] you can also check your mysql processlist [22:42:49] consider also attaching strace or gdb to the php process to make sure it's working [22:42:55] brion: I remember reviewAllPages.php froze my box [22:43:06] went to a crawl, I just had to run it several times ;) [22:43:15] it just ran out of memory [22:43:28] aedaemoen: no dots or something like that showing process on the page itself [22:43:33] Where would ldap scripts for login be tied into the MW installation? [22:43:50] Reedy: in the place described in the installation instructions? [22:44:28] im not looking at the install instructions, as its an already installed version...http://www.mediawiki.org/wiki/Extension:LDAP_Authentication [22:44:34] why couldnt i find that before ? :/ [22:44:45] is category redirects working now? [22:45:04] was duke nukem released? [22:45:06] the only process listed at all in mysql is the show processlist one [22:46:15] 03vyznev * r35157 10/trunk/extensions/ParserFunctions/ParserFunctions.php: Make #ifexist work for special pages. [22:46:17] AaronSchulz, that means "yes" ? [22:46:39] no, I just enjoy saying that ;) [22:47:17] ok :) [22:48:10] hi. I have a question. [22:48:23] How can I change the text for the login link? [22:48:35] I want to take off the "create an account" [22:50:13] Hello? [22:50:35] is the Mediawiki version stored anywhere in the tables so that I know which version I should restore first prior to doing an actual upgrade? [22:50:56] the error im getting with 1.12 is MySQL returned error "1048: Column 'rc_id' cannot be null (localhost)" [22:51:17] are you trying to find out what version you have? [22:51:34] greenman: i dont have one. this is a fresh install with an old sql database from it :-D [22:51:46] figured it shouldnt be difficult to upgrade the old database in place [22:51:50] but it seems its not designed for that. [22:51:54] h [22:51:55] ah [22:52:11] so im guessing first ill have to figure out which version i was using, load it in, then upgrade it in place? [22:52:19] hence why i need to know which version i backed up :-\ [22:52:26] you want to use the old tables? [22:52:34] greenman: yes, as they have all of the old page data [22:52:39] and the page data is very very important [22:52:40] ah [22:53:05] that might work to install then upgrade, I'm still kinda new to this so I can't really help you on the db stuff [22:53:22] aedaemoen: as i already mentioned, you can simply trim out the unused mediawiki: namespace pages manually if you like [22:53:28] but do confirm that it is/isn't actually working, first [22:53:42] brion: it freezes up with the rc_id cannot be null error [22:53:44] thats where it dumps out [22:53:46] How can I change the text for the login link? [22:53:50] I want to take off the "create an account" [22:53:53] so it literally breaks before completion. [22:53:57] I'm thjinking this is kinda easy... [22:54:15] ( i had to check the server side error logs for httpd to see what was dumping and found the error... now i have to figure out how to fix it first ) [22:54:36] aedaemoen: what database type? [22:54:44] ISAM [22:54:44] sounds like something's pretty solidly broken [22:54:48] rc_id is an autoincrement column [22:55:04] maybe you'd better take a look at your tables and confirm they got transferred correctly [22:55:30] i hope you mean MyISAM - ISAM is an extremely old and obsolete storage engine [22:55:31] brion: i used mysqldump to dump it straight to a .sql [22:55:50] take a peek at the table definition then [22:55:51] flyingparchment: yes, myisam. i called it isam as i figured it would be inferred that im using My :-D [22:56:14] aedaemoen: ISAM and MyISAM are both MySQL storage engines [22:56:24] 03siebrand * r35158 10/trunk/extensions/ (171 files in 167 dirs): Localisation updates. Update credits. [22:56:24] Does anyone even know what I'm talking about? [22:57:15] *greenman taps the microphone "Is this thing on?" [22:58:02] brion: http://fpaste.org/paste/2308 [22:58:38] . [22:58:53] aedaemoen: yeah, you've somehow lost your autoincrement [22:59:00] weeeeeeeiiirrrddd [22:59:30] *greenman [23:00:05] brion: any idea on how to fix it? [23:00:07] siebrand: i believe you have committed an invalid translation to my extensions: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CrowdAuthentication/CrowdAuthentication.i18n.php?annotate=35158 line 31226 [23:00:19] siebrand: Atlassian Crowd is a company name / trademark and should not be translated in that way [23:00:51] 03vyznev * r35159 10/trunk/extensions/TitleBlacklist/TitleBlacklist.list.php: Add non-capturing parentheses to ensure even expressions like "Foo|Bar" get fully anchored. [23:01:02] 03brion * r35160 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: [23:01:02] Cache image API lookups in-process and, if available, in memcached for up to 1 hour. [23:01:02] Cuts down on duplicate lookups... [23:01:02] moment [23:01:34] patch-rc_id.sql looks correct in 1.12 (has the auto_increment) [23:01:50] writing an extension (custom ), it doesn't work with template parameters... with {{{1}}}, the parameter doesn't get expanded [23:01:58] aedaemoen: do an ALTER TABLE to change the field definition [23:02:05] also check your other tables for anything else that might be damaged [23:02:06] I guess some extra function call is needed to expand that...? [23:02:13] you should check your original source database to confirm it was correct [23:02:13] PovAddict: That's our favorite bug [23:02:17] perhaps there's some mysqldump problem [23:02:23] brion: cant :-D. [23:02:25] siebrand2: did you see my previous messages? [23:02:27] system crashed, lol [23:02:30] :P [23:02:32] well sucks to be you :D [23:02:36] shhh :p [23:02:37] lol [23:02:42] Dashiva: oh damn -_- [23:02:43] im doing the best i can, lol [23:03:03] flyingparchment: tough luck for the translator... Mark it fuzzy or deliver translation hints. [23:03:20] Dashiva: I *hoped* it was something wrong/missing with the extension [23:03:22] siebrand: you committed the broken translation; isn't it your job to fix it, or remove it? [23:03:27] PovAddict: bug 2257 [23:03:37] flyingparchment: it is my job to know 326 languages? [23:03:42] There is a workaround, but it's very ugly [23:03:51] siebrand: no, but this translation is clearly wrong [23:03:58] flyingparchment: can you commit now? [23:04:05] AaronSchulz: can i or will i? :) [23:04:13] *AaronSchulz sighs [23:04:13] i'm busy with something else [23:04:20] flyingparchment: maybe to you, but I do not always know the intension of the developer.... [23:04:33] siebrand: i am the developer. i told you my intention. now i can fix it :) [23:04:36] flyingparchment: what's message ID and language? [23:04:39] er, now _you_ can fix it ;) [23:04:48] freudian slip [23:04:49] siebrand: crowdauthentication-desc, fr and oc [23:05:55] flyingparchment: in http://translatewiki.net/wiki/MediaWiki:Crowdauthentication-desc/qqq you can add a translation hint. [23:06:22] i've no idea what that means, and i don't really care that much.. french people can have a wrong translation for all i care ;) [23:06:37] flyingparchment: I have marked the messages for the 2 langiuages you mentioned fuzzy, and I have had too much to drink to do anything more complicated. [23:06:41] brion: where did you see the patch-rc_id.sql ? [23:07:00] *AaronSchulz feels like the only one how doesn't drink here [23:07:33] aedaemoen: in maintenance/patches; it would get run by the updater if your table was originally missing the rc_id field (eg from a version that didn't have it) [23:07:40] but your table appears to have it, just wron g:) [23:08:10] what alter table statement is needed? i havent dealt with mysql in a very long time (since prior to version 4, lol) [23:08:15] flyingparchment: OK. You not caring about localisation is fine with me. [23:08:22] so not sure how to set it to autoincrement [23:09:26] brion: nevermind. good ole phpmyadmin :-D [23:09:27] got it. [23:10:20] brion: you rock! [23:10:21] its back :-D [23:11:22] yay! [23:13:28] you have no idea how much you just saved my rear, lol. the wiki that we just fixed is where we stored all of our important company internal documentation :-d [23:13:44] yow :D [23:13:51] glad you had backups eh? :D [23:14:14] *Fire points at brion's paypal account. [23:14:22] *Fire whistles innocently. [23:14:37] hehe [23:15:06] if it wasnt for me living paycheck to paycheck right now, id gladly send some (just that type of person). in the future if things change, I may still have this on my list of people who saved my hide :-D [23:16:03] hi Krimpet [23:16:14] no worries :) [23:16:55] hello [23:16:55] if you send me money it'll just go in the wii fund... put it somewhere useful like supporting EFF :) [23:17:03] EFF? [23:17:07] wii? [23:17:09] *aedaemoen goes googling. [23:17:13] http://www.eff.org/ [23:17:15] exit [23:17:16] quite [23:17:32] aedaemoen, I was just saying: Are your working for google? haha ;) [23:17:45] 03aaron * r35161 10/trunk/phase3/includes/Title.php: Pass in $flags to getArticleId() [23:18:05] Fire: i google things constantly :) [23:18:26] I had to do an application at Google today. [23:18:38] that means youre not too far from me :-D [23:18:42] main branch in CA? [23:18:50] baby branch in DE [23:18:53] (Europe) [23:20:04] 03aaron * r35162 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: *Require 'review' right for new page autoreviewing. 'autoreview' not really as appropriate. [23:20:06] No, for real: Yes, Amphitheathre Parkway, CA :) [23:20:11] hi tim [23:23:09] mmcgrath: you still here? [23:23:37] 03vyznev * r35163 10/trunk/extensions/TitleBlacklist/TitleBlacklist.list.php: Add new option "moveonly" to forbid moves but allow ordinary creation (should be good against pagemove vandalism). [23:23:43] Skizzerz_Away: I am, whats up? [23:24:21] Prod replied about the license of that WatchSubpages extension. It is indeed the GPL: h [23:24:25] er, [23:24:30] http://strategywiki.org/w/index.php?title=User_talk:Ryan_Schmidt#WatchSubpages [23:24:43] Skizzerz_Away: thanks [23:27:58] brion: after reading about it, it seems like so few people know about tcpa and pallidium, whch is funny [23:28:15] as thats what drm is based on is the original TCPA draft proposal, which ive known about and been against for a loooooooooooong time [23:28:18] :-D [23:28:28] ( just got done looking over eff.org ) [23:29:27] hi, i'm having problems with math, but if i run texvc manually it creates the image..any hints? :P i get the "png conversion failed" error [23:31:16] 03(mod) Special:Categories/ARGUMENT - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8881 (10N/A) [23:33:43] mixer_: path problems are not uncommon [23:35:21] mhh you mean in the texvc binary? maybe the apache user has not the right path and cannot find the binaries? [23:35:50] i read something about absolute paths in render.ml [23:40:06] indeed, check the PATH and set it in Localsettings.php if nec [23:54:27] 03aaron * r35164 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: $baseRevId casing