JADE allows creating pages like Judgment:Diff/0742 or Judgment:Revision/001 alongside of Judgment:Diff/742/Judgment:Revision/1.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Validate for canonical page title | mediawiki/extensions/JADE | master | +27 -1 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Do we, as a general rule, want to prevent the creation of Jade pages that do not correspond to legal revision IDs?
Comment Actions
For sure—there's validation in place to mostly do that, but this bug shows that we're missing a clause like:
assert str(int(x)) == x
We probably allow "12345.0" as well, at the moment.
Another goal of our validation is to guarantee that a judgment of any given entity has exactly one, predictable, URL.
Comment Actions
Change 484514 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/JADE@master] Validate for canonical page title
Comment Actions
Change 484514 merged by jenkins-bot:
[mediawiki/extensions/JADE@master] Validate for canonical page title