Page MenuHomePhabricator

Add PHP code examples and links to the specific php class documentation to the demo
Open, Needs TriagePublic

Description

One of the nice things of the demo is that you can see the code that generates the elements. Unless you pick php.. then you don't get examples, not even a link to the php documentation.

Event Timeline

TheDJ created this task.May 19 2019, 5:01 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 19 2019, 5:01 PM
TheDJ added a subscriber: OOUI.May 19 2019, 5:02 PM
matmarex removed a subscriber: OOUI.May 20 2019, 4:15 PM

@TheDJ I assume you'd like to see inline code examples, but the task description is wrong. The docs link in the header brings you to the OOUI PHP classes documentation.

TheDJ added a comment.EditedJun 4 2019, 9:55 AM

Yeah, inline examples preferably, that show me how this button with progressive flag that i'm looking at was ACTUALLY written in php.

Or at least per component linking to the specific class in the php doc. Not one link in the header that is "he, here is the index for all the documents, good luck finding the classname (that we didn't tell you about) of the component you were looking at on the previous page and already forgot about"

TheDJ renamed this task from Add PHP code examples/doc links to the demo to Add PHP code examples and links to the specific php class documentation to the demo.Jun 4 2019, 11:44 AM