Page MenuHomePhabricator

Wikidata tutorials
Open, In Progress, Needs TriagePublic

Description

This task is part of a project to improve processes and standards for Wikimedia technical documentation. For more information, visit the project page on mediawiki.org

Criteria

  • Typos: The page has been reviewed for typos.
  • Inclusive language: The page uses inclusive, non-gendered language.
  • Working examples: Commands and examples have been tested or reviewed for accuracy.
  • Links: Links on the page work.

Docs

  • Wikidata Query Service tutorial https://wdqs-tutorial.toolforge.org
    • Typos: The page has been reviewed for typos.
    • Inclusive language: The page uses inclusive, non-gendered language.
    • Working examples: Commands and examples have been tested or reviewed for accuracy.
    • Links: Links on the page work.

Notes

Event Timeline

Hmm, I have an issue here, trying to change/add suggestions to the text on https://wdqs-tutorial.toolforge.org, I seem unable to know where or how to do it (given that it's a wordpress instance I think).

Maybe @Keren_-_WMIL or @WMDE-leszek might be able to help there?

Specifically on page https://wdqs-tutorial.toolforge.org/index.php/category/introduction/ there's a duplicated comment:

Not all values are also items. For example, the value for the property “duration” (P2047) for the item Q17738 is 121 minutes.

Some properties might have values that aren’t items. For instance, the value of the property “duration” (P2047) for the item Q17738 is “121 minutes”, a quantity.

@dcaro Thanks David. Didn't notice this duplication. Will fix it in WordPress. Cheers!

dcaro reopened this task as In Progress.May 22 2022, 1:05 PM

In the page 'https://wdqs-tutorial.toolforge.org/index.php/category/simple-queries/', under the seciton "WDQS built-in search function"there's a link named 'Wikidata Label Service' that seems broken, return:

There has been a critical error on your website.

Learn more about debugging in WordPress.

Same page as above, under section "Retrieving an item’s description", there's another link broken, named 'introduction to Wikidata', links to 'https://wdqs-tutorial.toolforge.org/index.php/introduction/introduction-to-wikidata/' giving the same error.

Same page as above, under the "Queries with more than one variable", the link named "As we’ve seen" linking to https://wdqs-tutorial.toolforge.org/index.php/simple-queries/adding-match-patterns/two-or-more-match-patterns/ also gives the same error.

Hi David,
I didn't realized you have more comments on the site.
Unfortunately I tried to resolve a different issue (https://phabricator.wikimedia.org/T305960#7948089) and crashed the site. :(

oh, okok, I'll wait until you got it running up again, just ping me here, :)

btw. I'm enjoying the tutorial, kudos 👍

awwww, how lovely to hear that.
If you have any experience/knowledge of WordPress I could use some help, cause I don't know how to get it up and running again. :(

I have some experience with wordpress, are you still having issues? What error/errors do you see on the server side?

This is from the error.log:

2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error:  Uncaught Error: Call to undefined function register_block_type_from_metadata() in /data/project/wdqs-tutorial/public_html/wp-includes/blocks/file.php:29
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: Stack trace:
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #0 /data/project/wdqs-tutorial/public_html/wp-includes/class-wp-hook.php(288): register_block_core_file('')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #1 /data/project/wdqs-tutorial/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #2 /data/project/wdqs-tutorial/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #3 /data/project/wdqs-tutorial/public_html/wp-settings.php(587): do_action('init')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #4 /data/project/wdqs-tutorial/public_html/wp-config.php(99): require_once('/data/project/w...')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #5 /data/project/wdqs-tutorial/public_html/wp-load.php(50): require_once('/data/project/w...')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #6 /data/project/wdqs-tutorial/public_html/wp-blog-header.php(13): require_once('/data/project/w...')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #7 /data/project/wdqs-tutorial/public_html/index.php(17): require('/data/project/w...')
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr: #8 {main}
2022-05-23 09:11:08: (mod_fastcgi.c.421) FastCGI-stderr:   thrown in /data/project/wdqs-tutorial/public_html/wp-includes/blocks/file.php on line 29

I installed updraftplus and have a backup but I am such a noob I don't know how to restore the site from it...
Any help is greatly appreciated.

Hi David,
The site is up and running again.
Let me know if you have more comments. I appreciate the feedback.