Manual:findClasses.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.37
<translate> MediaWiki version:</translate> |
MediaWiki file: findClasses.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | FindClasses |
Details
findClasses.php is a maintenance script to finds the files containing classes via the autoloader.
Options/Arguments
This script does not take any options or arguments.
Usage
php maintenance/findClasses.php
Finding a single class
Terminal
$ echo "SpecialPage" | php maintenance/findClasses.php /var/www/html/includes/specialpage/SpecialPage.php
Finding multiple classes through file
classes.txt
HTMLForm
SpecialPage
Html
Xml
Terminal
$ php maintenance/findClasses.php < classes.txt /var/www/html/includes/htmlform/HTMLForm.php /var/www/html/includes/specialpage/SpecialPage.php /var/www/html/includes/Html.php /var/www/html/includes/xml/Xml.php