User talk:Sergey Chernyshev

Twitter Search
Sergey.. I love your widget extension!!

I need help though in creating one for: http://twitter.com/goodies/widget_search is this possible??
 * You got it: Twitter Search ;) --Sergey Chernyshev 15:31, April 8, 2010 (UTC)
 * You are my favorite developer.. :) Thank you so so much.. --LainieH 20:19, April 8, 2010 (UTC)
 * You're very welcome! Feel free to tell everyone to use MWW ;) --Sergey Chernyshev 22:10, April 8, 2010 (UTC)
 * Thanks again... Sorry to bother you.. I'm having a little trouble getting it to work on my wiki (example if you see source code: example page on this wiki .. it's probably something I'm doing so I'm trying to debug.. --LainieH 02:27, April 9, 2010 (UTC)
 * You're using Widgets 0.8.5 which is outdated and you better upgrade it to the latest one: http://www.mediawiki.org/wiki/Extension:Widgets#Installation - there were some formatting bugs fixed there. --Sergey Chernyshev 20:20, April 9, 2010 (UTC)

RootsTV
Sergey

I love your Widget Extension. I need some help developing one for an organization I do volunteer work for. I need to embed flash movies from http://www.rootstelevision.com/. I started working on the code and can post it here if that's ok. Thanks for all you do. Hutchy68 09:02, July 23, 2010 (MDT)


 * Yeah, absolutely! Feel free to create a widget page for it - I'll check it out, maybe fix a thing here and there if needed and post it live. --Sergey Chernyshev 09:57, July 23, 2010 (MDT)

Screencast widget?
Hi Sergey, we are loving your code on sasCommunity.org. Would it be possible to create a Screencast widget for Camtasia videos? https://www.screencast.com/.. --LainieH 10:38, July 26, 2010 (MDT)
 * I'll check it out - it might not be as simple as it should ;( --Sergey Chernyshev 15:12, July 26, 2010 (MDT)
 * Yeah, as I thought, it's not that easy - code also depends on type of the content too. --Sergey Chernyshev 15:40, July 26, 2010 (MDT)

How to approve new widgets?
Hi Sergey,

I started Widget:OpenWetWare (on the basis of Widget:Wikipedia) and would like to know what the procedure is to get such a new widget set up. Thanks! --Mietchen 06:17, August 16, 2010 (MDT)
 * It looks good, I approved it. You can see the result on catalog page: OpenWetWare --Sergey Chernyshev 08:55, August 16, 2010 (MDT)


 * Thank you. I added a few more: EoEarth, Scholarpedia, Citizendium, WikiEducator, AcaWiki, WebCite. --Mietchen 14:07, August 16, 2010 (MDT)
 * I wonder if using Iframe Widget is a more universal solution? --Sergey Chernyshev 15:31, August 16, 2010 (MDT)


 * That would have been my preference (see test page), but (1) it does not work at Citizendium (possibly due to an old MediaWiki version, see test page), nor is it used at any of the other wikis mentioned above, (2) having a generic iframe widget poses more security risks than a specific one. Perhaps setting one up for Mediawiki sites would be a solution? --Mietchen 02:22, August 17, 2010 (MDT)
 * Yeah, if you can make one, that'd be great - just have another parameter for base URL - this way people can use it with template hardcoding the base in template. --Sergey Chernyshev 07:52, August 17, 2010 (MDT)


 * Will give it a try, probably with base URL and 'language' and oldid. --Mietchen 13:05, August 17, 2010 (MDT)


 * Here we go: MediaWiki. --Mietchen 13:43, August 17, 2010 (MDT)


 * Can you please take a look at MediaWiki? Thanks! --Mietchen 05:23, September 6, 2010 (MDT)


 * Seems overly complex to me. Any reason why this is needed? Can't it be done through IFrame and ? Maybe wrapped into a template? I just want to limit amount of widgets really --Sergey Chernyshev 12:16, September 7, 2010 (MDT)

Google Static maps
Hi I'm agree google maps has the functionalities of google static maps but I did this widget because I test a new extension mediawiki where I can push parameters automatically to one widget... So I need a widget "simple" for give an example for use my extension. If you want, you can rename this widget like "example widget with foreach"... And also google static maps is very cool because I develop on my pc so I can not ask a google's key and the version static can work without. If you can host this widget, it would be cool ;)

Thanks. Karima

New Widgets Added
Sorry to bother you. I added a couple of widgets (Wibya Bar and FeedZilla News Feed) for your review. I am not a coder and really have no idea why they work other than the fact that trial and error made them work. I had a big need for Wibya especially and so did some friends of mine and I thought that they might be nice for others to have.

My concern is that primarily I am NOT a coder. My sites are SSL and the only drawback I found is that it broke the SSL as their feeds (I guess that's the term) are http and not https. YouTube finally corrected this, but I have no idea about these other folks. So, I guess what I am driving at is I don't know jack about security or how to clean up code.

My sites are here for your review and I added them to the submissions pages which I am sure will have to be cleaned up by whomever if they are accepted.


 * Foreclosurepedia
 * Onyx

--Coffeehound 20:20, October 28, 2011 (AST)
 * Well, you didn't create widgets really - just pasted the code into the page. Somebody needs to really code them up. --Sergey Chernyshev 22:46, October 28, 2011 (AST)

So, should they be removed and forwarded to the coding gurus (which I guess is you and your folks) or ...? I mean I don't really care about any type of credit. The Wibya one is what really got me trying to do something. I mean there is a TON of threads begging for a bar and zero input. (Here's an example). Regardless, if they pose a security threat they shouldn't be live and I see they are listed under the Widgets section. --Coffeehound 23:53, October 28, 2011 (AST)

Spammy
The site is pretty heavily infested. Have you thought about adding mw:Extension:Antibot and the other simple anti-spam measures? - Amgine 14:41, November 3, 2011 (AST)
 * Antibot seems to be for WikiMedia only, based on comments, but I do want to get rid of spam a lot, unfortunately all previous attempts did not succeed. --Sergey Chernyshev 17:03, November 3, 2011 (AST)
 * The best way to combat spam is to have a few people in a "Super User" group with the ability to block spammers and delete their spam. I'm going to bed while my AWB marks all of the spam as such.  I'll scan through all of the page titles again tomorrow to make sure that none of the 6,400+ pages are really not spam.. However, I'm fairly certain that I've gotten all of the good pages off the list. Once that is complete, I'll strip all of the internal/external links and images. -- ShoeMaker (talk) 00:47, April 17, 2012 (AST)

How to create a Widget
Hi Sergey; there is a Help page about how to convert a embed code into a Widget? I wanna to create someones. I explained it here. Thanks. --Dvdgmz 04:31, November 23, 2011 (AST)
 * It's kind of explained here: http://www.mediawiki.org/wiki/Extension:Widgets#Widget_page_syntax and you can also try looking at other widgets and learn from there. --Sergey Chernyshev 00:18, November 29, 2011 (AST)
 * I tryed to create a Widgets but something it's wrong. Maybe I'm doing something bad. Could you have a look? Mediateca_EOI Thanks. --Dvdgmz 13:45, February 27, 2012 (AST)
 * Not sure - widgets need to be approved before working on the pages and I did - the code is inserted on the page, but widget is blank - probably wrong code or widget is broken on provider's end. --Sergey Chernyshev 16:53, March 12, 2012 (AST)

Uploading files
Hi Sergey Chernyshev, if I want to upload a file I get the following error message:

Could not rename file "[...]".

Is there a way to enable uploading? As alternative, could we use MediaWiki commons for inserting images in articles? Thank you and best wishes --Move 06:04, March 18, 2012 (AST)

This site is overrun by spambots...
Hey Sergey, I see that this site is overrun by spambots and I have gone around marking pages for deletion; however, I think it would be easier and fast for both of us if I could just delete the pages and block the bots myself..

I have much experience in this department where as I am a top contributor and administrator on two other wikis: Technical_13 on DDOwiki (Talk &bull; Contributions) and TORwiki (Talk &bull; Contributions).

I'm also an editor on Wikipedia (Talk &bull; Contributions) and MediaWiki (Talk &bull; Contributions). The best talk page to leave me a message on is here. -- ShoeMaker 00:47, March 21, 2012 (AST)
 * The best way to combat spam is to have a few people in a "Super User" group with the ability to block spammers and delete their spam. I'm going to bed while my AWB marks all of the spam as such.  I'll scan through all of the page titles again tomorrow to make sure that none of the 6,400+ pages are really not spam.. However, I'm fairly certain that I've gotten all of the good pages off the list. Once that is complete, I'll strip all of the internal/external links and images. -- ShoeMaker (talk) 00:47, April 17, 2012 (AST)
 * I slept on it, and I am wondering if you would prefer me to strip all of the image/internal/external links, or simply blank the pages? -- ShoeMaker (talk) 10:07, April 17, 2012 (AST)
 * Please continue to mark them with Category:Pages flagged for deletion category - I'm trying to figure out how to effectively kill them. I also fixed CAPTCHA so hopefully we will not have too many of them coming. --Sergey Chernyshev (talk) 10:13, April 17, 2012 (AST)
 * Spam are in Category:Pages flagged for deletion/Spam -- ShoeMaker (talk) 10:38, April 17, 2012 (AST)

Upload of images Failed.
I got some errors trying to upload image to the site. Would you please look into it or forward to whomever might be in charge? The error message was: Thank you -- ShoeMaker (talk) 00:13, April 17, 2012 (AST)
 * *.jpg
 * *.png
 * *.gif
 * *.gif
 * *.gif
 * I just upgraded the wiki to latest software version, it's possible that some permissions got reset. I'll check it out. --Sergey Chernyshev (talk) 10:09, April 17, 2012 (AST)
 * They are now working again.. Thank you. :D -- ShoeMaker (talk) 15:33, April 19, 2012 (AST)
 * Hi Sergey, I have the same problem on a wiki of mine. Could you explain how you solved the problem? Thanks! --AdSvS (Contributions • Message) 05:09, June 19, 2012 (AST)
 * It was about write permissions to upload folder. --Sergey Chernyshev (Contributions • Message) 10:06, June 19, 2012 (AST)

Request for user interface improvements.
Hey Sergey, could you implement some user interface improvements for me?  MediaWiki:Wrongpassword    Incorrect password entered. Check your [Caps Lock] button and please try again.  MediaWiki:Activeusers-countNeeds Extension:ParserFunctions & Extension:FormatNum  to function correctly.   $1 NaN editss in the last NaN $3 dayss </ul></li> MediaWiki:Categorytree-empty-bullet   <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> [ Ø ] </li></ul></li> MediaWiki:Categorytree-collapse-bullet   <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> [ - ] </li></ul></li> MediaWiki:Categorytree-expand-bullet   <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> [ + ] </li></ul></li> MediaWiki:Newsectionsummary   <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> /* $1 */ new section </li></ul></li> MediaWiki:Signature   <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> $2 (Contributions &bull; Message) </li></ul></li> Editing MediaWiki:Captchahelp-text<ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> Web sites that accept postings from the public, like this wiki, are often abused by spammers who use automated tools to post their links to many sites. While these spam links can be removed, they are a significant nuisance.

Sometimes, especially when adding new web links to a page, the wiki may ask you to answer a simple mathematical question. Since this is a task that's not commonly requested, it will allow most real humans to make their posts while stopping most spammers and other robotic attackers.

Unfortunately this may inconvenience users with limited vision or using text-based or speech-based browsers. Please contactNaN one ofs the System OperatorNaN ss for assistance if this is unexpectedly preventing you from making legitimate posts.

Hit the 'back' button in your browser to return to the page editor. </li></ul></li> <li>MediaWiki:Anonnotice  <ul><li>Append the following as is appropriate</li><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;">Please create an account or log in to build a reputation and unlock more editing privileges!!! </li></ul></li> <li>MediaWiki:Anoneditwarning  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Please create an account or log in to build a reputation and unlock more editing privileges!!! </li></ul></li> <li>MediaWiki:Anonpreviewwarning  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> ''You are not logged in. Saving will record your IP address in this page's edit history.''

Please create an account or log in to build a reputation and unlock more editing privileges!!! </li></ul></li> <li>MediaWiki:Anontalkpagetext  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> This is the discussion page for an anonymous user, identified by the user's numerical IP address. Some IP addresses change periodically, and may be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please create an account or log in to avoid future confusion with other anonymous users. If you're concerned with privacy, registering also hides your IP address. [ RIR whois lookup: America Europe Africa Asia-Pacific Latin America/Carribeans ] </li></ul></li> <li>MediaWiki:Overwroteimage  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> uploaded a new version of "$1". </li></ul></li> <li>MediaWiki:Large-file   (Doesn't seem to be a "Large-file threshold set.)")<ul><li>Displays an error on the preview page because $1 is not a number, transcludes correctly</li><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> This file exceeds the kB recommended limit, but it is still less than the 15MB limit. </li></ul></li> <li>MediaWiki:Uploadtext   <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> Use the form below to upload files. Please review our  file naming policy  before uploading any files. To view or search previously uploaded files go to the list of uploaded files, (re)uploads are also logged in the upload log, deletions in the deletion log.

To include a file in a page, visit the appropriate Help page. </li></ul></li> <li>MediaWiki:Illegalfilename  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> The filename "$1" contains characters that are not allowed in page titles. Please rename the file according to our file naming policy  before trying to upload it again. </li></ul></li> <li>MediaWiki:Purge<ul><li>If Extension:Purge exists. -- You seem to have Extension:PurgeTab instead, which is obsolete and has been replaced by Extension:Purge</li><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> Purge </li></ul></li> <li>MediaWiki:Semiprotectedpagewarning  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> </li></ul></li> <li>MediaWiki:Protectedpagewarning  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> </li></ul></li> <li>MediaWiki:Delete  <ul><li>The "Delete" button is really more of a "Recycle Bin" so to speak..<li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> Recycle </li></ul></li> <li>MediaWiki:Categorytree-member-num  <ul><li> <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> </li></ul></li> <li>Our spam problem may be partly solved by the following:<ul><li> MediaWiki:Spam-blacklist</li><li> MediaWiki:Filename-prefix-blacklist  </li><li> MediaWiki:Titleblacklist  </li></ul></li></ol>

I've noticed some odd characters scattered around the site..


I've noticed that there are some strange, random characters popping on on various pages.. In this case there is a "3e5b" in the top-left most corner and a "0" in the sidebar next to "Add you widget" & "Community portal". Please have a look into it. If you need any details on specific pages or more details about what programs I am using to view the site (how to reproduce it), I would be happy to email you that information. Thank you -- ShoeMaker (talk) 08:38, April 19, 2012 (AST)
 * Well, I know the reason which is due to some problems between Apache and nginx communications and it mostly happens on nonexisting pages. Extremely hard to fix and I couldn't do that yet - one day maybe ;) --Sergey Chernyshev (talk) 00:44, April 20, 2012 (AST)

Recent changes "&days=1" not working.
I was trying to set up my bot last night to get a list of all pages created in the last 1 day so that I'm not being redundant in marking pages as spam, and after a few tests and a few more ideas this morning, I've come to the conclusion that the Special:RecentChanges "&days=1" API switch/case/argument/parameter is simply not working. CLICK HERE to make sure it is not just me. I'm not sure if it is specific to this installation of MW, or to the version that installed here. I have to be off to work right now, but I will check it on as many other wikis as I can this afternoon and give you a report if I think you may have a faulty installation (possible fixes), if it is a version thing (possible fixes), or anything else I find out. If you know something, or find something before I do, please post it here for me to review. Thanx -- ShoeMaker (talk) 10:05, April 19, 2012 (AST)
 * It looks like it broke when I upgraded to latest MediaWiki - not sure what's up with it. --Sergey Chernyshev (talk) 00:45, April 20, 2012 (AST)

&lt;pre> css code does not work correctly.
I'm trying to add a fix to MW's broken css in regards to the &lt;pre> tag. The current css causes the text to scroll outside of the box and stretch the page unacceptably, as you can see in these two examples. The first is with the current skins and css code and the second is with my proposed css patch. There are three courses of action that would make me happy, and a fourth optional choice that would make me sad. I will list the four options in order of most happiness to least happiness to me. <pre style="max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto;"> I'm trying to add a fix to MW's broken css in regards to the &lt;pre> tag. The current css causes the text to scroll outside of the box and stretch the page unacceptably, as you can see in these two examples. The first is with the current skins and css code and the second is with my proposed css patch. There are three courses of action that would make me happy, and a fourth optional choice that would make me sad. I will list the four options in order of most happiness to least happiness to me.
 * 1) Promote me to administrator.
 * 2) Promote me to administrator.
 * you got it. --Sergey Chernyshev (talk) 01:21, April 20, 2012 (AST)

$wgAllowUserJs = true; pre { max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; } /* fix */
 * 1) Set $wgAllowUserCss & $wgAllowUserJs to true in LocalSettings.php.
 * 2) * <div style="white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; inline: block; padding: 1em; border: 1px dashed #2F6FAB; background-color: #F9F9F9; margin: 10px 0;"> $wgAllowUserCss = true;
 * 1) I will then add the css to MediaWiki:Common.css to fix the &lt;pre> code for all users.
 * 2) * <div style="white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; inline: block; padding: 1em; border: 1px dashed #2F6FAB; background-color: #F9F9F9; margin: 10px 0;"> /* fix */
 * Let me know how it can be done using system configuration without enabling user JS and user CSS and I'll do that - those two are disabled for performance reasons. --Sergey Chernyshev (talk) 01:21, April 20, 2012 (AST)

$wgAllowUserJs = false; # or simply delete/do not include this line as false is the default pre { max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; } /* fix */ pre { max-width: 1200px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; } /* fix */ -- ShoeMaker (talk) 13:12, April 19, 2012 (AST)
 * 1) I will then also be able to:
 * 2) * implement most of the Requests I made for you to improve the user interface.
 * 3) * simply delete spambot created pages
 * 4) * block the spambots to prevent them from creating more pages
 * 5) Set $wgAllowUserCss to true in LocalSettings.php and implement universal fix yourself
 * 6) Set $wgAllowUserCss & $wgAllowUserJs to true in LocalSettings.php.
 * 7) * <div style="white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; inline: block; padding: 1em; border: 1px dashed #2F6FAB; background-color: #F9F9F9; margin: 10px 0;"> $wgAllowUserCss = true;
 * 1) Then add the css to MediaWiki:Common.css to fix the &lt;pre> code for all users.
 * 2) * <div style="white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; inline: block; padding: 1em; border: 1px dashed #2F6FAB; background-color: #F9F9F9; margin: 10px 0;"> /* fix */
 * 1) Implement universal fix yourself
 * 2) Add the css to MediaWiki:Common.css to fix the &lt;pre> code for all users.
 * 3) * <div style="white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; inline: block; padding: 1em; border: 1px dashed #2F6FAB; background-color: #F9F9F9; margin: 10px 0;"> /* fix */
 * 1) This has the downside of every time that a user comes up with a patch for the css to fix or add features, you will have to implement a site wide change instead of allowing that user to apply the fix to only them. Such as:
 * 2) * "popup" style tooltip CSS
 * 3) * "button" style link CSS
 * 4) Do nothing
 * 5) * Pretty self explanatory.

Extension requests..
Hey Sergey, can I get you to install the following extensions?
 * 1) Extension:FormatNum - important for some templates that deal with numbers and calculations
 * 2) Extension:Purge as a replacement for the obsolete Extension:PurgeTab
 * 3) Extension:InputBox - Allows the ability to create search boxes or buttons that can create new pages/sections
 * 4) Extension:TitleBlacklist - AntiSpam
 * 5) Extension:SpamBlacklist - AntiSpam

40-50+ character spambot usernames

 * Agree. This is getting ridiculous - I enabled captcha for all users without confirmed email, we'll see if that will help at all. --Sergey Chernyshev (Contributions • Message) 12:15, June 11, 2012 (AST)


 * I added CheckUser for Administrators - you should be able to use it. --Sergey Chernyshev (Contributions • Message) 14:33, June 11, 2012 (AST)

Google Adsense
Hi Sergey, First I want to thank for all your hard work. I'm currently building a site that makes use of widgets and can't thank you enough.

On another matter, I was looking for an easy way to add Google Adsense to mediawiki and it stuck me that this should be possible via a widget. But since I haven't really explored this much and I don't want to waste my time, I thought, I would ask the Master Widget Builder, you, if you think it's possible via a widget to add Google Adsense?.Thanks --Chris tharp (Contributions • Message) 17:29, October 17, 2012 (AST)