-
Notifications
You must be signed in to change notification settings - Fork 80
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
Removed sections.offsets table #1081
Conversation
Removed use of sections.offsets table and modified code to use data-parsoid instead
This only removes it from fallback tables. There's also latest tables, need to remove as well. Look: https://github.com/wikimedia/restbase/blob/master/sys/parsoid.js#L261 |
Removed section.offsets from latest tables and from all projects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a bit of nit picking, otherwise good
projects/wmf_default.yaml
Outdated
@@ -18,12 +18,12 @@ paths: | |||
allows us to contact you quickly. Email addresses or URLs | |||
of contact pages work well. | |||
|
|||
By using this API, you agree to Wikimedia's | |||
By using this API, you agree to Wikimedia's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i know it's bad to have trailing spaces, but this change is entirely unrelated to the purpose of this commit/PR. could you please revert this?
We try to avoid stashing unrelated changes into pull requests, it convolutes the history and git blame
becomes useless.
projects/wmf_default.yaml
Outdated
[Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and | ||
[Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). | ||
Unless otherwise specified in the endpoint documentation | ||
below, content accessed via this API is licensed under the | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_enwiki.yaml
Outdated
@@ -18,12 +18,12 @@ paths: | |||
allows us to contact you quickly. Email addresses or URLs | |||
of contact pages work well. | |||
|
|||
By using this API, you agree to Wikimedia's | |||
By using this API, you agree to Wikimedia's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wikidata.yaml
Outdated
[Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and | ||
[Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). | ||
Unless otherwise specified in the endpoint documentation | ||
below, content accessed via this API is licensed under the | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wikidata.yaml
Outdated
@@ -18,12 +18,12 @@ paths: | |||
allows us to contact you quickly. Email addresses or URLs | |||
of contact pages work well. | |||
|
|||
By using this API, you agree to Wikimedia's | |||
By using this API, you agree to Wikimedia's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wikipedia.yaml
Outdated
@@ -18,12 +18,12 @@ paths: | |||
allows us to contact you quickly. Email addresses or URLs | |||
of contact pages work well. | |||
|
|||
By using this API, you agree to Wikimedia's | |||
By using this API, you agree to Wikimedia's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
projects/wmf_wikipedia.yaml
Outdated
[Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and | ||
[Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). | ||
Unless otherwise specified in the endpoint documentation | ||
below, content accessed via this API is licensed under the | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wiktionary.yaml
Outdated
@@ -19,15 +19,15 @@ paths: | |||
allows us to contact you quickly. Email addresses or URLs | |||
of contact pages work well. | |||
|
|||
By using this API, you agree to Wikimedia's | |||
By using this API, you agree to Wikimedia's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wiktionary.yaml
Outdated
[Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and | ||
[Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). | ||
Unless otherwise specified in the endpoint documentation | ||
below, content accessed via this API is licensed under the | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) | ||
[CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
projects/wmf_wiktionary.yaml
Outdated
and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, | ||
and you irrevocably agree to release modifications or | ||
additions made through this API under these licenses. | ||
additions made through this API under these licenses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
Reverted trailing spaces in projects/ files to original spacing
Let's wait for travis, but LGTM. in the meantime, could you please create a subtask for the ticket, saying to delete section-offsets keyspaces in labs, dev and prod and assign it to @eevans ? i will get back on the ticket with a list of keyspace names. |
LGTM! |
Removed use of sections.offsets table and modified
getSections
to use data-parsoid instead.Bug T206048