| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge Interwiki extension into core, with some changes:
* Always register 'interwiki' user right and 'interwiki' log type, and
remove $wgInterwikiViewOnly
* Remove nonstandard 'intro' and 'body' CSS classes on Special:Interwiki
* Make interlanguage special cases be conditional on $wgInterwikiMagic
* Other cleanups
* Add SpecialInterwikiTest
* Add a constant MW_HAS_SPECIAL_INTERWIKI which can be used in config to
suppress loading of the extension.
After merging Interwiki extension into core we can remove
InterwikiLoadPrefix hook, which is incompatible with Parsoid.
Bug: T33951
Bug: T270444
Bug: T312425
Bug: T315759
Bug: T357247
Depends-On: I0d02d93f49c746a7ce86b72b456f13c4af9b6c34
Change-Id: I05049e7c2e056928977245367583d027b80ef613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the same no-arg options for language code that
{{#dir}} and {{#bcp47}} have, for consistency:
* `{{#language}}` will return the name of the *target language*
(for articles, the content language; for messages, the user language)
The default value for the "in language" argument should be the autonym.
This was working previously but only via a baroque code flow path for
invalid language codes. Make this a bit clearer and add tests.
Since non-autonym language code translations are added via the
[[Extension:CLDR]] in production, hook LanguageGetTranslatedLanguageNames
in the ParserTestRunner to ensure that we can test this.
Followup-To: Ice1c671c5b3cc077d2bb80ea5dc25c5eabbfeb36
Followup-To: I19c3e91a924e080f37dc95a0d4e61493583b533e
Change-Id: Ibf6e7f194cc056eadb48a5ad8e6d01a761d9351c
|
|
|
|
|
|
|
|
| |
language
Per community consensus of Serbian Wikipedia community at https://sr.wikipedia.org/wiki/Википедија:Гласање/Преименовање_шаблона_DEFAULTSORT#Тачка_један
Change-Id: I8de4b1468133e1783557dc7513f08f61ad91d6e5
|
|
|
|
|
|
| |
piskel/пискел is wrong, it has to be piksel/пиксел.
Change-Id: I94a3890a69c8ec39dc40243284006526d162d568
|
|
|
|
|
|
|
|
|
|
| |
This patch includes:
* Adding Ijekavian magic words and special page aliases per task. I'd like to thank Srđan for his help!
* Expanding namespace aliases. For example, "Предложак" (per Microsoft Language Portal) is а newly added alias for Template namespace etc.
* Minor language corrections.
Bug: T185421
Change-Id: I20374167ab887f389d5f6a35adba0f73aea8d216
|
|
|
|
|
|
|
|
|
| |
Copy the Renameuser extension into core, with minimal code changes. The
hook handlers are inlined into Article, SpecialLog and
SpecialContributions.
Bug: T27482
Change-Id: I314021f4138773df6aaf2753b33ab8283cd16974
|
|
|
|
|
| |
Bug: T304802
Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
|
|
|
|
|
| |
Bug: T278639
Change-Id: I885c70721c2e5f17e468ad066357c0d0e73bfb24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The language codes sr-ec and sr-el are not conform to BCP 47.
BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples.
This change adds support for the language codes sr-cyrl and sr-latn
as fallback languages of the language codes sr-ec and sr-el. This
allows to rename the message files and the system messages without
changing the language codes yet.
The next step is to rename the language codes in Translatewiki as
described in https://translatewiki.net/wiki/Renaming_language_codes
Also local system messages in MediaWiki:*/sr-ec and MediaWiki:*/sr-el
can moved to MediaWiki:*/sr-cyrl and MediaWiki:*/sr-latn.
The final step is the change I75da0af35a2066e7963e50c56c99daf1e07c55e6
to complete the rename of the language codes.
Bug: T117845
Change-Id: I666fbdea89ccf21aab6ca1849adf22813dec052e
|
|
|
|
|
|
|
|
|
|
|
| |
Follows-up I301f471f86ba2.
For ease of navigation, move Converter subclasses to a group called
"Languages", which for documentation purposes is a subgroup of
"Language". The next commit does the same for Messages* files,
and Language subclasses (done separately for ease of review).
Change-Id: If1cef9aa15f536ebaedd4477ad7453426e7f3b85
|
|
|
|
|
|
|
|
|
| |
'LEFT-TO-RIGHT MARK' (U+200E) and 'RIGHT-TO-LEFT MARK' (U+200F) are not
needed in the source code comments.
c8caf26ffd9 removed already the LRM/RLM from Names.php.
Change-Id: I7d5e170af688fb74b8f040be43bd2be0a7622dee
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
and sync defaultsort* magic words for both variants
Change-Id: I94267198de0a5ae926458e92c8aaf203f92372d7
|
|
|
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Similiar to special page alias in
I827d1f5010d000609324ec398beeb142d9bac299
Bug: T255826
Change-Id: I7b7cbf0c03714001609437af68fe16e06930cc33
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
|
|
|
|
| |
Change-Id: Ia6032155894c61ef6956ca57a109cf9c81ad9eda
|
|
|
|
| |
Change-Id: Idae2113295bc2e3f3f32a0e693e4117c939f2846
|
|
|
|
|
|
|
|
|
|
| |
* Add missing special page aliases
* Fix alias for Special:PermanentLink, which is translated as "Temporary_link".
* NS_SPECIAL namespace name for Serbian is "Посебно", but
Special:SpecialPages is translated as "Посебно:СпецијалнеСтране".
Bring consistency by adding "Посебно:ПосебнеСтране"
Change-Id: I892992a3fbcc7213323db49fac2ef24ba9771613
|
|
|
|
|
|
|
| |
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
|
|
|
|
|
|
|
|
|
|
| |
Per wikitech-l consensus:
https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html
Notes:
* Disabled CallTimePassByReference due to false positives (T127163)
Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
|
|
|
|
|
|
| |
The bit being removed here causes a NOTICE with HitCounters.
Change-Id: I318eb641d4ed4b50dea0a172cf7970045b3a49e7
|
|
|
|
|
|
| |
Updates for magic words.
Change-Id: Ic564d36de395c9a30be5f1390591da723f47edce
|
|
|
|
|
|
| |
Updates for special page aliases.
Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
|
|
|
|
|
|
|
|
|
| |
Tuvan (tyv) didn't have a special page section, so now it's added.
See also I6f84eaf414b6d4239522bad14e90b1cbfc82590f.
Bug: 69461
Change-Id: Ie6a4d878b87ee030f9c042b43f7b1fb424b54099
|
|
|
|
|
|
|
|
|
|
| |
- use tab as indent instead of spaces
- Added space after closures "function"
- Added spaces around string_concat
- Added newline inside empty blocks
- Removed four spaces after comma
Change-Id: I4425b0c6a69b36f40acfea6511b8950cf09ce2b2
|
|
|
|
|
|
|
|
| |
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net
Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
|
|
|
|
|
|
| |
Largest patch set in the history of MediaWiki!
Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
|
|
|
|
| |
Change-Id: I6ac7ce50b6204e9e9d63695c9532d33796d4cc7d
|
|
|
|
| |
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
|
|
|
|
| |
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
|
|
|
|
| |
Change-Id: I30f333c40b241dfeefea11e617f3f80c70a84bb1
|
|
|
|
| |
Change-Id: I93194841aebc13bb2e6e147ae6170a3acf2186e7
|
|
|
|
| |
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
|
|
|
|
| |
Change-Id: Idf379fd907b86b191bf863d4dded00e5d9c94f35
|
|
|
|
| |
Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
|
|
|
|
| |
Change-Id: Id6221ab7d0d906278a9163513ca63b74c9d41645
|
|
|
|
| |
Change-Id: I91e14444039b2b1345602a8c3291794ab3beafd1
|
|
|
|
| |
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
|
|
|
|
| |
Change-Id: I87ed70aa87a61057fa81f0eae63363af85fd71a0
|
|
|
|
| |
Change-Id: Ia03f6dcf21ee8e589758e039566adb661893804f
|
|
|
|
| |
Change-Id: Idcbfe9491adcb996ea88dc2bc9040e9640b6d4fc
|
|
|
|
| |
Change-Id: Iac95418170688f90f53dcc28f6c429f0e79b0ac4
|
|
|
|
| |
Change-Id: I2dd97b0dda0af44be6ad3979d5934554a4d7e31c
|
|
|
|
| |
Change-Id: Ib7a816babb2751947fa72c22f34539f0c578862e
|
|
|
|
| |
Change-Id: I11ac7d4aeadddc7f20f44b98a9c08c8f20019ee6
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: Id88aa24093b40a87b6beee70d81124179f95f006
|
|
|
|
| |
Change-Id: I968c6992eb608a4a0b90511159a9a98545a8957d
|
|
|
|
| |
Change-Id: I86c1c01411f82197c10f7c3cce25feede39f9166
|
|
|
|
| |
Change-Id: Id3d35cd6092604494646483ef80a546b80d8fdb9
|