aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials/SpecialCachedPage.php
Commit message (Collapse)AuthorAgeFilesLines
* Drop hard-deprecated CacheHelper classesPetr Pchelko2021-04-201-209/+0
| | | | | Bug: T249230 Change-Id: I8fb43e862a19031520dda5a147e533becd7eb89e
* Hard deprecate CacheHelper, ICacheHelper, CachedAction, SpecialCachedPage.Petr Pchelko2021-01-251-0/+8
| | | | | | Bug: T249230 Depends-On: Ia2c6e93595905e6143cccede8478a6aac8dbf567 Change-Id: I749be35d784481671936c5ba037945f3b9ee2c4f
* Convert all array() syntax to []Kunal Mehta2016-02-171-5/+5
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Pass phpcs-strict on includes/specials/ (1/3)Siebrand Mazeland2014-05-091-3/+7
| | | | Change-Id: Ib4522f22551ed5501e1ab7767b8f481fe6cd72d2
* Fixed some @params documentation (includes/[specialpage|specials])umherirrender2014-04-191-7/+7
| | | | | | | | | 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: Icf6f36bb53322b39cd5c89523dbd0e4ab10b9ec9
* Update formattingSiebrand Mazeland2013-04-201-1/+0
| | | | Change-Id: I0e334d910a311f067276215b6bff94cd814fc3b3
* fixed type hintsjeroendedauw2012-11-011-2/+2
| | | | Change-Id: If7739f094e770fadfb7b5d9e270c9553331115a0
* miscellaneous doxygen warningsAntoine Musso2012-10-221-2/+2
| | | | | | | | | | | | | * @licence -> @license * Protects inline HTML by using double quotes, our inline comments uses elements such as <h1> or <firstnameLastname@gmail.com> * Commands in lowercase (@TODO -> @todo, @NOTE -> @note) * removes @abstract and @static since doxygen detects them from PHP code. * various undocumented function parameters * typos in parameters declarations Change-Id: I62ad6fc124c355bf31acc780b9614a59cf79a421
* Fix issue in SpecialCachedPage: only save cache when initializedjeroendedauw2012-08-091-1/+3
| | | | Change-Id: I5a63857c297fbf3055ea6e5d0524dac8fd251411
* Always save the cache if stuff was added to it - dont require deriving class ↵jeroendedauw2012-07-311-10/+25
| | | | | | to call save Change-Id: Ifd57c4c3f3d10be97080c9aae5599f6057ea9baf
* Big oops - merged to wrong branch.awjrichards2012-06-051-5/+17
| | | | | Revert "Revert to arbitrarily old point before initial remote branch creation to help clean up" This reverts commit ee0d3d330f76b97c451c168dc9b052ee84609b5b
* Revert to arbitrarily old point before initial remote branch creation to ↵awjrichards2012-06-021-17/+5
| | | | | | help clean up Change-Id: I41a3d1e55d3ea9dffa42451237fe065f9334361d
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-06-031-5/+17
| | | | | | Also made file/class documentation more consistent. Change-Id: Ie95c594fcd686ef30dadc7574d3e5b47236a8638
* CacheHelper: facilitate caching handling on a pageJeroen De Dauw2012-04-181-0/+169
| | | | | | | | | CacheHelper changes: adding a CacheHelper object to facilitate caching several things on a single page and created implementations for SpecialPage and Action also containing scaffolding for things such as purging the cache Change-Id: I7b1f8ac8ac2e37f15b3924d4448e579e6dbbc80f
* Revert r114067, r114071, r114075, r114079, r114081, r114082, r114084, ↵Roan Kattouw2012-03-201-169/+0
| | | | | | | | | r114086, r114088, r114089, r114101, r114118, r114137, r114147, r114164, r114172, r114175, r114180, r114208, r114209, r114215, r114219, r114226, r114321, r114322. This reverts the SpecialCachedPage and formatDuration sagas, with some collateral damage here and there. All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114326
* added enabled field so you can disable the cache thing if you need to before ↵Jeroen De Dauw2012-03-201-1/+10
| | | | | | | its been initialized and fixed copypaste error Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114226
* follow up to r114215, fix some fails and added CachedAction implementing the ↵Jeroen De Dauw2012-03-201-1/+20
| | | | | | | same stuff as SpecialCachedPage Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114219
* split general cache helper functionality to its own class, so we can also ↵Jeroen De Dauw2012-03-191-197/+38
| | | | | | | easily use it in stuff that does not derive from SpecialPage, such as Action Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114215
* fix subpage linkingJeroen De Dauw2012-03-191-1/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114209
* only init if not already done soJeroen De Dauw2012-03-191-10/+12
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114208
* make more generic: do not assume we want to add html to the output. Also get ↵Jeroen De Dauw2012-03-191-10/+38
| | | | | | | rid of action=purge from key args Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114180
* fix for r114164Jeroen De Dauw2012-03-191-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114175
* update docsJeroen De Dauw2012-03-191-4/+10
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114172
* some refactoring to allow for nicer usage in deriving classesJeroen De Dauw2012-03-191-27/+72
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114164
* Follow up to r114081; address krinkles commentJeroen De Dauw2012-03-191-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114147
* Follow up to r114081; Jeroen De Dauw2012-03-191-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114137
* follow up to r114081: qqq, and to r114082: match renameJeroen De Dauw2012-03-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114101
* adding special page with scaffolding for caching chunks of HTMLJeroen De Dauw2012-03-171-0/+215
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114081