Add 'rev_suppressed_text' failure message to avoid reusing
'rev-deleted-text-permission' for both deleted and suppressed edits.
Additionaly fix qqq documentation of 'rev-deleted-text-permission':
It's used in both privileged and unpriviliged context. The log link
it has links to public log.
Also fix qqq doc of 'rev-suppressed-text-permission': It's only
shown in privileged context. The log link it has links to private
log
Bug: T282203
Change-Id: Iffcbe9d62c2b2947ebb086579f87d977d8a5eb3d
As part of our wider work on modernising and making more welcoming the
language we use within and around MediaWiki, now is a good time for us
to rename these configuration variables:
- $wgFileBlacklist is now $wgProhibitedFileExtensions
- $wgMimeTypeBlacklist is now $wgMimeTypeExclusions
- $wgEnableUserEmailBlacklist is now $wgEnableUserEmailMuteList
- $wgShortPagesNamespaceBlacklist is now $wgShortPagesNamespaceExclusions
Bug: T277987
Depends-On: I91e065c58fda144a722a41cf532e717f962d7a64
Change-Id: I558a8b20d67d48edccce0d065aec2d22992e9dda
Adjust UI to be more explicit about which options apply
to sitewide vs partial blocks
Bug: T280719
Change-Id: I38943124c7f3c1aeb4ea8c9b92971a8f59801205
'LEFT-TO-RIGHT MARK' (U+200E) and 'RIGHT-TO-LEFT MARK' (U+200F) are not
needed in the source code comments.
c8caf26ffd removed already the LRM/RLM from Names.php.
Change-Id: I7d5e170af688fb74b8f040be43bd2be0a7622dee
Add all runes from Runic unicode code block to make it easier to update
runestone pages with the actual inscription. Can be tested by opening
the special characters tool in the visual editor.
Bug: T286999
Change-Id: I6c736563068a83f56990729ac6ef3be6c8a0f621
The comment added in b9461e3f1c is incorrect. This is actually a
decode error, so is relevant to FormatJson::parse().
Change-Id: I3cc33f0f260c0ba4fe96fb75565f52d089b9a975
* Turn normalize data into an autoloadable class and use the class name
as key instead of a partial file name with a base directory.
* This protected function is not aimed at re-use in extensions,
has no other usage known to Codesearch. Mark it internal,
and remove the compat introduced by 31283f34bf.
* Update the now ten-year-old documentation comments that described
this as "Temporary". The functionality and comment were introduced
in 2010 by Tim with r60599 (ad19c032b0).
Ref <https://bash.toolforge.org/search?p=0&q=temporary>.
* Replace the broken wikitech-l archive link with a working one,
and describe the thread for easier future reference.
Bug: T225756
Change-Id: I004da1f25c19e1095d0917349f2ba8461f9f0715
The language code nrm is the BCP 47 language code for Narom.
The BCP 47 language code for Norman is nrf.
This change adds support for the language code nrf as fallback language
of the language code nrm. This allows to rename the message files and
the system messages without changing the language code yet.
The next step is to rename the language code in Translatewiki as
described in https://translatewiki.net/wiki/Renaming_language_codes
Also local system messages in MediaWiki:*/nrm can moved to
MediaWiki:*/nrf.
The final step is the change Ib8d3c344ebe082e4d3e5ec12b3815c5845f4797e
to complete the rename of the language codes.
Bug: T25216
Bug: T165648
Change-Id: If220cc7f094672389c8e6cc331f753df067503f2
Drop the remaining system messages
* size-zetabytes
* size-zetapixel
* bitrate-zetabits
because they are replaced by
* size-zettabytes
* size-zettapixel
* bitrate-zettabits
Follow-up to I9460e3b8c2655e9e68ce9147076f4bb1da02237f.
Bug: T283958
Change-Id: If7a00dd7bd644604c501f1e89b065f0c4c506098
Make the 'interwiki' option temporarily accept null as well as true/false
(and default to null instead of false) so form fields which disallow
interwiki titles can avoid deprecation warnings. This also includes
implementing the new error message.
The idea is that for the duration of the deprecation process, form fields
can be set explicitly to interwiki => false (which will eventually become
the default). It would be super annoying to have to do this for all
title fields, but this way it's only needed for fields where users actually
submit interwiki titles with some frequency.
Also improve the logic for legacy fields (which do not set the option
either way): since these (while emitting a warning) allow an interwiki
title, it does not make sense to apply namespace etc. checks to that
title.
Bug: T288155
Change-Id: Ic00f4a0f27747b5ff0893b4c01f42f68a99771ab
Depending on which namespace we want these classes to have after
T166010 they could either stay in includes/languages/ (plural) in
their own MediaWiki\Languages\-namespace dedicated to Language
subclasses, or they could go in into a subdirectory like
`includes/language/languages/` if we want to keep them in the same
top-level namespace as other Language classes and services, but in
a more nested namespace.
For now, I've made the smaller change and kept the Language subclasses
in their own directory directly under includes/, not nested further.
Bug: T225756
Change-Id: I01015424707b442853879fd50c97f00215e5c2fa
This patch covers the following changes to the MessagesBs.php file:
* Updates: Correct typos currently present in the file
* Standardization: Use a consistent alias format and allow aliases with and without underscores
* Consistency: Use existing TranslateWiki strings to prioritize certain aliases
Bug: T288033
Change-Id: I8f3df0069b7482ad570fed8450785280d022db72
Changed interface back to real class for private
getHumanTimestampInternal, an user object is always passed,
because the user object is needed for the hook
Change-Id: I88a4915a875bd85173d86fc5da27d0d1a32bceff
This patch includes:
* Format standardization of aliases. The format with underscores is more comprehensible and readable to speakers of the Serbian variety.
* Minor language correction for Serbian Cyrillic ("API_песак" -> "Песак_API-ја") and harmonization with the corresponding translations on translatewiki.net ("ОбрисаниДоприноси" -> "Избрисани_доприноси").
* Adding Latin aliases. Until today, there were no Latin aliases for special pages. This made it difficult to link and find them.
Bug: T185421
Change-Id: Ibbd1859ecc98fcb3330039badf30a079aa418ae5
Functionality has been moved to MonoBook.
Bug: T97892
Change-Id: I3d4d74a2caa77f975b415af5977253ddeff6af21
Depends-On: I598c4469c46d284562ea3aec79330f9a1f40d2ce
Removing this deprecated cache allows LanguageFactory
to start using MapCacheLRU instead of implementing
LRU semantics manually.
Change-Id: I8093067fb6f51110351b8592fcbcfa7559d942ee
The existing system messages
* size-zetabytes
* size-zetapixel
* bitrate-zetabits
are kept for compability and are now deprecated.
Bug: T283958
Change-Id: I9460e3b8c2655e9e68ce9147076f4bb1da02237f