Перевод этой страницы?:

Настройки: showuseras

Что отображать при показе пользователя, редактировавшего страницу последним. Используется в колонтитуле страниц и в последних изменениях.

  • Тип данных: строковый
  • Значение по умолчанию: loginname

Возможные значения:

  • loginname — логин пользователя;
  • username — полное имя пользователя;
  • email — адрес электропочты пользователя (зашифрован согласно настройкам параметра «mailguard»);
  • email_link — адрес электропочты пользователя в виде ссылки «mailto:».

:!: Please note that other settings than default may give performance penalties in combination with authentication backends like ad.

Anonymous posting

In wiki/inc/template.php, search for function tpl_pageinfo($ret=false){ . Under that look for the following code.

   if($INFO['editor']){
     $out .= ' '.$lang['by'].' ';
     $out .= editorinfo($INFO['editor']);
   }else{
     $out .= ' ('.$lang['external_edit'].')';
   }

Delete or comment it out by adding the PHP comment code /* */ shown below

 /*    if($INFO['editor']){
         $out .= ' '.$lang['by'].' ';
         $out .= editorinfo($INFO['editor']);
       }else{
         $out .= ' ('.$lang['external_edit'].')';
       } */

If successful, the name or IP address of the poster will not show at the bottom of the page.

См. также

ru/config/showuseras.txt · Последние изменения: 2010/09/12 16:38 — Aleksandr
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate