Use WikiPage::makeParserOptions() where possible.

- This is needed to for I90965346 ((bug 37453) Move
  $wgDisable(Lang|Title)Conversion to ParserOptions)
  because that change sets an option based on the Title,
  and I don't want to duplicate that to all ParserOptions
  that need it.
- Refactored ApiParse to have a WikiPage object available
  and changed some part to take advantage of having this
  object available. Also used ApiBase::getTitleOrPageId()
  to reduce code duplication.

Change-Id: Iec98e472af9c43d940f77261367a796b0d7b4b54
(bug 40251) Added more languages to plural override

There might be more which have not been reported yet.
These should be temporary to restore old behavior
while we are working on alternative solution.

Change-Id: I403a29e2996e09e99ac3e7d394e7bc09a9ff8224
Fix spelling in nan date formats

http://translatewiki.net/wiki/Thread:Portal_talk:Nan/Misspelt_word_in_date_format

Change-Id: I41f31e7139fc297d4166e74488332b7ceb57a6c3
(bug 40257) action=info no longer shows subpages where disabled

action=info no longer shows the number of sub pages if sub pages
are disabled in the current namespace (using $wgNamespacesWithSubpages).

Change-Id: Ide68fd89d7220ca6cd4fdf5d170e839c091bcb92
Remove all custom plural rules and use CLDR plural rule system

We have a data driven plural rule evaluation system in core now.
See I1aa3b081

Added more tests

Change-Id: I4451fc7d434d9d29bb6ea36f0c0698fbe8dc4ff4
For languages without plural forms, use them from fallback language

* Fixes Bug 40251 and this is alternate for I403a29e2
* This brings back the old mediawiki behavior for languages without
  defined plural rules
* Add a test for hu, which had issue as per Bug 40251

Change-Id: I345c305134a62d43c9dfedc5243981d0e77e326d
Update 'protectedinterface' and 'editinginterface'

They still lived in 2008.
* Link domain only as in 'allmessagestext': hardcoded setlang is not a good idea nowadays.
* "Consider using" didn't reflect reality.
* Clarify local vs. general; 'allmessagestext' still has a slightly different flavour.
* Copy sysop-only warning to 'protectedinterface' as well: normal users need it even more.

Change-Id: Ie588e683215a714fc8df6b898f4447862e7bd00c
Merge "Remove all custom plural rules and use CLDR plural rule system"
Merge "For languages without plural forms, use them from fallback language"
Fix strict error in UploadStashFile

Strict standards: Declaration of UploadStashFile::thumbName() should be compatible with that of File::thumbName() in /var/www/wiki/mediawiki/core/includes/upload/UploadStash.php on line 498

Call Stack:
    0.0004     645672   1. {main}() /var/www/wiki/mediawiki/core/index.php:0
    0.0756    5904264   2. MediaWiki->run() /var/www/wiki/mediawiki/core/index.php:59
    0.0756    5904264   3. MediaWiki->main() /var/www/wiki/mediawiki/core/includes/Wiki.php:446
    0.0797    6328272   4. MediaWiki->performRequest() /var/www/wiki/mediawiki/core/includes/Wiki.php:536
    0.0960    7042800   5. SpecialPageFactory::executePath() /var/www/wiki/mediawiki/core/includes/Wiki.php:290
    0.1041    8003528   6. SpecialPage->run() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:494
    0.1041    8003528   7. SpecialSpecialpages->execute() /var/www/wiki/mediawiki/core/includes/SpecialPage.php:611
    0.2082   17300016   8. SpecialSpecialpages->getPageGroups() /var/www/wiki/mediawiki/core/includes/specials/SpecialSpecialpages.php:42
    0.2083   17300016   9. SpecialPageFactory::getUsablePages() /var/www/wiki/mediawiki/core/includes/specials/SpecialSpecialpages.php:54
    0.4498   30176624  10. SpecialPageFactory::getPage() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:372
    0.4527   30373096  11. SpecialUploadStash->__construct() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:344
    0.4861   33604352  12. FileRepo->getUploadStash() /var/www/wiki/mediawiki/core/includes/specials/SpecialUploadStash.php:52
    0.4861   33604832  13. AutoLoader::autoload() /var/www/wiki/mediawiki/core/includes/AutoLoader.php:0
    0.4898   33952264  14. require('/var/www/wiki/mediawiki/core/includes/upload/UploadStash.php') /var/www/wiki/mediawiki/core/includes/AutoLoader.php:1150

Change-Id: Iee2aae16df804f42cbae9c21c870781a08ad3850
Merge "Update 'protectedinterface' and 'editinginterface'"
Merge "Fix strict error in UploadStashFile"
Migrate hsb plural rules to cldr format

Change-Id: I9d1c34d8e63767a6abc4f98c09caf65d5056433a
Fixed warning spam in SqlBagOStuff.

Change-Id: Iac573980596349deab757eac859d9e28dc2963b6
Merge "(bug 40257) action=info no longer shows subpages where disabled"
Merge "Migrate hsb plural rules to cldr format"
Merge "Use WikiPage::makeParserOptions() where possible."
Merge "Fixed warning spam in SqlBagOStuff."
Removed some language files no longer needed

Only have plural defined which is same as in cldr

Change-Id: I0bacb38397af14bf413dcf4a9df0b9f3fbe4110b
(bug 37453) Move $wgDisable(Lang|Title)Conversion to ParserOptions

This allows easier fix of bug 37453, and patch to fix it is
included in this changeset.

Change-Id: I9096534639394755d0a296dea7380e7b938befef