From 19e297c21b10b1b8a3acad5e73fc71dcb35db44a Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Wed, 15 Aug 2012 19:33:48 +0800 Subject: [PATCH] MediaWiki 1.17.4 Signed-off-by: Edward Z. Yang --- .gitreview | 5 +++++ RELEASE-NOTES | 13 ++++++++++--- includes/CryptRand.php | 11 ++++++++--- includes/DefaultSettings.php | 2 +- includes/User.php | 6 +++--- includes/api/ApiBase.php | 2 +- includes/api/ApiBlock.php | 2 +- includes/api/ApiDelete.php | 2 +- includes/api/ApiDisabled.php | 2 +- includes/api/ApiEditPage.php | 2 +- includes/api/ApiEmailUser.php | 2 +- includes/api/ApiExpandTemplates.php | 2 +- includes/api/ApiFeedWatchlist.php | 2 +- includes/api/ApiFormatBase.php | 4 ++-- includes/api/ApiFormatDbg.php | 2 +- includes/api/ApiFormatJson.php | 2 +- includes/api/ApiFormatPhp.php | 2 +- includes/api/ApiFormatRaw.php | 2 +- includes/api/ApiFormatTxt.php | 2 +- includes/api/ApiFormatWddx.php | 2 +- includes/api/ApiFormatXml.php | 2 +- includes/api/ApiFormatYaml.php | 2 +- includes/api/ApiHelp.php | 2 +- includes/api/ApiImport.php | 2 +- includes/api/ApiLogin.php | 2 +- includes/api/ApiLogout.php | 2 +- includes/api/ApiMain.php | 10 ++++++++-- includes/api/ApiMove.php | 2 +- includes/api/ApiOpenSearch.php | 2 +- includes/api/ApiPageSet.php | 2 +- includes/api/ApiParamInfo.php | 2 +- includes/api/ApiParse.php | 2 +- includes/api/ApiPatrol.php | 2 +- includes/api/ApiProtect.php | 2 +- includes/api/ApiPurge.php | 2 +- includes/api/ApiQuery.php | 2 +- includes/api/ApiQueryAllCategories.php | 2 +- includes/api/ApiQueryAllLinks.php | 2 +- includes/api/ApiQueryAllUsers.php | 2 +- includes/api/ApiQueryAllimages.php | 2 +- includes/api/ApiQueryAllmessages.php | 2 +- includes/api/ApiQueryAllpages.php | 2 +- includes/api/ApiQueryBacklinks.php | 2 +- includes/api/ApiQueryBase.php | 2 +- includes/api/ApiQueryBlocks.php | 2 +- includes/api/ApiQueryCategories.php | 2 +- includes/api/ApiQueryCategoryInfo.php | 2 +- includes/api/ApiQueryCategoryMembers.php | 2 +- includes/api/ApiQueryDeletedrevs.php | 2 +- includes/api/ApiQueryDisabled.php | 2 +- includes/api/ApiQueryDuplicateFiles.php | 2 +- includes/api/ApiQueryExtLinksUsage.php | 2 +- includes/api/ApiQueryExternalLinks.php | 2 +- includes/api/ApiQueryFilearchive.php | 2 +- includes/api/ApiQueryIWBacklinks.php | 2 +- includes/api/ApiQueryIWLinks.php | 2 +- includes/api/ApiQueryImageInfo.php | 2 +- includes/api/ApiQueryImages.php | 2 +- includes/api/ApiQueryInfo.php | 2 +- includes/api/ApiQueryLangLinks.php | 2 +- includes/api/ApiQueryLinks.php | 2 +- includes/api/ApiQueryLogEvents.php | 2 +- includes/api/ApiQueryPageProps.php | 2 +- includes/api/ApiQueryProtectedTitles.php | 2 +- includes/api/ApiQueryRecentChanges.php | 2 +- includes/api/ApiQueryRevisions.php | 2 +- includes/api/ApiQuerySearch.php | 2 +- includes/api/ApiQuerySiteinfo.php | 2 +- includes/api/ApiQueryStashImageInfo.php | 2 +- includes/api/ApiQueryTags.php | 2 +- includes/api/ApiQueryUserContributions.php | 2 +- includes/api/ApiQueryUserInfo.php | 2 +- includes/api/ApiQueryUsers.php | 2 +- includes/api/ApiQueryWatchlist.php | 2 +- includes/api/ApiQueryWatchlistRaw.php | 2 +- includes/api/ApiResult.php | 2 +- includes/api/ApiRollback.php | 2 +- includes/api/ApiRsd.php | 4 ++-- includes/api/ApiUnblock.php | 2 +- includes/api/ApiUndelete.php | 2 +- includes/api/ApiUserrights.php | 2 +- includes/api/ApiWatch.php | 2 +- includes/json/Services_JSON.php | 2 +- maintenance/dtrace/counts.d | 2 +- maintenance/dtrace/tree.d | 2 +- maintenance/postgres/mediawiki_mysql2postgres.pl | 4 ++-- 86 files changed, 118 insertions(+), 95 deletions(-) create mode 100644 .gitreview diff --git a/.gitreview b/.gitreview new file mode 100644 index 00000000..f717e082 --- /dev/null +++ b/.gitreview @@ -0,0 +1,5 @@ +[gerrit] +host=gerrit.wikimedia.org +port=29418 +project=mediawiki/core.git +defaultbranch=REL1_17 diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c5781a44..05c00206 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -3,10 +3,10 @@ Security reminder: MediaWiki does not require PHP's register_globals setting since version 1.2.0. If you have it on, turn it '''off''' if you can. -== MediaWiki 1.17.3 == -2012-03-21 +== MediaWiki 1.17.4 == +2012-04-25 -This a maintenance and security release of the MediaWiki 1.17 branch. +This a maintenance of the MediaWiki 1.17 branch. === Summary of selected changes in 1.17 === @@ -35,6 +35,13 @@ Selected changes since MediaWiki 1.16 that may be of interest: * The lowest supported version of PHP is now 5.2.3. If necessary, please upgrade PHP prior to upgrading MediaWiki. +=== Changes since 1.17.3 === + +* (bug 35961) Hash comparison should always be strict. +* Fix broken email confirmation expiration caused by MWCryptRand changes. +* (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php + on line 598. + === Changes since 1.17.2 === * (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in diff --git a/includes/CryptRand.php b/includes/CryptRand.php index 10f379cb..e4be1b37 100644 --- a/includes/CryptRand.php +++ b/includes/CryptRand.php @@ -120,7 +120,7 @@ class MWCryptRand { /** * Randomly hash data while mixing in clock drift data for randomness * - * @param $data The data to randomly hash. + * @param $data string The data to randomly hash. * @return String The hashed bytes * @author Tim Starling */ @@ -166,7 +166,7 @@ class MWCryptRand { /** * Return a rolling random state initially build using data from unstable sources - * @return A new weak random state + * @return string A new weak random state */ protected function randomState() { static $state = null; @@ -184,6 +184,7 @@ class MWCryptRand { /** * Decide on the best acceptable hash algorithm we have available for hash() + * @throws MWException * @return String A hash algorithm */ protected function hashAlgo() { @@ -227,6 +228,7 @@ class MWCryptRand { * Generate an acceptably unstable one-way-hash of some text * making use of the best hash algorithm that we have available. * + * @param $data string * @return String A raw hash of the data */ protected function hash( $data ) { @@ -237,6 +239,8 @@ class MWCryptRand { * Generate an acceptably unstable one-way-hmac of some text * making use of the best hash algorithm that we have available. * + * @param $data string + * @param $key string * @return String A raw hash of the data */ protected function hmac( $data, $key ) { @@ -282,7 +286,7 @@ class MWCryptRand { if ( $iv === false ) { wfDebug( __METHOD__ . ": mcrypt_create_iv returned false.\n" ); } else { - $bytes .= $iv; + $buffer .= $iv; wfDebug( __METHOD__ . ": mcrypt_create_iv generated " . strlen( $iv ) . " bytes of randomness.\n" ); } wfProfileOut( __METHOD__ . '-mcrypt' ); @@ -409,6 +413,7 @@ class MWCryptRand { /** * Return a singleton instance of MWCryptRand + * @return MWCryptRand */ protected static function singleton() { if ( is_null( self::$singleton ) ) { diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 92fcc16b..f9b1c007 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -34,7 +34,7 @@ if ( !defined( 'MW_PHP4' ) ) { /** @endcond */ /** MediaWiki version number */ -$wgVersion = '1.17.3'; +$wgVersion = '1.17.4'; /** Name of the site. It must be changed in LocalSettings.php */ $wgSitename = 'MediaWiki'; diff --git a/includes/User.php b/includes/User.php index 0c951cf6..c0de2023 100644 --- a/includes/User.php +++ b/includes/User.php @@ -3009,12 +3009,12 @@ class User { function confirmationToken( &$expiration ) { $now = time(); $expires = $now + 7 * 24 * 60 * 60; - $expiration = + $expiration = wfTimestamp( TS_MW, $expires ); $token = MWCryptRand::generateHex( 32 ); $hash = md5( $token ); $this->load(); $this->mEmailToken = $hash; - $this->mEmailTokenExpires = wfTimestamp( TS_MW, $expires ); + $this->mEmailTokenExpires = $expiration; return $token; } @@ -3595,7 +3595,7 @@ class User { } elseif ( $type == ':B:' ) { # Salted list( $salt, $realHash ) = explode( ':', substr( $hash, 3 ), 2 ); - return md5( $salt.'-'.md5( $password ) ) == $realHash; + return md5( $salt.'-'.md5( $password ) ) === $realHash; } else { # Old-style return self::oldCrypt( $password, $userId ) === $hash; diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 175fa6a1..bc25ca61 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1363,6 +1363,6 @@ abstract class ApiBase { * @return string */ public static function getBaseVersion() { - return __CLASS__ . ': $Id: ApiBase.php 82730 2011-02-24 16:03:05Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index 875b8aeb..25506ac0 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -199,6 +199,6 @@ class ApiBlock extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiBlock.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index fbf62391..b4a6ad00 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -279,6 +279,6 @@ class ApiDelete extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiDelete.php 77141 2010-11-23 10:04:38Z ialex $'; + return __CLASS__ . ': $Id$'; } } \ No newline at end of file diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index f83bfdc9..f4da99ab 100644 --- a/includes/api/ApiDisabled.php +++ b/includes/api/ApiDisabled.php @@ -70,6 +70,6 @@ class ApiDisabled extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiDisabled.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 75cc0ba2..88e7a850 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -517,6 +517,6 @@ class ApiEditPage extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiEditPage.php 90492 2011-06-20 22:39:10Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiEmailUser.php b/includes/api/ApiEmailUser.php index ab58eb18..dba4ea29 100644 --- a/includes/api/ApiEmailUser.php +++ b/includes/api/ApiEmailUser.php @@ -145,6 +145,6 @@ class ApiEmailUser extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiEmailUser.php 85354 2011-04-04 18:25:31Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiExpandTemplates.php b/includes/api/ApiExpandTemplates.php index 6f2df1b8..fe281ccc 100644 --- a/includes/api/ApiExpandTemplates.php +++ b/includes/api/ApiExpandTemplates.php @@ -110,6 +110,6 @@ class ApiExpandTemplates extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiExpandTemplates.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index e1ba61f6..7b463856 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -205,6 +205,6 @@ class ApiFeedWatchlist extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFeedWatchlist.php 77674 2010-12-03 19:47:22Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 9d1dfbc1..8b371652 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -299,7 +299,7 @@ See complete documentation, or } public static function getBaseVersion() { - return __CLASS__ . ': $Id: ApiFormatBase.php 75970 2010-11-04 00:55:30Z reedy $'; + return __CLASS__ . ': $Id$'; } } @@ -368,6 +368,6 @@ class ApiFormatFeedWrapper extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatBase.php 75970 2010-11-04 00:55:30Z reedy $'; + return __CLASS__ . ': $Id$'; } } \ No newline at end of file diff --git a/includes/api/ApiFormatDbg.php b/includes/api/ApiFormatDbg.php index d4aeb0b8..a9f66df9 100644 --- a/includes/api/ApiFormatDbg.php +++ b/includes/api/ApiFormatDbg.php @@ -55,6 +55,6 @@ class ApiFormatDbg extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatDbg.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatJson.php b/includes/api/ApiFormatJson.php index 7c02baa0..baddfa10 100644 --- a/includes/api/ApiFormatJson.php +++ b/includes/api/ApiFormatJson.php @@ -97,6 +97,6 @@ class ApiFormatJson extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatJson.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatPhp.php b/includes/api/ApiFormatPhp.php index e83941d4..6d2e53a7 100644 --- a/includes/api/ApiFormatPhp.php +++ b/includes/api/ApiFormatPhp.php @@ -52,6 +52,6 @@ class ApiFormatPhp extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatPhp.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatRaw.php b/includes/api/ApiFormatRaw.php index 98a50652..23879a65 100644 --- a/includes/api/ApiFormatRaw.php +++ b/includes/api/ApiFormatRaw.php @@ -73,6 +73,6 @@ class ApiFormatRaw extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatRaw.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatTxt.php b/includes/api/ApiFormatTxt.php index bbb268f1..ab320559 100644 --- a/includes/api/ApiFormatTxt.php +++ b/includes/api/ApiFormatTxt.php @@ -55,6 +55,6 @@ class ApiFormatTxt extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatTxt.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatWddx.php b/includes/api/ApiFormatWddx.php index 6c1e3066..a8967b52 100644 --- a/includes/api/ApiFormatWddx.php +++ b/includes/api/ApiFormatWddx.php @@ -117,6 +117,6 @@ class ApiFormatWddx extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatWddx.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatXml.php b/includes/api/ApiFormatXml.php index 45ab73ef..29d40d08 100644 --- a/includes/api/ApiFormatXml.php +++ b/includes/api/ApiFormatXml.php @@ -208,6 +208,6 @@ class ApiFormatXml extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatXml.php 73753 2010-09-25 16:56:03Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiFormatYaml.php b/includes/api/ApiFormatYaml.php index ccf52746..e849c465 100644 --- a/includes/api/ApiFormatYaml.php +++ b/includes/api/ApiFormatYaml.php @@ -52,6 +52,6 @@ class ApiFormatYaml extends ApiFormatBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatYaml.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index eedbde13..cb896e5f 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -150,6 +150,6 @@ class ApiHelp extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiHelp.php 73863 2010-09-28 02:33:43Z brion $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index 1b5153f9..7b3fe8e4 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -160,7 +160,7 @@ class ApiImport extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiImport.php 77800 2010-12-05 14:22:49Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php index 0675de7b..987d0468 100644 --- a/includes/api/ApiLogin.php +++ b/includes/api/ApiLogin.php @@ -206,6 +206,6 @@ class ApiLogin extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiLogin.php 76080 2010-11-05 11:54:35Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php index 89326915..72b646ed 100644 --- a/includes/api/ApiLogout.php +++ b/includes/api/ApiLogout.php @@ -74,6 +74,6 @@ class ApiLogout extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiLogout.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 46a8df33..2063b8a2 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -547,8 +547,14 @@ class ApiMain extends ApiBase { $moduleParams = $module->extractRequestParams(); // Die if token required, but not provided (unless there is a gettoken parameter) + if ( isset( $moduleParams['gettoken'] ) ) { + $gettoken = $moduleParams['gettoken']; + } else { + $gettoken = false; + } + $salt = $module->getTokenSalt(); - if ( $salt !== false && !$moduleParams['gettoken'] ) { + if ( $salt !== false && !$gettoken ) { if ( !isset( $moduleParams['token'] ) ) { $this->dieUsageMsg( array( 'missingparam', 'token' ) ); } else { @@ -934,7 +940,7 @@ class ApiMain extends ApiBase { public function getVersion() { $vers = array (); $vers[] = 'MediaWiki: ' . SpecialVersion::getVersion() . "\n http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/"; - $vers[] = __CLASS__ . ': $Id: ApiMain.php 76196 2010-11-06 16:11:19Z reedy $'; + $vers[] = __CLASS__ . ': $Id$'; $vers[] = ApiBase::getBaseVersion(); $vers[] = ApiFormatBase::getBaseVersion(); $vers[] = ApiQueryBase::getBaseVersion(); diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index a93188bf..c5cbe5ec 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -248,6 +248,6 @@ class ApiMove extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiMove.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index 885766d2..9c0764ce 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -126,6 +126,6 @@ class ApiOpenSearch extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiOpenSearch.php 79720 2011-01-06 14:48:34Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 1cb12c07..d13df81b 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -744,6 +744,6 @@ class ApiPageSet extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiPageSet.php 76196 2010-11-06 16:11:19Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index a2c0bd11..8ba3f127 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -218,6 +218,6 @@ class ApiParamInfo extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiParamInfo.php 87170 2011-04-30 16:57:22Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 2d12c233..e7b96815 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -553,6 +553,6 @@ class ApiParse extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiParse.php 89672 2011-06-07 18:45:20Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiPatrol.php b/includes/api/ApiPatrol.php index 08835743..04afd1dc 100644 --- a/includes/api/ApiPatrol.php +++ b/includes/api/ApiPatrol.php @@ -109,6 +109,6 @@ class ApiPatrol extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiPatrol.php 78437 2010-12-15 14:14:16Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index 3a1d18e0..7f2b83d1 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -223,6 +223,6 @@ class ApiProtect extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiProtect.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php index a17abf16..2f4648be 100644 --- a/includes/api/ApiPurge.php +++ b/includes/api/ApiPurge.php @@ -112,6 +112,6 @@ class ApiPurge extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiPurge.php 74944 2010-10-18 09:19:20Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index f88aa850..ec4da791 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -691,7 +691,7 @@ class ApiQuery extends ApiBase { public function getVersion() { $psModule = new ApiPageSet( $this ); $vers = array(); - $vers[] = __CLASS__ . ': $Id: ApiQuery.php 80897 2011-01-24 18:57:42Z catrope $'; + $vers[] = __CLASS__ . ': $Id$'; $vers[] = $psModule->getVersion(); return $vers; } diff --git a/includes/api/ApiQueryAllCategories.php b/includes/api/ApiQueryAllCategories.php index c1473252..9f20ed86 100644 --- a/includes/api/ApiQueryAllCategories.php +++ b/includes/api/ApiQueryAllCategories.php @@ -186,6 +186,6 @@ class ApiQueryAllCategories extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllCategories.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryAllLinks.php b/includes/api/ApiQueryAllLinks.php index 78784845..7f619c53 100644 --- a/includes/api/ApiQueryAllLinks.php +++ b/includes/api/ApiQueryAllLinks.php @@ -229,6 +229,6 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllLinks.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 77f507fc..e31814d4 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -260,6 +260,6 @@ class ApiQueryAllUsers extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllUsers.php 85354 2011-04-04 18:25:31Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryAllimages.php b/includes/api/ApiQueryAllimages.php index a7825519..951854b7 100644 --- a/includes/api/ApiQueryAllimages.php +++ b/includes/api/ApiQueryAllimages.php @@ -237,6 +237,6 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllimages.php 71838 2010-08-28 01:18:18Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryAllmessages.php b/includes/api/ApiQueryAllmessages.php index 81ff255a..3c544280 100644 --- a/includes/api/ApiQueryAllmessages.php +++ b/includes/api/ApiQueryAllmessages.php @@ -195,6 +195,6 @@ class ApiQueryAllmessages extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllmessages.php 73756 2010-09-25 17:08:23Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryAllpages.php b/includes/api/ApiQueryAllpages.php index 21f72916..1a2196c5 100644 --- a/includes/api/ApiQueryAllpages.php +++ b/includes/api/ApiQueryAllpages.php @@ -296,6 +296,6 @@ class ApiQueryAllpages extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryAllpages.php 85354 2011-04-04 18:25:31Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index b412d2d6..eb2c9c05 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -497,6 +497,6 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryBacklinks.php 75921 2010-11-03 12:49:21Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 61a5b4c8..477b740a 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -491,7 +491,7 @@ abstract class ApiQueryBase extends ApiBase { * @return string */ public static function getBaseVersion() { - return __CLASS__ . ': $Id: ApiQueryBase.php 85435 2011-04-05 14:00:08Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php index 4edda645..f0da49ca 100644 --- a/includes/api/ApiQueryBlocks.php +++ b/includes/api/ApiQueryBlocks.php @@ -305,6 +305,6 @@ class ApiQueryBlocks extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryBlocks.php 73858 2010-09-28 01:21:15Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index b2769dc2..9e801f0a 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -247,6 +247,6 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryCategories.php 86474 2011-04-20 13:22:05Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryCategoryInfo.php b/includes/api/ApiQueryCategoryInfo.php index d4b64025..4d67a19e 100644 --- a/includes/api/ApiQueryCategoryInfo.php +++ b/includes/api/ApiQueryCategoryInfo.php @@ -120,6 +120,6 @@ class ApiQueryCategoryInfo extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryCategoryInfo.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryCategoryMembers.php b/includes/api/ApiQueryCategoryMembers.php index bbcf8b9b..14beee0a 100644 --- a/includes/api/ApiQueryCategoryMembers.php +++ b/includes/api/ApiQueryCategoryMembers.php @@ -364,6 +364,6 @@ class ApiQueryCategoryMembers extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryCategoryMembers.php 86474 2011-04-20 13:22:05Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 523862c0..936e5365 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -372,6 +372,6 @@ class ApiQueryDeletedrevs extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryDeletedrevs.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryDisabled.php b/includes/api/ApiQueryDisabled.php index b5712069..479acee1 100644 --- a/includes/api/ApiQueryDisabled.php +++ b/includes/api/ApiQueryDisabled.php @@ -68,6 +68,6 @@ class ApiQueryDisabled extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryDisabled.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryDuplicateFiles.php b/includes/api/ApiQueryDuplicateFiles.php index ffe98038..dd6f780b 100644 --- a/includes/api/ApiQueryDuplicateFiles.php +++ b/includes/api/ApiQueryDuplicateFiles.php @@ -165,6 +165,6 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryDuplicateFiles.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index ecd9e699..7205a785 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -229,6 +229,6 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryExtLinksUsage.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryExternalLinks.php b/includes/api/ApiQueryExternalLinks.php index fbfcbfb9..083481c8 100644 --- a/includes/api/ApiQueryExternalLinks.php +++ b/includes/api/ApiQueryExternalLinks.php @@ -120,6 +120,6 @@ class ApiQueryExternalLinks extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryExternalLinks.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index 05ccb346..a80866b8 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -259,6 +259,6 @@ class ApiQueryFilearchive extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryFilearchive.php 85354 2011-04-04 18:25:31Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryIWBacklinks.php b/includes/api/ApiQueryIWBacklinks.php index 6958a253..3b30252f 100644 --- a/includes/api/ApiQueryIWBacklinks.php +++ b/includes/api/ApiQueryIWBacklinks.php @@ -212,6 +212,6 @@ class ApiQueryIWBacklinks extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryIWBacklinks.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index e980d6a5..5a5b452d 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -153,6 +153,6 @@ class ApiQueryIWLinks extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryIWLinks.php 77080 2010-11-21 17:27:13Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 21696be2..6853c7d9 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -475,6 +475,6 @@ class ApiQueryImageInfo extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryImageInfo.php 85435 2011-04-05 14:00:08Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryImages.php b/includes/api/ApiQueryImages.php index af2920c7..2fd183a3 100644 --- a/includes/api/ApiQueryImages.php +++ b/includes/api/ApiQueryImages.php @@ -166,6 +166,6 @@ class ApiQueryImages extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryImages.php 73543 2010-09-22 16:50:09Z platonides $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index 59f61de1..8ffb2e22 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -701,6 +701,6 @@ class ApiQueryInfo extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryInfo.php 78439 2010-12-15 14:23:46Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php index c2ecbfee..60e33709 100644 --- a/includes/api/ApiQueryLangLinks.php +++ b/includes/api/ApiQueryLangLinks.php @@ -146,6 +146,6 @@ class ApiQueryLangLinks extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryLangLinks.php 77660 2010-12-03 14:44:07Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 4f3bad3b..da2fd99b 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -235,6 +235,6 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryLinks.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 7d69ca39..ee6f1ebb 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -428,6 +428,6 @@ class ApiQueryLogEvents extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryLogEvents.php 74535 2010-10-09 00:01:45Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index 894e812d..e6951cf4 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -145,6 +145,6 @@ class ApiQueryPageProps extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryPageProps.php 85211 2011-04-02 21:01:00Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryProtectedTitles.php b/includes/api/ApiQueryProtectedTitles.php index e647c39f..d2d2b869 100644 --- a/includes/api/ApiQueryProtectedTitles.php +++ b/includes/api/ApiQueryProtectedTitles.php @@ -223,6 +223,6 @@ class ApiQueryProtectedTitles extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryProtectedTitles.php 71838 2010-08-28 01:18:18Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index fb0d42b8..2aecea85 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -608,6 +608,6 @@ class ApiQueryRecentChanges extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryRecentChanges.php 78437 2010-12-15 14:14:16Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 50206785..44da15fe 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -686,6 +686,6 @@ class ApiQueryRevisions extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryRevisions.php 108686 2012-01-11 21:58:58Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php index 3cf693af..637f7358 100644 --- a/includes/api/ApiQuerySearch.php +++ b/includes/api/ApiQuerySearch.php @@ -292,6 +292,6 @@ class ApiQuerySearch extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQuerySearch.php 76300 2010-11-08 12:23:24Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 379a4228..9e856888 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -531,6 +531,6 @@ class ApiQuerySiteinfo extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQuerySiteinfo.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryStashImageInfo.php b/includes/api/ApiQueryStashImageInfo.php index 769b3e9d..691ac308 100644 --- a/includes/api/ApiQueryStashImageInfo.php +++ b/includes/api/ApiQueryStashImageInfo.php @@ -145,7 +145,7 @@ class ApiQueryStashImageInfo extends ApiQueryImageInfo { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryStashImageInfo.php 81000 2011-01-25 22:49:34Z catrope $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryTags.php b/includes/api/ApiQueryTags.php index e88ec9b5..eec15fbc 100644 --- a/includes/api/ApiQueryTags.php +++ b/includes/api/ApiQueryTags.php @@ -183,6 +183,6 @@ class ApiQueryTags extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryTags.php 73858 2010-09-28 01:21:15Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index 5d63fa60..3be30238 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -463,6 +463,6 @@ class ApiQueryContributions extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryUserContributions.php 75096 2010-10-20 18:50:33Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryUserInfo.php b/includes/api/ApiQueryUserInfo.php index ec7b74b3..f075ad41 100644 --- a/includes/api/ApiQueryUserInfo.php +++ b/includes/api/ApiQueryUserInfo.php @@ -225,6 +225,6 @@ class ApiQueryUserInfo extends ApiQueryBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryUserInfo.php 75937 2010-11-03 17:01:21Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index 2619d200..0632aeee 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -298,6 +298,6 @@ if ( !defined( 'MEDIAWIKI' ) ) { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryUsers.php 85354 2011-04-04 18:25:31Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index 784f89c0..5f9310d4 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -424,6 +424,6 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryWatchlist.php 85435 2011-04-05 14:00:08Z demon $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiQueryWatchlistRaw.php b/includes/api/ApiQueryWatchlistRaw.php index 0e5617e3..9b6b27f8 100644 --- a/includes/api/ApiQueryWatchlistRaw.php +++ b/includes/api/ApiQueryWatchlistRaw.php @@ -201,6 +201,6 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiQueryWatchlistRaw.php 70647 2010-08-07 19:59:42Z ialex $'; + return __CLASS__ . ': $Id$'; } } \ No newline at end of file diff --git a/includes/api/ApiResult.php b/includes/api/ApiResult.php index 9d42a58e..ee1923fd 100644 --- a/includes/api/ApiResult.php +++ b/includes/api/ApiResult.php @@ -341,6 +341,6 @@ class ApiResult extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiResult.php 74230 2010-10-03 19:07:11Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index e31bfed8..7783e7ad 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -184,6 +184,6 @@ class ApiRollback extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiRollback.php 75602 2010-10-28 00:04:48Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index 7bc4722c..1274c85c 100644 --- a/includes/api/ApiRsd.php +++ b/includes/api/ApiRsd.php @@ -160,7 +160,7 @@ class ApiRsd extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiRsd.php 76195 2010-11-06 15:57:15Z btongminh $'; + return __CLASS__ . ': $Id$'; } } @@ -175,6 +175,6 @@ class ApiFormatXmlRsd extends ApiFormatXml { } public function getVersion() { - return __CLASS__ . ': $Id: ApiRsd.php 76195 2010-11-06 15:57:15Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiUnblock.php b/includes/api/ApiUnblock.php index 4f6e4fb7..45d951e6 100644 --- a/includes/api/ApiUnblock.php +++ b/includes/api/ApiUnblock.php @@ -145,6 +145,6 @@ class ApiUnblock extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiUnblock.php 74098 2010-10-01 20:12:50Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiUndelete.php b/includes/api/ApiUndelete.php index 3c7d91a5..7205d05d 100644 --- a/includes/api/ApiUndelete.php +++ b/includes/api/ApiUndelete.php @@ -159,6 +159,6 @@ class ApiUndelete extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiUndelete.php 74098 2010-10-01 20:12:50Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index f9fe9ad2..8b3adf33 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -139,6 +139,6 @@ class ApiUserrights extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiUserrights.php 75602 2010-10-28 00:04:48Z reedy $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index e9560a4d..81ded180 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -113,6 +113,6 @@ class ApiWatch extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiWatch.php 77192 2010-11-23 22:05:27Z btongminh $'; + return __CLASS__ . ': $Id$'; } } diff --git a/includes/json/Services_JSON.php b/includes/json/Services_JSON.php index 5b4e0503..2c83d19c 100644 --- a/includes/json/Services_JSON.php +++ b/includes/json/Services_JSON.php @@ -51,7 +51,7 @@ * @author Matt Knapp * @author Brett Stimmerman * @copyright 2005 Michal Migurski -* @version CVS: $Id: Services_JSON.php 90492 2011-06-20 22:39:10Z reedy $ +* @version CVS: $Id$ * @license http://www.opensource.org/licenses/bsd-license.php * @see http://pear.php.net/pepr/pepr-proposal-show.php?id=198 */ diff --git a/maintenance/dtrace/counts.d b/maintenance/dtrace/counts.d index 13725d99..bedb4547 100644 --- a/maintenance/dtrace/counts.d +++ b/maintenance/dtrace/counts.d @@ -1,7 +1,7 @@ /* * This software is in the public domain. * - * $Id: counts.d 10510 2005-08-15 01:46:19Z kateturner $ + * $Id$ */ #pragma D option quiet diff --git a/maintenance/dtrace/tree.d b/maintenance/dtrace/tree.d index 2f16e41d..a799cb12 100644 --- a/maintenance/dtrace/tree.d +++ b/maintenance/dtrace/tree.d @@ -1,7 +1,7 @@ /* * This software is in the public domain. * - * $Id: tree.d 10510 2005-08-15 01:46:19Z kateturner $ + * $Id$ */ #pragma D option quiet diff --git a/maintenance/postgres/mediawiki_mysql2postgres.pl b/maintenance/postgres/mediawiki_mysql2postgres.pl index 2b2bf50e..416defd5 100644 --- a/maintenance/postgres/mediawiki_mysql2postgres.pl +++ b/maintenance/postgres/mediawiki_mysql2postgres.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## Convert data from a MySQL mediawiki database into a Postgres mediawiki database -## svn: $Id: mediawiki_mysql2postgres.pl 65542 2010-04-26 13:46:04Z demon $ +## svn: $Id$ ## NOTE: It is probably easier to dump your wiki using maintenance/dumpBackup.php ## and then import it with maintenance/importDump.php @@ -181,7 +181,7 @@ $MYSQLSOCKET and $conninfo .= "\n-- socket $MYSQLSOCKET"; print qq{ -- Dump of MySQL Mediawiki tables for import into a Postgres Mediawiki schema -- Performed by the program: $0 --- Version: $VERSION (subversion }.q{$LastChangedRevision: 65542 $}.qq{) +-- Version: $VERSION (subversion }.q{$LastChangedRevision$}.qq{) -- Author: Greg Sabino Mullane Comments welcome -- -- This file was created: $now -- 2.44.0