WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 5 years ago

#324 closed defect (fixed)

Devhub URL Structure to be updated

Reported by: siobhan Owned by: Rarst
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

The URL structure for devhub should be updated to:

developer.wordpress.org
developer.wordpress.org/reference/
developer.wordpress.org/reference/?s=
developer.wordpress.org/reference/functions/
developer.wordpress.org/reference/function/some_function
developer.wordpress.org/reference/hooks/
developer.wordpress.org/reference/hook/some_hook
developer.wordpress.org/reference/classes/
developer.wordpress.org/reference/class/some_class
developer.wordpress.org/reference/class/some_class/some_method
developer.wordpress.org/reference/source_files/
developer.wordpress.org/reference/source_files/file-name
developer.wordpress.org/reference/versions/
developer.wordpress.org/reference/version/version-number
developer.wordpress.org/resources/
developer.wordpress.org/resources/some_resource (e.g. dashicons)
developer.wordpress.org/blog/
developer.wordpress.org/themes/ (theme dev handbook landing page)
developer.wordpress.org/themes/some-handbook-page/
developer.wordpress.org/plugins/ (plugin dev handbook landing page)
developer.wordpress.org/plugins/some-handbook-page/

Attachments (1)

324.diff (3.0 KB) - added by atimmer 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 @siobhan
6 years ago

  • Owner set to Rarst
  • Status changed from new to assigned

@atimmer
5 years ago

#2 @atimmer
5 years ago

324.diff changes the permalink for functions, classes, hooks and source files.

#3 @coffee2code
5 years ago

This ticket is kinda old. After in-person discussions just before the devhub launch (as noted by Nacin), Nacin, Siobhan, Otto, and I adapted the URL structure to make them hackable (i.e. remove each URL ending path segment and the URLs would still work).

So rather than switching to the singular for specific items as proposed:

developer.wordpress.org/reference/functions/
developer.wordpress.org/reference/function/some_function
developer.wordpress.org/reference/hooks/
developer.wordpress.org/reference/hook/some_hook
developer.wordpress.org/reference/classes/
developer.wordpress.org/reference/class/some_class
developer.wordpress.org/reference/class/some_class/some_method

We kept the plurals (in all cases):

developer.wordpress.org/reference/functions/
developer.wordpress.org/reference/functions/some_function
developer.wordpress.org/reference/hooks/
developer.wordpress.org/reference/hooks/some_hook
developer.wordpress.org/reference/classes/
developer.wordpress.org/reference/classes/some_class
developer.wordpress.org/reference/classes/some_class/some_method

Other differences:

developer.wordpress.org/reference/source_files/
developer.wordpress.org/reference/source_files/file-name
developer.wordpress.org/reference/versions/
developer.wordpress.org/reference/version/version-number

Are instead:

developer.wordpress.org/reference/files/
developer.wordpress.org/reference/files/file-name
developer.wordpress.org/reference/since/
developer.wordpress.org/reference/since/version-number

As Nacin suggested, we could make the singular versions work as well, simply redirecting to the plural versions.

The final set of URLs can be implemented in conjunction with those sections being implemented:

developer.wordpress.org/resources/some_resource (e.g. dashicons)
developer.wordpress.org/blog/
developer.wordpress.org/themes/ (theme dev handbook landing page)
developer.wordpress.org/themes/some-handbook-page/
developer.wordpress.org/plugins/ (plugin dev handbook landing page)
developer.wordpress.org/plugins/some-handbook-page/

That said, I think the ticket can be closed as fixed, unless there are objections to the existing URL structure?

#4 @siobhan
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.