Index: trunk/extensions/NSFileRepo/NSFileRepo_body.php |
— | — | @@ -166,10 +166,8 @@ |
167 | 167 | * This function overrides the LocalFile because the archive name should not contain the namespace in the |
168 | 168 | * filename. Otherwise the function would have worked. This only affects reuploads |
169 | 169 | * |
170 | | - * Move or copy a file to its public location. If a file exists at the |
171 | | - * destination, move it to an archive. Returns the archive name on success |
172 | | - * or an empty string if it was a new file, and a wikitext-formatted |
173 | | - * WikiError object on failure. |
| 170 | + * Move or copy a file to its public location. Returns a FileRepoStatus object. |
| 171 | + * On success, the value contains "new" or "archived", to indicate whether the file was new with that name. |
174 | 172 | * |
175 | 173 | * The archive name should be passed through to recordUpload for database |
176 | 174 | * registration. |