| 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Functionality has been moved to MonoBook.
Bug: T97892
Change-Id: I3d4d74a2caa77f975b415af5977253ddeff6af21
Depends-On: I598c4469c46d284562ea3aec79330f9a1f40d2ce
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Reuse the values from defaultsort_noerror/_noreplace
Change-Id: I8bef5920040d10128d94e5131bd7480e762ca928
|
|
|
|
| |
Change-Id: Ibdd838d53f4b323dce9c1438b7d13e7289ce570f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this change, MediaWiki will no longer have a 'JavaScript-powered'
wikitext toolbar, and instead sysadmins will be required to choose one
(or more) of the several extensions available for this purpose if they
need the functionality. For over half a decade MediaWiki's tarball has
included the 2010-era replacement for this feature, WikiEditor. We are
now working on replacing even that, with the 2013-era visual editor, a
mode of which is the forthcoming 2017-era wikitext editor, and several
more specialised editors like CodeEditor.
Beyond this, the core editor toolbar is ancient, un-loved, and is used
only exceptionally rarely, mostly by accident. It is unhelpful to give
implicitly this as the primary editor for MediaWiki just because we've
not removed it from core when it is not a very good experience for any
kind of user, and has not received the attention that users deserve to
be worth retaining in core.
The old core preference, which was intended to govern whether this old
toolbar should be shown, has since mutated into whether the to run the
EditPageBeforeEditToolbar hook. The hook is used by several extensions
to provide toolbars in lieu of the core one. This preference has been,
in practice, a very confusing preference for MediaWiki users, who have
to interact with quite similar preferences to toggle their real editor
which sit next to this one on the preferences page. Consequently, this
preference is also removed.
The code could be made into an extension for those (very few) users of
MediaWiki who might want to keep on using it. However, the author will
offer their services but not their encouragement in said undertaking.
Bug: T30856
Bug: T32795
Change-Id: I2b05f0ca25873ad8e0b33a5e4938bef52c4e9347
|
|
|
|
|
|
|
|
| |
The shorter form is used more often in new code than the longer version.
Changed the default to the shorter form.
WikiEditor will than use the short version when embedding files.
Change-Id: I10797e99955f4776ec4f18ab82aa98eb03369959
|
|
|
|
|
|
|
|
|
| |
On de.wikipedia.org the localized version of upright is used with
spaces, not underscores.
Add the version as alias to fix the pages and make linter happy
(T162961)
Change-Id: Id4726aecb51887fc82583e4d6b9284706b6b5b69
|
|
|
|
|
|
|
|
| |
This change is performed using:
sed -i -e 's/http:\/\/www.amazon/https:\/\/www.amazon/g' languages/messages/Messages*.php
Change-Id: I22c5e7a8d33a80b8cbe814f9735e7c24f1b004f9
|
|
|
|
|
|
|
| |
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there are multiple aliases, the first alias MUST be the
preferred alias in that language, so that wikitext code
generators can generate the desired syntax.
The other aliases SHOULD be sorted by the following convention:
- Local first, English last
- Most common first, least common last
Bug: T116020
Change-Id: Ia670512e0cb375335873e7f9a08b638bbe039e45
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Imported RandomRootPage extension as SpecialRandomrootpage, including
its aliases and localization messages.
Bug: T109809
Change-Id: I7252ae9f4a8f1822b023cc4f0d3a732af48d84d3
|
|
|
|
|
|
| |
The bit being removed here causes a NOTICE with HitCounters.
Change-Id: I318eb641d4ed4b50dea0a172cf7970045b3a49e7
|
|
|
|
|
|
|
|
|
|
|
|
| |
The local community wants 'Diff' as canonical form, add also the long
form for what Diff stands.
Keep the old alias, was added with:
Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
https://translatewiki.net/w/i.php?title=MediaWiki:Sp-translate-data-SpecialPageAliases/de&diff=6066852&oldid=6049012
https://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=139947048#Spezial:Diff_.E2.86.92_Spezial:Unterschied
Change-Id: I504cd4b0e7c7b5c22812fe9eb0cf8dec9ff9514b
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net
Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's already "mini" in other languages.
The German Wikipedia community (which is obviously not the only German
one but the biggest) always complained a bit about the previously
used "miniatur". It's German, yes, but error-prone. The solution
was to add "mini". Which made most users happy as far as I can
tell after all these years.
My patch doesn't change anything except for one little detail:
The JavaScript call
mw.config.get( 'wgWikiEditorMagicWords' ).img_thumbnail
which is created in WikiEditorHooks::getMagicWords and used by
the WikiEditor extension will return "mini" instead of "miniatur".
Change-Id: I4e9ad3f2e56e08eaf3006a1af4b1c9746cd55715
|
|
|
|
|
|
| |
Largest patch set in the history of MediaWiki!
Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
|
|
|
|
| |
Change-Id: I54a8e52634c1e36fadd7a84f236747765fc98684
|
|
|
|
| |
Change-Id: Ifc65d7c3844bfaabd97c803b2c72dc8a49cdcc65
|
|
|
|
| |
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
|
|
|
|
| |
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
|
|
|
|
| |
Change-Id: Icad3f57cf182107ce7e813297f00473e75e4ad6f
|
|
|
|
| |
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
|
|
|
|
| |
Change-Id: Idf379fd907b86b191bf863d4dded00e5d9c94f35
|
|
|
|
| |
Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
|
|
|
|
| |
Change-Id: Id6221ab7d0d906278a9163513ca63b74c9d41645
|
|
|
|
| |
Change-Id: I91e14444039b2b1345602a8c3291794ab3beafd1
|
|
|
|
| |
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
|
|
|
|
| |
Change-Id: I87ed70aa87a61057fa81f0eae63363af85fd71a0
|
|
|
|
| |
Change-Id: I02cf02d1e9ce69f9b23eb7ddd23b1482e4ab7891
|
|
|
|
| |
Change-Id: Idcbfe9491adcb996ea88dc2bc9040e9640b6d4fc
|
|
|
|
| |
Change-Id: I6301ccc1c875aea9851b5d134ba3061a094ebaf4
|
|
|
|
| |
Change-Id: I2dd97b0dda0af44be6ad3979d5934554a4d7e31c
|
|
|
|
| |
Change-Id: I2535a33defbc75fdb860acac3c98a8511e064a0a
|
|
|
|
| |
Change-Id: I11ac7d4aeadddc7f20f44b98a9c08c8f20019ee6
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: Id88aa24093b40a87b6beee70d81124179f95f006
|
|
|
|
| |
Change-Id: I968c6992eb608a4a0b90511159a9a98545a8957d
|
|
|
|
| |
Change-Id: Icc129087a7b93326b24c5921b2a0046392689f7a
|
|
|
|
| |
Change-Id: Ie1af90b203186077bf9675749c1a4f8ac979861b
|
|
|
|
| |
Change-Id: I97bdb2a6d7351a1f60ad83d71e3ea18f38c40e54
|