Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help on using it on cawiki #1

Open
robertgarrigos opened this issue Dec 25, 2021 · 5 comments
Open

Help on using it on cawiki #1

robertgarrigos opened this issue Dec 25, 2021 · 5 comments
Labels
question Further information is requested

Comments

@robertgarrigos
Copy link

Hi, I would like to use it on cawiki but don't quite understand how to set it up. I would be very grateful if you could help me out. Thanks

@putnik
Copy link
Owner

putnik commented Jan 6, 2022

Hi, @robertgarrigos! Glad to hear that you are interested in this gadget on the Catalan Wikipedia. For now this gadget requires data attributes generated by Russian version of Wikidata module, so it can be used only in 20-30 Wikipedias that use this module. As I see, Catalan module doesn't have any metadata for local values, so probably there is no way to solve it fast.

I have plans to guess convenient properties by infobox labels, and it going to appear in version 4.0. But before this I need to fix some performance issues and fix some parsing bugs. It's all not so critical now, because of strict property matching, but would be worse when it starts to guess properties.

So the plan is to publish one or two more 3.x releases with improvements and start to work on this feature next.

@putnik putnik added the question Further information is requested label Jan 6, 2022
@robertgarrigos
Copy link
Author

Thanks @putnik. Yes, we use that Module by passing codes, not localized metadata, if that is what you mean.

@putnik
Copy link
Owner

putnik commented Jan 17, 2022

@robertgarrigos, you could try new version of gadget by running mw.loader.load( '//ru.wikipedia.org/w/index.php?title=user:putnik/wikidataInfoboxExport.js&action=raw&ctype=text/javascript' ); from console or your common.js. But you need to understand that it is an early alpha:

  • It loads a lot of data (up to 250 KB per page!) and because of it loading process could take dosens of seconds.
  • It could suggest some strange edits. Part of them relates to gadget, but another part just requires property constraints in Wikidata.

I'm going to add extra cache in the next weeks, so at least it should become significantly faster.

@putnik
Copy link
Owner

putnik commented May 16, 2022

@robertgarrigos, if you're still interested, I've updated the script (see link above). The new version is much faster. I plan to make a public release at the end of May, and while collecting feedback.
I've checked it, and Catalan Wikipedia doesn't have much use for it (you already have a lot of information loaded from Wikidata). But if you plan to transfer something from other editions, then it probably can be useful.

@robertgarrigos
Copy link
Author

Thanks, @putnik. I won't be able to check it out until September, but I let some other people from the Catalan community know about it, hoping they can check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants