mediawiki-extensions-Cite/src
Subramanya Sastry ad919e3730 Parsoid CSS: Add (script-generated) language-specific counters
* These files were generated with the script in
  I3623e42d4cad7975813892a8f0f7765b74a638c5

* These styles mimic the behavior of Language::formatNumNoSeparators
  and Language::localizeSeparators used by a couple of methods.

  ReferencesFormatter:referencesFormatEntryNumericBacklinkLabel
  calls ReferenceMessageLocalizer::localizeDigits which calls
  that core Language method.

  FootnoteMarkFormatter::linkRef calls localizeDigits as well.

  - '.reference a*' CSS rules mimic linkRef localization
  - 'span[rel="mw:referencedBy" ]*' rule mimics localization
     of referencesFormatEntryNumericBacklinkLabel

* Overrode all hand-crafted language CSS files from previous
  patches. The content of some of those hand-crafted CSS files
  will end up in those wikipedia's Common.css -- specifically
  for es, fr, sv wikipedias.

  sv and es have non-canonical formatting strings that aren't
  handled by the script right now and so leaving them behind.

  I need to look at fr output more carefully, so leaving that
  behind as well. But the generated ones are more accurate when
  combined with the wiki-specific CSS files genreated by the other
  script that processes site messages.

* Some files could potentially be removed by looking at
  language fallback chains, but the redundancy is not a
  problem for now.

* Tweak the resource loader script to use "_" instead of "-"
  when looking for a resource file.

Bug: T156350
Change-Id: I000b4538bf2be681b85df5813efed083458a4281
2022-11-18 11:50:20 -06:00
..
Hooks Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated 2022-01-11 15:23:25 -05:00
ResourceLoader Parsoid CSS: Add (script-generated) language-specific counters 2022-11-18 11:50:20 -06:00
AnchorFormatter.php Use correct Sanitizer method for id/fragment escaping 2022-01-03 16:23:45 +01:00
Cite.php build: Updating mediawiki/mediawiki-phan-config to 0.12.0 2022-10-09 19:48:09 +00:00
ErrorReporter.php Make message key parser accept more than just underscores 2022-06-01 10:34:57 +02:00
FootnoteMarkFormatter.php build: Updating mediawiki/mediawiki-codesniffer to 37.0.0 2021-07-22 12:34:32 +00:00
ReferenceMessageLocalizer.php build: Updating mediawiki/mediawiki-codesniffer to 37.0.0 2021-07-22 12:34:32 +00:00
ReferencesFormatter.php build: Updating mediawiki/mediawiki-codesniffer to 37.0.0 2021-07-22 12:34:32 +00:00
ReferenceStack.php build: Updating mediawiki/mediawiki-phan-config to 0.12.0 2022-10-09 19:48:09 +00:00