-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #68: only try to link titles that are not redirect in LinkTitles-cli.php #69
base: main
Are you sure you want to change the base?
Conversation
…t in LinkTitles-cli.php
Thanks for your contribution. However, I must say that I am not so sure if this should be the default or only behavior. I for one prefer to have redirect pages being linked to -- often there is an alias for a given term, and I want that alias to be automatically linked on my Wikis, too. Maybe we can make this configurable. |
Here the filter only applies to the list of pages that LinkTitle-cli.php candidate for modification when called for all pages. It does not change (if I did it right) the fact that we are going to link words in the current page to synonyms and redirects. Now I'm not too sure about the fix to be honest, because it seems to have changed the behaviour of |
@@ -369,6 +369,12 @@ page, but there may be a page title "Mg" which redirects to the page | |||
"Magnesium". This settings prevents erroneous linking to very short titles by | |||
setting a minimum length. You can adjust this setting to your liking. | |||
|
|||
|
|||
$wgLinkTitlesMaximumTitleLength = 25; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this, excellent idea.
No description provided.