Board Thread:Support Requests - Getting Technical/@comment-5693502-20150202013011/@comment-5693502-20150203001641

I've used the script before and had success with it, but I would not call myself an expert on it. I did notice that you are importing the script twice; one of the things the script does is a cleanup of the global variable after it has created the tags, so importing the code twice very well may be what is causing the custom tags not to appear (the global variable is empty the second time the script runs). I've imported it twice...? Would you mind showing me where (this is the first time I've delved this deep into MediaWiki coding) ?

Regarding tags that appear and/or disappear after making a certain number of edits: the answer is very likely yes (depending on how complex you want to get). However, unless someone knows of a better way, it will require using the MediaWiki API to obtain the editcount of the user. Possible to do, but somewhat challenging to set up properly. MediaWiki API ?? Especially since I'd want the appearing/disappearing tags thing to affect every user on the wiki, what I want to happen seems like a mammoth of a task...

On a slightly unrelated note: I notice you have upwards of a dozen separate importArticle statements. Your code will run a lot more efficiently if those are combined into a single importArticles statement (after all variable declarations are made), and it will help avoid instances of double-importing like the UserTags code. I'm shaking my head in despair hahaha, I don't know how I would go about doing this :O thanks for helping me out so far though !