Skip to content

Commit

Permalink
Remove all leftover code from datatables-legacy (#858)
Browse files Browse the repository at this point in the history
* Remove all leftover code from datatables-legacy

Datatable-legacy was removed in #790. This patch aims to remove
all leftover code that are missed in the previous PR.

* Remove datatables-legacy modules
  • Loading branch information
alistair3149 authored Nov 7, 2024
1 parent b587df9 commit 3fda45d
Show file tree
Hide file tree
Showing 36 changed files with 3 additions and 156 deletions.
11 changes: 0 additions & 11 deletions Resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -924,17 +924,6 @@
'group' => 'ext.srf'
],

// jQuery DataTables
'jquery.dataTables' => $moduleTemplate + [
'scripts' => 'resources/jquery/datatables/datatables.min.js',
'position' => 'top'
],

// DataTables extras
'jquery.dataTables.extras' => $moduleTemplate + [
'scripts' => 'resources/jquery/datatables/jquery.dataTables.extras.js',
],

'ext.srf.carousel.module' => $moduleTemplate + [
'styles' => [
'resources/slick/slick.css',
Expand Down
14 changes: 0 additions & 14 deletions SemanticResultFormats.hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,6 @@ public static function onGetPreferences( $user, &$preferences ) {
'section' => 'smw/srf-eventcalendar-options',
];

// Enable auto update during a page refresh
$preferences['srf-prefs-datatables-options-update-default'] = [
'type' => 'toggle',
'label-message' => 'srf-prefs-datatables-options-update-default',
'section' => 'smw/srf-datatables-options',
];

// Enable local caching
$preferences['srf-prefs-datatables-options-cache-default'] = [
'type' => 'toggle',
'label-message' => 'srf-prefs-datatables-options-cache-default',
'section' => 'smw/srf-datatables-options',
];

return true;
}
}
3 changes: 0 additions & 3 deletions i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"prefs-srf-eventcalendar-options": "خيارات تقويم الحدث",
"srf-prefs-eventcalendar-options-update-default": "تمكين [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates التحديثات التلقائية] لأحداث التقويم أثناء تحديث الصفحة",
"srf-prefs-eventcalendar-options-paneview-default": "تمكين عرض الجزء بشكل افتراضي",
"prefs-srf-datatables-options": "خيارات جداول البيانات",
"srf-prefs-datatables-options-update-default": "تمكين [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates التحديثات التلقائية] لمحتوى الجدول أثناء تحديث الصفحة",
"srf-prefs-datatables-options-cache-default": "تمكين [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage التخزين المحلي] لتحسين وقت الاستجابة",
"srf-module-loading": "جارٍ التحميل...",
"srf-paramdesc-layout": "التصميم المتاح",
"srf-paramdesc-height": "الارتفاع",
Expand Down
3 changes: 0 additions & 3 deletions i18n/ast.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"prefs-srf-eventcalendar-options": "Opciones de calendariu d'actividaes",
"srf-prefs-eventcalendar-options-update-default": "Activar les [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualizaciones automátiques] de les actividaes del calendariu durante l'actualización de la páxina",
"srf-prefs-eventcalendar-options-paneview-default": "Activar la vista de tableru de mou predetermináu",
"prefs-srf-datatables-options": "Opciones de DataTables",
"srf-prefs-datatables-options-update-default": "Activar les [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualizaciones automátiques] del conteníu de la tabla durante l'actualización de la páxina",
"srf-prefs-datatables-options-cache-default": "Activar l'[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage almacenamientu llocal] p'ameyorar el tiempu de respuesta",
"srf-module-loading": "Cargando...",
"srf-paramdesc-layout": "Diseñu disponible",
"srf-paramdesc-height": "Altor",
Expand Down
1 change: 0 additions & 1 deletion i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"srf-desc": "Formats de resultats addicionals per a consultes Semantic MediaWiki",
"prefs-srf": "Formats de resultats semàntics",
"prefs-srf-datatables-options": "Opcions de DataTables",
"srf-module-loading": "S'està carregant...",
"srf-paramdesc-height": "Alçària",
"srf-paramdesc-width": "Amplada",
Expand Down
1 change: 0 additions & 1 deletion i18n/ce.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"Умар"
]
},
"prefs-srf-datatables-options": "DataTables нисйар",
"srf-module-loading": "Чуйолуш...",
"srf-paramdesc-layout": "Макет тӀекхочуш йу",
"srf-paramdesc-height": "Локхалла",
Expand Down
3 changes: 0 additions & 3 deletions i18n/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"prefs-srf-eventcalendar-options": "Volby kalendáře událostí",
"srf-prefs-eventcalendar-options-update-default": "Povolit [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatické aktualizace] událostí kalendáře během aktualizace stránky",
"srf-prefs-eventcalendar-options-paneview-default": "Povolit implicitně zobrazení podokna",
"prefs-srf-datatables-options": "Volby datových tabulek",
"srf-prefs-datatables-options-update-default": "Povolit [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatické aktualizace] obsahu tabulky během aktualizace stránky",
"srf-prefs-datatables-options-cache-default": "Povolit [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage místní úložiště] pro zkrácení času odezvy",
"srf-module-loading": "Načítání...",
"srf-paramdesc-layout": "Dostupné rozložení",
"srf-paramdesc-height": "Výška",
Expand Down
4 changes: 0 additions & 4 deletions i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"prefs-srf-eventcalendar-options": "Optionen zum Veranstaltungskalender",
"srf-prefs-eventcalendar-options-update-default": "[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates Automatische Aktualisierung] des Kalenders beim Neuladen der Seite aktivieren",
"srf-prefs-eventcalendar-options-paneview-default": "Übersichtsansicht als Standardansicht aktivieren",
"prefs-srf-datatables-options": "Optionen zu Datentabellen",
"srf-prefs-datatables-options-update-default": "[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates Automatische Aktualisierung] des Datentabelleninhalts beim Neuladen der Seite aktivieren",
"srf-prefs-datatables-options-cache-default": "[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage Lokale Datenspeicherung] zum Verbessern der Leistung aktivieren",
"srf-paramdesc-datatables-library-option": "ursprüngliche Datatables-Parameter",
"srf-module-loading": "Lade …",
"srf-paramdesc-layout": "Das verfügbare Layout",
Expand Down Expand Up @@ -211,7 +208,6 @@
"srf-paramdesc-debug": "Legt fest, ob der Code der Prozessgrafik mit „Pre“-Tags versehen angezeigt werden soll",
"srf-paramdesc-graphvalidation": "Legt fest, ob die Prozessschritte in rot angezeigt werden sollen, denen keine Rolle zugewiesen ist",
"srf-printername-datatables": "Datentabellen",
"srf-printername-datatables-legacy": "DataTables (veraltet)",
"srf-ui-datatables-label-conditions": "Bedingungen",
"srf-ui-datatables-label-parameters": "Parameter",
"srf-ui-datatables-label-filters": "Spaltenfilter und Suche",
Expand Down
4 changes: 0 additions & 4 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"prefs-srf-eventcalendar-options": "Event calendar options",
"srf-prefs-eventcalendar-options-update-default": "Enable [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatic updates] of calendar events during page refresh",
"srf-prefs-eventcalendar-options-paneview-default": "Enable the pane view by default",
"prefs-srf-datatables-options": "DataTables options",
"srf-prefs-datatables-options-update-default": "Enable [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatic updates] of table content during page refresh",
"srf-prefs-datatables-options-cache-default": "Enable [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage local storage] to improve response time",
"srf-paramdesc-datatables-library-option": "native datatables option",
"srf-module-loading": "Loading...",
"srf-paramdesc-layout": "Available layout",
Expand Down Expand Up @@ -200,7 +197,6 @@
"srf-paramdesc-debug": "Sets whether the process graph code should be shown wrapped pre tags",
"srf-paramdesc-graphvalidation": "Displays the process steps in red which do not have a assigned role",
"srf-printername-datatables": "DataTables",
"srf-printername-datatables-legacy": "DataTables (legacy)",
"srf-ui-datatables-label-conditions": "Conditions",
"srf-ui-datatables-label-parameters": "Parameters",
"srf-ui-datatables-label-filters": "Column filters and search",
Expand Down
3 changes: 0 additions & 3 deletions i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
"prefs-srf-eventcalendar-options": "Opciones del calendario de eventos",
"srf-prefs-eventcalendar-options-update-default": "Desactivar [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatic updates] de eventos de calendario durante la recarga de las páginas",
"srf-prefs-eventcalendar-options-paneview-default": "Activar el panel de vista de manera predeterminada",
"prefs-srf-datatables-options": "Opciones de DataTables",
"srf-prefs-datatables-options-update-default": "Activar [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualizaciones automáticas] del contenido de la tabla durante la actualización de la página",
"srf-prefs-datatables-options-cache-default": "Desactivar [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage local storage] para mejorar el tiempo de respuesta",
"srf-module-loading": "Cargando...",
"srf-paramdesc-layout": "Diseño disponible",
"srf-paramdesc-height": "Altura",
Expand Down
4 changes: 0 additions & 4 deletions i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
"prefs-srf-eventcalendar-options": "Options du calendrier d’événements",
"srf-prefs-eventcalendar-options-update-default": "Activer les [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates mises à jour automatiques] des événements du calendrier lors d’un rafraîchissement de page",
"srf-prefs-eventcalendar-options-paneview-default": "Activer l’affichage du volet par défaut",
"prefs-srf-datatables-options": "Options des plages de données",
"srf-prefs-datatables-options-update-default": "Activer les [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates mises à jour automatiques] du contenu des tables lors du rafraîchissement des pages",
"srf-prefs-datatables-options-cache-default": "Activer le [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage stockage local] pour améliorer les temps de réponse",
"srf-paramdesc-datatables-library-option": "option de tables de données natives",
"srf-module-loading": "Chargement en cours...",
"srf-paramdesc-layout": "Mise en page disponible",
Expand Down Expand Up @@ -228,7 +225,6 @@
"srf-paramdesc-debug": "Indique si le code du graphique du processus doit être encapsulé dans des balises « pre »",
"srf-paramdesc-graphvalidation": "Affiche les étapes du processus en rouge quand elles n’ont aucun rôle affecté",
"srf-printername-datatables": "Tables de données",
"srf-printername-datatables-legacy": "Tables de données (hérité)",
"srf-ui-datatables-label-conditions": "Conditions",
"srf-ui-datatables-label-parameters": "Paramètres",
"srf-ui-datatables-label-filters": "Filtres de colonne et de recherche",
Expand Down
3 changes: 0 additions & 3 deletions i18n/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"prefs-srf-eventcalendar-options": "Opcións de calendario de eventos",
"srf-prefs-eventcalendar-options-update-default": "Activa as [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualizacións automáticas] dos eventos do calendario durante a actualización da páxina",
"srf-prefs-eventcalendar-options-paneview-default": "Activar a vista de folla por defecto",
"prefs-srf-datatables-options": "Opcións de DataTables",
"srf-prefs-datatables-options-update-default": "Activa as [ttps://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualizacións automáticas] do contido da táboa durante a actualización da páxina",
"srf-prefs-datatables-options-cache-default": "Activar o [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage almacenamento local] para mellorar os tempos de resposta",
"srf-module-loading": "Cargando...",
"srf-paramdesc-layout": "Esquema dispoñible",
"srf-paramdesc-height": "Altura (en píxeles)",
Expand Down
4 changes: 0 additions & 4 deletions i18n/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"prefs-srf-eventcalendar-options": "אפשרויות יומן אירועים",
"srf-prefs-eventcalendar-options-update-default": "הפעלת [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates עדכונים אוטומטיים] של אירועים ביומן בזמן רענון דף",
"srf-prefs-eventcalendar-options-paneview-default": "הפעלה של תצוגת החלוניות תחילה",
"prefs-srf-datatables-options": "אפשרויות טבלאות נתונים",
"srf-prefs-datatables-options-update-default": "הפעלת [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates עדכונים אוטומטיים] של תוכן הטבלה בזמן רענון הדף",
"srf-prefs-datatables-options-cache-default": "הפעלת [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage אחסון מקומי] לשיפור זמן התגובה",
"srf-paramdesc-datatables-library-option": "אפשרות של טבלאות נתונים מקוריות",
"srf-module-loading": "טעינה...",
"srf-paramdesc-layout": "עיצוב זמין",
Expand Down Expand Up @@ -208,7 +205,6 @@
"srf-paramdesc-debug": "קובע האם להציג את קוד תרשים התהליך בתגי pre",
"srf-paramdesc-graphvalidation": "מציג באדום את שלבי התהליך שאין להם תפקיד מוקצה",
"srf-printername-datatables": "טבלאות נתונים",
"srf-printername-datatables-legacy": "טבלאות נתונים (ישנות)",
"srf-ui-datatables-label-conditions": "תנאים",
"srf-ui-datatables-label-parameters": "פרמטרים",
"srf-ui-datatables-label-filters": "מסנני עמודה וחיפוש",
Expand Down
4 changes: 0 additions & 4 deletions i18n/ia.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"prefs-srf-eventcalendar-options": "Optiones del calendario de eventos",
"srf-prefs-eventcalendar-options-update-default": "Activar le [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualisationes automatic] de eventos de calendario durante le refrescamento de paginas",
"srf-prefs-eventcalendar-options-paneview-default": "Activar le vista de pannello per predefinition",
"prefs-srf-datatables-options": "Optiones de tabellas de datos",
"srf-prefs-datatables-options-update-default": "Activar le [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates actualisationes automatic] de contento de tabellas durante le refrescamento de paginas",
"srf-prefs-datatables-options-cache-default": "Activar le [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage immagazinage local] pro meliorar le tempore de responsa",
"srf-paramdesc-datatables-library-option": "option de tabellas de datos native",
"srf-module-loading": "Cargamento…",
"srf-paramdesc-layout": "Disposition disponibile",
Expand Down Expand Up @@ -198,7 +195,6 @@
"srf-paramdesc-debug": "Indica si le codice del graphico del processo debe apparer incapsulate in etiquettas \"pre\"",
"srf-paramdesc-graphvalidation": "Monstrar in rubie le passos del processo que non ha un rolo assignate",
"srf-printername-datatables": "Tabellas de datos",
"srf-printername-datatables-legacy": "Tabellas de datos (hereditate)",
"srf-ui-datatables-label-conditions": "Conditiones",
"srf-ui-datatables-label-parameters": "Parametros",
"srf-ui-datatables-label-filters": "Filtros de columnas e recerca",
Expand Down
1 change: 0 additions & 1 deletion i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"srf-desc": "Formati addizionali per i risultati delle query di Semantic MediaWiki",
"prefs-srf-eventcalendar-options": "Opzioni calendario eventi",
"prefs-srf-datatables-options": "Opzioni tabelle dati",
"srf-module-loading": "Caricamento in corso...",
"srf-paramdesc-layout": "Layout disponibili",
"srf-paramdesc-height": "Altezza",
Expand Down
3 changes: 0 additions & 3 deletions i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
"prefs-srf": "意味的結果の形式",
"prefs-srf-eventcalendar-options": "イベントカレンダーオプション",
"srf-prefs-eventcalendar-options-update-default": "ページ更新中のカレンダーイベントの[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates 自動更新]を有効にする",
"prefs-srf-datatables-options": "データテーブルオプション",
"srf-prefs-datatables-options-update-default": "ページ更新中のテーブル内容の[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates 自動更新]を有効にする",
"srf-prefs-datatables-options-cache-default": "応答時間の改善のため[https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage ローカルストレージ]を有効にする",
"srf-module-loading": "読み込み中...",
"srf-paramdesc-layout": "利用できるレイアウト",
"srf-paramdesc-height": "高さ",
Expand Down
1 change: 0 additions & 1 deletion i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"prefs-srf": "시맨틱 결과 포맷",
"srf-prefs-intro-text": "시맨틱 결과 포맷 확장 기능을 설치하였습니다. 추가적인 도움을 받으려면 [https://www.semantic-mediawiki.org/wiki/Help:Result_formats 결과 포맷] 도움말 페이지를 방문해 주십시오.",
"prefs-srf-eventcalendar-options": "이벤트 캘린더 옵션",
"prefs-srf-datatables-options": "데이터테이블 옵션",
"srf-module-loading": "불러오는 중…",
"srf-paramdesc-layout": "사용할 수 있는 레이아웃",
"srf-paramdesc-height": "높이",
Expand Down
1 change: 0 additions & 1 deletion i18n/lb.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
]
},
"prefs-srf-eventcalendar-options": "Optioune vum Kalenner vun den Eventementer",
"prefs-srf-datatables-options": "Optioune vun den Tabelle vun Donnéeën",
"srf-module-loading": "Lueden...",
"srf-paramdesc-height": "Héicht",
"srf-paramdesc-width": "Breet",
Expand Down
3 changes: 0 additions & 3 deletions i18n/mk.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"prefs-srf-eventcalendar-options": "Поставки на Календарот на настани",
"srf-prefs-eventcalendar-options-update-default": "Овозможи [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates автоматска поднова] на настаните во календарот при превчитување на страницата",
"srf-prefs-eventcalendar-options-paneview-default": "Овозможи надгледен поглед по основно",
"prefs-srf-datatables-options": "Нагодувања за Податочните таблици",
"srf-prefs-datatables-options-update-default": "Овозможи [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates автоматски поднови] на содржината во табелите при превчитување на страницата",
"srf-prefs-datatables-options-cache-default": "Овозможи [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage месно складирање] за да се подобри времето на одговор",
"srf-module-loading": "Вчитувам...",
"srf-paramdesc-layout": "Распоред на располагање",
"srf-paramdesc-height": "Висина",
Expand Down
3 changes: 0 additions & 3 deletions i18n/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"prefs-srf-eventcalendar-options": "Valgmuligheter i hendelseskalenderen.",
"srf-prefs-eventcalendar-options-update-default": "Aktiviser [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatiske oppdateringer] av kalenderhendelser ved sideoppdatering",
"srf-prefs-eventcalendar-options-paneview-default": "Aktiviser panelvisning som standard",
"prefs-srf-datatables-options": "DataTables-valgmuligheter",
"srf-prefs-datatables-options-update-default": "Aktiviser [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Automatic_updates automatiske oppdateringer] av tabellinnhold ved sideoppdatering",
"srf-prefs-datatables-options-cache-default": "Aktiviser [https://www.semantic-mediawiki.org/wiki/Help:User_preferences#Local_storage lokal lagring] for å forbedre responstiden",
"srf-module-loading": "Laster ...",
"srf-paramdesc-layout": "Tilgjengelige visninger",
"srf-paramdesc-height": "Høyde",
Expand Down
Loading

0 comments on commit 3fda45d

Please sign in to comment.