Sn1per has uploaded a new change for review.
https://gerrit.wikimedia.org/r/215345
Change subject: Load messages in mw.Title for specific MalformedTitleExceptions
......................................................................
Load messages in mw.Title for specific MalformedTitleExceptions
Load title-invalid-* msgs that are used by MalformedTitleExceptions
to specify reason.
Change-Id: I543fc2a5d3128b2ab7eac5f61d83846f63f0c4a5
Follow-up: I9ed16a5a30b01df785ad736df4b84111c5939bbf
Bug: T89648
---
M resources/Resources.php
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/45/215345/1
diff --git a/resources/Resources.php b/resources/Resources.php
index 3571a13..33f9a58 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -1061,6 +1061,15 @@
'jquery.byteLength',
'mediawiki.util',
),
+ 'messages' => array(
+ 'title-invalid-empty',
+ 'title-invalid-talk-namespace',
+ 'title-invalid-characters',
+ 'title-invalid-relative',
+ 'title-invalid-magic-tilde',
+ 'title-invalid-too-long',
+ 'title-invalid-leading-colon',
+ ),
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.toc' => array(
--
To view, visit https://gerrit.wikimedia.org/r/215345
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I543fc2a5d3128b2ab7eac5f61d83846f63f0c4a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Sn1per <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits