Last modified: 2013-09-20 19:50:19 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 T56395, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54395 - Make parse.php accept page
Make parse.php accept page
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.22.0
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-20 19:47 UTC by Sam Reed (reedy)
Modified: 2013-09-20 19:50 UTC (History)
1 user (show)

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


Attachments

Description Sam Reed (reedy) 2013-09-20 19:47:16 UTC
It'd be useful if maintenance/parse.php could be given an article title (already on the wiki) and output the parsed text.

Rather than something like
php getText.php --title=foobar | php parse.php --title=foobar
Comment 1 Antoine "hashar" Musso (WMF) 2013-09-20 19:50:19 UTC
Doug McIlroy, then head of the Bell Labs CSRC and contributor to Unix pipes,[1] summarised Unix philosophy as follows:[2]

This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

Reference: http://en.wikipedia.org/wiki/Unix_philosophy


Adding a new feature to parse.php would be against that philosophy. I am afraid people will end up making it to accept moaar parameters and eventually rename it server.php :/

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


Navigation
Links