| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: I9333afad473836c1e3abf2bdd0d8841830a7e523
|
| |
| |
| |
| |
| |
| |
| | |
Fix // vs. \ issues in file names outputted in comments on the files
Also replace /exte
Change-Id: I36a36cce8961fd8373fb995599cb45781f11b35f
|
| |
| |
| |
| |
| |
| |
| |
| | |
These options weren't actually reading the option values, just
returning `1`, which would turn into `"19700101000001"`.
Bug: T291331
Change-Id: I93e11f18dc81b3875e0d3797e67553f7365ce963
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: T299696
Change-Id: I63f4ad951efaeeaddbdd615e4f5d3065598b4e8d
|
|/
|
|
|
|
|
|
| |
While most rdbms working with this implicit order,
postgres can fail sometimes
Bug: T195807
Change-Id: I562a9324d846d8ca3c38914e1704d204db3172f4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the schema for the content table is generated,
there is only one whitespace between __temp__ and content (as
tablename), which is not fixed by this hack and produce invalid sql.
Changing to use a regex to fix any numbers of whitespaces.
Change-Id: Ie8faa773dd3cd25470eba043a40061fa731bb118
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add --target-table option, allowing the categorylinks table to be
copied to another table while changing the collation.
* Add --remote option, which uses RemoteIcuCollation but sets cl_sortkey
to the collation name without the remote- prefix.
* Use the standard batch size option.
* Truncate sort keys at 230 bytes per current schema.
Bug: T263437
Change-Id: I5764e4f4c4ef52a065e2dd53e8c626dbf14b4c2d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: T286694
Change-Id: I6e34e7cccdeb30022863122d39824c742f6fb236
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
User::newSystemUser() doesn’t ensure any particular rights on the user
(a system user isn’t necessarily a sysop – system user mainly means no
login, no email etc.), so unless the MAINTENANCE_SCRIPT_USER was
previously granted the managechangetags right via some group, the
maintenance script will fail. Wrap the user in an UltimateAuthority
(“intended for use in maintenance scripts and tests”, though apparently
never before used in maintenance scripts) to ensure that the check in
ChangeTags::createTagWithChecks() succeeds. (We don’t want to bypass
that method and call ChangeTags::defineTag() directly, because that
doesn’t include logging, and ChangeTags::logTagManagementAction() isn’t
public.)
Change-Id: I0c2d6f1ac6c5b2f41126455ff332af68548b60c5
|
| |/ /
|/| |
| | |
| | |
| | | |
Bug: T299471
Change-Id: I5acae5e72de2f85fd6e68e391297895c86ffb10e
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
recountCategories.php now supports passing `--mode all` to recount
pages, files and subcats in one script run rather than requiring it
be run three separate times.
The internal logic is not really changed, instead it just iterates
over each type, processing each one individually.
Change-Id: Ib19f0d3051fb525dd9b9f9ed26b69638f24253bf
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is in line with the other dump maintenance scripts which rely
on the dump group and will fall back to a regular db if no such group
is present.
Bug: T138208
Change-Id: Ia096ac2801a5528e388672ae4d86c6a3a55b1c73
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: T299174
Change-Id: I7303fada7fc32efa91d45c18cfb581a47a695286
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Wait for replication after each batch of queries in sql.php, instead of
only at the end.
Bug: T299095
Change-Id: Ie077e9cec66cb35e2339982638151aa8edd06dc4
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: T286694
Change-Id: Ifc58dd478592be49dd55caddfc9aeb536da1e1d6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the called function has a doc of int, it should be cast to be
explicit here.
Also cast for arithmetic operations to be explicit about the number
Change-Id: I905b78dfb66e66443e0e3203488bab5b548db543
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I5cf7a08324d08aa89c23540222ba8eddc1ae2647
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This script from ~2005 is not runnable on large wikis, partly redundant
given deleteOrphanedRevisions.php, and is pretty scary. It also is one
of the few callers of lockTables().
Bug: T294969
Change-Id: I8d4608c51ce83ac2e221a91727959b8c1df13db7
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Follow up to Ic45dc1bce796a0 which added a schema change that mistakenly
removes the default value and given that it was done long time ago and
the main patch was removed since then, we can simply add a new patch for
broken cases.
Sqlite and Postgres don't need this change as they didn't get the patch
in the first place.
Also fixing the nullability of these fields.
Bug: T277354
Change-Id: Iced6fc6a7127a33cc171174270eba5cc552c871e
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This doesn't handle deleted files yet but that can be done in later
patches. I have been struggling to find a solution for it.
Bug: T298417
Change-Id: I4f33afa92be8b55d6b8f9797cb4d3aa03a37ad79
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
unsigned false is the default and not needed to be specified in the
definition.
Change-Id: Ib2df05d2f46e06b101d27d8684c6210053da0170
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The length is definied by the type and not needed to repeat on the
definition itself in tables.json
Change-Id: I6c79612c4bde39c0eba911b7f9e01e13d20a3eb7
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It makes it more consistent with AUTO_INCREMENT PRIMARY KEY columns on
other tables.
This patch doesn't apply to Sqlite or Postgres.
Bug: T297207
Change-Id: I5e58f23ea2441ef93ce7254210158d8094bd9010
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This defaulted to plain text which looked out of place. Render it
in the same way as `@stable` annotations instead.
Change-Id: Ia7cc46fc89ce1f0a4ba6c5e47514cbed92f5c505
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Nothing to learn from these.
You can find a longer explanation in the comments in I93751e6.
Change-Id: I195aae70fc282b58be5b18160783f27d38605d15
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Upgrade Vue to @vue/compat version 3.2.23
* Migrate Vue.createMwApp to Vue 3 API
* Add backwards-compatible wrapper emulating Vue 2 behavior for
new Vue( { el: '#foo', ... } ) and
new Vue( ... ).$mount( '#foo' )
* Make @vue/composition-api an alias for vue, for b/c
* Convert resources/src/vue/ to ES6
* Ignore resource/src/vue/ for jsduck, since it doesn't support ES6
* VueComponentParser: Remove check for only one root node
Bug: T251974
Co-Authored-By: Lucas Werkmeister <lucas.werkmeister@wikimedia.de>
Depends-On: Ica0c0d0d6247383796d39199e50a9aff917f5b53
Change-Id: Ibd618765f962f57984994604c61b1aff9e6a778d
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Ib765ddef6af01727777f9e7fc7db70eaa1c1ee10
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
input"
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Allows scripts to edit pages that can vary by language, e.g. "{{int:mainpage}}"
or target pages using parser variables, e.g. "News_{{CURRENTYEAR}}".
Change-Id: I94bd613d34743739c6529f22c1dcccc27acc4e8b
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's not used for 13 years, safe to say it won't be used anytime soon
Bug: T199377
Change-Id: Iecf4fb6046699a1758ad2d1dc55a3ee8eb4b0389
|
|/ / /
| | |
| | |
| | | |
Change-Id: I8521d00675008da0d7c8c768ab75352212653c66
|