equal
deleted
inserted
replaced
1041 { |
1041 { |
1042 return $this->ns->fetch_text(); |
1042 return $this->ns->fetch_text(); |
1043 } |
1043 } |
1044 |
1044 |
1045 /** |
1045 /** |
|
1046 * Tells us if the page exists. |
|
1047 * @return bool |
|
1048 */ |
|
1049 |
|
1050 function exists() |
|
1051 { |
|
1052 return $this->ns->exists(); |
|
1053 } |
|
1054 |
|
1055 /** |
1046 * Pushes to the redirect stack and resets the instance. This depends on the page ID and namespace already being validated and sanitized, and does not check the size of the redirect stack. |
1056 * Pushes to the redirect stack and resets the instance. This depends on the page ID and namespace already being validated and sanitized, and does not check the size of the redirect stack. |
1047 * @param string Page ID to redirect to |
1057 * @param string Page ID to redirect to |
1048 * @param string Namespace to redirect to |
1058 * @param string Namespace to redirect to |
1049 * @access private |
1059 * @access private |
1050 */ |
1060 */ |