The newly created #mw-content-subtitle element should not be
included in parse API responses. That element is meant to identify
the subtitle area only.
Bug: T324876
Bug: T316830
Change-Id: Id8436324e2ae2fd9f488b65b3b7bfc19611870d1
We only want to log full page parses of the latest revision and that's
already covered by the wt2html endpoint and changeprop should ensure it
always happens. In the future, we may want to restore this when
exploring ways to avoid the performance cost of doing the linting during
the canonical parse, but that's T325031.
Follow up to I1f69498ef759f7a82ad8ad9002d7212636e92ffe
Bug: T325031
Change-Id: Icefb46b416629c2714a7d4f282cd55cbca271323
This isn't quite what was proposed in the original discussion (as the main
link for the tag still goes to the help page, with the secondary link to
RC, rather than the other way around), but this has the benefit of not
being a breaking change that needs dozens of messages to be immediately
altered in hundreds of languages across many repos (167 tags as of writing:
https://codesearch-beta.wmcloud.org/search/?q=%5C%22tag-&files=en%5C.json%24&excludeFiles=&repos=
Bug: T301063
Change-Id: I142f8f0667e8a4aac2f91b141a0d7311c3ef7c43
The previous attempt at restoring call to the ParserLogLinterData hook
had the undesirable effect of bypassing parser cache. This change
optionally enables the call to the lind data hook without disabling
parser cache.
This patch us working under the assumption that we only need to log lint
data for canonical parses.
Follow-Up to I1f69498ef75
Change-ID: I39ab54ca6e9f9a6a58b59cdd6feea07638fc908f
This adds a check box to Special:Contributions to expose the feature
to 'invert' the existing tag filter and passes this inversion through
as an exclusion to the back end, so that a tag can be excluded from
the results.
Bug: T119072
Bug: T174349
Change-Id: I34c864f25dfc199f6b32feb3025cb53e4ea050ce
This reverts commit d32c260ed0.
Reason for revert: Timo has reservations, I'll submit an updated version later.
Change-Id: I71d4d61a879fda4dccfc105127446cfedde75a7b
While RESTbase insists on getting Parsoid renderings for any content
model, don't waste CPU cycles trying to render garbage. Just output
dummy content. Nobody should ever see it.
Bug: T324711
Change-Id: I407171a5f515b594603b287a7a9e49f54e837161
Allow automatic retry if the first query fails due to the
connection having already been lost. Hide packet warnings
in doMultiStatementQuery(), which can occur due to dropped
connections.
Make queryMulti() actually mark the transaction or session
as corrupt when needed,
Improve executeQuery() handling of empty $sqls arrays.
Pass the full SQL statement array to beginIfImplied().
Add re-connection tests for queryMulti().
Related documentation changes:
* Clarify affectedRows()/insertId() documentation.
* Update queryMulti() documentation to mention exceptions.
* Add comments about avoiding direct BEGIN/COMMIT/ROLLBACK.
These should be avoided in queryMulti() as well.
Bug: T322689
Change-Id: I51d213acccfacc48674dbcf08c177cd9872c6e15
The usage was removed in a3a620a
Bug: T314099
Follow-Up: I526b1e8e310c1ad3d14402b67e6c967923f3609f
Change-Id: Iab866a18a948952d31727e3c3e36cd7957302443
Check against the class returned by newRevisionFromArchiveRow
There is already such a check in the code
php8.2 deprecates dynamic properties
Bug: T314099
Change-Id: Ief9dbbb3d68146942f37bca758e3bfa82d5da020
These methods have very misleading names which easily leads to
confusion with getMain[Text] which is the right method 99% of the
time. Rename them to clearly indicate they are filename-related
(it would be nicer to make them a no-op or error on non-file titles
but it would cause a B/C break which is not worth the effort) and
deprecate the old methods.
Bug: T324741
Change-Id: Ibd42236eff9e73e392c0686767c388dbc7bb249c
While doing the clean up:
- Change to calling getConnection() as getConnectionRef() is deprecated
- Remove and simplify joining revision with actor. The actor migration
is done and those function calls have been deprecated.
- Fix a bug that removed condition in doing the db query
- Avoid putting where condition in the join condition and vice versa
Bug: T311866
Change-Id: I114d240d6dade257211fca94f0c54238b0946770
See Ib7a7a5bce3ce10e60 for more context
This standardizes the thumbnails on new vector.
Bug: T322621
Depends-On: I12643edfad16acb072757ec29ae3ba08fc11d65b
Change-Id: I3dc682d2dcea0a0615bc0b861ee0dded84304ae4