-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix issue with broken inter-wiki links #3506 #3560
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3560 +/- ##
==========================================
- Coverage 36.14% 35.79% -0.35%
==========================================
Files 285 285
Lines 40925 40868 -57
==========================================
- Hits 14791 14630 -161
- Misses 23959 24069 +110
+ Partials 2175 2169 -6
Continue to review full report at Codecov.
|
Maybe when |
Just to pull this out of the (buried) comment in the last commit: There are two more locations where +s are added to links, making me think + was chosen for a reason. @lunny adding a check for iswiki would be good - when are the + signs used in links? when links are to files within the repo? |
@charlesreid1 yes as files added to wiki git can contain spaces |
@charlesreid1 I hope you do not mind I overwrite your commit as only single place was needed to be changed afaik. Also added tests for links with spaces. |
Thanks for fixing this up @lafriks! |
@charlesreid1 thanks for pinpointing the problem ;) |
This fixes issue #3506, in which inter-wiki links automatically generated in the sidebar contained
+
signs instead of-
signs and were therefore all broken.