aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Feed.php
Commit message (Collapse)AuthorAgeFilesLines
* Documentation and whitespaceSam Reed2012-01-191-0/+1
| | | | | | | Clearing another w/c Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109537
* Per Nikerabbit, fix undefined variable notice from r102851Alexandre Emsenhuber2011-11-121-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102861
* * Renamed member variables to begin with a lower caseAlexandre Emsenhuber2011-11-121-34/+34
| | | | | | | | * Moved constant definitions from the constructor to the class definition * Removed default values from the class definition for members that are always set in the constructor Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102851
* Removed FeedItem::getLastMod() and FeedItem::getDBPrefixedTitle() since they ↵Alexandre Emsenhuber2011-11-101-19/+0
| | | | | | | are not used and would throw an error since FeedItem::$Title is a string and not an object Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102642
* Rename $wgVaryOnXFPForAPI (introduced in r93818) to $wgVaryOnXFP and extend ↵Roan Kattouw2011-10-031-2/+2
| | | | | | | it to also apply to HTTP redirects. The previous name was overly specific for what has become a more generic setting, and we can still change it now that it's not in any release yet. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/98755
* Expand some more URLs: for feeds, referers and the proxy scriptRoan Kattouw2011-08-191-6/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/95016
* Make $wgVaryOnXFPForAPI apply to RSS/Atom feeds too, because they too use ↵Roan Kattouw2011-08-191-2/+5
| | | | | | | PROT_CURRENT. Make PROT_CURRENT usage explicit there too Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/95001
* And some more parameter documentation!!Sam Reed2011-05-281-5/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/89043
* Use consistent notation for "@todo FIXME". Should update ↵Siebrand Mazeland2011-05-171-1/+1
| | | | | | | http://svn.wikimedia.org/doc/todo.html nicely. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88355
* Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks ↵Tim Starling2011-05-151-2/+5
| | | | | | | HipHop support. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88176
* * Implement MW_VERSION constant in Defines.php and use it in preference to ↵Happy-melon2011-05-071-5/+2
| | | | | | | | | $wgVersion. Defines.php will have been loaded anywhere that DefaultSettings.php has been loaded. * Move the declaration of $wgFeedClasses from Defines.php to WebStart.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/87635
* Fix more botched something in r86457Niklas Laxström2011-04-201-10/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86460
* Fix botched something in r86457Niklas Laxström2011-04-201-9/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86459
* Revert r86455 based on bawolff's commentsMark A. Hershberger2011-04-201-0/+19
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86457
* DOH, cut-n-paste error.Mark A. Hershberger2011-04-201-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86456
* Refactor need for duplicate private Title in FeedSMItem away by moving ↵Mark A. Hershberger2011-04-201-1/+20
| | | | | | | functionality to parent. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86455
* Fixup a few undefined variables and alike while checking REL1_17Sam Reed2011-04-041-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/85379
* Spell false with small latterNiklas Laxström2011-01-111-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/80010
* The default value of isPermaLink is true, not including it does nothing.Platonides2010-11-161-1/+1
| | | | | | | http://www.rssboard.org/rss-specification#ltguidgtSubelementOfLtitemgt Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/76810
* Remove $wgContLanguageCode usage in core.Platonides2010-09-071-2/+2
| | | | | | | | | | | | | sed -i 's/$wgContLanguageCode/$wgLanguageCode/g' These are now the same, always. Per and since r15827. $wgLanguageCode wins due to being the one set by LocalSettings. $wgContLanguageCode definition at includes/Setup.php kept for now. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/72561
* * Standardised file description headersAlexandre Emsenhuber2010-08-141-21/+23
| | | | | | | | * Added some descriptions * Added @file where needed Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/71078
* Add <guid> to RSS to avoid duplicatesAryeh Gregor2010-01-151-2/+29
| | | | | | | Bug 7346. Patch by Jools Wills (buzz). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/61090
* * Document a bitAlexandre Emsenhuber2010-01-091-9/+71
| | | | | | | | * Add new doxygen group "Feed" * Fix some doxygen warnings Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60880
* Add FeedItem::stripComment() and remove duplicationAaron Schulz2008-11-191-8/+31
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/43695
* * (bug 15497) Removed encoding attribute from <?xml ?> tagsRoan Kattouw2008-09-101-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/40700
* (bug 15128) Documentation for xmlEncode is wrong, it's not static.Aryeh Gregor2008-08-131-3/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39265
* Revert r39198 "* (bug 15128) Feed:xmlEncode() function now declared as static"Brion Vibber2008-08-121-1/+1
| | | | | | | FeedItem::xmlEncode() is only called *non*-statically Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39240
* * (bug 15128) Feed:xmlEncode() function now declared as staticRyan Schmidt2008-08-121-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39198
* * 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
* * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messagesBrion Vibber2008-02-131-7/+3
| | | | | | | Replaced a bunch of instances of 'if-this-is-not-fully-qualified-prepend-$wgServer' with a function, wfExpandUrl() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/30898
* * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feedsBrion Vibber2008-02-121-1/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/30884
* Feeds for recent changes now provide URLs for the change (i.e., the diff), ↵Aryeh Gregor2007-11-181-0/+1
| | | | | | | not just the page. This matches behavior of history feeds, which appears more correct. Incidentally, this code needs centralization, probably, say into a constructor method of Revision or Article. Logic is unnecessarily duplicated at present. (Also tweaked some docs, used __METHOD__ instead of $fname.) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/27588
* Doc tweaks:Nick Jenkins2007-04-241-1/+1
| | | | | | | | | * Seems like an opportune time to introduce "@addtogroup Media" documentation tags. * Merge "@addtogroup Metadata" (used by Exif.php) into "@addtogroup Media". * Few more moving comment blocks to above classes. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/21515
* Documentation tweaks to help documentation systems (Doxygen + PHPDocumentor) Nick Jenkins2007-04-041-7/+4
| | | | | | | | | | | | pick up the appropriate tags, and documentation blobs for classes. This is the same as per r20769, but with the grouping changes (e.g. removing "@{{") omitted. Please be advised that more related documentation tweaks may follow later - e.g. Doxygen generates a log file of warnings that is 574 Kb in size, when run over the just the trunk/phase3 code ... eek! Thankfully, much of that is just whining about functions without documentation ;-) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20995
* Revert r20769: we don't use PHPDocumentor anymore, we use doxygen.Brion Vibber2007-03-281-4/+7
| | | | | | | If making mass changes to tweak to its preferences, probably better to do it for the tool we actually generate docs with. :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20771
* PHPDocumentor [http://en.wikipedia.org/wiki/PhpDocumentor] documentation ↵Nick Jenkins2007-03-281-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | tweaking stuff. Minor doc tweaks to prevent some PHPDocumentor warnings or errors when run on the includes/ directory. PHPDocumentor uses a syntax very similar to javadoc - mostly we already use this, but there were a few scattered places that were adjusted to make them consistent with the rest of the code. In practical terms, these changes were made: * @url becomes @link * @fixme becomes @todo * HTML tags in descriptions must be closed / balanced. * @bug was removed (where the bug was long fixed), or changed into a @todo (in the few situations where the bug was still pending) * @obsolete becomes @deprecated * Things like "/**@{{" and "/**@}}*/" which cause "unknown tag" warnings were removed * @access must be a valid access level. * @desc tag not needed, removed. * Doesn't seem to like @licence, will accept @license however. * Use full comment block notation in a few places (i.e. open block with "/**", start each line with " *", and end block with " */") Then additional to this, to get some class docs associated with their respective classes: * Moved some docs to right above those classes (deleting blank lines, or moving descriptions from the file headers) * Marked some classes without docs as "@todo document" * (done up to "class MIMEsearchPage" on the "classtrees_MediaWiki.html" page for the includes/ directory) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20769
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-5/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* Rename constructors to __constructorAntoine Musso2007-01-201-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19492
* * Added global $wgStyleVersion to centralize bumping CSS and JS file versionsBrion Vibber2006-10-131-2/+2
| | | | | | | | for cache-friendly style and script updating Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16992
* Revert to r14165 . Did too many changes, didnt even run parserTests (i am bad)Antoine Musso2006-05-111-6/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14172
* public / private / static stuff when loading Special:RecentchangesAntoine Musso2006-05-111-5/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14169
* Switching from phpdoc to doxygen (use less than 32MB of memory).Antoine Musso2006-04-191-9/+10
| | | | | | | | Run maintenance/mwdocgen.php to generate doc in ./docs/html/ . Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/13740
* Update the FSF's address in all these GPL stub headersBrion Vibber2006-04-051-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/13489
* removing unused globals and some whitespace cleaningLupin2006-03-071-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/13179
* * s~\t+$~~Ævar Arnfjörð Bjarmason2006-01-071-23/+23
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12476
* * s~ +$~~Ævar Arnfjörð Bjarmason2006-01-071-6/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12472
* * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due toBrion Vibber2005-11-171-4/+5
| | | | | | | | | unclear language in the spec. Now using the URL, same as the permalink, which someone else will probably whine about because it's not 'perma' enough or something. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11755
* * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0Brion Vibber2005-11-051-9/+32
| | | | | | | | * Allow $wgFeedCacheTimeout of 0 to disable feed caching Hooray for gratuitou s changes from atom 0.3 to 1.0! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11666
* * Minor code refactoringÆvar Arnfjörð Bjarmason2005-09-081-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10950
* * DocumentationÆvar Arnfjörð Bjarmason2005-07-181-23/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10190