Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #7515
Description
/profile/:username
The profile page was showing '? wiki edits' with wrong number and link to the user created wikis, changed the link to '? wikis created'.
![after-profile-:username](https://user-images.githubusercontent.com/33282336/74768163-e1673280-5266-11ea-9bf1-c257f2e9756e.png)
Also did a refactor in the query.
/wikis/author/:username
Changed the query to get only the wiki pages created by the user.
![after-wikis-author-:username](https://user-images.githubusercontent.com/33282336/74768841-0e681500-5268-11ea-9b7f-006c806189d4.png)
Still showing the number of research notes by the user (can be altered to show the number of wikis instead since it's in wikis page).
/notes/author/:username
Was also showing the wrong number of wiki edits, like profile page, removed the text from the page to show only the number of notes and match the page content.
![after-notes-author-:username](https://user-images.githubusercontent.com/33282336/74769432-268c6400-5269-11ea-832d-2355ec6ea2e0.png)