User talk:Jack Phoenix/archive 1
Hi You keep deleting images that I need in my collaboration with my master exam. Why?
spam
editSincere apologies for the recent HD-D5 spam, Sayuri. I should keep my Firefox tabs separated while i'm building my 1st Wiki and taking advice from yours.
thanks
editHello Sayuri, welcome on MediaWiki.org, and thanks for your help so far :-) ---:Bdk: 14:01, 25 March 2007 (UTC)
terve
editjuu, hauskaahan tämmöisessä on melskata kun saa tavallaan ruveta pienesta, niin kaikki on tavallaan perustyötä. -- Cimon Avaro 19:31, 21 April 2007 (UTC)
Jobs/speedy deletion
editHi,
You have marked this page - Jobs for fast deletion (reason: not relevant). I have created this page because of a request on mediawiki-l mailing list - some ppl were looking for a place to add job offers or look for a MW-related job - similar to http://twiki.org/cgi-bin/view/Codev/ConsultantsForHire, but for MW. I've just started this page - if you need please update it the way you wish or discuss @ its talk page.
Thx in advance, Regards --Aretai 13:16, 6 June 2007 (UTC)
- Okay, I've removed the speedy tag now. I'm sorry about that. Maybe other users or admins can comment on it. :) --Sayuri 13:19, 6 June 2007 (UTC)
- Why don't you put up a site on this subject? and link to it from your user page? Jean-Lou Dupont 14:57, 6 June 2007 (UTC)
- I have added a request for comment here. --HappyDog 01:33, 28 June 2007 (UTC)
Sysop
editSee [1]. robchurch | talk 16:16, 25 June 2007 (UTC)
- Wow, thank you very much Rob! :) --Sayuri 16:32, 25 June 2007 (UTC)
Licensing of meta images
editHi Sayuri, I noticed that several of the images you have moved here from meta have the editing history on meta, but not the copyright status or a license tag. If you know the copyright status, could you please add the tags? Thanks. --Brian 04:59, 27 June 2007 (UTC)
- Okay, thanks for clarfying the situation on that. Looking through the images, I noticed a few of them are screenshots of Mediawiki only ( without wikipedia or other logos).Since Mediawiki software is under the GPL license, I would think that screenshots that just show the software ( such as Image:Sample Dynamic Article List 2.png and Image:Sample Dynamic Article List 1.png would be covered by that license as well (though I`m not a lawyer). Let me know if I`m missing something obvious here? By the way, congrats on your appointment to the cabel:).--Brian 08:57, 28 June 2007 (UTC)
- I agree with you, they're probably covered by the GPL license, but then again, I'm not a lawyer. And thanks for the thankings, though if there's a cabal, then it's either pretty quiet...or I'm not a member or it. Heh. ;) --Sayuri 12:10, 28 June 2007 (UTC)
- Well, I added it to those two images, though I forgot to sign in first:) I wonder if Image:Texbox1.png would fall under the same category, or do you know if extensions are licensed diffrently than the main software itself.Image:Texbox2.pngis ismlar, though the Firefox logo visable might be a problablem. The others look more complicated, though, since they show other logos or content besifes the software. Unfournantly, I`m not very familier with copyrights to know what to do with them. You mentioned fair use earlier- good idea, but Special:upload states that "All files uploaded to MediaWiki.org must be available under a free license (no "fair use" or "noncommercial")." I think that is probably a matter for a wider community discussion before doing it.--Brian 05:03, 29 June 2007 (UTC)
- I agree with you, they're probably covered by the GPL license, but then again, I'm not a lawyer. And thanks for the thankings, though if there's a cabal, then it's either pretty quiet...or I'm not a member or it. Heh. ;) --Sayuri 12:10, 28 June 2007 (UTC)
- I guess it'd be wise to bug the original author at Meta, try to leave them a message or an e-mail. That's the only way to be 100% sure about their license. --Sayuri 11:07, 29 June 2007 (UTC)
Hi,
You deleted this page (Charles Denham) (reason: not relevant). I have created this page because of a request people familiar with Dr. Lucian Leape and his work on the Medical System and his work in Medical Error.
I believe Dr. Denham's profile is just as relevant, if not more so than Dr. Leape (as he was recently nominated for the "100 Most Powerful People in Healthcare" (https://vovici.com/wsb.dll/s/4509g297d3)
for the topic of MEDICAL ERROR (w:en:Medical_error). Dr. Leape is also a member of the NQF Safe Practice Advisory Board of which Dr. Denham is the CHAIRMAN.
We have also received inquires from associates of Mark McClellan (w:en:Mark_McClellan), who also works with the NQF Safe Practice Advisory Board.
Dr. Denham works for a NON-PROFIT organization, that specifically deals with Medical Error in the Medical System. This is not Spam, but useful information for these topics and I plan to link them to this page (and that is why I am creating it). Please do not delete the page.
Thanks,
Dane Rougeau TMIT - Texas Institue of Technology (non profit organization)
- It is irrelevant to MediaWiki.org. Please read about this site. We're not Wikipedia. --Sayuri 19:07, 30 June 2007 (UTC)
HaverWiki
editI was under the implication that MediaWiki certainly allowed people to acknowledge the use of their software, or am I incorrect? If so, I'd like a written page stating the rules+regulations including the rule that I've so apparently broken. Until than, I see no reason not the put the article back up. Feel free to comment back.
- Please sign your posts with the four tildes. Anyway, you can list your site on Sites using MediaWiki but there's no need to create articles about them, please read about this site. MediaWiki.org is a place to find MediaWiki-related documentation...not to advertise your site, even though it'd be using MediaWiki. --Sayuri 17:24, 7 July 2007 (UTC)
- There is somewhere to create articles about individual wikis, http://wikiindex.org - maybe try there? --66.102.80.212 20:53, 24 March 2008 (UTC)
Extension:Mails
editThank you for the corrections --Hsilamot 23:35, 8 July 2007 (UTC)
- No problem, thank you for the thanks. :-) --Sayuri 11:59, 9 July 2007 (UTC)
Rar!
editDon't know if I know you (or if you know me), but I love you. =D Anyway, I'm only here to clog up the recent changes with a bot to fix something for Jack Phoenix. =P Guesty-Persony-Thingy 09:37, 11 July 2007 (UTC)
- Of course I know you, because I requested it, heh. ;-) --Sayuri 09:41, 11 July 2007 (UTC)
- OH BLOODY SMEG YOU JERK!!! ;D Anyway, working now... sorta. I hope. =P Guesty-Persony-Thingy 09:44, 11 July 2007 (UTC)
Categorization
editI have already requested that any further discussion about categorization continues at Category talk:Extensions I check this page regularly but there has been no discussion for some time now about this issue. I always will read and consider all criticism and respond as required I will never rubbish or ignore your points. so please discuss it there. Thankyou. Bouncingmolar 05:53, 13 July 2007 (UTC)
- I have already commented over there. Besides, it was clear for everyone that forking Template:Extension is not allowed. MediaWiki.org is already a mess, no need to mess it up even more. --Sayuri 10:29, 13 July 2007 (UTC)
- I realise you have already commented there previously, but that is where I will continue any ongoing discussion about this topic on that page. so if you would like an answer see Category talk:Extensions that way all of the discussion is directed to the same place. Thankyou for your patience. Bouncingmolar 02:43, 14 July 2007 (UTC)
Importing
editPlease maintain a modicum of forethought when importing content from Meta; there's no need to import pages such as MediaWiki 2.0, which were marked as not in use, with no plans to implement as described. Such pages are better off being deleted from Meta than moved here. robchurch | talk 14:15, 15 July 2007 (UTC)
- Ok, sure. I just don't know how willing they're in Meta to delete possibly useful (or then not) pages... --Sayuri 14:20, 15 July 2007 (UTC)
- Actually, according to logs, I wasn't the one importing those pages (though having version info here is not a bad idea in general). --Sayuri 13:32, 16 July 2007 (UTC)
Thanks
editThanks for the welcome and rar (/me looks around for Sparlka) ..eheh..--Cometstyles 10:49, 20 July 2007 (UTC)
creating new categories for extensions
editI can understand that "Extension by user xyz" is deprecated. But how about adding other new categories, e.g. in the "type" domain? Algorithmix 14:51, 22 July 2007 (UTC)
- There's some more discussion about this in Category talk:Extensions if you're interested. :) --Sayuri 16:06, 22 July 2007 (UTC)
Kiitos!
editKiitoksia paljon formatista miun php koodi - Zigwhentheyzag 16:11, 22 August 2007 (UTC)
- Eipä mitään, suurkiitokset itsellesi - hyvin hyödyllistä koodia. :) --Sayuri 16:52, 22 August 2007 (UTC)
- Niin, toivottavasti on hyödyllinen ;) -- Zigwhentheyzag 14:30, 24 August 2007 (UTC)
Sorry
editI was going to cleanup after the vandal, and reverted a few of your reversions by mistake, sorry about it. Drini 18:58, 25 August 2007 (UTC)
- No problem, sometimes stuff like that happens when two people are reverting vandalism. :) --Sayuri 19:00, 25 August 2007 (UTC)
Please comment
editI'd be thankful if you would comment on the new upgrade of Whos_online extension. By the way, thank you for reverting my older change to the extension page. I was about to do it myself indeed. Huji 18:31, 1 September 2007 (UTC)
- I'm no PHP coder, my code would most likely cause parse errors. ;-)
- However, the code looks relatively sane and simple to me, though you may want to ask a dev's opinion on this :-) --Sayuri 22:38, 1 September 2007 (UTC)
Expandable navframe page
editHi. Please could you restore the page I made on expandable navframes? It is useful information, as the page about them on Wikipedia is a) focussed on using this on Wikipedia, b) on Wikipedia they are being phased out anyway so the page may eventually be removed c) it's something you can do with MediaWiki and users of MediaWiki should have access to this without having to search Wikipedia. Lastly, the page on Wikipedia is not very clear and you have to comb through Common.js and Common.css for the right bits (which I had to do and got it wrong several times). By all means put it in the manual: namespace -- I got the idea that Manual: was PD too because of the blue background.
- Restored. I still don't think that's too useful, but in the end, it's just my humble opinion. --Sayuri 12:33, 25 September 2007 (UTC)
Image:ConfirmAccountsForm.png
editThe image is scaled well but is out of date. If you want to, can you maybe update it? Aaron 17:23, 7 October 2007 (UTC)
- Sure thing, I've updated it now. --Sayuri 17:55, 7 October 2007 (UTC)
LoginFailed. Wrong Password??
editHi sayuri, Can you help me with a problem related to login failure in a intranet wikipedia with bots? When i'm trying to login using the pywikipediabot module login.py in a intranet wikipedia, the response is Login Failed. Wrong Password??. Why does is happens considering that my username and password are correct and the user-config.py and the family.py files are good? Thank You. Mapelo 15:52, 9 October 2007 (UTC)
- Hi, thanks for your message. I'm afraid I cannot help you with this, considering I haven't used pywikipedia bot framework ever. You might want to ask Dantman if he can help you. All the best, --Sayuri 15:59, 9 October 2007 (UTC)
LoginFailed. Wrong Password??
editAll right. Thanks a lot. Mapelo 16:24, 9 October 2007 (UTC)
Thanks for creating the extension page so quickly. I had intended to do it earlier today, but couldn't find time. --Catrope 16:20, 21 October 2007 (UTC)
- No problem. :) --Sayuri 17:32, 21 October 2007 (UTC)
Hi
editO.K.
Remember you've blocked the user because of username? May I know what's wrong with the name? --Edmundwoods 18:33, 22 December 2007 (UTC)
- Trying to imposter English Wikipedia (former) admin Hephaestos. --Sayuri 18:37, 22 December 2007 (UTC)
you removed me page.. for what?
editThe Age Of Time Page, Why Did you removed it? —The preceding unsigned comment was added by DannyNM (talk • contribs) . Please sign your posts!
- nobody cares
- Please read about this site and understand that this is a wiki only for MediaWiki -related documentation & extension docs. Not for random junk / crap.
- Because I'm a rouge admin.
- I love the summary created when you delete an image by the way -nobody cares, is that a global configuration I noticed another Sysop signing it aswell --Zven 22:31, 29 January 2008 (UTC)
- I have a fastdelete button with that summary in my monobook.js. And deletion reasons in the normal delete screen are customizable through the MediaWiki: namespace. --Sayuri 22:42, 29 January 2008 (UTC)
- Thanks for the info --Zven 22:54, 29 January 2008 (UTC)
- I have a fastdelete button with that summary in my monobook.js. And deletion reasons in the normal delete screen are customizable through the MediaWiki: namespace. --Sayuri 22:42, 29 January 2008 (UTC)
?> at the end of .php file
editHi,
You removed the "?>" at the end of my extension (Extension:Fail2banlog), I think it a good idea to keep it to clearly mark the end of the code.
Why do you remove it ? It's my first contribution to mediawiki, is it a standard or something ? I saw that other extensions have the "?>" so why not fail2banlog ?
Regards. --LaurentChouraki 16:50, 12 February 2008 (UTC)
- The ending ?> tags were removed from MediaWiki's core files in rev:23531 and shortly afterwards from the extension files. This is a developer consensus not to have the ending ?> tags in there, as those can cause problems, e.g. if there's some whitespace after the ending tag or so. Those ending tags should be removed from all extensions; please do so if you come across those. Thanks! --Sayuri 18:07, 12 February 2008 (UTC)
- OK, but the problem was trailing space, not the closing tag... I think it's a bad choice but I will follow MediaWiki's way for my few lines of code ;-). --LaurentChouraki 20:17, 12 February 2008 (UTC)
- I would say it is a good choice, you cannot easily see trailing whitespace after the tag closure (unless you use an editor like vim) and if present it can screw up includes of extensions --Zven 21:34, 12 February 2008 (UTC)
- OK, but the problem was trailing space, not the closing tag... I think it's a bad choice but I will follow MediaWiki's way for my few lines of code ;-). --LaurentChouraki 20:17, 12 February 2008 (UTC)
Thanks
editThanks for tweaking my code on Extension:SubPageList3. I'm sorry I kept overwriting your changes - I hadn't realised anyone else had taken an interest in editing it! I've gone through the page history and adopted your changes into the final posted version as well as my local version. --McCormack 13:11, 19 February 2008 (UTC)
- No problem, I'm glad I could be of assistance. :-) --Sayuri 13:15, 19 February 2008 (UTC)
SiteNotice on Every Page
editHello, I have seen that the page Sitenotice MediaWiki:Sitenotice has been removed. I am currently trying to implement something similar in my wiki by having common content in all my pages. Can you give me some advice as to how I can do that. I think more like a single include file called in all the pages. Vijuscorner
- Actually the old notices are in the history of MediaWiki:Sitenotice. This is a good way to broadcast a global message, giving the article some content displays the message, making the article blank or a single - suppresses it --Zven 01:10, 12 March 2008 (UTC)
- Hmm, what exactly do you want? If you want a notice that displays on every page on the wiki, just edit MediaWiki:Sitenotice on your wiki. If you want to hide the sitenotice, see Extension:DismissableSiteNotice. If you are hosting a wiki family of some kind and want a global sitenotice for them, see Extension:CentralNotice. --Sayuri 13:56, 12 March 2008 (UTC)
- I was thinking more in the lines of having some content put in a file and calling that in certain pages.... not in all but most of the pages. This way I need not change something in every page but just in source file and that will be updated on all pages. This is slightly different for the site notice as u can see.Vijuscorner 9:35, 14 March 2008 (UTC)
user rights question
editHi there! My name is John; I recently posted a question about User Rights on the support desk. I wasn't able to make it work with my LocalSettings.php the way it was, so I modified the user rights sections to reflect what you suggested at the top of the page, as described here.
Unfortunately, after making those changes, it's still not working for me. In other words, my wiki is now totally locked down; user and anonymous people can't edit, but at the same time my sysop/bureaucrat accounts can't edit either.
My MW installation details are thus:
* MediaWiki: 1.11.0 * PHP: 5.2.5 (cgi) * MySQL: 5.0.45-community * URL: http://wiki.anamacha.net
and the relevant code:
# The following code prevents anonymous & logged-in users from # editing but allows sysops and developers to edit: # thanks to Sayuri on the support desk # http://www.mediawiki.org/wiki/Project:Support_desk $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['developer']['edit'] = true; # Only allow sysops and developers to create pages $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['user']['createpage'] = false; $wgGroupPermissions['sysop']['createpage'] = true; $wgGroupPermissions['developer']['createpage'] = true; anamacha@anamacha.net [~/www/wiki]#
What I want is for me to be able to make changes (create pages, edit), and want else to be read-only.
Is this possible?
thanks!
Anamacha 05:01, 28 March 2008 (UTC)
- Hi John, that's definitely very odd. I also don't get the line
anamacha@anamacha.net [~/www/wiki]#
, I hope that's not in your LocalSettings.php. ;-)
- Anyway, this should (hopefully) do it...
#Disable anonymous access
$wgGroupPermissions['*']['createaccount'] = false; //Anons can't create accounts
#$wgGroupPermissions['*']['read'] = false; //Uncomment this line if you want to disable anon viewing
$wgGroupPermissions['*']['edit'] = false; //No editing
$wgGroupPermissions['*']['createpage'] = false; //...or page creation
$wgGroupPermissions['*']['createtalk'] = false; //...or talk page creation either
#Don't let registered non-privileged users do stuff either
$wgGroupPermissions['user']['createaccount'] = false;
#$wgGroupPermissions['user']['read'] = false; //Uncomment this line if you want to disable viewing by registered users
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['user']['createpage'] = false;
$wgGroupPermissions['user']['createtalk'] = false;
#But let sysops do stuff
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['read'] = true;
$wgGroupPermissions['sysop']['edit'] = true;
$wgGroupPermissions['sysop']['createpage'] = true;
$wgGroupPermissions['sysop']['createtalk'] = true;
- Please let me know if this works. I really don't see why sysops can't edit, if you aren't overriding the default sysop permissions in LocalSettings.php. --Sayuri 13:43, 28 March 2008 (UTC)
- Okay, thanks for the help. Sorry for not replying sooner; I got busy and things got away from me.
- I put in the code just as you gave it to me, and it's still not working. There were no changes at all. After putting it in there, I logged out, logged back in, reloaded page, force-reloaded the page, cleared my 0mb cache, and finally rechecked my LocalSettings.php ... nothing.
- the fact that I have several LocalSettings.php.bak files shouldn't affect it ... right? I'm grasping at straws here. I wish I knew enough about PHP and wikis to be able to troubleshoot this on my own!
- any further assistance you can provide would be great. I'm happy to provide you any information you need.
- Anamacha 19:14, 12 April 2008 (UTC)
- I don't think the .bak files should affect to anything, no. I'm a bit puzzled with this myself...if that didn't fix it, then what is it? Perhaps you could visit #mediawiki IRC channel at freenode network for assistance. There are far more knowledgeable people in there than what I am. ;-) --Sayuri 19:58, 12 April 2008 (UTC)
- well, I finally had time to go to the IRC channel that you suggested -- and I found out that my groups seems to be screwed up. I don't have a Sysop group; I have a 'Sysop ' group. At teh suggestion of some people on that channel, I fiddled with php tables and such, but nothing helped. So -- do you know anyone who knows php really well and can help me out? thanks so much ... --01:12, 24 April 2008 (UTC)Anamacha 01:12, 24 April 2008 (UTC)
- Perhaps one of the MediaWiki developers could help you? Some of the devs, like Brion or Tim are relatively busy people, but they can definitely help you. :-) --Sayuri 15:29, 24 April 2008 (UTC)
Extension:SocialProfile
editHi Sayuri,
did you get the SocialProfile-extension running free from defects? In case you did, would it be possible to send me the revised code?
Or are you just giving some advices in the extension-talk, by the way?
greets --Demagggus 11:25, 8 April 2008 (UTC)
- Hi Demagggus, I haven't edited the actual source really: it's worked for me "out-of-box". I've done the steps as per SocialProfile plus hacked my way around the CSS / JS problems (see Extension talk:SocialProfile#Command line?). The only extension file I've modified is
YUI.php
to include the wiki's full path — but you can do that too, it's really simple. I was talking with iAlex about this extension in IRC a couple days ago - he's (hopefully) fixing it. I'm not skilled enough to fix this kind of a mess. --Sayuri 13:22, 8 April 2008 (UTC)
- Thanks for your response. Actually I got it working more and more. What doesn't work so far is the UserBoard. Seems that the information, which should be committed via URL can't be catched by the SpecialUserBoard.php, respectively it isn't committed anyway! So the page isn't build in the right way. Let's see if iAlex could fix it --Demagggus 15:53, 8 April 2008 (UTC)
Amazon Extension
editHi Sayuri,
you are one of the editors of the amazon extension. I used the Amazon.php as a template to write a own parser.
I got the following scenario: First I run the parser with a given option (do_query) from a mediawiki site. The parser creates a mysql-connection to a host, do a query and write into a array.
Than I run the parser again in the same site, but with the option output_query. How can I access the array from the first run (do_querry)?
Thanks in advance!
Best regards, Gecko 13:54, 24 April 2008 (UTC)
- That extension is quite lame. That being said, I'm not much of a developer and thus am unable to answer to your query. You might want to poke one of the developers instead. --Sayuri 15:29, 24 April 2008 (UTC)
Bureaucratship
editDo you need it? (I wonder because you seems to one of the most active admins here) - VasilievVV 20:59, 9 May 2008 (UTC)
- Yes sir, I think I could use bureaucratship. :-) --Sayuri 21:13, 9 May 2008 (UTC)
- Please don't give out sysops rights to inactive editors like you did with Misza13..--Cometstyles 21:19, 25 May 2008 (UTC)
- I know Misza13 personally, he is a trusted developer who requested it. Project:Requests states quite clearly that being a developer [...] automatically entitles you to at least sysop status. --Sayuri 21:53, 25 May 2008 (UTC)
Possibility of getting image tag extension to work with 1.12?
editHi, I am interested in your image tag extension, but I see you say it won't work with 1.12. Is their a chance that you are working on it, or if you know of an alternative? Thanks Mike —The preceding unsigned comment was added by 66.46.13.224 (talk • contribs) . Please sign your posts with ~~~~!
- Hi Mike, Extension:ImageTagging is actually not mine, I've just made some minor tweaks to the code. Anyway, I tested it with 1.13alpha back then, and it worked (it's still a tad bit buggy under Internet Explorer 7, but works relatively nicely under Firefox). I'd assume that thus it would work under MediaWiki 1.12 too. --Sayuri 11:40, 4 June 2008 (UTC)
Thanks for improving the FormelApplet extension.
editHi, Sayuri! Thanks a lot for your help. I will wait a little bit with publishing version 1.0h of Extension:FormelApplet. Better I change your version of code than my old one. Bigvir 20:16, 12 June 2008 (UTC)
- No problem, I'm always happy to help out wherever I can. :-) --Sayuri 21:26, 12 June 2008 (UTC)
Thanks for improving WikiToWordPress
editThanks a lot for your help, this was my first extension and I didn't know there were standards! I'll try to do my best for future releases but thanks for helping! Jj24, EmuWiki.com.
- You're welcome. I believe that while they might not be always easy to find, most open source (and non-open-source too) projects have some kind of standards.
- And while we're talking about standards, I quite don't get this edit. The doxygen-style comments are the de facto standard in MediaWiki development. They make it easy to create documentation out of the source code comments (see an example). --Sayuri 19:11, 17 June 2008 (UTC)
php questions
editSayuri: Can you answer some questions about php? Or do you know someone who can? I contacted Brion regarding the question I asked you earlier on this page, and he answered it. But he didn't tell me HOW to fix it; I asked him for more information but he doesn't seem willing to answer. I know what's wrong with my wiki but I don't know enough about php to fix it; I need someone to walk me through the procedure Brion suggests. Do you know anyone that might help? thanks! --Anamacha 06:51, 22 June 2008 (UTC)
- This is more of a MySQL issue than a PHP one, but let's see.
- I had a look at your question on Brion's talk page and there is definitely something wrong with your user_groups table. For now, I'd suggest making a full backup of your database before trying this out.
- You'd need to get rid of the current user_groups table (
DROP TABLE user_groups;
) and then create a new one with the following query:
CREATE TABLE user_groups (
ug_user int unsigned NOT NULL default '0',
ug_group varbinary(16) NOT NULL default '',
PRIMARY KEY (ug_user,ug_group),
KEY (ug_group)
);
- Then you can give the three users that had bureaucrat/sysop rights their rights back with the following queries:
INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( 1, 'bureaucrat' ), ( 1, 'sysop' );
INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( 2, 'bureaucrat' ), ( 2, 'sysop' );
INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( 3, 'bureaucrat' ), ( 3, 'sysop' );
- Now it should theoretically work. However, depending on your MediaWiki version, there might be some issues. If you can, I'd suggest updating to MediaWiki 1.13alpha. You can download it from SVN. --Sayuri 11:22, 22 June 2008 (UTC)
Balloons
editHi Sayuri,
Thanks for the clean-up on Extension:Balloons. So, I'm curious, is the bot that populates the extensions matrix broken? There are some syntax errors reported in the page source and some folks are editing the article directly. —The preceding unsigned comment was added by Mckays (talk • contribs) . Please sign your posts with ~~~~!
- No problem, I like doing cleanup work every now and then. ;-)
- Regarding the bot, I'm afraid that I have no idea about it. You might want to ask the bot's operator, User:Duesentrieb, about it. --Sayuri 22:04, 7 July 2008 (UTC)
Resizing avatar images in SocialProfile
editHi Sayuri, thanks for the SocialProfile extension. Since using exec() is pretty dangerous, you may consider replacing the createThumbnail()
in SpecialUploadAvatar.php
with sth like this (it's not tip-top, but working):
function createThumbnail($imageSrc, $ext,$imgDest,$thumbWidth){
list($origWidth ,$origHeight,$TypeCode)=getimagesize($imageSrc);
if($origWidth < $thumbWidth)$thumbWidth = $origWidth;
$thumbHeight = ($thumbWidth * $origHeight / $origWidth);
/*
if($thumbHeight < $thumbWidth)$border = " -bordercolor white -border 0x" . (($thumbWidth - $thumbHeight) / 2);
if($TypeCode == 2)exec("convert -size " . $thumbWidth . "x" . $thumbWidth . " -resize " . $thumbWidth . " -crop " . $thumbWidth . "x" . $thumbWidth . "+0+0 -quality 100 " . $border . " " . $imageSrc . " " . $this->avatarUploadDirectory . "/" . $imgDest . ".jpg");
if($TypeCode == 1)exec("convert -size " . $thumbWidth . "x" . $thumbWidth . " -resize " . $thumbWidth . " -crop " . $thumbWidth . "x" . $thumbWidth . "+0+0 " . $imageSrc . " " . $border . " " . $this->avatarUploadDirectory . "/" . $imgDest . ".gif");
if($TypeCode == 3)exec("convert -size " . $thumbWidth . "x" . $thumbWidth . " -resize " . $thumbWidth . " -crop " . $thumbWidth . "x" . $thumbWidth . "+0+0 " . $imageSrc . " " . $this->avatarUploadDirectory . "/" . $imgDest . ".png");
*/
$this->imageName = $imageSrc;
$this->resizedImageName = $this->avatarUploadDirectory . "/" . $imgDest.".".strtolower($ext);
$this->dest_image = imagecreatetruecolor($thumbWidth, $thumbHeight);
if ($TypeCode == 2) {
$this->src_image = imagecreatefrompng($this->imageName);
imagecopyresized($this->dest_image, $this->src_image, 0, 0, 0, 0, $thumbWidth, $thumbHeight, $origWidth, $origHeight);
imagepng($this->dest_image, $this->resizedImageName);
} else if ($TypeCode == 1) {
$this->src_image = imagecreatefromgif($this->imageName);
imagecopyresized($this->dest_image, $this->src_image, 0, 0, 0, 0, $thumbWidth, $thumbHeight, $origWidth, $origHeight);
imagegif($this->dest_image, $this->resizedImageName);
} else if ($TypeCode == 3) {
$this->src_image = imagecreatefromjpeg($this->imageName);
imagecopyresized($this->dest_image, $this->src_image, 0, 0, 0, 0, $thumbWidth, $thumbHeight, $origWidth, $origHeight);
imagejpeg($this->dest_image, $this->resizedImageName, 100);
}
}
There is an iconThumb()
function in MediaWiki's File.php
and $wgUseImageMagick global variable, so i guess these may be considered too in the future. --Dusan 22:46, 28 July 2008 (CET)
- Hi Dusan, thank you for the patch. SocialProfile's not actually "my" extension, despite the fact that I've put a fair amount of work into it. It was written by Aaron Wright and David Pean for Wikia originally.
- I'll try to look into the patch later on, but I admit that it's not on the top of my to-do list right now, since SocialProfile works well enough on my Linux box. I suppose the to-do item on SpecialUploadAvatar.php is not totally incorrect: TODO: Completely rewrite this garbage page :) --Sayuri 23:18, 28 July 2008 (UTC)
Issues with UserStatsClass.php within SocialProfile
editHey Sayuri, I saw that you were pretty active on the SocialProfile page and I have run into an issue. If you get a chance, can you check out Extension talk:SocialProfile#Issues with foreach within UserStatsClass.php ?
Thanks
--74.2.87.82 17:14, 29 July 2008 (UTC)
- I take it that you've fixed it already, based on the comment on Extension talk:SocialProfile#Issues with foreach within UserStatsClass.php. :-) --Sayuri 09:57, 30 July 2008 (UTC)
Upload Avatar bug
editWhen logged, if you click on “import an avatar”, you get an error message saying that you must be logged to copy files on the server. Thanks for your help. Philippe
- Works for me. Could you provide either an URL to the wiki (if it's public) or MediaWiki/SocialProfile/PHP/MySQL versions? --Sayuri 19:53, 24 July 2008 (UTC)
- Thank you for your answer, yes it's on www.wikiastuces.fr . There is a problem when two users have the same IP adress but not all the time :). --84.103.193.23 17:32, 28 July 2008 (UTC). My email is p h i l i p p e at splitgames dot com
- I took a quick peek at your site, looks very nice. Could you please explain more about your issue — what exactly do you mean by when two users have the same IP address? It certainly sounds a bit odd problem, as most problems related to UploadAvatar special page / image uploading in general are file permissions-related ones. You most certainly shouldn't see a login message if you're already logged in. --Sayuri 00:49, 31 July 2008 (UTC)
- Thank you for your answer, what should I do ? What I meant by when two users have the same IP... was that the error occured when two users tried uploading an image as other users were already logged in. But in fact we all share the same IP as we are all behind a router. Maybe is it related? --Pcorrot 14:06, 1 August 2008 (UTC)
Main image of Norwegian Runescape Wikia
editCan you change the main image to Norwgian Runescape wiki to this image: --> [2]?
Grynt, of the Norwegian Runescape Wikia... P.S. I'm a newbie =P —The preceding unsigned comment was added by 84.208.191.32 (talk • contribs) . Please sign your posts with ~~~~!
- I'm not active in Wikia nor I hold any special privileges there. Please ask a member of the Wikia Community Team for help and don't bother me with irrelevant questions like this. Thanks. --Sayuri 14:44, 13 September 2008 (UTC)
Issues with Jabber Extension for MediaWiki
editSayuri, I saw that you've been involved in the Jabber Extension page, and I was wanting your input on something. I'm running Openfire 3.6.0 and MediaWiki 1.13.0. I added the Presence plugin and set up the Jabber extension per the wiki page, but I'm not getting the functionality I expected. I use the Jabber tags in the wiki page, but all I get is a small green icon that does not reflect the user status of the specified user. Any thoughts?
Thanks! --Dbaker 18:10, 19 September 2008 (UTC)
- I've been most likely fixing security issues, adding extension credits and/or doing some small code cleanup. Thus, I don't really know what might be the issue. Maybe you could try contacting the original author of the extension or asking for help in #mediawiki IRC channel. --Sayuri 10:04, 20 September 2008 (UTC)
Main page translation
editHi. I want to translate the main page to my native language (Turkish). But the system does not allow it. The current translation quality is not good. Please could you give me translation privileges or disable the protection. Thanks. Bekiroflaz 12:16, 10 October 2008 (UTC)
- Hi there, please see Project:Main page templates for info on how to translate the main page and edit existing translations. None of the existing Turkish templates seem to be protected, so you should be able to edit them. Some translations do not exist yet, which is the reason why MediaWiki/tr is displaying English text instead of Turkish. --Sayuri 12:49, 10 October 2008 (UTC)
I had already read that page but I could not translate. When I attempt to change any material of the main page I receive this message:
The title "Template:Main page/intro/tr" has been banned from creation. It matches the following blacklist entry: Template:Main page.* <autoconfirmed|noedit> # night vandalism
This message is for the intro text. I see similar messages on every main page material editing page (in fact "See the source" page :)).
Bekiroflaz 13:22, 10 October 2008 (UTC)
- Ok, thanks for posting the error, that helped me to fix it. It was being blocked by MediaWiki.org's title blacklist — I've commented out the entry for now, so it shouldn't affect your ability to translate anymore. :) It might take a while for it to start working due to caching, though. --Sayuri 14:03, 10 October 2008 (UTC)
- Sayuri - can you just confirm this: Were the pages fully blacklisted, or did they just require autoconfirmation before they could be edited (as per this conversation)? If the latter, then I believe this is intentional, but perhaps there was another problem too? --HappyDog 23:43, 22 October 2008 (UTC)
- I think they were protected from non-autoconfirmed users as I could edit the pages well without any problems. However, you're free to restore the blacklist entry (although I don't quite get why we blacklist titles instead of banning vandals) if it's necessary. --Sayuri 11:44, 23 October 2008 (UTC)
- It's because those pages are highly prominent, in that they appear on the main page of the site, so requiring autoconfirmation should (hopefully) cut down instances of drive-by vandalism in this very visible location. I have restored the block for now but I don't feel massively strongly. Perhaps you should consult with User:Kalan, who added the item in the first place (as it may have been to deal with a temporary issue only, in which case it could perhaps be removed now). --HappyDog 16:56, 23 October 2008 (UTC)
- Ok, I'll ask Kalan about the title protection if a similar situation pops up in the future (seems relatively unlikely though). --Sayuri 19:08, 23 October 2008 (UTC)
- It's because those pages are highly prominent, in that they appear on the main page of the site, so requiring autoconfirmation should (hopefully) cut down instances of drive-by vandalism in this very visible location. I have restored the block for now but I don't feel massively strongly. Perhaps you should consult with User:Kalan, who added the item in the first place (as it may have been to deal with a temporary issue only, in which case it could perhaps be removed now). --HappyDog 16:56, 23 October 2008 (UTC)
- The titles were unblacklisted for two weeks and the only vandalism I've noticed them suffer during that time was by a vandal who was following recentchanges: That vandalism was reverted within four minutes. I don't see what we're accomplishing here, other than discouraging translators like Bekiroflaz. Regardless of what might have been necessary in the past, titles should only be blacklisted if there's a problem now. —Emufarmers(T|C) 19:47, 23 October 2008 (UTC)
- I have to say that I agree with you there. Four days seems like a meaningless amount of time, but for someone very eager to fix something (bad translation, for example), four days can be suprisingly long and might even drive them away; back to their home wiki, another wiki or completely away. Just my $0.02 though. --Sayuri 22:02, 23 October 2008 (UTC)
- The titles were unblacklisted for two weeks and the only vandalism I've noticed them suffer during that time was by a vandal who was following recentchanges: That vandalism was reverted within four minutes. I don't see what we're accomplishing here, other than discouraging translators like Bekiroflaz. Regardless of what might have been necessary in the past, titles should only be blacklisted if there's a problem now. —Emufarmers(T|C) 19:47, 23 October 2008 (UTC)
Thanks
editThanks for the help on the SocialProfile page. You should look at setting up a system where people could paypal you some money for your help in debugging. I'd gladly paypal you $50 if it meant you could jump on to my site and have a look at what's broken with it. Make it worth your while :) Rodeoclash 22:51, 17 October 2008 (UTC)
- Thank you for the compliments. ;-)
- I don't think it's necessary to pay money for solving simple problems, such as these path issues, as MediaWiki is open source and there are many capable people online on #mediawiki to help you with debugging. And a fair amount of extension developers also watch the Extension talk: pages, so you're likely to get help for free.
- SocialProfile is stable enough to be used on production sites, but it's not (and probably never will be) perfect — there are some minor issues, such as Special:GiveGift page, which is broken. And truth to be told, it's not exactly the easiest MediaWiki extension to set up either. :)
- Make sure that your paths are correct (and if not, define the new path values in LocalSettings.php) and that you've hacked includes/AjaxFunctions.php as per the instructions. If these steps do not help you, feel free to post your questions on Extension talk:SocialProfile and I'll try to look into the problem. --Sayuri 16:19, 18 October 2008 (UTC)
- I had it running perfectly, it's just when I updated MediaWiki I overlooked the fact that it overwrote that AjaxFunctions.php file again, breaking the extension. I guess as MediaWiki is worked on, and more hooks added, eventually we can get SocialProfile working without changes to the core mediawiki code being needed. Thanks again anyway Sayuri :) Rodeoclash 23:10, 19 October 2008 (UTC)
Help
edit- Hi, i'm Aldrich. I'm an Bureaucrat at a wikisite called Wikicars. Anyway, I've been needing some help with writing templates and infoboxes. Do you know anyone that might be able to help me?
Tak Wiki
editI am going to help you with tak wiki. I already Updated the episode list. I dont have an account at mediawiki, but, it is peanut64 at wikia. —The preceding unsigned comment was added by 71.55.210.66 (talk • contribs) . Please sign your posts with ~~~~!
- I'm not interested in Wikia-related stuff, sorry. I'm currently working only on MediaWiki software. --Sayuri 23:53, 15 November 2008 (UTC)
thanks for the tidy up!
edit--Rob 22:28, 3 December 2008 (UTC)
- No problem, I like doing random cleanup tasks. ;-) I also removed the PHP ending
?>
tag as it hasn't been used in MediaWiki since r23531 due to various issues caused by its presense. --Sayuri 15:59, 4 December 2008 (UTC)
calendar wikia
editPlease come back to the project. I've proposed a new calendar. I need your opinion. Thanx Tom