| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Implements Special:Recentchanges 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.
| File Size: | 760 lines (22 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
SpecialRecentChanges:: (23 methods):
__construct()
execute()
getDefaultOptions()
getCustomFilters()
parseParameters()
validateOptions()
buildMainQueryConds()
doMainQuery()
runMainQueryHook()
outputFeedLinks()
getFeedQuery()
outputChangesList()
doHeader()
setTopText()
getExtraOptions()
addModules()
checkLastModified()
namespaceFilterForm()
categoryFilterForm()
filterByCategories()
makeOptionsLink()
optionsPanel()
isIncludable()
Class: SpecialRecentChanges - X-Ref
A special page that lists last changes made to the wiki| __construct( $name = 'Recentchanges', $restriction = '' ) X-Ref |
| No description |
| execute( $subpage ) X-Ref |
| Main execution point param: string $subpage |
| getDefaultOptions() X-Ref |
| Get a FormOptions object containing the default options return: FormOptions |
| getCustomFilters() X-Ref |
| Get custom show/hide filters return: array Map of filter URL param names to properties (msg/default) |
| parseParameters( $par, FormOptions $opts ) X-Ref |
| Process $par and put options found in $opts. Used when including the page. param: string $par param: FormOptions $opts |
| validateOptions( FormOptions $opts ) X-Ref |
| No description |
| buildMainQueryConds( FormOptions $opts ) X-Ref |
| Return an array of conditions depending of options set in $opts param: FormOptions $opts return: array |
| doMainQuery( $conds, $opts ) X-Ref |
| Process the query param: array $conds param: FormOptions $opts return: bool|ResultWrapper Result or false (for Recentchangeslinked only) |
| runMainQueryHook( &$tables, &$fields, &$conds, &$query_options, &$join_conds, $opts ) X-Ref |
| No description |
| outputFeedLinks() X-Ref |
| No description |
| getFeedQuery() X-Ref |
| Get URL query parameters for action=feedrecentchanges API feed of current recent changes view. return: array |
| outputChangesList( $rows, $opts ) X-Ref |
| Build and output the actual changes list. param: array $rows Database rows param: FormOptions $opts |
| doHeader( $opts, $numRows ) X-Ref |
| Set the text to be displayed above the changes param: FormOptions $opts param: int $numRows Number of rows in the result to show after this header |
| setTopText( FormOptions $opts ) X-Ref |
| Send the text to be displayed above the options param: FormOptions $opts Unused |
| getExtraOptions( $opts ) X-Ref |
| Get options to be displayed in a form param: FormOptions $opts return: array |
| addModules() X-Ref |
| Add page-specific modules. |
| checkLastModified() X-Ref |
| Get last modified date, for client caching Don't use this if we are using the patrol feature, patrol changes don't update the timestamp return: string|bool |
| namespaceFilterForm( FormOptions $opts ) X-Ref |
| Creates the choose namespace selection param: FormOptions $opts return: string |
| categoryFilterForm( FormOptions $opts ) X-Ref |
| Create an input to filter changes by categories param: FormOptions $opts return: array |
| filterByCategories( &$rows, FormOptions $opts ) X-Ref |
| Filter $rows by categories set in $opts param: ResultWrapper $rows Database rows param: FormOptions $opts |
| makeOptionsLink( $title, $override, $options, $active = false ) X-Ref |
| Makes change an option link which carries all the other options param: string $title Title param: array $override Options to override param: array $options Current options param: bool $active Whether to show the link in bold return: string |
| optionsPanel( $defaults, $nondefaults, $numRows ) X-Ref |
| Creates the options panel. param: array $defaults param: array $nondefaults param: int $numRows Number of rows in the result to show after this header return: string |
| isIncludable() X-Ref |
| No description |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |