Split includes/SpecialPage.php
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Dec 2013 16:52:16 +0000 (17:52 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Dec 2013 17:05:37 +0000 (18:05 +0100)
commit22c9aa5ec073c3e7683f874357e40f27bce9e270
tree26bdc07ec1336d8db1b1585b4ea1e06e7ab5b9f1
parent976276338a545f69be70810da0dcc4c894d801af
Split includes/SpecialPage.php

Separated base classes for special pages (most of them abstract) and
several actual special pages, which were previously both in the same
file.

Added license headings, @ingroup SpecialPage and updated class doc
comments; no other changes.

Most classes are now in separate files (the list of changes can be
seen by diffing AutoLoader.php), with three exceptions:
* SpecialListAdmins and SpecialListBots (redirects to
  Special:ListUsers with a parameter) joined their friend in
  includes/specials/SpecialListusers.php.
* SpecialMycontributions, SpecialMypage, SpecialMytalk,
  SpecialMyuploads and SpecialAllMyUploads were moved into a new file
  includes/specials/SpecialMyRedirectPages.php – each of them is
  literally ten lines of code and any changes are likely to touch them
  all, separate files seem impractical.
* RedirectSpecialArticle and SpecialRedirectToSpecial are in one file
  with their parent class RedirectSpecialPage (on a side note, I filed
  bug 58215 to rename them to something less silly).

Change-Id: Ida87238401b182924dbe169a6278588bc2fbecfd
includes/AutoLoader.php
includes/SpecialPage.php [deleted file]
includes/specialpage/FormSpecialPage.php [new file with mode: 0644]
includes/specialpage/IncludableSpecialPage.php [new file with mode: 0644]
includes/specialpage/RedirectSpecialPage.php [new file with mode: 0644]
includes/specialpage/SpecialPage.php [new file with mode: 0644]
includes/specialpage/UnlistedSpecialPage.php [new file with mode: 0644]
includes/specials/SpecialCreateAccount.php [new file with mode: 0644]
includes/specials/SpecialListusers.php
includes/specials/SpecialMyRedirectPages.php [new file with mode: 0644]
includes/specials/SpecialPermanentLink.php [new file with mode: 0644]