mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +00:00
8d2304b3ed
It demonstrates how the DiscussionTools extension recognizes the threads and comments present on a page, to help in debugging or understanding its behavior. Co-Authored-By: Ed Sanders <esanders@wikimedia.org> Change-Id: Idbc90bd8d7742615178331889daae5f94a007fcc
60 lines
1.5 KiB
PHP
60 lines
1.5 KiB
PHP
<?php
|
||
/**
|
||
* Aliases for special pages
|
||
*
|
||
* @file
|
||
* @ingroup Extensions
|
||
*/
|
||
|
||
$specialPageAliases = [];
|
||
|
||
/** English (English) */
|
||
$specialPageAliases['en'] = [
|
||
'TopicSubscriptions' => [ 'TopicSubscriptions' ],
|
||
'FindComment' => [ 'FindComment' ],
|
||
'GoToComment' => [ 'GoToComment' ],
|
||
'DiscussionToolsDebug' => [ 'DiscussionToolsDebug' ],
|
||
];
|
||
|
||
/** Czech (čeština) */
|
||
$specialPageAliases['cs'] = [
|
||
'TopicSubscriptions' => [ 'Odebíraná_témata' ],
|
||
'FindComment' => [ 'Najít_komentář' ],
|
||
'GoToComment' => [ 'Přejít_na_komentář' ],
|
||
];
|
||
|
||
/** German (Deutsch) */
|
||
$specialPageAliases['de'] = [
|
||
'TopicSubscriptions' => [ 'Themenbezogene_Abonnements' ],
|
||
'FindComment' => [ 'Kommentar_finden' ],
|
||
'GoToComment' => [ 'Gehe_zu_Kommentar' ],
|
||
];
|
||
|
||
/** Spanish (español) */
|
||
$specialPageAliases['es'] = [
|
||
'TopicSubscriptions' => [ 'Suscripciones_a_temas' ],
|
||
'FindComment' => [ 'Encontrar_comentario' ],
|
||
'GoToComment' => [ 'Ir_a_comentario' ],
|
||
];
|
||
|
||
/** Hebrew (עברית) */
|
||
$specialPageAliases['he'] = [
|
||
'TopicSubscriptions' => [ 'מינויים_לנושאים' ],
|
||
'FindComment' => [ 'מציאת_תגובה' ],
|
||
'GoToComment' => [ 'מעבר_לתגובה' ],
|
||
];
|
||
|
||
/** Korean (한국어) */
|
||
$specialPageAliases['ko'] = [
|
||
'TopicSubscriptions' => [ '구독하는주제' ],
|
||
'FindComment' => [ '댓글찾기' ],
|
||
'GoToComment' => [ '댓글로가기' ],
|
||
];
|
||
|
||
/** Polish (polski) */
|
||
$specialPageAliases['pl'] = [
|
||
'TopicSubscriptions' => [ 'Subskrypcje_wątków', 'Subskrybowane_wątki' ],
|
||
'FindComment' => [ 'Znajdź_komentarz' ],
|
||
'GoToComment' => [ 'Przejdź_do_komentarza' ],
|
||
];
|