Page MenuHomePhabricator

Add page property whenever the book-referencing attribute is used
Closed, ResolvedPublic5 Estimated Story Points

Description

Acceptance criteria:

  • Add a new page property "book referencing".
  • Add the page property to any page that includes the new attribute, upon save.
  • Should be possible to search for all pages which have the property attached.
  • With tests.

We're not sure how difficult it will be to remove the page property once the attribute is removed. If it's easy, include in this task. But we're thinking that each parser hook only has access to a small piece of wikitext, so cannot determine whether the attribute was not used elsewhere in the page.

Event Timeline

awight set the point value for this task to 5.Nov 6 2019, 1:11 PM

Change 549834 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/Cite@master] refArg parses and returns the refines attribute

https://gerrit.wikimedia.org/r/549834

Change 549834 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] refArg parses and returns the refines attribute

https://gerrit.wikimedia.org/r/549834

Change 549839 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/Cite@master] Add page property when parsing book reference

https://gerrit.wikimedia.org/r/549839

Change 549839 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Add page property when parsing book reference

https://gerrit.wikimedia.org/r/549839

Change 553079 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/Cite@master] Tag every usage of "extends" even when invalid

https://gerrit.wikimedia.org/r/553079

Change 553079 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Tag every usage of "extends" even when invalid

https://gerrit.wikimedia.org/r/553079

Hm, is this property going to be removed (as the code currently claims), changed to a category, or what?

Change 775902 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/extensions/Cite@master] Page properties should always be strings

https://gerrit.wikimedia.org/r/775902

Change 775902 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Page properties should always be strings

https://gerrit.wikimedia.org/r/775902