aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Metadata.php
Commit message (Collapse)AuthorAgeFilesLines
* Update docs and declare visibility on class propsSiebrand Mazeland2013-11-011-6/+9
| | | | Change-Id: Ib0f02202d075d4a56dc4e37b08d7ac9399e8c86c
* Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rightsBrad Jorsch2013-07-031-1/+3
| | | | | | | | | | | | | | These are needed for OAuth grants. Note that we don't bother with a 'viewmyoptions' right, since the majority will be determinable from just observing the interface. Note that the fact of having a confirmed email address cannot be reliably hidden, and if the user has 'sendemail' they may be able to determine the real name and email address by sending an email to another account that they control. Change-Id: I3f03dd010020e8d43cc2d3bca7b3ef7196d1c548
* Fixed spacing in files direct in includes folderumherirrender2013-04-211-12/+12
| | | | | | | Added spaces before if, foreach Added some braces for one line statements Change-Id: Ibb8dd102db045522d12ff939075ba7420d95ab6b
* Fix case of some Title methodsAlexandre Emsenhuber2013-03-271-1/+1
| | | | Change-Id: I37ce7fe392f4941c500fa0a88007664501d7e338
* fix some spacingumherirrender2013-02-041-16/+16
| | | | Change-Id: I8f976013f33c5818e4402604fe8610aa3f43b0c6
* fix some spacingumherirrender2013-01-271-11/+10
| | | Change-Id: Ie7bb35871cc99237f3a655f7db22ca1f0646df5e
* The abstract declaration must precede the visibility declarationumherirrender2013-01-261-1/+1
| | | | | | From phpcs Change-Id: I169c80a911ba75d64ab8a503088903ce3b8a7cca
* misc style fixAntoine Musso2012-12-201-1/+1
| | | | | | | * makes booleans lower case * add spaces before open braces Change-Id: Id88884e08bc23d7730361ee91646f54f5e16920b
* Replace deprecated wfMsg* calls with Message class calls.Siebrand Mazeland2012-08-221-3/+7
| | | | | | | Doing this in steps of roughly 100 changes per commit, so that it remains reviewable. Change-Id: Ie349afa5c809c887c787c7c04c49c9dd3478ccac
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-05-121-10/+12
| | | | | | Also made file/class documentation more consistent. Change-Id: I0db3461139284edcb6ac02923eb83d54e6756ffb
* * Added HttpError exception as replacement for wfHttpError(); changed alls ↵Alexandre Emsenhuber2011-09-161-7/+6
| | | | | | | | | | core calls to it except AjaxDispatcher.php * Changed FeedUtils' call to it to be similar than feeds are completely disabled * Use local context instead of global variables in Special:Userlogout Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/97314
* * Split off WikiPage class from Article, WikiFilePage class from ImagePage, ↵Aaron Schulz2011-06-291-1/+1
| | | | | | | | | | | | | | | | | and WikiCategoryPage from CategoryPage. * WikiPage functions/fields are "magically" part of Article when accessed for b/c. Magic is kind of ugly but there are too many callers to make breaking changes atm. Some functions are just wrappers for WikiPage ones (were magic won't work). * Added newFromID() to each WikiPage subclass (works around pre-existing inheritance problem). * Added Page class for convenient type hinting and changed hints from Article -> Page. This lets things use WikiPage objects without getting type errors. * Updated FlaggedPage to extend WikiPage. Worked around getOldIdFromRequest(). * Added setTimestamp() to WikiPage and moved some timestamp setting code from ParserCache to Article. * Removed ampersands from $dbw arguments. * @TODO: dependency inject user objects for WikiPage The idea is to migrate things to use WikiPage, as the run-of-the-mill "new Article()" call doesn't care about $oldid and $wgRequest. After that, Article, ImagePage, and CategoryPage can be rewritten as an Action class or something sane (a Viewer class of sorts). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/91123
* Use title accessorAaron Schulz2011-06-281-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/91018
* Swap else if for elseifSam Reed2011-06-171-2/+2
| | | | | | | | | Trimming trailing whitespace also Doing in 3 commits (2/3), so hopefully reviewable in CR... Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90281
* And some more parameter documentation!!Sam Reed2011-05-281-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/89043
* Remove unused variables/globalsSam Reed2011-05-261-2/+3
| | | | | | | Swap while to foreach Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88917
* * (bug 29144) Move action=dublincore and action=creativecommons to extensionsSam Reed2011-05-261-7/+0
| | | | | | | Add back links for metadata in <head> Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88876
* * (bug 29144) Move action=dublincore and action=creativecommons to extensionsSam Reed2011-05-261-83/+0
| | | | | | | Moved CreativeCommonsRDF out to extension Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88873
* * (bug 29144) Move action=dublincore and action=creativecommons to extensionsSam Reed2011-05-251-37/+1
| | | | | | | Moved dublincore out to extension Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88868
* Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globalsSam Reed2011-05-061-5/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/87589
* SpacesPlatonides2010-11-011-5/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/75786
* bug 25517 Assignment in conditions should be avoided/ ↵Sam Reed2010-11-011-4/+7
| | | | | | | http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/75767
* 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-081-1/+3
| | | | | | | | * Added some descriptions * Added @file where needed Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70699
* Removal of unused globalsSam Reed2010-07-241-2/+0
| | | | | | | Removal of one setting of a variable to '', then not using further Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/69839
* Follow-up r66234: support GENDER in 'siteuser'Siebrand Mazeland2010-05-111-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/66237
* Tweak for r39944: correct fix :)Alexandre Emsenhuber2008-08-251-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39947
* Add {{PLURAL}} support to 'anonymous'. 2 uses in Credits already passed the ↵Chad Horohoe2008-08-251-1/+1
| | | | | | | $1 param, it just wasn't in the message. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39944
* Tweaks for Credits and Metadata:Alexandre Emsenhuber2008-08-181-288/+240
| | | | | | | | | * Put all functions into classed so that they can be autoloaded * Marked all private methods as protected * Article::getContributors() now returns UserArrayFromResult object Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39603
* * remove end of line whitespaceSiebrand Mazeland2008-04-141-3/+1
| | | | | | | | * remove empty lines at end of file * remove "?>" where still present Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/33276
* 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
* parenthesisNick Jenkins2007-03-271-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20731
* While I'm at it, why not pseudo-initialize to null instead of ''? No ↵Aryeh Gregor2007-03-271-1/+1
| | | | | | | difference in behavior, due to behavior of the receiving function, but who knows, it makes more sense. More semantic-y, kinda. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20729
* Use the variable I introduced, maybe?Aryeh Gregor2007-03-271-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20728
* Don't mess with system variables, sry brionAryeh Gregor2007-03-261-3/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20725
* Fix E_NOTICE on line 76 if $_SERVER['HTTP_ACCEPT'] not setAryeh Gregor2007-03-261-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20707
* * Add 'charset' to Content-Type headers on various HTTP error responsesBrion Vibber2007-02-211-1/+1
| | | | | | | | | | | | | | | | to forestall additional UTF-7-autodetect XSS issues. Probably not an issue on Apache 2.0+, but most servers send only 'text/html' by default when the script didn't specify more details. This fixes an issue with the Ajax interface error message on MSIE when $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA from BugSec: http://www.bugsec.com/articles.php?Security=24 * Trackback responses now specify XML content type Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20007
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* * Avoid PHP warning in Creative Commons metadata when a creative commonsBrion Vibber2007-01-021-1/+5
| | | | | | | | license is not actually set up Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18765
* Completing code housekeeping stuff for rest of includes/ directory: removing ↵Nick Jenkins2006-11-291-3/+4
| | | | | | | unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17991
* having some fun with doxygen error logAntoine Musso2006-06-101-20/+20
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/14700
* 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
* * Documentation: @private => @access privateÆvar Arnfjörð Bjarmason2006-01-071-20/+20
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/12470
* Clean up unused globals!Antoine Musso2005-12-041-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11956
* Whitespace fixup.Evan Prodromou2004-11-111-63/+63
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6209
* First batch of files modified to switch wgLang to wgContLang.Zheng Zhu2004-09-241-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5461
* Split files and classes in different packages for phpdocumentor. I probably ↵Antoine Musso2004-09-031-0/+1
| | | | | | | changed some double quotes to single and used function foo () { shema Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5069
* Changing comments layout preparing for generated documentation with ↵Antoine Musso2004-09-021-24/+89
| | | | | | | Phpdocumentor Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5032
* massive double to single quotes conversion. I have not noticed any bug after ↵Antoine Musso2004-08-221-17/+17
| | | | | | | a lot of testing Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4904
* Update for CC 2.0 licenses.Brion Vibber2004-08-111-19/+24
| | | | | | | Something is not right though; it barfs in the list of authors. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4685