MediaWiki
REL1_24
|
Factory for handling the special page list and generating SpecialPage objects. More...
Public Member Functions | |
newSpecialAllPages () | |
specialPageProvider () | |
testGetLocalNameFor () | |
testGetNames () | |
testGetPage ($spec, $shouldReuseInstance) | |
specialPageProvider | |
testGetTitleForAlias () | |
testResolveAlias () |
Factory for handling the special page list and generating SpecialPage objects.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
SpecialPageFactory SpecialPage
Definition at line 23 of file SpecialPageFactoryTest.php.
Definition at line 25 of file SpecialPageFactoryTest.php.
Definition at line 29 of file SpecialPageFactoryTest.php.
Definition at line 78 of file SpecialPageFactoryTest.php.
References $name, Language\factory(), SpecialPageFactory\getLocalNameFor(), SpecialPageFactory\resetList(), and MediaWikiTestCase\setMwGlobals().
Definition at line 56 of file SpecialPageFactoryTest.php.
References array(), SpecialPageFactory\getNames(), MediaWikiTestCase\mergeMwGlobalArrayValue(), and SpecialPageFactory\resetList().
SpecialPageFactoryTest::testGetPage | ( | $ | spec, |
$ | shouldReuseInstance | ||
) |
specialPageProvider
Definition at line 42 of file SpecialPageFactoryTest.php.
References array(), SpecialPageFactory\getPage(), MediaWikiTestCase\mergeMwGlobalArrayValue(), and SpecialPageFactory\resetList().
Definition at line 89 of file SpecialPageFactoryTest.php.
References $title, Language\factory(), SpecialPageFactory\getTitleForAlias(), SpecialPageFactory\resetList(), and MediaWikiTestCase\setMwGlobals().
Definition at line 66 of file SpecialPageFactoryTest.php.
References $name, Language\factory(), list, SpecialPageFactory\resetList(), SpecialPageFactory\resolveAlias(), and MediaWikiTestCase\setMwGlobals().