Bartosz Dziewoński
8de940b587
Improve detecting transcluded comments again
...
Previously: 569db3603c
(2020-06).
Unfortunately we've found cases where the previous implementation
doesn't work correctly, resulting in comments being added to the wrong
pages or page corruption.
Bug: T289873
Bug: T298051
Change-Id: Id867b3005ebc46906d6df852a525fcaec9e6b19b
2022-01-11 16:07:44 +00:00
Ed Sanders
4a0802065c
Make IDs (to be used as URL hashes) wikitext safe
...
* Use hyphens instead of pipes a separators
* Use underscores for spaces in usernames
Change-Id: I6efd9739fc73e45002e50e64c43ce0de1c2f1239
2021-03-18 20:45:21 +01:00
Ed Sanders
d05109b24d
Truncate user generated part of IDs to 80 characters
...
This ensures that IDs fit in a 255 character database field.
Bug: T273658
Change-Id: I3cfe4fce6a865b4343f0f01121cd696aa5f98b22
2021-02-03 15:04:58 +00:00
Ed Sanders
47aea0b160
Use tabs for indentation in JSON test files
...
Change-Id: I1d8f8b33b19bcff249ad08dfe687f87f5e5bf9bf
2021-01-27 00:25:15 +00:00
Bartosz Dziewoński
366dc2387e
Add tests covering it.wp unsigned comment template
...
Bug: T268178
Bug: T268589
Change-Id: Icd353275b3b8191eddbff4d72984a8c2c8e6cdd6
2020-11-25 02:08:03 +01:00