* (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
* (bug 18438) Tweak HTML for preview bar for consistency and accessibility
* (bug 18432) Updated documentation for dumpBackup.php
-* Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good tags
- that were redundantly defined.
+* Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
+ tags that were redundantly defined.
* (bug 14118) SpecialPage::getTitleFor does not return a localised name
-* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc
+* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
+ .inc
+* Deprecated methods userCanCreate(), userCanEdit() and userCanMove() have been
+ removed
== API changes in 1.16 ==
function isProtected( $action = '' ) { $this->error(); }
function userIsWatching() { $this->error(); }
function userCan( $action, $doExpensiveQueries = true ) { $this->error(); }
- function userCanCreate() { $this->error(); }
- function userCanEdit( $doExpensiveQueries = true ) { $this->error(); }
- function userCanMove() { $this->error(); }
function isMovable() { $this->error(); }
function userCanRead() { $this->error(); }
function isTalkPage() { $this->error(); }
__METHOD__ );
}
- /**
- * Can $wgUser edit this page?
- * @return \type{\bool} TRUE or FALSE
- * @deprecated use userCan('edit')
- */
- public function userCanEdit( $doExpensiveQueries = true ) {
- return $this->userCan( 'edit', $doExpensiveQueries );
- }
-
- /**
- * Can $wgUser create this page?
- * @return \type{\bool} TRUE or FALSE
- * @deprecated use userCan('create')
- */
- public function userCanCreate( $doExpensiveQueries = true ) {
- return $this->userCan( 'create', $doExpensiveQueries );
- }
-
- /**
- * Can $wgUser move this page?
- * @return \type{\bool} TRUE or FALSE
- * @deprecated use userCan('move')
- */
- public function userCanMove( $doExpensiveQueries = true ) {
- return $this->userCan( 'move', $doExpensiveQueries );
- }
-
/**
* Would anybody with sufficient privileges be able to move this page?
* Some pages just aren't movable.