aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "RecentChangesLinked: Add support for read new for templatelinks"jenkins-bot2022-07-111-16/+42
|\ \
| * | RecentChangesLinked: Add support for read new for templatelinksAmir Sarabadani2022-07-051-16/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | Take advantage of QueryBuilder. We probably should refactor links migration to add support for query builder and simplify code outside. Change-Id: Ic2486fa745053a6894c113a899dc4e33951e1302
* | | Merge "Use GrantsInfo and GrantsLocalization instead of MWGrants"jenkins-bot2022-07-101-6/+20
|\ \ \
| * | | Use GrantsInfo and GrantsLocalization instead of MWGrantsAlexander Vorwerk2022-07-101-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MWGrants is deprecated and should be replaced with the GrantsInfo and the GrantsLocalization services. Bug: T253077 Change-Id: Ic73d98bc014ff46fc5d80e93db7de4bb18d84ae2
* | | | SpecialDiff: Don't pass null to explode()Reedy2022-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: T312300 Change-Id: Idab65aaacd99fae916578bac7bf48b76f4761009
* | | | Clean up line indent with mixed tabs and whitespacesUmherirrender2022-07-091-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ifcd15ecc4212d4ebfc26b2e18d6f1da47abf2a86
* | | | Merge "SpecialRedirect: Don't pass null to explode"jenkins-bot2022-07-081-3/+3
|\ \ \ \
| * | | | SpecialRedirect: Don't pass null to explodeReedy2022-07-081-3/+3
| |/ / / | | | | | | | | | | | | | | | | Bug: T312302 Change-Id: Ia61a24e0dc431bc6d331bf695c65e7e0c0ecd7d8
* / / / Do not use FormSpecialPage::{pre,post}TextMartin Urbanec2022-07-073-6/+6
|/ / / | | | | | | | | | | | | | | | | | | Soft-deprecated since 1.38. Bug: T312579 Change-Id: I80ceb565cd3691756d4f848f9df5d9b8c589b161
* | | Remove SpecialUnblock::processUnblockMatěj Suchánek2022-07-061-31/+0
| | | | | | | | | | | | | | | | | | It has been deprecated since 1.36 and it is unused. Change-Id: I9bbfe7f5b8a07870f5abcb25effe290d7fdfeab4
* | | Merge "Stop merging LinkCache select fields with page_title and page_namespace"jenkins-bot2022-07-061-4/+1
|\ \ \
| * | | Stop merging LinkCache select fields with page_title and page_namespaceAlexander Vorwerk2022-07-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LinkCache::getSelectFields() includes page_title and page_namespace since If77c2f9879d7bae71eb59944efd8b3798d16aa46, so we don't need to add those two specifically. Change-Id: I8fa9d563af3f9da90fb96369dab0ee5bde860081
* | | | Merge "SpecialRecentChangesLinked: Migrate partially to SelectQueryBuilder"jenkins-bot2022-07-051-10/+10
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | SpecialRecentChangesLinked: Migrate partially to SelectQueryBuilderAmir Sarabadani2022-07-011-10/+10
| | | | | | | | | | | | Change-Id: Ic734e05d2b2201e6bb7768778f0d651cce741a31
* | | Merge "SpecialWithoutInterwiki: Don't pass null through to Title::capitalize()"jenkins-bot2022-07-031-2/+2
|\ \ \
| * | | SpecialWithoutInterwiki: Don't pass null through to Title::capitalize()Reedy2022-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | Bug: T311570 Change-Id: I160426192354c0e94f14081ffe03e94c1fc9513c
* | | | SpecialLinkSearch: Don't pass null through to the parserReedy2022-07-021-1/+1
|/ / / | | | | | | | | | | | | | | | Bug: T311574 Bug: T311576 Change-Id: Ic766a1387c1a327b63b12c4bd587992fb8597e36
* | | Merge "SpecialUserrights: Don't pass null to str_replace"jenkins-bot2022-07-021-1/+1
|\ \ \
| * | | SpecialUserrights: Don't pass null to str_replaceReedy2022-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: T311921 Change-Id: Ia986dc7d57a14b38b9fe91f4aceea32000e92da8
* | | | SpecialBlockList: Prevent passing null to trim()Reedy2022-07-021-1/+1
|/ / / | | | | | | | | | | | | Bug: T311920 Change-Id: I0c101cdaa3a7b83d0fdc31bf03376df4c88a99d7
* | | Merge "ImageListPager: Don't call htmlspecialchars() on null"jenkins-bot2022-07-021-1/+1
|\ \ \
| * | | ImageListPager: Don't call htmlspecialchars() on nullReedy2022-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible img_actor is still null Bug: T311561 Change-Id: Id94941c268d15898a2002e1a3f7bf2552a83fd39
* | | | SpecialListFiles: user parameter isn't always presentReedy2022-07-021-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Default to '' instead of null Bug: T311559 Change-Id: Ie0decd98baff9b123eff94fef83c1aa15b34bfdd
* | | Merge "Watchlist: Migrate calling from $dbr->select() to SelectQueryBuilder"jenkins-bot2022-07-011-9/+9
|\| |
| * | Watchlist: Migrate calling from $dbr->select() to SelectQueryBuilderAmir Sarabadani2022-07-011-9/+9
| | | | | | | | | | | | | | | | | | | | | Later we can slowly rework how query building inside wtachlist works but this is a start Change-Id: If8808f8b180a3a17ab4548dac498989547db9a5f
* | | Merge "Validate length of user email on ↵jenkins-bot2022-07-011-0/+5
|\ \ \ | | | | | | | | | | | | Special:ChangeEmail/Special:CreateAccount"
| * | | Validate length of user email on Special:ChangeEmail/Special:CreateAccountdiesel kapasule2022-07-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have validated user_email using a conditional statement. If the user enters more than 255 characters an error message is displayed. Validation of user_email has been applied on Special:ChangeEmail and LoginSignUpSpecialPage. Bug: T307613 Change-Id: I504cb73d263cf5a0a19a0d2e17efe1f8d6524130
* | | | SpecialEditWatchlist: Prevent passing null to strtolower()Reedy2022-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: T311678 Change-Id: Iee6a4c250f731e92e528fe35a55b978bf828c3c6
* | | | Merge "Call IContextSource::getAuthority instead of IContextSource::getUser"jenkins-bot2022-06-295-8/+8
|\ \ \ \ | |_|/ / |/| | |
| * | | Call IContextSource::getAuthority instead of IContextSource::getUserUmherirrender2022-06-295-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to use Authority object where possible to use the interface instead of implementation Change-Id: Ia7e9ce2a2f05ef2ae1cf981bf96faf48b04cf58d
* | | | SpecialPasswordPolicies: Use UserGroupManager to list all user groupsFunc2022-06-291-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same thing on Special:ListGroupRights is done by commit 6f01b0d, in which a new config 'GroupInheritsPermissions' is introduced and should be taken into account to avoid any inconsistency. Change-Id: Ia9392c5d5c5c9aace61787fa5d81e30355aede68
* | | | Merge "Merge `mediawiki.special.import` into `mediawiki.misc-authed-ooui`"jenkins-bot2022-06-281-3/+3
|\ \ \ \
| * | | | Merge `mediawiki.special.import` into `mediawiki.misc-authed-ooui`DannyS7122022-06-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tweak Special:Import code to only load the javascript after the permissions checks, to avoid unnecessary loading. Bug: T311191 Change-Id: Ifb055184e6abd7ca1e084dcdb3a5cf8af7a53b7c
* | | | | SpecialWhatLinksHere: Uncollapse the OOUI formSaint Johann2022-06-271-4/+0
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Since it is a small form and it makes it inconvenient that it’s hidden on most page views of the special page, I propose that it shouldn’t be collapsed. Bug: T117754 Change-Id: Ibaf949664faf4e3151902a016a23d5cfb5a524e5
* | | | Merge "Do minor code cleanup"jenkins-bot2022-06-262-3/+0
|\ \ \ \
| * | | | Do minor code cleanupMatěj Suchánek2022-06-242-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dead code and fix typos. Should cause no change in behavior. Change-Id: I5d293b842bc93a28b8bcd799a31b5e6e30fe692e
* | | | | SpecialNewpages: Stop using messages from elsewhereFunc2022-06-241-4/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'whatlinkshere-hideimages' message is changed in a4daa83. Parameters of messages named for specific use may be changed without noticing use cases outside the specific file. Bug: T311285 Change-Id: If04f2b4a6ebb31eb7fdfe79d14dfcf30de4c12f4
* | | | Merge "SpecialMyLanguage: Add method for finding a Title for transclusion"jenkins-bot2022-06-231-6/+40
|\ \ \ \
| * | | | SpecialMyLanguage: Add method for finding a Title for transclusionThalia2022-06-221-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, the base page is always returned in some situations, e.g. if the UI and content language are the same. This avoids extra lookups and ensures a cleaner URL. In some cases, we would prefer to get a subpage even in this situation, e.g. transcluding a translatable page. Add a method that always performs the lookup. Also update EditPage::getPreloadedContent to use the new method. Bug: T309329 Change-Id: I739cee94620bc8d0689a4d3ec5898bfd75c18b8a
* | | | | Merge "Merge `mediawiki.special.version` into `mediawiki.special` module"jenkins-bot2022-06-231-2/+2
|\ \ \ \ \
| * | | | | Merge `mediawiki.special.version` into `mediawiki.special` moduleDannyS7122022-06-231-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Bug: T311193 Change-Id: Ie6a69c04f937911401d4eefa6ee6dabbd3ea74a9
* / | | | Start `catch` blocks on the same line as the preceding }DannyS7122022-06-231-2/+1
|/ / / / | | | | | | | | | | | | Change-Id: Id34892c50f7c02e12683102dcbf66e558527f737
* | | | SECURITY: Escape contributions-title msg for use within page titlesbassett2022-06-211-2/+2
| | | | | | | | | | | | | | | | | | | | Bug: T308473 Change-Id: I11a5439fd93daaa0f8995bb915944f319a6322e9
* | | | Remove deprecated SpecialVersion methodsMatěj Suchánek2022-06-201-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | They have been deprecated since 1.35 and are unused. Change-Id: I37c0c7cb4c97bd8cd52985d79c294e5128d7182b
* | | | Remove SpecialMute::isTargetBlacklistedMatěj Suchánek2022-06-191-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | It has been deprecated since 1.35 and it is unused. Change-Id: I68588f626087cf6a94d98aa01ac82cea715e768a
* | | | Clean up ChangesListSpecialPage::checkStructuredFilterUiEnabledMatěj Suchánek2022-06-171-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | The legacy signature has been deprecated since 1.34 and it is unused. Change-Id: I71ec41e84c2b6f574cbde441ce144ecb28c7e320
* | | | Merge "SpecialRecentChanges: Drop old rcfilters-container and rcfilters-head ↵jenkins-bot2022-06-142-10/+6
|\ \ \ \ | |/ / / |/| | | | | | | classes"
| * | | SpecialRecentChanges: Drop old rcfilters-container and rcfilters-head classesJames D. Forrester2022-06-132-10/+6
| | | | | | | | | | | | | | | | Change-Id: I59f4f6313ff230c2d101bdaaf42cc8ae05d7a82f
* | | | SECURITY: Escape welcomeuser message passed to showSuccessPage()sbassett2022-06-131-1/+2
|/ / / | | | | | | | | | | | | Bug: T308471 Change-Id: Ic0ffc3a12dbcb65d9cdae22027856207d537b05a
* | | Merge "SpecialBlock: Improve the look of initial error messages"jenkins-bot2022-06-131-6/+10
|\ \ \