mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
f7969c9d4b
Calling it with no extra arguments will now assume that you're escaping a whole id, not an id fragment, which is safer. Also, instead of ugly bitfield-based options, I've changed the options to use an array of strings. I fixed all callers in trunk. Out-of-tree callers that were using Sanitizer::NONE will get correct behavior, while those that were calling it with no arguments will get slightly changed behavior (an x will be prepended). I think this is harmless enough that we can skip back-compat cruft here. This should cause no visible changes. No parser test regressions. |
||
---|---|---|
Cite.i18n.php | ||
Cite.php | ||
Cite_body.php | ||
cite_text | ||
cite_text-ar | ||
cite_text-arz | ||
cite_text-de | ||
cite_text-fi | ||
cite_text-fr | ||
cite_text-he | ||
cite_text-hu | ||
cite_text-id | ||
cite_text-kk | ||
cite_text-kk-arab | ||
cite_text-kk-cn | ||
cite_text-kk-cyrl | ||
cite_text-kk-kz | ||
cite_text-kk-latn | ||
cite_text-kk-tr | ||
cite_text-lt | ||
cite_text-nl | ||
cite_text-oc | ||
cite_text-ru | ||
cite_text-sq | ||
citeParserTests.txt | ||
SpecialCite.i18n.alias.php | ||
SpecialCite.i18n.php | ||
SpecialCite.php | ||
SpecialCite_body.php |