User talk:Legoktm/Archive 1

From Wikidata
Jump to navigation Jump to search
Logo of Wikidata

Welcome to Wikidata, Legoktm!

Wikidata is a free knowledge base that you can edit! It can be read and edited by humans and machines alike and you can go to any item page now and add to this ever-growing database!

Need some help getting started? Here are some pages you can familiarize yourself with:

  • Introduction – An introduction to the project.
  • Wikidata tours – Interactive tutorials to show you how Wikidata works.
  • Community portal – The portal for community members.
  • User options – including the 'Babel' extension, to set your language preferences.
  • Contents – The main help page for editing and using the site.
  • Project chat – Discussions about the project.
  • Tools – A collection of user-developed tools to allow for easier completion of some tasks.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

If you have any questions, don't hesitate to ask on Project chat. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

Best regards! Rschen7754 07:18, 4 January 2013 (UTC)[reply]

Note[edit]

Hello, because you have the bot flag you should use the &bot parameter to make the edits marked as bot edits. --Stryn (talk) 07:30, 7 February 2013 (UTC)[reply]

Ah sorry about that. I didn't realize my bot wasn't sending that. Will fix it now. Legoktm (talk) 07:31, 7 February 2013 (UTC)[reply]
Should be fixed now. Thanks for the note. Legoktm (talk) 08:40, 7 February 2013 (UTC)[reply]

Making null edit[edit]

Hi! Why your bot removes and inserts the same sitelink? For example here. --β16 - (talk) 19:03, 11 February 2013 (UTC)[reply]

Hi! There is a weird bug in which if there used to be a duplicate, sometimes the remaining item cannot be found by using Special:ItemByTitle nor the API, so the bot uses a database query to find them, and then performs a null edit to force the database to update. On standard wikitext, you would just "save" the same wikitext again, however with items you can't do that, so the bot simply removes and re-adds a sitelink. Legoktm (talk) 00:51, 12 February 2013 (UTC)[reply]
OK, thank you. I didn't know this problem. Thanks! :) --β16 - (talk) 08:09, 12 February 2013 (UTC)[reply]

Latvian municipalities[edit]

I already posted it as a bot request, but if you can do it easily, it would be great. Thanks in advance.--Ymblanter (talk) 10:26, 13 February 2013 (UTC)[reply]

Sorry, I realize now that I read your request wrong, my bot can't do descriptions. Sorry about the confusion :( Legoktm (talk) 10:27, 13 February 2013 (UTC)[reply]
No problem, thanks anyway.--Ymblanter (talk) 10:31, 13 February 2013 (UTC)[reply]

Talkback[edit]

Hello, Legoktm. You have new messages at PinkAmpersand's talk page.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

bot[edit]

Your bot dont mark edits as bot, and why you add a generic propriety instead river? --82.48.137.24 05:12, 17 February 2013 (UTC)[reply]

Because bugzilla:44857 has not been deployed yet, I can't mark those edits as bot. Those specific properties were requested by User:Jon Harald Søby, so you would have to ask him. Legoktm (talk) 05:14, 17 February 2013 (UTC)[reply]

Flood[edit]

Hi! Why does your bot run without botflag? It floods recent changes. Bináris (talk) 23:46, 17 February 2013 (UTC)[reply]

Currently setting properties does not respect the bot flag at all (bugzilla:44857). I actually wrote the patch for it (gerrit:49205) which is supposed to be backported and deployed shortly. For the time being, I have added in a throttle, but there isn't much more I can do. Legoktm (talk) 23:48, 17 February 2013 (UTC)[reply]
Meantime I blocked it for 5 minutes to discuss as RC is really unusable. Could you please increase throttle? Bináris (talk) 23:53, 17 February 2013 (UTC)[reply]
No worries. Does 20 seconds delay in between edits sound ok? Legoktm (talk) 23:54, 17 February 2013 (UTC)[reply]
I think it is a good compromise. Bináris (talk) 23:55, 17 February 2013 (UTC)[reply]
Ok, the bot will start running again in 5 minutes by crontab with a 20 second delay, which I'll remove once the botflag works for properties :) Legoktm (talk) 23:56, 17 February 2013 (UTC)[reply]
Thank you both for your understanding and for the patch! Bináris (talk) 00:32, 18 February 2013 (UTC)[reply]

Just a note that I have removed the throttle now that bot flagging works :) Legoktm (talk) 20:55, 18 February 2013 (UTC)[reply]

Notice to talk page stalkers: New tool[edit]

I have been working on a new tool, wikidata/checker.py. It takes a "Q##" as input, and gives information whether it is ok to remove the langlinks. It can even detect if the local link is a redirect pointing to the wikidata one. An example is Q1, which states that Legobot will automatically process the page (this doesn't work yet). If you look at Q42, it says the page has been migrated to Wikidata. Q8454 has errors, and are highlighted in red. Right now it only pulls from enwiki, this will change in the future.

Please treat it gently for now, it hasn't been optimized yet. It's quite possible it has bugs, if you do find any, please report them :) Thanks, Legoktm (talk) 15:29, 20 February 2013 (UTC)[reply]

Property type changing[edit]

Hi, I try to create property: Property:P130, but did not find any way to change its type to numeric. Documentation do not describe this aspect. Could you please provide link to any information about changing property types? — Ivan A. Krestinin (talk) 18:21, 21 February 2013 (UTC)[reply]

Right now numerical type is not supported. If the property has had support at WD:PP, you need to add it to the list at Wikidata:Property proposal/Pending. Legoktm (talk) 18:25, 21 February 2013 (UTC)[reply]
Thanks, WD:PP is strange page — so many requests and so little supported types set. — Ivan A. Krestinin (talk) 18:40, 21 February 2013 (UTC)[reply]

Wikidata weekly summary #46[edit]

Here's your quick overview of what has been happening around Wikidata over the last week.
Read the full report · Unsubscribe · Global message delivery 17:27, 22 February 2013 (UTC)

Astronomic object[edit]

Hi, Legoktm, I'm seeing that your bot is adding claims in astronomic items. Thank you very much for your work! I have a question for you: why do your bot add the entity type as geographical feature and not as term? Thank you for you answer. --Paperoastro (talk) 11:17, 23 February 2013 (UTC)[reply]

Constellations, for example, are part of "Extraterrestrika" (type gix) = main type g (place). I don't know if the Entitätencodierung: Vergaberichtlinien - Kurzliste. exists in English. --Kolja21 (talk) 22:56, 24 February 2013 (UTC)[reply]
Right, Based on Kolja21's comments I thought it would be geographical feature (the closest to place). If that's not correct, I designed the bot so that it's extremely easy to change what the bot did in the past :) Legoktm (talk) 04:59, 25 February 2013 (UTC)[reply]
Thank you very much for your answer! :) Probably for constellations the type g (geographic place) is the more correct, but imho for asteroids, planets, stars, galaxies, is better type t (terms), as for chemical or biological terms. Unfortunately I don't know German language! Bye --Paperoastro (talk) 21:36, 25 February 2013 (UTC)[reply]

Hi, Legoktm, in this discussion has been established that astronomic items are all geographical feature. So you can restart to add entity type to them. Thanks for your work! :) --Paperoastro (talk) 23:43, 7 March 2013 (UTC)[reply]

properties.js[edit]

Hi, I made a JS interface for your tool which user can send their request by it User:Reza1615/properties.js. the only thing instead of requester I used 3 ~ to get user's sing and you should change your code to ignore talk link and [[]] from it. for next step we can set it to send requests directly to the tool's talk page. now users should copy propmt's text. feel free to edit itReza1615 (talk) 23:05, 24 February 2013 (UTC)[reply]

Wow thanks! I'd rather not add regex to my bot, can you use the wgUsername variable instead? Legoktm (talk) 04:54, 25 February 2013 (UTC)[reply]
✓ Done now User:Reza1615/properties.js automatically adds requests to User_talk:Legobot/properties.js/requests which is transcluded in the bottom of talk page. now we can request to add it as a gadget :)Reza1615 (talk) 09:29, 25 February 2013 (UTC)[reply]

label/interwiki[edit]

When your bot import interlanguage links doesn't change the label. i. e. Can you add this feature? --Kizar (talk) 15:50, 25 February 2013 (UTC)[reply]

Thank you for helping to improve Q3918365 about Portal:Arts[edit]

Thank you for helping to improve Q3918365 about w:Portal:Arts. Much appreciated, Cirt (talk) 21:42, 25 February 2013 (UTC)[reply]

IUCN status[edit]

Hi, I saw that you bots was adding data about IUCN status based on Wikipedia. Wouldn't it make more sense to fetch the data directly from the IUCN database ? I understand that the source field is probably not yet detailed enough for that, but I would think that if you want to add data from Wikipedia, you should start rather add those that are not so neatly provided by external sources (dunno possibly image or type of administrative division). --Zolo (talk) 12:23, 27 February 2013 (UTC)[reply]

Ideally yes. However that would require me writing a bot to parse the IUCN website. This data was pulled directly from various Wikipedia categories (see the system set up at User talk:Legobot/properties.js), meaning it can be extended to virtually any category/property on any project. Legoktm (talk) 07:04, 28 February 2013 (UTC)[reply]
Ok, I may add some requests there :). I am no programmer, but parsing the IUCN website does not sound very difficult, at least it is easy to identify in pages' html source code. --Zolo (talk) 09:52, 28 February 2013 (UTC)[reply]
It may be simple for that website, but imagine if I had to code for 100 different websites :P
Regardless, if we are not able to import all of the data from Wikipedia (my bot can do it from any language), I can write a specific script to get it straight from their website. Legoktm (talk) 14:24, 28 February 2013 (UTC)[reply]

IUCN_status_2[edit]

Thank you, Legobot, for completing the task. Espeso (talk) 03:03, 28 February 2013 (UTC)[reply]

You're welcome! Legoktm (talk) 14:22, 28 February 2013 (UTC)[reply]

Dexbot[edit]

Hello, the 48 hours is passed now. BestLadsgroup (talk) 06:55, 28 February 2013 (UTC)[reply]

✓ Done, and sent to meta. Please don't run it until the flag is set. Thanks, Legoktm (talk) 14:21, 28 February 2013 (UTC)[reply]

Taxon rank[edit]

Hi, this edit by Legobot seems to have given the wrong value for taxon rank; "species" instead of "order".- Soulkeeper (talk) 17:56, 28 February 2013 (UTC)[reply]

That's because there are a handful of items in the English Wikipedia categories for "IUCN species by status" that have an IUCN status attached to a rank higher than species. The bot performed its job correctly based on the parameters provided to it. Espeso (talk) 21:05, 28 February 2013 (UTC)[reply]
Right. We should still find a way to identify errors, possibly by checking with infobox data. Soulkeeper, do you know if this is a one off problem, or are there more errors similar to this? If so, I can have another bot run using template data overwrite the category based data. Legoktm (talk) 23:41, 28 February 2013 (UTC)[reply]
Sorry, don't know if this is a one off or not. I do remember seeing a very similar error earlier, but I didn't check who made it. I guess that's why I checked this time, because I'd seen something similar before. - Soulkeeper (talk) 12:51, 1 March 2013 (UTC)[reply]
Do you have a log of the articles/items that were 'touched' by this process? If so, a great start would be filtering out any title with two 'words', as this would remove many common (species) names like 'striped goat' as well as any binomial names Foous Barrus. The remaining list would be easy to check by eye for non-species items. I'll also take a look at the categories again (which I eyeballed before requesting to find anything that should be noprefix'ed). A related question: does your bot follow redirects in categories? Thanks, Espeso (talk) 02:28, 1 March 2013 (UTC)[reply]
Yup, see User:Legobot/properties.js/Archive. Except for one category that was too big to store, I think all of them were saved. They're in a mysql table so doing lookups is very easy. Would you like a list of every page the bot touched that didn't have a space in it (aka two words)?
My bot simply skips redirects. The logs should indicate when a page got skipped (blacklisted, ignored, redirect, etc). Legoktm (talk) 02:35, 1 March 2013 (UTC)[reply]
I'm actually grabbing the category members from CatScan (I didn't think CatScan provided complete sets for large categories but it does--I have 41889 records now minus the 76-member category that I looked at on the page). I'm going to work off that, and you should see my immediate edits correcting what I hope to be no more than a few dozen such instances. If you want, I can put the whole table on a subpage for ref. Espeso (talk) 02:44, 1 March 2013 (UTC)[reply]
For the record, there were perhaps 3-4 assignments of "species" that were unambigously wrong. The rest fall into an ambiguous area that will be a little problem for Wikidata's taxonomy: the w:monotypic genus, where in some languages a binomial article title is used (Fooey barrus) and in other languages only the genus (Fooey). The "item" is then a species and a genus... Espeso (talk) 15:34, 1 March 2013 (UTC)[reply]
Yes, I for one have been marking these items as species and genus. In some cases species and genus and family, and I think that will work for most cases. But some monotypic genera are actually monotypic only when it comes to extant species. If/when an item about an extinct species is made, we should be prepared to "split" the item, even if it means splitting the interwiki link pool. - Soulkeeper (talk) 10:59, 2 March 2013 (UTC)[reply]

Legobot: wrong edit[edit]

This edit gone wrong. [1]--CENNOXX (talk) 20:57, 28 February 2013 (UTC)[reply]

Ok, I saw its wrong on sv.wiki--CENNOXX (talk) 20:59, 28 February 2013 (UTC)[reply]

ptwiki database reports[edit]

Hi!

Would it be possible to configure BernsteinBot to provide database reports for Portuguese Wikipedia too?

Best regards, Helder 14:30, 1 March 2013 (UTC)

Sure! Are you referring to just the missing links report, or did you mean the entire thing like en:WP:DBR? Legoktm (talk) 02:20, 2 March 2013 (UTC)[reply]
Yes, I was referring to that one (although I've also asked about the whole thing some time ago). Helder 16:15, 4 March 2013 (UTC)
Done. The bot actually reads from a hidden input list in case you have any other wikis you would like it for. As for the whole thing, currently Tim L is working on making it easier to easily convert reports for multiple languages, so that should be ready soon :) Legoktm (talk) 17:17, 4 March 2013 (UTC)[reply]
Great! Thank you very much! Helder 23:36, 6 March 2013 (UTC)

Wikidata weekly summary #47[edit]

Here's your quick overview of what has been happening around Wikidata over the last week.
  • Development
    • Extended diff view to include references now
    • Fixed bug where incorrect statements revision was shown in diff view
    • Added first version of Linked Data interface (RDF/XML); will be accessible from Special:EntityData
    • Updated the demo system
    • More work towards using Solr for our search
    • More investigation and fixes of search issues
    • Fixed several bugs in the entity selector and improved its behavior
    • Worked on refactoring of how our widgets use the toolbar
    • Worked on implementation of missing data model components in JavaScript
    • A lot of bug fixing
  • Events
  • Other Noteworthy Stuff
    • Rollout of phase 1 (language links) on all remaining Wikipedias is still planned for March 6
    • Next update on wikidata.org is also planned for March 6. This will have bugfixes and if all goes well string as a new available data type.
    • Proposal was made to the Hungarian, Hebrew and Italian Wikipedias to be the first batch to use phase 2 of Wikidata (infoboxes). Scheduled timeframe for this is end of March
    • d:Wikidata:Database reports has some useful reports like the list of most used properties
    • The interwiki shortcut :d was changed to always use www in the resulting link (to prevent editing issues on other URLs).
    • The list of available properties is growing and a whole bunch of new ones are being discussed
    • Reasonator gives you a nice adapted view of an item about a person
    • Items by cat helps you find missing items in a certain Wikipedia category
    • A few more additions to d:Wikidata:Tools that you should have a look at if you’re editing statements
    • We now have more than 2600 active users on Wikidata. Thanks for being awesome. <3
  • Open Tasks for You
Read the full report · Unsubscribe · Global message delivery 02:31, 2 March 2013 (UTC)

references added by bot[edit]

I dont know why a Wikipedia should be a valid references like your bot added here [2] was there any discussions about this? --Sk!d (talk) 23:23, 3 March 2013 (UTC)[reply]

Yes, see Wikidata:Project_chat/Archive/2013/02#Proposal:_preventive_control_of_imported_data_correctness and it's subsection. Legoktm (talk) 23:25, 3 March 2013 (UTC)[reply]

Why Swedish?[edit]

Just curious: how did this relatively obscure wikipedia become your default source? Shawn in Montreal (talk) 03:40, 5 March 2013 (UTC)[reply]

Well there's a brief discussion here, but basically svwiki has flat gender categories, which make it really easy to import. dewiki also has these so I'll be doing those soon as well. svwiki was done first since its a bit smaller magnitude, and I wanted to see if the script could hold up over a much longer duration. Legoktm (talk) 03:45, 5 March 2013 (UTC)[reply]

gadget for properties.js[edit]

Hi, If you are agree we can make a gadget for User:Reza1615/properties.js which sends requests for your bot:)▬ Reza1615 / T 15:06, 6 March 2013 (UTC)[reply]

Sounds like a good idea to me! Legoktm (talk) 15:07, 6 March 2013 (UTC)[reply]
please check it completely if it has bug tell me to solve▬ Reza1615 / T 15:48, 6 March 2013 (UTC)[reply]

Split missing links report by namespace[edit]

Moved to Wikidata talk:Database reports#Split missing links report by namespace. Helder 20:37, 7 March 2013 (UTC)

lowp[edit]

So Wikidata (PI) is live on all Wikipedias. When will your bot start to remove interwiki links? XD Mabdul (talk) 06:38, 7 March 2013 (UTC)[reply]

It already removed a bunch (lo:Special:Contribs/Legobot) but right now I stopped it pending m:Requests for comment/Wikidata rollout and interwiki bots. Legoktm (talk) 06:40, 7 March 2013 (UTC)[reply]

eswiki[edit]

Your bot is authorized [3] to start removing local iw links in eswiki. There is an anti-abuse filter active to prevent old interwiki bots re-add the deleted iw links [4]. --Kizar (talk) 19:03, 7 March 2013 (UTC)[reply]

Running now thanks. Legoktm (talk) 20:59, 7 March 2013 (UTC)[reply]
Can I fix this problems [5] manually? --Kizar (talk) 17:33, 8 March 2013 (UTC)[reply]
Yup! Thats the point of the list, and hopefully the webtool will make it easier to spot what needs fixing. Legoktm (talk) 14:07, 11 March 2013 (UTC)[reply]

Wikidata weekly summary #48[edit]

Here's your quick overview of what has been happening around Wikidata over the last week.
Read the full report · Unsubscribe · Global message delivery 19:02, 8 March 2013 (UTC)

Wikidata:Database reports[edit]

Hi, would you please make a page for Wikidata:Database reports/Popular items (for properties) it will be useful to make them in local wikipedia or translating their labels to have less red links in phase II for infoboxes. thanks▬ Reza1615 / T 22:31, 10 March 2013 (UTC)[reply]

✓ Done Legoktm (talk) 14:22, 11 March 2013 (UTC)[reply]

Wikidata:Database reports/Missing links[edit]

Hi. Would it be possible to make such a list also for no.wp? Thanks in advance. --Wikijens (talk) 08:49, 11 March 2013 (UTC)[reply]

The bot will create the report for nowp in its next run around 1:00am UTC. Legoktm (talk) 14:31, 11 March 2013 (UTC)[reply]
Great. Thanks a lot! --Wikijens (talk) 15:48, 11 March 2013 (UTC)[reply]
Hi again. Thanks for Wikidata:Database reports/Missing links/nowiki. Can I manually remove entries from the list as I find and add the correct page to the items, or would that create any complications for your bot? --Wikijens (talk) 09:13, 15 March 2013 (UTC)[reply]
You can edit the page however you want, however the bot will overwrite everything at the next update. Legoktm (talk) 09:14, 15 March 2013 (UTC)[reply]
Thanks, that's what I hoped. --Wikijens (talk) 09:24, 15 March 2013 (UTC)[reply]

Sex[edit]

Lego, I have changed the recommended values in P:P21, as there was no opposition to it. I think your bot can start using the new values. Thanks for your work. --Zolo (talk) 08:59, 13 March 2013 (UTC)[reply]

Great, I'll have my bot start migrating usage later today. Thanks for implementing this :) Legoktm (talk) 13:59, 14 March 2013 (UTC)[reply]

Legobot[edit]

Hi Legoktm. Thanks for adding Paris's place of death on Wikidata articles corresponding to associated french category. Do you think it's possible to add an edit summary to the changes to check easily certains requests with this tool (without too much complication)? Thanks by advance for your answer. Automatik (talk) 13:30, 13 March 2013 (UTC)[reply]

In fact, this page is an other similar method. So, that's ok :) --Automatik (talk) 13:58, 13 March 2013 (UTC)[reply]

Note[edit]

I fixed [6], I'm 100% sure of this edit! See Wikidata:मुखपृष्ठ Not sure about the other one though. You need to get someone who speaks Marathi because it is quite different from Hindi. You could ask someone who is active on Mr. Wikipedia. (pun intended) Sorry about suggesting Google Translate from Hindi, I didn't realise how different it was. Regards, πr2 (tc) 05:02, 20 February 2013 (UTC)[reply]

Q1164536[edit]

Hello!

You added [[ja:山彦]] (Yamabiko), Q1164536. But, Yamabiko is not "Echo sounding", true link is [[en:Yamabiko (folklore)]].

Thank you.--Starchild1884 (talk) 23:14, 13 March 2013 (UTC)[reply]

Stop Legobot. I say again, "Yamabiko" is not "Echo sounding"! Don't add again "Yamabiko" to Q1164536. I am angry. --Starchild1884 (talk) 21:02, 15 March 2013 (UTC)[reply]

Separate items for P107?[edit]

Hi Legoktm, I've proposed to use separate items for Property:P107 (GND main/entity type), since the used items don't match exactly. (Example: Type p, called "person", also includes literary and mythical figures, and families.) Would this be o.k. for your bot? (discussion) --Kolja21 (talk) 01:36, 14 March 2013 (UTC)[reply]

Yup! Since my bot just depends on human input, that might require updating. The best part though, is that I can revisit old jobs that have already run, and modify them :) Legoktm (talk) 14:01, 14 March 2013 (UTC)[reply]
Perfect. Thanks for your fast answer. --Kolja21 (talk) 05:36, 15 March 2013 (UTC)[reply]

Your bot adds sitelinks in Q6462452. But these links should be in Q7302049. This edit cause the problem. How about to make your bot passive during the migration phase? -- ChongDae (talk) 06:50, 15 March 2013 (UTC)[reply]

Wikidata weekly summary #49[edit]

Here's your quick overview of what has been happening around Wikidata over the last week.
    • Development
    • Design improvements to the SetClaim API module
    • More work on implementing the simple inclusion syntax that will be 1 way to access Wikidata data on Wikipedia
    • More work on Lua (the second way to access Wikidata data on Wikipedia)
    • Added parser page property to hold entity id in client. This fixes:
      • bugzilla:45037 - don’t show edit link if noexternallanglinks has suppressed all Wikidata links
      • bugzilla:44536 - have the edit link go directly to the Q### pages, instead of Special:ItemByTitle which shall make the link be more reliable and work for all namespaces
    • Selenium tests for deleted-property-handling
    • Selenium tests for multiline references
    • Selenium tests for add-sitelinks-from-client
    • Selenium tests for Entity-Selector-as-Searchbox
    • Selenium tests for language-table
    • Implemented in-process caching for entities
    • Lua support to access the repo data and implement getEntity (so you can use stuff like entity = mw.wikibase.getEntity("Q1459") in Lua modules)
    • rebuildTermSearchKey is now ready for production (this still needs to be run but once done it will make search case-insensitive)
    • Improved error reports from the API
    • Ground work for better edit summaries from the API
    • Added a table of content to item pages
    • Added debug functionality to be able to investigate why it takes longer than it should for Wikidata changes to show up on recent changes and watchlists on Wikipedia
    • Finished implementation of References-UI
    • Implemented GUID generator in JavaScript
    • Worked on fixing a bug related to deleted properties where the UI would display wrong information
    • Minor fixes/additions to the JS datamodel implementation
    • Minor bugfixes in Statements-UI
    • More work on RDF export
  • Discussions/Press
  • Events
  • Other Noteworthy Stuff
  • Did you know?
    • If you add a Babel box to your user page Wikidata will show you items and descriptions in other languages you speak as well without you having to switch the language
    • Want to know which items use a certain property? Try the “what links here” link on a property page
  • Open Tasks for You
Read the full report · Unsubscribe · Global message delivery 18:49, 15 March 2013 (UTC)

Do you think that "unfragmentation" is a proper English word for that situation? (See this discussion) --Ricordisamoa 15:41, 16 March 2013 (UTC)[reply]

Responded there. Legoktm (talk) 10:09, 28 March 2013 (UTC)[reply]

Statistics of Legobot's job[edit]

Hi,

On the pages like this : https://toolserver.org/~legoktm/static/433.html, the link to the wikipedia category isn't good : it links to wikidata instead of wikipedia. Cordially, --Automatik (talk) 21:30, 16 March 2013 (UTC)[reply]

That's not really a problem though, as the links go to the correct pages anyways. Jon Harald Søby (talk) 11:24, 18 March 2013 (UTC)[reply]
Hmm, okey, that's right. Original. Thanks! Automatik (talk) 23:08, 18 March 2013 (UTC)[reply]

Hello, could you please exclude pages with "Userbox" and "...:Emijrp/List of Wikipedians by number of edits" (and perhaps "...:Box/..." for ru)? They take up a lot of space, and the page lists only 100 results. Thanks.  Hazard-SJ  ✈  02:22, 19 March 2013 (UTC)[reply]

+1. This was my initial motivation for suggesting the list to be split by namespace. Helder 11:43, 19 March 2013 (UTC)
I initially wasn't planning on it, however now I think it's worth implementing a blacklist. I probably won't have until later this week to get to it, but pull requests are always welcome :) Legoktm (talk) 05:50, 20 March 2013 (UTC)[reply]
Done-ish. I implemented a rather crude blacklist that didn't seem to have any performance concerns so I guess it works. If anything else needs blacklisting just let me know. Legoktm (talk) 11:58, 6 April 2013 (UTC)[reply]

Pywikibot rewrite - Wikidata write access?[edit]

Hello Legoktm, when do you think, that you have coded the write access for the rewrite framework of the Pywikipediabot? --Pyfisch (talk) 19:13, 19 March 2013 (UTC)[reply]

Hi, it has been implemented since pyrev:11218, however I have been wanting to get the preloading generator working first (one more day hopefully), before posting to the mailing list announcing it. Legoktm (talk) 05:49, 20 March 2013 (UTC)[reply]
Thanks for implementing it. But I recive an Error, when I try to add a claim to an ItemPage. --Pyfisch (talk) 17:11, 20 March 2013 (UTC)[reply]
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    i.addClaim(claim)
  File "C:\Python27\lib\site-packages\pywikibot\page.py", line 2482, in addClaim
    self.repo.addClaim(self, claim, bot=bot)
  File "C:\Python27\lib\site-packages\pywikibot\site.py", line 230, in __getattr__
    % (self.__class__.__name__, attr)  )
AttributeError: APISite instance has no attribute 'addClaim'
Hmmm, how are you defining the item object? Are you using the ItemPage.fromPage? Or manually? Legoktm (talk) 17:54, 20 March 2013 (UTC)[reply]
Here an example: User:FischBot/bugs/addClaim --Pyfisch (talk) 19:04, 20 March 2013 (UTC)[reply]
Ok, try it with this. The bug was that using a simple pywikibot.Site() will return an APISite object, but we need to use a DataSite object, which is returned by calling .data_repository() on the relevant site object. Legoktm (talk) 19:48, 20 March 2013 (UTC)[reply]
It works! Thanks for helping me. --Pyfisch (talk) 18:01, 21 March 2013 (UTC)[reply]

Hi! I've made test edits that you asked. Waiting for a bot flag for continuing adding info with my bot. Thanks, --DixonD (talk) 09:42, 20 March 2013 (UTC)[reply]

I have closed the request as approved, and filed a request on meta for a bot flag. Thanks Legoktm (talk) 23:04, 21 March 2013 (UTC)[reply]

Wikidata:Database reports/Missing links for jawiki[edit]

Hello. Would it be possible to make a new missing links list for jawiki as well as other languages? I believe it would be great help for us. Thanks in advance. --Penn Station (talk) 10:41, 21 March 2013 (UTC)[reply]

Done, I really need to advertise Wikidata:Database reports/Missing links/Input better... Legoktm (talk) 06:49, 22 March 2013 (UTC)[reply]
Thank you so much! I will wait for the next update by the bot. BTW, I have not noticed the input page... I think that a link to the page with a short description on Wikidata:Database reports/Missing links would help users like me, if any users are allowed to edit the page directly. Anyway, thanks again. --Penn Station (talk) 09:38, 22 March 2013 (UTC)[reply]

Hello. Sorry for disturbing you again, but the bot seems to still ignore jawiki even after you added it to the input page... Should I wait for next update? --Penn Station (talk) 13:16, 23 March 2013 (UTC)[reply]

Hi. Today BernsteinBot created the page for jawiki and updated the Missing links page. Again, thank you so much! --Penn Station (talk) 12:40, 26 March 2013 (UTC)[reply]
No problem. The updating might be a bit weird due to Toolserver lag, it automatically kills itself after running for 7 hours, so it might not get to every wiki every day. Legoktm (talk) 10:07, 28 March 2013 (UTC)[reply]

Wikidata weekly summary #50[edit]

Here's your quick overview of what has been happening around Wikidata over the last week.
  • Development
    • Rolled out new code on wikidata.org. The new stuff you probably care about is:
      • Improved references. They can now have multiple lines. This should make references much more useful. You can now have one reference with for example values for each of the properties "book", "author", "page" to describe one source.
      • Fixed the prev/next links in diff view (bugzilla:45821)
      • d:Special:EntitiesWithoutLabel now lets you filter by language and entity type
    • Widget to add language links on the Wikipedias directly: added setting to enable/disable it per wiki and made it available for logged-in users only
    • Widget to add language links on the Wikipedias directly: improved layout / size
    • Made it so that the “edit links” link on Wikipedia is also shown when the corresponding item only has a link to this one language and no other languages
    • Submitted improved Apache config patch to make wikidata.org always redirect to www.wikidata.org, which is awaiting code review and deployment.
    • Improved the script that is responsible for taking Wikidata changes to the Wikipedias
    • Added a few ways to better debug the script responsible for taking Wikidata changes to the Wikipedias. This should help with investigating why some changes take way to long to show up on the Wikipedias.
    • Started work on automatically adding edited items to the user’s watchlist (according to preferences)
    • Finished script for rebuilding search keys, so we can finally get case insensitive matches in a lot of places
    • Support for multi-line references in diff view
    • Selenium tests for inclusion syntax
    • Improved parser function (that will be used to access Wikidata data on the Wikipedias) to accept property ID or label
    • Increased isolation of data model component to increase clarity and visibility of bad dependencies
    • Worked on schema access in the SQLStore (of the query component)
  • Discussions/Press
  • Events
    • 3rd Media Web Symposium 2013
    • Wikidata trifft Archäologie
    • SMWCon Spring NYC
  • Other Noteworthy Stuff
  • Did you know?
    • When you edit a statement there is a little wheel in front of the text field. This lets you choose between “custom value”, “unknown value” and “no value”. “No value” means that we know that the given property has no value, e.g. Elizabeth I of England had no spouse. “Unknown value” means that the property has a value, but it is unknown which one -- e.g. Pope Linus most certainly had a year of birth, but it is unknown to us.
  • Open Tasks for You
Read the full report · Unsubscribe · Global message delivery 00:32, 23 March 2013 (UTC)