Jump to content

User talk:Thibaut120094

Add topic
From mediawiki.org
Latest comment: 8 years ago by Zebulon84 in topic Your explanation of Unbreak Now priority


Your explanation of Unbreak Now priority

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Well, while I agree that your frwiki has a large number of articles that are having wrong, those don't seem to be unfixable by you, aren't they?

Neither purging nor null editing, but in fr:Module:Wikidata/Récup:

function p.loadEntity(entity, cache)
	if type(entity) ~= 'table' then
		if cache then
			if not cache[entity] then 
				cache[entity] = mw.wikibase.getEntity(entity) --Can't you change it to 'cache[entity] = mw.wikibase.getEntityObject(entity)'?
				mw.log("cached")
     		end
			return cache[entity]
        else
			if entity == '' then
				entity = nil
			end
        	return mw.wikibase.getEntity(entity) --Can't you change it to 'return mw.wikibase.getEntityObject(entity)'?
        end
    else 
    	return entity
    end
end
Liuxinyu970226 (talk) 00:35, 30 July 2017 (UTC)Reply
Hi Liuxinyu970226,
I don't understand why you come here on my talk page to scold me about this, I didn't change the priority of T170039 and I'm not the author of the module. If you have ideas how to fix this bug you're welcome to add a comment in the ticket, submit a patch, or contact the main authors of this module (Zolo & Zebulon84).
I find your tone here and in Phabricator (T106687 for example) very condescending and sometimes aggressive, if someone makes a mistake or don't have the same opinion than you, you need to stay cool.
Regards. Thibaut120094 (talk) 08:17, 30 July 2017 (UTC)Reply
Liuxinyu970226 : the doc of mw.wikibase.getEntityObject is : "Alias for mw.wikibase.getEntity."
I doubt replacing a function by it's alias would change anything.
If you are absolutely sure there is a difference, you should first change the documentation.
Regards. Zebulon84 (talk) 11:22, 30 July 2017 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.