[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Amire80 added a comment. We deployed to over 150 wikis, and we ran into it in //some// gadgets in //some// wikis. Admins everywhere have been cooperative and updated the code. These gadgets use a lot of legacy code that needs a shake-up anyway :) TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Amire80 Cc: Nemo_bis, Pginer-WMF, Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Legoktm added a subscriber: Legoktm. Legoktm added a comment. In https://phabricator.wikimedia.org/T101934#1359539, @santhosh wrote: That script you are using assumes the page will always have a body content and tries to access it causing js error. Definitely the script need fix. This might be a silly question, but why does the special page not have body content? TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Amire80 added a comment. In https://phabricator.wikimedia.org/T101934#1359560, @MuhammadShuaib wrote: Actually when we activate this script/gadget https://ur.wikipedia.org/wiki/%D9%85%DB%8C%DA%88%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Gadget-HotCat.js on Urdu Wikipedia, get the blank page reported earlier here. Now we all have unchecked this gadget in prefs, and CX works fine, Thanks :) @MuhammadShuaib, I suggested a fix for HotCat here https://ur.wikipedia.org/wiki/%D8%AA%D8%A8%D8%A7%D8%AF%D9%84%DB%82_%D8%AE%DB%8C%D8%A7%D9%84_%D9%85%DB%8C%DA%88%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Gadget-HotCat.js/local_defaults, with which you should be able to use both HotCat and ContentTranslation. TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Amire80 Cc: Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Amire80 added a comment. In https://phabricator.wikimedia.org/T101934#1359957, @Pginer-WMF wrote: Having said that, I'm not sure what not have body content means. There is definitely content in Content Translation, and if marking it technically in some way helps, I don't have anything against it. An element with the id='content'. I occasionally consider adding id='content' to some element on Special:CX, but it won't really solve the problem, because after accessing the element the scripts usually do actions that depend on other elements inside it. Another commonly failing element is the search box (there is a search box on Special:CX, but it's completely different). TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Amire80 Cc: Pginer-WMF, Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Pginer-WMF added a comment. @Pginer-WMF probably has a deeper explanation. I have an explanation about the need of not using the standard layout (especially the left sidebar) for Content Translation. Since the translation process requires to access multiple content (the source and target articles as well as translation info from language tools such as dictionaries) we wanted to make the most use of the space for the translation process. The left sidebar is not of very much use when the user is focused on the translation process. Having said that, I'm not sure what not have body content means. There is definitely content in Content Translation, and if marking it technically in some way helps, I don't have anything against it. TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pginer-WMF Cc: Pginer-WMF, Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
Legoktm added a comment. Sorry, I was asking about Special:CXStats specifically, not Special:CX. Generally, it seems like we're going to run into this issue on every wiki for most gadgets, and it seems odd for all of those to have to special case one page that is doing non-standard things... TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: Pginer-WMF, Legoktm, santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
MuhammadShuaib added a comment. @Amire08 , I got the following error while visiting https://ur.wikipedia.org/wiki/Special:CXStats?debug=true Error: mediaWiki.Api instance needs to be provided Error arguments: undefined get stack: function getter() { [native code] } message: mediaWiki.Api instance needs to be provided set stack: function setter() { [native code] } type: undefined __proto__: ErrorPrototype And also Usertool bar and language popup window are displaying in LTR. TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MuhammadShuaib Cc: santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
MuhammadShuaib added a comment. Now we updated this above mentioned script and CX is working fine with script. TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MuhammadShuaib Cc: santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T101934: Blank page on Special:ContentTranslation
MuhammadShuaib added a comment. Actually when we activate this script/gadget https://ur.wikipedia.org/wiki/%D9%85%DB%8C%DA%88%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Gadget-HotCat.js on Urdu Wikipedia, get the blank page reported earlier here. Now we all have unchecked this gadget in prefs, and CX works fine, Thanks :) TASK DETAIL https://phabricator.wikimedia.org/T101934 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MuhammadShuaib Cc: santhosh, KartikMistry, Quiddity, Amire80, 2526, MuhammadShuaib, Aklapper, Nikerabbit, Wikidata-bugs, aude, Jsahleen, Arrbee ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs