aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml15
-rw-r--r--inc/Parsing/Handler/CallWriterInterface.php20
-rw-r--r--inc/Parsing/Handler/Nest.php2
-rw-r--r--inc/Parsing/Lexer/Lexer.php20
-rw-r--r--inc/Parsing/Lexer/StateStack.php2
-rw-r--r--inc/Remote/ApiCore.php25
-rw-r--r--inc/lang/de/lang.php19
-rw-r--r--lib/plugins/authmysql/lang/cs/lang.php11
-rw-r--r--lib/plugins/authmysql/lang/cs/settings.php43
-rw-r--r--lib/plugins/authmysql/lang/it/lang.php11
-rw-r--r--lib/plugins/authmysql/lang/it/settings.php46
-rw-r--r--lib/plugins/authmysql/lang/ja/lang.php11
-rw-r--r--lib/plugins/authmysql/lang/ja/settings.php42
-rw-r--r--lib/plugins/authpgsql/lang/cs/settings.php39
-rw-r--r--lib/plugins/authpgsql/lang/it/settings.php40
-rw-r--r--lib/plugins/authpgsql/lang/ja/settings.php38
16 files changed, 75 insertions, 309 deletions
diff --git a/appveyor.yml b/appveyor.yml
index efba02953..b4177d295 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -8,12 +8,15 @@ version: '{build}.{branch}'
environment:
matrix:
- - PHP_VERSION: '7.0.21'
+ - PHP_VERSION: '7.2.4'
+ VC: 'VC15'
+ PHPUNIT: '7'
+ - PHP_VERSION: '7.0.29'
VC: 'VC14'
- PHPUNIT: '6.3'
- - PHP_VERSION: '5.6.30'
+ PHPUNIT: '6'
+ - PHP_VERSION: '5.6.35'
VC: 'VC11'
- PHPUNIT: '5.7'
+ PHPUNIT: '5'
cache:
- c:\php -> appveyor.yml
@@ -26,7 +29,7 @@ install:
- IF NOT EXIST c:\php mkdir c:\php
- IF NOT EXIST c:\php\%PHP_VERSION% mkdir c:\php\%PHP_VERSION%
- cd c:\php\%PHP_VERSION%
- - IF NOT EXIST php-installed.txt appveyor DownloadFile https://windows.php.net/downloads/releases/archives/php-%PHP_VERSION%-Win32-%VC%-x86.zip
+ - IF NOT EXIST php-installed.txt curl -fsSL -o php-%PHP_VERSION%-Win32-%VC%-x86.zip https://windows.php.net/downloads/releases/archives/php-%PHP_VERSION%-Win32-%VC%-x86.zip
- IF NOT EXIST php-installed.txt 7z x php-%PHP_VERSION%-Win32-%VC%-x86.zip -y >nul
- IF NOT EXIST php-installed.txt del /Q *.zip
- IF NOT EXIST php-installed.txt copy /Y php.ini-development php.ini
@@ -38,7 +41,7 @@ install:
- IF NOT EXIST php-installed.txt echo extension=php_gd2.dll >> php.ini
- IF NOT EXIST php-installed.txt echo extension=php_bz2.dll >> php.ini
- IF NOT EXIST php-installed.txt echo extension=php_pdo_sqlite.dll >> php.ini
- - IF NOT EXIST php-installed.txt appveyor DownloadFile https://phar.phpunit.de/phpunit-%PHPUNIT%.phar -FileName phpunit.phar
+ - IF NOT EXIST php-installed.txt curl -fsSL -o phpunit.phar https://phar.phpunit.de/phpunit-%PHPUNIT%.phar
- IF NOT EXIST php-installed.txt type nul >> php-installed.txt
test_script:
diff --git a/inc/Parsing/Handler/CallWriterInterface.php b/inc/Parsing/Handler/CallWriterInterface.php
index d5ebf1d1e..1ade7c060 100644
--- a/inc/Parsing/Handler/CallWriterInterface.php
+++ b/inc/Parsing/Handler/CallWriterInterface.php
@@ -4,7 +4,27 @@ namespace dokuwiki\Parsing\Handler;
interface CallWriterInterface
{
+ /**
+ * Add a call to our call list
+ *
+ * @param $call the call to be added
+ */
public function writeCall($call);
+
+ /**
+ * Append a list of calls to our call list
+ *
+ * @param $calls list of calls to be appended
+ */
public function writeCalls($calls);
+
+ /**
+ * Explicit request to finish up and clean up NOW!
+ * (probably because document end has been reached)
+ *
+ * If part of a CallWriter chain, call finalise on
+ * the original call writer
+ *
+ */
public function finalise();
}
diff --git a/inc/Parsing/Handler/Nest.php b/inc/Parsing/Handler/Nest.php
index 68fbdd871..b0044a3cb 100644
--- a/inc/Parsing/Handler/Nest.php
+++ b/inc/Parsing/Handler/Nest.php
@@ -20,7 +20,7 @@ class Nest implements ReWriterInterface
/**
* @inheritdoc
*
- * @param CallWriterInterface $CallWriter the renderers current call writer
+ * @param CallWriterInterface $CallWriter the parser's current call writer, i.e. the one above us in the chain
* @param string $close closing instruction name, this is required to properly terminate the
* syntax mode if the document ends without a closing pattern
*/
diff --git a/inc/Parsing/Lexer/Lexer.php b/inc/Parsing/Lexer/Lexer.php
index 503f3daaf..c164f4ffe 100644
--- a/inc/Parsing/Lexer/Lexer.php
+++ b/inc/Parsing/Lexer/Lexer.php
@@ -30,7 +30,7 @@ class Lexer
/** @var \Doku_Handler */
protected $handler;
/** @var StateStack */
- protected $mode;
+ protected $modeStack;
/** @var array mode "rewrites" */
protected $mode_handlers;
/** @var bool case sensitive? */
@@ -48,7 +48,7 @@ class Lexer
$this->case = $case;
$this->regexes = array();
$this->handler = $handler;
- $this->mode = new StateStack($start);
+ $this->modeStack = new StateStack($start);
$this->mode_handlers = array();
}
@@ -179,7 +179,7 @@ class Lexer
* @param int $matchPos Current byte index location in raw doc thats being parsed
* @return boolean False if there was any error from the parser.
*/
- protected function dispatchTokens($unmatched, $matched, $mode = false, $initialPos, $matchPos)
+ protected function dispatchTokens($unmatched, $matched, $mode, $initialPos, $matchPos)
{
if (! $this->invokeHandler($unmatched, DOKU_LEXER_UNMATCHED, $initialPos)) {
return false;
@@ -188,17 +188,17 @@ class Lexer
if (! $this->invokeHandler($matched, DOKU_LEXER_EXIT, $matchPos)) {
return false;
}
- return $this->mode->leave();
+ return $this->modeStack->leave();
}
if ($this->isSpecialMode($mode)) {
- $this->mode->enter($this->decodeSpecial($mode));
+ $this->modeStack->enter($this->decodeSpecial($mode));
if (! $this->invokeHandler($matched, DOKU_LEXER_SPECIAL, $matchPos)) {
return false;
}
- return $this->mode->leave();
+ return $this->modeStack->leave();
}
if (is_string($mode)) {
- $this->mode->enter($mode);
+ $this->modeStack->enter($mode);
return $this->invokeHandler($matched, DOKU_LEXER_ENTER, $matchPos);
}
return $this->invokeHandler($matched, DOKU_LEXER_MATCHED, $matchPos);
@@ -256,7 +256,7 @@ class Lexer
if (($content === "") || ($content === false)) {
return true;
}
- $handler = $this->mode->getCurrent();
+ $handler = $this->modeStack->getCurrent();
if (isset($this->mode_handlers[$handler])) {
$handler = $this->mode_handlers[$handler];
}
@@ -282,13 +282,13 @@ class Lexer
*/
protected function reduce(&$raw)
{
- if (! isset($this->regexes[$this->mode->getCurrent()])) {
+ if (! isset($this->regexes[$this->modeStack->getCurrent()])) {
return false;
}
if ($raw === "") {
return true;
}
- if ($action = $this->regexes[$this->mode->getCurrent()]->split($raw, $split)) {
+ if ($action = $this->regexes[$this->modeStack->getCurrent()]->split($raw, $split)) {
list($unparsed, $match, $raw) = $split;
return array($unparsed, $match, $action);
}
diff --git a/inc/Parsing/Lexer/StateStack.php b/inc/Parsing/Lexer/StateStack.php
index b61b0bb72..325412bb4 100644
--- a/inc/Parsing/Lexer/StateStack.php
+++ b/inc/Parsing/Lexer/StateStack.php
@@ -47,7 +47,7 @@ class StateStack
/**
* Leaves the current state and reverts
* to the previous one.
- * @return boolean False if we drop off the bottom of the list.
+ * @return boolean false if we attempt to drop off the bottom of the list.
*/
public function leave()
{
diff --git a/inc/Remote/ApiCore.php b/inc/Remote/ApiCore.php
index 9e656155a..897bcf9af 100644
--- a/inc/Remote/ApiCore.php
+++ b/inc/Remote/ApiCore.php
@@ -77,7 +77,11 @@ class ApiCore
'args' => array('string', 'string', 'array'),
'return' => 'bool',
'doc' => 'Append text to a wiki page.'
- ), 'wiki.getPage' => array(
+ ), 'dokuwiki.deleteUsers' => array(
+ 'args' => array('array'),
+ 'return' => 'bool',
+ 'doc' => 'Remove one or more users from the list of registered users.'
+ ), 'wiki.getPage' => array(
'args' => array('string'),
'return' => 'string',
'doc' => 'Get the raw Wiki text of page, latest version.',
@@ -577,6 +581,25 @@ class ApiCore
}
/**
+ * Remove one or more users from the list of registered users
+ *
+ * @param string[] $usernames List of usernames to remove
+ *
+ * @return bool
+ *
+ * @throws AccessDeniedException
+ */
+ public function deleteUsers($usernames)
+ {
+ if (!auth_isadmin()) {
+ throw new AccessDeniedException('Only admins are allowed to delete users', 114);
+ }
+ /** @var DokuWiki_Auth_Plugin $auth */
+ global $auth;
+ return (bool)$auth->triggerUserMod('deleteUsers', $usernames);
+ }
+
+ /**
* Uploads a file to the wiki.
*
* Michael Klier <chi@chimeric.de>
diff --git a/inc/lang/de/lang.php b/inc/lang/de/lang.php
index 2fd78f5ff..1854ee5ba 100644
--- a/inc/lang/de/lang.php
+++ b/inc/lang/de/lang.php
@@ -3,6 +3,7 @@
/**
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
+ * @author Sebastian Engel <mail@engel-s.de>
* @author Karl_de_Hall <Karl.Grohmueller@sonnenhof-sha.de>
* @author Michael Bohn <mjbohn@gmail.com>
* @author Joel Strasser <strasser999@gmail.com>
@@ -139,15 +140,15 @@ $lang['js']['media_done_btn'] = 'Fertig';
$lang['js']['media_drop'] = 'Dateien hier hinziehen um sie hochzuladen';
$lang['js']['media_cancel'] = 'Entfernen';
$lang['js']['media_overwrt'] = 'Existierende Dateien überschreiben';
-$lang['search_exact_match'] = 'genaue Treffer';
-$lang['search_starts_with'] = 'beginnt mit';
-$lang['search_ends_with'] = 'endet mit';
-$lang['search_contains'] = 'enthält';
-$lang['search_custom_match'] = 'angepasst ';
-$lang['search_any_ns'] = 'alle Kategorien';
-$lang['search_any_time'] = 'jederzeit';
-$lang['search_past_7_days'] = 'letzte Woche';
-$lang['search_past_month'] = 'letzter Monat';
+$lang['search_exact_match'] = 'Genaue Treffer';
+$lang['search_starts_with'] = 'Beginnt mit';
+$lang['search_ends_with'] = 'Endet mit';
+$lang['search_contains'] = 'Enthält';
+$lang['search_custom_match'] = 'Angepasst ';
+$lang['search_any_ns'] = 'Alle Namensräume';
+$lang['search_any_time'] = 'Jederzeit';
+$lang['search_past_7_days'] = 'Letzte Woche';
+$lang['search_past_month'] = 'Letzter Monat';
$lang['search_past_year'] = 'letztes Jahr';
$lang['search_sort_by_hits'] = 'Sortiere nach Treffer';
$lang['search_sort_by_mtime'] = 'Sortiere nach letzter Änderung';
diff --git a/lib/plugins/authmysql/lang/cs/lang.php b/lib/plugins/authmysql/lang/cs/lang.php
deleted file mode 100644
index 4dd63b437..000000000
--- a/lib/plugins/authmysql/lang/cs/lang.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
- */
-$lang['connectfail'] = 'Selhalo připojení k databázi.';
-$lang['userexists'] = 'Omlouváme se, ale uživatel s tímto jménem již existuje.';
-$lang['usernotexists'] = 'Omlouváme se, uživatel tohoto jména neexistuje.';
-$lang['writefail'] = 'Nelze změnit údaje uživatele. Informujte prosím správce wiki';
diff --git a/lib/plugins/authmysql/lang/cs/settings.php b/lib/plugins/authmysql/lang/cs/settings.php
deleted file mode 100644
index bc8e13620..000000000
--- a/lib/plugins/authmysql/lang/cs/settings.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author mkucera66 <mkucera66@seznam.cz>
- * @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
- */
-$lang['server'] = 'Váš server MySQL';
-$lang['user'] = 'Uživatelské jméno pro MySQL';
-$lang['password'] = 'Heslo tohoto uživatele';
-$lang['database'] = 'Použtá databáze';
-$lang['charset'] = 'znaková sada použitá v databázi';
-$lang['debug'] = 'Zobrazit dodatečné debugovací informace';
-$lang['forwardClearPass'] = 'Posílat uživatelské heslo jako čistý text do příkazů SQL namísto využití volby passcrypt.';
-$lang['TablesToLock'] = 'Čárkou oddělený seznam tabulek, které mohou být zamčené během operací zápisu';
-$lang['checkPass'] = 'Příkaz SQL pro kontrolu hesel';
-$lang['getUserInfo'] = 'Příkaz SQL pro získání informací o uživateli';
-$lang['getGroups'] = 'Příkaz SQL pro získání uživatelovy skupiny';
-$lang['getUsers'] = 'Příkaz SQL pro seznam všech uživatelů';
-$lang['FilterLogin'] = 'Příkaz SQL pro filtrování uživatelů podle přihlašovacího jména';
-$lang['FilterName'] = 'Příkaz SQL pro filtrování uživatelů podle celého jména';
-$lang['FilterEmail'] = 'Příkaz SQL pro filtrování uživatelů podle adres e-mailů';
-$lang['FilterGroup'] = 'Příkaz SQL pro filtrování uživatelů podle členství ve skupinách';
-$lang['SortOrder'] = 'Příkaz SQL pro řazení uživatelů';
-$lang['addUser'] = 'Příkaz SQL pro přidání nového uživatele';
-$lang['addGroup'] = 'Příkaz SQL pro přidání nové skupiny';
-$lang['addUserGroup'] = 'Příkaz SQL pro přidání uživatele do existující skupiny';
-$lang['delGroup'] = 'Příkaz SQL pro vymazání skupiny';
-$lang['getUserID'] = 'Příkaz SQL pro získání primárního klíče uživatele';
-$lang['delUser'] = 'Příkaz SQL pro vymazání uživatele';
-$lang['delUserRefs'] = 'Příkaz SQL pro odstranění členství uživatele se všech skupin';
-$lang['updateUser'] = 'Příkaz SQL pro aktualizaci uživatelského profilu';
-$lang['UpdateLogin'] = 'Klauzule pro aktualizaci přihlačovacího jména uživatele';
-$lang['UpdatePass'] = 'Klauzule pro aktualizaci hesla uživatele';
-$lang['UpdateEmail'] = 'Klauzule pro aktualizaci e-mailové adresy uživatele';
-$lang['UpdateName'] = 'Klauzule pro aktualizaci celého jména uživatele';
-$lang['UpdateTarget'] = 'Omezující klauzule pro identifikaci uživatele při aktualizaci';
-$lang['delUserGroup'] = 'Příkaz SQL pro zrušení členství uživatele v dané skupině';
-$lang['getGroupID'] = 'Příkaz SQL pro získání primárního klíče skupiny';
-$lang['debug_o_0'] = 'nic';
-$lang['debug_o_1'] = 'pouze při chybách';
-$lang['debug_o_2'] = 'všechny dotazy SQL';
diff --git a/lib/plugins/authmysql/lang/it/lang.php b/lib/plugins/authmysql/lang/it/lang.php
deleted file mode 100644
index 6ba3ef836..000000000
--- a/lib/plugins/authmysql/lang/it/lang.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Torpedo <dgtorpedo@gmail.com>
- */
-$lang['connectfail'] = 'Connessione fallita al database.';
-$lang['userexists'] = 'Spiacente, esiste già un utente con queste credenziali.';
-$lang['usernotexists'] = 'Spiacente, quell\'utente non esiste.';
-$lang['writefail'] = 'Non è possibile cambiare le informazioni utente. Si prega di informare l\'Amministratore del wiki';
diff --git a/lib/plugins/authmysql/lang/it/settings.php b/lib/plugins/authmysql/lang/it/settings.php
deleted file mode 100644
index ec2d6703e..000000000
--- a/lib/plugins/authmysql/lang/it/settings.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Claudio Lanconelli <lancos@libero.it>
- * @author Mirko <malisan.mirko@gmail.com>
- * @author Francesco <francesco.cavalli@hotmail.com>
- * @author Maurizio <mcannavo@katamail.com>
- * @author Torpedo <dgtorpedo@gmail.com>
- */
-$lang['server'] = 'Il tuo server MySQL';
-$lang['user'] = 'User name di MySQL';
-$lang['password'] = 'Password per l\'utente di cui sopra';
-$lang['database'] = 'Database da usare';
-$lang['charset'] = 'Set di caratteri usato nel database';
-$lang['debug'] = 'Mostra ulteriori informazioni di debug';
-$lang['forwardClearPass'] = 'Fornisci le password utente come testo visibile alle istruzioni SQL qui sotto, invece che usare l\'opzione passcrypt';
-$lang['TablesToLock'] = 'Lista, separata da virgola, delle tabelle che devono essere bloccate in scrittura';
-$lang['checkPass'] = 'Istruzione SQL per il controllo password';
-$lang['getUserInfo'] = 'Istruzione SQL per recuperare le informazioni utente';
-$lang['getGroups'] = 'Istruzione SQL per recuperare il gruppo di appartenenza di un utente';
-$lang['getUsers'] = 'Istruzione SQL per listare tutti gli utenti';
-$lang['FilterLogin'] = 'Condizione SQL per per filtrare gli utenti in funzione del "login name"';
-$lang['FilterName'] = 'Condizione SQL per filtrare gli utenti in base al nome completo';
-$lang['FilterEmail'] = 'Condizione SQL per filtrare gli utenti in base all\'indirizzo e-mail';
-$lang['FilterGroup'] = 'Condizione SQL per filtrare gli utenti in base al gruppo di appartenenza';
-$lang['SortOrder'] = 'Condizione SQL per ordinare gli utenti';
-$lang['addUser'] = 'Istruzione SQL per aggiungere un nuovo utente';
-$lang['addGroup'] = 'Istruzione SQL per aggiungere un nuovo gruppo';
-$lang['addUserGroup'] = 'Istruzione SQL per aggiungere un utente ad un gruppo esistente';
-$lang['delGroup'] = 'Istruzione SQL per imuovere un gruppo';
-$lang['getUserID'] = 'Istruzione SQL per recuperare la primary key di un utente';
-$lang['delUser'] = 'Istruzione SQL per cancellare un utente';
-$lang['delUserRefs'] = 'Istruzione SQL per rimuovere un utente da tutti i gruppi';
-$lang['updateUser'] = 'Istruzione SQL per aggiornare il profilo utente';
-$lang['UpdateLogin'] = 'Condizione SQL per aggiornare il nome di accesso dell\'utente';
-$lang['UpdatePass'] = 'Condizione SQL per aggiornare la password utente';
-$lang['UpdateEmail'] = 'Condizione SQL per aggiornare l\'e-mail utente';
-$lang['UpdateName'] = 'Condizione SQL per aggiornare il nome completo dell\'utente';
-$lang['UpdateTarget'] = 'Condizione SQL per identificare l\'utente quando aggiornato';
-$lang['delUserGroup'] = 'Istruzione SQL per rimuovere un utente da un dato gruppo';
-$lang['getGroupID'] = 'Istruzione SQL per avere la primary key di un dato gruppo';
-$lang['debug_o_0'] = 'Nulla';
-$lang['debug_o_1'] = 'Solo in errore';
-$lang['debug_o_2'] = 'Tutte le query SQL';
diff --git a/lib/plugins/authmysql/lang/ja/lang.php b/lib/plugins/authmysql/lang/ja/lang.php
deleted file mode 100644
index 55c908b81..000000000
--- a/lib/plugins/authmysql/lang/ja/lang.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Hideaki SAWADA <chuno@live.jp>
- */
-$lang['connectfail'] = 'データベースへの接続に失敗しました。';
-$lang['userexists'] = 'このログイン名のユーザーが既に存在しています。';
-$lang['usernotexists'] = 'そのユーザーは存在しません。';
-$lang['writefail'] = 'ユーザーデータを変更できません。Wiki の管理者に連絡してください。';
diff --git a/lib/plugins/authmysql/lang/ja/settings.php b/lib/plugins/authmysql/lang/ja/settings.php
deleted file mode 100644
index cc0146b15..000000000
--- a/lib/plugins/authmysql/lang/ja/settings.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Satoshi Sahara <sahara.satoshi@gmail.com>
- */
-$lang['server'] = 'MySQL のホスト名';
-$lang['user'] = 'MySQL 接続用ユーザー名';
-$lang['password'] = 'MySQL 接続用ユーザーのパスワード';
-$lang['database'] = '使用するデータベース名';
-$lang['charset'] = 'データベースの文字コード';
-$lang['debug'] = 'デバック情報を表示する';
-$lang['forwardClearPass'] = '以下で定義する SQL ステートメントにおいて, パスワード変数 を平文とする(DokiWiki側で暗号化しない)';
-$lang['TablesToLock'] = '書き込み時にロックするテーブル(コンマ区切りで列挙)';
-$lang['checkPass'] = 'パスワードの照合に用いる SQL ステートメント';
-$lang['getUserInfo'] = 'ユーザー情報の取得に用いる SQL ステートメント';
-$lang['getGroups'] = 'ユーザーが所属する全てのグループの取得に用いる SQL ステートメント';
-$lang['getUsers'] = 'ユーザーリストを取得する SQL ステートメント';
-$lang['FilterLogin'] = 'ユーザーリストをログイン名で絞り込む SQL 句';
-$lang['FilterName'] = 'ユーザーリストをフルネームで絞り込む SQL 句';
-$lang['FilterEmail'] = 'ユーザーリストをメールアドレスで絞り込む SQL 句';
-$lang['FilterGroup'] = 'ユーザーリストを所属グループで絞り込む SQL 句';
-$lang['SortOrder'] = 'ユーザーリストのソート方法を指定する SQL 句';
-$lang['addUser'] = '新規ユーザーを追加する SQL ステートメント';
-$lang['addGroup'] = '新規グループを追加する SQL ステートメント';
-$lang['addUserGroup'] = 'ユーザーをグループに配属する SQL ステートメント';
-$lang['delGroup'] = 'グループを削除する SQL ステートメント';
-$lang['getUserID'] = 'ユーザーIDの取得に用いる SQL ステートメント';
-$lang['delUser'] = 'ユーザーを削除する SQL ステートメント';
-$lang['delUserRefs'] = 'ユーザーのグループ所属を全て取り消す SQL ステートメント';
-$lang['updateUser'] = 'ユーザー情報を変更する SQL ステートメント';
-$lang['UpdateLogin'] = '変更後のログイン名を指定する SQL 句';
-$lang['UpdatePass'] = '変更後のパスワードを指定する SQL 句';
-$lang['UpdateEmail'] = '変更後のメールアドレスを指定する SQL 句';
-$lang['UpdateName'] = '変更後のフルネームを指定する SQL 句';
-$lang['UpdateTarget'] = '変更対象のユーザを特定するための SQL 句';
-$lang['delUserGroup'] = 'ユーザーをグループから除名する SQL ステートメント';
-$lang['getGroupID'] = 'グループIDの取得に用いる SQL ステートメント';
-$lang['debug_o_0'] = '表示しない';
-$lang['debug_o_1'] = 'エラー発生時のみ表示';
-$lang['debug_o_2'] = '全ての SQLクエリで表示';
diff --git a/lib/plugins/authpgsql/lang/cs/settings.php b/lib/plugins/authpgsql/lang/cs/settings.php
deleted file mode 100644
index af8b837ca..000000000
--- a/lib/plugins/authpgsql/lang/cs/settings.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author mkucera66 <mkucera66@seznam.cz>
- * @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
- */
-$lang['server'] = 'Váš server PostgreSQL';
-$lang['port'] = 'Port vašeho serveru PostgreSQL';
-$lang['user'] = 'Uživatelské jméno pro PostgreSQL';
-$lang['password'] = 'Heslo tohoto uživatele';
-$lang['database'] = 'Použtá databáze';
-$lang['debug'] = 'Zobrazit dodatečné debugovací informace';
-$lang['forwardClearPass'] = 'Posílat uživatelské heslo jako čistý text do příkazů SQL namísto využití volby passcrypt.';
-$lang['checkPass'] = 'Příkaz SQL pro kontrolu hesel';
-$lang['getUserInfo'] = 'Příkaz SQL pro získání informací o uživateli';
-$lang['getGroups'] = 'Příkaz SQL pro získání členství uživatele ve skupinách';
-$lang['getUsers'] = 'Příkaz SQL pro seznam všech uživatelů';
-$lang['FilterLogin'] = 'Příkaz SQL pro filtrování uživatelů podle přihlašovacího jména';
-$lang['FilterName'] = 'Příkaz SQL pro filtrování uživatelů podle celého jména';
-$lang['FilterEmail'] = 'Příkaz SQL pro filtrování uživatelů podle adres e-mailů';
-$lang['FilterGroup'] = 'Příkaz SQL pro filtrování uživatelů podle členství ve skupinách';
-$lang['SortOrder'] = 'Příkaz SQL pro řazení uživatelů';
-$lang['addUser'] = 'Příkaz SQL pro řazení uživatelů';
-$lang['addGroup'] = 'Příkaz SQL pro přidání nové skupiny';
-$lang['addUserGroup'] = 'Příkaz SQL pro přidání uživatele do existující skupiny';
-$lang['delGroup'] = 'Příkaz SQL pro vymazání skupiny';
-$lang['getUserID'] = 'Příkaz SQL pro získání primárního klíče uživatele';
-$lang['delUser'] = 'Příkaz SQL pro vymazání uživatele';
-$lang['delUserRefs'] = 'Příkaz SQL pro odstranění členství uživatele se všech skupin';
-$lang['updateUser'] = 'Příkaz SQL pro aktualizaci uživatelského profilu';
-$lang['UpdateLogin'] = 'Klauzule pro aktualizaci přihlačovacího jména uživatele';
-$lang['UpdatePass'] = 'Klauzule pro aktualizaci hesla uživatele';
-$lang['UpdateEmail'] = 'Klauzule pro aktualizaci e-mailové adresy uživatele';
-$lang['UpdateName'] = 'Klauzule pro aktualizaci celého jména uživatele';
-$lang['UpdateTarget'] = 'Omezující klauzule pro identifikaci uživatele při aktualizaci';
-$lang['delUserGroup'] = 'Příkaz SQL pro zrušení členství uživatele v dané skupině';
-$lang['getGroupID'] = 'Příkaz SQL pro získání primárního klíče skupiny';
diff --git a/lib/plugins/authpgsql/lang/it/settings.php b/lib/plugins/authpgsql/lang/it/settings.php
deleted file mode 100644
index 365fc47e4..000000000
--- a/lib/plugins/authpgsql/lang/it/settings.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Francesco <francesco.cavalli@hotmail.com>
- * @author Torpedo <dgtorpedo@gmail.com>
- * @author Maurizio <mcannavo@katamail.com>
- */
-$lang['server'] = 'Il tuo server PostgreSQL ';
-$lang['port'] = 'La porta del tuo server PostgreSQL ';
-$lang['user'] = 'Lo username PostgreSQL';
-$lang['password'] = 'Password dell\'utente summenzionato';
-$lang['database'] = 'Database da usare';
-$lang['debug'] = 'Visualizza informazioni addizionali di debug';
-$lang['forwardClearPass'] = 'Fornisci le password utente come testo visibile alle istruzioni SQL qui sotto, invece che usare l\'opzione passcrypt';
-$lang['checkPass'] = 'Istruzione SQL per il controllo password';
-$lang['getUserInfo'] = 'Istruzione SQL per recuperare le informazioni utente';
-$lang['getGroups'] = 'Istruzione SQL per recuperare il gruppo di appartenenza di un utente';
-$lang['getUsers'] = 'Istruzione SQL per elencare tutti gli utenti';
-$lang['FilterLogin'] = 'Condizione SQL per filtrare gli utenti in base al nome di accesso';
-$lang['FilterName'] = 'Condizione SQL per filtrare gli utenti in base al nome completo';
-$lang['FilterEmail'] = 'Condizione SQL per filtrare gli utenti in base all\'indirizzo e-mail';
-$lang['FilterGroup'] = 'Condizione SQL per filtrare gli utenti in base al gruppo di appartenenza';
-$lang['SortOrder'] = 'Condizione SQL per ordinare gli utenti';
-$lang['addUser'] = 'Istruzione SQL per aggiungere un nuovo utente';
-$lang['addGroup'] = 'Istruzione SQL per aggiungere un nuovo gruppo';
-$lang['addUserGroup'] = 'Istruzione SQL per aggiungere un utente ad un gruppo esistente';
-$lang['delGroup'] = 'Istruzione SQL per imuovere un gruppo';
-$lang['getUserID'] = 'Istruzione SQL per recuperare la primary key di un utente';
-$lang['delUser'] = 'Istruzione SQL per cancellare un utente';
-$lang['delUserRefs'] = 'Istruzione SQL per rimuovere un utente da tutti i gruppi';
-$lang['updateUser'] = 'Istruzione SQL per aggiornare il profilo utente';
-$lang['UpdateLogin'] = 'Condizione SQL per aggiornare il nome di accesso dell\'utente';
-$lang['UpdatePass'] = 'Condizione SQL per aggiornare la password utente';
-$lang['UpdateEmail'] = 'Condizione SQL per aggiornare l\'e-mail utente';
-$lang['UpdateName'] = 'Condizione SQL per aggiornare il nome completo dell\'utente';
-$lang['UpdateTarget'] = 'Condizione SQL per identificare l\'utente quando aggiornato';
-$lang['delUserGroup'] = 'Istruzione SQL per rimuovere un utente da un dato gruppo';
-$lang['getGroupID'] = 'Istruzione SQL per avere la primary key di un dato gruppo';
diff --git a/lib/plugins/authpgsql/lang/ja/settings.php b/lib/plugins/authpgsql/lang/ja/settings.php
deleted file mode 100644
index 001008c9f..000000000
--- a/lib/plugins/authpgsql/lang/ja/settings.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-/**
- * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
- *
- * @author Satoshi Sahara <sahara.satoshi@gmail.com>
- */
-$lang['server'] = 'PostgreSQL のサーバー名';
-$lang['port'] = 'PostgreSQL サーバーのポート番号';
-$lang['user'] = 'PostgreSQL 接続用ユーザー名';
-$lang['password'] = 'PostgreSQL 接続用ユーザーのパスワード';
-$lang['database'] = '使用するデータベース名';
-$lang['debug'] = 'デバック情報を表示する';
-$lang['forwardClearPass'] = '以下で定義する SQL ステートメントにおいて, パスワード変数 を平文とする(DokiWiki側で暗号化しない)';
-$lang['checkPass'] = 'パスワードの照合に用いる SQL ステートメント';
-$lang['getUserInfo'] = 'ユーザー情報の取得に用いる SQL ステートメント';
-$lang['getGroups'] = 'ユーザーが所属する全てのグループの取得に用いる SQL ステートメント';
-$lang['getUsers'] = 'ユーザーリストを取得する SQL ステートメント';
-$lang['FilterLogin'] = 'ユーザーリストをログイン名で絞り込む SQL 句';
-$lang['FilterName'] = 'ユーザーリストをフルネームで絞り込む SQL 句';
-$lang['FilterEmail'] = 'ユーザーリストをメールアドレスで絞り込む SQL 句';
-$lang['FilterGroup'] = 'ユーザーリストを所属グループで絞り込む SQL 句';
-$lang['SortOrder'] = 'ユーザーリストのソート方法を指定する SQL 句';
-$lang['addUser'] = '新規ユーザーを追加する SQL ステートメント';
-$lang['addGroup'] = '新規グループを追加する SQL ステートメント';
-$lang['addUserGroup'] = 'ユーザーをグループに配属する SQL ステートメント';
-$lang['delGroup'] = 'グループを削除する SQL ステートメント';
-$lang['getUserID'] = 'ユーザーIDの取得に用いる SQL ステートメン';
-$lang['delUser'] = 'ユーザーを削除する SQL ステートメント';
-$lang['delUserRefs'] = 'ユーザーのグループ所属を全て取り消す SQL ステートメント';
-$lang['updateUser'] = 'ユーザー情報を変更する SQL ステートメント';
-$lang['UpdateLogin'] = '変更後のログイン名を指定する SQL 句';
-$lang['UpdatePass'] = '変更後のパスワードを指定する SQL 句';
-$lang['UpdateEmail'] = '変更後のメールアドレスを指定する SQL 句';
-$lang['UpdateName'] = '変更後のフルネームを指定する SQL 句';
-$lang['UpdateTarget'] = '変更対象のユーザを特定するための SQL 句';
-$lang['delUserGroup'] = 'ユーザーをグループから除名する SQL ステートメント';
-$lang['getGroupID'] = 'グループIDの取得に用いる SQL ステートメント';