Problem/Motivation

Currently Wiki Content Entries in the Wiki are handled like the Markdown entries and are not linked to their details page.
But it would be important to link their title to the details page to make them editable!

Current workaround is to guess the ID:
/admin/project-wiki-entity-content/3/edit

We could also discuss adding action links in the bottom of these. Maybe Drupal has a built-in helper for that. (Please create a follow-up for that)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes

lrwebks made their first commit to this issue’s fork.

lrwebks’s picture

Assigned: lrwebks » Unassigned
Status: Active » Needs review

Implemented a solution that enables different wiki content sources to provide their own URL's for the title href. There are also some doc changes in there that might seem unrelated, but nobody wants to open a separate issue just for missing return types.

lrwebks’s picture

Assigned: Unassigned » lrwebks

I am really surprised by the pipeline result, so I will look into why so much is failing! Review can happen nonetheless.

anybody’s picture

Status: Needs review » Needs work

Here's the reason:

TypeError: Drupal\project_wiki\ProjectWikiValueObject::getCategory(): Return value must be of type string, null returned in Drupal\project_wiki\ProjectWikiValueObject->getCategory() (line 132 of /var/www/drupal/web/modules/contrib/project_wiki/src/ProjectWikiValueObject.php).

lrwebks’s picture

Assigned: lrwebks » Unassigned
Status: Needs work » Needs review

Okay, tests are green now.

anybody’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.