Page MenuHomePhabricator

Take advantage of the new isMainPage() and isFilePage() methods added to the Page class
Closed, ResolvedPublic

Description

The Page class recently had isMainPage() and isFilePage() methods added to it. Previously one had to use getPageProperties().isMainPage() and getTitle().isFilePage(), which was obscure and hard to remember. One could replace instances of the latter two with the former two, now.

This would be a nice task for someone newer to the repository.

Event Timeline

Deskana raised the priority of this task from to Needs Triage.
Deskana updated the task description. (Show Details)
Deskana subscribed.

Change 211496 had a related patch set uploaded (by Kittensofdoom):
Use the new isMainPage() and isFilePage() methods added to the Page class.

https://gerrit.wikimedia.org/r/211496

Change 211496 merged by jenkins-bot:
Use the new isMainPage() and isFilePage() methods added to the Page class.

https://gerrit.wikimedia.org/r/211496