Manual:DumpMessages.php

Details
dumpMessages.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to dump an entire language, using the keys from English so we get all the values, not just the customized ones. The output is in PHP serialize format.

Options/Arguments
This script does not take any options or arguments.

Usage
{{terminal|text= $ php maintenance/language/dumpMessages.php

MediaWiki 1.37.2 language file

a:8716:{s:9:"aboutpage";s:13:"Project:About";s:9:"aboutsite";s:15:"About Test Wiki";s:17:"accesskey-ca-edit";s:1:"e";s:20:"accesskey-ca-history";s:1:"h";s:23:"accesskey-ca-nstab-main";s:1:"c";s:17:"accesskey-ca-talk";s:1:"t";s:23:"accesskey-ca-viewsource";s:1:"e";s:25:"accesskey-n-currentevents";s:0:"";s:16:"accesskey-n-help";s:0:"";s:32:"accesskey-n-mainpage-description";s:1:"z";s:18:"accesskey-n-portal";s:0:"";s:22:"accesskey-n-randompage";s:1:"x";s:25:"accesskey-n-recentchanges";s:1:"r";s:16:"accesskey-p-logo";s:0:"";s:18:"accesskey-pt-login";s:1:"o";s:26:"accesskey-pt-createaccount";s:0:"";s:16:"accesskey-search";s:1:"f";s:25:"accesskey-search-fulltext";s:0:"";s:19:"accesskey-search-go";s:0:"";s:16:"accesskey-t-info";s:0:"";s:21:"accesskey-t-permalink";s:0:"";s:17:"accesskey-t-print";s:1:"p";s:31:"accesskey-t-recentchangeslinked";s:1:"k";s:24:"accesskey-t-specialpages";s:1:"q";s:25:"accesskey-t-whatlinkshere";s:1:"j";s:7:"actions";s:7:"Actions";s:10:"anonnotice";s:1:"-";s:8:"brackets";s:4:"[$1]";s:15:"comma-separator";s:2:", ";s:13:"currentevents";s:14:"Current events";s:17:"currentevents-url";s:22:"Project:Current events";s:14:"disclaimerpage";s:26:"Project:General disclaimer";s:11:"disclaimers";s:11:"Disclaimers";s:4:"edit";s:4:"Edit";s:11:"editsection";s:4:"edit";s:15:"editsectionhint";s:16:"Edit section: $1";s:4:"help";s:4:"Help";s:8:"helppage";s:63:"https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents";s:24:"interlanguage-link-title";s:9:"$1 – $2";s:6:"jumpto";s:8:"Jump to:";s:16:"jumptonavigation";s:10:"navigation";s:12:"jumptosearch";s:6:"search";s:14:"lastmodifiedat";s:39:"This page was last edited on $1, at $2.";s:8:"mainpage";s:9:"Main Page";s:20:"mainpage-description";s:9:"Main page";s:14:"mainpage-nstab";s:9:"Main page";s:10:"namespaces";s:10:"Namespaces";s:10:"navigation";s:10:"Navigation";s:23:"nav-login-createaccount";s:23:"Log in / create account";s:10:"nstab-main";s:4:"Page";s:15:"opensearch-desc";s:14:"Test Wiki (en)";s:14:"pagecategories";s:10:"Categories";s:18:"pagecategorieslink";s:18:"Special:Categories";s:9:"pagetitle";s:14:"$1 - Test Wiki";s:23:"pagetitle-view-mainpage";s:9:"Test Wiki";s:9:"permalink";s:14:"Permanent link";s:13:"personaltools";s:14:"Personal tools";s:6:"portal";s:16:"Community portal";s:10:"portal-url";s:24:"Project:Community portal";s:16:"printableversion";s:17:"Printable version";s:7:"privacy";s:14:"Privacy policy";s:11:"privacypage";s:22:"Project:Privacy policy";s:10:"randompage";s:11:"Random page";s:14:"randompage-url";s:14:"Special:Random";s:13:"recentchanges";s:14:"Recent changes";s:27:"recentchangeslinked-toolbox";s:15:"Related changes";s:17:"recentchanges-url";s:21:"Special:RecentChanges";s:13:"retrievedfrom";s:19:"Retrieved from "$1"";s:6:"search";s:6:"Search";s:13:"searcharticle";s:2:"Go";s:12:"searchbutton";s:6:"Search";s:20:"searchsuggest-search";s:16:"Search Test Wiki";s:7:"sidebar"; }}