Hi @Abhinay76 :)
to solve the gulp not recognised error you can install gulp globally(npm install -g gulp)
Also, kindly join the zulip chat if you haven't already to ask questions related to setting up project environment https://wikimedia.zulipchat.com/#narrow/stream/274201-gsoc21-outreachy22
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 5 2021
Feb 20 2021
Feb 10 2021
@Jdrewniak I've read the documentation and now I have a better understanding of how strings are translated :)
I guess this the Ajax request that you have mentioned in the documentation.
l10nReq = new XMLHttpRequest(); l10nReq.open( 'GET', encodeURI( 'portal/wikipedia.org/assets/l10n/' + primaryLang + '-' + translationsHash + '.json' ), true );
I've added class="jsl10n" data-jsl10n="app-links.url" to the app link cause in function replacel10nText( info ) we are selecting and replacing strings of that class with the translations
Feb 8 2021
@Aklapper I've created a patch, please review it :)!
Feb 7 2021
(I) I've added <title> tag to the svg element, since svg is in the anchor tag, for accessibility.
(2) rel="noreferer"
Is this correct or shall I add or change anything before I create a patch?
Thanks a lot! :) I'll try other tasks.
Feb 6 2021
Hi, @Aklapper @Jdrewniak
I've added those 2 languages manually in index.html
But later I've realized that index.html is added to the .gitignore file 😅
So I went through the remaining files(codes)
In the code, java script functions(controller.js and other) were written so that a language appears automatically on the main page based on the data. But the data(ie the .json files) of these two languages isn't there in the l10 folder and cannot be added manually.
I didn't understand from where the data is generated. 😅
Is there any other approach to solve this task?
Feb 5 2021
Hi @Jdrewniak ,
I'm vaishnavi, I'm a student interested in participating in outreachy / gsoc
I would like to contribute to wikimedia/portals. I'm new to open source and I'm keen to learn.
I have cloned the portals repository, started the server(using npm start) and got the following result.
These were some of the errors that i've got while running npm install command
(1)
but this error got solved when I installed phantomjs-prebuilt@2.1.16 manually
(2) I got "gulp not recognized error" but it got solved when I added "C:\Users\Vaishnavi\AppData\Roaming\npm" to path in environment variables