Page MenuHomePhabricator

Anmolkalia (Anmol Kalia)
Student, IIT Guwahati

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Aug 2 2015, 4:27 PM (224 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Anmolkalia [ Global Accounts ]

Recent Activity

Jan 26 2016

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

@Anmolkalia are you still doing this ? Can I continue it or take over if you've stopped ?

Jan 26 2016, 1:50 PM · wikimedia.biterg.io

Nov 8 2015

Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Nov 8 2015, 9:15 AM · wikimedia.biterg.io, Outreachy-Round-11

Oct 29 2015

Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 29 2015, 7:50 AM · wikimedia.biterg.io, Outreachy-Round-11

Oct 28 2015

Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 28 2015, 1:56 PM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 28 2015, 1:47 PM · wikimedia.biterg.io, Outreachy-Round-11

Oct 27 2015

Anmolkalia added a comment to T116733: Outreachy Proposal for Improving MediaWikiAnalysis.

@jgbarah, @Dicortazar, please suggest improvements in the proposal. Thank you.

Oct 27 2015, 10:30 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:29 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:21 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).
Oct 27 2015, 10:19 AM · wikimedia.biterg.io
Anmolkalia claimed T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:15 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:11 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia updated the task description for T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:08 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia moved T116733: Outreachy Proposal for Improving MediaWikiAnalysis from Backlog to Proposals Submitted on the Outreachy-Round-11 board.
Oct 27 2015, 10:07 AM · wikimedia.biterg.io, Outreachy-Round-11
Anmolkalia created T116733: Outreachy Proposal for Improving MediaWikiAnalysis.
Oct 27 2015, 10:06 AM · wikimedia.biterg.io, Outreachy-Round-11

Oct 25 2015

Anmolkalia updated the task description for T116509: Data Analytics toolset for MediaWikiAnalysis.
Oct 25 2015, 4:26 PM · wikimedia.biterg.io
Anmolkalia updated the task description for T116509: Data Analytics toolset for MediaWikiAnalysis.
Oct 25 2015, 4:24 PM · wikimedia.biterg.io
Anmolkalia removed a project from T116509: Data Analytics toolset for MediaWikiAnalysis: Outreachy-Round-11.
Oct 25 2015, 6:02 AM · wikimedia.biterg.io
Anmolkalia updated the task description for T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).
Oct 25 2015, 3:06 AM · wikimedia.biterg.io
Anmolkalia created T116509: Data Analytics toolset for MediaWikiAnalysis.
Oct 25 2015, 3:05 AM · wikimedia.biterg.io

Oct 20 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

@jgbarah, I hope this is what you were looking for. https://github.com/anmolkalia/MediaWikiAnalysis/tree/new

Oct 20 2015, 12:31 PM · wikimedia.biterg.io

Oct 18 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

I'll get that done by tomorrow.

Oct 18 2015, 1:25 PM · wikimedia.biterg.io

Oct 17 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

So, I was able to correct the code. This is working fine now.

, I have solved all the bugs I came across.
I hope this works fine. Do let me know if something else is required.

Oct 17 2015, 12:52 PM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

I found a not so elegant solution to it. So the code is working fine now. I will try to come up with a better solution to the problem.

Oct 17 2015, 6:50 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Alright, so that encoding problem is also there in the old code. I a trying to figure out why.

Oct 17 2015, 6:32 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Okay, I was able to fix that. The databases are exactly the same. So, there is no problem with storage of the data.

Oct 17 2015, 5:27 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi @jgbarah. I compared the databases obtained with the original code and the one I updated. The values getting updated in the databases are the same. The difference is when I use "SELECT * FROM mwdb.wiki_pages WHERE title NOT IN (SELECT title FROM mdb.Wiki_pages);", I get "ERROR 1267 (HY000): Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='". So there is some problem with the collation of the tilte column. I will try to find a workaround.

Oct 17 2015, 4:35 AM · wikimedia.biterg.io

Oct 15 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

There seems to be a problem with the print statement in the insert_page function, line 101. It seems to be working if I am using only pageid in the print statement.

What do you mean here exactly? In your code I read:

print (pageid+" "+ namespace + " " + title+" was already in the db")

Do you mean that

print (" "+ namespace + " " + title+" was already in the db")

doesn't work or what?

Oct 15 2015, 6:30 PM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

In fact, after a while, I get an error with your code:

$ python mediawiki_analysis.py --database mdb --db-user jgb --db-password XXX --url https://www.wikipedia.org/w
None
Namespaces query: https://www.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml
Traceback (most recent call last):
  File "mediawiki_analysis.py", line 290, in <module>
    else: process_all(cursor)
  File "mediawiki_analysis.py", line 260, in process_all
    process_all_namespace(cursor, ns)
  File "mediawiki_analysis.py", line 235, in process_all_namespace
    con.commit()
NameError: global name 'con' is not defined

Which seems reasonable to me, because in that line, you reference to "con", but it seems there is no "con" defined at that point. Maybe you should refer "cursor"?

Oct 15 2015, 6:28 PM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi, @jgbarah, I am getting that error if I run the code again, basically when the database already contains the values that are being retrieved. Meaning, the print statements in the except part of insert_page function is giving this error. I'll go through what you sent and get back to you. Thank you for the help.

Oct 15 2015, 6:24 PM · wikimedia.biterg.io

Oct 11 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

There seems to be a problem with the print statement in the insert_page function, line 101. It seems to be working if I am using only pageid in the print statement.

Oct 11 2015, 10:00 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi, @jgbarah, I made the changes in the files.

, I am getting this error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)" when I run "./mediawiki_analysis.py --database mdb --db-user root --url https://www.wikipedia.org/w" . I am trying to figure out why. It has something to do with the utf-8 encoding.

Oct 11 2015, 9:34 AM · wikimedia.biterg.io

Oct 7 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi, @jgbarah, I am facing a problem in running the original mediawiki_analysis.py. I am writing this in the terminal "./mediawiki_analysis.py --database mwdb --db-user root --url https://en.wikipedia.org/w" and getting "./mediawiki_analysis.py:141: Warning: Out of range value for column 'date' at row 1". What should I do about it. The values in the table seem to be getting updated though

Oct 7 2015, 7:24 AM · wikimedia.biterg.io

Oct 6 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi, @jgbarah, this is the what the mapping file looks like. Let me know if this is fine.

Oct 6 2015, 8:56 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Hi, I have a doubt. The dbms we will be using in the backend is till MySQL, right? So, I should continue using MySQL datatypes? Sibyl seems to be using mysql.,

Oct 6 2015, 6:26 AM · wikimedia.biterg.io

Oct 5 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

Right, I am on it :)

Oct 5 2015, 4:46 PM · wikimedia.biterg.io

Oct 4 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

@jgbarah, I'll start with this one. Sounds engaging and I will get to learn plenty from it. So my task here would be to change the code in mediawiki_analysis.py to replace the usage of MySQLdb with SQLAlchemy?

Yes. Have fun!

Oct 4 2015, 10:49 AM · wikimedia.biterg.io

Oct 3 2015

Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

@jgbarah, I'll start with this one. Sounds engaging and I will get to learn plenty from it. So my task here would be to change the code in mediawiki_analysis.py to replace the usage of MySQLdb with SQLAlchemy?

Oct 3 2015, 2:58 AM · wikimedia.biterg.io

Oct 2 2015

Anmolkalia added a comment to T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).

@jgbarah, I went through the microtasks. They sound pretty good to me and sum up all of what we aim to do. So let us start with the one which can be completed in a month's time, because in order to be eligible for Outreachy, I need to finish atleast one microtask by 2nd November.

Oct 2 2015, 5:18 AM · wikimedia.biterg.io
Anmolkalia added a comment to T114437: Port MediaWikiAnalysis to SQLAlchemy.

@jgbarah, since I am supposed to complete atleast one microtask before the application deadline, I think this one can be done in that much time. Do you think I should start with this one?

Oct 2 2015, 5:15 AM · wikimedia.biterg.io

Oct 1 2015

Anmolkalia added a comment to T49492: Automatically propose/suggest a category for images.

Hi. I am new to image recognition, so I think this could be a great learning opportunity for me. I would really appreciate it if I could get some help understanding the scope of this project and also help me find mentors, or suggest how I could get in touch with possible mentors. I am interested in applying for this project in Outreachy 11, but if that doesn't work out, I think this would still be a really great learning opportunity for me and I would like to contribute to it nonetheless. Thanks.

Oct 1 2015, 5:50 PM · Technical-Tool-Request, Community-Tech (2015-2017), Wikimedia-Hackathon-2017, Community-Wishlist-Survey-2016, Contributors-Team
Anmolkalia added a comment to T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).

Hi @jgbarah, I went through the MediaWiki API documentation and understood the code in mediawiki_analysis.py. I was able to understand most of what I read. Since it was a lot of information to go absorb, I am considering going through both once more and document the exact information that mediawiki_analysis.py is capable of mining and also, what all can potentially be mined from the API and share it here.
Also, as for organizing the data in a database, I noticed that the code creates a relational database containing three tables, one for wiki_pages_revs, another for wiki_pages and one for people. What schema we finally choose for our database should depend on what information we think is useful and finally extract. So that will also follow the above suggested documentation process.
Do you have anything else in mind or should I go ahead with this? Thanks.

Oct 1 2015, 5:32 PM · wikimedia.biterg.io

Sep 30 2015

Anmolkalia added a comment to T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).

@jgbarah, thank you for the guidance. I am on it. Thanks.

Sep 30 2015, 9:49 AM · wikimedia.biterg.io

Sep 29 2015

Anmolkalia added a comment to T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).

Hi @Aklapper. That sounds very encouraging :) I recently made a small contribution to the android Wikipedia App, so I do have some idea of how to start with the development work. As far as this project is concerned, I am especially interested in this because I am very interest in working on Information Retrieval. But I am not able to find documentation pertaining to the tools in question so I am not sure where to begin. Please let me know if you have some pointers on how I should start. Thanks.

Sep 29 2015, 10:22 AM · wikimedia.biterg.io
Anmolkalia added a comment to T49492: Automatically propose/suggest a category for images.

Hi. I think this project is very interesting. I want to work on this in the upcoming round of Outreachy and I want to know what is expected out of me in terms of the skills and background knowledge required. Please let me know how I can contribute. Thanks.

Sep 29 2015, 8:09 AM · Technical-Tool-Request, Community-Tech (2015-2017), Wikimedia-Hackathon-2017, Community-Wishlist-Survey-2016, Contributors-Team
Anmolkalia added a comment to T89067: Pywikibot: Implement support for a large core MediaWiki component or extension deployed to Wikimedia sites.

Hi. This sounds pretty interesting and I would like to contribute to this project in the upcoming round of Outreachy. Please let me know what material I can look up for background knowledge. I have functional knowledge of Python so I feel I will be able to make some worthwhile contributions to this task. Thanks.

Sep 29 2015, 7:48 AM · Outreach-Programs-Projects, Pywikibot
Anmolkalia added a comment to T94223: Add wikitext support for citoid for automatic reference insertion.

Hi. I would like to contribute to this in the upcoming round of Outreachy and hence I would like to understand more about basic background knowledge and skills required for this project. Please let me know how I can contribute. Thanks.

Sep 29 2015, 7:34 AM
Anmolkalia added a comment to T89135: Misc. improvements to MediaWikiAnalysis (which is part of the MetricsGrimoire toolset).

Hi, I would like to know more about this project. I will go through the links in the description to gain a rough background of what needs to be done. I think I would like to work on this as a part of @Outreachy-Round-11 once I have a better understanding of what is expected of it, and if not through Outreachy, I would be more than happy to contribute outside of it as well. Thanks.

Sep 29 2015, 6:22 AM · wikimedia.biterg.io
Anmolkalia added a comment to T87598: Create a CAPTCHA that is also a useful micro edit.

Hi, I would like to know more about this project and what goals it wishes to accomplish. I think I would like to work on it as a part of @Outreachy11 once I have a better understanding of what is expected of it. Thanks.

Sep 29 2015, 6:10 AM · Wikisource, Contributors-Team, ConfirmEdit (CAPTCHA extension), MediaWiki-Developer-Summit-2015

Sep 11 2015

Anmolkalia committed rAPAW17367e9652e2: Network error message updated (authored by Anmolkalia).
Network error message updated
Sep 11 2015, 2:06 PM

Sep 9 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

Hi @Dbrant. I was caught up in organising the tech-fest in my college the past few days and never got a chance to submit the code on gerrit. I'll get it done by tonight. Really sorry for the inconvenience.

Sep 9 2015, 12:51 PM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 24 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

@Dbrant, what should I do next? Submit the code on gerrit? Thanks.

Aug 24 2015, 3:27 PM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog
Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

@Dbrant, I managed to run the app and also change the error message. Let me know if this works fine. http://i.imgur.com/dOn6JTJ.png. Thanks.

Aug 24 2015, 5:32 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 21 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

Gradle sync is failing for me. I am unable to figure out why. I have also adjusted the proxy settings. But there still seems to be a problem.,

Aug 21 2015, 9:31 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog
Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

@Dbrant, I am getting these errors http://i.imgur.com/l4mOpAJ.png when I am importing. I am working behind a proxy. I just simply imported the project and imported the ide proxy settings to this project, but it is showing the same errors.

Aug 21 2015, 9:02 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 19 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

@Dbrant, I am facing these errors on building. Here is a screenshot. I went through http://i.imgur.com/l4mOpAJ.png. Where do I get information regarding setting up the development environment? Thank you very much for your help.

Aug 19 2015, 11:05 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 18 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

Hi @Deskana. I was able to find that string and replace it, but I am facing errors such as "Failed to resolve: junit:junit:4.12" so haven't been able to test the app. I will try to resolve these, but I guess simply replacing the value of the string "error_network_error" with "Can't connect to the internet" should be able to solve the purpose.

Aug 18 2015, 5:19 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 17 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

@Deskana, I am on it :) I am facing some problem using ssh "git clone ssh://<USERNAME>@gerrit.wikimedia.org:29418/apps/android/wikipedia". I am getting the following error "ssh: Could not resolve hostname gerrit.wikimedia.org: Name or service not known". I am trying to resolve it. I'll let you know once it is done. Thanks.

Aug 17 2015, 10:24 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 15 2015

Anmolkalia added a comment to T106781: Make error message displayed to user during network error more helpful and less technical.

Hi. I am a new contributor and I would like to contribute to this. Since I am new around here, I would need a bit of a background as to what is exactly required and what tools need to be used for the same. Please let me know how to proceed further. Thank you.

Aug 15 2015, 8:11 AM · Mobile-App-Sprint-65-Android-Terbium, good first bug, Wikipedia-Android-App-Backlog

Aug 12 2015

Anmolkalia added a comment to T89902: Mediawiki-Vagrant provisioning fails, choking on Composer run.

I am facing the same problem. Were you able to find a solution?

Aug 12 2015, 7:58 AM · MediaWiki-Vagrant