Last modified: 2014-03-05 18:37:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64153, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62153 - Follow-up to bug 48418: Treat {CREDITS|AUTHORS}.txt files as plaintext, not wikitext
Follow-up to bug 48418: Treat {CREDITS|AUTHORS}.txt files as plaintext, not w...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-03 17:05 UTC by James Forrester
Modified: 2014-03-05 18:37 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2014-03-03 17:05:23 UTC
The fix for bug 48418 made the assumption that {CREDITS|AUTHORS}.* files were wikitext (with the implication that wikitext bullets should precede each file), contrary to expectations.

Instead, we should treat their contents as the plain text they (mostly) were until this feature was added, and merely wrap them in <pre>s for Special:Version/Credits/… etc. purposes.
Comment 1 MZMcBride 2014-03-03 17:07:17 UTC
This bug can probably be marked with the "easy" keyword, if there's consensus to change the behavior.
Comment 2 James Forrester 2014-03-03 17:08:11 UTC
(In reply to MZMcBride from comment #1)
> This bug can probably be marked with the "easy" keyword, if there's
> consensus to change the behavior.

Agreed, but let's get rough consensus first.
Comment 3 Brad Jorsch 2014-03-03 17:37:13 UTC
(In reply to James Forrester from comment #0)
> Instead, we should treat their contents as the plain text they (mostly) were
> until this feature was added

I'm not sure about "mostly".

I haven't tried to account for changes since this feature was added, but looking at the situation now for extensions in git, these appear to be wikitext:
* CentralNotice/CREDITS
* CirrusSearch/CREDITS
* MultimediaViewer/AUTHORS
* RevisionCommentSupplement/CREDITS
* UniversalLanguageSelector/CREDITS
* UploadWizard/CREDITS
* Wikilog/CREDITS
* WikiLove/CREDITS

These don't:
* BetaFeatures/AUTHORS
* ContentTranslation/AUTHORS.txt
* EventLogging/AUTHORS
* Parsoid/AUTHORS.txt
* VisualEditor/AUTHORS.txt

Based on that, I'd lean towards renaming BetaFeatures/AUTHORS and EventLogging/AUTHORS to have a ".txt" extension (or just reformat them as wikitext) and only apply <pre> if the file used ends in ".txt".
Comment 4 James Forrester 2014-03-03 17:41:28 UTC
(In reply to Brad Jorsch from comment #3)
> (In reply to James Forrester from comment #0)
> > Instead, we should treat their contents as the plain text they (mostly) were
> > until this feature was added
> 
> I'm not sure about "mostly".
> 
> I haven't tried to account for changes since this feature was added, but
> looking at the situation now for extensions in git, these appear to be
> wikitext:
> * CentralNotice/CREDITS
> * CirrusSearch/CREDITS
> * MultimediaViewer/AUTHORS
> * RevisionCommentSupplement/CREDITS
> * UniversalLanguageSelector/CREDITS
> * UploadWizard/CREDITS
> * Wikilog/CREDITS
> * WikiLove/CREDITS
> 
> These don't:
> * BetaFeatures/AUTHORS
> * ContentTranslation/AUTHORS.txt
> * EventLogging/AUTHORS
> * Parsoid/AUTHORS.txt
> * VisualEditor/AUTHORS.txt
> 
> Based on that, I'd lean towards renaming BetaFeatures/AUTHORS and
> EventLogging/AUTHORS to have a ".txt" extension (or just reformat them as
> wikitext) and only apply <pre> if the file used ends in ".txt".

Works for me; have re-named the bug appropriately.
Comment 5 Gerrit Notification Bot 2014-03-03 17:57:51 UTC
Change 116515 had a related patch set uploaded by Anomie:
Special:Version: Treat AUTHORS.txt and CREDITS.txt as text, not wikitext

https://gerrit.wikimedia.org/r/116515
Comment 6 Gerrit Notification Bot 2014-03-03 17:58:03 UTC
Change 116516 had a related patch set uploaded by Anomie:
Reformat AUTHORS as wikitext

https://gerrit.wikimedia.org/r/116516
Comment 7 Gerrit Notification Bot 2014-03-03 17:58:12 UTC
Change 116517 had a related patch set uploaded by Anomie:
Reformat AUTHORS as wikitext

https://gerrit.wikimedia.org/r/116517
Comment 8 Gerrit Notification Bot 2014-03-03 18:40:25 UTC
Change 116516 abandoned by Jforrester:
Reformat AUTHORS as wikitext

Reason:
Already done in I213caa7692bdb0a.

https://gerrit.wikimedia.org/r/116516
Comment 9 Gerrit Notification Bot 2014-03-03 19:04:54 UTC
Change 116515 merged by Mwalker:
Special:Version: Treat AUTHORS.txt and CREDITS.txt as text, not wikitext

https://gerrit.wikimedia.org/r/116515
Comment 10 Gerrit Notification Bot 2014-03-05 18:37:21 UTC
Change 116517 merged by jenkins-bot:
Reformat AUTHORS as wikitext

https://gerrit.wikimedia.org/r/116517

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links