* Refactored Article::getAutosummary(), so there's not a very simple static function...
authorLeon Weber <leon@users.mediawiki.org>
Sat, 24 May 2008 14:55:54 +0000 (14:55 +0000)
committerLeon Weber <leon@users.mediawiki.org>
Sat, 24 May 2008 14:55:54 +0000 (14:55 +0000)
commitb87d714a93fb426b85b0cb7adc17406641240099
treed7862a914347b949c2b78c045faada036ae00aa2
parent52f656840e2d445bba4e0adfe4a987cce3861c01
* Refactored Article::getAutosummary(), so there's not a very simple static function called for every
  autosummary case, instead just include the appropriate code, which makes the whole thing much shorter
  and cleaner.
* Removed Article::getRedirectAutosummary() and Article::getBlankingAutosummary(), which were obsolete
  then.
* Article::getRedirectAutosummary() was called from EditPage::internalAttemptSave() as check if the page
  being edited is a redirect. Replaced that function call with the one-line routine which was used in the
  former Article::getRedirectAutosummary() function. We should have this check in some general static
  function, though.
includes/Article.php
includes/EditPage.php