wiki.techinc.nl/includes
Antoine Musso a2d41b8d6f HTTP status messages move: OutputPage -> HttpStatus
OutputPage::getStatusMessage() is a method to convert a numeric HTTP status
code to an english message.  It does not really belong to the OutputPage were
it was for historical reason.
This patch move the basic function to a non MediaWiki dependant class in our
directory includes/libs.  We could potentially enhances it, but I do not see
any use cases for us yet.
I have renamed the method to the shorter 'getMessage' since the word 'status'
is now in the class name.

Summary of changes:
* OutputPage::getStatusMessage becomes HttpStatus::getMessage
* Method moved to the new includes/libs/HttpStatus.php
* Autoloader updated
* History kept by using 'svn copy'
* No functional changes
* No input/output format changes
* Old occurences modified in phase3
* OutputPage::getStatusMessages() marked as deprecated

PHPUnit test suite is fine.
Tested manually using a redirection
2011-07-04 21:01:19 +00:00
..
actions Moved action=rollback to an Action subclass 2011-07-02 13:46:56 +00:00
api Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
cache Removed ampersand in HTMLFileCache constructor 2011-07-01 22:01:48 +00:00
conf And even more documentation 2011-05-28 18:58:51 +00:00
db * Removed usage of error suppression operator in includes/db 2011-07-04 15:00:30 +00:00
diff Removed some dead code (useless since r87806) 2011-07-02 09:12:08 +00:00
extauth Revert the dbname -> dbName part of r90430. dbname actually dates back to r32578 and is referenced in the documentation for $wgDBservers, so it can't be easily changed. We can still kill tablename though, it's not too late. 2011-06-20 07:40:07 +00:00
filerepo Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
installer Localisation updates for core and extension messages from translatewiki.net (2011-07-03 19:50:00 UTC) 2011-07-03 20:01:47 +00:00
interwiki Allow rows missing iw_trans or iw_local to be considered valid. 2011-04-23 03:10:57 +00:00
job * Follow-up r84397: make sure that mysql uses the job_id index even with the job_cmd clause 2011-06-30 20:32:41 +00:00
json Fix the non-PEAR alternative for Services_JSON_Error to be less useless. bug 29278 shows an error related to this class not being stringifiable 2011-06-06 09:41:33 +00:00
libs HTTP status messages move: OutputPage -> HttpStatus 2011-07-04 21:01:19 +00:00
media Replaced calls to Skin::formatSize() by Language::formatSize() where escaping is not needed (the former is just a wrapper to the latter with a call to htmlspecialchars()) 2011-07-01 09:03:15 +00:00
normal Swap else if for elseif 2011-06-17 16:05:05 +00:00
objectcache Allow SqlBagOStuff data to be split over many tables, to avoid lock contention performance issues on servers with a high write load. See http://bugs.mysql.com/bug.php?id=61735 and http://bugs.mysql.com/bug.php?id=61736 . 2011-07-04 12:01:10 +00:00
parser * Split off WikiPage class from Article, WikiFilePage class from ImagePage, and WikiCategoryPage from CategoryPage. 2011-06-29 22:09:51 +00:00
profiler Fix for r89206, r89218: always supply constructor parameters 2011-05-31 23:50:11 +00:00
resourceloader (bug 29277) MediaWiki:Filepage.css not loaded on foreignwiki itself. Fixup to r68904. Yay Roan finally taught me how to use the resourceloader :D 2011-06-29 00:08:25 +00:00
revisiondelete Fix for r91344: removed straggling instances of $this->special in item classes 2011-07-02 17:27:48 +00:00
search Swap else if for elseif 2011-06-17 16:05:05 +00:00
specials HTTP status messages move: OutputPage -> HttpStatus 2011-07-04 21:01:19 +00:00
templates * Restored the page shown when LocalSettings.php is missing to how it was before r85918. That template is a welcome page, not a "catastrophic error". 2011-06-07 05:11:50 +00:00
upload UploadStashFile::__construct() can't assume that the mwrepo-produced paths match the temp zone. 2011-06-28 22:00:21 +00:00
zhtable Update Chinese conversion tables. 2011-06-19 18:10:24 +00:00
.htaccess
Action.php * Changed action=revert to use a subclass of Action 2011-07-01 20:07:21 +00:00
AjaxDispatcher.php Yet more additions of wfProfileOut() 2011-02-10 16:39:53 +00:00
AjaxFunctions.php Removed code2utf() and replaced with codepointToUtf8() to reduce code duplication since they do exactely the same thing 2011-06-29 09:22:15 +00:00
AjaxResponse.php
Article.php Revert old page navigation back to a subtitle 2011-07-04 19:17:36 +00:00
AuthPlugin.php Add/remove/tweak method documentation 2011-05-19 00:03:31 +00:00
AutoLoader.php HTTP status messages move: OutputPage -> HttpStatus 2011-07-04 21:01:19 +00:00
Autopromote.php Follow-up r90819: made XOR only work on two conditions per CR. Give a warning if three or more given. 2011-06-28 02:56:45 +00:00
BacklinkCache.php (Follow-up r91059) Make backlinks query do both null or "" to potentially account for old rows that havn't been updated 2011-06-29 23:09:00 +00:00
Block.php Follow-up r88738: this check is no longer needed since r88750. 2011-06-27 13:48:01 +00:00
Category.php More documentation and class definitions 2011-03-08 20:17:48 +00:00
Categoryfinder.php Add/remove/tweak method documentation 2011-05-19 00:03:31 +00:00
CategoryPage.php Fix for r90337 and r90743: Use $this->title instead of $wgTitle, also groupped global declarations at the top 2011-07-04 08:40:41 +00:00
Cdb.php And even more documentation 2011-05-28 18:58:51 +00:00
Cdb_PHP.php And some more.... 2011-05-28 17:51:33 +00:00
ChangesFeed.php (bug 29485) For rss feed of the RC, it groups consecutive edits by same user, but then links 2011-06-19 05:45:40 +00:00
ChangesList.php Follow-up r91167: that was for history of course.. this one is for recentchanges etc. 2011-06-30 14:10:53 +00:00
ChangeTags.php Minor refactoring 2011-06-06 15:01:27 +00:00
Collation.php Let $wgCategoryCollation take a class name as a value so that extensions 2011-06-25 07:21:29 +00:00
ConfEditor.php Removed some usage of error suppression operator 2011-06-09 19:52:07 +00:00
Cookie.php Add some doc comments on Cookie::validateCookieDomain() and Http::isValidUri(), which both have some failing test cases and are incomplete 2011-06-01 22:35:03 +00:00
DefaultSettings.php Moved action=rollback to an Action subclass 2011-07-02 13:46:56 +00:00
Defines.php Move $wgFeedClasses to DefaultSettings where they belong. This has been bothering me for years. 2011-06-30 18:16:45 +00:00
DjVuImage.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
EditPage.php Changed calls to Linker::tooltipAndAccesskeyAttribs() to be static and fixed casing in method's name 2011-07-04 08:28:27 +00:00
Exception.php * Remove Exception.php's reliance on wfDie(), as well as the awful constant MEDIAWIKI_INSTALL (holdover from old installer) 2011-06-28 19:46:23 +00:00
Export.php Uncommited documentation from my working copy 2011-06-25 16:15:44 +00:00
ExternalEdit.php Removed raw Article->field accessing 2011-06-28 14:10:55 +00:00
ExternalStore.php Even more documentation in various files 2011-05-29 14:24:27 +00:00
ExternalStoreDB.php
ExternalStoreHttp.php
ExternalUser.php More documentation tweaks/additions 2011-05-26 19:52:56 +00:00
FakeTitle.php It's not just for < 5.1! 2011-05-26 20:38:05 +00:00
Fallback.php And even more documentation 2011-05-28 18:58:51 +00:00
Feed.php And some more parameter documentation!! 2011-05-28 16:31:00 +00:00
FeedUtils.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
FileDeleteForm.php Follow-up r90482: escape some more wikitext 2011-06-22 14:59:05 +00:00
ForkController.php And even more documentation 2011-05-28 18:59:42 +00:00
FormOptions.php FormOptions: adds doc & tests 2011-02-28 20:58:34 +00:00
GenderCache.php More documentation tweaks/additions 2011-05-26 20:26:51 +00:00
GlobalFunctions.php More return documentation and trimming trailing whitespace 2011-06-30 02:59:43 +00:00
HistoryBlob.php Revert r89925, setting disable_functions in php.ini is definitely the wrong way to fix hash mismatches. 2011-06-14 06:07:20 +00:00
HistoryPage.php Changed calls to Linker::tooltipAndAccesskeyAttribs() to be static and fixed casing in method's name 2011-07-04 08:28:27 +00:00
Hooks.php Swap else if for elseif 2011-06-17 16:03:52 +00:00
Html.php * used Html static functions instead og Xml. (r89260#c17418) 2011-06-01 14:18:12 +00:00
HTMLForm.php Changed calls to Linker::tooltipAndAccesskeyAttribs() to be static and fixed casing in method's name 2011-07-04 08:28:27 +00:00
HttpFunctions.old.php More parameter documentation!! 2011-05-28 15:59:57 +00:00
HttpFunctions.php follow up r89278 — remove FTP support. 2011-06-04 02:59:10 +00:00
ImageFunctions.php Even more documentation in various files 2011-05-29 14:24:27 +00:00
ImageGallery.php And even more documentation 2011-05-28 18:59:42 +00:00
ImagePage.php Removed doPurge() from ImagePage.php, already moved to WikiFilePage 2011-07-04 19:19:36 +00:00
ImageQueryPage.php Param documentation updates/added 2011-05-26 19:21:50 +00:00
Import.php Fixes for r88113 and some realted changes: 2011-06-30 15:26:26 +00:00
Init.php Minor doc fix to r84741 2011-06-16 23:40:13 +00:00
IP.php * (bug 28798) Set $wgServer in the default LocalSettings.php 2011-06-15 07:35:47 +00:00
Licenses.php Swap else if for elseif 2011-06-17 16:03:52 +00:00
Linker.php Reverted r91195, this isn't needed ;) 2011-06-30 18:45:48 +00:00
LinkFilter.php Remove some stuff marked as deprecated <= 1.16 unused 2011-05-06 20:59:58 +00:00
LinksUpdate.php Added some GPL headers 2011-06-28 18:21:59 +00:00
LocalisationCache.php And even more documentation 2011-05-28 18:59:42 +00:00
LogEventsList.php * Improvements as part of bug 6100: Use wfUILang() instead of $wgContLang where appropriate 2011-06-21 10:14:34 +00:00
LogPage.php Follow-up r90749: use a new 'autopromote' action for the autopromote rights log entries. Removed the 'rightsautocomment' msg. 2011-06-26 21:44:55 +00:00
MagicWord.php * Use Preprocessor_Hash by default in compiled mode, it is faster 2011-05-31 06:10:23 +00:00
Message.php Follow up r89585. Clean up after the test, expand inContentLanguage() comment. 2011-06-06 21:24:23 +00:00
MessageBlobStore.php Refactor MessageBlobStore::updateModule() to remove the multi-language update behavior. Instead of updating all language's blobs at once, it now only updates the requested language. This, in combination with the bug fixed in r89001, was what caused the UploadWizard timeouts on the cluster 2011-05-27 22:42:20 +00:00
Metadata.php * Split off WikiPage class from Article, WikiFilePage class from ImagePage, and WikiCategoryPage from CategoryPage. 2011-06-29 22:09:51 +00:00
mime.info Per CR, revert non debugging stuff from r82436. (KML uploads) 2011-06-29 20:31:43 +00:00
mime.types Per CR, revert non debugging stuff from r82436. (KML uploads) 2011-06-29 20:31:43 +00:00
MimeMagic.php More documentation in various files 2011-05-29 14:01:47 +00:00
MWFunction.php coding style tweaks, doc updates, marked some public functions as such 2011-03-22 20:23:52 +00:00
Namespace.php More adding, updating and tweaking of documentation 2011-05-21 19:07:24 +00:00
OutputHandler.php And more documentation. Yaaaay 2011-05-28 17:18:50 +00:00
OutputPage.php HTTP status messages move: OutputPage -> HttpStatus 2011-07-04 21:01:19 +00:00
PageQueryPage.php
Pager.php Simpler code 2011-06-30 15:20:57 +00:00
PatrolLog.php (bug 28992) Revision numbers in the patrol log are transformed in the user language. 2011-05-16 23:36:39 +00:00
PoolCounter.php And even more documentation, the last of this batch 2011-05-28 19:00:01 +00:00
Preferences.php Remove unused globals 2011-07-01 02:58:42 +00:00
PrefixSearch.php Refactor the factory/i18n/list/etc static methods from SpecialPage into their own class; there's no reason we need to be parsing them in every single SpecialPage subclass. Leave all the methods as stubs in SpecialPage.php; if we required PHP 5.3 they could be replaced by a a __callStatic() magic method, but that doesn't work on PHP 5.2. 2011-04-17 11:31:11 +00:00
ProtectionForm.php * Split off WikiPage class from Article, WikiFilePage class from ImagePage, and WikiCategoryPage from CategoryPage. 2011-06-29 22:09:51 +00:00
ProxyTools.php Moved wfIsLocallyBlockedProxy() to User::isLocallyBlockedProxy() to put it near other proxy checks. No other call to that function in core or extension. 2011-06-19 12:57:31 +00:00
QueryPage.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
RawPage.php Change usages of $wgUser->getSkin() in special pages to use $this->getSkin() 2011-07-01 02:25:19 +00:00
RecentChange.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
RequestContext.php Follow-up r89408, r86872: restore IContextSource and ContextSource, to be more carefully reimplemented. 2011-06-27 19:38:30 +00:00
Revision.php Fixed bogus $conds in r91327 2011-07-01 23:46:20 +00:00
RevisionList.php Added filterByIds() function to Rev_List and made ID based filtering optional. It's still mandatory for RevDel_List however. 2011-07-02 09:30:55 +00:00
Sanitizer.php Followup to r86061: add parser test case to confirm that '&apos' in wikitext doesn't make it to output. 2011-06-07 20:11:24 +00:00
SeleniumWebSettings.php coding style tweaks + removed some PHP4-isms 2011-06-25 23:27:05 +00:00
Setup.php Removed $wgProto. Previously, setting this undocumented global variable to anything other than the part of $wgServer before the first colon would cause various things to subtly screw up. Similarly, forgetting to set it when you override $wgServer in LocalSettings.php would break things too. 2011-06-16 05:13:29 +00:00
SiteConfiguration.php Followup r91224: stupid syntax error 2011-06-30 21:32:55 +00:00
SiteStats.php Fix trailing whitespace 2011-06-29 23:46:39 +00:00
Skin.php Add lang & dir attributes to the sitenotice, in the site content language 2011-07-01 21:28:11 +00:00
SkinLegacy.php WatchAction requires token (BREAKING CHANGE) 2011-06-06 00:09:03 +00:00
SkinTemplate.php Changed calls to Linker::tooltipAndAccesskeyAttribs() to be static and fixed casing in method's name 2011-07-04 08:28:27 +00:00
SpecialPage.php Add SpecialPermanentLink to Autoloader 2011-06-28 01:17:19 +00:00
SpecialPageFactory.php (Follow-up r87705) per CR add docs to function. No code changes. 2011-06-30 22:47:41 +00:00
SquidPurgeClient.php More documentation tweaks and updates 2011-05-21 19:54:24 +00:00
Status.php Follow-up r81536: Fix misleading comment in Status and add a comment to LocalFileRestoreBatch::cleanupFailedBatch. 2011-05-26 18:41:06 +00:00
StreamFile.php And more documentation. Yaaaay 2011-05-28 17:18:50 +00:00
StringUtils.php More documentation tweaks and updates 2011-05-21 19:54:24 +00:00
StubObject.php Fix for r89474: added missing () to function call 2011-06-04 20:28:59 +00:00
tidy.conf
Title.php * Fixed getLatest() check in Article 2011-07-01 23:33:34 +00:00
TitleArray.php More parameter documentation!! 2011-05-28 15:59:57 +00:00
User.php Followup r91168, fix last usage of $currentUser which was undefined 2011-07-01 01:30:26 +00:00
UserArray.php More parameter documentation!! 2011-05-28 15:59:57 +00:00
UserMailer.php Fix for r89475: let's make this correctly 2011-06-04 20:27:51 +00:00
UserRightsProxy.php
ViewCountUpdate.php Fix comment from r79430; pointed out by Emufarmers 2011-06-25 19:13:40 +00:00
WatchedItem.php And even more documentation, the last of this batch 2011-05-28 19:00:01 +00:00
WebRequest.php More return documentation and trimming trailing whitespace 2011-06-30 02:59:43 +00:00
WebResponse.php Added some GPL headers 2011-06-28 18:21:59 +00:00
WebStart.php Added some GPL headers 2011-06-28 18:21:59 +00:00
Wiki.php Moved action=rollback to an Action subclass 2011-07-02 13:46:56 +00:00
WikiCategoryPage.php * Marked WikiCategoryPage::hasViewableContent() as "public" 2011-06-30 19:44:06 +00:00
WikiError.php Kill some more long deprecated unused functions 2011-05-06 21:09:34 +00:00
WikiFilePage.php * Changed action=revert to use a subclass of Action 2011-07-01 20:07:21 +00:00
WikiMap.php Call Linker::link() statically instead of getting a Skin object from $wgUser 2011-07-01 08:24:32 +00:00
WikiPage.php (bug 29109) Allow the automatic edit summary for redirect creation 2011-07-04 17:03:09 +00:00
Xml.php Follow up r91072. This is indeed not needed. 2011-06-29 22:37:11 +00:00
XmlTypeCheck.php More comment updates, addition of some braces also 2011-05-21 19:36:03 +00:00
ZhClient.php And even more documentation in various files 2011-05-29 14:25:20 +00:00
ZhConversion.php Update Chinese conversion tables. 2011-06-19 18:10:24 +00:00
ZipDirectoryReader.php Fix unused variables 2011-05-13 16:16:44 +00:00