Index: trunk/phase3/includes/api/ApiImport.php |
— | — | @@ -59,7 +59,8 @@ |
60 | 60 | $source = ImportStreamSource::newFromInterwiki( |
61 | 61 | $params['interwikisource'], |
62 | 62 | $params['interwikipage'], |
63 | | - $params['fullhistory']); |
| 63 | + $params['fullhistory'] |
| 64 | + $params['templates'] ); |
64 | 65 | } |
65 | 66 | else |
66 | 67 | { |
— | — | @@ -111,6 +112,7 @@ |
112 | 113 | ), |
113 | 114 | 'interwikipage' => null, |
114 | 115 | 'fullhistory' => false, |
| 116 | + 'templates' => false, |
115 | 117 | 'namespace' => array( |
116 | 118 | ApiBase :: PARAM_TYPE => 'namespace' |
117 | 119 | ) |
— | — | @@ -125,6 +127,7 @@ |
126 | 128 | 'interwikisource' => 'For interwiki imports: wiki to import from', |
127 | 129 | 'interwikipage' => 'For interwiki imports: page to import', |
128 | 130 | 'fullhistory' => 'For interwiki imports: import the full history, not just the current version', |
| 131 | + 'templates' => 'For interwiki imports: import all included templates as well', |
129 | 132 | 'namespace' => 'For interwiki imports: import to this namespace', |
130 | 133 | ); |
131 | 134 | } |