Page MenuHomePhabricator

blackops0057 (Anirudh GP)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Dec 19 2014, 5:43 PM (293 w, 3 d)
Availability
Available
IRC Nick
anirudhgp
LDAP User
Unknown
MediaWiki User
Blackops0057 [ Global Accounts ]

Recent Activity

Jan 6 2016

blackops0057 added a comment to T78522: pywikibot: Site.page_restrictions() is cached but not updated/cleared after calling Site.protect().

Am I on the right track here? When Site.page_restrictions() is called the first time,

if not hasattr(page,"_protection"):

will return true so it calls

self.loadpageinfo(page)

Now when Site.page_restrictions() is called after Site.protect() ,

if not hasattr(page,"_protection"):

returns false since it already has the "_protection" attribute from the previous call and so, the page info is not loaded and the assert fails.
So we have to change this such that when Site.protect() is called, it either clears the page info for that page or updates it by calling loadpageinfo()

Jan 6 2016, 6:56 AM · Patch-For-Review, good first task, Pywikibot

Jan 2 2016

blackops0057 added a comment to T78522: pywikibot: Site.page_restrictions() is cached but not updated/cleared after calling Site.protect().

Will adding " raise NoPage(page)" in protect() be enough to fix this?

Jan 2 2016, 8:13 PM · Patch-For-Review, good first task, Pywikibot
blackops0057 added a comment to T122091: fixing_redirects.py / replace_links fails on links such as [[{{2001}}]].

We can extend the try except block here : https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/textlib.py#L612 to except "pywikibot.exceptions.InvalidTitle". What exactly should happen for links such as [[{{2001}}]] ?

Jan 2 2016, 7:25 PM · Patch-For-Review, Pywikibot-textlib.py, Pywikibot

Dec 30 2015

blackops0057 added a comment to T122563: Add "Site" to the __all__ variable of pywikibot package.

I have already set up the build. Could you please give me the details of what has to be done to fix this bug? Thanks !

Dec 30 2015, 10:05 AM · Patch-For-Review, good first task, Pywikibot
blackops0057 added a comment to T122563: Add "Site" to the __all__ variable of pywikibot package.

Hi I would like to work on this bug. This is my first bug. Can you give more details as to how I can fix this?

Dec 30 2015, 8:00 AM · Patch-For-Review, good first task, Pywikibot

Mar 8 2015

blackops0057 added a comment to T91845: Mobile VE - Context Toolbar titles are messed up.

Hi I'd like to work on this bug. Where does the code for this lie in?

Mar 8 2015, 1:45 PM · User-Ryasmeen, VisualEditor-MediaWiki-Mobile, WMF-deploy-2015-08-04_(1.26wmf17), Readers-Web-Backlog, VisualEditor
blackops0057 added a comment to T91847: Mobile VE - Toolbar buttons are the incorrect sizes.

Hi I'd like to work on this bug. How do I begin? Thanks.

Mar 8 2015, 1:45 PM · User-Ryasmeen, WMF-deploy-2015-08-04_(1.26wmf17), VisualEditor-MediaWiki-Mobile, VisualEditor, Readers-Web-Backlog
blackops0057 added a comment to T89107: Unified language proofing tools integration framework.

Hi I'd like to work on this project. Could you please give some pointers about the project? Thanks

Mar 8 2015, 1:34 PM · User-Ryasmeen, VisualEditor, VisualEditor-LanguageTool, Google-Summer-of-Code (2015), I18n, Contributors-Team, Language-Team

Dec 25 2014

blackops0057 added a comment to T50853: SQL: NULL in an IN-list should be written as OR.

I had already started fixing this bug but i guess it has been fixed by someone else :/

Dec 25 2014, 10:43 AM · Patch-For-Review, good first task, Wikimedia-Rdbms

Dec 22 2014

blackops0057 added a comment to T50853: SQL: NULL in an IN-list should be written as OR.

Ok I read the makelist() function, I did not see any NULL in an IN list. I'm probably missing something?

Nope. That's actually the point!

Here's the idea: right now, i.e., the current functionality, if makeList() sees something that looks like the following:

$db->makeList( array( 'column' => array( 'value1', 'value2', null ) ) );

It doesn't treat null as special, which is a mistake. As noted in the bug report, it produces the SQL output column IN ('value1','value2', NULL). This is wrong, and will not act as expected. The MySQL manual notes that you should "never mix quoted and unquoted values" for reasons having to do with comparison rules. I am not sure whether the aforementioned SQL is incorrect because of this or because of special NULL semantics, but nonetheless it is wrong.

What we actually want is column IN ('value1', 'value2') OR column IS NULL. This is particularly interesting because of certain optimizations with IS NULL. In other words, we want makeList() to treat null as special.

Dec 22 2014, 6:40 PM · Patch-For-Review, good first task, Wikimedia-Rdbms
blackops0057 added a comment to T50853: SQL: NULL in an IN-list should be written as OR.

Ok so basically we have to check if NULL is an element of the array 'a' and if a NULL is indeed present we must have a seperate case so that it removes the NULL from the IN output and makes it an OR output.

Dec 22 2014, 1:03 PM · Patch-For-Review, good first task, Wikimedia-Rdbms
blackops0057 added a comment to T50853: SQL: NULL in an IN-list should be written as OR.

Fixing this bug involves changing the function DatabaseBase::makeList(), which resides in includes/db/Database.php.

Dec 22 2014, 11:33 AM · Patch-For-Review, good first task, Wikimedia-Rdbms
blackops0057 added a comment to T50853: SQL: NULL in an IN-list should be written as OR.

Hi I'd like to work on this bug! How do i begin??

Dec 22 2014, 5:44 AM · Patch-For-Review, good first task, Wikimedia-Rdbms
blackops0057 added a comment to T35192: [mediawiki.feedback.js] Signature is sometimes displayed as preformatted text.

Hi I'd like to work on this bug. First time here. I have built the source code for core. How do i fix this bug?

Dec 22 2014, 5:43 AM · good first task, JavaScript, MediaWiki-Interface

Dec 20 2014

blackops0057 added a comment to T71928: Flow: the external link CAPTCHA for a reply appears in wrong place, doesn't work.
In T71928#936748, @Mattflaschen wrote:

HI I'd like to work on this bug. I'm a beginner. How do i begin fixing it? I have the source code ready

Do you have Flow set up to run locally yet? If not, try MediaWiki-Vagrant.

Also, you should join our IRC channel, #wikimedia-collaboration on Freenode (IRC web interface), if possible.

Dec 20 2014, 11:13 AM · good first task, StructuredDiscussions

Dec 19 2014

blackops0057 added a comment to T71928: Flow: the external link CAPTCHA for a reply appears in wrong place, doesn't work.

HI I'd like to work on this bug. I'm a beginner. How do i begin fixing it? I have the source code ready

Dec 19 2014, 6:09 PM · good first task, StructuredDiscussions
blackops0057 added a comment to T72070: Flow: Hidden topic summary.

What are the steps to reproduce this?

Dec 19 2014, 6:06 PM · good first task, StructuredDiscussions
blackops0057 added a comment to T72070: Flow: Hidden topic summary.
Dec 19 2014, 5:50 PM · good first task, StructuredDiscussions
blackops0057 added a comment to T18691: RFC: Section header "share" link.

Hi. I'm a beginner here and i was wondering if this bug was still open to take, Thanks

Dec 19 2014, 5:46 PM · Tech-Ambassadors, User-Jdlrobson, Platform Team Workboards (Clinic Duty Team), Patch-For-Review, TechCom-RFC, Design, MediaWiki-Interface