** ApiFormatDbg
** ApiFormatTxt
** ApiFormatYaml
+* ApiQueryBase::getDirectionDescription is now marked as deprecated. It should
+ have been so marked since 1.25 when ApiBase::getParamDescription was
+ deprecated, but was overlooked at the time.
=== Languages updated in 1.27 ===
return array( $t->getNamespace(), substr( $t->getDBkey(), 0, -1 ) );
}
- /**
- * Gets the personalised direction parameter description
- *
- * @param string $p ModulePrefix
- * @param string $extraDirText Any extra text to be appended on the description
- * @return array
- */
- public function getDirectionDescription( $p = '', $extraDirText = '' ) {
- return array(
- "In which direction to enumerate{$extraDirText}",
- " newer - List oldest first. Note: {$p}start has to be before {$p}end.",
- " older - List newest first (default). Note: {$p}start has to be later than {$p}end.",
- );
- }
-
/**
* @param string $hash
* @return bool
return substr( $this->keyToTitle( $keyPart . 'x' ), 0, -1 );
}
+ /**
+ * Gets the personalised direction parameter description
+ *
+ * @deprecated since 1.25 along with ApiBase::getParamDescription
+ * @param string $p ModulePrefix
+ * @param string $extraDirText Any extra text to be appended on the description
+ * @return array
+ */
+ public function getDirectionDescription( $p = '', $extraDirText = '' ) {
+ return array(
+ "In which direction to enumerate{$extraDirText}",
+ " newer - List oldest first. Note: {$p}start has to be before {$p}end.",
+ " older - List newest first (default). Note: {$p}start has to be later than {$p}end.",
+ );
+ }
+
/**@}*/
}