Addshore has uploaded a new change for review. https://gerrit.wikimedia.org/r/90877
Change subject: Cleanup lib/util file headers ...................................................................... Cleanup lib/util file headers Change-Id: I6fb37fc1c1774373f82554bf94caa02834dba591 --- M lib/includes/util/HttpAcceptNegotiator.php M lib/includes/util/HttpAcceptParser.php 2 files changed, 4 insertions(+), 58 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/77/90877/1 diff --git a/lib/includes/util/HttpAcceptNegotiator.php b/lib/includes/util/HttpAcceptNegotiator.php index ef0f338..2011cf8 100644 --- a/lib/includes/util/HttpAcceptNegotiator.php +++ b/lib/includes/util/HttpAcceptNegotiator.php @@ -1,32 +1,6 @@ <?php - /** - * - * Copyright © 17.05.13 by the authors listed below. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * - * @license GPL 2+ - * @file - * - * @author Daniel Kinzler - */ - namespace Wikibase; - /** * Utility for negotiating a value from a set of supported values using a preference list. @@ -35,10 +9,9 @@ * To use this with a request header, first parse the header value into an array of weights * using HttpAcceptParser, then call getBestSupportedKey. * - * Class HttpAcceptNegotiator - * @package Wikibase + * @license GPL 2+ + * @author Daniel Kinzler */ - class HttpAcceptNegotiator { /** diff --git a/lib/includes/util/HttpAcceptParser.php b/lib/includes/util/HttpAcceptParser.php index 2945306..e27317c 100644 --- a/lib/includes/util/HttpAcceptParser.php +++ b/lib/includes/util/HttpAcceptParser.php @@ -1,41 +1,14 @@ <?php - /** - * - * Copyright © 17.05.13 by the authors listed below. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * - * @license GPL 2+ - * @file - * - * @author Daniel Kinzler - */ - namespace Wikibase; - /** * Utility for parsing a HTTP Accept header value into a weight map. May also be used with * other, similar headers like Accept-Language, Accept-Encoding, etc. * - * Class HttpAcceptNegotiator - * @package Wikibase + * @license GPL 2+ + * @author Daniel Kinzler */ - class HttpAcceptParser { /** -- To view, visit https://gerrit.wikimedia.org/r/90877 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6fb37fc1c1774373f82554bf94caa02834dba591 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Addshore <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
