Ben Kurtovic
|
cf90557229
|
Template.has() should be passed ignore_empty=False by default.
**Breaking change**; closes #51.
|
пре 10 година |
Ben Kurtovic
|
40b92358b4
|
Simplify parameter removal.
|
пре 10 година |
Ben Kurtovic
|
f2442906db
|
Implement support for Template.remove() taking Parameters as arguments.
|
пре 10 година |
Ben Kurtovic
|
53c26589ee
|
Some node fixes; attributes with empty values now display correctly.
|
пре 10 година |
Ben Kurtovic
|
a7dda77474
|
Template.has_param() -> Template.has()
|
пре 10 година |
Ben Kurtovic
|
3fb8f3214c
|
Fix StringMixIn.maketrans() on Py3k.
- Make a test in Py3k actually use StringMixIn instead of str.
- Minor cosmetic fix.
|
пре 11 година |
Ben Kurtovic
|
81849013bc
|
Finishing tests for Templates; some fixes.
|
пре 11 година |
Ben Kurtovic
|
2ca3b2805e
|
Implement 'before' parameter for Template.add() (closes #21)
|
пре 11 година |
Ben Kurtovic
|
b46c98b012
|
Clean up template.add(); add a before param but do not implement yet.
|
пре 11 година |
Ben Kurtovic
|
786d619274
|
Drop force_no_field in template.remove(); implement test_remove().
- Also add tests for spacing in param names.
|
пре 11 година |
Ben Kurtovic
|
6a385b3921
|
TestParameter and a fair chunk of TestTemplate.
|
пре 11 година |
Ben Kurtovic
|
cd5cc6a7d0
|
Update copyright notices for 2013.
|
пре 11 година |
Ben Kurtovic
|
76b299e4fa
|
Sync from upstream (6413ae21da ); some doc updates.
|
пре 11 година |
Ben Kurtovic
|
6413ae21da
|
Should have used the param's name here instead of its value.
|
пре 11 година |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
пре 11 година |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
пре 11 година |
Ben Kurtovic
|
b0418189d6
|
Document all of Template, plus some other fixes.
|
пре 11 година |
Ben Kurtovic
|
90b18e3abc
|
Finish updating all to compat except for the parser.
|
пре 11 година |
Ben Kurtovic
|
e6fa7b2b2d
|
Support changing a template's name, plus a couple of typos and docs.
|
пре 11 година |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
пре 11 година |
Ben Kurtovic
|
fc66ce0654
|
Update remove() for when a templates has the same key multiple times.
|
пре 11 година |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
пре 11 година |
Ben Kurtovic
|
6fefc28cba
|
Handle integers as MediaWiki does.
|
пре 12 година |
Ben Kurtovic
|
69b236ee8d
|
Handle template parameter key dependents more intelligently.
|
пре 12 година |
Ben Kurtovic
|
934b1ef016
|
Fixes and improvements.
|
пре 12 година |
Ben Kurtovic
|
81e5ce30af
|
Working on the framework for the tokenizer, plus some cleanup, fixes.
|
пре 12 година |
Ben Kurtovic
|
137b9fc68f
|
Fix some bugs; satisfy PyLint on certain inheritance things.
|
пре 12 година |
Ben Kurtovic
|
3633f31633
|
Relaive imports because they are awesome; more stuff in SmartList.
|
пре 12 година |
Ben Kurtovic
|
9355f22d22
|
Implement interface for __showtree__.
Some cleanup and import fixes.
|
пре 12 година |
Ben Kurtovic
|
c3ee6c919d
|
Implementing __iternodes__ protocol.
|
пре 12 година |
Ben Kurtovic
|
034ac99ebe
|
Clarify flags.
|
пре 12 година |
Ben Kurtovic
|
94d5fc0734
|
Determine spacing conventions when adding a parameter.
|
пре 12 година |
Ben Kurtovic
|
16a58a8c3b
|
Implement _blank_param_value().
|
пре 12 година |
Ben Kurtovic
|
dde883725b
|
Solve a potential numbering issue when removing a parameter.
|
пре 12 година |
Ben Kurtovic
|
7fe4509e36
|
ignore_empty for Template.has_param()
|
пре 12 година |
Ben Kurtovic
|
1e314ee1bd
|
Updates for Template and others.
|
пре 12 година |
Ben Kurtovic
|
d9c4b4f765
|
Rename some things, fixes, strip()
|
пре 12 година |
Ben Kurtovic
|
900c559385
|
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
|
пре 12 година |
Ben Kurtovic
|
f7289b340a
|
Ooh, we can do this!
|
пре 12 година |
Ben Kurtovic
|
e88a5fd3cc
|
Quite a bit of additions, mostly to Template.
|
пре 12 година |
Ben Kurtovic
|
e4fd6ef127
|
Updating with a more logical project structure.
|
пре 12 година |
Ben Kurtovic
|
4cb3506820
|
Update copyright notice; some additions.
|
пре 12 година |
Ben Kurtovic
|
47bc513a7e
|
StringMixin -> StringMixIn
|
пре 12 година |
Ben Kurtovic
|
9d1e77000c
|
A bunch of updates from the past weeks.
|
пре 12 година |
Ben Kurtovic
|
a880ff8bf2
|
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
|
пре 12 година |
Ben Kurtovic
|
ce8adf4b2e
|
Initial commit
|
пре 12 година |