[00:01:08] Skizzerz, twincest: I would say make it either command-line or Web-based, optionally; put big warnings on the Web-based thing; and anyone who uses "remember passwords" or an unencrypted connection deserves what they get. [00:01:27] either command-line or Web-based, optionally = add both modes of operation, as options [00:21:47] I've got ambox working on my wiki now - thanks everyone for all your help [00:22:46] is "Title::newFromText(wfMsgForContent( "mainpage" ))->escapeLocalURL()" a good way to come up with a link or is there a faster way? [00:24:00] Title::newMainPage()->something [00:24:14] which is essentially the same [00:24:18] just in general [00:24:36] Does PHP allow the syntax function()->method()? I thought it didn't. [00:24:47] Given that PHP as a whole is nothing more than a lousy hack. [00:24:49] Simetrical: it doesn't allow array access for that [00:24:52] I also got "Title::newFromText(wfMsgForContent( "helppage" ))->escapeLocalURL()" [00:24:56] Ah, but it does allow methods. [00:25:11] But it doesn't allow methods for new Title(...)->method(), I think. [00:25:22] why not? [00:25:56] save the Title object to a variable, and call the method on that [00:26:13] LC::singleton()->blaah() works at elast [00:27:26] I only use the title object once [00:27:36] I'm making a skin [00:28:18] newFromText is not the fastest.. but usually one doesn't construct titles from messages [00:28:40] I was originally going to use $this->data['articlepath'] to do it... [00:29:27] premature optimisation.... [00:31:23] well I learned it returns the same result as wgArticlePath, I guess I was hoping it would be with the $1 on the end [00:31:34] err without the $1 [00:33:56] I wasn't looking to optimize really, just wanted to know if Title::newFromText() is the preferred way to get a title [00:43:19] darkcode: probably in that case [00:44:31] darkcode: you could truncate the $1 off the end of wgArticlePath :) [00:45:05] ya I know [00:45:27] if I was looking to optimize that's what I would do [00:50:15] I'm having fun trying to convert a skin that inherits from the Skin class into a one that inherits from the SkinTemplate class and uses QuickTemplate [00:50:52] so I'm trying to stick as close as possible to its original design and look [02:32:18] 03brion * r28879 10/trunk/phase3/includes/ (AutoLoader.php SpecialUserrights.php UserRightsProxy.php): [02:32:18] Refactor some of the horror that was Special:Userrights... [02:32:18] Split out the remote accessors into a UserRightsProxy object, so the main interface code [02:32:18] doesn't have to worry about it -- it just uses the regular User object interface functions, [02:32:18] without caring that it's got a remote object here. [02:32:22] Should have cleaner behavior with numeric ID accesses as well; it now does a name lookup even for remote ones, and logs with that. [03:40:53] anyone here used the NamespacePermissions extension? [03:43:40] frieze I have [03:43:46] it doesn't really work [03:44:39] yeah I kinda noticed that [03:45:16] I tried setting up a separate public namespace and it doesn't seem to be readable by users who don't have regular read permissions anyway [03:46:11] Can you use lockdown to set permissions on the regular namespace as well as custom ones? [03:47:00] *Albino_Convict checks [03:47:26] not really [03:47:36] you'd have to specify individual pages [03:47:46] if you wanted everything mainspace to show up [03:48:01] wish it could work the other way, but... [03:49:00] So is there any way to set up a wiki so almost all of it is only viewable by logged in users but a small subset of pages is viewable by non logged-in users? [03:49:28] yes [03:49:39] it's one of those $wg options [03:49:44] err, two [03:50:06] may want to sift around [[Manual:Configuration settings]] [03:50:41] http://www.mediawiki.org/wiki/Manual:Configuration_settings#Access [03:50:56] is whitelistread the thing I'm looking for? [03:51:22] yeah [03:51:32] but you also have to set $wgGroupPermissions [03:51:45] in order for $wgWhitelistRead to even work [03:52:30] right [03:52:48] already have that set. I just need to add some anonymously readable pages now. [03:54:48] so if I set $wgGroupPermissions['*' ]['read'] = false; and $wgWhitelistRead = array ("public:About_Us"); [03:54:48] then only public:About_Us should be readable [03:55:16] but it should be readable without login now right? [03:56:01] ahh, no underscores needed [03:56:01] cool [03:56:44] remember to set MediaWiki:Mainpage to something in the whitelist [04:01:58] cool [04:02:10] Albino_Convict: Thanks. I'm good now [04:02:23] np [04:18:35] 03brion * r28880 10/trunk/phase3/includes/UserRightsProxy.php: use self::, not $this-> in static methods, so interwiki userrights actually works again :) [04:25:07] is wikibugs down? or is just no one making any bug edits/reports [04:25:24] all bugs have been fixed [04:25:47] twincest: nowai [04:39:37] 03brion * r28881 10/trunk/extensions/Makesysop/ (SpecialMakesysop.i18n.php SpecialMakesysop_body.php): [04:39:37] Trim out the interwiki Special:Userrights dupe now that that's been merged on trunk. [04:39:37] Leave Special:Makesysop as a limited page; give a link to the full Special:Userrights form for those with relevant permissions. [04:55:23] ok i'm pretty happy with special:userrights and special:makesysop for steward bits now [04:55:39] though i think i'll enable things in the morning rather than before i go to bed tonight ;) [04:56:03] awww... no new toys? [04:56:05] good call [04:56:15] not even a little title blacklist? [04:57:30] morning [04:57:39] all right :) [04:59:34] UI is pretty shitty for restricted rights editing mode [04:59:40] ah well some poor sod will work on that :D [05:01:08] hmmm [05:01:13] it also doesn't seem to actually work [05:01:30] perhaps some poor sod will work on that first :D [05:01:47] yeah that'll be me :D [05:02:11] oh i see, i just have some bad error checking [05:02:19] i'm accidentally editing a user that doesn't exist :D [05:10:18] 03brion * r28882 10/trunk/phase3/includes/ (SpecialUserrights.php User.php): [05:10:18] User::isAnon() via User::isLoggedIn() has unexpected behavior from an [05:10:18] optimization if the data isn't loaded and the referenced name doesn't exist. Not [05:10:18] sure if that's desired or not; adding a comment note on the code and using a [05:10:18] clearer check in special:userrights [06:29:56] How is CIA-40 linked with the SVN? [06:43:38] http://digg.com/2008_us_elections/Mike_Huckabee_If_you_vote_for_me_you_live_if_you_don_t [06:43:39] Check out Mike Huckabee's latest psychotic utterance! [06:57:22] I have a bit of a query for input from both MediaWiki devs and users on an extension I'm creating. [06:58:18] I'm making a extension for embeding videos into articles (There are others out, but sometimes the syntax is bad, or it doesn't support enough video services, etc...) [06:59:13] The syntax for embeding a video is [[Embed:Video Title]] and you use [[Special:LinkVideo]] to basically link a video title on the wiki, to a video id on a video host. [06:59:31] My query is on the Video Page. [07:00:20] Currently I'm thinking of putting the video pages in the form [[Special:LinkedVideos/Video Title]], and [[:Embed:Video Title]] would redirect there. [07:01:08] But I'm wondering if anyone thinks it would be a better idea to use Embed: as a normal namespace with an Embed talk: talkspace instead of making it a special namespace like Media: is? [07:01:39] The difference would just be that the pages would have an editable summary and a talkpage like Image: pages do. [07:02:00] I originally didn't think of it as that useful because the videos are externally hosted. [07:08:42] Yurivilca: meh, this is America. Is that stuff really a surprise? [07:51:29] Hello [07:52:35] Mediawiki ask me for the following stuff in the config before installing it: Database name, DB username, DB password [07:52:53] Do I must create them manually of mediawiki will create them using the root user? [07:53:06] timofonic: create manually [07:53:58] VasilievVV, any guide explaining how? [07:54:27] timofonic: yes, read MySQL documentation [07:54:44] VasilievVV, that longer than bible... right? :P [07:55:01] No, read about GRANT command. [07:55:06] lemme look for it... [07:55:13] VasilievVV, I just want to have mediawiki installed, not become a SQL expert... [07:55:16] VasilievVV, Nah, no problem [07:55:31] VasilievVV, I'll use google :) [07:55:39] VasilievVV, http://dev.mysql.com/doc/refman/5.0/es/grant.html [07:56:22] timofonic: seems to be right if you speak spanish [07:56:29] I'm following this: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Gentoo_Linux [07:56:33] VasilievVV, yes [07:57:01] And this: http://gentoo-wiki.com/HOWTO_Wiki#Mediawiki [07:57:06] Thanks [08:19:11] is it possible to use a PHP opcode cacher for PHP stuff, but still use memcached for everything else [08:40:52] checkers: yes. it would be rather silly to use memcached without an opcode cache [08:43:36] should I use memcached instead of the mysql query cache, or as well as? I'm just running a small single server setup [08:44:38] hello... does anyone know of a way to share templates between interwiki's? (or would you just reference it using {{:|params}} [09:59:41] I have been able to upload png's before, but now everytime I try and upload it says "The file is corrupt or has an incorrect extension. Please check the file and upload again." [10:27:28] hello, I am having a problem uploading png's can anyone help? [10:27:37] ask [10:29:24] Sasa^Stefanovic, I have uploaded png's in the past, I have 'png' set in file extension permissions. But now whenever I try and upload it says the file is either corrupt or an incorrect extension... [10:30:00] did you try with few different images ? [10:30:11] maybe files is corrupted ? [10:30:14] i have.. and jpg's and other files allowed work.. [10:30:28] I have also tried with downloaded png's that I have never edited.. [10:31:34] I also took a look in MimeMagic.php and mime.types/mime.info, and png's are definitely there... [10:34:07] any ideas? [10:34:26] nope :( did you search in faq or docs on mediawiki.org ? [10:35:39] it appears I have the same problem mentioned here: http://webservices.blog.gustavus.edu/2007/06/18/fixing-broken-png-uploads-with-mediawiki/ [10:35:54] as I am now noticing that my png's are being recognized as plain\text [10:36:11] however, I don't really understand from that url what he actually did... [10:37:54] sec [10:39:07] "So, based on the definition for GIF images in our magic file, we added the following lines to the images section of our magic file:" [10:39:26] just copy what he did and try it [10:39:47] save, restart apache and should be voila :P [10:40:17] If only I weren't on a shared server.. + what magic file? (said me) :) [10:42:37] so you can't restart apache ? [10:42:46] can you search for that line for gif images ? [10:42:52] and find that 'magic file" [10:43:36] the problem isn't restarting apache.. the problem is editing the "magic file" [10:45:04] you can't find it or you havan't permissions ? [10:45:19] i am trying to contact my host about this.. if you take a look on the comments you will find that is the only solution when you are on a shared server, or if you want you can hack an mw file (i am guessing mimemagic.php) but they don't specify [10:45:29] Sasa^Stefanovic, both. [10:46:09] then i realy don't know other solution [10:46:58] thank you very much for helping though :) [10:50:35] np [11:09:21] hmm, looks as though memcached reduces the average load time for me by around 150ms [11:09:27] (from 450 to 300) [11:13:16] heh heh.. and enabling the mysql qcache as well takes it down to 150?! [11:13:28] *checkers thinks he's measuring incorrectly [11:13:28] 03siebrand * r28883 10/trunk/phase3/ (2 files in 2 dirs): [11:13:28] * updating message 'confirmdeletetext' [11:13:28] * adding new userrights- messages to messages.inc [11:13:28] * rebuildLanguage.php for MessagesEn.php [11:13:31] checkers, those are nice stats [11:14:07] *checkers will start from scratch and test again [11:22:58] ok, memcached takes the average response from 430 to 390 [11:23:41] qcache takes it from 430 to 370 [11:24:21] 03siebrand * r28884 10/trunk/phase3/languages/messages/ (13 files): Localisation updates for core messages from Betawiki (2007-12-27 12:05 CET) [11:25:37] with memcached + qcache... it goes from 430 to 400?! [11:25:52] *checkers tests again [11:34:12] seems absolutely reproducible [11:34:37] on my setup (lighttpd 1.5 + xcache), the fastest configuration of additional caching is to use the mysql qcache and to NOT use memcached [11:35:20] it's not due to swapping or any sort of hardware bottleneck either, I still have free RAM and the disk is more or less idle [11:46:33] so do i add user to the group [11:46:55] how can i add user to a group [11:47:13] hi, I've just moved from one server to another... backed up the database, user name and password are the same, set file permission to 755... and whn I try to open the main page, I get a Moved permanently response... and it's redirecting me back to Main page, which is moved permanently, then I'm redirected back etc. [11:47:29] mravibsp, Special:Userrights [11:47:55] csaba, do you mean a 302 response? [11:48:12] HTTP/1.x 301 Moved Permanently [11:48:13] most likely you have something wrong with the url/paths [11:48:21] ahh whoops, yes I meant 301 [11:48:32] checkers,ya i am checking that only but which option [11:48:32] try loading index.php?title=Main_Page [11:48:34] hmm well in the LocalSettings I've set the absolute path correctly [11:48:39] ok [11:48:58] it works like this [11:48:59] did you copy the relevant .htaccess/server directives? [11:49:10] ok, that should just mean there are path issues you haven't worked out [11:49:19] hmm well I just zipped everything, thought that the htaccess was copied too [11:49:21] see what path the links on that page direct you to [11:50:10] mravibsp, special:userrights [11:50:18] hmm yes there is no .htaccess file [11:50:41] I can just grab it from the default installation zip right? [11:50:56] looks like the fastest solution for me is using xcache + its shm + mysql qcache and ignoring memcached [11:51:03] csaba, probably not [11:51:18] what url do your links point to / what url do you want them to point to? [11:52:11] like the default way wiki works [11:52:37] 03siebrand * r28886 10/trunk/extensions/Renameuser/SpecialRenameuser.i18n.php: Fix typo in previous commit [11:52:37] not index.php?title=Main_Page but index.php/Main_Page [11:52:46] ok I guess I can write my own .htaccess file too [11:52:51] this is not that complicated [11:54:15] yes, and I'd recommend you set mediawiki to output paths like wiki/Main_Page in that case [11:55:15] its show Permission error [11:55:36] mravibsp, well then, you aren't logged in as a user with enough permissions [11:57:44] well I wrote the .htaccess file and now /wiki/Main_Page works... but all the links coming from it are like /wiki/index.php/Page_title... so I should probably change something in mediawiki to make the links like you said they should be [11:58:40] $wgArticlePath = "$wgScript/$1"; [11:58:47] this is it right? [11:58:58] change to $wgArticlePath = "$1"; ? [11:59:13] thanks i got it [11:59:55] i want to hide some pages so that only our office group can see and access these pages what should i have to do for that [12:03:01] hmm all the links are still like /wiki/index.php/Page_name... how to change this into /wiki/Page_name ? [12:03:19] $wgArticlePath = "$wgScriptPath/$1"; doesn't seem to do anything [12:04:06] yesp, I can change it to $wgArticlePath = "xxx" and it won't have any effect [12:05:49] $wgScriptPath = ""; [12:05:49] $wgArticlePath = "/wiki/$1"; [12:05:53] that's what I have [12:06:15] oh, and I run php through fastcgi, which means I need $wgUsePathInfo = True; [12:06:50] hmm but anyway it looks like this variable is not used at all [12:07:03] which variable? articlepath? [12:07:05] mravibsp: that is a bad idea, see http://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions [12:07:10] $wgArticlePath [12:07:15] even if I set it to "xxx" [12:07:20] the links won't change [12:07:30] did you save and force reload? [12:07:38] huh? [12:07:40] it's possible your browser is caching [12:07:46] ok let's see [12:07:48] in firefox: ctrl-f5 [12:08:30] hmm well not all the styles are gone :) [12:08:34] http://enyem.com/wiki/Main_Page [12:08:51] 03siebrand * r28887 10/trunk/phase3/languages/messages/MessagesEn.php: [12:08:51] Replace "this wiki" by "{{SITENAME}}" (9 times). [12:08:51] Not sure if this would also work for 'confirmemail_text' so not replaced there. [12:08:54] but the links remain the same [12:09:32] *checkers goes back to fixing his innodb tables [12:21:47] yes, looks like the best performance is reached on my setup with xcache + mysql qcache [12:24:46] seems to end up with a response time of 300 for optimal conditions [12:25:00] still feels a little slow, but a lot better [12:26:21] is anyone familiar with an extension that allows you to browse articles alphabetically? [12:26:58] marklar, try Special:Allpages [12:27:24] it includes namespace as part of the name though [12:51:44] Hello [13:00:51] marchelly: try "Back and Forth" [13:01:11] marklar: try "Back and Forth" [13:01:15] marchelly: sorry. [13:05:29] 03vasilievvv * r28888 10/trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php: Fix logic [13:05:38] Nice number :) [13:14:00] 03siebrand * r28889 10/trunk/phase3/languages/messages/ (5 files): Localisation updates for core messages from Betawiki (2007-12-27 14:05 CET) [13:23:46] I wonder why people still use != and == [13:26:03] Wouldn't it be better to make it expilicit what one wants to match and not 'X and something like it' [13:30:16] siebrand, np [13:48:41] Nikerabbit, in most languages, that is indeed what the two symbols mean -- which language are you talking about? [13:48:48] Is there an option for reverting the article (like wikipedia has) ? [13:48:59] siebrand: thanks [13:49:16] I mean, how can I setup the reverting option [13:49:41] yang, if you view a revision there should be an 'undo' button for normal users, and a 'revert' for special people (either sysops or any logged in user, i'm not sure) [13:50:13] checkers: guess, this is #mediawiki after all [13:50:44] No, I don't see that... its just (cur) (last) DATE USERNAME (contribs) (block) [13:51:47] are you viewing a diff against the current revision? [13:52:06] i am in "history" section [13:52:32] you mean i need to click "rollback" whjen in "diff" mode? [13:52:52] yes, that's the button sorry [13:52:56] thanks [13:55:28] could there be image code implemented for making updates as anonymous/new user? [13:56:56] you mean a captcha? [13:57:20] there's one called ConfirmEdit that already exists, I use and it works just fine [14:01:18] 03huji * r28891 10/trunk/phase3/languages/messages/MessagesFa.php: Added missing translations [14:02:03] yang: you can also checkout the extension GiveRollback [14:02:08] ok [14:09:04] I have a question about the page-table [14:09:04] in the wikipedia database [14:09:04] the page_counter-field [14:09:04] what is that? It cant be views as described in the documentation [14:26:09] Correct me if I'm wrong, but it seems we have a special page named SpecialMergeHistory.php which doesn't appear on the list of Special pages [14:27:44] Hojjat: it's hidden [14:27:58] yeah. beacuse of this: #$wgGroupPermissions['sysop']['mergehistory'] = true; [14:28:10] does special:preferences have any header like list-like special pages do (ususally named like "-summary") [14:28:13] Hojjat: not because of this [14:28:13] it is commented out. what I can't understand is: what is the point of having a hidden special apge? [14:28:29] Hojjat: I think this page is like Special:Movepage [14:28:59] It's linked from the tab [14:29:29] VasilievVV: tab? I don't see a relevant tab either, which I assume happens beacuse of the line I posted above => No one has the right to use that special page [14:29:50] Hojjat: you're right [14:30:01] This is an experimental feature [14:30:20] an experimental feature in the trunk!? [14:30:24] sure [14:30:25] Yes [14:30:46] There're many experimental features in the trunk [14:30:50] E.g. rev_deleted [14:31:20] *Hojjat still cannot connect to it .. you know.. mentally! [14:31:33] Hojjat, plenty of software uses the trunk as a 'testing' branch [14:31:39] Hi, I have a problem that I can't figure out and I was hoping someone here could help :) [14:31:47] trunk is a nice place to put experimental features [14:32:10] Hojjat: these experimental feautures also may stay in releases... [14:32:27] helllllo [14:32:41] Hi Nikerabbit [14:32:44] it's you! [14:32:49] All of a sudden (and I've not changed anything) I can't edit MediaWiki:Common.css (or any other page with a .css on the end of it) - it gives me a 500 Internal Server error... any ideas? [14:33:29] Farrendel: what's in the error log of your web server? [14:34:08] VasilievVV: yeah. this shows it has been started as a hidden feature from the beginning: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?r1=27790&r2=27823 [14:35:00] [Thu Dec 27 14:34:31 2007] [error] [client 127.0.0.1] PHP Fatal error: SyntaxHighlight_GeSHi::require() [function.require]: Failed opening required 'geshi/geshi.php' (include_path='D:\\;D:\\/includes;D:\\/languages;.;C:\\php5\\pear') in D:\\extensions\\SyntaxHighlight_GeSHi\\SyntaxHighlight_GeSHi.class.php on line 205 [14:35:22] Hmmm... hadn't noticed the GeSHi mention before... [14:36:38] Hmmm... ok, yeah... if I disable GeSHi, it works... [14:38:27] Thanks! I'll go pester the GeSHi authors :) [14:48:47] 03huji * r28892 10/trunk/extensions/Oversight/HideRevision.i18n.php: Added Persian translations [15:01:40] hi [15:02:32] is it possible to have the user modify the wiki, but only "activated" after validation from specific other sers ? [15:02:40] *users [15:02:56] if yes, how ? [15:34:20] 03vrandezo * r28893 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php: Need access to the query text for the Blog-extension, thus added a get-function. [15:37:08] 03vrandezo * r28894 10/trunk/extensions/SemanticMediaWiki/includes/ (4 files in 2 dirs): Added a new store based on the RAP library. [15:39:57] 03vrandezo * r28895 10/trunk/extensions/SemanticMediaWiki/ (libs/ specials/ExportRDF/SMW_SpecialExportRDF.php): Added a translation from titles to URIs [16:16:36] Hello [16:17:36] hi filnik :) [16:17:44] Hi ialex ^__^ [16:27:08] I am trying to use wildcards at the end of a term i.e. print* to find Printer. Contrary to the manual, wildcards (at the end of a term) are not working. Is there something needed to allow wildcards. [16:30:23] dorje: are you refering to the search tool ? [16:31:39] can anyone help me out, i'm trying to get collapsible tables on my local install but the buttons wont show up [16:31:50] http://en.wikipedia.org/wiki/Wikipedia:Collapsible_tables [16:33:37] matt3243: you need to copy a bit of http://en.wikipedia.org/wiki/MediaWiki:Common.js, search for the section "Collapsible tables" [16:35:29] Search on left of default template page [16:35:55] ThomasV [16:37:11] ialex: i did that, but they dont seem to be working 100% [16:37:34] ialex - the tables display fine, but there's no button to collapse or expand it [16:38:06] also, is it possible to have nested collapsible tables? thats what i'm ultimately going for [16:38:10] matt3243: did you cipied to your MediaWiki:Common.js and then cleared your cache ? [16:38:14] *copied [16:39:04] no :) [16:39:29] still nothing though [16:39:48] matt3243: is your wiki public ? [16:40:03] no, its on my machine, but you should be able to reach it.... [16:40:45] http://65.199.49.139 [16:40:55] wait.... [16:41:12] http://65.199.49.139/ssa/wiki/mediawiki-1.9.2/index.php/Test [16:42:52] see what i mean? [16:43:45] matt3243: i get a timeout [16:44:02] hmm, using the public ip worked for me.... [16:44:22] this router i'm on might be blocking incoming connections [16:44:37] although i think its wide open [16:44:52] i'm in a test lab with a T1 line [16:45:15] Is Lucene required to do wildcards search? [16:47:42] dorje: no, but it has been only recently fixed [16:47:45] ialex, can you nmap my address, make sure port 80 is open [16:48:02] nm, i'll do 'shields up' [16:49:49] ialex, ok yea, the router is blocking incoming connections... [16:49:56] anyway, why wouldnt the javascript buttons show up? [16:50:15] do i have to change some other config to allow javascript on the site? localsettings.php or something? [16:51:28] dorje: http://bugzilla.wikimedia.org/show_bug.cgi?id=4021 this is the bug, i don't know if the fix made it into the release [16:52:07] anyone? do i need to do anything special to enable javascript on my wiki? or does adding code to Mediawiki:common.js automatically enable it? [16:52:19] matt3243: $wgUseSiteJs, but it's true by default [16:52:44] rainman-sr: so if I run svn update I may not have wildcard support... [16:53:33] dorje: running svn update can be risky because not all of the code might be stable or reviewed [16:54:07] you could patch your version [16:54:21] you can get the diff by clicking on the revision number in that bug report [16:56:09] Rainman-sr: I will diff the bug fix [16:56:37] what is suggested update method to stay current [16:58:14] ialex - i dont see $wgUseSiteJs in my localsettings.php file [16:58:44] matt3243: then this is not the problem [16:59:34] bummer, i was really hoping to see a "=false" in there [16:59:48] i guess i can add it and set it true? [17:00:14] 03rotem * r28896 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [17:00:17] dorje: i guess people subscribe to the mailing list.. and manually upgrade when a new stable release is available [17:00:33] matt3243: if you want, but it's the default value [17:01:12] matt3243: other idea : can you paste your MediaWiki:Common.js at http://rafb.net/paste/ ? [17:01:26] sure, hang on [17:02:27] actually, i forgot, originally i just copied the collapsible table section, but when that didnt work, i copied the live mediawiki:common.js from wikipedia, so its the same [17:02:38] http://en.wikipedia.org/wiki/MediaWiki:Common.js [17:04:29] 03rotem * r28897 10/trunk/phase3/includes/ (SpecialUserrights.php User.php): 'Special-case optimization' seems to be already included in User::getId, in a smarter way; it shouldn't be done in User::isLoggedIn too. [17:05:40] would "
" tags mess up common.js?
[17:05:48] 	i added those to make the page more readable
[17:06:00] 	if they are not commented, yes
[17:06:05] 	looks like the wikipedia page uses that too... but i cant be sure since they have it locked down
[17:06:10] 	ah
[17:06:13] 	doh :)
[17:06:31] 	wait, how do i comment again?
[17:06:40] 	i'm a network guy, not a web dev :)
[17:06:45] 	/
[17:06:53] 	erm, //
[17:07:01] 	and //
[17:07:52] no luck either, i'll take them out completely [17:08:43] damn, nothing again [17:08:53] hi, is it possible to assign a value to a variable in a template? how? [17:09:31] i want to something like "if the page is a category, then assign A=3" [17:09:37] to do* [17:10:16] and I don't know how to do the A=3 thing. Is it possible? [17:10:32] there should be an extension that allows this [17:10:33] Chabacano - take a look at DynamicPageList... i'm not a programmer, but i use it to pull values from templates to display on other pages [17:10:55] template variables or such [17:11:16] each of my pages has a infobox template, and i use DPL to pull the description dynamically to the category pages [17:11:25] keeps things in sync [17:12:19] i wonder if this would work in Wikipedia :P [17:12:52] nope, its a full extention, not just some javascript.... which i still cant get to work on my wiki [17:13:13] whats a good test to check javascript is enabled on my wiki? a 'hello world' type thing [17:13:44] but I am doing a template for es.wikipedia :) [17:14:11] Chabacano - well, if you have the permissions to add extensions, go for it :) [17:14:21] the syntax is pretty ugly though, lots of regex an stuff [17:14:33] ok, i will look for other options :P [17:14:58] ok so... anyone know how i could just do a simple 'hello world' with javascript in wiki? [17:16:06] alert('hello world');addOnloadHook(function(){alert('hey, the page is loaded now')}) [17:16:26] enhydra - so i can add that to a regular page? [17:16:30] or common.js [17:16:50] matt3243, no, you can only add this to MediaWiki:common.js page [17:16:54] ok [17:16:56] thanks [17:17:43] awesome, ok, so js is definitely working, thanks again enhydra [17:17:55] now why the hell wont it show up in my tables [17:18:16] could you paste the *entire* contents to http://pastey.net/ ? [17:20:55] sure [17:22:06] http://pastebin.com/m69ff4827 [17:22:18] pastey wanted me to register or something... too lazy :) [17:26:31] i havnt edited any of the code, but i have a feeling i'm missing some other part of the javascript that the chuck i pasted is relying on [17:26:43] something like that anyway [17:29:54] enhydra - see anything? [17:32:53] anyone? http://pastebin.com/m69ff4827 that code isnt working for some reason [17:34:03] i just added the wiki code i'm using too.... http://pastebin.com/m18f41b77 [17:35:49] you're missing the other half of it [17:36:06] figured, can you help me out? [17:36:13] at least, I think you are [17:36:16] haha [17:36:45] there should be another section either immediately above or below where you grabbed that from called "NavFrame" or something like that, try putting that in too [17:38:21] yea, i think there was, let me try that [17:40:39] copied the NavFrame section, no dice [17:41:02] and /me is assuming that you cleared your browser cache [17:41:11] yea [17:41:28] let me try IE [17:41:49] and you have the js pages enabled? [17:42:22] yea, i did a 'hello world' test earlier [17:42:27] JS is defintely enabled [17:42:47] ok [17:42:55] then I don't know what's going on... [17:42:56] our site is an engineering site, and as much as i hate tables, there are a few really big ones that we really want to be collapsible [17:43:08] yea, my battery is dying, so i'll work on this more later tomorrow [17:43:32] plus its lunchtime, thanks anyway for your help [17:49:49] Anyone knows how to change the license of a wiki on Mediawiki? [17:51:15] something in LocalSettings.php, lemme check [17:53:00] $wgRightsPage, $wgRightsUrl, $wgRightsText, $wgRightsIcon [17:55:03] Skizzerz, ok :) [17:59:15] Skizzerz, I changed it but the icon still appears :P [18:00:04] and it's set to a valid image path? [18:00:32] Skizzerz, oops... I fogot to delete the logo [18:00:35] forgot [18:00:53] Now it's done. thanks. It was easy to locate [18:05:54] 03vasilievvv * r28898 10/trunk/phase3/ (RELEASE-NOTES includes/PageHistory.php): * Hide undo link if user can't edit article [18:21:21] 03gri6507 * r28899 10/trunk/extensions/WhoIsWatching/ (3 files): [18:21:21] Version 0.4: [18:21:21] * new feature - add other users to the list of people watching the page [18:21:21] * sort the list of people watching the page [18:21:21] * minor bug fix on listing which page the information is pertaining to when the page is a category [18:34:22] wikibugs seems to be dead [18:35:26] yeah [18:36:09] at least the other two work :) [18:40:25] Do you add tabs in the skins or is there way to do it with a Special or Mediawiki: page? [18:41:58] aBSDaemon: you need to modify the skin's php file to add more tabs to it (although javascript works as well, it's more hacky) [18:43:21] Thanks. It's going to be an expanding CSS or JS tab anyway. [18:44:37] I take it, that's the same way for the Wikipedia donation banner, that it's inserted into the skin file. [18:46:53] Is there a way to extract TOC from parser? [18:47:54] VasilievVV: you'd have to ram the whole article through the parser - I haven't looked at it since Tim refactored it [18:51:26] Is the page_counter incremented on edit? [18:51:29] or only view? [18:51:52] *Skizzerz would assume only view, but isn't sure [18:53:12] looks like only on view [19:00:47] Whee, my server got break-in attempts from a Brazilian government server. [19:02:07] lol [19:02:55] that's odd o.0 [19:08:19] Nah, it was just hacked is all. [19:08:56] *Simetrical wonders why he did implement that optimization twice in r24340 . . . Rotem's right, the isLoggedIn() optimization is redundant [19:08:57] Oh well. [19:10:04] *VasilievVV tries to hack parser to get section list [19:10:48] :) [19:12:09] Simetrical: :oo [19:12:16] Parser doesn't seem to want to be hacked :) [19:12:47] VasilievVV, just parse the whole thing, what does it save you anyway to optimize? You still have to do all the strip stuff, all extensions, all templates. [19:13:31] Simetrical: parser doesn't seem to return raw TOC in his output [19:14:09] VasilievVV, hmm. How about prepend __TOC__ to the parsed text and assume the first thing that looks like a TOC is? :D [19:14:18] *Simetrical thinks that might not be a great idea [19:14:24] You're right, though. [19:14:30] Simetrical: you think i can parse it :) [19:14:41] Parser::parse() [19:15:37] Even if I'll find TOC in parser HTML, it won't be very useful for me... [19:19:59] *VasilievVV succesfully added raw TOC to ParserOutput [19:24:10] Is there headlines in ParserOutput? [19:27:11] VasilievVV, I vaguely recall that LabeledSectionTransclusion uses some horrible hack to get a list of sections. [19:28:17] how odd [19:28:40] Couldn't they just modify parser? [19:29:40] It was written as an extension, with no extensive core modifications. [19:29:55] He should have modified the parser, it would be the Right Thing. But trickier. [20:03:13] hello [20:03:39] what's wrong in this post request to index.php ? http://pastebin.com/d5856b74c [20:04:06] it worked before (1 month ago) [20:04:11] Simetrical: mystery... When I use preview, TOC renders correctly. When I use API, one line is missing [20:04:42] meithal: what do you get back on that post request? [20:04:49] a blank page [20:04:57] blank? [20:05:04] how blank? [20:05:05] w8 [20:06:24] How do I get a thumbnailed image to appear without the little "view full size" icon below it? The image is at http://olr.freemason.com/wiki/index.php?title=Template:Underconstruction . Thanks. [20:06:51] wow, a html preview page, with blank text [20:07:33] why are you thumbing that? [20:07:34] @meithal - was that message for me? [20:07:45] Steev43230 no [20:07:48] meithal: it doesn't say anything about a garbled edit token? [20:08:11] won't help you much i fear : http://pastebin.com/dedaf77d [20:08:29] Skizzerz, when I oriignally thought to create the template, I uploaded the image that I'd gotten from Wikipedia, I think it was, and it had a name starting with 50px. Told me to upload the fullsize image instead. [20:08:45] ok, but you don't need the thumb parameter to resize the image [20:09:03] after the there is all the crap we put on preview page, then


[20:09:23] just leave it at [[Image:Crystal_Clear_app_clock.png|center|50px]], which should work perfectly for what you're using it for [20:09:32] What should I do then? upload the 50px version instead and ignore the error? [20:09:39]


is what i get [20:09:56] Steev43230: no, just remove the thumb part of it, leave the 50px [20:10:13] like [[Image:Crystal_Clear_app_clock.png|center|50px]] [20:10:19] PERFECT - THANK YOU! [20:10:31] like the server switched on preview mode and cropped the wpTextBox1 :/ [20:11:05] you're welcome :) [20:11:11] meithal: wpSave should be text [20:11:23] I had done that but my change to that syntax never got posted due to interruptions, phone calls ,etc. Thanks for spotting that. [20:11:36] in english, it'd be wpSave=Save Page [20:11:39] bye [20:12:05] TimLaqua : something like "true" instead of 1 ? [20:12:15] no. [20:12:18] wpSave is a button [20:12:38] meithal: look at your page source, search for wpSave - look at the value of that input element [20:12:43] ah the "name" attr of save button, ok [20:12:47] no [20:12:49] thanks [20:12:51] the "value" [20:13:01] yeah i got it [20:14:20] 03vasilievvv * r28900 10/trunk/phase3/ (4 files in 3 dirs): [20:14:20] * Parser now returns list of sections (for API; some extensions probably also need it) [20:14:20] * Add list of sections to action=parse output [20:16:22] did something changed in the software for it don't accept an integer for wpSave ? or it's me who crapped the http protocol (which maybe don't accept integers here) [20:16:32] *TimLaqua shrugs [20:17:01] afaik wpSave was always a button [20:17:02] maybe it's not very english what i said :] [20:17:10] and buttons always send the 'value' attribute. [20:17:20] and the value attribute is always what is displayed on the button [20:18:38] meithal: Have you tried using the Live HTTP Headers extension for firefox, copying the HTTP request it does and then modifying that for your needS? [20:22:24] MinuteElectron :ah, if there is such extension, it should help me yeah, thanks [20:22:41] atm i can just check the xhr requests via firebug [20:25:19] 03siebrand * r28901 10/trunk/phase3/ (14 files in 2 dirs): [20:25:19] Localisation updates for core messages from Betawiki (2007-12-27 21:05 CET) [20:25:19] * added: Malagasy (mg), Northern Sotho (nso) [20:25:25] 03brion * r28902 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_RAPStore.php: [20:25:25] Clean up r28894: [20:25:25] * guard against remote PHP code execution vulnerability (register_globals+allow_url_include) [20:25:25] * fix line endings [20:25:41] lol, on www.mediawiki.org/wiki/Download: Before asking for help, try the FAQ, or play "stump the developers" live on IRC #mediawiki on irc.freenode.net [20:27:28] *Skizzerz starts the game of "stump the developers": why are there so many nested arrays in Title::getCascadeProtectionSources()? [20:28:00] Skizzerz: because developer who wrote that code wanted so [20:28:58] *Skizzerz did a print_r on that function and was simply amazed... [20:29:58] brion: so is SMW planned to be on wikimedia wikis? [20:30:15] potentially one day [20:33:08] brion, interesting. [20:33:28] Skizzerz, blame Werdna. :) [20:33:29] no it stille return a preview


with http://pastebin.com/d1c173a92 [20:33:59] but 'm wondering if wpAutosummary is obligatory ? [20:34:15] Simetrical: really... I wrote a parser function that returns the restrictions imposed on the current page for a given right, and it took three nested foreach loops to get to the values I wanted... [20:34:20] 03siebrand * r28903 10/trunk/phase3/ (RELEASE-NOTES languages/messages/MessagesMdf.php): [20:34:20] Localisation updates for core messages from Betawiki (2007-12-27 21:05 CET) [20:34:20] * added: Moksha (mdf) [20:34:22] :D [20:34:40] Three-dimensional arrays are sometimes useful. [20:35:11] and if there is a way to have a more relevant message from mediawiki than


[20:48:00] 03siebrand * r28904 10/trunk/extensions/ (15 files in 14 dirs): Localisation updates for extensions messages from Betawiki (2007-12-27 21:05 CET) [20:57:32] + $wgOut->addHTML(""); [20:58:15] somebody doesn't know about xml-functions? [20:59:12] Nikerabbit: use svn blame [20:59:41] VasilievVV: or just tell him that he should use Xml::submit [21:01:07] don't feel like hunting him down [21:02:10] hello [21:02:46] Nikerabbit : shoudn't one use dom php functions http://www.php.net/manual/en/ref.dom.php instead of raw html ? [21:03:10] do filter variables like namespace=0 not work when you add feed=rss ? (recent changes page) [21:03:15] i'm working on a cms and i'm thinking about this [21:04:28] but maybe it's going too far in abstraction :D [21:05:27] meithal, don't those require a non-default module? [21:05:39] in any case we don't use those [21:05:43] No, I see. [21:05:45] They don't. [21:06:00] no it's implemeted in default apache php setups [21:06:09] since php5 though [21:07:46] precisely "they are part of the PHP core" [21:09:11] I'm looking for the best way to change my data in the header of the html page, is there a function? [21:09:37] *function to do that [21:09:47] of do you have to manually change the PHP code? [21:14:43] Jochus, which data exactly? [21:14:52] the content [21:14:56] I'm reading this page: http://www.mediawiki.org/wiki/Extension:MetaDescriptionTag [21:15:11] but I want to change the content meta tag for every single page [21:15:19] it must be the same for all pages [21:15:30] now, I have to put the meta tag for every individually page [21:16:04] Which content meta tag? Content-Type? Or Keywords? [21:17:20] hmm... /me is surprised that nobody made any parser functions that deal with arrays yet [21:17:23] Content-Type probably should not be changed. UTF-8 is the only output option, and changing to an XHTML MIME type will probably cause display to break on some pages, since output is not fully XHTML-compliant in all cases. [21:17:41] auch [21:17:46] I mean, the description tag of course [21:18:02] or keywords also [21:18:46] Skizzerz, this is always how it goes. It starts out with simple comparison, arithmetic, and string functions, then you add more conditionals, more complicated expressions, maybe arrays at some point, and eventually you realize you should have just made a proper programming language from the start, but it's too late now because everyone's using it. [21:18:52] Witness shell scripting. [21:18:55] Or mIRC script. [21:19:23] true... but wiki markup wasn't designed to be a programming language to begin with [21:19:27] Jochus, dunno. Not sure offhand how those are generated. [21:19:55] Skizzerz, nor was sh, I suspect. It goes from macros to programming pretty quickly, and then you're in a horrible situation. [21:20:04] Excel is another example. [21:20:14] yeah... true [21:20:38] All great for simple quick things, you don't need to worry about nonsense like string delimiters, but making anything complicated becomes a huge PITA because it's an inconsistent and confusing mess with tons of magic and no forethought. [21:21:01] which is why you limit what types of functions are available and limit their usage [21:21:52] Which is why we have no arrays. :) [21:23:40] The remarkable thing is more that we don't have string functions. [21:24:20] we do... it's just an extension (like every other parser function that adds programming-like capabilities) [21:25:14] and you have to ask yourself, "even since it exists, do I really need it anyway?" most of the time, that answer is "no" [21:29:21] *Splarka fought string functions on Wikia for years, finally lost [21:30:08] http://bugzilla.wikimedia.org/show_bug.cgi?id=6455 [21:30:31] this is like watching a train wreck in ultra-super-slow-motion [21:31:54] yeah, the bug filer was right... that IS a pretty pathetic excuse [21:32:11] *Splarka points to the bug filer [21:32:29] {{template|link=Link1]] or [[Link2}} [21:32:45] problem solved, no extension needed :P [21:33:59] There apparantly is a problem with these functions in MediaWiki 8.0 <- wow, 7 new major versions and the problem's still not fixed [21:34:32] ooh, time machines [21:34:49] any people that know how to use the displaytitle tag? [21:34:59] I tried to use it, but it doesn't change the title of my page [21:35:06] and I changed my LocalSettings.php, to allow it [21:35:07] Splarka: I don't see it on Wikia's Special:Version... perhaps they removed it [21:35:19] Jochus: {{DISPLAYTITLE:new title}} [21:35:32] but the new title has to be related in some way to the old one [21:35:35] perhaps [21:35:43] Skizzerz: I tried that [21:36:00] Skizzerz: http://wiki.jochus.be/index.php/Hoofdpagina/Tutorials/How_to_install_Mozilla_Firefox [21:36:27] ( I just upgraded from 1.6.9 to 1.11.0 :-) ) [21:36:28] eg, on User:Jochus, you could do {{DISPLAYTITLE:Jochus}} to get it to remove the User: prefix, but you cannot use {{DISPLAYTITLE:Jochus the Magnificent}} for example [21:36:35] Skizzerz: http://starwars.wikia.com/wiki/Special:Version [21:36:46] it might not be globally installed, but the largest wikia.com wiki has it [21:36:55] Jochus: why is Tutorials a subpage of the main page? [21:37:02] yeah, it's not global [21:37:39] twincest: so people can go easily back to the main page [21:37:45] I wanted to have breadcrumbs [21:37:57] Jochus: both the navigation bar AND the logo link to the main page [21:37:58] ah. yeah, clicking the 'main page' link is pretty hard ;) [21:38:09] hehe :-) [21:38:12] ok, I admit [21:38:18] not very usefull :p [21:38:34] anywayz, why can't I change the title page? :-( [21:38:46] I tried: {{DISPLAYTITLE:Mozilla Firefox}} [21:38:49] that doesn't work either [21:38:58] because that's not related to the current title [21:39:02] you can't actually change the title [21:39:06] it won't let you arbitrarily pick a new name [21:39:06] ah ok [21:39:08] you can just change the appearance... [21:39:11] I see [21:39:15] eg, first letter case, underlines<->spaces [21:39:21] aha :-) [21:39:22] sub/sup might work IIRC [21:39:31] or minus the namespace [21:39:36] it is for things like [[IPod]] -> [[iPod]] [21:39:56] the reason being: many people copy-paste the

to link to a page [21:40:10] if that is not a linkable version of the page title, then they get annoyed and poke you in the eye [21:40:20] Splarka: but changing the case makes it no longer linkable [21:40:38] (or does it only work for the first letter?) [21:40:38] not changing the first letter of the case ;) [21:40:52] twincest: eg, first letter case, underlines<->spaces [21:40:57] as in, the case of the first letter [21:41:10] *Skizzerz opens /includes/CoreParserFunctions.php [21:41:29] -> http://test.wikipedia.org/wiki/User:Splarka [21:41:44] first letter of the namespace and pagename (and not subpagenames) [21:42:23] yeah, the new title has to normalise to the actual title somehow [21:42:41] this used to be a site-wide javascript ("eeeevil!") [21:43:06] and {{DISPLAYTITLE}} used to be a perpetually disabled and usually broken arbitrary title changing trick [21:43:20] and then someone said "hey, these are both dumb, lets combine them for Voltron-levels of dumbness" [21:43:30] siebrand: a little help [21:43:46] anyway, Jochus: http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle [21:45:50] [[Hoofdpagina/Tutorials/How_to_install_Mozilla_Firefox]] is not normalized the same as [[Hoofdpagina Tutorials How to install Mozilla Firefox]] so it isn't allowed [21:46:24] Can anyone offer help for the Cite extension? [21:47:05] !cite [21:47:05] --mwbot-- http://www.mediawiki.org/wiki/Extension:Cite [21:47:09] !ask | qsheets [21:47:09] --mwbot-- qsheets : Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [21:47:36] lolol [21:48:01] *qsheets gets an error on line 32 of Cite.php [21:48:14] and what might said error be? [21:48:55] it's not liking wfLoadExtensionMessages( 'Cite' ); [21:49:19] qsheets: what version of MW? [21:49:26] call to undefined function wfLoadExtensionMessages() on...\ [21:49:35] ver. 1.10.2 [21:49:38] yup [21:49:47] wfLoadExtensionMessages is 1.11+ [21:50:11] either grab the 1.10 branch of Cite or upgrade your MW installation. [21:50:28] *qsheets can't update so... [21:51:01] the extension page needs to be updated to reflect that issue [21:51:13] why can't you upgrade your MW? it's not like 1.11 requires php 6 :p [21:51:20] qsheets: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_10/extensions/Cite/ [21:51:44] calendar ext we use doesn't quite work in 1.11 [21:52:00] then fix it :) [21:52:01] qsheets: then update the extension? [21:52:55] TimLaqua: the update didn't go right with that ext [21:53:13] qsheets: which extension? an SVN extension? [21:54:06] User:Hex2bit/Calendar (now User:Simsong/Calendar); no [21:55:07] uh, the extension page just said "now requires 1.11" [21:55:47] Skizzerz: look at the caveats [21:56:42] where are the caveats? [21:59:13] in MediaWiki 1.6.9, this page http://wiki.jochus.be/index.php/Hoofdpagina/Tutorials/How_to_install_Mozilla_Firefox founds his image automaticly [21:59:14] http://www.mediawiki.org/wiki/User_talk:Simsong/Calendar [21:59:21] now, the images are gone, and only links are availible [21:59:36] is there a change in 1.11.0? (yes, I was really running out of date :-D) [21:59:54] some was copied over from the old one [22:00:03] Jochus: there is a change in each version. [22:00:58] Jochus: see the release notes for all the changes: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_11/phase3/RELEASE-NOTES?view=markup [22:01:16] SPQRoben: I know there's a change, but I want to know what to change again to see images :-) [22:01:57] qsheets: ya. well, since it's not in SVN, we can't really update his code [22:02:11] Jochus: oh, I didn't follow the talk, actually [22:02:13] the 1.10 branch of Cite worked just fine anyway. ;-) [22:02:52] Jochus: I know the problem, wait a sec [22:03:09] SPQRoben: thnx mate :-) [22:03:23] Jochus: set http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages to true [22:03:25] qsheets: but I'll take a look at the Calendar extension later tonight an post a patch if I can find the issue. [22:03:39] Jochus: btw, ik spreek Nederlands [22:04:30] or I suppose I could just fork it. [22:05:01] any one know if you can use other variables (ie namespace=0) when queing wiki-wide recent changes using feed=rss ? [22:05:15] SPQRobin: lol, ok! het werkt nu prima! Bedankt he! [22:08:26] *wpedzich wants to ping a MediaWiki developer with a question on mail delivery feature. But doesn't know which dev is currently active, awake and willing to help. [22:09:05] Dec 27 22:08:57 srv156 apache2[16909]: PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.5/languages/classes/LanguageKk.php on line 300 [22:09:09] plenty of these [22:09:21] Yeah? [22:09:24] So let's go. [22:09:40] I had this question runnung some time ago, but I'll shoot it again: [22:09:50] I'm here too! [22:09:52] hmm? [22:09:56] *TimLaqua wanders off [22:10:06] I fixed one notice from languagekk but it was not that [22:10:23] Using the "Send e-mail" feature usually results in 550 SPF error. Example: http://www.openspf.org/Why?id=wpedzich%40wp.pl&ip=66.230.200.240&receiver=smtp.wp.pl [22:10:46] This means that most e-mail account providers will rejectt Wikipedia/Wiktionary/Wikimedia-sent e-mails [22:11:13] One: This may reveal e-mail addresses - and the "send message" feature was built in to prevent just that I assume? [22:11:30] Two: Additional hassle (and a lot of it) with resending messages. [22:12:01] Does anyone know what is this about the REF (cite) extension? [22:12:07] Three: When the message bounces back into the sender's mailbox, you have a high probability that character encoding will screw it up to the form of spaghetti, barely legible. [22:12:10] I see plenty of errors on EN WP at the moment [22:12:15] Cite error: Invalid tag; name cannot be a simple integer, use a descriptive title [22:12:25] example: http://en.wikipedia.org/w/index.php?title=Lost_%28TV_series%29 [22:12:25] That's all I have to say about the topic. Suggestions, developers? [22:13:16] wpedzich: may be I'm getting it wrong, but the example you gave means emails sent from that address will be rejected, not those from Wikipedia/media/... [22:13:33] brion, did we have a recent update of Wikimedia wikis? [22:13:39] yes. [22:13:52] User A sends a message to user B , using the "send e-mail" feature of Wikipedia (Wikimedia) service. [22:14:01] the only differnce i see between this http://pastebin.com/d1c173a92 and what is sent via normal http request is the wpAutosummary. is it vital ? [22:14:06] brion: I assume it included an update in Cite extension which causes these errors: http://en.wikipedia.org/wiki/Lost_%28TV_series%29 [22:14:48] User B does not receive it, user A gets it back, status: "Mail delivery failed" [22:15:07] 03siebrand * r28905 10/trunk/phase3/languages/messages/MessagesMg.php: Update and fallback (fr) [22:15:13] User A's mailbox provider has returned it with an error message, quiooted above. [22:15:15] brion: shall we consider reverting the extension or shall we wait till all pages with s get updated on all Wikimedia wikis? [22:15:40] ok, no http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Edit_and_submit [22:15:49] Hojjat: i'll take a look [22:15:57] brion: thanks :) [22:16:01] don't touch it unless you know exactly 100% what's wrong [22:16:43] brion: sure! I'll let you know first [22:16:54] *wpedzich coughs [22:17:07] wpedzich: sorry but I need to tackle this one first [22:17:12] K [22:18:52] 03brion * r28906 10/trunk/extensions/Cite/Cite.php: [22:18:52] Fix regression -- don't forbid all names which contain integers, but rather those which are them. [22:18:53] Note that that's still a bad check probably; the ID issue is that a digit isn't a valid first char. [22:18:54] brion: just by chance, do you know the recent update of Wikimedia wikis was from which revision to which revision (so I can find the problem more easily)? [22:19:06] brion: Ignore that! You found it [22:20:37] *Hojjat thinks brion rocks! [22:20:37] brion beat my commit by a few seconds. :( [22:21:00] wpedzich: okay. where were we? [22:21:25] Hojjat: Erm, we can go through the things I said before, I don't have much to add. [22:21:47] Although our fixes were identical. [22:21:51] Summary is - "Send e-mial" feature in MediaWiki makes sending messages actually a big pain in the posterior regions of the body. [22:21:55] *Simetrical adds a parser test [22:22:14] wpedzich:is it that you have experienced problems like emails not getting received, for an special wiki you run? [22:22:28] No, this is actually Polish Wikipedia I'm talking about [22:22:44] hmm [22:22:52] But I figure this may hold true for other Wikimedia Foundation-based projects. [22:23:20] so, how do you sum up the thing you report here with the fact that I've received emails from Wikimedia wikis on many of my addresses, including Gmail ones, etc [22:23:25] Haven't looked into other language services, but other pl.wiki users have complained. [22:23:53] the only clue I have was this page: http://www.openspf.org/Why?id=wpedzich%40wp.pl&ip=66.230.200.240&receiver=smtp.wp.pl [22:23:57] okay, so let me read it again and see if I can relate it to anything wiki-specific [22:24:09] OK, that'd be nice. [22:25:14] wpedzich: what email services have problem with Wiki mails? [22:25:28] 03simetrical * r28907 10/trunk/extensions/Cite/citeParserTests.txt: Parser test to check for the regression fixed by 28906. [22:25:33] Wirtualna Polska (wp.pl) for sure, let me ask my pl.wiki pals as well [22:26:48] is there a way to remove revisions from the system administratively? looking to kill some sensitive data that made it into a revision [22:27:37] jimbojw: if you mean to remove it from public view, then you can do it by deletion the page and restoring every revision except that one you're concerned with [22:27:49] (and probably all next revisions which contain the sensitivie info) [22:27:59] jimbojw, that's what oversight is designed for. [22:28:07] cool, thanks Simetrical [22:28:10] 03brion * r28908 10/trunk/phase3/includes/SpecialProtectedtitles.php: comment out unused level drop-down [22:28:11] jimbojw: but if you want a way so that even admins cannot restore or view the data, you need to install and use oversight [22:28:35] thanks Hojjat [22:28:43] Simetrical: now you beat me in seconds! [22:28:50] Hojjat, :) [22:30:25] *wpedzich reports that nobody else was there to report e-mail sending problems from within plwikipedia... how sad. [22:32:50] :( [22:33:41] Well, considering what I've told toy - is there anything to be done/said/reported/fixed? [22:33:44] you* [22:34:05] wpedzich: I think what you reported here can be an start [22:34:17] if the problem persisted, it can be a good idea to report it on bugzilla [22:34:21] *wpedzich feels glad. [22:34:22] !bugzilla | wpedzich [22:34:22] --mwbot-- wpedzich: All bugs in MediaWiki should be reported at http://bugzilla.wikimedia.org. This is also the place to request site configuration changes, new features or enhancements to existing features, although bear the following points in mind before making a feature/enhancement request: 1) If the request is specific to a Wikimedia wiki, please discuss the issue on that wiki first. 2) Consider whether a custom extension would be more appropriate. [22:34:29] OK, can just about anyone do it? [22:34:32] so Simetrical, the rev_deleted field of the `revision` table can be used to programatically "delete" a revision, right? [22:34:44] Or just devs? [22:34:46] jimbojw right [22:34:56] wpedzich: anyone [22:35:01] *wpedzich thanks Hojjat for answers. [22:35:14] *Hojjat is glad to be of assistance [22:35:24] do we have anywhere in MediaWiki a form whose input goes to Special:Allpages/(something) ? [22:35:59] hi? [22:36:13] hi [22:36:28] I was wondering if someone could give me a suggestion. [22:36:33] go on [22:36:50] I have mediawiki installed on a windows2003 server. [22:36:55] Everything works great! [22:36:55] BrokenArrow: I don't think that is feasable in a
without JS or a 301/302 redirect [22:37:17] Except there was a problem with the server, and now it needs to me moved onto a different machine... [22:37:35] apache and mysql are both localhost. [22:37:37] unless it is part of the query parameters, eg &title=Special:Allpages/Foo [22:37:44] Splarka: I'm asking because I get loads of strange hitsin that form from wikistats [22:38:06] Any idea what the best way to accomplish this is? [22:38:11] BrokenArrow: can't you just check the HTTP referers? [22:38:31] BrokenArrow: could it be [[Special:Allpages/foo]] stuff? [22:38:31] Hojjat: not on WMF wikis :-) [22:38:32] jimbojw, I'm not sure rev_deleted works at present. Ask AaronSchulz. [22:38:47] (wikilinks made by parserfunctions, etc) [22:38:49] wpedzich, for problems with Wikipedia, etc., try #wikimedia-tech. [22:39:04] OK, thanks for this tip too, Simetrical :) [22:39:13] phist3re: MediaWiki can be installed on the new server without a problem. Then you need to move your database (to keep you wiki pages, etc). This can be done by backing up the db on the current server, and restoring it on the new server [22:39:23] Splarka: I might have to scan a dump for suspicious links [22:39:31] heh [22:39:34] Thanks for all, I'll be going, sleep is taking me over.... [22:39:41] Simetrical: i'm stuck on 1.9.x at present [22:39:47] BrokenArrow: how can you have wikistats then? [22:39:54] I thought about just copying over the files instead of doing a fresh install. Would that work? [22:40:42] BrokenArrow: could it be something like someone adding an addPortletLink('p-tb','Special:Allpages/' + wgTitle) ? [22:41:12] Hojjat: it's only a hourly sample, in fact [22:41:14] phist3re: by copying the files you will copy the MediaWiki (the software). It doesn't include the data in pages [22:41:14] (there are several scripts out there that add a prefixindex subpage finder to the sidebar) [22:41:25] BrokenArrow: Oh i see [22:42:06] Splarka: there's something in a monobook hack, but the kind of queries don't look like those that I expect from an experienced user who's changed his/her monobook [22:42:54] hmm [22:43:03] I figured, but provided I copy over the MySQL database okay, it should work, eh? [22:43:14] then it must be something simple like an interface message [[Special:Allpages/{{FULLPAGENAME}}|check for subpages]] [22:43:26] BrokenArrow: which project? enwp? [22:43:55] Splarka: I'm working on itwp, but could analyze enwp too [22:45:18] *Splarka wonders why Antispoof, AssertEdit, Boardvote, and CategoryTree lost their "(version 1.1)" on http://en.wikipedia.org/wiki/Special:Version [22:46:35] 03brion * r28909 10/trunk/phase3/languages/classes/LanguageKk.php: [22:46:35] Load additional local translation tables in constructor instead of in a function that's only called sometimes when cached data *isn't* available. [22:46:35] Keeps things working and not spewing horrible errors everywhere when a caching system is available. [22:47:39] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/AntiSpoof/AntiSpoof.php?r1=28308&r2=28556 well, that explained... [22:48:36] yeah, Simetrical / Hojjat : looks like revision.rev_deleted column is respected for non-sysops. Still shows that the revisions are there in the history, but doesn't allow looking at them, which is what I want [22:48:54] :) [22:48:58] !oversight [22:48:58] --mwbot-- Oversighting removes revisions from access by normal users and sysops. More information is available here: . [22:49:08] right right [22:49:52] yeah, basically, I'm going to be building an extension that rips through the rev table when a user is blocked and "deletes" his revisions [22:50:00] just one question: why are there .php5 files? i mean, they just require their .php equivalents?! [22:50:01] the meaning of the word "delete" is still up in the air [22:50:46] st-fl: the .php5 naming convention is sometimes used to force PHP 5 to be used instead of 4 on a system which supports both [22:50:46] jimbojw: haha! go see the messages in the Oversight extension code. We have "hide", "delete" and "remove" at the same time, all refering to the oversight actions! [22:50:58] st-fl: some places require the .php5 extension for some idiotic reason [22:51:05] 03downchuck * r28910 10/branches/mlmw/ (4 files in 2 dirs): Minor changes to apply language preferences to UI [22:51:15] Hojjat: ok [22:51:37] wow, I can't read two lines up >_> [22:51:44] jimbojw: actually, I was about to change them all to "hide" (or something) today, but I postponed it [22:52:02] i see [22:52:05] Skizzerz : :) [22:52:12] actually, Oversight and rev_deleted have some permissions overlaps [22:52:14] jimbojw, Skizzerz: but .php would be okay, too? or are there some php5 functions only in .php5 files? [22:52:30] st-fl: it depends on your server setup [22:52:39] hello [22:52:48] for example, I have a cheap GoDaddy account, and .php files are executed using php4 [22:52:58] if I want php5, I have to name my files .php5 [22:53:04] Dawen: hi [22:53:07] question about assignment of moderators to individual article. Is it possible? [22:53:23] (i've been told by godaddy that I can change the default - but I've been too lazy to figure out how) [22:53:23] I'm using mediawiki 1.11 [22:53:26] jimbojw: is there a difference concerning functionality? [22:53:42] Dawen: we don't have "moderators" in MediaWiki. We have sysops (also known as admins) and they have rights over all articles [22:53:58] how ever, you can install some extensions which allow you to assign permissions to people on selected pages only [22:54:00] st-fl: yes, quite - PHP 5 has a bunch of functions that don't exist in PHP 4, and has a different approach to object-oriented code [22:54:03] Dawen: not locally, although you can acheive the result with extensions [22:54:16] some code works in both [22:54:19] and 1.11 requires php5, right? [22:54:22] yes [22:54:25] yes [22:54:26] *Hojjat beats Skizzerz now! (cc: Simetrical) [22:54:41] the last version that could run on PHP 4 was 1.6 [22:54:48] *1.6.10 [22:54:55] read the channel topic ;) [22:54:57] mods: thanks for the reply guys. what extension would do the moderator assignment for individual articles? [22:55:09] *jimbojw runs 1.6.8 on his blog [22:55:26] Dawen: idk, look through http://www.mediawiki.org/wiki/Extension_matrix and see if one jumps out at you [22:55:33] i did [22:55:42] and? [22:55:47] nothing jumped out to me. [22:55:51] :P [22:56:04] should be relatively easy to code, I guess [22:56:07] i looked through newsgroups too, and no such messages either. [22:56:32] i mean no messages to do with assignment of moderators exist [22:56:43] there are no "moderators" in wikis [22:57:15] there are administrators (also called "sysops"), and "bureaucrats", who can grant and revoke rights from other users [22:57:24] dawen: you can create a new group in your wiki, name them moderators. then you can do some extension work to give such people limited permissions on selected pages [22:57:41] i've just installed a mediawiki [22:57:47] dawen: but you will need to read more on www.mediawiki.org [22:57:48] st-fl: congrats [22:57:51] the special:version says: * MediaWiki: 1.11.0 [22:57:53] * PHP: 5.2.4 (cgi) [22:57:55] * MySQL: 4.0.27-standard-log [22:57:56] but [22:57:58] ok... [22:58:04] st-fl: bravo [22:58:21] what's the issue now? [22:58:40] i'm a bit confused, because index.php5 only says: [22:58:47] is that normal? [22:58:52] yes [22:59:00] puh. [22:59:17] index.php contains the real code, the .php5 filetype just forces the server to parse the .php file in PHP 5 instead of PHP 4 [22:59:23] Skizzerz: so does that mean I would need to write an extension for it? no known extensions that would do such things? [22:59:35] Dawen: then, yes, you would [22:59:37] and why can't i enter /wiki/index.php in the browser's address bar? [22:59:45] !shorturl | st-fl [22:59:45] --mwbot-- st-fl : To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [23:00:01] Dawen: there is an extension for it, I believe. I just can't recall the name [23:00:15] why don't you search for "user" and "right" on www.mediawiki.org, dawen? [23:00:51] Skizzerz: nice, thanks [23:01:06] *Skizzerz pets mwbot [23:01:59] i'll come back when i have problems, okay? [23:02:34] sure [23:02:44] o.0 sub-pages are default off? since when? [23:04:10] !purr [23:04:10] --mwbot-- I don't know anything about "purr". [23:04:20] so how do you purr?! [23:04:28] /me pets mwbot [23:04:39] *Skizzerz pets mwbot [23:05:00] *Hojjat ;)'s to Skizzerz [23:05:04] *Skizzerz directs a mediawiki.org sysop to recent changes [23:05:12] hm, are there two localsettings.php? onde in /wiki/config and one (the copy) in / ? [23:05:34] st-fl: you need to move the one from /config to the root [23:06:00] the root? so /, not /wiki/ ? [23:06:05] er, /wiki/ [23:06:07] Skizzerz: default off in all but user namespace and most talk namespaces, for a long time [23:06:38] Splarka: I know on wikimedia foundation projects, but I meant default as in local installs [23:06:52] yep [23:07:02] huh [23:07:46] *Skizzerz directs a mediawiki.org sysop to recent changes [23:08:14] a long long time [23:08:15] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?view=diff&r1=9445&r2=9446 [23:09:06] Splarka: that ENABLED them all ;) [23:09:18] not disabled [23:09:41] that diff did no change [23:09:50] simply fixed the messy definition method [23:10:01] ah [23:10:16] took me a while to figure out that they're all false by default :P [23:10:28] the shorturls work now (i guess), but the edit link links to index.php instead of index.php5 :S [23:10:46] you need to fix the rewrite rules [23:10:53] to point to .php5 instead of .php [23:11:15] *Splarka goes back further in time [23:11:26] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?view=diff&r1=2795&r2=2796 [23:11:33] *Skizzerz tells Splarka that he needn't bother [23:11:51] here is where some new namespaces were added, but the main namespace was disabled before that, ... 3.5 years ago [23:12:05] i did. i think i have to change it in localsettings.php as well? [23:12:21] how did you install the wiki (what file did you go to)? [23:12:26] Skizzerz: it seems to predate the current svn repository even [23:12:29] yeah, works [23:12:33] at least as far back as r1284 [23:12:46] ok, /me lerned sometin today [23:12:50] so, since forever ^_^ [23:12:52] hm... /wiki/ and then i followed the link to /wiki/config [23:13:17] did you install it via /wiki/config/index.php or /wiki/config/index.php5? [23:13:27] uff, no idea :) [23:13:43] but for the moment, it works [23:14:16] it must have been .php5 [23:15:01] so, thanks again and good night. [23:15:40] Skizzerz & Hojjat: I don't seem to be able to find an extension for individual assignment of moderators (or whatever you'd like to call them). I guess the simplest way to do this is to ask moderators/organizers to 'watch' the article, so that they'll be notified of any changes by email. [23:16:42] Dawen: assigning users to the group is already supported, you just need to make the group. But you need an extension to define per-page rights [23:16:57] which i've got to write. [23:17:14] I think there's one out there already, but it does per-namespace IIRC [23:17:52] Do you know how much effort this may take an experienced php developer to do? [23:18:40] one familiar with MediaWiki? about 30 minutes to an hour, depending on how the pages are being defined [23:19:00] I see. That's good news. Thanks. [23:19:18] I've also got some questions on the extension NiceCategoryList [23:19:45] When I added the file to extension and made the appropriate changes in localsettings.php, I get a blank page for my wiki [23:20:12] did you follow ALL the installation directions on the extension page? [23:20:17] http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions [23:20:18] I believe so. [23:20:40] There are only 2 steps. Create the file, and then "require once" in localsettings.php [23:21:02] (more for restricting read-access (the warnings apply thusly), but some probably include write-access control) [23:21:05] did you add require_once at the END of LocalSettings.php? [23:22:00] yes. [23:22:08] What? [23:22:13] ok, and is it pointing to the correct location of the file? [23:23:08] I'm pretty sure. [23:23:18] I did the same for other extensions, and they all worked. [23:23:59] only NiceCategoryList and CategoryBreadcrumb don't work. [23:24:31] Dawen: try installing http://www.mediawiki.org/wiki/Extension:NiceCategoryList2 instead [23:26:31] tried...doesn't work. blank page [23:26:37] ... [23:26:40] :( [23:26:45] enable error reporting [23:26:52] sorry to be such a pain [23:26:57] !errors | Dawen [23:26:57] --mwbot-- Dawen : To see PHP errors, add this to the very top of LocalSettings.php: error_reporting(E_ALL); ini_set("display_errors", 1); Fatal PHP errors usually go to Apache's error log - also check the error_log setting in php.ini (or use phpinfo). For more details in wiki error reports, set $wgShowExceptionDetails = true; and $wgShowSQLErrors = true; For full debug output, set $wgDebugLogFile to some path you like. [23:27:33] thanks! [23:29:20] one silly question: [23:30:01] I've noticed that in some extension installation instructions they say insert "require once..." near the end of hte file (before ?>). However, my LocalSettings.php doesn't have a closing tag of ?> [23:30:07] good [23:30:11] if it does, delete it [23:30:15] okay. [23:30:36] and I've noticed that some of the extensions' include php files end with ?> and some don't. [23:30:38] Should they? [23:30:51] it's not necessary and is just asking for breakage if people do stuff after the tag [23:31:07] ok. thanks for the clarification. [23:31:23] (this is only for LocalSettings, can't speak much for other extension files, but generally it's unnecessary) [23:32:20] ok. [23:32:52] hehe...now I see the error for the blank pages. It seems to be a permission issue. the include files for the extension cannot be opened. [23:34:15] It worked after I changed the permissions. Thanks a lot for your help Skizzerz and mwbot. [23:34:26] :) [23:35:04] !yw Dawen [23:35:04] --mwbot-- You're welcome Dawen! [23:47:23] qsheets: I can't reproduce any of the failures listed in the Calendar talk page on 1.12alpha [23:52:10] *qsheets will test again on development [23:54:34] 03thomasv * r28911 10/trunk/extensions/ProofreadPage/ProofreadPage.php: forgot to remove prefix from query