Skip to content

Commit

Permalink
Fixed bovender#74
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrandgorge committed Jul 30, 2024
1 parent fbf7fe1 commit cc7ef0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/Target.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class Target {
*/
public function __construct( $namespace, $title, Config &$config ) {
$this->title = \Title::makeTitleSafe( $namespace, $title );
$this->titleValue = $this->title->getTitleValue();
$this->config = $config;

// Use unicode character properties rather than \b escape sequences
Expand Down
7 changes: 7 additions & 0 deletions linktitles-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ public function __construct() {
false, // does not require an argument
"v"
);
$this->addOption(
"dryrun",
"Show pages that are going to be linked into, with the number of occurences",
false, // not required
false, // does not require an argument
"d"
);
// TODO: Add back logging options.
// TODO: Add configuration options.
// $this->addOption(
Expand Down

0 comments on commit cc7ef0e

Please sign in to comment.