Page MenuHomePhabricator

GSoC 2022 Proposal: Rewrite the Wikidata Infobox on Commons in Lua
Closed, DeclinedPublic


Profile Information

Name :Prince


University :Krishna engineering college, Ghaziabad, Uttar Pradesh

Github Link :

Github Username :Prince-kushwaha

Linkedin :

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)



Almost 4 million category pages on Wikimedia Commons use the 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 Lua.


we know that infobox requests the values for certain Wikidata properties individually,that resulting into hundreds time calls to Lua modules. we know that the infobox needs almost everything from the connected Wikidata item, so i am planning to write a Lua module that fetches this data in a single request using mw.wikibase.getEntity.
Module:Databox is infobox which use similar approach and fetch the data in the single request

May 20 – June 12 (Community Bonding Period)
  • Discussion with mentors regarding the features which have been planned .
  • Fix the Bugs
  • I will also be planning the workflow of all the features
  • Writing Lua functions that fetch content from Wikidata.
June 13 – July 10
  • We have to rewrite all property requests in Lua, it is easy to rewritten them in Lua . The other requests are more complex so that porting them will take some time
  • extensively test the features and fix the Bugs
  • Code refactoring
  • Deploy those features
  • write blogs and documenting my progress
July 11 – July 31
  • we have to port features from old infobox like :label, description, images, and sitelinks (displayed at the top of the infobox).
  • extensively test the features and fix the Bugs
  • Code refactoring
  • Deploy those features
  • write blogs and documenting my progress
  • Phase 1 Evaluation [July 25 – July 29]
August 1 – August 21
  • we have to port a feature from old infobox like: Automatic categorization (autocat)
  • extensively test the features and fix the Bugs
  • Code refactoring
  • Deploy those features
  • write blogs and documenting my progress
August 22 – September 4
  • we have to port features from old infobox like : Authority control and helper links (displayed at the bottom of the infobox)
  • extensively test the features and fix the Bugs
  • Code refactoring
  • Deploy those features
  • write blogs and documenting my progress
September 5 – September 12
  • we have to rewrite it so that it invokes Wikidata Infobox only once for maximum performance.
  • extensively test the features and fix the Bugs
  • Code refactoring
  • Deploy those features
  • write blogs and documenting my progress

The code should look like this now (massively simplified):

Template:Wikidata Infobox/core
{{#invoke:Wikidata Infobox|autocat}}
<table class="infobox">
 {{#invoke:Wikidata Infobox|header}}
 {{#invoke:Wikidata Infobox|properties}}
 {{#invoke:Wikidata Infobox|footer}}
Sept 12 - Sept 19
  • Final Evaluation.
  • write blogs and documenting my progress

I will publish my code on sandbox pages (here and here to be precise; this should allow us to test the new module on any category using 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 template's talk page. I will write bi-weekly blog posts documenting my progress.

About Me

I am Thrid year student, pursuing 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


Medium Website Clone - Make a clone of the renowned blog app Medium. To build this project used a backed API called In the app, you can log in/sign up and write a blog, and read others' blogs.

  1. Used Retrofit and Gson for API calls
  2. Used Junit for tests
  3. Used LiveData and ViewModel
  4. Used Navigation Architecture

Weather app- This app helps you see the weather forecast of your favorite cities.

  1. API calls using volley library.
  2. Notification
  3. Used content provider.
  • 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.

Open Souce Contribtutions

Contributions to Wikimedia commons app

PULL request create: 29
Meged Pull Reques :25

Merged Pull Request

My commits

Not Merge Pull Request

Pull Request

PR NumberTitleStatus Issue Number
#4325fix:Setting Language list is not an language list which is supported by Commons for caption and descriptionMerged#4321
#4306fix:App should respect device font-sizeMerged#4299
#4274Explore Search: No title bar for item, non-existent menu for item, wrongly-worded menu for categoryMerged#4271
#4176click on skip button in Peer Review after orientation change then app is crashedMerged#4143
#4233app crash in CategoryDetailsActivity when click on any media (image or video)Merged#4196
#4267when app theme is Dark then CategoryDetailsActivity ,SearchActivity ,WikidataItemDetalActivity, Profile Activity Toolbar color is not change to darkMerged#4196
#4188fix-Incomplete Nearby List shown in Landscape modeMerged##4196
#4202fixes-Failed to send thanks" notification, but thank actually sent successfullyMerged#3559
#4204Upload count does not get updated right away post successful uploadMerged#3559
#4104Repull request of fixes #4081 App is crash when Backbutton is pressedMerged#4081
#4139Crash when tapping on the nearbyNotification in Contributions activityMerged#4086
#4102fixes In nearby tab when back button is pressed nothing happen(#4096)Merged#4096
#4103fix bug #4101 In MediaDetailfragment Editext Dailog is Blank in Dark modeMerged#4101
#4074fixes After click on the image app is crashed (#4072)Merged#4042
#4028fixes Progress Bar Visibility change with Orientation Change and login process terminatedMerged#4086
#4041fixes #4026 (words cut off )Merged#4026
#3982Losing filled data when screen rotate (#3973)Merged#3973
#4100fixes #2296 After canceling a sharing, application goes back to the search menuPending#2296

Contributions to AnkiAndroid App

PULL request create: 25
Merged Pull Request :23

My Merged PR
My commits to ankiAndroid

Event Timeline

Prince418 renamed this task from Rewrite the Wikidata Infobox on Commons in Lua to GSoC 2022 Proposal: Rewrite the Wikidata Infobox on Commons in Lua.Apr 18 2022, 2:50 PM
Prince418 updated the task description. (Show Details)

@Prince418: The entire proposal has been plagiarized/stolen from T305869. This is not acceptable.

See also T306335#7861931

This comment was removed by srishakatux.

@Aklapper @srishakatux sorry i do not know copying and pasting is against the rules of the program
i Update this Proposal according to my project idea and Timeline

@Aklapper @srishakatux I updated my proposal with my idea and timeline can i submit this proposal to google program website ?
give one chance i am contributed to wikimedia common app from one year

Gopavasanth added a subscriber: Gopavasanth.

@Prince418 We are sorry to say that we could not allocate a slot for you this time. Please do not consider the rejection to be an assessment of your proposal. We received over 75 quality applications, and we could only accept 10 students. We were not able to give all applicants a slot that would have deserved one, and these were some very tough decisions to make. Please know that you are still a valued member of our community and we by no means want to exclude you. Many students who we did not accept in 2021 have become Wikimedia maintainers, contractors and even GSoC students and mentors this year!

Your ideas and contributions to our projects are still welcome! As a next step, you could consider finishing up any pending pull requests or inform us that someone has to take them over. Here is the recommended place for you to get started as a newcomer:

If you would still be eligible for GSoC next year, we look forward to your participation