Go to file
Timo Tijhof 7a3a39b57b Fix dangling comma-space-dot on Special:CiteThisPage
Examples of this issue in production:

* https://nl.wikipedia.org/wiki/Maan -> "Cite ethis page" ->
  https://nl.wikipedia.org/w/index.php?title=Speciaal:Citeren&page=Maan&id=64037828&wpFormIdentifier=titleform
  > Uitgever: Wikipedia, .

* https://es.wikipedia.org/wiki/Luna -> "Cite this page" ->
  https://es.wikipedia.org/w/index.php?title=Especial:Citar&page=Luna&id=150096436&wpFormIdentifier=titleform
  > Publisher: Wikipedia, .

* https://www.mediawiki.org/wiki/MediaWiki:Citethispage-content
  > Publisher: MediaWiki, .

The "sitesubtitle" message has been empty by default for nearly
twenty years (since 2005, T6192) and is tolerated as such by the Skin.

The CiteThisPage extension as such should not unconditionally render
it in a way that relies on it having a non-empty value.

Credit to Nicole Sharp for raising this issue at
<https://www.mediawiki.org/wiki/MediaWiki_talk:Citethispage-content>.

I considered replacing it with {{SERVERNAME}}, but decided to instead
remove it since the domain name is already given in the permalink
on the same line.

Change-Id: If39a2b6dd4dda7309f538a40a1d567b479f99ce8
2023-03-24 19:42:57 -07:00
.phan Upgrade CiteThisPage to use newer phan 2019-02-28 17:19:54 +01:00
i18n Fix dangling comma-space-dot on Special:CiteThisPage 2023-03-24 19:42:57 -07:00
includes Use ParserOptions::newFromContext on special page 2023-02-23 21:59:01 +01:00
modules Align colors with Wikimedia color palette 2016-12-11 11:17:56 +04:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-13 06:50:20 +00:00
.gitignore build: Install eslint 2019-05-06 15:40:53 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:02:16 -07:00
.phpcs.xml Fix all PHPCS excludes 2021-03-31 14:10:38 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 09:39:39 +02:00
CiteThisPage.alias.php Merge "CiteThisPage.alias.php: Add Serbo-Croatian alias and fix syntax related typos for Serbian" 2019-09-05 21:24:56 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 06:31:43 +00:00
composer.json build: Updating dependencies 2023-03-15 03:06:56 +00:00
COPYING.txt Rename to "CiteThisPage", make Special:CiteThisPage the primary location 2014-08-30 15:29:33 -07:00
extension.json Use HookHandlers for core hooks 2021-04-15 18:50:57 +00:00
Gruntfile.js build: Updating dependencies 2021-01-29 06:39:46 +00:00
package-lock.json build: Updating dependencies 2023-03-15 03:06:56 +00:00
package.json build: Updating dependencies 2023-03-15 03:06:56 +00:00