File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,9 @@ def is_ranges_placeholder(target):
179179 return False
180180
181181def transform_ranges_placeholder (target , file , root ):
182+ # Placeholder link replacement is implemented in the MediaWiki site JS at
183+ # https://en.cppreference.com/w/MediaWiki:Common.js
184+
182185 ranges = 'cpp/experimental/ranges' in file
183186 repl = (r'\1/cpp/experimental/ranges/\2' if ranges else r'\1/cpp/\2' )
184187
Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ def test_is_external_link(self):
102102 self .assertEqual (False , is_external_link (' http://a' ))
103103
104104class TestPlaceholderLinks (unittest .TestCase ):
105+ # Placeholder link replacement is implemented in the MediaWiki site JS at
106+ # https://en.cppreference.com/w/MediaWiki:Common.js
107+
105108 def test_is_ranges_placeholder (self ):
106109 match = [
107110 'http://en.cppreference.com/w/cpp/ranges-placeholder/concepts/Assignable' ,
You can’t perform that action at this time.
0 commit comments