add dbg_deprecated() calls
This commit is contained in:
parent
a74a1f3f7b
commit
87f229e8ab
20
inc/html.php
20
inc/html.php
|
@ -44,6 +44,7 @@ function html_wikilink($id, $name = null, $search = '') {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_login($svg = false) {
|
function html_login($svg = false) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Login::class .'::show()');
|
||||||
(new dokuwiki\Ui\Login($svg))->show();
|
(new dokuwiki\Ui\Login($svg))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,6 +56,7 @@ function html_login($svg = false) {
|
||||||
* @deprecated 2020-07-18 not called anymore, see inc/Action/Denied::tplContent()
|
* @deprecated 2020-07-18 not called anymore, see inc/Action/Denied::tplContent()
|
||||||
*/
|
*/
|
||||||
function html_denied() {
|
function html_denied() {
|
||||||
|
dbg_deprecated('see '. \dokuwiki\Action\Denied::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -215,9 +217,10 @@ function html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $l
|
||||||
* show a revision warning
|
* show a revision warning
|
||||||
*
|
*
|
||||||
* @author Szymon Olewniczak <dokuwiki@imz.re>
|
* @author Szymon Olewniczak <dokuwiki@imz.re>
|
||||||
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_showrev() {
|
function html_showrev() {
|
||||||
print p_locale_xhtml('showrev');
|
dbg_deprecated(\dokuwiki\Ui\PageView::class .'::showrev()');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -229,6 +232,7 @@ function html_showrev() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_show($txt=null) {
|
function html_show($txt=null) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\PageView::class .'::show()');
|
||||||
(new dokuwiki\Ui\PageView($txt))->show();
|
(new dokuwiki\Ui\PageView($txt))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,6 +243,7 @@ function html_show($txt=null) {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_draft() {
|
function html_draft() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Draft::class .'::show()');
|
||||||
(new dokuwiki\Ui\Draft)->show();
|
(new dokuwiki\Ui\Draft)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -279,6 +284,7 @@ function html_hilight($html, $phrases) {
|
||||||
* @deprecated 2020-07-18 not called anymore, see inc/Action/Locked::tplContent()
|
* @deprecated 2020-07-18 not called anymore, see inc/Action/Locked::tplContent()
|
||||||
*/
|
*/
|
||||||
function html_locked() {
|
function html_locked() {
|
||||||
|
dbg_deprecated('see '. \dokuwiki\Action\Locked::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -293,6 +299,7 @@ function html_locked() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_revisions($first=0, $media_id = false) {
|
function html_revisions($first=0, $media_id = false) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Revisions::class .'::show()');
|
||||||
(new dokuwiki\Ui\Revisions($first, $media_id))->show();
|
(new dokuwiki\Ui\Revisions($first, $media_id))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -309,6 +316,7 @@ function html_revisions($first=0, $media_id = false) {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_recent($first = 0, $show_changes = 'both') {
|
function html_recent($first = 0, $show_changes = 'both') {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Recent::class .'::show()');
|
||||||
(new dokuwiki\Ui\Recent($first, $show_changes))->show();
|
(new dokuwiki\Ui\Recent($first, $show_changes))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -321,6 +329,7 @@ function html_recent($first = 0, $show_changes = 'both') {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_index($ns) {
|
function html_index($ns) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Index::class .'::show()');
|
||||||
(new dokuwiki\Ui\Index($ns))->show();
|
(new dokuwiki\Ui\Index($ns))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,6 +345,7 @@ function html_index($ns) {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_list_index($item) {
|
function html_list_index($item) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Index::class .'::formatListItem()');
|
||||||
return (new dokuwiki\Ui\Index)->formatListItem($item);
|
return (new dokuwiki\Ui\Index)->formatListItem($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -353,6 +363,7 @@ function html_list_index($item) {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_li_index($item) {
|
function html_li_index($item) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Index::class .'::tagListItem()');
|
||||||
return (new dokuwiki\Ui\Index)->tagListItem($item);
|
return (new dokuwiki\Ui\Index)->tagListItem($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -452,6 +463,7 @@ function html_buildlist($data, $class, $func, $lifunc = null, $forcewrapper = fa
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_backlinks() {
|
function html_backlinks() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Backlinks::class .'::show()');
|
||||||
(new dokuwiki\Ui\Backlinks)->show();
|
(new dokuwiki\Ui\Backlinks)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -467,6 +479,7 @@ function html_backlinks() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_diff($text = '', $intro = true, $type = null) {
|
function html_diff($text = '', $intro = true, $type = null) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Diff::class .'::show()');
|
||||||
(new dokuwiki\Ui\Diff($text, $intro, $type))->show();
|
(new dokuwiki\Ui\Diff($text, $intro, $type))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -480,6 +493,7 @@ function html_diff($text = '', $intro = true, $type = null) {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_conflict($text, $summary) {
|
function html_conflict($text, $summary) {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Conflict::class .'::show()');
|
||||||
(new dokuwiki\Ui\Conflict($text, $summary))->show();
|
(new dokuwiki\Ui\Conflict($text, $summary))->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -518,6 +532,7 @@ function html_msgarea() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_register() {
|
function html_register() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\UserRegister::class .'::show()');
|
||||||
(new dokuwiki\Ui\UserRegister)->show();
|
(new dokuwiki\Ui\UserRegister)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -529,6 +544,7 @@ function html_register() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_updateprofile() {
|
function html_updateprofile() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\UserProfile::class .'::show()');
|
||||||
(new dokuwiki\Ui\UserProfile)->show();
|
(new dokuwiki\Ui\UserProfile)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -540,6 +556,7 @@ function html_updateprofile() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_edit() {
|
function html_edit() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Editor::class .'::show()');
|
||||||
(new dokuwiki\Ui\Editor)->show();
|
(new dokuwiki\Ui\Editor)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -649,6 +666,7 @@ function html_debug() {
|
||||||
* @deprecated 2020-07-18
|
* @deprecated 2020-07-18
|
||||||
*/
|
*/
|
||||||
function html_resendpwd() {
|
function html_resendpwd() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\UserResendPwd::class .'::show()');
|
||||||
(new dokuwiki\Ui\UserResendPwd)->show();
|
(new dokuwiki\Ui\UserResendPwd)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1590,6 +1590,7 @@ function tpl_include_page($pageid, $print = true, $propagate = false, $useacl =
|
||||||
* @deprecated 2020-07-23
|
* @deprecated 2020-07-23
|
||||||
*/
|
*/
|
||||||
function tpl_subscribe() {
|
function tpl_subscribe() {
|
||||||
|
dbg_deprecated(\dokuwiki\Ui\Subscribe::class .'::show()');
|
||||||
(new \dokuwiki\Ui\Subscribe)->show();
|
(new \dokuwiki\Ui\Subscribe)->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue