Indic-TechCom/Requests/Archive/2020
Please do not post any new comments on this page. This is a discussion archive first created in 2020, although the comments contained were likely posted before and after this date. See current discussion. |
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Cleanup spam <nowiki/> introduced through Visual Editor editing
Spam text <nowiki/> was introduced while adding links through Visual Editor (example) needed.--Arjunaraoc (talk) 07:16, 24 December 2018 (UTC)
- Arjunaraoc More information needed--Jayprakash >>> Talk 19:21, 24 December 2018 (UTC)
- @User:Jayprakash12345, I have updated the the section title explained in more detail below.
- Problem
- Spam text <nowiki/> was introduced while adding links through Visual Editor (example) needed.--Arjunaraoc (talk) 07:16, 24 December 2018 (UTC)
- Solution
- Detect links such [[linkphrase]]<nowiki/> or [[linkphrase|visible_phrase]]<nowiki/> and remove the link and the suffix . Then the above text becomes linkphrase. Example fix.--Arjunaraoc (talk) 03:51, 25 December 2018 (UTC)
- @Arjunaraoc:, is this still a problem? How many articles are affected (any guess)? I am willing to implement an AWB fix. Winged Blades of Godric (talk) 19:32, 4 February 2019 (UTC)
- Also, you need to write better bug-reports, assuming that we may not be proficient in the language and will be viewing the problem through some algorithmic fashion. What I see in your linked manual fix is:-
"[[ఉదాహరణ వాజ్మయము|ఉదాహరణ]]<nowiki/>"
gives way to"వాజ్మయము"
(Exclude quotes)- Does that mean, every time there's a generic wiki-text of the form
"[[X Y|X]]<nowiki/>"
, it shall give way to"Y"
? (Exclude quotes)- Shall I ever expect encountering any other generic variants like
"[[X Y Z|X]]<nowiki/>"
or"[[X Y Z|Y]]<nowiki/>"
? or something entirely else?
- Shall I ever expect encountering any other generic variants like
- Does that mean, every time there's a generic wiki-text of the form
"[[ఇటుక]]<nowiki/>"
gives way to"ఇటుక"
(Exclude quotes)- Does that mean, every time there's a generic wiki-text of the form
"[[X]]<nowiki/>"
, it shall give way to"X"
? (Exclude quotes)
- Does that mean, every time there's a generic wiki-text of the form
- And, most importantly, how did this happen, at the first place? Winged Blades of Godric (talk) 19:46, 4 February 2019 (UTC)
- Thanks @Winged Blades of Godric for your response. This error happend due to a bug in Visual Editor some time back. We reported to the CIS team who offered to coordinate the action towards fixing it. I have not seen any response on that, but when I checked subsequently, the bug seems to have been fixed. We need to keep the visible phrase and remove the link syntax including link phrase if it is separate and the wikitext of </nowiki> following the link. Most of the links added in that manner were not sensible, as they were done by editor with inadequate skill of adding links. If you can restrict the correction to links that can be identified by a hanging </nowiki> preceded by internal link. I have no idea how many such errors are present. --Arjunaraoc (talk) 15:22, 5 February 2019 (UTC)
- @Winged Blades of Godric In order not to effect proper links done by skilled editors, it is acceptable just to remove the hanging </nowiki> tag.--Arjunaraoc (talk) 01:38, 6 February 2019 (UTC)
- Working, per the last option.Winged Blades of Godric (talk) 09:40, 9 February 2019 (UTC)
- @Winged Blades of Godric. Thanks for taking it up.--Arjunaraoc (talk) 10:28, 11 February 2019 (UTC)
- Working, per the last option.Winged Blades of Godric (talk) 09:40, 9 February 2019 (UTC)
┌───────────────────┘
I realized that the tag is self contained and cleaned up the tewiki myself , using info from https://phabricator.wikimedia.org/T107675 . Thanks Winged Blades of Godric for your willingness to support. Information on my learnings in Telugu with code links --Arjunaraoc (talk) 10:33, 16 July 2020 (UTC)
- Not done No one did over more than 1 year.--Jayprakash >>> Talk 22:11, 12 August 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Readable Books in Indic Wikisource
I need one stats tool for Wikisource, the example here, https://wikisource.org/wiki/Wikisource:Indic_Wikisource_Stats/2019_March/Readable_books, it is manually updated now.Jayantanth (talk) 20:01, 16 March 2019 (UTC)
- Jayantanth Ji, What is the exact meaning of 'Readable Books', I know I tried it sometime before. But I was unable to catch it. I think you consider the Category:Index Validated as Readable book. But many of Indic Wikisource is not maintaining this category. So let us consider an example bnwikisource has 50 and sawikisocure has 0 Readable Books in Category:Index Validated as sawikisocure not maintaining Category:Index Validated. But it does not mean that sawikisocure have any Readable Books. I will be done it once this concern resolve.--Jayprakash >>> Talk 12:28, 14 April 2019 (UTC)
- Jayantanth Ji, Waiting for your anwser :)--Jayprakash >>> Talk 12:29, 3 May 2019 (UTC)
- @Jayantanth: I have collected the data through script. is that you are looking for? https://tools.wmflabs.org/neechal/wsstats.html -Neechalkaran (talk) 07:24, 12 June 2019 (UTC)
- @Neechalkaran:, Many many thatnks. Thats what I needed. @Jayprakash12345:, Could you please represent as Sort able tabular format at https://tools.wmflabs.org/indic-wsstats/ only for Indic wikisource? I know that some of the Indic community have no such category, thats why the stats will show zero. @Jayprakash12345: and @Neechalkaran: please do it if possible. Jayantanth (talk) 07:41, 12 June 2019 (UTC)
- @Jayantanth: Now I have improved the format with sortable feature. -Neechalkaran (talk) 09:08, 13 June 2019 (UTC)
- @Neechalkaran:, Many many thatnks. Thats what I needed. @Jayprakash12345:, Could you please represent as Sort able tabular format at https://tools.wmflabs.org/indic-wsstats/ only for Indic wikisource? I know that some of the Indic community have no such category, thats why the stats will show zero. @Jayprakash12345: and @Neechalkaran: please do it if possible. Jayantanth (talk) 07:41, 12 June 2019 (UTC)
- Neechalkaran Thank you for working, But the above question is still remain. If I am not wrong then you just taking the languages category from langlinks of wikisource:en:Category:Index Validated. But it will not work for all. Go wikisource:sa:विशेषः:IndexPages, You will find there are many books that Index Validated. But according to your page sawikisource is not exist. and your page is showing the 0 stats for knwikisource. Please go through wikisource:kn:ವಿಶೇಷ:IndexPages. The problem will create when user or some community will report about us that we are representing wrong stats. that's why I have not done this yet. @ping Jayantanth Da.--Jayprakash >>> Talk 15:03, 13 June 2019 (UTC)
- @Jayprakash12345 and Jayantanth: If I am not wrong, this request is only for index validated books and not for indexed book. so whichever project has the category, will comeup in the stats. I suggest to create equivalent category in their languages(sanskrit and marathi). Jayantanth can clarify on the requirement.-Neechalkaran (talk) 16:33, 13 June 2019 (UTC)
- Done by Neechalkaran, https://tools.wmflabs.org/neechal/wsstats.html --Jayprakash >>> Talk 22:11, 12 August 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Twinkle menu errors on tewiki
Telugu Wikipedia is showing an erroneous rendering of Twinkle menu with TW duplicated and bullets against submenus (highlighted with red border int he enclosed picture). Jayprakash12345 and others, Please help in fixing this.--Arjunaraoc (talk) 06:56, 20 January 2020 (UTC)
- Arjunaraoc Ji, For removing the duplication of "TW", You have to replace the following code in w:te:మీడియావికీ:Gadget-Twinkle.js
if ( type === "menu" ) {
var span = document.createElement( "span" );
span.appendChild( document.createTextNode( text ) );
h5.appendChild( span );
var a = document.createElement( "a" );
a.href = "#";
span = document.createElement( "span" );
span.appendChild( document.createTextNode( text ) );
a.appendChild( span );
h5.appendChild( a );
}
to
if ( type === "menu" ) {
var span = document.createElement( "span" );
span.appendChild( document.createTextNode( text ) );
h5.appendChild( span );
var a = document.createElement( "a" );
a.href = "#";
$(a).click(function (e) {
e.preventDefault();
});
h5.appendChild( a );
}
- You can see in first code, Script is creating span two times. This is the cause of this.
- For second one, Put folowing code in w:te:MediaWiki:Vector.css
.vectorMenu ul {
list-style: none;
margin: 0;
}
--Jayprakash >>> Talk 21:21, 21 January 2020 (UTC)
- Thanks User:Jayprakash12345 for your help. I made the changes and the problem is now resolved.--Arjunaraoc (talk) 04:07, 22 January 2020 (UTC)
- Marked as resolved--Jayprakash >>> Talk 12:32, 22 January 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Twinkle menu error again on tewiki
Twinkle menu is appearing default as drop down at a wrong place and the subsequent search box is pulled down from the menu line and it is placed after twinkle's last menu on tewiki. Other admins also reported this problem on tewiki. I am unable to share a screenshot as commons upload and tewiki upload command is failing. I am using firefox 77.0.1(64bit) on ubunut 18.04 snap version, Request User:Jayprakash12345 to address it as high prioirty, as it is disrupting editing as well due to overlaid TW menu and wiki search box. --Arjunaraoc (talk) 05:21, 18 June 2020 (UTC)
- Please see the screenshot. --Arjunaraoc (talk) 09:35, 18 June 2020 (UTC)
- Hello @Arjunaraoc: and @Jayprakash12345:! I would like to bring to your notice that this is ongoing issue in several languages, also there was a phabrecator ticket created by Urdu user Hindustanilanguage. Here is the link for the same. Hope this helps the process. --Pavan santhosh.s (talk) 16:14, 18 June 2020 (UTC)
- It is fixed now with help from twinkle users at enwiki. check https://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle#tewiki_twinkle_needs_help--Arjunaraoc (talk) 11:56, 19 June 2020 (UTC)
- Thanks Arjunaraoc Ji for notifying us. Otherwise, I look it tonight.--Jayprakash >>> Talk 12:35, 19 June 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
User script for image
@Jayprakash12345: Is it possible to create a user script for w:en:Category:No local image but image on Wikidata and w:bn:বিষয়শ্রেণী:কোন স্থানীয় চিত্র নেই কিন্তু উইকিউপাত্তে আছে. Pages are in those category's dose not have image on Wikipedia but on Wikidata item have image, and we want that image on Wikipedi infobox. Regards, ZI Jony (Talk) 11:49, 25 July 2020 (UTC)
- ZI Jony Ji, Seems possible. I have started my work oldid=972593182. will let you known asap.--Jayprakash >>> Talk 22:40, 12 August 2020 (UTC)
- ZI Jony Ji, Done See InsertWikiDataImage, Tested on w:en:Special:Contributions/Jayprakash12345 and w:kn:Special:Contributions/Jayprakash12345.--Jayprakash >>> Talk 11:25, 13 August 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Objection about উইকিসংকলন:রবিমাস প্রতিযোগিতা ১৪২৭/ফলাফল in bn.wikisource.org
In the competition "উইকিসংকলন:রবিমাস প্রতিযোগিতা ১৪২৭" I have taken part and proofread more than 100 pages from these books named "নির্ঘণ্ট:শিশু ভোলানাথ-রবীন্দ্রনাথ ঠাকুর.djvu" and "নির্ঘণ্ট:কাব্যগ্রন্থ (প্রথম খণ্ড).djvu". But in the result of the competition উইকিসংকলন:রবিমাস প্রতিযোগিতা ১৪২৭/ফলাফল it is being seen that I have proofread only 11 pages. Specially in the full analysis of the competition managed by Indic-TechCom I have observed that 23th and 24th no. books (above mentioned) has been added according to the book list but proofread by me of those books has not been counted. Rishikesh Roy (talk) 15:48, 10 August 2020 (UTC)
- Rishikesh Roy Ji Done, The contest has been updated. Please visit https://indic-wscontest.toolforge.org/contest/22 again. The tool is running on the shared platform so we have some limitations. Also please avoid Objection like heavy and sharp words in future. we all are volunteers. Thank you :)--Jayprakash >>> Talk 22:02, 12 August 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Is it possible to add Indic-OCR to VisualEditor?
Hi,
Is it possible to explore adding Indic-OCR to VisualEditor on Page namespace on Wikisource? I found some documentation around adding a gadget to VE here: mw:VisualEditor/Gadgets/Add a tool. Thank you for looking into this.
--Satdeep Gill (talk) 10:26, 2 September 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Need help in creating Template:Episode table on Punjabi Wikipedia
Hi, I want to create {{Template:Episode table}} on Punjabi Wikipedia. I'd tried to create by copying from English Wikipedia but it didn't work out. --Jagseer S Sidhu (talk) 09:03, 6 September 2020 (UTC)
- @Jagseer S Sidhu: hope it will work well, please translate into Punjabi where necessary followed by this link. Regards, ZI Jony (Talk) 16:12, 6 September 2020 (UTC)
- Conformed by Jagseer S Sidhu on my talk page. Regards, ZI Jony (Talk) 13:51, 7 September 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Request to fix a problem on the main page of Punjabi Wikisource
Dear Indic-TechCom members,
Help us regarding an issue which we are facing on the main page of Punjabi Wikisource. The main page shows that there are 200 works on Punjabi Wikisource. It always shows "200" number. You can also see "Template:Main Page header". So, kindly help us to update "Template: ALL TEXTS". - Satpal (CIS-A2K) (talk) 09:01, 19 September 2020 (UTC)
- Doing... Regards, ZI Jony (Talk) 07:21, 20 September 2020 (UTC)
- Fixed, if I got more advance feature to add for it will do so. Regards, ZI Jony (Talk) 16:36, 26 September 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
About proofread counting on this competition
In the instruction page of this competition it was mentioned that, the competition would continue till 26 September 2020 23:59:59 UTC (India). According this time, I've proofread more than 205 pages on the last day of the competition but in the result page it was not counted. -- Rishikesh Roy (talk) 16:40, 29 September 2020 (UTC)
- Rishikesh Roy, the tool calculate time as UTC not IST. If that page saying the time calculated as Indian Standard time (IST), then organizers should set up time by adjusting IST and UTC. Regards, ZI Jony (Talk) 18:52, 29 September 2020 (UTC)
Sentence editing for wikisource
- Hello Jaiprakashji, Hope you had great fun in Diwali! and everything is well at your end.
- I was looking for different scripts to edit pages, and specially something like w:en:Wikipedia:Wikignome_gadget which enables us to edit without going through edit window. Importantly one can edit single sentences too. I thought this would be really useful on wikisource. But currently it's not working on wikisource. It only works on enwiki.
- Would you have a look at it and let me know if it's possible to get something like that for wikisource, which will allow us to edits single sentence. thanks QueerEcofeminist [they/them/their] 05:46, 18 November 2020 (UTC)
- @Jayprakash12345:, आशा करता हूं आपके यहां सब ठिक ठाक होगा, मैंने कुछ दिनों पहले यह विनंती की थीं और पुछा था की, क्या हम एक एक वाक्य इडिट करनेवाली स्क्रिप्ट विकिस्त्रोत के लिए ला सकतें हैं? क्योंकी यह स्क्रिप्ट विकिस्त्रोत के लिए ठिकसे काम नहीं करतीं. आपको जैसा वक्त मिलें आप यह जांचकर मुझे बता दिजीये. धन्यवाद. QueerEcofeminist [they/them/their] 05:55, 8 December 2020 (UTC)
- QueerEcofeminist I'll try to take a look and see if I can get it working... :) Sohom Datta (talk) 19:27, 8 December 2020 (UTC)
- @Sohom data:, thanks for offering your help, I am eagerly waiting for updates. See it's working but, I think it's the size of edit box which needs to be fixed for wikisource. thanks and regards. QueerEcofeminist [they/them/their] 05:56, 12 December 2020 (UTC)
- QueerEcofeminist I'll try to take a look and see if I can get it working... :) Sohom Datta (talk) 19:27, 8 December 2020 (UTC)
- @Jayprakash12345:, आशा करता हूं आपके यहां सब ठिक ठाक होगा, मैंने कुछ दिनों पहले यह विनंती की थीं और पुछा था की, क्या हम एक एक वाक्य इडिट करनेवाली स्क्रिप्ट विकिस्त्रोत के लिए ला सकतें हैं? क्योंकी यह स्क्रिप्ट विकिस्त्रोत के लिए ठिकसे काम नहीं करतीं. आपको जैसा वक्त मिलें आप यह जांचकर मुझे बता दिजीये. धन्यवाद. QueerEcofeminist [they/them/their] 05:55, 8 December 2020 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.