[00:04:04] can someone give me a hand for [00:04:06] templates? [00:04:32] because it doesnt work on mine [00:05:15] why isnt there a border when i use a template [00:05:16] ? [00:05:28] 03siebrand * r33531 10/trunk/extensions/Translate/MessageGroups.php: [00:05:28] Change ordering of extensions in meta group 'Extensions Used by Wikimedia' a [00:05:28] bit. Extensions that have more exposure will shown before less widely used [00:05:28] extensions or extensions that work deeper in the software, or can only be used [00:05:28] by users with a particular role. Further improvement is possible. [00:05:48] !template [00:05:48] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy . [00:06:29] someone can tell me why my template doesnt make a box [00:07:21] what code are you using to create a border in the template? [00:08:08] mh [00:08:12] i am just using [00:08:17] that one from template tutorial [00:08:34] http://www.mediawiki.org/wiki/Template [00:08:51] but on mine there is not a box and it writes all the things in one line [00:12:08] mh [00:15:12] which example? Template:Thankyou ? [00:15:35] you have to put the code to create the border in the template itself [00:16:16] it uses "
" with "
" at the bottom of the template [00:17:02] ehm [00:17:26] so the first code comes on the top [00:17:31] and the last on the bottom [00:17:31] ? [00:17:54] yes, in the template itself [00:18:13] 03mfarag * r33532 10/trunk/phase3/languages/messages/MessagesAr.php: Update [00:19:01] mh [00:20:04] okey ill try that thanks :) [00:20:15] but why is everything written together [00:21:08] that example is also aligned to the right so remove the "float:right; ". you'll aso want to remove the "width:200px;" as well [00:22:56] it's how CSS works. you can put everything on one line as ";" separates the different statements instead of a line break [00:23:10] ah okey :) [00:23:50] (although if you're using CSS in a separate file - for when you're applying it to a whole page - line breaks usually help to make it easier to read ;) [00:24:04] 03simetrical * r33533 10/trunk/phase3/ (5 files in 4 dirs): (log message trimmed) [00:24:04] * Do not display empty columns on Special:UserRights if all groups are changeable or all unchangeable. [00:24:04] * On Special:UserRights, when you can add a group you can't remove or remove one [00:24:04] you can't add, a notice is printed to warn you. This is to avoid confusion like [00:24:07] that exhibited at bug 13503; it's a fairly unusual situation in MediaWiki to be [00:24:09] unable to reverse your own actions, so a notice seems to be appropriate. (I [00:24:11] changed the userrights-groups-help message to point out the meaning of the extra [00:24:12] well i am tryin right now :) [00:24:15] thanks milk [00:24:25] no problemo [00:27:16] so if i write la le lu lq; [00:27:24] than there will be a line break for every word? [00:29:39] 03simetrical * r33534 10/trunk/phase3/RELEASE-NOTES: Clean up RELEASE-NOTES some [00:37:05] 03aaron * r33535 10/trunk/extensions/FlaggedRevs/flaggedrevs.js: Consistent style [00:56:11] /me waves [00:57:37] 03(NEW) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 15enhancement; normal; Wikimedia: Site requests; (mrzmanwiki) [00:57:46] ehm i thought linking an image is [[Image:http://www.cyborn.org/picture/artistguide/as.gif]] [00:57:52] something like that? [00:58:36] leconcrete, no. You can't link external images by default. There's a config option, which if enabled will turn the bare URLs into images. [00:59:02] mh [00:59:05] config options? [00:59:13] and where is that option :) [01:03:39] ... [01:03:54] i'm curious aswell [01:04:06] !config [01:04:06] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [01:04:18] aha [01:04:20] There's a list of all config options there. [01:04:24] And in DefaultSettings.php, too. [01:04:46] is there a listing of all of mwbot's triggers? [01:04:55] No idea. [01:05:00] Ask amidaniel if he's around. [01:05:08] chelz: http://tools.wikimedia.de/~amidaniel/botbrain.html [01:05:45] nice :D [01:05:46] ah simetrical how can i upload images? [01:05:52] !upload [01:05:52] --mwbot-- File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [01:06:08] Skizzerz, got that extension done yet? :) [01:06:12] that bot is so necessary hah [01:06:16] k4jcw: uh... not quite :) [01:06:31] Especially for people that haven't even LOOKED at the installation manual, chelz. [01:06:51] 03aaron * r33536 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: More profiling [01:06:57] still trying to memorize that myself :) [01:08:25] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 +comment (10JSchulz_4587) [01:09:23] Skizzerz, so as I understand you're upcoming syntax for the extention, I should be able to create a namespace, and set the entire namespace open for creating and editing by anon, a group, or a list of users? [01:09:46] s/you're/your/ [01:09:56] k4jcw: only anons (and additionally users if you so desire) [01:10:37] is group support planned? [01:10:38] How will users be specified? [01:10:53] Or does users simply mean logged in users? [01:11:00] Not an ACL. [01:12:28] k4jcw: all logged in users [01:12:45] Think there's any chance of being able to specify a user list? [01:13:05] maybe... but that'd be one hell of a syntax [01:13:40] but the flags themselves are going way out of my original scope, so I dunno :P [01:14:04] chelz: group support planned for what? [01:14:55] I see the -n*, -c*, etc syntax, but I'm not clear what's intended to be specified by the * [01:15:32] Or are you using that to indicate default? [01:15:42] If so, you should remove the regex comment, since it's conflicting. [01:16:18] indicate default [01:17:10] how is the regex conflict conflicting? [01:17:29] if it's -r, it's treated as a literal string instead of as a regex fragment [01:19:04] 03(WONTFIX) Admins don' t see when page creations match against the blacklist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13780 +comment (10soxred93) [01:19:26] How about +u specified anon and users, where +u:user1,user2 would apply the permissions to user1 and user2? [01:20:11] The only issue I can see is if users can have -'s in their names. Since I haven't created but one user, I don't know if they can or not. [01:21:49] ? [01:21:53] Soxred93: I think you misunderstand me on bug 13780 [01:22:08] leconcrete: netsplit [01:22:11] how can i make that a external link image is shown as an image in the post [01:22:13] ah [01:22:19] I don't want to change whether sysops can create blacklisted titles, but rather I want them to see the warning when doing so [01:22:20] i looked through all of them but [01:22:24] did not find anything [01:22:32] !externalimages [01:22:32] --mwbot-- To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [01:22:34] Ah. [01:22:51] misunderstanding? Then I'll reopen and clarify. [01:22:58] Yep. [01:22:59] aha [01:23:14] ah skizzer thx [01:23:47] k4jcw: again, I don't think I'd be adding a specific userlist/usergroup feature, or if I do it would be a block-type, not line-by-line [01:23:54] *Skizzerz shoots freenode [01:24:00] Stupid netsplit. [01:24:39] actually... that'd be pretty cool, having block-flags that apply to a whole list of pages [01:25:31] it's been on my to-do list for centuries [01:25:34] *Skizzerz adds that to his to-do for v4.0 [01:26:00] 04(REOPENED) Admins don' t see when page creations match against the blacklist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13780 +comment (10mike.lifeguard) [01:26:05] but skizzerz is there a way to show the picutre and not the link? [01:26:18] leconcrete: that IS how you show the picture [01:26:45] $wgAllowExternalImagesFrom = true; [01:26:48] right? [01:26:57] no From in there [01:27:08] ? [01:27:09] mh [01:27:11] the From is if you only want to allow ONE domain to show the pics [01:27:26] $wgAllowExternalImages = true; is for every image regardless of domain [01:27:35] lol --- [01:27:36] soy [01:27:38] soz [01:35:30] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10JSchulz_4587) [01:43:53] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10rjd0060.wiki) [01:47:47] can someone who's good at templates with {{#if: statements in them please have a look at this, and tell me why it's printing {{{1}}}...{{{4}}} twice? [01:47:51] http://en.envirowiki.info/index.php?title=Template:GroupCampaigns&action=edit [01:47:55] http://en.envirowiki.info/User:Naught101/Sandbox#test_a_group [01:49:17] it's printing "|]]" between the instances, and that doesn't even appear in the template [01:57:38] Does the search have a minimum word length it will match on, or that's indexed or something? [01:57:50] k4jcw: if you use mysql search, the default minimum length is 4 letters [01:58:01] you can modify that by changing my.cnf and repairing the searchindex table [01:58:09] ah. [01:59:07] Skizzerz: group support for the extension k4jcw mentioned [01:59:30] Would you happen to know what the parameter name is for that, flyingparchment ? [01:59:32] yeah, that's a maybe. [01:59:35] anyway, g2g [01:59:37] no [01:59:43] k [02:04:36] neer mind [02:08:43] 03aaron * r33537 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount_body.php SpecialConfirmAccount.php): Add $wgConfirmAccountCaptchas, fix some related bugs [02:09:33] Is there any intrinsic danger to running the rebuildall.php script? [02:10:04] it could have a bug that deletes everything [02:10:09] 03aaron * r33538 10/trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php: Fix comment [02:10:28] Sure, and my hard drive could crash, too. But is there any reason NOT to run it? [02:11:54] IIRC, it is very very slow [02:13:51] Seeing as there's no help, what's it looking for on the command line (if anything)? It's puking about connecting to the mySQL server. [02:14:02] AdminSettings.php [02:14:44] I don't have an Admin* anywhere in the mediawiki directory structure. [02:14:56] then you must have deleted it [02:15:07] AdminSettings.sample ships with mediawiki [02:15:20] Oh, of course, how obvious. I always just blow away random files for no apparent reason. [02:15:31] okay, then the computer pixies deleted it [02:15:45] ;) [02:16:31] How about instead it's in /usr/share/doc, and it's a bz2 file? [02:16:55] ah, you're using a package mangled mediawiki [02:17:17] Yes. Gentoo. [02:17:40] Does it want to be in the mediawiki directory, or the maintainence directory? [02:18:07] it should be in the directory above the maintenance directory [02:18:12] k [02:18:24] well.. that's where it should be in normal mediawiki. who knows what gentoo did to it [02:20:08] Excellent. With 294 pages in the system, it took less than 10 seconds to rebuild all the indexes. [02:20:35] And 3 character searches work correctly. [02:20:36] Thanks! [02:25:04] Every so often KDE or X forgets I have a keyboard attached, and I have to exit via the mouse to a shell, and restart X. Very annoying. [02:25:34] teehee [02:26:49] Yea, it's almost as fun as rebooting Windows for no apparent reason. [02:40:54] 03shinjiman * r33539 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Old/Late Time Chinese [02:57:51] !wg AllowUserHTML [02:57:51] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgAllowUserHTML [03:45:14] Sexy [04:19:24] My file permissions messed up in the mediawiki directory on my server. How do I set it right? [04:19:42] Do 'others' need to have a read permission or a execute permission to view the .php files? [04:28:16] sdakak: Is it Unix? Try chmod -R u=rwx,go=r * [04:28:41] sdakak: Start taking backups if you keep on messing things up. [04:30:55] tale: Yes it is on ubuntu. [04:31:09] tale: can you brake that one for me? [04:31:24] Do others need read permission or execute permission to view the .php mediawiki files over the internet? [04:31:25] What do you need brakes for=? [04:31:30] *break [04:31:41] sdakak: They need read permissions. [04:31:47] What is go=r? [04:32:04] It means group and others get read permission. [04:32:12] sdakak: that is the equivalent of 755 or rwxr-xr-x [04:32:13] tale: what would a execute permission to .png theme file, a .css file, or a .php file mean? [04:32:19] sdakak: There is man page for chmod, as you perhaps are awere? [04:32:31] tale: I am, it's to intimidating :( [04:32:38] *too [04:32:41] sdakak: It means the file can be "executed". [04:32:53] sdakak: when in doubt, set to 755 [04:32:58] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 +comment (10chrisgrantmail) [04:33:31] tale: chelz I know it means execute, but how would you execute a .css, a .php or a .png file? And how is it important to these kind of non-executable files? [04:33:48] tale: chelz: does an execute a .php file when viewing it in the browser or read it? [04:33:51] *one [04:34:31] sdakak: Give it a rest. Set the permissions as instructed and go read a book on Unix file permissions. [04:34:47] tale: just a pointer on it? [04:34:59] sdakak: Pointer to what? [04:35:09] tale: to "how would you execute a .css, a .php or a .png file? And how is it important to these kind of non-executable files?" [04:35:54] sdakak: Perhaps google for "unix file permissions". It finds this: http://www.dartmouth.edu/~rc/help/faq/permissions.html [04:36:23] tale: I tried looking but I can't figure out how a .png file can be executed. [04:36:34] tale: I am assuming the executable permission is redundant in non-bin files? [04:37:26] sdakak: A .css etc file can be executed as any other file, but most likely a .css file fails because the interpreter can not make heads or tails on the contents. [04:38:01] tale: does my web-server 'execute' a .php mediawiki file or read it? [04:38:12] tale: If it executes then other probably need to be given execute permission also. [04:38:12] sdakak: It is not redundant. Set an execute permission on a .png or whatever file, and start it and you will see. [04:38:36] sdakak: Did you read the contents of the link already? [04:38:45] tale: no [04:39:04] sdakak: I thought you are very fast reader but perhaps I was mistaken. [04:39:05] tale: I just want to know whether .php files on a web server are executed in media wiki or read. [04:39:43] sdakak: It is enough if you give them read permission, then the web server can read them and give them to the PHP runtime to be executed. [04:39:58] tale: thank you :) [04:40:39] tale: And yes I can read very fast ;) [04:40:42] sdakak: Are you sure you were forced to ask that question and totally unable to figure it out by youself with 10 seconds hard pondering? [04:40:54] tale: c'mon. [04:41:06] tale: I find it better to get these peculiar non-general question to real people [04:41:13] tale: rather than generic faqs. [04:41:30] sdakak: You were already told read permissions are enough and the .php files work. As for executing, what do you thing the PHP code is there for? [04:41:30] tale: I didn't want to know about file permissions but how mediawiki would handle execute and read permissions for others. [04:41:47] tale: I know, that is what caused the confusion. [04:41:52] sdakak: That question was not particularly non-general. [04:42:09] sdakak: You did start by asking file permissions. [04:42:13] 03(mod) Install ConfirmAccount extension on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13782 (10overlordq) [04:42:35] tale: still it is not clear, when others have the 'read' permission the web server reads the file and executes it. The client doesn't execute it so the execute permission is not required. [04:42:41] tale: Is that a clear understanding. [04:43:00] sdakak: Could you formulate it more clearly? [04:43:07] tale: I am, the non-general definition is relative esp. for someone starting up. [04:43:15] tale: Let's say others have a read permission. [04:43:28] tale: And they go to my mediawiki site and view a . php file. [04:43:41] sdakak: only binaries or scripts can be executed. the execute flag is mostly irrelevant on files that don't contain executable data. the execute flag has another meaning for directories though. [04:43:57] tale: And when the server sees that they have a read permission it passes the file to the php interpreter [04:44:10] tale: And the are able to execute a .php file by just having a read permission this way. [04:44:13] tale: Is that right? [04:44:20] tale: Aren't php files interpreted, executed? [04:45:04] sdakak: What did the http://www.dartmouth.edu/~rc/help/faq/permissions.html write about this? [04:47:21] tale: I again read it, it says execute is not required for data files. [04:47:31] tale: but my question still is, is a .php file a data file? [04:47:41] tale: or a file that needs to be interpreted - executed? [04:48:32] sdakak: yes, it is interpreted by the php module of the webserver [04:48:45] sdakak: I have to review what I wrote previously, I may have written something about that. Can you find anything relevant? [04:49:02] sdakak: you could read more about it by looking at the php article on wikipedia. php is an "interpreted language" [04:49:04] chelz: so in the end doesn't it need to be executed by others? [04:49:13] tale: let me see [04:49:43] (10:09:33 AM) tale: sdakak: It is enough if you give them read permission, then the web server can read them and give them to the PHP runtime to be executed. [04:50:04] but that still doesn't clear up things. [04:50:12] maybe irc is not meant for this. [04:50:13] :( [04:52:35] sdakak: it does need to have executable permissions in the "other" section rwxr-xr-x [04:52:48] i'm pretty sure [04:52:50] php scripts don't need +x to be run by the webserver [04:52:56] ah nvm then [04:53:00] all it does is read the contents [04:53:09] scripts run by the kernel directory do need +x [04:53:15] directly [04:53:22] seemed strange to me, but i was troubleshooting a php thing recently and it all worked once i chmod -R 755 over the dir [04:53:39] i figured that was the issue, guess not tho [04:53:57] flyingparchment: Can you explain why 'others' don't need execute when the .php files actually need to be interpreted? [04:54:22] sdakak: execute means the kernel can execute it. the php interpreter is not the kernel. all it does is read the file [04:54:49] unlike perl, for instance, where you write #! /usr/bin/perl, and execute it via the kernel, and the kernel invokes perl - those scripts do need +x [04:54:55] php doesn't work that way [04:55:15] flyingparchment: And that explanation stays true in a web server running php also? [04:55:27] yes [04:55:39] flyingparchment: so the php files are executed outside of the kernel? [04:56:03] flyingparchment: And does that mean that files that are executed outside of the kernel don't need the +x? [04:56:08] that's not exactly what i said (although it is true); rather, the kernel is not involved in starting the program that executes them [04:56:18] flyingparchment: Who decides where 'outside' 'inside' will afile be executed? [04:56:20] perl scripts don't execute in the kernel either, but the kernel starts the perl interpreter [04:56:28] sdakak: i don't understand that question [04:56:33] flyingparchment: who starts the php interpreter? [04:56:37] the web server [04:56:53] flyingparchment: what in a web server, not the kernel so what else starts it? [04:57:04] i don't understand that question either [04:57:13] flyingparchment: I think that clears up most of things. [04:57:20] flyingparchment: Even I don't understand what I am asking. [04:57:29] flyingparchment: I will give it a rest till I know more php. [04:57:33] flyingparchment: thank you :) [04:57:59] + $form .= Xml::submitButton( wfMsgHtml('revreview-submit'), array('id' => 'mw-submitbutton')+$toggle); [04:58:11] basically, the web server sees you request "foo.php". it knows files named *.php are "php scripts". it knows these files should be passed to the PHP interpreter, so it does so. the PHP interpreter executes them and sends the result back to the web server [04:59:27] with perl CGIs, the web server sees you request foo.cgi, or /cgi-bin/foo, and from the filename it knows that's a CGI script. so it executes the script (via the kernel), and reads the output. because the kernel is involved in executing them, CGI scripts need +x [04:59:59] you _could_ have a web server that invoked perl directly for files named *.cgi, and have it work like PHP... but no one ever does that [05:00:24] flyingparchment: I get it and somehow php was designed to be passed instructions directly from the web server without going through the kernel. [05:00:38] yes. because usually the PHP interpreter is embedded in the web server itself [05:00:44] whereas that's not the case with CGI [05:00:54] flyingparchment: alright. :) [05:01:18] awesome design really, it means any php bug (of which there are many) can crash the entire web server [05:03:44] oh. [05:04:00] Ignorance is bliss, now how do i apt-get install mediawiki :)) [05:12:06] you probably don't want to, they usually provide old version [05:15:55] can I embed an iframe in a page? [05:35:11] Ubuntu has recent version of MediaWiki, and the 8.04 Ubuntu coming out next week probably has MW 1.12. [05:36:36] I use one MediaWiki installation that runs MW 1.7. That is planned to be upgraded to 1.12 after Ubuntu 8.04 comes out. [05:45:03] tale: Hardy Heron has 1.11 right now, and I doubt it's going to be upgraded before the release. [05:55:26] toweri: Really? I thought it had 1.12. Well, live and learn. [06:02:11] are the latest MW releases production-stable? [06:02:25] for medium sized sites at least [06:02:46] If it's not from svn it's as stable as it gets [06:03:04] ah [06:03:36] is there a mailing list or rss for the latest releases or security updates? [06:03:37] i'd say svn is stable enough for 'medium sized' sites [06:03:47] chelz: lists.wikimedia.org/mailman/mediawiki-announce [06:04:33] flyingparchment: i try to keep away from custom builds if i can help it. there's always a chance you grab just after stuff has been broken [06:04:36] ty :) [06:04:56] just check which revision wikipedia is running [06:05:18] MediaWiki 1.13alpha (r33518) [06:05:24] ah [06:05:25] haha [06:05:34] so 33518 is probably quite stable [06:05:41] yeah, good call [06:31:52] 03nikerabbit * r33540 10/trunk/ (3 files in 2 dirs): [06:31:52] * Parse messages in correct language, so plurals and grammar might even work correctly [06:31:52] * Deprecated one unneeded parameter in one message [06:35:02] if anyone cares. my problem from yesterday (about failed {{SITENAME}} and other variables) was caused by bug(?) in php that makes mbstring.func_overloading parameter unstable [06:35:45] it does not seem to be changing back to zero for sites that wants it (actually it sometimes changes and sometimes not) [06:36:20] so substr() function was sometimes overloaded and sometimes not. [06:47:24] 14(DUP) User creation form should not be visible if database is locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13774 +comment (10dungodung) [06:47:25] 03(mod) Display message on user registration form if database locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11771 +comment (10dungodung) [06:56:06] Peruna: i'm not entirely sure i understand, but if it's relevant i suggest making a MW bug report [06:56:43] ugh [06:56:49] overloading is bad [06:57:03] and not suitable for mediawiki I guess [06:57:34] chelz: well it is not bug in mediawiki but php and it seems to be marked as bug there [06:58:02] 03nikerabbit * r33541 10/trunk/phase3/includes/ProtectionForm.php: * Expiry handling is really sub-optimal here [06:58:08] ah, perhaps mediawiki can work around it until the fix is made to php [06:58:24] it affects MW users either way [06:59:37] mediawiki would need to use mbstring functions with ISO-8859-1 parameter in every place to prevent this problem happening. I think that should not be done though... [06:59:43] anyone got any tips for implementing a captcha for user registration? [06:59:53] like we don't have enough to work around already? we probably have wrappers or compatibility code for half of php's functions or other bugs [07:00:12] pcmattman: install confirmedit extensions [07:00:19] thanks [07:00:36] mbstring.func_overloading shouldn't be available at all I think.. [07:00:45] ah [07:01:05] if it can be changed on fly we could try to turn it off... [07:01:10] well who knows if the devs are aware of it. submitting a bug would let them decide if it's worth addressing. [07:02:03] problem is that that mbstring.func_overloading won't always go to zero even if it is set to zero [07:02:18] strange [07:02:19] or actually it goes to zero, but functions are still overloaded [07:02:34] http://bugs.php.net/bug.php?id=39361 [07:02:59] they say that bug is fixed though [07:03:07] Peruna: the pages say that it is not stable "per directory" whatever it means [07:04:09] Note: It is not recommended to use the function overloading option in the per-directory context, because it's not confirmed yet to be stable enough in a production environment and may lead to undefined behaviour. [07:04:09] I guess that it means that when you try to set it to zero in apache's Directory tag it does not always work [07:04:55] does that mean ini_set will always work? [07:05:07] it didn't seem to work for me [07:05:17] blah [07:05:24] not much we can do for it.. [07:05:26] i tried to put that to LocalSettings.php [07:05:47] there is already check in the intaller for it [07:05:49] yeah. I know [07:07:16] only thing that might be good to do is to warn about this problem somewhere. even though it is not mediawiki's problem [07:19:41] 03(mod) DPL2's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 +comment (10brunomarcuzzo) [07:27:21] <_wooz> lo [07:31:17] 03siebrand * r33542 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update 'centralauth-admin-unmerge-success' ($2 -> $1) [07:38:20] 03(mod) More flexible reports, dynamic arguments, template awareness ... - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9203 +comment (10brunomarcuzzo) [08:12:41] I had this problem before but can't remember how to solve it: I set up a new wiki, but can't login. Is there a way to create login details through phpMyAdmin? [08:13:25] Or maybe add something to LocalSettings? [08:13:32] insert into user? [08:15:25] maybe, but what to insert [08:15:59] well... [08:16:08] describe user; [08:16:14] fill in appropriate data for each field [08:16:30] user_password is md5(concat(user_id,md5('password'))) [08:18:12] 03(NEW) Email notification borked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13783 trivial; normal; MediaWiki: Email; (azatoth) [08:19:03] Werdna: ↑ [08:19:28] ? [08:20:15] lö bug [08:20:31] 03(mod) Email notification borked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13783 (10raimond.spekking) [08:20:52] lölö [08:21:09] ölölö [08:24:00] 03(mod) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10alefzet) [08:24:10] ölölö? Is that code for something? [08:24:27] VonSchmut: TopSecret code [08:24:54] 04(REOPENED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 (10alefzet) [08:31:42] What's the best syntax for enabling a user to self-promote to sysop? Or bureaucrat? [08:33:02] *VonSchmut is really tired and can't remember [08:36:02] nm, got it [08:36:08] what was it? [08:36:31] $wgAddGroups['user'] = array( 'sysop' ); [08:36:34] (why???) [08:41:21] VonSchmut: $wgGroupsAddToSelf = array( 'sysop' ); [08:47:40] I just did $wgGroupPermissions['user']['userrights'] = true; [08:48:18] wish I could figure out how to create a new password through the db though [08:48:19] hmm [08:48:40] !passwordsql | VonSchmut [08:48:40] --mwbot-- VonSchmut: UPDATE user SET user_password=MD5(CONCAT(user_id, "-", MD5("password"))) WHERE user_name='John_Smith'; This will reset the password for the user with user_name 'John Smith'. Replace 'John_Smith' with the desired username. [09:07:43] Raymond_: Does utf8 affect that? [09:08:19] VonSchmut: should not. but never tested [09:12:34] is there some books for mediawiki? best in german? [09:12:41] i have a wiki based on mediawiki and many problems with structuer and some other things [09:14:25] slwawn, what kind of books ? [09:14:52] books like "how to create a good structure and categorie system" and so on [09:15:32] you don't need book for that ... [09:15:37] http://www.250kb.de/u/080417/p/d948d2c4.png [09:15:38] just read manuals [09:15:40] mediawiki.org [09:16:09] here yu see a mindmap [09:16:10] "alte version" means old version; "neue version" means new [09:16:19] i have many trouble with catategories [09:16:33] maybe im to stupid to understand that idea of categories [09:16:36] for example [09:16:50] my wiki is about adventure games [09:17:13] one arctile is for example "monkey island" (you know that game?" [09:17:37] categories are: monkey island, lucasarts (firm), comic and so on [09:17:55] that is ok [09:18:09] but what must i do if will change the cateogries of many arctickles? [09:18:19] must i really all change them by hand? [09:19:16] yes or with bot [09:19:23] google for pywikipediabot [09:19:26] it's really simple [09:24:59] oh thanks [09:25:01] :) [09:25:07] never here that before [09:25:29] Raymond_: TYVM. Geez, it was staring me right in the face. [09:25:30] mh a question that guestbook extension [09:25:49] is it possible to integrate in mediawiki a tool like trac? [09:25:52] for example [09:25:53] can the capcha thing be disabled [09:25:57] !guestbook [09:25:57] --mwbot-- I don't know anything about "guestbook". [09:26:06] on my wiki maybe three groups [09:26:20] and i want a plattform for all 3 groups [09:26:30] so that group one could talk in a hidden way [09:26:39] projectmanagment like [09:26:44] *VonSchmut wonders if there's a "MediaWiki for Dummies" [09:27:03] yeah that would be great :) [09:27:08] mediawiki for dummies [09:27:24] but anyone know how to disable the guestbook extension capcha [09:28:44] My own approach would be, uncomment it (assuming it has a hook in LocalSetting.php) [09:29:05] but that's not a user preference [09:40:06] Hi .. I have the problem that it seems that the LocalSettings.php is not read. I get "Can't contact the database server: Access denied for user 'wikiuser'@'localhost'" but the settings in LocalSettings.php are correct and tested. I have searched FAQ and everything .. this is probably much to easy to solve to be documented ... [09:41:14] I added "wgGroupPermissions" array from DefaultSettings as documented after that the database connection fails... [09:41:34] I took those out again .. still fails .. [09:50:04] trstn: check your username and password settings... they have to match [09:50:17] they do [09:50:40] seems to me that they are not used .. [09:50:50] I have a different user [09:50:56] have you set up access preferences in sql? [09:51:02] yep [09:51:05] hmm [09:51:08] ant tested [09:51:26] :) which means tested by ants .. [09:51:33] added the user to the db? [09:53:28] yes .. this is one of those bad "it wokred before" stuff .. I added group permissions to LocalSettings at the end of the file .. [09:53:57] I changed filepermissions for that .. and chnegd them back :) now it seems the whole LocalSettings file is not read [09:54:02] its not a DB issue .. [09:54:24] something's conflicting [09:57:56] does mediawiki look for special File permissions forthe LocalSettings file? [09:59:06] afk for a while ... [10:13:57] Has $wgArticlePath behavior changed in 1.12 from older versions? Can't get short urls [10:14:12] keeps causing 404s [10:15:30] 03raymond * r33543 10/trunk/phase3/languages/messages/ (MessagesKk_arab.php MessagesKk_cyrl.php MessagesKk_latn.php): [10:15:30] Localisation updates Kazakh [10:15:30] Bug 12145, patch by AlefZet [10:16:08] 03(FIXED) Kazakh message updates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12145 +comment (10raimond.spekking) [10:23:12] hey i just backed up a local copy of wiki and uploadded the database online, but the pages i have offfline are not showing up, are there any steps i might have missed [10:24:54] can i change the "rule" that a toc is created after 3 headings? i want a toc to be created after 4 headings...where do i change that? [10:26:42] ? [10:28:11] is there an extinsion where anon cant read specific topics? [10:29:03] extension i mean [10:29:20] mondschein: change the default user pref, probably [10:29:55] splarka: i'm wiki admin and have to change it for everyone via default. any idea? [10:29:56] (oop, nope, that is just a checkbox) [10:30:55] mhm where do i find that checkbox? [10:31:34] I mean it is simply 'showtoc' => 1, [10:32:52] i'm confused where do i have to typ that? after editing a text at the top of the article via hand? or in a configuration file? [10:34:02] no, I mean, the only pref available is to show it or not [10:34:20] (I thought I remember being able to adjust the threshhold in prefs, I guess I misremembered) [10:35:02] mhm :( [10:35:27] is there an extinsion where non registered cant read specific topics? [10:37:22] !cms | leconcrete [10:37:22] --mwbot-- leconcrete: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For was to restrict access in MediaWiki, see !access. [10:38:01] !access [10:38:01] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [10:38:10] if you have some info that absolutely must not be read by some users, a wiki is a bad way to host it [10:38:11] aha [10:38:23] but you can? [10:38:24] because there are over a dozen ways to access info on a wiki [10:38:45] mh [10:39:33] see http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [10:40:07] heh, the medcab wiki asked me to check their security settings, they gave me an account and asked me to check a restricted page (requiring sysop access) [10:40:19] the very first thing on the list, transclusion, let me read the contents of the restricted page [10:40:43] (which requires editing access, but several others don't) [10:42:05] hi, i installed the spamRegex extension, and i would like to extend it to check the title and comments as well, anyone knows what hooks are for the title creation and comments sending [10:44:09] I am really confused. I have got a mediawiki up and running. And have already read a lot of documentation about it. Now I am thinking of shifting to moinmoin as it is better structured. Can you tell me instances where moinmoin would be better then mediawiki or is it no good? [10:45:20] solved my issue .. no I will not tell you .. it's too embarrasing .. ;) have a nice weekend [10:48:10] sdakak: http://moinmoin.wikiwikiweb.de/MoinMoinFeatures [10:48:44] ierpe: I have seen that. Can you talk from experience? Or probably reading? [10:48:52] no.. :P [10:49:01] i've never used moinmoin [10:49:13] who can I talk to if I've got an idea for an extension to the wiki universe? I have a slide-show presentation and some time on my hands [10:49:15] but i think wikimedia is a pain in the ass! ^^ [10:49:21] check it out, email me if you want to talk about it [10:49:32] http://docs.google.com/Presentation?id=dgkbgvsn_5hkzdtdm9 [10:49:44] I want to help support wikibooks by setting up a project to aggregate primary source articles and reduce them to a form where they will be readable to accurate representations of the original product [10:50:34] im not sure but maybe you should talk with dusentrieb or splarka [10:50:43] or you should try to contact wikia [10:51:08] yeah contacting wikia would probably the good thing t do! ^^ [10:51:22] sdakak: I chose MediaWiki over moinmoin because moinmoin does not use a SQL database. Would have preferred Python over PHP. [10:51:44] tale: If we don't talk about installation requirements and such. What else could come in the way? [10:51:48] I'm checking the site out now, thanks :) [10:52:03] you can submit ideas and if they validate them they'll develop them [10:52:23] tale: I have already got a mediawiki running (if you remember) and everything up. Now I don't know why but I want to use moinmoin. Can you clear things up for me. Google doesn't want to help me on this topic :( [10:52:24] sdakak: There was a comparison application in WikiMatrix, it showed those Wiki implementations that fulfilled given requirements and helped compare them. [10:52:44] tale: already looked at it. I need a more personal explanation. [10:52:49] tale: not just feature listing. [10:53:10] tale: someone who has used both are knows someone who has used both and then tell me when they would decide on the other one [10:53:18] sdakak: Would it make more sense to ask about moinmoin in a moinmoin IRC channel? [10:53:39] tale: right then. I thought as it is mediawiki vs moinmoin. You could help. [10:53:53] sdakak: How could I help? [10:54:32] tale: would you use moinmoin if the situation calls for? [10:54:36] tale: what would that situation be? [10:54:40] tale: by answering that. [10:55:11] sdakak: I have never used moinmoin and know nothing about it beyond what WikiMatrix shows. [10:57:58] I have a "search" question, that I can't find any answer [10:58:18] I have a wiki, containing information on rivers [10:58:52] each of them have specific attribute, like paddling season, region, level etc [10:59:20] anyoe could point me to a way to search with multiple attribute, like [10:59:52] need to find a river in this region, paddling in summer, with this level of difficulty [11:00:06] linny: out of curiosity, where is your wiki? [11:00:18] http://www.misaleau.qc.ca [11:00:33] it's just a start, but we need to start somewhere [11:00:57] we are going online soon, and this is a missing item [11:03:22] hmm, linny this can be done like persondata on en: wikipedia [11:03:31] see http://en.wikipedia.org/wiki/Wikipedia:Persondata [11:04:29] and this is an example how that can be "extracted" http://tools.wikimedia.de/~kolossos/templatetiger/tt-table4.php?template=Persondata&lang=en [11:04:46] so i think you can make search too [11:06:11] looking at it, one sec [11:11:10] so, this log information in a mysql Db, and then we could query it [11:11:34] It is the way I taught I would do it [11:11:54] so I'm on the right track. I taught there was already something done [11:12:05] afaik no [11:12:20] but maybe, search mediawiki.org and extensions [11:12:36] My setup is more like a database simulation with mediawiki [11:13:05] It cost nothing to ask, so I still have all my $$ in my jeans :) [11:13:08] Thank anyway [11:14:29] np [11:46:04] 03rotem * r33544 10/trunk/phase3/ (2 files in 2 dirs): Update. [11:46:15] hi, i installed the spamRegex extension, and i would like to extend it to check the title and comments as well, anyone knows what hooks are for the title creation and comments sending [12:19:57] 03(mod) Critical error in DynamicPageList2 extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13709 +patch (10innocentkiller) [12:24:31] 03(mod) sidebar rendered over wiki content - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12357 (10marz2k) [12:39:45] 03(mod) New:=?UTF-8?Q?=20=E5=8A=9F=E8=83=BD=E4=B8=A2=E5=A4=B1?= - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13784 (10N/A) [12:56:39] 03(mod) more "jump to" accessibility links needed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13765 (10N/A) [12:58:05] 03siebrand * r33545 10/trunk/phase3/languages/messages/ (4 files): Fixes for 'listgrouprights-helppage': 'Help:' should remain as it is, as it is a page link always used with a description ('listgrouprights-link') [13:12:19] hi, i installed the spamRegex extension, and i would like to extend it to check the title and comments as well, anyone knows what hooks are for the title creation and comments sending [13:12:47] I assume media wiki is run on some multi-master database replication topologies. But if so, I would assume there would be timing issues such as when creating a new page. If creating page title "topic 1" on different DBs during the replication lag interval, there will be different page_id's and the content will split. Does everyone simply use a single 'master' database instance where new content is created? [13:13:42] AdrianHains: yes, that is how mysql replication is meant to work [13:13:53] multi-master replication is complicated and requires a lot of special support in the application [13:13:58] and with mysql cluster, it's probably pointless [13:15:26] Ah I see. I run multi-master mssql for my website and have to be careful not to allow users to create a new head primary key on first usage of visibly addressable content. E.g. I had problems when I implemented a comment system and had a ThreadId created on the first comment in the thread. Just wanted to make sure I wasn't missing a simple solution :) [13:15:48] multi-master is a pain [13:16:08] thanx for your answer [13:20:27] hey kann mir einer vlt helfen ? Ich hab gerade die Wikisoftware auf "meinen" Server (konstenloser Server mit begrentzen eigenschaftren) gehauen... Wie ruf ich nun die Config datei auf ? [13:22:14] <^demon> I don't suppose anyone around speaks Chinese? [13:25:46] *Jack_Phoenix waves to ialex :-) [13:25:55] hey Jack_Phoenix :) [13:25:59] rar [13:28:11] *^demon waves around generally [13:48:41] ^demon: cool news about but 13750 [13:48:43] bug [13:53:13] 12698 [13:55:29] TimStarling: can I poke you to look at bug 12698 again? Resolving that would solve an iritating issue on enwiki [13:55:54] <^demon> jlerner: What about it? [13:56:06] seems like brion was in favor of it [13:57:10] <^demon> jlerner: I saw. I'm just not sure my patch was good enough. A bit too hackish I think. [13:57:16] 03(NEW) Page is counted as article when containing only empty link [[]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13785 15enhancement; normal; MediaWiki: General/Unknown; (Wiki.Melancholie) [13:57:31] let's fix it up then ;-) [13:58:53] <^demon> jlerner: Sounds like a plan to me. I think requiring namespace pairs (Image/Image_talk) like I did in my patch should be needed though. [13:59:10] sounds reasonable [13:59:48] <^demon> I really don't know how many things that might break if you didn't enforce that....moving, deleting, etc etc... [14:02:31] <^demon> Maybe poke him today for some input on how to improve the patch. [14:04:59] 03simetrical * r33546 10/trunk/phase3/ (RELEASE-NOTES includes/CoreParserFunctions.php): Fix fatal error on calling PAGESINCATEGORY with invalid category name; Category::newFromName does not always return an object! [14:05:17] My monitor is somehow too dim. It's annoying me. [14:05:30] too old [14:06:19] my monitor is somehow too small. please buy me a new one [14:06:24] then i'll stop annoying you [14:06:48] I have a 19" monitor for you [14:06:59] <^demon> Both of my monitors are nice and bright. Although the resolution on the left one sucks. [14:07:39] This one was fine until yesterday when I accidentally knocked out the power for everything. [14:07:42] i replaced two monitors with a widescreen monitor, much more convenient [14:08:08] I replaced one monitor with two widescreen monitors [14:08:12] much more convenient :) [14:08:19] <^demon> Werdna: Same. [14:08:20] i don't have enough desk for that [14:08:23] *Werdna went from single 15" to dual 22" widescreen [14:08:32] most of it is taken up with an HP PA-RISC workstation, maybe i should move that somewhere else [14:08:42] flyingparchment: ooh, spiffy [14:09:40] *^demon tries to increase the resolution on his left monitor, to no avail. [14:10:34] *Werdna tries to increase resolution on both monitors, finds that they're both at 1680x1050 already. [14:10:58] <^demon> Left one is at 1600x1200, right one is at 1920x1200. [14:11:11] i saw pictures of it with a vertical-mounting stand, wonder how hard it'd be to find one of those [14:11:13] Simetrical: I was wondering about that [14:11:26] carl-m, about what? [14:11:27] why thre was no error check on newFromName [14:11:36] ^demon: dont forget the 14" CRT monocrome [14:11:42] ^demon: that's not half bad [14:11:52] <^demon> AzaTht: Still have that in my closet at my parent's house [14:11:54] carl-m, well, a good thing to do in that case is to see what happens. [14:11:58] In this case, it was a fatal error. :) [14:12:00] hehe [14:12:00] <^demon> Werdna: I know, it's just odd having mis-matched resolutions. [14:12:21] ^demon: I bet. [14:12:27] Simetrical: I just trusted that whoever wrote it had looked it up :( [14:12:57] <^demon> Werdna: Dragging this window from one screen to the other is interesting. The fonts change sizes :-P [14:13:06] <^demon> Amusing, if you're bored at work as I tend to be. [14:13:11] ^demon: that's strange [14:13:15] ^demon, I solve that by using dual-head on GNOME, so I can't drag windows back and forth. [14:13:19] as you don't change vertical resolution [14:13:30] The monitors are different sizes anyway, though, 17" and 19". [14:13:58] <^demon> AzaTht: Different size monitors. [14:14:00] ^demon: make sure you have the same dpi setting [14:14:05] aha [14:14:15] ^demon: make sure you have NOT the same dpi setting [14:14:58] <^demon> One is a 19" flat-screen (the 1600x1200 one). The right one is my 17" laptop on the docking station (1920x1200) [14:15:01] pretty sure there's no UI that allows the DPI to change in the middle of dragging a window [14:15:05] that'd be pretty fucked [14:15:28] ^demon: that's funky [14:15:55] flyingparchment: it can probably be theoretically done [14:16:36] <^demon> AzaTht: You know where some javascript would be sexy? On the new specialpages, allowing you to collapse the different submenus. [14:17:12] {{sofixit}} [14:17:20] <^demon> {{user sucksasjs}} [14:17:24] hehe [14:17:31] <^demon> *{{user sucksatjs}} [14:17:48] <^demon> I suck /as/ javascript too. Doesn't suit me well. [14:17:53] thought you tried to say {{User sucksass}} [14:18:01] How can I remove copyrightwarning and copyrightwarning2 from appearing on Edit screens? [14:18:25] <^demon> gegema: Blank those messages? [14:18:31] gegema: (1) set the message to contain no text or (2) use css to hide them or (3) edit the skins to remove them [14:18:50] Thanks [14:18:58] ^demon: it's possible, but totally not usefull [14:19:12] 03simetrical * r33547 10/trunk/phase3/includes/CoreParserFunctions.php: Comments, code simplification [14:19:20] <^demon> AzaTht: I guess so... [14:19:37] it's not like you will include special pages in a page [14:19:52] Who's CBM? I like his code. [14:19:56] *Simetrical steals some of it [14:19:58] that's me [14:20:01] <^demon> I was thinking more of cookies, remembering which ones you have collapsed, keeping the ones you don't use hidden. [14:20:45] is there a ! command on this channel to get a link to a revision in svn [14:20:56] 03ialex * r33548 10/trunk/phase3/INSTALL: Updated URL and changed lines to 80 chars [14:21:35] Simetrical: al long as you're looking there, could you consider adding the patch in bug 12698 ? [14:21:54] carl-m, that's what I'm looking at. [14:21:57] Blanking [MediaWiki:Copyrightwarning] is not working, after saving it, it takes me back to the page and the text is still there [14:22:36] I'm committing some of the stuff to simplify CoreParserFunctions::pagesincategory(). pagesize() seems no less stupid than whatever else we have, so I guess I might as well commit that too. [14:23:12] "no less stupid" would be a bad threshold for inclusion in the long run, but in this case I'm all for it [14:23:35] If I were to edit the monobook skin to take the copyrightwarning message out, which css should I be editing? [14:23:46] you want to edit css, or the skin? [14:23:56] if you want css, it's MediaWiki:Monobook.css [14:24:09] if you want to edit the skin, look in the skins/ directory of the source code [14:24:28] <^demon> carl-m: "no less stupid" is a dangerous threshold :-P [14:24:36] just need to get rif og the copyrightwarning message [14:24:56] ^demon: fortunately the reviewers take a poor view of it too [14:25:16] Oh, well, Brion can back it out if he wants. :) [14:25:41] they've already heard me bug them about it, and didn't at the time think it was impossible [14:26:10] <^demon> gegema: Go to [[Mediawiki:Common.css]] and add #editpage-copywarn { display: none } [14:26:16] <^demon> Then purge your cache. [14:26:22] funny, ViewVC crashes if you feed it a bogus revision [14:27:29] <^demon> And do the same for #editpage-copywarn2 [14:28:53] 03(mod) Pseudo-namespace on Korean Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13617 (10camway) [14:30:29] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13784 +comment (10innocentkiller) [14:30:41] <^demon> ^ Summary is Chinese, Wikibugs doesn't like it. [14:34:52] 03simetrical * r33549 10/trunk/phase3/includes/ (CoreParserFunctions.php Parser.php): (log message trimmed) [14:34:52] * Add Parser::incrementExpensiveFunctionCount() and use it in [14:34:52] CoreParserFunctions::getcategorycount(); refactor slightly so that formatRaw is [14:34:52] called even for 0 (do any languages format that differently? maybe if they use [14:34:52] non-Arabic numerals?). From bug 12698, by CBM. [14:34:56] * Add a cache so that calling getcategorycount for the same category many times [14:34:58] won't stupidly repeat the same query over and over. Currently an early return [14:35:07] It always trims my log messages. :( [14:35:12] Simetrical: I wad just thinking about that issue with formatraw [14:35:12] Because I'm descriptive. :) [14:35:17] you talk too much [14:35:36] Bah, better than people who give one-line commit messages for 200-line changes. :) [14:35:48] I give ten-line commit messages for ten-line changes, which seems much fairer! [14:36:24] Simetrical: the incrementExpensiveFunctionCount() should be used in the parserfunctions extension for #ifexist , too [14:36:37] carl-m, yeah, I know. I should do that. [14:36:48] First let me commit the rest of your patch. Or CBM's patch. Are you CBM? [14:36:54] yes, I am cbm [14:37:13] carl-m (n=cbm@wikipedia/cbm): Wikipedia [14:37:14] [[en:User:CBM]] [14:38:21] Oh, rats, I reintroduced the fatal error that I had previously corrected. [14:38:24] Sigh. [14:38:29] too much talking! [14:39:03] talk, ''then'' code? [14:42:36] 03simetrical * r33550 10/trunk/phase3/includes/CoreParserFunctions.php: Re-eliminate the fatal error I reintroduced in my last commit [14:45:23] If an entire MW install is setup that only sysops can create/edit pages, is it possible to "unprotect" one page so memebers of a specified group can be given rights to edit that page and only that page? [14:45:58] what I am getting currently is either giving members of that group rights to edit all pages, or no edit rights at all (inherited:default) [14:46:47] carl-m, do we want to register the dependency in templatelinks, or would we prefer that the count be inaccurate? Not sure. [14:46:49] gegema: make another user group, give that group edit access to the page, and add all users to the new group ? [14:47:03] For categories we just have the count inaccurate. Same as for, say, {{CURRENTTIME}}. [14:47:17] Simetrical: Tim Simetrical asked me to put it in templatelinks [14:47:18] Or whatever, {{CURRENTMINUTE}}, etc. [14:47:22] er Tim Starling [14:47:25] Okay. [14:47:54] the main bug with it is that it will be inaccurate if you ask a page to include its own size, since the DB has the old size instead of the new [14:48:18] carl-m: the problem is though, atleast as I understand it, for members of that group to be able to edit that page, they have to have edit rights on all pages (b/c all pages are locked)? [14:48:44] you can "protect" a page to give some other group edit rights [14:48:58] except in this case the effect will be to unprotect that page [14:49:22] carl-m: I did, and then logged in as a member of that group and not a sys-op, and all I could do was still "view source" [14:49:49] did you make sure you added the username to that group? [14:50:21] how did you make the pages able to be edited by sysops only? [14:51:15] carl-m: $wgGroupPermissions['*']['edit'] = false; [14:51:25] $wgGroupPermissions['user']['edit'] = false; [14:51:25] 130 $wgGroupPermissions['sysop']['edit'] = true; [14:51:25] 131 $wgGroupPermissions['sysop']['createaccount'] = true; [14:51:25] 132 # Anonymous users can't create pages [14:51:25] 133 $wgGroupPermissions['*']['createpage'] = false; [14:51:35] gegema: ok [14:51:44] then I have this block... [14:51:53] $wgRestrictionLevels[] = 'CBSERV-TF'; [14:51:57] $wgGroupPermissions['CBSERV-TF']['CBSERV-TF'] = true; [14:52:01] $wgGroupPermissions['sysop']['CBSERV-TF'] = true; [14:52:32] then protected the page so members of CBSERV-TF can edit/move it [14:52:48] then created a test account and made that account a member of CBSERV-TF [14:53:09] logged in as the test account and went to the protected page, and still could not edit it [14:54:01] carl-m: For one, I am using Extension:GroupPermissions to manupilate group permissions >> not sure if that is the wrong approach [14:54:53] did you check that the test account is in the group? [14:55:35] yes sir... [14:55:39] hmm [14:55:49] Hmm, Title::getLength()'s docs appear to be lying, it's not adding stuff to the link cache. Or at least calling it repeatedly runs a query repeatedly. [14:56:14] I am editing group permissions to the CBSERV-TF group for Read > from True (which makes them able to edit all pages) to "inherit" and see if the protection thing would work again [14:56:50] Simetrical: wierd. I saw that, and wondered if it was evennecessary to do the expensive function count, but if it's lying then the count is definitely needed [14:57:07] carl-m, well, link cache doesn't help if you call it for 200 different pages. [14:57:12] Unless they happen to be in cache anyway. [14:58:07] carl-m: What does this line do then? $wgGroupPermissions['CBSERV-TF']['CBSERV-TF'] = true; [14:58:31] I'm not sure, I'm still looking at the docs [15:00:12] looks like the test account has the right to Move the page in question, but not edit it [15:01:17] 03simetrical * r33551 10/trunk/phase3/ (3 files in 3 dirs): (bug 12698) Create PAGESIZE parser function, to return the size of a page. Quite possibly this is getting out of hand; in that case, revert. Patch based on one by CBM/carl-m. [15:01:36] 03(FIXED) new parser function for conditional transclusion based on page size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 +comment (10Simetrical+wikibugs) [15:02:54] gegema: did you set $wgGroupPermissions['CBSERV-TF']['edit'] ? [15:03:19] Simetrical: pagesize? [15:03:27] pre or post? [15:03:29] actually, you don't want to do that I guess [15:03:37] AzaTht, from database. With a parameter. [15:03:42] aha [15:04:27] I find it kind of ironic that in the course of fixing bug 12698, where the point was to avoid one parser limit, we've made it very possible to run into a different one. [15:04:36] gegema: I'm not sure, from what you've said, what's up. can you copy the relevant portion of your LocalSettings.php to a pastebin somewhere? [15:04:36] carl-m: No, I have a feeling the array had to be something different that just another ['CBSERV-TF'], but wouldn't making $wgGroupPermissions['CBSERV-TF']['edit'] = true; > give right to edit all pages to the CBSERV-TF members? [15:04:40] {{#ifexpr:{{PAGESIZE:{{PAGENAME}}}} < 1000|dfsdfsd}} [15:05:00] would that work? [15:05:02] Honestly, a pagesize function is totally worthless for the original intent of bug 12698. [15:05:02] AzaTht: exactly [15:05:17] Simetrical: how's that? the issue is we are transcluding 100 small pages [15:05:21] Because you can't easily keep a running count. [15:05:47] sure, it doesn't solve that. but we can estimate that 100 pages at 10k each is 1mb, [15:05:52] hey folks - I have disabled the ability for people to create accounts on my install but I want to change the Log in/ create account to just Log in [15:05:56] any ideas? [15:06:00] {{#ifexpr:{{PAGESIZE:{{PAGENAME}}}} < {{PAGESIZE:otherPage}}|{{otherPage}}}} [15:06:05] Unless you want to check {{#ifexpr: {{PAGESIZE:{{CURRENTPAGE}} + [manually-constructed list of every other page transcluded so far] < [some hardcoded figure] [15:06:25] 100 pages is already a large chunk of your expensive parser function limitation. [15:06:29] CURRENTPAGE? [15:06:40] Simetrical: the issue in practice is there are a handful of very large pages, and a lot of small ones. we just need to cut off the large ones [15:06:48] Mm. [15:06:49] it is true that it uses a lot of the expensive calls, but that's life [15:07:15] Simetrical: but is the pagesize pre or post-transclude? [15:07:16] I'm looking at this an an engineering solution - the issue is the overall include size, how can we reduce it [15:07:28] carl-m: http://rafb.net/p/5b3Rrg35.html [15:07:43] AzaTht: pagesize on the current page will be much harder to impement correctly [15:07:44] AzaTht, it's the size stored in the database. Which I believe is just the strlen of the raw text. [15:07:57] yes, it is [15:08:07] carl-m, not really, you just have to have the parser get you the length of the raw text corresponding to the current request. [15:08:14] We do stuff like that for some other parser functions. [15:08:26] Simetrical: hmm? [15:08:37] the parser can do it, but it has to be done at the start of parsing [15:09:03] and the parsing system has several passes, so by the time the parserfunction is expanded, it might not be the first pass anymore [15:09:31] It doesn't keep a copy of the original text around? It could just do the count on every parse before it does anything else, in that case. [15:09:42] gegema: I am going to see it on my own wiki [15:09:46] Not like an extra strlen is noticeable. [15:09:49] {{#ifexpr:{{PAGESIZE:{{FULLPAGENAME}}}} != {{ {{FULLPAGENAME}} }}|{{PAGESIZE:{{FULLPAGENAME}}|{{ {{FULLPAGENAME}} }}}} [15:09:52] carl-m: Thanks :)\ [15:10:02] Simetrical: of course it can be done somehow, the main difficulty is finding the right moment to do it [15:10:18] carl-m: think that one would work? ツ [15:10:56] you're comparing the pagesize to the page name? [15:11:15] no, the transclusion of it self [15:11:33] That will break. [15:11:33] which will be a bunch of text, not numeric [15:11:37] You can't transclude a page into itself. [15:11:40] It's circular. [15:11:48] Simetrical: one level is ok [15:11:49] Try saving {{{{FULLPAGENAME}}}}, see what happens. [15:11:49] Simetrical: you can, with noinclude [15:12:03] *Simetrical tests [15:12:05] as carl-m meant [15:12:35] gegema: I'm looking at it, just need a minute or two [15:12:52] You're right, that works. [15:13:02] that's how we document templates [15:13:04] carl-m: Please feel free to take your time... am not in a hurry... just glad someone is taking the time to help [15:15:46] yeah.. and setting $wgGroupPermissions['CBSERV-TF']['edit'] = true; makes all pages on the Wiki editable by CBSERV-TF members [15:16:14] yeah, I realized that just after I said it [15:16:59] carl-m: so you understand what I am trying to do right? "unprotect" one page for members of CBSERV-TF and nothing more [15:17:24] yes [15:18:40] guess that sort of is counter-intuitive to what a Wiki is designed for [15:18:52] gegema: I have duplicated your setup on my wiki now so I can test it out. I have a user in the CBSERV-TF group. and I do see that he can only view source, even though the protection is set to let him edit [15:18:56] a particular page [15:19:47] yeah [15:20:09] I think the issue is that I had the wrong understanding of how it works [15:20:21] so let me see if I can figure out how to make it work [15:20:30] :) [15:20:40] hello [15:21:04] Is there an extension that automatically converts '--' into a em-dash? [15:21:04] carl-m, by the way, I asked in #mediawiki-i18n and it was confirmed that some scripts don't use Arabic numerals. http://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%85%E0%A4%B2%E0%A5%80%E0%A4%95%E0%A4%A1%E0%A5%80%E0%A4%B2_%E0%A4%AC%E0%A4%A6%E0%A4%B2 [15:21:27] yes, wikied does it I think [15:21:35] oh wait, that's not an extension\ [15:21:37] 03greg * r33552 10/trunk/phase3/maintenance/ (postgres/tables.sql updaters.inc): Add user_last_timestamp column to user_newtalk table [15:24:01] Is there an extension that automatically converts '--' into a em-dash? [15:24:35] Simetrical: thanks, that's good to know [15:26:58] I see this line in: SpecialUserlogin.php - # Don't show a "create account" link if the user can't [15:27:02] how do I make it so that activates? [15:27:31] gegema: the issue seems to be that the protection system is independent of the right system to a large extent. maybe it will be necessary to use an extension [15:28:08] I wonder what extension to even search for :( [15:28:14] I'm looking around [15:28:20] there is a list at http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions [15:28:22] hmm and if I disable the ability to create an account you can still create one if you are logged in [15:28:39] Wulfram, that's only for the login page itself, not for the thing in the upper-right. [15:29:01] Simetrical: is there a way to change it in the upper right? [15:29:18] Wulfram, to disable account creation for logged-in users too, you have to make that change separately. I.e., $wgGroupPermissions['user']['createaccount'] = false; [15:29:28] Wulfram, you can edit the message. Look at Special:AllMessages to find which one it is. [15:29:34] ah thanks [15:29:39] Maybe that should be a default feature, hmm. [15:29:42] Would be easy to do. [15:29:43] Is there an extension that automatically converts '--' into a em-dash? [15:29:56] *exizt slaps exizt around a bit with a large trout [15:30:45] exizt, you don't have to spam. [15:31:00] That used to be a core feature, IIRC, at least briefly, but I'm not aware of anything that does it now, no. [15:31:21] oh, sorry [15:31:36] thank you for the information [15:31:46] gegema: how comfortable are you with php code? [15:32:06] carl-m: Not at all [15:32:10] ok [15:32:27] meaning... i have no experience in it .. [15:32:39] that's fine, I am just thinking [15:32:58] so here is what I am thinking right now (maybe someone else will correct me if I am wrong) [15:33:10] 1. if a user doesn't have the edit right, they simply can't edit [15:33:45] 2. one solution would be to just protect all the pages, and then unprotect the ones you want to let people edit [15:33:55] 3. that can probably be automated so that new pages are protected by default [15:34:16] Simetrical: awesome that worked - thanks much [15:35:15] sounds like a plausible work-around, if automation of protection is possible and protecting all pages doesn't affect performance in the long run [15:36:48] no, because protection is already queried all the time, so it should be the same load [15:37:02] I am looking into whether it is possible to make new pages automatically be protected [15:37:11] but I don't think that is currently implemented [15:39:18] 03(NEW) Job queue max age - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13786 15enhancement; normal; MediaWiki: Special pages; (random832) [15:40:19] gegema: a couple more minutes here [15:40:32] Thanks to tale and others here, I am on track with MediaWiki now. Thanks everyone! [15:42:09] 03(mod) Job queue max age - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13786 +comment (10innocentkiller) [15:42:38] quit [15:42:40] oops ... [15:42:47] (wrong window ...) [15:43:33] 03rotem * r33553 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [15:44:15] carl-m: am currently looking at > http://www.mediawiki.org/wiki/Extension:Group_Based_Access_Control [15:45:10] would this be the right place to ask about CSS as it relates to, say, Monobook.css? [15:47:06] 03simetrical * r33554 10/trunk/phase3/ (5 files in 4 dirs): [15:47:06] * Allow the "log in / create account" link in the toolbar to have different text from Special:UserLogin title (new message 'nav-login-createaccount') [15:47:06] * Say "log in / create account" if an anonymous user can create an account, [15:47:07] otherwise just "log in", consistently across skins. (Currently Monobook always [15:47:08] says "log in / create account " and non-Monobook always says "log in".) [15:47:28] Huntster, Monobook.css is a wiki page that's maintained locally. This is the right place to ask about main.css, wikibits.js, shared.css, etc., which are part of the software. [15:47:53] Wulfram, BTW, in 1.13 it will say just "log in" by default if account creation is disabled. [15:48:02] thanks. [15:48:07] nice [15:48:23] okay, who added http://en.wikipedia.org/wiki/MediaWiki:Recentchangeslinked-to and why it doesn't accept wikicode? [15:49:26] and the whole interface of Special:RecentChangesLinked is a bit inconsistent now [16:04:54] Simetrical: is there an easy way to tell if an article is new, i.e. has only one revision [16:06:11] carl-m, dunno offhand, look for methods. [16:06:27] What does page_is_new do? [16:11:09] sigh [16:12:02] *^demon|brb patiently waits for enwiki's job queue to catch up. [16:13:21] 03(mod) log events in IRC RC feed not backward compatible/broke bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13662 +comment (10JSchulz_4587) [16:15:18] gegema|Lunch: I think that if you put this in your localsettings file it will do what you want [16:15:28] Simetrical: I just did it some cheap and dirty way [16:16:19] unfotunately there is no hook for ArticleCreate [16:16:27] which is what I actually needed [16:16:55] are they pretty liberal with hooks? should I file a bug for that? [16:17:50] gegema|Lunch: I mean this: http://pastebin.com/m4eb69a40 [16:17:52] "they" [16:17:59] Yeah, we don't mind sane hooks. [16:18:06] 03rotem * r33555 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [16:18:08] they = people who review code [16:18:08] I could swear there's an article creation hook somewhere. [16:18:12] It would be crazy otherwise. [16:18:19] That would include me, so . . . [16:18:22] I grepped for it, but can't find it [16:18:28] Simetrical: ah, well, in that case :) [16:18:42] You should know I review code, I just committed one of your patches? [16:19:01] I thought that there was another layer of review? [16:19:11] before the code goes live [16:20:58] carl-m, well, yes, Brion reviews stuff before the code goes live. [16:21:15] But we don't usually commit stuff if we think he'll revert it. [16:21:23] Although sometimes we're wrong. :) [16:21:27] I am still coming up to speed with the development system here. [16:21:28] (And your patch was an exception in any case.) [16:22:01] Basically it goes like: anyone with commit access commits whatever they want. If it's clearly broken, anyone else reverts it. If it's debatably broken, it's discussed by whoever's online, and/or Brion unilaterally reverts it as lead developer. [16:22:12] that makes sense [16:22:20] And/or someone else is [[WP:BOLD]] and reverts it unilaterally. [16:22:25] and of course nobody commits broken code on purpose [16:22:40] Particularly some of the more distinguished committers like Tim or Domas. [16:23:58] Who may or may not technically be above anyone else in any formal decision-making hierarchy (although Tim sort of presumptively is because he's paid), but they're roots and we junior volunteer devs don't cross them without good reason. [16:24:13] Anyway, that's about it. [16:24:34] Theoretically we're supposed to be getting a third paid dev sometime this year, who can systematically review people's patches, among other things. [16:24:38] Simetrical: thanks. for the info. I am wondering if the hooks ArticleSave and ArticleSaveComplete are enough to cover page creation as well [16:24:44] It seems likely. [16:24:57] more paid devs would be great [16:25:19] Plans say we get a couple of new ones this year. [16:25:31] Only one position has been advertised, a couple of months ago. Don't know what came of it. [16:25:54] I've been meaning to ask Brion. Last I heard, he was looking over the applications. [16:25:56] <^demon|brb> Simetrical: The ad was taken down, don't know anything beyond that. [16:26:05] For all I know he's been interviewing people for the past month. [16:26:44] I am going to have to run in a couple minutes [16:27:15] if gegema gets back, I hacked something up at http://pastebin.com/m4eb69a40 [16:27:23] which I think will do what he wants it to do [16:28:10] 03greg * r33556 10/trunk/phase3/maintenance/postgres/mediawiki_mysql2postgres.pl: Make sure DateStyle is set properly. Thanks to Brian A. Seklecki. [16:28:54] <^demon|brb> Whoopie, job queue still ~9mil. [16:29:19] what did we do, edit war over {{fact}} ? [16:29:32] <^demon|brb> I have no idea. [16:29:45] <^demon> I just want the imagelinks table to update. [16:31:16] It would be semi-useful to have an "oldest job" metric. Although most of the job runners don't start at the end. [16:31:42] Maybe also a mention of what it was a day ago, or an hour ago, so you can see whether it's increasing or decreasing. [16:31:54] I think it's an issue of "there's nothing you can do about it but wait" [16:32:36] Or ask a shell user to start up more job runners and/or just delete part of the queue. [16:32:45] (which has been done before when the queue got way too long) [16:32:51] heh [16:32:58] <^demon> Bug 13786 is about that. [16:33:01] <^demon> Filed today. [16:33:34] <^demon> enwiki's been hovering around ~9mil for about 30 minutes now. [16:34:42] I need to run. Hopefully gegema|Lunch will be able to find the link in the scrollback [16:36:36] <^demon> Simetrical: Would adding a "job_timestamp" col to the job table be a step in the right direction? [16:37:15] ^demon, doubt it would be terribly helpful. [16:37:29] <^demon> Well, I don't see any other way to track age of jobs. [16:37:36] Jobs aren't executed in order anyway, so age of jobs is semi-useless. [16:37:43] Rate of change of job queue size is more useful. [16:39:15] <^demon> True. Comments on 13786 to that effect might be nice. But I'm off to lunch. [16:57:04] wtf @ http://www.mediawiki.org/wiki/Wikipedia_buttons -- that's horribly outdated + core hacks suck [16:57:34] Jack_Phoenix, unfortunately, a lot of documentation at mw.org is outdated :/ [16:58:14] at least it's not as outdated as meta docs...but still, too many outdated pages [16:58:24] *Jack_Phoenix adds the page to his to-do list [16:58:34] perhaps I'll get around rewriting it one day ;-) [16:59:04] hello [16:59:39] How do you make a page be in a category? [16:59:54] hi nike [17:00:30] matthew_: put [[category:nameofthecategory]] into the page [17:00:49] thanks [17:07:58] 03siebrand * r33557 10/trunk/extensions/Translate/wikimedia-mostused.txt: Add 'nav-login-createaccount' [17:10:12] Hi all. Can anyone please tell me if there is a simple way to disable off-site links on my wiki? [17:17:25] 03siebrand * r33558 10/trunk/phase3/languages/messages/ (163 files): [17:17:26] Localisation updates. [17:17:26] * add 'nav-login-createaccount' as copy of 'userlogin' [17:17:26] * remove 'imgdesc' [17:17:26] * rebuild message file [17:18:38] gegema: did you see the link I put above? [17:21:28] hey guys, when im going through the installation, im getting the following error: Warning: fopen(../maintenance/tables.sql) [function.fopen]: failed to open stream: No such file or directory in /home/ciplexbe/public_html/wikihow/wiki19/includes/Database.php on line 1967 [17:22:29] carl-m: Yes... going over it and editing my Localsettings.php file now [17:22:55] what that should do is to automatically protect each page when it is created. If you want to customize the protection, that can be done without too much trouble [17:23:12] is it a permissions thing? "failed to open stream"? i looked through the help pages, but found nothing on this error [17:23:25] nic00: maybe the file doesn't exist? [17:23:57] carl-m: am switching to my Reg'd nick on Freenode so I can PM you to get explanation on what some of those things do... stuff that might annoy ppl here coz its too 'elimentary' :) [17:24:12] if you want, but you can ask here and nobody will complain [17:24:53] alright... [17:25:05] carl: the file does exist [17:25:06] i just checked [17:25:11] that was my 1st though [17:25:15] *thought [17:26:19] nic00: is the file at /home/ciplexbe/public_html/wikihow/wiki19/maintenance/tables.sql ? [17:27:31] hmm, it seems its at /public_html/wikihow/wiki19/maintenance/ [17:27:47] it has to be positioned relative to the other file [17:28:33] so all the files have to be in /home/ciplexbe? [17:28:40] yes [17:28:46] because of the .. [17:29:14] any way to make it point there? [17:29:24] as opposed to actually placing the files in that folder? [17:30:01] you can probably symlink it [17:30:17] ln -s /home/ciplexbe/public_html/wikihow/wiki19/maintenance /public_html/wikihow/wiki19/maintenance [17:30:34] carl-m: http://pastebin.com/d178a8e80 [17:31:12] looks ok [17:31:30] do you need the cbserv-tf group for something else? [17:32:27] I would want them to be able to use the talk page on the unprotected page [17:33:06] so only articles in non-talk namespaces should be protected? [17:33:29] yeah [17:34:35] we can do that [17:34:52] so if I understand what we just did, the above code opens page edits to all ['*'] but auto protects new pages (using which default? sysop only?) ... so current pages would have to manually be protected? [17:35:25] that's right. default sysop only. I can add move protection if you want it [17:36:25] that would be great [17:36:36] hmm that symlink just says no file/directory exists [17:37:02] i guess the issue is that the web server has the stuff in public_html, but if i make a /home/ciplexbe/public_html... i dont think the web server would see this? [17:37:18] I guess am making this sound like am trying to protect some HUGE secret... its just that the company I work for is a bit nervous about the technology and want to make sure confidential infomation would stay secure [17:38:06] nic00: it looks like the web server is already inside /home/cipl.../public_html [17:39:35] do I need to dump browser caches? My test account (member of CBSERV-TF) is still not able to edit the page [17:40:21] purging the cache (shift reload should work) is usually a good first step [17:42:06] carl-m: heh.. am panicking now... [17:42:14] no need to panic, all will work out [17:42:17] in the FTP though, the file structure doesnt include the /home/ciplexbe/ part though [17:42:20] i think that might be the problem [17:42:23] let me unprotect the page and protect it back and see if that works [17:42:31] maybe the webserver is there... but the files arent? [17:42:49] gegema: start by unprotecting and making sure the test user can edit (do you still have edit permission disabled) [17:43:00] then try creating a new page and check that it is protected to sysop level [17:43:12] by the way, here is the code to oly protect non-talk pages http://pastebin.com/m4241946a [17:43:53] nic00: I can't say. see ifyou can browse to the maintenance directory using your browser [17:44:43] # $wgGroupPermissions['*']['edit'] = false; and # $wgGroupPermissions['user']['edit'] = false; >. are commented out... I am assuming doing that would enable the default which is ['edit'] = true;? [17:45:09] I did unprotect the page and the test user still can not edit it... [17:45:17] yes [17:45:38] maybe I should set ['user']['edit]=true [17:45:42] carl, yea i can [17:45:47] it says permission denied.. but yea i can go there [17:46:06] in the FTP though, when i navigate to that file, its without the home/ciplexbe/ part [17:46:23] nic00: you should make it so you can read the file with your web browser [17:46:37] because the php process is running with the rights of the web server [17:46:43] the maintenance folder? [17:46:43] gegema: run api.php?action=query&meta=userinfo&uiprop=groups|rights and see what rights the user has [17:46:49] nic00: tables.sql in particular [17:49:39] I use EditSubpages to allow users who are not logged in to edit a particular page. [17:51:09] tale: that's pretty much exactly what he was looking for [17:51:10] carl-m: http://rafb.net/p/U5lDNb29.html >> for test user [17:51:28] gegema: I think you need to give that group edit rights explicitly [17:51:35] since they don't shyow up there [17:51:39] k [17:52:51] carl-m: $wgGroupPermissions['CBSERV-TF']['edit'] = true; [17:52:58] that should do it correct? [17:53:04] what do you mean ? [17:53:11] i should enable write on that folder? [17:53:18] gegema: right. and you may want to change my function so that instead sysop protection, it is protected to allow that group to edit [17:53:28] i just checked the permissions, it has read/execute (the maintenance folder) [17:53:37] nic00: make the folder 755 and the files inside 644 [17:54:09] carl-m: ( array('edit'=>'CBSERV-TF') [17:54:22] yes [17:54:48] make sure that CBSERV-TF is also added to the protection options [17:54:56] which I think it is [17:56:02] carl-m: http://pastebin.com/d5e90096f >> is what it looks like now [17:56:22] good. now that user should be able to edit pages that aren't protected, at the very least [17:57:41] the folder is already 755 [17:58:16] what about the files? [17:58:28] also, the parent directory should be checked, all the way up [17:59:07] yea its 755 all the way up [17:59:19] in my FTP, i connect and i navigate to public_html to upload files [17:59:21] but you still can't open tables.sql in your web browser? [17:59:25] so in the public_html folder i made a wikihow directory [17:59:30] 03(NEW) Differnt rendering of a list related to transclue when previwe/old rev/ rendering a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13787 15enhancement; normal; MediaWiki: Page rendering; (michael.frey) [18:00:14] nope i still cant navigate there [18:00:25] 403 error access denied [18:00:43] and ya the files are 644 too [18:00:57] and it still doesn't work to try to run mediawiki? [18:01:11] nope, same error [18:01:17] file not found [18:01:24] somehow its looking for the file in the wrong directory [18:01:30] I'm not sure what's going on then. can you read the webserver error log to see what the server said? [18:01:33] i think thats the problem.. but then the question is how to tell it to look at the right place? [18:01:56] nope [18:02:00] you can always just edit the php file to change the .. to a full path [18:02:16] the php file just has this variable $filename [18:02:38] ? [18:03:12] Warning: fopen(../maintenance/tables.sql) [function.fopen]: failed to open stream: No such file or directory in /home/ciplexbe/public_html/wikihow/wiki19/includes/Database.php on line 1967 [18:03:18] i went to database.php on that line [18:03:24] and it's just $filename [18:03:36] it's inside a function that gets passed the path [18:03:37] it must be set somewhere [18:03:48] yea but who knows where.. [18:03:55] its a bazillion lines of code [18:04:03] hmmm.. I had a redirect function after login to send members of CBSERV-TF to this document... didn't know that also substituted "Main_Page" with the redirect page [18:04:25] nic00: config/index.php [18:04:58] gegema: so the permissions are working now? [18:06:08] nope, dont see it there [18:06:24] I'm not sure what's causing the problem [18:06:27] that index.php file just has all the stuff for the web cnonfig [18:06:44] nothing but web config will need that sql file [18:07:59] dbsource( "../maintenance/tables.sql", $wgDatabase ); [18:08:04] maybe i can change the .. there? [18:08:16] that's my suggestion [18:08:24] make it a full absolute path [18:08:24] oh [18:08:33] just remove the .. or give full path? [18:08:39] full path [18:08:59] MediaWiki has been rocking my face off the past few weeks...best thing I ever installed after WordPress. It's so good it's sick. [18:10:14] carl-m: hmmm...not fully... members of CBSERV-TF should not be able to create pages, and they can... [18:10:16] what would the full path be? the FTP path? [18:10:22] well ill try a few out.. lets see [18:10:29] am looking thru my localsettings files again to make sure i have everything set right [18:10:49] gegema: try explictly turning off createpage for them [18:10:58] Werdna: Special:Userrights seems to work incorrect now (at least on testwiki) [18:11:27] nic00: the full path is the path you would use to edit the file on that machine [18:13:01] carl-m: when I changed your function to this ( array('edit'=>'CBSERV-TF'), that means that all new pages created are protected for that group right? But all I wanted was for the group to edit the one page and new pages to be editable only by sysops [18:13:32] gegema: oh. then change that back to sysop, and manually change the protection on the pages you want that group to be able to edit [18:13:46] weird, when i change that .. then it changes the whole file to this GNU license thing [18:17:02] so you are trying to load config/index.php, right? [18:20:55] carl-m: I have $wgGroupPermissions['CBSERV-TF']['createpage'] = false; [18:21:10] but test user can still create pages in the Main namespace [18:21:50] can you run the api query again to see if the right is still there? [18:22:39] carl, ya [18:23:19] nic00: I don't understand what error you are getting or where in the process you are getting it [18:23:40] carl-m: yeah the test user still seems to have createpage rights [18:23:52] try logging out and back in, I don't know if that's needed [18:24:05] but you want to see that right disappear [18:24:39] ok [18:25:16] yeah.> on /Special:Userrights, the only thing the test user has is just membership to group CBSERV-TF [18:25:26] carl: it was some weird error [18:25:30] Could not open "../maintenance/interwiki.sql". is what i get now [18:25:39] giving it the full path found the tables.sql [18:25:47] i guess i have to go through and give this entire file the full path [18:25:52] nic00: yes [18:25:55] carl-m: On a side-note, where can I edit the login timeout variable? [18:25:57] ouch... [18:25:59] =( [18:26:10] no simple solution? [18:26:43] gegema: http://www.mediawiki.org/wiki/Manual:%24wgCookieExpiration [18:26:52] Thanks [18:27:02] gegema: I can see from the xml query that the user isin only one group, and did (last time you posted it) have createpage rights [18:27:07] Loged out and back in... test user still has rights [18:28:08] can you post your localsettings again, so I can copy it to mine and look at it ? [18:28:12] just the relevant part [18:30:19] carl-m: http://pastebin.com/d1c603a0d [18:31:04] carl, i was able to get it to load fine now [18:31:08] line 10 and line 36 are both set to false on create page [18:31:08] but now when i navigate to the index.php [18:31:09] Warning: require_once(PatrolHelper.php) [function.require-once]: failed to open stream: No such file or directory in /home/ciplexbe/public_html/wikihow/wiki19/includes/Article.php on line 17 [18:31:10] i get that error [18:31:40] the whole mapping/file structure has to get fixed, theres too many dependencies [18:31:42] nic00: I don't know what's up, but somehow the search path for your webserver/php interpreter is wrong [18:33:34] gegema: I don't have the issue you do: http://pastebin.com/m4513655b [18:36:45] carl-m: http://pastebin.com/d50e03027 is what I have right now ~) a bit confused abt this [18:37:28] maybe you have a caching issue? [18:37:41] I copied your code into my localsettings, logged in, and that's what I got [18:38:11] 14(INVALID) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13784 +comment (10brion) [18:39:02] 14(INVALID) Page is counted as article when containing only empty link [[]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13785 +comment (10brion) [18:41:55] any idea on how to fix it? [18:43:19] is this some sort of hosting company? [18:48:10] carl-m: I do not have a $wgCookieExpiration in my settings. I asked because it seemed like after 10-15 mins of inactivity, I was being asked to re-login.... and I see on the docs that the default is 30 days... [18:50:39] gegema: dunno. are you clicking the "remember me" button? [18:55:26] ugh this error is driving me crazy [18:55:43] ## The URL base path to the directory containing the wiki; [18:55:43] ## defaults for all runtime URL paths are based off of this. [18:55:43] $wgScriptPath = "/home/ciplexbe/public_html/wikihow"; [18:55:55] i've tried putting the full path there instead of just /wikihow [18:55:58] but no luck [18:56:25] if i do that i get [18:56:26] 404 Not Found [18:56:26] The requested URL /home/ciplexbe/public_html/wikihow/index.php?title=Main-Page does not exist. [18:56:46] in the browser, so it literally redirects me there [18:59:03] nic00: you shouldn't need to do that. try starting with a fresh installation and walking through the installation manual [19:03:15] i did [19:03:41] it's a server mapping thing, somehow it's looking in the wrong place [19:05:52] 03(mod) Use only ASCII characters in email confirmation links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11547 +comment (10henry) [19:15:33] driving me totally crazy :( [19:18:07] 03ialex * r33559 10/trunk/extensions/Configure/ (8 files): [19:18:07] Added new extension to allow users to configure the wiki by a web based interface [19:18:07] WARNING: STILL EXPERIMENTAL, USE AT YOUR OWN RISK [19:18:45] *Nikerabbit tests! [19:18:57] anyone else have any ideas as to why this could be happening? [19:19:52] Warning: require_once(PatrolHelper.php) [function.require-once]: failed to open stream: No such file or directory in /home/ciplexbe/public_html/wikihow/includes/Article.php on line 17 [19:21:29] custom code? [19:21:41] nope [19:21:56] i had the same issue during the installation [19:22:04] it couldnt find those .sql files until i pointed exactly to the file [19:22:13] can't support code we don't know :o [19:22:33] it's not custom, its mediawiki [19:22:50] nic00: wich version ? [19:23:25] ialex: wgOut->wrapWikiMsg perhaps? :o [19:23:37] no idea what version [19:23:42] i got it from www.wikihow.org [19:24:04] Nikerabbit: in Configure ? [19:24:35] ialex: yes? [19:24:47] Nikerabbit: no [19:25:03] is there a way to get a list of all pages in the Mediawiki NS (Special Allpages only shows me ones that I have edited).. or is there documentation out there that lists all available MW namespace entries? [19:25:06] im not sure why it keeps looking in the wrong directory for those files [19:26:04] ialex: no? [19:26:20] Nikerabbit: back compat w/ 1.7 ^^ [19:27:51] ialex: hmm, just use it if is there then :o [19:28:01] could it be an issue with the server? [19:28:10] why does it look in the wrong folder for the files? [19:28:11] but not that important until there is messages that use plural or grammar [19:28:35] Nikerabbit: wgOut->wrapWikiMsg was added in 1.12 [19:28:44] Warning: require_once(PatrolHelper.php) [function.require-once]: failed to open stream: No such file or directory in /home/ciplexbe/public_html/wikihow/includes/Article.php on line 17 ... the files are there in my FTP =( [19:28:46] nic00: there is no PatrolHelper in recent version of mediawiki [19:29:11] like i said im using wikihow, its slightly different, but based on mediawiki... everything is the same [19:29:23] but for some reason the mapping does not work... it looks in the wrong folder [19:30:11] maybe include_path is wrong, dunno, but it's still modified code :o [19:30:21] ialex: and 1.12.0 is out :o [19:30:31] where is that path set? how does it normally work? [19:31:05] Nikerabbit: can't i have back compat ? :) [19:31:30] ialex: yes you can add more if-then-else :) [19:31:32] + 'type' => 'text', 'value' => htmlspecialchars( isset( $default[$ns] ) ? $default[$ns] : '' ) [19:31:40] double escaping? [19:32:00] wich line ? [19:32:25] ialex: in function above buildtablerow [19:35:40] "Notice : Undefined index: pagesize in /Library/WebServer/Documents/phase3/languages/Language.php (line 1567)" [19:35:55] grrr [19:36:08] ialex: forgot to do svn up? :o [19:36:47] "At revision 33559." [19:36:52] ialex: it feels like all this metadata about variable types and grouping should be in defaultsettings or somewhere :o [19:37:17] hmm there is some other instance where htmlspecialchars is used with Xml::element [19:38:06] ialex: using a language other than english? [19:38:16] carl-m: yes [19:38:27] also Xml::element + wfMsgHtml [19:38:52] throw new MWException( "Unkonwn setting type $type (setting name: \$$name)" ); [19:38:56] typo [19:39:00] there was a new parser function added, but it's probably not in your messages file [19:40:21] but it should be merged with fallback (or it's my cache) [19:40:51] ialex: I also see those warnings usually if I accidentally overwrite some changes :o [19:41:15] maybe you didn't up the messages file ? [19:43:25] hmm [19:43:32] can't get those to work anyway :o [19:43:51] ah, now [19:53:28] 03siebrand * r33560 10/trunk/extensions/Configure/ (7 files): [19:53:28] * fix spelling in messages and message IDs [19:53:28] * unused/dulicate message removed [19:53:28] * remove EOL whitespace [19:57:19] 03siebrand * r33561 10/trunk/extensions/Configure/Configure.i18n.php: oops [19:58:54] ialex, Configure looks like a very cool extension - good job :-D [19:59:43] Jack_Phoenix: still doesn't allow some strange config arrays [19:59:51] *to change [20:00:06] well, MW can be quite strange at times ;-> [20:00:26] (took me quite a few minutes to find out how to get interlanguage links to work...gah, I still remember that day) [20:01:44] 03ialex * r33562 10/trunk/extensions/Configure/Configure.body.php: Don't need to escape it, it's already done by Xml::element(), thanks to nikerabbit to have noticed it [20:05:11] hmm [20:05:32] there is save settings button even when I can't modify (database) settings [20:08:54] Nikerabbit: yeah did you added configure-all right ? [20:09:06] -ed [20:12:12] ialex: nope, just testing :o [20:12:54] Nikerabbit: this is javascript from Special:Preferences ;) [20:13:05] ialex: I noticed that [20:13:36] ialex: one word: amazing [20:13:48] but i should also add some custom, on day... [20:14:03] would be really nice if we could automatically generate all that, with comments :o [20:14:19] php ? [20:14:19] ialex: does it save all settings or just modified ones? [20:14:31] all [20:15:52] if some are already modified, i can't know what was modified, as i don't have the default config (the one in DefaultSettings.php) [20:15:53] hmm [20:16:16] wgCacheEpoch will then stay on wrong value? [20:17:09] ow, i didn't put an automatic update ? [20:17:10] :( [20:20:40] :o [20:21:49] <^demon> Browsing some of the LATER bugs is fun sometimes. [20:22:15] like? [20:22:48] <^demon> There's some dealing with 1.3->1.4 upgrades, some dealing with 1.5-ish language updates, etc. [20:26:12] 03ialex * r33563 10/trunk/extensions/Configure/Configure.body.php: Update $wgCacheEpch on each update, idea from nikerabbit :) [20:35:50] 03ialex * r33564 10/trunk/extensions/Configure/ (Configure.body.php Configure.i18n.php): Update [20:35:56] if( !$this or !$nt ) { [20:36:08] Could someone explain to me how !$this could *ever* be true in an object context? [20:37:31] +1 [20:39:09] do the image table contain an img_sha1 or is that an ts-extra thing? [20:39:56] hi, in the Makesysop extension, the OBSOLETE file says that users can be made into a sysop through the core product now, how exactly is that done? [20:40:07] and if it is, me want it indexed :)))) [20:40:34] chuck: using Special:Userrights [20:40:48] and http://www.mediawiki.org/wiki/Manual:%24wgAddGroups [20:41:00] 03simetrical * r33565 10/trunk/phase3/ (4 files in 4 dirs): [20:41:00] Users moving a page can now have all subpages automatically moved as well. Done [20:41:00] by request of the people in #wikibooks; this is apparently a much-desired thing [20:41:00] there (for, I guess, obvious reasons :) ). This took longer than I thought and [20:41:00] is somewhat hackish in places, so it could maybe use a bit of polish. [20:41:17] blah, right when i check out the code, a commit gets made :P [20:41:38] MrZ-man: how do i restrict Special:Userrights so bureaucrats can only manage local wiki permissions [20:41:58] oh i see, what ialex posted [20:42:23] and that is the default setting anyway [20:45:09] 03(mod) log events in IRC RC feed not backward compatible/broke bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13662 +comment (10cbrown1023) [20:49:09] are image redirects going to happen anytime soon? [20:49:11] MrZ-man: how do i create a new group [20:49:42] !newusergroup [20:49:42] --mwbot-- To create a new usergroup, simple set permissions for that group in LocalSettings.php, using $wgGroupPermissions. Then, simply add users to that group [20:49:56] carl-m, are there plans to? [20:50:05] Simetrical: w00t [20:50:30] carl-m, depends on #wikimedia-tech. We do have them in the software enabled by default, I think. [20:50:35] Soxred93: I saw this: http://commons.wikimedia.org/wiki/Commons:Village_pump#Image_redirects [20:51:01] Yay, I was looking for something like that [20:51:47] Simetrical: does that apply to mediawiki namespace too? :o [20:51:59] Nikerabbit, why wouldn't it? You can move stuff there, right? [20:52:34] Oh, so they are actually enabled? [20:52:38] Image redirects, that is. [20:52:45] Simetrical: there is probably one or two bugs requesting that :o [20:52:52] Maybe. :) [20:52:59] yeah, they work [20:52:59] http://en.wikipedia.org/wiki/User:CBM/Sandbox [20:58:21] 03mkroetzsch * r33566 10/trunk/extensions/SemanticMediaWiki/ (28 files in 7 dirs): [20:58:21] Converted language system to support Betawiki, only special messages (namespaces, datatype names, etc.) remain [20:58:21] hardcoded in language classes [21:04:18] ialex, neat, web configuration. :) [21:06:38] some pokes on the image redirect thingi: http://en.wikipedia.org/wiki/User:AzaToth/goo http://en.wikipedia.org/wiki/Image:Rehasse3.png http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Image:Rehasse3.png http://en.wikipedia.org/w/api.php?action=query&list=imageusage&iutitle=Image:Rehasse3.png [21:14:53] hi there [21:14:59] hey dudes, who have an idea to enhance line 50 ? I get wrong charset sometimes... The script is build to convert an html URL to mediawiki syntax : http://pastebin.com/d36cbf7bd Any contribution is welcome ! [21:36:28] 03(NEW) getThumbnails broken when not running isHashed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13788 major; normal; MediaWiki: Images; (jon) [22:09:00] 03siebrand * r33567 10/trunk/extensions/ (3 files in 2 dirs): [22:09:00] * align messages in Configure.i18n.php [22:09:00] * add support to Translate for extension Configure [22:17:28] are questions about extensions acceptable here? [22:17:33] specifically checkuser [22:18:01] Cordelia, of course they are :-) [22:18:15] how do I embed an image that hasn't been uploaded through mediawiki? [22:18:33] do I have to use addhtml or something? [22:18:41] !externalimages | mrmonday [22:18:41] --mwbot-- mrmonday: To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [22:19:10] 03siebrand * r33568 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): add support to Translate for extension SemanticMediaWiki (yay!) [22:19:35] I just tried to install it and got a bunch of odd messages in SSH when I ran install.php, the option to add checkuser now appears in the user rights interface but when Obviously when I try to apply it i get an error [22:20:00] MySQL returned error "1146: Table 'web55-fluffytowe.mw_cu_changes' doesn't exist (localhost)". [22:20:10] thanks =) [22:22:50] 03siebrand * r33569 10/trunk/extensions/SemanticMediaWiki/ (includes/SMW_RefreshTab.php languages/SMW_Messages.php): Rename message 'purge' to 'smw_purge' because of naming conflict with extension Purge [22:24:46] how do I add a caption to an image? [22:25:01] [[image:whatever.jpg|captionhere]] [22:25:56] ^ I'm using an external image, so I don't have the brackets [22:26:10] ohh i see [22:26:38] Cordelia: i guess we'll need to see what the odd messages from the installer are [22:26:47] you can paste them at http://rafb.net/paste/ [22:26:55] then paste just the url here [22:28:03] thanks, http://rafb.net/p/qFT9EP96.html [22:28:08] 03siebrand * r33570 10/trunk/extensions/Translate/MessageGroups.php: Some ignored and optional messages for SMW [22:29:42] Cordelia, it looks like you're trying to run the file through bash. Run it with the command: php install.php [22:29:59] ./install.php looks for a hashbang, and finding none, it tries /bin/sh. Which is not what you want. [22:35:08] sweet, thanks a lot [22:48:08] 03siebrand * r33571 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php: [22:48:08] * sort languages in i18n file [22:48:08] * rebuild translations [22:48:08] * split messages groups in source language [22:48:08] * align message groups and some arbitrary line breaks [22:48:34] 03siebrand * r33572 10/trunk/extensions/Translate/MessageGroups.php: Add another ignored messages for SMW [22:49:09] 03brion * r33573 10/trunk/extensions/Cite/citeParserTests.txt: update parser test case results with current message value [22:54:49] Hello [22:55:18] 03brion * r33574 10/trunk/phase3/maintenance/parserTests.txt: Add parser regression test case for r33546 fatal error fix [22:56:04] We are trying to disable wiki editing by unregistered users, we tried and not possible. I followed this: http://auroral.co.uk/2007/12/03/disable-edits-from-unregistered-users-in-mediawiki/ [22:56:23] What's the correct way? We use MediaWiki 1.6.8, it's old... [22:56:30] 03siebrand * r33575 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php: More arbitrary line breaks [23:00:11] how can i delete a user from the database? completely delete him. [23:05:31] 03siebrand * r33576 10/trunk/extensions/Translate/MessageGroups.php: Fix message id [23:07:55] Sorry but I'm going to sleep now. I'll ask again tomorrow, bye to all :) [23:10:37] 03siebrand * r33577 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php: Fix typo in message [23:23:15] ok, if you have a UTF-8 wiki, the following script will decode an URL to give as parameter to the script. you will get the full content in your buffer in mediawiki syntax. take a look to : http://pastebin.com/d53e0d3d6 [23:24:00] ( you can remove charset part if you work only with UTF-8, & use the script to only convert html to mediawkik ) [23:27:44] hello, does the search capability for mediawiki 1.12 work better than 1.11? [23:28:44] depends what you thought was wrong with it, glee-dev :) [23:28:57] i have a few test case [23:29:00] s [23:29:43] I'm searching for a string in a wiki page I just create [23:29:49] wtf? red dots around diff changes?? [23:30:12] let's say the string is "Linuxbot", [23:30:24] and when I search using the search tool, it didn't find any page with that string [23:30:36] is this a known issue? [23:31:43] oO [23:33:18] how can i delete a user from the database? completely delete him. [23:35:09] Nikerabbit: i don't think http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/diff.css?r1=22970&r2=32282&sortby=date was a good idea. the red dots distract the eye from the really important, which is the change in the text. [23:41:39] what is the best way to have a particular CSS on main page & other one for the rest ? [23:53:15] 03brion * r33578 10/trunk/phase3/ (4 files in 4 dirs): (log message trimmed) [23:53:15] Revert r33565 pending some cleanup... [23:53:15] A few notes: [23:53:15] * This seems to drop the 'action=success' page in favor of dumping all the [23:53:15] output directly on the POST response. That's probably necessary, but tends to [23:53:16] cause annoyances with back/forward navigation (warnings about re-POSTing data [23:53:20] etc) [23:54:05] 03mfarag * r33579 10/trunk/phase3/languages/messages/MessagesAr.php: Update [23:55:02] brion: some animated gifs on http://commons.wikimedia.org/wiki/POV-Ray looks really funky [23:55:15] for example http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Pyramid_of_35_spheres_animation.gif/120px-Pyramid_of_35_spheres_animation.gif [23:55:22] for http://commons.wikimedia.org/wiki/Image:Pyramid_of_35_spheres_animation.gif [23:55:51] :(