* Fetch initial editing page content.
*
* @param $def_text string
- * @returns mixed string on success, $def_text for invalid sections
+ * @return mixed string on success, $def_text for invalid sections
* @private
*/
function getContent( $def_text = '' ) {
* @fixme this is wildly inaccurate and fails to actually check most stuff
*
* @param $uri Mixed: URI to check for validity
- * @returns Boolean
+ * @return Boolean
*/
public static function isValidURI( $uri ) {
return preg_match(
/**
* Returns the cookie jar in use.
*
- * @returns CookieJar
+ * @return CookieJar
*/
public function getCookieJar() {
if ( !$this->respHeaders ) {
* Relative values of the "Location" header are incorrect as stated in RFC, however they do happen and modern browsers support them.
* This function loops backwards through all locations in order to build the proper absolute URI - Marooned at wikia-inc.com
*
- * @returns string
+ * @return string
*/
public function getFinalUrl() {
$headers = $this->getResponseHeaders();
/**
* Get the end tag of a fieldset.
*
- * @returns string
+ * @return string
*/
protected function getFieldsetEnd() {
return "</fieldset>\n";
* @param string $dstPath
* @param string $width
* @param string $height
- * @returns TRUE/MediaTransformError
+ * @return true|MediaTransformError
*/
public function rasterize( $srcPath, $dstPath, $width, $height ) {
global $wgSVGConverters, $wgSVGConverter, $wgSVGConverterPath;
return $ret;
}
- // Get DB field name for URL param...
- // Future code for other things may also track
- // other types of revision-specific changes.
- // @returns string One of log_id/rev_id/fa_id/ar_timestamp/oi_archive_name
+ /** Get DB field name for URL param...
+ * Future code for other things may also track
+ * other types of revision-specific changes.
+ * @return string One of log_id/rev_id/fa_id/ar_timestamp/oi_archive_name
+ */
public static function getRelationType( $typeName ) {
if ( isset( SpecialRevisionDelete::$deprecatedTypeMap[$typeName] ) ) {
$typeName = SpecialRevisionDelete::$deprecatedTypeMap[$typeName];