Skip to content

Restore View Source link in the footer - #2111

Closed
iz-ahmad wants to merge 1 commit into
php:masterfrom
iz-ahmad:restore-footer-view-source
Closed

iz-ahmad wants to merge 1 commit into
php:masterfrom
iz-ahmad:restore-footer-view-source

Conversation

@iz-ahmad

@iz-ahmad iz-ahmad commented Nov 23, 2026 •

Copy link
Copy Markdown

The "View Source" link was dropped from the footer when the shared footer introduced in #2044. This PR adds it back to the "PHP" column, next to "Other PHP.net sites", with same rules as before.. it links to the page's file on GitHub, built from BASE_PAGE, and isn't shown on manual pages.

Fixes #2102.

@iz-ahmad
iz-ahmad force-pushed the restore-footer-view-source branch from c102cd3 to ad95d3b Compare November 23, 2026 08:45
@sy-records

Copy link
Copy Markdown
Member

I don't think it needs to be added. Adding it may cause trouble and think it is the source code of php-src.

Just like the question in #2102, when will you click on it?

@derickr

derickr commented Nov 23, 2026

Copy link
Copy Markdown
Member

I agree, I don't think we should put it back either.

@iz-ahmad

Copy link
Copy Markdown
Author

I don't think it needs to be added. Adding it may cause trouble and think it is the source code of php-src.

Just like the question in #2102, when will you click on it?

Yeah fair point. For context.. the link isn't new. It was in the footer until #2044, and that PR didn't mention removing it, so I assumed the removal was unintentional. #2102 asks about the same thing.

On the matter with php-src: the link goes to php/web-php/.../public/<page>.. so it opens the file for that page of the website, not the language source. The old footer worked the same way.

Still it's your call is this needed or not. Thanks.

@derickr

derickr commented Nov 23, 2026

Copy link
Copy Markdown
Member

@iz-ahmad Thanks, I will be closing this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

View Source link removed from footer

3 participants