aboutsummaryrefslogtreecommitdiffstats
path: root/includes/PageQueryPage.php
Commit message (Collapse)AuthorAgeFilesLines
* Move QueryPage and abstract subclasses to specialpage folderKevin Israel2014-06-241-72/+0
| | | | | | | | | | | ... now that f508561f7bde ("Moved $wgQueryPages stuff out of the global scope and into a function") has been merged, which eliminated hardcoding of the pathname except in the AutoLoader. WantedQueryPage is moved to a separate file. Bug: 60445 Change-Id: If2019492722083819b82afa6302670b94b181098
* Fixed some @params documentation (includes/*)umherirrender2014-04-201-1/+1
| | | | | | | | | Swapped some "$var type" to "type $var" or added missing types before the $var. Changed some other types to match the more common spelling. Makes beginning of some text in captial. Also added some missing @param. Change-Id: I7f605aa9e117b5fd80d9b1440864fe526d2b14a5
* Show correct link color on cached result of Special:DeadendPagesumherirrender2013-11-161-1/+23
| | | | | | | | | Reaching this by doing a LinkBatch and than using Linker::link instead of Linker::linkKnown. This adds also the stub color to the link. Bug: 56912 Change-Id: I516f95302546ccdf8d0fdc7101c2ff72daa5f2fb
* Update/add documentationSiebrand Mazeland2013-04-141-3/+2
| | | | Change-Id: I897d5833cdaf7dc2d3bca5bb5551958611f22bd9
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-05-111-0/+21
| | | | | | Also made file/class documentation more consistent. Change-Id: Ia45d0756cd84138da267bf1cbd1a58be7f28c6d1
* Added Linker::getInvalidTitleDescription() to display invalid title entries ↵Alexandre Emsenhuber2012-05-071-2/+6
| | | | | | | | | in various places. This method will use two new messages 'invalidtitle-knownnamespace' and 'invalidtitle-unknownnamespace' depending on the fact that the given namespace number exists or not. I did put that method in Linker because I plan to use it in various places, notably in other QueryPage and Pager subclasses. Change-Id: I13e7cdc2c0a8e86dc5e4b144b6012f3864d2ec06
* revert core part of r111231Antoine Musso2012-02-121-3/+1
| | | | | | | | | That one removed wfLoadExtensionMessages() . We do not want to break back compatiliblity right now. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111323
* * Remove last remaining traces of wfLoadExtensionMessages().Siebrand Mazeland2012-02-111-1/+3
| | | | | | | | * Add missing action message and remove unused global in UploadLocal. * Some whitespace updates in Maps. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111231
* Call Linker method statically; also changed it to linkKnown()Alexandre Emsenhuber2011-09-051-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/96302
* Merge querypage-work2 branch from trunk. The most relevant changes are:Roan Kattouw2010-12-221-1/+1
| | | | | | | | | | | | | * QueryPage now uses array-based query building instead of raw SQL * Converted all QueryPage-based special pages that were using old-style wfSpecialFoo functions to new-style SpecialPage subclasses; this is possible because QueryPage is changed to extend SpecialPage * Backward compatibility for extensions is partly preserved: getSQL() is fallen back on for QueryPage subclasses that don't implement getQueryInfo(), but getOrder() will be ignored (implement getOrderFields() instead). This also means that dual compatibility (1.18 compat and b/c with pre-1.18) is trivial Extension changes will be merged after this commit. These changes make it easier to write an API module for QueryPages (bug 14869); this wasn't done in the branch but will be done in trunk soon. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/78786
* Few braces and spacesSam Reed2010-11-301-3/+4
| | | | | | | Fixing up documentation Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/77499
* Pass the actual text from $row->title (escaped with htmlspecialchars) ↵Alex Z2008-10-061-3/+3
| | | | | | | instead of null so we can see what the bad title actually is. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41726
* Cleanup for r41673, don't check for page existence.Alex Z2008-10-041-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41677
* Use Linker::link() in PageQueryPage instead of deprecated makeKnownLinkObj. ↵Alex Z2008-10-041-2/+4
| | | | | | | This also avoids PHP fatal errors if for whatever reason there's an invalid title in the results. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41673
* WARNING: HUGE COMMITAlexandre Emsenhuber2008-05-201-3/+3
| | | | | | | | | | | | | | | | | | Doxygen documentation update: * Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group. * Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file. * Removed some empty comments * Removed some ?> Added following groups: * ExternalStorage * JobQueue * MaintenanceLanguage One more thing: there are still a lot of warnings when generating the doc. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
* * remove end of line whitespaceSiebrand Mazeland2008-04-141-2/+0
| | | | | | | | * remove empty lines at end of file * remove "?>" where still present Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/33276
* Doc cleanup:Alexandre Emsenhuber2008-03-181-1/+0
| | | | | | | | | | * Remove deprecated "@package MediaWiki" from comments * Kill ending ?> tag in AdminSettings.sample * remove uneeded comment in SpecialPage.php * update some links to docs/skin.txt instead of skin.txt Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/32112
* Remove ?>'s from files. They're pointless, and just asking for people to ↵Aryeh Gregor2007-06-291-1/+1
| | | | | | | mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/23531
* Yet more doc tweaks:Nick Jenkins2007-04-201-1/+2
| | | | | | | | | * Add @addtogroup tags to various classes, to try and group conceptually-related classes together. * Add brief descriptions to various Special pages, thanks to Phil Boswell. * Moving some docs to be right above the classes they represent, so that they are picked up. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/21402
* Move PageQueryPage class into own fileRob Church2007-03-311-0/+25
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20874