Index: trunk/phase3/includes/SiteStats.php |
— | — | @@ -100,14 +100,6 @@ |
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
104 | | - * @deprecated Use self::numberingroup('sysop') instead |
105 | | - */ |
106 | | - static function admins() { |
107 | | - wfDeprecated(__METHOD__); |
108 | | - return self::numberingroup( 'sysop' ); |
109 | | - } |
110 | | - |
111 | | - /** |
112 | 104 | * Find the number of users in a given user group. |
113 | 105 | * @param $group String: name of group |
114 | 106 | * @return Integer |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -802,15 +802,6 @@ |
803 | 803 | } |
804 | 804 | |
805 | 805 | /** |
806 | | - * Interface with html tidy |
807 | | - * @deprecated Use MWTidy::tidy() |
808 | | - */ |
809 | | - public static function tidy( $text ) { |
810 | | - wfDeprecated( __METHOD__ ); |
811 | | - return MWTidy::tidy( $text ); |
812 | | - } |
813 | | - |
814 | | - /** |
815 | 806 | * parse the wiki syntax used to render tables |
816 | 807 | * |
817 | 808 | * @private |
Index: trunk/phase3/includes/parser/ParserOptions.php |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | /** |
95 | 95 | * @param $title Title |
96 | 96 | * @return Skin |
97 | | - * @deprecated Use Linker::* instead |
| 97 | + * @deprecated since 1.18 Use Linker::* instead |
98 | 98 | */ |
99 | 99 | function getSkin( $title = null ) { |
100 | 100 | wfDeprecated( __METHOD__ ); |
Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -521,7 +521,7 @@ |
522 | 522 | |
523 | 523 | /** |
524 | 524 | * Same as new DatabaseMysql( ... ), kept for backward compatibility |
525 | | - * @deprecated |
| 525 | + * @deprecated since 1.17 |
526 | 526 | */ |
527 | 527 | static function newFromParams( $server, $user, $password, $dbName, $flags = 0 ) { |
528 | 528 | wfDeprecated( __METHOD__ ); |
— | — | @@ -1769,7 +1769,7 @@ |
1770 | 1770 | * Backwards compatibility, identifier quoting originated in DatabasePostgres |
1771 | 1771 | * which used quote_ident which does not follow our naming conventions |
1772 | 1772 | * was renamed to addIdentifierQuotes. |
1773 | | - * @deprecated use addIdentifierQuotes |
| 1773 | + * @deprecated since 1.18 use addIdentifierQuotes |
1774 | 1774 | */ |
1775 | 1775 | function quote_ident( $s ) { |
1776 | 1776 | wfDeprecated( __METHOD__ ); |
— | — | @@ -1780,7 +1780,7 @@ |
1781 | 1781 | * Escape string for safe LIKE usage. |
1782 | 1782 | * WARNING: you should almost never use this function directly, |
1783 | 1783 | * instead use buildLike() that escapes everything automatically |
1784 | | - * Deprecated in 1.17, warnings in 1.17, removed in ??? |
| 1784 | + * @deprecated since 1.17, warnings in 1.17, removed in ??? |
1785 | 1785 | */ |
1786 | 1786 | public function escapeLike( $s ) { |
1787 | 1787 | wfDeprecated( __METHOD__ ); |
— | — | @@ -2307,24 +2307,6 @@ |
2308 | 2308 | } |
2309 | 2309 | |
2310 | 2310 | /** |
2311 | | - * Begin a transaction, committing any previously open transaction |
2312 | | - * @deprecated use begin() |
2313 | | - */ |
2314 | | - function immediateBegin( $fname = 'DatabaseBase::immediateBegin' ) { |
2315 | | - wfDeprecated( __METHOD__ ); |
2316 | | - $this->begin(); |
2317 | | - } |
2318 | | - |
2319 | | - /** |
2320 | | - * Commit transaction, if one is open |
2321 | | - * @deprecated use commit() |
2322 | | - */ |
2323 | | - function immediateCommit( $fname = 'DatabaseBase::immediateCommit' ) { |
2324 | | - wfDeprecated( __METHOD__ ); |
2325 | | - $this->commit(); |
2326 | | - } |
2327 | | - |
2328 | | - /** |
2329 | 2311 | * Creates a new table with structure copied from existing table |
2330 | 2312 | * Note that unlike most database abstraction functions, this function does not |
2331 | 2313 | * automatically append database prefix, because it works at a lower |
Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -242,7 +242,7 @@ |
243 | 243 | /** |
244 | 244 | * Alias for getPath() |
245 | 245 | * |
246 | | - * @deprecated Use getPath(). |
| 246 | + * @deprecated since 1.18 Use getPath(). |
247 | 247 | */ |
248 | 248 | public function getFullPath() { |
249 | 249 | wfDeprecated( __METHOD__ ); |
— | — | @@ -905,47 +905,6 @@ |
906 | 906 | $this->readOnlyError(); |
907 | 907 | } |
908 | 908 | |
909 | | - /** |
910 | | - * Get an array of Title objects which are articles which use this file |
911 | | - * Also adds their IDs to the link cache |
912 | | - * |
913 | | - * This is mostly copied from Title::getLinksTo() |
914 | | - * |
915 | | - * @deprecated Use HTMLCacheUpdate, this function uses too much memory |
916 | | - */ |
917 | | - function getLinksTo( $options = array() ) { |
918 | | - wfDeprecated( __METHOD__ ); |
919 | | - wfProfileIn( __METHOD__ ); |
920 | | - |
921 | | - // Note: use local DB not repo DB, we want to know local links |
922 | | - if ( count( $options ) > 0 ) { |
923 | | - $db = wfGetDB( DB_MASTER ); |
924 | | - } else { |
925 | | - $db = wfGetDB( DB_SLAVE ); |
926 | | - } |
927 | | - $linkCache = LinkCache::singleton(); |
928 | | - |
929 | | - $encName = $db->addQuotes( $this->getName() ); |
930 | | - $res = $db->select( array( 'page', 'imagelinks'), |
931 | | - array( 'page_namespace', 'page_title', 'page_id', 'page_len', 'page_is_redirect', 'page_latest' ), |
932 | | - array( 'page_id=il_from', 'il_to' => $encName ), |
933 | | - __METHOD__, |
934 | | - $options ); |
935 | | - |
936 | | - $retVal = array(); |
937 | | - if ( $db->numRows( $res ) ) { |
938 | | - foreach ( $res as $row ) { |
939 | | - $titleObj = Title::newFromRow( $row ); |
940 | | - if ( $titleObj ) { |
941 | | - $linkCache->addGoodLinkObj( $row->page_id, $titleObj, $row->page_len, $row->page_is_redirect, $row->page_latest ); |
942 | | - $retVal[] = $titleObj; |
943 | | - } |
944 | | - } |
945 | | - } |
946 | | - wfProfileOut( __METHOD__ ); |
947 | | - return $retVal; |
948 | | - } |
949 | | - |
950 | 909 | function formatMetadata() { |
951 | 910 | if ( !$this->getHandler() ) { |
952 | 911 | return false; |
Index: trunk/phase3/includes/media/FormatMetadata.php |
— | — | @@ -1336,7 +1336,7 @@ |
1337 | 1337 | /** For compatability with old FormatExif class |
1338 | 1338 | * which some extensions use. |
1339 | 1339 | * |
1340 | | - *@deprecated |
| 1340 | + * @deprecated since 1.18 |
1341 | 1341 | * |
1342 | 1342 | **/ |
1343 | 1343 | class FormatExif { |
Index: trunk/phase3/includes/media/Exif.php |
— | — | @@ -510,6 +510,8 @@ |
511 | 511 | /** |
512 | 512 | * Use FormatMetadata to create formatted values for display to user |
513 | 513 | * (is this ever used?) |
| 514 | + * |
| 515 | + * @deprecated since 1.18 |
514 | 516 | */ |
515 | 517 | function makeFormattedData( ) { |
516 | 518 | wfDeprecated( __METHOD__ ); |
— | — | @@ -540,6 +542,8 @@ |
541 | 543 | * |
542 | 544 | * This returns the data for display to user. |
543 | 545 | * Its unclear if this is ever used. |
| 546 | + * |
| 547 | + * @deprecated since 1.18 |
544 | 548 | */ |
545 | 549 | function getFormattedData() { |
546 | 550 | wfDeprecated( __METHOD__ ); |
Index: trunk/phase3/includes/Revision.php |
— | — | @@ -602,7 +602,7 @@ |
603 | 603 | /** |
604 | 604 | * Alias for getText(Revision::FOR_THIS_USER) |
605 | 605 | * |
606 | | - * @deprecated |
| 606 | + * @deprecated since 1.17 |
607 | 607 | * @return String |
608 | 608 | */ |
609 | 609 | public function revText() { |
Index: trunk/phase3/includes/WikiError.php |
— | — | @@ -31,6 +31,8 @@ |
32 | 32 | class WikiError { |
33 | 33 | /** |
34 | 34 | * @param $message string |
| 35 | + * |
| 36 | + * @deprecated since 1.17 |
35 | 37 | */ |
36 | 38 | function __construct( $message ) { |
37 | 39 | wfDeprecated( __METHOD__ ); |
— | — | @@ -59,6 +61,8 @@ |
60 | 62 | * |
61 | 63 | * @param $object mixed |
62 | 64 | * @return bool |
| 65 | + * |
| 66 | + * @deprecated since 1.17 |
63 | 67 | */ |
64 | 68 | public static function isError( $object ) { |
65 | 69 | wfDeprecated( __METHOD__ ); |
— | — | @@ -80,6 +84,8 @@ |
81 | 85 | /** |
82 | 86 | * @param $message String: wiki message name |
83 | 87 | * @param ... parameters to pass to wfMsg() |
| 88 | + * |
| 89 | + * @deprecated since 1.17 |
84 | 90 | */ |
85 | 91 | function __construct( $message/*, ... */ ) { |
86 | 92 | wfDeprecated( __METHOD__ ); |
— | — | @@ -110,6 +116,8 @@ |
111 | 117 | * @param $message string |
112 | 118 | * @param $context |
113 | 119 | * @param $offset Int |
| 120 | + * |
| 121 | + * @deprecated since 1.17 |
114 | 122 | */ |
115 | 123 | function __construct( $parser, $message = 'XML parsing error', $context = null, $offset = 0 ) { |
116 | 124 | wfDeprecated( __METHOD__ ); |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -264,15 +264,6 @@ |
265 | 265 | */ |
266 | 266 | function initContLang() { } |
267 | 267 | |
268 | | - /** |
269 | | - * @deprecated Use User::getDefaultOptions() |
270 | | - * @return array |
271 | | - */ |
272 | | - function getDefaultUserOptions() { |
273 | | - wfDeprecated( __METHOD__ ); |
274 | | - return User::getDefaultOptions(); |
275 | | - } |
276 | | - |
277 | 268 | function getFallbackLanguageCode() { |
278 | 269 | if ( $this->mCode === 'en' ) { |
279 | 270 | return false; |