Index: trunk/extensions/OAI/OAIHarvest.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | |
41 | 41 | # Need shared code... |
42 | 42 | require_once( 'OAIFunctions.php' ); |
43 | | -require_once( "$IP/maintenance/refreshLinks.inc" ); |
| 43 | +require_once( "$IP/maintenance/refreshLinks.php" ); |
44 | 44 | |
45 | 45 | global $oaiSourceRepository; |
46 | 46 | global $oaiAgentExtra; |
— | — | @@ -361,7 +361,7 @@ |
362 | 362 | $id = $this->applyRevision( $revision ); |
363 | 363 | } |
364 | 364 | |
365 | | - fixLinksFromArticle( $id ); |
| 365 | + RefreshLinks::fixLinksFromArticle( $id ); |
366 | 366 | |
367 | 367 | if( isset( $this->_page['uploads'] ) ) { |
368 | 368 | foreach( $this->_page['uploads'] as $upload ) { |
Index: trunk/extensions/Distribution/includes/DistributionRelease.php |
— | — | @@ -23,6 +23,13 @@ |
24 | 24 | * @author Jeroen De Dauw |
25 | 25 | */ |
26 | 26 | class DistributionRelease { |
| 27 | + |
| 28 | + const ST_DEV = 0; |
| 29 | + const ST_ALPHA = 1; |
| 30 | + const ST_BETA = 2; |
| 31 | + const ST_RC = 3; |
| 32 | + const ST_STABLE = 4; |
| 33 | + const ST_DEPRECATED = 5; |
27 | 34 | |
28 | 35 | /** |
29 | 36 | * Mapping between the state names and internal representation. |