===Profile Information
Name :Prince
Email :kushwahaprince418@gmail.com
University :Krishna engineering college, Ghaziabad, Uttar Pradesh
Github Link :https://github.com/Prince-kushwaha
Linkedin :https://www.linkedin.com/in/prince-kushwaha-bb80a8198/
Zulip username :prince
Location during GSoC: Gurugram, Harayana, India
Typical working hours (include your timezone) : Between 9 pm to 1 am UTC +5:30
==Possible Mentor(s)
@Mike_Peel
====Synopsis
Almost 4 million category pages on Wikimedia Commons use the [[https://commons.wikimedia.org/wiki/Template:Wikidata_Infobox|Wikidata Infobox template]], which is not implemented efficiently: Previewing a category page can take several seconds—long enough to be annoying. This project aims to address this problem by rewriting the infobox in [[https://en.wikipedia.org/wiki/Wikipedia:Lua|Lua]].
@Mike_Peel is the mentor for this project.
====Implementation Ideas
Currently, the infobox requests the values for certain Wikidata properties individually, resulting in hundreds of calls to Lua modules. Since the infobox needs almost everything from the connected Wikidata item, I am planning to write a Lua module that fetches this data in a single request using [[https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_lua.html|mw.wikibase.getEntity]]. A similar infobox, [[https://www.wikidata.org/wiki/Module:Databox|Module:Databox]] uses this approach successfully: It even processes [[https://www.wikidata.org/wiki/Q87483673|"COVID-19 pandemic in Colombia"]] (one of the biggest Wikidata items) quickly.
====Timeline
If I manage to complete any task ahead of schedule, I will start working on the next task. In that case, the left-over time at the end of the project will be used to fix bugs reported on the talk page, such as [[https://commons.wikimedia.org/wiki/Template_talk:Wikidata_Infobox#'none'_values_in_Wikidata_break_this_template|'none' values breaking the template]].
=====May 20 – June 12 (Community Bonding Period)
* Figure out how to communicate and work together effectively.
* Discuss how to handle Wikidata items with dozens of values for a single property (as seen on [[https://commons.wikimedia.org/wiki/Category:LibreOffice|Category:LibreOffice]]).
* Write Lua functions that fetch content from Wikidata.
* Document these functions so that Mike Peel and others can easily use them to extend the infobox.
===== June 13 – July 10 [4 weeks]
* Rewrite most property requests in Lua, many of which look like `{{#invoke:Wikidata Infobox|formatLine|P196| {{#invoke:WikidataIB|getValue|P196|…}} }}` and can easily be rewritten. The other requests are more complex; porting those will take some time. [3 weeks]
* Test and deploy the new property requests. Fix bugs reported by the community. [1 week]
=====July 11 – July 31 [3 weeks]
* Port features from old infobox: Label, description, images, and sitelinks (displayed at the top of the infobox). [2 weeks]
* Test and deploy those features. Fix bugs reported by the community. [1 week]
* Phase 1 Evaluation [July 25 – July 29]
=====August 1 – August 21 [3 weeks]
* Port a feature from old infobox: Automatic categorization (autocat). [2 weeks]
* Test and deploy autocat. Fix bugs reported by the community. [1 week]
=====August 22 – September 4 [2 weeks]
* Port features from old infobox: Authority control and helper links (displayed at the bottom of the infobox) [1 week]
* Test and deploy those features. Fix bugs reported by the community. [1 week]
=====September 5 – September 12 [1 week]
The code should look like this now (massively simplified):
```name=Template:Wikidata Infobox/core, lang=html
{{#invoke:Wikidata Infobox|autocat}}
<table class="infobox">
{{#invoke:Wikidata Infobox|header}}
{{#invoke:Wikidata Infobox|properties}}
{{#invoke:Wikidata Infobox|footer}}
</table>
```
* Rewrite it so that it invokes `Wikidata Infobox` only once for maximum performance.
* Call for feedback from the community ("Tell us how the new infobox looks on your favorite categories!")
* Submit finished project and final mentor evaluation.
=====Sept 12 - Sept 19
- Final Evaluation.
====Participation
I will publish my code on sandbox pages ([[https://commons.wikimedia.org/wiki/Module:Sandbox/Module:Wikidata_Infobox|here]] and [[https://commons.wikimedia.org/wiki/User:LennardHofmann/sandbox/Template:Wikidata_Infobox|here]] to be precise; this should allow us to test the new module on any category using [[https://commons.wikimedia.org/wiki/Special:TemplateSandbox|Special:TemplateSandbox]]). I will stay in contact with Mike Peel on Zulip. For proposing changes to the template that need to be discussed in a larger group, I will resort to the [[https://commons.wikimedia.org/wiki/Template_talk:Wikidata_Infobox|template's talk page]]. I will write bi-weekly blog posts documenting my progress.
===About Me
I am Thrid year student, pursuing B.tech in Computer Science and Engineering from Krishna engeering College , Ghaziabad, Uttar Pradesh
I love Android Development and I have been doing it for the past one years. I am also a strong supporter of open source and I love contributing to it. I have contributed to the Commons Android app since october 2020.
I am an active member of Website and software development cell the official website and app development team of the institute.
I am also completed Web Development course from Udemy :Certificated
===Past Experience
I am love android Development and contributing to the open source projects
I am also doing web web development using node js,Flask/Django
**Projects**
[[ https://github.com/Prince-kushwaha/Condut/tree/master | Medium Website Clone - ]] Make a clone of the renowned blog app Medium. To build this project used a backed API called realworld.io. In the app, you can log in/sign up and write a blog, and read others' blogs.
# Used Retrofit and Gson for API calls
# Used Junit for tests
# Used LiveData and ViewModel
# Used Navigation Architecture
[[ https://github.com/Prince-kushwaha/Weather-app | Weather app- ]] This app helps you see the weather forecast of your favorite cities.
# API calls using volley library.
# Notification
# Used content provider.
- [[ https://github.com/Prince-kushwaha/TodoListWebapplication | Todo Website]] :
# html/css/javascript
# React
# Node js
- [[ https://github.com/Prince-kushwaha/Blog-Website | Blog -website ]]:
#html/css/javascript
#React
#Node js
#mysql database
**Other Skills** - Developing Websites (Frontend and Backend) using HTML, CSS, Javascript, Python and NodeJs, MongoDB ,Flask,Django,Mysql
I have hands-on experience working on a range of projects that utilize data science concepts clustering, hypothesis testing, ranking, regression, and SVM as part of my "Fundamentals of Data Science" course I attended in my college. As part of the course, I got to work with tools like Numpy, Pandas, Matplotlib, Seaborn, Plotly, and Bokeh, allowing me to quickly ramp up to Wikimedia's development ecosystem.
Through the "Big Data" course I attended in my college and as part of working as a Software Engineer in a huge organization, I got the opportunity to explore and work on big data tools in the Apache Hadoop ecosystem such as MapReduce, Hive, and Pig.
**Describe any open source projects you have contributed to as a user and contributor**
===Contributions to Wikimedia commons app
**PULL request create: 29
Meged Pull Reques :25**
[[ https://github.com/commons-app/apps-android-commons/pulls?q=is%3Aclosed+is%3Apr+author%3APrince-kushwaha+| Merged Pull Request ]]
[[ https://github.com/commons-app/apps-android-commons/commits?author=Prince-kushwaha | My commits ]]
[[ https://github.com/commons-app/apps-android-commons/pulls/@me| Not Merge Pull Request]]
**Pull Request**
|--- |--- |--- |--- |--- |
|**PR Number**|**Title**|**Status**|** Issue Number **|
|[[ https://github.com/commons-app/apps-android-commons/pull/4325| #4325]]| fix:Setting Language list is not an language list which is supported by Commons for caption and description|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4321| #4321]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4306| #4306]]| fix:App should respect device font-size |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4299| #4299]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4274| #4274]]|Explore Search: No title bar for item, non-existent menu for item, wrongly-worded menu for category|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4271| #4271]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4176| #4176]]|click on skip button in Peer Review after orientation change then app is crashed|Merged| [[ https://github.com/commons-app/apps-android-commons/issues/4143|#4143]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4233| #4233]] | app crash in CategoryDetailsActivity when click on any media (image or video)| Merged| [[ https://github.com/commons-app/apps-android-commons/issues/#4196| #4196]] |
|[[ https://github.com/commons-app/apps-android-commons/pull/4267| #4267]]|when app theme is Dark then CategoryDetailsActivity ,SearchActivity ,WikidataItemDetalActivity, Profile Activity Toolbar color is not change to dark |Merged| [[ https://github.com/commons-app/apps-android-commons/issues/4252| #4196]] |
| [[ https://github.com/commons-app/apps-android-commons/pull/4188| #4188]] | fix-Incomplete Nearby List shown in Landscape mode|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/#4196| ##4196]]
|[[ https://github.com/commons-app/apps-android-commons/pull/4202| #4202]] | fixes-Failed to send thanks" notification, but thank actually sent successfully|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/| #3559]] |
| [[ https://github.com/commons-app/apps-android-commons/pull/4204| #4204]] |Upload count does not get updated right away post successful upload |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/3559| #3559]]|
| [[ https://github.com/commons-app/apps-android-commons/pull/4104| #4104]] |Repull request of fixes #4081 App is crash when Backbutton is pressed |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4081| #4081]]|
| [[ https://github.com/commons-app/apps-android-commons/pull/4139| #4139]]| Crash when tapping on the nearbyNotification in Contributions activity|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4086| #4086]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4102| #4102]]| fixes In nearby tab when back button is pressed nothing happen(#4096) |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4096| #4096]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4103| #4103]]| fix bug #4101 In MediaDetailfragment Editext Dailog is Blank in Dark mode|Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4101| #4101]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4074| #4074]]| fixes After click on the image app is crashed (#4072) |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4042| #4042]]|
| [[ https://github.com/commons-app/apps-android-commons/pull/4028| #4028]]| fixes Progress Bar Visibility change with Orientation Change and login process terminated |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4086| #4086]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4041| #4041]]| fixes #4026 (words cut off ) |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/4026| #4026]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/3982| #3982]]|Losing filled data when screen rotate (#3973) |Merged|[[ https://github.com/commons-app/apps-android-commons/issues/3973| #3973]]|
|[[ https://github.com/commons-app/apps-android-commons/pull/4100| #4100]]| fixes #2296 After canceling a sharing, application goes back to the search menu |Pending|[[ https://github.com/commons-app/apps-android-commons/issues/2296| #2296]]|
===Contributions to AnkiAndroid App
**PULL request create: 25
Merged Pull Request :23**
[[ https://github.com/ankidroid/Anki-Android/pulls?q=is%3Aclosed+is%3Apr+author%3APrince-kushwaha+ | My Merged PR ]]