Skip to content
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

Changes discussed under issue #19 #21

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

cdruee
Copy link

@cdruee cdruee commented Jan 12, 2015

No description provided.

projectgus and others added 10 commits January 2, 2015 08:05
aleading or trailing special character -for example a bracket) produces
a leading or trailing underscore in the page title, which is invalid.
If amediawiki page title containes a colon or a slash, it was assuemd
that this denotes a namespace. Now this checked ageinst the actual list
of namespaces. Litteral colos nd slashes are also converted into underscores.
File links now work, file page links are still ignored
In case of localized File Aliasase, only the aliases, but not the
canonical Alias was checked for, if a NamespaceLink was encountered.
Links to file pages, starting with a colon were ignored. They are now
converted into links to the respectve file. Simply by removing the leading
colon.
-Headline levels were translated one level too low
-alternative (piped) internal link names were not hnored, leaing to invalid links
@projectgus
Copy link
Owner

Hi,

Thanks for all these fixes. Sorry I neglected to reply for so long.

I merged these against the current master and it mostly looks good, however I'm having a problem when importing some test wikis - namespaces aren't being correctly bought across, outcome that should be of the form namespace:xyz is coming over as namespace_xyz.

I haven't had time to work out what the problem is (it might be in the merge rather than the changes you've supplied, there were a few conflicts). I've put it in a branch for now:
https://github.com/projectgus/yamdwe/tree/pr21

If you have time I'd appreciate your input unravelling it, otherwise I'll hopefully get to it soon.

Thanks again,

Angus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants