Again sorry to bother, and thanks before hand.
Again sorry to bother, and thanks before hand.
I am pretty sure I know what is wrong, but just out of curiosity, when was this screenshot taken? How long have you had this problem?
I am actually getting anywhere from 1 to 3, which is really odd. Anyways, I suspect the problem is this script which, as far as I can tell, is an older script that is supposed to do something similar. I would suggest no longer using this script since it also appears to have a few other issues (ex. doesn't generate proper link for VisualEditor). Although, I am not entirely sure since there is a lot to sort through and not a whole lot of comments to indicate intentions. Either way, this is the one that should probably be dropped. It is being imported via your MediaWiki:Common.js.
Why do I think it is this script? Well, I noticed that I never get multiple buttons using Internet Explorer. Internet Explorer is not compatible with VisualEditor so Wikia removes that edit option. Jgjake2's script checks for this edit option and exits if it isn't found. So what I think is going on is that TabViewEditLinks is working fine and adds an edit button. If you are using a browsers that can use VisualEditor (ex. Chrome and Firefox), Jgjake2's script also runs, detects the edit option, and adds a second edit button. If you are using something like Internet Explorer, Jgjake2's script doesn't detect the edit option (because it isn't there) and then exits without adding a button. Therefor only the button placed by TabViewEditLinks is there.
I took that screenshot seconds before publishing this thread. I also got more than 2 edit buttons sometimes. I was having this problem since May, not long after this thread . I tried to find a solution on my own first because I didn't wanted to bother...
Oh! Now that you mentioned the Jgjake2's script: In May 13, I had send that MediaWiki:Common.js to review first, it was rejected, and I left that TabViewEditLinks code in MediaWiki:ImportJS . I think you might be right, so its both codes reacting together then that creates this weird loop of buttons?
But, MediaWiki:Common.js rejected still affect the wikia? Should I remove that JS codes in the current MediaWiki:Common.js then?
Thank you so, so much for answering me Andrewds!
Yeah, after I made my reply, I noticed the JS had been rejected. But to be honest, it still seems to be the most logical explanation given the behavior I saw. If you remove it and everything works, then what that tells us is that Wikia's JS review process is not working properly; which should be reported. If it doesn't work, then we know for sure it is an issue with the dev wiki script. Either way, I think removing Jgjake2's script is a good idea.
This seems unlikely, but it appears it happens most often when I am logged out and never when I have personal JS enabled. So weird.
Again, thank you so, so much for your time, your help and for explaining to me about it Andrewds!! Like you advised I have removed the JS from the MediaWiki:Common.js . When the revision is complete I will add a reply in this thread about it. And... asking beforehand, if the problem ends up being with the dev wiki script, what is the procedure I would need to do in cases like this? Would it be to report to the dev wiki? Is there a place to do that? (Oh, and do you know other wikias using the TabViewEditLinks?)
If the issue is with the dev wiki script, you can ask for help using the dev wiki forums.
No. This is the first I have heard of this script.
Thank you so much for everything Andrewds!! The revision (of my removal of the code in MediaWiki:Common.js) was accepted and it worked!! I also noticed that, even before the revision being approved, the bug was already no longer showing itself so, you were absolutely right!!! It was that code in MediaWiki:Common.js that was affecting it creating a loop with the TabViewEditLinks.
By the way, I went to How to report bugs to access the Special:Contact page but instead it redirects me to different page, and in spanish. Is that the right place to report bugs now? I'm a little confused...
That is interesting it brought you to the Spanish version. Is that what you have set for your default language? To answer your question, yes, that is the correct page. Wikia decided to change how they handle user requests. You can read more about it here.
My browser default language? Is in english but I also allowed my browser searching in other languages, it could be because of that (? idk..). Anyhow, thank you as always Andrewds! For your time, your help, and everything. I will report the bug then, and I think this thread can be closed as we solved the problem!