|
@@ -1968,7 +1968,7 @@ discard block |
|
|
block discarded – undo |
|
1968
|
1968
|
* Returns the timestamp of the last edit |
|
1969
|
1969
|
* |
|
1970
|
1970
|
* @param bool $force Regenerate the cached value (default: false) |
|
1971
|
|
- * @return string |
|
|
1971
|
+ * @return integer |
|
1972
|
1972
|
*/ |
|
1973
|
1973
|
public function get_lastedit( $force = false ) { |
|
1974
|
1974
|
if( $force ) $this->get_metadata(); |
|
@@ -2110,7 +2110,7 @@ discard block |
|
|
block discarded – undo |
|
2110
|
2110
|
* @param string $summary Override the default edit summary for this rollback. Default null. |
|
2111
|
2111
|
* @param bool $markbot If set, both the rollback and the revisions being rolled back will be marked as bot edits. |
|
2112
|
2112
|
* @param string|bool $watch Unconditionally add or remove the page from your watchlist, use preferences or do not change watch. Default preferences. |
|
2113
|
|
- * @return array Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back. |
|
|
2113
|
+ * @return boolean Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back. |
|
2114
|
2114
|
*/ |
|
2115
|
2115
|
public function rollback( $force = false, $summary = null, $markbot = false, $watch = null ) { |
|
2116
|
2116
|
global $pgNotag, $pgTag; |
Please login to merge, or discard this patch.