Manual:dumpLinks.php
Appearance
MediaWiki version: | ≥ 1.3 |
MediaWiki file: dumpLinks.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | DumpLinks |
Details
[edit]dumpLinks.php file is a maintenance script to generate a plaintext link dump.
Output includes all (live and broken) intra-wiki links and does not include interwiki or URL links.
Options
[edit]This script does not accept any options.
Usage
[edit]php maintenance/run.php dumpLinks
Terminal
$ php maintenance/run.php dumpLinks Module:Navbar/styles.css Template:Navbar Template:Shared_Template_Warning MediaWiki:Common.js/WatchlistNotice.js User:Darklama MediaWiki:EditToolbar.js Template:Template MediaWiki:Gadget-GoogleTrans.js Wikipedia_talk:Gadget User:Endo999/GoogleTrans.js MediaWiki:Gadget-Twinkle.js WP:TW WT:TW MediaWiki:Gadget-defaultsummaries.js WT:Gadget User:ErrantX/defaultsummaries.js User:MC10/defaultsummaries.js MediaWiki:Gadget-refToolbar.js User:Kaldari User:Mr.Z-man MediaWiki:Gadget-refToolbarBase.js MediaWiki:Gadget-refToolbarDialogs.js MediaWiki:RefToolbar.js MediaWiki:RefToolbarConfig.js MediaWiki:RefToolbarLegacy.js MediaWiki:RefToolbarMessages-de.js MediaWiki:RefToolbarMessages-en.js MediaWiki:Gadget-removeAccessKeys.js Wikipedia_talk:WikiProject_User_scripts/Scripts/removeAccessKeys MediaWiki:Navigation.js MediaWiki:Common.css MediaWiki:RefToolbar.js MediaWiki:Gadget-refToolbar.js MediaWiki:Gadget-refToolbarDialogs.css MediaWiki:RefToolbarLegacy.js WP:ENDASH
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.