Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(184)

Issue 10439044: Interwiki Module Fixed

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by ashu1461
Modified:
10 years, 10 months ago
Reviewers:
thomas.j.waldmann, ReimarBauer, waldi
Visibility:
Public.

Description

Interwiki Module Fixed

Patch Set 1 : #

Total comments: 28

Patch Set 2 : Fixed previous mistakes. #

Total comments: 2

Patch Set 3 : split_fqname now returns a namedtuple #

Total comments: 12

Patch Set 4 : defined a subclass for compositename #

Total comments: 2

Patch Set 5 : all tests checked #

Patch Set 6 : Added a TODO in 1.9 converter #

Total comments: 2

Patch Set 7 : TODO Removed :| #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -122 lines) Patch
M MoinMoin/_tests/test_user.py View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M MoinMoin/constants/keys.py View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M MoinMoin/themes/__init__.py View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M MoinMoin/themes/_tests/test_navi_bar.py View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M MoinMoin/util/_tests/test_interwiki.py View 1 2 2 chunks +78 lines, -58 lines 0 comments Download
M MoinMoin/util/interwiki.py View 1 2 3 4 5 6 9 chunks +106 lines, -55 lines 4 comments Download

Messages

Total messages: 11
Thomas.J.Waldmann
only a partial review, I must work on some other stuff now. but you meanwhile ...
10 years, 11 months ago (2013-06-21 12:36:26 UTC) #1
Thomas.J.Waldmann
some more comments https://codereview.appspot.com/10439044/diff/3001/MoinMoin/util/_tests/test_interwiki.py File MoinMoin/util/_tests/test_interwiki.py (right): https://codereview.appspot.com/10439044/diff/3001/MoinMoin/util/_tests/test_interwiki.py#newcode95 MoinMoin/util/_tests/test_interwiki.py:95: ('@tags/SomePage', ('Self', '', 'tags', 'SomePage')), looks ...
10 years, 11 months ago (2013-06-22 20:56:01 UTC) #2
ashu1461
https://codereview.appspot.com/10439044/diff/18001/MoinMoin/util/interwiki.py File MoinMoin/util/interwiki.py (right): https://codereview.appspot.com/10439044/diff/18001/MoinMoin/util/interwiki.py#newcode121 MoinMoin/util/interwiki.py:121: namespace_set = {namespace.rstrip('/') for namespace in namespaces} we need ...
10 years, 11 months ago (2013-06-23 12:21:32 UTC) #3
ReimarBauer
some comments https://codereview.appspot.com/10439044/diff/31001/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): https://codereview.appspot.com/10439044/diff/31001/MoinMoin/constants/keys.py#newcode117 MoinMoin/constants/keys.py:117: #Values that FIELD can take in the ...
10 years, 10 months ago (2013-06-26 20:07:52 UTC) #4
ashu1461
https://codereview.appspot.com/10439044/diff/31001/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): https://codereview.appspot.com/10439044/diff/31001/MoinMoin/constants/keys.py#newcode117 MoinMoin/constants/keys.py:117: #Values that FIELD can take in the composite name: ...
10 years, 10 months ago (2013-06-26 20:53:58 UTC) #5
Thomas.J.Waldmann
https://codereview.appspot.com/10439044/diff/31001/MoinMoin/util/interwiki.py File MoinMoin/util/interwiki.py (right): https://codereview.appspot.com/10439044/diff/31001/MoinMoin/util/interwiki.py#newcode124 MoinMoin/util/interwiki.py:124: namespace_set = {namespace.rstrip('/') for namespace in namespaces} from where ...
10 years, 10 months ago (2013-06-27 12:19:08 UTC) #6
Thomas.J.Waldmann
https://codereview.appspot.com/10439044/diff/47001/MoinMoin/util/interwiki.py File MoinMoin/util/interwiki.py (right): https://codereview.appspot.com/10439044/diff/47001/MoinMoin/util/interwiki.py#newcode159 MoinMoin/util/interwiki.py:159: Split a Fully qualified url into namespace, field and ...
10 years, 10 months ago (2013-06-27 20:11:24 UTC) #7
Thomas.J.Waldmann
add a TODO to the moin19 converter that we need to support wikiname/itemname syntax (convert ...
10 years, 10 months ago (2013-06-27 21:17:35 UTC) #8
Thomas.J.Waldmann
https://codereview.appspot.com/10439044/diff/59001/MoinMoin/converter/moinwiki19_in.py File MoinMoin/converter/moinwiki19_in.py (right): https://codereview.appspot.com/10439044/diff/59001/MoinMoin/converter/moinwiki19_in.py#newcode28 MoinMoin/converter/moinwiki19_in.py:28: # TODO Now using slash('/') as delimiter in interwiki ...
10 years, 10 months ago (2013-06-28 09:48:37 UTC) #9
Thomas.J.Waldmann
ok
10 years, 10 months ago (2013-06-29 14:12:06 UTC) #10
waldi
10 years, 10 months ago (2013-06-29 14:30:10 UTC) #11
https://codereview.appspot.com/10439044/diff/68001/MoinMoin/util/interwiki.py
File MoinMoin/util/interwiki.py (right):

https://codereview.appspot.com/10439044/diff/68001/MoinMoin/util/interwiki.py...
MoinMoin/util/interwiki.py:43: def get_fqname(item_name, field, namespace):
You may want to convert this to a member of CompositeName later.

https://codereview.appspot.com/10439044/diff/68001/MoinMoin/util/interwiki.py...
MoinMoin/util/interwiki.py:50: if field:
"if field and field != NAME_EXACT:"
may be faster and easier to read.

https://codereview.appspot.com/10439044/diff/68001/MoinMoin/util/interwiki.py...
MoinMoin/util/interwiki.py:146: def split(self):
Is this used? This looks like backward compatibility code and defines a
different view over the same data. If it is used, document it, otherwise remove
it.

https://codereview.appspot.com/10439044/diff/68001/MoinMoin/util/interwiki.py...
MoinMoin/util/interwiki.py:157: def split_fqname(url):
You may want to convert this to a (static) member method of CompositeName later
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b